/* Source: style.css */
:root{color-scheme:dark;--bg:#07121f;--panel:#0d1b2b;--panel2:#102335;--line:#203245;--muted:#93a9bc;--text:#f0f6fb;--accent:#5be3c8;--gold:#e8bd75;--danger:#f69da6;--radius:16px;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.045em;font-weight:600;line-height:1.2;margin-bottom:8px}h2{font-size:1.125rem;font-weight:600;letter-spacing:-.02em;margin-bottom:14px}h3{font-size:1rem;font-weight:550}small,.meta{font-size:.8125rem;color:var(--muted)}.muted{color:var(--muted)}.mono{font-family:'Cascadia Code',Consolas,monospace;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.teal{color:var(--accent)}.negative{color:var(--danger)}.positive{color:var(--accent)}.eyebrow{color:var(--accent);font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;font-weight:650}.sidebar{width:234px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;background:#081624;z-index:20}.brand{display:flex;gap:12px;align-items:center;padding:0 12px 36px;font-size:1rem;font-weight:650;line-height:1.25}.brand img{width:34px;height:34px;object-fit:contain;flex-shrink:0}.brand small{font-size:.6875rem;display:block;font-weight:500;letter-spacing:.1em;margin-top:5px;color:var(--muted)}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:14px;color:var(--muted);padding:12px 14px;border-radius:9px;border:1px solid transparent;background:none;text-align:left;font-size:.875rem}.nav-item:hover{color:var(--text);background:#0e2233}.nav-item.active{color:var(--accent);background:#11312f;border-color:#214640}.nav-item svg{width:19px;height:19px;flex-shrink:0}.sidebar-foot{margin-top:auto;padding:24px 12px 0;border-top:1px solid var(--line)}.sidebar-foot p{font-size:.8125rem;margin:4px 0}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:7px}.main{margin-left:234px;min-height:100vh;padding:0 38px 40px;max-width:2000px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.breadcrumb{font-size:.8125rem;color:var(--muted)}.breadcrumb span{color:#dee9f3;margin-left:10px}.top-actions{display:flex;align-items:center;gap:16px}.clock{font-size:.75rem;color:var(--muted)}.clock b{display:block;color:var(--text);font-size:.875rem;font-weight:500}.avatar{width:34px;height:34px;border-radius:50%;background:#203c4a;color:var(--accent);display:grid;place-items:center;font-size:.8125rem;font-weight:600}.icon-button{background:transparent;border:1px solid var(--line);border-radius:9px;color:var(--muted);height:36px;min-width:36px;display:grid;place-items:center;padding:7px}.icon-button svg{width:18px;height:18px}.page-header{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:32px 0 26px}.page-header p{margin:0;color:var(--muted);font-size:.875rem}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border-radius:8px;border:1px solid var(--line);color:var(--text);background:#122638;font-size:.875rem;font-weight:550;text-align:center}.btn:hover{background:#193448}.btn.primary{background:var(--accent);color:#082922;border-color:var(--accent)}.btn.primary:hover{background:#83ecd7}.btn.ghost{background:transparent}.btn.danger{color:var(--danger);background:#311f2a}.btn svg{width:16px;height:16px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 9px;border:1px solid #2a3d4d;background:#132537;font-size:.75rem;color:#b3c6d5;white-space:normal;line-height:1.4}.badge.teal{color:var(--accent);background:#12332f;border-color:#275147}.badge.gold{color:var(--gold);background:#2b2924;border-color:#474133}.badge.red{color:var(--danger);background:#32232a;border-color:#5d3542}.banner{padding:14px 18px;border:1px solid #34413d;border-radius:10px;background:#152723;color:#c6ded6;display:flex;align-items:center;gap:12px;font-size:.875rem;margin-bottom:22px}.banner.gold{border-color:#4c4131;background:#24221f;color:#dbc9aa}.banner p{margin:0}.banner .btn{margin-left:auto;flex-shrink:0;min-height:34px;padding:6px 12px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{border:1px solid var(--line);border-radius:var(--radius);padding:21px 22px;background:linear-gradient(120deg,#102031,#0c1a29);min-width:0}.metric-label{display:flex;justify-content:space-between;gap:8px;font-size:.8125rem;color:var(--muted);margin-bottom:12px}.metric-value{font-variant-numeric:tabular-nums;font-size:1.9rem;letter-spacing:-.045em;font-weight:550;line-height:1.1;overflow-wrap:anywhere}.metric-foot{font-size:.75rem;margin-top:13px;color:var(--muted)}.metric.accent{border-color:#2a5952;background:linear-gradient(130deg,#17332f,#0e262c)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(290px,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:24px;min-width:0}.card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:18px}.card-head h2{margin-bottom:4px}.card-head p{font-size:.8125rem;color:var(--muted);margin:0}.globe-card{padding-bottom:0;position:relative;overflow:hidden;min-height:435px;background:radial-gradient(ellipse at 48% 42%,#113a45 0,#0b1b2d 42%,#0b1929 68%)}.globe-wrap{height:300px;position:relative}.globe-wrap canvas{width:100%;height:100%;display:block}.globe-caption{position:absolute;top:8px;left:0;color:var(--muted);font-size:.75rem}.globe-caption b{font-size:.8125rem;color:#d7e7ef;font-weight:500;display:block;margin-bottom:4px}.route-empty{position:absolute;right:0;bottom:16px;width:145px;font-size:.75rem;color:var(--muted)}.route-empty b{display:block;color:var(--accent);font-size:.8125rem;margin-bottom:4px}.globe-foot{border-top:1px solid var(--line);padding:17px 0;display:flex;justify-content:space-between;gap:15px;font-size:.75rem;color:var(--muted)}.globe-foot strong{display:block;color:var(--text);font-weight:500;font-size:.8125rem;margin-top:4px}.overview{display:grid;gap:0}.overview-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:16px 0;font-size:.875rem}.overview-row:first-child{padding-top:0}.overview-row:last-child{border:0}.overview-row span{color:var(--muted)}.overview-row strong{font-weight:550;font-variant-numeric:tabular-nums}.settlement-note{border-radius:10px;background:#122735;padding:16px;margin-top:20px;font-size:.8125rem;color:var(--muted)}.settlement-note b{display:block;color:var(--text);font-weight:500;margin-bottom:4px}.lower-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px;margin-top:22px}.empty{padding:34px 20px;text-align:center;color:var(--muted);font-size:.875rem}.empty svg{width:28px;height:28px;color:#50778b;margin-bottom:12px}.empty strong{display:block;color:#d6e5ef;font-weight:500;margin-bottom:6px}.empty p{max-width:400px;margin:0 auto}.row-list{display:grid;gap:0}.data-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.data-row:last-child{border-bottom:0}.data-row p{margin:0;font-size:.875rem}.data-row small{font-size:.75rem}.row-right{text-align:right}.currency-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #36505f;border-radius:50%;font-size:.8125rem;color:#ccdee7;background:#152c3c}.currency-title{display:flex;gap:12px;align-items:center}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.stack{display:grid;gap:22px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px;align-items:center}.toolbar input{flex:1;min-width:170px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}label{display:block;font-size:.8125rem;color:#b9cbd8;margin-bottom:6px}input,select,textarea{width:100%;min-width:0;border:1px solid #2c4356;border-radius:8px;background:#081725;color:var(--text);padding:11px 12px;font-size:.875rem}input::placeholder,textarea::placeholder{color:#677f94}textarea{resize:vertical;min-height:94px}input[type=checkbox]{width:17px;min-width:17px;height:17px;padding:0;accent-color:var(--accent)}.checkbox{display:flex;gap:10px;align-items:flex-start;font-size:.8125rem;color:var(--muted)}.help{font-size:.75rem;color:var(--muted);margin:7px 0 0}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:22px}.tab{border:0;border-radius:7px;background:transparent;color:var(--muted);padding:8px 13px;font-size:.875rem}.tab.active{background:#163b37;color:var(--accent)}table{width:100%;border-collapse:collapse;font-size:.8125rem;table-layout:fixed}th{text-align:left;color:#91aabd;font-weight:500;padding:12px 8px;border-bottom:1px solid var(--line);font-size:.75rem}td{padding:15px 8px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;vertical-align:top}tr:last-child td{border-bottom:0}td .btn{min-height:32px;padding:6px 9px;font-size:.75rem}td small{display:block}.table-card{padding:15px 18px}.numeric{text-align:right;font-variant-numeric:tabular-nums}.footnote{font-size:.75rem;color:var(--muted);margin:16px 0 0}.auth-shell{max-width:1160px;margin:0 auto;padding:50px 30px}.auth-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:48px}.auth-header .brand{padding:0}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.auth-intro h1{font-size:2.8rem;line-height:1.12;max-width:460px;margin:15px 0 20px}.auth-intro p{color:var(--muted);max-width:420px;font-size:.9375rem}.auth-intro .globe-wrap{height:310px;margin-top:0}.auth-card{background:#0d1e2e;padding:32px;border:1px solid var(--line);border-radius:18px}.auth-card .eyebrow{margin-bottom:14px}.auth-card h2{font-size:1.5rem}.auth-card form{display:grid;gap:16px}.auth-card .btn{width:100%}.auth-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:36px;font-size:.75rem;color:var(--muted);gap:20px}.setup-facts{display:flex;gap:20px;font-size:.75rem;color:var(--muted);padding-top:15px}.setup-facts b{display:block;color:#d3e2ec;font-size:.8125rem;font-weight:500}.mobile-nav{display:none}.boot{height:100vh;display:grid;place-items:center;color:var(--muted)}#toast{position:fixed;bottom:25px;right:25px;background:#1b3c3d;border:1px solid #477b73;max-width:420px;padding:15px 20px;border-radius:12px;font-size:.875rem;z-index:100;display:none;box-shadow:0 10px 40px #0006}#toast.error{background:#382731;border-color:#81505d}dialog{background:var(--panel);color:var(--text);border:1px solid #355064;border-radius:18px;max-width:580px;width:calc(100% - 32px);padding:28px;max-height:90vh}dialog::backdrop{background:#020811bd;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}.modal-heading h2{font-size:1.25rem;margin:0}.qr{background:white;padding:14px;border-radius:12px;width:160px;height:160px}.deposit-details{display:flex;gap:22px;align-items:center;margin:18px 0}.countdown{font-size:2rem;color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:.05em}.code-box{padding:12px;background:#071420;border:1px solid var(--line);border-radius:8px;word-break:break-all;font-size:.8125rem}.support-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}.conversation{display:flex;flex-direction:column;min-height:480px}.messages{flex:1;max-height:550px;overflow-y:auto;padding:6px 0 20px}.message{max-width:88%;background:#142b3c;padding:14px 16px;border-radius:12px;margin:12px 0;font-size:.875rem;white-space:pre-wrap;overflow-wrap:anywhere}.message.own{margin-left:auto;background:#163b37}.message small{display:block;color:var(--accent);font-size:.6875rem;margin-bottom:6px;white-space:normal}.message p{margin:0}.chat-input{display:flex;align-items:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:16px}.chat-input textarea{min-height:60px;height:60px}.chart{width:100%;height:180px;display:block}.definition{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;font-size:.8125rem}.definition dt{color:var(--muted)}.definition dd{margin:0;text-align:right;overflow-wrap:anywhere}.status-line{display:flex;justify-content:space-between;gap:16px;align-items:center}.progress-steps{display:grid;gap:15px;margin:22px 0}.progress-step{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.875rem}.step-num{width:27px;height:27px;border-radius:50%;border:1px solid #395163;display:grid;place-items:center;font-size:.75rem}.progress-step.done{color:var(--accent)}.progress-step.done .step-num{background:#21453c;border-color:#346457}.notification{padding:14px 0;border-bottom:1px solid var(--line);font-size:.875rem}.notification p{margin:4px 0}.notification.unread{border-left:2px solid var(--accent);padding-left:12px}.wrap{overflow-wrap:anywhere}.inline-error{background:#36252c;border:1px solid #654050;color:#f0a9b1;padding:11px 14px;border-radius:8px;font-size:.8125rem}.loading{padding:50px;color:var(--muted);text-align:center}.nowrap{white-space:nowrap}.pill-number{padding:1px 6px;background:#224238;border-radius:6px;font-size:.6875rem;color:var(--accent)}
@media(min-width:1600px){.main{padding-left:50px;padding-right:50px}.globe-wrap{height:340px}.metric-value{font-size:2.2rem}}
@media(max-width:1200px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.main{margin-left:205px;padding:0 24px 32px}.metrics{gap:12px}.metric{padding:18px 16px}.metric-value{font-size:1.65rem}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}.globe-wrap{height:280px}.card{padding:20px}.top-actions{gap:10px}}
@media(max-width:980px){.sidebar{width:76px;padding:28px 10px 15px}.brand{padding:0 10px 28px}.sidebar .brand div,.sidebar .nav-item span,.sidebar-foot{display:none}.nav-item{padding:13px 16px}.main{margin-left:76px;padding:0 24px 35px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.lower-grid{grid-template-columns:1fr 1fr}.dashboard-grid .globe-card{grid-column:1/-1}.dashboard-grid .overview-card{grid-column:1/-1}.overview{display:grid;grid-template-columns:1fr 1fr;column-gap:30px}.overview-row:nth-child(2){padding-top:0}.auth-grid{gap:30px}.auth-intro h1{font-size:2.1rem}.auth-shell{padding:30px 24px}.support-layout{grid-template-columns:1fr}.ticket-sidebar{display:none}}
@media(max-width:680px){.sidebar{display:none}.main{margin-left:0;padding:0 18px 100px}.topbar{height:68px}.clock{display:none}.breadcrumb{font-size:.75rem}.top-actions{gap:8px}.top-actions .user-name{display:none}.page-header{padding:25px 0 20px;align-items:flex-start;flex-wrap:wrap;gap:15px}h1{font-size:1.75rem}.page-header .actions{width:100%}.page-header .actions .btn{flex:1}.metrics{grid-template-columns:1fr;gap:12px}.metric{padding:18px 20px}.metric-value{font-size:2rem}.metric-label{margin-bottom:9px}.metric-foot{margin-top:10px}.dashboard-grid,.lower-grid,.grid-2{grid-template-columns:1fr;gap:16px}.card{padding:19px}.overview{grid-template-columns:1fr}.overview-row:nth-child(2){padding-top:16px}.globe-card{min-height:390px;padding-bottom:0}.globe-wrap{height:255px}.globe-foot{font-size:.6875rem}.route-empty{right:-5px;bottom:15px;width:120px;font-size:.6875rem}.card-head{gap:8px}.card-head .badge{max-width:120px}.lower-grid{margin-top:16px}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;background:#0b1b29f5;backdrop-filter:blur(14px);border-top:1px solid #2b3e4d;z-index:30;padding:9px 6px max(9px,env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:.625rem;border:0;background:transparent;color:var(--muted);padding:4px}.mobile-nav svg{width:19px;height:19px}.mobile-nav .active{color:var(--accent)}.banner{font-size:.8125rem;padding:12px;align-items:flex-start;flex-wrap:wrap}.banner .btn{margin-left:0}.table-card{padding:10px 15px}table.responsive thead{display:none}table.responsive tr{display:block;padding:12px 0;border-bottom:1px solid var(--line)}table.responsive tr:last-child{border:0}table.responsive td{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border:0;text-align:right;font-size:.8125rem}table.responsive td::before{content:attr(data-label);color:var(--muted);text-align:left;flex:0 0 36%}table.responsive td>*{max-width:63%}table.responsive td small{display:inline}.form-grid{grid-template-columns:1fr}.auth-shell{padding:24px 20px}.auth-header{margin-bottom:32px}.auth-grid{grid-template-columns:1fr;gap:24px}.auth-intro h1{font-size:2rem;max-width:100%}.auth-intro .globe-wrap{display:none}.auth-intro p{margin-bottom:0}.auth-card{padding:24px}.setup-facts{gap:15px}.auth-footer{flex-direction:column;gap:8px}.deposit-details{flex-direction:column;align-items:flex-start}.definition{grid-template-columns:1fr}.definition dd{text-align:left;margin-bottom:10px}.chat-input{flex-wrap:wrap}.chat-input textarea{flex-basis:100%}.message{max-width:94%}#toast{left:16px;right:16px;bottom:90px;max-width:none}.toolbar{gap:9px}.toolbar select{width:auto;max-width:100%}.form-actions{flex-wrap:wrap}.form-actions .btn{flex:1}.status-line{align-items:flex-start;flex-wrap:wrap}.topbar .btn{padding:7px 10px;font-size:.75rem;min-height:34px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
svg{width:1.2rem;height:1.2rem;flex-shrink:0;vertical-align:middle}.banner>svg{width:20px;height:20px}.metric-label>svg{width:17px;height:17px;color:#6e8c9e}
@media(max-width:680px){.mobile-nav{flex-direction:row}.mobile-nav button{font-size:.75rem}.currency-title small{display:block!important}.currency-title{align-items:flex-start}.currency-title b{display:block}}

/* The workspace keeps prices, portfolio results and execution in distinct regions. */
:root{--bg:#080f1b;--panel:#0d1827;--panel2:#121f30;--line:#223043;--muted:#91a2b8;--accent:#54dfc0;--radius:13px;font-family:Inter,'Segoe UI',Arial,sans-serif}
body{background:radial-gradient(ellipse at 70% 0,#14203933,transparent 45%),var(--bg)}
.main{padding:0 30px 38px;max-width:none;margin-left:226px;min-width:0}.sidebar{width:226px;background:#0b1422;border-color:#1b293b;padding:30px 17px 22px}.brand{padding:0 10px 34px;font-size:.9375rem}.brand img{width:35px;height:35px}.brand small{font-size:.6rem;letter-spacing:.1em}.nav-caption{font-size:.625rem;letter-spacing:.16em;color:#60758e;margin:0 13px 12px}.nav-item{padding:11px 13px;font-size:.8125rem;gap:12px;border-radius:8px}.nav-item.active{background:#13332f;border-color:#234a43}.sidebar-foot{padding:22px 10px 0}.workspace-environment{font-size:.625rem;color:#70a391;letter-spacing:.08em}.sidebar-foot p{font-size:.6875rem;margin-top:12px}.sidebar-foot small{font-size:.625rem}.topbar{height:78px;gap:20px;border-color:#1c2a3c}.breadcrumb{white-space:nowrap;font-size:.75rem}.breadcrumb span{margin-left:6px}.top-search{display:flex;align-items:center;gap:10px;border:1px solid #233247;background:#0c1726;color:#8297af;padding:9px 12px;border-radius:8px;font-size:.6875rem;max-width:300px;min-width:0}.top-search svg{width:15px;height:15px}.top-search kbd{margin-left:24px;color:#70849a;border:1px solid #30415a;border-radius:3px;padding:0 4px}.top-actions{gap:15px}.clock{font-size:.55rem;letter-spacing:.09em}.clock b{font-size:.6875rem;letter-spacing:0;margin-top:2px}.connection-status{font-size:.625rem;color:#82bbaa;display:flex;align-items:center;gap:6px;white-space:nowrap}.connection-status::before{content:'';width:5px;height:5px;background:currentColor;border-radius:50%}.connection-status[data-tone=gold]{color:var(--gold)}.avatar{border:1px solid #385363;background:#162e3a;width:32px;height:32px;font-size:.6875rem}.notification-button{position:relative;border:0}.unread-count{position:absolute;right:-4px;top:-5px;border:2px solid var(--bg);background:var(--accent);color:#08261e;font-size:.55rem;font-weight:700;min-width:18px;border-radius:10px;padding:0 3px}.unread-count[hidden]{display:none}
.page-header{padding:28px 0 22px}.page-header h1{font-size:1.7rem;letter-spacing:-.045em}.page-header p{font-size:.75rem}.btn{font-size:.75rem;padding:9px 14px;min-height:38px}.btn.primary{font-weight:650}.card{padding:22px;border-color:#223044;background:#0d1929}.card h2{font-size:1rem;letter-spacing:-.025em}.card-head{margin-bottom:18px}.card-head p{font-size:.6875rem}.eyebrow{font-size:.58rem;letter-spacing:.17em;margin-bottom:6px}.text-button{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;padding:6px 0;color:var(--accent);font-size:.6875rem;font-weight:550;text-align:left}.text-button svg{width:13px;height:13px}.full-width{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.badge{font-size:.625rem;padding:4px 7px;border-radius:5px}.footnote{font-size:.6875rem;line-height:1.65}.table-card{overflow:hidden}.positive{color:#59d7b6}.negative{color:#e8949a}.numeric,.metric-value,.summary-metric strong,.quote-head strong,.performance-total strong{font-variant-numeric:tabular-nums}
.market-ticker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line);background:#0c1624;border-radius:10px;overflow:hidden;margin-bottom:23px}.ticker-item{text-align:left;display:grid;gap:5px;background:none;border:0;border-right:1px solid var(--line);padding:12px 16px;color:var(--text);min-width:0}.ticker-item:last-child{border-right:0}.ticker-item:hover{background:#142538}.ticker-item>span{font-size:.625rem;display:flex;justify-content:space-between;gap:7px;white-space:nowrap}.ticker-item>span small{font-size:.5rem;color:#748ca3;overflow:hidden;text-overflow:ellipsis}.ticker-item strong{font-size:.9375rem;font-weight:550;letter-spacing:-.01em;font-variant-numeric:tabular-nums}.ticker-item>small{font-size:.625rem;white-space:nowrap}.ticker-item>small span{font-size:.5rem;color:#73869d;margin-left:3px}.summary-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 12px}.summary-metric{border:1px solid var(--line);border-radius:11px;background:linear-gradient(130deg,#111e30,#0d1828);padding:19px 21px;display:flex;flex-direction:column;min-width:0}.summary-metric>span{font-size:.6875rem;color:#a0afc2}.summary-metric>strong{font-size:1.8rem;line-height:1.2;letter-spacing:-.045em;font-weight:550;margin:12px 0 11px;overflow-wrap:anywhere}.summary-metric>small{font-size:.6rem;color:#8095ad}.summary-metric.positive{border-color:#294c43;background:linear-gradient(125deg,#112d29,#101e2b)}.balance-subline{display:flex;gap:28px;padding:1px 2px 21px;color:#7f94ad;font-size:.625rem;flex-wrap:wrap}.balance-subline b{color:#b4c5d6;font-weight:500;margin-left:8px}.mobile-trading-status{display:none}
.workspace-main-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:20px;margin-bottom:20px}.geography-card{background:radial-gradient(ellipse at 49% 35%,#0d354145,#0b1829 64%);padding-bottom:0;overflow:hidden}.geography-card .card-head .meta{font-size:.6rem;margin-top:8px}.workspace-globe{height:346px;position:relative;min-width:0;margin:-8px -6px 0;isolation:isolate}.workspace-globe canvas{width:100%;height:100%;display:block}.geography-selection{display:grid;grid-template-columns:1.25fr 1fr auto auto;gap:14px;align-items:center;padding:16px 0;border-top:1px solid var(--line)}.geography-selection small{display:block;font-size:.5rem;color:#738fa7;letter-spacing:.07em;margin-bottom:4px}.geography-selection b{display:block;font-size:.6875rem;font-weight:550}.geography-selection b span{color:#6db29f;font-size:.625rem;margin-left:5px}.geography-selection .badge{margin-bottom:4px}.geography-selection .text-button{font-size:.625rem;white-space:nowrap}.route-ribbon{background:#101f2e;margin:0 -22px;padding:13px 22px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;border-top:1px solid var(--line)}.route-ribbon>span:first-child{font-size:.55rem;color:#91a5bb}.route-ribbon>strong{font-size:.6875rem;font-weight:500;flex:1;min-width:130px}.route-ribbon i{font-style:normal;color:#608d8c;margin:0 5px}.route-ribbon .badge{font-size:.55rem}.auto-summary{display:flex;flex-direction:column}.auto-summary h2{font-size:1.16rem;line-height:1.35;margin-top:6px}.state-orb{height:11px;width:11px;border-radius:50%;background:#7d8c9c;border:3px solid #243242;box-sizing:content-box;margin-top:8px}.state-orb.enabled{background:var(--accent);border-color:#235849;box-shadow:0 0 15px #46e4bf25}.status-reason{font-size:.75rem;line-height:1.75;color:#9fb0c6;margin-bottom:20px;min-height:48px}.auto-state-line{display:flex;gap:10px;align-items:center;padding-bottom:19px;border-bottom:1px solid var(--line);font-size:.6rem;color:#8c9eb5}.compact-definition{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px;font-size:.6875rem;margin:23px 0}.compact-definition dt{color:#8da0b7}.compact-definition dd{text-align:right;margin:0;color:#c2cfdd;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.auto-summary .full-width{margin-top:auto}.auto-remedy{text-align:center;padding:5px 0 10px}.next-event{display:flex;flex-direction:column;gap:4px;padding-top:16px;border-top:1px solid var(--line);font-size:.6rem;color:#8396ad}.next-event b{font-weight:500;color:#bccada;font-size:.65rem}.workspace-lower-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;margin-bottom:20px}.recent-fills{margin-top:20px}.recent-fills table{font-size:.7rem}.recent-fills td{padding:15px 8px}.recent-fills td small{font-size:.6rem;margin-top:4px}
.performance-card .card-head,.market-chart-card .card-head{align-items:flex-start;flex-wrap:wrap}.performance-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:4px;min-height:52px}.performance-total strong{font-size:1.75rem;letter-spacing:-.04em;font-weight:550}.performance-total span{font-size:.625rem;color:#899db5}.performance-total small{flex-basis:100%;font-size:.6rem}.period-switch{display:flex;border:1px solid #29384c;border-radius:7px;padding:3px;gap:2px;width:max-content;max-width:100%}.period-switch button{padding:4px 9px;min-width:30px;color:#8e9fb6;background:transparent;border:0;border-radius:4px;font-size:.625rem;white-space:nowrap}.period-switch button.active{background:#22423d;color:#72e4c6}.period-switch button:hover{background:#1c3044;color:#d0e0eb}.large-chart{position:relative;width:100%;min-height:250px}.data-chart{width:100%;height:auto;display:block;overflow:visible;outline-offset:-2px}.data-chart text{fill:#7f94aa;font-size:10px;font-family:Inter,'Segoe UI',sans-serif;font-variant-numeric:tabular-nums}.chart-gridline{stroke:#27364a;stroke-width:1;stroke-dasharray:3 5}.chart-zero{stroke:#8a9db4;stroke-width:1}.chart-line{stroke:#55d9bb;stroke-width:2.25;fill:none;stroke-linecap:round;stroke-linejoin:round}.chart-point{fill:var(--accent)}.chart-cursor{pointer-events:none}.chart-cursor[hidden]{display:none}.chart-cursor line{stroke:#8babb5;stroke-dasharray:3 4;stroke-width:1}.chart-cursor circle{stroke:#d9fff2;fill:#3ba28a;stroke-width:2}.chart-tooltip{position:absolute;top:7%;border:1px solid #3d6570;background:#0b1a27f5;border-radius:7px;padding:10px 12px;box-shadow:0 8px 28px #0007;pointer-events:none;z-index:5;font-size:.65rem;max-width:260px}.chart-tooltip b,.chart-tooltip span,.chart-tooltip small{display:block}.chart-tooltip span{color:#9cb1c7;margin-top:3px;font-size:.55rem}.chart-tooltip small{font-size:.55rem;margin-top:5px}.chart-scale{font-size:.55rem;color:#71879f;padding:0 7px 6px}.chart-empty{height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#758ca5;font-size:.7rem;padding:24px;gap:10px;background:linear-gradient(180deg,transparent,#10223544);border-radius:9px}.chart-empty-mark{font-size:1.7rem;color:#416b76;width:48px;height:48px;display:grid;place-items:center;border:1px solid #294557;border-radius:50%}.chart-empty strong{font-size:.8125rem;color:#b2c6d8;font-weight:500}.chart-empty p{max-width:410px;margin:0;font-size:.6875rem}.candle-up line,.candle-up rect{stroke:#62dbbd;fill:#62dbbd}.candle-down line,.candle-down rect{stroke:#e28d9c;fill:#e28d9c}.chart-data-details,.advanced-market{border-top:1px solid var(--line);margin-top:14px;padding-top:13px}.chart-data-details summary,.advanced-market summary{font-size:.65rem;color:#91a8bc;cursor:pointer}.chart-data-details table{margin-top:15px}.chart-options{display:flex;align-items:center;gap:5px}.chart-options select{padding:6px 8px;width:65px;font-size:.65rem;min-height:29px}.chart-options .tab{font-size:.625rem;border:1px solid var(--line);padding:6px 9px}.chart-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:19px 0 6px}.quote-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.quote-head>div{display:grid;gap:5px}.quote-head strong{font-size:1.6rem;letter-spacing:-.045em;font-weight:550}.quote-head small{font-size:.6rem;color:#7e96ac}.quote-head>div:last-child{text-align:right}.quote-head b{font-size:.9375rem;font-weight:500}.quote-meta{display:flex;align-items:center;gap:8px 12px;font-size:.55rem;flex-wrap:wrap;color:#7890a8;margin-top:15px}.quote-meta .badge{font-size:.55rem}.chart-status{font-size:.55rem;color:#7890a8;margin-top:5px;line-height:1.7}.market-chart-card{margin-bottom:20px}.workspace-lower-grid .market-chart-card{margin-bottom:0}.market-chart-card h2 small{font-size:.65rem;font-weight:400;margin-left:8px;color:#8297ac}.advanced-market .definition{margin-top:17px;font-size:.7rem}.compact-chart .large-chart{min-height:220px}.sparkline{height:27px;width:85px}.sparkline path{stroke:#5bbda8;fill:none;stroke-width:1.5}.spark-unavailable{color:#536c85}.coverage-strip{display:flex;gap:23px;align-items:center;margin-bottom:20px;font-size:.65rem;color:#8499b1;flex-wrap:wrap}.coverage-strip span{display:flex;align-items:baseline;gap:7px}.coverage-strip b{font-size:.9375rem;font-weight:550;color:#d2dee9;font-variant-numeric:tabular-nums}
.market-explorer{padding:0;overflow:hidden;margin-bottom:20px}.view-switch{display:flex;gap:22px;padding:0 22px;border-bottom:1px solid var(--line)}.view-switch button{padding:17px 4px;color:#8da3bb;background:none;border:0;border-bottom:2px solid transparent;font-size:.75rem}.view-switch button.active{border-bottom-color:var(--accent);color:var(--accent)}.market-controls{display:flex;gap:10px;padding:20px 22px 15px;align-items:center;flex-wrap:wrap}.search-field{display:flex;gap:9px;align-items:center;border:1px solid #2c4057;border-radius:8px;background:#091725;flex:1;min-width:200px;padding:0 11px}.search-field svg{width:16px;height:16px;color:#7d94ac}.search-field input{border:0;background:none;padding:9px 0;font-size:.6875rem;outline-offset:0}.market-controls>select{width:auto;max-width:160px;padding:9px 11px;font-size:.6875rem}.market-controls .checkbox{align-items:center;margin:0 0 0 3px;font-size:.65rem;gap:6px}.market-controls .checkbox input{height:14px;min-width:14px;width:14px}.market-results{padding:0 23px 12px;display:flex;justify-content:space-between;color:#7f97af;font-size:.625rem}.market-results small{font-size:.55rem}.market-list{table-layout:auto;font-size:.6875rem}.market-list th{font-size:.6rem;background:#111f30;color:#889eb6;padding:12px 18px;white-space:nowrap}.market-list td{padding:16px 18px;vertical-align:middle}.market-list td:nth-child(2),.market-list td:nth-child(3){font-variant-numeric:tabular-nums}.market-list td>small{font-size:.55rem;margin-top:3px;color:#7a91a8}.market-list td:nth-child(2) b{font-weight:550;border-radius:4px;padding:3px;margin:-3px}.market-list tr:hover{background:#14253970}.market-list tr.selected{background:#153a352e}.market-list tr.selected td:first-child{box-shadow:inset 2px 0 var(--accent)}.currency-select{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;color:#dce8f1;text-align:left;max-width:270px}.currency-select>b,.currency-select span b{font-size:.6875rem;font-weight:500;display:block}.currency-select small{display:block;margin-top:3px;font-size:.55rem;line-height:1.4;color:#809ab2}.currency-token{min-width:34px;width:34px;height:34px;border:1px solid #304858;border-radius:10px;display:grid;place-items:center;color:#a6d8cf;background:#152b37;font-size:.6rem;flex-shrink:0}.market-list .icon-button{border:0;height:30px;min-width:30px;padding:5px;font-size:1rem;color:#7ba99f}.market-map{height:550px;margin:0 20px}.market-explorer .geography-selection{margin:0 22px}.orderbook-card{margin-bottom:20px}.provider-attribution{display:flex;flex-wrap:wrap;gap:8px 20px;color:#72899f;font-size:.6rem;padding:0 3px;line-height:1.8}.heatmap-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:5px 22px 17px}.heatmap-heading h2{font-size:.8125rem;margin-bottom:5px}.heatmap-heading p{font-size:.6rem;color:#8ca0b7;margin:0;max-width:650px}.heatmap-heading select{max-width:180px;padding:8px 10px;font-size:.65rem}.heatmap-scroll{overflow:auto;padding:0 20px 18px}.cross-heatmap{min-width:690px;table-layout:fixed;border-collapse:separate;border-spacing:4px;font-variant-numeric:tabular-nums}.cross-heatmap th{font-size:.6rem;border:0;padding:10px 5px;text-align:center;color:#b2c5d9}.cross-heatmap th:first-child{width:90px;text-align:left}.cross-heatmap td{border:1px solid #283c4f;border-radius:6px;padding:0;text-align:center;height:61px;vertical-align:middle}.cross-heatmap td button{background:transparent;border:0;color:#c4ddd5;font-size:.675rem;padding:10px 5px;width:100%;height:100%}.cross-heatmap td small{font-size:.55rem;display:block;margin-top:4px;opacity:.8}.cross-heatmap .heat-up{background:#14382d;border-color:#255240}.cross-heatmap .heat-down{background:#392b33;border-color:#503b46}.cross-heatmap .heat-down button{color:#ecc0c8}.cross-heatmap .heat-flat{background:#1b2b37}.cross-heatmap .missing{background:#0b1726;border-color:#1f3042}.cross-heatmap .missing button{color:#536b82}.market-explorer>.footnote,#market-body>.footnote{padding:0 24px 22px;margin:0}
.auto-balance-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;margin:20px 0;overflow:hidden}.auto-balance-grid>div{background:#101c2c;display:grid;gap:9px;padding:17px 20px}.auto-balance-grid span{font-size:.6rem;color:#8c9fb5}.auto-balance-grid b{font-size:1.05rem;font-weight:500;letter-spacing:-.025em}.route-detail{margin-bottom:20px}.route-amount-flow{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:18px 0}.route-amount-flow>div{display:grid;gap:8px}.route-amount-flow span{font-size:.65rem;color:#879fb5}.route-amount-flow b{font-weight:500;font-size:1.12rem;font-variant-numeric:tabular-nums}.route-amount-flow>i{font-style:normal;color:#527581}.status-legend{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.route-detail .eyebrow{margin-bottom:10px}.route-detail h2{line-height:1.7}.notification{font-size:.8125rem}.recovery-actions{display:flex;gap:12px;justify-content:space-between;margin-top:14px}.recovery-actions button{font-size:.6875rem;color:#9ab7cd}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:10px;list-style:none;padding:0}.recovery-codes li{border:1px solid var(--line);border-radius:6px;padding:9px;font-family:Consolas,monospace;font-size:.8125rem;letter-spacing:.05em;text-align:center}.support-presence{font-size:.6875rem;color:#8ca6bb;padding:0 0 16px}.support-presence b{color:#b6dccf;font-weight:500}.auth-card{background:#101e30}.auth-intro h1{font-weight:500}.auth-links{display:flex;justify-content:space-between;gap:15px;margin-top:10px}.auth-links button{font-size:.6875rem}.definition dd,.compact-definition dd{line-height:1.7}
@media(min-width:1700px){.main{padding-left:45px;padding-right:45px}.workspace-globe{height:385px}.summary-metric strong{font-size:2rem}.large-chart{min-height:290px}.card{padding:25px}.route-ribbon{margin-left:-25px;margin-right:-25px;padding-left:25px;padding-right:25px}}
@media(max-width:1250px){.main{margin-left:205px;padding-left:22px;padding-right:22px}.sidebar{width:205px;padding-left:10px;padding-right:10px}.top-search{max-width:210px}.top-search kbd{display:none}.top-actions{gap:10px}.connection-status{display:none}.market-ticker{grid-template-columns:repeat(3,minmax(0,1fr))}.ticker-item:nth-child(3){border-right:0}.ticker-item:nth-child(-n+3){border-bottom:1px solid var(--line)}.ticker-item{padding:10px 13px}.summary-metric{padding:17px}.summary-metric>strong{font-size:1.6rem}.workspace-main-grid{grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:16px}.workspace-lower-grid{gap:16px}.geography-selection{grid-template-columns:1fr 1fr}.geography-selection .text-button{justify-content:flex-end}.geography-card .card-head>.meta{display:none}.workspace-globe{height:325px}.compact-definition{gap:12px}.market-list th,.market-list td{padding-left:12px;padding-right:12px}.market-list .sparkline{width:65px}.auto-balance-grid>div{padding:16px}.card{padding:20px}.market-explorer{padding:0}.route-ribbon{margin-left:-20px;margin-right:-20px;padding:12px 20px}.large-chart{min-height:225px}.chart-options{gap:3px}.period-switch button{padding:4px 7px;min-width:28px}}
@media(max-width:1030px){.sidebar{width:76px;padding:28px 10px 15px}.sidebar .nav-caption,.sidebar .brand div,.sidebar .nav-item span,.sidebar-foot{display:none}.sidebar .brand{padding:0 10px 28px}.sidebar .nav-item{padding:13px 16px}.main{margin-left:76px}.top-search{max-width:260px}.workspace-main-grid{grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr)}.workspace-lower-grid{grid-template-columns:1fr}.summary-metric>strong{font-size:1.55rem}.summary-metric{padding:16px 14px}.summary-metric>small{font-size:.56rem}.large-chart{min-height:240px}.data-chart{max-height:320px}.market-controls>select{flex:1;max-width:180px}.search-field{flex-basis:45%}.route-amount-flow{flex-wrap:wrap}.coverage-strip{gap:17px}.market-list th:nth-child(4),.market-list td:nth-child(4){display:none}}
@media(max-width:800px){.top-search span,.top-search kbd{display:none}.top-search{margin-left:auto;padding:8px}.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.workspace-main-grid{grid-template-columns:1fr}.workspace-globe{height:375px}.auto-summary .compact-definition{grid-template-columns:1fr 1fr 1fr 1fr;gap:12px 15px}.auto-summary .status-reason{min-height:0;margin-bottom:14px}.auto-summary .full-width{max-width:100%}.geography-selection{grid-template-columns:1.25fr 1fr auto auto}.workspace-main-grid .auto-summary{padding:22px}.compact-definition dd{text-align:left}.next-event{flex-direction:row;justify-content:space-between;gap:14px}.auto-balance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.heatmap-heading{align-items:flex-start}.coverage-strip{gap:13px}.market-list th,.market-list td{padding-left:10px;padding-right:10px}}
@media(max-width:680px){.sidebar{display:none}.main{margin-left:0;padding:0 15px 96px}.topbar{height:61px;gap:10px}.breadcrumb{font-size:.65rem}.breadcrumb span{margin-left:3px}.top-actions{gap:6px}.clock{display:none}.avatar{width:31px;height:31px}.top-search{padding:7px;border:0;background:none}.page-header{padding:20px 0 17px;gap:12px}.page-header h1{font-size:1.38rem;margin-bottom:6px}.page-header p{font-size:.6875rem;line-height:1.7;max-width:295px}.page-header .actions{width:auto}.page-header .actions .btn{font-size:.625rem;min-height:32px;padding:7px 11px}.market-ticker{display:flex;overflow-x:auto;margin-bottom:16px;border-radius:8px;scrollbar-width:thin}.ticker-item{min-width:145px;padding:10px 12px;border-bottom:0!important;border-right:1px solid var(--line)!important}.ticker-item strong{font-size:.875rem}.dashboard-metrics~.balance-subline{font-size:.56rem;gap:8px 17px;line-height:1.8;padding-bottom:15px}.dashboard-metrics~.balance-subline b{margin-left:4px}.mobile-trading-status{display:flex;gap:9px;align-items:center;padding:10px 12px;border:1px solid #284c43;border-radius:8px;background:#112822;margin:0 0 13px;font-size:.6rem;color:#9db6ab}.mobile-trading-status .badge{font-size:.6rem;flex-shrink:0}.mobile-trading-status>span:last-child{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.575rem}.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.summary-metric{padding:14px 13px;border-radius:9px}.summary-metric>span{font-size:.6rem}.summary-metric>strong{font-size:1.48rem;margin:10px 0 7px}.summary-metric>small{font-size:.5rem;line-height:1.7}.dashboard-metrics .summary-metric:nth-child(n+3)>strong{font-size:1.35rem}.main:has(.dashboard-metrics) .market-ticker{display:none}.workspace-main-grid{gap:15px;margin-bottom:15px}.workspace-lower-grid{gap:15px;margin-bottom:15px}.workspace-globe{height:310px;margin:0 -6px}.card{padding:17px;border-radius:11px}.card h2{font-size:.9rem}.card-head{gap:10px}.card-head p{font-size:.625rem}.eyebrow{font-size:.55rem}.geography-card .card-head{margin-bottom:10px}.geography-selection{grid-template-columns:1fr 1fr;gap:14px 8px;padding:15px 0}.geography-selection .text-button{justify-content:flex-end;font-size:.6rem}.geography-selection b{font-size:.65rem}.geography-selection small{font-size:.5rem}.route-ribbon{margin:0 -17px;padding:12px 17px;gap:8px}.route-ribbon>strong{font-size:.6rem;min-width:100%;order:3}.route-ribbon .badge{margin-left:auto}.geography-card{padding-bottom:0}.auto-summary h2{font-size:1.05rem}.auto-summary .compact-definition{grid-template-columns:1fr 1fr;gap:11px}.compact-definition dd{text-align:right}.status-reason{font-size:.7rem}.auto-summary .status-reason{margin-bottom:18px}.next-event{flex-direction:column;gap:5px}.workspace-main-grid .auto-summary{padding:18px}.large-chart{min-height:205px;margin-left:-7px;width:calc(100% + 14px)}.chart-empty{height:230px;padding:20px}.data-chart{min-height:180px}.data-chart text{font-size:12px}.chart-scale{font-size:.5rem;padding:0 10px 5px}.chart-tooltip{font-size:.6rem;max-width:195px}.performance-card .card-head{display:block}.performance-card .period-switch{margin-top:15px}.period-switch button{font-size:.6rem;padding:4px 9px}.quote-head strong{font-size:1.42rem}.quote-head>div:last-child{max-width:110px}.quote-head small{font-size:.55rem;line-height:1.6}.quote-head b{font-size:.8125rem}.quote-meta{font-size:.5rem;gap:7px}.chart-toolbar{gap:9px;margin-top:15px}.chart-options select{font-size:.6rem;padding:6px 7px}.chart-options .tab{font-size:.6rem;padding:6px}.market-chart-card h2 small{display:block;margin:4px 0 0;font-size:.6rem}.performance-total strong{font-size:1.6rem}.recent-fills{margin-top:15px}.recent-fills table.responsive td{font-size:.6875rem}.recent-fills table.responsive td>*{max-width:65%}.recent-fills .card-head{align-items:center}.recent-fills .text-button{font-size:.6rem}.coverage-strip{gap:9px 15px;font-size:.6rem;margin-bottom:15px}.coverage-strip b{font-size:.875rem}.coverage-strip span{gap:5px}.market-explorer{padding:0}.view-switch{padding:0 17px;gap:24px}.view-switch button{font-size:.7rem;padding:14px 4px}.market-controls{padding:16px;gap:9px}.market-controls .search-field{flex-basis:100%;min-width:0}.market-controls>select{max-width:none;width:calc(50% - 5px);flex:auto;font-size:.625rem;padding:9px}.market-controls .checkbox{flex-basis:100%;margin-top:4px}.market-results{padding:0 16px 12px;font-size:.6rem;gap:20px}.market-results small{font-size:.5rem;text-align:right}.market-list thead{display:none}.market-list tr{display:grid!important;grid-template-columns:1.2fr 1fr;gap:8px 13px;padding:16px!important;margin:0}.market-list td{padding:0!important;display:block!important;text-align:right!important;max-width:100%;font-size:.7rem!important}.market-list td::before{display:none!important}.market-list td>*{max-width:100%!important}.market-list td:nth-child(1){grid-column:1;grid-row:1/3;text-align:left!important;box-shadow:none!important}.market-list td:nth-child(2){grid-column:2;grid-row:1}.market-list td:nth-child(3){grid-column:2;grid-row:2;font-size:.65rem!important}.market-list td:nth-child(3)::after{content:' Market Change';font-size:.5rem;color:#7c91a8}.market-list td:nth-child(4){display:none!important}.market-list td:nth-child(5){grid-column:1/3;grid-row:3;display:flex!important;align-items:center;gap:7px;justify-content:flex-start;text-align:left!important}.market-list td:nth-child(5) small{font-size:.5rem}.market-list td:nth-child(6){grid-column:2;grid-row:4;height:0;position:relative;top:-36px;justify-self:end}.currency-select{gap:8px;align-items:flex-start}.currency-token{width:31px;min-width:31px;height:31px;border-radius:8px;font-size:.55rem}.currency-select span b{font-size:.65rem;line-height:1.55}.currency-select small{font-size:.5rem!important;display:block!important;margin-top:3px}.market-list .selected{box-shadow:inset 2px 0 var(--accent)}.market-list .icon-button{height:25px;min-width:25px;padding:3px}.heatmap-heading{padding:4px 16px 17px;flex-wrap:wrap;gap:13px}.heatmap-heading select{max-width:none}.heatmap-scroll{padding:0 11px 16px}.cross-heatmap{min-width:680px}.market-map{height:400px;margin:0 8px}.market-explorer .geography-selection{margin:0 17px}.market-explorer>.footnote,#market-body>.footnote{padding:0 16px 18px;font-size:.6rem}.provider-attribution{font-size:.55rem;gap:5px}.auto-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:15px 0}.auto-balance-grid>div{padding:14px}.auto-balance-grid span{font-size:.55rem}.auto-balance-grid b{font-size:.9375rem}.auto-balance-grid>div:last-child{grid-column:1/-1}.route-amount-flow{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:10px 0}.route-amount-flow>i{display:none}.route-amount-flow span{font-size:.6rem}.route-amount-flow b{font-size:1rem}.route-detail{margin-bottom:15px}.route-detail h2{font-size:.8rem;overflow-wrap:anywhere}.definition{grid-template-columns:1fr 1fr;font-size:.7rem;gap:11px 13px}.definition dd{text-align:right;margin:0}.mobile-nav{display:flex;flex-direction:row;justify-content:space-between;padding:9px 7px max(10px,env(safe-area-inset-bottom));background:#0c1728f5;border-top:1px solid #26374b}.mobile-nav button{font-size:.625rem;padding:5px 0;gap:5px;min-height:43px;min-width:0}.mobile-nav svg{width:20px;height:20px}.mobile-nav .active{color:#62dfbf}.mobile-nav .active svg{filter:drop-shadow(0 0 5px #5be3c833)}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:16px 13px}.metric-label{font-size:.625rem;line-height:1.6}.metric-value{font-size:1.35rem}.metric-foot{font-size:.6rem}.support-layout{display:block}.conversation{padding:16px}.chat-input{gap:8px}.chat-input .btn{width:100%}.messages{max-height:420px}.message{font-size:.75rem;padding:12px}.form-grid{grid-template-columns:1fr}.auth-card{padding:24px 20px}.auth-shell{padding:24px 18px}.auth-header .brand small{font-size:.55rem}.auth-header .badge{font-size:.55rem}.auth-intro h1{font-size:1.9rem}.auth-intro p{font-size:.8125rem}.setup-facts{font-size:.6rem}.setup-facts b{font-size:.675rem}.auth-footer{font-size:.625rem}.auth-links{gap:8px}.auth-links button{font-size:.625rem}dialog{padding:21px;max-height:88dvh}.recovery-codes{gap:7px}.recovery-codes li{font-size:.7rem}.topbar .connection-status{display:none}}
@media(max-width:380px){.main{padding-left:12px;padding-right:12px}.page-header h1{font-size:1.3rem}.breadcrumb{font-size:.6rem}.page-header p{font-size:.65rem}.summary-metric{padding:13px 11px}.summary-metric>strong{font-size:1.38rem}.period-switch button{padding:4px 7px;min-width:27px}.quote-head strong{font-size:1.23rem}.quote-head>div:last-child{max-width:100px}.workspace-globe{height:290px}.card{padding:16px}.market-explorer{padding:0}.geography-card{padding-bottom:0}.route-ribbon{margin-left:-16px;margin-right:-16px}.geography-selection b{font-size:.6rem}.coverage-strip{gap:8px 11px}.coverage-strip span{font-size:.55rem}.market-controls{padding:14px}.mobile-nav button{font-size:.58rem}.chart-options .tab{font-size:.55rem}.chart-toolbar{gap:8px}.chart-options select{width:57px}}
.workspace-globe .exchange-globe,.globe-wrap .exchange-globe{min-height:0;border-radius:10px}.operations-region{margin-top:20px}.company-logo-preview{width:55px;height:55px;object-fit:contain;border:1px solid var(--line);border-radius:9px;padding:5px;background:#091422}.logo-upload-form{margin-top:15px}.status-reason{font-size:.8125rem}.market-list,.recent-fills table{font-size:.75rem}.currency-select span b{font-size:.75rem}.market-chart-card .quote-head small,.auto-state-line,.compact-definition{font-size:.6875rem}.card-head p,.geography-selection b,.next-event b{font-size:.7rem}.market-controls input,.market-controls>select{font-size:.75rem}.support-presence{line-height:1.7}.provider-attribution{font-size:.6875rem}.geography-selection small{letter-spacing:.04em}.main .card .meta{line-height:1.75}.route-detail+.grid-2 .definition{font-size:.75rem}.operations-region summary{font-size:.8125rem;cursor:pointer}.operations-region details>table{margin-top:20px}
.valuation-panel{margin-top:20px}.valuation-panel summary{font-size:.75rem;color:var(--muted);cursor:pointer}.valuation-panel .auto-balance-grid{margin:18px 0}.valuation-panel table{margin-top:16px}
.ticker-item .ticker-time{font-size:.5rem;color:#7e97ac;white-space:normal;line-height:1.6}.chart-tooltip{max-width:285px}.chart-tooltip span{line-height:1.5}
#external-execution{display:grid;gap:20px}
.heatmap-mobile{display:none}
@media(max-width:768px){.heatmap-scroll{display:none}.heatmap-heading{flex-wrap:wrap}.heatmap-heading>div{min-width:0;flex-basis:100%}.heatmap-heading select{width:100%;max-width:100%}.heatmap-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 18px;max-width:100%;min-width:0}.heatmap-mobile-note{grid-column:1/-1;font-size:.75rem;color:var(--muted);margin:0 0 2px;line-height:1.6}.heatmap-currency-card{min-width:0;max-width:100%;border:1px solid var(--line);border-radius:10px;background:#0b1929;overflow:hidden}.heatmap-card-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px 14px;background:#122438}.heatmap-card-heading h3{font-size:.8125rem;margin:0;color:var(--text)}.heatmap-card-heading>span{font-size:.625rem;color:var(--muted);text-align:right}.heatmap-pairs{display:grid;gap:1px;background:var(--line)}.heatmap-pair{display:grid;grid-template-columns:minmax(40px,1fr) minmax(0,2fr);align-items:center;gap:10px;min-width:0;min-height:56px;width:100%;border:0;border-radius:0;padding:10px 14px;text-align:left;color:var(--text);background:#0e1c2c}.heatmap-pair.heat-up{background:#112c2b}.heatmap-pair.heat-down{background:#2b202b}.heatmap-pair:hover{filter:brightness(1.12)}.heatmap-pair:focus-visible{outline-offset:-3px}.heatmap-quote-code{font-size:.8125rem;font-weight:600}.heatmap-mobile-value{display:flex;min-width:0;flex-direction:column;align-items:flex-end;text-align:right;overflow-wrap:anywhere}.heatmap-mobile-value strong{font-size:.9375rem;font-variant-numeric:tabular-nums}.heatmap-mobile-value small{font-size:.625rem;line-height:1.5;color:var(--muted)}.heatmap-pair.heat-up strong{color:var(--accent)}.heatmap-pair.heat-down strong{color:var(--danger)}}
@media(max-width:560px){.heatmap-mobile{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){.btn,.icon-button,.tab,.text-button,.view-switch button,.period-switch button,.currency-select,.market-controls select,.chart-options select,.chart-options .tab,.top-search{min-height:44px}.icon-button{min-width:44px}.page-header .actions .btn{min-height:44px}.mobile-nav button{min-height:44px}.period-switch button{min-width:38px;padding:5px 8px}.period-switch{gap:0}.chart-options .tab{font-size:.625rem}.chart-options select{min-width:65px}.card-head p,.status-reason,.next-event b,.compact-definition{font-size:.75rem}.summary-metric>span,.mobile-trading-status,.auto-state-line{font-size:.6875rem}.summary-metric>small{font-size:.6rem}.geography-selection b{font-size:.7rem}.geography-selection small{font-size:.6rem}.market-controls input,.market-controls>select,.currency-select span b{font-size:.75rem}.currency-select small{font-size:.6rem!important}.market-list td:nth-child(6){top:-46px}.market-list .icon-button{min-width:40px;min-height:40px}.market-list tr{padding-bottom:20px!important}.mobile-trading-status>span:last-child{font-size:.65rem}.chart-toolbar{align-items:flex-start}.workspace-globe .eg-top button,.workspace-globe .eg-bottom button{min-height:40px}.market-map{height:440px}.coverage-strip{font-size:.65rem}.page-header p{font-size:.75rem}.topbar .icon-button{min-width:36px}.topbar .top-search{min-width:30px}.mobile-nav button{font-size:.65rem}}
@media(max-width:380px){.period-switch button{min-width:34px;padding:5px 7px}.geography-selection b{font-size:.65rem}.summary-metric>strong{font-size:1.4rem}.topbar .breadcrumb{font-size:.6rem}}

/* Source: design-system.css */
:root{--bg:#07111f;--panel:#0d1b2a;--panel-2:#112438;--line:#23374b;--accent:#2dd4bf;--text:#e8f0f8;--muted:#9fb0c3;--danger:#f87171;--gold:#fbbf24}
body{background:var(--bg);color:var(--text);font-size:15px;font-variant-numeric:tabular-nums}
.sidebar{width:232px;background:linear-gradient(165deg,#0b1d2c,#081523);border:1px solid var(--line)}
.main{margin-left:232px;padding:0 22px 32px;max-width:2100px}
.nav-item{min-height:48px;font-size:14px;border-radius:9px;position:relative}.nav-item.active{background:linear-gradient(90deg,#103b43,#102c38);color:#61ead7}.nav-item.active:before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:var(--accent)}
.topbar{height:72px;min-height:72px;border-bottom:1px solid var(--line);gap:20px}.top-search{border:1px solid var(--line);border-radius:10px;background:#0e2132}.breadcrumb{font-size:14px}.brand{font-size:16px}.brand small{font-size:10px}.sidebar-foot{font-size:12px}
.page-header{margin:16px 0;padding:0}.page-header h1{font-size:24px;line-height:1.25;letter-spacing:-.6px}.page-header p,.card-head p{font-size:14px;line-height:1.55}.eyebrow{font-size:11px;letter-spacing:.13em}
.card,.metric,.summary-metric{background:linear-gradient(120deg,#0d1b2a,#0b1a28);border:1px solid var(--line);border-radius:12px;padding:18px;box-shadow:0 6px 22px #00000012;min-width:0}.card h2{font-size:18px}.card h3{font-size:16px}.card p{line-height:1.6}
.summary-metric strong,.metric-value{font-size:32px;line-height:1.3;overflow-wrap:anywhere}.summary-metric .metric-copy>span,.metric-label{font-size:14px}.summary-metric .metric-copy>small,.metric-foot{font-size:12px;line-height:1.5}.summary-metric.positive{background:linear-gradient(120deg,#103331,#0c202a)}
.workspace-main-grid{gap:16px}.workspace-lower-grid{gap:16px}.geography-card{padding:0}.geography-card .card-head{padding:14px 16px 8px}.workspace-globe{height:360px;min-height:0}.auto-summary .status-reason{font-size:14px}.compact-definition{font-size:13px}.auto-state-line{font-size:13px}.auto-balance-grid>div>span{font-size:13px}.next-event{font-size:13px}.next-event b{font-size:13px}
.ticker-item strong{font-size:17px}.ticker-item .ticker-time{font-size:10px}.ticker-item{min-height:72px}.ticker-item .ticker-pair{font-size:13px}.ticker-item .ticker-change{font-size:12px}.balance-subline{font-size:13px}.coverage-strip{font-size:13px}
.market-chart.card{padding:22px}.chart-quote strong{font-size:32px}.chart-source,.chart-availability,.chart-note{font-size:12px}.period-switch button{min-height:44px;font-size:12px}.chart-options select,.market-controls input,.market-controls select{font-size:13px;min-height:44px}.market-controls{gap:12px}.currency-select{font-size:14px}.currency-select small{font-size:12px!important}.market-list td{font-size:13px}.chart-tooltip{font-size:14px}.chart-tooltip span{font-size:12px}
.btn,.icon-button,.text-button,.tab{min-height:44px}.btn{font-size:14px;border-radius:9px}.btn.primary{color:#04252a;background:linear-gradient(100deg,#2dd4bf,#19cbd0);font-weight:650}.btn:disabled{opacity:.5;cursor:not-allowed}.btn[data-pending="1"]:after{content:" · Processing…"}.icon-button{min-width:44px}.text-button{font-size:13px}.badge{font-size:12px;padding:6px 10px;border:1px solid #34516a;color:#d9e8f5;background:#152b3e}.badge.teal{color:#70f0d9;background:#0a3937;border-color:#1c655e}.badge.gold{color:#f8d678;background:#332c19;border-color:#69512b}.badge.red{color:#ffa3a3;background:#3b222b;border-color:#754051}
label{font-size:13px;color:var(--text);line-height:1.6}input,select,textarea{min-height:46px;font-size:15px;background:#102236;border:1px solid #35516b;border-radius:9px;color:var(--text)}input::placeholder,textarea::placeholder{color:#92a9bb}textarea{line-height:1.65}:focus-visible{outline:3px solid #5ce4d3;outline-offset:3px}input:focus,select:focus,textarea:focus{border-color:#57d8c9}input[aria-invalid="true"]{border-color:var(--danger)}input[type=checkbox]{min-height:auto;accent-color:var(--accent)}.inline-error{font-size:14px;color:#ffb4b4;padding:12px 14px;background:#37202b;border:1px solid #743b4a;border-radius:9px;margin-top:14px}.footnote,.meta{font-size:13px!important;line-height:1.65}.code-box{font-size:13px;overflow-wrap:anywhere;word-break:break-word}
table.responsive{font-size:14px}table.responsive th{font-size:12px;color:#bfd1e2;background:#112638;white-space:normal}table.responsive td{font-size:13px;line-height:1.6;overflow-wrap:anywhere}table.responsive td small{font-size:12px;line-height:1.5}table.responsive tbody tr:hover{background:#142c3b70}table.responsive tr[hidden]{display:none}
.modal{border-radius:16px;border:1px solid #36566b;background:#0d1b2a}dialog{max-height:calc(100dvh - 36px);max-width:min(1080px,calc(100vw - 36px));overscroll-behavior:contain}dialog::backdrop{background:#020812b8;backdrop-filter:blur(5px)}.modal-heading{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.modal-heading h2{font-size:23px}.definition{font-size:14px;line-height:1.7;column-gap:22px}.definition dd{overflow-wrap:anywhere;min-width:0}
.design-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.design-metric{padding:22px}.design-metric small{display:block;color:var(--muted);font-size:12px;margin-top:8px;line-height:1.5}.design-value{display:flex;flex-direction:column;gap:9px;min-width:0}.design-value>span{font-size:13px;color:var(--muted)}.design-value>strong{font-size:28px;line-height:1.3;overflow-wrap:anywhere}.design-two-column{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:20px;margin:20px 0}.design-two-column>*{min-width:0}.design-inset{padding:20px;background:#102438;border:1px solid var(--line);border-radius:12px}.design-inset h3{margin-top:0}.design-filters{display:flex;align-items:flex-end;gap:16px;margin:18px 0}.design-filters label{flex:1;min-width:0}.design-filters label input,.design-filters label select{width:100%;display:block}.design-tabs{margin-bottom:20px;flex-wrap:wrap}.design-deposit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px;background:#102639;border:1px solid var(--line);border-radius:12px;margin-bottom:22px}.design-deposit-summary strong{font-size:20px}.design-detail-section{border-top:1px solid var(--line);margin-top:24px;padding-top:16px}.design-timeline{list-style:none;padding:0;margin:18px 0;display:grid;gap:0}.design-timeline li{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);gap:13px;padding-bottom:24px;min-width:0}.design-timeline li:before{content:"";position:absolute;left:15px;top:29px;bottom:0;width:1px;background:#31506a}.design-timeline li:last-child:before{display:none}.timeline-dot{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid #45627a;background:#193149;color:#bbcddd}.done .timeline-dot{background:var(--accent);color:#062e31;border-color:#4bdfd0}.design-timeline p{margin:5px 0 0;font-size:13px;color:var(--muted);overflow-wrap:anywhere}.design-timeline b{font-size:14px}.allocation{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:center}.allocation-ring{background:conic-gradient(var(--accent) 0 var(--allocation),#3b82f6 var(--allocation) 100%);border-radius:50%;aspect-ratio:1;padding:22px}.allocation-ring>div{border-radius:50%;background:#0b1b2a;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;height:100%;text-align:center;padding:12px}.allocation-ring b{font-size:24px}.allocation-ring small{font-size:12px;color:var(--muted)}.asset-code{font-weight:650;padding:7px 9px;border-radius:7px;background:#143348}.design-withdraw-form .design-two-column{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}#design-holdings,#design-deposit-history,#design-ledger{margin:20px 0}
@media(min-width:1280px){.market-design-grid{display:grid;grid-template-columns:minmax(365px,.95fr) minmax(0,1.45fr);gap:16px;align-items:start}.market-detail-column{min-width:0;display:grid;gap:16px}.market-explorer{min-width:0}.market-currency-list{max-height:740px;overflow-y:auto}.market-search-bar .market-controls{grid-template-columns:2fr repeat(3,minmax(100px,1fr))}.market-search-bar .market-controls .search-field{grid-column:auto}}

@media(min-width:768px) and (max-width:1279px){.sidebar{width:76px}.main{margin-left:76px;padding:0 20px 35px}.sidebar .brand>div,.sidebar .nav-caption,.sidebar .nav-item span,.sidebar-foot{display:none}.sidebar .nav-item{justify-content:center}.brand{padding:18px}.workspace-main-grid{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)}.allocation{grid-template-columns:170px minmax(0,1fr)}.design-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.design-two-column{grid-template-columns:minmax(0,1fr)}.top-search{max-width:280px}.summary-metric strong{font-size:28px}}
@media(width < 768px){.sidebar{display:none}.main{margin-left:0;padding:0 16px calc(96px + env(safe-area-inset-bottom))}.topbar{min-height:70px;gap:8px;padding:0}.topbar .breadcrumb{font-size:12px;max-width:40%;overflow-wrap:anywhere}.top-search{min-width:40px;max-width:44px}.top-search span,.top-search kbd{display:none}.clock{display:none}.top-actions{gap:8px}.connection-status{font-size:11px}.page-header{margin:22px 0 18px;align-items:flex-start;gap:14px;flex-wrap:wrap}.page-header h1{font-size:25px}.page-header p{font-size:13px}.page-header .actions{flex-wrap:wrap;gap:8px}.card,.metric,.summary-metric{padding:18px;border-radius:12px}.card h2{font-size:17px}.summary-metric strong,.metric-value{font-size:28px}.summary-metric .metric-copy>span{font-size:12px}.summary-metric .metric-copy>small{font-size:12px}.workspace-main-grid,.workspace-lower-grid{grid-template-columns:minmax(0,1fr);gap:18px}.workspace-globe{height:350px;min-height:0}.mobile-trading-status{font-size:13px;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#102538}.mobile-trading-status>span:last-child{font-size:12px}.ticker{display:none}.balance-subline{font-size:12px;gap:12px;flex-wrap:wrap}.design-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.design-metric{padding:15px}.design-value>strong{font-size:23px}.design-metric small{font-size:12px}.design-two-column,.design-withdraw-form .design-two-column{grid-template-columns:minmax(0,1fr);gap:16px}.allocation{grid-template-columns:1fr;justify-items:center}.allocation>.stack{width:100%}.allocation-ring{width:205px}.design-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.design-deposit-summary{grid-template-columns:minmax(0,1fr);gap:15px;padding:16px}.design-deposit-summary .design-value{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.design-deposit-summary strong{font-size:17px;text-align:right;max-width:65%}.design-inset{padding:16px}.definition{grid-template-columns:minmax(95px,.8fr) minmax(0,1fr);font-size:13px;gap:10px}.mobile-nav{display:flex;flex-direction:row;position:fixed;inset:auto 0 0;z-index:50;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom);min-height:74px;background:#081825f5;border-top:1px solid var(--line);backdrop-filter:blur(14px)}.mobile-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:11px;min-height:62px;min-width:0;border:0;background:transparent;color:var(--muted);padding:5px 0}.mobile-nav button.active{color:var(--accent)}.mobile-nav svg{width:23px;height:23px}.modal{width:calc(100vw - 16px);max-width:none;margin:8px;padding:20px 16px;border-radius:16px;max-height:calc(100dvh - 16px)}.modal-heading h2{font-size:21px}.modal .form-actions{flex-wrap:wrap}.modal .form-actions>.btn{flex:1}.period-switch{flex-wrap:wrap}.period-switch button{min-width:44px}.chart-toolbar{flex-wrap:wrap}.chart-options{flex-wrap:wrap}.market-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.market-controls input{grid-column:1/-1}.view-switch button{min-height:44px}.market-list td{font-size:13px}.market-list .currency-select small{font-size:12px!important}.coverage-strip{font-size:12px;flex-wrap:wrap}.auto-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.route-amount-flow{flex-wrap:wrap}.geography-selection b{font-size:14px}.geography-selection small{font-size:12px}.workspace-globe .eg-top button,.workspace-globe .eg-bottom button{min-width:44px;min-height:44px}.qr{max-width:180px}.form-grid{grid-template-columns:minmax(0,1fr)}.responsive td{word-break:break-word}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.mobile-nav,.btn,.tabs,.toast{display:none!important}body,.main,.card{background:#fff!important;color:#111!important;box-shadow:none!important}.main{margin:0;padding:0}.card{border-color:#ccc;break-inside:avoid}thead{display:table-header-group}tr{break-inside:avoid}@page{size:A4;margin:15mm}}

.design-failure{max-width:760px;margin:40px auto;text-align:center}.design-error-code{font-size:56px;color:var(--accent);font-weight:750;margin:16px}.design-failure .form-actions{justify-content:center}

/* W01–W06: server-backed financial evidence and filters. */
.design-status-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0 10px}.design-status-summary>div{display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);background:#102438;border-radius:10px;padding:16px;min-width:0}.design-status-summary b{font-size:24px;color:var(--accent)}.design-status-summary span{font-size:12px;color:var(--muted)}.design-date-filters{flex-wrap:wrap}.design-date-filters label{flex:1 1 160px}.design-date-filters label:first-child{flex:2 1 210px}.design-evidence-json{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;padding:16px;background:#081725;border:1px solid var(--line);border-radius:10px}.design-live-status{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px;font-size:12px;color:var(--muted)}#design-detail-refresh-error:not(:empty){padding:12px;border:1px solid #69512b;color:#f8d678;border-radius:8px;margin-top:16px}#design-trade-live,#design-withdraw-live,#design-deposit-live{min-width:0}.design-detail-section>h3:not(:first-child){margin-top:24px}
@media(width < 768px){.design-status-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.design-status-summary>div{padding:13px}.design-date-filters label{min-width:0;width:100%}.design-date-filters input[type=date],#design-statement-filters input[type=date]{max-width:100%;min-width:0}.design-evidence-json{padding:12px}#design-holdings td:last-child{font-size:12px}}

/* Revision 03: page-owned hierarchy and compact financial overview. */
.dashboard-page,.auto-trading-page{padding-top:14px}.dashboard-main-grid{grid-template-columns:minmax(0,3fr) minmax(330px,2fr)}.dashboard-lower-grid,.auto-lower-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.auto-main-grid{grid-template-columns:minmax(0,1.25fr) minmax(330px,1fr)}.summary-metrics{gap:12px;margin:12px 0 16px}.summary-metric{display:flex;flex-direction:row;align-items:center;gap:14px;min-height:100px;padding:16px}.metric-icon{width:48px;height:48px;flex:none;border-radius:12px;display:grid;place-items:center;background:#103444;color:#40d7d2}.metric-icon svg{width:27px;height:27px}.metric-copy{min-width:0;display:grid;gap:4px}.metric-copy>span,.metric-copy>small{color:var(--muted)}.metric-copy strong{font-size:28px;line-height:1.2}.ticker-item{padding:12px 14px;display:grid;gap:8px}.ticker-pair,.ticker-numbers{display:flex;align-items:center;gap:8px;justify-content:space-between}.ticker-pair>small{font-size:10px}.currency-flag{width:30px;height:20px;line-height:1;flex:none;border-radius:3px;overflow:hidden}.ticker-numbers small{font-size:12px}.geography-viewport{position:relative}.geography-selection{position:absolute;right:12px;top:68px;width:auto;max-width:230px;display:block;padding:10px 12px;border:1px solid #31566b;border-radius:10px;background:#081b2aea;pointer-events:auto}.geography-selection>div:not(:first-child){display:none}.geography-selection small{font-size:10px}.geography-selection b{font-size:13px}.geography-selection .text-button{min-height:30px}.geography-card .route-ribbon{padding:10px 16px;min-height:52px;font-size:12px}.geography-card .route-ribbon strong{font-size:13px}.auto-summary{display:flex;flex-direction:column;gap:8px}.auto-summary .card-head{margin:0;align-items:center}.auto-summary .card-head h2{margin:0}.auto-summary .status-reason{min-height:0;margin:0}.auto-summary .full-width{margin-top:0}.workspace-main-grid .auto-summary{padding:16px}.auto-summary .next-event{margin-top:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;font-size:11px}.auto-summary .next-event b{font-size:11px}.auto-summary .latest-route{gap:6px;padding:9px}.auto-summary .execution-phases{padding:5px 0}.auto-summary .card-head .text-button{min-height:32px}.auto-status-heading{display:flex;gap:12px;align-items:flex-start}.auto-status-heading h3{margin:0 0 6px;font-size:17px}.auto-status-heading p{margin:0;font-size:13px;line-height:1.5}.execution-phases{list-style:none;padding:8px 0;margin:0;display:grid;grid-template-columns:repeat(3,1fr)}.execution-phases li{position:relative;display:grid;justify-items:center;gap:8px;font-size:13px}.execution-phases li:before{content:'';height:1px;background:#365269;position:absolute;top:17px;left:0;right:0}.execution-phases li:first-child:before{left:50%}.execution-phases li:last-child:before{right:50%}.execution-phases li>span{z-index:1;border:1px solid #426379;background:#102437;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.execution-phases .current>span{background:var(--accent);color:#032b2a}.latest-route{border:1px solid var(--line);border-radius:8px;padding:10px;display:grid;gap:8px}.latest-route>small{color:var(--muted)}.latest-route>strong{font-size:13px}.latest-route>div{display:flex;justify-content:space-between;align-items:center}.auto-remedy{font-size:12px}.auto-summary .next-event{margin-top:auto;padding-top:10px}.performance-card .large-chart{min-height:190px}.performance-card h2{font-size:17px}.performance-card .card-head p{display:none}.performance-total{margin:8px 0}.performance-total strong{font-size:26px}.conversion-list{display:grid}.conversion-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(70px,.7fr) auto;gap:10px;padding:13px 0;border-top:1px solid var(--line);align-items:center;font-size:12px}.conversion-row>div{min-width:0;display:grid;gap:5px}.conversion-row small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.conversion-row .currency-flag{font-size:17px;margin-right:5px}.conversion-row .badge{font-size:10px;padding:4px 6px;width:max-content}.mobile-current-route{display:none}.auto-status-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:#102738}.auto-status-bar p{margin:0;flex:1;font-size:14px}.auto-status-bar>small{color:var(--muted)}.auto-route-heading{display:flex;justify-content:space-between;align-items:center;margin:16px 0;gap:12px}.auto-route-heading h2{font-size:18px;margin:6px 0}.auto-route-heading small{color:var(--muted);font-size:11px}.auto-analysis-details{margin:16px 0}.auto-analysis-details>summary{cursor:pointer;font-weight:600}.auto-analysis-details .valuation-panel{box-shadow:none}.route-result{padding-top:14px;margin-top:14px;border-top:1px solid var(--line);display:grid;gap:8px}.settlement-strip{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line);border-radius:10px;font-size:13px}.settlement-strip b{display:block;margin-top:5px}.account-menu{display:flex;align-items:center;gap:10px;border:0;background:none;color:var(--text);min-height:44px;cursor:pointer}.account-name{font-size:13px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb{font-size:22px;font-weight:650;color:var(--text)}.breadcrumb span{margin:0}.market-search-bar{padding:12px 0}.market-search-bar .view-switch{margin-bottom:10px}.market-controls{margin:0}.market-detail-column{min-width:0;display:grid;gap:16px}.market-currency-row{display:grid;grid-template-columns:minmax(0,1.5fr) 56px minmax(68px,.6fr) 32px;align-items:center;gap:7px;padding:12px 0;border-top:1px solid var(--line)}.market-currency-row.selected{background:#10333a;box-shadow:inset 3px 0 var(--accent);padding-left:8px}.market-currency-row .currency-select{min-width:0;gap:9px;text-align:left}.market-currency-row .currency-select>span:last-child{min-width:0}.market-currency-row b{font-size:13px;overflow-wrap:anywhere}.market-currency-row .currency-select small{font-size:11px!important}.market-currency-row .market-source-time{font-size:10px!important}.market-row-price{display:grid;gap:6px;text-align:right}.market-row-price small{font-size:12px}.market-row-trend svg{width:56px;height:28px}.market-currency-row>.icon-button{min-width:30px;padding:0}.market-price-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.market-price-facts>div{padding:10px;border:1px solid var(--line);border-radius:8px;display:grid;gap:5px;min-width:0}.market-price-facts small{color:var(--muted);font-size:11px}.market-price-facts b{font-size:14px;overflow-wrap:anywhere}.market-heatmap{overflow:hidden}.market-heatmap .cross-heatmap{min-width:0;table-layout:fixed}.market-heatmap .cross-heatmap th,.market-heatmap .cross-heatmap td{padding:4px;font-size:10px}.market-heatmap .cross-heatmap button{padding:7px 2px;font-size:10px}.market-detail-column .market-chart-card{margin:0}.market-explorer .market-pagination{font-size:11px}.market-explorer .market-pagination .btn{font-size:12px}.country-map-grid .workspace-globe{height:520px}.market-chart-card .quote-head{align-items:center}.market-chart-card .quote-head>.currency-flag{font-size:34px}.market-chart-card .quote-head>div:first-of-type{flex:1}
@media(min-width:768px) and (max-width:1100px){.dashboard-main-grid,.auto-main-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)}.metric-icon{display:none}.dashboard-lower-grid,.auto-lower-grid{grid-template-columns:1fr}.account-name{display:none}.breadcrumb{font-size:18px}}
@media(width < 768px){.dashboard-page,.auto-trading-page{padding-top:8px}.main{padding-left:12px;padding-right:12px}.topbar .breadcrumb{font-size:16px;max-width:45%}.account-name{display:none}.top-actions .connection-status{display:none}.topbar .top-search{display:none}.top-actions{margin-left:auto}.page-header{margin:14px 0}.page-header p{display:none}.dashboard-main-grid,.auto-main-grid,.dashboard-lower-grid,.auto-lower-grid,.market-design-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-metric{padding:12px;min-height:82px;gap:10px}.metric-icon{width:32px;height:32px;border-radius:8px}.metric-icon svg{width:21px;height:21px}.metric-copy strong{font-size:23px}.metric-copy>small{display:none}.dashboard-metrics .summary-metric[data-key=metric-today]{grid-column:1/-1;border:0;background:none;padding:4px 0;min-height:65px}.dashboard-metrics .summary-metric[data-key=metric-today] .metric-icon{display:none}.dashboard-metrics .summary-metric[data-key=metric-today] strong{font-size:38px}.dashboard-metrics .summary-metric[data-key=metric-return]{grid-column:1/-1;border:0;background:none;padding:0;min-height:26px;margin-top:-8px}.dashboard-metrics .summary-metric[data-key=metric-return] .metric-icon,.dashboard-metrics .summary-metric[data-key=metric-return] .metric-copy>span{display:none}.dashboard-metrics .summary-metric[data-key=metric-return] strong{font-size:18px}.dashboard-metrics .summary-metric[data-key=metric-principal],.dashboard-metrics .summary-metric[data-key=metric-profit]{min-height:78px}.mobile-trading-status{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;padding:9px 12px}.mobile-current-route{display:grid;gap:7px;border:1px solid var(--line);border-radius:10px;padding:12px;margin-bottom:12px;font-size:13px}.mobile-current-route>span{color:var(--muted)}.dashboard-main-grid .auto-summary{display:none}.geography-card{padding:0}.geography-card .card-head h2{font-size:16px}.geography-card .card-head>.meta{display:none}.geography-selection{top:62px;right:8px;max-width:190px;padding:7px 9px}.geography-selection .text-button{min-height:28px}.geography-card .route-ribbon{flex-wrap:wrap;gap:6px}.conversion-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}.conversion-row .text-button{text-align:right;justify-self:end}.auto-metrics .metric-icon{display:none}.auto-metrics .metric-copy strong{font-size:24px}.auto-status-bar p{flex-basis:100%;font-size:13px}.auto-route-heading{align-items:flex-start}.auto-route-heading h2{font-size:17px}.auto-main-grid>.geography-card{display:none}.auto-execution{padding:16px}.settlement-strip{flex-direction:column}.market-price-facts{gap:6px}.market-price-facts>div{padding:8px 6px}.market-price-facts b{font-size:12px}.market-search-bar .market-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.market-search-bar .search-field{grid-column:1/-1}.market-search-bar .market-controls>#market-direction,.market-search-bar .market-controls>#market-sort{display:none}.market-currency-row{grid-template-columns:minmax(0,1.3fr) 44px minmax(66px,.6fr) 28px;padding:11px 0}.market-row-trend svg{width:44px}.market-currency-row .currency-select{gap:7px}.currency-flag{font-size:23px}.market-currency-row b{font-size:12px}.market-currency-row .market-source-time{font-size:9px!important}.country-map-grid .market-detail-column{grid-row:1}.country-map-grid .workspace-globe{height:330px}.country-map-grid .market-explorer{grid-row:2}.market-heatmap{padding:12px}.market-heatmap .heatmap-scroll{display:none}.market-heatmap .heatmap-mobile{display:grid}.market-chart-card .compare-control{margin:10px 0}.market-chart-card .compare-control label{font-size:12px}.market-observed-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.market-observed-stats>div{padding:8px}.market-observed-stats small{font-size:10px}.market-observed-stats b{font-size:12px}}

.activity-toolbar{display:flex;gap:12px;align-items:flex-start;margin:12px 0}.activity-primary-filters{display:flex;gap:12px;flex:1}.activity-primary-filters label{min-width:120px;flex:1}.activity-primary-filters select{width:100%;display:block}.activity-advanced-filters{flex:1;border:1px solid var(--line);padding:12px;border-radius:9px;background:#102335}.activity-advanced-filters>summary{cursor:pointer;min-height:24px;font-size:13px}.activity-advanced-filters .design-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.activity-master-detail{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:start}.activity-master-detail>*{min-width:0}.activity-record{border-top:1px solid var(--line);padding:7px 0}.activity-record>button:first-child{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) 12px;gap:10px;align-items:center;width:100%;text-align:left;border:0;background:none;color:var(--text);padding:12px 0;cursor:pointer}.activity-record>button:first-child>span{display:grid;gap:7px;min-width:0}.activity-record b{font-size:13px;overflow-wrap:anywhere}.activity-record small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.activity-record .badge{font-size:10px;padding:5px 7px;max-width:max-content}.activity-record.selected{background:#103139}.activity-record>.btn{font-size:11px;min-height:32px;padding:4px 8px}.history-scope{margin:16px 0;font-size:12px;color:var(--muted)}#design-activity-detail{max-height:820px;overflow:auto}#design-trade-live .definition{font-size:12px;gap:8px}#design-trade-live .code-box{font-size:11px}#design-trade-live h3{font-size:15px}.statement-workspace{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,2fr);gap:16px;align-items:start}.statement-day{display:flex;justify-content:space-between;gap:10px;padding:15px 10px;background:none;border:0;border-top:1px solid var(--line);color:var(--text);width:100%;text-align:left;cursor:pointer}.statement-day>span{display:grid;gap:7px}.statement-day>span:last-child{text-align:right}.statement-day small{font-size:11px;color:var(--muted)}.statement-day.selected{background:#10383e}.statement-day-list details{margin:12px 0}.statement-day-list details>summary{font-size:13px;cursor:pointer}.statement-day-list .design-filters{display:grid;grid-template-columns:1fr;gap:8px}.statement-financial-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.statement-financial-summary .design-value{padding:13px;border:1px solid var(--line);border-radius:8px}.statement-financial-summary .design-value strong{font-size:24px}.statement-today{margin:16px 0}.wallet-allocation details>summary{font-size:17px;font-weight:600;cursor:pointer}.wallet-allocation .allocation{margin-top:16px}.wallet-actions{grid-column:1;grid-row:1}.wallet-allocation{grid-column:2;grid-row:1}.design-status-summary small{font-size:11px;color:var(--muted)}
@media(max-width:1100px){.activity-master-detail{grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}.statement-workspace{grid-template-columns:minmax(180px,.7fr) minmax(0,2fr)}}
@media(width < 768px){.activity-toolbar{display:block}.activity-primary-filters{gap:8px;margin-bottom:8px}.activity-primary-filters label{font-size:11px}.activity-primary-filters select{min-height:40px;font-size:12px}.activity-advanced-filters{padding:9px 12px}.activity-master-detail{display:block}#design-activity-detail{display:none}.activity-record>button:first-child{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 12px;gap:8px}.activity-record>button:first-child>span:nth-child(3){grid-row:2;grid-column:1/3;display:flex;justify-content:space-between}.activity-record>button:first-child>span:last-child{grid-column:3;grid-row:1}.activity-record .badge{font-size:10px}.activity-record small{font-size:11px}.statement-workspace{display:block}#design-statement-selection{display:none}.statement-day-list{padding:14px}.statement-financial-summary{gap:10px;margin:14px 0}.statement-financial-summary .design-value{padding:10px}.statement-financial-summary .design-value strong{font-size:22px}.wallet-actions,.wallet-allocation{grid-column:auto;grid-row:auto}.wallet-allocation{order:2}.wallet-actions{order:1}.wallet-allocation .allocation-ring{width:150px}.design-withdraw-form .form-actions{display:grid;grid-template-columns:1fr}.design-status-summary>div{padding:10px}.design-status-summary b{font-size:21px}dialog:has(#design-trade-live),dialog:has(#design-withdraw-live){margin:auto 0 0;width:100%;max-width:100%;max-height:92dvh;border-radius:18px 18px 0 0;padding:16px}dialog[open]~body{overflow:hidden}}

.deposit-request-layout{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(240px,1fr) minmax(240px,1.1fr);gap:20px;align-items:start}.deposit-request-layout>section{min-width:0;padding:14px;border:1px solid var(--line);border-radius:10px}.deposit-request-amount>strong{font-size:28px}.deposit-request-address{text-align:center}.deposit-request-address .qr{width:180px;max-width:100%;padding:10px;background:#fff}.deposit-request-address .code-box{font-size:12px;text-align:left}.deposit-request-layout .status-line{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.deposit-request-evidence .form-grid{display:block}.deposit-history-workspace.dedicated{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}.deposit-history-workspace.compact #design-deposit-selection{display:none}.deposit-history-workspace #design-deposit-selection .design-timeline li{padding-bottom:14px}.deposit-history-workspace #design-deposit-selection .design-timeline p{font-size:12px}.design-deposit-summary[data-key=deposit-summary]{display:none}
@media(max-width:1024px){.deposit-request-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.deposit-request-evidence{grid-column:1/-1}}
@media(width < 768px){.deposit-request-layout{display:flex;flex-direction:column;gap:12px}.deposit-request-layout>section{width:100%;padding:12px}.deposit-request-layout .deposit-request-amount>strong{font-size:27px}.deposit-request-layout .status-line{flex-direction:row;flex-wrap:wrap;justify-content:space-between}.deposit-request-layout .deposit-request-amount>.footnote{display:none}.deposit-request-address .qr{width:165px}.deposit-history-workspace.dedicated{display:block}#design-deposit-selection{display:none}.deposit-request-layout .code-box{font-size:12px}.deposit-request-evidence details{margin-top:14px}body:has(dialog[open]){overflow:hidden}}

.geography-card .route-ribbon{margin:0;padding-left:16px;padding-right:16px}.summary-metric .metric-copy strong{white-space:nowrap;overflow-wrap:normal;word-break:normal}.summary-metric .metric-copy{max-width:100%}
@media(width < 768px){.dashboard-page .summary-metric .metric-icon{display:none}.dashboard-page .summary-metric .metric-copy strong{font-size:clamp(20px,5.7vw,25px);letter-spacing:-.035em;white-space:nowrap}.dashboard-page .summary-metric{padding:13px 11px}.geography-viewport>.geography-selection{display:none}.geography-card .route-ribbon{padding:10px 12px}}

/* Revision04: single responsive boundary and selected-detail hierarchy. */
.workspace-globe{height:322px;margin:0}.geography-card .card-head{padding:12px 14px 8px}.auto-summary .next-event{margin-top:0}.dashboard-main-grid{align-items:start}.auto-summary{min-height:0}.auto-summary.compact{gap:11px}.geography-card .route-ribbon{min-height:43px;padding:8px 12px}.market-primary-controls{display:flex;align-items:center;gap:10px;flex:1}.market-quick-filters{display:flex;gap:4px}.market-quick-filters .tab{white-space:nowrap;font-size:11px;min-height:35px;padding:7px 10px}.market-quick-filters [aria-pressed=true]{background:#164640;color:var(--accent)}.market-extra-filters{font-size:12px}.market-extra-filters>div{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}.market-controls{display:block;padding:12px 14px}.market-extra-filters summary{cursor:pointer;margin-top:8px;color:var(--muted)}.market-extra-filters select{font-size:12px;max-width:180px}.currency-detail-back{display:flex;align-items:center;gap:18px;margin:16px 0}.currency-detail-back>span{font-size:12px;color:var(--muted)}.currency-detail-page .market-chart-card{margin-bottom:16px}.currency-detail-page .large-chart{min-height:380px}.currency-detail-page .market-price-facts{margin:16px 0}.country-map-grid .market-detail-column{display:grid;gap:14px}.country-map-grid .workspace-globe{height:380px}.wallet-allocation,.wallet-actions,.design-withdraw-form .design-inset{align-self:start}
@media(width < 768px){.workspace-globe{height:310px}.workspace-globe .eg-top button{min-width:29px;min-height:32px}.dashboard-page .summary-metric[data-key=metric-today] .metric-copy strong{font-size:38px}.dashboard-page .summary-metric[data-key=metric-return] .metric-copy strong{font-size:19px}.market-primary-controls{display:grid;gap:8px}.market-quick-filters{width:100%}.market-quick-filters>.tab{flex:1;min-width:0;padding:7px 4px}.market-extra-filters>div{display:grid;grid-template-columns:1fr 1fr}.market-extra-filters select{width:100%;max-width:none}.currency-detail-page .large-chart{min-height:275px}.currency-detail-back{margin:12px 0}.currency-detail-back>span{display:none}.country-map-grid .workspace-globe{height:320px}.wallet-actions .footnote,.design-metric small{font-size:11px}}

/* Revision04 member detail/workflow density. */
.breadcrumb h1{margin:0;font-size:18px;line-height:1.3}.wallet-actions{order:2}.wallet-allocation{order:1}.design-two-column:has(>.wallet-allocation){grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr)}
.record-reference{margin:8px 0 12px;max-width:100%}.record-reference summary{color:var(--muted);font-family:monospace;font-size:12px}.record-reference code{display:block;overflow-wrap:anywhere;margin:10px 0}.record-reference .btn{font-size:11px;padding:5px 9px}
.withdrawal-source-segments{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.withdrawal-source-segments legend{font-size:12px;color:var(--muted);margin-bottom:8px}.withdrawal-source-segments label{position:relative;display:flex;cursor:pointer}.withdrawal-source-segments input{position:absolute;opacity:0;width:1px;height:1px}.withdrawal-source-segments span{display:block;width:100%;text-align:center;border:1px solid var(--line);border-radius:8px;padding:10px 14px}.withdrawal-source-segments input:checked+span{color:var(--accent);border-color:var(--accent);background:rgba(35,196,179,.09)}.withdrawal-source-segments input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}.selected-requestable{display:flex;justify-content:space-between;font-size:12px;gap:12px;margin:10px 0}.selected-requestable b{color:var(--text)}
.statement-day-group{border-bottom:1px solid var(--line)}.statement-revisions{margin:0 6px 10px}.statement-revisions>summary{font-size:11px;color:var(--muted);padding:6px}.statement-revisions .statement-day{background:rgba(255,255,255,.025);padding:9px;font-size:11px}.route-order-list{border-left:2px solid var(--accent);margin:10px;padding-left:10px}.route-order-row{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:7px;color:var(--text);padding:10px;margin:6px 0}.route-order-row>span{min-width:0}.route-order-row small{display:block;color:var(--muted);margin-top:4px;font-size:10px}.route-order-row b{font-size:12px}.activity-record>.btn{padding:5px 10px;margin:0 10px 8px;font-size:11px}.trade-fill-cards{display:grid;gap:10px}.trade-fill-card{border:1px solid var(--line);border-radius:9px;padding:12px;min-width:0}.trade-fill-card .card-head{margin:0}.trade-fill-card>.meta{font-size:11px}.trade-cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.trade-cost-grid strong{font-size:14px}.trade-fill-card details{font-size:11px}.trade-fill-card dd{overflow-wrap:anywhere}.trade-fill-card .definition{grid-template-columns:80px minmax(0,1fr)}
@media(width < 768px){.wallet-actions{order:1}.wallet-allocation{order:2}.design-two-column:has(>.wallet-allocation){grid-template-columns:1fr}.route-order-list{margin:8px 0;padding-left:8px}.route-order-row{flex-wrap:wrap}.route-order-row>span:first-child{flex-basis:54%}.route-order-row>.badge{font-size:10px}.trade-fill-card{padding:10px}.trade-cost-grid{gap:8px}.trade-cost-grid strong{font-size:13px;overflow-wrap:anywhere}.statement-day-list h2{font-size:16px}.market-advanced-filters[open] .market-secondary-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.breadcrumb .btn{font-size:11px;padding:6px}.design-withdraw-form .definition{grid-template-columns:minmax(110px,.9fr) minmax(0,1.1fr)}}

.market-design-grid.list-only{grid-template-columns:minmax(0,1fr)}.market-design-grid.list-only .market-currency-row{grid-template-columns:minmax(220px,1fr) minmax(100px,.4fr) minmax(100px,.3fr) 40px}.residual-holdings{display:grid;gap:8px;margin:16px 0}.residual-holdings h3{margin:0}@media(width < 768px){.market-design-grid.list-only .market-currency-row{grid-template-columns:minmax(0,1fr) 56px minmax(70px,max-content) 28px}.market-design-grid.market-preview-grid .market-currency-row{grid-template-columns:minmax(0,1.3fr) 44px minmax(66px,max-content) 28px}.market-design-grid.list-only .market-row-price,.market-design-grid.market-preview-grid .market-row-price{white-space:nowrap}.market-design-grid.list-only .market-row-price b,.market-design-grid.market-preview-grid .market-row-price b{overflow-wrap:normal}}

@media(min-width:768px){.workspace-globe{height:360px}}@media(width < 768px){.country-map-grid .market-explorer{order:2}.country-map-grid .market-detail-column{order:1}}

/* T02 mobile: chart before optional price/comparison diagnostics. */
@media(width < 768px){.currency-detail-page .market-chart-card{display:flex;flex-direction:column;padding:12px;gap:8px}.currency-detail-page .market-chart-card>.card-head{order:0;margin:0}.currency-detail-page .market-chart-card>.card-head h2{font-size:18px;margin:3px 0}.currency-detail-page .market-chart-card>.quote-head{order:1;margin:4px 0;gap:8px}.currency-detail-page .quote-head strong{font-size:22px;white-space:nowrap}.currency-detail-page .quote-head small{font-size:10px}.currency-detail-page .quote-head>div:last-child{max-width:94px}.currency-detail-page .market-chart-card>.quote-meta{order:2;gap:4px 8px;margin:0;font-size:10px}.currency-detail-page #market-main-chart{order:3;min-height:245px}.currency-detail-page #chart-status{order:4;font-size:10px;margin:0}.currency-detail-page .chart-toolbar{order:5;margin:4px 0;gap:6px}.currency-detail-page #market-observed-stats{order:6}.currency-detail-page .market-price-facts{order:7;grid-template-columns:repeat(2,minmax(0,1fr));margin:8px 0}.currency-detail-page .market-price-facts b{font-size:12px;white-space:nowrap}.currency-detail-page .compare-control{order:8;margin:0}.currency-detail-page .advanced-market{order:9}.currency-detail-back{margin:10px 0}.ad-legal-reader>.ad-tabs{display:none}.ad-legal-reader .legal-kind-mobile{display:block;margin-bottom:10px}.ad-legal-reader .legal-kind-mobile select{width:100%;margin-top:5px}}
.legal-kind-mobile{display:none}
@media(width < 768px){.ad-legal-reader .legal-kind-mobile{display:block}}

/* Source: admin-design.css */
/* Admin handoff: shared navy / teal tokens, queue-first desktop and mobile. */
.admin-design{--ad-bg:#07111f;--ad-panel:#0d1b2a;--ad-panel-soft:#112438;--ad-border:#23374b;--ad-text:#e8f0f8;--ad-muted:#9fb0c3;--ad-accent:#2dd4bf;color:var(--ad-text);min-width:0;font-variant-numeric:tabular-nums}
.admin-design *{box-sizing:border-box;min-width:0}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header){display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:clamp(24px,2.2vw,32px);line-height:1.15;margin:7px 0 8px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) p,.ad-panel-head p{color:var(--ad-muted);font-size:14px;line-height:1.6;margin:6px 0 0}.ad-header-tools{display:flex;align-items:center;gap:16px;font-size:13px;color:var(--ad-muted)}.ad-header-tools small{display:block;margin-top:4px}.ad-page-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 22px;padding-bottom:16px;border-bottom:1px solid var(--ad-border)}.ad-page-nav button{display:flex;align-items:center;gap:7px;min-height:44px;padding:10px 13px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--ad-muted);font-size:13px}.ad-page-nav button svg{width:17px;height:17px;flex:none}.ad-page-nav button.active{background:#123b43;border-color:#247176;color:#59e5d5}.ad-page-nav button:hover{background:var(--ad-panel-soft)}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){background:var(--ad-panel);border:1px solid var(--ad-border);border-radius:14px;padding:20px;margin:0;overflow:hidden}.ad-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:19px}.ad-panel-head h2{font-size:18px;line-height:1.35;margin:0}.ad-panel-head .actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.ad-grid-2,.ad-grid-7-5{display:grid;gap:20px;margin-bottom:20px;align-items:start}.ad-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-grid-7-5{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}.ad-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.ad-metric{background:linear-gradient(125deg,#11283b,#0d1b2a);border:1px solid var(--ad-border);border-radius:12px;display:flex;align-items:center;gap:16px;padding:20px;text-align:left;color:var(--ad-text);min-height:112px}.ad-metric:hover{border-color:#2c8d8a}.ad-metric-icon{display:grid;place-items:center;width:48px;height:52px;background:#16364a;border-radius:12px;color:#58b9f3;flex:none}.ad-metric-icon svg{width:27px;height:27px}.ad-metric small{display:block;font-size:14px;color:#c6d8e8}.ad-metric strong{display:block;font-size:30px;line-height:1.2;margin:5px 0}.ad-metric em{font-size:11px;font-style:normal;color:var(--ad-muted)}.ad-table-wrap{width:100%;max-width:100%;overflow:visible}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table){border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th{background:#122a3e;color:#b5cadd;font-size:12px;font-weight:500;text-align:left;padding:12px 10px;border-bottom:1px solid var(--ad-border)}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding:13px 10px;border-bottom:1px solid #1c3346;vertical-align:middle;overflow-wrap:anywhere;line-height:1.5}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr:last-child td{border-bottom:0}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td small{display:block;font-size:11px;color:var(--ad-muted);margin-top:5px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) .btn{font-size:12px;padding:8px 10px;min-height:38px;margin:2px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) .badge{white-space:normal;text-align:left;font-size:10px;line-height:1.35}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) code{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.ad-segments{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}.ad-segments .btn{min-height:40px;background:#102638;color:#b9d2e5;font-size:12px}.ad-segments [aria-pressed=true]{background:#123f47;border-color:var(--ad-accent);color:#5aead9}.ad-provider-row{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(100px,1fr);align-items:center;gap:12px;width:100%;padding:14px 0;border:0;border-bottom:1px solid var(--ad-border);background:transparent;text-align:left;color:var(--ad-text)}.ad-provider-row>svg{width:22px;height:22px;color:var(--ad-accent)}.ad-provider-row b{font-size:13px}.ad-provider-row small{display:block;color:var(--ad-muted);font-size:11px;line-height:1.5;margin-top:4px}.ad-provider-row .badge{white-space:normal;line-height:1.35;font-size:11px}.ad-notification{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--ad-border);font-size:13px}.ad-notification p{color:var(--ad-muted);font-size:12px;line-height:1.55;margin:4px 0}.ad-notification small{color:#7895ac;font-size:11px}.ad-notification.unread .ad-timeline-dot{background:#31c6d3}.ad-timeline-dot{display:block;width:9px;height:9px;border-radius:50%;background:#6286a0;flex:none;margin-top:5px}.ad-settlement-strip{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#0b1c2b;border:1px solid var(--ad-border);border-radius:12px;padding:16px 20px;color:var(--ad-muted);font-size:12px}.ad-settlement-strip>b{color:var(--ad-text);font-size:14px}.ad-settlement-strip>svg{width:22px;height:22px;color:var(--ad-accent)}.ad-settlement-strip .btn{margin-left:auto}.ad-controls{display:flex;gap:12px;align-items:center;margin-bottom:18px}.ad-controls select{max-width:230px;min-height:44px}.ad-search{display:flex;gap:10px;align-items:center;background:#0d2335;border:1px solid var(--ad-border);border-radius:8px;padding:0 13px;flex:1}.ad-search svg{width:20px;height:20px;color:#8ea9bf;flex:none}.ad-search input{border:0;background:transparent;min-width:0;width:100%;padding:12px 0;color:var(--ad-text);outline-offset:3px}.ad-workbench{display:grid;grid-template-columns:minmax(250px,0.85fr) minmax(0,2fr);gap:20px;margin-bottom:20px;align-items:start}.ad-queue{padding:16px;max-height:900px;overflow-y:auto;overscroll-behavior:contain}.ad-queue .ad-panel-head{padding:4px}.ad-record{display:block;width:100%;text-align:left;padding:15px 12px;border:1px solid transparent;border-bottom-color:var(--ad-border);border-radius:8px;background:transparent;color:var(--ad-text);margin-bottom:5px}.ad-record.selected{background:#0d333c;border:1px solid var(--ad-accent);box-shadow:inset 3px 0 var(--ad-accent)}.ad-record>span{display:block;font-size:12px;color:var(--ad-muted);line-height:1.5;overflow-wrap:anywhere}.ad-record .ad-record-top{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ad-text);font-size:13px}.ad-record-top>b{font-weight:600}.ad-record .ad-record-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}.ad-record .badge{font-size:10px;white-space:normal}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){display:grid;gap:18px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail)>.ad-grid-2,:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail)>.ad-grid-7-5{margin:0}.ad-member-header{display:flex;align-items:center;gap:16px;padding:22px}.ad-member-header h2{margin:0;font-size:23px}.ad-member-header p{color:#bcd3e6;font-size:14px;margin:6px 0}.ad-member-header small{color:var(--ad-muted);font-size:12px;overflow-wrap:anywhere}.ad-member-header>.badge{margin-left:auto;white-space:normal}.ad-avatar{display:grid;place-items:center;background:linear-gradient(135deg,#234963,#3a6682);border:1px solid #466d85;border-radius:50%;height:44px;width:44px;flex:none;font-size:14px;font-weight:600;color:#e5f2fb}.ad-member-header>.ad-avatar{height:66px;width:66px;font-size:23px}.ad-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ad-balance-grid>div{background:#10293b;border:1px solid var(--ad-border);border-radius:9px;padding:15px}.ad-balance-grid small{font-size:12px;color:var(--ad-muted);display:block;line-height:1.5}.ad-balance-grid b{display:block;font-size:20px;margin-top:6px;overflow-wrap:anywhere}.ad-facts{display:grid;grid-template-columns:minmax(100px,.85fr) minmax(0,1.2fr);gap:13px 15px;margin:0;font-size:13px;line-height:1.5}.ad-facts dt{color:var(--ad-muted)}.ad-facts dd{margin:0;overflow-wrap:anywhere;color:#dae8f4}.ad-facts .badge{white-space:normal}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){display:flex;align-items:flex-start;gap:11px;background:#112c41;border:1px solid #244c66;border-radius:10px;padding:14px;margin:13px 0;color:#b7cddd;font-size:12px;line-height:1.65}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice)>svg{height:19px;width:19px;flex:none;margin-top:2px;color:#72bbec}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice) p{margin:0}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold{background:#322b1c;border-color:#5c4e29;color:#e7d39d}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold>svg{color:#fbbf24}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).red{background:#351e2a;border-color:#683346;color:#f4bcc6}.ad-result{display:flex;align-items:center;gap:12px;margin-bottom:18px}.ad-result svg{width:30px;height:30px;color:var(--ad-accent)}.ad-result .badge{font-size:16px}.ad-file{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:16px 0;border-bottom:1px solid var(--ad-border)}.ad-file>span{flex:1;min-width:160px;font-size:13px;overflow-wrap:anywhere}.ad-file svg{width:22px;height:22px;vertical-align:middle;margin-right:8px;color:var(--ad-accent)}.ad-file small{display:block;color:var(--ad-muted);font-size:11px;margin-top:7px}.ad-audit-row{display:flex;gap:12px;align-items:flex-start;width:100%;background:transparent;color:#b6cde0;text-align:left;border:0;border-bottom:1px solid var(--ad-border);padding:14px 0}.ad-audit-row>span:nth-child(2){flex:1}.ad-audit-row b{display:block;color:#dce8f2;font-size:12px}.ad-audit-row small,.ad-audit-row span span{display:block;font-size:11px;line-height:1.55;margin-top:4px;overflow-wrap:anywhere}.ad-audit-row>svg{width:18px;height:18px;color:#6b93ae}.ad-amount-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.ad-amount-row>strong{font-size:29px;overflow-wrap:anywhere}.ad-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));list-style:none;margin:0;padding:5px 0;gap:10px}.ad-progress li{position:relative;text-align:center;font-size:11px;color:#8ca7ba;line-height:1.5}.ad-progress li:not(:last-child):after{position:absolute;content:"";height:1px;background:#385065;width:calc(100% - 15px);top:16px;left:calc(50% + 16px)}.ad-progress li>span{display:grid;place-items:center;border-radius:50%;height:32px;width:32px;border:2px solid #416075;margin:0 auto 10px;background:#10263a;font-size:13px;font-weight:600}.ad-progress li.done>span{background:var(--ad-accent);color:#092c33;border-color:var(--ad-accent)}.ad-progress li.current>span{border-color:var(--ad-accent);color:var(--ad-accent)}.ad-progress li.done:after{background:var(--ad-accent)}.ad-sticky-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.ad-chat-history{min-height:200px;max-height:460px;overflow:auto;padding:6px 2px 16px}.ad-chat .message{max-width:90%;padding:14px 16px;background:#183247;border:1px solid #254052;border-radius:0 12px 12px 12px;line-height:1.65;margin-bottom:15px;font-size:14px;overflow-wrap:anywhere}.ad-chat .message.mine{margin-left:auto;background:#103842;border-color:#22535b;border-radius:12px 0 12px 12px}.ad-chat .message small{font-size:11px}.ad-support-form{border-top:1px solid var(--ad-border);padding-top:17px}.ad-compose-actions{display:flex;gap:12px;align-items:flex-end;justify-content:space-between}.ad-compose-actions>div{flex:1}.ad-compose-actions select{min-width:0;width:100%}.ad-route-path{font-size:22px;color:#58dfcc;padding:6px 0 18px;line-height:1.6;overflow-wrap:anywhere}.ad-provider-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px}.ad-provider-card{display:flex;flex-direction:column;gap:12px;align-items:flex-start;background:#0c2234;color:var(--ad-text);border:1px solid var(--ad-border);border-radius:10px;padding:18px;text-align:left;min-height:175px}.ad-provider-card>svg{height:26px;width:26px;color:#73cbd7}.ad-provider-card b{font-size:14px}.ad-provider-card small{font-size:12px;color:var(--ad-muted);line-height:1.6}.ad-provider-card .badge{font-size:10px;white-space:normal;text-align:left;line-height:1.5}.ad-provider-card.selected{border-color:var(--ad-accent);background:#12343c}.ad-company-brand{display:flex;align-items:center;gap:16px;padding:0 0 20px;font-size:18px;font-weight:600}.ad-company-brand img{width:64px;height:64px;object-fit:contain;background:#091522;padding:9px;border:1px solid var(--ad-border);border-radius:10px}.ad-save-bar{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap;background:#0a1c2b;border:1px solid var(--ad-border);border-radius:12px;padding:18px;margin-bottom:20px}.ad-save-bar>div{flex:1;min-width:200px}.ad-dirty-state{color:var(--ad-muted);font-size:12px;margin:auto 0}.ad-country-tags{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.ad-country-tags>span{display:flex;align-items:center;gap:8px;background:#112b3d;border:1px solid var(--ad-border);border-radius:7px;padding:9px;font-size:12px}.ad-settlement-times{display:flex;align-items:center;justify-content:space-around;gap:18px;padding:14px 0}.ad-settlement-times span,.ad-settlement-times b{display:block;text-align:center}.ad-settlement-times span{font-size:12px;color:var(--ad-muted);margin-bottom:7px}.ad-settlement-times b{font-size:18px;color:#d4e7ef}.ad-settlement-times i{color:var(--ad-accent);font-style:normal}.ad-health-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.ad-health-value{font-size:22px;line-height:1.4;overflow-wrap:anywhere}.ad-json{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6;background:#0b1928;border:1px solid #23374b;border-radius:8px;padding:15px;color:#c4d7e8}.ad-private-preview{max-width:100%;max-height:65vh;object-fit:contain;display:block;margin:auto}.ad-menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ad-guidance{padding-left:22px;line-height:1.8;font-size:14px}.ad-guidance li{margin-bottom:12px}.ad-mobile-nav{display:none}.admin-design .mono{overflow-wrap:anywhere;word-break:break-word}.admin-design .form-grid textarea{min-height:105px}.admin-design input,.admin-design select,.admin-design textarea{min-height:44px}.admin-design .btn{min-height:44px}.admin-design button:focus-visible,.admin-design a:focus-visible{outline:2px solid var(--ad-accent);outline-offset:3px}.admin-design .empty{padding:30px 12px}.admin-design #ad-trading>:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.admin-design #ad-settlement>:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.admin-design #ad-health>:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){margin-bottom:20px}
@media(min-width:1700px){.ad-workbench{grid-template-columns:minmax(320px,1fr) minmax(0,2.7fr)}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:24px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table){font-size:14px}}
@media(max-width:1279px){.ad-header-tools{flex-wrap:wrap;justify-content:flex-end;gap:9px}.ad-grid-7-5{grid-template-columns:minmax(0,1fr)}.ad-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-workbench{grid-template-columns:minmax(220px,.8fr) minmax(0,1.6fr)}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail)>.ad-grid-2{grid-template-columns:1fr}.ad-provider-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ad-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-record-top .ad-avatar{display:none}.ad-progress{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:17px}.ad-progress li:nth-child(3):after{display:none}}
@media(width < 768px){.admin-design{padding-bottom:80px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header){align-items:flex-start;gap:12px;margin-bottom:17px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:24px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) p{font-size:12px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) .eyebrow{font-size:9px;line-height:1.6}.ad-header-tools{flex-direction:column;align-items:flex-end;gap:8px;font-size:10px;max-width:110px}.ad-header-tools>.badge{font-size:9px;white-space:normal}.ad-header-tools>span:not(.badge){display:none}.ad-header-tools .btn{font-size:11px;padding:7px 10px}.ad-page-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-bottom:12px}.ad-page-nav button{padding:9px 6px;font-size:10px;justify-content:center;line-height:1.4;min-height:44px}.ad-page-nav button svg{width:14px;height:14px;flex:none}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:16px;border-radius:12px}.ad-panel-head{gap:10px;flex-wrap:wrap;margin-bottom:16px}.ad-panel-head h2{font-size:17px}.ad-panel-head p{font-size:12px}.ad-panel-head .actions{justify-content:flex-start}.ad-grid-2,.ad-grid-7-5,.ad-workbench{grid-template-columns:minmax(0,1fr);gap:16px}.ad-metrics{gap:10px;margin-bottom:16px}.ad-metric{padding:14px 10px;gap:9px;min-height:94px}.ad-metric-icon{width:29px;height:38px;border-radius:7px}.ad-metric-icon svg{width:20px;height:20px}.ad-metric small{font-size:10px}.ad-metric strong{font-size:25px}.ad-metric em{font-size:9px;line-height:1.4;display:block}.ad-queue{max-height:330px;padding:12px}.ad-record{padding:11px}.ad-record-top .ad-avatar{display:grid;width:32px;height:32px;font-size:10px}.ad-controls{flex-wrap:wrap;gap:9px}.ad-controls .ad-search{flex-basis:100%}.ad-controls select{max-width:none;flex:1}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) thead{display:none}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table),:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tbody,:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr,:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{display:block;width:100%}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr{border:1px solid var(--ad-border);border-radius:9px;margin-bottom:12px;background:#0b2132;padding:6px 12px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{border:0;padding:8px 0;display:grid;grid-template-columns:minmax(95px,.75fr) minmax(0,1.25fr);gap:7px 12px;align-items:start;font-size:12px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:before{content:attr(data-label);font-size:10px;color:var(--ad-muted);line-height:1.6}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td>*{grid-column:2;max-width:100%}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td .btn{justify-self:start}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td small{margin-top:0}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:empty{display:none}.ad-facts{grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr);font-size:12px;gap:12px}.ad-member-header{padding:16px;gap:11px;flex-wrap:wrap}.ad-member-header>.ad-avatar{height:46px;width:46px;font-size:17px}.ad-member-header h2{font-size:20px}.ad-member-header>div{flex:1}.ad-member-header p{font-size:11px}.ad-member-header small{font-size:10px}.ad-member-header>.badge{margin-left:57px}.ad-balance-grid{gap:10px}.ad-balance-grid>div{padding:13px}.ad-balance-grid small{font-size:10px}.ad-balance-grid b{font-size:18px}.ad-provider-row{grid-template-columns:22px minmax(0,1fr);gap:10px}.ad-provider-row>span:last-child{grid-column:2}.ad-provider-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ad-provider-card{padding:13px;gap:9px;min-height:165px}.ad-provider-card b{font-size:12px}.ad-provider-card small{font-size:10px}.ad-provider-card:last-child{grid-column:1/-1;min-height:0;display:grid;grid-template-columns:26px minmax(0,1fr)}.ad-provider-card:last-child small,.ad-provider-card:last-child .badge{grid-column:2}.ad-health-metrics{gap:10px}.ad-health-metrics :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:13px}.ad-health-metrics h2{font-size:12px}.ad-health-value{font-size:19px}.ad-health-metrics .meta{font-size:10px}.ad-progress{grid-template-columns:1fr;gap:16px}.ad-progress li{display:flex;text-align:left;align-items:center;gap:13px;min-height:32px}.ad-progress li>span{margin:0;flex:none}.ad-progress li:not(:last-child):after{height:calc(100% + 16px);width:1px;top:30px;left:15px}.ad-progress li:nth-child(3):after{display:block}.ad-progress li>b{font-size:12px}.ad-amount-row>strong{font-size:27px}.ad-sticky-actions{position:sticky;bottom:75px;padding-top:12px;background:var(--ad-panel);z-index:2}.ad-sticky-actions .btn{width:100%}.ad-compose-actions{flex-wrap:wrap}.ad-compose-actions>div,.ad-compose-actions>.btn{width:100%;flex:auto}.ad-chat-history{max-height:420px}.ad-chat .message{max-width:96%;font-size:13px}.ad-save-bar{padding:16px;gap:12px}.ad-save-bar>div{min-width:0;flex-basis:100%}.ad-save-bar>.btn{width:100%}.ad-settlement-strip{padding:15px;gap:10px}.ad-settlement-strip>span{flex-basis:100%;font-size:11px}.ad-settlement-strip .btn{margin:0;width:100%}.ad-settlement-times{flex-direction:column;gap:13px}.ad-settlement-times i{transform:rotate(90deg)}.ad-mobile-nav{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:61;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #294154;background:#0b1e2df5;backdrop-filter:blur(14px)}.ad-mobile-nav button{border:0;background:none;color:#a9c4d6;min-height:45px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:10px}.ad-mobile-nav svg{width:21px;height:21px;color:#6fe3d5}.ad-mobile-nav span{display:block}.ad-legacy .table-wrap{overflow:visible}.ad-menu-list{gap:9px}.ad-menu-list>.btn{font-size:12px;min-height:44px}}
.ad-internal-note{padding:14px 0;border-bottom:1px solid #23374b;font-size:13px;line-height:1.65}.ad-internal-note b{color:#d9eaf4}.ad-internal-note small{display:block;color:#9fb0c3;font-size:11px;margin-top:4px}.ad-internal-note p{color:#bed0df;white-space:pre-wrap;overflow-wrap:anywhere}.ad-internal-note+form{margin-top:20px}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel)#admin-content #ad-legal-body{min-height:250px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td>.ad-cell{min-width:0;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.admin-design *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Administration uses the shared left rail, with the complete mobile list in More. */
.admin-design .ad-page-nav{display:none}
.sidebar:has(.ad-sidebar-nav){display:flex;flex-direction:column;overflow:hidden}
.sidebar:has(.ad-sidebar-nav) .brand{flex:none;padding-bottom:20px}
.sidebar:has(.ad-sidebar-nav) .nav-caption{flex:none}
.sidebar .ad-sidebar-nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;gap:4px;padding-right:3px}
.sidebar .ad-sidebar-nav .nav-item{flex:none;min-height:44px;font-size:13px;line-height:1.35}
.sidebar .ad-sidebar-nav .ad-member-return{border-top:1px solid #23374b;margin-top:12px;padding-top:16px}
.sidebar:has(.ad-sidebar-nav) .sidebar-foot{flex:none;padding-top:16px}
@media(width < 768px){.sidebar:has(.ad-sidebar-nav){display:none}html.fx-unified-theme[data-theme] #app > .main:has(.admin-design) + .mobile-nav{display:none}.ad-mobile-nav{flex-direction:row}.ad-menu-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Revision 03: queue/detail navigation and compact operational evidence. */
.ad-metrics{gap:12px;margin:12px 0}.ad-metric{padding:13px 15px;min-height:82px}.ad-metric strong{font-size:27px}.ad-metric em{font-size:11px}.ad-controls{margin:12px 0}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:16px}.ad-panel-head{margin-bottom:12px}.ad-panel-head h2{font-size:17px}.ad-workbench{grid-template-columns:minmax(230px,.8fr) minmax(0,2fr);gap:14px}.ad-record{padding:12px;margin-bottom:8px}.ad-record-top b{font-size:13px}.ad-record>span:nth-child(2){font-size:11px}.ad-record-bottom{font-size:11px}.ad-balance-grid{gap:8px}.ad-balance-grid>div{padding:10px}.ad-balance-grid b{font-size:21px}.ad-member-header{padding:14px}.ad-back-to-queue,.ad-mobile-roles,.ad-mobile-provider{display:none}.ad-staff-chat-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr);gap:12px}.ad-staff-chat-grid .ad-chat{display:flex;flex-direction:column;min-width:0;padding:14px;height:720px}.ad-staff-chat-grid .ad-chat-history{flex:1;min-height:160px;max-height:none;overflow:auto}.ad-staff-context{min-width:0;max-height:720px;overflow:auto}.ad-staff-context :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:12px;margin-bottom:12px}.ad-staff-context .ad-facts{grid-template-columns:minmax(0,.6fr) minmax(0,1fr);gap:8px;font-size:12px}.ad-staff-context :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){font-size:11px;padding:8px}.ad-support-workbench{grid-template-columns:minmax(210px,.65fr) minmax(0,2fr)}.ad-support-form{flex:none;margin-top:10px;border-top:1px solid var(--line);padding-top:10px}.ad-support-form textarea{min-height:65px;max-height:150px}.ad-support-form .full>label[for=ad-support-file]{display:none}.ad-support-form .file-picker .btn{min-height:32px;padding:4px 8px;font-size:12px}.ad-support-form .file-picker{margin:0}.ad-country-picker{max-height:340px;overflow:auto;margin-top:10px;display:grid;gap:5px}.ad-country-option{display:flex;gap:12px;align-items:flex-start;border-bottom:1px solid var(--line);padding:9px 2px}.ad-country-option[hidden]{display:none}.ad-country-option input{margin-top:4px}.ad-country-option span{display:grid;gap:4px}.ad-country-option small{font-size:11px;color:var(--muted);line-height:1.45}.ad-catalog-scroll{max-height:390px;overflow:auto;margin-top:12px}.ad-mobile-roles #ad-role-permissions>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.ad-preview-viewport{overflow:auto;max-height:65dvh;padding:20px;display:grid;place-items:center}.ad-private-preview{max-width:100%;max-height:60dvh;object-fit:contain;transform-origin:center}.ad-document-tools{display:flex;gap:8px}.ad-support-workbench :is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail)>.ad-back-to-queue{margin-bottom:10px}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel) .ad-json{font-size:12px}
@media(min-width:768px) and (max-width:1250px){.ad-staff-chat-grid{grid-template-columns:1fr}.ad-staff-context{max-height:none}.ad-support-workbench{grid-template-columns:minmax(220px,.7fr) minmax(0,1.5fr)}}
@media(width < 768px){.ad-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ad-metric{padding:10px;min-height:74px;display:block}.ad-metric-icon,.ad-metric em{display:none}.ad-metric small{font-size:10px}.ad-metric strong{font-size:23px}.ad-workbench,.ad-support-workbench{display:block}.ad-workbench[data-mobile-detail=false]>:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){display:none}.ad-workbench[data-mobile-detail=true]>.ad-queue{display:none}.ad-back-to-queue{display:inline-flex;margin:0 0 12px;font-size:12px}.ad-queue{max-height:none;overflow:visible;padding:12px}.ad-record{display:grid;gap:6px;padding:12px}.ad-record-top,.ad-record-bottom{align-items:center}.ad-record-top b{font-size:14px;overflow-wrap:anywhere}.ad-record>span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ad-record .badge{font-size:10px;padding:4px 7px}.ad-record-top>.ad-avatar{display:none}.ad-controls{gap:8px}.ad-controls select{font-size:12px;min-width:0}.ad-panel-head h2{font-size:16px}.ad-staff-chat-grid{display:block}.ad-staff-chat-grid .ad-chat{height:calc(100dvh - 245px);min-height:470px;padding:12px}.ad-staff-context{max-height:none;margin-top:12px}.ad-staff-chat-grid .ad-chat-history{min-height:110px;margin:8px 0}.ad-support-form{position:sticky;bottom:0;background:#0d1b2a;padding-top:8px;gap:6px}.ad-support-form textarea{min-height:55px;max-height:100px}.ad-compose-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:end}.ad-compose-actions select{font-size:12px;min-height:38px}.ad-compose-actions .btn{font-size:12px;padding:8px}.ad-support-form .file-picker [data-file-name]{font-size:11px}.ad-staff-context :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:12px}.ad-country-picker{max-height:310px}.ad-country-option small{font-size:11px}.ad-catalog-scroll{max-height:340px}.ad-desktop-role-matrix{display:none}.ad-mobile-roles{display:block}.ad-mobile-roles select{width:100%;margin:6px 0}.ad-provider-cards{display:none}.ad-mobile-provider{display:grid;gap:6px;margin-bottom:14px}.ad-mobile-provider select{width:100%;font-size:13px}.ad-settlement-times{padding:10px;gap:8px}.ad-settlement-times b{font-size:16px}.ad-settlement-times span{font-size:11px}#ad-health-summary :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){padding:10px;font-size:12px}.ad-workbench[data-mobile-detail=true]{scroll-margin-top:14px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-facts{font-size:12px;gap:8px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-facts dd{overflow-wrap:anywhere}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-progress{padding:12px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-progress li{padding-bottom:14px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding:8px;font-size:12px}}

.ad-settings-sections{display:none}.ad-settlement-day{display:flex;align-items:center;gap:12px;margin:12px 0}.ad-settlement-day select{min-width:190px;font-size:13px}.ad-health-warnings{margin-top:12px}.ad-health-warnings>summary{cursor:pointer;font-size:13px}.ad-company-brand .btn{margin-left:auto;font-size:12px}.ad-settlement-times{padding:10px 0;gap:10px}.ad-settlement-times b{font-size:16px}.ad-settlement-times span{font-size:12px}
@media(width < 768px){.ad-settings-sections{display:flex;gap:8px;margin-bottom:12px}.ad-settings-sections>.btn{flex:1;font-size:12px}.ad-settings-form .ad-grid-2{display:block}#ad-company-settings[data-settings-section=company] #ad-funding-settings,#ad-company-settings[data-settings-section=company] #ad-withdrawal-settings,#ad-company-settings[data-settings-section=funding] #ad-company-profile,#ad-company-settings[data-settings-section=funding] #ad-company-history{display:none}.ad-settlement-day{display:grid;gap:5px}.ad-settlement-day select{width:100%}.ad-settlement-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ad-settlement-times>i{display:none}.ad-settlement-times>div{padding:8px;border:1px solid var(--line);border-radius:8px}.ad-settlement-times b{font-size:14px}.ad-health-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ad-health-metrics :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:10px}.ad-health-metrics .ad-panel-head h2{font-size:12px}.ad-health-value{font-size:18px}.ad-health-metrics p{font-size:11px!important}}

#ad-work-queue .ad-short-reference,#ad-work-queue .ad-queue-officer,#ad-work-queue .ad-queue-member{display:block;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding:10px 7px;font-size:12px}#ad-work-queue .badge{font-size:10px;white-space:nowrap}#ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) .btn{padding:7px 10px;font-size:12px;min-height:34px}.ad-zero-accounts{margin-top:12px}.ad-zero-accounts>summary{cursor:pointer;font-size:12px;color:var(--muted)}#ad-payment-evidence .ad-facts{grid-template-columns:minmax(140px,.45fr) minmax(0,1fr)}
@media(min-width:768px){#ad-work-queue .ad-table-wrap{max-height:365px;overflow-y:auto}#ad-overview .ad-notification{padding:10px 0}#ad-overview .ad-notification p{font-size:12px;margin:4px 0}}
@media(width < 768px){#ad-payment-evidence .ad-facts{grid-template-columns:minmax(95px,.65fr) minmax(0,1fr)}#ad-work-queue .ad-queue-member,#ad-work-queue .ad-queue-officer{max-width:100%}}

@media(min-width:1100px){#ad-integrations{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:start}#ad-integrations>.ad-provider-cards{grid-column:1;grid-row:1;display:grid;grid-template-columns:1fr;gap:8px;margin:0}#ad-integrations>.ad-provider-cards .ad-provider-card{padding:12px;min-height:105px;gap:5px}#ad-integrations>.ad-provider-cards .ad-provider-card small{font-size:11px}#ad-integrations>.ad-grid-7-5{grid-column:2;grid-row:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px}#ad-integrations>.ad-grid-7-5 :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:14px}#ad-integrations>.ad-grid-7-5 .ad-facts{grid-template-columns:1fr;font-size:12px;gap:6px}#ad-integrations>.ad-grid-7-5 .ad-facts dd{margin-bottom:10px}#ad-integrations>:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),#ad-integrations>details,#ad-integrations>.ad-grid-2{grid-column:1/-1}}

/* Revision04: continuous breakpoints, 2x2 KPI cards and focused mobile details. */
.ad-reference{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ad-reference>.btn{padding:4px 8px;min-height:28px;font-size:11px}.ad-reference details{flex-basis:100%;font-size:11px}.ad-reference details>span{display:block;overflow-wrap:anywhere}.ad-reference summary{cursor:pointer;color:var(--muted)}
@media(width < 768px){.ad-metrics[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-controls:has(+.ad-workbench[data-mobile-detail="true"]){display:none}.ad-workbench[data-mobile-detail="true"]~#ad-address-reviews{display:none}.ad-workbench[data-mobile-detail="true"] .ad-chat{height:calc(100dvh - 200px);min-height:400px}.ad-provider-card,.ad-provider-row{overflow-wrap:anywhere}}
/* Revision04 E/S07: a two-column compact queue card; all record values retained. */
@media(width < 768px){
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:8px 12px;padding:10px;margin-bottom:8px;align-items:start}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{display:block;width:auto;padding:0;font-size:12px;line-height:1.35;min-width:0}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:before{display:block;margin-bottom:3px;font-size:9px;line-height:1.3}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td>.ad-cell{display:block;min-width:0}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td small{display:block;font-size:10px;line-height:1.35;margin:3px 0 0}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:nth-child(4){align-self:end;justify-self:end}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:nth-child(4):before{display:none}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:nth-child(4) .btn{min-height:34px;min-width:68px;padding:6px 12px}
  #ad-work-queue .ad-short-reference{font-size:11px;max-width:100%}
  #ad-work-queue .ad-queue-officer,#ad-work-queue .ad-queue-member{max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
  #ad-work-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) .badge{font-size:10px;line-height:1.2;padding:3px 6px;white-space:normal}
  #ad-work-queue .ad-panel-head .actions .btn{min-height:34px;font-size:11px;padding:6px 9px}
  #ad-work-queue .ad-segments{gap:5px;margin-bottom:10px}
  #ad-work-queue .ad-segments .btn{min-height:34px;padding:6px 9px;font-size:11px}
}

/* Revision05: task-first workbenches; continuous mobile breakpoint. */
:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header){margin-bottom:12px;align-items:center}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) p:empty{display:none}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:26px;margin:3px 0}.ad-metric{min-height:68px;padding:10px 13px}.ad-metric em{display:none}.ad-metric strong{font-size:24px}.ad-controls{margin:10px 0}.ad-workbench{gap:14px}.ad-member-header h2{font-size:20px}.ad-member-header>.ad-avatar{width:44px;height:44px;font-size:16px}.ad-member-header p{margin:4px 0}.ad-member-header .badge{font-size:11px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){gap:12px}.ad-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-balance-grid b{white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums}.ad-verification-strip{display:flex;gap:18px;flex-wrap:wrap;border:1px solid var(--ad-border);border-radius:10px;padding:12px 16px;background:#0c2333}.ad-verification-strip>span{display:grid;gap:5px}.ad-verification-strip small{color:var(--ad-muted);font-size:11px}.ad-verification-strip .badge{white-space:normal}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail):has(#ad-identity-documents)>.ad-grid-7-5{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail):has(#ad-identity-documents) .empty{padding:24px 8px}.ad-file{padding:10px 0}.ad-result{margin-bottom:8px}
#ad-provider-status .ad-provider-row{grid-template-columns:20px minmax(0,1fr) minmax(100px,1fr);gap:9px;padding:10px 0}#ad-provider-status .ad-provider-row b{font-size:12px}#ad-provider-status .ad-provider-row>span:first-of-type small{display:none}#ad-provider-status .ad-provider-row>span:last-child small{font-size:10px;margin-top:3px}#ad-provider-status .ad-provider-row .badge{font-size:10px}
.ad-chat-title{display:flex;align-items:center;gap:10px;flex:none;padding-bottom:10px;border-bottom:1px solid var(--ad-border)}.ad-chat-title>div{min-width:0;flex:1}.ad-chat-title h2{font-size:17px;margin:0}.ad-chat-title p{font-size:11px;color:var(--ad-muted);margin:4px 0;overflow-wrap:anywhere}.ad-chat-title>.badge{font-size:10px;white-space:normal}.ad-staff-chat-grid{grid-template-columns:minmax(0,1fr)}.ad-staff-context{border:1px solid var(--ad-border);border-radius:10px;padding:12px;max-height:none}.ad-staff-context>summary{cursor:pointer;font-size:13px;color:var(--ad-text)}.ad-staff-context>div{margin-top:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ad-staff-chat-grid .ad-chat{height:calc(100dvh - 220px);min-height:490px;max-height:780px}.ad-staff-chat-grid .ad-chat-history{min-height:80px}.ad-support-form{gap:7px}.admin-design .ad-support-form textarea{min-height:55px;height:55px;max-height:100px}.ad-attach-control{font-size:12px}.ad-attach-control summary{cursor:pointer;color:var(--ad-muted);padding:3px 0}.ad-attach-control label{font-size:11px}.ad-support-form .ad-compose-actions label{font-size:11px}.ad-support-form .ad-compose-actions select{min-height:38px}.ad-support-form .ad-compose-actions .btn{min-height:38px}
.ad-mobile-provider-state .badge{white-space:normal}.ad-country-option{padding:7px 2px}.ad-country-option span{gap:2px}.ad-country-option b{font-size:13px}.ad-country-option small{font-size:11px}.ad-progress li>span{height:28px;width:28px;margin-bottom:6px}.ad-progress li:not(:last-child):after{top:14px}.ad-progress{gap:8px}.ad-amount-row>strong{white-space:nowrap;overflow-wrap:normal}
@media(width >= 1100px){#ad-integrations{display:block}#ad-integrations>.ad-provider-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:14px}#ad-integrations>.ad-provider-cards .ad-provider-card{min-height:0;padding:10px;gap:7px}#ad-integrations>.ad-provider-cards .ad-provider-card>svg{width:20px;height:20px}#ad-integrations>.ad-provider-cards .ad-provider-card b{font-size:12px}#ad-integrations>.ad-provider-cards .ad-provider-card small{display:none}#ad-integrations>.ad-grid-7-5{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}#ad-integrations>.ad-grid-7-5 .ad-facts{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:8px}#ad-integrations>.ad-grid-7-5 .ad-facts dd{margin-bottom:0}#ad-provider-events .ad-table-wrap{max-height:370px;overflow:auto}#ad-provider-events{margin-top:14px}.ad-member-header>.badge{margin-left:auto}}
@media(width < 768px){:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header){margin-bottom:10px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:20px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) .eyebrow{display:none}.ad-header-tools>.badge{display:none}.ad-header-tools .btn{min-height:34px}.ad-metrics{margin:8px 0;gap:7px}.ad-metric{min-height:60px;padding:9px}.ad-metric strong{font-size:20px}.ad-metrics[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}#ad-members:has(.ad-workbench[data-mobile-detail=true])>.ad-metrics,#ad-verification:has(.ad-workbench[data-mobile-detail=true])>.ad-metrics{display:none}.ad-member-header{gap:10px;padding:12px}.ad-member-header>.badge{margin-left:0}.ad-member-header h2{font-size:18px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail):has(#ad-identity-documents)>.ad-grid-7-5{grid-template-columns:minmax(0,1fr)}.ad-verification-strip{padding:10px;gap:10px;justify-content:space-between}.ad-verification-strip .badge{font-size:10px}.ad-verification-strip small{font-size:10px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){gap:10px}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:13px}.ad-panel-head{margin-bottom:10px}.ad-balance-grid b{font-size:18px}.ad-back-to-queue{margin-bottom:7px;min-height:36px}.ad-support-workbench :is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail)>.ad-back-to-queue{margin-bottom:0}.ad-workbench[data-mobile-detail=true] .ad-chat{height:calc(100dvh - 215px);min-height:360px;padding:10px}.ad-staff-chat-grid .ad-chat-history{min-height:60px;margin:6px 0}.ad-chat-title h2{font-size:15px}.ad-chat-title .ad-avatar{width:32px;height:32px;font-size:11px}.ad-chat-title p{font-size:10px}.ad-staff-context>div{grid-template-columns:minmax(0,1fr)}.ad-support-form{position:static;margin-top:0;padding-top:7px}.ad-support-form textarea{min-height:50px;height:50px}.ad-compose-actions{grid-template-columns:minmax(0,1fr) auto}.ad-compose-actions>.btn{width:auto}.ad-staff-context{margin-top:10px}.ad-settlement-times{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}.ad-settlement-times>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px}.ad-settlement-times span{margin:0;text-align:left}.ad-settlement-times b{text-align:right;white-space:nowrap}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-progress{padding:5px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-progress li{padding:0;min-height:28px;gap:10px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-progress li>span{margin:0;width:26px;height:26px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-progress li:not(:last-child):after{top:25px;left:12px;height:calc(100% + 8px)}#ad-provider-status .ad-provider-row{grid-template-columns:20px minmax(0,1fr) minmax(0,1fr)}#ad-provider-status .ad-provider-row>span:last-child{grid-column:auto}.ad-mobile-provider-state{display:block;max-width:100%}}

/* Revision06: independent provider correction review. */
.pa-workbench{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,2fr);gap:20px;align-items:start}.pa-workbench>*{min-width:0}.pa-queue{position:sticky;top:90px;max-height:calc(100dvh - 125px);overflow:auto}.pa-queue .ad-record{display:grid;gap:8px;width:100%;text-align:left;margin-top:10px}.pa-detail{display:grid;gap:16px;min-width:0}.pa-detail>.card{min-width:0}.pa-reference{overflow-wrap:anywhere;word-break:break-word;font-size:12px}.pa-notice{line-height:1.65;color:var(--muted,#a7b8ca);border-left:3px solid var(--teal,#36cdb1);padding:8px 12px;background:#10313b55}.pa-evidence-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pa-evidence-grid>*{min-width:0}.pa-history article{border-top:1px solid #294254;padding:14px 0}.pa-history small{display:block;margin-top:6px;overflow-wrap:anywhere}.pa-history p{white-space:pre-wrap;overflow-wrap:anywhere}.pa-back{display:none}.pa-plan ul{padding-left:22px;line-height:1.65}.pa-plan li{overflow-wrap:anywhere}.pa-plan .badge{white-space:normal}
@media(max-width:767px){.pa-workbench{grid-template-columns:minmax(0,1fr);gap:12px}.pa-queue{position:static;max-height:none}.pa-workbench .pa-detail{display:none}.pa-workbench.pa-detail-open .pa-queue{display:none}.pa-workbench.pa-detail-open .pa-detail{display:grid}.pa-back{display:block;justify-self:start}.pa-evidence-grid{grid-template-columns:1fr}.pa-detail .ad-facts{grid-template-columns:minmax(0,1fr)}.pa-detail .ad-facts dd{margin:0 0 8px}.pa-detail .card-head{flex-wrap:wrap}.pa-plan{padding:16px}.pa-plan h2{font-size:19px}}

/* Revision08: explicit historical refund allocation review; existing layouts retained. */
#refund-correction-review{margin-bottom:24px}.rc-workbench{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,2fr);gap:20px;align-items:start}.rc-workbench>*{min-width:0}.rc-queue .ad-record{display:grid;gap:8px;width:100%;text-align:left;margin-top:10px}.rc-detail{display:grid;gap:16px;min-width:0}.rc-detail>.card{min-width:0}.rc-back{display:none}.rc-transfer{margin:16px 0}.rc-transfer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rc-transfer-grid>div{padding:12px;background:#10293b;border:1px solid var(--line,#294254);border-radius:8px;min-width:0}.rc-transfer-grid small{display:block;line-height:1.5;color:var(--muted)}.rc-transfer-grid strong{display:block;margin-top:8px;font-size:17px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.rc-requirements{padding-left:22px;line-height:1.6;overflow-wrap:anywhere}.rc-detail details,#member-refund-corrections details{margin:12px 0}.rc-detail .ad-facts dd{overflow-wrap:anywhere}.rc-detail .card-head{gap:10px;flex-wrap:wrap}
@media(width < 768px){.rc-workbench{display:block}.rc-workbench .rc-detail{display:none}.rc-workbench.rc-detail-open .rc-queue{display:none}.rc-workbench.rc-detail-open .rc-detail{display:grid}.rc-back{display:block;justify-self:start}.rc-transfer-grid{grid-template-columns:minmax(0,1fr)}.rc-transfer-grid>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.rc-transfer-grid strong{margin:0;font-size:16px;text-align:right;max-width:60%}.rc-transfer-grid small{max-width:45%}.rc-detail .ad-facts,#member-refund-corrections .ad-facts{grid-template-columns:minmax(0,1fr);gap:6px}.rc-detail .ad-facts dd,#member-refund-corrections .ad-facts dd{margin-bottom:9px}}

/* Admin workspace queue navigation: all loaded requests remain reachable. */
.admin-design .ad-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0;color:var(--ad-muted);font-size:12px}
.admin-design .ad-pagination>span{flex:1;min-width:160px}
.admin-design .ad-pagination .btn{min-height:44px}
.admin-design .ad-metrics{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.admin-design .ad-metric strong{overflow-wrap:anywhere}
/* Scoped manual-review and staff-security controls; existing workspace layout remains. */
.ad-staff-actions{gap:8px;flex-wrap:wrap}
.ad-staff-actions .btn,#ad-manual-policy-form button,#ad-staff-access-form button,#ad-manual-submit-form button,#ad-manual-review-form button,#ad-manual-final-form button,#ad-manual-reopen-form button{min-height:44px;white-space:normal}
#ad-manual-policy-form,#ad-staff-access-form,#ad-manual-submit-form{min-width:0}
#ad-manual-policy-form fieldset,#ad-manual-submit-form fieldset{min-width:0;margin:8px 0;padding:12px;border:1px solid var(--line);border-radius:12px}
#ad-manual-policy-form fieldset .checkbox,#ad-manual-submit-form fieldset .checkbox{align-items:flex-start;gap:8px;margin:8px 0;overflow-wrap:anywhere}
#ad-manual-policy-form textarea{min-height:96px;resize:vertical}
#ad-staff-temporary-password{box-sizing:border-box;width:100%;min-width:0;font-size:14px;min-height:44px}
#ad-manual-review .ad-facts dd,#ad-manual-policy-status .ad-facts dd{overflow-wrap:anywhere}
@media(width < 768px){
 .admin-design{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 .admin-design .ad-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-design .ad-save-bar,.admin-design .ad-sticky-actions{position:static;inset:auto}
 .admin-design .ad-save-bar>div{min-width:0;width:100%}
 .admin-design :is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){scroll-margin-top:24px}
 .admin-design .ad-pagination>span{flex-basis:100%}
}

/* Source: access-design.css */
/* Responsive access, account and member communication boards F01–F06/T05–T06. */
.ad-email-layout .atafx-email-notice,.ad-auth-card .atafx-email-notice{display:block;margin:12px 0;padding:14px 16px;border:1px solid var(--line,#dce6f8);border-radius:9px;background:var(--info-soft,#edf4ff);color:var(--info-text,#304966);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.ad-email-layout .atafx-email-notice.gold,.ad-auth-card .atafx-email-notice.gold{background:var(--warning-soft,#fff9ec);color:var(--gold,#805e19);border-color:var(--warning-line,#ead9ac)}
.ad-auth,.ad-account,.ad-onboarding,.ad-support,.ad-notifications,.ad-more{--ad-bg:#07111f;--ad-panel:#0d1b2a;--ad-raised:#112438;--ad-border:#23374b;--ad-accent:#2dd4bf;--ad-text:#e8f0f8;--ad-muted:#9fb0c3;color:var(--ad-text);font-variant-numeric:tabular-nums;min-width:0}
.ad-auth{min-height:100dvh;background:radial-gradient(ellipse at 20% 40%,#0b2c3c88,transparent 52%),var(--ad-bg);padding:0 5vw}.ad-auth-header{max-width:1320px;min-height:72px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--ad-border)}.ad-auth-header .brand{font-size:21px;letter-spacing:.01em}.ad-auth-header .brand img{width:38px;height:38px}.ad-auth-header nav{display:flex;flex-direction:row;gap:10px}.ad-auth-header nav .btn{border-color:transparent;background:transparent;color:#c9d8e8}.ad-auth-layout{max-width:1240px;margin:28px auto 24px;display:grid;grid-template-columns:1.16fr .84fr;gap:42px;align-items:center}.ad-auth-hero{position:relative;min-height:630px;display:flex;align-items:flex-end;isolation:isolate}.ad-auth-globe{position:absolute;inset:-55px -30px 140px -80px;z-index:-1;opacity:.62;mask-image:linear-gradient(#000 0%,#000 50%,transparent 100%)}.ad-auth-globe canvas{width:100%;height:100%}.ad-auth-story{padding:140px 0 28px}.ad-auth-story .eyebrow{font-size:11px;color:var(--ad-muted);letter-spacing:.14em}.ad-auth-story h1{font-size:clamp(32px,3.4vw,52px);line-height:1.12;margin:12px 0 38px;letter-spacing:-.035em}.ad-auth-story em{font-style:normal;color:var(--ad-accent)}.ad-benefit{display:flex;gap:19px;margin:24px 0;align-items:flex-start}.ad-benefit svg{width:25px;height:25px;flex-shrink:0;color:#bdd5e7}.ad-benefit b{font-size:15px;font-weight:600}.ad-benefit p{margin:5px 0 0;font-size:13px;color:var(--ad-muted);max-width:350px;line-height:1.55}.ad-auth-card{padding:34px;border:1px solid #28445a;border-radius:16px;background:linear-gradient(145deg,#0c2132ed,#0b1b2a);box-shadow:0 22px 60px #0003;min-width:0}.ad-auth-card h1{font-size:30px;letter-spacing:-.025em;margin:0 0 8px}.ad-auth-card>.meta{margin:0 0 28px;line-height:1.6}.ad-form{display:grid;gap:18px}.ad-form>div{min-width:0}.ad-form input:not([type=checkbox]),.ad-form select,.ad-form textarea{min-height:46px;width:100%;background:#081a29;border:1px solid #36536a;border-radius:8px;color:#e8f0f8;box-sizing:border-box}.ad-form input:focus,.ad-form select:focus,.ad-form textarea:focus{outline:2px solid #2dd4bf;outline-offset:2px}.ad-form label{font-size:13px;font-weight:600;color:#dbe8f4}.ad-form .checkbox{font-weight:400;line-height:1.65;align-items:flex-start}.ad-form .checkbox input{margin-top:4px;flex-shrink:0;width:18px;height:18px}.ad-password-field{position:relative}.ad-password-field input{padding-right:65px}.ad-password-toggle{position:absolute;right:3px;bottom:1px;min-width:56px;min-height:44px;border:0;background:none;color:#a8c8d9;font-size:12px}.ad-password-toggle:hover{color:#2dd4bf}.ad-auth-recovery{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--ad-muted)}.ad-auth-recovery .text-button{min-height:44px;font-size:12px}.ad-mfa{border:1px solid var(--ad-border);padding:12px 14px;border-radius:9px}.ad-mfa summary{cursor:pointer;min-height:24px;color:#cadceb;font-size:13px}.ad-mfa[open]>div{margin-top:14px}.ad-mfa input{letter-spacing:.4em;text-align:center;font-size:20px}.fx-action-wide{width:100%;justify-content:center;min-height:46px}.ad-auth-alternate{border-top:1px solid var(--ad-border);margin-top:25px;padding-top:20px;text-align:center}.ad-auth-alternate p{font-size:13px;margin:0 0 13px;color:#cad8e5}.ad-auth-alternate .btn{border-color:#287c87;color:#5ce5d2}.ad-security-strip{display:flex;justify-content:space-between;gap:10px;margin-top:24px}.ad-security-strip span{display:flex;align-items:center;gap:6px;color:#a8c4d8;font-size:10px;line-height:1.45}.ad-security-strip svg{width:20px;height:20px;flex-shrink:0}.ad-auth-footer{max-width:1320px;margin:auto;padding:25px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--ad-border);font-size:12px;color:var(--ad-muted)}.ad-auth-footer>div{display:flex;gap:8px}.ad-auth-footer .btn{background:transparent;border:0;font-size:12px}
.ad-auth-layout.register{max-width:1140px;grid-template-columns:1.15fr .85fr;gap:24px;align-items:start;margin-top:25px}.ad-auth-layout.register .ad-auth-hero{display:none}.ad-auth-layout.register .ad-auth-card{padding:32px}.ad-auth>.account-progress{max-width:1140px;margin:28px auto 0}.ad-availability{padding:26px;background:linear-gradient(145deg,#0e2333,#0b1b2a);border-color:#294155}.ad-availability h2{font-size:20px}.ad-availability h3{margin:28px 0 12px}.ad-policy{margin:-4px 0 0;font-size:12px;color:#9fb0c3;line-height:1.5}.ad-country-button{min-height:46px;width:100%;padding:0 12px;border:1px solid #36536a;border-radius:8px;background:#081a29;display:flex;align-items:center;gap:10px;text-align:left;color:#b7cbdd}.ad-country-button svg{width:18px;flex-shrink:0}.ad-country-button span:first-of-type{flex:1}.ad-country-list{display:grid;max-height:55dvh;overflow-y:auto;margin:15px 0}.ad-country-list button{display:flex;align-items:center;justify-content:space-between;padding:13px 12px;border:0;border-bottom:1px solid #23374b;background:transparent;color:#e8f0f8;min-height:48px;text-align:left}.ad-country-list button:hover,.ad-country-list button:focus-visible{background:#143444}.ad-country-list small{color:#93a9bd}.ad-consent{margin:0!important}.ad-consent small{display:block;color:#9fb0c3;font-size:11px}.ad-consent .text-button{padding:0;min-height:0;text-decoration:underline;display:inline;font-size:inherit}.ad-legal-consents{display:grid;gap:16px}.ad-legal-reader .ad-tabs{margin-top:16px}.ad-document-body{white-space:pre-wrap;line-height:1.8;padding:24px;border:1px solid #23374b;border-radius:10px;max-height:55dvh;overflow-y:auto;overflow-wrap:anywhere;font-size:14px}.ad-legal-reader .footnote{overflow-wrap:anywhere}
.account-progress{display:flex;list-style:none;padding:23px 25px;justify-content:space-between;background:#0d1b2a;border:1px solid #23374b;border-radius:12px;gap:0}.account-progress li{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;gap:9px;color:#a1b2c4;min-width:0;font-size:12px}.account-progress li:before{content:"";position:absolute;height:1px;background:#344d63;top:16px;left:0;right:0;z-index:0}.account-progress li:first-child:before{left:50%}.account-progress li:last-child:before{right:50%}.account-progress li>span{position:relative;z-index:1;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#0d2132;border:1px solid #5e7992;font-size:14px;color:#d1e2f2}.account-progress li>span svg{width:20px;height:20px}.account-progress li.done>span,.account-progress li.current>span{background:#2dd4bf;border-color:#2dd4bf;color:#04241f}.account-progress li.done:before{background:#2dd4bf}.account-progress li.current b{color:#e8f0f8}.ad-onboarding>.account-progress{margin-bottom:24px}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){border:1px solid #294254;border-radius:9px;background:#102738;padding:16px;margin:15px 0;font-size:13px;line-height:1.65;color:#bdd0de;overflow-wrap:anywhere}:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold{border-color:#665326;color:#f2d999;background:#30281c66}.ad-centered-card{max-width:720px;margin:0 auto;padding:45px 32px;text-align:center}.ad-centered-card h1{font-size:28px;margin:15px 0}.ad-centered-card>.meta{max-width:420px;margin:10px auto;line-height:1.6}.ad-round-icon{width:72px;height:72px;border-radius:50%;background:#183447;display:grid;place-items:center;margin:0 auto 18px;color:#d1edff;font-size:32px}.ad-round-icon svg{width:32px;height:32px}.ad-centered-actions{display:grid;gap:12px;max-width:370px;margin:28px auto 18px}.ad-centered-card>.footnote{max-width:460px;margin:20px auto}.ad-checklist{padding-left:20px;color:#c2d0dd;font-size:14px;line-height:1.7}.ad-checklist li{padding:7px 0}.ad-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.ad-status-grid>div{border:1px solid #23374b;border-radius:9px;padding:17px;min-width:0}.ad-status-grid>div>span:first-child{display:block;color:#9fb0c3;font-size:12px;margin-bottom:10px}.ad-status-grid .badge{white-space:normal}.ad-document-grid{display:grid;grid-template-columns:.9fr 1.15fr 1fr;gap:20px}.ad-document-grid .card{padding:24px;min-width:0}.ad-document-grid h2{font-size:19px}.ad-document-grid .meta{line-height:1.6;font-size:13px}.ad-document-grid select{margin-bottom:20px}.ad-upload-card{display:flex;flex-direction:column;align-items:center;text-align:center;border-style:dashed!important}.ad-document-icon{width:86px;height:112px;border:2px solid #557b9b;border-radius:8px;display:grid;place-items:center;margin:15px 0 25px;color:#7da2be}.ad-document-icon svg{width:46px;height:46px}.ad-upload-card label.btn{justify-content:center;color:#052d29;margin:15px 0}.ad-upload-card input[type=file]{font-size:11px;height:auto;min-height:40px;padding:8px;background:transparent}.ad-upload-card input[type=file]::file-selector-button{display:none}.ad-camera-frame{position:relative;min-height:210px;border:1px solid #34516a;border-radius:10px;display:grid;place-items:center;background:#06131e;overflow:hidden;margin:20px 0}.ad-camera-frame video{width:100%;max-height:280px;object-fit:contain}.ad-camera-frame #ad-camera-placeholder{text-align:center;color:#94b1c7}.ad-camera-frame #ad-camera-placeholder svg{display:block;width:66px;height:66px;margin:0 auto 15px}.ad-camera-frame #ad-camera-placeholder span{font-size:12px}.ad-camera-card .actions{flex-wrap:wrap}.ad-camera-card .actions .btn{flex:1}.ad-camera-card #ad-camera-status{font-size:12px;color:#a5bdd1;line-height:1.6;margin:10px 0}.ad-document-review{padding:25px}.ad-document-review h2{font-size:20px}.ad-document-review progress{width:100%;height:8px;accent-color:#2dd4bf;margin:15px 0}.ad-provider-check{margin-top:22px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;align-items:center}.ad-provider-check>div:first-child{flex:1;min-width:220px}.ad-provider-check h2{font-size:19px}.ad-provider-check #ad-provider-error{flex-basis:100%}.ad-provider-check .meta{line-height:1.6}.ad-provider-dialog{text-align:center}.ad-provider-dialog h2{margin:15px 0}.ad-provider-dialog .meta{line-height:1.7;margin:20px 0}.ad-provider-dialog .footnote{margin:20px 0}.ad-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px}.ad-review-grid .card{padding:26px}.ad-face-frame{width:100%;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed #346573;border-radius:12px;background:#071826;margin-bottom:20px;color:#7397b3}.ad-face-frame svg{width:86px;height:105px}.ad-face-frame p{font-size:12px}.ad-onboarding>.ad-card{margin-top:24px}.ad-timeline{padding-left:22px;list-style:none;margin:20px 0 0}.ad-timeline li{position:relative;border-left:1px solid #355064;padding:0 0 24px 20px;min-width:0}.ad-timeline li:before{content:"";position:absolute;left:-5px;top:4px;width:9px;height:9px;border-radius:50%;background:#2dd4bf;box-shadow:0 0 0 5px #0d1b2a}.ad-timeline b,.ad-timeline time,.ad-timeline small{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.ad-timeline time{color:#9fb0c3;margin-top:5px}.ad-timeline p{font-size:12px;color:#aec4d5;line-height:1.6;margin:7px 0}.ad-timeline li:last-child{border-left-color:transparent}.ad-break{overflow-wrap:anywhere}#ad-file-preview{display:grid;gap:9px;width:100%;font-size:12px;overflow-wrap:anywhere;margin-top:10px}#ad-file-preview img{max-width:100%;max-height:200px;object-fit:contain;border-radius:8px}#ad-file-preview small{color:#a1b8ca}.ad-form-error{margin:4px 0!important}
.ad-tabs{display:flex;gap:6px;margin:0 0 24px;border-bottom:1px solid #294152;flex-wrap:wrap}.ad-tabs>button{border:0;border-bottom:2px solid transparent;border-radius:7px 7px 0 0;min-height:46px;padding:12px 19px;background:transparent;color:#b7c8d9;font-size:13px}.ad-tabs>button.active{border-bottom-color:#2dd4bf;background:#102d3a;color:#43e1cf}.ad-tabs>button:focus-visible{outline:2px solid #2dd4bf;outline-offset:1px}.ad-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.ad-card{padding:26px;min-width:0}.ad-card .card-head{margin-bottom:20px}.ad-card h2{font-size:20px}.ad-card h3{font-size:14px;margin:24px 0 10px}.ad-profile-summary{display:flex;gap:18px;align-items:center;margin-bottom:26px}.ad-profile-summary .avatar{width:70px;height:70px;font-size:25px;flex-shrink:0;background:#294962}.ad-profile-summary h2{font-size:18px;margin:0}.ad-profile-summary .meta{font-size:13px;margin:7px 0;overflow-wrap:anywhere}.ad-setting-row{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid #23374b;margin:0}.ad-setting-row:last-child{border-bottom:0}.ad-setting-row>div{display:flex;align-items:flex-start;gap:15px;min-width:0}.ad-setting-row svg{width:24px;height:24px;flex-shrink:0;color:#bad2e5}.ad-setting-row b{display:block;font-size:14px}.ad-setting-row small{display:block;font-size:12px;line-height:1.6;color:#9fb0c3;margin-top:4px}.ad-setting-row .btn{flex-shrink:0}.ad-history-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-top:1px solid #23374b;padding:15px 0;font-size:12px}.ad-history-row strong{flex:1}.ad-history-row small{flex-basis:100%;color:#9fb0c3}.ad-asset-label{display:flex;align-items:center;gap:12px;padding:16px;background:#102b3b;border:1px solid #25495b;border-radius:9px;margin:8px 0 22px;font-size:14px}.ad-asset-label svg{width:27px;height:27px;color:#2dd4bf}.ad-context-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.ad-context-links .btn{flex:1;min-width:120px}
.ad-support-toolbar{display:flex;gap:14px;align-items:center;margin-bottom:22px}.ad-search{display:flex;align-items:center;gap:12px;min-height:46px;border:1px solid #2c485e;border-radius:8px;background:#0a1c2c;padding:0 14px;min-width:0;flex:1;margin:0}.ad-search svg{width:20px;height:20px;flex-shrink:0;color:#abc8dc}.ad-search input{flex:1;min-width:0;width:100%;border:0;box-shadow:none;background:none;padding:12px 0;color:#e8f0f8;font-size:13px;outline-offset:0}.ad-support-toolbar>select{width:190px;min-height:46px;background:#0a1c2c}.ad-support-grid{display:grid;grid-template-columns:230px minmax(0,1fr) 245px;gap:20px;align-items:start}.ad-support-grid>.card{min-width:0;padding:20px}.ad-tickets h2,.ad-ticket-context h2{font-size:17px;margin-bottom:20px}.ad-ticket{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px 12px;text-align:left;width:100%;border:1px solid transparent;border-bottom-color:#23374b;background:transparent;border-radius:8px;color:#dcebf7}.ad-ticket>b{grid-column:1/-1;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.ad-ticket>span:not(.badge),.ad-ticket>small{font-size:10px;color:#a0b9cd;overflow-wrap:anywhere}.ad-ticket .badge{font-size:10px;grid-column:1/-1;justify-self:start}.ad-ticket.active{border-color:#2dd4bf;background:#0f303f}.ad-ticket:hover{background:#112a3b}.ad-conversation .card-head{margin-bottom:12px}.ad-conversation .card-head h2{font-size:17px}.ad-conversation .messages{min-height:300px;height:410px;max-height:none;padding:20px 0;border-top:1px solid #23374b;border-bottom:1px solid #23374b}.ad-conversation .message{max-width:91%;background:#132f43;border:0;border-radius:14px 14px 14px 3px;padding:13px 15px;font-size:13px;line-height:1.7}.ad-conversation .message.own{background:#0e6972;color:#f0ffff;border-radius:14px 14px 3px 14px}.ad-conversation .message small{font-size:10px;opacity:.85}.ad-conversation .message p{overflow-wrap:anywhere}.ad-conversation form{margin-top:16px}.ad-conversation textarea{min-height:76px;font-size:13px}.ad-conversation .chat-input{align-items:stretch}.ad-conversation .chat-input .btn{min-width:72px}.ad-handoff{padding:16px;margin-top:16px;border:1px solid #285365;border-radius:10px;background:#0c2637}.ad-handoff>div{display:flex;gap:13px;align-items:flex-start}.ad-handoff svg{width:26px;height:26px;flex-shrink:0;color:#2dd4bf}.ad-handoff b{display:block;font-size:13px}.ad-handoff small{display:block;font-size:11px;line-height:1.6;color:#9fbad0;margin-top:6px}.ad-handoff>.btn{width:100%;margin-top:13px}.ad-handoff .footnote{margin-bottom:0}.ad-file-label{display:flex;align-items:center;gap:7px;font-size:11px!important;color:#b5cadb!important;margin:15px 0 9px!important}.ad-file-label svg{width:18px;height:18px}.ad-conversation input[type=file]{font-size:11px;width:100%;padding:8px;border:1px solid #2b465b;border-radius:7px}.ad-conversation input[type=file]::file-selector-button{border:0;padding:7px 10px;background:#17364b;color:#d4e7f5;border-radius:4px}.ad-conversation .footnote{font-size:10px}.ad-ticket-context .definition{grid-template-columns:1fr}.ad-ticket-context .definition dt{font-size:11px}.ad-ticket-context .definition dd{font-size:12px;padding-bottom:12px;overflow-wrap:anywhere}.ad-ticket-context h3{font-size:13px;margin-top:25px}.ad-ticket-context>.badge{margin-bottom:14px}.ad-attachment{display:flex;gap:9px;align-items:center;border:1px solid #2b485e;border-radius:7px;padding:12px;font-size:11px;overflow-wrap:anywhere;margin-bottom:10px}.ad-attachment svg{width:20px;height:20px;flex-shrink:0}#ad-support-attachment{display:flex;align-items:center;justify-content:space-between;font-size:11px;overflow-wrap:anywhere;gap:10px}#ad-support-attachment .btn{font-size:11px;padding:5px 8px;min-height:44px}
.ad-notification-filters{display:flex;gap:14px;align-items:center;margin-bottom:23px}.ad-notification-filters>select{max-width:180px;min-height:46px;background:#0a1c2c}.ad-notification-grid{display:grid;grid-template-columns:1.06fr 1fr;gap:24px;align-items:start}.ad-notification-grid>.card{padding:10px}.ad-notification{display:flex;gap:13px;align-items:center;padding:19px 14px;width:100%;min-width:0;border:1px solid transparent;border-bottom-color:#23374b;border-radius:8px;text-align:left;background:transparent;color:#e8f0f8}.ad-notification>span:nth-child(3){flex:1;min-width:0}.ad-notification.active{border-color:#2dd4bf;background:#102e3e}.ad-notification b{font-size:13px;line-height:1.4}.ad-notification small{display:block;color:#a7bfd2;font-size:11px;line-height:1.6;margin:5px 0;overflow-wrap:anywhere}.ad-notification time{display:block;font-size:10px;color:#7e9bb2}.ad-unread-dot{width:8px;height:8px;border-radius:50%;background:#455d73;flex-shrink:0}.ad-notification.unread .ad-unread-dot{background:#2dd4bf}.ad-notification-icon{width:36px;height:40px;background:#18374c;display:grid;place-items:center;border-radius:7px;flex-shrink:0}.ad-notification-icon svg{width:23px;height:23px}.ad-notification-detail{padding:23px}.ad-notification-detail>.ad-round-icon{margin:0 0 20px;width:55px;height:55px}.ad-notification-detail h2{font-size:21px;line-height:1.4}.ad-notification-detail>.meta{font-size:11px}.ad-notification-body{line-height:1.85;margin:26px 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.ad-notification-detail>.btn{margin-top:12px}.ad-more{max-width:700px;margin:0 auto}.ad-more-profile{width:100%;display:flex;align-items:center;gap:16px;border:1px solid #29475b;background:#102738;border-radius:12px;padding:21px;color:#e8f0f8;text-align:left;margin-bottom:20px}.ad-more-profile>.avatar{width:48px;height:48px;flex-shrink:0}.ad-more-profile>span:nth-child(2){flex:1;min-width:0}.ad-more-profile b{display:block;font-size:16px}.ad-more-profile small{display:block;font-size:12px;color:#adc5d8;margin-top:5px;overflow-wrap:anywhere}.ad-more-links{padding:8px 20px}.ad-more-links>button{display:flex;align-items:center;gap:18px;min-height:64px;width:100%;border:0;border-bottom:1px solid #254154;background:none;color:#dfeaf5;text-align:left}.ad-more-links>button svg{width:24px;height:24px;flex-shrink:0}.ad-more-links>button>span:nth-child(2){flex:1}.ad-more-links>button:last-child{border-bottom:0}.ad-more-links>button:hover{color:#2dd4bf}
@media(min-width:1600px){.ad-support-grid{grid-template-columns:265px minmax(0,1fr) 285px}.ad-conversation .messages{height:470px}}
@media(max-width:1279px){.ad-auth{padding:0 4vw}.ad-auth-layout{gap:30px;grid-template-columns:1fr 1fr}.ad-auth-story h1{font-size:37px}.ad-auth-card{padding:27px}.ad-auth-hero{min-height:590px}.ad-support-grid{grid-template-columns:210px minmax(0,1fr)}.ad-ticket-context{grid-column:1/-1}.ad-ticket-context .definition{grid-template-columns:140px 1fr}.ad-ticket-context>.ad-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 25px}.ad-document-grid{grid-template-columns:1fr 1fr}.ad-document-grid>.ad-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.ad-document-grid>.ad-card h2,.ad-document-grid>.ad-card>.meta,.ad-document-grid>.ad-card>.footnote{grid-column:1/-1}.ad-document-grid>.ad-card label{grid-row:auto}.ad-account-grid{gap:18px}.ad-card{padding:22px}.ad-status-grid{gap:10px}.ad-status-grid>div{padding:13px}}
@media(width < 768px){.ad-auth{padding:0 20px}.ad-auth-header{min-height:76px;gap:10px}.ad-auth-header .brand{font-size:17px;gap:9px}.ad-auth-header .brand img{width:30px;height:30px}.ad-auth-header nav{gap:0}.ad-auth-header nav .btn{padding:6px 8px;font-size:11px}.ad-auth-header nav .btn:first-child,.ad-auth-header nav .btn:last-child{display:none}.ad-auth-layout,.ad-auth-layout.register{display:block;margin:28px auto 24px}.ad-auth-hero{display:none}.ad-auth-card,.ad-auth-layout.register .ad-auth-card{padding:24px 19px;border-radius:12px;box-shadow:none}.ad-auth-card h1{font-size:27px}.ad-auth-card>.meta{font-size:13px;margin-bottom:25px}.ad-form{gap:17px}.ad-form input:not([type=checkbox]),.ad-form select,.ad-form textarea{font-size:16px}.ad-auth-recovery{font-size:10px;gap:8px}.ad-auth-recovery .text-button{font-size:11px}.ad-security-strip{gap:8px;flex-wrap:wrap}.ad-security-strip span{font-size:9px}.ad-security-strip svg{width:17px;height:17px}.ad-auth-footer{flex-direction:column;text-align:center;align-items:center;padding:20px 0 max(20px,env(safe-area-inset-bottom));font-size:10px}.ad-auth-layout.register .ad-availability{margin-top:20px;padding:22px}.ad-auth>.account-progress{margin-top:20px}.account-progress{padding:18px 8px;border-radius:10px}.account-progress li{font-size:10px;gap:8px}.account-progress li>span{width:30px;height:30px;font-size:12px}.account-progress li:before{top:14px}.account-progress li b{font-weight:500}.ad-consent span{font-size:12px}.ad-country-list{max-height:58dvh}.ad-onboarding>.account-progress{margin-bottom:18px}.ad-centered-card{padding:28px 21px}.ad-centered-card h1{font-size:24px}.ad-centered-card>.meta{font-size:13px}.ad-centered-actions{margin-top:24px}.ad-document-grid{grid-template-columns:1fr;gap:18px}.ad-document-grid>.ad-card{display:block;grid-column:auto}.ad-document-grid>.card{padding:21px}.ad-document-review{padding:21px}.ad-document-review .actions{display:grid;grid-template-columns:1fr;width:100%;gap:10px}.ad-provider-check{padding:21px}.ad-provider-check .actions{width:100%;display:grid;gap:10px}.ad-review-grid{grid-template-columns:1fr;gap:18px}.ad-review-grid .card{padding:22px}.ad-face-frame{min-height:190px}.ad-status-grid{grid-template-columns:1fr}.ad-onboarding>.ad-card{margin-top:18px}.ad-account-grid{grid-template-columns:1fr;gap:18px}.ad-tabs{gap:3px;justify-content:flex-start;margin-bottom:20px}.ad-tabs>button{font-size:11px;padding:10px 9px;min-height:44px;flex:1}.ad-account .ad-tabs>button{flex:0 1 auto}.ad-account .ad-tabs>button:last-child{flex-basis:100%;text-align:left;border-radius:0}.ad-card{padding:21px}.ad-profile-summary .avatar{width:55px;height:55px;font-size:20px}.ad-profile-summary{gap:14px}.ad-profile-summary h2{font-size:17px}.ad-profile-summary .meta{font-size:12px}.ad-setting-row{gap:12px;flex-wrap:wrap}.ad-setting-row>div{gap:12px}.ad-setting-row small{font-size:11px}.ad-setting-row .btn{min-height:44px;padding:8px 12px}.ad-asset-label{font-size:12px;padding:14px}.ad-support-toolbar{flex-direction:column;align-items:stretch;gap:10px}.ad-support-toolbar>select{width:100%;font-size:14px}.ad-search input{font-size:16px}.ad-support-grid{display:flex;flex-direction:column;gap:18px}.ad-support-grid>.card{width:100%;padding:18px;box-sizing:border-box}.ad-tickets #ad-ticket-list{display:grid;max-height:260px;overflow-y:auto;gap:8px;max-width:100%}.ad-ticket{min-width:0;max-width:none;border-color:#23374b}.ad-tickets h2{font-size:15px;margin-bottom:14px}.ad-conversation .messages{height:360px;min-height:240px}.ad-conversation .message{max-width:94%;font-size:13px;padding:12px}.ad-conversation .chat-input{gap:8px}.ad-conversation textarea{font-size:16px;min-height:82px}.ad-conversation .chat-input .btn{min-width:58px;padding:10px}.ad-conversation form{padding-bottom:env(safe-area-inset-bottom)}.ad-ticket-context>.ad-timeline{display:block}.ad-ticket-context .definition{grid-template-columns:1fr}.ad-notification-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ad-notification-filters .ad-search{grid-column:1/-1}.ad-notification-filters>select{max-width:none;width:100%;font-size:13px}.ad-notifications>.ad-tabs{gap:4px}.ad-notifications>.ad-tabs>button{flex:1 1 30%;font-size:11px;padding:9px 7px;border:1px solid #254356;border-radius:7px}.ad-notification-grid{grid-template-columns:1fr}.ad-notification-grid>#ad-notification-detail{display:none}.ad-notification{padding:17px 9px;gap:10px}.ad-notification-icon{width:30px;height:34px}.ad-notification-icon svg{width:20px;height:20px}.ad-notification b{font-size:12px}.ad-notification small{font-size:11px}.ad-notification-detail{padding:10px 0}.ad-notification-detail h2{font-size:20px}.ad-notification-body{font-size:14px}.ad-more-profile{padding:18px;gap:12px}.ad-more-links{padding:5px 17px}.ad-more-links>button{min-height:63px;font-size:14px}.ad-more-profile b{font-size:15px}.ad-more-profile small{font-size:11px}.ad-context-links{gap:10px}.ad-document-body{padding:16px;font-size:13px;max-height:60dvh}}
@media(prefers-reduced-motion:reduce){.ad-auth-globe{display:none}.ad-auth-story{padding-top:30px}.ad-auth-hero{min-height:500px}.ad-auth *,.ad-account *,.ad-onboarding *,.ad-support *,.ad-notifications *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* MFA is a server-requested second stage; the credential form remains private in memory. */
.ad-auth-credentials{display:grid;gap:17px}.ad-auth-credentials[hidden],.ad-mfa-stage[hidden]{display:none}.ad-mfa-stage{display:grid;gap:15px;text-align:center}.ad-mfa-stage .ad-round-icon{margin:0 auto}.ad-mfa-stage h2{margin:0;font-size:22px}.ad-mfa-stage p{margin:0}.ad-mfa-stage input{text-align:center;letter-spacing:.3em;font-size:24px}.ad-mfa-alternatives{display:flex;justify-content:space-between;gap:10px}.ad-mfa-alternatives .btn{font-size:12px;padding:8px}.ad-auth-mfa-active>h1,.ad-auth-mfa-active>.meta,.ad-auth-mfa-active .ad-auth-alternate,.ad-auth-mfa-active .ad-auth-recovery{display:none}.ad-auth-mfa-active .ad-form{margin-top:0}

.ad-auth-globe{overflow:hidden;isolation:isolate;pointer-events:none}.ad-auth-globe .eg-decorative{opacity:.85}.ad-capture-mode{display:none}.ad-upload-card .file-picker label.btn{color:#052d2c}.ad-upload-card .file-picker{justify-content:center}.ad-document-grid>section{align-self:start}
@media(width < 768px){.ad-capture-mode{display:flex;gap:8px;margin:0 0 12px}.ad-capture-mode>.btn{flex:1}.ad-document-grid{display:flex;flex-direction:column}.ad-document-grid>section{width:100%;box-sizing:border-box}.ad-document-grid .ad-camera-card{order:0}.ad-document-grid>.ad-card{order:1}.ad-document-grid .ad-upload-card{order:0}.ad-document-grid[data-capture-mode=camera] .ad-upload-card,.ad-document-grid[data-capture-mode=upload] .ad-camera-card{display:none}.ad-account>.ad-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.ad-account>.ad-tabs>button,.ad-account>.ad-tabs>button:last-child{font-size:10px;min-width:0;padding:8px 4px;text-align:center;flex-basis:auto;border-radius:5px}}

/* Compact member address support notice; no shared modal sizing changes. */
html.fx-unified-theme[data-theme] body dialog#modal:has([data-withdrawal-address-support]){width:min(540px,calc(100vw - 32px));max-width:calc(100vw - 32px);box-sizing:border-box}
[data-withdrawal-address-support] p{line-height:1.65;overflow-wrap:anywhere}
[data-withdrawal-address-support] .form-actions{display:flex;flex-wrap:wrap;gap:12px}
[data-withdrawal-address-support] .btn{min-height:44px;max-width:100%;white-space:normal}

/* Required consent stays compact; reading a document preserves every checkbox. */
html.fx-unified-theme[data-theme] body dialog#modal:has(.ad-trading-consent){width:min(620px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;overflow-y:auto}
.ad-trading-consent{min-width:0}.ad-trading-consent>p{margin-top:0;line-height:1.6}.ad-trading-consent .ad-form{gap:14px}.ad-trading-consent-document{border:1px solid #d8e3f2;background:#f8faff;border-radius:12px;padding:16px;min-width:0}.ad-trading-consent-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.ad-trading-consent-title strong{font-size:16px;color:#172c48}.ad-trading-consent-title span,.ad-trading-consent-document details>small{font-size:12px;color:#617491}.ad-trading-consent-document summary{min-height:44px;display:list-item;align-content:center;color:#3659e3;cursor:pointer;font-size:14px}.ad-trading-consent-body{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow-y:auto;padding:14px;margin:0 0 10px;border:1px solid #d8e3f2;border-radius:8px;background:#fff;font-size:14px;line-height:1.65;color:#24354f}.ad-trading-consent .ad-consent{display:flex!important;align-items:flex-start!important;gap:10px!important;margin:10px 0 0!important}.ad-trading-consent .ad-consent input{align-self:flex-start!important;padding:0!important;min-width:18px!important;max-width:18px!important;width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;flex:0 0 18px;margin:3px 0 0!important}.ad-trading-consent .ad-consent span{font-size:14px!important;line-height:1.6}.ad-trading-consent .footnote{font-size:12px;line-height:1.6;margin:0}.ad-trading-consent-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.ad-trading-consent-actions .btn{min-height:44px;white-space:normal}.ad-trading-consent .text-button{min-height:44px;justify-self:start}.ad-trading-consent [hidden]{display:none!important}
@media(max-width:480px){html.fx-unified-theme[data-theme] body dialog#modal:has(.ad-trading-consent){width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.ad-trading-consent-document{padding:12px}.ad-trading-consent-actions{display:grid;grid-template-columns:1fr 1fr}.ad-trading-consent-actions .btn{padding:10px 12px;font-size:13px}.ad-trading-consent-body{max-height:34dvh}}

/* Source: common-design.css */
.market-pagination{display:flex;flex-direction:row;justify-content:space-between;gap:10px;align-items:center;padding-top:18px;font-size:13px}.market-pagination .btn{padding:8px 12px}.compare-control{display:flex;align-items:center;gap:12px;margin:15px 0;flex-wrap:wrap}.compare-control select{max-width:220px;font-size:13px}.comparison-chart{display:block;width:100%;height:auto}.compare-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:13px}.compare-legend span:first-child{color:#2dd4bf}.compare-legend span:last-child{color:#78a9ff}.market-observed-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.market-observed-stats>div{background:#102638;padding:10px;border-radius:8px;min-width:0}.market-observed-stats small{display:block;font-size:12px}.market-observed-stats b{font-size:14px;overflow-wrap:anywhere}@media(width < 768px){.market-observed-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ad-tabs{flex-direction:row;flex-wrap:wrap}.ad-tabs>button{flex:0 1 auto}@media(width < 768px){.market-ticker{display:none}.ad-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ad-tabs>button{width:100%;white-space:normal}}

.native-file-input{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0!important}.native-file-input:focus-visible+.file-picker{outline:2px solid var(--accent);outline-offset:3px}.file-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0}.file-picker>[data-file-name]{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.file-picker label{cursor:pointer;display:inline-flex;align-items:center}.route-execution-timeline{list-style:none;padding:0;margin:8px 0}.route-execution-timeline li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;position:relative;padding:10px 0 20px}.route-execution-timeline li:not(:last-child):before{content:'';position:absolute;width:1px;left:15px;top:40px;bottom:0;background:#315569}.route-execution-timeline .done .timeline-dot{background:var(--accent);color:#042e30}.route-step-title{display:flex;justify-content:space-between;gap:10px;align-items:center}.route-execution-timeline p{font-size:13px;margin:10px 0 0}.route-execution-timeline small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.legal-metadata{font-size:12px;color:var(--muted);line-height:1.5}.legal-evidence{margin-top:14px;overflow-wrap:anywhere}.legal-evidence>summary{font-size:12px;cursor:pointer}.mobile-conversation-nav{display:none}
@media(width < 768px){.form-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.form-actions>[type=submit],.form-actions>.primary{grid-column:1/-1;width:100%}.file-picker{gap:8px}.mobile-conversation-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.mobile-conversation-nav>span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-conversation-nav>.btn{font-size:12px;padding:7px}.ad-support.show-conversation .ad-support-toolbar,.ad-support.show-conversation .ad-tickets,.ad-support .ad-ticket-context{display:none}.ad-support.show-ticket-list .ad-conversation{display:none}.ad-support .ad-conversation{height:calc(100dvh - 240px);min-height:480px;display:flex;flex-direction:column;padding:12px}.ad-conversation .messages{flex:1;min-height:130px;max-height:none;overflow:auto;margin:8px 0}.ad-conversation #support-form{position:sticky;bottom:0;background:#0d1b2a;padding-top:8px;border-top:1px solid var(--line);flex:none}.ad-conversation textarea{min-height:55px;max-height:120px}.ad-conversation #support-form>label[for=support-message]{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.ad-conversation .ad-handoff{padding:8px;margin:0}.ad-conversation .ad-handoff .footnote{font-size:11px!important;line-height:1.4}.ad-conversation>.footnote{display:none}.ad-conversation .file-picker{margin:0}.ad-conversation .file-picker .btn{min-height:32px;padding:3px 8px;font-size:12px}.ad-conversation .ad-file-label{display:none}.ad-notifications .ad-tabs{display:flex;flex-wrap:wrap;gap:5px}.ad-notifications .ad-tabs>button{width:auto;min-height:34px;padding:5px 8px;font-size:11px}.ad-notification-grid>#ad-notification-detail{display:none}.ad-notification-filters{grid-template-columns:1fr 1fr}.ad-notification-filters>label{grid-column:1/-1}.ad-account>.ad-tabs{display:flex;flex-wrap:wrap;gap:5px}.ad-account>.ad-tabs>button{width:auto;font-size:12px;min-height:36px;padding:6px 9px}.ad-legal-reader .ad-tabs{display:flex;flex-wrap:wrap;gap:5px}.ad-legal-reader .ad-tabs>button{font-size:11px;min-height:34px;padding:5px 8px;width:auto}.ad-legal-reader h2{margin:14px 0 8px}.ad-legal-reader .legal-metadata{font-size:11px}.ad-legal-reader label{font-size:12px}.ad-legal-reader .ad-document-body{padding:14px;font-size:14px;max-height:none}.ad-onboarding .account-progress{margin:12px 0 18px}.ad-document-review{margin-top:12px}}

.design-failure{display:flex;gap:24px;align-items:flex-start;max-width:780px;margin:30px auto;padding:28px}.design-error-icon{display:grid;place-items:center;width:76px;height:76px;flex:none;border-radius:50%;color:#62d7f6;background:#14344a}.design-error-icon svg{width:36px;height:36px}.design-failure[data-error-status="403"] .design-error-icon{color:#ff9d9d;background:#422d38}.design-error-content{min-width:0}.design-error-content h1{font-size:24px;margin:3px 0 14px}.design-error-content p{font-size:14px}.design-error-content .form-actions{margin-top:20px}.design-failure.session-expired{max-width:560px}
@media(width < 768px){.design-failure{display:block;text-align:center;padding:24px 18px;margin:20px 0}.design-error-icon{margin:0 auto 18px;width:66px;height:66px}.design-error-content h1{font-size:22px}.design-error-content .form-actions{display:grid;gap:10px}.design-failure.session-expired{border-radius:18px}}

#workspace-connection-banner[hidden]{display:none!important}
/* Revision05 member boards: explicit placement, content-sized values and one responsive navigation per purpose. */
.design-two-column:has(>.wallet-allocation){grid-template-areas:"allocation actions";grid-template-columns:minmax(0,1.65fr) minmax(250px,.75fr);align-items:start}
.wallet-allocation{grid-area:allocation;grid-column:1;grid-row:1;container-type:inline-size;order:initial}
.wallet-actions{grid-area:actions;grid-column:2;grid-row:1;order:initial}
.wallet-allocation .allocation{grid-template-columns:minmax(0,1fr);gap:18px;justify-items:center;align-items:start}
.wallet-allocation .allocation-ring{width:205px;max-width:100%;padding:20px}
.wallet-allocation .allocation>.stack{width:100%;min-width:0}
.wallet-allocation .definition{grid-template-columns:minmax(0,1fr) max-content;gap:12px 18px;margin:0}
.wallet-allocation .definition dt{overflow-wrap:normal;word-break:normal}
.wallet-allocation .definition dd,.wallet-allocation .allocation-ring b{white-space:nowrap;overflow-wrap:normal;word-break:normal;text-align:right}
.wallet-allocation .allocation-ring b{font-size:22px}
@container(min-width:560px){.wallet-allocation .allocation{grid-template-columns:200px minmax(0,1fr);align-items:center}.wallet-allocation .allocation-ring{width:200px}}
.market-chart-card{min-width:0}.market-chart-header>.card-head{margin-bottom:10px}.market-chart-primary,.market-chart-secondary{min-width:0}.market-chart-secondary>h3{font-size:14px;margin:14px 0 8px}.market-chart-secondary .market-price-facts b,.market-chart-secondary .market-observed-stats b{white-space:nowrap;overflow-wrap:normal;font-size:12px}
.currency-detail-page .currency-chart-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.32fr);gap:18px;align-items:start}
.currency-chart-detail>.market-chart-header{grid-column:1/-1}.currency-chart-detail .market-chart-secondary{border-left:1px solid var(--line);padding-left:16px}.currency-chart-detail .market-price-facts,.currency-chart-detail .market-observed-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.currency-chart-detail .market-price-facts{margin-top:0}.currency-chart-detail .market-observed-stats small{font-size:10px}.currency-chart-detail .market-price-facts>div{padding:9px}.currency-detail-page .market-chart-primary>.large-chart{min-height:380px}
.market-preview-column{display:none}.market-preview-column .market-chart-card{padding:14px}.market-preview-column .quote-head strong{font-size:24px}.market-preview-column .quote-head small,.market-preview-column .quote-meta{font-size:11px}.market-preview-column .large-chart{min-height:240px}.market-preview-column .period-switch button{min-height:35px;padding:7px 9px;font-size:11px}.market-preview-column .chart-options select,.market-preview-column .chart-options button{min-height:35px;font-size:11px}.market-preview-column .chart-status{font-size:10px}.market-preview-column .market-price-facts,.market-preview-column .market-observed-stats{gap:6px}.market-preview-column .market-price-facts>div,.market-preview-column .market-observed-stats>div{padding:8px}.market-preview-column .market-chart-secondary .full-width{margin-top:10px}.market-preview-heatmap .heatmap-heading{gap:10px;align-items:start}.market-preview-heatmap h2{font-size:16px}.market-preview-heatmap p{font-size:11px}.market-preview-heatmap select{max-width:160px;font-size:11px}.market-preview-heatmap .cross-heatmap th,.market-preview-heatmap .cross-heatmap td{padding:2px}.market-preview-heatmap .cross-heatmap button{font-size:9px}.market-preview-heatmap .cross-heatmap small{font-size:8px}
@media(min-width:1024px){.market-design-grid.market-preview-grid{display:grid;grid-template-columns:minmax(315px,.8fr) minmax(0,1.3fr);gap:16px;align-items:start}.market-preview-column{display:grid;gap:14px}.market-preview-grid .market-currency-row{grid-template-columns:minmax(0,1fr) minmax(65px,.35fr) 30px;gap:8px}.market-preview-grid .market-row-trend{display:none}.market-preview-grid .market-currency-list{max-height:890px;overflow-y:auto}.market-preview-grid .currency-select{min-width:0}.market-preview-grid .currency-select b{font-size:12px}.market-preview-grid .currency-select small{font-size:10px!important}.market-preview-grid .currency-select .currency-flag{width:25px}.market-preview-grid .market-row-price b{font-size:12px}.market-preview-grid .market-currency-row>.icon-button{min-width:30px;width:30px;padding:3px}.market-preview-grid .market-explorer{padding:14px}}
.deposit-history-filters{margin:12px 0;padding:10px 12px;border:1px solid var(--line);border-radius:8px}.deposit-history-filters>summary{cursor:pointer;font-size:12px;color:var(--muted)}.deposit-history-filters .design-filters{margin:12px 0 0}.deposit-request-state{display:flex;align-items:center;gap:10px}.deposit-request-state>small{font-size:11px;color:var(--muted)}.deposit-request-layout .countdown{font-size:12px}.deposit-evidence-disclosure>summary{cursor:pointer;font-size:15px;font-weight:650;margin-bottom:12px}.withdrawal-balance-details{font-size:12px;color:var(--muted)}.withdrawal-balance-details>summary{cursor:pointer}.withdrawal-balance-details .definition{margin:12px 0}.design-timeline .current .timeline-dot{background:#46381a;color:#fbd887;border-color:#bd9140}.design-timeline .current b{color:#fbd887}.route-order-row.selected{border-color:var(--accent);background:#123940}
.dashboard-page{padding-top:9px}.dashboard-page .summary-metrics{margin-top:10px;margin-bottom:12px}.dashboard-page .workspace-lower-grid{margin-top:12px}.dashboard-page .geography-card .card-head{padding-top:10px;padding-bottom:5px}.auto-trading-page .page-header{margin:10px 0}.auto-trading-page .summary-metrics{margin:10px 0}.auto-trading-page .summary-metric{min-height:88px;padding:12px}.auto-trading-page .auto-route-heading{margin:10px 0}.auto-trading-page .auto-status-bar{padding:9px 12px}.auto-trading-page .auto-status-bar p{margin:0}
@media(width < 1024px){.market-design-grid.market-preview-grid{display:block}}
@media(width < 768px){
 .design-two-column:has(>.wallet-allocation){grid-template-areas:"actions" "allocation";grid-template-columns:minmax(0,1fr)}.wallet-actions{grid-area:actions;grid-column:1;grid-row:1}.wallet-allocation{grid-area:allocation;grid-column:1;grid-row:2}.wallet-allocation .allocation-ring{width:170px}.wallet-allocation .definition{font-size:12px;gap:10px}.wallet-actions .stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wallet-actions .stack>.design-value{grid-column:1/-1}.wallet-actions .stack>.btn{font-size:12px;padding:8px;min-width:0}
 .currency-detail-page .currency-chart-detail{display:flex;flex-direction:column;gap:10px}.currency-chart-detail>.market-chart-header{order:0;width:100%}.currency-chart-detail>.market-chart-primary{order:1;width:100%;display:flex;flex-direction:column}.currency-chart-detail>.market-chart-secondary{order:2;width:100%;border-left:0;border-top:1px solid var(--line);padding:8px 0 0}.currency-detail-page .market-chart-primary>.chart-toolbar{order:0;margin:0 0 8px}.currency-detail-page .market-chart-primary>#market-main-chart{order:1;min-height:245px}.currency-detail-page .market-chart-primary>#chart-status{order:2}.currency-detail-page .market-chart-primary>.compare-control{order:3}.currency-chart-detail .market-chart-header>.card-head{margin:0}.currency-chart-detail .market-chart-header h2{font-size:18px;margin:2px 0}.currency-chart-detail .market-chart-header .quote-head{margin:5px 0}.currency-chart-detail .market-chart-header .quote-meta{margin:0;font-size:10px}.currency-detail-page .chart-toolbar{gap:6px}.currency-detail-page .chart-toolbar .period-switch{flex:1;display:flex;flex-wrap:wrap;gap:2px}.currency-detail-page .chart-toolbar .period-switch button{min-width:32px;padding:5px 7px;min-height:35px;font-size:11px}.currency-detail-page .chart-options{width:100%}.currency-detail-page .chart-options>*{min-height:32px;font-size:11px}
 .ad-legal-reader>nav.ad-tabs{display:none!important}.ad-legal-reader>.legal-kind-mobile{display:block}.ad-legal-reader:not(:has([data-legal-kind])){min-height:0}
 #design-deposit-history .design-status-summary{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.design-status-summary>div{flex:1 1 40%;flex-direction:row;align-items:center;gap:8px;padding:7px 9px}.design-status-summary>div b{font-size:17px}.design-status-summary>div span{font-size:10px}.design-status-summary>div small{display:none}#design-deposit-history>.footnote{font-size:11px!important;margin:6px 0}#design-deposit-history>.card-head{margin-bottom:8px}.deposit-history-filters{margin:8px 0}.deposit-request-layout .deposit-request-evidence{padding:10px 12px}.withdrawal-balance-details{font-size:11px}.design-withdraw-form .design-inset{padding:12px}.design-withdraw-form h3{margin:0 0 8px}.design-withdraw-form .selected-requestable{margin:10px 0}.design-withdraw-form .stack{gap:10px}.design-withdraw-form .design-two-column{gap:10px}.design-timeline li{padding-bottom:17px}
}

.topbar>.breadcrumb:empty{display:none}
/* Revision06: panel-sized chart coordinates retain readable 12px axes at mobile widths. */
.data-chart,.comparison-chart{display:block;width:100%;height:auto;min-height:0;max-height:none;overflow:visible}
.data-chart .chart-axis-label{font-size:12px;fill:#b6cada}
.market-chart-primary>.large-chart,.currency-detail-page .market-chart-primary>.large-chart,.performance-card .large-chart{min-height:0}
.session-ended{max-width:620px;margin:8vh auto;padding:20px}
/* These density rules are scoped to member dashboard/Markets; financial allocation and auth forms are unchanged. */
.dashboard-page .workspace-lower-grid>.card{padding:15px}
.dashboard-page .performance-total strong{font-size:24px}
.dashboard-page .performance-total{margin:6px 0}
.dashboard-page .conversion-row{padding:10px 0}
.dashboard-page .performance-card .card-head{gap:8px;flex-wrap:wrap;margin-bottom:6px}
.dashboard-page .performance-card .period-switch button{min-width:32px;min-height:32px;padding:5px 7px;font-size:11px}
.market-preview-column .market-chart-primary{min-width:0}
.market-preview-column .market-chart-header>.card-head{margin-bottom:4px}
.market-preview-column .quote-head{margin:6px 0;gap:12px}
.market-preview-column .quote-meta{margin:4px 0;gap:7px}
.market-preview-column .chart-toolbar{margin:8px 0;gap:7px}
.market-preview-column .market-chart-secondary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px}
.market-preview-column .market-chart-secondary>h3{font-size:12px;margin:5px 0 0;grid-column:1/-1}
.market-preview-column .market-price-facts{margin:0;grid-column:1;grid-template-columns:repeat(4,minmax(0,1fr))}
.market-preview-column .market-chart-secondary .full-width{margin:0;min-height:38px;font-size:11px;padding:7px;width:auto}
.market-preview-column #market-observed-stats{display:none}
.market-preview-heatmap .heatmap-heading{margin-bottom:9px}
.market-preview-heatmap .cross-heatmap button{font-size:11px;min-height:42px;padding:5px 2px}
.market-preview-heatmap .cross-heatmap small{font-size:10px}
.market-preview-heatmap .cross-heatmap th{font-size:11px}
.market-preview-heatmap .footnote{font-size:10px!important;margin:8px 0 0}
.market-preview-heatmap>.text-button{min-height:30px;font-size:12px}
@media(min-width:1024px){
 .main:has(.market-preview-grid) #page-content>.page-header{margin:10px 0 8px}
 .market-search-bar{padding:5px 0 10px}.market-search-bar .market-controls{padding:9px 12px}.market-search-bar .view-switch{margin-bottom:6px}
 .market-design-grid.market-preview-grid{grid-template-columns:minmax(385px,.95fr) minmax(0,1.25fr);gap:14px}
 .market-preview-grid .market-currency-row{grid-template-columns:minmax(0,1fr) 62px minmax(68px,.4fr) 32px;gap:8px;padding:10px 0}
 .market-preview-grid .market-row-trend{display:block}.market-preview-grid .market-row-trend svg{width:62px;height:30px}
 .market-preview-grid .market-currency-list{max-height:760px}
 .market-preview-grid .currency-select b,.market-preview-grid .market-row-price b{font-size:13px}
 .market-preview-grid .currency-select small{font-size:11px!important}
 .market-preview-column{gap:12px}.market-preview-heatmap{padding:14px}
 .dashboard-page .summary-metric{min-height:88px;padding:12px 14px}.dashboard-page .market-ticker .ticker-item{padding:10px 12px;gap:5px}
 .dashboard-page .summary-metrics{margin-top:8px;margin-bottom:10px}.dashboard-page .auto-summary.compact{gap:8px;padding:14px}
 .dashboard-page .workspace-main-grid{gap:14px}.dashboard-page .workspace-lower-grid{margin-top:10px;gap:14px}
}
@media(width < 768px){
 .currency-detail-page .market-chart-primary>#market-main-chart{min-height:0}
 .dashboard-page .workspace-lower-grid>.card{padding:14px}
 .chart-scale{font-size:11px;line-height:1.45}.chart-tooltip{max-width:78%;font-size:12px}
 .session-ended{padding:14px;margin:5vh auto}
}
@media(min-width:1024px){
 .market-preview-column .market-chart-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.9fr);gap:4px 12px;align-items:start}
 .market-preview-column .market-chart-header>.card-head{grid-column:1;gap:5px;align-items:start}
 .market-preview-column .market-chart-header h2{font-size:18px;margin:3px 0}
 .market-preview-column .market-chart-header h2 small{display:block;font-size:11px;margin-top:3px}
 .market-preview-column .quote-head{grid-column:2;display:grid;gap:2px;margin:0;text-align:right}
 .market-preview-column .quote-head>.currency-flag{display:none}
 .market-preview-column .quote-head strong{font-size:22px;line-height:1.25}
 .market-preview-column .quote-head>div:last-child{display:flex;gap:6px;justify-content:flex-end;align-items:center;flex-wrap:wrap;font-size:11px}
 .market-preview-column .quote-meta{grid-column:1/-1}
}
/* Desktop dashboard density: compact controls retain a 220px geographic viewport. */
@media(min-width:1024px){
 .dashboard-page .geography-card>.card-head{padding:8px 12px 5px;margin:0;min-height:34px;align-items:center}
 .dashboard-page .geography-card>.card-head h2{margin:0;font-size:16px;line-height:1.3}
 .dashboard-page .geography-card>.card-head .meta{margin:0;line-height:1.3}
 .dashboard-page .workspace-globe{height:290px;min-height:0}
 .dashboard-page .workspace-globe .exchange-globe{min-height:0}
 .dashboard-page .workspace-globe .eg-viewport{min-height:220px}
 .dashboard-page .workspace-globe .eg-top{padding:5px 9px;min-height:42px;gap:5px}
 .dashboard-page .workspace-globe .eg-search input{height:32px;min-height:32px;padding:5px 9px;font-size:12px;line-height:20px}
 .dashboard-page .workspace-globe .eg-top button{min-height:30px;height:30px;padding:4px 6px}
 .dashboard-page .workspace-globe .eg-credit{padding:3px 12px;font-size:9px;line-height:14px}
 .dashboard-page .geography-card .route-ribbon{min-height:36px;padding:5px 12px;gap:8px}
 .dashboard-page .geography-card .route-ribbon strong{font-size:12px}
 .dashboard-page .auto-summary.compact{gap:7px;padding:12px}
 .dashboard-page .auto-summary .card-head .text-button{min-height:28px}
 .dashboard-page .auto-status-heading .metric-icon{width:38px;height:38px}
 .dashboard-page .auto-status-heading h3{font-size:16px;line-height:1.25;margin:0 0 3px}
 .dashboard-page .auto-status-heading .status-reason{font-size:12px;line-height:1.4;margin:0}
 .dashboard-page .execution-phases{padding:4px 0}
 .dashboard-page .execution-phases li{gap:4px;font-size:12px;line-height:1.3}
 .dashboard-page .execution-phases li>span{width:26px;height:26px}
 .dashboard-page .execution-phases li:before{top:13px}
 .dashboard-page .auto-summary .latest-route{padding:7px;gap:4px}
 .dashboard-page .auto-summary .latest-route>small{font-size:11px;line-height:1.3}
 .dashboard-page .auto-summary .latest-route>strong{font-size:12px;line-height:1.4}
 .dashboard-page .auto-summary .full-width{min-height:38px;padding:8px 12px}
 .dashboard-page .auto-summary .next-event{padding-top:7px;line-height:1.4}
 .dashboard-page .workspace-lower-grid>.recent-fills{margin-top:0}
 .dashboard-page .workspace-lower-grid .card-head h2{margin-top:0;margin-bottom:0}
 .dashboard-page .workspace-lower-grid .card-head{align-items:center;margin-bottom:8px}
 .dashboard-page .performance-total{min-height:34px;gap:4px 12px}
 .dashboard-page .performance-total small{flex-basis:auto}
 .dashboard-page .conversion-row{padding:10px 0;gap:8px}
 .dashboard-page .summary-metric .metric-copy>span{font-size:12px;line-height:1.25}
 .dashboard-page .summary-metric .metric-copy>small{font-size:11px;line-height:1.3}
 .dashboard-page .summary-metric .metric-copy>strong{line-height:1.15}
}

@media(min-width:1024px){
 .market-search-bar{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:14px;padding:4px 0 10px;align-items:start}
 .market-search-bar .view-switch{margin:0;border-bottom:0;align-self:start}
 .market-search-bar .view-switch button{padding:8px 10px;min-height:36px;font-size:11px}
 .market-search-bar .market-controls{padding:0;min-width:0}
 .market-search-bar .search-field{min-width:150px}
 .market-search-bar .search-field input{min-height:36px;padding-top:7px;padding-bottom:7px;font-size:12px}
 .market-search-bar .market-extra-filters summary{margin-top:5px;font-size:11px}
 .market-search-bar .market-primary-controls{gap:7px}
 .market-search-bar .market-quick-filters{gap:2px}
 .market-search-bar .market-quick-filters .tab{padding:7px 8px;font-size:10px}
 .market-preview-column .chart-source-reason{font-size:11px;margin:0;line-height:1.5}
 .market-preview-column .chart-source-reason summary{cursor:pointer}
 .market-preview-column .chart-source-reason p{font-size:11px;margin:8px 0 0}
}

/* Revision07: tighten the existing desktop comparison and summary grids only. */
@media(min-width:1024px){
 .market-preview-heatmap .heatmap-heading{padding:0 0 8px;margin-bottom:4px}
 .market-preview-heatmap .heatmap-scroll{padding:0 0 6px}
 .market-preview-heatmap .cross-heatmap td{height:44px}
 .market-preview-heatmap .cross-heatmap th{padding:5px 2px}
 .market-preview-heatmap .cross-heatmap button{min-height:40px;padding:4px 2px}
 .statement-workspace #design-statement-selection{padding:18px}
 .statement-workspace #design-statement-selection>.card-head{margin-bottom:12px}
 .statement-workspace #design-statement-selection .statement-financial-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}
 .statement-workspace .statement-financial-summary .design-value{padding:10px;min-width:0}
 .statement-workspace .statement-financial-summary .design-value strong{font-size:clamp(16px,1.6vw,22px);white-space:nowrap}
 .statement-workspace #design-statement-selection>.definition{row-gap:9px}
 .statement-workspace #design-statement-selection>.form-actions{margin-top:12px}
 .statement-workspace #design-statement-selection>.design-detail-section{margin-top:16px;padding-top:12px}
 .ad-account>.ad-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:18px}
 .ad-account>.ad-tabs>button{min-width:0;padding:11px 12px}
}

/* Revision10 A: width-led upper-hemisphere framing, scoped to Dashboard. */
@media(min-width:1024px){
 .dashboard-page .dashboard-main-grid{grid-template-columns:minmax(0,1.72fr) minmax(300px,1fr);align-items:stretch}
 .dashboard-page .workspace-globe{height:370px;min-height:0}
 .dashboard-page .workspace-globe .eg-viewport{min-height:300px}
 .dashboard-page .auto-summary.compact{gap:12px;padding:16px}
 .dashboard-page .auto-summary .latest-route{padding:12px;gap:8px}
 .dashboard-page .auto-summary .full-width{margin-top:auto;min-height:42px}
}
/* F06: all four account areas stay present; section navigation never swaps forms. */
.ad-account-overview>.ad-account-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px}
.ad-account-overview [data-account-section]{min-width:0;padding:20px;scroll-margin-top:24px;scroll-margin-bottom:100px}
.ad-account-overview [data-account-section]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.ad-account-overview .card-head{margin-bottom:16px}
.ad-account-overview .card-head h2{font-size:19px;margin:0}
.ad-account-overview .ad-profile-summary{gap:16px;margin-bottom:20px}
.ad-account-overview .ad-profile-summary .avatar{width:58px;height:58px;flex-shrink:0;font-size:21px}
.ad-account-overview .ad-profile-summary>div{min-width:0}
.ad-account-overview .ad-profile-summary h2{font-size:18px;line-height:1.4}
.ad-account-overview .ad-profile-summary .meta{overflow-wrap:anywhere;font-size:13px}
.ad-account-overview .definition{margin:16px 0;row-gap:9px}
.ad-account-overview .actions{gap:8px;flex-wrap:wrap}
.ad-account-overview .actions>.btn{min-height:40px}
.ad-account-overview h3{margin:18px 0 6px;font-size:14px}
.ad-account-overview .ad-setting-row{padding:12px 0;gap:10px;min-width:0}
.ad-account-overview .ad-setting-row>div{min-width:0;gap:12px}
.ad-account-overview .ad-setting-row>div>span{min-width:0}
.ad-account-overview .ad-setting-row small{line-height:1.5;overflow-wrap:anywhere}
.ad-account-overview .ad-session-row .btn{flex-shrink:0}
.ad-account-overview .ad-form{gap:14px}
.ad-account-overview .ad-form>.footnote{margin:0}
.ad-account-overview .ad-form>[type=submit]{width:100%}
.ad-account-overview .ad-asset-label{margin:0 0 16px;padding:12px}
.ad-account-overview .code-box{overflow-wrap:anywhere;word-break:break-word}
.ad-account-overview .form-actions{margin:14px 0}
.ad-account-overview .form-actions>.primary{width:100%}
.ad-account-overview .footnote{font-size:11px;line-height:1.55}
.ad-account-details{border-top:1px solid var(--line);margin-top:16px;padding-top:8px;min-width:0}
.ad-account-details>summary{cursor:pointer;font-size:12px;line-height:1.5;min-height:34px;padding:7px 0;color:#acc4d6}
.ad-account-details .ad-status-grid{margin-top:10px}
.ad-account-details .ad-history-row{font-size:12px}
.ad-account-details .ad-timeline{margin:10px 0 0}
@media(width < 960px){
 .ad-account-overview>.ad-account-grid{grid-template-columns:minmax(0,1fr)}
 .ad-account-overview [data-account-section=profile]{order:1}
 .ad-account-overview [data-account-section=security]{order:2}
 .ad-account-overview [data-account-section=addresses]{order:3}
 .ad-account-overview [data-account-section=notifications]{order:4}
}
@media(width < 768px){
 .ad-account-overview>.ad-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
 .ad-account-overview>.ad-tabs>button{min-width:0;width:100%;padding:10px 8px;font-size:12px;text-align:center!important}
 .ad-account-overview [data-account-section]{padding:18px;scroll-margin-top:16px;scroll-margin-bottom:100px}
 .ad-account-overview .card-head h2{font-size:18px}
 .ad-account-overview .ad-form input:not([type=checkbox]),.ad-account-overview .ad-form select{font-size:16px;max-width:100%}
 .ad-account-overview .actions>.btn{flex:1;min-width:0;white-space:normal;line-height:1.4}
 .ad-account-overview .ad-setting-row{flex-wrap:wrap}
 .ad-account-overview .ad-session-row>.btn{margin-left:auto}
 .ad-account-overview .ad-status-grid{grid-template-columns:minmax(0,1fr)}
}
/* R11: each ledger value is one responsive cell, with postings stacked together. */
.residual-order-evidence.trade-fill-card .definition{grid-template-columns:minmax(170px,.65fr) minmax(0,2fr);gap:10px 24px}
.residual-order-evidence .definition dt{overflow-wrap:normal;word-break:normal}
@media(width < 768px){
  .residual-order-evidence.trade-fill-card .definition{grid-template-columns:minmax(0,1fr);gap:3px}
  .residual-order-evidence .definition dd{text-align:left;margin:0 0 12px;overflow-wrap:anywhere}
  .residual-order-evidence .definition dd:last-child{margin-bottom:0}
}
#design-ledger .ledger-reference,#design-ledger .ledger-movements{display:grid;gap:6px;min-width:0}
#design-ledger .ledger-movement{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 12px;padding:4px 0}
#design-ledger .ledger-bucket{min-width:0;overflow-wrap:anywhere}
#design-ledger .ledger-amount{font-variant-numeric:tabular-nums;text-align:right}
@media(width < 768px){
  #design-ledger table.responsive td{display:grid;grid-template-columns:minmax(84px,.65fr) minmax(0,1.35fr);gap:8px 12px;align-items:start;text-align:left}
  #design-ledger table.responsive td::before{max-width:none;min-width:0}
  #design-ledger table.responsive td>*{max-width:none;min-width:0}
  #design-ledger table.responsive td small{display:block}
  #design-ledger .ledger-movement{grid-template-columns:minmax(0,1fr);gap:2px;border-bottom:1px solid var(--line);padding:3px 0 7px}
  #design-ledger .ledger-movement:last-child{border-bottom:0}
  #design-ledger .ledger-amount{text-align:left}
  #design-ledger [data-action="design-ledger-detail"]{justify-self:start;width:auto;max-width:100%}
}

/* English website file picker. Native OS dialog language is outside this control. */
body input.native-file-input[type=file][data-english-file-input]{position:absolute!important;display:block!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;border:0!important;opacity:0;pointer-events:none}
body .file-picker>[data-file-choose]{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;min-height:44px}
body .file-picker>[data-file-choose]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body .file-input-label{position:absolute!important;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
body .file-picker>[data-file-name]{overflow-wrap:anywhere;line-height:1.5}

/* Source: manual-conversions.css */
.mc-panel{margin-top:20px;min-width:0}.mc-panel .card-head,.mc-detail .card-head{flex-wrap:wrap;gap:12px}.mc-panel p,.mc-modal p,.mc-modal .mono,.mc-panel .mono{overflow-wrap:anywhere}.mc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.mc-list>*{min-width:0}.mc-facts{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(0,1.5fr);gap:10px 24px;margin:16px 0;font-size:14px}.mc-facts dt{color:var(--muted);overflow-wrap:normal}.mc-facts dd{margin:0;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.mc-modal,.mc-modal>*{min-width:0;max-width:100%}.mc-modal .design-inset{margin:16px 0}.mc-modal .form-grid>label{display:grid;gap:8px;min-width:0}.mc-modal .form-grid>label.checkbox,.mc-modal fieldset .checkbox{display:flex;align-items:flex-start}.mc-modal input,.mc-modal textarea,.mc-modal select{max-width:100%;min-width:0}.mc-modal fieldset{min-width:0;border:1px solid var(--line);padding:14px;border-radius:8px}.mc-modal fieldset legend{font-size:14px;padding:0 7px}.mc-modal fieldset .checkbox{margin:12px 0}.mc-modal .form-actions{flex-wrap:wrap}.mc-modal .form-actions .btn{white-space:normal;overflow-wrap:anywhere}.mc-modal .pa-notice{grid-column:1/-1}.mc-modal .badge,.mc-panel .badge{white-space:normal;overflow-wrap:anywhere}.mc-panel details{margin-top:14px}
.mc-modal .checkbox input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-width:18px;min-height:18px;margin:3px 8px 0 0;align-self:flex-start}
@media(width < 768px){.mc-list{grid-template-columns:minmax(0,1fr)}.mc-facts{grid-template-columns:minmax(0,1fr);gap:4px;font-size:13px}.mc-facts dd{margin-bottom:11px;text-align:left}.mc-modal .form-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:10px}.mc-modal .form-actions .btn{width:100%;min-height:44px}.mc-panel .card-head>.btn{width:100%}.mc-modal fieldset{padding:12px}.mc-modal .design-inset{padding:12px}}

/* Source: revision12-design.css */
/* Reference-aligned presentation only. No amounts, states or permissions are inferred by CSS. */
:root{--panel-edge:#203f52;--panel-highlight:#12d8cd}
.mobile-brand{display:none}
.card,.summary-metric,.ad-auth-card{border-color:var(--panel-edge);background:linear-gradient(145deg,#0c2130,#081927)}
.sidebar,.ad-admin-sidebar{background:linear-gradient(160deg,#091e2c,#061522)}
.nav-item svg,.ad-admin-nav svg{stroke-width:1.65}
.nav-item.active,.ad-admin-nav .active{background:linear-gradient(90deg,#07434a,#0b303e);color:#15e8db}
.btn.primary{background:linear-gradient(100deg,#10d5cc,#05d9c3);color:#022f34;border-color:#0de1d2}
.btn:not(.primary){border-color:#315168;background:linear-gradient(#102b3c,#0b1e2d)}
.btn:focus-visible,.text-button:focus-visible,.icon-button:focus-visible{outline:2px solid #70fff0;outline-offset:3px}
.card-head h2,.ad-panel-head h2{letter-spacing:-.018em}
.summary-metric strong,.design-value strong,.ad-metric strong{font-variant-numeric:tabular-nums}
.metric-icon,.ad-metric-icon{background:linear-gradient(150deg,#0b3d4c,#102b40);color:#44d7ef}
.design-metric{position:relative;padding-left:62px}
.design-metric-icon{position:absolute;left:18px;top:22px;display:grid;place-items:center;color:#36dadd}
.design-metric-icon svg{width:28px;height:28px}
.currency-flag{box-shadow:0 0 0 1px #c6e5f322;vertical-align:middle}
.market-currency-row.selected,.ad-record.selected,.statement-day.selected,.activity-record.selected{outline:1px solid #16d9d0;outline-offset:-1px;background:linear-gradient(95deg,#09353f,#0a2432)}
.market-currency-row .currency-select .currency-flag{width:32px;height:22px}
.ad-facts dt,.definition dt{color:#a9c7dc}
.ad-facts dd,.definition dd{font-variant-numeric:tabular-nums}
:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) thead,.responsive thead{background:#102c40}
:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tbody tr:hover{background:#0a2c39}
.ad-record{border-radius:8px;margin-bottom:5px;padding:12px}
.ad-record-top{align-items:center;gap:10px}.ad-record-bottom{margin-top:6px}
.ad-notification-row,.ad-ticket{border-color:#203f52}
.ad-notification-row.selected,.ad-ticket.selected{box-shadow:inset 0 0 0 1px #12d8cd}
.ad-message,.messages .message{border-radius:14px}
.ad-account-overview #ad-account-notifications .checkbox{position:relative;padding:15px 56px 15px 0;min-height:62px}
.ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]{appearance:none;position:absolute;right:0;top:22px;width:42px;min-width:42px;height:24px;min-height:24px;padding:0;border:1px solid #528098;border-radius:20px;background:#102c3e;cursor:pointer}
.ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]:after{content:'';position:absolute;width:18px;height:18px;left:2px;top:2px;border-radius:50%;background:#c5dcec}
.ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]:checked{background:#0acabc;border-color:#43f5e8}
.ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]:checked:after{left:20px;background:#fff}
.ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]:focus-visible{outline:2px solid #70fff0;outline-offset:3px}
/* A real, visible native file input retains keyboard and browser file-chooser support. */
input.native-file-input[type=file]{position:relative!important;display:block;width:100%!important;height:auto!important;min-height:44px!important;max-width:100%;padding:7px!important;margin:8px 0!important;clip-path:none!important;overflow:visible;white-space:normal;border:1px solid #36576a!important;background:#081d2c;font-size:13px;line-height:28px}
input.native-file-input[type=file]::file-selector-button{border:1px solid #3e6d80;border-radius:6px;background:#123748;color:#e9f7ff;padding:5px 12px;font:inherit;margin-right:10px;cursor:pointer}
input.native-file-input[type=file]:focus-visible{outline:2px solid #70fff0;outline-offset:3px}
input.native-file-input[type=file]+.file-picker{margin:0 0 8px;min-width:0}
input.native-file-input[type=file]+.file-picker>label{display:none}
input.native-file-input[type=file]+.file-picker>[data-file-name]{color:#a8c9dc;font-size:12px}
.ad-mfa-stage input[name=totp]{max-width:340px;min-height:55px;font-size:25px;letter-spacing:.56em;font-variant-numeric:tabular-nums;font-family:ui-monospace,monospace;padding-left:18px}
.ad-round-icon{background:radial-gradient(circle at 35% 25%,#244b63,#102b40)}
.ad-document-body{line-height:1.7;font-size:15px}
.design-failure{border-color:#31556b}.design-error-icon{box-shadow:0 0 0 8px #0a273b66}
@media(min-width:1280px){.topbar .top-search{flex:1;max-width:440px;min-width:230px;margin-left:auto}.topbar{gap:22px}.ad-workbench{grid-template-columns:minmax(260px,.34fr) minmax(0,1fr)}.ad-queue>.ad-panel-head{margin-bottom:12px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th,:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding-top:11px;padding-bottom:11px}}
@media(width < 768px){
 .mobile-brand{display:block;flex:1;min-width:0;max-width:48%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:750;letter-spacing:.015em;color:#e7f9fc}
 .topbar>.breadcrumb{display:none}.topbar{gap:7px;min-height:64px;height:64px}.topbar .top-search{flex:none;min-width:30px;max-width:30px;padding:4px;border:0;background:none}.topbar .top-search svg{width:18px;height:18px}.topbar .top-actions{gap:6px}.topbar .connection-status{font-size:0;gap:0;min-width:8px}.topbar .connection-status:before{width:7px;height:7px}.topbar .account-menu{gap:0}.topbar .notification-button{min-width:32px;width:32px}.topbar .account-menu .avatar{width:32px;height:32px;font-size:12px}
 .main{padding-left:14px;padding-right:14px}.page-header{margin-top:16px;margin-bottom:14px}.page-header h1{font-size:26px}.card{border-radius:11px}
 .design-metric{padding:14px 12px 14px 43px}.design-metric-icon{left:11px;top:16px}.design-metric-icon svg{width:22px;height:22px}.design-metric .design-value>strong{font-size:20px}.design-metric .design-value>span{font-size:11px}.design-metric small{font-size:11px;line-height:1.4}
 .market-currency-row .currency-select .currency-flag{width:30px;height:30px;border-radius:50%;background:#fff;padding:2px;object-fit:cover}.market-currency-row{padding-top:14px;padding-bottom:14px}.market-currency-row .currency-select b{font-size:13px}.market-currency-row .market-row-price b{font-size:14px}
 .ad-record{padding:12px;margin-bottom:7px}.ad-record-top b{font-size:13px}.ad-record-bottom small{font-size:11px}.ad-record .badge{font-size:10px}
 .ad-account-overview #ad-account-notifications .checkbox{padding-right:52px}.ad-document-body{font-size:14px;line-height:1.65}
 .ad-auth-card{padding:22px 18px}.ad-auth-card h1{font-size:28px}.ad-mfa-stage input[name=totp]{font-size:23px;letter-spacing:.5em;width:100%}
 .form-actions{row-gap:9px}.form-actions .btn{min-height:42px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-facts{font-size:13px;row-gap:11px}
 input.native-file-input[type=file]{font-size:12px;line-height:28px}input.native-file-input[type=file]::file-selector-button{padding:5px 9px}
}
@media(prefers-reduced-motion:reduce){.ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]:after{transition:none}}

.private-evidence-dialog{width:min(940px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:22px;border:1px solid #315b70;border-radius:12px;background:#081d2c;color:#edf8ff}
.private-evidence-dialog::backdrop{background:#020a12bb}
.private-evidence-dialog .modal-heading{gap:16px;align-items:flex-start;flex-wrap:wrap}.private-evidence-dialog h2{overflow-wrap:anywhere;min-width:0;font-size:20px}
.private-evidence-dialog .modal-heading .btn{flex-shrink:0}.private-evidence-body{display:grid;gap:15px;min-width:0}.private-evidence-body>.btn{justify-self:start}
.private-evidence-text{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;padding:16px;border:1px solid #294859;border-radius:8px;background:#061522;line-height:1.6;font-size:13px}
.private-evidence-body img{max-width:100%;height:auto;object-fit:contain;border-radius:6px}

/* Source: revision13-design.css */
/* Scoped evidence and availability hierarchy; original globe and Account grid retained. */
.principal-availability{margin:0 0 24px;padding:18px 22px;background:#0a1b2b;border:1px solid #244658;border-radius:14px}
.principal-availability>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.principal-availability .design-value{min-width:0;gap:7px}
.principal-availability .design-value strong{font-size:1.25rem;font-variant-numeric:tabular-nums}
.principal-availability .footnote{margin:16px 0 0;line-height:1.6}
.design-withdraw-form .principal-availability{margin:16px 0;padding:16px}
.mc-cost-breakdown,.mc-receipt-outcome{margin:20px 0 0;padding:18px;border:1px solid #254354;border-radius:12px;background:#0b1c2b}
.mc-cost-breakdown h4,.mc-receipt-outcome h4{margin:0 0 14px;font-size:1rem}
.mc-cost-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.mc-cost-list li{display:grid;grid-template-columns:minmax(100px,.65fr) minmax(0,1.6fr);gap:14px;padding:12px 0;border-bottom:1px solid #23384b}
.mc-cost-list strong{color:#ecf7fc;font-variant-numeric:tabular-nums}
.mc-cost-list span{color:#aebfce;font-size:.88rem;line-height:1.5}
.mc-receipt-outcome.requires-review{border-color:#8b6836;background:#251f19}
.mc-receipt-outcome.requires-review h4{color:#f5cd85}
.mc-receipt-outcome p{line-height:1.65}
.mc-detail .mc-facts dt,.mc-detail .mc-facts dd,.manual-statement-evidence .mc-facts dt,.manual-statement-evidence .mc-facts dd{padding:9px 0;border-bottom:1px solid #22394a;margin:0;min-width:0;overflow-wrap:anywhere}
.manual-statement-evidence{margin-top:24px;padding-top:22px;border-top:1px solid #284154}
.manual-statement-record{margin:14px 0;border:1px solid #29475a;border-radius:12px;padding:16px;min-width:0}
.manual-statement-record summary{font-weight:600;cursor:pointer;line-height:1.65;overflow-wrap:anywhere}
.manual-statement-record .mono{overflow-wrap:anywhere}
.manual-statement-record .mc-facts{display:grid;grid-template-columns:minmax(130px,.9fr) minmax(0,1.1fr);gap:0 18px}
.pa-plan .ad-facts dd,.pa-plan .pa-reference{overflow-wrap:anywhere;min-width:0}
.wallet-ownership-note{padding:14px;border-left:3px solid #44cabd;background:#102536;line-height:1.65}
@media(width < 768px){
 .principal-availability{padding:16px;margin-bottom:18px}
 .principal-availability>div{gap:16px;grid-template-columns:1fr}
 .principal-availability .design-value{display:flex;justify-content:space-between;align-items:start;gap:14px}
 .principal-availability .design-value span{max-width:65%;line-height:1.5}
 .principal-availability .design-value strong{font-size:1.1rem;white-space:nowrap}
 .mc-cost-breakdown,.mc-receipt-outcome{padding:14px}
 .mc-cost-list li{grid-template-columns:1fr;gap:5px}
 .manual-statement-record{padding:13px}
 .manual-statement-record .mc-facts{grid-template-columns:1fr;gap:0}
 .manual-statement-record .mc-facts dt{border-bottom:0;padding:10px 0 2px;color:#aebfce}
 .manual-statement-record .mc-facts dd{padding:0 0 10px}
}

/* Source: revision14-design.css */
/* Revision14: measured reference layout families. All financial text remains server-owned. */
:root{--bg:#07111f;--panel:#0d1b2a;--panel2:#112438;--line:#23374b;--muted:#9fb0c3;--text:#e8f0f8;--accent:#2dd4bf;--radius:14px}
body{font-feature-settings:"cv02","cv03","cv04","cv11";font-variant-numeric:tabular-nums}
.card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.ad-card,.summary-metric{border-radius:12px;box-shadow:inset 0 1px 0 #8abacf05;background:linear-gradient(145deg,#0b2030,#0b1928)}
.card-head h2,.ad-panel-head h2{font-size:17px;font-weight:650;letter-spacing:-.025em}
.btn,.text-button,.icon-button{min-height:44px;line-height:1.35}
.btn{border-radius:7px;font-size:13px;font-weight:600;padding:10px 15px}
.btn.primary{background:#19d3c5;border-color:#27e0d0;color:#032b32}
.btn.primary:hover:not(:disabled){background:#37e2d3}
input:not([type=checkbox]):not([type=radio]),select,textarea{border-radius:7px;min-width:0}
.badge{font-weight:500;max-width:100%;line-height:1.35;white-space:normal}
/* A–E: consistent header, four summary columns, large guide, right execution card. */
@media(min-width:1280px){
 .sidebar{width:232px;padding:26px 17px 18px}.main{margin-left:232px;padding-right:24px;padding-left:24px}
 .sidebar .brand{padding:0 8px 25px}.sidebar .nav-caption{margin-top:3px;margin-bottom:12px}.sidebar nav{gap:5px}
 .nav-item{min-height:45px;padding:10px 12px;font-size:13px;gap:12px}.topbar{height:75px}
 .summary-metric{min-height:96px;padding:15px;gap:12px}.metric-copy strong{font-size:28px}.metric-copy>span{font-size:12px}
 .dashboard-main-grid{grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:16px}
 .dashboard-lower-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px}
 .auto-main-grid{grid-template-columns:minmax(0,1.18fr) minmax(335px,1fr)}
 .auto-summary .latest-route{padding:13px;margin-top:8px}.auto-summary .execution-phases{padding:10px 0}
 .performance-card,.recent-conversions{padding:18px}.performance-card .large-chart{min-height:210px}
}
.geography-card .card-head{align-items:center;gap:12px;padding:14px 16px 9px}.geography-card .card-head>.meta{font-size:10px;max-width:160px;text-align:right}
.geography-card .exchange-globe .eg-label{background:#081b29b3;border-color:#91b5be18;border-radius:4px;text-shadow:0 1px 3px #000}
.geography-card .exchange-globe .eg-label.selected{background:#0a3b43e6;border-color:#42e2cb;color:#dcfff8}
.geography-card .exchange-globe .eg-bottom{inset:0;display:block;pointer-events:none}.geography-card .exchange-globe .eg-info{position:absolute;top:12px;right:12px;max-width:46%;background:#092434e8;border-color:#375564}
.geography-card .exchange-globe .eg-mode{position:absolute;bottom:9px;right:9px;font-size:9px}.geography-card .exchange-globe .eg-tools button{min-width:38px;min-height:36px}
.geography-card .exchange-globe .eg-top{padding:8px 10px}.geography-card .exchange-globe .eg-search input{min-height:36px}.geography-card .exchange-globe .eg-results button{min-height:44px;text-align:left}
/* B/T01/T02: price hierarchy and status legend remain distinct from order availability. */
.market-explorer .market-currency-row{padding:14px 3px}.market-currency-row.selected{padding-left:10px}
.market-currency-row .market-row-price b{font-variant-numeric:tabular-nums}.market-price-facts>div,.market-observed-stats>div{border-color:#28465b;background:#0c2334;border-radius:8px}
.coverage-strip{gap:12px;flex-wrap:wrap;line-height:1.5}.market-chart-card .quote-head{padding-bottom:12px;border-bottom:1px solid var(--line)}
/* F01–F06/U01: proportioned login, linked verification stages and complete Account cards. */
.ad-auth-layout{gap:32px;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr)}.ad-auth-card{padding:30px}
.ad-auth-story h1{line-height:1.15;max-width:520px}.ad-auth-card>.meta{margin-bottom:24px}.ad-form{gap:17px}
.account-progress{border-color:#284256;background:#0c2030}.account-progress li.done>span,.account-progress li.current>span{box-shadow:0 0 0 4px #2dd4bf10}
.ad-upload-card,.ad-camera-card,.ad-face-frame{border-radius:12px}.ad-document-grid{gap:20px}.ad-provider-check :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){line-height:1.6}
.ad-account-overview{gap:18px}.ad-account-overview>.card{padding:22px;min-width:0}.ad-account-overview .ad-setting-row{padding-top:17px;padding-bottom:17px}
.ad-account-overview .ad-empty-address{border:1px dashed #36566a;border-radius:10px;padding:22px 16px}.ad-tabs{border-bottom-color:#2a4258}.ad-document-body h2,.ad-document-body h3{padding-top:8px}
/* W01–W06/T03: clear amount blocks, reference detail and vertically connected progress. */
.design-metrics{gap:14px}.design-metric{min-height:110px;padding-top:19px;padding-bottom:19px}.design-metric .design-value>strong{font-size:28px;line-height:1.25}.design-metric .design-value>span{font-size:12px}
.design-two-column{gap:18px}.wallet-actions .btn{min-height:48px}.wallet-allocation .allocation-ring{filter:drop-shadow(0 8px 18px #00cbbb12)}
.design-inset,.deposit-request-layout>section,.withdraw-summary{border-color:#29465b;border-radius:11px}.deposit-request-layout .qr{border-radius:9px;border:10px solid #e8f1f7;background:#e8f1f7;max-width:100%;object-fit:contain}
.design-timeline li{padding-bottom:20px}.design-timeline .timeline-dot{width:30px;height:30px}.design-timeline p{line-height:1.6}
.statement-day,.activity-record{border-radius:8px;padding:14px}.statement-layout,.activity-layout{gap:18px}.statement-breakdown{line-height:1.7}
.mc-receipt-outcome .mc-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
/* T05/T06/R05: ticket/message/context proportions; readable composer and unread state. */
.ad-support-grid{gap:16px}.ad-conversation,.ad-ticket-context{border-radius:12px}.ad-ticket{padding:15px;border-radius:8px}.ad-notification{padding-top:17px;padding-bottom:17px}
.ad-message,.message{line-height:1.65}.ad-conversation .chat-input textarea,.ad-support-form textarea{background:#081b2a;border-color:#365164}
.ad-ticket.selected,.ad-notification-row.selected{border-color:#2dd4bf;background:#0d313c}
/* E/R01–R06/S01–S07: work queue, evidence and independent actions share a 30/70 grid. */
@media(min-width:1280px){
 .ad-workbench{grid-template-columns:minmax(255px,.78fr) minmax(0,2fr);gap:18px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){gap:16px}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:18px}
 .ad-grid-2,.ad-grid-7-5{gap:18px}.ad-record{padding:14px}.ad-provider-cards{gap:12px}.ad-provider-card{padding:17px}
 .ad-health-metrics{gap:14px}.ad-staff-chat-grid{grid-template-columns:minmax(0,1.55fr) minmax(235px,1fr);gap:16px}
}
:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:27px}.ad-member-header{padding:18px}.ad-member-header h2{font-size:22px}.ad-balance-grid>div{padding:14px}.ad-balance-grid b{font-size:23px}
.ad-facts{gap:12px 18px;line-height:1.6}.ad-facts dd{margin:0;overflow-wrap:anywhere}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th{font-size:11px;font-weight:600;color:#adc4d6}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{line-height:1.6}
.ad-progress{padding:18px 12px;border-radius:10px;background:#0c2434}.ad-result{border-radius:9px}.ad-save-bar,.ad-settlement-strip{border-radius:10px}
.ad-provider-card.selected,.ad-record.selected{box-shadow:inset 0 0 0 1px #2dd4bf;border-color:#2dd4bf}
/* U02/U03: one inline error and readable print/PDF links without fabricated outcomes. */
.inline-error{border:1px solid #ad5364;border-radius:8px;background:#3a202c;color:#ffbdc5;line-height:1.6;padding:12px 14px;overflow-wrap:anywhere}
.design-failure{padding:30px;gap:22px}.manual-statement-record .mc-facts{line-height:1.65}.record-reference code{overflow-wrap:anywhere}
@media(min-width:768px) and (max-width:1279px){
 .sidebar{width:76px;padding:24px 10px}.sidebar .brand div,.sidebar .nav-item span,.sidebar-foot,.sidebar .nav-caption{display:none}.sidebar .brand{padding:0 10px 24px}.nav-item{padding:12px;justify-content:center;min-height:46px}.main{margin-left:76px;padding:0 20px 32px}
 .topbar .top-search{min-width:100px;max-width:300px}.topbar .top-search kbd,.topbar .account-name{display:none}.topbar{gap:12px}
 .dashboard-main-grid,.auto-main-grid{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ad-workbench{grid-template-columns:minmax(220px,.8fr) minmax(0,1.7fr)}.ad-staff-chat-grid{grid-template-columns:1fr}.ad-staff-context{max-height:none}
 .ad-auth-layout{gap:24px;grid-template-columns:minmax(0,1fr) minmax(330px,1fr)}.ad-auth-hero{min-height:530px}.ad-auth-story h1{font-size:36px}
}
@media(min-width:768px) and (max-width:1023px){.dashboard-main-grid,.auto-main-grid{grid-template-columns:1fr}.dashboard-main-grid .auto-summary{display:flex}.dashboard-lower-grid,.auto-lower-grid{grid-template-columns:1fr}.ad-workbench{grid-template-columns:1fr}.ad-account-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(width < 768px){
 .main{margin-left:0;padding:0 14px calc(96px + env(safe-area-inset-bottom))}.sidebar{display:none}.topbar{height:64px}.topbar .account-menu,.topbar .notification-button{min-height:44px;min-width:40px}
 .mobile-nav{padding-top:6px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.mobile-nav button{min-height:48px;line-height:1.35;font-size:10px}
 .page-header h1{font-size:25px}.page-header{gap:12px}.page-header>.actions{flex-wrap:wrap}.card-head{flex-wrap:wrap}.card-head h2{font-size:16px}
 .btn,.text-button,.icon-button,.tab,.period-switch button,.view-switch button{min-height:44px}.form-actions{gap:10px}.form-actions .btn{white-space:normal}
 .summary-metric{min-height:87px;padding:12px}.metric-copy strong{font-size:22px}.dashboard-metrics .summary-metric[data-key=metric-today] strong{font-size:36px}.summary-metric .metric-copy>span{font-size:11px;line-height:1.4}
 .dashboard-page .workspace-globe{height:360px}.geography-card .card-head{padding:12px}.geography-card .exchange-globe .eg-top{flex-wrap:wrap;gap:7px}.geography-card .exchange-globe .eg-search{flex-basis:100%;max-width:none}.geography-card .exchange-globe .eg-search input{min-height:42px;font-size:14px}
 .geography-card .exchange-globe .eg-tools{width:100%;justify-content:flex-end;gap:6px}.geography-card .exchange-globe .eg-tools button{min-width:44px;min-height:44px;font-size:12px}.geography-card .exchange-globe .eg-info{top:10px;right:9px;padding:7px 9px;font-size:10px;max-width:52%}.geography-card .exchange-globe .eg-info button{min-height:32px}.geography-card .exchange-globe .eg-info strong{font-size:12px}.geography-card .exchange-globe .eg-mode{font-size:8px;bottom:6px}
 .market-currency-row .currency-select{min-height:44px}.market-currency-row>.icon-button{min-width:36px}.market-search-bar .market-quick-filters .tab{min-height:44px}.coverage-strip{font-size:11px}
 .ad-auth{padding:0 16px}.ad-auth-layout,.ad-auth-layout.register{display:block;margin-top:20px}.ad-auth-card,.ad-auth-layout.register .ad-auth-card{padding:24px 18px}.ad-auth-header{min-height:64px}
 .ad-account-overview{display:grid;grid-template-columns:1fr;gap:16px}.ad-account-overview>.card{padding:20px}.ad-account .ad-tabs{gap:4px;flex-wrap:wrap}.ad-account .ad-tabs>button{font-size:11px;min-height:44px;padding:9px 8px}.ad-account-overview .ad-setting-row{padding:15px 0}
 .design-metrics{gap:10px}.design-metric{padding:15px 10px 15px 43px;min-height:90px}.design-metric .design-value>strong{font-size:21px}.design-metric .design-value>span{font-size:11px}.design-metric small{font-size:11px}
 .deposit-request-layout .qr{width:190px;height:190px;object-fit:contain}.statement-day,.activity-record{padding:13px}.mc-receipt-outcome .mc-facts{grid-template-columns:1fr}
 :is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:23px}:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:16px}.ad-member-header{padding:15px}.ad-member-header h2{font-size:20px}.ad-balance-grid b{font-size:21px}.ad-metric{padding:12px;min-height:72px}.ad-metric strong{font-size:24px}.ad-metric small{font-size:11px}
 .ad-record{padding:14px}:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail) .ad-facts{font-size:13px;gap:10px}.ad-panel-head h2{font-size:16px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{font-size:13px}:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:before{font-size:11px}.ad-back-to-queue{min-height:44px}
 .ad-support .ad-conversation,.ad-workbench[data-mobile-detail=true] .ad-chat{min-height:440px}.ad-support-form textarea,.ad-conversation textarea{font-size:16px;min-height:64px}.ad-compose-actions .btn,.ad-conversation .chat-input .btn{min-width:62px;min-height:44px}
 .ad-notification-filters{gap:10px}.ad-notification-filters select{min-height:44px}.ad-notifications>.ad-tabs>button{min-height:44px;font-size:11px}.ad-legal-reader .ad-tabs>button{min-height:44px}
 #modal{max-height:calc(100dvh - 28px);margin:auto 10px 10px;width:calc(100% - 20px);max-width:none;border-radius:16px 16px 12px 12px}#modal-content{padding-bottom:max(20px,env(safe-area-inset-bottom))}.design-failure{padding:24px 18px}
}
@media(max-width:374px){.main{padding-left:12px;padding-right:12px}.summary-metric{gap:8px}.metric-copy strong{font-size:20px}.metric-icon{width:28px;height:28px}.ad-account .ad-tabs>button{font-size:10px;padding:8px 6px}.design-metric .design-value>strong{font-size:20px}.market-currency-row{grid-template-columns:minmax(0,1fr) 34px minmax(63px,.6fr) 30px}.market-row-trend svg{width:34px}.geography-card .exchange-globe .eg-info{max-width:58%}}
@media(prefers-reduced-motion:reduce){.geography-card .exchange-globe,.ad-auth-globe{scroll-behavior:auto}.btn,.tab{transition:none}}

/* Source: revision15-design.css */
/* Revision15: source-board layout corrections. State and amounts remain server-owned. */
.profit-balance-detail{margin-top:0}.profit-balance-detail dt:first-child{display:flex;align-items:center;gap:5px}.profit-help-button{display:inline-grid;place-items:center;width:32px;min-width:32px;min-height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#6ee3d7;cursor:pointer;font-size:17px}.profit-help-button:hover{background:#183d47}.profit-help-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.profit-help-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:26px;color:var(--text);background:#0b2030;border:1px solid #36556a;border-radius:14px;overflow:auto}.profit-help-dialog::backdrop{background:#020a12bb}.profit-help-heading{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.profit-help-heading h2{font-size:21px;line-height:1.4;margin:0}.profit-help-heading .icon-button{min-width:44px;font-size:26px}.profit-help-dialog p{font-size:15px;line-height:1.75;color:#c2d4e2}.profit-help-dialog .form-actions{justify-content:flex-end;margin-bottom:0}.profit-help-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.payout-receipt-panel{border:1px solid #2d6570;border-radius:10px;padding:16px;margin-top:18px;background:#0d2b37}.payout-receipt-panel h3{margin:0}.payout-receipt-panel .card-head p{margin:5px 0 0;font-size:12px}.payout-receipt-panel .form-actions{margin:14px 0}.receipt-email-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.receipt-email-status p{flex-basis:100%;margin:0}.statement-summary-facts{margin:12px 0 0}.statement-summary-facts dd{font-weight:600}.statement-cashflow-basis{margin-top:14px;font-size:12px}.statement-export-actions{padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0}.statement-transactions>summary{font-weight:650;cursor:pointer;padding:8px 0}.statement-transactions .design-detail-section{border:0;margin-top:8px;padding-top:0}.statement-transactions h3{font-size:15px}.statement-financial-summary .design-value>span{font-size:12px}.statement-financial-summary .design-value strong{font-size:24px}.wallet-valuation-details{margin-top:14px}.wallet-valuation-details>summary{cursor:pointer;font-size:13px;color:#bdd1df;padding:10px 0}
/* A/D: compact top, a framed sphere with controls over its upper margin, lower panels adjacent. */
.dashboard-page{padding-top:8px}.dashboard-page .ticker{margin-bottom:10px}.dashboard-metrics{margin:10px 0 12px}.dashboard-metrics .summary-metric{min-height:91px}.dashboard-page .workspace-main-grid{margin-bottom:14px}.dashboard-page .geography-card .card-head{padding:12px 14px 8px}.dashboard-page .geography-card .card-head h2{font-size:15px}.dashboard-page .workspace-globe{height:328px}.dashboard-page .exchange-globe{min-height:0;border-radius:0}.dashboard-page .exchange-globe .eg-top{position:absolute;left:0;right:0;top:0;border:0;background:linear-gradient(#081b2ae6,#081b2a00);padding:8px 10px;gap:6px;pointer-events:none}.dashboard-page .exchange-globe .eg-top>*{pointer-events:auto}.dashboard-page .exchange-globe .eg-viewport{min-height:0}.dashboard-page .exchange-globe .eg-info{top:60px;right:10px;max-width:43%}.dashboard-page .exchange-globe .eg-label{font-size:11px;padding:3px 6px;background:#081a28d9;color:#e4f5f8;box-shadow:0 1px 5px #0008}.dashboard-page .exchange-globe .eg-label.selected{font-size:12px}.dashboard-page .geography-card .route-ribbon{min-height:43px;padding:8px 12px}.dashboard-page .auto-summary.compact{gap:11px;padding:16px}.dashboard-page .auto-status-heading h3{font-size:18px}.dashboard-page .auto-summary .latest-route{margin:0;padding:12px}.dashboard-page .auto-summary .execution-phases{padding:8px 0}.dashboard-page .auto-summary .next-event{padding-top:7px}.dashboard-lower-grid{align-items:start}.dashboard-lower-grid .card-head{margin-bottom:10px}.dashboard-lower-grid .large-chart{min-height:180px}.dashboard-lower-grid .chart-empty{min-height:175px;padding:18px}.dashboard-lower-grid .empty{padding:30px 14px}.dashboard-page .recent-fills{padding:18px}.dashboard-page .performance-card{padding:18px}
/* B: compact major-first list and the existing selected-price chart; no synthetic prices. */
.market-search-bar .market-quick-filters{flex-wrap:wrap}.market-explorer .market-currency-row{padding-top:11px;padding-bottom:11px}.market-currency-row .market-source-time{font-size:9px!important}.market-explorer .market-results{padding-bottom:12px}.market-preview-grid{grid-template-columns:minmax(320px,.82fr) minmax(0,1.55fr)}
/* W01: the reference's allocation-left/actions-right relationship, with policy on demand. */
@media(min-width:768px){.wallet-allocation{grid-column:1;grid-row:1}.wallet-actions{grid-column:2;grid-row:1}.wallet-allocation .allocation{grid-template-columns:minmax(150px,.75fr) minmax(0,1fr);gap:18px}.wallet-allocation .allocation-ring{width:min(100%,200px)}.wallet-allocation .definition{font-size:12px;gap:8px}.wallet-allocation .profit-balance-detail{align-items:center}.wallet-allocation .footnote{font-size:10px}.wallet-actions .footnote{font-size:11px}.design-metric{min-height:98px;padding-top:16px;padding-bottom:16px}.design-metric small:empty,.metric-copy>small:empty{display:none}}
/* S07: status rows do not tower over the work queue. Every provider remains accessible. */
#ad-overview .ad-grid-7-5{gap:16px;align-items:start}#ad-overview :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:17px}#ad-overview .ad-panel-head{margin-bottom:13px}#ad-overview .ad-metrics{margin-bottom:16px}#ad-overview .ad-metric{min-height:96px;padding:16px}#ad-overview .ad-provider-row{grid-template-columns:22px minmax(0,1fr) minmax(85px,.75fr);gap:10px;padding:10px 0}#ad-overview .ad-provider-row small{font-size:10px;line-height:1.35}#ad-overview .ad-provider-row b{font-size:12px}#ad-overview .ad-provider-row .badge{font-size:10px;text-align:right;padding:4px 6px}#ad-overview .ad-notification{padding:11px 0}#ad-overview .ad-notification p{line-height:1.4}.ad-provider-summary-more{font-size:11px;color:var(--muted);margin-top:10px}.ad-provider-summary-more summary{cursor:pointer;min-height:30px;padding:6px 0}.ad-connection-observation{display:grid;gap:5px;border-top:1px solid var(--line);padding:9px 0}.ad-connection-observation>small{font-size:10px}
.ad-sidebar-group{margin:2px 0;color:var(--muted)}.ad-sidebar-group>summary{display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;min-height:45px;padding:10px 12px;border-radius:8px;font-size:13px}.ad-sidebar-group>summary:after{content:'⌄';margin-left:auto}.ad-sidebar-group>summary svg{width:20px;height:20px;flex:none}.ad-sidebar-group>summary:hover,.ad-sidebar-group[open]>summary{background:#102b38;color:var(--text)}.ad-sidebar-group>.nav-item{margin-left:10px;width:calc(100% - 10px);font-size:12px}.ad-sidebar-group>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* S01: provider selector, then configuration / capabilities / checks, then event evidence. */
#ad-integrations{display:block}.ad-provider-selector{padding:16px;border:1px solid var(--line);border-radius:12px;margin-bottom:16px;background:#0c1f2e}.ad-provider-selector>h2{font-size:17px;margin:0 0 14px}.ad-provider-selector>.ad-provider-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:0}.ad-provider-selector .ad-provider-card{min-height:145px;padding:12px;gap:8px}.ad-provider-selector .ad-provider-card b{font-size:12px}.ad-provider-selector .ad-provider-card small{display:block;font-size:10px;line-height:1.4}.ad-provider-selector .ad-provider-card>svg{width:24px;height:24px}.ad-integration-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr) minmax(0,1fr);gap:14px;align-items:start}.ad-integration-columns :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:17px}.ad-integration-columns .ad-panel-head{margin-bottom:15px}.ad-integration-columns h2{font-size:16px}.ad-integration-columns .ad-facts{grid-template-columns:1fr;gap:5px;font-size:12px}.ad-integration-columns .ad-facts dd{margin:0 0 10px}.ad-config-field{display:grid;gap:7px;margin-bottom:15px}.ad-config-field>span,.ad-config-field>small{font-size:11px;color:var(--muted)}.ad-config-field>strong{padding:10px;border:1px solid #304d60;border-radius:6px;font-size:12px;line-height:1.5;font-weight:500;background:#091c2b}.ad-integration-columns :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice),.ad-integration-columns .ad-note{font-size:12px}.ad-connection-check{padding:12px 0;border-top:1px solid var(--line)}.ad-connection-check h3{font-size:13px;overflow-wrap:anywhere}.ad-connection-check .btn{width:100%;margin-bottom:8px}.ad-integration-columns .empty{padding:20px 4px}.ad-integration-columns .ad-table-wrap{overflow:visible}.ad-integration-columns :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th,.ad-integration-columns :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding:8px 5px;font-size:11px}#ad-provider-events{margin-top:16px}
/* S04: matrix/MFA, with the audit list and a persistent read-only change inspector below. */
.ad-audit-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;margin-bottom:16px}.ad-audit-workspace :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){min-width:0}.ad-audit-workspace .ad-controls{margin-bottom:14px}.ad-audit-workspace :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table){font-size:12px}.ad-audit-workspace :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td,.ad-audit-workspace :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th{padding:10px 7px}.ad-inspector-summary .ad-facts{grid-template-columns:1fr;gap:5px;font-size:12px}.ad-inspector-summary .ad-facts dd{margin-bottom:10px}.ad-inspector-values{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ad-inspector-values>section{border:1px solid var(--line);border-radius:8px;padding:12px;min-width:0}.ad-inspector-values h3{font-size:12px;text-transform:uppercase;margin:0 0 10px}.ad-inspector-values .ad-facts{display:block;font-size:11px}.ad-inspector-values dt{color:var(--muted);margin-bottom:5px}.ad-inspector-values dd{margin:0 0 9px;overflow-wrap:anywhere}.ad-mfa-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.ad-mfa-counts>div{display:grid;gap:8px;border:1px solid var(--line);padding:12px;border-radius:8px}.ad-mfa-counts span{font-size:11px;color:var(--muted)}.ad-mfa-counts strong{font-size:21px;color:var(--accent)}.ad-staff-evidence{margin-top:16px}.ad-staff-evidence>summary{cursor:pointer;font-size:13px;padding:12px}.ad-audit-workspace [aria-pressed=true]{border-color:var(--accent);background:#123d47}
@media(min-width:1280px){.dashboard-main-grid{grid-template-columns:minmax(0,1.75fr) minmax(320px,1fr);gap:14px}.dashboard-lower-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px}.topbar{height:70px}.dashboard-metrics .summary-metric{padding:13px}.dashboard-page .metric-copy strong{font-size:27px}.dashboard-page .metric-icon{width:42px;height:44px}:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header){margin-bottom:17px}.ad-sidebar-nav .nav-item{min-height:42px}.ad-sidebar-nav{gap:3px}}
@media(min-width:768px) and (max-width:1279px){.ad-provider-selector>.ad-provider-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ad-provider-selector .ad-provider-card{min-height:118px}.ad-integration-columns{grid-template-columns:1fr 1fr}.ad-integration-columns>#ad-provider-configuration{grid-row:span 2}.ad-audit-workspace{grid-template-columns:1fr}.ad-audit-workspace>#ad-change-inspector{display:none}.ad-sidebar-group>summary{padding:10px;justify-content:center}.ad-sidebar-group>summary>span,.ad-sidebar-group>summary:after{display:none}.ad-sidebar-group>.nav-item{margin-left:0;width:100%}.dashboard-page .workspace-globe{height:320px}}
@media(width < 768px){.profit-help-button{min-width:40px;min-height:40px}.profit-help-dialog{padding:20px;max-height:calc(100dvh - 32px);width:calc(100vw - 28px)}.profit-help-heading h2{font-size:20px}.profit-help-dialog p{font-size:14px}.profit-help-dialog .form-actions .btn{width:100%}.payout-receipt-panel{padding:13px}.payout-receipt-panel .form-actions{display:grid;grid-template-columns:1fr 1fr}.payout-receipt-panel .form-actions .primary{grid-column:1/-1}.statement-export-actions{display:grid;grid-template-columns:1fr 1fr;position:relative}.statement-export-actions a:last-child{grid-column:1/-1}.statement-summary-facts{font-size:12px;grid-template-columns:minmax(0,1fr) minmax(0,.7fr)}.statement-summary-facts dd{text-align:right}.statement-transactions .responsive td{overflow-wrap:anywhere}.statement-financial-summary{margin:15px 0}.wallet-allocation,.wallet-actions{grid-column:auto;grid-row:auto}.wallet-allocation{order:2}.wallet-actions{order:1}.wallet-actions .stack{display:grid;grid-template-columns:1fr 1fr}.wallet-actions .stack .design-value{grid-column:1/-1}.wallet-actions .footnote{display:none}.wallet-allocation .allocation{grid-template-columns:1fr}.wallet-allocation .profit-balance-detail dt:first-child{gap:0}.dashboard-page .workspace-globe{height:315px}.dashboard-page .exchange-globe .eg-top{flex-wrap:nowrap;padding:7px;gap:6px}.dashboard-page .exchange-globe .eg-search{flex:1;flex-basis:auto;min-width:90px}.dashboard-page .exchange-globe .eg-tools{width:auto;flex:none;gap:3px}.dashboard-page .exchange-globe .eg-tools button{min-width:32px;min-height:40px;padding:5px}.dashboard-page .exchange-globe .eg-info{top:57px;right:8px;max-width:52%;font-size:10px}.dashboard-page .exchange-globe .eg-label{font-size:10px}.dashboard-page .exchange-globe .eg-label.selected{font-size:11px}.dashboard-metrics{margin-bottom:10px}.dashboard-page .mobile-current-route{margin-bottom:10px}.dashboard-page .workspace-main-grid{margin-bottom:12px}.dashboard-page .geography-card .card-head{padding:11px 12px 4px}.dashboard-page .geography-card .card-head h2{font-size:14px}.dashboard-page .performance-card,.dashboard-page .recent-fills{padding:16px}.dashboard-page .summary-metric[data-key=metric-today]{min-height:67px}.dashboard-page .summary-metric[data-key=metric-return]{min-height:24px}.dashboard-page .summary-metric[data-key=metric-principal],.dashboard-page .summary-metric[data-key=metric-profit]{min-height:79px}.market-search-bar .market-quick-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.market-quick-filters .tab{min-height:40px}.market-preview-grid{grid-template-columns:1fr}#ad-overview .ad-provider-row{grid-template-columns:20px minmax(0,1fr) minmax(75px,.7fr)}#ad-overview .ad-provider-row .badge{grid-column:auto;font-size:9px}#ad-overview .ad-provider-row>span:last-child{grid-column:auto}#ad-overview .ad-metric{padding:13px;min-height:87px}.ad-provider-selector{padding:14px}.ad-provider-selector>.ad-provider-cards{display:none}.ad-provider-selector>.ad-mobile-provider{display:block}.ad-integration-columns{display:flex;flex-direction:column;gap:14px}.ad-integration-columns>:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){width:100%;padding:16px}.ad-integration-columns .ad-facts{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:10px}.ad-integration-columns .ad-facts dd{margin:0}.ad-integration-columns .ad-config-field>strong{padding:12px}.ad-audit-workspace{display:block}.ad-audit-workspace>#ad-change-inspector{display:none}.ad-audit-workspace :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding:8px 0}.ad-inspector-values{grid-template-columns:1fr 1fr}.ad-mfa-counts strong{font-size:19px}.ad-staff-evidence>summary{min-height:44px}.ad-audit-workspace :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:15px}}
@media(prefers-reduced-motion:reduce){.profit-help-dialog,.payout-receipt-panel{animation:none;transition:none}}

/* Source: revision16-design.css */
/* Approved navy dashboard: real route results and a globe cropped by the card. */
.dashboard-page .workspace-main-grid{align-items:stretch;gap:14px}
.dashboard-page .geography-card{background:#081c2c;border-color:#224b61}
.dashboard-page .geography-card .card-head{padding:12px 15px 8px;min-height:40px}
.dashboard-page .geography-card .card-head h2{font-size:17px}
.dashboard-page .workspace-globe{height:382px;margin:0}
.dashboard-page .exchange-globe{border-radius:0;background:radial-gradient(ellipse at 50% 64%,#174058,#061624 70%)}
.dashboard-page .exchange-globe .eg-top{position:relative;inset:auto;flex:none;min-height:48px;padding:7px 12px;background:#081d2ded;border-bottom:1px solid #24465b}
.dashboard-page .exchange-globe .eg-viewport{flex:1;min-height:0}
.dashboard-page .exchange-globe canvas{inset:0;width:100%;height:100%;filter:drop-shadow(0 0 8px #38a6d14d)}
.dashboard-page .exchange-globe .eg-credit{position:absolute;bottom:0;left:0;right:0;min-height:0;padding:4px 10px;background:linear-gradient(transparent,#061421db);font-size:9px}
.dashboard-page .exchange-globe .eg-bottom{inset:0;display:block}
.dashboard-page .exchange-globe .eg-info{position:absolute;top:12px;right:12px;bottom:auto;max-width:38%;padding:8px 10px;font-size:11px;background:#071d2be8}
.dashboard-page .exchange-globe .eg-mode{position:absolute;right:10px;bottom:26px;max-width:85px}
.dashboard-page .exchange-globe .eg-label{background:#061624ed;border-color:#7bbac84d;font-size:11px}
.dashboard-page .exchange-globe .eg-label.selected{border-color:#46e6d1;color:#b3fff4}
.dashboard-page .geography-card .route-ribbon{min-height:38px;margin:0;padding:7px 12px;gap:6px;background:#0a2233}
.dashboard-page .auto-summary.compact{padding:16px;gap:12px;border-color:#224b61}
.dashboard-page .auto-summary .card-head{margin:0;align-items:center}
.dashboard-page .auto-summary h2{font-size:18px;margin:0}
.dashboard-page .auto-summary .status-reason{min-height:0;font-size:12px;line-height:1.4;margin:4px 0 0}
.dashboard-page .auto-summary .execution-phases{padding:8px 0;margin:0}
.dashboard-page .auto-summary .full-width{min-height:44px;margin-top:auto;font-size:14px}
.dashboard-route-summaries{display:grid;gap:10px}
.dashboard-route-summary{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:center;padding:11px;border:1px solid #24465b;border-radius:8px;background:#091e2e;min-width:0}
.dashboard-route-summary>div{min-width:0}
.dashboard-route-summary small{display:block;color:#99b8ce;font-size:11px;line-height:1.4;margin-bottom:5px}
.dashboard-route-summary strong{display:block;color:#ecf7ff;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.dashboard-route-summary .route-summary-state{display:block;font-size:10px;color:#9bb6c6;margin-top:4px;overflow-wrap:anywhere}
.route-summary-icon{width:34px;height:36px;display:grid;place-items:center;border-radius:10px;background:#0a3442;color:#23dfd2}
.route-summary-icon svg{width:21px;height:21px}
.dashboard-route-summary.completed-route{grid-template-columns:34px minmax(0,1fr) minmax(70px,.55fr)}
.route-summary-result{text-align:right}.route-summary-result strong{font-size:17px;font-variant-numeric:tabular-nums}
.dashboard-route-summary .text-button{font-size:10px;min-height:24px;padding:2px 0}
.dashboard-route-summary strong.positive,.completed-route-table strong.positive{color:#1ee5d9}
.dashboard-route-summary strong.negative,.completed-route-table strong.negative{color:#ff858b}
.route-result-pending{display:block;color:#e0b975;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.dashboard-page .next-event{flex-direction:row;justify-content:space-between;gap:10px;font-size:11px;padding-top:9px}
.dashboard-page .next-event b{font-size:11px;text-align:right}
.dashboard-page .dashboard-lower-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.dashboard-page .performance-card,.dashboard-page .completed-route-history{padding:16px;border-color:#224b61;margin-top:0}
.dashboard-page .performance-card .card-head{align-items:center;gap:10px}
.dashboard-page .performance-card .card-head h2,.dashboard-page .completed-route-history h2{font-size:17px;margin:0}
.dashboard-page .performance-card .card-head p{font-size:10px;margin:4px 0 0;display:block}
.dashboard-page .performance-card .large-chart{min-height:185px}
.dashboard-page .performance-total strong{font-size:29px;color:#25ddd0}
.dashboard-page .performance-total strong.negative{color:#ff858b}
.dashboard-page .performance-total span{font-size:11px}
.dashboard-page .completed-route-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}
.completed-route-table th{color:#a5c4d6;font-weight:500;text-align:left;padding:8px 6px;border-top:1px solid #27465b;border-bottom:1px solid #27465b}
.completed-route-table th:first-child{width:22%}.completed-route-table th:nth-child(2){width:39%}.completed-route-table th:nth-child(3){width:18%}.completed-route-table th:last-child{width:21%;text-align:right}
.dashboard-page .completed-route-table td{padding:10px 6px;vertical-align:middle;border-bottom:1px solid #1d3b50;overflow-wrap:anywhere;font-size:11px}
.completed-route-table td:last-child{text-align:right;font-variant-numeric:tabular-nums}.completed-route-table time{color:#bdd0dd;line-height:1.5}
.completed-route-path{line-height:1.6;color:#e5f1fb}.completed-route-path span{color:#45ccc5;padding:0 2px}
.completed-route-table .badge{font-size:10px;white-space:normal}.completed-route-table .text-button{min-height:24px;padding:2px 0;font-size:10px}
@media(min-width:1280px){.dashboard-page .dashboard-main-grid{grid-template-columns:minmax(0,1.7fr) minmax(350px,1fr)}.dashboard-page .workspace-globe{height:376px}.dashboard-page .dashboard-metrics .metric-copy strong{font-size:29px}.dashboard-page .summary-metric{border-color:#224b61}.dashboard-page .period-switch button{padding:5px 8px}}
@media(min-width:768px) and (max-width:1279px){.dashboard-page .workspace-globe{height:376px}.dashboard-page .dashboard-lower-grid{grid-template-columns:1fr}.dashboard-page .completed-route-table{font-size:12px}.dashboard-page .auto-summary .next-event{flex-direction:column}}
@media(width < 768px){
 .dashboard-page .workspace-main-grid,.dashboard-page .dashboard-lower-grid{grid-template-columns:1fr;gap:14px}
 .dashboard-page .workspace-globe{height:354px}.dashboard-page .geography-card .card-head h2{font-size:15px}
 .dashboard-page .exchange-globe .eg-top{min-height:52px;padding:7px;gap:5px;flex-wrap:nowrap}
 .dashboard-page .exchange-globe .eg-search{min-width:80px}.dashboard-page .exchange-globe .eg-search input{min-height:38px;height:38px;font-size:11px}
 .dashboard-page .exchange-globe .eg-tools{gap:3px}.dashboard-page .exchange-globe .eg-tools button{min-height:38px;height:38px;min-width:31px;padding:4px}
 .dashboard-page .exchange-globe .eg-info{top:10px;right:8px;max-width:39%;font-size:10px;padding:7px}
 .dashboard-page .exchange-globe .eg-info strong{font-size:12px}.dashboard-page .exchange-globe .eg-label{font-size:10px}
 .dashboard-page .dashboard-main-grid .auto-summary.compact{display:flex;padding:15px;gap:12px}
 .dashboard-route-summary.completed-route{grid-template-columns:32px minmax(0,1fr) minmax(66px,.55fr);gap:8px}
 .dashboard-route-summary strong{font-size:12px}.route-summary-result strong{font-size:15px}
 .dashboard-page .performance-card,.dashboard-page .completed-route-history{padding:15px}
 .dashboard-page .completed-route-table,.completed-route-table tbody,.completed-route-table tr,.dashboard-page .completed-route-table td{display:block;width:100%}
 .completed-route-table thead{display:none}.completed-route-table tr{margin:10px 0 0;padding:11px;border:1px solid #25465c;border-radius:8px;background:#0a2030}
 .dashboard-page .completed-route-table td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:8px;padding:7px 0;border:0;text-align:left;font-size:12px}
 .completed-route-table td:before{content:attr(data-label);color:#9bb7cc;font-size:11px}
 .completed-route-table td[data-label=Route]{display:block}.completed-route-table td[data-label=Route]:before{display:block;margin-bottom:5px}
 .completed-route-table td:last-child{text-align:left}.completed-route-table .text-button{min-height:32px;font-size:12px}.completed-route-table .badge{justify-self:start}
 .dashboard-page .next-event{flex-direction:row}.dashboard-page .performance-total strong{font-size:28px}
}

/* Source: revision20-workspace.css */
/* Revision20: approved navy layout, actual observations and bounded state. */
.dashboard-page .dashboard-main-grid{gap:14px}
.dashboard-page .dashboard-metrics{gap:10px;margin-bottom:12px}
.dashboard-page .summary-metric{padding:15px 13px;min-height:94px}
.dashboard-page .metric-copy strong{font-size:29px;line-height:1.2}
.dashboard-page .auto-summary.compact{gap:11px}
.dashboard-page .completed-route-table td{padding:8px 5px;line-height:1.45}
.dashboard-page .completed-route-table td[data-label="Route"] .text-button{min-height:22px}
.auto-analysis-details .definition{row-gap:10px}
.market-search-bar{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;grid-template-areas:"search filters view" "quick quick quick";gap:9px;align-items:center;padding:12px;margin-bottom:14px}
.market-search-bar .market-controls,.market-search-bar .market-primary-controls{display:contents}
.market-search-bar .search-field{grid-area:search;min-width:0}
.market-search-bar .view-switch{grid-area:view;margin:0;min-width:0;gap:3px}
.market-search-bar .market-extra-filters{grid-area:filters;margin:0;position:relative}
.market-search-bar .market-quick-filters{grid-area:quick;display:flex;flex-wrap:wrap;gap:6px}
.market-search-bar input,.market-search-bar select,.market-search-bar .view-switch button,.market-search-bar .tab{min-height:38px;font-size:12px}
.market-search-bar .market-extra-filters>summary{min-height:38px;display:flex;align-items:center;padding:6px 10px;cursor:pointer;white-space:nowrap}
.market-search-bar .market-extra-filters[open]>div{position:absolute;right:0;top:100%;z-index:8;min-width:260px;padding:14px;display:grid;gap:10px;background:#0d2335;border:1px solid #315168;border-radius:10px;box-shadow:0 12px 30px #0008}
.market-explorer .market-currency-row{padding:9px 12px}
.market-explorer .market-currency-row .market-source-time{line-height:1.35}
.currency-detail-page .currency-chart-detail{display:grid;grid-template-columns:minmax(0,3fr) minmax(210px,1fr);grid-template-areas:"header header" "primary secondary";gap:16px}
.currency-chart-detail .market-chart-header{grid-area:header}
.currency-chart-detail .market-chart-primary{grid-area:primary}
.currency-chart-detail .market-chart-secondary{grid-area:secondary}
.currency-chart-detail .market-chart-header .market-price-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:15px 0 0;gap:0;border:1px solid #294a60;border-radius:9px;background:#081d2d}
.currency-chart-detail .market-chart-header .market-price-facts>div{min-width:0;padding:12px;border-right:1px solid #294a60}
.currency-chart-detail .market-chart-header .market-price-facts>div:last-child{border:0}
.currency-chart-detail .market-price-facts b{font-size:16px;overflow-wrap:anywhere}
.currency-chart-detail .market-chart-primary{margin-top:16px;min-width:0}
.currency-chart-detail .market-chart-secondary{margin-top:14px;padding:14px 0 0;border:0;border-top:1px solid #294a60}
.currency-chart-detail .market-observed-stats{display:grid;grid-template-columns:1fr;gap:12px}
.currency-chart-detail .market-chart-secondary h3{font-size:15px;margin:0 0 10px}
@media(width < 768px){
 .dashboard-page .summary-metric{min-height:0;padding:12px}
 .dashboard-page .summary-metric[data-key="metric-today"],.dashboard-page .summary-metric[data-key="metric-return"]{padding-left:0}
 .dashboard-page .dashboard-metrics .metric-copy strong{font-size:25px}
 .dashboard-page .summary-metric[data-key="metric-today"] .metric-copy strong{font-size:34px}
 .dashboard-page .summary-metric[data-key="metric-return"] .metric-copy strong{font-size:19px}
 .dashboard-page .completed-route-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:11px;margin-top:9px}
 .dashboard-page .completed-route-table td{display:block;padding:0;min-width:0;font-size:11px}
 .dashboard-page .completed-route-table td:before{display:none}
 .dashboard-page .completed-route-table td[data-label="Route"]{grid-column:1/-1;grid-row:1}
 .dashboard-page .completed-route-path{display:inline;line-height:1.5;font-size:12px}
 .dashboard-page .completed-route-table td[data-label="Route"]>.text-button{float:right;min-height:30px;margin-left:5px;padding:3px}
 .dashboard-page .completed-route-table td[data-label="Time (NY)"]{grid-column:1;grid-row:2}
 .dashboard-page .completed-route-table td[data-label="Status"]{grid-column:1;grid-row:3}
 .dashboard-page .completed-route-table td[data-label="Net result (USD)"]{grid-column:2;grid-row:2/4;align-self:center;text-align:right}
 .market-search-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"search search" "quick quick" "view filters";padding:10px;gap:8px}
 .market-search-bar .view-switch{display:flex;width:auto;gap:2px}
 .market-search-bar .view-switch button{padding:5px 9px;font-size:11px;min-height:40px}
 .market-search-bar .market-quick-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .market-search-bar .tab{min-height:42px;padding:5px;font-size:11px}
 .market-search-bar input{min-height:42px;font-size:13px}
 .market-search-bar .market-extra-filters>summary{font-size:11px;min-height:40px;padding:5px}
 .market-search-bar .market-extra-filters[open]>div{width:min(320px,calc(100vw - 48px));min-width:0;max-width:none;grid-template-columns:minmax(0,1fr)}
 .market-search-bar .market-extra-filters[open]>div select{width:100%;min-width:0;max-width:none;min-height:42px}
 .market-explorer .market-currency-row{padding:9px 10px}
 .currency-detail-page .currency-chart-detail{display:block}
 .currency-chart-detail .market-chart-header .market-price-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
 .currency-chart-detail .market-chart-header .market-price-facts>div{padding:10px;border-bottom:1px solid #294a60}
 .currency-chart-detail .market-chart-header .market-price-facts>div:nth-child(2n){border-right:0}
 .currency-chart-detail .market-chart-header .market-price-facts>div:nth-last-child(-n+2){border-bottom:0}
 .currency-chart-detail .market-price-facts b{font-size:14px}
 .currency-chart-detail .market-observed-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .currency-chart-detail .chart-toolbar{gap:8px;flex-wrap:wrap}
 .currency-chart-detail .period-switch{display:flex;flex-wrap:wrap}
 .currency-chart-detail .period-switch button{min-height:40px;padding:5px 9px}
}

/* Source: revision20-finance.css */
/* W01–W06: approved information order; amounts remain server-owned. */
.design-two-column:has(>.wallet-allocation details:not([open])){grid-template-areas:"allocation" "actions";grid-template-columns:minmax(0,1fr);gap:12px}
.design-two-column:has(>.wallet-allocation details:not([open])) .wallet-actions{grid-area:actions;grid-row:2;grid-column:1}
.design-two-column:has(>.wallet-allocation details:not([open])) .wallet-allocation{grid-area:allocation;grid-row:1;grid-column:1;padding:16px 20px}
.design-two-column:has(>.wallet-allocation details:not([open])) .wallet-actions .stack{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:14px}
.wallet-allocation,.wallet-actions{min-height:0;height:auto}
.deposit-state-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 22px}
.deposit-state-pair>section{display:grid;align-content:start;gap:8px;padding:14px;border:1px solid var(--line);border-radius:10px;min-width:0;background:#0b2333}
.deposit-state-pair>section>span,.deposit-state-pair small{font-size:12px;color:var(--muted)}
.deposit-state-pair strong{font-size:19px;color:var(--accent)}
.deposit-state-pair .badge{width:max-content;max-width:100%;white-space:normal}
#design-deposit-history .deposit-amount-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}
#design-deposit-history .deposit-amount-summary>div{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:15px;border:1px solid #29465b;border-radius:10px;background:#0b2233;min-width:0}
#design-deposit-history .deposit-amount-summary b{font-size:21px;line-height:1.25;overflow-wrap:anywhere}
#design-deposit-history .deposit-amount-summary span{font-size:13px}
#design-deposit-history .deposit-amount-summary small{display:block;font-size:11px;color:var(--muted);font-weight:400}
.deposit-history-filters{padding:0;border:0;background:none}
.deposit-history-filters .design-filters{display:grid;grid-template-columns:minmax(140px,1.4fr) repeat(4,minmax(95px,1fr));gap:10px;margin:14px 0}
.deposit-history-filters label{font-size:11px}
.deposit-history-filters input,.deposit-history-filters select{min-height:42px;padding:9px;font-size:12px}
.deposit-window-counts{line-height:1.6}
.withdrawal-detail-summary .design-metrics{gap:10px;margin:18px 0}
.withdrawal-detail-summary .design-metric{padding:14px;min-height:126px}
.withdrawal-detail-summary .design-value strong{font-size:22px}
.withdrawal-detail-summary .design-metric small{font-size:11px}
.withdrawal-detail-summary .design-metric-icon{position:static;display:block;margin-bottom:9px;color:var(--accent)}
.principal-availability{margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:9px}
.principal-availability>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.principal-availability .design-value{gap:5px}
.principal-availability .design-value strong{font-size:20px}
.principal-availability .design-value>span{font-size:12px}
.withdrawal-guidance{font-size:12px;color:var(--muted);margin-top:12px}
.withdrawal-guidance>summary{cursor:pointer;min-height:32px;display:flex;align-items:center}
.design-withdraw-form .selected-requestable{display:flex;justify-content:space-between;gap:12px}
.design-withdraw-form .design-two-column{margin:8px 0;align-items:start}
.design-withdraw-form .code-box{font-size:13px;overflow-wrap:anywhere}
.design-withdraw-form h3{font-size:15px}
.design-withdraw-form input[name=amount]{font-size:22px;font-weight:650;min-height:52px}
.member-fill-detail h3{margin:18px 0 8px;font-size:20px}
.member-fill-detail .trade-cost-grid{margin:20px 0;gap:12px}
.member-fill-detail .trade-cost-grid>.design-value{border:1px solid var(--line);border-radius:9px;padding:13px;gap:8px}
.member-fill-detail .trade-cost-grid strong{font-size:20px}
.statement-detail-heading{align-items:start;gap:12px}
.statement-detail-heading h2{font-size:19px;margin:0 0 6px}
.statement-detail-heading p{font-size:12px;color:var(--muted);margin:0}
.statement-export-actions{justify-content:flex-end;margin:10px 0 18px;gap:8px;flex-wrap:wrap}
.statement-export-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;font-size:12px;padding:10px 12px}
.statement-export-actions svg{width:17px;height:17px;flex-shrink:0}
.statement-workspace #design-statement-selection .statement-financial-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.statement-financial-summary .design-value>span{font-size:11px;line-height:1.45}
.statement-workspace .statement-financial-summary .design-value strong{font-size:19px;white-space:normal;overflow-wrap:anywhere}
.statement-accounting{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.8fr);gap:20px;padding:18px 0;margin:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.statement-accounting>div{min-width:0}
.statement-accounting h3{margin:0 0 15px;font-size:16px}
.statement-accounting .definition{grid-template-columns:minmax(0,1fr) auto;gap:13px 16px;margin:0;font-size:13px;align-items:baseline}
.statement-accounting dd{text-align:right;font-variant-numeric:tabular-nums}
.statement-accounting .statement-net{border-top:1px solid var(--line);padding-top:12px;font-weight:650;color:var(--accent)}
.statement-return-card{padding:20px;border:1px solid #29465b;border-radius:10px;align-self:center;background:#0a2433;min-width:0}
.statement-return-card .design-value strong{color:var(--accent);font-size:30px}
.statement-return-card p{font-size:12px;color:var(--muted);line-height:1.6}
.statement-return-card>strong{font-size:13px;color:var(--accent);overflow-wrap:anywhere}
.statement-rounding-evidence,.statement-cashflow-basis{font-size:12px;color:var(--muted);margin:12px 0}
.statement-rounding-evidence>summary,.statement-cashflow-basis>summary{cursor:pointer;padding:8px 0}
.statement-rounding-evidence .definition{font-size:12px;gap:10px}
#design-statement-selection{scroll-margin-top:18px}
@media(max-width:1100px){.deposit-history-filters .design-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.statement-workspace #design-statement-selection .statement-financial-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.statement-accounting{grid-template-columns:1fr}.statement-return-card{padding:16px}}
@media(width < 768px){
 .design-two-column:has(>.wallet-allocation details:not([open])){grid-template-areas:"actions" "allocation"}
 .design-two-column:has(>.wallet-allocation details:not([open])) .wallet-actions{grid-row:1}
 .design-two-column:has(>.wallet-allocation details:not([open])) .wallet-allocation{grid-row:2;padding:14px}
 .design-two-column:has(>.wallet-allocation details:not([open])) .wallet-actions .stack{grid-template-columns:1fr 1fr;gap:10px}
 .wallet-actions .stack>.design-value{grid-column:1/-1}
 #design-deposit-history .deposit-amount-summary{gap:7px;grid-template-columns:repeat(3,minmax(0,1fr))}
 #design-deposit-history .deposit-amount-summary>div{padding:10px 8px;gap:6px}
 #design-deposit-history .deposit-amount-summary b{font-size:15px}
 #design-deposit-history .deposit-amount-summary span{font-size:11px}
 #design-deposit-history .deposit-amount-summary small{font-size:10px}
 .deposit-history-filters .design-filters{grid-template-columns:1fr 1fr;gap:9px}
 .deposit-history-filters label:first-child{grid-column:1/-1}
 .deposit-history-workspace .responsive tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 10px;padding:12px 0}
 .deposit-history-workspace .responsive td{display:block;padding:5px 0;border:0;min-width:0;font-size:12px}
 .deposit-history-workspace .responsive td:before{display:block;margin-bottom:5px;font-size:10px}
 .deposit-history-workspace .responsive td:last-child{grid-column:1/-1;text-align:right}
 .deposit-history-workspace .responsive .badge{font-size:10px;white-space:normal}
 .deposit-state-pair{gap:8px;margin:12px 0 16px}
 .deposit-state-pair>section{padding:10px}
 .deposit-state-pair>section>span,.deposit-state-pair small{font-size:11px}
 .deposit-state-pair strong{font-size:17px}
 .withdrawal-detail-summary .design-metrics{grid-template-columns:1fr 1fr;gap:9px}
 .withdrawal-detail-summary .design-metric{min-height:110px;padding:12px}
 .withdrawal-detail-summary .design-value strong{font-size:19px}
 .withdrawal-detail-summary .design-value>span{font-size:11px}
 .design-withdraw-form .design-two-column{display:block}
 .design-withdraw-form .stack{gap:10px}
 .design-withdraw-form .design-two-column>section{margin-top:10px}
 .design-withdraw-form .design-inset{padding:13px}
 .design-withdraw-form .withdrawal-balance-details{margin-top:8px}
 .design-withdraw-form .withdrawal-balance-details>summary{min-height:32px;line-height:32px}
 .principal-availability .design-value strong{font-size:18px}
 .principal-availability{padding:12px}
 .member-fill-detail .trade-cost-grid{grid-template-columns:1fr 1fr;gap:9px}
 .member-fill-detail .trade-cost-grid>.design-value{padding:11px}
 .member-fill-detail .trade-cost-grid strong{font-size:17px}
 .statement-workspace{display:grid;grid-template-columns:1fr;gap:14px}
 .statement-workspace #design-statement-selection{display:block;padding:15px}
 .statement-workspace #design-statement-selection .statement-financial-summary{grid-template-columns:1fr 1fr}
 .statement-financial-summary .design-value:last-child{grid-column:1/-1}
 .statement-detail-heading h2{font-size:17px}
 .statement-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .statement-export-actions .btn{font-size:12px;padding:9px}
 .statement-accounting{padding:16px 0;gap:16px}
 .statement-accounting .definition{font-size:12px;gap:12px}
 .statement-return-card{padding:15px}
 .statement-rounding-evidence .definition{grid-template-columns:minmax(0,1fr) minmax(0,1fr);font-size:11px}
 .statement-transactions .design-detail-section{margin-top:12px;padding-top:8px}
}

/* Source: revision20-admin.css */
/* Revision20: approved administration hierarchy; presentation only. */
.admin-design .ad-member-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px}
.admin-design .ad-member-header .ad-member-identity{min-width:0}
.admin-design .ad-member-identity h2{overflow-wrap:break-word;line-height:1.3}
.admin-design .ad-member-identity p{overflow-wrap:anywhere;line-height:1.5}
.admin-design .ad-member-header>.badge{margin:0;max-width:210px}
.admin-design .ad-member-record{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px 10px;padding:12px;text-align:left}
.admin-design .ad-member-record>.ad-avatar{width:36px;height:36px;font-size:12px}
.admin-design .ad-member-record-identity{display:flex;flex-direction:column;gap:3px}
.admin-design .ad-member-record-identity>b{color:var(--ad-text);font-size:13px;line-height:1.4}
.admin-design .ad-member-record-identity>small{font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.admin-design .ad-member-record-status{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px}
.admin-design .ad-member-record-status .badge{max-width:100%;white-space:normal}
.admin-design .ad-deposit-processing{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.admin-design .ad-deposit-processing>small{font-size:11px;color:var(--ad-muted);font-weight:400}
.admin-design .ad-balance-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.admin-design .ad-balance-grid>div{grid-column:span 2;padding:13px}
.admin-design .ad-balance-grid>div:nth-last-child(-n+2){grid-column:span 3}
.admin-design .ad-balance-grid b{white-space:normal;overflow-wrap:anywhere;font-size:20px;font-variant-numeric:tabular-nums}
.admin-design .ad-verification-workbench{grid-template-columns:minmax(0,1fr)}
.admin-design .ad-verification-workbench>.ad-queue{max-height:440px;padding:18px}
.admin-design .ad-verification-workbench>:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){min-width:0}
.admin-design .ad-review-applicant{display:flex;align-items:center;gap:10px}
.admin-design .ad-review-applicant>span:last-child{flex:1;min-width:0}
.admin-design .ad-review-applicant .ad-avatar{width:36px;height:36px;font-size:12px}
.admin-design #ad-verification-queue th:first-child{width:30%}
.admin-design #ad-verification-queue th:last-child{width:120px}
.admin-design #ad-verification-queue [aria-pressed=true]{border-color:var(--ad-accent);color:var(--ad-accent)}
.admin-design .ad-staff-context>div{display:flex;flex-direction:column;gap:14px}
.admin-design .ad-staff-context :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){margin:0;width:100%}
.admin-design .ad-staff-context .ad-facts{grid-template-columns:minmax(88px,.8fr) minmax(0,1.3fr);column-gap:16px;row-gap:12px;font-size:12px}
.admin-design .ad-staff-context .ad-facts dt{overflow-wrap:normal}
.admin-design .ad-staff-context .ad-facts dd{min-width:0;overflow-wrap:anywhere;line-height:1.6}
.admin-design .ad-staff-context :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){font-size:12px;line-height:1.65;padding:12px}
.admin-design .ad-summary-accounts{padding:10px 0;border-bottom:1px solid var(--ad-border)}
.admin-design .ad-summary-accounts>h3{font-size:12px;margin:0 0 6px;color:var(--ad-muted)}
.admin-design .ad-provider-account-details>summary,.admin-design .ad-account-capabilities>summary,.admin-design .ad-connection-check>summary,.admin-design .ad-health-email-details>summary{cursor:pointer;line-height:1.5;padding:12px;color:var(--ad-text);border-radius:8px;min-height:44px}
.admin-design .ad-provider-account-details>summary:hover,.admin-design .ad-account-capabilities>summary:hover,.admin-design .ad-connection-check>summary:hover,.admin-design .ad-health-email-details>summary:hover{background:var(--ad-panel-soft)}
.admin-design details>summary:focus-visible{outline:2px solid var(--ad-accent);outline-offset:3px}
.admin-design .ad-provider-account-details>div{display:grid;gap:12px;padding:10px 0}
.admin-design .ad-provider-account-details article{padding:12px;background:var(--ad-panel-soft);border:1px solid var(--ad-border);border-radius:8px}
.admin-design .ad-provider-account-details h3{font-size:13px;margin:0 0 12px;overflow-wrap:anywhere}
.admin-design .ad-connection-check,.admin-design .ad-account-capabilities{border-top:1px solid var(--ad-border);padding:0;margin-top:12px}
.admin-design .ad-connection-check>summary span,.admin-design .ad-account-capabilities>summary small{display:block;font-size:11px;color:var(--ad-muted);margin-top:5px;overflow-wrap:anywhere}
.admin-design .ad-connection-check>div,.admin-design .ad-account-capabilities>.ad-facts{padding:12px 0}
.admin-design .ad-health-email-details{background:var(--ad-panel);border:1px solid var(--ad-border);border-radius:12px;padding:8px;margin:20px 0}
.admin-design .ad-health-email-details>summary{font-weight:600}
.admin-design .ad-health-email-details>div{display:grid;gap:18px;padding:10px 0 0}
.admin-design #ad-health .ad-grid-7-5{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
/* This read-only dialog is mounted outside the administrator page root. */
#modal .deposit-dispositions,#modal .deposit-dispositions>article{min-width:0;max-width:100%}
#modal .deposit-dispositions p,#modal .deposit-dispositions h3{overflow-wrap:anywhere}
#modal .deposit-dispositions .card-head{align-items:flex-start;flex-wrap:wrap;gap:12px}
#modal .deposit-dispositions .card-head>h3{flex:1 1 180px;min-width:0;margin:0}
#modal .deposit-dispositions .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#modal .deposit-dispositions .mc-facts{grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr)}
#modal .deposit-dispositions .mc-facts dt,#modal .deposit-dispositions .mc-facts dd{min-width:0;overflow-wrap:anywhere}
@media(min-width:1260px){
  .admin-design .ad-support-workbench{grid-template-columns:minmax(210px,.6fr) minmax(0,2.1fr);gap:16px}
  .admin-design .ad-staff-chat-grid{grid-template-columns:minmax(290px,1.35fr) minmax(280px,1fr);gap:16px}
}
@media(min-width:768px){
  .admin-design :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:18px}
  .admin-design .ad-panel-head{margin-bottom:15px}
  .admin-design :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding:10px;line-height:1.5}
  .admin-design .ad-provider-row{grid-template-columns:22px minmax(0,1fr) minmax(100px,.75fr);padding:12px 0}
  .admin-design .ad-provider-card{min-height:165px;padding:15px;gap:9px}
}
@media(max-width:767px){
  .admin-design .ad-member-header{grid-template-columns:44px minmax(0,1fr);align-items:start;gap:10px 12px;padding:14px}
  .admin-design .ad-member-header>.badge{grid-column:2;justify-self:start;max-width:100%;margin:0}
  .admin-design .ad-member-identity h2{font-size:19px;margin:0}
  .admin-design .ad-member-identity p{font-size:12px;margin:5px 0}
  .admin-design .ad-member-identity small{font-size:11px;line-height:1.5}
  .admin-design .ad-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-design .ad-balance-grid>div,.admin-design .ad-balance-grid>div:nth-last-child(-n+2){grid-column:auto;padding:12px}
  .admin-design .ad-balance-grid>div:last-child{grid-column:1/-1}
  .admin-design .ad-balance-grid b{font-size:19px}
  .admin-design .ad-verification-workbench{display:block}
  .admin-design .ad-verification-workbench>.ad-queue{max-height:none;padding:14px}
  .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{grid-template-columns:minmax(75px,.6fr) minmax(0,1.4fr)}
  .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:first-child{display:block}
  .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:first-child::before{display:none}
  .admin-design #ad-verification-queue .ad-review-applicant .ad-avatar{width:40px;height:40px}
  .admin-design #ad-verification-queue .ad-review-applicant small{overflow-wrap:anywhere}
  .admin-design .ad-staff-context .ad-facts{grid-template-columns:minmax(90px,.75fr) minmax(0,1.25fr);gap:12px 16px}
  .admin-design #ad-health .ad-grid-7-5{grid-template-columns:minmax(0,1fr)}
  .admin-design .ad-health-email-details>summary{font-size:13px}
  #modal .deposit-dispositions .mc-facts{grid-template-columns:minmax(0,1fr)}
}
/* The publication confirmation must remain readable before its action. */
@media(width < 768px){#ad-legal-form .ad-sticky-actions{position:static;bottom:auto;margin-top:12px}#ad-legal-form .ad-sticky-actions button{width:100%}}

/* Revision21: bounded readability corrections for recorded admin evidence. */
.admin-design .ad-handoff-department,.admin-design .ad-handoff-department>div{min-width:0;width:100%}
.admin-design .ad-handoff-department select{width:100%;min-width:0}
.admin-design .ad-provider-observations{display:grid;gap:14px}
.admin-design .ad-provider-observation{min-width:0;padding:12px;border:1px solid var(--ad-border);border-radius:8px;background:var(--ad-panel-soft)}
.admin-design .ad-provider-observation h3{font-size:13px;margin:0 0 5px;overflow-wrap:anywhere}
.admin-design .ad-provider-observation>p{font-size:11px;color:var(--ad-muted);margin:0 0 12px;overflow-wrap:anywhere}
.admin-design .ad-provider-observation .ad-facts{grid-template-columns:minmax(0,1fr);gap:5px}
.admin-design .ad-provider-observation .ad-facts dd{min-width:0;margin:0 0 10px;line-height:1.6}
.admin-design .ad-provider-observation .badge{max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal}
@media(min-width:1100px){
  .admin-design .ad-route-execution{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:18px 0}
  .admin-design .ad-route-execution>li{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:0 0 16px;text-align:center}
  .admin-design .ad-route-execution>li:not(:last-child)::before{width:calc(50% - 20px);height:1px;left:calc(50% + 20px);top:15px;bottom:auto;background:var(--ad-border)}
  .admin-design .ad-route-execution>li>div{width:100%;min-width:0}
  .admin-design .ad-route-execution .route-step-title{flex-direction:column;gap:7px;align-items:center}
  .admin-design .ad-route-execution p{line-height:1.6;overflow-wrap:anywhere}
  .admin-design .ad-route-execution details{text-align:left;min-width:0;overflow-wrap:anywhere}
  .admin-design .ad-route-execution details>.ad-facts{grid-template-columns:minmax(0,1fr);gap:5px}
  .admin-design .ad-route-execution details>.ad-facts dd{margin:0 0 10px}
}

/* Side-by-side case review on desktop; mobile keeps list / detail / return. */
@media(min-width:1100px){
 .admin-design .ad-verification-workbench{grid-template-columns:minmax(300px,0.8fr) minmax(0,1.4fr)}
 .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) thead{display:none}
 .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr{display:block;padding:12px 0;border-bottom:1px solid var(--ad-border)}
 .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{display:flex;justify-content:space-between;gap:12px;width:100%;border:0;padding:5px 0}
 .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td::before{content:attr(data-label);font-size:11px;color:var(--ad-muted)}
 .admin-design #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:first-child::before{display:none}
 .admin-design .ad-verification-workbench .ad-grid-7-5{grid-template-columns:minmax(0,1fr)}
}

/* Financial values keep all eight decimal places on one line. */
.admin-design .ad-balance-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:10px}
.admin-design .ad-balance-grid>div,.admin-design .ad-balance-grid>div:nth-last-child(-n+2),.admin-design .ad-balance-grid>div:last-child{grid-column:auto;min-width:0}
.admin-design .ad-balance-grid b{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:19px;max-width:100%;overflow-x:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .ad-company-funds-notice,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .ad-company-funds-notice p{color:#24584e;background:#eef7f3}

/* Source: revision20-access.css */
/* Revision20 approved onboarding and communication composition. No data/permission changes. */
.ad-auth{background:radial-gradient(ellipse at 23% 37%,#07354466,transparent 52%),#061421}
.ad-auth-layout{max-width:1280px;grid-template-columns:minmax(0,1.18fr) minmax(360px,.82fr);gap:38px;margin:26px auto}
.ad-auth-hero{min-height:615px}.ad-auth-globe{inset:-40px -10px 20px -105px;opacity:.9;mask-image:linear-gradient(#000 0%,#000 48%,transparent 96%)}
.ad-wire-globe{width:100%;height:100%;display:block;transform:rotate(-12deg)}
.ad-auth-story{padding:160px 12px 22px}.ad-auth-story .eyebrow{display:none}.ad-auth-story h1{font-size:clamp(36px,3.35vw,49px);margin-bottom:32px}
.ad-auth-card{padding:28px 26px;border-radius:12px}.ad-auth-card>.meta{margin-bottom:22px}.ad-auth .ad-form,.ad-auth-credentials{gap:15px}
.ad-auth .ad-form input:not([type=checkbox]){min-height:44px}.ad-auth-alternate{margin-top:20px;padding-top:17px}.ad-security-strip{margin-top:20px}
.ad-auth-layout.register{max-width:1200px;gap:24px;align-items:start}.ad-auth-layout.register .ad-auth-card{padding:25px 28px}
.ad-auth>.account-progress{max-width:1200px;margin:24px auto 0}.ad-auth-layout.register .ad-availability{padding:25px}
.ad-onboarding-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border:1px solid #284253;border-radius:12px 12px 0 0;background:#071c2a}
.ad-onboarding-header .brand{font-size:22px}.ad-onboarding-header .brand img{width:32px;height:32px}.ad-onboarding-header nav{display:flex;gap:10px;align-items:center}
.ad-onboarding-header nav .btn{background:transparent;border-color:transparent;min-height:42px}.ad-onboarding-title{padding:20px 2px 0}.ad-onboarding-title h1{font-size:25px;margin:0 0 5px}.ad-onboarding-title p{margin:0}
#app:has(.ad-onboarding)>.sidebar,#app:has(.ad-onboarding)>.mobile-nav,#app:has(.ad-onboarding)>.main>.topbar{display:none}
#app:has(.ad-onboarding)>.main{margin-left:0;padding:24px;max-width:1320px;width:100%;box-sizing:border-box;margin-right:auto;margin-left:auto}
.ad-onboarding>.account-progress{margin:18px 0 22px;padding:22px}.ad-document-grid{gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr) minmax(0,.96fr)}
.ad-document-grid>.card{padding:22px}.ad-document-grid h2{font-size:20px;margin-bottom:12px}.ad-document-grid .meta{line-height:1.55}.ad-document-review{margin-top:16px;padding:20px}
.ad-document-review .actions{justify-content:flex-end}.ad-document-icon{margin:0 auto 12px}.ad-camera-frame{min-height:230px}
.ad-camera-frame #ad-camera-placeholder svg{width:72px;height:72px}.ad-upload-card .file-picker{flex-direction:column;align-items:stretch}.ad-upload-card .file-picker>.btn{width:100%;justify-content:center;min-height:44px}
.ad-email-layout{display:grid;grid-template-columns:190px minmax(0,1fr);border:1px solid #284253;border-radius:12px;margin-top:20px;overflow:hidden;background:#081b29}
.ad-email-main{min-width:0;padding:20px 26px}.ad-email-main>.account-progress{background:transparent;border:0;margin:0 0 12px;padding:14px}
.ad-email-main>.ad-centered-card{border:0;box-shadow:none;background:transparent;margin:0 auto;max-width:700px;padding:24px 30px 36px}
.ad-onboarding-rail{display:flex;flex-direction:column;gap:12px;padding:45px 14px;border-right:1px solid #284253}
.ad-onboarding-rail>button{display:flex;align-items:center;gap:14px;min-height:52px;text-align:left;background:transparent;color:#d5e5f2;border:0;border-left:3px solid transparent;border-radius:7px;padding:9px;font-size:14px}
.ad-onboarding-rail>button.active{background:#103541;border-left-color:#21d9cf;color:#28e2d6}.ad-onboarding-rail>button>span{width:25px;height:25px;border:1px solid #7794ab;border-radius:50%;display:grid;place-items:center;font-size:12px}.ad-onboarding-rail svg{width:17px;height:17px}
.ad-review-layout{display:flex;flex-direction:column;gap:18px}.ad-review-layout>.account-progress{order:0;margin-bottom:0}.ad-review-layout>.ad-review-grid{order:1}.ad-review-layout>.ad-card{order:2;margin:0}.ad-review-layout>.ad-card:last-child{order:3}
.ad-review-grid{gap:18px}.ad-review-grid>.card{padding:24px}.ad-face-frame{position:relative;min-height:220px;background:radial-gradient(ellipse,#0c314255,transparent 68%)}
.ad-face-frame:before{content:'';position:absolute;width:126px;height:168px;border:2px dashed #20cec5;border-radius:50%;top:18px;left:50%;transform:translateX(-50%);pointer-events:none}.ad-face-frame>svg{width:82px;height:110px;color:#87a5c0;position:relative}.ad-face-frame>p{position:relative;margin-top:24px}
.ad-context-history{margin-top:18px;border-top:1px solid #284253;padding-top:10px}.ad-context-history>summary,.ad-reference-details>summary{cursor:pointer;color:#b7d4e3;font-size:12px;line-height:1.6}.ad-reference-details code{display:block;margin-top:8px;overflow-wrap:anywhere}
.ad-support-grid{grid-template-columns:minmax(190px,.75fr) minmax(0,1.65fr) minmax(180px,.7fr);gap:14px}.ad-support-grid>.card{padding:16px}.ad-ticket{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:6px}.ad-ticket>b{font-size:13px;line-height:1.45}.ad-ticket>span:not(.badge){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-conversation .messages{height:435px;padding:14px 0}.ad-conversation .message{font-size:13px;line-height:1.6;padding:12px 14px}.ad-conversation .ad-handoff{padding:11px 13px;margin-top:12px}.ad-conversation .ad-handoff>.btn{margin-top:10px;min-height:40px}.ad-conversation form{margin-top:12px}.ad-conversation .chat-input textarea{min-height:62px}
.ad-handoff-receipt{font-size:12px;overflow-wrap:anywhere;margin-bottom:12px}#ad-handoff-form [data-handoff-status]{margin:0;padding:12px;border:1px solid #2d5163;border-radius:8px;background:#0c2637}#ad-handoff-form[data-handoff-state=failed] [data-handoff-status]{border-color:#a8713b;color:#ffd7a8}
@media(width < 1024px){.ad-support-grid{grid-template-columns:190px minmax(0,1fr)}.ad-ticket-context{grid-column:1/-1}.ad-auth-layout{gap:26px;grid-template-columns:minmax(0,1fr) minmax(330px,1fr)}.ad-auth-hero{min-height:565px}.ad-auth-story{padding-top:145px}.ad-auth-story h1{font-size:37px}}
@media(width < 768px){
 .ad-auth{padding:0 16px}.ad-auth-header{min-height:68px}.ad-auth-layout,.ad-auth-layout.register{display:block;margin:18px auto}.ad-auth-card,.ad-auth-layout.register .ad-auth-card{padding:22px 18px}.ad-auth-card h1{font-size:28px}.ad-auth-card>.meta{margin-bottom:20px}.ad-auth .ad-form{gap:14px}.ad-auth .ad-form input:not([type=checkbox]){min-height:44px}
 .ad-auth>.account-progress{margin-top:18px}.ad-auth-layout.register .ad-availability{padding:20px}.ad-auth-alternate{padding-top:15px;margin-top:18px}
 #app:has(.ad-onboarding)>.main{padding:12px;max-width:none}.ad-onboarding-header{padding:12px;flex-wrap:wrap;gap:8px}.ad-onboarding-header .brand{font-size:17px}.ad-onboarding-header nav{gap:4px;width:100%;justify-content:flex-end}.ad-onboarding-header nav .btn{min-height:36px;padding:5px 10px;font-size:12px}.ad-onboarding-title{padding-top:17px}.ad-onboarding-title h1{font-size:23px}.ad-onboarding-title p{font-size:12px}
 .ad-onboarding>.account-progress{padding:16px 8px;margin:16px 0}.ad-document-grid{display:flex;gap:14px}.ad-document-grid>.card{padding:18px}.ad-document-review{padding:18px}.ad-camera-frame{min-height:210px}.ad-document-review .actions{display:flex;flex-direction:column}.ad-document-review .actions>*{width:100%}
 .ad-email-layout{display:block;margin-top:16px}.ad-onboarding-rail{display:none}.ad-email-main{padding:8px 12px}.ad-email-main>.account-progress{padding:15px 0}.ad-email-main>.ad-centered-card{padding:22px 8px 28px}.ad-email-main .ad-centered-actions{margin-top:22px}.ad-review-layout{gap:14px}.ad-review-grid>.card{padding:20px}.ad-face-frame{min-height:220px}
 .ad-account-overview>.ad-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin-bottom:16px}.ad-account-overview>.ad-tabs>button{width:100%;min-width:0;min-height:44px;padding:7px 4px;font-size:10px;white-space:normal;line-height:1.35}.ad-account-overview>.ad-tabs>button:last-child{flex-basis:auto;text-align:center}
 .ad-account-overview [data-account-section][data-account-active=true]{order:0}.ad-account-overview>.ad-account-grid{display:block}.ad-account-overview [data-account-section]{scroll-margin-top:16px}
 .ad-support-grid{display:flex;gap:12px}.ad-support .ad-conversation{height:auto;min-height:0;padding:14px}.ad-support .ad-conversation .messages{height:auto;min-height:210px;max-height:58dvh;padding:12px 0;margin:8px 0}.ad-conversation .ad-handoff{padding:10px;margin:10px 0 0}.ad-conversation .ad-handoff>div{gap:9px}.ad-conversation .ad-handoff small{margin-top:3px;line-height:1.5}.ad-conversation .ad-handoff>.btn{margin-top:8px}
 .ad-conversation #support-form{position:static;margin-top:10px;padding-top:10px}.ad-conversation .chat-input textarea{min-height:54px;max-height:125px}.ad-support .file-picker{gap:8px;align-items:center}.ad-support .file-picker>button{min-height:40px}.ad-support .file-picker>[data-file-name]{min-width:0;flex:1;line-height:1.4}.ad-support .ad-file-label{display:block;font-size:10px!important;margin:9px 0 5px!important}
 .mobile-conversation-nav{gap:6px}.mobile-conversation-nav>span{max-width:40%}.mobile-conversation-nav>.btn{min-height:40px;font-size:11px;padding:6px 8px}
}
/* R22: collapse inactive Account sections only on true small-pointer devices, so a
   narrow or zoomed desktop window never hides the profile, security, withdrawal
   password and withdrawal address panels. */
@media(width < 768px) and (pointer: coarse){
 .ad-account-overview [data-account-section][data-account-active=false]{display:none}
 .ad-account-overview [data-account-section][data-account-active=true]{order:0}
}
@media(prefers-reduced-motion:reduce){.ad-auth-globe{display:block}.ad-wire-globe{animation:none}.ad-auth-story{padding-top:160px}}

/* R21: tablet identity form uses two readable evidence columns. */
@media (min-width:768px) and (max-width:1100px){.ad-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-document-grid>.ad-card{grid-column:1/-1}.ad-camera-card .actions{flex-wrap:wrap}}

/* R21: notification previews stay compact; the opened detail retains the full body. */
@media (max-width:767px){.ad-notification{align-items:flex-start;padding:14px 9px}.ad-notification-icon,.ad-unread-dot{flex-shrink:0}.ad-notification>span:nth-child(3){min-width:0}.ad-notification small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5}.ad-notification time{display:block;white-space:normal;line-height:1.4}.ad-notification-detail .ad-notification-body{overflow-wrap:anywhere}}

/* Source: white-theme.css */
/* White workspace theme. Presentation only; last stylesheet in index.html.
   Keep surface/text/status colors paired. Country flags and Earth imagery retain
   their source colors. Selector lists intentionally avoid :is() specificity promotion. No layouts, financial values or permissions are changed. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg:#ffffff; --panel:#ffffff; --panel2:#f5f8fa; --panel-2:#f5f8fa;
  --line:#d8e3e9; --panel-edge:#d8e3e9; --panel-highlight:#08786a; --text:#172b3a; --muted:#526579;
  --accent:#08786a; --teal:#08786a; --danger:#bc3044; --gold:#865b08;
  --surface-soft:#f5f8fa; --surface-hover:#edf5f6;
  --accent-soft:#e7f5f1; --accent-line:#a6d6ca;
  --danger-soft:#fff0f2; --danger-line:#edbac4;
  --warning-soft:#fff7e6; --warning-line:#e7d0a2;
  --info-soft:#edf5fd; --info-text:#245b87;
  --chart-grid:#dbe5eb; --chart-text:#526579; --chart-up:#08786a;
  --chart-down:#c73545; --chart-secondary:#345fd1;
  --chart-area:rgba(13,148,136,.12); --quote-flash:#d5f2ec;
  --globe-background:#ffffff; --globe-grid:#c9dae4;
  --theme-shadow:0 4px 18px rgba(23,43,58,.055);
}
:root[data-theme="light"] .admin-design,

:root[data-theme="light"] .ad-auth,

:root[data-theme="light"] .ad-account,

:root[data-theme="light"] .ad-onboarding,

:root[data-theme="light"] .ad-support,

:root[data-theme="light"] .ad-notifications,

:root[data-theme="light"] .ad-more {
  --ad-bg:var(--bg); --ad-panel:var(--panel); --ad-panel-soft:var(--surface-soft);
  --ad-raised:var(--surface-soft); --ad-border:var(--line);
  --ad-text:var(--text); --ad-muted:var(--muted); --ad-accent:var(--accent);
}
:root[data-theme="light"] body,
:root[data-theme="light"] .main,

:root[data-theme="light"] body,
:root[data-theme="light"] .sidebar,

:root[data-theme="light"] body,
:root[data-theme="light"] .ad-admin-sidebar,

:root[data-theme="light"] body,
:root[data-theme="light"] .ad-auth,

:root[data-theme="light"] body,
:root[data-theme="light"] .auth-shell,

:root[data-theme="light"] body,
:root[data-theme="light"] .ad-onboarding,

:root[data-theme="light"] body,
:root[data-theme="light"] .ad-onboarding-header,

:root[data-theme="light"] body,
:root[data-theme="light"] .ad-email-layout {
  background:var(--bg); color:var(--text); border-color:var(--line);
}
:root[data-theme="light"] .card,

:root[data-theme="light"] .metric,

:root[data-theme="light"] .summary-metric,

:root[data-theme="light"] .summary-metric.positive,

:root[data-theme="light"] .metric.accent,

:root[data-theme="light"] .ad-card,

:root[data-theme="light"] :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),

:root[data-theme="light"] .ad-metric,

:root[data-theme="light"] .auth-card,

:root[data-theme="light"] .ad-auth-card,

:root[data-theme="light"] .ad-availability,

:root[data-theme="light"] .globe-card,

:root[data-theme="light"] .geography-card {
  background:var(--panel); color:var(--text); border-color:var(--line); box-shadow:var(--theme-shadow);
}
:root[data-theme="light"] .topbar,

:root[data-theme="light"] .sidebar-foot,

:root[data-theme="light"] .ad-onboarding-rail,

:root[data-theme="light"] .ad-context-history,

:root[data-theme="light"] .ad-internal-note,

:root[data-theme="light"] .ad-setting-row,

:root[data-theme="light"] .ad-history-row,

:root[data-theme="light"] .ad-conversation .messages,

:root[data-theme="light"] .ad-tabs,

:root[data-theme="light"] .pa-history article { border-color:var(--line); }
:root[data-theme="light"] .topbar,

:root[data-theme="light"] .mobile-nav,

:root[data-theme="light"] .ad-mobile-nav,

:root[data-theme="light"] .ad-save-bar { background:#ffffff; color:var(--text); border-color:var(--line); }
:root[data-theme="light"] .mobile-nav,

:root[data-theme="light"] .ad-mobile-nav { box-shadow:0 -3px 16px rgba(23,43,58,.06); }
:root[data-theme="light"] .nav-item,

:root[data-theme="light"] .ad-page-nav button,

:root[data-theme="light"] .ad-mobile-nav button,

:root[data-theme="light"] .ad-onboarding-rail>button,

:root[data-theme="light"] .ad-tabs>button,

:root[data-theme="light"] .mobile-nav button,

:root[data-theme="light"] .ad-more-links>button { color:var(--muted); }
:root[data-theme="light"] .nav-item:hover,

:root[data-theme="light"] .ad-sidebar-group>summary:hover,

:root[data-theme="light"] .ad-sidebar-group[open]>summary,

:root[data-theme="light"] .ad-country-list button:hover,

:root[data-theme="light"] .ad-country-list button:focus-visible,

:root[data-theme="light"] .ad-ticket:hover,

:root[data-theme="light"] .period-switch button:hover { background:var(--surface-hover); color:var(--text); }
:root[data-theme="light"] .nav-item.active,

:root[data-theme="light"] .ad-admin-nav .active,

:root[data-theme="light"] .tab.active,

:root[data-theme="light"] .ad-page-nav button.active,

:root[data-theme="light"] .ad-segments [aria-pressed=true],

:root[data-theme="light"] .ad-tabs>button.active,

:root[data-theme="light"] .ad-onboarding-rail>button.active,

:root[data-theme="light"] .period-switch button.active,

:root[data-theme="light"] .market-quick-filters [aria-pressed=true],

:root[data-theme="light"] .ad-audit-workspace [aria-pressed=true] { background:var(--accent-soft); color:var(--accent); border-color:var(--accent-line); }
:root[data-theme="light"] .mobile-nav button.active,

:root[data-theme="light"] .ad-mobile-nav button.active,

:root[data-theme="light"] .mobile-nav .active { color:var(--accent); }
:root[data-theme="light"] .mobile-nav .active svg { filter:none; }
:root[data-theme="light"] .btn,

:root[data-theme="light"] .btn:not(.primary),

:root[data-theme="light"] .ad-segments .btn { background:var(--panel); color:var(--text); border-color:var(--line); }
:root[data-theme="light"] .btn:hover:not(:disabled),

:root[data-theme="light"] .icon-button:hover,

:root[data-theme="light"] .text-button:hover { background:var(--surface-hover); color:var(--text); border-color:#adc5d1; }
:root[data-theme="light"] .btn.primary,
:root[data-theme="light"] .ad-upload-card .file-picker label.btn.primary,
:root[data-theme="light"] .ad-upload-card label.btn.primary { background:var(--accent); border-color:var(--accent); color:#ffffff; }
:root[data-theme="light"] .btn.primary:hover:not(:disabled) { background:#06685d; border-color:#06685d; color:#ffffff; }
:root[data-theme="light"] .btn.ghost { background:transparent; }
:root[data-theme="light"] .btn.danger { background:var(--danger-soft); color:var(--danger); border-color:var(--danger-line); }
:root[data-theme="light"] a,

:root[data-theme="light"] .text-button,

:root[data-theme="light"] .profit-help-button,

:root[data-theme="light"] .ad-auth-alternate .btn,

:root[data-theme="light"] .ad-password-toggle:hover,

:root[data-theme="light"] .ad-more-links>button:hover { color:var(--accent); }
:root[data-theme="light"] .icon-button,

:root[data-theme="light"] .ad-password-toggle { color:var(--muted); border-color:var(--line); }
:root[data-theme="light"] .top-search,

:root[data-theme="light"] .search-field,

:root[data-theme="light"] .ad-search,

:root[data-theme="light"] .ad-country-button,

:root[data-theme="light"] .ad-form input:not([type=checkbox]),

:root[data-theme="light"] .ad-form select,

:root[data-theme="light"] .ad-form textarea,

:root[data-theme="light"] input,

:root[data-theme="light"] select,

:root[data-theme="light"] textarea,

:root[data-theme="light"] .ad-support-toolbar>select,

:root[data-theme="light"] .ad-notification-filters>select,

:root[data-theme="light"] .ad-conversation .chat-input textarea,

:root[data-theme="light"] .ad-support-form textarea { background:var(--panel); color:var(--text); border-color:#bdced8; }
:root[data-theme="light"] input::placeholder,

:root[data-theme="light"] textarea::placeholder { color:#627488; opacity:1; }
:root[data-theme="light"] input:focus,

:root[data-theme="light"] select:focus,

:root[data-theme="light"] textarea:focus { border-color:var(--accent); }
:root[data-theme="light"] input[type=checkbox],

:root[data-theme="light"] input[type=radio] { accent-color:var(--accent); }
:root[data-theme="light"] input.native-file-input[type=file],

:root[data-theme="light"] .ad-conversation input[type=file] { background:var(--panel); color:var(--text); border-color:#bdced8!important; }
:root[data-theme="light"] input.native-file-input[type=file]::file-selector-button,

:root[data-theme="light"] .ad-conversation input[type=file]::file-selector-button { background:var(--surface-soft); color:var(--text); border-color:#bdced8; }
:root[data-theme="light"] .ad-account-overview #ad-account-notifications .checkbox input[type=checkbox] { background:#dce5eb; border-color:#a8bac7; }
:root[data-theme="light"] .ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]:after { background:#ffffff; }
:root[data-theme="light"] .ad-account-overview #ad-account-notifications .checkbox input[type=checkbox]:checked { background:var(--accent); border-color:var(--accent); }
:root[data-theme="light"] .ad-file-label { color:var(--muted)!important; }
:root[data-theme="light"] .top-search kbd { color:var(--muted); border-color:var(--line); }
:root[data-theme="light"] .breadcrumb span,

:root[data-theme="light"] .empty strong,

:root[data-theme="light"] .setup-facts b,

:root[data-theme="light"] .balance-subline b,

:root[data-theme="light"] .compact-definition dd,

:root[data-theme="light"] .next-event b,

:root[data-theme="light"] .coverage-strip b,

:root[data-theme="light"] .currency-select,

:root[data-theme="light"] .globe-caption b,

:root[data-theme="light"] .ad-facts dd,

:root[data-theme="light"] .ad-member-header p,

:root[data-theme="light"] .ad-audit-row b,

:root[data-theme="light"] .ad-settlement-times b,

:root[data-theme="light"] .ad-internal-note b,

:root[data-theme="light"] .ad-auth-header nav .btn,

:root[data-theme="light"] .ad-form label,

:root[data-theme="light"] .ad-country-list button,

:root[data-theme="light"] .account-progress li.current b,

:root[data-theme="light"] .ad-ticket,

:root[data-theme="light"] .ad-notification,

:root[data-theme="light"] .ad-more-profile,

:root[data-theme="light"] .ad-more-links>button,

:root[data-theme="light"] .completed-route-path,

:root[data-theme="light"] .dashboard-route-summary strong,

:root[data-theme="light"] .mc-cost-list strong,

:root[data-theme="light"] .ad-search input,

:root[data-theme="light"] .mobile-brand,

:root[data-theme="light"] label { color:var(--text); }
:root[data-theme="light"] .nav-caption,

:root[data-theme="light"] .workspace-environment,

:root[data-theme="light"] .top-search,

:root[data-theme="light"] .connection-status,

:root[data-theme="light"] .ticker-item>span small,

:root[data-theme="light"] .ticker-item>small span,

:root[data-theme="light"] .ticker-item .ticker-time,

:root[data-theme="light"] .summary-metric>span,

:root[data-theme="light"] .summary-metric>small,

:root[data-theme="light"] .balance-subline,

:root[data-theme="light"] .geography-selection small,

:root[data-theme="light"] .route-ribbon>span:first-child,

:root[data-theme="light"] .status-reason,

:root[data-theme="light"] .auto-state-line,

:root[data-theme="light"] .compact-definition dt,

:root[data-theme="light"] .next-event,

:root[data-theme="light"] .performance-total span,

:root[data-theme="light"] .period-switch button,

:root[data-theme="light"] .chart-tooltip span,

:root[data-theme="light"] .chart-scale,

:root[data-theme="light"] .chart-empty,

:root[data-theme="light"] .chart-data-details summary,

:root[data-theme="light"] .advanced-market summary,

:root[data-theme="light"] .quote-head small,

:root[data-theme="light"] .quote-meta,

:root[data-theme="light"] .chart-status,

:root[data-theme="light"] .market-chart-card h2 small,

:root[data-theme="light"] .spark-unavailable,

:root[data-theme="light"] .coverage-strip,

:root[data-theme="light"] .view-switch button,

:root[data-theme="light"] .market-results,

:root[data-theme="light"] .market-list td>small,

:root[data-theme="light"] .currency-select small,

:root[data-theme="light"] .provider-attribution,

:root[data-theme="light"] .heatmap-heading p,

:root[data-theme="light"] .auto-balance-grid span,

:root[data-theme="light"] .route-amount-flow span,

:root[data-theme="light"] .recovery-actions button,

:root[data-theme="light"] .support-presence,

:root[data-theme="light"] .ad-metric small,

:root[data-theme="light"] .ad-notification small,

:root[data-theme="light"] .ad-audit-row,

:root[data-theme="light"] .ad-progress li,

:root[data-theme="light"] .ad-internal-note small,

:root[data-theme="light"] .ad-internal-note p,

:root[data-theme="light"] .ad-mfa summary,

:root[data-theme="light"] .ad-auth-alternate p,

:root[data-theme="light"] .ad-security-strip span,

:root[data-theme="light"] .ad-policy,

:root[data-theme="light"] .ad-country-list small,

:root[data-theme="light"] .ad-consent small,

:root[data-theme="light"] .account-progress li,

:root[data-theme="light"] .ad-checklist,

:root[data-theme="light"] .ad-status-grid>div>span:first-child,

:root[data-theme="light"] .ad-camera-card #ad-camera-status,

:root[data-theme="light"] .ad-timeline time,

:root[data-theme="light"] .ad-timeline p,

:root[data-theme="light"] #ad-file-preview small,

:root[data-theme="light"] .ad-setting-row small,

:root[data-theme="light"] .ad-history-row small,

:root[data-theme="light"] .ad-ticket>span:not(.badge),

:root[data-theme="light"] .ad-ticket>small,

:root[data-theme="light"] .ad-handoff small,

:root[data-theme="light"] .ad-notification time,

:root[data-theme="light"] .ad-more-profile small,

:root[data-theme="light"] .ad-facts dt,

:root[data-theme="light"] .definition dt,

:root[data-theme="light"] input.native-file-input[type=file]+.file-picker>[data-file-name],

:root[data-theme="light"] .mc-cost-list span,

:root[data-theme="light"] .manual-statement-record .mc-facts dt,

:root[data-theme="light"] .profit-help-dialog p,

:root[data-theme="light"] .wallet-valuation-details>summary,

:root[data-theme="light"] .dashboard-route-summary small,

:root[data-theme="light"] .dashboard-route-summary .route-summary-state,

:root[data-theme="light"] .completed-route-table time,

:root[data-theme="light"] .completed-route-table td:before,

:root[data-theme="light"] .ad-context-history>summary,

:root[data-theme="light"] .ad-reference-details>summary,

:root[data-theme="light"] .ad-account-details>summary { color:var(--muted); }
:root[data-theme="light"] .metric-label>svg,

:root[data-theme="light"] .empty svg,

:root[data-theme="light"] .search-field svg,

:root[data-theme="light"] .ad-search svg,

:root[data-theme="light"] .ad-benefit svg,

:root[data-theme="light"] .ad-setting-row svg,

:root[data-theme="light"] .ad-document-icon,

:root[data-theme="light"] .ad-camera-frame #ad-camera-placeholder,

:root[data-theme="light"] .ad-face-frame>svg { color:var(--muted); }
:root[data-theme="light"] .positive,

:root[data-theme="light"] .teal,

:root[data-theme="light"] .geography-selection b span,

:root[data-theme="light"] .route-ribbon i,

:root[data-theme="light"] .ad-route-path,

:root[data-theme="light"] .support-presence b,

:root[data-theme="light"] .dashboard-route-summary strong.positive,

:root[data-theme="light"] .completed-route-table strong.positive,

:root[data-theme="light"] .dashboard-page .performance-total strong { color:var(--accent); }
:root[data-theme="light"] .negative,

:root[data-theme="light"] .dashboard-route-summary strong.negative,

:root[data-theme="light"] .completed-route-table strong.negative,

:root[data-theme="light"] .dashboard-page .performance-total strong.negative { color:var(--danger); }
:root[data-theme="light"] .badge,

:root[data-theme="light"] .ad-country-tags>span,

:root[data-theme="light"] .ad-asset-label,

:root[data-theme="light"] .currency-token,

:root[data-theme="light"] .currency-icon,

:root[data-theme="light"] .asset-code { background:var(--surface-soft); border-color:var(--line); color:var(--muted); }
:root[data-theme="light"] .badge.teal,

:root[data-theme="light"] .banner,

:root[data-theme="light"] .mobile-trading-status { background:var(--accent-soft); color:#075e54; border-color:var(--accent-line); }
:root[data-theme="light"] .badge.gold,

:root[data-theme="light"] .banner.gold,

:root[data-theme="light"] :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold,

:root[data-theme="light"] .mc-receipt-outcome.requires-review { background:var(--warning-soft); color:var(--gold); border-color:var(--warning-line); }
:root[data-theme="light"] .badge.red,

:root[data-theme="light"] .inline-error,

:root[data-theme="light"] :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).red { background:var(--danger-soft); color:var(--danger); border-color:var(--danger-line); }
:root[data-theme="light"] :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice),

:root[data-theme="light"] .pa-notice,

:root[data-theme="light"] .ad-handoff,

:root[data-theme="light"] .payout-receipt-panel,

:root[data-theme="light"] .wallet-ownership-note { background:var(--info-soft); border-color:#b6d1e6; color:var(--info-text); }
:root[data-theme="light"] :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice)>svg,

:root[data-theme="light"] :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold>svg,

:root[data-theme="light"] .ad-handoff svg { color:inherit; }
:root[data-theme="light"] .route-result-pending,

:root[data-theme="light"] .mc-receipt-outcome.requires-review h4,

:root[data-theme="light"] .design-timeline .current b,

:root[data-theme="light"] #design-detail-refresh-error:not(:empty) { color:var(--gold); border-color:var(--warning-line); }
:root[data-theme="light"] #toast { background:var(--panel); color:var(--text); border-color:var(--accent-line); box-shadow:0 8px 30px rgba(23,43,58,.15); }
:root[data-theme="light"] #toast.error { background:var(--danger-soft); color:var(--danger); border-color:var(--danger-line); }
:root[data-theme="light"] dialog,

:root[data-theme="light"] .modal,

:root[data-theme="light"] .private-evidence-dialog,

:root[data-theme="light"] .profit-help-dialog { color-scheme:light; background:var(--panel); color:var(--text); border-color:var(--line); box-shadow:0 18px 60px rgba(23,43,58,.2); }
:root[data-theme="light"] dialog::backdrop,

:root[data-theme="light"] .private-evidence-dialog::backdrop,

:root[data-theme="light"] .profit-help-dialog::backdrop { background:rgba(23,43,58,.38); }
:root[data-theme="light"] .design-inset,

:root[data-theme="light"] .design-deposit-summary,

:root[data-theme="light"] .design-status-summary>div,

:root[data-theme="light"] .settlement-note,

:root[data-theme="light"] .auto-status-bar,

:root[data-theme="light"] .auto-balance-grid>div,

:root[data-theme="light"] .activity-advanced-filters,

:root[data-theme="light"] .ad-settlement-strip,

:root[data-theme="light"] .ad-balance-grid>div,

:root[data-theme="light"] .ad-provider-card,

:root[data-theme="light"] .ad-config-field>strong,

:root[data-theme="light"] .ad-provider-selector,

:root[data-theme="light"] .principal-availability,

:root[data-theme="light"] .mc-cost-breakdown,

:root[data-theme="light"] .mc-receipt-outcome,

:root[data-theme="light"] .ad-verification-strip,

:root[data-theme="light"] .rc-transfer-grid>div,

:root[data-theme="light"] .market-price-facts>div,

:root[data-theme="light"] .market-observed-stats>div,

:root[data-theme="light"] .deposit-state-pair>section,

:root[data-theme="light"] #design-deposit-history .deposit-amount-summary>div,

:root[data-theme="light"] .statement-return-card,

:root[data-theme="light"] .dashboard-route-summary,

:root[data-theme="light"] .route-ribbon,

:root[data-theme="light"] .dashboard-page .geography-card .route-ribbon { background:var(--surface-soft); color:var(--text); border-color:var(--line); }
:root[data-theme="light"] .code-box,

:root[data-theme="light"] .design-evidence-json,

:root[data-theme="light"] .ad-json,

:root[data-theme="light"] .private-evidence-text,

:root[data-theme="light"] .ad-support-form,

:root[data-theme="light"] .ad-conversation #support-form { background:var(--surface-soft); color:var(--text); border-color:var(--line); }
:root[data-theme="light"] .market-ticker,

:root[data-theme="light"] .ticker,

:root[data-theme="light"] .heatmap-currency-card,

:root[data-theme="light"] .heatmap-pair,

:root[data-theme="light"] .heatmap-card-heading,

:root[data-theme="light"] .market-currency-row,

:root[data-theme="light"] :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr,

:root[data-theme="light"] .completed-route-table tr,

:root[data-theme="light"] .statement-revisions .statement-day { background:var(--panel); border-color:var(--line); }
:root[data-theme="light"] th,

:root[data-theme="light"] table.responsive th,

:root[data-theme="light"] .market-list th,

:root[data-theme="light"] :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th,

:root[data-theme="light"] :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) thead,

:root[data-theme="light"] .responsive thead,

:root[data-theme="light"] .cross-heatmap th,

:root[data-theme="light"] .completed-route-table th { background:var(--surface-soft); color:var(--muted); border-color:var(--line); }
:root[data-theme="light"] td,

:root[data-theme="light"] :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td,

:root[data-theme="light"] .dashboard-page .completed-route-table td,

:root[data-theme="light"] .mc-cost-list li,

:root[data-theme="light"] .manual-statement-record,

:root[data-theme="light"] .manual-statement-evidence,

:root[data-theme="light"] .mc-detail .mc-facts dt,

:root[data-theme="light"] .mc-detail .mc-facts dd,

:root[data-theme="light"] .manual-statement-evidence .mc-facts dt,

:root[data-theme="light"] .manual-statement-evidence .mc-facts dd { border-color:var(--line); }
:root[data-theme="light"] .ticker-item:hover,

:root[data-theme="light"] table.responsive tbody tr:hover,

:root[data-theme="light"] .market-list tr:hover,

:root[data-theme="light"] :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tbody tr:hover { background:var(--surface-hover); }
:root[data-theme="light"] .market-list tr.selected,

:root[data-theme="light"] .market-currency-row.selected,

:root[data-theme="light"] .activity-record.selected,

:root[data-theme="light"] .statement-day.selected,

:root[data-theme="light"] .ad-record.selected,

:root[data-theme="light"] .ad-provider-card.selected,

:root[data-theme="light"] .ad-ticket.active,

:root[data-theme="light"] .ad-ticket.selected,

:root[data-theme="light"] .ad-notification.active,

:root[data-theme="light"] .ad-notification-row.selected,

:root[data-theme="light"] .route-order-row.selected { background:var(--accent-soft); color:var(--text); border-color:var(--accent-line); }
:root[data-theme="light"] .ad-provider-card.selected,

:root[data-theme="light"] .ad-record.selected { box-shadow:inset 0 0 0 1px var(--accent-line); }
:root[data-theme="light"] .ad-ticket,

:root[data-theme="light"] .ad-notification,

:root[data-theme="light"] .ad-notification-row,

:root[data-theme="light"] .ad-country-list button,

:root[data-theme="light"] .ad-document-body,

:root[data-theme="light"] .ad-status-grid>div,

:root[data-theme="light"] .ad-attachment,

:root[data-theme="light"] .design-failure,

:root[data-theme="light"] .ad-account-overview .ad-empty-address,

:root[data-theme="light"] .design-inset,

:root[data-theme="light"] .deposit-request-layout>section,

:root[data-theme="light"] .withdraw-summary,

:root[data-theme="light"] .ad-notifications>.ad-tabs>button { border-color:var(--line); }
:root[data-theme="light"] .market-search-bar .market-extra-filters[open]>div { background:var(--panel); color:var(--text); border-color:var(--line); box-shadow:0 10px 28px rgba(23,43,58,.12); }
:root[data-theme="light"] .currency-chart-detail .market-chart-header .market-price-facts { background:var(--surface-soft); border-color:var(--line); }
:root[data-theme="light"] .currency-chart-detail .market-chart-header .market-price-facts>div,

:root[data-theme="light"] .currency-chart-detail .market-chart-secondary { border-color:var(--line); }
:root[data-theme="light"] .cross-heatmap td,

:root[data-theme="light"] .cross-heatmap .heat-flat,

:root[data-theme="light"] .cross-heatmap .missing { background:var(--surface-soft); border-color:var(--line); }
:root[data-theme="light"] .cross-heatmap .heat-up,

:root[data-theme="light"] .heatmap-pair.heat-up { background:#e6f4ed; border-color:var(--accent-line); }
:root[data-theme="light"] .cross-heatmap .heat-down,

:root[data-theme="light"] .heatmap-pair.heat-down { background:#fff0f1; border-color:var(--danger-line); }
:root[data-theme="light"] .cross-heatmap td button { color:var(--accent); }
:root[data-theme="light"] .cross-heatmap .heat-down button { color:var(--danger); }
:root[data-theme="light"] .cross-heatmap .heat-flat button,

:root[data-theme="light"] .cross-heatmap .missing button { color:var(--muted); }
:root[data-theme="light"] .message,

:root[data-theme="light"] .ad-chat .message,

:root[data-theme="light"] .ad-conversation .message { background:var(--surface-soft); color:var(--text); border-color:var(--line); }
:root[data-theme="light"] .message.own,

:root[data-theme="light"] .ad-chat .message.mine,

:root[data-theme="light"] .ad-conversation .message.own { background:var(--accent-soft); color:#075e54; border-color:var(--accent-line); }
:root[data-theme="light"] .avatar,

:root[data-theme="light"] .ad-avatar,

:root[data-theme="light"] .ad-profile-summary .avatar,

:root[data-theme="light"] .metric-icon,

:root[data-theme="light"] .ad-metric-icon,

:root[data-theme="light"] .ad-round-icon,

:root[data-theme="light"] .ad-notification-icon,

:root[data-theme="light"] .route-summary-icon { background:var(--accent-soft); color:var(--accent); border-color:var(--accent-line); }
:root[data-theme="light"] .design-metric-icon,

:root[data-theme="light"] .ad-asset-label svg,

:root[data-theme="light"] .ad-provider-card>svg,

:root[data-theme="light"] .ad-mobile-nav svg,

:root[data-theme="light"] .profit-help-button { color:var(--accent); }
:root[data-theme="light"] .profit-help-button:hover { background:var(--accent-soft); }
:root[data-theme="light"] .company-logo-preview,

:root[data-theme="light"] .ad-company-brand img,

:root[data-theme="light"] .allocation-ring>div { background:#ffffff; }
:root[data-theme="light"] .pill-number,

:root[data-theme="light"] .unread-count { background:var(--accent); color:#ffffff; }
:root[data-theme="light"] .account-progress,

:root[data-theme="light"] .ad-progress,

:root[data-theme="light"] .ad-more-profile { background:var(--panel); color:var(--text); border-color:var(--line); }
:root[data-theme="light"] .step-num,

:root[data-theme="light"] .timeline-dot,

:root[data-theme="light"] .ad-progress li>span,

:root[data-theme="light"] .account-progress li>span,

:root[data-theme="light"] .execution-phases li>span { background:var(--surface-soft); color:var(--muted); border-color:#b7cbd5; }
:root[data-theme="light"] .progress-step.done .step-num,

:root[data-theme="light"] .done .timeline-dot,

:root[data-theme="light"] .route-execution-timeline .done .timeline-dot,

:root[data-theme="light"] .ad-progress li.done>span,

:root[data-theme="light"] .account-progress li.done>span,

:root[data-theme="light"] .account-progress li.current>span,

:root[data-theme="light"] .execution-phases .current>span { background:var(--accent); color:#ffffff; border-color:var(--accent); }
:root[data-theme="light"] .design-timeline li:before,

:root[data-theme="light"] .route-execution-timeline li:not(:last-child):before,

:root[data-theme="light"] .ad-progress li:not(:last-child):after,

:root[data-theme="light"] .account-progress li:before,

:root[data-theme="light"] .execution-phases li:before { background:var(--line); }
:root[data-theme="light"] .account-progress li.done:before { background:var(--accent); }
:root[data-theme="light"] .design-timeline .current .timeline-dot { background:var(--warning-soft); color:var(--gold); border-color:var(--warning-line); }
:root[data-theme="light"] .ad-timeline li { border-color:var(--line); }
:root[data-theme="light"] .ad-timeline li:before { background:var(--accent); box-shadow:0 0 0 5px #ffffff; }
:root[data-theme="light"] .ad-unread-dot,

:root[data-theme="light"] .ad-timeline-dot { background:#8ca2b3; }
:root[data-theme="light"] .ad-notification.unread .ad-unread-dot,

:root[data-theme="light"] .ad-notification.unread .ad-timeline-dot { background:var(--accent); }
:root[data-theme="light"] .state-orb { background:#7b91a1; border-color:var(--line); }
:root[data-theme="light"] .state-orb.enabled { background:var(--accent); border-color:var(--accent-line); box-shadow:none; }
:root[data-theme="light"] .design-error-icon { background:var(--info-soft); color:var(--info-text); box-shadow:0 0 0 8px #f2f7fa; }
:root[data-theme="light"] .design-failure[data-error-status="403"] .design-error-icon { background:var(--danger-soft); color:var(--danger); }
:root[data-theme="light"] .ad-camera-frame,

:root[data-theme="light"] .ad-face-frame { background:var(--surface-soft); color:var(--muted); border-color:#adcad5; }
:root[data-theme="light"] .ad-face-frame:before { border-color:var(--accent); }
:root[data-theme="light"] #ad-handoff-form [data-handoff-status] { background:var(--info-soft); color:var(--info-text); border-color:#b6d1e6; }
:root[data-theme="light"] #ad-handoff-form[data-handoff-state=failed] [data-handoff-status] { background:var(--danger-soft); color:var(--danger); border-color:var(--danger-line); }
/* Chart class colors: axes, positive and negative series remain distinct. */
:root[data-theme="light"] .data-chart text,

/* Chart class colors: axes, positive and negative series remain distinct. */
:root[data-theme="light"] .data-chart .chart-axis-label { fill:var(--chart-text); }
:root[data-theme="light"] .chart-gridline { stroke:var(--chart-grid); }
:root[data-theme="light"] .chart-zero,

:root[data-theme="light"] .chart-cursor line { stroke:#8296a6; }
:root[data-theme="light"] .chart-line { stroke:var(--chart-up); }
:root[data-theme="light"] .chart-point { fill:var(--chart-up); }
:root[data-theme="light"] .chart-cursor circle { stroke:#ffffff; fill:var(--chart-up); }
:root[data-theme="light"] .candle-up line,

:root[data-theme="light"] .candle-up rect { stroke:var(--chart-up); fill:var(--chart-up); }
:root[data-theme="light"] .candle-down line,

:root[data-theme="light"] .candle-down rect { stroke:var(--chart-down); fill:var(--chart-down); }
:root[data-theme="light"] .sparkline path { stroke:var(--chart-up); }
:root[data-theme="light"] .compare-legend span:first-child { color:var(--chart-up); }
:root[data-theme="light"] .compare-legend span:last-child { color:var(--chart-secondary); }
:root[data-theme="light"] .chart-tooltip { background:#ffffff; color:var(--text); border-color:#adc5d1; box-shadow:0 5px 22px rgba(23,43,58,.13); }
:root[data-theme="light"] .chart-empty { background:transparent; }
:root[data-theme="light"] .chart-empty strong { color:var(--text); }
:root[data-theme="light"] .chart-empty-mark { color:var(--muted); border-color:var(--line); }
:root[data-theme="light"] .chart-scale,

:root[data-theme="light"] .chart-empty,

:root[data-theme="light"] .period-switch { border-color:var(--line); }
/* Globe: Earth remains photographic; its surrounding surface and controls are white. */
:root[data-theme="light"] .exchange-globe { background:var(--globe-background); color:var(--text); }
:root[data-theme="light"] .exchange-globe.eg-decorative { background:transparent; }
:root[data-theme="light"] .exchange-globe .eg-top { background:#ffffff; border-color:var(--line); }
:root[data-theme="light"] .exchange-globe input,

:root[data-theme="light"] .exchange-globe button,

:root[data-theme="light"] .exchange-globe .eg-results { background:#ffffff; color:var(--text); border-color:#b7cbd5; }
:root[data-theme="light"] .exchange-globe .eg-results { box-shadow:0 8px 25px rgba(23,43,58,.13); }
:root[data-theme="light"] .exchange-globe .eg-results button:hover,

:root[data-theme="light"] .exchange-globe .eg-results button:focus { background:var(--accent-soft); }
:root[data-theme="light"] .exchange-globe button[aria-pressed=true] { background:var(--accent-soft); color:var(--accent); border-color:var(--accent-line); }
:root[data-theme="light"] .exchange-globe .eg-label { background:rgba(255,255,255,.94); color:var(--text); border-color:#c8d8e1; box-shadow:0 1px 4px rgba(23,43,58,.15); }
:root[data-theme="light"] .exchange-globe .eg-label.selected { background:#e5f6f0; color:#065f53; border-color:var(--accent); }
:root[data-theme="light"] .exchange-globe .eg-info,

:root[data-theme="light"] .geography-selection { background:rgba(255,255,255,.96); color:var(--text); border-color:#c3d6de; }
:root[data-theme="light"] .exchange-globe .eg-info strong,

:root[data-theme="light"] .exchange-globe .eg-info button { color:var(--accent); }
:root[data-theme="light"] .exchange-globe .eg-info button { background:transparent; }
:root[data-theme="light"] .exchange-globe .eg-mode { background:rgba(255,255,255,.92); color:var(--muted); }
:root[data-theme="light"] .exchange-globe .eg-credit { background:#ffffff; color:var(--muted); }
:root[data-theme="light"] .exchange-globe .eg-error { color:var(--muted); }
:root[data-theme="light"] #ad-globe-shade stop:first-child { stop-color:#d8eeec; }
:root[data-theme="light"] #ad-globe-shade stop:last-child { stop-color:#f6fbfa; }
:root[data-theme="light"] .ad-auth-globe { opacity:.85; }
:root[data-theme="light"] .ad-wire-globe g[stroke],

:root[data-theme="light"] .ad-wire-globe circle[stroke],

:root[data-theme="light"] .ad-wire-globe path[stroke],

:root[data-theme="light"] .ad-wire-globe ellipse[stroke] { stroke:#328d86; }
:root[data-theme="light"] .view-switch button.active { background:var(--accent-soft); color:var(--accent); border-color:var(--accent-line); }
:root[data-theme="light"] .completed-route-path span { color:var(--accent); }
:root[data-theme="light"] .market-list td:nth-child(3)::after { color:var(--muted); }
:root[data-theme="light"] .exchange-globe .eg-label { text-shadow:none; }

/* Source: help-center.css */
/* Scoped to Help Center; existing white theme, navigation and page layout are retained. */
.hc-support{color:#172b3a}.hc-grid{grid-template-columns:minmax(180px,.8fr) minmax(0,2fr) minmax(190px,.85fr);align-items:start}.hc-grid>*{min-width:0}.hc-conversation{padding:0!important;overflow:hidden}.hc-guidance,.hc-chat{padding:24px}.hc-guidance{border-bottom:1px solid #d9e5eb}.hc-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hc-category,.hc-question,.hc-ticket{appearance:none;text-align:left;border:1px solid #d9e5eb;background:#fff;color:#172b3a;border-radius:10px;padding:12px;font:inherit;line-height:1.45;cursor:pointer;min-width:0;overflow-wrap:anywhere}.hc-category:hover,.hc-question:hover,.hc-ticket:hover{background:#f0faf9;border-color:#70c7bc}.hc-category.active,.hc-question.active,.hc-ticket.active{background:#e7f8f4;border-color:#058775;color:#006c5e}.hc-category:focus-visible,.hc-question:focus-visible,.hc-ticket:focus-visible{outline:3px solid #058775;outline-offset:2px}.hc-questions{margin-top:24px}.hc-question{display:block;width:100%;margin:8px 0}.hc-answer{margin-top:16px;background:#f5f9fb;border:1px solid #d9e5eb;padding:18px;border-radius:12px}.hc-answer p,.hc-messages p{white-space:pre-wrap;overflow-wrap:anywhere}.hc-answer small{display:block;color:#526979;line-height:1.6}.hc-guide-footer{margin-top:20px}.hc-guide-footer .btn{max-width:100%}.hc-ticket{display:flex;flex-direction:column;gap:6px;width:100%;margin-top:10px}.hc-ticket span,.hc-ticket small{color:#526979;font-size:.78rem}.hc-context h3{margin-top:24px}.hc-reference{overflow-wrap:anywhere}.hc-record-links{display:grid;gap:8px}.hc-messages{max-height:420px;min-height:120px;overflow:auto}.hc-messages .message{max-width:96%;overflow-wrap:anywhere}.hc-attachment{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:.82rem;overflow-wrap:anywhere;margin:10px 0}.hc-chat textarea,#hc-handoff-form textarea{width:100%;min-height:96px;resize:vertical}.hc-chat input[type=file]{max-width:100%}.hc-chat [data-hc-error],#hc-handoff-form [data-hc-error]{color:#a92332;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px}.hc-chat .chat-input{align-items:flex-end}.hc-chat .footnote,.hc-guidance .footnote{line-height:1.7}.hc-tickets,.hc-context{overflow-wrap:anywhere}@media(max-width:1100px){.hc-grid{grid-template-columns:minmax(170px,.7fr) minmax(0,2fr)}.hc-context{grid-column:1/-1}.hc-record-links{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:767px){.hc-support .hc-grid{display:flex;flex-direction:column;gap:16px}.hc-grid>*{width:100%}.hc-tickets{max-height:230px;overflow:auto}.hc-guidance,.hc-chat{padding:18px}.hc-categories{gap:8px}.hc-category{font-size:.83rem;padding:11px 9px}.hc-record-links{grid-template-columns:repeat(2,minmax(0,1fr))}.hc-chat .chat-input{display:flex;flex-direction:column;align-items:stretch}.hc-chat .chat-input button{align-self:flex-end;min-width:94px}.hc-chat textarea{font-size:16px}.hc-messages{max-height:370px}.hc-guide-footer .btn{width:100%}}@media(prefers-reduced-motion:reduce){.hc-support *{scroll-behavior:auto!important}}
.hc-chat [data-hc-status]{font-size:.85rem;color:#526979;line-height:1.5;overflow-wrap:anywhere;}.hc-chat form[aria-busy=true] [data-hc-status]{color:#006c5e;}.hc-chat .message a{overflow-wrap:anywhere;}.hc-chat textarea{scroll-margin-bottom:110px;}
/* Member/public chat only. The administrator workbench remains unchanged. */
#fx-support-widget[hidden],#fx-support-widget [hidden]{display:none!important}
#fx-support-widget{--fx-chat-bottom:24px;--fx-chat-height:560px;color:#172b3a;font-family:inherit}
.fx-support-launcher{position:fixed;z-index:110;right:24px;bottom:var(--fx-chat-bottom);width:58px;height:58px;border:1px solid #067f77;border-radius:50%;background:#078880;color:#fff;display:grid;place-items:center;padding:14px;box-shadow:0 6px 22px #063e4430;cursor:pointer}
.fx-support-launcher:hover{background:#066f68}.fx-support-launcher svg{width:28px;height:28px;stroke:#fff}.fx-support-launcher:focus-visible{outline:3px solid #087f78;outline-offset:4px}
.fx-chat-unread{position:absolute;right:0;top:1px;width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#b33243}
.fx-support-panel{position:fixed;right:24px;bottom:var(--fx-chat-bottom);z-index:111;width:360px;max-width:calc(100vw - 32px);height:var(--fx-chat-height);min-height:0;max-height:min(var(--fx-chat-height),calc(100dvh - 32px));display:flex;flex-direction:column;border:1px solid #d0e4e5;border-radius:18px;background:#fff;box-shadow:0 14px 46px #1637432b;overflow:hidden;isolation:isolate}
.fx-chat-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex:none;padding:17px 16px;background:#078880;color:#fff}.fx-chat-heading h2{font-size:1.1rem;color:#fff;line-height:1.35;margin:0}.fx-chat-heading p{font-size:.78rem;color:#fff;margin:5px 0 0;line-height:1.5}.fx-chat-window-actions{display:flex;gap:4px;flex:none}.fx-chat-window-actions button{width:34px;height:34px;border:1px solid #ffffff70;border-radius:8px;background:transparent;color:#fff;font-size:1.35rem;line-height:1;cursor:pointer}.fx-chat-window-actions button:hover{background:#ffffff20}
.fx-chat-tabs{display:flex;flex:none;border-bottom:1px solid #d9e5eb;padding:6px 12px;gap:5px}.fx-chat-tabs button{flex:1;background:#fff;border:1px solid transparent;border-radius:7px;padding:8px 4px;min-height:36px;font-size:.78rem;color:#425d68;cursor:pointer}.fx-chat-tabs button[aria-pressed=true]{background:#e8f6f4;color:#006c62;border-color:#c2e5df}
.fx-support-body{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.fx-chat-welcome{padding:24px 22px;overflow:auto;line-height:1.65}.fx-chat-welcome h2{font-size:1.35rem;margin:0 0 9px}.fx-chat-welcome p{font-size:.91rem;color:#425d68}.fx-chat-intro-icon{width:52px;height:52px;border-radius:15px;background:#e7f6f3;color:#078880;padding:11px;margin-bottom:20px}.fx-chat-intro-icon svg{width:100%;height:100%}.fx-chat-welcome-actions{display:grid;gap:9px;margin:25px 0}.fx-chat-welcome .footnote{font-size:.75rem;margin:18px 0 0}
.fx-chat-footer{flex:none;padding:10px 15px;border-top:1px solid #e4eeee;background:#f8fbfa;color:#526979;font-size:.69rem;line-height:1.5}.fx-chat-notice{flex:none;margin:0;padding:9px 14px;background:#fff7e6;color:#725219;font-size:.78rem;line-height:1.5}.fx-chat-error{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9b293a;background:#fff1f2}.fx-chat-loading{padding:22px;font-size:.9rem;color:#526979}
.fx-support-panel .page-header,.fx-support-panel .hc-context{display:none!important}.fx-support-panel .hc-support,.fx-support-panel .hc-grid{display:flex!important;flex:1;min-height:0;flex-direction:column;gap:0;width:100%;height:100%}.fx-support-panel .hc-conversation{display:contents!important}.fx-support-panel .hc-tickets{display:none!important}.fx-support-panel .hc-chat,.fx-support-panel .hc-guidance{min-height:0;width:100%;padding:15px;border:none;margin:0;border-radius:0;box-shadow:none}.fx-support-panel .hc-guidance{overflow:auto;flex:1}.fx-support-panel .hc-chat{display:flex;flex-direction:column;flex:1;overflow:hidden;gap:9px}.fx-support-panel .hc-chat>.card-head{flex:none;display:block;margin:0}.fx-support-panel .hc-chat>.card-head h2{font-size:.9rem;margin:0 0 5px}.fx-support-panel .hc-chat>.card-head p{font-size:.77rem;line-height:1.5;margin:0}.fx-support-panel .hc-chat>.card-head>.badge{display:none}.fx-support-panel .hc-messages{flex:1;max-height:none;min-height:70px;overflow:auto;overscroll-behavior:contain;margin:0;padding-right:5px}.fx-support-panel .hc-messages .message{font-size:.82rem;padding:10px;max-width:94%}.fx-support-panel .hc-messages .message small{font-size:.68rem}.fx-support-panel .hc-messages .message p{margin:5px 0}.fx-support-panel .hc-messages .empty{padding:20px 10px}.fx-support-panel .hc-messages .empty svg{width:28px;height:28px}.fx-support-panel #hc-message-form{flex:none;padding-top:8px;border-top:1px solid #e4eeee;margin:0}.fx-support-panel #hc-message-form label{font-size:.75rem;margin-bottom:5px}.fx-support-panel .hc-chat .chat-input{display:flex;flex-direction:row;align-items:flex-end;gap:7px}.fx-support-panel .hc-chat textarea{min-height:62px;max-height:104px;resize:vertical;font-size:.9rem;line-height:1.5;padding:8px;width:100%;flex:1;scroll-margin-bottom:0}.fx-support-panel .hc-chat .chat-input button{min-width:65px;width:auto;padding:9px 12px;font-size:.78rem}.fx-support-panel input[type=file]{width:100%;font-size:.75rem;min-height:32px}.fx-support-panel .hc-attachment{font-size:.72rem;margin:5px 0;gap:5px}.fx-support-panel .hc-attachment .btn{min-height:30px;padding:4px 9px;font-size:.7rem}.fx-support-panel [data-hc-error],.fx-support-panel [data-hc-status]{font-size:.75rem;margin:4px 0 0;line-height:1.4}.fx-support-panel .hc-guidance h2{font-size:1.05rem}.fx-support-panel .hc-guidance .card-head p{font-size:.8rem;line-height:1.55}.fx-support-panel .hc-category{font-size:.78rem;padding:10px}.fx-support-panel .hc-question{font-size:.8rem}.fx-support-panel .hc-answer{padding:12px}.fx-support-panel .hc-answer p{font-size:.85rem}.fx-support-panel .hc-guide-footer .footnote{font-size:.73rem}.fx-support-panel .hc-chat>.footnote{flex:none;font-size:.75rem;line-height:1.5;margin:0}
.fx-support-panel[data-chat-tab=topics] .hc-chat,.fx-support-panel[data-chat-tab=conversation] .hc-guidance{display:none!important}.fx-support-panel[data-chat-tab=history] .hc-conversation,.fx-support-panel[data-chat-tab=history] .hc-guidance,.fx-support-panel[data-chat-tab=history] .hc-chat{display:none!important}.fx-support-panel[data-chat-tab=history] .hc-tickets{display:block!important;flex:1;max-height:none;min-height:0;padding:15px;overflow:auto;border:0;border-radius:0;box-shadow:none}.fx-support-panel[data-chat-tab=history] .hc-tickets h2{font-size:.95rem}
@media(max-width:680px){.fx-support-launcher{right:16px;width:54px;height:54px;padding:13px}.fx-support-panel{right:12px;width:calc(100% - 24px);max-width:calc(100% - 24px);border-radius:14px}.fx-chat-heading{padding:13px}.fx-chat-heading h2{font-size:1rem}.fx-chat-window-actions button{width:36px;height:36px}.fx-chat-tabs button{min-height:44px;font-size:14px}.fx-support-panel .hc-chat textarea{font-size:16px;min-height:58px;max-height:90px}.fx-support-panel .hc-chat .chat-input button{min-height:44px;min-width:62px}.fx-support-panel .hc-chat,.fx-support-panel .hc-guidance{padding:12px}.fx-chat-footer{padding:8px 12px;font-size:.67rem}.fx-support-panel .hc-category{font-size:.8rem;min-height:44px}}
@media(prefers-reduced-motion:reduce){#fx-support-widget *{scroll-behavior:auto!important}}
#fx-support-widget[data-keyboard=true] .fx-chat-heading p,#fx-support-widget[data-keyboard=true] .fx-chat-footer{display:none!important}#fx-support-widget[data-keyboard=true] .fx-chat-heading{padding:7px 12px;align-items:center}#fx-support-widget[data-keyboard=true] .fx-chat-tabs{padding:2px 10px}#fx-support-widget[data-keyboard=true] .hc-messages{min-height:30px}#fx-support-widget[data-keyboard=true] .hc-chat{padding:8px;gap:5px}#fx-support-widget[data-keyboard=true] .hc-chat>.card-head h2{display:none}#fx-support-widget[data-keyboard=true] #hc-message-form{padding-top:4px}#fx-support-widget[data-keyboard=true] .hc-chat textarea{min-height:44px;max-height:64px}

/* Compact guest welcome; member chats keep a viewport-capped conversation area. */
.fx-support-panel[data-chat-audience=guest]{height:auto}.fx-support-panel[data-chat-audience=guest] .fx-chat-welcome{padding:18px}.fx-support-panel[data-chat-audience=guest] .fx-chat-welcome h2{font-size:1.18rem}.fx-support-panel[data-chat-audience=guest] .fx-chat-intro-icon{width:40px;height:40px;padding:9px;border-radius:12px;margin-bottom:12px}.fx-support-panel[data-chat-audience=guest] .fx-chat-welcome-actions{margin:18px 0}.fx-support-panel[data-chat-audience=guest] .fx-chat-welcome .footnote{margin-top:12px}

/* The member conversation uses the available height; controls must not consume its history area. */
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading{padding:8px 12px;align-items:center;gap:8px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading>div:first-child{min-width:0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading h2{font-size:16px;line-height:1.3;margin:0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading p{font-size:12px;line-height:1.4;margin:4px 0 0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-window-actions button{width:36px;min-width:36px;height:36px;min-height:36px;padding:0;font-size:20px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-tabs{padding:3px 8px;gap:4px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-tabs button{min-height:36px;padding:6px 4px;font-size:12px;line-height:1.3}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-footer{padding:5px 12px;font-size:11px;line-height:1.35}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat{padding:10px 12px;gap:6px;flex:1 1 0;min-height:0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat>.card-head{padding:0;margin:0;min-height:0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat>.card-head h2{font-size:15px;line-height:1.3;margin:0 0 2px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat>.card-head p{font-size:12px;line-height:1.35;margin:0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-messages{flex:1 1 160px;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;padding:4px 4px 4px 0;scrollbar-gutter:stable}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-messages .message{font-size:13px;line-height:1.5;padding:9px 10px;margin-bottom:8px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] #hc-message-form{padding-top:6px;flex:none;display:block}
#fx-support-widget #fx-support-panel[data-chat-audience=member] #hc-message-form>label[for=hc-message]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .chat-input{padding:0;margin:0;border:0;gap:7px;align-items:flex-end}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat textarea{height:56px;min-height:52px;max-height:86px;font-size:14px;line-height:1.45;padding:8px;resize:vertical}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .chat-input button{min-height:44px;min-width:62px;padding:9px 12px;font-size:13px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-attach-control{margin:3px 0 0;font-size:12px;line-height:1.4}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-attach-control>summary{cursor:pointer;min-height:30px;padding:6px 0}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-attach-control label{margin:2px 0 4px;font-size:11px;line-height:1.4}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-attach-control .file-picker{margin:0;gap:7px;font-size:12px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-attach-control .file-picker>.btn{min-height:36px;padding:6px 9px;font-size:12px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-attachment{font-size:12px;line-height:1.4;margin:3px 0;gap:6px}
#fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-attachment:empty,#fx-support-widget #fx-support-panel[data-chat-audience=member] [data-hc-error]:empty,#fx-support-widget #fx-support-panel[data-chat-audience=member] [data-hc-status]:empty{display:none}
#fx-support-widget #fx-support-panel[data-chat-audience=member] :is([data-hc-error],[data-hc-status]){font-size:12px;line-height:1.4;margin:4px 0 0}
@media(max-width:680px){
 #fx-support-widget #fx-support-panel[data-chat-audience=member]{right:16px;width:min(360px,calc(100% - 32px));max-width:calc(100% - 32px)}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading{padding:6px 10px}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-window-actions button{width:40px;min-width:40px;height:40px;min-height:40px}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-tabs button{min-height:40px;font-size:12px}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat{padding:8px 10px}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat textarea{font-size:16px}
}
@media(max-height:500px){
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading{padding:3px 10px}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-tabs{padding:0 8px}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-footer{display:none}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat{gap:4px;padding:5px 10px}
 #fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-chat textarea{height:44px;min-height:44px;max-height:60px}
}
#fx-support-widget[data-keyboard=true] #fx-support-panel[data-chat-audience=member] .fx-chat-heading{padding:3px 10px}
#fx-support-widget[data-keyboard=true] #fx-support-panel[data-chat-audience=member] .fx-chat-tabs{padding:0 8px}
#fx-support-widget[data-keyboard=true] #fx-support-panel[data-chat-audience=member] .hc-chat{padding:5px 8px;gap:4px}
#fx-support-widget[data-keyboard=true] #fx-support-panel[data-chat-audience=member] .hc-chat textarea{height:44px;min-height:44px;max-height:60px}

/* Keep the handoff consent checkbox square instead of inheriting text-input height. */
#modal #hc-handoff-form > label.checkbox{display:flex;align-items:flex-start;gap:10px;min-width:0;min-height:44px;margin:14px 0;font-size:14px;line-height:1.5;cursor:pointer}
#modal #hc-handoff-form > label.checkbox > input[type=checkbox]{appearance:auto;box-sizing:border-box;flex:0 0 18px;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;padding:0;margin:2px 0 0;accent-color:#345ff1;cursor:pointer}
#modal #hc-handoff-form > label.checkbox > span{display:block;flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5}

/* Source: ui-help-admin.css */
/* Help Center controls inherit the current white theme and existing layout. */
.hc-guide-list{display:grid;gap:12px;margin-top:18px;max-width:100%;}
.hc-guide-list article{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;border:1px solid var(--border,#dce5ed);border-radius:12px;padding:16px;min-width:0;}
.hc-guide-list article>div{min-width:0;}.hc-guide-list h3{margin:0 0 6px;overflow-wrap:anywhere;}
.hc-guide-answer{white-space:pre-wrap;overflow-wrap:anywhere;}
#hc-admin-guide-form label{min-width:0;}#hc-admin-guide-form input:not([type=checkbox]),#hc-admin-guide-form select,#hc-admin-guide-form textarea{width:100%;box-sizing:border-box;}
.hc-guide-error{padding:12px;border:1px solid #db6161;background:#fff4f4;color:#8d2626;border-radius:8px;overflow-wrap:anywhere;}
.hc-guide-error[hidden]{display:none;}
.hc-staff-popup{position:fixed;right:20px;bottom:24px;z-index:1300;width:min(380px,calc(100vw - 32px));box-sizing:border-box;padding:18px;border:1px solid #b8ddd8;border-radius:14px;background:#fff;color:#152a3a;box-shadow:0 12px 40px #133c4a26;overflow-wrap:anywhere;}
.hc-staff-popup strong{font-size:1.05rem;}.hc-staff-popup p{margin:8px 0 14px;}.hc-staff-popup .actions{flex-wrap:wrap;}
@media(max-width:767px){.hc-staff-popup{right:16px;bottom:calc(82px + env(safe-area-inset-bottom,0px));}.hc-guide-list article{flex-direction:column;}.hc-guide-list article>.btn{align-self:flex-start;}}
/* Staff composer feedback stays in-flow, including on narrow screens. */
.hc-staff-attachment{display:flex;flex-wrap:wrap;align-items:center;gap:10px;overflow-wrap:anywhere;min-width:0;font-size:.85rem;}
.hc-staff-attachment>span{min-width:0;flex:1 1 200px;}.hc-send-status{color:#526979;line-height:1.5;margin:4px 0;overflow-wrap:anywhere;}
.ad-support-form[aria-busy=true] .hc-send-status{color:#006c5e;}.ad-support-form .hc-guide-error{margin:0;}
@media(max-width:767px){.ad-support-form textarea{font-size:16px;}.hc-staff-attachment .btn{min-height:42px;}.ad-support-form [data-hc-staff-error],.ad-support-form [data-hc-staff-status]{max-width:100%;}}
/* Reply and workflow state are independent actions. Keep the chat readable. */
.admin-design .ad-support-form .hc-staff-reply-row{display:flex;gap:8px;align-items:stretch;min-width:0;}
.admin-design .ad-support-form .hc-staff-reply-row textarea{flex:1;min-width:0;margin:0;}
.admin-design .ad-support-form .hc-staff-reply-row>.btn{flex:0 0 auto;min-height:44px;padding:8px 18px;align-self:stretch;}
.admin-design .ad-support-form .ad-compose-actions{border-top:1px solid var(--ad-border,#dce5ed);padding-top:8px;align-items:end;}
.admin-design .ad-chat-title .hc-staff-member-id{font-size:11px;margin:3px 0;overflow-wrap:anywhere;white-space:normal;}
.admin-design .ad-chat-title .hc-staff-member-id [data-user-content]{user-select:text;}
@media(max-width:767px){.admin-design .ad-support-form .hc-staff-reply-row>.btn{padding:8px 12px;}.admin-design .ad-chat-title .hc-staff-member-id{font-size:10px;}}

/* Keep the existing authorized conversation and composer in one floating window. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-workbench{display:block}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-workbench>.ad-queue{display:block;max-height:calc(100dvh - 320px);overflow:auto;padding:18px}
.hc-staff-queue-hint{margin:0 0 14px;color:#61738d;font-size:13px}
.hc-staff-queue-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-queue-list>.ad-record{margin:0;border:1px solid #dce4ef;border-radius:12px;min-width:0;background:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-queue-list>.ad-record.selected{border-color:#6382ff;background:#f1f4ff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail.hc-staff-window{position:fixed;inset:auto 22px var(--hc-staff-bottom,86px) auto;z-index:1250;width:min(460px,calc(100vw - 32px));height:var(--hc-staff-height,min(720px,calc(100dvh - 110px)));min-height:0;max-height:none;display:flex;flex-direction:column;gap:0;padding:0;margin:0;overflow:hidden;box-sizing:border-box;background:#fff;color:#142136;border:1px solid #dce4ef;border-radius:16px;box-shadow:0 14px 52px #14253d30;outline:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail[hidden],html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-launcher[hidden]{display:none!important}
#ad-support-detail .hc-staff-window-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid #e3e9f3;flex:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .hc-staff-window-heading h2{margin:0;color:#142136;font-size:18px;line-height:1.3}
#ad-support-detail .hc-staff-window-heading>div{display:flex;gap:5px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .hc-staff-window-heading button{display:grid;place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#263c58;font-size:21px;padding:0;cursor:pointer}
#ad-support-detail .hc-staff-window-tabs{display:grid;grid-template-columns:1fr 1.2fr;gap:5px;padding:6px 10px;background:#f7f9fd;border-bottom:1px solid #e3e9f3;flex:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .hc-staff-window-tabs button{border:1px solid transparent;background:#fff;color:#526782;border-radius:7px;padding:8px 5px;min-height:36px;font-size:12px;cursor:pointer}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .hc-staff-window-tabs button[aria-pressed=true]{border-color:#c7d2ff;color:#3155d9;background:#edf1ff}
#ad-support-detail .hc-staff-window-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-staff-chat-grid{display:flex;flex-direction:column;gap:0;height:100%;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-chat{display:flex;flex-direction:column;flex:1;height:auto;min-height:0;max-height:none;margin:0;padding:12px 14px;border:0;box-shadow:none;border-radius:0;background:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-chat-title{flex-wrap:wrap;gap:8px;padding-bottom:8px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-chat-title h2{font-size:16px;line-height:1.3}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-chat-title p{font-size:10px;line-height:1.4;margin:3px 0}
#ad-support-detail .ad-chat-title .ad-avatar{height:32px;width:32px;font-size:12px}
#ad-support-detail .ad-chat-title>.btn{min-height:32px;padding:6px 9px;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-chat-history{flex:1;min-height:75px;max-height:none;margin:10px 0;padding:0 4px 0 0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .message{max-width:92%;width:fit-content;border-radius:13px;padding:10px 12px;margin:0 0 12px;font-size:13px;line-height:1.5;background:#f3f5fa;color:#142136;border:1px solid #e1e7f1;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .message.mine{margin-left:auto;background:#345ff1;border-color:#345ff1;color:#fff}
#ad-support-detail .message small{display:block;font-size:10px;line-height:1.45;color:inherit;opacity:.85}
#ad-support-detail .message p{margin:5px 0 0;white-space:pre-wrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-support-form{flex:none;display:grid;gap:6px;padding:9px 0 0;margin:0;max-height:50%;overflow:auto;position:static;background:#fff;border-top:1px solid #e3e9f3}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-support-form textarea{height:58px;min-height:58px;max-height:100px;font-size:14px;background:#fff;color:#142136}
#ad-support-detail .ad-support-form label[for=ad-support-reply]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#ad-support-detail .hc-staff-workflow{font-size:12px;min-width:0}
#ad-support-detail .hc-staff-workflow>summary{padding:3px 0;cursor:pointer;color:#526782}
#ad-support-detail .hc-staff-workflow .ad-compose-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:6px}
#ad-support-detail .ad-attach-control{font-size:12px}
#ad-support-detail .hc-send-status:empty{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .atafx-support-notice{flex:none;padding:7px 9px;margin:5px 0;font-size:11px;line-height:1.4}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail #ad-support-new-activity .btn{min-height:30px;padding:5px 9px;font-size:11px;margin-bottom:5px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-staff-context{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail[data-popup-tab=context] .ad-chat{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail[data-popup-tab=context] .ad-staff-context{display:block;min-height:0;overflow:auto;border:0;border-radius:0;margin:0;padding:12px}
#ad-support-detail[data-popup-tab=context] .ad-staff-context>summary{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-staff-context>div{grid-template-columns:minmax(0,1fr);margin:0;gap:10px}
#ad-support-detail .hc-staff-window-footnote{flex:none;margin:0;padding:8px 14px;background:#f7f9fd;border-top:1px solid #e3e9f3;font-size:11px;line-height:1.4;color:#61738d}
html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-launcher{position:fixed;right:22px;bottom:var(--hc-staff-bottom,150px);z-index:1240;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 32px);min-height:48px;padding:10px 15px;border:0;border-radius:14px;background:#345ff1;color:#fff;box-shadow:0 8px 28px #14253d25;font-size:13px;cursor:pointer}
.hc-staff-launcher svg{width:20px;height:20px;flex:none}.hc-staff-launcher b{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:400;opacity:.85}
#ad-support-detail button:focus-visible,.hc-staff-launcher:focus-visible{outline:3px solid #91a4ff;outline-offset:2px}
@media(max-width:767px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail.hc-staff-window{right:12px;width:calc(100vw - 24px);border-radius:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-workbench>.ad-queue{max-height:none;overflow:visible;padding:12px}
 .hc-staff-queue-list{grid-template-columns:minmax(0,1fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content #ad-support-detail .ad-support-form textarea{font-size:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #admin-content .hc-staff-launcher{right:12px;bottom:var(--hc-staff-bottom,140px)}
 #ad-support-detail .hc-staff-window-heading{padding:8px 12px}
}

/* Source: funding-qr.css */
/* Scoped funding card. The server SVG retains black modules and its four-module white quiet zone. */
.funding-qr-card {
  box-sizing:border-box;
  width:100%;
  max-width:360px;
  min-width:0;
  margin:0 auto;
  padding:18px;
  border:1px solid #a2d6cf;
  border-radius:16px;
  background:#fff;
  color:#183c40;
  text-align:left;
}
.funding-qr-card .funding-qr-brand {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.funding-qr-card .funding-qr-brand img {
  display:block;
  flex:0 0 36px;
  width:36px;
  height:36px;
  object-fit:contain;
}
.funding-qr-card .funding-qr-brand>div { min-width:0; }
.funding-qr-card .funding-qr-brand strong {
  display:block;
  color:#183c40;
  font-size:.9375rem;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.funding-qr-card .funding-qr-brand span {
  display:block;
  margin-top:3px;
  color:#526e72;
  font-size:.75rem;
}
.funding-qr-card .funding-qr-network {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin:16px 0 12px;
  padding-top:14px;
  border-top:1px solid #deece9;
  color:#126b61;
  font-size:.75rem;
}
.funding-qr-card .funding-qr-network>span {
  padding:4px 9px;
  border:1px solid #b5dcd5;
  border-radius:6px;
  background:#eff9f6;
  font-weight:650;
}
.funding-qr-card .funding-qr-frame {
  width:clamp(216px,26vw,260px);
  max-width:100%;
  margin:0 auto;
  background:#fff;
}
/* Override legacy .qr sizing without changing MFA or placing decoration over the QR. */
.funding-qr-card img.funding-qr-code {
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  padding:0;
  border:0;
  border-radius:0;
  background:#fff;
  object-fit:contain;
}
.funding-qr-card .funding-qr-address-label {
  margin:12px 0 6px;
  color:#526e72;
  font-size:.75rem;
}
.funding-qr-card .funding-qr-address {
  margin:0;
  padding:11px;
  border:1px solid #d6e8e4;
  border-radius:8px;
  background:#f6fbfa;
  color:#183c40;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:.8125rem;
  line-height:1.6;
  overflow-wrap:anywhere;
  word-break:break-all;
}
.funding-qr-card .funding-qr-copy { margin-top:10px; }
:root[data-theme="light"] .funding-qr-card .funding-qr-copy .btn {
  width:100%;
  min-width:0;
  min-height:42px;
  border-color:#9fcfc7;
  background:#edf8f5;
  color:#126b61;
}
:root[data-theme="light"] .funding-qr-card .funding-qr-copy .btn:hover { background:#dff2ec; }
:root[data-theme="light"] .funding-qr-card .funding-qr-copy .btn:focus-visible {
  outline:2px solid #126b61;
  outline-offset:3px;
}
.funding-qr-card .funding-qr-network-note,
.funding-qr-card .funding-qr-context-note,
.funding-qr-card .funding-qr-empty {
  margin:12px 0 0;
  font-size:.75rem;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.funding-qr-card .funding-qr-network-note { color:#126b61; }
.funding-qr-card .funding-qr-context-note,
.funding-qr-card .funding-qr-empty { color:#526e72; }
@media (max-width:359px) {
  .funding-qr-card { padding:12px; border-radius:12px; }
  .funding-qr-card .funding-qr-brand { gap:8px; }
  .funding-qr-card .funding-qr-address { padding:9px; font-size:.75rem; }
}

/* Source: admin-language.css */
/* In-flow administrator language controls; never cover fields or fixed actions. */
.admin-language-switch{display:flex;align-items:center;justify-content:flex-end;gap:3px;flex:0 0 auto;padding:3px;border:1px solid #cddfdf;border-radius:10px;background:#f5fbfa;max-width:100%;font-family:inherit}
.admin-language-switch button{appearance:none;border:0;border-radius:7px;padding:8px 12px;min-height:36px;background:transparent;color:#345b61;font-family:inherit;font-weight:600;font-size:13px;line-height:1.2;cursor:pointer;white-space:nowrap}
.admin-language-switch button[aria-pressed="true"]{background:#087f80;color:#fff}
.admin-language-switch button:focus-visible{outline:3px solid #2ebdb1;outline-offset:2px}
[data-admin-language] .topbar,[data-admin-language] .ad-auth-header{flex-wrap:wrap;gap:12px}
[data-admin-language="ko"]{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:600px){.admin-language-switch{margin-left:auto}.admin-language-switch button{padding:8px 10px;min-height:40px}[data-admin-language] .topbar .admin-language-switch{order:3}[data-admin-language] .ad-auth-header .admin-language-switch{order:3}}

/* The second mobile header row belongs to the fixed header's measured space. */
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme][data-admin-language] #app>.main{--connected-header:124px;padding-top:124px}
 html.fx-connected-design.fx-unified-theme[data-theme][data-admin-language] #app>.main>.topbar{height:124px;min-height:124px;padding-bottom:10px;align-content:flex-start;row-gap:7px}
 html.fx-connected-design.fx-unified-theme[data-theme][data-admin-language] #app>.main>.topbar>.admin-language-switch{order:3;margin-left:auto}
}

/* Source: admin-controls.css */
/* Administrator controls retain their layout while disabled or submitting.
   Permission/availability hidden attributes are never overridden here. */
html[data-admin-language-active="true"] .btn,
html[data-admin-language-active="true"] button[type="submit"] {
  min-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.45;
  flex-shrink: 0;
}
/* Dismiss one staff notification without navigating to its workflow. */
#ad-staff-notification-list .ad-notification {
  position: relative;
  padding-right: 62px;
}
#ad-staff-notification-list .ad-notification > div { min-width: 0; }
#ad-staff-notification-list .ad-notification-dismiss {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #dce3ed;
  border-radius: 9px;
  background: #fff;
  color: #566c86;
  box-shadow: none;
  font-size: 22px;
  line-height: 1;
}
#ad-staff-notification-list .ad-notification-dismiss:hover { background: #f2f5fa; }
#ad-staff-notification-list .ad-notification-dismiss:disabled { opacity: .55; cursor: wait; }

/* Single-member deletion confirmation: keep existing theme outside this panel. */
#ad-member-deletions .ad-deletion-member-name,
#ad-member-deletions .ad-deletion-member-id,
#ad-member-deletion-content .ad-deletion-member-id {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
html.fx-unified-theme[data-theme] #modal-content #ad-member-deletion-content .btn:not(.danger) {
  background: #fff;
  color: #16334a;
  border-color: #c5d2e1;
  min-height: 44px;
}
html.fx-unified-theme[data-theme] #modal-content #ad-member-deletion-content .btn:not(.danger):hover:not(:disabled) {
  background: #edf3fb;
  color: #16334a;
}
html.fx-unified-theme[data-theme] #modal-content #ad-member-deletion-content .code-box {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.6;
}
html[data-admin-language-active="true"] .btn.primary {
  background-color: #08786a;
  border-color: #08786a;
  color: #fff;
}
html[data-admin-language-active="true"] .btn.primary:hover:not(:disabled) {
  background-color: #06685d;
  border-color: #06685d;
}
html[data-admin-language-active="true"] .btn:disabled {
  opacity: .65;
  cursor: not-allowed;
}
html[data-admin-language-active="true"] .btn[aria-busy="true"] {
  opacity: .85;
  cursor: progress;
}
html[data-admin-language-active="true"] button:focus-visible {
  outline: 3px solid #006c60;
  outline-offset: 3px;
}
.ad-required-password-page .ad-auth-card {
  overflow: visible;
}
.ad-required-password-page #ad-required-password-form {
  min-width: 0;
  overflow: visible;
}
.ad-required-password-page [data-required-password-submit] {
  min-height: 48px;
  width: 100%;
  margin-top: 6px;
  font-weight: 650;
}
@media (width < 768px) {
  html.fx-unified-theme[data-theme] body .connected-admin #ad-member-deletions :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) {
    min-width: 0;
    max-width: 100%;
  }
  html[data-admin-language-active="true"] .form-actions,
  html[data-admin-language-active="true"] .page-header .actions {
    gap: 10px;
  }
  html[data-admin-language-active="true"] .form-actions > .btn {
    min-width: 0;
    max-width: 100%;
  }
  html[data-admin-language-active="true"] .modal-heading h2 {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* Separate row actions: no nested buttons, and no ad-prefixed class for these controls. */
.atafx-deposit-queue-row{border:1px solid #dbe4f0;border-radius:12px;overflow:hidden;background:#fff}
.atafx-deposit-queue-row>.ad-record{width:100%;border:0;border-radius:0}
.atafx-deposit-queue-actions{display:flex;justify-content:flex-end;padding:8px 12px;border-top:1px solid #edf1f6}
.atafx-deposit-queue-actions>.btn{min-height:36px;padding:7px 12px;font-size:13px}
.atafx-deposit-queue-actions>.btn:disabled{opacity:.55;cursor:not-allowed}
.atafx-deposit-queue-views{margin:12px 0;flex-wrap:wrap}

.atafx-manual-funding{color:#172336;min-width:0}
.atafx-funding-member{display:grid;gap:5px;padding:14px;border:1px solid #dce4ef;border-radius:12px;background:#f8faff;margin-bottom:16px}
.atafx-funding-member code{overflow-wrap:anywhere;font-size:12px}
.atafx-funding-preview{padding:14px;border:1px solid #dce4ef;border-radius:12px;background:#f8faff}
.atafx-manual-funding textarea{min-height:88px;resize:vertical}
#atafx-member-confirm-description{white-space:pre-line}

/* External transfer approval: exact server amounts and a single decision. */
html.fx-unified-theme[data-theme] body dialog#modal:has(.atafx-payment-approval){width:min(600px,calc(100vw - 24px));max-width:600px}
.atafx-payment-approval .atafx-funding-member{padding:12px;margin-bottom:14px}
.atafx-payment-amounts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.atafx-payment-amounts>div{display:grid;gap:8px;padding:14px;border:1px solid #dce4ef;border-radius:12px;background:#f7f9ff;min-width:0}
.atafx-payment-amounts span,.atafx-payment-recipient>span{font-size:13px;color:#62718b}
.atafx-payment-amounts strong{font-size:20px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.atafx-payment-amounts small{font-size:12px;font-weight:500}
.atafx-payment-recipient{display:grid;gap:9px;padding:14px;border:1px solid #dce4ef;border-radius:12px}
.atafx-payment-recipient code{overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.atafx-payment-recipient .btn{justify-self:start;min-height:36px}
.atafx-payment-recipient small{color:#62718b}
.atafx-payment-rejection{margin-top:14px}
.atafx-payment-rejection label{display:block;margin-top:12px;font-size:13px}
.atafx-payment-rejection textarea{width:100%;min-height:64px}
.atafx-payment-approval [role=status]:empty{display:none}
.atafx-payment-approval .form-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:16px}
@media(max-width:480px){.atafx-payment-amounts{grid-template-columns:1fr}.atafx-payment-amounts>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px}.atafx-payment-amounts strong{font-size:17px;white-space:nowrap}.atafx-payment-amounts span{max-width:110px}.atafx-payment-approval .form-actions>.btn{flex:1}}

/* Source: public-workspace.css */
/* Public account actions and observed-market updates within the existing workspace. */
.public-workspace .public-auth-actions{flex-shrink:0;gap:8px}
.public-workspace .public-auth-actions .btn{white-space:nowrap}
@media(width < 768px){
  .public-workspace .topbar{display:flex;flex-wrap:wrap;height:auto;min-height:70px;padding:12px 0;gap:8px}
  .public-workspace .topbar .mobile-brand{flex:1 1 100px;min-width:0;max-width:calc(100% - 204px);overflow-wrap:anywhere}
  .public-workspace .topbar .breadcrumb{display:none}
  .public-workspace .public-auth-actions{margin-left:auto;gap:6px}
  .public-workspace .public-auth-actions .btn{padding:8px 10px;font-size:12px;min-height:40px}
}

.fx-quote-value{display:inline-block;white-space:nowrap;font-variant-numeric:tabular-nums}
.fx-quote-direction{display:inline-block;width:1em;text-align:center;font-size:.9em}
.fx-quote-up{--fx-tick-color:#087c42;--fx-tick-bg:#dff8e9}
.fx-quote-down{--fx-tick-color:#b83240;--fx-tick-bg:#fff0f0}
.fx-quote-up.fx-flash-a,.fx-quote-down.fx-flash-a{animation:fx-price-a .75s ease-out}
.fx-quote-up.fx-flash-b,.fx-quote-down.fx-flash-b{animation:fx-price-b .75s ease-out}
@keyframes fx-price-a{0%,55%{color:var(--fx-tick-color);background:var(--fx-tick-bg)}100%{color:inherit;background:transparent}}
@keyframes fx-price-b{0%,55%{color:var(--fx-tick-color);background:var(--fx-tick-bg)}100%{color:inherit;background:transparent}}
.fx-dashboard-chart-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.fx-dashboard-chart-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;color:var(--text);padding:10px 8px;min-height:42px;font-size:13px}
.fx-dashboard-chart-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}
.fx-dashboard-currency{max-width:150px;display:grid;gap:4px;font-size:11px;color:var(--muted)}
.fx-dashboard-currency select{width:100%;min-height:38px;font-size:12px}
.fx-dashboard-market .quote-head{margin-top:12px}.fx-dashboard-market .quote-meta{flex-wrap:wrap}
.fx-history-heading,.fx-observed-ticks h3{font-size:13px;margin:16px 0 8px}
.fx-observed-ticks{border-top:1px solid var(--line);margin-top:15px;padding-top:2px;min-width:0}
.fx-observed-ticks>p{font-size:11px;color:var(--muted);line-height:1.5;margin:0 0 8px}
.fx-tick-chart{min-height:160px;min-width:0}.fx-tick-chart .chart-empty{height:auto;min-height:150px}
.fx-tick-chart .chart-empty p{max-width:100%}
@media(width < 768px){
  .main .dashboard-page .market-ticker{display:flex;max-width:100%;overflow-x:auto;overflow-y:hidden;margin-top:5px;margin-bottom:12px;scroll-snap-type:x proximity}
  .main .dashboard-page .ticker-item{flex:0 0 162px;min-width:162px;scroll-snap-align:start}
  .fx-dashboard-market .card-head{flex-wrap:wrap}.fx-dashboard-currency{max-width:155px}
  .fx-dashboard-chart-tabs button{font-size:12px;padding:9px 6px;flex:1}
  .fx-dashboard-market .chart-toolbar{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.fx-quote-up.fx-flash-a,.fx-quote-up.fx-flash-b,.fx-quote-down.fx-flash-a,.fx-quote-down.fx-flash-b{animation:none;color:var(--fx-tick-color)}}

/* Source: member-reviewed-design.css */
/* Reviewed member presentation, mapped to the existing Dashboard, Markets and
   Wallet DOM. No navigation, grids, state visibility or quote motion changes.
   Page fingerprints keep these rules out of administration and authentication. */
#app:has(> .main > #page-content > .dashboard-page, > .main > #page-content > .market-search-bar, > .main > #page-content > .design-tabs [data-action="design-wallet-mode"]) {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) {
  --member-teal:#08786a;
  --member-teal-soft:#e7f5f1;
  --member-account:#345fd1;
  --member-account-soft:#edf2ff;
  --member-card-shadow:0 3px 16px rgba(23,43,58,.045);
  --globe-background:#071823;
  font-size:14px;
  line-height:1.55;
}

#app:has(> .main > #page-content > .dashboard-page, > .main > #page-content > .market-search-bar, > .main > #page-content > .design-tabs [data-action="design-wallet-mode"]) .nav-item {
  font-size:14px;
  border-radius:10px;
}

#app:has(> .main > #page-content > .dashboard-page, > .main > #page-content > .market-search-bar, > .main > #page-content > .design-tabs [data-action="design-wallet-mode"]) .top-search {
  border-radius:10px;
}

/* Shared surfaces retain their existing padding exceptions and layout roles. */
#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) :is(.card,.summary-metric) {
  border-radius:14px;
  border-color:var(--line);
  box-shadow:var(--member-card-shadow);
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) .card h2 {
  font-size:17px;
  line-height:1.4;
  letter-spacing:-.025em;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) .card-head {
  gap:12px;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) :is(.btn,.icon-button) {
  border-radius:10px;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) .btn {
  font-size:13px;
  font-weight:600;
  min-height:44px;
  line-height:1.4;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) .btn.primary {
  background:var(--member-teal);
  border-color:var(--member-teal);
  color:#fff;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) :is(.period-switch button,.design-tabs .tab) {
  min-height:40px;
  font-size:12px;
  border-radius:8px;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) :is(.metric-icon,.route-summary-icon,.design-metric-icon) {
  color:var(--member-teal);
  background:var(--member-teal-soft);
  border-radius:11px;
}

#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) :is(.completed-route-table,table.responsive) th {
  font-size:11px;
  font-weight:600;
  letter-spacing:.045em;
  text-transform:uppercase;
  line-height:1.5;
}

/* The live price's fx-quote-* classes and timing remain untouched. */
#page-content > .dashboard-page .market-ticker {
  border-radius:14px;
}

#page-content > .dashboard-page .ticker-item {
  padding:14px 12px;
  gap:9px;
}

#page-content > .dashboard-page .ticker-pair {
  font-size:12px;
  font-weight:600;
}

#page-content > .dashboard-page .ticker-pair > small {
  font-size:11px;
  font-weight:400;
}

#page-content > .dashboard-page .ticker-numbers {
  flex-wrap:wrap;
  gap:6px 8px;
}

#page-content > .dashboard-page .ticker-numbers > strong {
  font-size:18px;
  letter-spacing:-.025em;
}

#page-content > .dashboard-page .ticker-numbers > [data-market-daychange] {
  border-radius:6px;
  padding:3px 6px;
  min-width:60px;
  font-size:11px;
  font-weight:600;
  text-align:center;
  white-space:nowrap;
  background:var(--surface-soft);
}

#page-content > .dashboard-page .ticker-numbers > [data-market-daychange].positive {
  background:#e7f5ed;
  color:#087c42;
}

#page-content > .dashboard-page .ticker-numbers > [data-market-daychange].negative {
  background:#fff0f0;
  color:#b83240;
}

#page-content > .dashboard-page .summary-metric {
  gap:12px;
}

#page-content > .dashboard-page .summary-metric .metric-copy > span {
  font-size:12px;
  line-height:1.45;
}

#page-content > .dashboard-page .summary-metric .metric-copy > small {
  font-size:11px;
  line-height:1.5;
}

#page-content > .dashboard-page .summary-metric.positive .metric-copy > strong {
  color:#087c42;
}

#page-content > .dashboard-page .auto-summary .status-reason {
  font-size:13px;
  line-height:1.6;
}

#page-content > .dashboard-page .dashboard-route-summary {
  border-radius:10px;
}

#page-content > .dashboard-page .route-summary-icon {
  padding:7px;
}

#page-content > .dashboard-page .completed-route-table td {
  line-height:1.6;
}

/* Account charts are blue; market charts keep the existing market palette. */
#page-content > .dashboard-page #performance-chart .chart-line {
  stroke:var(--member-account);
}

#page-content > .dashboard-page #performance-chart :is(.chart-point,.chart-cursor circle) {
  fill:var(--member-account);
}

#page-content > .dashboard-page .fx-dashboard-chart-tabs [data-mode="profit"][aria-selected="true"] {
  color:var(--member-account);
  border-color:var(--member-account);
  background:var(--member-account-soft);
}

#page-content > .dashboard-page .fx-dashboard-chart-tabs [data-mode="market"][aria-selected="true"] {
  color:var(--member-teal);
  border-color:var(--member-teal);
  background:var(--member-teal-soft);
}

/* Markets retain List, Heatmap, Map, ordering and all status/source details. */
#page-content:has(> .market-search-bar) .market-search-bar {
  border-radius:14px;
}

#page-content:has(> .market-search-bar) .market-results {
  font-size:12px;
  font-weight:600;
  letter-spacing:.025em;
}

#page-content:has(> .market-search-bar) .market-currency-row .currency-select b {
  font-size:13px;
  line-height:1.45;
}

/* Existing compact lists set these font sizes with !important. */
#page-content:has(> .market-search-bar) .market-currency-row .currency-select small {
  font-size:11px!important;
  line-height:1.5;
}

#page-content:has(> .market-search-bar) .market-search-bar :is(input,select,.tab,.view-switch button) {
  min-height:40px;
  border-radius:8px;
}

/* Wallet overview and the two existing history modes share the same scope. */
#page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-metric {
  padding-top:18px;
  padding-bottom:18px;
}

#page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-metric-icon {
  padding:6px;
  left:12px;
  top:20px;
}

#page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-metric-icon svg {
  width:24px;
  height:24px;
}

#page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-value > span {
  font-size:12px;
  line-height:1.5;
}

#page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-metric small {
  font-size:11px;
  line-height:1.5;
}

#page-content:has(> .design-tabs [data-action="design-wallet-mode"]) :is(.wallet-allocation,.wallet-actions,.design-inset) {
  border-radius:14px;
}

#page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .ledger-amount {
  font-variant-numeric:tabular-nums;
}

/* The current globe canvas is transparent (WebGL alpha and 2D clearRect).
   Set the consumed background variable as well as the visible viewport; leave
   white controls, labels, information panels and all globe mechanics intact. */
#page-content:has(> .dashboard-page, > .market-search-bar) .exchange-globe {
  background:#071823;
}

#page-content:has(> .dashboard-page, > .market-search-bar) .exchange-globe .eg-viewport {
  background-color:#071823;
  background-image:radial-gradient(ellipse at 50% 80%,#123b46 0%,#0b2531 48%,#071823 78%);
}

#page-content:has(> .dashboard-page, > .market-search-bar) .exchange-globe .eg-credit {
  background:#071823;
  color:#bad4dc;
  font-size:11px;
  line-height:1.5;
  padding-top:6px;
  padding-bottom:8px;
}

#page-content:has(> .dashboard-page, > .market-search-bar) .exchange-globe .eg-error {
  color:#bad4dc;
}

@media(min-width:768px) {
  #page-content > .dashboard-page .summary-metric {
    min-height:108px;
    padding:17px 14px;
  }

  #page-content > .dashboard-page .summary-metric .metric-copy > strong {
    font-size:26px;
    line-height:1.2;
    letter-spacing:-.035em;
  }

  #page-content > .dashboard-page .metric-icon {
    width:42px;
    height:42px;
  }

  #page-content > .dashboard-page .metric-icon svg {
    width:24px;
    height:24px;
  }
}

@media(width < 768px) {
  /* These existing full-width summary strips are intentionally not cards. */
  #page-content > .dashboard-page .summary-metric:is([data-key="metric-today"],[data-key="metric-return"]) {
    box-shadow:none;
    border-radius:0;
  }

  #app:has(> .main > #page-content > .dashboard-page, > .main > #page-content > .market-search-bar, > .main > #page-content > .design-tabs [data-action="design-wallet-mode"]) .mobile-nav button {
    font-size:11px;
    line-height:1.35;
    min-height:62px;
  }

  #page-content > .dashboard-page .ticker-item {
    padding:12px 10px;
  }

  #page-content > .dashboard-page .ticker-numbers > strong {
    font-size:17px;
  }

  #page-content > .dashboard-page .ticker-numbers > [data-market-daychange] {
    min-width:56px;
    padding:3px 5px;
  }

  /* Keep the established full-width Today/Return blocks and two balance cards. */
  #page-content > .dashboard-page .summary-metric .metric-copy > small {
    font-size:11px;
  }

  #page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-metric {
    padding-top:14px;
    padding-bottom:14px;
    padding-left:46px;
  }

  #page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-metric-icon {
    padding:4px;
    left:9px;
    top:15px;
    border-radius:8px;
  }

  #page-content:has(> .design-tabs [data-action="design-wallet-mode"]) .design-metric-icon svg {
    width:22px;
    height:22px;
  }

  #page-content:has(> .dashboard-page, > .market-search-bar) .exchange-globe .eg-credit {
    font-size:10px;
  }
}

/* Source: market-list.css */
/* Market display only: keep account cards, navigation and the globe untouched. */
#page-content .market-design-grid.fx-list-first {display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
#page-content .fx-list-first .market-explorer {min-width:0}
#page-content .fx-rates-list {min-width:0;width:100%}
#page-content .fx-market-results {display:flex;justify-content:space-between;align-items:flex-start;gap:8px 18px;flex-wrap:wrap;padding:8px 0 12px;font-size:12px}
#page-content .fx-market-results > div {display:grid;gap:4px;min-width:0;max-width:100%;overflow-wrap:anywhere}
#page-content .fx-market-results strong {font-size:12px;color:var(--text)}
#page-content .fx-market-results small {font-size:11px;line-height:1.4;text-align:left}
#page-content .fx-active-market-filters {font-size:11px;line-height:1.4}
#page-content .fx-rate-row {display:grid;grid-template-columns:minmax(130px,1.5fr) minmax(110px,1fr) 80px 90px minmax(80px,.8fr) 110px;align-items:center;gap:10px;padding:10px 0;min-height:58px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}
#page-content .fx-rate-row.selected {background:#f0faf7;box-shadow:inset 3px 0 #08786a}
#page-content .fx-rate-row > * {min-width:0}
#page-content .fx-rate-pair {display:flex;align-items:center;gap:8px;background:transparent;border:0;text-align:left;color:var(--text);min-height:40px;padding:4px 8px;cursor:pointer}
#page-content .fx-rate-pair > span {min-width:0}
#page-content .fx-rate-pair b {font-size:13px;line-height:1.4;display:block}
#page-content .fx-rate-pair small {display:block;font-size:11px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}
#page-content .fx-rate-pair .currency-flag {width:25px;height:17px;flex:none}
#page-content .fx-rate-price {text-align:right;font-size:14px;white-space:nowrap}
#page-content .fx-rate-day {text-align:right;font-size:12px;white-space:nowrap}
#page-content .fx-rate-trend svg {width:90px;max-width:100%;height:28px}
#page-content .fx-rate-trend {text-align:center}
#page-content .fx-rate-status {font-size:11px;line-height:1.4;overflow-wrap:anywhere}
#page-content .fx-rate-actions {display:flex;align-items:center;justify-content:flex-end;gap:4px}
#page-content .fx-rate-actions :is(button,.btn,.icon-button) {min-height:36px;min-width:30px;font-size:12px;padding:5px}
#page-content .fx-rate-head {display:grid;grid-template-columns:minmax(130px,1.5fr) minmax(110px,1fr) 80px 90px minmax(80px,.8fr) 110px;gap:10px;color:var(--muted);font-size:11px;font-weight:600;padding:8px 0}
#page-content .fx-rate-head > :is(:nth-child(2),:nth-child(3)) {text-align:right}
#page-content .fx-rate-status small {display:block;font-size:10px}
#page-content .fx-rate-more {display:block;grid-column:1/-1;font-size:11px;color:var(--muted);padding:0 8px}
#page-content .fx-rate-more > summary {cursor:pointer;min-height:20px;line-height:20px}
#page-content .fx-rate-more > div {display:flex;flex-wrap:wrap;gap:8px 16px;padding:8px 0;overflow-wrap:anywhere}
#page-content .fx-rate-mobile-trend svg {width:90px;height:28px}
#page-content .fx-public-refresh-warning {margin:12px 0;padding:10px 12px;border:1px solid #e9c776;border-radius:8px;background:#fff5df;color:#704100;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
#page-content .fx-market-data-info {margin-top:12px;border-top:1px solid var(--line);padding-top:10px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
#page-content .fx-market-data-info > summary {cursor:pointer;color:var(--text);font-weight:600;min-height:36px;display:list-item;padding:6px 0}
#page-content .fx-market-data-info[open] > :not(summary) {margin-top:8px}
#page-content .fx-comparison-disclosure {margin-top:14px;min-width:0}
#page-content .fx-comparison-disclosure > summary {padding:12px 0;cursor:pointer;font-size:14px;font-weight:600}
#page-content .fx-chart-toggle {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}
#page-content .fx-chart-expanded {min-width:0;margin-top:14px}
#page-content #market-chart-slot:empty {display:none}
#page-content .fx-chart-expanded > :is(header,.card-head) {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#page-content .fx-chart-expanded .market-chart-card {margin:0;min-width:0}
#page-content .fx-chart-expanded .chart-options {flex-wrap:wrap}
#page-content .fx-chart-expanded .large-chart {min-width:0;max-width:100%}
#page-content .fx-dashboard-market {min-width:0}
#page-content .fx-dashboard-market .fx-rate-row {grid-template-columns:minmax(98px,1.3fr) minmax(90px,1fr) 65px 50px minmax(57px,.7fr) 65px;gap:5px}
#page-content .fx-dashboard-market .fx-rate-head {grid-template-columns:minmax(98px,1.3fr) minmax(90px,1fr) 65px 50px minmax(57px,.7fr) 65px;gap:5px}
#page-content .fx-chart-expanded .large-chart {margin-left:0;width:100%}
#page-content .fx-list-first .market-currency-list {max-height:650px;overflow-y:auto}
#page-content .fx-dashboard-market .fx-rate-pair {padding-left:5px;gap:5px}
#page-content .fx-dashboard-market .fx-rate-pair small {display:none!important}
#page-content .fx-dashboard-market .fx-rate-pair .currency-flag {width:20px;height:14px}
#page-content .fx-dashboard-market .fx-rate-trend svg {width:50px}
#page-content .fx-dashboard-market .fx-rate-actions .icon-button {display:none}
#page-content .fx-dashboard-market .fx-rate-price {font-size:13px}
#page-content .fx-dashboard-market .card-head {flex-wrap:wrap}
#page-content .fx-dashboard-market .card-head p {font-size:12px}
#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) .btn.primary {transition:background-color .15s,border-color .15s}
#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) .btn.primary:hover:not(:disabled) {background:#055e54;border-color:#055e54;color:#fff}
#page-content:has(> .dashboard-page, > .market-search-bar, > .design-tabs [data-action="design-wallet-mode"]) .btn.primary:focus-visible {outline:3px solid #53b7a5;outline-offset:3px}
@media(min-width:768px) {
  #page-content .fx-rate-row {padding-top:6px;padding-bottom:6px;row-gap:0}
  #page-content .fx-rate-row > :is(.fx-rate-pair,.fx-rate-price,.fx-rate-day,.fx-rate-trend,.fx-rate-status) {grid-row:1/3}
  #page-content .fx-rate-actions {grid-column:6;grid-row:1}
  #page-content .fx-rate-actions :is(button,.btn,.icon-button) {min-height:30px}
  #page-content .fx-rate-more {grid-column:6;grid-row:2;padding:0;font-size:10px}
  #page-content .fx-rate-more > summary {min-height:18px;line-height:18px;text-align:right}
  #page-content .fx-rate-more[open] {grid-column:1/-1;grid-row:3;padding:4px 8px}
  #page-content .fx-rate-more[open] > summary {text-align:left}
}
@media (768px <= width < 1200px) {
  #page-content .fx-dashboard-market .fx-rate-row {grid-template-columns:minmax(94px,1.2fr) minmax(92px,1fr) 63px auto}
  #page-content .fx-dashboard-market .fx-rate-head {grid-template-columns:minmax(94px,1.2fr) minmax(92px,1fr) 63px auto}
  #page-content .fx-dashboard-market .fx-rate-head > :is(:nth-child(4),:nth-child(5)) {display:none}
  #page-content .fx-dashboard-market .fx-rate-trend {display:none}
  #page-content .fx-dashboard-market .fx-rate-row > .fx-rate-status {display:flex;align-items:center;flex-wrap:wrap;gap:5px;grid-column:1/3;grid-row:3;padding:0 5px}
  #page-content .fx-dashboard-market .fx-rate-status .badge {font-size:11px;line-height:1.3}
  #page-content .fx-dashboard-market .fx-rate-more {display:block;grid-column:3/-1;grid-row:3}
  #page-content .fx-dashboard-market .fx-rate-more[open] {grid-column:1/-1;grid-row:4}
  #page-content .fx-dashboard-market .fx-rate-actions {grid-column:4}
}
@media (width < 768px) {
  #page-content .fx-list-first .market-explorer {padding:12px}
  #page-content :is(.fx-rates-list,.fx-dashboard-market) .fx-rate-row {grid-template-columns:minmax(92px,1.05fr) minmax(98px,1fr) 64px;gap:5px;padding:8px 0;min-height:60px}
  #page-content :is(.fx-rates-list,.fx-dashboard-market) .fx-rate-head {grid-template-columns:minmax(92px,1.05fr) minmax(98px,1fr) 64px;gap:5px}
  #page-content .fx-rate-head > :nth-child(n+4) {display:none}
  #page-content .fx-rate-pair {padding:3px;gap:5px;min-height:40px}
  #page-content .fx-rate-pair b {font-size:12px;white-space:nowrap}
  #page-content .fx-rate-pair small {display:none!important}
  #page-content .fx-rate-pair .currency-flag {width:21px;height:14px}
  #page-content .fx-rate-price {font-size:13px}
  #page-content .fx-rate-day {font-size:12px}
  #page-content .fx-rate-row > :is(.fx-rate-trend,.fx-rate-actions) {display:none}
  #page-content .fx-rate-row > .fx-rate-status {display:flex;align-items:center;grid-column:1;grid-row:2;padding-left:4px;min-width:0}
  #page-content .fx-rate-row > .fx-rate-status small {display:none}
  #page-content .fx-rate-row > .fx-rate-status .badge {font-size:11px;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
  #page-content .fx-rate-more {grid-row:2;grid-column:2/-1}
  #page-content .fx-rate-more:not([open]) > summary {text-align:right}
  #page-content .fx-rate-more[open] {grid-row:3;grid-column:1/-1}
  #page-content .fx-rate-more {display:block;grid-column:2/-1;min-width:0;font-size:12px;color:var(--muted);padding:0 4px}
  #page-content .fx-rate-more > summary {min-height:28px;cursor:pointer;font-size:11px;line-height:28px;color:var(--muted)}
  #page-content .fx-rate-more[open] {padding-bottom:8px}
  #page-content .fx-rate-more :is(p,div,small) {overflow-wrap:anywhere}
  #page-content .fx-rate-more .fx-rate-trend {display:block;text-align:left}
  #page-content .fx-rate-more .fx-rate-trend svg {width:90px}
  #page-content .fx-rate-more .btn {min-height:40px;margin:6px 0}
  #page-content .fx-chart-expanded .market-chart-card {padding:12px}
  #page-content .fx-chart-expanded .quote-head {flex-wrap:wrap;gap:8px}
  #page-content .fx-chart-expanded .quote-head strong {font-size:22px;overflow-wrap:anywhere}
  #page-content .fx-chart-expanded .chart-toolbar {flex-wrap:wrap}
  #page-content .fx-chart-expanded .period-switch {flex-wrap:wrap}
  #page-content .fx-chart-expanded .quote-meta {flex-wrap:wrap;overflow-wrap:anywhere}
  #page-content .fx-chart-expanded :is(.chart-options,select) {max-width:100%;min-width:0}
}
@media (prefers-reduced-motion:reduce) {
  #page-content .btn.primary {transition:none}
}

/* Keep the Markets data disclosure clear of the floating support control. */
@media (width < 768px){#page-content .market-design-grid .fx-rate-more:not([open]) > summary{text-align:left;width:fit-content;max-width:100%}}

/* Readable secondary market information on desktop and mobile. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.fx-rate-head,.fx-rate-pair small,.fx-rate-status,.fx-rate-status small,.fx-rate-status .badge,.fx-rate-status [data-market-status],.fx-rate-more,.fx-rate-more>summary,.market-pagination){font-size:12px;line-height:1.5}

/* Source: atafx-cinematic.css */
/* ATAFX Dashboard visual layer. No quote, balance, permission or chat visibility rules. */
:root.fx-cinematic-dashboard[data-theme="light"]{
 color-scheme:dark;--bg:#050a10;--panel:#0b151f;--panel2:#111f2a;--panel-2:#111f2a;
 --line:#2b3b49;--panel-edge:#2b3b49;--panel-highlight:#51d7bc;--text:#e9f2f8;--muted:#9badbc;
 --accent:#55d9ba;--teal:#55d9ba;--danger:#ff8293;--gold:#edc77c;
 --surface-soft:#10212b;--surface-hover:#19313e;--accent-soft:#143d32;--accent-line:#386f60;
 --danger-soft:#3b202b;--danger-line:#854455;--warning-soft:#332b1b;--warning-line:#6f5830;
 --info-soft:#142f45;--info-text:#a6cefa;--chart-grid:#2a3d4c;--chart-text:#9bb2c3;
 --chart-up:#60ddb8;--chart-down:#ff8293;--chart-secondary:#83aaff;--chart-area:rgba(61,187,156,.15);
 --quote-flash:#1b4d3b;--globe-background:#071823;--globe-grid:#254956;
 --theme-shadow:0 8px 24px rgba(0,0,0,.18)
}
html.fx-cinematic-dashboard body{background:var(--bg);color:var(--text)}
html.fx-cinematic-dashboard #app .main{background:linear-gradient(180deg,#070f17,var(--bg) 650px);color:var(--text)}
html.fx-cinematic-dashboard #app .sidebar{background:#080f17;border-color:#263441;color:var(--text)}
html.fx-cinematic-dashboard #app .brand{color:#f2f6fa}
html.fx-cinematic-dashboard #app .brand small,html.fx-cinematic-dashboard #app .sidebar-foot{color:#8499ab}
html.fx-cinematic-dashboard #app .nav-item{color:#a3b4c4;transition:background .15s,color .15s,border-color .15s}
html.fx-cinematic-dashboard #app .nav-item:hover{background:#172838;color:#f0f6fc}
html.fx-cinematic-dashboard #app .nav-item.active{background:linear-gradient(100deg,#173e35,#10251f);border-color:#345a4e;color:#80e9cb}
html.fx-cinematic-dashboard #app .topbar{background:transparent;border-color:#293948}
html.fx-cinematic-dashboard #app .topbar :is(h1,.breadcrumb){color:#eef5fb}
html.fx-cinematic-dashboard #app :is(.top-search,.icon-button){background:#101e29;border-color:#31495c;color:#bdd1df}
html.fx-cinematic-dashboard #app .top-search:hover{background:#172b39}
html.fx-cinematic-dashboard #app .top-actions .btn{background:#142331;border-color:#365064;color:#d9e7ef}
html.fx-cinematic-dashboard #app .top-actions .btn.primary{background:#1d786b;border-color:#2ca68f;color:#fff}
html.fx-cinematic-dashboard #app .top-actions .btn.primary:hover{background:#289986;color:#fff}
html.fx-cinematic-dashboard #app #page-content{--member-teal:#62d9bd;--member-teal-soft:#123b31;--member-account:#84aaff;--member-account-soft:#142a49;--member-card-shadow:0 8px 24px #0003;color:var(--text)}
html.fx-cinematic-dashboard #app #page-content :is(.card,.summary-metric){background:linear-gradient(130deg,#10202b,#0a141e 66%);border-color:#2a3d4c;box-shadow:0 1px 0 #b9f1ff09 inset,0 12px 30px #0002}
html.fx-cinematic-dashboard #app #page-content :is(.card,.summary-metric):hover{border-color:#405866}
html.fx-cinematic-dashboard #app #page-content :is(.metric-copy,.metric-copy strong,h2,h3){color:var(--text)}
html.fx-cinematic-dashboard #app #page-content .summary-metric.positive .metric-copy>strong{color:#70dfb8}
html.fx-cinematic-dashboard #app #page-content .summary-metric.negative .metric-copy>strong{color:#ff8293}
html.fx-cinematic-dashboard #app #page-content :is(.metric-copy>span,.metric-copy>small,.card-head p,.status-reason,.next-event,.next-event b){color:#91aabe}
html.fx-cinematic-dashboard #app #page-content :is(.metric-icon,.route-summary-icon){background:#173d33;color:#77e2bf;border:1px solid #285647}
html.fx-cinematic-dashboard #app #page-content .market-ticker{background:#0a141e;border-color:#2b3c4a;box-shadow:0 1px 0 #c5eafa08 inset}
html.fx-cinematic-dashboard #app #page-content .ticker-item{background:transparent;border-color:#283a49;color:var(--text)}
html.fx-cinematic-dashboard #app #page-content .ticker-item:hover{background:#142836}
html.fx-cinematic-dashboard #app #page-content .ticker-pair{color:#d2e2ed}
html.fx-cinematic-dashboard #app #page-content .ticker-pair>small{color:#8da8ba}
html.fx-cinematic-dashboard #app #page-content .ticker-numbers>[data-market-daychange].positive{background:#173b2d;color:#7be1b4}
html.fx-cinematic-dashboard #app #page-content .ticker-numbers>[data-market-daychange].negative{background:#3b202b;color:#ff90a0}
html.fx-cinematic-dashboard #app #page-content .positive{color:#74ddb7}
html.fx-cinematic-dashboard #app #page-content .negative{color:#ff8c9c}
html.fx-cinematic-dashboard #app #page-content :is(.btn,.icon-button,.period-switch button,.fx-dashboard-chart-tabs button){background:#112431;border-color:#355062;color:#b9d5e5}
html.fx-cinematic-dashboard #app #page-content :is(.btn,.icon-button,.period-switch button,.fx-dashboard-chart-tabs button):hover{background:#1e3a49;border-color:#507b8b;color:#ecf9ff}
html.fx-cinematic-dashboard #app #page-content .btn.primary{background:#1d796b;border-color:#319d89;color:#fff;box-shadow:0 3px 16px #001e1e55}
html.fx-cinematic-dashboard #app #page-content .btn.primary:hover:not(:disabled){background:#279d86;border-color:#64d5b8;color:#fff}
html.fx-cinematic-dashboard #app #page-content .text-button{background:none;color:#74d7c0}
html.fx-cinematic-dashboard #app #page-content .text-button:hover{color:#aff3df;background:none}
html.fx-cinematic-dashboard #app #page-content .dashboard-route-summary{background:linear-gradient(110deg,#122a34,#11212c);border-color:#2a4756}
html.fx-cinematic-dashboard #app #page-content .dashboard-route-summary :is(small,.route-summary-state){color:#93b0c1}
html.fx-cinematic-dashboard #app #page-content .execution-phases:before,html.fx-cinematic-dashboard #app #page-content .execution-phases:after{background:#314d5e}
html.fx-cinematic-dashboard #app #page-content .execution-phases li>span{background:#10202d;border-color:#3c6278;color:#aac5d8}
html.fx-cinematic-dashboard #app #page-content .execution-phases li.current>span{background:#174333;color:#9befc9;border-color:#4b987a}
html.fx-cinematic-dashboard #app #page-content .next-event{border-color:#304654}
html.fx-cinematic-dashboard #app #page-content .route-ribbon{background:#101e29;border-color:#2d4452;color:#90adbf}
html.fx-cinematic-dashboard #app #page-content .route-ribbon strong{color:#e0edf4}
html.fx-cinematic-dashboard #app #page-content .badge{background:#172b3a;border-color:#355469;color:#b7cedf}
html.fx-cinematic-dashboard #app #page-content .badge.red{background:#3b202b;border-color:#874857;color:#ff9dad}
html.fx-cinematic-dashboard #app #page-content .badge.gold{background:#382d17;border-color:#86642b;color:#f1cf8b}
html.fx-cinematic-dashboard #app #page-content .badge.teal{background:#153b2b;border-color:#3b7455;color:#8ae6b3}
html.fx-cinematic-dashboard #app #page-content .fx-rate-row.selected{background:#163e32;box-shadow:inset 3px 0 #5adcac}
html.fx-cinematic-dashboard #app #page-content :is(.fx-rate-row,.fx-rate-head,.completed-route-table td,.completed-route-table th){border-color:#2a4151}
html.fx-cinematic-dashboard #app #page-content :is(.fx-rate-pair,.fx-rate-price,.empty strong){color:#e2edf5}
html.fx-cinematic-dashboard #app #page-content :is(.fx-rate-head,.empty,.fx-rate-more,.meta){color:#97afc1}
html.fx-cinematic-dashboard #app #page-content .fx-dashboard-chart-tabs [data-mode="market"][aria-selected="true"]{background:#143f33;color:#82eac5;border-color:#4ca081}
html.fx-cinematic-dashboard #app #page-content .fx-dashboard-chart-tabs [data-mode="profit"][aria-selected="true"]{background:#1a3153;color:#a4c6ff;border-color:#5d8ed7}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-top{background:#0b1b26;color:#8baec1;border-color:#304c5c}
/* The existing full-size info overlay must not cover the globe canvas. */
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-bottom{background:transparent;color:#8baec1;border-color:#304c5c}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-top :is(input,button){background:#152b38;border-color:#355a6e;color:#c4dfe9}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-viewport{background:#06141e}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label{background:#102735ed;border-color:#587b8e;color:#c6e0ec}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label.selected{background:#164a3c;color:#a6f4d7;border-color:#6aac91}
html.fx-cinematic-dashboard #app #page-content .workspace-globe :is(.eg-info,.eg-selection,.eg-mode-label){background:#112938e8;border-color:#3d6478;color:#c5e3f0}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-results{background:#152b38;color:#d8eaf4;border-color:#355a6e}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-results button{background:#152b38;color:#d8eaf4}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-results button:hover{background:#265269}
:root.fx-cinematic-dashboard[data-theme="light"] .chart-tooltip{background:#102736;color:#dcecf6;border-color:#406075}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-mode{background:#112938e8;border-color:#3d6478;color:#c5e3f0}
html.fx-cinematic-dashboard #app #page-content .mobile-trading-status{background:#153b31;color:#a0edcb;border-color:#3b7455}
/* Status warnings stay visible and retain their meaning. */
html.fx-cinematic-dashboard #app #workspace-connection-banner.gold{background:#342b16;border-color:#80652b;color:#f1dba6}
html.fx-cinematic-dashboard #app .mobile-nav{background:#0a1722f5;border-color:#30495a;color:#b1c8d9;backdrop-filter:blur(12px)}
html.fx-cinematic-dashboard #app .mobile-nav button{background:none;color:#94afc0}
html.fx-cinematic-dashboard #app .mobile-nav button.active{background:#153c31;color:#8ce9cb}
/* Modal colors only. No modal/chat sizing, display or focus changes. */
html.fx-cinematic-dashboard dialog#modal{background:#10212d;color:#e6f0f7;border-color:#446174}
html.fx-cinematic-dashboard dialog#modal :is(input,select,textarea){background:#0a1823;color:#d9eaf4;border-color:#406174}
html.fx-cinematic-dashboard dialog#modal .btn{background:#193342;color:#d7eaf5;border-color:#42677d}
html.fx-cinematic-dashboard dialog#modal .btn.primary{background:#1e8572;color:#fff;border-color:#55bc9e}
html.fx-cinematic-dashboard #fx-support-panel{--bg:#fff;--panel:#fff;--panel2:#f5f8fa;--surface-soft:#f5f8fa;--text:#172b3a;--muted:#526579;--line:#d8e3e9;--accent:#08786a;--danger:#bc3044;--accent-soft:#e7f5f1;color:#172b3a;background:#fff}
/* New decorative 3D hero; existing KPI and market list structures are intact. */
.fx-cinema-hero{position:relative;isolation:isolate;overflow:hidden;min-height:370px;margin:24px 0;border:1px solid #304a5c;border-radius:14px;background:radial-gradient(ellipse at 72% 58%,#123c4e,#071723 57%,#050c14);box-shadow:0 1px 0 #d7f8ff10 inset,0 15px 40px #0003;color:#f0f7fc}
.fx-cinema-canvas,.fx-cinema-fallback,.fx-cinema-shade{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.fx-cinema-canvas{z-index:-2;display:block;opacity:1}.fx-cinema-canvas[data-renderer="fallback"]{opacity:0}.fx-cinema-fallback{z-index:-3;overflow:hidden}
.fx-cinema-hero[data-scene="webgl"] .fx-cinema-fallback{visibility:hidden}
.fx-cinema-fallback i{position:absolute;right:10%;top:9%;width:310px;height:310px;border-radius:50%;background:#103c4e url('/static/geo/earth-blue-marble.jpg') 40% 50% / 200% 100%;box-shadow:inset -80px -25px 70px #000e,0 0 2px 2px #82c8d8,0 0 32px #3eacd159;transform:rotate(-14deg)}
.fx-cinema-fallback b{position:absolute;right:1%;top:21%;width:47%;height:60%;border:1px solid #83d8dc77;border-radius:50%;transform:rotate(-24deg);box-shadow:0 0 16px #77c9cf14}
.fx-cinema-shade{z-index:-1;background:linear-gradient(90deg,#040b13f5 0%,#040b13dc 24%,#040b1355 48%,#040b1300 70%),linear-gradient(0deg,#040b1377,transparent 24%)}
.fx-cinema-copy{position:relative;padding:43px 37px 74px;max-width:65%;z-index:1}
.fx-cinema-copy .fx-cinema-eyebrow{display:flex;align-items:center;gap:9px;font:600 9px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:2.2px;color:#9bbfcf;margin:0 0 23px}
.fx-cinema-eyebrow i{width:5px;height:5px;border-radius:50%;background:#67e3c3;box-shadow:0 0 12px #4eddb9}
html.fx-cinematic-dashboard #app .main .fx-cinema-copy h2{font-size:clamp(33px,4.2vw,64px);font-weight:600;letter-spacing:-.055em;line-height:1.06;color:#f4f8fb;margin:0 0 19px}
html.fx-cinematic-dashboard #app .main .fx-cinema-copy h2 span{color:#b6d2e2}
.fx-cinema-description{font-size:13px;line-height:1.8;color:#9cb5c8;margin:0}
.fx-cinema-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:25px}
html.fx-cinematic-dashboard #app .main .fx-cinema-actions .btn{border-radius:5px;min-height:43px;font-size:12px;padding:11px 16px;gap:22px}
html.fx-cinematic-dashboard #app .main .fx-cinema-actions .fx-cinema-primary{background:#eef5f8;border-color:#eef5f8;color:#071824}
html.fx-cinematic-dashboard #app .main .fx-cinema-actions .fx-cinema-primary:hover{background:#fff;border-color:#fff;color:#071824}
html.fx-cinematic-dashboard #app .main .fx-cinema-actions .fx-cinema-secondary{background:#0c202e99;border-color:#466375;color:#e1eff6}
html.fx-cinematic-dashboard #app .main .fx-cinema-actions .fx-cinema-secondary:hover{background:#1c4252;border-color:#7db3c4;color:#fff}
.fx-cinema-bottom{position:absolute;bottom:17px;left:37px;right:25px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:8px;letter-spacing:2px;color:#87adbf}
.fx-cinema-motion{border:1px solid #3c647788;border-radius:4px;background:#071520c9;color:#b2d0df;font-size:10px;padding:6px 9px;min-height:29px;cursor:pointer}
.fx-cinema-motion:hover{background:#153a4a;color:#e8f7ff;border-color:#70aec5}
.fx-cinema-credit{position:absolute;right:25px;top:18px;font-size:8px;color:#769fb2;max-width:42%;text-align:right}
@media(max-width:1050px){.fx-cinema-copy{padding:38px 28px 70px;max-width:75%}.fx-cinema-hero{min-height:350px}.fx-cinema-copy .fx-cinema-eyebrow{font-size:8px;letter-spacing:1.7px}.fx-cinema-description{font-size:12px}.fx-cinema-bottom{left:28px}}
@media(max-width:680px){.fx-cinema-hero{margin:16px 0;min-height:383px;border-radius:12px}.fx-cinema-copy{padding:36px 20px 80px;max-width:100%}.fx-cinema-copy .fx-cinema-eyebrow{font-size:7px;letter-spacing:1.2px;margin-bottom:26px}html.fx-cinematic-dashboard #app .main .fx-cinema-copy h2{font-size:clamp(32px,8.8vw,44px);line-height:1.09}.fx-cinema-description{font-size:11px}.fx-cinema-actions{margin-top:27px;gap:9px}html.fx-cinematic-dashboard #app .main .fx-cinema-actions .btn{font-size:10px;min-height:41px;padding:10px 12px;gap:10px}.fx-cinema-bottom{left:20px;right:16px;bottom:16px;font-size:6px;letter-spacing:1.1px}.fx-cinema-motion{font-size:9px}.fx-cinema-credit{right:16px;top:14px;font-size:6px;max-width:32%}.fx-cinema-shade{background:linear-gradient(90deg,#030a12e6,#030a128a 45%,#030a1244),linear-gradient(0deg,#030a12bb,transparent 48%)}.fx-cinema-fallback i{right:-100px;top:30px;width:310px;height:310px;opacity:.7}.fx-cinema-fallback b{right:-80px;top:105px;width:320px;height:180px}}
@media(prefers-reduced-motion:reduce){.fx-cinema-hero *,html.fx-cinematic-dashboard #app .nav-item{transition:none!important}}
/* Space refinement: readable, sparse labels; photographic Earth owns the scene. */
.fx-cinema-hero{background:#02060c;border-color:#263a49;box-shadow:0 1px 0 #d7f8ff08 inset,0 16px 42px #0004}
.fx-cinema-fallback{background:radial-gradient(circle at 81% 16%,#b3d3eb 0 .6px,transparent 1px),radial-gradient(circle at 62% 23%,#d8e4ed 0 .5px,transparent .9px),radial-gradient(circle at 43% 76%,#8594b3 0 .6px,transparent 1px),radial-gradient(circle at 27% 33%,#b9c5d7 0 .5px,transparent .9px),radial-gradient(circle at 92% 62%,#d7e0ee 0 .6px,transparent 1px),#02060c}
.fx-cinema-fallback i{box-shadow:inset -70px -12px 66px #000e,0 0 1px 1px #7eabc9,0 0 16px #3e82ab33;transform:rotate(-9deg)}
.fx-cinema-fallback b{display:none}
.fx-cinema-shade{background:linear-gradient(90deg,#02060cf7,#02060cd9 26%,#02060c55 49%,transparent 69%),linear-gradient(0deg,#02060c66,transparent 23%)}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-viewport{background:#02060b}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label{padding:7px 9px;max-width:155px;border-radius:8px;background:#07121ed9;border:1px solid #69849942;color:#c7d8e6;box-shadow:0 3px 12px #0003;backdrop-filter:blur(5px);font-size:10px;line-height:1.35;white-space:nowrap}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label.selected{background:#0a302bdc;border-color:#6acdb084;color:#ddfff4;font-size:10px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label strong{font-variant-numeric:tabular-nums;color:#edf6fc;font-size:12px;font-weight:650}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label :is(.eg-rate-code,.eg-rate-status){color:#94aabc;font-size:8px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info{max-width:185px;background:#07131ded;border:1px solid #69849955;box-shadow:0 5px 20px #0003;backdrop-filter:blur(5px);padding:10px 12px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info [data-market-price]{display:block;font-variant-numeric:tabular-nums;font-size:18px;line-height:1.5;color:#e8f4fc}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info [data-market-status]{font-size:10px;color:#98b2c4}
html.fx-cinematic-dashboard #app #page-content .workspace-globe [data-market-price] .fx-quote-up{color:#6fe2b1}
html.fx-cinematic-dashboard #app #page-content .workspace-globe [data-market-price] .fx-quote-down{color:#ff8193}
@media(max-width:680px){.fx-cinema-shade{background:linear-gradient(90deg,#02060cd9,#02060c66 60%,#02060c11),linear-gradient(0deg,#02060c99,transparent 48%)}html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label{padding:5px 7px;max-width:130px;font-size:9px}html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info{max-width:150px;padding:8px 9px}}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label{white-space:normal;width:136px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-country-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#d7e5ef;font-size:10px;font-weight:500;margin-bottom:3px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-pair{display:block;color:#8da8bb;font-size:8px;line-height:1.3;letter-spacing:.25px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-values{display:flex;align-items:baseline;justify-content:space-between;gap:6px;margin-top:2px;white-space:nowrap}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-change{font-size:8px;font-weight:500}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-status{display:block;color:#92a7b8;font-size:8px;line-height:1.4;margin-top:1px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-details{font-size:9px;line-height:1.45;color:#8fa8ba;max-width:168px;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-details summary{cursor:pointer;margin-top:5px}
html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info .eg-quote-values{display:block}
@media(max-width:680px){html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label{width:120px}.fx-cinema-hero{min-height:375px}}

/* Mobile presentation only. Existing quote fields, routes and chat state are retained. */
@media (max-width:767px){
 html.fx-cinematic-dashboard #app .main{margin-left:0;padding:0 12px calc(104px + env(safe-area-inset-bottom));min-width:0}
 html.fx-cinematic-dashboard #app .sidebar{display:none}
 html.fx-cinematic-dashboard #app .topbar{height:auto;min-height:64px;gap:8px;padding:10px 0;flex-wrap:wrap}
 html.fx-cinematic-dashboard #app .topbar .mobile-brand{display:block;flex:1 1 90px;max-width:none;min-width:0;font-size:14px;line-height:1.3;font-weight:650;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app .topbar .breadcrumb{display:none}
 html.fx-cinematic-dashboard #app .topbar .top-search{display:flex;min-width:44px;min-height:44px;width:44px;padding:10px;margin-left:0;border-radius:12px;flex:0 0 44px}
 html.fx-cinematic-dashboard #app .topbar .top-search :is(span,kbd){display:none}
 html.fx-cinematic-dashboard #app .topbar .top-search svg{width:20px;height:20px}
 html.fx-cinematic-dashboard #app .top-actions{gap:6px;min-width:0}
 html.fx-cinematic-dashboard #app .top-actions :is(.btn,.icon-button,.account-menu){min-height:44px;font-size:12px}
 html.fx-cinematic-dashboard #app .top-actions .btn{padding:9px 10px}
 html.fx-cinematic-dashboard #app .top-actions .icon-button{min-width:44px}
 html.fx-cinematic-dashboard #app .top-actions .account-name{display:none}
 html.fx-cinematic-dashboard #app .mobile-nav{padding:6px 4px calc(6px + env(safe-area-inset-bottom));display:flex;gap:2px}
 html.fx-cinematic-dashboard #app .mobile-nav button{min-width:0;min-height:58px;padding:6px 2px;font-size:11px;line-height:1.25;border-radius:12px;gap:5px;flex:1}
 html.fx-cinematic-dashboard #app .mobile-nav svg{width:22px;height:22px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-hero{height:238px;min-height:238px;margin:12px 0 14px;border-radius:16px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-copy{max-width:100%;padding:18px 16px 66px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-copy .fx-cinema-eyebrow{font-size:11px;line-height:1.3;letter-spacing:1.1px;margin:0 0 10px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-copy h2{font-size:28px;line-height:1.06;letter-spacing:-.04em;margin:0 0 14px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-description{display:none}
 html.fx-cinematic-dashboard #app .main .fx-cinema-actions{margin:0;gap:8px;flex-wrap:nowrap}
 html.fx-cinematic-dashboard #app .main .fx-cinema-actions .btn{min-height:44px;padding:9px 12px;font-size:12px;gap:10px;border-radius:10px;white-space:nowrap}
 html.fx-cinematic-dashboard #app .main .fx-cinema-bottom{left:16px;right:12px;bottom:10px;justify-content:flex-end}
 html.fx-cinematic-dashboard #app .main .fx-cinema-bottom>span{display:none}
 html.fx-cinematic-dashboard #app .main .fx-cinema-motion{min-height:44px;font-size:11px;padding:8px 10px;border-radius:10px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-fallback i{width:260px;height:260px;right:-60px;top:-10px;opacity:.75}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page{min-width:0}
 html.fx-cinematic-dashboard #app #page-content .market-ticker{display:flex;margin:0 0 12px;max-width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;border-radius:12px}
 html.fx-cinematic-dashboard #app #page-content .ticker-item{flex:0 0 174px;min-width:174px;min-height:90px;padding:12px;scroll-snap-align:start}
 html.fx-cinematic-dashboard #app #page-content .ticker-pair{font-size:12px;gap:6px}
 html.fx-cinematic-dashboard #app #page-content .ticker-pair>small{font-size:11px}
 html.fx-cinematic-dashboard #app #page-content .ticker-numbers>strong{font-size:19px;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .ticker-numbers>[data-market-daychange]{font-size:11px;min-width:58px;padding:4px 6px}
 html.fx-cinematic-dashboard #app #page-content .summary-metrics{gap:10px;margin-bottom:14px}
 html.fx-cinematic-dashboard #app #page-content .summary-metric{padding:14px 12px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .summary-metric .metric-copy{min-width:0}
 html.fx-cinematic-dashboard #app #page-content .summary-metric .metric-copy>span{font-size:12px;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .summary-metric .metric-copy>strong{font-size:clamp(20px,6.1vw,25px);line-height:1.25;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .summary-metric .metric-copy>small{font-size:11px;line-height:1.5}
 html.fx-cinematic-dashboard #app #page-content :is(.workspace-main-grid,.workspace-lower-grid){grid-template-columns:minmax(0,1fr);gap:14px}
 html.fx-cinematic-dashboard #app #page-content .card{padding:14px;border-radius:14px}
 html.fx-cinematic-dashboard #app #page-content .card h2{font-size:17px;line-height:1.35}
 html.fx-cinematic-dashboard #app #page-content .card-head :is(p,.meta){font-size:11px;line-height:1.5}
 html.fx-cinematic-dashboard #app #page-content :is(.status-reason,.next-event,.compact-definition,.route-summary-state){font-size:13px;line-height:1.5}
 html.fx-cinematic-dashboard #app #page-content :is(.btn,.text-button,.icon-button,.period-switch button,.fx-dashboard-chart-tabs button){min-height:44px;font-size:13px}
 html.fx-cinematic-dashboard #app #page-content .icon-button{min-width:44px}
 html.fx-cinematic-dashboard #app #page-content .geography-card{padding:14px 0 0;overflow:hidden}
 html.fx-cinematic-dashboard #app #page-content .geography-card>.card-head{padding:0 14px;margin-bottom:10px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe{height:400px;margin:0;min-height:0}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .exchange-globe{height:400px;min-height:0;border-radius:0}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-top{padding:8px 12px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;flex:none}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-search{min-width:0;max-width:none;width:100%}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-search input{min-height:44px;font-size:16px;padding:9px 12px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-tools{width:100%;display:flex;justify-content:space-between;gap:8px;margin:0}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-tools button{min-width:44px;min-height:44px;font-size:14px;padding:7px;flex:1}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-viewport{min-height:288px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label{width:132px;max-width:132px;min-height:66px;padding:7px 8px;font-size:11px;border-radius:10px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label .eg-country-name{font-size:11px;margin-bottom:2px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe :is(.eg-quote-pair,.eg-quote-change,.eg-quote-status){font-size:11px;letter-spacing:0;line-height:1.35}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-label strong{font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-values{flex-wrap:wrap;gap:2px 6px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info{max-width:152px;padding:9px 10px;font-size:11px;border-radius:10px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info>strong{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info [data-market-price]{font-size:17px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info [data-market-status]{font-size:11px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-info button{min-height:44px;font-size:12px;padding:7px 0}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-details{font-size:11px}
 html.fx-cinematic-dashboard #app #page-content .workspace-globe .eg-quote-details summary{min-height:44px;display:flex;align-items:center;margin:0}
 html.fx-cinematic-dashboard #app #page-content .route-ribbon{margin:0;padding:12px 14px;font-size:11px;gap:6px 10px}
 html.fx-cinematic-dashboard #app #page-content .route-ribbon>strong{font-size:13px;line-height:1.4}
 /* Pair, price and daily change remain visible. Data status stays outside disclosure. */
 html.fx-cinematic-dashboard #app #page-content :is(.fx-rates-list,.fx-dashboard-market) .fx-rate-head{grid-template-columns:minmax(88px,1.1fr) minmax(90px,1fr) 74px;gap:6px;font-size:11px;line-height:1.3;padding:10px 0}
 html.fx-cinematic-dashboard #app #page-content :is(.fx-rates-list,.fx-dashboard-market) .fx-rate-row{grid-template-columns:minmax(88px,1.1fr) minmax(90px,1fr) 74px;grid-template-rows:28px minmax(44px,auto);gap:0 6px;padding:5px 0;min-height:82px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-pair{grid-column:1;grid-row:1/3;min-height:72px;padding:4px 3px;gap:6px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-pair b{font-size:13px;white-space:nowrap}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-pair .currency-flag{width:22px;height:15px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-price{grid-column:2;grid-row:1;font-size:clamp(14px,4.2vw,17px);line-height:1.3;text-align:right;white-space:nowrap}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-day{grid-column:3;grid-row:1;font-size:12px;text-align:right}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-day>b{display:inline-block;min-width:64px;padding:4px 5px;border-radius:7px;text-align:center}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-day>b.positive{background:#173b2d}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-day>b.negative{background:#3b202b}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-row>.fx-rate-status{display:block;grid-column:2;grid-row:2;text-align:right;font-size:11px;align-self:center}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-status>.badge,html.fx-cinematic-dashboard #app #page-content .fx-rate-status [data-market-badge] .badge{font-size:11px;padding:2px 5px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-status>small{display:none}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-more{grid-column:3;grid-row:2;padding:0;font-size:11px;align-self:center}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-more>summary{display:flex;align-items:center;justify-content:flex-end;min-height:44px;line-height:1.3;font-size:11px;text-align:right;padding:4px 2px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-more[open]{grid-column:1/-1;grid-row:3;padding:4px 6px 8px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-more[open]>summary{justify-content:flex-start}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-more>div{font-size:12px;line-height:1.6;gap:8px}
 html.fx-cinematic-dashboard #app #page-content .fx-market-data-info{font-size:12px;line-height:1.6}
 html.fx-cinematic-dashboard #app #page-content .fx-market-data-info>summary{min-height:44px}
}
@media(max-width:359px){
 html.fx-cinematic-dashboard #app .main{padding-left:10px;padding-right:10px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-copy h2{font-size:26px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-actions .btn{font-size:11px;padding-left:9px;padding-right:9px;gap:6px}
 html.fx-cinematic-dashboard #app #page-content :is(.fx-rates-list,.fx-dashboard-market) :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(80px,1fr) minmax(85px,1fr) 64px;gap:0 4px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-pair .currency-flag{display:none}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-pair b{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .fx-rate-day>b{min-width:60px}
}

/* Mobile Dashboard only: all tracked quotes visible; scrolling remains native. */
@media (max-width:767px){
  html.fx-cinematic-dashboard,
  html.fx-cinematic-dashboard body{
    scrollbar-width:none;
  }
  html.fx-cinematic-dashboard::-webkit-scrollbar,
  html.fx-cinematic-dashboard body::-webkit-scrollbar{
    display:none;
    width:0;
    height:0;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-flow:row;
    gap:8px;
    width:100%;
    min-width:0;
    max-width:100%;
    margin:0 0 12px;
    padding:0;
    overflow-x:visible;
    overflow-y:visible;
    scroll-snap-type:none;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-item{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-content:start;
    gap:7px;
    flex:initial;
    width:auto;
    min-width:0;
    max-width:100%;
    min-height:112px;
    height:auto;
    padding:10px;
    box-sizing:border-box;
    scroll-snap-align:none;
    white-space:normal;
    border:1px solid #2a3d4c;
    /* Earlier mobile styles force these two edges. */
    border-right:1px solid #2a3d4c!important;
    border-bottom:1px solid #2a3d4c!important;
    border-radius:12px;
    background:#0a141e;
    text-align:left;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-pair{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    gap:3px 6px;
    min-width:0;
    font-size:12px;
    line-height:1.35;
    white-space:normal;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-pair .currency-flag{
    width:22px;
    height:15px;
    flex:0 0 22px;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-pair>small{
    display:block;
    flex:0 0 100%;
    min-width:0;
    max-width:100%;
    font-size:11px;
    line-height:1.35;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    overflow-wrap:anywhere;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-numbers{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    justify-items:start;
    align-items:start;
    gap:5px;
    min-width:0;
    max-width:100%;
    white-space:normal;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-numbers>strong{
    display:block;
    min-width:0;
    max-width:100%;
    font-size:18px;
    line-height:1.3;
    letter-spacing:-.025em;
    font-variant-numeric:tabular-nums;
    white-space:normal;
    overflow:visible;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-numbers>[data-market-daychange]{
    display:block;
    min-width:0;
    max-width:100%;
    padding:3px 6px;
    box-sizing:border-box;
    font-size:11px;
    line-height:1.3;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
    overflow-wrap:anywhere;
  }
}

/* Keep Dashboard actions clear of the existing fixed support launcher. */
@media (max-width:767px){
  html.fx-cinematic-dashboard #app #page-content > .dashboard-page > .mobile-trading-status{
    padding-inline-end:12px;
    column-gap:8px;
    flex-wrap:wrap;
  }
}
/* Restore hit testing only for the globe's native quote disclosure. */
html.fx-cinematic-dashboard #app #page-content > .dashboard-page .workspace-globe .eg-info > .eg-quote-details > summary{
  pointer-events:auto;
}

/* Keep the Dashboard summary link outside the mobile chat launcher's lane. */
@media (max-width:767px){
  html.fx-cinematic-dashboard #app #page-content > .dashboard-page > .dashboard-main-grid > .auto-summary > .card-head{
    padding-inline-end:0;
  }
}

/* Candidate: append to atafx-cinematic.css after the existing mobile rules.
   New helper elements are hidden at desktop widths. Existing fields/actions
   remain the single source of financial and market data. */
.fx-mobile-summary-note,.fx-mobile-trading-facts,.fx-dashboard-rates-heading,.fx-cinema-mobile-title{display:none}
html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-item.fx-ticker-mobile-only{display:none}
html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .metric-copy>.fx-mobile-available{display:none}
@media (max-width:767px){
 html.fx-cinematic-dashboard #app .main .fx-cinema-hero{height:auto;min-height:76px;overflow:visible;display:flex;align-items:center;margin:10px 0 12px;border-radius:12px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-canvas{inset:0 auto auto 6px;width:76px;height:76px;border-radius:12px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-fallback{border-radius:12px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-fallback i{width:58px;height:58px;inset:8px auto auto 15px;opacity:1}
 html.fx-cinematic-dashboard #app .main .fx-cinema-shade{border-radius:12px;background:linear-gradient(90deg,transparent,#02060c22 30%,#02060c88)}
 html.fx-cinematic-dashboard #app .main .fx-cinema-copy{padding:10px 62px 10px 86px;max-width:none;width:100%;min-width:0}
 html.fx-cinematic-dashboard #app .main .fx-cinema-copy :is(.fx-cinema-eyebrow,.fx-cinema-description,.fx-cinema-actions,.fx-cinema-desktop-title){display:none}
 html.fx-cinematic-dashboard #app .main .fx-cinema-copy .fx-cinema-mobile-title{display:block;font-size:17px;line-height:1.3;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app .main .fx-cinema-bottom{inset:0 8px 0 auto;width:44px;justify-content:center;align-items:center;gap:0}
 html.fx-cinematic-dashboard #app .main .fx-cinema-motion{width:44px;min-width:44px;min-height:44px;padding:0;font-size:0;border-radius:10px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-motion::before{content:'Ⅱ';font-size:18px;line-height:1}
 html.fx-cinematic-dashboard #app .main .fx-cinema-motion[aria-pressed="true"]::before{content:'▶';font-size:15px}
 html.fx-cinematic-dashboard #app .main .fx-cinema-motion:disabled::before{content:'—'}

 /* Reorder only the mobile presentation. Preserve the same DOM/state/actions. */
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page{display:flex;flex-direction:column;gap:10px;padding-top:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>:is(.dashboard-main-grid,.dashboard-lower-grid){display:contents}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.mobile-trading-status{display:none}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-metrics{order:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-mobile-summary-note{order:2;display:block;margin:0;font-size:12px;line-height:1.45;color:#a6bccb}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-main-grid>.auto-summary{order:3}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-dashboard-rates-heading{order:4;display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:2px 0 -6px;min-width:0;padding-right:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-dashboard-rates-heading h2{font-size:16px;line-height:1.4;margin:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-dashboard-rates-heading .text-button{min-height:44px;font-size:12px}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.market-ticker{order:5}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>.performance-card{order:6;margin:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-main-grid>.geography-card{order:7;margin:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>:not(.performance-card){order:8;margin:0}

 /* Four equal columns/rows at ordinary amounts; long values expand naturally. */
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .summary-metric{grid-column:auto;min-height:78px;height:auto;padding:7px 10px;gap:0;margin:0;border:1px solid #2a3d4c;border-radius:12px;background:linear-gradient(130deg,#10202b,#0a141e 66%);box-shadow:0 1px 0 #b9f1ff09 inset;align-items:flex-start;min-width:0;overflow:visible}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics [data-key="metric-principal"]{order:1}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics [data-key="metric-profit"]{order:2}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics [data-key="metric-today"]{order:3}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics [data-key="metric-return"]{order:4}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .metric-icon{display:none}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .metric-copy{display:grid;gap:3px;width:100%;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .metric-copy>span{display:block;font-size:12px;line-height:1.35;white-space:normal}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .metric-copy>strong{display:block;font-size:20px;line-height:1.25;letter-spacing:-.03em;white-space:normal;overflow:visible;overflow-wrap:anywhere;max-width:100%}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .metric-copy>strong *{white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics .metric-copy>small{display:none}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics [data-key="metric-principal"] .metric-copy>small{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics [data-key="metric-principal"] .metric-copy>.fx-desktop-note{display:none}
 html.fx-cinematic-dashboard #app #page-content .dashboard-metrics [data-key="metric-principal"] .metric-copy>.fx-mobile-available{display:block}

 /* The compact card retains live server status, the original button and clock. */
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-main-grid>.auto-summary{display:flex;gap:6px;padding:12px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-main-grid>.auto-summary>.card-head{padding-inline-end:0;gap:8px;flex-wrap:wrap;margin:0;min-height:44px}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .card-head h2{font-size:16px;margin:0}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .card-head .text-button{min-height:44px;font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary :is(.execution-phases,.dashboard-route-summaries,.auto-status-heading>.metric-icon){display:none}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .auto-status-heading{gap:0;min-width:0;padding-inline-end:0}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .auto-status-heading>div{min-width:0}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .auto-status-heading h3{font-size:14px;line-height:1.4;margin:0;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .status-reason{display:none}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .fx-mobile-trading-facts{display:flex;flex-wrap:wrap;gap:4px 12px;padding-inline-end:0;font-size:12px;line-height:1.4;color:#a6bccb}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary .fx-mobile-trading-facts b{font-variant-numeric:tabular-nums;color:#e2edf5}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary>.full-width{width:100%;min-height:44px;margin:0;padding:8px 10px;font-size:13px;white-space:normal;line-height:1.35}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary>.next-event{order:0;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:3px 8px;margin:0;padding:6px 0 0;font-size:12px;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .dashboard-main-grid>.auto-summary>.next-event b{font-size:12px;line-height:1.4;overflow-wrap:anywhere}

 /* The existing ticker becomes five small rows; each remains a native button. */
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin:0;border:1px solid #2a3d4c;border-radius:12px;background:#0a141e;overflow:visible;padding:0}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-item{display:grid;grid-template-columns:minmax(94px,1fr) minmax(0,1.6fr);gap:6px;align-items:center;align-content:center;min-width:0;width:auto;min-height:54px;height:auto;padding:8px 10px;border:0;border-right:0!important;border-bottom:1px solid #2a3d4c!important;border-radius:0;background:none;white-space:normal}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-item:last-child{border-bottom:0!important}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-item{order:var(--fx-mobile-rate-order,0)}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-item.fx-ticker-desktop-only{display:none}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-item.fx-ticker-mobile-only{display:grid}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-pair{display:flex;flex-wrap:wrap;align-items:center;gap:2px 5px;font-size:12px;line-height:1.35}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-pair .currency-flag{width:20px;height:14px;flex:0 0 20px}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-pair>small{display:block;flex-basis:100%;font-size:11px;line-height:1.3;overflow:visible;white-space:normal}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-numbers{display:grid;grid-template-columns:minmax(0,1fr) minmax(48px,auto);align-items:center;justify-items:end;gap:5px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-numbers>strong{font-size:15px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:right;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-numbers .fx-quote-value{white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .dashboard-page .market-ticker .ticker-numbers>[data-market-daychange]{font-size:11px;line-height:1.35;min-width:0;padding:3px 4px;white-space:normal;overflow-wrap:anywhere;text-align:right}
 html.fx-cinematic-dashboard #fx-support-panel .fx-chat-window-actions button{width:44px;height:44px;min-width:44px;min-height:44px}
}

/* Mobile presentation for the approved 2026-10-13 handoff. Desktop uses its
   existing nodes. All amounts, routes and price hooks come from current data. */
#app #page-content>.dashboard-page>.fx-mobile-dashboard{display:none}
#app #page-content>.dashboard-page>.dashboard-lower-grid>.fx-mobile-performance{display:contents}
#app #page-content>.dashboard-page>.dashboard-lower-grid>.fx-mobile-performance>summary{display:none}
@media(max-width:767px){
 html.fx-cinematic-dashboard #app .topbar{min-height:52px;padding:4px 0;height:auto}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page{display:block;padding-top:4px}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>:not(.fx-mobile-dashboard):not(.dashboard-lower-grid):not(.fx-dashboard-globe-slot){display:none}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid{display:block;margin:12px 0 0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>:not(.performance-card):not(.fx-mobile-performance){display:none}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-mobile-dashboard{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;font-size:14px;line-height:1.45}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard>*{min-width:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .card{height:auto;max-height:none;min-width:0;margin:0;padding:12px;border-radius:14px;overflow:visible;background:#0c1b23;border-color:#203943;box-shadow:0 1px 0 #ffffff06 inset}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard :is(h2,h3,p){margin:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard :is(h2,h3){font-size:14px;line-height:1.4;letter-spacing:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard :is(small,.meta,.footnote){font-size:12px;line-height:1.45;color:#9bb3bf;white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 10px;min-height:44px;margin:0 0 8px;padding-right:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .card-head p{display:block;font-size:12px;line-height:1.45}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard :is(button,.btn,.text-button,.icon-button,summary){min-height:44px;touch-action:manipulation}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard :is(.btn,.text-button){font-size:14px;line-height:1.4;white-space:normal}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .icon-button{min-width:44px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard :is(strong,b){font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;word-break:normal}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard button:focus-visible{outline:2px solid #52dac0;outline-offset:2px}

 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-balance{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px 6px 4px 12px;min-height:52px;border-radius:12px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-toggle{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:0 5px;min-width:0;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;white-space:normal}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-toggle>span:first-child{grid-column:1;grid-row:1;min-width:0;font-size:12px;line-height:1.35;color:#9bb3bf}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-details-label{grid-column:2;grid-row:1/span 2;align-self:center;font-size:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-details-label::after{content:'ⓘ';font-size:16px;color:#9bb3bf}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-toggle svg{width:16px;height:16px;flex:0 0 16px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-value{grid-column:1;grid-row:2;display:block;font-size:18px;line-height:1.35;letter-spacing:-.025em;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-actions{display:flex;gap:4px;align-items:stretch}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .balance-actions .btn{min-width:44px;min-height:44px;padding:8px;font-size:12px;font-weight:600;border-radius:9px}

 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-profit{display:grid;grid-template-columns:minmax(0,1fr);column-gap:8px;row-gap:8px;align-items:start;background:linear-gradient(115deg,#113137,#0c1b23 82%);min-height:112px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-profit>.profit-copy{display:contents}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-profit>.profit-copy>h2{grid-column:1;grid-row:1;min-width:0;align-self:center}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-profit>.profit-copy>.profit-value{grid-column:1/-1;grid-row:2;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-profit>.profit-copy>.profit-meta{grid-column:1/-1;grid-row:3;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .profit-value{display:block;font-size:32px;line-height:1.18;letter-spacing:-.025em;overflow:visible;white-space:normal;overflow-wrap:anywhere;font-weight:600}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .profit-meta{font-size:12px;line-height:1.4;color:#9bb3bf;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-profit>.profit-stats{grid-column:1/-1;grid-row:4;display:flex;flex-wrap:wrap;gap:4px 16px;margin:4px 0 0;font-size:12px;line-height:1.45;color:#9bb3bf}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .profit-stats>div{display:flex;align-items:baseline;gap:5px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .profit-stats :is(dt,dd){margin:0;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .profit-stats dd{color:#edf6f8;font-weight:500}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-profit-globe{grid-column:2;grid-row:1;width:56px;min-height:56px;align-self:start;min-width:0;position:relative}
 /* Reuse the existing GPU scene and motion preference; only its container moves. */
 html.fx-cinematic-dashboard #app .main .fx-mobile-profit-globe .fx-cinema-hero{position:relative;display:block;width:56px;height:56px;min-height:56px;margin:0;border:0;border-radius:12px;background:transparent;box-shadow:none;overflow:visible}
 html.fx-cinematic-dashboard #app .main .fx-mobile-profit-globe :is(.fx-cinema-copy,.fx-cinema-shade,.fx-cinema-bottom>span){display:none}
 html.fx-cinematic-dashboard #app .main .fx-mobile-profit-globe .fx-cinema-canvas{inset:0;width:56px;height:56px;border-radius:12px}
 html.fx-cinematic-dashboard #app .main .fx-mobile-profit-globe .fx-cinema-fallback{inset:0;width:56px;height:56px;border-radius:12px}
 html.fx-cinematic-dashboard #app .main .fx-mobile-profit-globe .fx-cinema-fallback i{width:44px;height:44px;inset:5px auto auto 6px;opacity:1}
 html.fx-cinematic-dashboard #app .main .fx-mobile-profit-globe .fx-cinema-bottom{inset:auto 0 0 auto;width:44px;height:44px;margin:0;display:flex;align-items:center;justify-content:center}
 html.fx-cinematic-dashboard #app .main .fx-mobile-profit-globe .fx-cinema-motion{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:50%;background:#07152080;border-color:#3c647744;font-size:0}

 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-conversion{display:grid;gap:8px;min-height:152px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-right:0;font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-head .badge{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-path{font-size:20px;line-height:1.35;font-weight:500;white-space:normal;overflow-wrap:anywhere;padding-right:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-facts{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;line-height:1.45;color:#9bb3bf;padding-right:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-facts>*{min-width:0;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-actions{display:flex;flex-wrap:wrap;gap:8px;padding-right:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-actions>.btn{flex:1 1 100px;min-width:0;padding:8px;font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-actions>.text-button{flex:1 1 90px;max-width:100%}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-next{padding-right:0}

 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-recent{min-height:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-list{display:grid;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(62px,auto);gap:3px 8px;align-items:center;min-height:54px;padding:6px 0;border-top:1px solid #203943;min-width:0;font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-pair{grid-column:1;min-width:0;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-pair.text-button{font-size:16px;padding:0;min-height:44px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-result{grid-column:2;min-width:0;font-size:16px;line-height:1.4;text-align:right;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-time{grid-column:1;grid-row:2;display:grid;gap:2px;font-size:12px;line-height:1.45;color:#9bb3bf;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-action{grid-column:2;grid-row:2;justify-self:end;align-self:center}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-action>.text-button{font-size:12px;min-height:44px;min-width:44px;padding:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-row>.meta{grid-column:1/-1}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-pair .badge{font-size:12px;display:inline-block;margin-top:3px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .recent-row :is(.route-result-pending,.meta,.route-summary-state){font-size:12px;line-height:1.45;white-space:normal}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .empty{height:auto;min-height:0;padding:10px 0;font-size:14px;line-height:1.45;text-align:left;display:grid;justify-items:start;gap:6px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .empty strong{font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .empty p{font-size:12px;line-height:1.45}

 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .fx-mobile-rates{display:grid;gap:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-row{display:grid;grid-template-columns:minmax(112px,1.2fr) minmax(0,1fr) 64px;grid-template-rows:auto auto;gap:3px 5px;align-items:center;min-height:48px;padding:8px 0;border:0;border-top:1px solid #203943;background:transparent;color:inherit;text-align:left;min-width:0;width:100%;border-radius:0;white-space:normal;font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-pair{grid-column:1;grid-row:1;min-width:0;display:flex;flex-wrap:nowrap;white-space:nowrap;align-items:center;gap:4px;font-size:14px;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-pair .currency-flag{width:20px;height:14px;flex:0 0 20px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-price{grid-column:2;grid-row:1;min-width:0;font-size:16px;line-height:1.35;text-align:right;white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-price .fx-quote-value{white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-change{grid-column:3;grid-row:1;min-width:0;font-size:12px;line-height:1.4;text-align:right;white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-status{grid-column:1/-1;grid-row:2;display:block;font-size:12px;line-height:1.4;color:#9bb3bf;white-space:normal;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-status .badge{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .positive{color:#74ddb7}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .negative{color:#ff8c9c}
 /* Reserve a slot only inside the fixed navigation, never inside content cards. */
 html.fx-cinematic-dashboard #app .mobile-nav{padding-right:64px}
 html.fx-cinematic-dashboard #fx-support-launcher{width:48px;height:48px;padding:11px;right:8px;bottom:var(--fx-chat-launcher-bottom,var(--fx-chat-bottom))}
 html.fx-cinematic-dashboard #fx-support-launcher svg{width:24px;height:24px}
 /* The retained Dashboard market disclosure uses its own row on the left.
    Its full expanded content keeps the available width. */
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid .fx-dashboard-market .fx-rate-more{grid-column:1/-1;grid-row:3;padding:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid .fx-dashboard-market .fx-rate-more>summary{justify-content:flex-start;width:fit-content;max-width:100%;min-width:44px;min-height:44px;padding:4px 2px;text-align:left}

 /* Disclosure state is managed by existing per-session presentation state. */
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>.fx-mobile-performance{display:block;border:1px solid #203943;border-radius:14px;background:#0c1b23;padding:0;min-width:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>.fx-mobile-performance>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px 12px;font-size:14px;line-height:1.45;cursor:pointer;color:#edf6f8}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>.fx-mobile-performance>summary::after{content:'+';font-size:20px;color:#52dac0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>.fx-mobile-performance[open]>summary::after{content:'−'}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-lower-grid>.fx-mobile-performance>.performance-card{margin:0;border:0;box-shadow:none;border-radius:0 0 14px 14px}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .conversion-reason{font-size:14px;line-height:1.5;color:#b6c9d3;overflow-wrap:anywhere;margin:0}
 html.fx-cinematic-dashboard #app #page-content .fx-mobile-dashboard .mobile-rate-pair>b{white-space:nowrap;font-size:14px;line-height:1.4}
}

/* Keep the Dashboard trading-detail action outside the floating chat lane. */
@media(min-width:768px){
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-main-grid>.auto-summary>.card-head{justify-content:flex-start;gap:12px;flex-wrap:wrap}
}

/* The existing space scene follows the Dashboard content on every width.
   Before first visibility, even the CSS fallback must not fetch its texture. */
html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-dashboard-globe-slot{display:block;min-width:0;grid-column:1/-1;margin-top:16px}
html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot>.fx-cinema-hero{margin:0}
html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot>.fx-cinema-hero:not([data-scene-ready="true"]) .fx-cinema-fallback i{background-image:none}
html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot :is(.fx-cinema-motion,.fx-cinema-actions .btn){min-height:44px}
html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot button:focus-visible{outline:2px solid #52dac0;outline-offset:3px}
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-dashboard-globe-slot{margin-top:12px}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot>.fx-cinema-hero{display:block;min-height:250px;height:auto;overflow:hidden;border-radius:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-canvas{inset:0;width:100%;height:100%;border-radius:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-copy{width:100%;max-width:none;min-width:0;padding:16px 12px 80px}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-copy .fx-cinema-mobile-title{font-size:22px;line-height:1.3;letter-spacing:-.02em;margin:0}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-shade{background:linear-gradient(180deg,#02060c77,transparent 36%,#02060c66)}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-fallback i{width:200px;height:200px;inset:32px -20px auto auto;opacity:1}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-bottom{inset:auto 12px 12px;min-width:0;width:auto;display:flex;justify-content:flex-start;align-items:center;gap:8px}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-motion{width:auto;min-width:44px;min-height:44px;padding:8px 12px;font-size:12px;line-height:1.4;border-radius:10px}
 html.fx-cinematic-dashboard #app #page-content .fx-dashboard-globe-slot .fx-cinema-motion::before{content:none}
}

/* Interactive geography follows rates and recorded activity in DOM and focus order. */
html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.dashboard-main-grid>.auto-summary:only-child{grid-column:1/-1}
html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-dashboard-geography{display:block;min-width:0;margin-top:16px;grid-column:1/-1}
html.fx-cinematic-dashboard #app #page-content .fx-dashboard-geography .geography-card{margin:0}
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page>.fx-dashboard-geography{display:none}
 html.fx-cinematic-dashboard #app #page-content .mobile-rate-status{white-space:normal;overflow-wrap:anywhere}
}
/* Keep long FX prices clear of the closed chat launcher without narrowing cards. */
@media(max-width:767px){
 .mobile-nav[data-support-dock="true"]{padding-right:64px}
 #fx-support-widget[data-launcher-dock="true"] #fx-support-launcher{width:48px;height:48px;padding:11px;right:8px;bottom:var(--fx-chat-launcher-bottom,var(--fx-chat-bottom))}
 #fx-support-widget[data-launcher-dock="true"] #fx-support-launcher svg{width:24px;height:24px}
}

/* Source: fx-pairs.css */
/* All-pair discovery uses the existing public workspace and shared market cache. */
#page-content .fx-pair-explorer {margin-top:16px;padding:12px;border:1px solid var(--line,#dce7e6);border-radius:14px;background:#fff;min-width:0}
#page-content .fx-pair-explorer>summary {min-height:44px;align-content:center;font-weight:700;color:var(--text,#132c31);cursor:pointer;overflow-wrap:anywhere}
#page-content #fx-pair-explorer {min-width:0}
#page-content #fx-pair-explorer [hidden] {display:none!important}
#page-content .fx-pair-toolbar {display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0}
#page-content .fx-pair-toolbar label {display:grid;gap:6px;flex:1 1 180px;min-width:0;font-size:14px}
#page-content .fx-pair-toolbar input {width:100%;min-width:0;min-height:44px;font:inherit;padding:10px 12px;box-sizing:border-box}
#page-content #fx-pair-explorer .btn {min-height:44px;min-width:44px;padding:8px 12px;white-space:normal;overflow-wrap:anywhere;font-size:14px}
#page-content #fx-pair-explorer :is(button,input,summary):focus-visible {outline:3px solid #4cbaa9;outline-offset:3px}
#page-content #fx-pair-explorer button:hover:not(:disabled) {border-color:#087f74;background:#eaf8f4}
#page-content .fx-pair-row,#page-content .fx-pair-head {display:grid;grid-template-columns:minmax(150px,1.25fr) minmax(130px,1fr) minmax(85px,.7fr) minmax(140px,1.2fr);gap:8px 12px;align-items:center;min-width:0}
#page-content .fx-pair-head {font-size:12px;color:var(--muted,#52656e);padding:8px 0}
#page-content .fx-pair-head>:is(:nth-child(2),:nth-child(3)) {text-align:right}
#page-content .fx-pair-row {border-top:1px solid var(--line,#dce7e6);padding:10px 0;font-variant-numeric:tabular-nums;transition:background-color .18s}
#page-content .fx-pair-row>* {min-width:0}
#page-content .fx-pair-name {padding:4px 0;text-align:left;min-height:44px;border:0;background:transparent;cursor:pointer;color:var(--text,#132c31)}
#page-content .fx-pair-name strong {display:block;font-size:14px}
#page-content .fx-pair-row small {display:block;font-size:12px;line-height:1.45;color:var(--muted,#52656e);overflow-wrap:anywhere}
#page-content .fx-pair-value,#page-content .fx-pair-day {text-align:right;overflow-wrap:anywhere;line-height:1.5}
#page-content .fx-pair-value strong {font-size:15px}
#page-content [data-fx-pair-move] {display:inline-block;width:14px;margin-left:3px;text-align:center}
#page-content .fx-pair-day strong {font-size:14px}
#page-content .fx-pair-badge {display:inline-block;font-size:12px;line-height:1.4;padding:3px 7px;border-radius:6px;background:#edf3f4;color:#38535d;overflow-wrap:anywhere}
#page-content .fx-pair-badge[data-status=live] {background:#e4f6ed;color:#116a45}
#page-content .fx-pair-badge:is([data-status=stale],[data-status=delayed]) {background:#fff3d6;color:#855411}
#page-content .fx-pair-data {grid-column:1/-1;min-width:0;font-size:12px;overflow-wrap:anywhere;color:var(--muted,#52656e)}
#page-content .fx-pair-data summary {cursor:pointer;min-height:44px;align-content:center}
#page-content .fx-pair-data p {margin:6px 0;line-height:1.6}
#page-content .fx-pair-pagination {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}
#page-content .fx-pair-pagination p {flex:1 1 150px;text-align:center;font-size:12px;line-height:1.5}
#page-content .fx-pair-coverage,#page-content .fx-pair-checked,#page-content .fx-pair-history-meta {font-size:12px;line-height:1.6;color:var(--muted,#52656e);overflow-wrap:anywhere}
#page-content .fx-pair-notice {background:#fff4dc;border:1px solid #e9cc92;border-radius:8px;padding:10px 12px;font-size:14px;line-height:1.5;margin:10px 0;color:#704714}
#page-content .fx-pair-empty {padding:12px 0;font-size:14px;line-height:1.5}
#page-content .fx-pair-chart-panel {min-width:0;padding:10px 0}
#page-content .fx-pair-chart-panel header {display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
#page-content .fx-pair-chart-panel h3 {font-size:16px;margin:0;overflow-wrap:anywhere}
#page-content .fx-pair-periods {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#page-content .fx-pair-periods [aria-pressed=true] {background:#087f74;color:#fff;border-color:#087f74}
#page-content .fx-pair-chart {position:relative;min-width:0;width:100%;max-width:100%}
#page-content .fx-pair-chart .chart-tooltip {left:auto!important;right:8px;width:max-content;max-width:min(260px,calc(100% - 16px));box-sizing:border-box;overflow-wrap:anywhere}
#page-content .fx-pair-up {background:#edf9f2}
#page-content .fx-pair-up .fx-pair-value,#page-content .fx-pair-row .positive {color:#13794b}
#page-content .fx-pair-down {background:#fff0f0}
#page-content .fx-pair-down .fx-pair-value,#page-content .fx-pair-row .negative {color:#bd3b3b}
#page-content .fx-dashboard-pagination {display:flex;align-items:center;flex-wrap:wrap;gap:8px}
#page-content .fx-dashboard-pagination>span {flex:1 1 150px;min-width:0;white-space:normal;overflow-wrap:anywhere}
#page-content .fx-dashboard-pagination>button {min-height:44px;font-size:14px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:767px) {
  #page-content .fx-pair-row {grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:6px 10px;padding:10px 0}
  #page-content .fx-pair-head {display:none}
  #page-content .fx-pair-name {grid-column:1;grid-row:1}
  #page-content .fx-pair-value {grid-column:2;grid-row:1;align-self:start}
  #page-content .fx-pair-day {grid-column:2;grid-row:2}
  #page-content .fx-pair-state {grid-column:1;grid-row:2}
  #page-content .fx-pair-data {grid-row:3}
  #page-content .fx-pair-name small {font-size:12px}
  #page-content .fx-pair-pagination {gap:8px}
  #page-content .fx-pair-pagination p {order:3;flex-basis:100%;margin:0}
  #page-content .fx-pair-toolbar {align-items:stretch}
  #page-content .fx-pair-toolbar label {flex-basis:100%}
}
@media(prefers-reduced-motion:reduce) {#page-content .fx-pair-row{transition:none}}

/* Source: google-auth.css */
/* The official GIS button owns its logo, text and iframe. Only its host is sized. */
.fx-google-auth{display:grid;gap:10px;min-width:0;max-width:100%;margin:16px 0 20px}
.fx-google-divider{display:flex;align-items:center;gap:12px;color:var(--muted,#9fb4c9);font-size:12px;font-weight:600;line-height:1.5;letter-spacing:.06em}
.fx-google-divider::before,.fx-google-divider::after{content:"";height:1px;flex:1;min-width:0;background:var(--line,#284355)}
.fx-google-auth [data-google-body],.fx-google-auth [data-google-button]{min-width:0;max-width:100%}
.fx-google-auth [data-google-button]{display:flex;justify-content:center}
.fx-google-auth .meta{margin:0;overflow-wrap:anywhere;line-height:1.5}
.fx-google-auth [data-google-retry]{justify-self:start;min-height:44px;text-align:left;white-space:normal}
.fx-google-auth [data-google-retry][hidden]{display:none}

/* Source: withdrawal-security.css */
.fx-withdrawal-security,.fx-withdrawal-flow,.fx-withdrawal-flow form{display:grid;gap:12px;min-width:0}
.fx-withdrawal-security{padding:12px;border:1px solid #d4e6e7;border-radius:12px;background:#f7fbfb;margin:12px 0}
.fx-withdrawal-security[hidden]{display:none}
.fx-withdrawal-security h3,.fx-withdrawal-flow p{margin:0}
.fx-withdrawal-destination{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;margin:0}
.fx-withdrawal-destination dt{font-size:12px;color:#526474}
.fx-withdrawal-destination dd{margin:0;min-width:0;text-align:right}
.fx-withdrawal-address{overflow-wrap:anywhere;word-break:break-word;font-size:14px}
.fx-withdrawal-secret{display:grid;gap:8px;min-width:0}
.fx-withdrawal-secret-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch;min-width:0}
.fx-withdrawal-flow input,.fx-withdrawal-secret input{width:100%;min-width:0;box-sizing:border-box;font-size:16px;min-height:44px}
.fx-withdrawal-security .btn,.fx-withdrawal-flow .btn,.fx-withdrawal-security .text-button,.fx-withdrawal-flow .text-button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
.fx-withdrawal-consent{align-items:flex-start;line-height:1.5;font-size:14px}
.fx-withdrawal-consent input{width:20px;min-width:20px;height:20px;margin-top:2px}
.fx-withdrawal-note{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.fx-withdrawal-note.warning{color:#775218;background:#fff8e8;padding:12px;border-radius:8px}
.fx-withdrawal-flow .fx-email-delivery{display:grid;gap:6px;padding:14px 16px;border:1px solid #d7e2fb;border-radius:10px;background:#f1f5ff;color:#243b68}
.fx-withdrawal-flow .fx-email-delivery strong{font-size:16px;line-height:1.4}
.fx-withdrawal-flow .fx-email-instructions{margin:0;padding-left:22px;font-size:14px;line-height:1.65}
.fx-withdrawal-flow .footnote{font-size:12px;line-height:1.5}
.fx-withdrawal-flow button:focus-visible,.fx-withdrawal-security button:focus-visible{outline:3px solid #087f8c;outline-offset:3px}
@media(max-width:480px){.fx-withdrawal-flow .form-actions{display:flex;flex-wrap:wrap;gap:8px}.fx-withdrawal-flow .form-actions>*{flex:1 1 140px;min-width:0}.fx-withdrawal-destination{gap:8px}.fx-withdrawal-security{padding:12px}}
/* Match the chat popup's thin edge; keep every withdrawal-security step white. */
html.fx-unified-theme[data-theme] dialog#modal:has(> #modal-content > .fx-withdrawal-flow){
  background:#fff;
  border:1px solid #d0e4e5;
  box-shadow:0 14px 46px #1637432b;
}

/* Source: theme-unified.css */
/* ATAFX presentation layer. Load last; opt in with html.fx-unified-theme.
   Reuses the approved Dashboard palette. Routing, permissions, financial data,
   hidden states, official GIS content and QR pixels remain owned by their modules. */
:root.fx-unified-theme[data-theme] {
  color-scheme: dark;
  --bg: #050a10;
  --panel: #0b151f;
  --panel2: #111f2a;
  --panel-2: #111f2a;
  --line: #2b3b49;
  --panel-edge: #2b3b49;
  --panel-highlight: #55d9ba;
  --text: #e9f2f8;
  --muted: #a7b9c7;
  --accent: #55d9ba;
  --teal: #55d9ba;
  --danger: #ff8293;
  --gold: #edc77c;
  --surface-soft: #10212b;
  --surface-hover: #19313e;
  --accent-soft: #143d32;
  --accent-line: #386f60;
  --danger-soft: #3b202b;
  --danger-line: #854455;
  --warning-soft: #332b1b;
  --warning-line: #6f5830;
  --info-soft: #142f45;
  --info-text: #a6cefa;
  --chart-grid: #2a3d4c;
  --chart-text: #a7b9c7;
  --chart-up: #60ddb8;
  --chart-down: #ff8293;
  --chart-secondary: #83aaff;
  --chart-area: rgba(61,187,156,.15);
  --quote-flash: #1b4d3b;
  --globe-background: #071823;
  --globe-grid: #254956;
  --theme-shadow: 0 8px 24px rgba(0,0,0,.18);
  --fx-control-bg: #0a1823;
  --fx-control-border: #456071;
  --fx-primary-bg: #1d796b;
  --fx-primary-hover: #21826f;
  --fx-focus: #7debd0;
  --fx-radius: 12px;
}
html.fx-unified-theme[data-theme] :is(.admin-design,.ad-auth,.ad-account,.ad-onboarding,.ad-support,.ad-notifications,.ad-more) {
  --ad-bg: var(--bg);
  --ad-panel: var(--panel);
  --ad-panel-soft: var(--surface-soft);
  --ad-raised: var(--surface-soft);
  --ad-border: var(--line);
  --ad-text: var(--text);
  --ad-muted: var(--muted);
  --ad-accent: var(--accent);
}
html.fx-unified-theme[data-theme] body {
  background: linear-gradient(180deg,#070f17,var(--bg) 650px);
  color: var(--text);
}
html.fx-unified-theme[data-theme] :is(.main,.auth-shell,.ad-auth,.ad-onboarding,.ad-email-layout) {
  background-color: var(--bg);
  color: var(--text);
}
html.fx-unified-theme[data-theme] :is(.sidebar,.ad-admin-sidebar) {background:#080f17;border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(.topbar,.ad-onboarding-header,.ad-save-bar,.mobile-nav,.ad-mobile-nav) {
  background: #0a1722;
  color: var(--text);
  border-color: var(--line);
}
html.fx-unified-theme[data-theme] .topbar {background:transparent}
html.fx-unified-theme[data-theme] :is(.mobile-nav,.ad-mobile-nav) {background:#0a1722f5;box-shadow:0 -3px 18px #0004}
html.fx-unified-theme[data-theme] :is(.card,.metric,.summary-metric,.ad-card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.ad-metric,.auth-card,.ad-auth-card,.ad-availability) {
  color: var(--text);
  border-color: var(--line);
  background: linear-gradient(145deg,#10202b,#0a141e);
  box-shadow: var(--theme-shadow);
}
html.fx-unified-theme[data-theme] :is(.design-inset,.design-metric,.design-failure,.design-toolbar,.settlement-note,.auto-balance-grid>div,.account-progress,.ad-status-grid>div,.ad-balance-grid>div,.ad-more-profile,.ad-provider-card,.ad-json,.design-evidence-json,.code-box) {
  background: var(--surface-soft);
  color: var(--text);
  border-color: var(--line);
}
html.fx-unified-theme[data-theme] :is(.nav-item.active,.ad-admin-nav .active,.ad-tabs>button.active,.ad-page-nav button.active,.ad-record.selected,.ad-provider-card.selected,.ad-ticket.active,.ad-notification.active) {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}
html.fx-unified-theme[data-theme] :is(.ad-sidebar-group>summary,.nav-item,.ad-more-links>button):hover {background:var(--surface-hover);color:var(--text)}

/* Every existing action keeps its visibility/disabled state. */
html.fx-unified-theme[data-theme] :is(.btn,.text-button,.icon-button,.ad-password-toggle,.ad-tabs>button,.ad-menu-list>button,.admin-language-switch button) {
  min-height: 44px;
  font-family: inherit;
  line-height: 1.45;
}
html.fx-unified-theme[data-theme] :is(.btn,.ad-segments .btn) {
  color: var(--text);
  background: #112431;
  border-color: #355062;
  border-radius: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
html.fx-unified-theme[data-theme] .btn:not(.primary):not(.danger):hover:not(:disabled) {background:var(--surface-hover);border-color:#52768a;color:var(--text)}
html.fx-unified-theme[data-theme] :is(.btn.primary,.ad-upload-card .file-picker label.btn.primary,.ad-upload-card label.btn.primary) {
  color: #fff;
  background: var(--fx-primary-bg);
  border-color: #369e8a;
}
html.fx-unified-theme[data-theme] .btn.primary:hover:not(:disabled) {color:#fff;background:var(--fx-primary-hover);border-color:#6adac2}
html.fx-unified-theme[data-theme] .btn.primary:active:not(:disabled) {background:#176559;border-color:#55d9ba}
html.fx-unified-theme[data-theme] .btn.danger {color:var(--danger);background:var(--danger-soft);border-color:var(--danger-line)}
html.fx-unified-theme[data-theme] .btn.ghost {background:transparent}
html.fx-unified-theme[data-theme] :is(.text-button,.profit-help-button) {color:var(--accent)}
html.fx-unified-theme[data-theme] :is(.icon-button,.ad-password-toggle) {color:var(--muted);border-color:var(--line)}
html.fx-unified-theme[data-theme] .icon-button {min-width:44px;height:auto}
html.fx-unified-theme[data-theme] :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--fx-focus);outline-offset:3px}
html.fx-unified-theme[data-theme] :is(.btn,.text-button,.icon-button):disabled {opacity:.6;cursor:not-allowed}
html.fx-unified-theme[data-theme] :is(.btn,.text-button,.icon-button)[aria-busy=true] {opacity:.85;cursor:progress}
/* exchangeButtonBusy already renders an accessible label. Keep the legacy
   data-pending-only fallback, but do not render its second Processing label. */
html.fx-unified-theme[data-theme] .btn[data-pending="1"][aria-busy="true"]::after {content:none}

/* Keep forms readable with the same label/input treatment across account and staff. */
html.fx-unified-theme[data-theme] :is(input,select,textarea,.ad-form input:not([type=checkbox]),.ad-form select,.ad-form textarea,.ad-country-button,.ad-support-toolbar>select,.ad-notification-filters>select,.ad-conversation .chat-input textarea,.ad-support-form textarea) {
  background: var(--fx-control-bg);
  color: var(--text);
  border-color: var(--fx-control-border);
  min-width: 0;
  max-width: 100%;
}
html.fx-unified-theme[data-theme] :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]):not(.native-file-input) {min-height:44px}
html.fx-unified-theme[data-theme] :is(input,textarea)::placeholder {color:#91a7b7;opacity:1}
html.fx-unified-theme[data-theme] :is(input,select,textarea):focus {border-color:var(--fx-focus)}
html.fx-unified-theme[data-theme] :is(input,select,textarea):disabled {color:var(--muted);opacity:.7}
html.fx-unified-theme[data-theme] input:autofill {box-shadow:inset 0 0 0 1000px var(--fx-control-bg);color:var(--text)}
html.fx-unified-theme[data-theme] input:-webkit-autofill {-webkit-box-shadow:inset 0 0 0 1000px var(--fx-control-bg);-webkit-text-fill-color:var(--text);caret-color:var(--text)}
html.fx-unified-theme[data-theme] :is(.top-search,.search-field,.ad-search) {background:var(--fx-control-bg);color:var(--text);border-color:var(--fx-control-border)}
html.fx-unified-theme[data-theme] :is(.top-search,.search-field,.ad-search) input {background:transparent}
html.fx-unified-theme[data-theme] :is(label,.ad-form label,.ad-facts dd,.definition dd,.empty strong) {color:var(--text)}
html.fx-unified-theme[data-theme] :is(.meta,.footnote,.help,.ad-policy,.ad-consent small,.ad-setting-row small,.ad-history-row small,.ad-security-strip span) {color:var(--muted);line-height:1.6}
html.fx-unified-theme[data-theme] input[type=file]::file-selector-button {background:var(--surface-soft);color:var(--text);border:1px solid var(--fx-control-border);border-radius:6px;min-height:44px;padding:8px 12px}
html.fx-unified-theme[data-theme] input.native-file-input[type=file],
html.fx-unified-theme[data-theme] .ad-conversation input[type=file] {border-color:var(--fx-control-border)!important}
html.fx-unified-theme[data-theme] :is(.ad-auth-card,.ad-card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.design-inset) :is(form,fieldset,.form-grid,.stack,.actions,.form-actions) {min-width:0}
html.fx-unified-theme[data-theme] :is(.form-actions,.ad-sticky-actions,.ad-panel-head .actions) {flex-wrap:wrap;gap:10px}

/* Status is still server-owned; colors never replace the status text. */
html.fx-unified-theme[data-theme] :is(.badge,.fx-pair-badge,.asset-code,.currency-icon,.currency-token) {background:var(--surface-soft);color:var(--muted);border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(.badge.teal,.banner,.mobile-trading-status,.fx-pair-badge[data-status=live]) {background:var(--accent-soft);color:#8ae6bd;border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] :is(.badge.gold,.banner.gold,:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold,.fx-pair-badge[data-status=stale],.fx-pair-badge[data-status=delayed]) {background:var(--warning-soft);color:var(--gold);border-color:var(--warning-line)}
html.fx-unified-theme[data-theme] :is(.badge.red,.inline-error,:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).red,.fx-withdrawal-warning) {background:var(--danger-soft);color:var(--danger);border-color:var(--danger-line)}
html.fx-unified-theme[data-theme] :is(:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice),.pa-notice,.ad-handoff,.payout-receipt-panel,.wallet-ownership-note) {background:var(--info-soft);color:var(--info-text);border-color:#345971}
html.fx-unified-theme[data-theme] :is(.positive,.teal) {color:var(--chart-up)}
html.fx-unified-theme[data-theme] .negative {color:var(--chart-down)}
html.fx-unified-theme[data-theme] :is(.pill-number,.unread-count,.account-progress li.current>span,.account-progress li.done>span,.ad-progress li.done>span) {color:#06382c;background:var(--accent);border-color:var(--accent)}
html.fx-unified-theme[data-theme] .ad-timeline li:before {box-shadow:0 0 0 5px var(--panel)}

/* Tables retain their existing desktop/tablet/mobile composition. */
html.fx-unified-theme[data-theme] :is(table,:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table)) {color:var(--text)}
html.fx-unified-theme[data-theme] :is(th,:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th) {background:var(--surface-soft);color:var(--muted);border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(td,:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td) {border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr,.responsive tr,.design-table tr) {border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td,.responsive td,.design-table td,.ad-facts dd,.design-value,.metric-value,.ad-balance-grid b) {min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html.fx-unified-theme[data-theme] :is(:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) .btn,td .btn,.file-picker>.btn) {min-height:44px}
html.fx-unified-theme[data-theme] :is(.ad-panel-head,.card-head,.ad-setting-row) {gap:12px}
html.fx-unified-theme[data-theme] :is(.ad-panel-head,.ad-setting-row)>div {min-width:0}

/* Account and password controls: no fixed row height can clip a translated label. */
html.fx-unified-theme[data-theme] .ad-account .ad-setting-row {align-items:flex-start}
html.fx-unified-theme[data-theme] .ad-account .ad-setting-row .btn {min-height:44px;flex-shrink:0}
html.fx-unified-theme[data-theme] .admin-language-switch {background:var(--surface-soft);border-color:var(--line)}
html.fx-unified-theme[data-theme] .admin-language-switch button {color:var(--muted);font-size:13px}
html.fx-unified-theme[data-theme] .admin-language-switch button[aria-pressed=true] {background:var(--fx-primary-bg);color:#fff}
html.fx-unified-theme[data-theme] .ad-auth-card {border-color:#345064}
html.fx-unified-theme[data-theme] .ad-auth-recovery {flex-wrap:wrap;gap:8px 12px}
html.fx-unified-theme[data-theme] .ad-country-list button {color:var(--text);border-color:var(--line)}
html.fx-unified-theme[data-theme] .ad-country-list button:hover {background:var(--surface-hover)}
html.fx-unified-theme[data-theme] .ad-document-body {background:var(--surface-soft);border-color:var(--line)}

/* Shared native dialog, including withdrawal password/OTP/review dialogs. */
html.fx-unified-theme[data-theme] dialog#modal {
  color: var(--text);
  background: #10212d;
  border-color: #446174;
  border-radius: 16px;
  width: calc(100% - 24px);
  max-width: min(1080px,calc(100vw - 24px));
  max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px;
  scrollbar-color: #4b6c7b #10212d;
}
html.fx-unified-theme[data-theme] dialog#modal::backdrop {background:#020811c9;backdrop-filter:blur(4px)}
html.fx-unified-theme[data-theme] #modal-content {min-width:0;max-width:100%;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] #modal-content .modal-heading {gap:12px;border-color:var(--line)}
html.fx-unified-theme[data-theme] #modal-content .modal-heading h2 {min-width:0;line-height:1.35;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] #modal-content .modal-heading .icon-button {flex:0 0 44px;width:44px;min-height:44px}
html.fx-unified-theme[data-theme] #modal-content :is(input,select,textarea) {background:var(--fx-control-bg);color:var(--text);border-color:var(--fx-control-border)}
html.fx-unified-theme[data-theme] #modal-content .btn {min-height:44px;background:#193342;color:var(--text);border-color:#42677d}
html.fx-unified-theme[data-theme] #modal-content .btn.primary {background:var(--fx-primary-bg);color:#fff;border-color:#55bc9e}
html.fx-unified-theme[data-theme] #modal-content .btn.primary:hover:not(:disabled) {background:var(--fx-primary-hover)}
html.fx-unified-theme[data-theme] #modal-content .btn.danger {background:var(--danger-soft);color:var(--danger);border-color:var(--danger-line)}
html.fx-unified-theme[data-theme] #modal-content :is(.fx-withdrawal-security,.fx-withdrawal-flow .design-inset) {background:var(--surface-soft);border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(.fx-withdrawal-security,.fx-withdrawal-flow) {color:var(--text)}
html.fx-unified-theme[data-theme] .fx-withdrawal-security {background:var(--surface-soft);border-color:var(--line)}
html.fx-unified-theme[data-theme] .fx-withdrawal-destination dt {color:var(--muted)}
html.fx-unified-theme[data-theme] :is(.fx-withdrawal-warning,.fx-withdrawal-note.warning) {background:var(--warning-soft);color:var(--gold);border-color:var(--warning-line)}
html.fx-unified-theme[data-theme] .fx-withdrawal-flow :is(p,label,.btn,.text-button) {font-size:14px}
html.fx-unified-theme[data-theme] .fx-withdrawal-flow .footnote {font-size:12px}
html.fx-unified-theme[data-theme] #toast {color:var(--text);background:#153b35;border-color:#497c6c;max-width:calc(100vw - 24px);overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] #toast.error {background:var(--danger-soft);border-color:var(--danger-line)}

/* Public FX controls and state colors also use the same palette. */
html.fx-unified-theme[data-theme] #page-content .fx-pair-explorer {background:var(--panel);border-color:var(--line)}
html.fx-unified-theme[data-theme] #page-content #fx-pair-explorer button:hover:not(:disabled) {background:var(--surface-hover);border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] #page-content .fx-pair-badge {background:var(--surface-soft);color:var(--muted)}
html.fx-unified-theme[data-theme] #page-content .fx-pair-badge[data-status=live] {background:var(--accent-soft);color:#8ae6bd}
html.fx-unified-theme[data-theme] #page-content .fx-pair-badge:is([data-status=stale],[data-status=delayed]) {background:var(--warning-soft);color:var(--gold)}
html.fx-unified-theme[data-theme] #page-content :is(.fx-public-refresh-warning,.fx-pair-notice) {background:var(--warning-soft);border-color:var(--warning-line);color:var(--gold)}
html.fx-unified-theme[data-theme] #page-content :is(.fx-pair-up,.heatmap-pair.heat-up,.cross-heatmap .heat-up) {background:#143c2d}
html.fx-unified-theme[data-theme] #page-content :is(.fx-pair-down,.heatmap-pair.heat-down,.cross-heatmap .heat-down) {background:#3b202b}
html.fx-unified-theme[data-theme] #page-content :is(.fx-pair-up .fx-pair-value,.fx-pair-row .positive) {color:var(--chart-up)}
html.fx-unified-theme[data-theme] #page-content :is(.fx-pair-down .fx-pair-value,.fx-pair-row .negative) {color:var(--chart-down)}
html.fx-unified-theme[data-theme] .fx-quote-up {--fx-tick-color:#60ddb8;--fx-tick-bg:#143c2d}
html.fx-unified-theme[data-theme] .fx-quote-down {--fx-tick-color:#ff8293;--fx-tick-bg:#3b202b}
html.fx-unified-theme[data-theme] .chart-tooltip {background:#10212d;color:var(--text);border-color:#446174;box-shadow:var(--theme-shadow)}
html.fx-unified-theme[data-theme] .chart-cursor circle {stroke:var(--panel)}

/* Member support is the same existing panel; only its presentation is changed. */
html.fx-unified-theme[data-theme] #fx-support-widget,
html.fx-unified-theme[data-theme] #fx-support-panel {
  --bg:#050a10;--panel:#0b151f;--panel2:#111f2a;--surface-soft:#10212b;
  --text:#e9f2f8;--muted:#a7b9c7;--line:#2b3b49;--accent:#55d9ba;
  --danger:#ff8293;--accent-soft:#143d32;
  color:var(--text);
}
html.fx-unified-theme[data-theme] #fx-support-panel {background:#0b151f;border-color:#345064;box-shadow:0 14px 46px #0007}
html.fx-unified-theme[data-theme] :is(.hc-support,.fx-chat-welcome p,.fx-chat-loading,.hc-chat [data-hc-status]) {color:var(--muted)}
html.fx-unified-theme[data-theme] :is(.hc-category,.hc-question,.hc-ticket,.hc-answer,.fx-chat-tabs button) {color:var(--text);background:var(--surface-soft);border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(.hc-category,.hc-question,.hc-ticket):hover {background:var(--surface-hover);border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] :is(.hc-category.active,.hc-question.active,.hc-ticket.active,.fx-chat-tabs button[aria-pressed=true]) {background:var(--accent-soft);color:var(--accent);border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] :is(.hc-answer small,.hc-ticket span,.hc-ticket small,.fx-chat-footer) {color:var(--muted)}
html.fx-unified-theme[data-theme] :is(.hc-guidance,.fx-chat-tabs,.fx-support-panel #hc-message-form) {border-color:var(--line)}
html.fx-unified-theme[data-theme] .fx-chat-heading {background:#155e55;border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] .fx-chat-footer {background:#0c1c26;border-color:var(--line)}
html.fx-unified-theme[data-theme] .fx-chat-intro-icon {background:var(--accent-soft);color:var(--accent)}
html.fx-unified-theme[data-theme] .fx-chat-notice {background:var(--warning-soft);color:var(--gold)}
html.fx-unified-theme[data-theme] .fx-chat-error {background:var(--danger-soft);color:var(--danger)}
html.fx-unified-theme[data-theme] :is(.hc-chat [data-hc-error],#hc-handoff-form [data-hc-error]) {color:var(--danger)}
html.fx-unified-theme[data-theme] :is(.message,.ad-chat .message,.ad-conversation .message) {background:#153040;color:var(--text);border-color:var(--line)}
html.fx-unified-theme[data-theme] :is(.message.own,.ad-chat .message.mine,.ad-conversation .message.own) {background:var(--accent-soft);color:#b8f4df;border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] .fx-chat-window-actions button {min-width:44px;width:44px;height:44px;min-height:44px}
html.fx-unified-theme[data-theme] .fx-chat-tabs button {min-height:44px;font-size:14px}
html.fx-unified-theme[data-theme] .fx-support-panel .hc-attachment .btn {min-height:44px;font-size:12px}
html.fx-unified-theme[data-theme] .fx-support-panel :is([data-hc-error],[data-hc-status],.footnote) {font-size:12px;line-height:1.5}
html.fx-unified-theme[data-theme] .hc-staff-popup {background:#10212d;color:var(--text);border-color:#446174;box-shadow:0 14px 46px #0007}
html.fx-unified-theme[data-theme] .hc-guide-error {background:var(--danger-soft);color:var(--danger);border-color:var(--danger-line)}
html.fx-unified-theme[data-theme] .hc-guide-list article {border-color:var(--line)}
html.fx-unified-theme[data-theme] .hc-send-status {color:var(--muted)}
html.fx-unified-theme[data-theme] .ad-support-form[aria-busy=true] .hc-send-status {color:var(--accent)}
html.fx-unified-theme[data-theme] .hc-staff-attachment .btn {min-height:44px}

/* Funding card surface follows the theme; the QR image and white quiet zone do not. */
html.fx-unified-theme[data-theme] .funding-qr-card {background:var(--panel);color:var(--text);border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-brand strong {color:var(--text)}
html.fx-unified-theme[data-theme] .funding-qr-card :is(.funding-qr-brand span,.funding-qr-address-label,.funding-qr-context-note,.funding-qr-empty) {color:var(--muted)}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-network {border-color:var(--line);color:var(--accent)}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-network>span {background:var(--accent-soft);color:var(--accent);border-color:var(--accent-line)}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-address {background:var(--surface-soft);color:var(--text);border-color:var(--line)}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-network-note {color:var(--accent)}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-copy .btn {background:var(--surface-soft);color:var(--accent);border-color:var(--accent-line);min-height:44px}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-copy .btn:hover {background:var(--surface-hover)}
html.fx-unified-theme[data-theme] .funding-qr-card .funding-qr-copy .btn:focus-visible {outline:3px solid var(--fx-focus);outline-offset:3px}

@media(max-width:767px) {
  html.fx-unified-theme[data-theme] :is(.ad-auth-card,.ad-auth-layout.register .ad-auth-card,.ad-card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.ad-document-grid>.card) {padding:16px;border-radius:var(--fx-radius)}
  html.fx-unified-theme[data-theme] :is(.ad-auth-card,.ad-account,.admin-design,.ad-onboarding,.design-withdraw-form) :is(p,label,.btn,.text-button) {font-size:14px}
  html.fx-unified-theme[data-theme] :is(.ad-auth-card,.ad-account,.admin-design,.ad-onboarding) :is(small,.meta,.footnote,.ad-policy,.ad-consent small,.ad-security-strip span,.ad-setting-row small,.ad-history-row small) {font-size:12px;line-height:1.55}
  html.fx-unified-theme[data-theme] :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]) {font-size:16px}
  html.fx-unified-theme[data-theme] :is(.ad-account-overview>.ad-tabs,.ad-account>.ad-tabs) {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html.fx-unified-theme[data-theme] :is(.ad-account-overview>.ad-tabs,.ad-account>.ad-tabs)>button {font-size:14px;min-height:44px;padding:8px}
  html.fx-unified-theme[data-theme] :is(.ad-account-overview>.ad-tabs,.ad-account>.ad-tabs)>button:last-child {font-size:14px;min-height:44px;text-align:center}
  html.fx-unified-theme[data-theme] .ad-setting-row {gap:12px;flex-wrap:wrap;padding:16px 0}
  html.fx-unified-theme[data-theme] .ad-setting-row>div {flex:1 1 180px}
  html.fx-unified-theme[data-theme] .ad-setting-row>.btn {max-width:100%;min-height:44px}
  html.fx-unified-theme[data-theme] :is(:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td,:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:before,.ad-metric small,.ad-metric em,.ad-provider-card small,.ad-record .badge,:is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) .eyebrow) {font-size:12px}
  html.fx-unified-theme[data-theme] :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr {background:var(--surface-soft)}
  html.fx-unified-theme[data-theme] :is(.ad-metric,.ad-provider-card,.ad-balance-grid>div) {min-width:0;height:auto}
  html.fx-unified-theme[data-theme] :is(.ad-metric strong,.ad-balance-grid b,.ad-health-value) {overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] :is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) {flex-wrap:wrap}
  html.fx-unified-theme[data-theme] .ad-header-tools {max-width:100%;flex-direction:row;align-items:center;justify-content:flex-start}
  html.fx-unified-theme[data-theme] .ad-header-tools>.badge {font-size:12px}
  html.fx-unified-theme[data-theme] .ad-header-tools .btn {font-size:14px;min-height:44px}
  html.fx-unified-theme[data-theme] :is(.ad-mobile-nav button,.mobile-nav button) {min-height:44px;line-height:1.4}
  html.fx-unified-theme[data-theme] dialog#modal {width:calc(100% - 20px);max-width:calc(100vw - 20px);padding:16px;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
  html.fx-unified-theme[data-theme] #modal-content :is(p,label,.btn,.text-button) {font-size:14px;line-height:1.55}
  html.fx-unified-theme[data-theme] #modal-content :is(.meta,.footnote,small) {font-size:12px}
  html.fx-unified-theme[data-theme] #modal-content .form-actions {gap:8px}
  html.fx-unified-theme[data-theme] #modal-content .form-actions>.btn {flex:1 1 120px}
  html.fx-unified-theme[data-theme] #modal-content .modal-heading h2 {font-size:20px}
  html.fx-unified-theme[data-theme] :is(.ad-security-strip,.ad-auth-footer) {gap:12px}
  html.fx-unified-theme[data-theme] .ad-auth-header {flex-wrap:wrap;gap:12px;padding:12px 0}
  html.fx-unified-theme[data-theme] .ad-auth-header .brand {min-width:0;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] .ad-auth-header nav {flex-wrap:wrap}
  html.fx-unified-theme[data-theme] .ad-auth-header nav .btn {font-size:12px;min-height:44px}
  html.fx-unified-theme[data-theme] .admin-language-switch button {min-height:44px}
  html.fx-unified-theme[data-theme] #fx-support-panel .hc-chat .chat-input button {min-height:44px}
  html.fx-unified-theme[data-theme] #fx-support-panel .hc-chat textarea {font-size:16px}
  html.fx-unified-theme[data-theme] .fx-chat-heading {padding:12px;gap:8px}
  html.fx-unified-theme[data-theme] .fx-chat-heading>div:first-child {min-width:0}
  html.fx-unified-theme[data-theme] #toast {right:12px;bottom:calc(86px + env(safe-area-inset-bottom));font-size:14px}
}
@media(max-width:430px) {
  html.fx-unified-theme[data-theme] .ad-auth {padding-inline:12px}
  html.fx-unified-theme[data-theme] :is(.ad-auth-card,.ad-auth-layout.register .ad-auth-card) {padding:16px 12px}
  html.fx-unified-theme[data-theme] :is(.ad-facts,.definition) {column-gap:12px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
  html.fx-unified-theme[data-theme] .ad-menu-list {grid-template-columns:repeat(2,minmax(0,1fr))}
  html.fx-unified-theme[data-theme] .ad-menu-list .btn {font-size:13px;padding:10px 8px}
  html.fx-unified-theme[data-theme] .fx-withdrawal-destination {grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
}
@media(prefers-reduced-motion:reduce) {
  html.fx-unified-theme[data-theme] :is(.btn,.text-button,.icon-button) {transition:none}
}

/* Source: legal-public.css */
/* Public approved documents only. Shared ATAFX palette; no application scripts. */
.fx-legal-page * { box-sizing: border-box; }
.fx-legal-page { margin: 0; min-width: 0; font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
.fx-legal-page a, .fx-legal-links a { color: var(--accent, #55d9ba); text-underline-offset: .2em; }
.fx-legal-page a:focus-visible, .fx-legal-links a:focus-visible { outline: 3px solid var(--fx-focus, #7debd0); outline-offset: 3px; border-radius: 4px; }
.fx-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.fx-legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; }
.fx-workspace-legal { position: static; margin-top: 12px; padding: 12px 16px; }
.legal-header, .legal-document, .legal-footer { width: min(900px, calc(100% - 32px)); margin-inline: auto; }
.legal-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 24px; }
.legal-brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; min-height: 44px; min-width: 0; }
.legal-brand img { width: 40px; height: 40px; object-fit: contain; flex: 0 0 40px; }
.legal-brand span { overflow-wrap: anywhere; }
.legal-header nav { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-header nav a, .legal-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; }
.legal-header [aria-current="page"] { background: var(--accent-soft); border-radius: var(--fx-radius, 12px); text-decoration: none; }
.legal-document { padding: clamp(20px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--fx-radius, 12px); background: var(--panel); }
.fx-legal-page h1 { margin: 0 0 20px; font-size: clamp(1.5rem, 5vw, 2.25rem); line-height: 1.25; overflow-wrap: anywhere; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 24px; color: var(--muted); font-size: .875rem; }
.legal-meta div { min-width: 0; max-width: 100%; }
.legal-meta dt { font-weight: 600; }
.legal-meta dd { margin: 0; overflow-wrap: anywhere; }
.legal-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.legal-unavailable { margin: 0; color: var(--muted); }
.legal-footer { padding-block: 16px 32px; }
.legal-skip { position: absolute; top: -100px; left: 16px; padding: 12px; background: var(--panel); z-index: 1; }
.legal-skip:focus { top: 8px; }
@media (max-width: 480px) { .legal-header { padding-block: 16px; } .legal-brand { flex: 1 1 100%; } }
@media print { .fx-legal-page { color: #17202b !important; background: white !important; } .legal-header, .legal-footer, .legal-skip { display: none; } .legal-document { width: 100%; padding: 0; border: 0; color: #17202b; background: white; } .legal-meta { color: #46515c; } }

/* Company and contact details stay in the existing document-flow footers. */
html.fx-unified-theme[data-theme] .fx-site-footer,
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer.fx-site-footer {
  display: block; position: static; text-align: left; border-top: 1px solid var(--line, #1b3542);
}
html.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px 36px; width: 100%; padding: 16px 0 20px; text-align: left;
}
html.fx-unified-theme[data-theme] .fx-company-footer section { min-width: 0; }
html.fx-unified-theme[data-theme] .fx-company-footer h2 {
  margin: 0 0 12px; color: var(--text, #f1f6f8); font-size: 13px; font-weight: 600; line-height: 1.5;
}
html.fx-unified-theme[data-theme] .fx-company-footer p {
  margin: 4px 0; color: var(--muted, #a4c1d2); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere;
}
html.fx-unified-theme[data-theme] .fx-company-footer .fx-footer-company-name,
html.fx-unified-theme[data-theme] .fx-company-footer .fx-footer-contact-name { color: var(--text, #f1f6f8); font-weight: 600; }
html.fx-unified-theme[data-theme] .fx-company-footer .fx-footer-company-name { font-size: 16px; }
html.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer a {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 4px 0;
  color: var(--accent, #42e7cf); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere;
}
html.fx-unified-theme[data-theme] .fx-site-footer .fx-footer-links {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid var(--line, #1b3542); padding-top: 8px;
}
@media print {
  html.fx-unified-theme[data-theme] .fx-legal-page .legal-footer.fx-site-footer { display: none; }
}
@media (max-width: 767px) {
  html.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  html.fx-unified-theme[data-theme] .fx-site-footer .fx-footer-links { align-items: flex-start; justify-content: flex-start; }
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer.fx-site-footer { padding-right: 52px; }
}

/* User-requested footer order: legal links, then complete company/support details. */
html.fx-unified-theme[data-theme] .fx-site-footer .fx-footer-links {
  border-top: 0;
  padding: 4px 0 14px;
}
html.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer {
  margin: 0;
  padding: 24px 0 18px;
  border-top: 1px solid var(--line, #1b3542);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px 36px;
}
html.fx-unified-theme[data-theme] .fx-site-footer .fx-footer-company-name {
  font-size: 18px;
  letter-spacing: -.02em;
}
html.fx-unified-theme[data-theme] .fx-site-footer .fx-footer-company h2,
html.fx-unified-theme[data-theme] .fx-site-footer .fx-footer-support h2 {
  color: var(--muted, #a4c1d2);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  html.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 20px;
    gap: 20px;
  }
}

/* Source: design-v2-common.css */
/* Approved design-v2 shell and shared visual tokens. Presentation only.
   Dynamic company assets, routes, validation and status ownership are unchanged. */
html.fx-unified-theme[data-theme] {
  --bg:#06171f;--panel:#071b23;--panel2:#0b1e27;--panel-2:#0b1e27;
  --line:#1b3542;--panel-edge:#1b3542;--text:#f1f6f8;--muted:#a4c1d2;
  --accent:#42e7cf;--teal:#42e7cf;--danger:#ff6458;--gold:#f6c957;
  --surface-soft:#0a2630;--surface-hover:#10343d;--accent-soft:#073c3f;
  --accent-line:#147c77;--chart-up:#42e7cf;--chart-down:#ff6458;
  --chart-grid:#1d3d47;--chart-text:#a4c1d2;--chart-area:rgba(66,231,207,.13);
  --fx-primary-bg:#007a73;--fx-primary-hover:#00978c;--fx-control-bg:#061c26;
  --fx-control-border:#345360;--fx-focus:#70f2df;--radius:8px;--fx-radius:8px;
  --theme-shadow:0 3px 18px #0002;
  font-family:'Segoe UI',Arial,sans-serif;font-size:14px;
}
html.fx-unified-theme[data-theme] body {background:radial-gradient(ellipse at 70% 0,#0a2630 0,transparent 50%),#06171f;color:var(--text)}
html.fx-unified-theme[data-theme] :is(button,input,select,textarea) {font-family:inherit}
html.fx-unified-theme[data-theme] :is(.main,.ad-auth) {background:transparent}
html.fx-unified-theme[data-theme] :is(.card,.metric,.summary-metric,.ad-card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.ad-metric,.auth-card) {border:1px solid var(--line);border-radius:8px;background:linear-gradient(125deg,#09232b,#061a23);box-shadow:none}
html.fx-unified-theme[data-theme] :is(.card-head,.ad-panel-head) {gap:10px;align-items:center}
html.fx-unified-theme[data-theme] :is(h1,h2,h3) {letter-spacing:-.015em;color:var(--text)}
html.fx-unified-theme[data-theme] .card h2 {font-size:17px;line-height:1.35;font-weight:600}
html.fx-unified-theme[data-theme] :is(.meta,.footnote,small) {color:var(--muted)}
html.fx-unified-theme[data-theme] :is(.metric-value,.summary-metric strong,.mono,.mobile-rate-value,.fx-rate-price,.design-value) {font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1;letter-spacing:-.02em}
html.fx-unified-theme[data-theme] :is(.btn,.text-button) {font-size:14px;min-height:44px;line-height:1.35;border-radius:5px}
html.fx-unified-theme[data-theme] .btn.primary {background:linear-gradient(125deg,#008c80,#006b68);border-color:#0bb9a8;color:#f6ffff}
html.fx-unified-theme[data-theme] .btn.primary:hover:not(:disabled) {background:linear-gradient(125deg,#00a998,#00837d);border-color:#42e7cf}
html.fx-unified-theme[data-theme] .btn.primary:active:not(:disabled) {background:#005f5b}
html.fx-unified-theme[data-theme] :is(.text-button,a) {color:#5dd7f4}
html.fx-unified-theme[data-theme] :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid #70f2df;outline-offset:3px}
html.fx-unified-theme[data-theme] :is(input,select,textarea) {border-radius:5px}
html.fx-unified-theme[data-theme] :is(.positive,.teal) {color:#42e7cf}
html.fx-unified-theme[data-theme] .negative {color:#ff6458}
html.fx-unified-theme[data-theme] :is(.badge,.fx-pair-badge) {border-radius:20px;font-size:12px;line-height:1.4;padding:3px 8px}
html.fx-unified-theme[data-theme] :is(th,td) {border-color:#1b3542}
html.fx-unified-theme[data-theme] th {background:#08212b;color:#a4c1d2;font-size:12px;text-transform:none;letter-spacing:0;font-weight:500}
html.fx-unified-theme[data-theme] .empty {min-height:0;padding:24px 16px;line-height:1.55}
html.fx-unified-theme[data-theme] .loading {min-height:90px}
html.fx-unified-theme[data-theme] dialog#modal {border-color:#2b5662;border-radius:10px;background:linear-gradient(145deg,#0b2630,#061a23)}
html.fx-unified-theme[data-theme] dialog#modal::backdrop {background:#000a;backdrop-filter:blur(4px)}
html.fx-unified-theme[data-theme] .fx-workspace-legal {padding:14px 0;gap:18px;font-size:12px}
/* Preserve every existing navigation item and current-route accessibility. */
@media(min-width:1280px){
 html.fx-unified-theme[data-theme] .sidebar {width:218px;padding:0 10px 18px 0;border-width:0 1px 0 0;background:linear-gradient(100deg,#06171f,#04151d)}
 html.fx-unified-theme[data-theme] .sidebar .brand {min-height:92px;padding:18px 20px 14px 24px;gap:9px;border-bottom:1px solid var(--line);font-size:19px;line-height:1.2}
 html.fx-unified-theme[data-theme] .sidebar .brand>div {min-width:0;overflow-wrap:anywhere}
 html.fx-unified-theme[data-theme] .sidebar .brand img {width:29px;height:29px}
 html.fx-unified-theme[data-theme] .sidebar .brand small {font-size:10px;letter-spacing:.1em}
 html.fx-unified-theme[data-theme] .sidebar .nav-caption {display:none}
 html.fx-unified-theme[data-theme] .sidebar nav {gap:3px;padding-top:12px}
 html.fx-unified-theme[data-theme] .sidebar .nav-item {min-height:53px;padding:12px 22px;gap:18px;border-radius:0 5px 5px 0;border:0;color:#c0d5df;font-size:14px}
 html.fx-unified-theme[data-theme] .sidebar .nav-item svg {width:22px;height:22px}
 html.fx-unified-theme[data-theme] .sidebar .nav-item.active {background:linear-gradient(90deg,#0a4244,#0b3038);color:#f5fffd}
 html.fx-unified-theme[data-theme] .sidebar .nav-item.active svg {color:#42e7cf}
 html.fx-unified-theme[data-theme] .sidebar .nav-item.active:before {left:0;top:0;bottom:0;width:4px;background:#42e7cf;border-radius:0}
 html.fx-unified-theme[data-theme] .sidebar-foot {padding:14px 12px;font-size:11px}
 html.fx-unified-theme[data-theme] .main {margin-left:218px;padding:0 14px 22px 17px;max-width:2200px}
 html.fx-unified-theme[data-theme] .topbar {min-height:56px;height:auto;margin:0 -14px 0 -17px;padding:6px 22px 6px 25px;gap:18px;border-bottom:1px solid var(--line)}
 html.fx-unified-theme[data-theme] .topbar .breadcrumb h1 {font-size:22px;line-height:1.3;margin:0;font-weight:600}
 html.fx-unified-theme[data-theme] .topbar .top-search {margin-left:auto;max-width:340px;min-height:36px;border-radius:5px;font-size:12px}
 html.fx-unified-theme[data-theme] .topbar .top-actions {gap:14px}
 html.fx-unified-theme[data-theme] .topbar .btn {min-height:36px;padding:7px 16px;font-size:13px}
 html.fx-unified-theme[data-theme] .topbar .avatar {width:34px;height:34px;background:#155969;font-size:14px}
 html.fx-unified-theme[data-theme] .topbar .account-name {display:none}
 html.fx-unified-theme[data-theme] #page-content {padding-top:12px}
}
@media(min-width:768px) and (max-width:1279px){
 html.fx-unified-theme[data-theme] .sidebar {width:76px;padding:14px 8px;background:#06171f}
 html.fx-unified-theme[data-theme] .sidebar .brand {padding:6px 12px 20px}
 html.fx-unified-theme[data-theme] .main {margin-left:76px;padding:0 16px 26px}
 html.fx-unified-theme[data-theme] .topbar {min-height:64px;height:auto;gap:10px;padding:8px 0}
}
@media(max-width:767px){
 html.fx-unified-theme[data-theme] body {font-size:14px}
 html.fx-unified-theme[data-theme] .sidebar {display:none}
 html.fx-unified-theme[data-theme] .main {margin:0;padding:0 22px calc(102px + env(safe-area-inset-bottom));max-width:none;min-width:0}
 html.fx-unified-theme[data-theme] .topbar {display:flex;flex-wrap:wrap;align-items:center;min-height:64px;height:auto;padding:10px 0;gap:8px;margin:0;border-bottom:0}
 html.fx-unified-theme[data-theme] .topbar .mobile-brand {display:block;flex:1 1 120px;max-width:none;font-size:20px;line-height:1.2;font-weight:650;letter-spacing:.02em;min-width:0;overflow-wrap:anywhere}
 html.fx-unified-theme[data-theme] .topbar .breadcrumb:empty {display:none}
 html.fx-unified-theme[data-theme] .topbar .breadcrumb {display:none}
 html.fx-unified-theme[data-theme] .topbar .top-search {display:flex;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:10px;border:0;background:transparent}
 html.fx-unified-theme[data-theme] .topbar .top-search :is(span,kbd) {display:none}
 html.fx-unified-theme[data-theme] .topbar .top-search svg {width:23px;height:23px}
 html.fx-unified-theme[data-theme] .topbar .top-actions {display:flex;align-items:center;gap:8px;flex:0 0 auto;max-width:100%}
 html.fx-unified-theme[data-theme] .topbar .public-auth-actions {flex:1 1 100%;justify-content:flex-end}
 html.fx-unified-theme[data-theme] .topbar .public-auth-actions .btn {min-height:44px;padding:8px 16px;font-size:13px}
 html.fx-unified-theme[data-theme] .topbar .clock {display:none}
 html.fx-unified-theme[data-theme] .topbar .connection-status {display:none}
 html.fx-unified-theme[data-theme] .topbar .account-name {display:none}
 html.fx-unified-theme[data-theme] .topbar .avatar {width:36px;height:36px;font-size:14px;background:#0c4146}
 html.fx-unified-theme[data-theme] #page-content {padding:0;min-width:0}
 html.fx-unified-theme[data-theme] :is(.card,.ad-card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel)) {padding:14px;border-radius:8px}
 html.fx-unified-theme[data-theme] :is(.card h2,.ad-card h2,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel) h2) {font-size:16px;line-height:1.4}
 html.fx-unified-theme[data-theme] :is(.meta,.footnote,small) {font-size:12px;line-height:1.5}
 html.fx-unified-theme[data-theme] :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=hidden]) {font-size:16px}
 html.fx-unified-theme[data-theme] .mobile-nav {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:74px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#061a22f8;border-top:1px solid #23505c;box-shadow:0 -3px 15px #0004;gap:0}
 html.fx-unified-theme[data-theme] .mobile-nav button {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:52px;padding:3px 0;color:#bfced7;font-size:12px;line-height:1.3;white-space:normal}
 html.fx-unified-theme[data-theme] .mobile-nav button svg {width:23px;height:23px;flex-shrink:0}
 html.fx-unified-theme[data-theme] .mobile-nav button.active {color:#42e7cf;background:transparent}
 html.fx-unified-theme[data-theme] #fx-support-launcher {width:48px;height:48px;right:10px;bottom:calc(88px + env(safe-area-inset-bottom));border:1px solid #258c8a;background:#073e45;box-shadow:0 4px 16px #0005}
 html.fx-unified-theme[data-theme] .fx-workspace-legal {padding:20px 52px 4px 0;flex-wrap:wrap;gap:12px}
 html.fx-unified-theme[data-theme] dialog#modal {width:calc(100% - 24px);max-width:calc(100% - 24px);padding:18px;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom));border-radius:10px}
}
@media(max-width:359px){
 html.fx-unified-theme[data-theme] .main {padding-left:16px;padding-right:16px}
 html.fx-unified-theme[data-theme] .mobile-nav button {font-size:11px}
 html.fx-unified-theme[data-theme] .mobile-nav button svg {width:22px;height:22px}
}

/* The launcher sits above navigation; all five destinations retain equal space. */
@media(min-width:1280px){
 html.fx-unified-theme[data-theme] #app #page-content:has(>.design-v2-dashboard){padding-top:0}
}
@media(max-width:767px){
 html.fx-unified-theme[data-theme] #app .main{padding-left:22px;padding-right:22px}
 html.fx-unified-theme[data-theme] #app .topbar .mobile-brand{font-size:20px;line-height:1.2;max-width:none}
 html.fx-unified-theme[data-theme] #app .topbar .mobile-brand .product-accent{color:var(--accent)}
 html.fx-unified-theme[data-theme] #app .mobile-nav[data-support-dock="true"]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:0}
 html.fx-unified-theme[data-theme] #app .mobile-nav button{min-height:52px;padding:3px 0;font-size:12px;line-height:1.3;gap:4px;border-radius:5px}
 /* The approved mobile active destination uses the accent, not a legacy green tile. */
 html.fx-unified-theme[data-theme] #app .mobile-nav button.active{background:transparent;color:var(--accent)}
 html.fx-unified-theme[data-theme] #fx-support-widget #fx-support-launcher{bottom:var(--fx-chat-bottom);right:10px;width:48px;height:48px}
}
@media(max-width:359px){
 html.fx-unified-theme[data-theme] #app .main{padding-left:16px;padding-right:16px}
}
/* Keep the optional-mail switch clear of the floating chat entry on mobile. */
@media(max-width:767px){
 html.fx-unified-theme #app #ad-account-notifications label.checkbox{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:12px 0;min-height:44px}
 html.fx-unified-theme #app #ad-account-notifications label.checkbox input[name=email_notifications]{position:relative;inset:auto;margin:0;align-self:center;width:42px;height:24px}
 html.fx-unified-theme #app #ad-account-notifications label.checkbox>span{min-width:0;overflow-wrap:anywhere}
}

/* Source: design-v2-dashboard.css */
/* Approved Dashboard v2 placement. Existing values, actions and chart mounts remain live. */
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard{
 display:grid;grid-template-columns:minmax(0,776fr) minmax(0,549fr);grid-template-rows:auto auto minmax(140px,auto) auto auto;gap:12px;position:relative;isolation:isolate;padding:0;margin:0;color:#f1f6f8;font-size:14px;line-height:1.45;
}
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>[data-key]{min-width:0;margin:0;position:relative;z-index:1;overflow:visible}
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard:not(.dv2-public)::before{content:'';grid-column:1;grid-row:2/5;z-index:0;pointer-events:none;border:1px solid #1b3542;border-radius:8px;background:linear-gradient(120deg,#0a2029,#061820)}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.card{padding:14px 16px;border:1px solid #1b3542;border-radius:8px;background:linear-gradient(120deg,#0a2029,#061820);box-shadow:0 1px 0 #bbf1ff07 inset}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(h2,h3,p){margin-top:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(h2,h3){font-size:17px;line-height:1.4;letter-spacing:0;font-weight:600;margin-bottom:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(strong,b){font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(small,.footnote,.meta){font-size:12px;line-height:1.45;color:#a4c1d2;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .card-head{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin:0 0 8px;padding:0;min-height:32px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .card-head p{font-size:12px;line-height:1.45;margin:3px 0 0;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(button,summary){touch-action:manipulation}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(.btn,.text-button,.icon-button,.period-switch button,summary){min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(button,summary):focus-visible{outline:2px solid #42e7cf;outline-offset:3px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .text-button{color:#5dd7f4;font-size:13px;padding:5px 0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .positive{color:#42e7cf}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .negative{color:#ff6458}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .currency-flag{border-radius:50%;width:24px;height:24px;flex:0 0 24px;overflow:hidden}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .badge{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
/* A single live balance bar. Available is not a principal + profit total. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-balance{grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:center;min-height:84px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance>div:not(.dv2-balance-actions),html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-available{min-width:0;display:grid;gap:2px;padding:0 20px 0 0;border:0;border-right:1px solid #1b3542;background:none;text-align:left;color:inherit}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance :is(span,.dv2-available>span){font-size:13px;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance strong{display:block;font-size:27px;line-height:1.25;white-space:normal;overflow:visible;overflow-wrap:anywhere;letter-spacing:-.02em}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-profit-balance strong{color:#42e7cf}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-available{min-height:44px;cursor:pointer}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance-actions .btn{min-width:112px;border-radius:5px;font-size:14px;min-height:44px;padding:10px 16px}
/* Shared left outer border: only the internal metric/performance divider appears. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-metrics{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,.85fr);gap:8px 16px;background:transparent;border:0;border-bottom:1px solid #1b3542;border-radius:0;box-shadow:none;align-items:center;padding:16px 22px 12px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics>div{min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics>div:not(:first-child){padding-left:16px;border-left:1px solid #1b3542}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics strong{display:block;font-size:27px;font-weight:600;line-height:1.3;letter-spacing:-.02em;white-space:normal;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-today strong{font-size:40px;line-height:1.2;margin-top:3px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics span{font-size:13px;color:#c2d5df}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-result-basis{grid-column:1/-1;font-size:12px;line-height:1.4;margin:0;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-performance{grid-column:1;grid-row:3/5;background:transparent;border:0;box-shadow:none;padding:4px 20px 14px;min-height:300px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .performance-total{margin:0 0 10px;display:flex;gap:3px 10px;flex-wrap:wrap;align-items:baseline;font-size:12px;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .performance-total>strong{font-size:20px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .performance-range{flex-basis:100%}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .large-chart{width:100%;min-width:0;min-height:230px;height:250px;margin:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .chart-empty{padding:22px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .chart-empty :is(strong,p){font-size:14px;line-height:1.45;margin:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .chart-data-details{font-size:12px;margin-top:8px;border-top:1px solid #1b3542}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .period-switch button{min-width:44px;padding:6px 10px;font-size:12px}
/* Current and recent use actual route state, never the sample route/phase. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-current{grid-column:2;grid-row:2/4}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-path{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:18px;line-height:1.4;margin:9px 0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-path>span{display:flex;gap:7px;align-items:center;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-path i{font-style:normal;color:#91b2c3}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-reason{font-size:13px;line-height:1.45;color:#a4c1d2;margin:0 0 10px;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .execution-phases{margin:14px 0;padding:0;display:flex;justify-content:space-around;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .execution-phases li{flex:1;min-width:0;font-size:12px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .execution-phases li>span{width:21px;height:21px;font-size:11px;background:#0a222d;border-color:#466779}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .execution-phases li.current>span{border-color:#42e7cf;color:#42e7cf;background:#123c3c;box-shadow:0 0 12px #42e7cf33}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-facts{display:flex;gap:6px 16px;flex-wrap:wrap;padding:10px 0;border-top:1px solid #1b3542;font-size:12px;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-facts>*{min-width:0;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-facts b{color:#f1f6f8}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-actions{display:flex;justify-content:space-between;gap:8px 14px;flex-wrap:wrap;border-top:1px solid #1b3542;padding-top:8px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-actions>.btn{font-size:13px;padding:6px 12px;border-radius:5px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-next{display:block;margin-top:7px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-recent{grid-column:2;grid-row:4;padding-top:8px;padding-bottom:8px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(70px,auto);gap:5px 12px;align-items:center;border-top:1px solid #1b3542;padding:6px 0;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route{min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route>strong{display:flex;gap:4px;align-items:center;flex-wrap:wrap;font-size:13px;font-weight:500;line-height:1.4}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route>strong>span{display:flex;gap:4px;align-items:center;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route i{font-style:normal;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route .currency-flag{width:18px;height:18px;flex-basis:18px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route time{display:block;font-size:12px;line-height:1.4;color:#a4c1d2;margin-top:3px;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-result{text-align:right;font-size:18px;line-height:1.3;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-status{display:grid;justify-items:end;gap:2px;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-status .text-button{font-size:12px;padding:3px;min-width:44px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent>.footnote{margin:6px 0 0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-empty{margin:10px 0;font-size:14px;color:#a4c1d2}
/* Public, indicative rate rows remain independently patched by quote metadata. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-market{grid-column:1;grid-row:5;padding:8px 14px 12px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row,html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head{grid-template-columns:minmax(118px,1.3fr) minmax(80px,1fr) minmax(62px,.7fr) minmax(70px,.8fr) minmax(55px,.7fr) 44px;gap:5px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head{font-size:12px;line-height:1.4;padding:8px 0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head>:nth-child(4){grid-column:5;grid-row:1}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head>:nth-child(5){grid-column:4;grid-row:1}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row{min-height:44px;padding:2px 0;row-gap:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row>:is(.fx-rate-pair,.fx-rate-price,.fx-rate-day,.fx-rate-trend,.fx-rate-status){grid-row:1}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-pair{grid-column:1;min-height:44px;padding:2px 0;gap:6px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-pair b{font-size:13px;white-space:nowrap}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-price{grid-column:2;font-size:14px;white-space:normal;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-price :is(b,.fx-quote-value){white-space:normal;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-day{grid-column:3;font-size:13px;white-space:normal;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-status{display:block;grid-column:4;font-size:12px;padding:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-status>small{display:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-trend{display:block;grid-column:5}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-trend svg{width:100%;height:28px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-actions{display:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more{display:block;grid-column:6;grid-row:1;padding:0;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more>summary{min-width:44px;min-height:44px;font-size:0;line-height:44px;text-align:center;list-style:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more>summary::before{content:'ⓘ';font-size:16px;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]{grid-column:1/-1;grid-row:2;font-size:12px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]>summary{font-size:12px;line-height:1.4;text-align:left;padding:10px 0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]>summary::before{content:'ⓘ ';font-size:16px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-dashboard-pagination{display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:12px;margin-top:6px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-dashboard-pagination>span{margin-right:auto}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-dashboard-pagination .btn{padding:5px 9px;font-size:12px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-chart-toggle{font-size:12px;gap:8px;margin-top:4px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-chart-toggle .btn{font-size:12px}
/* Existing decorative scene, with the original geographic selector available. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-globe{grid-column:2;grid-row:5;padding:0;align-self:start;overflow:hidden}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-dashboard-globe-slot{margin:0;min-width:0;display:block}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-dashboard-globe-slot>.fx-cinema-hero{border:0;border-radius:8px 8px 0 0;margin:0;min-height:300px;height:300px;box-shadow:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-copy{max-width:none;width:100%;padding:14px 16px;pointer-events:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-copy h2{font-size:17px;line-height:1.4;letter-spacing:0;margin:0 0 4px;color:#f1f6f8}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-description{display:block;font-size:12px;line-height:1.4;margin:0;color:#a4c1d2;max-width:75%}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(.fx-cinema-eyebrow,.fx-cinema-actions,.fx-cinema-mobile-title){display:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-desktop-title{display:block}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-shade{background:linear-gradient(180deg,#02121cb3,transparent 35%,#02121c55)}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-bottom{inset:auto 12px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px;width:auto;font-size:11px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-motion{min-height:44px;max-width:50%;font-size:12px;padding:6px 9px;line-height:1.4}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-interactive-map{border-top:1px solid #1b3542;padding:0 12px;min-width:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-interactive-map>summary{padding:10px 0;color:#5dd7f4;font-size:13px;cursor:pointer;min-height:44px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-interactive-map .geography-card{padding:0;border:0;background:transparent;box-shadow:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-interactive-map .card-head{display:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-interactive-map .workspace-globe{height:360px;min-height:280px;margin:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .route-ribbon{padding:10px 0;font-size:12px;gap:6px;flex-wrap:wrap}
/* Anonymous public layout never renders a synthetic member or private records. */
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.dv2-public{grid-template-rows:auto auto auto}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-public-access{grid-column:1/-1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:84px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-public-access p{font-size:14px;color:#a4c1d2;margin:5px 0 0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard.dv2-public>.dv2-market{grid-column:1;grid-row:2/4}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard.dv2-public>.dv2-performance{grid-column:2;grid-row:2;padding:14px 16px;background:linear-gradient(120deg,#0a2029,#061820);border:1px solid #1b3542;min-height:0}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard.dv2-public .dv2-performance .large-chart{height:auto;min-height:140px}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard.dv2-public>.dv2-globe{grid-column:2;grid-row:3}
@media(768px <= width < 1200px){
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-balance{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance-actions{grid-column:1/-1;justify-content:flex-end}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-today strong{font-size:32px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard>.dv2-metrics{gap:6px;padding:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics>div:not(:first-child){padding-left:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics strong{font-size:22px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(102px,1.2fr) minmax(0,1fr) 64px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head>:nth-child(n+4){display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-trend{display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row>.fx-rate-status{grid-column:1/3;grid-row:2;display:block}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more{grid-column:3;grid-row:2}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]{grid-column:1/-1;grid-row:3}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-row{grid-template-columns:minmax(0,1fr) minmax(0,.65fr)}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-status{grid-column:1/-1;display:flex;justify-content:space-between}
}
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard{display:flex;flex-direction:column;gap:8px;padding-top:0}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard:not(.dv2-public)::before{display:none}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>[data-key]{display:block;order:initial;grid-column:auto;grid-row:auto;width:100%;min-width:0;margin:0;max-height:none;border:1px solid #1b3542;border-radius:8px;background:linear-gradient(120deg,#0a2029,#061820);padding:12px 14px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(h2,h3){font-size:16px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .card-head{min-height:32px;gap:6px 8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .text-button{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .badge{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-balance[data-key]{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:center;min-height:108px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance>div:not(.dv2-balance-actions),html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-available{border:0;padding:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-available{grid-column:1;grid-row:1;gap:2px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-available>span{font-size:13px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-available strong{font-size:28px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance-actions{grid-column:2;grid-row:1;gap:6px;flex-wrap:nowrap;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance-actions .btn{min-width:44px;padding:8px 10px;font-size:13px;min-height:44px;flex:1}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-principal{grid-column:1;grid-row:2;display:flex!important;align-items:baseline;gap:4px;flex-wrap:wrap}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-profit-balance{grid-column:2;grid-row:2;display:flex!important;align-items:baseline;gap:4px;flex-wrap:wrap}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(.dv2-principal,.dv2-profit-balance)>span{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard :is(.dv2-principal,.dv2-profit-balance)>strong{font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-metrics[data-key]{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) minmax(0,.8fr);gap:8px;align-items:start}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics>div:not(:first-child){padding-left:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics :is(h2,span){font-size:12px;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics strong{font-size:23px;line-height:1.3}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-today strong{font-size:28px;line-height:1.25}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-result-basis{margin:0;font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-path{font-size:18px;gap:5px;margin:7px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-path .currency-flag{width:20px;height:20px;flex-basis:20px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-reason{font-size:14px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .execution-phases{margin:12px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-actions{align-items:center;gap:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-actions>.btn{font-size:13px;flex:1 1 125px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .conversion-actions>.text-button{flex:1 1 105px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-row{grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:5px 8px;padding:8px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route>strong{font-size:15px;gap:3px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-route>strong .currency-flag{display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-result{font-size:19px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-recent-status{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .large-chart{height:220px;min-height:220px;max-width:100%}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .card-head{gap:5px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .card-head p{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .period-switch button{min-height:44px;min-width:44px;padding:5px 7px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(52px,.65fr);gap:2px 5px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head>:nth-child(n+4){display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head{font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-pair{padding:0;gap:4px;min-height:44px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-pair .currency-flag{width:18px;height:18px;flex-basis:18px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-pair b{font-size:13px;line-height:1.4;white-space:normal}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-price{font-size:15px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-day{font-size:13px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-trend{display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-status{grid-column:1/3;grid-row:2;display:flex;gap:5px;align-items:center;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more{grid-column:3;grid-row:2;display:block}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more>summary{min-height:44px;line-height:44px;text-align:right}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]{grid-column:1/-1;grid-row:3}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]>summary{text-align:left}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-dashboard-pagination .btn{font-size:12px;padding:6px 8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-chart-toggle{align-items:stretch}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-chart-toggle>span{flex-basis:100%}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-globe[data-key]{padding:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-dashboard-globe-slot>.fx-cinema-hero{height:156px;min-height:156px;border-radius:8px 8px 0 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-copy{padding:14px;max-width:74%;width:74%;pointer-events:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-copy h2{font-size:16px;line-height:1.35;margin:0 0 4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-description{font-size:12px;max-width:100%}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-bottom{inset:auto 8px 8px;justify-content:flex-end}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-bottom>span{display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .fx-cinema-motion{font-size:12px;min-height:44px;max-width:none;padding:5px 8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-interactive-map .workspace-globe{height:340px;min-height:280px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard.dv2-public .dv2-public-access{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard.dv2-public .dv2-public-access .dv2-balance-actions{display:flex;width:100%;gap:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard.dv2-public .dv2-performance .large-chart{min-height:130px;height:auto}
}
@media(max-width:359px){
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-balance[data-key]{grid-template-columns:minmax(0,1fr);gap:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-available{grid-row:1;grid-column:1}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance-actions{grid-row:2;grid-column:1;justify-content:flex-start}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-principal{grid-column:1;grid-row:3}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-profit-balance{grid-column:1;grid-row:4}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-today strong{font-size:24px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics strong{font-size:21px}
}

/* Signed-out members keep the same personal slots, with a single access note. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-access-note{grid-column:1/-1;margin:0;color:#a4c1d2;font-size:12px;line-height:1.45}
@media(max-width:767px){html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-access-note{grid-row:3}}
@media(max-width:359px){html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-access-note{grid-row:5}}
/* Post-deployment visual correction: reference density without clipping values. */
@media(min-width:768px){
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard{grid-template-rows:auto minmax(104px,auto) minmax(149px,auto) minmax(150px,auto) auto}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-balance{min-height:84px;padding-top:8px;padding-bottom:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-metrics{padding:10px 20px 8px;gap:3px 16px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-today strong{font-size:36px;line-height:1.2}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics h2{font-size:16px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-result-basis{font-size:12px;line-height:1.3}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-performance{padding:3px 20px 10px;min-height:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .card-head{margin-bottom:4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .large-chart{height:210px;min-height:210px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .performance-total{margin-bottom:5px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current{padding-top:10px;padding-bottom:10px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .card-head{min-height:24px;margin-bottom:4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .conversion-reason{margin-bottom:5px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .execution-phases{margin:8px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .conversion-actions{padding-top:3px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .conversion-actions :is(.btn,.text-button){min-height:36px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-market{padding:8px 14px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .card-head{min-height:28px;margin-bottom:2px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .card-head>div{display:flex;gap:8px 12px;align-items:baseline;flex-wrap:wrap}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .card-head p{margin:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .card-head .text-button{min-height:28px;padding:3px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-rate-head{padding:3px 0;min-height:24px;font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-rate-row{min-height:32px;padding:0;row-gap:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-rate-pair{min-height:32px;padding:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-rate-more>summary{min-height:32px;line-height:32px;padding:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-rate-more[open]>summary{min-height:32px;line-height:1.4;padding:6px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-dashboard-pagination{padding:2px 0;margin:2px 0 0;min-height:30px;gap:5px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-dashboard-pagination .btn{min-height:28px;padding:3px 8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-market-data-info{margin-top:2px;padding-top:2px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-market-data-info>summary{min-height:26px;padding:3px 0}
}
/* Row buttons already open the original chart; no duplicate closed-chart prompt. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market #market-chart-slot:not(:has(.fx-chart-expanded)){display:none}
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key]>.dv2-metrics[data-key]{grid-template-columns:minmax(0,1.3fr) minmax(0,.85fr) minmax(70px,1.05fr);gap:6px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-metrics>div:not(:first-child){padding-left:6px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-public-workspace] .dv2-performance .large-chart{height:auto;min-height:120px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-public-workspace] .dv2-performance .chart-empty{padding:12px 4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row,
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-head{grid-template-columns:minmax(68px,1.05fr) minmax(0,1fr) minmax(50px,.65fr) 44px;gap:2px 4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row{min-height:44px;padding:4px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-pair{grid-column:1;grid-row:1/3;min-height:44px;gap:3px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-pair .currency-flag{width:16px;height:16px;flex-basis:16px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-price{grid-column:2;grid-row:1;font-size:14px;align-self:end}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-day{grid-column:3;grid-row:1;font-size:12px;align-self:end}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-status{grid-column:2/4;grid-row:2;align-self:start;justify-content:flex-end}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-status .badge{font-size:12px;line-height:1.3;padding:1px 4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more{grid-column:4;grid-row:1/3;align-self:center}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more>summary{text-align:center;min-width:44px;min-height:44px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]{grid-column:1/-1;grid-row:3}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-dashboard-pagination{margin-top:4px;padding:4px 0;font-size:12px;gap:4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-dashboard-pagination>span{flex-basis:100%}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-dashboard-pagination .btn{flex:1}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-market-data-info{margin-top:2px;padding-top:2px}
}

/* Preserve the full Deposit/Withdraw labels; available amounts may wrap instead. */
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-balance-actions .btn{flex:0 0 auto;min-width:82px;white-space:nowrap;overflow-wrap:normal;padding:8px 10px}
}
/* PC reference rows retain additional actual-data controls in compact disclosures. */
@media(min-width:1200px){
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard{grid-template-rows:auto minmax(104px,auto) minmax(147px,auto) minmax(189px,auto) auto}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .large-chart{height:185px;min-height:185px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .chart-data-details{padding-top:3px;margin-top:4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .chart-data-details>summary{min-height:28px;padding:3px 0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard[data-key] .dv2-market .fx-rate-more:not([open]){margin:0;padding:0}
}

/* Mobile-only cascade repair: legacy fixed row tracks and chart margins. */
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row{grid-template-rows:auto auto;min-height:48px;padding:2px 0;row-gap:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-day>b{min-width:0;padding:0 2px;line-height:1.4;text-align:right}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more>summary{display:flex;align-items:center;justify-content:center;min-height:44px;line-height:1.4;padding:0;margin:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-more[open]>summary{justify-content:flex-start;padding:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .card-head{display:flex;align-items:flex-start;gap:6px;margin:0 0 6px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .card-head>div:first-child{min-width:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .period-switch{width:100%;margin:0;padding:0;gap:0;border:0;flex-wrap:wrap}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .period-switch button{flex:1 0 44px;min-width:44px;min-height:44px;padding:5px 6px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .performance-total{min-height:0;margin:0 0 4px;gap:2px 8px;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .performance-range{margin:0;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .large-chart:has(>.chart-empty){height:auto;min-height:140px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .large-chart>.chart-empty{height:auto;min-height:140px;margin:0;padding:10px 4px;gap:7px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .chart-empty-mark{width:32px;height:32px;flex:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .chart-data-details{margin-top:4px;padding-top:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-performance .chart-data-details>summary{display:list-item;min-height:44px;line-height:1.4;padding:12px 0;font-size:12px}
}
/* Explicit direct-child tracks win over the shared desktop row-placement rule. */
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row>:is(.fx-rate-price,.fx-rate-day){grid-row:1;align-self:end}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row>.fx-rate-status{grid-row:2;align-self:start}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row>:is(.fx-rate-pair,.fx-rate-more){grid-row:1/3}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .fx-rate-row>.fx-rate-more[open]{grid-row:3}
}

/* Audit B2/B3/B5: focused summary and decorative composition only. */
/* Enlarged decorative canvas must not scroll its title when motion controls receive focus. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-hero{overflow:clip}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-mobile-current-details,
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-mobile-status{display:none}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-canvas{transform-origin:65% 50%;transform:translate(5%,47%) scale(1.7);filter:brightness(1.3) saturate(1.12)}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-fallback i{width:440px;height:440px;right:-30px;top:75px;opacity:1;filter:grayscale(.9) sepia(.65) hue-rotate(155deg) saturate(2.1) brightness(1.25);box-shadow:inset -45px -8px 56px #000a,0 0 2px 2px #8eddf6,0 0 18px #3e82ab55}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-shade{background:linear-gradient(90deg,#02121cf2 0%,#02121ce6 38%,#02121c8a 56%,transparent 85%),linear-gradient(180deg,#02121ca6,transparent 40%)}
/* Continuous scene shade keeps copy readable without a rectangular text plate. */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-copy{background:none;box-shadow:none;text-shadow:0 1px 3px #02121c}
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-desktop-label{display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .card-head{flex-wrap:nowrap;gap:6px;margin-bottom:2px;min-height:44px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .card-head h2{font-size:16px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-desktop-status{display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-mobile-current-details{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;min-height:44px;min-width:80px;white-space:nowrap;font-size:12px;padding:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-summary{display:flex;align-items:center;justify-content:space-between;gap:4px 8px;flex-wrap:wrap}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-mobile-status{display:block;max-width:100%}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current-path{margin:2px 0;font-size:16px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .conversion-reason{margin:4px 0;font-size:14px;line-height:1.4}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .dv2-current-facts{border:0;padding:3px 0;gap:4px 12px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current .execution-phases{margin:7px 0 0}
 /* The original Auto page, reached by View details, retains its controls and next settlement. */
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current>.conversion-actions,
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-current>.conversion-next{display:none}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-dashboard-globe-slot>.fx-cinema-hero{height:112px;min-height:112px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-canvas{transform-origin:65% 50%;transform:translate(4%,68%) scale(2.8);filter:brightness(1.35) saturate(1.12)}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-fallback i{width:300px;height:300px;right:-40px;top:12px;opacity:1}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-shade{background:linear-gradient(90deg,#02121cf2 0%,#02121ce6 68%,#02121c88 78%,transparent 100%)}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-copy{padding:12px;max-width:70%;width:70%}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-description{font-size:12px;line-height:1.4;margin:0}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-bottom{inset:auto 8px 4px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-globe .fx-cinema-motion{min-height:44px;background:#071520d9}
}

/* ATAFX dashboard Currency market: compact status text, 2026-10-15.
 * Append this block to the END of static/design-v2-dashboard.css.
 * Keep existing quoteStatus(), data attributes, status classes and DOM.
 * This rule deliberately excludes percentage values, chart metadata,
 * the Data details disclosure, Markets lists and all account/admin badges.
 */
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market [data-rate-list="dashboard"] > .fx-rate-row > .fx-rate-status > [data-market-badge] > .badge {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Source: design-v2-finance.css */
/* Approved 2026-10-14 connected-page layouts, boards 02–05.
   Presentation only. Existing IDs, actions, account values and chart mounts remain authoritative. */
#page-content :is(.v2-finance-page,.auto-trading-page,.market-design-grid,.currency-detail-page){min-width:0;font-size:14px}
#page-content .v2-finance-page{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#page-content .v2-finance-page>.page-header{margin:0;padding:4px 0 8px;min-height:44px}
#page-content .v2-finance-page :is(.card,.design-inset){border-radius:7px;padding:16px;min-width:0}
#page-content .v2-finance-page :is(h2,h3){font-size:17px;line-height:1.4;margin-top:0}
#page-content .v2-finance-page .card-head{margin-bottom:12px;gap:12px;align-items:center}
#page-content .v2-finance-page :is(.meta,.footnote,small){font-size:12px;line-height:1.5}
#page-content .v2-finance-page :is(.design-value strong,.definition dd,.ledger-amount,.code-box){font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;min-width:0}
#page-content .v2-finance-page .design-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;padding:12px 0;border:1px solid var(--line);border-radius:7px;background:var(--panel)}
#page-content .v2-finance-page>.design-metrics>.design-metric{margin:0;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;padding:0 16px;min-height:0}
#page-content .v2-finance-page>.design-metrics>.design-metric:last-child{border-right:0}
#page-content .v2-finance-page>.design-metrics .design-metric-icon{display:none}
#page-content .v2-finance-page>.design-metrics .design-value{gap:6px}
#page-content .v2-finance-page>.design-metrics .design-value>span{font-size:13px}
#page-content .v2-finance-page>.design-metrics .design-value>strong{font-size:24px;line-height:1.25;letter-spacing:-.35px}
#page-content .v2-finance-page>.design-metrics .design-metric small{margin-top:6px;font-size:12px}
#page-content .v2-finance-page .empty{padding:24px 12px;min-height:0;height:auto;text-align:center}
#page-content .v2-finance-page .design-tabs{margin:0;gap:4px;border-bottom:1px solid var(--line)}
#page-content .v2-finance-page .design-tabs .tab{min-height:44px;padding:8px 16px;border-radius:0;border-bottom:2px solid transparent}
#page-content .v2-finance-page .design-tabs .tab.active{color:var(--accent);border-bottom-color:var(--accent);background:linear-gradient(0deg,rgba(66,231,207,.13),transparent)}
#page-content .v2-finance-page :is(table,.responsive){width:100%;min-width:0;font-size:13px}
#page-content .v2-finance-page :is(th,td){padding:10px 8px;vertical-align:middle;line-height:1.5}
#page-content .v2-finance-page th{font-size:12px;font-weight:500}
#page-content .v2-finance-page .badge{font-size:12px;max-width:100%;white-space:normal}
#page-content .v2-finance-page .design-filters{gap:12px;margin:12px 0}
#page-content .v2-finance-page :is(input,select){min-height:44px;max-width:100%;min-width:0}
#page-content .v2-finance-page :is(.btn,.text-button,.icon-button){min-height:44px}

/* Wallet: balance strip, left actions/holdings, right detail, then full-width history. */
#page-content .v2-wallet-page[data-wallet-mode="overview"]{grid-template-columns:minmax(0,1fr);align-items:start}
#page-content .v2-wallet-page>:is(.page-header,.design-tabs,.design-metrics,#design-deposit-history,#design-ledger){grid-column:1/-1}
#page-content .v2-wallet-page .wallet-overview-grid{display:grid;grid-template-columns:minmax(0,776fr) minmax(0,549fr);gap:12px;align-items:start;min-width:0}
#page-content .v2-wallet-page .wallet-primary-column{display:flex;flex-direction:column;gap:12px;min-width:0}
#page-content .v2-wallet-page :is(.wallet-actions,.wallet-allocation,#design-holdings){order:initial;min-height:0;height:auto;min-width:0}
#page-content .v2-wallet-page :is(#design-holdings,#design-deposit-history,#design-ledger){margin:0}
#page-content .v2-wallet-page .wallet-actions .stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:center}
#page-content .v2-wallet-page .wallet-actions .stack>.design-value{grid-column:1/-1;flex-direction:row;justify-content:space-between;gap:12px}
#page-content .v2-wallet-page .wallet-actions .stack>.design-value strong{font-size:20px}
#page-content .v2-wallet-page .wallet-actions .footnote{display:block;margin-bottom:0}
#page-content .v2-wallet-page .wallet-allocation .allocation{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:12px}
#page-content .v2-wallet-page .wallet-allocation .allocation-ring{width:144px;padding:14px;justify-self:center;filter:none}
#page-content .v2-wallet-page .allocation-ring b{font-size:18px;overflow-wrap:anywhere;max-width:100%}
#page-content .v2-wallet-page .allocation-ring small{font-size:12px}
#page-content .v2-wallet-page .allocation-ring>div{background:#081e28;color:#f1f6f8}
#page-content .v2-wallet-page .wallet-allocation .definition{font-size:13px;gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#page-content .v2-wallet-page .wallet-allocation .definition dd{text-align:right}
#page-content .v2-wallet-page #design-holdings-filter{margin:8px 0 12px}
#page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}
#page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary>div{padding:12px;gap:6px;border-radius:7px;background:var(--panel2)}
#page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary b{font-size:20px;line-height:1.35}
#page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary :is(span,small){font-size:12px;display:block}
#page-content .v2-wallet-page .deposit-history-workspace{display:grid;grid-template-columns:minmax(0,776fr) minmax(0,549fr);gap:12px;align-items:start}
#page-content .v2-wallet-page .deposit-history-workspace>*{min-width:0}
#page-content .v2-wallet-page .deposit-history-workspace.compact{grid-template-columns:minmax(0,1fr)}
#page-content .v2-wallet-page .deposit-history-workspace.compact #design-deposit-selection{display:none}
#page-content .v2-wallet-page .deposit-history-filters .design-filters{grid-template-columns: minmax(140px,1.4fr) repeat(4,minmax(110px,1fr))}
#page-content .v2-wallet-page .deposit-history-filters label{font-size:12px}
#page-content .v2-wallet-page #design-ledger .ledger-movements{gap:6px}

/* Withdrawal pages remain a request/review dialog flow, never mockup inline forms. */
#page-content .v2-withdrawals-page>.principal-availability{margin:0;padding:16px;border-radius:7px;background:var(--panel)}
#page-content .v2-withdrawals-page>.design-two-column{margin:0;gap:12px;grid-template-columns:minmax(0,776fr) minmax(0,549fr)}
#page-content .v2-withdrawals-page>.banner{margin:0}
#page-content .v2-withdrawals-page .design-timeline{margin:12px 0 0}
#page-content .v2-withdrawals-page .design-timeline li{padding-bottom:16px}
#modal:has(#design-withdraw-preview){width:min(920px,calc(100vw - 40px));max-width:920px}
#modal:has(#design-withdraw-confirm){width:min(680px,calc(100vw - 40px));max-width:680px}
#modal:has(#design-withdraw-live){width:min(960px,calc(100vw - 40px));max-width:960px}
#modal-content .design-withdraw-form .design-two-column{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;margin:12px 0 0}
#modal-content .design-withdraw-form .stack{gap:12px}
#modal-content .design-withdraw-form .design-inset{padding:16px;border-radius:7px;background:var(--panel)}
#modal-content .design-withdraw-form :is(h3,p){margin-top:0}
#modal-content .design-withdraw-form .code-box{white-space:normal;word-break:break-all;overflow-wrap:anywhere;font-size:14px}
#modal-content .design-withdraw-form .selected-requestable{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:14px}
#modal-content .design-withdraw-form .withdrawal-source-segments{gap:8px}
#modal-content .design-withdraw-form .withdrawal-source-segments label{min-height:44px}
#modal-content :is(.design-deposit-summary,.deposit-state-pair,.withdrawal-detail-summary .design-metrics){gap:12px;border-radius:7px}
#modal-content :is(.design-deposit-summary,.deposit-state-pair>section){padding:16px;background:var(--panel)}
#modal-content .design-timeline{margin:16px 0 0}
#modal-content .design-timeline li{gap:12px;padding-bottom:16px}
#modal-content .design-timeline :is(p,small){font-size:12px;line-height:1.5}

/* Activity record selectors and evidence IDs remain unchanged. */
#page-content .v2-activity-page .activity-toolbar{margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
#page-content .v2-activity-page .activity-primary-filters{gap:12px;margin:0}
#page-content .v2-activity-page .activity-primary-filters label{min-width:0;font-size:12px}
#page-content .v2-activity-page .activity-advanced-filters{padding:10px 12px;border-radius:7px;background:var(--panel)}
#page-content .v2-activity-page .activity-advanced-filters>summary{min-height:44px;display:flex;align-items:center;font-size:14px}
#page-content .v2-activity-page .activity-master-detail{display:grid;grid-template-columns:minmax(0,776fr) minmax(0,549fr);gap:12px;align-items:start}
#page-content .v2-activity-page #design-activity-detail{max-height:none;overflow:visible}
#page-content .v2-activity-page .activity-record{padding:0;border-top:1px solid var(--line)}
#page-content .v2-activity-page .activity-record.selected{background:linear-gradient(90deg,rgba(66,231,207,.14),transparent);box-shadow:inset 3px 0 var(--accent)}
#page-content .v2-activity-page .activity-record>button:first-child{padding:12px 8px;gap:12px;min-height:56px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) 12px}
#page-content .v2-activity-page .activity-record>button:first-child>span{gap:4px}
#page-content .v2-activity-page .activity-record b{font-size:14px;font-weight:600}
#page-content .v2-activity-page .activity-record small{font-size:12px}
#page-content .v2-activity-page .activity-record>button:first-child>span:nth-child(3){text-align:right}
#page-content .v2-activity-page .activity-record>.btn{margin:0 8px 8px;min-height:44px;font-size:12px}
#page-content .v2-activity-page .history-scope{margin:0;padding:12px 0;border-top:1px solid var(--line)}
#page-content .v2-activity-page .history-scope>summary{min-height:44px;display:flex;align-items:center}
#page-content .v2-activity-page .trade-cost-grid{gap:12px}
#page-content .v2-activity-page #design-trade-live .definition{font-size:13px;gap:10px}

/* Statements retain all immutable values, fee evidence and historical revisions. */
#page-content .v2-statements-page .statement-workspace{display:grid;grid-template-columns:minmax(220px,300fr) minmax(0,1025fr);gap:12px;align-items:start}
#page-content .v2-statements-page .statement-workspace>.card{padding:16px}
#page-content .v2-statements-page .statement-day{min-height:56px;padding:12px;gap:12px}
#page-content .v2-statements-page .statement-day>span{min-width:0;gap:4px;overflow-wrap:anywhere}
#page-content .v2-statements-page .statement-day.selected{background:linear-gradient(90deg,rgba(66,231,207,.14),transparent);box-shadow:inset 3px 0 var(--accent)}
#page-content .v2-statements-page .statement-financial-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:12px 0;border:1px solid var(--line);border-radius:7px;background:var(--panel)}
#page-content .v2-statements-page .statement-financial-summary .design-value{border:0;border-right:1px solid var(--line);border-radius:0;padding:12px;gap:6px;background:transparent}
#page-content .v2-statements-page .statement-financial-summary .design-value:last-child{border-right:0}
#page-content .v2-statements-page .statement-financial-summary .design-value strong{font-size:21px;white-space:normal}
#page-content .v2-statements-page .statement-financial-summary .design-value>span{font-size:12px}
#page-content .v2-statements-page .statement-export-actions{gap:8px;margin:12px 0;display:flex;flex-wrap:wrap;justify-content:flex-end}
#page-content .v2-statements-page .statement-export-actions .btn{font-size:13px;min-height:44px;padding:8px 12px}
#page-content .v2-statements-page .statement-accounting{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;padding:16px 0}
#page-content .v2-statements-page .statement-summary-facts{font-size:13px;gap:12px}
#page-content .v2-statements-page .statement-return-card{padding:16px;border-radius:7px;background:var(--panel2)}
#page-content .v2-statements-page .statement-return-card .design-value strong{font-size:28px}
#page-content .v2-statements-page .statement-today{margin:0}
#page-content .v2-statements-page :is(.statement-today,.statement-transactions,.statement-rounding-evidence,.statement-cashflow-basis)>summary{min-height:44px;padding:10px 0;font-size:14px}

/* Markets: full-width controls, 776:549 list/preview, consistent compact rows. */
#page-content>.market-search-bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;grid-template-areas:"view view view" "search quick filters";gap:12px;padding:0 0 12px;margin:0 0 12px;border:0;border-bottom:1px solid var(--line);background:transparent}
#page-content>.market-search-bar .view-switch{display:flex;justify-content:flex-start;gap:4px;border-bottom:1px solid var(--line);border-radius:0;width:100%}
#page-content>.market-search-bar .view-switch button{min-height:44px;min-width:80px;padding:8px 16px;font-size:14px;border-radius:0;border-bottom:2px solid transparent}
#page-content>.market-search-bar .view-switch button.active{border-bottom-color:var(--accent);color:var(--accent);background:linear-gradient(0deg,rgba(66,231,207,.14),transparent)}
#page-content>.market-search-bar .search-field{min-width:0;width:100%;margin:0}
#page-content>.market-search-bar .search-field input{font-size:14px;min-height:44px}
#page-content>.market-search-bar .market-quick-filters{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
#page-content>.market-search-bar .market-quick-filters .tab{font-size:12px;min-height:44px;padding:8px 12px;border-radius:18px}
#page-content>.market-search-bar .market-extra-filters>summary{font-size:13px;min-height:44px}
#page-content>.fx-pair-explorer{margin:0 0 12px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}
#page-content>.fx-pair-explorer>summary{padding:12px 16px;min-height:44px;font-size:14px;color:var(--accent)}
#page-content .market-design-grid:is(.fx-list-first,.country-map-grid){display:grid;grid-template-columns:minmax(0,776fr) minmax(0,549fr);gap:12px;align-items:start}
#page-content .market-design-grid.list-only{display:grid;grid-template-columns:minmax(0,1fr)}
#page-content .market-design-grid .market-explorer{padding:16px;border-radius:7px}
#page-content .market-design-grid .market-detail-column{display:grid;gap:12px;min-width:0}
#page-content .market-design-grid .market-currency-list{max-height:650px;overflow:auto;scrollbar-width:thin}
#page-content .market-design-grid :is(.fx-rate-head,.fx-rate-row){grid-template-columns:minmax(118px,1.3fr) minmax(86px,1fr) 64px minmax(50px,.7fr) minmax(58px,.7fr) 96px;gap:8px}
#page-content .market-design-grid .fx-rate-row{padding:6px 0;min-height:64px}
#page-content .market-design-grid .fx-rate-row.selected{background:rgba(66,231,207,.08);box-shadow:inset 3px 0 var(--accent)}
#page-content .market-design-grid .fx-rate-pair{padding:4px 6px;gap:6px;min-height:44px}
#page-content .market-design-grid .fx-rate-pair b{font-size:13px}
#page-content .market-design-grid .fx-rate-pair .currency-flag{width:24px;height:24px;border-radius:50%;object-fit:cover;flex-shrink:0}
#page-content .market-design-grid .fx-rate-price{font-size:14px;white-space:normal;overflow-wrap:anywhere}
#page-content .market-design-grid .fx-rate-day{font-size:12px;white-space:normal;overflow-wrap:anywhere}
#page-content .market-design-grid .fx-rate-actions{justify-content:flex-end;flex-wrap:wrap}
#page-content .market-design-grid .fx-rate-actions .fx-rate-view{font-size:12px;min-height:44px;padding:4px;max-width:52px;white-space:normal}
#page-content .market-design-grid .fx-rate-actions .icon-button{min-height:44px;min-width:40px;padding:6px}
#page-content .market-design-grid .fx-rate-status .badge{font-size:11px;line-height:1.35;white-space:normal}
#page-content .market-design-grid .fx-rate-more>summary{font-size:11px;min-height:24px;line-height:24px}
#page-content .market-design-grid .fx-rate-more[open]{grid-column:1/-1;padding:8px}
#page-content .market-design-grid .fx-comparison-disclosure{margin:0;padding:12px 16px;border-radius:7px}
#page-content .market-design-grid .fx-market-chart-slot{min-width:0}
#page-content .market-design-grid .fx-chart-expanded{margin-top:0}
#page-content .market-design-grid .fx-chart-toggle{margin:0 0 12px;gap:8px;font-size:13px}
#page-content .market-design-grid .compact-chart{padding:16px;border-radius:7px}
#page-content .market-design-grid .compact-chart .quote-head{flex-wrap:wrap;gap:12px}
#page-content .market-design-grid .compact-chart .quote-head strong{font-size:25px;overflow-wrap:anywhere}
#page-content .market-design-grid .compact-chart .large-chart{height:230px;min-height:190px;margin:0;width:100%}
#page-content .market-design-grid .compact-chart .market-price-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#page-content .market-design-grid .compact-chart .chart-toolbar{gap:8px;flex-wrap:wrap}
#page-content .market-design-grid .compact-chart .market-chart-secondary{padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}
#page-content .currency-detail-page .currency-chart-detail{display:grid;grid-template-columns:minmax(0,776fr) minmax(0,549fr);grid-template-areas:"header header" "primary secondary";gap:12px;padding:16px;border-radius:7px}
#page-content .currency-chart-detail .market-chart-primary{margin-top:0}
#page-content .currency-chart-detail .market-chart-secondary{margin:0;padding:16px;border:1px solid var(--line);border-radius:7px;align-self:start;background:var(--panel2)}
#page-content .currency-chart-detail .market-chart-header .market-price-facts{margin:12px 0 0;background:var(--panel);border-color:var(--line);border-radius:7px}
#page-content .currency-chart-detail .market-chart-header .market-price-facts>div{border-color:var(--line);padding:12px}
#page-content .currency-chart-detail .large-chart{width:100%;margin:0;min-height:300px}
#page-content .currency-chart-detail .quote-head strong{font-size:32px;white-space:normal;overflow-wrap:anywhere}
#page-content .currency-chart-detail .market-observed-stats{grid-template-columns:minmax(0,1fr);gap:0}
#page-content .currency-chart-detail .market-observed-stats>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
#page-content .currency-chart-detail .market-observed-stats b{text-align:right;overflow-wrap:anywhere}

/* Auto Trading retains state/reason and evidence; moves globe after account information. */
#page-content .auto-trading-page{display:grid;grid-template-columns:minmax(0,776fr) minmax(0,549fr);gap:12px;align-items:start}
#page-content .auto-trading-page>:is(.page-header,.auto-status-bar,.auto-metrics,.auto-route-heading,.auto-analysis-details,.operations-region,.settlement-strip){grid-column:1/-1;margin:0}
#page-content .auto-trading-page .auto-status-bar{padding:12px 16px;border-radius:7px;gap:12px;flex-wrap:wrap}
#page-content .auto-trading-page .auto-status-bar p{font-size:14px;margin:0;flex:1 1 240px}
#page-content .auto-trading-page .auto-status-bar small{font-size:12px}
#page-content .auto-trading-page .auto-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:12px 0;background:var(--panel);border:1px solid var(--line);border-radius:7px}
#page-content .auto-trading-page .auto-metrics .summary-metric{background:transparent;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;padding:0 16px;min-height:0}
#page-content .auto-trading-page .auto-metrics .summary-metric:last-child{border-right:0}
#page-content .auto-trading-page .auto-metrics .metric-icon{display:none}
#page-content .auto-trading-page .auto-metrics .metric-copy strong{font-size:28px;overflow-wrap:anywhere}
#page-content .auto-trading-page .auto-metrics .metric-copy small{font-size:12px}
#page-content .auto-trading-page :is(.auto-main-grid,.auto-lower-grid){display:contents}
#page-content .auto-trading-page .auto-execution{grid-column:1;grid-row:5;margin:0;min-height:300px;padding:16px;border-radius:7px}
#page-content .auto-trading-page .recent-fills{grid-column:2;grid-row:5;margin:0;min-height:300px;padding:16px;border-radius:7px}
#page-content .auto-trading-page .performance-card{grid-column:1;grid-row:6;margin:0;min-height:360px;padding:16px;border-radius:7px}
#page-content .auto-trading-page .geography-card{grid-column:2;grid-row:6;margin:0;min-height:0;border-radius:7px}
#page-content .auto-trading-page .geography-card .workspace-globe{height:270px;min-height:220px}
/* Narrow grid columns must wrap the existing globe controls, not clip them. */
#page-content .auto-trading-page .exchange-globe .eg-top{flex-wrap:wrap;background:var(--panel);border-color:var(--line)}
#page-content .auto-trading-page .exchange-globe .eg-search{flex:1 1 120px;min-width:0;max-width:none}
#page-content .auto-trading-page .exchange-globe .eg-tools{flex:1 0 auto;flex-wrap:wrap;max-width:100%;gap:4px}
#page-content .auto-trading-page .exchange-globe .eg-tools button{min-width:44px;min-height:44px;background:var(--panel2);border-color:var(--line);color:var(--text)}
#page-content .auto-trading-page .exchange-globe .eg-tools button[aria-pressed="true"]{background:var(--accent);color:#062f30}
#page-content .auto-trading-page .exchange-globe .eg-info{background:var(--panel);border-color:var(--line);color:var(--text)}
#page-content .auto-trading-page .performance-card .large-chart{height:250px;margin:0;width:100%}
#page-content .auto-trading-page .auto-route-heading{padding:12px 16px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}
#page-content .auto-trading-page .auto-route-heading h2{font-size:20px;line-height:1.4;overflow-wrap:anywhere;margin:4px 0 0}
#page-content .auto-trading-page .auto-analysis-details{padding:16px;border-radius:7px}
#page-content .auto-trading-page .auto-analysis-details>summary{min-height:44px;font-size:14px}
#page-content .auto-trading-page .settlement-strip{padding:12px 16px;border-radius:7px;gap:12px;flex-wrap:wrap}

@media (768px <= width < 1250px){
 #page-content .market-design-grid:is(.fx-list-first,.country-map-grid){grid-template-columns:minmax(0,1fr)}
 #page-content .v2-wallet-page .deposit-history-filters .design-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
 #page-content .v2-statements-page .statement-financial-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
 #page-content .v2-statements-page .statement-accounting{grid-template-columns:minmax(0,1fr)}
}
@media (width < 768px){
 #page-content .v2-finance-page{gap:8px;font-size:14px}
 #page-content .v2-finance-page :is(.card,.design-inset){padding:14px;border-radius:8px}
 #page-content .v2-finance-page :is(h2,h3){font-size:16px}
 #page-content .v2-finance-page .page-header{flex-wrap:wrap;gap:8px;padding:0 0 4px}
 #page-content .v2-finance-page .page-header .actions{flex-wrap:wrap;gap:8px;max-width:100%}
 #page-content .v2-finance-page .design-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;border-radius:8px}
 #page-content .v2-finance-page>.design-metrics>.design-metric{padding:12px 14px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
 #page-content .v2-finance-page>.design-metrics>.design-metric:nth-child(2n){border-right:0}
 #page-content .v2-finance-page>.design-metrics>.design-metric:nth-last-child(-n+2){border-bottom:0}
 #page-content .v2-finance-page>.design-metrics .design-value>span{font-size:12px}
 #page-content .v2-finance-page>.design-metrics .design-value>strong{font-size:23px}
 #page-content .v2-finance-page :is(input,select){font-size:16px;min-height:44px}
 #page-content .v2-finance-page .btn{font-size:14px;min-height:44px;padding:9px 12px;white-space:normal}
 #page-content .v2-finance-page .design-tabs{flex-wrap:wrap;gap:0}
 #page-content .v2-finance-page .design-tabs .tab{font-size:14px;padding:8px 10px;flex:1 1 auto}
 #page-content .v2-wallet-page[data-wallet-mode="overview"]{display:flex;flex-direction:column;gap:8px}
 #page-content .v2-wallet-page>*{width:100%;min-width:0}
 #page-content .v2-wallet-page .wallet-overview-grid{display:flex;flex-direction:column;gap:8px;width:100%}
 #page-content .v2-wallet-page .wallet-primary-column{display:contents}
 #page-content .v2-wallet-page :is(.wallet-actions,.wallet-allocation,#design-holdings){grid-area:auto;grid-row:auto;grid-column:auto;order:initial;width:100%}
 #page-content .v2-wallet-page .wallet-allocation{order:1}
 #page-content .v2-wallet-page #design-holdings{order:2}
 #page-content .v2-wallet-page .wallet-actions .stack{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #page-content .v2-wallet-page .wallet-allocation .allocation{gap:12px}
 #page-content .v2-wallet-page .wallet-allocation .allocation-ring{width:144px}
 #page-content .v2-wallet-page .wallet-allocation details>summary{min-height:44px;line-height:1.5;font-size:16px}
 #page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary{grid-template-columns:minmax(0,1fr);gap:8px}
 #page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:6px 12px;padding:10px 12px}
 #page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary b{text-align:right;font-size:18px}
 #page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary>div>small{grid-column:1/-1}
 #page-content .v2-wallet-page .deposit-history-filters .design-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #page-content .v2-wallet-page .deposit-history-filters label:first-child{grid-column:1/-1}
 #page-content .v2-wallet-page .deposit-history-workspace{display:block}
 #page-content .v2-wallet-page #design-deposit-selection{display:none}
 #page-content .v2-finance-page .responsive tr{min-width:0;padding:10px 0;background:transparent}
 #page-content .v2-finance-page .responsive td{font-size:14px;min-width:0;overflow-wrap:anywhere;padding:8px 0}
 #page-content .v2-finance-page .responsive td:before{font-size:12px;line-height:1.5}
 #page-content .v2-finance-page .responsive td .btn{min-height:44px;font-size:14px}
 #page-content .v2-withdrawals-page>.design-two-column{grid-template-columns:minmax(0,1fr);gap:8px}
 #page-content .v2-withdrawals-page>.principal-availability{padding:14px}
 #page-content .v2-withdrawals-page .principal-availability>div{grid-template-columns:minmax(0,1fr);gap:12px}
 #page-content .v2-withdrawals-page .principal-availability .design-value{flex-direction:row;justify-content:space-between;gap:12px}
 #page-content .v2-withdrawals-page .principal-availability .design-value strong{font-size:20px;text-align:right}
 #modal:has(#design-withdraw-preview),#modal:has(#design-withdraw-confirm),#modal:has(#design-withdraw-live){width:calc(100vw - 24px);max-width:calc(100vw - 24px);margin:auto;max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));padding:14px;border-radius:8px}
 #modal-content .design-withdraw-form .design-two-column{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 #modal-content .design-withdraw-form .design-two-column>section{margin:0}
 #modal-content .design-withdraw-form .stack{gap:8px}
 #modal-content .design-withdraw-form .design-inset{padding:14px;border-radius:8px}
 #modal-content .design-withdraw-form :is(input,select){font-size:16px;min-height:44px}
 #modal-content .design-withdraw-form :is(.btn,.text-button,summary){min-height:44px;font-size:14px}
 #modal-content .design-withdraw-form .definition{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;font-size:14px}
 #modal-content .design-withdraw-form .definition dd{overflow-wrap:anywhere;text-align:right}
 #modal-content .design-deposit-summary{grid-template-columns:minmax(0,1fr);padding:14px;gap:12px}
 #modal-content .design-deposit-summary .design-value{flex-direction:row;justify-content:space-between;gap:12px}
 #modal-content .design-deposit-summary strong{font-size:20px;text-align:right}
 #modal-content .deposit-state-pair{grid-template-columns:minmax(0,1fr);gap:8px}
 #page-content .v2-activity-page .activity-toolbar{grid-template-columns:minmax(0,1fr);gap:8px}
 #page-content .v2-activity-page .activity-primary-filters{gap:8px}
 #page-content .v2-activity-page .activity-master-detail{grid-template-columns:minmax(0,1fr);gap:8px}
 #page-content .v2-activity-page #design-activity-detail{display:none}
 #page-content .v2-activity-page .activity-record>button:first-child{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 12px;gap:8px;padding:12px 4px}
 #page-content .v2-activity-page .activity-record>button:first-child>span:nth-child(3){grid-row:2;grid-column:1/3;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;text-align:left}
 #page-content .v2-activity-page .activity-record>button:first-child>span:last-child{grid-column:3;grid-row:1}
 #page-content .v2-activity-page .activity-record>button:first-child>span:nth-child(2){align-items:end;text-align:right}
 #page-content .v2-statements-page .statement-workspace{grid-template-columns:minmax(0,1fr);gap:8px}
 #page-content .v2-statements-page #design-statement-days{max-height:230px;overflow:auto;scrollbar-width:thin}
 #page-content .v2-statements-page .statement-workspace #design-statement-selection{display:block;padding:14px}
 #page-content .v2-statements-page .statement-workspace #design-statement-selection .statement-financial-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 #page-content .v2-statements-page .statement-financial-summary .design-value{padding:12px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
 #page-content .v2-statements-page .statement-financial-summary .design-value:last-child{grid-column:1/-1;border-bottom:0}
 #page-content .v2-statements-page .statement-financial-summary .design-value:nth-child(2n){border-right:0}
 #page-content .v2-statements-page .statement-export-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 #page-content .v2-statements-page .statement-export-actions .btn{font-size:12px;padding:8px 6px;grid-column:auto;white-space:normal;gap:4px}
 #page-content .v2-statements-page .statement-accounting{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px 0}
 #page-content .v2-statements-page .statement-summary-facts{font-size:14px}
 #page-content .v2-statements-page .statement-return-card{padding:14px}
 #page-content>.market-search-bar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"view view" "search search" "quick filters";gap:8px;padding-bottom:8px;margin-bottom:8px}
 #page-content>.market-search-bar .view-switch{justify-content:stretch;gap:0}
 #page-content>.market-search-bar .view-switch button{flex:1;min-width:0;min-height:44px;font-size:14px;padding:8px}
 #page-content>.market-search-bar .search-field input{font-size:16px;min-height:44px}
 #page-content>.market-search-bar .market-quick-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 #page-content>.market-search-bar .market-quick-filters .tab{font-size:12px;min-height:44px;padding:8px;border-radius:16px}
 #page-content>.market-search-bar .market-extra-filters>summary{min-height:44px;font-size:12px;white-space:normal;max-width:86px;padding:6px}
 #page-content>.market-search-bar .market-extra-filters[open]>div{width:min(320px,calc(100vw - 44px));z-index:15;background:var(--panel2);border-color:var(--line)}
 #page-content>.market-search-bar .market-extra-filters select{font-size:16px;min-height:44px}
 #page-content>.fx-pair-explorer{margin-bottom:8px;border-radius:8px}
 #page-content>.fx-pair-explorer>summary{padding:10px 14px;min-height:44px}
 #page-content .market-design-grid:is(.fx-list-first,.country-map-grid){grid-template-columns:minmax(0,1fr);gap:8px}
 #page-content .market-design-grid .market-explorer{padding:14px;border-radius:8px}
 #page-content .market-design-grid .market-currency-list{max-height:560px;overflow:auto}
 #page-content .market-design-grid :is(.fx-rate-head,.fx-rate-row){grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(56px,.7fr);gap:4px 6px}
 #page-content .market-design-grid .fx-rate-head{font-size:12px;line-height:1.4;padding:8px 0}
 #page-content .market-design-grid .fx-rate-row{min-height:82px;padding:6px 0}
 #page-content .market-design-grid .fx-rate-pair{gap:4px;padding:3px 0;min-height:44px}
 #page-content .market-design-grid .fx-rate-pair b{font-size:13px;white-space:normal}
 #page-content .market-design-grid .fx-rate-pair small{display:none}
 #page-content .market-design-grid .fx-rate-pair .currency-flag{width:20px;height:20px}
 #page-content .market-design-grid .fx-rate-price{font-size:14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
 #page-content .market-design-grid .fx-rate-day{font-size:12px;white-space:normal}
 #page-content .market-design-grid .fx-rate-status{display:flex;grid-column:1;grid-row:2;padding:0;min-width:0}
 #page-content .market-design-grid .fx-rate-status small{display:none}
 #page-content .market-design-grid .fx-rate-status .badge{font-size:11px;line-height:1.35}
 #page-content .market-design-grid .fx-rate-actions{display:none}
 #page-content .market-design-grid .fx-rate-more{grid-column:2/-1;grid-row:2;padding:0;align-self:center}
 #page-content .market-design-grid .fx-rate-more>summary{font-size:12px;line-height:1.4;min-height:44px;display:flex;align-items:center;justify-content:flex-end}
 #page-content .market-design-grid .fx-rate-more[open]{grid-column:1/-1;grid-row:3;padding:8px 0}
 #page-content .market-design-grid .fx-rate-more[open]>summary{justify-content:flex-start}
 #page-content .market-design-grid .fx-rate-trend{display:none}
 #page-content .market-design-grid .fx-rate-more .fx-rate-mobile-trend{display:block}
 #page-content .market-design-grid .market-pagination{gap:6px;flex-wrap:wrap;font-size:12px}
 #page-content .market-design-grid .market-pagination .btn{min-height:44px;font-size:14px;padding:8px 10px}
 #page-content .market-design-grid .compact-chart{padding:14px;border-radius:8px}
 #page-content .market-design-grid .compact-chart .quote-head strong{font-size:25px}
 #page-content .market-design-grid .compact-chart .large-chart{height:220px;min-height:180px}
 #page-content .market-design-grid .fx-comparison-disclosure{padding:10px 14px}
 #page-content .market-design-grid .fx-chart-toggle .btn{min-height:44px;font-size:14px}
 #page-content .currency-detail-page .currency-chart-detail{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:8px}
 #page-content .currency-chart-detail .market-chart-header{width:100%}
 #page-content .currency-chart-detail .quote-head{flex-wrap:wrap;gap:8px}
 #page-content .currency-chart-detail .quote-head strong{font-size:28px}
 #page-content .currency-chart-detail .market-chart-primary{width:100%;min-width:0}
 #page-content .currency-chart-detail .market-chart-secondary{width:100%;padding:14px;border-radius:8px}
 #page-content .currency-chart-detail .market-chart-header .market-price-facts{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
 #page-content .currency-chart-detail .market-chart-header .market-price-facts>div{padding:10px}
 #page-content .currency-chart-detail .large-chart{min-height:230px;height:260px}
 #page-content .currency-chart-detail .chart-toolbar{gap:8px;flex-wrap:wrap}
 #page-content .currency-chart-detail .period-switch button{min-height:44px;padding:8px 12px;font-size:14px}
 #page-content .auto-trading-page{display:flex;flex-direction:column;gap:8px}
 #page-content .auto-trading-page>*{width:100%;min-width:0}
 #page-content .auto-trading-page :is(.auto-main-grid,.auto-lower-grid){display:contents}
 #page-content .auto-trading-page>.page-header{order:0}
 #page-content .auto-trading-page>.auto-status-bar{order:1;padding:12px 14px}
 #page-content .auto-trading-page>.auto-metrics{order:2;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;border-radius:8px}
 #page-content .auto-trading-page .auto-metrics .summary-metric{padding:12px 14px;border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
 #page-content .auto-trading-page .auto-metrics .summary-metric:nth-child(2n){border-right:0}
 #page-content .auto-trading-page .auto-metrics .summary-metric:nth-last-child(-n+2){border-bottom:0}
 #page-content .auto-trading-page .auto-metrics .metric-copy strong{font-size:24px}
 #page-content .auto-trading-page>.auto-route-heading{order:3;padding:12px 14px;flex-wrap:wrap;gap:8px}
 #page-content .auto-trading-page .auto-execution{order:4;min-height:0;padding:14px}
 #page-content .auto-trading-page .recent-fills{order:5;min-height:0;padding:14px}
 #page-content .auto-trading-page .performance-card{order:6;min-height:0;padding:14px}
 #page-content .auto-trading-page>.auto-analysis-details{order:7;padding:14px}
 #page-content .auto-trading-page>.operations-region{order:8}
 #page-content .auto-trading-page>.settlement-strip{order:9;padding:12px 14px}
 #page-content .auto-trading-page .geography-card{order:10;min-height:0}
 #page-content .auto-trading-page .geography-card .workspace-globe{height:240px;min-height:180px}
 #page-content .auto-trading-page .performance-card .large-chart{height:240px;min-height:180px}
}

/* Source: design-v2-access.css */
/* Approved design-v2 boards 01 / 06. Existing forms, policies and conversations
   own their state; this stylesheet only positions and styles their live DOM. */
html.fx-unified-theme[data-theme] .fx-v2-auth {
  padding:0 32px;
  background:radial-gradient(ellipse at 20% 42%,#07374780,transparent 55%),#06171f;
}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header {
  min-height:64px;max-width:1440px;padding:0;gap:24px;
  border-bottom:1px solid #1b3542;
}
html.fx-unified-theme[data-theme] .fx-v2-auth .brand {font-size:26px;gap:10px;letter-spacing:.015em}
html.fx-unified-theme[data-theme] .fx-v2-auth .brand img {width:34px;height:34px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header nav {gap:12px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header nav .btn {background:transparent;border-color:transparent;padding:8px 12px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-layout {
  max-width:1280px;margin:36px auto 24px;gap:24px;
  grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr);align-items:start;
}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-hero {
  display:flex;min-height:620px;align-self:stretch;align-items:flex-end;
  background:linear-gradient(0deg,#04141ef0,transparent 54%),url('/static/design-v2-earth.png') 62% center / cover no-repeat;
  border-radius:8px;overflow:hidden;
}
/* Auth is decorative only; the interactive Markets globe is never replaced. */
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-globe {display:none}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story {padding:32px;position:relative;max-width:560px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story h1 {font-size:clamp(30px,3vw,42px);line-height:1.14;letter-spacing:-.02em;margin:0 0 16px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story em {color:#42e7cf}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story>p {font-size:17px;line-height:1.6;color:#a4c1d2;margin:0;max-width:400px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-card {
  border:1px solid #24505d;border-radius:8px;background:linear-gradient(140deg,#08232b,#051921);
  padding:28px;box-shadow:none;min-width:0;
}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-card h1 {font-size:28px;line-height:1.25;letter-spacing:-.02em;margin:0 0 8px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-card>.meta {font-size:14px;line-height:1.55;margin:0 0 20px;color:#a4c1d2}
html.fx-unified-theme[data-theme] .fx-v2-auth :is(.ad-form,.ad-auth-credentials) {gap:14px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-form label {font-size:14px;line-height:1.4;font-weight:500;margin-bottom:6px}
html.fx-unified-theme[data-theme] .fx-v2-auth :is(input:not([type=checkbox]),.ad-country-button) {min-height:44px;border-color:#365b6a;border-radius:5px;background:#061c26}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-form>.btn.primary {min-height:46px;background:#008c8c;border-color:#11bdba;font-weight:600;border-radius:5px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-form>.btn.primary:hover:not(:disabled) {background:#00a09d}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-form>.btn.primary:disabled {background:#284552;border-color:#365766;opacity:1;color:#b2c5ce}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-recovery {font-size:12px;margin:0;gap:8px;align-items:center}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-recovery .text-button {padding:4px 0;font-size:13px;color:#5dd7f4}
html.fx-unified-theme[data-theme] .fx-v2-auth .fx-google-auth {margin:18px 0 12px;gap:12px}
html.fx-unified-theme[data-theme] .fx-v2-auth [data-google-status]:empty {display:none}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-alternate {border:0;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;text-align:left}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-alternate>p {font-size:12px;margin:0;color:#a4c1d2}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-alternate .btn {width:auto;min-height:44px;flex:1;background:transparent;border:0;padding:6px 0;color:#5dd7f4;justify-content:flex-end;font-size:14px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-alternate>.text-button {width:100%;text-align:right;color:#5dd7f4;min-height:44px;padding:6px 0;font-size:13px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-security-strip {border-top:1px solid #1b3542;padding-top:14px;margin-top:10px;gap:10px;flex-wrap:wrap}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-security-strip span {font-size:12px;color:#a4c1d2}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-security-strip svg {width:18px;height:18px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer {max-width:1440px;justify-content:center;flex-wrap:wrap;padding:16px 0;gap:6px 22px;font-size:12px;border-color:#1b3542}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer .fx-legal-links {align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer :is(a,.btn) {min-height:44px;display:inline-flex;align-items:center;font-size:12px;padding:4px 0;color:#a4c1d2}
html.fx-unified-theme[data-theme] .fx-v2-auth>.account-progress {max-width:1280px;margin:24px auto 0;background:transparent;border:0;padding:12px 0}
html.fx-unified-theme[data-theme] .fx-v2-auth>.account-progress li {font-size:13px}
html.fx-unified-theme[data-theme] .fx-v2-auth>.account-progress li>span {width:28px;height:28px;font-size:13px}
html.fx-unified-theme[data-theme] .fx-v2-auth>.account-progress li:before {top:14px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-layout.register {max-width:1440px;grid-template-columns:minmax(240px,.9fr) minmax(420px,1.3fr) minmax(230px,.75fr);gap:20px;margin-top:24px}
html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-auth-hero {display:flex;min-height:640px}
html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-auth-story {padding:24px}
html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-auth-story h1 {font-size:32px}
html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-auth-card {padding:24px}
html.fx-unified-theme[data-theme] .fx-v2-auth .register #auth-form {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
html.fx-unified-theme[data-theme] .fx-v2-auth .register #auth-form>:is(.ad-policy,.ad-legal-consents,#auth-error,.btn),
html.fx-unified-theme[data-theme] .fx-v2-auth .register #auth-form>div:has(#ad-country-button) {grid-column:1/-1}
html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-availability {padding:20px;border-radius:8px;background:#071b23;border:1px solid #1b3542;box-shadow:none}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-availability h2 {font-size:18px;margin:0 0 10px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-availability h3 {font-size:15px;margin:20px 0 8px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-availability :is(.meta,.footnote,li,:is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice)) {font-size:13px;line-height:1.55}
html.fx-unified-theme[data-theme] .fx-v2-auth :is(.ad-policy,.ad-consent,.ad-legal-consents :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice)) {font-size:12px;line-height:1.55}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-consent>span {font-size:13px}
html.fx-unified-theme[data-theme] .fx-v2-auth .ad-legal-consents {gap:12px}

/* Existing Account page sections remain mounted. Tabs scroll/focus these same
   regions, retaining preference fields and the current security actions. */
html.fx-unified-theme[data-theme] .ad-account-overview {display:block}
html.fx-unified-theme[data-theme] .ad-account-overview>.ad-tabs {display:flex;flex-wrap:wrap;gap:0 12px;margin:0 0 12px;border-bottom:1px solid #1b3542}
html.fx-unified-theme[data-theme] .ad-account-overview>.ad-tabs>button {font-size:14px;min-height:44px;padding:10px 20px;flex:0 1 auto;width:auto;border-radius:5px 5px 0 0;background:transparent;border:0;border-bottom:2px solid transparent}
html.fx-unified-theme[data-theme] .ad-account-overview>.ad-tabs>button.active {border-bottom-color:#42e7cf;background:linear-gradient(0deg,#07505266,transparent);color:#42e7cf}
html.fx-unified-theme[data-theme] .ad-account-overview>.ad-account-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:12px;align-items:start}
html.fx-unified-theme[data-theme] .ad-account-overview [data-account-section] {display:block;min-width:0;padding:16px;scroll-margin:76px 0 120px;border-radius:7px;background:#071b23;border-color:#1b3542;box-shadow:none}
html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-profile {grid-column:1;grid-row:1 / span 2}
html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-security {grid-column:2;grid-row:1}
html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-addresses {grid-column:2;grid-row:2}
html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-notifications {grid-column:1/-1;grid-row:3}
html.fx-unified-theme[data-theme] .ad-account-overview .card-head {margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #1b3542}
html.fx-unified-theme[data-theme] .ad-account-overview .card-head h2 {font-size:17px;line-height:1.4}
html.fx-unified-theme[data-theme] .ad-account-overview .definition {display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:10px 16px;margin:12px 0;font-size:14px}
html.fx-unified-theme[data-theme] .ad-account-overview .definition :is(dt,dd) {margin:0;min-width:0;overflow-wrap:anywhere;line-height:1.5}
html.fx-unified-theme[data-theme] .ad-account-overview .definition dt {color:#a4c1d2}
html.fx-unified-theme[data-theme] .ad-account-overview .actions {gap:8px;flex-wrap:wrap;margin:10px 0}
html.fx-unified-theme[data-theme] .ad-account-overview .actions>.btn {min-height:44px;font-size:14px;border-radius:5px}
html.fx-unified-theme[data-theme] .ad-account-overview .fx-v2-profile-action>.btn {width:100%}
html.fx-unified-theme[data-theme] .ad-account-overview .fx-v2-verification-block {margin:16px -16px 0;padding:16px 16px 4px;border-top:1px solid #1b3542}
html.fx-unified-theme[data-theme] .ad-account-overview .fx-v2-verification-block h3 {font-size:16px;margin:0 0 12px}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row {padding:12px 0;gap:10px;border-color:#1b3542;align-items:flex-start}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row>div {gap:12px}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row svg {width:24px;height:24px;color:#d2e9ef}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row :is(b,small) {line-height:1.5;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row b {font-size:14px;font-weight:500}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row small {font-size:12px;color:#a4c1d2}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row>.badge {max-width:42%;white-space:normal;text-align:center}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-session-row {flex-wrap:wrap}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-session-row>.btn {margin-left:auto}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-asset-label {padding:10px 0;background:none;border:0;margin:0 0 12px}
html.fx-unified-theme[data-theme] .ad-account-overview .empty {min-height:0;padding:16px 0}
html.fx-unified-theme[data-theme] .ad-account-overview .empty svg {width:32px;height:32px}
html.fx-unified-theme[data-theme] .ad-account-overview :is(.footnote,.ad-account-details>summary) {font-size:12px;line-height:1.55}
html.fx-unified-theme[data-theme] .ad-account-overview .ad-account-details>summary {min-height:44px;display:list-item;padding-block:12px}

/* Live Help Center: use the existing tickets / guidance+conversation / detail
   columns; do not invent AI service tabs or new conversation actions. */
html.fx-unified-theme[data-theme] #page-content .hc-support .hc-grid {display:grid;grid-template-columns:minmax(200px,260fr) minmax(0,773fr) minmax(220px,280fr);gap:12px;align-items:start}
html.fx-unified-theme[data-theme] #page-content .hc-grid>.card {padding:16px;min-width:0;border:1px solid #1b3542;border-radius:7px;background:#071b23;box-shadow:none}
html.fx-unified-theme[data-theme] #page-content .hc-grid .hc-conversation {padding:0;overflow:visible}
html.fx-unified-theme[data-theme] #page-content .hc-grid :is(.hc-guidance,.hc-chat) {padding:16px;min-width:0}
html.fx-unified-theme[data-theme] #page-content .hc-grid :is(h2,h3) {font-size:17px;line-height:1.4}
html.fx-unified-theme[data-theme] #page-content .hc-grid .hc-guidance {border-bottom:1px solid #1b3542}
html.fx-unified-theme[data-theme] #page-content .hc-grid .hc-tickets {max-height:none}
html.fx-unified-theme[data-theme] #page-content .hc-ticket {padding:14px 10px;min-height:72px;border-radius:6px;border-color:#1b3542}
html.fx-unified-theme[data-theme] #page-content .hc-ticket strong {font-size:14px;line-height:1.45}
html.fx-unified-theme[data-theme] #page-content .hc-ticket :is(span,small) {font-size:12px;line-height:1.55;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] #page-content .hc-messages {max-height:52dvh;min-height:220px;padding:12px 0;margin:0;overscroll-behavior:contain}
html.fx-unified-theme[data-theme] :is(#page-content .hc-support,#fx-support-panel) .message {border:1px solid #244650;border-radius:10px;background:#102d3b;color:#e8f3f6;line-height:1.6;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] :is(#page-content .hc-support,#fx-support-panel) .message.own {background:#003d40;border-color:#076569}
html.fx-unified-theme[data-theme] #page-content .hc-chat .message {font-size:14px;max-width:88%;padding:12px}
html.fx-unified-theme[data-theme] #page-content .hc-chat .message small {font-size:12px;color:#a4c1d2}
html.fx-unified-theme[data-theme] #page-content .hc-chat .chat-input {display:flex;flex-direction:row;align-items:flex-end;gap:8px}
html.fx-unified-theme[data-theme] #page-content .hc-chat .chat-input textarea {min-height:60px;min-width:0;flex:1;font-size:16px}
html.fx-unified-theme[data-theme] #page-content .hc-chat .chat-input button {min-height:44px;min-width:72px}
html.fx-unified-theme[data-theme] #page-content .hc-context .definition {grid-template-columns:1fr;font-size:13px;gap:4px}
html.fx-unified-theme[data-theme] #page-content .hc-context .definition dd {margin:0 0 10px;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] #page-content .hc-record-links {display:grid;grid-template-columns:1fr;gap:8px}
html.fx-unified-theme[data-theme] #fx-support-panel {background:#071b23;border:1px solid #315666;border-radius:10px;color:#f1f6f8}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-heading {background:linear-gradient(110deg,#06363e,#071f2a);border-bottom:1px solid #1b3542;padding:14px}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-heading h2 {font-size:17px}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-heading p {font-size:12px;line-height:1.5;color:#a4c1d2}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-window-actions button {width:44px;height:44px;min-width:44px;min-height:44px}
html.fx-unified-theme[data-theme] #fx-support-panel :is(.fx-chat-tabs,.fx-chat-footer) {background:#061b24;border-color:#1b3542;color:#a4c1d2}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-tabs button {min-height:44px;font-size:13px;border-radius:5px;background:transparent;color:#a4c1d2}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-tabs button[aria-pressed=true] {color:#42e7cf;border-color:#167276;background:#073a3d}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-welcome {padding:20px}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-welcome h2 {font-size:22px;line-height:1.3}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-welcome p {font-size:14px;line-height:1.6;color:#a4c1d2}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-welcome .footnote {font-size:12px}
html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-intro-icon {background:#073b40;color:#42e7cf;border:1px solid #176368}

/* Existing recovery, identity, country and withdrawal-password dialogs. */
html.fx-unified-theme[data-theme] dialog#modal:has(:is(#ad-country-search,#ad-password-form,#ad-profile-form,#fx-google-register-form,.fx-withdrawal-flow,#ui-forgot-form,#ui-reset-form,#ui-recover-form)) {max-width:min(560px,calc(100vw - 32px));padding:24px;border-radius:8px;background:#071b23;border-color:#315666}
html.fx-unified-theme[data-theme] #modal-content .fx-withdrawal-flow {gap:14px}
html.fx-unified-theme[data-theme] #modal-content :is(.fx-withdrawal-flow,.fx-withdrawal-security) :is(input,select) {font-size:16px;min-height:44px;border-radius:5px}
html.fx-unified-theme[data-theme] #modal-content :is(.fx-withdrawal-flow,.fx-withdrawal-security) .form-actions {display:flex;gap:8px;flex-wrap:wrap}
html.fx-unified-theme[data-theme] #modal-content :is(.fx-withdrawal-flow,.fx-withdrawal-security) .form-actions>* {min-height:44px;flex:1 1 160px}
html.fx-unified-theme[data-theme] .ad-notification-grid {grid-template-columns:minmax(0,776fr) minmax(0,549fr);gap:12px}
html.fx-unified-theme[data-theme] .ad-notification-grid>.card {padding:12px;border-radius:7px}
html.fx-unified-theme[data-theme] .ad-notification {padding:14px 10px;gap:12px;border-radius:6px}
html.fx-unified-theme[data-theme] .ad-notification b {font-size:14px}
html.fx-unified-theme[data-theme] .ad-notification :is(small,time) {font-size:12px}
html.fx-unified-theme[data-theme] .ad-more {max-width:940px}
html.fx-unified-theme[data-theme] .ad-more-profile {padding:16px;border-radius:7px;margin-bottom:12px}
html.fx-unified-theme[data-theme] .ad-more-links {padding:8px 16px;border-radius:7px}
html.fx-unified-theme[data-theme] .ad-more-links>button {min-height:56px;font-size:14px;gap:14px}
html.fx-unified-theme[data-theme] .ad-more-links>button svg {width:22px;height:22px}

@media(max-width:1199px) and (min-width:768px) {
  html.fx-unified-theme[data-theme] .fx-v2-auth {padding-inline:24px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-layout {grid-template-columns:minmax(0,1fr) minmax(340px,1.1fr);gap:20px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-layout.register {grid-template-columns:minmax(0,.8fr) minmax(390px,1.2fr)}
  html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-availability {grid-column:2}
  html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-auth-hero {grid-row:1 / span 2}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story {padding:24px}
  html.fx-unified-theme[data-theme] #page-content .hc-support .hc-grid {grid-template-columns:minmax(180px,.55fr) minmax(0,1.45fr)}
  html.fx-unified-theme[data-theme] #page-content .hc-context {grid-column:1/-1}
  html.fx-unified-theme[data-theme] #page-content .hc-record-links {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px) {
  html.fx-unified-theme[data-theme] .fx-v2-auth {padding:0 clamp(16px,5.64vw,22px);min-height:100dvh;background:radial-gradient(ellipse at 0 12%,#06354380,transparent 55%),#06171f}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header {min-height:64px;gap:12px;flex-wrap:nowrap;padding:0}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header .brand {font-size:22px;gap:7px;min-width:0}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header .brand img {width:28px;height:28px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header nav {flex-shrink:0;gap:0}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-header nav .btn {font-size:12px;padding:8px 0}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-layout,
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-layout.register {display:flex;flex-direction:column;gap:8px;margin:12px 0 16px;max-width:none}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-hero {display:flex;min-height:0;width:100%;background:linear-gradient(90deg,#06171fd9,#06171f55),url('/static/design-v2-earth.png') center 46% / cover;order:0;overflow:visible}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story {padding:12px 14px;max-width:none}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story h1 {font-size:23px;margin:0 0 8px;line-height:1.16}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story>p {font-size:14px;line-height:1.45;max-width:none}
  html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-auth-hero {display:none}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-card,
  html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-auth-card {width:100%;padding:16px 14px;border-radius:7px;order:1;box-sizing:border-box}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-card h1 {font-size:24px;line-height:1.25;margin-bottom:6px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-card>.meta {font-size:14px;line-height:1.5;margin-bottom:16px}
  html.fx-unified-theme[data-theme] .fx-v2-auth :is(.ad-form,.ad-auth-credentials) {gap:12px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .register #auth-form {display:grid;grid-template-columns:1fr;gap:12px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-form :is(input:not([type=checkbox]),select) {font-size:16px;min-height:44px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-country-button {font-size:14px;line-height:1.45;padding:8px 10px;min-height:44px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-country-button span {min-width:0;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-form label {font-size:14px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-recovery {gap:4px 8px;align-items:center;font-size:12px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-recovery .text-button {font-size:13px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-security-strip {gap:8px 12px;padding-top:12px;margin-top:8px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-security-strip span {font-size:12px}
  html.fx-unified-theme[data-theme] .fx-v2-auth>.account-progress {margin:12px 0 0;padding:8px 0;background:none;border:0}
  html.fx-unified-theme[data-theme] .fx-v2-auth>.account-progress li {font-size:12px;gap:6px}
  html.fx-unified-theme[data-theme] .fx-v2-auth>.account-progress li>span {width:26px;height:26px;font-size:12px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .register .ad-availability {order:2;width:100%;padding:14px;margin:0;border-radius:7px;box-sizing:border-box}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer {padding:10px 0 max(12px,env(safe-area-inset-bottom));gap:4px;align-items:center}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer>span {font-size:12px;line-height:1.5}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer .fx-legal-links {gap:0 14px}
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-footer :is(a,.btn) {font-size:12px;min-height:44px}
  html.fx-unified-theme[data-theme] .ad-account-overview>.ad-tabs {display:flex;flex-wrap:wrap;gap:4px;margin-bottom:8px}
  html.fx-unified-theme[data-theme] .ad-account-overview>.ad-tabs>button,
  html.fx-unified-theme[data-theme] .ad-account-overview>.ad-tabs>button:last-child {font-size:14px;min-height:44px;width:auto;flex:1 1 calc(50% - 4px);padding:8px;line-height:1.4;text-align:center;border-radius:5px}
  html.fx-unified-theme[data-theme] .ad-account-overview>.ad-account-grid {display:flex;flex-direction:column;gap:8px}
  html.fx-unified-theme[data-theme] .ad-account-overview [data-account-section][data-account-active] {display:block;width:100%;padding:14px;box-sizing:border-box;scroll-margin-top:76px}
  html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-profile {order:0}
  html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-security {order:1}
  html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-addresses {order:2}
  html.fx-unified-theme[data-theme] .ad-account-overview #ad-account-notifications {order:3}
  html.fx-unified-theme[data-theme] .ad-account-overview .definition {grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:10px 12px;font-size:14px}
  html.fx-unified-theme[data-theme] .ad-account-overview .card-head h2 {font-size:16px}
  html.fx-unified-theme[data-theme] .ad-account-overview .fx-v2-verification-block {margin-inline:-14px;padding:14px 14px 4px}
  html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row {flex-wrap:wrap;padding:12px 0}
  html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row>div {flex:1;min-width:150px}
  html.fx-unified-theme[data-theme] .ad-account-overview .ad-setting-row>.badge {max-width:100%}
  html.fx-unified-theme[data-theme] .ad-account-overview .actions>.btn {flex:1 1 130px}
  html.fx-unified-theme[data-theme] #page-content .hc-support .hc-grid {display:flex;flex-direction:column;gap:8px}
  html.fx-unified-theme[data-theme] #page-content .hc-grid>.card {width:100%;padding:14px;box-sizing:border-box}
  html.fx-unified-theme[data-theme] #page-content .hc-grid .hc-conversation {order:0;padding:0}
  html.fx-unified-theme[data-theme] #page-content .hc-grid .hc-tickets {order:1;max-height:280px;overflow:auto}
  html.fx-unified-theme[data-theme] #page-content .hc-grid .hc-context {order:2}
  html.fx-unified-theme[data-theme] #page-content .hc-grid :is(.hc-guidance,.hc-chat) {padding:14px}
  html.fx-unified-theme[data-theme] #page-content .hc-grid :is(h2,h3) {font-size:16px}
  html.fx-unified-theme[data-theme] #page-content .hc-grid .hc-record-links {grid-template-columns:repeat(2,minmax(0,1fr))}
  html.fx-unified-theme[data-theme] #page-content .hc-chat .message {max-width:94%;font-size:14px}
  html.fx-unified-theme[data-theme] #page-content .hc-chat .chat-input {gap:8px;flex-wrap:wrap}
  html.fx-unified-theme[data-theme] #page-content .hc-chat .chat-input textarea {flex:1 1 160px}
  html.fx-unified-theme[data-theme] #page-content .hc-chat .chat-input button {margin-left:auto}
  html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-heading {padding:12px;gap:8px}
  html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-heading h2 {font-size:16px}
  html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-window-actions {gap:2px}
  html.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-welcome {padding:16px}
  html.fx-unified-theme[data-theme] dialog#modal:has(:is(#ad-country-search,#ad-password-form,#ad-profile-form,#fx-google-register-form,.fx-withdrawal-flow,#ui-forgot-form,#ui-reset-form,#ui-recover-form)) {padding:16px;max-width:calc(100vw - 24px)}
  html.fx-unified-theme[data-theme] .ad-notification-grid {grid-template-columns:1fr;gap:8px}
  html.fx-unified-theme[data-theme] .ad-notification-grid>.card {padding:8px}
  html.fx-unified-theme[data-theme] .ad-notification-detail {padding:8px}
  html.fx-unified-theme[data-theme] .ad-more-links {padding-inline:14px}
}
@media(prefers-reduced-motion:reduce) {
  html.fx-unified-theme[data-theme] .fx-v2-auth .ad-auth-story {padding-top:32px}
}
/* Verification guidance stays next to the request action, including narrow screens. */
html.fx-unified-theme[data-theme] .ad-email-address { display: block; overflow-wrap: anywhere; }
html.fx-unified-theme[data-theme] .ad-email-instructions { margin: 16px 0 8px; font-size: 14px; line-height: 1.6; }
html.fx-unified-theme[data-theme] #ad-email-result:not(:empty) { margin: 14px 0; text-align: left; }
html.fx-unified-theme[data-theme] #ad-email-result :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice) { margin: 0; overflow-wrap: anywhere; }

/* Append to the existing design-v2-access.css. Do not restyle Google's iframe. */
@font-face {
  font-family: 'ATAFX Google Sans';
  src: url('/static/google-sans-medium-20261015.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
html.fx-unified-theme[data-theme] .fx-google-auth .fx-google-entry {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 400px);
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #8e918f;
  border-radius: 4px;
  background: #131314;
  color: #e3e3e3;
  font-family: 'ATAFX Google Sans', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
html.fx-unified-theme[data-theme] .fx-google-auth .fx-google-entry::before {
  content: '';
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: url('/static/google-g-brand-20261015.png') center / contain no-repeat;
}
html.fx-unified-theme[data-theme] .fx-google-auth .fx-google-entry[hidden] { display: none; }
html.fx-unified-theme[data-theme] .fx-google-auth .fx-google-entry:disabled { cursor: default; opacity: 1; }
html.fx-unified-theme[data-theme] .fx-google-auth .fx-google-entry:focus-visible { outline: 2px solid #e3e3e3; outline-offset: 3px; }
html.fx-unified-theme[data-theme] .fx-google-auth [data-google-button]:not(:empty) { min-height: 44px; padding-block: 4px; }

/* Source: brand\atafx-identity.css */
/* ATAFX product identity. Load after all existing design stylesheets.
 * These rules affect the five existing branding slots only. Image proportions
 * are preserved; there are no changes to header controls or page navigation.
 */
html.fx-unified-theme[data-theme] #app .atafx-identity {
  min-width:0;
}
html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-visual {
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 1 auto;
  width:164px;
  height:36px;
  max-width:100%;
  vertical-align:middle;
}
html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-visual > img {
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:left center;
  flex:none;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-visual > .atafx-brand-symbol {
  display:none;
}
html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-fallback {
  display:none;
  color:#f1f6f8;
  font:700 25px/1 'Segoe UI',Arial,sans-serif;
  letter-spacing:.02em;
  white-space:nowrap;
}
html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-fallback > span {
  color:#42e7cf;
}
html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-full.atafx-image-unavailable {
  display:none;
}
html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-full.atafx-image-unavailable ~ .atafx-brand-fallback {
  display:inline;
}
html.fx-unified-theme[data-theme] #app :is(.auth-header,.ad-auth-header) > .atafx-identity .atafx-brand-visual {
  width:176px;
  height:38px;
}
html.fx-unified-theme[data-theme] #app .ad-onboarding-header > .atafx-identity .atafx-brand-visual {
  width:156px;
  height:34px;
}
@media (min-width:768px) and (max-width:1279px) {
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity {
    justify-content:center;
    padding:6px 0 20px;
  }
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity .atafx-brand-visual {
    width:36px;
    height:36px;
    justify-content:center;
  }
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity .atafx-brand-full,
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity .atafx-brand-fallback,
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity .atafx-brand-full.atafx-image-unavailable ~ .atafx-brand-fallback {
    display:none;
  }
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity .atafx-brand-symbol {
    display:block;
    object-position:center;
  }
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity .atafx-brand-symbol.atafx-image-unavailable {
    display:none;
  }
  html.fx-unified-theme[data-theme] #app .sidebar > .atafx-identity .atafx-brand-symbol.atafx-image-unavailable ~ .atafx-brand-fallback {
    display:inline;
    font-size:10px;
    letter-spacing:0;
  }
}
@media (max-width:767px) {
  html.fx-unified-theme[data-theme] #app .topbar > .atafx-identity .atafx-brand-visual {
    width:148px;
    height:32px;
  }
  html.fx-unified-theme[data-theme] #app :is(.auth-header,.ad-auth-header) > .atafx-identity .atafx-brand-visual {
    width:140px;
    height:32px;
  }
  html.fx-unified-theme[data-theme] #app .ad-onboarding-header > .atafx-identity .atafx-brand-visual {
    width:140px;
    height:32px;
  }
  html.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-fallback {
    font-size:23px;
  }
}
@media (max-width:360px) {
  html.fx-unified-theme[data-theme] #app .topbar > .atafx-identity .atafx-brand-visual,
  html.fx-unified-theme[data-theme] #app :is(.auth-header,.ad-auth-header) > .atafx-identity .atafx-brand-visual {
    width:132px;
    height:30px;
  }
}

/* Product branding is a keyboard-accessible link back to Home. */
#app .atafx-identity > .atafx-home-link{display:inline-flex;align-items:center;max-width:100%;color:inherit;text-decoration:none;border-radius:4px}
#app .atafx-identity > .atafx-home-link:focus-visible{outline:2px solid #42e7cf;outline-offset:5px}

/* Source: home-reviewed.css */
/* Home presentation candidate, 2026-10-15.
 * Load after the existing design-v2 and product identity styles.
 * No data, financial state, authentication or activation settings. */
:root{
 --fx-surface-depth:0 1px 0 #d3f5ff0a inset,0 10px 28px #0000001f;
 --fx-control-depth:0 1px 0 #d4fff012 inset,0 3px 8px #00000024;
}
/* Small shared depth cues; text, inputs and financial values stay flat. */
html.fx-unified-theme #app :is(.card,.auth-card,.access-panel){box-shadow:var(--fx-surface-depth)}
html.fx-unified-theme #app .btn:not(:disabled){box-shadow:var(--fx-control-depth)}
html.fx-unified-theme #app .btn:active:not(:disabled){box-shadow:0 1px 4px #00000030 inset}

html.fx-cinematic-dashboard #app #page-content>.design-v2-dashboard>.card{box-shadow:var(--fx-surface-depth)}
html.fx-cinematic-dashboard #app #page-content>.design-v2-dashboard.fx-public-home{
 grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);grid-template-rows:auto auto auto;gap:16px;align-items:start;
}
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>.fx-home-intro{
 grid-column:1/-1;grid-row:1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr);
 min-height:245px;gap:24px;padding:28px 32px;overflow:hidden;border-color:#28515c;
 background:radial-gradient(ellipse at 86% 50%,#174b5738,transparent 58%),linear-gradient(118deg,#0a2630,#071a24 70%);
}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro .fx-home-eyebrow{margin:0 0 10px;color:#94c4ce;font-size:11px;letter-spacing:.14em;font-weight:600}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro h2{font-size:clamp(27px,2.8vw,40px);font-weight:650;line-height:1.15;letter-spacing:-.035em;margin:0 0 14px;max-width:620px;color:#f3fbff}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro h2>span{color:#42e7cf}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro-copy>p:not(.fx-home-eyebrow){max-width:600px;font-size:14px;line-height:1.65;color:#b6ccd6;margin:0 0 18px}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro-actions .btn{min-width:112px;padding:9px 16px;font-size:13px;border-radius:8px}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro-actions .text-button{padding:8px 10px}
/* Abstract product illustration: no fabricated account balances or market data. */
html.fx-cinematic-dashboard #app #page-content .fx-home-intro-visual{position:relative;isolation:isolate;align-self:center;height:215px;min-width:0;pointer-events:none}
html.fx-cinematic-dashboard #app #page-content .fx-home-intro-visual::before{content:'';position:absolute;inset:12% 8%;background:radial-gradient(ellipse,#2ed2bd19,transparent 70%);border-radius:50%;filter:blur(9px)}
html.fx-cinematic-dashboard #app #page-content .fx-home-orbit{position:absolute;left:5%;top:10%;width:86%;height:76%;border:1px solid #7fc9dc24;border-radius:50%;transform:rotate(-17deg);box-shadow:0 -1px 0 #7fd5ed13 inset}
html.fx-cinematic-dashboard #app #page-content .fx-home-orbit-two{top:19%;left:13%;width:70%;height:62%;transform:rotate(26deg);border-color:#52e2c519}
html.fx-cinematic-dashboard #app #page-content .fx-home-float{position:absolute;z-index:2;display:flex;align-items:center;gap:12px;width:235px;padding:17px;border:1px solid #6995a452;border-radius:13px;background:linear-gradient(125deg,#1a3946,#0b222eea);box-shadow:0 2px 0 #b4eeff0d inset,0 16px 24px #00000032;font-size:14px;color:#edf8fb}
html.fx-cinematic-dashboard #app #page-content .fx-home-float>svg{width:30px;height:30px;flex:0 0 30px;padding:5px;border-radius:8px;background:#2dd7bb19;color:#68ecd5}
html.fx-cinematic-dashboard #app #page-content .fx-home-float small{display:block;font-size:11px;color:#a2bdc9;margin-top:4px;line-height:1.4}
html.fx-cinematic-dashboard #app #page-content .fx-home-float-market{top:31px;left:6%}
html.fx-cinematic-dashboard #app #page-content .fx-home-float-account{top:124px;right:4%;z-index:3}
html.fx-cinematic-dashboard #app #page-content .fx-home-currency-mark{position:absolute;z-index:3;display:grid;place-items:center;width:43px;height:43px;border:1px solid #4d839469;border-radius:50%;color:#d8f9ff;font-size:24px;background:radial-gradient(circle at 28% 22%,#376b7d,#143b4d 57%,#091e2e);box-shadow:0 2px 0 #c1f3ff1a inset,0 8px 14px #0005}
html.fx-cinematic-dashboard #app #page-content .fx-home-currency-usd{top:6px;right:15%;color:#65edcf}
html.fx-cinematic-dashboard #app #page-content .fx-home-currency-eur{left:0;bottom:15px;width:36px;height:36px;font-size:20px}
html.fx-cinematic-dashboard #app #page-content .fx-home-currency-yen{right:-1%;top:85px;width:31px;height:31px;font-size:18px}
/* Public prices and recorded history replace empty private account cards. */
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>.dv2-market{grid-column:1;grid-row:2/4;min-width:0;padding:16px}
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>.dv2-globe{grid-column:2;grid-row:2}
html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>.fx-home-guide{grid-column:2;grid-row:3;padding:18px}
html.fx-cinematic-dashboard #app #page-content .fx-public-home .fx-market-chart-slot{margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #23414d}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .market-chart-card{box-shadow:none;border-color:#284550}
html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .market-chart-card .large-chart{height:auto;min-height:220px}
html.fx-cinematic-dashboard #app #page-content .fx-home-guide ol{list-style:none;padding:0;margin:4px 0 0;display:grid;gap:16px}
html.fx-cinematic-dashboard #app #page-content .fx-home-guide li{display:flex;gap:12px;align-items:flex-start;margin:0;min-width:0}
html.fx-cinematic-dashboard #app #page-content .fx-home-guide li>span{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border-radius:10px;background:#1d4a4d66;border:1px solid #396a6b55;color:#6be6d2;box-shadow:0 1px 0 #b1fff012 inset}
html.fx-cinematic-dashboard #app #page-content .fx-home-guide li>span svg{width:19px;height:19px}
html.fx-cinematic-dashboard #app #page-content .fx-home-guide li h3{font-size:14px;line-height:1.45;margin:0 0 3px}
html.fx-cinematic-dashboard #app #page-content .fx-home-guide li p{font-size:13px;line-height:1.55;color:#a9c4d1;margin:0}
/* One interactive 3D globe. Existing country search and rate bindings remain. */
html.fx-cinematic-dashboard #app #page-content .dashboard-page.design-v2-dashboard[data-key]>.fx-home-map[data-key]{padding:0;overflow:hidden;border-radius:10px}
html.fx-cinematic-dashboard #app #page-content .fx-home-map-heading{padding:15px 16px 11px;border-bottom:1px solid #223e4b}
html.fx-cinematic-dashboard #app #page-content .fx-home-map-heading h2{font-size:17px;margin:0 0 3px}
html.fx-cinematic-dashboard #app #page-content .fx-home-map-heading p{font-size:12px;line-height:1.5;color:#a4c1d2;margin:0}
html.fx-cinematic-dashboard #app #page-content .fx-home-map>.geography-card{border:0;padding:0;margin:0;background:transparent;box-shadow:none;border-radius:0}
html.fx-cinematic-dashboard #app #page-content .fx-home-map>.geography-card>.card-head{display:none}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .geography-viewport{min-height:0;padding:0}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .workspace-globe{height:375px;min-height:320px;margin:0;width:100%}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .exchange-globe{border-radius:0;min-height:0;background:#06131e}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-top{gap:7px;padding:9px;flex-wrap:wrap;background:#0a202ad9;border-bottom:1px solid #2b4955;box-shadow:0 1px 0 #a2dcff08 inset}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-search{min-width:145px;max-width:none;flex:1 1 145px}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-search input{min-height:44px;padding:9px 10px;font-size:13px;border-color:#355966;background:#081922}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-tools{gap:4px;max-width:none;flex:0 0 auto;margin-left:auto}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-tools button{min-width:36px;min-height:44px;padding:6px;font-size:13px;background:#102935;border:1px solid #365967;box-shadow:0 1px 0 #d3f1ff09 inset}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-label{background:#071b27eb;border-color:#719aab52;box-shadow:0 4px 12px #0005;text-shadow:none}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-info{max-width:min(78%,330px);padding:10px 12px;background:#071a27ed;border-color:#456e805c;box-shadow:0 5px 16px #0005;font-size:12px;line-height:1.5}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-info strong{font-size:13px}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-quote-values b{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-quote-details>summary{font-size:12px;min-height:44px}
html.fx-cinematic-dashboard #app #page-content .fx-home-map :is(.route-ribbon,.fx-home-map-note){padding:11px 16px;margin:0;border-top:1px solid #223e4b;font-size:12px;line-height:1.5;color:#a4c1d2}
html.fx-cinematic-dashboard #app #page-content .fx-home-map .route-ribbon{display:flex;flex-wrap:wrap;gap:6px 10px}
@media(768px <= width < 1200px){
 html.fx-cinematic-dashboard #app #page-content>.design-v2-dashboard.fx-public-home{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:14px}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>.fx-home-intro{grid-template-columns:minmax(0,1fr) minmax(230px,.7fr);gap:12px;padding:24px}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>:is(.dv2-market,.dv2-globe,.fx-home-guide){grid-column:1;grid-row:auto}
 html.fx-cinematic-dashboard #app #page-content .fx-home-intro .fx-home-float{width:200px;padding:14px;gap:10px}
}
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content>.design-v2-dashboard.fx-public-home{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:12px}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home[data-key]>.fx-home-intro[data-key]{display:block;grid-column:1;grid-row:auto;padding:20px 16px;min-height:0;overflow:hidden}
 html.fx-cinematic-dashboard #app #page-content .fx-home-intro h2{font-size:29px;line-height:1.17;max-width:360px;margin-bottom:12px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-intro-copy>p:not(.fx-home-eyebrow){font-size:13px;line-height:1.6;margin-bottom:14px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-intro-actions{gap:8px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-intro-actions .btn{flex:1 1 100px;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .fx-home-intro-actions .text-button{flex-basis:100%;padding:6px 0;text-align:left;min-height:44px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-intro-visual{height:140px;max-width:345px;margin:3px auto 0}
 html.fx-cinematic-dashboard #app #page-content .fx-home-float{width:190px;padding:12px;gap:9px;font-size:12px;border-radius:10px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-float small{font-size:10px;margin-top:2px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-float>svg{width:28px;height:28px;flex-basis:28px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-float-market{top:9px;left:2%}
 html.fx-cinematic-dashboard #app #page-content .fx-home-float-account{top:78px;right:2%}
 html.fx-cinematic-dashboard #app #page-content .fx-home-currency-mark{width:32px;height:32px;font-size:18px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-currency-usd{top:2px;right:10%}
 html.fx-cinematic-dashboard #app #page-content .fx-home-currency-eur{left:6%;bottom:7px;width:28px;height:28px;font-size:17px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-currency-yen{display:none}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home[data-key]>:is(.dv2-market,.dv2-globe,.fx-home-guide)[data-key]{grid-column:1;grid-row:auto}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>.dv2-market{padding:12px}
 html.fx-cinematic-dashboard #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home>.fx-home-guide{padding:16px}
 html.fx-cinematic-dashboard #app #page-content .fx-public-home .fx-market-chart-slot{margin-bottom:10px;padding-bottom:8px}
 html.fx-cinematic-dashboard #app #page-content .design-v2-dashboard .dv2-market .market-chart-card .large-chart{height:auto;min-height:200px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .workspace-globe{height:385px;min-height:320px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-search{flex-basis:100%;min-width:0}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-tools{margin:0;width:100%;justify-content:space-between}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-tools button{min-width:44px;min-height:44px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-info{max-width:84%;padding:8px 10px;font-size:12px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-info strong{font-size:13px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-quote-values b{font-size:13px}
 html.fx-cinematic-dashboard #app #page-content .fx-home-map .eg-label{font-size:10px;max-width:145px}
}

/* Measured 360/390px: let the SVG caption occupy real layout space. */
@media(max-width:767px){
 html.fx-cinematic-dashboard #app #page-content .dv2-market .chart-status,
 html.fx-cinematic-dashboard #app #page-content .dv2-market .chart-scale,
 html.fx-cinematic-dashboard #app #page-content .dv2-market #market-tick-status{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
 html.fx-cinematic-dashboard #app #page-content .dv2-market :is(.market-price-facts,.market-observed-stats){grid-template-columns:repeat(2,minmax(0,1fr))}
 html.fx-cinematic-dashboard #app #page-content .dv2-market .quote-head{flex-wrap:wrap;gap:8px}
 html.fx-cinematic-dashboard #app #page-content .dv2-market .quote-head>div:last-child{max-width:none;flex:1 0 100%;display:flex;justify-content:space-between;gap:8px}
}

/* Source: connected-design.css */
/* Approved connected design, 2026-10-16. Presentation only.
   Existing data attributes, chart mounts, actions and permission checks own behavior.
   Late, explicit scope overrides prior dark presentations without hiding real data. */
@font-face{font-family:ATAConnected;src:url('/static/google-sans-medium-20261015.ttf') format('truetype');font-weight:100 900;font-display:swap}
html.fx-connected-design.fx-unified-theme[data-theme]{color-scheme:light;--bg:#F4F6FA;--panel:#fff;--panel2:#f8faff;--panel-2:#f8faff;--line:#E1E7F0;--panel-edge:#E1E7F0;--text:#101827;--muted:#697488;--accent:#345FF1;--teal:#137f60;--danger:#bd4b50;--gold:#95651a;--surface-soft:#f4f6fa;--surface-hover:#edf2ff;--accent-soft:#eef2ff;--accent-line:#c5d1fa;--danger-soft:#fff0f1;--danger-line:#e9b3b7;--warning-soft:#fff7e8;--warning-line:#ead6ae;--info-soft:#eef3ff;--info-text:#345396;--chart-grid:#e5eaf3;--chart-text:#7c899d;--chart-up:#137f60;--chart-down:#bd4b50;--chart-secondary:#345FF1;--chart-area:rgba(52,95,241,.1);--quote-flash:#e0f3eb;--fx-primary-bg:#345FF1;--fx-primary-hover:#264dd1;--fx-control-bg:#fff;--fx-control-border:#dce2ee;--fx-focus:#8fa7ff;--fx-radius:15px;--radius:15px;--theme-shadow:0 5px 18px #14274105;--fx-surface-depth:0 5px 18px #14274105;--fx-control-depth:0 2px 2px #0b153304;--connected-sidebar:218px;--connected-header:88px;--connected-gutter:40px;font-family:ATAConnected,Arial,sans-serif;font-size:14px}
html.fx-connected-design.fx-unified-theme[data-theme] body{background:#F4F6FA;color:#101827;font-family:ATAConnected,Arial,sans-serif;-webkit-font-smoothing:antialiased}
html.fx-connected-design.fx-unified-theme[data-theme] :is(button,input,select,textarea){font-family:inherit}
html.fx-connected-design.fx-unified-theme[data-theme] :is(h1,h2,h3){color:var(--text);letter-spacing:-.02em}
html.fx-connected-design.fx-unified-theme[data-theme] :is(a,.text-button){color:#345FF1}
html.fx-connected-design.fx-unified-theme[data-theme] :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #8fa7ff;outline-offset:3px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(.card,.metric,.summary-metric,.ad-card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.ad-metric,.auth-card){background:#fff;border:1px solid #E1E7F0;border-radius:15px;box-shadow:0 5px 18px #14274103;color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] :is(.meta,.footnote,small,.hint){color:#697488;line-height:1.55}
html.fx-connected-design.fx-unified-theme[data-theme] :is(.btn,.icon-button,.tab){background:#fff;color:#29364e;border:1px solid #dce2ee;border-radius:9px;min-height:44px;box-shadow:0 2px 2px #0b153304;font-size:13px;line-height:1.4}
html.fx-connected-design.fx-unified-theme[data-theme] .btn{padding:11px 18px;gap:8px;white-space:normal;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] .btn.primary{background:#345FF1;border-color:#345FF1;color:#fff;box-shadow:0 6px 15px #345ff125}
html.fx-connected-design.fx-unified-theme[data-theme] .btn.primary:hover:not(:disabled){background:#264dd1;border-color:#264dd1}
html.fx-connected-design.fx-unified-theme[data-theme] .btn.primary:active:not(:disabled){background:#1f40b2}
html.fx-connected-design.fx-unified-theme[data-theme] .btn:hover:not(.primary):not(:disabled){background:#f2f5ff;border-color:#aebfea}
html.fx-connected-design.fx-unified-theme[data-theme] .text-button{background:transparent;border:0;box-shadow:none;min-height:44px;padding:5px 0;font-size:12px;line-height:1.4;color:#345FF1;white-space:normal}
html.fx-connected-design.fx-unified-theme[data-theme] :is(input,select,textarea){background:#fff;color:#101827;border:1px solid #d8e1ee;border-radius:9px;min-height:44px;max-width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] :is(input,textarea)::placeholder{color:#8591a3}
html.fx-connected-design.fx-unified-theme[data-theme] :is(.positive,.teal){color:#137f60}
html.fx-connected-design.fx-unified-theme[data-theme] .negative{color:#bd4b50}
html.fx-connected-design.fx-unified-theme[data-theme] .badge{background:#f0f3f8;color:#627189;border:1px solid #e4eaf2;border-radius:6px;font-size:11px;line-height:1.4;padding:4px 7px}
html.fx-connected-design.fx-unified-theme[data-theme] .badge.teal{background:#eaf6f1;color:#137f60;border-color:#cfe9df}
html.fx-connected-design.fx-unified-theme[data-theme] :is(.badge.red,.badge.danger){background:#fff0f1;color:#b24148;border-color:#edc4c8}
html.fx-connected-design.fx-unified-theme[data-theme] :is(.badge.gold,.badge.amber){background:#fff7e8;color:#94641d;border-color:#ebdbbd}
html.fx-connected-design.fx-unified-theme[data-theme] :is(th,td){border-color:#e5eaf2}
html.fx-connected-design.fx-unified-theme[data-theme] th{background:#f8faff;color:#78859a;font-size:12px;font-weight:500;text-transform:none;letter-spacing:0}
html.fx-connected-design.fx-unified-theme[data-theme] dialog#modal{background:#fff;border-color:#dce3ee;border-radius:16px;color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] dialog#modal::backdrop{background:#10182780;backdrop-filter:blur(3px)}
html.fx-connected-design.fx-unified-theme[data-theme] :is(.empty,.loading){background:transparent;color:#697488}
/* Shared shell. Staff workspace has its own adapter loaded after this sheet. */
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar{position:fixed;inset:0 auto 0 0;width:var(--connected-sidebar);padding:36px 18px 24px;background:#fff;border:0;border-right:1px solid #E1E7F0;display:flex;flex-direction:column;z-index:55;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .brand{display:flex;align-items:center;gap:9px;min-height:0;padding:0 12px 37px;border:0;font-size:24px;line-height:1.2;letter-spacing:-.04em;color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .brand>img{width:38px;height:30px;object-fit:contain}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .brand small{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-caption{display:block;margin:0 16px 15px;font-size:10px;letter-spacing:1.9px;color:#8e9aac}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar nav{display:grid;gap:7px;padding:0;min-height:0;overflow:auto;scrollbar-width:thin}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item{display:flex;align-items:center;gap:14px;width:100%;min-height:45px;padding:12px 15px;border:0;border-radius:10px;background:transparent;color:#758094;font-size:13px;font-weight:500;line-height:1.4;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item svg{width:19px;height:19px;flex:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item.active{background:#ecf0ff;color:#345FF1;border:0;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item.active::after{content:'';width:5px;height:5px;border-radius:50%;margin-left:auto;background:#345FF1}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item.active::before{content:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item.active svg{color:inherit}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .sidebar-foot{margin-top:auto;padding:24px 14px 0;border:0;color:#8b96a7;font-size:10px;line-height:1.8}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .sidebar-foot p{margin:4px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar :is(.connection-status,.clock){display:block;margin:5px 0;padding:0;border:0;font-size:10px;color:#697488}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .clock b{display:block;font-size:11px;color:#526179}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.main{margin-left:var(--connected-sidebar);padding:var(--connected-header) 0 0;width:auto;min-width:0;background:#F4F6FA;max-width:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar{position:fixed;inset:0 0 auto var(--connected-sidebar);height:var(--connected-header);min-height:var(--connected-header);padding:0 var(--connected-gutter);display:flex;align-items:center;justify-content:flex-start;gap:18px;background:#fafbfe;border:0;border-bottom:1px solid #E1E7F0;z-index:60;box-shadow:none;backdrop-filter:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .top-search{display:flex;align-items:center;gap:11px;max-width:250px;min-width:0;flex:1;background:transparent;border:0;border-radius:0;color:#8a94a6;font-size:12px;padding:0;min-height:44px;text-align:left}
html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .top-search svg{width:17px;height:17px;flex:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .top-search kbd{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fixed-finance-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fixed-finance-actions .btn{height:44px;min-height:44px;min-width:112px;padding:10px 18px;font-size:13px;box-sizing:border-box}
html.fx-connected-design.fx-unified-theme[data-theme] #app .top-actions{display:flex;align-items:center;gap:12px;flex:none;padding:0;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app .top-actions.public-auth-actions{margin-left:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app .account-menu{display:flex;align-items:center;gap:8px;padding:0;min-height:44px;border:0;background:none;color:#47566d;font-size:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app .account-menu .avatar{width:32px;height:32px;background:#e6ecff;color:#345FF1;font-size:11px;border:0;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app .notification-button{position:relative;min-width:36px;width:36px;min-height:44px;padding:8px;border:0;box-shadow:none;background:none;color:#66768e}
html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .mobile-brand{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .breadcrumb h1{font-size:14px;white-space:normal}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content{padding:27px var(--connected-gutter) 24px;margin:0 auto;max-width:1700px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer{padding:23px 0 30px;margin:12px var(--connected-gutter) 0;border-top:1px solid #dfe5ed;background:transparent;color:#8b96a7;font-size:11px;line-height:1.8}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer a{font-size:12px;color:#718099}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer :is(.fx-company-info,.fx-contact-details){background:none;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.mobile-nav{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #workspace-connection-banner{margin:12px var(--connected-gutter) 0}
/* Member Home: balance, performance + actual route panels, then rates and map. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard{display:block;grid-template-columns:none;grid-template-rows:none;padding:0;margin:0;color:#101827;line-height:1.45;isolation:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard::before{content:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard :is(.card,.metric){border:1px solid #E1E7F0;border-radius:18px;background:#fff;box-shadow:0 5px 18px #14274103;padding:24px;min-width:0;color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard :is(h2,h3){font-size:18px;font-weight:600;letter-spacing:-.02em;line-height:1.4;color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard :is(small,.meta,.footnote,.card-head p){color:#8a96a8;font-size:11px;line-height:1.55}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard :is(.card-head,.conversion-head){padding:0;margin:0 0 16px;min-height:0;gap:10px 14px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .text-button{color:#345FF1;font-size:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .positive{color:#137f60}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .negative{color:#bd4b50}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard>.dv2-balance{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;align-items:start;margin:0 0 22px;padding:29px 28px;min-height:0;border:0;border-radius:20px;background:#101827;color:#fff;box-shadow:0 12px 26px #0e20420b}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-balance>div,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-available{display:grid!important;grid-column:auto;grid-row:auto;gap:9px;padding:0;min-height:0;min-width:0;border:0;border-right:0!important;background:transparent;text-align:left;color:#fff;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-balance :is(span,.dv2-available>span){color:#9caac1;font-size:12px;line-height:1.5;display:inline}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-balance strong{font-size:28px;font-weight:500;line-height:1.3;letter-spacing:-.035em;color:#fff;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-profit-balance strong{color:#9fb4ff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:22px;align-items:stretch}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-activity{display:grid;grid-template-rows:auto 1fr;gap:18px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-performance{display:block;margin:0;padding:25px 26px;min-height:0;background:#fff;border:1px solid #E1E7F0;border-radius:18px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-performance .card-head{align-items:flex-start;flex-wrap:wrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-performance .card-head h2{font-size:17px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:10px 15px;padding:12px 0 14px;border:0;border-radius:0;box-shadow:none;background:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics>div{padding:0;border:0;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics :is(h2,span){font-size:11px;font-weight:400;color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics strong{display:block;font-size:24px;line-height:1.4;font-weight:500;margin-top:6px;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-result-basis{grid-column:1/-1;font-size:11px;color:#8a96a8;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .performance-total{display:flex;flex-wrap:wrap;gap:5px 10px;color:#8a96a8;font-size:11px;margin:0 0 8px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .performance-total>strong{font-size:18px;font-weight:500}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .large-chart{height:auto;min-height:170px;margin:0;width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .chart-empty{padding:24px 12px;min-height:170px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 41px,#edf0f6 42px);color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .chart-empty :is(strong,p){font-size:12px;font-weight:400;background:#fff;color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current{grid-column:auto;grid-row:auto;margin:0;padding:24px;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .card-head h2{font-size:16px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current-path{margin:15px 0 7px;min-height:0;color:#101827;font-size:18px;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .conversion-reason{font-size:12px;line-height:1.7;margin:0;color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases{display:flex;margin:19px 0;gap:10px;list-style:none;padding:0;color:#a2adbd}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .execution-phases li{display:flex;align-items:center;gap:6px;flex:1;min-width:0;color:#8a96a8;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .execution-phases li>span{width:22px;height:22px;flex:none;border:1px solid #dce3ee;color:#8a96a8;background:#fff;border-radius:50%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .execution-phases li.current>span{background:#eef2ff;border-color:#9fb4ff;color:#345FF1}
/* Keep connectors in their own flex space; the old absolute :before crossed labels. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current{container:conversion-card / inline-size;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases{width:100%;gap:12px;box-sizing:border-box}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li{position:relative;display:flex;align-items:center;gap:6px;flex:1 1 0;min-width:0;line-height:1.4}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li::before{content:none;display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li::after{content:"";position:static;display:block;flex:1 1 8px;min-width:8px;height:1px;margin-left:6px;background:#dce3ee}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li:last-child{flex:0 0 auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li:last-child::after{content:none;display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li>b{flex:none;white-space:nowrap;line-height:1.4;text-decoration:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li>span{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;line-height:1}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .conversion-actions{max-width:100%;border-top:1px solid #e1e7f0;padding-top:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .conversion-actions>button{max-width:100%;white-space:normal;overflow-wrap:anywhere;height:auto;min-height:42px}
@container conversion-card (max-width:360px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li{display:flex;flex-direction:column;gap:6px;align-items:center}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .execution-phases li::after{position:absolute;top:12px;left:calc(50% + 18px);width:calc(100% - 36px);min-width:0;margin:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current .conversion-actions>button{width:100%;text-align:center}
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .conversion-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .conversion-next{display:block;margin-top:10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current-mobile-status,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-mobile-current-details{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-recent{grid-column:auto;grid-row:auto;min-height:0;margin:0;padding:20px 24px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-recent .card-head h2{font-size:15px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-recent .dv2-empty{padding:0;margin:18px 0 0;min-height:0;color:#8a96a8;font-size:12px;line-height:1.7}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-recent-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0;border-color:#e5eaf2;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-recent-row .dv2-recent-status{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:34px 0 17px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-section-heading h2{font-size:20px;line-height:1.35;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-section-heading p{font-size:11px;color:#8b96a7;margin:6px 0 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-home-markets{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start}
/* Public Home uses the same one interactive globe and real rate/chart mounts. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .connected-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:0;border:0;border-radius:24px;min-height:553px;background:linear-gradient(112deg,#111b2e,#101827 64%);color:#fff;overflow:hidden;box-shadow:0 18px 40px #15294c0d}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy{padding:54px 0 54px 42px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;z-index:1}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-eyebrow{font-size:10px;letter-spacing:2.6px;font-weight:600;color:#8c9cb9;margin:0 0 22px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero h2{font-size:clamp(41px,4.2vw,62px);letter-spacing:-.047em;line-height:1.08;font-weight:500;margin:0 0 25px;max-width:630px;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero h2>span{color:#92aaff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy>p:not(.fx-home-eyebrow){font-size:13px;line-height:1.8;color:#9eabc2;max-width:390px;margin:0 0 27px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-actions{display:flex;gap:10px;flex-wrap:wrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-actions .btn:not(.primary){background:#ffffff0a;color:#e5eafa;border-color:#5c6b833f}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy>.connected-hero-note{margin:29px 0 0;font-size:10px;line-height:1.7;color:#7989a5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero-map{min-width:0;padding:23px 16px 20px 0;background:radial-gradient(ellipse at 52% 47%,#375fac27,transparent 60%)}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero-map .fx-home-map{min-height:510px;border:0;border-radius:0;background:transparent;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map{padding:0;overflow:hidden;border:0;border-radius:20px;background:linear-gradient(135deg,#14213a,#101827);min-height:570px;color:#dce6f8;position:relative}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .fx-home-map-heading{position:relative;z-index:1;margin:0;padding:23px 26px 8px;background:none;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map-heading h2{font-size:13px;color:#b4c3df;letter-spacing:.01em;font-weight:500;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map-heading p{font-size:11px;color:#8396b5;line-height:1.5;margin:5px 0 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map>.geography-card{background:none;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;color:#dce6f8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map>.geography-card>.card-head{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe{height:440px;min-height:360px;width:100%;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe{min-height:0;border-radius:0;background:transparent;color:#dce6f8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top{padding:10px 22px;background:transparent;border:0;gap:5px;flex-wrap:wrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-search{flex:1 1 140px;min-width:110px;max-width:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(input,.eg-tools button){background:#14213b;border:1px solid #3b4f72;color:#d4e0f4;border-radius:8px;min-height:36px;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map input{padding:8px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-tools{gap:4px;margin:0;flex:none;width:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-tools button{min-width:30px;padding:5px;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(.eg-label,.eg-info){background:#101c32eb;border-color:#8098c647;color:#d1def3;border-radius:8px;box-shadow:0 4px 14px #0003;text-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-label.selected{border-color:#9db5ff;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(.eg-info strong,.eg-quote-price){color:#edf3ff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(.eg-quote-status,.eg-quote-pair,.eg-country-name,small){color:#a6b4ce}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(.route-ribbon,.fx-home-map-note){padding:12px 26px;margin:0;border:0;border-top:1px solid #aabfff16;color:#8396b5;font-size:11px;line-height:1.6;background:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .route-ribbon{display:flex;flex-wrap:wrap;gap:5px 10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .fx-home-guide{margin:32px 0 6px;padding:0;border:0;background:transparent;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide>.card-head{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0;padding:0;list-style:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide li{display:flex;gap:13px;align-items:flex-start;margin:0;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide li>span{display:grid;place-items:center;width:35px;height:35px;flex:0 0 35px;border:1px solid #dfe5f2;border-radius:10px;background:none;box-shadow:none;color:#5b78c5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide li h3{font-size:13px;margin:0 0 6px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide li p{font-size:11px;line-height:1.7;color:#8a95a7;margin:0}
/* One quote node layout throughout Home/Markets; original raw values/times stay intact. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .connected-rate-panel{padding:0;overflow:visible;border:1px solid #E1E7F0;border-radius:18px;display:block;background:#fff;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-list{min-width:0;padding:20px 22px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-list>.card-head h2{font-size:16px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-chart{border-top:1px solid #e7ebf2;min-width:0;padding:16px 22px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-information{padding:0 22px 14px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .connected-public-rates{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates .connected-rate-chart{border-top:0;border-left:1px solid #e7ebf2;padding-top:20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates .connected-rate-information{grid-column:1/-1}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.fx-rate-row,.fx-rate-head){display:grid;grid-template-columns:minmax(110px,1.15fr) minmax(92px,1fr) minmax(70px,.72fr) 36px;gap:2px 10px;align-items:center;padding:10px 0;border-color:#edf0f5;min-height:0;font-variant-numeric:tabular-nums}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-row{position:relative;background:transparent;box-shadow:none;border-top:1px solid #edf0f5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-row.selected{background:#f2f5ff;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-head{font-size:10px;color:#8e9bae;font-weight:400;padding:8px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-head>:nth-child(n+4){display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair{grid-column:1;grid-row:1/3;display:flex;align-items:center;gap:8px;min-width:0;padding:2px 0;min-height:44px;border:0;color:#101827;background:none;white-space:normal}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair b{font-size:12px;line-height:1.4;white-space:nowrap;color:#26344a}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair small{font-size:10px;line-height:1.4;color:#8f9bad;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair .currency-flag{width:25px;height:19px;flex:0 0 25px;border-radius:3px;overflow:hidden}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-price{grid-column:2;grid-row:1/3;font-size:13px;line-height:1.5;text-align:right;white-space:normal;overflow-wrap:anywhere;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-price b{font-size:inherit;letter-spacing:-.01em;font-weight:500;white-space:normal;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-day{grid-column:3;grid-row:1;align-self:end;text-align:right;font-size:12px;line-height:1.4;white-space:normal}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-status{display:block;grid-column:3;grid-row:2;align-self:start;text-align:right;font-size:10px;line-height:1.5;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-status :is(.badge,[data-market-status]){display:block;padding:0;margin:0;border:0;box-shadow:none;border-radius:0;background:none;font-size:10px;line-height:1.5;color:#8996a9}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-status>small{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-trend{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-actions{grid-column:4;grid-row:1/3;display:flex;align-items:center;justify-content:center;gap:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-actions .fx-rate-view{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-actions .icon-button{width:32px;min-width:32px;min-height:44px;background:none;border:0;color:#8996a9;font-size:18px;padding:0;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-more{grid-column:1/-1;grid-row:3;padding:0;margin:0;color:#8996a9;font-size:10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-more>summary{width:max-content;max-width:calc(100% - 58px);margin:0;min-height:28px;line-height:28px;text-align:left;font-size:10px;padding:0;color:#8996a9}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-more>div{display:flex;flex-wrap:wrap;gap:8px 14px;padding:8px 0;line-height:1.6;font-size:11px;color:#697488}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-mobile-trend{display:block}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(105px,1fr) minmax(85px,.9fr) minmax(65px,.72fr)}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel .fx-rate-actions{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:#8e9bae;padding:14px 0;border-color:#e7ebf2}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-pagination .btn{min-height:36px;padding:6px 10px;font-size:11px;border-radius:7px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-dashboard-pagination>span{margin-right:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel .fx-market-chart-slot{margin:0;padding:0;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-chart-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 8px;border:0;color:#8a96a8;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-chart-toggle .btn{min-height:36px;padding:6px 9px;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel .market-chart-card{padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;display:block}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel .market-chart-header{padding:0;background:none;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel .market-chart-header .card-head{margin:0 0 10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-chart-header h2{font-size:18px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-head{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:0;margin:12px 0;color:#101827;background:none;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-head>div{min-width:0;max-width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-head strong{font-size:30px;line-height:1.4;font-weight:500;white-space:normal;overflow-wrap:anywhere;color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-head small{display:block;font-size:11px;line-height:1.5;color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:11px;color:#8a96a8;margin:8px 0 13px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-meta .badge{font-size:10px;padding:0;border:0;background:none;color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .chart-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 8px;background:none;border:0;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .period-switch{display:flex;gap:4px;flex-wrap:wrap;background:none;border:0;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .period-switch button{min-width:32px;min-height:36px;font-size:11px;padding:6px 8px;background:transparent;border:0;color:#8d9aad;box-shadow:none;border-radius:6px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .period-switch button.active{color:#345FF1;background:#eef2ff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .chart-options{display:flex;align-items:center;gap:5px;max-width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .chart-options :is(select,button){min-height:36px;font-size:11px;padding:5px 8px;max-width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-chart-card .large-chart{height:auto;min-height:210px;margin:0;max-width:100%;overflow:visible}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-chart-secondary{padding:14px 0 0;border:0;border-top:1px solid #edf0f5;margin-top:12px;background:none;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-chart-secondary h3{font-size:12px;color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-price-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:12px 0;padding:0;border:0;background:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-price-facts>div{min-width:0;padding:0;background:none;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-price-facts b{display:block;font-size:12px;overflow-wrap:anywhere;color:#526179}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.chart-status,.chart-data-details,.tick-chart-panel,.fx-market-data-info){font-size:11px;line-height:1.6;color:#8a96a8;background:none;border-color:#e7ebf2}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.chart-data-details,.fx-market-data-info)>summary{min-height:36px;line-height:1.5;padding:8px 0;cursor:pointer;font-size:11px;color:#718099}
/* Markets and Auto are native page layouts, not preview/placeholder markup. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.page-header,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-trading-page>.page-header{margin:0 0 24px;padding:0;border:0;display:flex;align-items:center;justify-content:space-between;gap:16px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .page-header h1{font-size:34px;line-height:1.2;font-weight:500;margin:0 0 8px;letter-spacing:-.035em}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .page-header p{color:#7e8b9f;font-size:13px;line-height:1.65}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-search-bar{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start;margin:0 0 16px;padding:0;background:none;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-controls{flex:1;min-width:250px;display:block}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-primary-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:230px;background:#fff;border:1px solid #E1E7F0;border-radius:9px;padding:0 12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .search-field input{border:0;background:none;font-size:12px;min-width:0;width:100%;min-height:44px;padding:10px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.market-quick-filters,.view-switch){display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:none;border:0;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.view-switch button,.market-quick-filters .tab){min-height:44px;padding:9px 12px;border:1px solid #E1E7F0;border-radius:8px;background:#fff;color:#718099;font-size:12px;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.view-switch button.active,.market-quick-filters .tab[aria-pressed=true]){background:#edf2ff;color:#345FF1;border-color:#bfcef7}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-extra-filters{padding:8px 0 0;color:#718099;font-size:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-extra-filters>div{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-extra-filters select{font-size:12px;padding:8px;min-width:130px;max-width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-pair-explorer{padding:17px 22px;border:1px solid #E1E7F0;border-radius:15px;background:#fff;color:#516078;margin-bottom:20px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-design-grid.fx-list-first{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-design-grid.country-map-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-explorer{padding:24px;margin:0;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-currency-list{max-height:none;overflow:visible}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-detail-column{display:grid;gap:20px;min-width:0;position:static}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-detail-column .market-chart-card{padding:24px;display:block;background:#fff;border:1px solid #E1E7F0;border-radius:15px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-comparison-disclosure{padding:16px 22px;margin:0;color:#718099;border-radius:15px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .orderbook-card{padding:24px;margin-top:20px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .orderbook-card .card-head h2{font-size:18px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .orderbook-card .empty{padding:28px 12px;min-height:0;text-align:center;background:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-status-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px 22px;background:#fff;border:1px solid #E1E7F0;border-radius:15px;margin-bottom:20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-status-bar p{flex:1;min-width:200px;margin:0;font-size:13px;color:#718099}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-status-bar small{font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-metrics .metric{padding:20px 22px;border-radius:15px;min-width:0;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-metrics .metric strong{font-size:26px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-route-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 18px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-route-heading h2{font-size:22px;margin:5px 0 0;line-height:1.4}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:20px;align-items:stretch;margin-bottom:20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid .card{padding:24px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid .geography-card{background:linear-gradient(135deg,#14213a,#101827);color:#dce6f8;border:0;overflow:hidden}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid .geography-card h2{font-size:16px;color:#dce6f8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid .geography-card :is(small,.meta){color:#8396b5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid .workspace-globe{height:360px;min-height:300px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid .exchange-globe{background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-execution .card-head h2{font-size:18px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-execution .route-result{padding:16px 0 0;border-color:#e5eaf2;background:none;margin-top:16px;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;color:#718099}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-lower-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;margin:0 0 20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-lower-grid .card{padding:24px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-analysis-details{padding:20px 24px;margin:0 0 20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-balance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px 0;background:none;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-balance-grid>div{background:none;border:0;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .settlement-strip{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;background:#fff;border:1px solid #E1E7F0;padding:17px 22px;border-radius:15px;font-size:12px;color:#718099}
/* Responsive contract: desktop >=1201, compact sidebar 701–1200, mobile <=700. */
@media(max-width:1200px) and (min-width:701px){
 html.fx-connected-design.fx-unified-theme[data-theme]{--connected-sidebar:82px;--connected-gutter:24px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar{padding:28px 12px 22px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .brand{padding:0 10px 35px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar :is(.brand>div,.nav-caption,.nav-item>span,.sidebar-foot){display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item{justify-content:center;padding:13px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item.active::after{content:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .top-search{max-width:210px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .account-name{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fixed-finance-actions .btn{min-width:96px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.market-design-grid.fx-list-first,.market-design-grid.country-map-grid){grid-template-columns:minmax(0,1fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-home-markets{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero h2{font-size:42px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy{padding-left:28px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-main-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:950px) and (min-width:701px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.connected-member-overview,.connected-home-markets,.connected-public-rates){grid-template-columns:minmax(0,1fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates .connected-rate-chart{border-left:0;border-top:1px solid #e7ebf2}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero{min-height:488px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme]{--connected-sidebar:0px;--connected-gutter:16px;--connected-header:72px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main{margin-left:0;padding-top:72px;width:100%;max-width:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.connected-member-workspace{--connected-header:124px;padding-top:124px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar{left:0;height:var(--connected-header);min-height:var(--connected-header);padding:18px 20px 0;align-items:flex-start;gap:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .mobile-brand{display:inline-flex;align-items:center;height:34px;font-size:22px;line-height:1;font-weight:600;letter-spacing:-1px;color:#101827;flex:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .product-accent{color:#345FF1}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .top-search{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .top-actions{height:34px;margin-left:auto;gap:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .public-auth-actions{gap:7px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .public-auth-actions .btn{font-size:11px;padding:8px 11px;min-height:36px;height:auto}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .account-name{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .account-menu{min-height:34px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .notification-button{height:34px;min-height:34px;width:30px;min-width:30px;padding:5px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fixed-finance-actions{position:absolute;left:16px;right:16px;bottom:12px;display:flex;gap:10px;margin:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fixed-finance-actions .btn{flex:1;min-width:0;height:44px;min-height:44px;font-size:13px;padding:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content{padding:19px 16px 24px;margin:0;width:100%;max-width:100%;min-width:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer{margin:12px 16px 0;padding:20px 0 110px;font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;min-height:67px;height:auto;padding:8px 4px calc(8px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(12px);border:0;border-top:1px solid #E1E7F0;z-index:50;box-shadow:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:0;padding:2px 0;background:none;border:0;box-shadow:none;color:#98a3b4;font-size:10px;line-height:1.2;white-space:normal}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.mobile-nav button.active{color:#345FF1;background:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.mobile-nav svg{width:19px;height:19px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .card{border-radius:16px;padding:19px;min-width:0;max-width:100%}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard>.dv2-balance{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;padding:25px 22px;margin:0 0 16px;border-radius:17px;background:#101827}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-balance>div,
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-available{display:grid!important;grid-column:auto;grid-row:auto;gap:7px;border:0;min-height:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-balance strong{font-size:22px;line-height:1.4;font-weight:500;white-space:normal}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .dv2-balance :is(span,.dv2-available>span){font-size:11px;line-height:1.5}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-desktop-label{display:inline}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.connected-member-overview,.connected-home-markets,.connected-public-rates){display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-activity{gap:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-performance{padding:23px 20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.8fr);gap:10px;padding:9px 0 14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics strong{font-size:22px;line-height:1.4}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics :is(h2,span){font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .performance-total>strong{font-size:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .performance-total{font-size:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-current{padding:22px 20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-recent{padding:20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current-desktop-status{display:block}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-current-mobile-status,
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dv2-mobile-current-details{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .conversion-actions .btn{max-width:100%;font-size:12px;min-height:44px;padding:9px 12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-section-heading{margin:27px 0 14px;gap:12px;align-items:flex-start}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-section-heading h2{font-size:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-section-heading p{font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-section-heading .text-button{flex:none;font-size:11px;max-width:100px;padding:0;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .connected-hero{display:flex;flex-direction:column;min-height:0;padding:0;gap:0;border-radius:19px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy{padding:32px 26px 12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero h2{font-size:42px;letter-spacing:-.047em;line-height:1.08;margin-bottom:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy>p:not(.fx-home-eyebrow){font-size:12px;line-height:1.75;margin-bottom:21px;max-width:330px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy>.connected-hero-note{font-size:10px;margin:20px 0 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-actions .btn{min-width:0;min-height:44px;padding:11px 16px;font-size:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero-map{padding:0 0 14px;margin-top:9px;min-height:350px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero-map .fx-home-map{min-height:350px;padding:0;background:none;border:0;border-radius:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .fx-home-map{padding:0;min-height:415px;border-radius:17px;background:linear-gradient(135deg,#14213a,#101827)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .fx-home-map-heading{padding:22px 22px 4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map-heading h2{font-size:12px;color:#b4c3df}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map-heading p{font-size:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map>.geography-card{padding:0;max-width:none;background:none;border:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe{height:345px;min-height:290px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top{padding:8px 12px;gap:4px;flex-wrap:wrap}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-search{flex:1 1 100px;min-width:85px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map input{font-size:10px;min-height:36px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-tools button{font-size:10px;padding:5px;min-width:29px;min-height:36px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(.route-ribbon,.fx-home-map-note){padding:11px 22px;font-size:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .fx-home-guide{margin:27px 5px 0;padding:0;background:none;border:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide ol{display:flex;flex-direction:column;gap:20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide li h3{font-size:13px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-guide li p{font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .connected-rate-panel{padding:0;display:block;gap:0;background:#fff}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-list{padding:20px 18px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-chart{padding:16px 18px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates .connected-rate-chart{border-left:0;border-top:1px solid #e7ebf2;padding-top:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-information{padding:0 18px 14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(105px,1.15fr) minmax(75px,.9fr) minmax(58px,.7fr) 28px;gap:2px 7px;padding:10px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(105px,1.15fr) minmax(75px,.9fr) minmax(58px,.7fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair{gap:6px;padding:0;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair b{font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair small{font-size:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-price{font-size:12px;line-height:1.45;min-width:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-day{font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-status :is(.badge,[data-market-status]){font-size:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-actions .icon-button{width:28px;min-width:28px;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-more>summary{min-height:32px;line-height:32px;font-size:10px;margin:0;max-width:calc(100% - 58px)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel .market-chart-card{padding:0;border:0;background:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-head strong{font-size:25px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .quote-head>div:last-child{flex-basis:100%}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .period-switch button{min-height:40px;padding:6px 8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-pagination .btn{min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-pagination{font-size:10px;gap:7px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.market-design-grid.fx-list-first,.market-design-grid.country-map-grid,.auto-main-grid,.auto-lower-grid){grid-template-columns:minmax(0,1fr);gap:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .page-header h1{font-size:28px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .page-header{flex-wrap:wrap;align-items:flex-start;margin-bottom:20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-controls{min-width:0;width:100%;flex-basis:100%}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-primary-controls{display:block}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .search-field{min-width:0;width:100%;margin-bottom:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.market-explorer,.market-detail-column .market-chart-card,.orderbook-card,.auto-main-grid .card,.auto-lower-grid .card,.auto-analysis-details){padding:19px;border-radius:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .market-explorer{padding:19px 12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-pair-explorer{padding:16px 19px;border-radius:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-metrics .metric{padding:18px 16px;border-radius:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-metrics .metric strong{font-size:23px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-status-bar{padding:16px 19px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .auto-balance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .settlement-strip{padding:16px 19px}
}
@media(max-width:360px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero h2{font-size:37px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy{padding-left:22px;padding-right:22px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(95px,1.1fr) minmax(65px,.9fr) minmax(56px,.75fr) 26px;gap:2px 5px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-rate-panel :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(95px,1.1fr) minmax(65px,.9fr) minmax(56px,.75fr);gap:2px 5px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-pair .currency-flag{width:21px;height:16px;flex-basis:21px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-completed{grid-column:1/-1;display:flex;align-items:baseline;gap:10px}
}
@media(prefers-reduced-motion:reduce){html.fx-connected-design.fx-unified-theme[data-theme] :is(.btn,.nav-item){transition:none}}
/* Supersede the former direct-child Home map frame, including its data-key specificity. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-map[data-key]{padding:0;overflow:hidden;border:0;border-radius:20px;background:linear-gradient(135deg,#14213a,#101827);min-height:570px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .connected-hero-map .fx-home-map[data-key]{border-radius:0;background:transparent;min-height:510px}
@media(max-width:950px) and (min-width:701px){html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .connected-public-rates{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .design-v2-dashboard .connected-public-rates{display:block}html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-map[data-key]{border-radius:17px;min-height:415px}html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .connected-hero-map .fx-home-map[data-key]{min-height:350px;border-radius:0;background:transparent}}
/* Keep the approved identity assets at the new shell breakpoints. */
html.fx-connected-design.fx-unified-theme[data-theme] #app .atafx-identity .atafx-brand-fallback{color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-visual>.atafx-brand-full{width:130px;height:auto;max-width:100%;max-height:36px;object-fit:contain;object-position:left center}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-visual>.atafx-brand-symbol{width:36px;height:36px;max-width:100%;object-fit:contain;object-position:center}
@media(min-width:1201px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity{justify-content:flex-start;padding:0 0 35px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-visual{width:164px;height:36px;justify-content:flex-start}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-full:not(.atafx-image-unavailable){display:block}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-symbol{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-full.atafx-image-unavailable~.atafx-brand-fallback{display:inline;font-size:25px}
}
@media(min-width:701px) and (max-width:1200px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity{justify-content:center;padding:0 0 35px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-visual{width:36px;height:36px;justify-content:center}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity :is(.atafx-brand-full,.atafx-brand-fallback),
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-full.atafx-image-unavailable~.atafx-brand-fallback{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-symbol:not(.atafx-image-unavailable){display:block;object-position:center}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar>.atafx-identity .atafx-brand-symbol.atafx-image-unavailable~.atafx-brand-fallback{display:inline;font-size:10px;letter-spacing:0}
}
/* Home has retained data-key hooks. Match their scope so prior compact tracks
   cannot override the approved connected composition on either breakpoint. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-key]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:0;min-height:553px;border:0;border-radius:24px;background:linear-gradient(112deg,#111b2e,#101827 64%)}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .dv2-current-facts{border-color:#E1E7F0;color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .dv2-current-facts b{color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .dv2-recent-row{border-color:#edf0f5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .dv2-recent-route time{color:#8a96a8}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .connected-rate-panel :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(105px,1fr) minmax(85px,.9fr) minmax(65px,.72fr);grid-template-rows:auto auto auto;gap:2px 10px;padding:10px 0;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-pair{grid-column:1;grid-row:1/3;gap:8px;padding:2px 0;min-height:44px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-price{grid-column:2;grid-row:1/3;align-self:center;font-size:13px;line-height:1.5;text-align:right}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-day{grid-column:3;grid-row:1;align-self:end;font-size:12px;text-align:right}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-status{display:block;grid-column:3;grid-row:2;align-self:start;text-align:right}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>:is(.fx-rate-trend,.fx-rate-actions){display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-more{display:block;grid-column:1/-1;grid-row:3;min-width:0;margin:0;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-more>summary{display:list-item;width:max-content;max-width:calc(100% - 58px);min-width:0;min-height:28px;margin:0;padding:0;font-size:10px;line-height:28px;text-align:left;list-style:disclosure-closed}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-more[open]>summary{list-style:disclosure-open}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-more>summary::before{content:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-dashboard-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:14px 0;margin:0;font-size:11px;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-dashboard-pagination .btn{min-height:44px;padding:6px 10px;font-size:11px}
@media(max-width:950px) and (min-width:701px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-key]{min-height:488px}
}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-key]{display:flex;flex-direction:column;gap:0;padding:0;min-height:0;border-radius:19px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .connected-rate-panel :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(105px,1.15fr) minmax(75px,.9fr) minmax(58px,.7fr);gap:2px 7px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-pair{gap:6px;padding:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-price{font-size:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-row>.fx-rate-day{font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .fx-rate-more>summary{min-height:32px;line-height:32px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .dv2-current>.conversion-actions{display:flex}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .dv2-current>.conversion-next{display:block}
}
@media(max-width:360px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key] .connected-rate-panel :is(.fx-rate-row,.fx-rate-head){grid-template-columns:minmax(95px,1.1fr) minmax(65px,.9fr) minmax(56px,.75fr);gap:2px 5px}
}
/* Actual public Home showed legacy cinematic #app/#page-content colors winning
   over the generic palette. Override those exact surfaces, not quote values. */
html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar .btn:not(.primary):not(.danger),
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.btn:not(.primary):not(.danger),.icon-button){background:#fff;border-color:#dce2ee;color:#29364e;box-shadow:0 2px 2px #0b153304}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar .btn.primary,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .btn.primary{background:#345FF1;border-color:#345FF1;color:#fff;box-shadow:0 6px 15px #345ff125}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar .btn.primary:hover:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .btn.primary:hover:not(:disabled){background:#264dd1;border-color:#264dd1;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar .btn.primary:active:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .btn.primary:active:not(:disabled){background:#1f40b2;border-color:#1f40b2;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar .btn:not(.primary):not(.danger):hover:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.btn:not(.primary):not(.danger),.icon-button):hover:not(:disabled){background:#f2f5ff;border-color:#aebfea;color:#29364e}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-actions .btn:not(.primary){background:#ffffff0a;border-color:#5c6b833f;color:#e5eafa}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-actions .btn:not(.primary):hover:not(:disabled){background:#ffffff17;border-color:#8496b4;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-price{color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-rate-price .fx-quote-value:not(.fx-quote-up):not(.fx-quote-down){color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-quote-value.fx-quote-up{color:#137f60}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-quote-value.fx-quote-down{color:#bd4b50}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>button,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-quote-details>summary{color:#b7c8ff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>button:hover{color:#fff}
/* Both approved Home maps place the existing controls below the one canvas. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-viewport{order:1}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-top{order:2;border-top:1px solid #aabfff16}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-search .eg-results{top:auto;bottom:calc(100% + 8px);margin-top:0}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace>.topbar{padding-top:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace>.topbar :is(.mobile-brand,.top-actions){height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace>.topbar .public-auth-actions .btn{height:44px;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy{padding:28px 24px 8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-self:stretch;align-items:center;justify-content:flex-start;width:auto;max-width:100%;gap:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-actions .btn{flex:0 0 auto;width:auto;min-width:0;min-height:44px;max-width:100%;padding:11px 16px;font-size:12px;line-height:1.4}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero .fx-home-intro-copy>.connected-hero-note{margin-top:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-hero-map{padding:0 0 16px;margin:0;min-height:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-map[data-key],
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .connected-hero-map .fx-home-map[data-key]{min-height:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .fx-home-map-heading{padding:14px 22px 4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe{height:auto;min-height:280px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe{height:auto;min-height:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-viewport{flex:none;height:280px;min-height:280px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-top{display:flex;flex:none;flex-wrap:nowrap;padding:8px 18px;gap:4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-search{flex:1 1 0;min-width:0;max-width:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools{display:flex;flex:0 0 auto;flex-wrap:nowrap;width:auto;max-width:none;gap:4px;margin:0;justify-content:flex-end}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top input{height:44px;min-height:44px;padding:6px;font-size:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools button{flex:0 0 29px;width:29px;min-width:29px;min-height:44px;padding:5px;font-size:10px}
}
/* Keep the existing chat launcher, docking, unread state and click lifecycle. */
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-widget #fx-support-launcher{background:#345FF1;border-color:#345FF1;color:#fff;box-shadow:0 5px 18px #345ff130}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-widget #fx-support-launcher:hover{background:#264dd1;border-color:#264dd1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-widget #fx-support-launcher:active{background:#1f40b2;border-color:#1f40b2}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-widget #fx-support-launcher:focus-visible{outline-color:#345FF1}
/* These are layout wrappers, not cards. Override the older direct-child
   Dashboard card rule without changing the member balance or globe cards. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard.connected-member-home[data-key]>:is(.connected-member-overview,.connected-home-markets)[data-key]{display:grid;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}

/* Follow-up: actual Home DOM. The old cinematic viewport background, not WebGL
   alpha, produced the independent black rectangle around the transparent globe. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-viewport{background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe{height:auto;min-height:320px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe{height:auto;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-viewport{flex:none;height:320px;min-height:320px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-bottom{position:relative;inset:auto;order:3;display:block;flex:none;margin:0;padding:0 22px 14px;pointer-events:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-bottom>.eg-info{position:static;inset:auto;transform:none;margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;max-width:none;width:100%;padding:12px 0 0;border:0;border-top:1px solid #aabfff16;border-radius:0;background:transparent;box-shadow:none;min-width:0;font-size:11px;line-height:1.55}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>strong{grid-column:1;grid-row:1;font-size:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-pair{grid-column:1;grid-row:2}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-values{grid-column:2;grid-row:1/3;display:grid;gap:3px;text-align:right;min-width:0;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-status{grid-column:1;grid-row:3;align-self:center}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>button{grid-column:2;grid-row:3;justify-self:end;min-height:44px;white-space:normal;text-align:right}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-details{grid-column:1/-1;grid-row:4;min-width:0;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-quote-details>summary{min-height:44px;display:flex;align-items:center;cursor:pointer}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-quote-details>span{display:block;line-height:1.6}
/* Keep real metrics first; preserve the NY day, valuation status, exact interval
   and event drill-down underneath the existing chart instead of hiding them. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-overview .dv2-performance>.card-head{margin-bottom:10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-period{margin:0 0 14px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-period>.period-switch{margin:0;display:flex;flex-wrap:wrap;gap:4px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-period button{min-width:44px;min-height:44px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-context{display:grid;gap:8px;margin-top:14px;min-width:0;border-top:1px solid #e5eaf3;padding-top:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-context>.performance-total{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:0;align-items:baseline;overflow-wrap:anywhere;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-context>.performance-total>strong{font-size:14px;overflow-wrap:anywhere;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-context>.performance-total>small{grid-column:1/-1;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-performance-context .chart-data-details{margin:0;padding-top:0}
/* Public list/chart keep their existing controls and render roots but now have
   separate white card surfaces, with the specified 22px space between them. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-public-rates[data-key]{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:22px;align-items:start;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates>.connected-rate-list,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates>.connected-rate-chart{padding:20px 22px;border:1px solid #E1E7F0;border-radius:18px;background:#fff;box-shadow:0 5px 18px #14274103;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates>.connected-rate-information{padding:0;grid-column:1/-1}
@media(min-width:1201px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar{margin:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar>.top-search{margin-left:0;margin-right:0}
}
@media(max-width:950px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-public-rates[data-key]{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe{height:auto;min-height:280px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-viewport{height:280px;min-height:280px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-bottom{padding:0 18px 12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-bottom>.eg-info{gap:3px 10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates>.connected-rate-list,
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-public-rates>.connected-rate-chart{padding:20px 18px}
}

/* Readable placeholders only on explicit light form surfaces. Keep the
   existing dark globe search styling and global placeholder value intact. */
html.fx-connected-design.fx-unified-theme[data-theme] body :is(.connected-auth,.connected-onboarding,.connected-admin) :is(input,textarea)::placeholder,
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) :is(input,textarea)::placeholder{color:#5f6b7f;opacity:1}

/* Prepared 2026-10-16. Append after the connected styles, then verify the full
   production cascade. Presentation only: the shared dialog is outside #app.
   No country data, selection handlers, auth or permission logic is changed. */
/* Keep the shared popup surface above legacy form-specific dark rules. */
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal:has(> #modal-content) {
  color-scheme:light;
  background:#fff;
  color:#101827;
  border:1px solid #E1E7F0;
  scrollbar-color:#63758F #F4F6FA;
  outline:none;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal > #modal-content {
  background:#fff;
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal .modal-heading {
  background:#fff;
  color:#101827;
  border-color:#E1E7F0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal .modal-heading :is(h2,h3) {
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal .modal-heading > .icon-button {
  background:#fff;
  color:#29364E;
  border-color:#8091AA;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal .modal-heading > .icon-button:hover:not(:disabled) {
  background:#EEF2FF;
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal > #modal-content > :is(.meta,.footnote,.hint) {
  color:#5C687C;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
  background:#fff;
  color:#101827;
  border-color:#8091AA;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(input,textarea)::placeholder {
  color:#5C687C;
  opacity:1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(input,select,textarea,button,a,summary):focus-visible {
  outline:3px solid #345FF1;
  outline-offset:3px;
}
/* Country residence picker has no .connected-auth-form wrapper. Give the
   actual modal and list explicit paired colors, including the idle state. */
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal:has(#ad-country-list) {
  background:#fff;
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal:has(#ad-country-list) .ad-search {
  background:#fff;
  color:#5C687C;
  border-color:#8091AA;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-search {
  background:#fff;
  color:#101827;
  caret-color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list {
  background:#fff;
  color:#101827;
  scrollbar-color:#63758F #F4F6FA;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list > button {
  background:#fff;
  color:#101827;
  border-color:#E1E7F0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list > button > span {
  color:inherit;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list > button > small {
  color:#5C687C;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list > button:hover:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list > button:focus-visible:not(:disabled) {
  background:#EEF2FF;
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list > button:focus-visible {
  outline-offset:-3px;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal #ad-country-list > .meta,
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal:has(#ad-country-list) > #modal-content > .footnote {
  color:#5C687C;
}
/* The existing selection closes the modal immediately. The selected value is
   displayed on this form button; do not invent a persistent list selection. */
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-auth #ad-country-button {
  background:#fff;
  color:#101827;
  border-color:#8091AA;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-auth #ad-country-button > span {
  color:inherit;
}

/* Guest Home balance, 2026-10-16. Append after connected-design.css.
   No fixed card height, hidden content, or financial/render-data changes. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home[data-key]>.connected-public-rates[data-key]{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);align-items:stretch;gap:22px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home[data-key]>.connected-public-rates[data-key]:has(.fx-home-market-detail[open]){align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-public-rates>.connected-rate-list{display:flex;flex-direction:column;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-rate-list>.fx-rates-list{display:flex;flex-direction:column;flex:1;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home[data-key] .connected-rate-list .fx-rate-row{flex:1;align-content:center}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-dashboard-pagination{margin-top:auto;padding-bottom:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-rate-chart{display:flex;flex-direction:column;min-height:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-rate-chart>.fx-market-chart-slot{width:100%;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-rate-chart .market-chart-card .large-chart{height:auto;min-height:210px;max-height:none;margin:0;overflow:visible}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-rate-chart .quote-meta{margin:8px 0 10px;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-rate-chart #chart-status{margin:8px 0 12px;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail{display:block;margin:8px 0 0;padding:0;border:1px solid #E1E7F0;border-radius:10px;background:#fff;color:#101827;min-width:0;overflow:visible}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail>summary{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;min-height:44px;padding:10px 36px 10px 12px;box-sizing:border-box;list-style:none;font-size:13px;line-height:1.5;font-weight:500;color:#101827;cursor:pointer;border-radius:10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail>summary::-webkit-details-marker{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail>summary::after{content:"";position:absolute;right:16px;top:18px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail[open]>summary::after{top:21px;transform:rotate(225deg)}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail>summary:hover{background:#F4F6FA}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail>summary:focus-visible{outline:2px solid #345FF1;outline-offset:2px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home [data-home-tick-count]{font-size:11px;font-weight:400;color:#64748B}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail>.fx-observed-ticks{margin:0;padding:0 12px 12px;border:0;background:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-market-detail>.fx-observed-ticks>p{margin:0 0 10px;font-size:11px;line-height:1.6;color:#64748B;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-summary-content{padding:0 12px 12px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-summary-content .market-observed-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .fx-home-full-detail{min-height:44px;margin-top:8px}
@media not all and (min-width:951px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home[data-key]>.connected-public-rates[data-key]{grid-template-columns:minmax(0,1fr);align-items:start}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-rate-list>.fx-rates-list,
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard.fx-public-home[data-key] .connected-rate-list .fx-rate-row{flex:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-public-rates>.connected-rate-list,
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-public-home .connected-public-rates>.connected-rate-chart{height:auto;min-height:0;max-height:none}
}

/* ATAFX support palette preparation — 2026-10-16.
   Confirmed selectors: atafx-cinematic.css lines 93 and 475.
   This extends the existing panel-variable treatment to every connected page.
   Presentation only: no sizing, positioning, visibility, focus handling,
   event, authentication, message, attachment or conversation state changes.
   LIMIT: ui-support-bubble.js and its original styles are unavailable here.
   Internal hard-coded colors and all actual popup states remain unverified.
   Merge after the current connected styles; verify against the latest source.
*/
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel {
  --bg: #fff;
  --panel: #fff;
  --panel2: #f8faff;
  --surface-soft: #f4f6fa;
  --text: #101827;
  --muted: #5f6b7f;
  --line: #e1e7f0;
  --accent: #345ff1;
  --danger: #bd4b50;
  --accent-soft: #eef2ff;
  color: #101827;
  background: #fff;
  border-color: #e1e7f0;
}

/* Existing minimize/close action group; preserve its dimensions and behavior. */
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-window-actions button {
  color: #29364e;
  background: #fff;
  border-color: #dce2ee;
}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-window-actions button:hover:not(:disabled) {
  background: #f2f5ff;
  border-color: #aebfea;
}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-window-actions button:active:not(:disabled) {
  background: #edf2ff;
  border-color: #aebfea;
}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-window-actions button:focus-visible {
  outline-color: #345ff1;
}

/* ATAFX independent toast palette preparation — 2026-10-16.
   Confirmed DOM: body > #toast in index.html; .error in app.js toast().
   Palette consistency candidate, not evidence of a reproduced toast defect.
   No display, position, timer, content, ARIA, or event changes.
   Original base toast stylesheet and computed cascade remain to be verified.
*/
html.fx-connected-design.fx-unified-theme[data-theme] body > #toast {
  background: #fff;
  color: #101827;
  border-color: #e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body > #toast.error {
  background: #fff3f3;
  color: #a53d45;
  border-color: #f1cbd0;
}

/* Existing connected-design.css .badge.teal has #137f60 on #eaf6f1
   (4.4777:1). Deepen only this existing success-badge text color. */
html.fx-connected-design.fx-unified-theme[data-theme] .badge.teal {
  background: #eaf6f1;
  color: #117657;
}

/* ATAFX footer contact spacing preparation — 2026-10-16.
   Existing companyFooter() markup is retained. Scope only support contact rows.
   Original links have 44px min-height + padding + paragraph/inline spacing,
   while connected-design reduces their font to 12px. Match the 13px body.
   Preserve mailto/tel hrefs, company information, legal links and footer grid.
   Merge into current connected-design.css after checking the next report.
*/
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer .fx-footer-support > .fx-footer-contact-title {
  margin-bottom: 8px;
}
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer .fx-footer-support > p:has(> a:is([href^="mailto:"], [href^="tel:"])) {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer .fx-footer-support > p > a:is([href^="mailto:"], [href^="tel:"]),
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer .fx-footer-support > p > a:is([href^="mailto:"], [href^="tel:"]) {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: #5f6b7f;
  white-space: normal;
  overflow-wrap: anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer .fx-footer-support > p > a:is([href^="mailto:"], [href^="tel:"]):hover,
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer .fx-footer-support > p > a:is([href^="mailto:"], [href^="tel:"]):hover {
  color: #345ff1;
  text-decoration: underline;
}
@media (max-width: 767px), (pointer: coarse) {
  html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-company-footer .fx-footer-support > p > a:is([href^="mailto:"], [href^="tel:"]),
  html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer .fx-footer-support > p > a:is([href^="mailto:"], [href^="tel:"]) {
    min-height: 44px;
  }
}

/* ATAFX footer navigation presentation preparation — 2026-10-16.
   authFooter() renders real /privacy and /terms anchors plus .btn actions
   for Documents/ad-legal and Contact support/ad-public-help. Keep these nodes,
   hrefs, action hooks and keyboard semantics; style all as footer text links.
   No changes to primary buttons or controls outside .fx-legal-links. */
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  min-width: 0;
}
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]),
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #5f6b7f;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]):hover:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]):hover:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]):active:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]):active:not(:disabled) {
  color: #345ff1;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: underline;
}
html.fx-connected-design.fx-unified-theme[data-theme] .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]):focus-visible,
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-legal-links > :is(a,button.btn[data-action="ad-legal"],button.btn[data-action="ad-public-help"]):focus-visible {
  outline: 3px solid #345ff1;
  outline-offset: 3px;
}

/* Current Help Center internals, read from the 2026-10-16 source snapshot.
   Append after support-root.css in connected-design.css. Palette only.
   Existing panel geometry, hidden states, native controls and event logic stay authoritative. */
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel {
  --surface-hover:#f2f5ff;--accent-line:#c5d1fa;
  --warning-soft:#fff7e8;--gold:#805413;--warning-line:#ead6ae;
  --danger:#a63642;--danger-soft:#fff0f1;--danger-line:#e9b3b7;
  --fx-control-bg:#fff;--fx-control-border:#e1e7f0;--fx-focus:#345ff1;
  --fx-primary-bg:#345ff1;--fx-primary-hover:#264dd1;
}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(.fx-chat-heading,.hc-support,.hc-tickets,.hc-guidance,.hc-chat) {
  color:#101827;background:#fff;border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(h2,h3,.empty strong,label) {color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(.fx-chat-heading p,.fx-chat-welcome p,.fx-chat-loading,.meta,.footnote,.empty,.empty p,.hc-chat>.card-head p,.hc-answer small,.hc-ticket span,.hc-ticket small,.hc-attachment,[data-file-name],[data-hc-status]) {color:#5f6b7f}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-intro-icon {background:#eef2ff;color:#345ff1;border-color:#c5d1fa}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(.fx-chat-tabs,.fx-chat-footer) {background:#f8faff;color:#5f6b7f;border-color:#e1e7f0}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-tabs button {background:#fff;color:#5f6b7f;border-color:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-tabs button[aria-pressed=true] {background:#eef2ff;color:#294ecb;border-color:#c5d1fa}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(.hc-category,.hc-question,.hc-ticket) {background:#fff;color:#101827;border-color:#e1e7f0}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(.hc-category,.hc-question,.hc-ticket,.fx-chat-tabs button):hover:not(:disabled) {background:#f2f5ff;border-color:#aebfea}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(.hc-category.active,.hc-question.active,.hc-ticket.active) {background:#eef2ff;color:#294ecb;border-color:#c5d1fa}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .hc-answer {background:#f4f6fa;color:#101827;border-color:#e1e7f0}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(#hc-message-form,.chat-input) {border-color:#e1e7f0}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .hc-messages .message {background:#f4f6fa;color:#101827;border-color:#e1e7f0}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .hc-messages .message small {color:#5f6b7f}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(a,.text-button) {color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .hc-messages .message a {text-decoration:underline;text-underline-offset:2px}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .hc-messages .message.own {background:#345ff1;color:#fff;border-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .hc-messages .message.own :is(p,small,a) {color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(input,textarea) {background:#fff;color:#101827;border-color:#e1e7f0;caret-color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(input,textarea)::placeholder {color:#5f6b7f;opacity:1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel input[type=file]::file-selector-button {background:#f4f6fa;color:#101827;border-color:#e1e7f0}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .btn {background:#fff;color:#29364e;border-color:#e1e7f0}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .btn:hover:not(.primary):not(:disabled) {background:#f2f5ff;border-color:#aebfea}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .btn.primary {background:#345ff1;color:#fff;border-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .btn.primary:hover:not(:disabled) {background:#264dd1;border-color:#264dd1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .btn.primary:active:not(:disabled) {background:#1f40b2;border-color:#1f40b2}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(.btn,input,textarea):disabled {background:#e9edf4;color:#5f6b7f;border-color:#dce2ee;opacity:1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .btn[aria-busy=true]:not(:disabled) {opacity:1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(button,a,input,textarea):focus-visible {outline-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel :is(input,textarea):focus {border-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-notice {background:#fff7e8;color:#805413}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-error {background:#fff0f1;color:#a63642}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .fx-chat-error .text-button {color:#a63642}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel [data-hc-error] {color:#a63642}
html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-panel .hc-chat form[aria-busy=true] [data-hc-status] {color:#294ecb}

/* ATAFX Home globe visual follow-up, prepared 2026-10-16.
   Append after the current connected-design.css rules, after next-report rebase.
   Shared guest/member Home scope only; no extra map, timers, data or fake routes.
   The actual Earth material/lighting is handled separately in existing globe.js. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-map.dv2-globe[data-key]{
  color:#eef6ff;
  background:radial-gradient(ellipse at 54% 39%,#123b6666 0,transparent 59%),linear-gradient(145deg,#061222,#0a1931);
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .fx-home-map-heading{
  padding:20px 22px 8px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .fx-home-map-heading h2{
  color:#f5f9ff;font-size:16px;line-height:1.35;font-weight:600;letter-spacing:0;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .fx-home-map-heading p{
  color:#b4c6e2;font-size:12px;line-height:1.5;margin-top:5px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe{
  height:auto;min-height:320px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .exchange-globe>.eg-viewport{
  height:clamp(320px,32vw,420px);min-height:320px;flex:none;
  background:radial-gradient(circle at 17% 22%,#b8dfff70 0 1px,transparent 1.4px),radial-gradient(circle at 81% 16%,#b8dfff50 0 1px,transparent 1.4px),radial-gradient(circle at 86% 72%,#8acaff55 0 1px,transparent 1.4px),radial-gradient(circle at 24% 81%,#8acaff55 0 1px,transparent 1.4px),radial-gradient(ellipse at 50% 48%,#1268ac24 0,transparent 66%);
}
/* Keep every label field, and let the existing collision measurement use its
   real smaller size. Do not force display: it belongs to positionLabels(). */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label{
  box-sizing:border-box;width:140px;max-width:calc(100% - 16px);min-height:0;
  padding:6px 8px;border:1px solid #94b7e547;border-radius:9px;
  background:#091c33e8;color:#eef6ff;box-shadow:0 5px 16px #00000026;
  backdrop-filter:blur(7px);font-size:10px;line-height:1.3;font-weight:400;
  white-space:normal;overflow:visible;overflow-wrap:anywhere;text-shadow:none;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label.selected{
  background:#102e4ee8;border-color:#7bc7ffb3;color:#fff;font-size:10px;font-weight:400;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label .eg-country-name{
  display:block;white-space:normal;overflow:visible;text-overflow:clip;
  margin:0 0 2px;color:#e1ecff;font-size:11px;font-weight:600;line-height:1.3;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label :is(.eg-quote-pair,.eg-quote-status){
  display:block;color:#b4c6e2;font-size:10px;line-height:1.3;letter-spacing:0;margin:0;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label .eg-quote-values{
  display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;
  gap:1px 6px;margin:2px 0;min-width:0;white-space:normal;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label .eg-quote-price{
  min-width:0;font-size:13px;line-height:1.3;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label .eg-quote-change{
  font-size:10px;line-height:1.3;font-weight:500;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-top{
  display:flex;flex-wrap:wrap;gap:8px;padding:10px 22px;
  border-top:1px solid #94b7e526;background:transparent;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-search{
  flex:1 1 150px;min-width:0;max-width:none;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools{
  display:flex;flex:0 1 auto;flex-wrap:wrap;gap:6px;max-width:100%;margin:0;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top input,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools button{
  box-sizing:border-box;min-height:44px;background:#0a1d34;border:1px solid #587391;color:#edf5ff;border-radius:9px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top input{
  height:auto;padding:10px;font-size:12px;line-height:1.4;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top input::placeholder{
  color:#b4c6e2;opacity:1;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools button{
  flex:0 0 44px;width:44px;min-width:44px;padding:7px;font-size:12px;line-height:1.3;box-shadow:none;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools button:hover{
  color:#fff;background:#153551;border-color:#87b6e9;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools button[aria-pressed="true"]{
  color:#d6f0ff;background:#123854;border-color:#7bc7ff;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-search .eg-results{
  box-sizing:border-box;min-width:0;max-width:100%;background:#0a1d34;border-color:#587391;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-search .eg-results button{
  color:#edf5ff;min-height:44px;padding:10px;line-height:1.4;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-search .eg-results button:is(:hover,:focus){
  background:#153551;color:#fff;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-bottom{
  padding:2px 22px 16px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-bottom>.eg-info{
  box-sizing:border-box;padding:12px 14px;gap:3px 12px;
  border:1px solid #94b7e547;border-radius:12px;background:#0a1d34e8;
  box-shadow:0 5px 16px #0000001a;color:#eef6ff;font-size:12px;line-height:1.5;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>strong{
  color:#f5f9ff;font-size:13px;line-height:1.4;overflow-wrap:anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info :is(.eg-quote-pair,.eg-quote-status,.eg-quote-details){
  color:#b4c6e2;font-size:11px;line-height:1.5;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-values{
  max-width:100%;font-variant-numeric:tabular-nums;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info .eg-quote-price{
  font-size:16px;line-height:1.35;overflow-wrap:anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-details{
  max-width:none;border-top:1px solid #94b7e526;padding-top:2px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>button,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info .eg-quote-details>summary{
  color:#9fcbff;font-size:12px;line-height:1.4;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(.eg-top input,.eg-top button,.eg-info>button,.eg-quote-details>summary):focus-visible{
  outline:3px solid #9fd7ff;outline-offset:2px;
}
/* Preserve up/down meaning against the dark card as quote classes change. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe :is(.eg-quote-price .fx-quote-value.fx-quote-up,.eg-quote-change.positive){
  color:#6ce0bb;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe :is(.eg-quote-price .fx-quote-value.fx-quote-down,.eg-quote-change.negative){
  color:#ff9ca4;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map :is(.fx-home-map-note,.route-ribbon){
  color:#b4c6e2;border-color:#94b7e526;
}
@media(max-width:700px){
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .fx-home-map-heading{padding:18px 18px 6px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe{min-height:280px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .exchange-globe>.eg-viewport{height:clamp(280px,82vw,320px);min-height:280px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label{width:128px;padding:5px 7px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-top{padding:8px 18px;flex-wrap:wrap}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-search{flex:1 1 100%}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top input{font-size:16px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-top>.eg-tools{flex:1 1 100%;justify-content:space-between}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .exchange-globe>.eg-bottom{padding:2px 18px 14px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-bottom>.eg-info{padding:10px 12px;gap:3px 8px}
}

/* Optional minimal supplement to the supplied Home-only globe visual fragment.
   Source review: ui-workspace patches a .fx-quote-value inside .eg-quote-price.
   The global value rule otherwise forces nowrap after an actual quote refresh. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-quote-price .fx-quote-value{
  max-width:100%;white-space:normal;overflow-wrap:anywhere;
}
/* Existing flash keyframes read this variable; changing only color cannot
   override an active keyframe. Keep its duration and real-movement trigger. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-quote-price .fx-quote-value.fx-quote-up{
  --fx-tick-color:#6ce0bb;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-quote-price .fx-quote-value.fx-quote-down{
  --fx-tick-color:#ff9ca4;
}

/* Mobile Home action stays clear of the fixed support launcher. */
@media(max-width:640px){
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-status{grid-column:1/-1}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>button{grid-column:1/-1;grid-row:4;justify-self:start;text-align:left}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .eg-info>.eg-quote-details{grid-row:5}
}

/* ATAFX Home globe visual refinement after actual 2026-10-16 render review.
   Preserve data, label fields/sizes, viewports, controls and mobile clearance. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-key]{
  background:radial-gradient(ellipse at 75% 39%,#123b6666 0,transparent 59%),linear-gradient(145deg,#061222,#0a1931);
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .connected-hero-map{
  background:transparent;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .connected-hero-map .fx-home-map.dv2-globe[data-key]{
  background:transparent;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label,
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-home-map .workspace-globe .eg-label.selected{
  background:#091c33d1;backdrop-filter:blur(3px);
}

/* Mobile market charts: give the existing support launcher space inside the
 * bottom bar. Preserve all five destinations and the existing panel placement.
 * These selectors intentionally outrank the old design-v2-common overrides. */
@media (max-width:700px) {
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.mobile-nav[data-support-dock="true"] {
  padding-left:max(4px,env(safe-area-inset-left));
  padding-right:calc(64px + env(safe-area-inset-right));
  grid-template-columns:repeat(5,minmax(0,1fr));
 }
 html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-widget[data-launcher-dock="true"] #fx-support-launcher {
  width:48px;height:48px;padding:11px;
  right:calc(8px + env(safe-area-inset-right));
  bottom:var(--fx-chat-launcher-bottom,var(--fx-chat-bottom));
 }
 html.fx-connected-design.fx-unified-theme[data-theme] #fx-support-widget[data-launcher-dock="true"] #fx-support-launcher svg {
  width:24px;height:24px;
 }
}

/* Resolve the shared-header relationship after DOM insertion, including the
 * first render. Standalone auth pages have no matching shared topbar. */
@media (max-width:700px) {
 html.fx-connected-design.fx-unified-theme[data-theme] #app > .main:has(> .topbar .mobile-brand) #page-content .ad-onboarding-header > .brand {
  display:none;
 }
}

/* Public mobile header: retain every auth action when it wraps and reserve the
 * measured height in the page flow. No clipping or smaller touch targets. */
@media (max-width:700px) {
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace {
  padding-top:var(--connected-public-header-height,72px);
 }
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace>.topbar {
  height:auto;min-height:72px;padding:14px 16px;flex-wrap:wrap;gap:8px 10px;align-items:center;align-content:center;
 }
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace>.topbar>.mobile-brand {
  max-width:none;overflow:visible;white-space:nowrap;
 }
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace>.topbar>.public-auth-actions {
  height:auto;min-height:44px;max-width:100%;flex-wrap:wrap;
 }
}

/* Final member actions: separate surface preserves the original sensitive form. */
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm {
  color-scheme:light; background:#fff; color:#101827; border:1px solid #E1E7F0;
  outline:none; border-radius:16px; box-shadow:0 16px 48px rgba(15,23,42,.18);
  width:min(560px,calc(100vw - 32px)); max-width:calc(100vw - 32px);
  max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px);
  padding:24px; margin:auto; box-sizing:border-box; overflow:auto;
  scrollbar-color:#63758F #F4F6FA;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm::backdrop {background:rgba(15,23,42,.42);}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .atafx-member-confirm-heading {display:flex;align-items:flex-start;gap:16px;justify-content:space-between;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm h2 {margin:0;font-size:21px;line-height:1.4;color:#101827;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .icon-button {flex:none;background:#fff;color:#34435E;border:1px solid #E1E7F0;box-shadow:none;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm p {margin:20px 0;line-height:1.6;color:#34435E;overflow-wrap:anywhere;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .atafx-member-confirm-identity {display:grid;gap:6px;padding:14px;background:#F4F6FA;border:1px solid #E1E7F0;border-radius:10px;color:#101827;overflow-wrap:anywhere;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .atafx-member-confirm-actions {display:flex;justify-content:flex-end;gap:12px;margin-top:24px;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .btn {min-height:44px;padding:10px 24px;box-shadow:none;background:#fff;color:#34435E;border:1px solid #D8E0EC;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .btn:not(.primary):hover:not(:disabled) {background:#F4F6FA;color:#34435E;border-color:#D8E0EC;box-shadow:none;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .btn.primary {background:#355BFA;color:#fff;border-color:#355BFA;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .btn.atafx-member-confirm-danger {background:#B91F35;color:#fff;border-color:#B91F35;}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm button:focus-visible {outline:2px solid #526789;outline-offset:2px;box-shadow:none;}
@media(max-width:480px) {html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm {padding:20px;}html.fx-connected-design.fx-unified-theme[data-theme] body dialog.atafx-member-confirm .atafx-member-confirm-actions .btn {flex:1;padding:10px 16px;}}

/* Saved consent and current execution are separate, readable member states. */
.auto-execution-status{margin:14px 0;padding:14px 16px;border:1px solid #dce5f4;border-radius:12px;background:#f3f6fd;color:#183153;overflow-wrap:anywhere}
.auto-execution-status>strong{display:block;font-size:16px;line-height:1.4;color:#183153}
.auto-execution-status>p{margin:6px 0;font-size:14px;line-height:1.55;color:#3f536e}
.auto-execution-status>span{font-size:12px;line-height:1.5;color:#526783}
.auto-execution-status[data-execution-state="Not running"],.auto-execution-status[data-execution-state="On hold"]{background:#fff8ea;border-color:#eed39a}
.auto-execution-status[data-execution-state="Monitoring opportunities"]{background:#eef9f3;border-color:#c5e5d4}
@media(max-width:480px){.auto-execution-status{padding:12px;margin:12px 0}}

/* Source: connected-auth-admin.css */
/* Approved connected design: layout only. Existing auth/role/data contracts remain authoritative. */
html.fx-unified-theme[data-theme] body .connected-auth,html.fx-unified-theme[data-theme] body .connected-onboarding,html.fx-unified-theme[data-theme] body .connected-admin{--connected-ink:#101827;--connected-muted:#667285;--connected-blue:#345ff1;--connected-line:#e1e7f0;color:var(--connected-ink);color-scheme:light}
html.fx-unified-theme[data-theme] body .connected-auth{display:block;min-height:100dvh;background:#f4f6fa;padding:0;overflow:visible}
html.fx-unified-theme[data-theme] body .connected-auth:before,html.fx-unified-theme[data-theme] body .connected-auth:after,html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-layout:before{display:none}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:none;min-height:76px;margin:0;padding:16px 40px;background:#fff;border-bottom:1px solid var(--connected-line);color:var(--connected-ink)}
html.fx-unified-theme[data-theme] body .connected-auth .brand{color:var(--connected-ink);min-width:0}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-header nav{display:flex;gap:8px;flex-wrap:wrap}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-layout,html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-layout.register{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);align-items:start;gap:64px;max-width:1120px;min-height:0;margin:0 auto;padding:56px 32px 88px;background:none;border:0;box-shadow:none}
html.fx-unified-theme[data-theme] body .connected-auth-story{align-self:center;min-width:0;color:#101827}
html.fx-unified-theme[data-theme] body .connected-auth-story .connected-auth-eyebrow{margin:0 0 18px;color:#345ff1;font-size:11px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase}
html.fx-unified-theme[data-theme] body .connected-auth-story h2{margin:0 0 20px;font-size:38px;line-height:1.16;font-weight:650;letter-spacing:-1.3px;color:#101827}
html.fx-unified-theme[data-theme] body .connected-auth-story h2 span{color:#718098}
html.fx-unified-theme[data-theme] body .connected-auth-story>p:not(.connected-auth-eyebrow){max-width:390px;font-size:15px;line-height:1.8;color:#667285;margin:0}
html.fx-unified-theme[data-theme] body .connected-auth-art{position:relative;width:280px;height:220px;margin:36px 0 18px}
html.fx-unified-theme[data-theme] body .connected-art-back{position:absolute;inset:26px 35px 10px 15px;border-radius:24px;transform:rotate(-10deg);background:#e1e8fa}
html.fx-unified-theme[data-theme] body .connected-art-card{position:absolute;inset:10px 15px 30px 48px;display:flex;flex-direction:column;justify-content:center;gap:13px;padding:30px;border:1px solid #dee4ef;background:linear-gradient(145deg,#fff,#f3f6fd);border-radius:20px;box-shadow:0 20px 40px #1e355515;transform:rotate(7deg)}
html.fx-unified-theme[data-theme] body .connected-art-card svg{width:32px;height:32px;fill:none;stroke:#345ff1;stroke-width:1.7;margin-bottom:2px}
html.fx-unified-theme[data-theme] body .connected-art-card i{height:7px;background:#dfe5f1;border-radius:8px;width:100%}
html.fx-unified-theme[data-theme] body .connected-art-card i:last-child{width:60%}
html.fx-unified-theme[data-theme] body .connected-art-dot{position:absolute;right:4px;bottom:21px;display:grid;place-items:center;background:#345ff1;color:#fff;border:5px solid #f4f6fa;border-radius:50%;width:56px;height:56px}
html.fx-unified-theme[data-theme] body .connected-art-dot svg{width:22px;height:22px}
html.fx-unified-theme[data-theme] body .connected-auth-note{display:flex;align-items:center;gap:9px;color:#69758a;font-size:12px}
html.fx-unified-theme[data-theme] body .connected-auth-note svg{width:16px;height:16px;flex:0 0 auto}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card,html.fx-unified-theme[data-theme] body .connected-auth-card{display:flex;flex-direction:column;gap:0;width:100%;max-width:480px;min-width:0;margin:0;padding:36px;border:1px solid #e3e8f1;border-radius:22px;background:#fff;color:#101827;box-shadow:0 14px 45px #1a33590a;overflow:visible}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card:before,html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card:after{display:none}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card>h1{margin:0 0 9px;font-size:28px;line-height:1.2;letter-spacing:-.8px;color:#101827}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card>p.meta{margin:0 0 26px;font-size:14px;line-height:1.7;color:#667285}
html.fx-unified-theme[data-theme] body .connected-auth .ad-form,html.fx-unified-theme[data-theme] body .connected-auth-form{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:100%;min-width:0}
html.fx-unified-theme[data-theme] body .connected-auth .ad-form>*,html.fx-unified-theme[data-theme] body .connected-auth-form>*{min-width:0}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-credentials{display:grid;gap:18px}
html.fx-unified-theme[data-theme] body .connected-auth label,html.fx-unified-theme[data-theme] body .connected-auth-form label{display:block;font-size:12px;font-weight:600;color:#334155;margin-bottom:8px}
html.fx-unified-theme[data-theme] body .connected-auth :is(input:not([type=checkbox]):not([type=radio]),select),html.fx-unified-theme[data-theme] body .connected-auth-form :is(input:not([type=checkbox]):not([type=radio]),select){box-sizing:border-box;min-height:52px;max-width:100%;width:100%;padding:13px 14px;border:1px solid #dce2eb;border-radius:9px;background:#fff;color:#101827;font-size:15px;box-shadow:none}
html.fx-unified-theme[data-theme] body .connected-auth input:focus-visible,html.fx-unified-theme[data-theme] body .connected-auth select:focus-visible,html.fx-unified-theme[data-theme] body .connected-auth-form :is(input,select):focus-visible{outline:3px solid #345ff12b;outline-offset:1px;border-color:#345ff1}
html.fx-unified-theme[data-theme] body .connected-auth .ad-password-field{position:relative;display:block}
html.fx-unified-theme[data-theme] body .connected-auth .ad-password-field input{padding-right:70px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-password-toggle{right:9px;top:auto;bottom:5px;min-width:50px;min-height:44px;color:#5a6d8c;background:transparent;border:0;font-size:12px}
html.fx-unified-theme[data-theme] body .connected-auth .btn,html.fx-unified-theme[data-theme] body .connected-auth-form .btn{min-height:48px;border-radius:9px;padding:12px 18px;font-size:14px;font-weight:650;box-shadow:none;background:#fff;color:#23334d;border:1px solid #dce2eb;white-space:normal}
html.fx-unified-theme[data-theme] body .connected-auth .btn.primary,html.fx-unified-theme[data-theme] body .connected-auth-form .btn.primary{background:#345ff1;border-color:#345ff1;color:#fff}
html.fx-unified-theme[data-theme] body .connected-auth .btn.primary:hover:not(:disabled),html.fx-unified-theme[data-theme] body .connected-auth-form .btn.primary:hover:not(:disabled){background:#264cd4}
html.fx-unified-theme[data-theme] body .connected-auth :is(button,a):focus-visible,html.fx-unified-theme[data-theme] body .connected-auth-form :is(button,a):focus-visible{outline:3px solid #345ff155;outline-offset:3px}
html.fx-unified-theme[data-theme] body .connected-auth :is(button,input):disabled,html.fx-unified-theme[data-theme] body .connected-auth-form :is(button,input):disabled{opacity:.55;cursor:not-allowed}
html.fx-unified-theme[data-theme] body .connected-auth .text-button,html.fx-unified-theme[data-theme] body .connected-auth-form a{color:#345ff1;font-size:13px;min-height:44px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-alternate{margin:20px 0 0;padding:0;border:0;text-align:center}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-alternate p{margin:0;font-size:12px;color:#667285}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-alternate .text-button{display:inline;padding:0 4px;border:0;background:none;font-weight:650}
html.fx-unified-theme[data-theme] body .connected-auth .ad-security-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:24px;padding-top:20px;border-top:1px solid #e8edf4;background:none;font-size:12px;color:#7a879b;text-align:center}
html.fx-unified-theme[data-theme] body .connected-auth .ad-security-strip span{display:flex;align-items:flex-start;justify-content:center;gap:7px;white-space:normal;line-height:1.7}
html.fx-unified-theme[data-theme] body .connected-auth .ad-security-strip svg{width:15px;height:15px;flex:0 0 auto;margin-top:3px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-recovery{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;font-size:12px;color:#667285}
html.fx-unified-theme[data-theme] body .connected-auth .ad-policy,html.fx-unified-theme[data-theme] body .connected-auth .footnote,html.fx-unified-theme[data-theme] body .connected-auth-form .meta{color:#667285;font-size:12px;line-height:1.7;margin:0}
html.fx-unified-theme[data-theme] body .connected-auth .checkbox,html.fx-unified-theme[data-theme] body .connected-auth-form .checkbox{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.65;font-weight:400}
html.fx-unified-theme[data-theme] body .connected-auth .checkbox input,html.fx-unified-theme[data-theme] body .connected-auth-form .checkbox input{width:18px;height:18px;flex:0 0 auto;margin:2px 0;accent-color:#345ff1}
html.fx-unified-theme[data-theme] body .connected-auth .checkbox small,html.fx-unified-theme[data-theme] body .connected-auth-form .checkbox small{display:block;color:#5f6b7f}
html.fx-unified-theme[data-theme] body .connected-auth .ad-country-button{display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dce2eb;background:#fff;color:#101827;border-radius:9px;padding:13px 14px;text-align:left}
html.fx-unified-theme[data-theme] body .connected-auth .ad-country-button svg{width:18px;flex:0 0 auto}
html.fx-unified-theme[data-theme] body .connected-auth .ad-country-button span:nth-child(2){flex:1;min-width:0}
html.fx-unified-theme[data-theme] body .connected-auth-availability{margin-top:22px;padding-top:18px;border-top:1px solid #e1e7f0;font-size:12px}
html.fx-unified-theme[data-theme] body .connected-auth-availability summary{min-height:44px;cursor:pointer;color:#4d5d76}
html.fx-unified-theme[data-theme] body .connected-auth-availability .ad-checklist{margin:12px 0;padding-left:20px;line-height:1.8}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-footer{position:static;max-width:1120px;margin:0 auto;padding:0 32px 32px;background:transparent;color:#718098;border:0}
html.fx-unified-theme[data-theme] body .connected-auth .ad-required-password-page>.ad-auth-card{margin:36px auto}
html.fx-unified-theme[data-theme] body .connected-auth.ad-required-password-page>.ad-auth-card{margin:36px auto}
html.fx-unified-theme[data-theme] body .connected-auth :is(#auth-error,[role=alert]):not(:empty),html.fx-unified-theme[data-theme] body .connected-auth-form [role=alert]:not(:empty){padding:12px;border:1px solid #f3c6c7;background:#fff4f4;color:#a13136;border-radius:9px;overflow-wrap:anywhere}
/* The SDK iframe owns Google's button. Do not recolor, crop, transform or overlay it. */
html.fx-unified-theme[data-theme] body .connected-auth .fx-google-auth{order:0;margin:0 0 18px;display:flex;flex-direction:column;min-width:0}
html.fx-unified-theme[data-theme] body .connected-auth .fx-google-divider{order:3;display:flex;align-items:center;gap:16px;margin:18px 0 0;font-size:11px;color:#8a95a6}
html.fx-unified-theme[data-theme] body .connected-auth .fx-google-divider:before,html.fx-unified-theme[data-theme] body .connected-auth .fx-google-divider:after{content:"";height:1px;flex:1;background:#e5e9f0}
html.fx-unified-theme[data-theme] body .connected-auth .fx-google-divider span{background:transparent;padding:0}
html.fx-unified-theme[data-theme] body .fx-google-auth [data-google-button],html.fx-unified-theme[data-theme] body .fx-google-auth [data-google-button]:not(:empty){box-sizing:border-box;max-width:400px;width:100%;margin:0 auto;min-height:40px;padding:0}
html.fx-unified-theme[data-theme] body .fx-google-auth [data-google-status]{min-width:0;max-width:100%;font-size:12px;line-height:1.6;color:#667285;margin:8px 0 0;overflow-wrap:anywhere;white-space:normal}
html.fx-unified-theme[data-theme] body .connected-google-preparing{box-sizing:border-box;display:grid;grid-template-columns:20px minmax(0,1fr) 14px;align-items:center;gap:10px;width:100%;max-width:400px;min-height:40px;padding:8px 12px;border:1px solid #dadce0;border-radius:4px;background:#fff;color:#687386;font:500 14px/20px 'ATAFX Google Sans',Arial,sans-serif;text-align:center}
html.fx-unified-theme[data-theme] body .fx-google-auth .connected-google-mark{display:block;flex:0 0 20px;width:20px;height:20px;min-width:20px;object-fit:contain;filter:none;opacity:1;background:#fff;border-radius:0}
html.fx-unified-theme[data-theme] body .connected-loading-dot{box-sizing:border-box;width:14px;height:14px;border:2px solid #d9e2f5;border-top-color:#345ff1;border-radius:50%;animation:connected-loading .8s linear infinite}
html.fx-unified-theme[data-theme] body .fx-google-auth .fx-google-entry[data-google-retry]{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:44px;width:100%;max-width:400px;margin:0 auto;padding:10px 12px;border:1px solid #747775;border-radius:4px;background:#fff;color:#1f1f1f;font:500 14px/20px 'ATAFX Google Sans',Arial,sans-serif;white-space:normal}
/* The explicit image replaces the old CSS pseudo-image; never show two G marks. */
html.fx-unified-theme[data-theme] body .fx-google-auth .fx-google-entry[data-google-retry]::before{content:none;display:none}
html.fx-unified-theme[data-theme] body .fx-google-auth .fx-google-entry[data-google-retry]:focus-visible{outline:3px solid #345ff155;outline-offset:3px}
html.fx-unified-theme[data-theme] body .fx-google-auth [data-google-retry-label]{min-width:0;flex:1;overflow-wrap:anywhere;text-align:center}
html.fx-unified-theme[data-theme] body .fx-google-auth [hidden]{display:none!important}@keyframes connected-loading{to{transform:rotate(1turn)}}
html.fx-unified-theme[data-theme] body #modal:has(.connected-auth-form){width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #e3e8f1;border-radius:22px;padding:28px;background:#fff;color:#101827}
html.fx-unified-theme[data-theme] body #modal:has(.connected-auth-form) .modal-header{align-items:flex-start;gap:16px}
html.fx-unified-theme[data-theme] body #modal:has(.connected-auth-form) :is(h2,h3){color:#101827}
html.fx-unified-theme[data-theme] body #modal:has(.connected-auth-form) .meta{color:#667285}
html.fx-unified-theme[data-theme] body #modal:has(.connected-auth-form) .stack{gap:18px}
html.fx-unified-theme[data-theme] body #modal:has(.connected-auth-form) .code-box{overflow-wrap:anywhere;white-space:normal}
/* Actual email/document/review flows: compact stepper and a centered readable form column. */
html.fx-unified-theme[data-theme] body .connected-onboarding{max-width:860px;margin:24px auto 64px;min-width:0;display:block}
html.fx-unified-theme[data-theme] body .connected-onboarding.ad-email-layout{display:grid;grid-template-columns:160px minmax(0,480px);gap:28px;justify-content:center}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-onboarding-rail{position:static;display:flex;flex-direction:column;gap:10px;align-self:start;max-width:100%;background:transparent;padding:0;border:0}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-onboarding-rail button{min-height:44px;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#667285;text-align:left;padding:10px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-onboarding-rail button.active{background:#eaf0ff;color:#345ff1;border-radius:9px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-onboarding-rail span{width:22px;height:22px;display:grid;place-items:center;border:1px solid #ccd7ed;border-radius:50%;font-size:11px}
html.fx-unified-theme[data-theme] body .connected-auth .account-progress,html.fx-unified-theme[data-theme] body .connected-onboarding .account-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;position:static;width:100%;margin:0 0 26px;padding:0;list-style:none;background:none;border:0;box-shadow:none}
html.fx-unified-theme[data-theme] body .connected-auth .account-progress li,html.fx-unified-theme[data-theme] body .connected-onboarding .account-progress li{display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;min-width:0;padding:0;text-align:center;color:#5f6b7f}
html.fx-unified-theme[data-theme] body .connected-auth .account-progress li>span,html.fx-unified-theme[data-theme] body .connected-onboarding .account-progress li>span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;border:1px solid #d7deea;background:#fff;font-size:11px}
html.fx-unified-theme[data-theme] body .connected-auth .account-progress li b,html.fx-unified-theme[data-theme] body .connected-onboarding .account-progress li b{font-size:11px;font-weight:500}
html.fx-unified-theme[data-theme] body .connected-auth .account-progress li.current>span,html.fx-unified-theme[data-theme] body .connected-onboarding .account-progress li.current>span{background:#345ff1;border-color:#345ff1;color:#fff}
html.fx-unified-theme[data-theme] body .connected-auth .account-progress li.done>span,html.fx-unified-theme[data-theme] body .connected-onboarding .account-progress li.done>span{background:#eaf0ff;border-color:#d4dfff;color:#345ff1}
html.fx-unified-theme[data-theme] body .connected-auth .account-progress svg,html.fx-unified-theme[data-theme] body .connected-onboarding .account-progress svg{width:14px;height:14px}
html.fx-unified-theme[data-theme] body .connected-onboarding :is(.card,.ad-centered-card){background:#fff;color:#101827;border:1px solid #e3e8f1;border-radius:18px;padding:26px;box-shadow:0 10px 28px #162b4a06;min-width:0}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-centered-card{max-width:480px;text-align:left;margin:0}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-centered-card h1{font-size:28px;letter-spacing:-.8px;margin:12px 0;color:#101827}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-centered-actions{display:grid;gap:10px;margin:22px 0}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-centered-actions .btn{width:100%;min-height:48px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-round-icon{width:48px;height:48px;background:#edf2ff;color:#345ff1;border-radius:13px;font-size:24px;display:grid;place-items:center;margin:0}
html.fx-unified-theme[data-theme] body .connected-onboarding .meta,html.fx-unified-theme[data-theme] body .connected-onboarding .footnote{color:#667285;line-height:1.7}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-email-address{display:block;overflow-wrap:anywhere;padding:16px;background:#f5f7fb;border-radius:9px;font-size:14px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-document-grid>section{min-width:0}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-upload-card{border:1px dashed #bccbef;text-align:center;background:#f9fbff}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-document-review,html.fx-unified-theme[data-theme] body .connected-onboarding #ad-identity-history,html.fx-unified-theme[data-theme] body .connected-onboarding #ad-manual-submission{margin-top:20px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-camera-frame{max-height:300px;border-radius:12px;background:#f4f7fc}
html.fx-unified-theme[data-theme] body .connected-onboarding video{max-width:100%;max-height:280px}
html.fx-unified-theme[data-theme] body .connected-onboarding input:not([type=checkbox]),html.fx-unified-theme[data-theme] body .connected-onboarding select{min-height:48px;background:#fff;border:1px solid #dce2eb;color:#101827;border-radius:9px;max-width:100%}
html.fx-unified-theme[data-theme] body .connected-onboarding .btn.primary{background:#345ff1;color:#fff;border-color:#345ff1}
/* All eighteen operational workspaces reuse this grid, table, form and state system. */
html.fx-unified-theme[data-theme] body .connected-admin{max-width:1600px;margin:0 auto;--ad-bg:#fff;--ad-card:#fff;--ad-border:#e1e7f0;--ad-muted:#667285;--ad-text:#101827;background:transparent;color:#101827}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header){display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:8px 0 24px;background:none;border:0;box-shadow:none}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:clamp(28px,2.6vw,38px);line-height:1.15;letter-spacing:-1.1px;font-weight:650;color:#101827;margin:9px 0}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) .eyebrow{font-size:11px;color:#345ff1;letter-spacing:1.6px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-header-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end;font-size:12px;color:#667285}
html.fx-unified-theme[data-theme] body .connected-admin .ad-page-nav{display:flex;flex-wrap:nowrap;align-items:stretch;gap:5px;overflow:auto;overscroll-behavior-x:contain;min-width:0;max-width:100%;padding:0 0 10px;margin:0 0 27px;border-bottom:1px solid #e0e6ef;background:none;scrollbar-width:thin}
html.fx-unified-theme[data-theme] body .connected-admin .ad-page-nav button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;min-height:44px;line-height:1.25;white-space:nowrap;border:0;border-radius:7px;padding:10px 12px;background:transparent;color:#65728a;font-size:12px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-page-nav button.active{background:#e7edff;color:#345ff1;font-weight:700}
html.fx-unified-theme[data-theme] body .connected-admin :is(.card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.ad-queue){min-width:0;border:1px solid #e1e7f0;background:#fff;color:#101827;border-radius:18px;box-shadow:0 6px 22px #1b355704;padding:26px}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){margin-bottom:22px}
html.fx-unified-theme[data-theme] body .connected-admin :is(h2,h3,h4){color:#101827;line-height:1.35}
html.fx-unified-theme[data-theme] body .connected-admin h2{font-size:19px;margin:0 0 8px;letter-spacing:-.35px}
html.fx-unified-theme[data-theme] body .connected-admin h3{font-size:17px;margin:20px 0 12px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-panel-head>div{min-width:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-panel-head p{color:#667285;font-size:12px;line-height:1.7;margin:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-panel-head .actions{margin:0;flex-shrink:0;flex-wrap:wrap}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 24px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric{min-width:0;min-height:138px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;padding:24px;background:#fff;border:1px solid #e1e7f0;border-radius:17px;text-align:left;color:#101827;box-shadow:none}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric:first-child{background:#142441;color:#fff;border-color:#142441}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric strong,html.fx-unified-theme[data-theme] body .connected-admin .ad-metric>b{font-size:30px;line-height:1.15;overflow-wrap:anywhere;font-weight:600}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric small{font-size:12px;line-height:1.5;color:#7a879b}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric:first-child small{color:#b3c1d8}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric>span{font-size:12px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-grid-7-5,html.fx-unified-theme[data-theme] body .connected-admin .ad-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
html.fx-unified-theme[data-theme] body .connected-admin .connected-overview-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fx-unified-theme[data-theme] body .connected-admin #ad-work-queue{grid-column:1/-1}
html.fx-unified-theme[data-theme] body .connected-admin .connected-admin-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html.fx-unified-theme[data-theme] body .connected-admin .connected-admin-quick .btn{justify-content:flex-start;text-align:left;min-height:50px;background:#f6f8fc}
html.fx-unified-theme[data-theme] body .connected-admin #ad-overview-notifications{grid-column:1/-1}
html.fx-unified-theme[data-theme] body .connected-admin .ad-settlement-strip{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#eef2fb;border:1px solid #dce5f5;border-radius:13px;padding:18px;font-size:12px;color:#53647c}
html.fx-unified-theme[data-theme] body .connected-admin .ad-workbench{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;align-items:start}
html.fx-unified-theme[data-theme] body .connected-admin .ad-workbench>.ad-queue{max-height:none;overflow:visible;position:static}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){min-width:0}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail)>.card{margin-bottom:18px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-back-to-queue{margin-bottom:14px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-controls input{flex:1;min-width:160px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-controls select{width:auto;max-width:100%}
html.fx-unified-theme[data-theme] body .connected-admin .ad-record{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:74px;padding:15px 12px;background:#fff;border:0;border-bottom:1px solid #edf0f5;border-radius:0;color:#101827;text-align:left}
html.fx-unified-theme[data-theme] body .connected-admin .ad-record.selected{background:#f0f4ff;border-radius:10px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-record>span{min-width:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-record b{font-size:13px;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] body .connected-admin .ad-record small{font-size:12px;line-height:1.6;color:#5f6b7f}
html.fx-unified-theme[data-theme] body .connected-admin .ad-avatar{width:36px;height:36px;flex:0 0 auto;border-radius:50%;background:#eaf0ff;color:#345ff1;font-size:12px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-member-record-status{margin-left:auto;text-align:right;max-width:42%}
html.fx-unified-theme[data-theme] body .connected-admin .ad-table-wrap{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%;border:1px solid #e4e9f1;border-radius:11px;background:#fff}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table){width:100%;min-width:480px;border-collapse:collapse;table-layout:auto;background:#fff;color:#101827}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th{background:#f7f9fc;font-size:11px;letter-spacing:.3px;color:#6b788d;font-weight:600;padding:13px 14px;white-space:normal}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td{padding:14px;font-size:13px;vertical-align:middle;border-bottom:1px solid #edf0f5;overflow-wrap:anywhere;line-height:1.6}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td small{display:block;font-size:12px;color:#5f6b7f;line-height:1.65}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td .btn{min-height:44px;white-space:normal}
html.fx-unified-theme[data-theme] body .connected-admin .empty{padding:26px 16px;min-height:100px;text-align:center;border:1px dashed #dfe5ee;border-radius:12px;background:#f9fbfd;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] body .connected-admin .empty h3{margin:0 0 8px;font-size:15px}
html.fx-unified-theme[data-theme] body .connected-admin .empty p{font-size:13px;line-height:1.6;color:#78869c}
html.fx-unified-theme[data-theme] body .connected-admin .btn{min-height:44px;border-radius:9px;background:#fff;border:1px solid #dce3ee;color:#33445f;padding:10px 14px;font-size:12px;font-weight:600;white-space:normal;box-shadow:none}
html.fx-unified-theme[data-theme] body .connected-admin .btn.primary{background:#345ff1;color:#fff;border-color:#345ff1}
html.fx-unified-theme[data-theme] body .connected-admin .btn:hover:not(:disabled){background:#f0f4ff;border-color:#bdcdf5}
html.fx-unified-theme[data-theme] body .connected-admin .btn.primary:hover:not(:disabled){background:#244bd7}
html.fx-unified-theme[data-theme] body .connected-admin .btn:disabled{opacity:.5;cursor:not-allowed}
html.fx-unified-theme[data-theme] body .connected-admin :is(button,a,input,select,textarea):focus-visible{outline:3px solid #345ff145;outline-offset:2px}
html.fx-unified-theme[data-theme] body .connected-admin :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;max-width:100%;min-height:44px;background:#fff;border:1px solid #dce3ee;border-radius:9px;padding:11px 12px;color:#101827;font-size:14px;box-shadow:none}
html.fx-unified-theme[data-theme] body .connected-admin textarea{min-height:100px;resize:vertical}
html.fx-unified-theme[data-theme] body .connected-admin label{font-size:12px;color:#536179;font-weight:550}
html.fx-unified-theme[data-theme] body .connected-admin :is(input,textarea)::placeholder{color:#5f6b7f}
html.fx-unified-theme[data-theme] body .connected-admin :is(input,select,textarea):disabled{background:#f4f6fa;color:#7b8798}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-form,.form-grid){gap:18px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-segments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-segments .btn[aria-pressed=true]{background:#edf2ff;color:#345ff1;border-color:#cad8ff}
html.fx-unified-theme[data-theme] body .connected-admin .ad-facts{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:0;margin:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-facts>dt,html.fx-unified-theme[data-theme] body .connected-admin .ad-facts>dd{margin:0;padding:13px 0;border-bottom:1px solid #edf0f5;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] body .connected-admin .ad-facts>dt{padding-right:16px;color:#748097}
html.fx-unified-theme[data-theme] body .connected-admin .ad-facts>dd{text-align:right;color:#1d2d46}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){display:flex;gap:10px;margin:14px 0;padding:13px 15px;border:1px solid #dce6f8;background:#f1f6ff;border-radius:10px;color:#526581;font-size:13px;line-height:1.7}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice) p{margin:0}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold{background:#fff9ec;color:#8a661c;border-color:#f0dfb8}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).red{background:#fff3f3;color:#a53d45;border-color:#f1cbd0}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice) svg{width:18px;flex:0 0 auto}
html.fx-unified-theme[data-theme] body .connected-admin .ad-pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;margin:16px 0 0;font-size:12px;color:#758298}
html.fx-unified-theme[data-theme] body .connected-admin .ad-pagination>span{margin-right:auto}
html.fx-unified-theme[data-theme] body .connected-admin .ad-notification{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #edf0f5}
html.fx-unified-theme[data-theme] body .connected-admin .ad-notification b{font-size:13px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-notification p{font-size:13px;line-height:1.7;color:#667285;margin:7px 0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-notification small{font-size:11px;color:#5f6b7f}
html.fx-unified-theme[data-theme] body .connected-admin .ad-timeline-dot{background:#345ff1}
html.fx-unified-theme[data-theme] body .connected-admin .code-box,html.fx-unified-theme[data-theme] body .connected-admin pre{background:#f6f8fc;color:#465771;border-color:#e2e8f1;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:1100px){
html.fx-unified-theme[data-theme] body .connected-admin .ad-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
html.fx-unified-theme[data-theme] body .connected-admin .ad-workbench,html.fx-unified-theme[data-theme] body .connected-admin .ad-grid-7-5,html.fx-unified-theme[data-theme] body .connected-admin .ad-grid-2{grid-template-columns:minmax(0,1fr)}
html.fx-unified-theme[data-theme] body .connected-admin .ad-panel-head{flex-wrap:wrap}
html.fx-unified-theme[data-theme] body .connected-admin .ad-panel-head .actions{flex-shrink:1}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-layout,html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-layout.register{gap:30px;padding:38px 24px 80px}
html.fx-unified-theme[data-theme] body .connected-auth-story h2{font-size:34px}}
@media(max-width:760px){
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-header{min-height:64px;padding:12px 20px;gap:10px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-header nav{gap:2px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-header nav .btn{font-size:12px;padding:8px 10px;min-height:44px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-layout,html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-layout.register{display:block;max-width:520px;margin:0 auto;padding:24px 16px 72px}
html.fx-unified-theme[data-theme] body .connected-auth .connected-auth-story{display:none}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card{max-width:none;padding:26px 22px;border-radius:16px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card>h1{font-size:26px}
html.fx-unified-theme[data-theme] body .connected-auth :is(input:not([type=checkbox]):not([type=radio]),select),html.fx-unified-theme[data-theme] body .connected-auth-form :is(input:not([type=checkbox]):not([type=radio]),select){font-size:16px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-footer{padding:0 20px 28px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-footer .fx-footer-links{display:grid;gap:14px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-recovery{display:grid;gap:6px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-required-password-page>.ad-auth-card,html.fx-unified-theme[data-theme] body .connected-auth.ad-required-password-page>.ad-auth-card{width:calc(100% - 32px);margin:24px 16px}
html.fx-unified-theme[data-theme] body .connected-onboarding{margin:20px 0 50px}
html.fx-unified-theme[data-theme] body .connected-onboarding.ad-email-layout{grid-template-columns:minmax(0,1fr);gap:16px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-onboarding-rail{flex-direction:row;overflow:auto;gap:2px;padding-bottom:5px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-onboarding-rail button{font-size:12px;flex:0 0 auto}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-centered-card{max-width:none}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-document-grid,html.fx-unified-theme[data-theme] body .connected-onboarding .ad-review-grid{grid-template-columns:minmax(0,1fr)}
html.fx-unified-theme[data-theme] body .connected-onboarding :is(.card,.ad-centered-card){padding:22px 18px;border-radius:14px}
html.fx-unified-theme[data-theme] body .connected-onboarding .ad-form{gap:16px}
html.fx-unified-theme[data-theme] body .connected-onboarding input,html.fx-unified-theme[data-theme] body .connected-onboarding select{font-size:16px}
html.fx-unified-theme[data-theme] body #modal:has(.connected-auth-form){padding:22px 18px;border-radius:16px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}}
@media(max-width:600px){
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header){display:block;padding:4px 0 20px}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-header,.atafx-kyc-header,.atafx-support-header,.atafx-wallet-header) h1{font-size:28px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-header-tools{justify-content:flex-start;margin-top:16px;gap:8px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-page-nav{margin-bottom:18px;padding-bottom:12px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metrics{gap:10px;margin-bottom:18px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric{padding:17px;min-height:128px;border-radius:13px;gap:9px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric strong,html.fx-unified-theme[data-theme] body .connected-admin .ad-metric>b{font-size:27px}
html.fx-unified-theme[data-theme] body .connected-admin :is(.card,:is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),.ad-queue){padding:18px;border-radius:13px}
html.fx-unified-theme[data-theme] body .connected-admin :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){margin-bottom:18px}
html.fx-unified-theme[data-theme] body .connected-admin h2{font-size:18px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-panel-head{gap:12px;margin-bottom:17px}
html.fx-unified-theme[data-theme] body .connected-admin .connected-admin-quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html.fx-unified-theme[data-theme] body .connected-admin .connected-admin-quick .btn{padding:12px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-controls>input,html.fx-unified-theme[data-theme] body .connected-admin .ad-controls>select{width:100%;min-width:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-record{padding:14px 8px;flex-wrap:wrap}
html.fx-unified-theme[data-theme] body .connected-admin .ad-member-record-identity{flex:1}
html.fx-unified-theme[data-theme] body .connected-admin .ad-member-record-status{max-width:100%;margin-left:48px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-facts{grid-template-columns:minmax(100px,.9fr) minmax(0,1.1fr)}
html.fx-unified-theme[data-theme] body .connected-admin :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-form,html.fx-unified-theme[data-theme] body .connected-admin .form-grid{grid-template-columns:minmax(0,1fr)}
html.fx-unified-theme[data-theme] body .connected-admin .ad-form .full,html.fx-unified-theme[data-theme] body .connected-admin .form-grid .full{grid-column:auto}
html.fx-unified-theme[data-theme] body .connected-admin .ad-segments{gap:6px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-segments .btn{padding:8px 12px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-table-wrap{margin:0;max-width:100%}
html.fx-unified-theme[data-theme] body .connected-admin .ad-empty{min-height:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-settlement-strip{padding:16px;margin-bottom:20px}
html.fx-unified-theme[data-theme] body .connected-admin .ad-workbench[data-mobile-detail=false]>:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail){display:none}
html.fx-unified-theme[data-theme] body .connected-admin .ad-workbench[data-mobile-detail=true]>.ad-queue{display:none}}
@media(prefers-reduced-motion:reduce){
html.fx-unified-theme[data-theme] body .connected-loading-dot{animation:none}}

/* Exact old-board layout selectors are retired only inside the new auth root. */
html.fx-unified-theme[data-theme] body .connected-auth .register #auth-form{grid-template-columns:minmax(0,1fr);gap:18px}
html.fx-unified-theme[data-theme] body .connected-auth .register .ad-auth-card{padding:36px}
html.fx-unified-theme[data-theme] body .connected-auth .register .ad-availability{padding:18px 0 0;border:0;border-top:1px solid #e1e7f0;border-radius:0;background:transparent}
html.fx-unified-theme[data-theme] body .connected-auth .ad-form>.btn.primary{background:#345ff1;border-color:#345ff1;color:#fff;border-radius:9px;min-height:48px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-form>.btn.primary:disabled{background:#345ff1;border-color:#345ff1;color:#fff;opacity:.55}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-card .ad-form label{font-size:12px}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-alternate{display:block;text-align:center}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-alternate>p,html.fx-unified-theme[data-theme] body .connected-auth .ad-security-strip span{color:#5f6b7f}
html.fx-unified-theme[data-theme] body .connected-auth .ad-auth-footer :is(a,.btn){color:#667285}
html.fx-unified-theme[data-theme] body .connected-admin .ad-back-to-queue{display:none}
@media(max-width:760px){html.fx-unified-theme[data-theme] body .connected-auth .register .ad-auth-card{padding:26px 22px}html.fx-unified-theme[data-theme] body .connected-admin .ad-back-to-queue{display:inline-flex}}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric>span:not(.ad-metric-icon){display:flex;flex-direction:column;gap:9px;width:100%;min-width:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric .ad-metric-icon{width:28px;height:28px;display:grid;place-items:center;color:#345ff1;background:#eef3ff;border-radius:8px;margin:0}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric:first-child .ad-metric-icon{color:#b3c6ff;background:#ffffff14}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric em{font-style:normal;font-size:12px;color:#7a879b;line-height:1.6}
html.fx-unified-theme[data-theme] body .connected-admin .ad-metric:first-child em{color:#b3c1d8}
html.fx-unified-theme[data-theme] body .connected-admin .ad-mobile-nav{background:#fffffff5;border-color:#e1e7f0;box-shadow:0 -4px 18px #1c355508}
html.fx-unified-theme[data-theme] body .connected-admin .ad-mobile-nav button{color:#63728a;min-height:48px}
html.fx-unified-theme[data-theme] body .connected-onboarding :is(h1,h2,h3){color:#101827}
html.fx-unified-theme[data-theme] body .ad-onboarding-header{background:#fff;color:#101827;border-color:#e1e7f0}
html.fx-unified-theme[data-theme] body .ad-onboarding-title h1{color:#101827}
html.fx-unified-theme[data-theme] body .ad-onboarding-title .meta{color:#667285}
/* Match the real recovery/alternate controls without restyling GIS content. */
html.fx-unified-theme[data-theme] body #app .connected-auth :is(.ad-auth-recovery,.ad-auth-alternate)>.text-button{color:#345ff1}
html.fx-unified-theme[data-theme] body #app .connected-auth :is(.ad-auth-recovery,.ad-auth-alternate)>.text-button:hover{color:#254dd8}
/* Account settings retain their real state text on the connected white cards. */
html.fx-connected-design.fx-unified-theme[data-theme] body #app #page-content .connected-account-card .ad-setting-row small{color:#667285}
html.fx-connected-design.fx-unified-theme[data-theme] body #app #page-content .connected-account-card .ad-setting-row svg{color:#345ff1}

/* ATAFX connected theme: previously unpaired admin surfaces, 2026-10-16.
   Append to connected-auth-admin.css after the current integrated handoff.
   Color-only changes: preserve existing markup, permissions, routing, timing,
   forms, attachments, queues and all financial state. Runtime verification is
   still required against the full deployed cascade. */
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin {
  --ad-panel:#fff;
  --ad-panel-soft:#f4f6fa;
  --ad-accent:#345ff1;
}

/* Actual staff conversation and note elements from ui-admin-design.js. */
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-chat .message {
  background:#f4f6fa;
  color:#101827;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-chat .message.mine {
  background:#345ff1;
  color:#fff;
  border-color:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-chat .message p {
  color:inherit;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-chat .message small {
  color:#5f6b7f;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-chat .message a {
  color:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-chat .message.mine :is(small,a) {
  color:#fff;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-support-form {
  background:#fff;
  color:#101827;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-internal-note {
  color:#101827;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-internal-note :is(b,p) {
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-internal-note small,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-member-header p {
  color:#5f6b7f;
}

/* Administrative records on light parent panels. */
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-audit-row {
  background:transparent;
  color:#29364e;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-audit-row b {
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-audit-row small,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-audit-row > svg {
  color:#5f6b7f;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-audit-row:hover:not(:disabled) {
  background:#eef2ff;
  color:#29364e;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-balance-grid > div,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-save-bar,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-verification-strip {
  background:#f4f6fa;
  color:#101827;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-balance-grid small,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-save-bar .ad-dirty-state,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-verification-strip small {
  color:#5f6b7f;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-controls .ad-search {
  background:#fff;
  color:#101827;
  border-color:#dce3ee;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-controls .ad-search svg {
  color:#5f6b7f;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-provider-card {
  background:#fff;
  color:#101827;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-provider-card > svg {
  color:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-provider-card small {
  color:#5f6b7f;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-provider-card.selected,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-provider-card[aria-pressed=true] {
  background:#eef2ff;
  color:#101827;
  border-color:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-provider-card:hover:not(:disabled) {
  background:#eef2ff;
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-settlement-times b {
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-settlement-times span,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-progress li {
  color:#5f6b7f;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-settlement-times i {
  color:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-progress li > span {
  background:#f4f6fa;
  color:#5f6b7f;
  border-color:#8091aa;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-progress li:not(:last-child)::after {
  background:#8091aa;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-progress li.done > span {
  background:#345ff1;
  color:#fff;
  border-color:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-progress li.current > span {
  background:#eef2ff;
  color:#345ff1;
  border-color:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-progress li.done::after {
  background:#345ff1;
}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-mobile-nav button svg {
  color:inherit;
}

/* These exact components also render in the shared dialog, outside #app and
   outside .connected-admin. Do not recolor arbitrary dialog descendants. */
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal .ad-facts dt {
  color:#5f6b7f;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal .ad-facts dd {
  color:#101827;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) {
  background:#fff;
  color:#101827;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) tr,
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td {
  background:#fff;
  color:#101827;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th {
  background:#f4f6fa;
  color:#5f6b7f;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td small,
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td::before {
  color:#5f6b7f;
}
html.fx-connected-design.fx-unified-theme[data-theme] body dialog#modal .ad-json {
  background:#f4f6fa;
  color:#29364e;
  border-color:#e1e7f0;
}
html.fx-connected-design.fx-unified-theme[data-theme] body :is(.connected-admin,dialog#modal) .ad-route-path {
  color:#137f60;
}
html.fx-connected-design.fx-unified-theme[data-theme] body :is(.connected-admin,dialog#modal) :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice) {
  background:#eef3ff;
  color:#334f83;
  border-color:#c5d1fa;
}
html.fx-connected-design.fx-unified-theme[data-theme] body :is(.connected-admin,dialog#modal) :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).gold {
  background:#fff7e8;
  color:#785619;
  border-color:#ead6ae;
}
html.fx-connected-design.fx-unified-theme[data-theme] body :is(.connected-admin,dialog#modal) :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice).red {
  background:#fff1f2;
  color:#a13136;
  border-color:#e9b3b7;
}
html.fx-connected-design.fx-unified-theme[data-theme] body :is(.connected-admin,dialog#modal) :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice) :is(svg,p) {
  color:inherit;
}
/* Retain the existing outline width/offset; make its color visible on light
   administrative surfaces without changing keyboard focus behavior. */
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin :is(button,a,input,select,textarea):focus-visible {
  outline-color:#345ff1;
}

/* Current source audit: small secondary text on confirmed light admin surfaces.
   Preserve the intentionally dark first metric and all layout/action rules. */
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-metric:not(:first-child) :is(small,em),
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .empty p,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-facts > dt,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin .ad-pagination,
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-admin :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) th {
  color:#5f6b7f;
}

/* Support detail needs the available reading width. Keep the existing member
   context disclosure below the conversation instead of forcing two minimums. */
html.fx-unified-theme[data-theme] body #modal-content .ad-menu-list > .btn {
  color:#fff;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench {
  grid-template-columns:minmax(300px,.95fr) minmax(0,1.7fr);
  gap:16px;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench .ad-staff-chat-grid {
  grid-template-columns:minmax(0,1fr);
}
@media(max-width:1023px) {
  html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench {
    grid-template-columns:minmax(240px,.85fr) minmax(0,1.3fr);
  }
  html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench .ad-chat-title {
    flex-wrap:wrap;
    gap:8px;
  }
  html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench .ad-chat-title > div {
    flex:1 1 calc(100% - 48px);
    min-width:0;
  }
  html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench .ad-chat-title > .btn {
    margin-left:auto;
  }
}

/* The body-level staff alert keeps its dark surface in the light theme. */
html.fx-connected-design.fx-unified-theme[data-theme] body > #hc-staff-popup {
  color: #e9f2f8;
}
html.fx-connected-design.fx-unified-theme[data-theme] body > #hc-staff-popup > :is(strong,p) {
  color: inherit;
}

/* Readable queue and conversation widths, scoped to Support only. */
html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench > .ad-queue {
  padding:16px;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench :is(.ad-queue,:is(.ad-detail,.atafx-kyc-detail,.atafx-support-detail,.atafx-wallet-detail),.ad-record,.ad-chat-shell) {
  min-width:0;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench :is(.ad-queue-head,.ad-record b,.ad-record span,.ad-chat-title) {
  overflow-wrap:anywhere;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench .ad-record {
  align-items:stretch;
  flex-direction:column;
  gap:6px;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench .ad-record-bottom {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-verification-filter-summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 16px;
  font-size:14px;
}
html.fx-unified-theme[data-theme] body .connected-admin .ad-verification-filter-summary .btn {
  min-height:44px;
  white-space:normal;
}
@media(max-width:767px) {
  html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench {
    grid-template-columns:minmax(0,1fr);
  }
  html.fx-unified-theme[data-theme] body .connected-admin .ad-support-workbench .ad-back-to-queue {
    display:inline-flex;
    min-height:44px;
  }
}

/* Company shared receiving-address settings: existing QR and admin controls. */
#ad-wallet-addresses{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;min-width:0}
#ad-wallet-addresses :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel),#ad-wallet-addresses .form-grid,#ad-wallet-addresses .full{min-width:0}
#ad-wallet-addresses .ad-panel-head{flex-wrap:wrap;gap:12px}
#ad-wallet-addresses .funding-qr-card{max-width:100%;min-width:0}
#ad-wallet-addresses .funding-qr-address{overflow-wrap:anywhere;word-break:break-word;white-space:normal}
#ad-wallet-addresses input{width:100%;min-width:0;box-sizing:border-box;font-size:16px;min-height:44px}
#ad-wallet-addresses button{min-height:44px;white-space:normal;overflow-wrap:anywhere}
#ad-wallet-addresses .ad-wallet-policy{font-size:14px;line-height:1.6;overflow-wrap:anywhere;margin:0}
#ad-wallet-addresses .form-actions{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:800px){#ad-wallet-addresses{grid-template-columns:minmax(0,1fr);gap:12px}#ad-wallet-addresses :is(.ad-panel,.atafx-kyc-panel,.atafx-support-panel,.atafx-wallet-panel){padding:12px}#ad-wallet-addresses .form-actions .btn{width:100%}}

/* Keep administrator task labels readable in the compact desktop range. */
@media (min-width:768px) and (max-width:1279px) {
  html.fx-connected-design.fx-unified-theme[data-theme] #app:has(> .main.connected-staff-workspace) {
    --connected-sidebar:218px;
  }
  html.fx-connected-design.fx-unified-theme[data-theme] #app:has(> .main.connected-staff-workspace) > .sidebar .ad-sidebar-nav .nav-item {
    justify-content:flex-start;
    padding:12px 15px;
  }
  html.fx-connected-design.fx-unified-theme[data-theme] #app:has(> .main.connected-staff-workspace) > .sidebar .ad-sidebar-nav .nav-item > span,
  html.fx-connected-design.fx-unified-theme[data-theme] #app:has(> .main.connected-staff-workspace) > .sidebar .ad-sidebar-nav .ad-sidebar-group > summary > span {
    display:block;
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  html.fx-connected-design.fx-unified-theme[data-theme] #app:has(> .main.connected-staff-workspace) > .sidebar .ad-sidebar-nav .ad-sidebar-group > summary {
    justify-content:flex-start;
    padding:10px 12px;
  }
  html.fx-connected-design.fx-unified-theme[data-theme] #app:has(> .main.connected-staff-workspace) > .sidebar .ad-sidebar-nav .ad-sidebar-group > summary::after {
    display:block;
  }
}

/* Verification queue stays readable inside its card, including narrow screens. */
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) { min-width:0; }
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification-queue .ad-table-wrap { overflow:visible; }
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification-queue :is(td,small,.ad-review-applicant,.ad-review-applicant>span) { min-width:0; overflow-wrap:anywhere; }
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification-detail .ad-grid-7-5 { grid-template-columns:minmax(0,1fr); }
@media(max-width:760px) {
  html.fx-unified-theme[data-theme] body .connected-admin #ad-verification-queue :is(:is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table),tbody,tr) { display:block; width:100%; }
  html.fx-unified-theme[data-theme] body .connected-admin #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td { display:flex; flex-wrap:wrap; gap:8px; width:100%; }
  html.fx-unified-theme[data-theme] body .connected-admin #ad-verification-queue :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table) td:first-child { display:block; }
}

/* Verification opens one selected case at a time on desktop and mobile. */
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification .ad-verification-workbench {
  grid-template-columns:minmax(0,1fr);
}
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification .ad-verification-workbench[data-mobile-detail="false"] > .atafx-kyc-detail {
  display:none;
}
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification .ad-verification-workbench[data-mobile-detail="true"] > .ad-queue {
  display:none;
}
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification .ad-back-to-queue {
  display:inline-flex;
  min-height:44px;
}
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification .atafx-kyc-open-member {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:left;
}
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification .atafx-kyc-case-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
html.fx-unified-theme[data-theme] body .connected-admin #ad-verification .atafx-kyc-case-actions > button {
  min-height:44px;
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}

/* Explicit destructive member action; no change to deletion permissions. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .admin-design button.btn[data-action="ad-member-delete"],
html.fx-connected-design.fx-unified-theme[data-theme] #modal #ad-member-deletion-form button.btn[type="submit"] {
  background:#b42332;color:#fff;border-color:#b42332;min-height:44px;white-space:normal;overflow-wrap:anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .admin-design button.btn[data-action="ad-member-delete"]:hover,
html.fx-connected-design.fx-unified-theme[data-theme] #modal #ad-member-deletion-form button.btn[type="submit"]:hover {background:#911b28;border-color:#911b28;}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .admin-design button.btn[data-action="ad-member-delete"]:focus-visible,
html.fx-connected-design.fx-unified-theme[data-theme] #modal #ad-member-deletion-form button.btn[type="submit"]:focus-visible {outline:3px solid #f4a4ad;outline-offset:3px;}
#ad-manual-reject-form textarea {width:100%;min-height:130px;box-sizing:border-box;overflow-wrap:anywhere;}

/* Button colours only: pair light-theme text/background across shared dialogs.
   Keep control sizes, disabled/busy semantics and destructive actions unchanged. */
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn:not(.primary):not(.danger){background:#fff;color:#29364e;border-color:#dce2ee}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn:not(.primary):not(.danger):hover:not(:disabled){background:#f2f5ff;color:#29364e;border-color:#aebfea}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn:not(.primary):not(.danger):active:not(:disabled){background:#e6edff;color:#29364e;border-color:#91a6d7}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn.primary:not(.danger){background:#345ff1;color:#fff;border-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn.primary:not(.danger):hover:not(:disabled){background:#264dd1;color:#fff;border-color:#264dd1}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn.primary:not(.danger):active:not(:disabled){background:#1f40b2;color:#fff;border-color:#1f40b2}
html.fx-connected-design.fx-unified-theme[data-theme] body #app #page-content .btn.danger,
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn.danger{background:#fff0f1;color:#a62b38;border-color:#e9b3b7}
html.fx-connected-design.fx-unified-theme[data-theme] body #app #page-content .btn.danger:hover:not(:disabled),
html.fx-connected-design.fx-unified-theme[data-theme] body #modal-content .btn.danger:hover:not(:disabled){background:#ffe2e5;color:#8d2230;border-color:#cf929a}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-auth .ad-form>.btn.primary{background:#345ff1;color:#fff;border-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-auth .ad-form>.btn.primary:hover:not(:disabled){background:#264dd1;color:#fff;border-color:#264dd1}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-auth .ad-form>.btn.primary:active:not(:disabled){background:#1f40b2;color:#fff;border-color:#1f40b2}
html.fx-connected-design.fx-unified-theme[data-theme] body .connected-auth .ad-form>.btn.primary:disabled{background:#e6ebf4;color:#52627a;border-color:#c9d3e4}

/* Responsive administration history and card tables. */
.ad-history-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:12px 0 20px}.ad-history-filters label{display:grid;gap:6px;flex:1 1 190px;min-width:0}.ad-history-filters input{width:100%;min-width:0}.ad-history-pagination{gap:12px;flex-wrap:wrap}.ad-history-pagination>div{display:flex;gap:8px}.ad-referral-messages{max-height:48vh;overflow:auto;margin:16px 0}.ad-referral-messages .message{overflow-wrap:anywhere}
@media(max-width:767px){.connected-admin :is(.ad-table,.atafx-kyc-table,.atafx-support-table,.atafx-wallet-table){min-width:0!important;max-width:100%;table-layout:auto}.connected-admin .ad-table td{min-width:0;overflow-wrap:anywhere;word-break:break-word}.connected-admin .ad-table td:before{min-width:0;overflow-wrap:anywhere}.connected-admin .ad-table td>:is(div,span,small,details){max-width:100%;min-width:0}.connected-admin .ad-table details .ad-table-wrap{max-width:100%}.ad-history-filters .btn{flex:1 1 100px}.ad-history-filters label{flex-basis:100%}.ad-history-pagination>div{width:100%;justify-content:flex-end}}

@media(max-width:360px){.connected-admin .ad-table td{grid-template-columns:minmax(0,1fr);gap:4px}.connected-admin .ad-table td>*{grid-column:1}.connected-admin .ad-table td:before{font-size:11px}}

/* Source: connected-finance.css */
/* Approved connected design — real finance/account/support views, no preview data. */
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support){color:#101827;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:5px 0 26px;padding:0;border:0;background:none;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .page-header h1{font-size:32px;font-weight:500;letter-spacing:-1.2px;line-height:1.25;margin:0 0 9px;color:#101827}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .page-header p{font-size:13px;line-height:1.6;color:#5f6b7f;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) .card{background:#fff;border:1px solid #e4e9f2;border-radius:18px;padding:25px;min-width:0;box-shadow:0 5px 18px #10274703}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) :is(h2,h3){color:#22324b;font-weight:600;letter-spacing:-.3px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) h2{font-size:16px;margin:0 0 20px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) h3{font-size:14px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) :is(.meta,.footnote,.empty p){color:#5f6b7f;font-size:12px;line-height:1.75}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) :is(.btn,button[data-action]){min-height:44px;border-radius:8px;white-space:normal}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) .design-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 24px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-metric{padding:22px;border-radius:15px;display:block;position:relative}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-metric>svg{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-value{min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-value>span{display:block;font-size:12px;line-height:1.5;color:#5f6b7f;margin-bottom:13px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-value strong{display:block;font-size:26px;font-weight:500;letter-spacing:-.8px;line-height:1.25;color:#24334c;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;overflow:visible;font-variant-numeric:tabular-nums}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-metric>small{display:block;color:#5f6b7f;font-size:12px;line-height:1.5;margin-top:10px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .wallet-overview-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .wallet-primary-column{display:grid;gap:22px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .wallet-overview-grid>.wallet-primary-column{grid-column:1}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .wallet-overview-grid>.wallet-allocation{grid-column:2;grid-row:1;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page :is(#design-deposit-history,#design-ledger){margin-top:22px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .allocation-ring{width:190px;height:190px;max-width:100%;margin:10px auto 25px;border-color:#e8eef7;box-shadow:none;background-color:#edf1f9}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .allocation-ring::before{background:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .allocation-ring b{color:#263951;font-size:27px;font-weight:500;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .definition{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:0;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .definition :is(dt,dd){padding:13px 0;margin:0;border-bottom:1px solid #edf0f5;font-size:13px;line-height:1.6;min-width:0;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .definition dt{color:#5f6b7f;padding-right:12px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .definition dd{text-align:right;font-weight:500;color:#354760}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) :is(.ad-tabs,.design-tabs){display:flex;gap:25px;border-bottom:1px solid #e4e9f2;margin:0 0 25px;padding:0;overflow-x:auto;background:none}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) :is(.ad-tabs,.design-tabs) button{border:0;border-bottom:2px solid transparent;background:none;border-radius:0;min-height:44px;padding:13px 2px;color:#5f6b7f;font-size:13px;white-space:nowrap;box-shadow:none}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) :is(.ad-tabs,.design-tabs) button.active{color:#345ff1;border-bottom-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page :is(.design-filters,.activity-primary-filters){gap:12px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page :is(input,select,textarea){min-height:46px;font-size:14px;background:#fcfdff;border:1px solid #dfe5ee;border-radius:8px;padding:12px 13px;min-width:0;max-width:100%;color:#283a56}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page :is(input[type=checkbox],input[type=radio]){min-height:0;padding:0;accent-color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page table{color:#64748f;font-size:13px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page th{background:#fbfcfe;color:#5f6b7f;font-size:12px;font-weight:500;padding:13px 10px;border-color:#e8edf4}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page td{padding:15px 10px;border-color:#edf0f6}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .empty{min-height:0;padding:32px 15px;color:#899bb7}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .empty svg{color:#acbad0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-activity-page .activity-toolbar{background:#fff;border:1px solid #e4e9f2;border-radius:14px;padding:18px 22px;margin-bottom:22px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-activity-page .activity-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record{border:1px solid #e5ebf4;border-radius:10px;margin:0 0 12px;overflow:visible;background:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record.selected{border-color:#b6c7fb;background:#f6f8ff}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record>button:first-child{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) 18px;gap:12px;width:100%;padding:16px;background:transparent;border:0;text-align:left;color:#526783}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record span{min-width:0;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record small{display:block;color:#5f6b7f;line-height:1.6;margin-top:5px;font-size:12px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-statements-page .statement-workspace{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.65fr);gap:22px;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .statement-day{display:flex;justify-content:space-between;gap:14px;width:100%;text-align:left;padding:16px 12px;border:1px solid #e5ebf4;background:#fff;border-radius:9px;margin:8px 0;color:#62738f}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .statement-day.selected{border-color:#aebff3;background:#f1f5ff;color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .statement-day small{display:block;font-size:12px;line-height:1.5;color:#5f6b7f;margin-top:6px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .statement-today{margin-top:22px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .connected-account .ad-account-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:22px;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .connected-account .connected-account-card{margin:0;scroll-margin-top:115px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .connected-profile-avatar{display:grid;place-items:center;width:53px;height:53px;background:#edf2ff;border:1px solid #e0e8ff;color:#6685d6;border-radius:50%;font-size:18px;margin:4px 0 17px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .connected-account :is(.status-line,.ad-setting-row){display:flex;justify-content:space-between;align-items:start;gap:15px;border-bottom:1px solid #edf1f7;padding:0 0 18px;margin-bottom:19px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .connected-account .code-box{background:#f3f6fc;border:1px solid #e1e8f4;color:#627995;white-space:normal;overflow-wrap:anywhere;padding:14px;border-radius:8px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-grid{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(0,1.8fr) minmax(190px,.9fr);gap:20px;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-grid .card{padding:22px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.hc-ticket,.hc-category,.hc-question){background:#f8faff;border:1px solid #e4eaf4;border-radius:8px;color:#5f6b7f;min-height:44px;padding:12px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.hc-ticket,.hc-category,.hc-question).active{background:#eef3ff;border-color:#b8c9fa;color:#345ff1}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-messages{background:#fafcff;border:1px solid #eaf0f7;border-radius:10px;padding:16px;min-height:120px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-messages .message{background:#eef2f8;border:1px solid #e2e8f2;color:#526783;border-radius:12px;padding:13px 16px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-messages .message.own{background:#edf2ff;border-color:#dce5fc;color:#344f82}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-guidance{border-bottom:1px solid #e7edf5;margin-bottom:20px;padding-bottom:20px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-guide-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.hc-answer,.hc-context){background:#fff;color:#617795}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) #hc-message-form .chat-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) #hc-message-form textarea{background:#fcfdff;color:#283a56;border:1px solid #dfe5ee;border-radius:8px;min-height:88px;max-width:100%;font-size:16px}
/* Request address is deliberately not a company-wallet summary. */
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.deposit-request-layout,.design-two-column){display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .deposit-request-layout>section{min-width:0;background:#fff;border:1px solid #e4e9f2;border-radius:15px;padding:22px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .deposit-request-amount{grid-column:1;grid-row:1}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .deposit-request-address{grid-column:2;grid-row:1 / span 2}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .deposit-request-evidence{grid-column:1;grid-row:2}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-card{background:#fff;color:#526783;border:0;border-radius:12px;padding:0;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-brand{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-brand img{width:100px;max-height:36px;object-fit:contain;filter:none}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-brand strong{font-size:15px;color:#22324b}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-brand span{display:block;font-size:12px;color:#5f6b7f}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-network{background:#f3f6fc;border:1px solid #e4ebf7;border-radius:8px;padding:12px;margin:18px 0;display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:#4969a2}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-frame{width:240px;max-width:100%;padding:12px;margin:20px auto 12px;background:#fff;border:1px solid #e7edf6;border-radius:12px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-frame img{display:block;width:100%;height:auto;max-width:100%;image-rendering:pixelated;filter:none}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-address-label{font-size:12px;color:#5f6b7f;margin:16px 0 8px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-address{background:#f3f6fc;border:1px solid #e1e8f4;border-radius:8px;padding:14px;font:14px/1.7 ui-monospace,monospace;color:#526d94;overflow-wrap:anywhere;word-break:break-all;white-space:normal;overflow:visible;text-overflow:clip;margin:0 0 10px;user-select:all}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-copy .btn{display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;background:#345ff1;border-color:#345ff1;color:#fff;font-size:14px;border-radius:8px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-copy-status{min-height:1.6em;margin:8px 0;color:#4e6a9d;font-size:12px;line-height:1.6}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.funding-qr-network-note,.funding-qr-context-note,.funding-qr-empty){font-size:12px;line-height:1.75;color:#5f6b7f}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-deposit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;padding:0 0 20px;margin-bottom:22px;border-bottom:1px solid #e9eef5}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-deposit-summary strong{font-size:20px;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-detail-section{border-top:1px solid #edf0f5;margin-top:20px;padding-top:20px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.design-status-pair,.withdrawal-source){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-flow{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0;color:#5f6b7f}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-flow span{padding:13px;background:#f3f6fc;border-radius:8px}
@media(max-width:1200px){
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-grid{grid-template-columns:minmax(170px,.7fr) minmax(0,1.7fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .hc-context{grid-column:1/-1}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-activity-page .activity-workspace,.v2-statements-page .statement-workspace){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .page-header{display:block;margin:3px 0 22px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .page-header h1{font-size:28px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account) .page-header .actions{margin-top:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-finance-page,.connected-account,.hc-support) .card{padding:21px 18px;border-radius:15px;margin-bottom:17px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-metrics{gap:11px;margin-bottom:20px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-metric{padding:18px 15px;margin:0;border-radius:13px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-value strong{font-size:23px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.v2-wallet-page .wallet-overview-grid,.v2-activity-page .activity-workspace,.v2-statements-page .statement-workspace,.connected-account .ad-account-grid,.hc-grid,.deposit-request-layout,.design-two-column){display:block}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .wallet-primary-column{display:block}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .wallet-overview-grid>.wallet-allocation{margin-bottom:17px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page :is(input,select,textarea){font-size:16px;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record>button:first-child{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record>button:first-child>span:last-child{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .activity-record>button:first-child>span:nth-child(3){grid-column:1/-1}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .connected-account .connected-account-card{scroll-margin-top:150px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) :is(.deposit-request-layout>section,.design-two-column>section){padding:21px 18px;margin-bottom:17px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-frame{width:230px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-deposit-summary{gap:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .design-deposit-summary strong{font-size:17px}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) #hc-message-form .chat-input{grid-template-columns:minmax(0,1fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) #hc-message-form .chat-input>.btn{width:100%}
}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .funding-qr-copy .btn::before{content:'';display:inline-block;width:11px;height:13px;border:1.5px solid currentColor;border-radius:2px;box-shadow:3px 3px 0 -1px #345ff1,4px 4px 0 0 currentColor;margin-right:8px;flex:0 0 auto}

/* Explicitly reset prior ID-scoped layout so the approved card grid wins. */
html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-finance-page>.design-metrics{padding:0;border:0;background:none;border-radius:0}
html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-finance-page>.design-metrics>.design-metric{background:#fff;border:1px solid #e4e9f2;border-radius:15px;padding:22px;box-shadow:0 5px 18px #10274703}
html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-wallet-page .allocation-ring>div{background:#fff;color:#263951}
html.fx-connected-design.fx-unified-theme[data-theme] #page-content .connected-account .ad-account-grid{align-items:stretch}
html.fx-connected-design.fx-unified-theme[data-theme] #page-content .connected-account :is(#ad-account-profile,#ad-account-security,#ad-account-notifications,#ad-account-addresses){grid-column:auto;grid-row:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #page-content:has(>.connected-account)>.page-header{margin:5px 0 26px;padding:0;border:0}
html.fx-connected-design.fx-unified-theme[data-theme] #page-content:has(>.connected-account)>.page-header h1{font-size:32px;font-weight:500;letter-spacing:-1.2px}
@media(max-width:700px){html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-finance-page>.design-metrics>.design-metric{padding:18px 15px;border-radius:13px}html.fx-connected-design.fx-unified-theme[data-theme] #page-content:has(>.connected-account)>.page-header h1{font-size:28px}}

/* Statement ledger amounts keep all eight decimal places on narrow screens. */
html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-statements-page .statement-financial-summary{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-statements-page .statement-financial-summary .design-value>strong{font-size:20px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media(max-width:600px){
 html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-statements-page .statement-financial-summary{grid-template-columns:minmax(0,1fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-statements-page .statement-financial-summary .design-value{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;border-right:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-statements-page .statement-financial-summary .design-value>span{flex:1 1 0;min-width:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-statements-page .statement-financial-summary .design-value>strong{flex:0 1 auto;font-size:14px;line-height:1.4;text-align:right;white-space:nowrap;overflow-wrap:normal;word-break:normal}
}

/* Exact USD values should remain readable without splitting decimal digits. */
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .financial-amount{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-value strong.financial-amount{font-size:22px;max-width:100%;overflow-x:auto}
html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-wallet-page .allocation-ring b{font-size:16px;white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-wallet-page #design-holdings-rows td:has(.financial-amount){display:grid;grid-template-columns:minmax(0,1fr);text-align:right;gap:5px}
 html.fx-connected-design.fx-unified-theme[data-theme] #page-content .v2-wallet-page #design-holdings-rows td:has(.financial-amount)::before{text-align:left}
 html.fx-connected-design.fx-unified-theme[data-theme] :is(#page-content,#modal) .v2-finance-page .design-value strong.financial-amount{font-size:20px}
}

/* Source: home-image.css */
/* Approved image-first Home, 2026-10-16. Load after connected-design.css.
   Scoped component rules preserve Markets, Auto Trading, member balances and admin. */
/* The reused Markets map keeps its engine: make its native details receive taps
   instead of passing them to the underlying country-selection canvas. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .country-map-grid .exchange-globe .eg-quote-details{pointer-events:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .country-map-grid .exchange-globe .eg-quote-details>summary{pointer-events:auto;min-height:44px;display:flex;align-items:center;cursor:pointer}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image][data-key]{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;
  gap:0;min-height:400px;height:auto;max-height:none;padding:0;border:0;border-radius:24px;
  background:#071426;color:#f7faff;overflow:hidden;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy{
  min-width:0;padding:28px 16px 28px 36px;justify-content:center;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-eyebrow{
  margin:0 0 12px;font-size:10px;line-height:1.5;letter-spacing:2.2px;color:#a8bfdc;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] h2{
  margin:0 0 16px;font-size:clamp(30px,3.05vw,44px);line-height:1.1;letter-spacing:-.04em;color:#fff;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy>p:not(.fx-home-eyebrow){
  max-width:410px;margin:0 0 18px;font-size:13px;line-height:1.65;color:#b3c5dd;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-actions{
  display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;max-width:100%;width:auto;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-actions>.btn{
  flex:0 1 auto;width:auto;min-height:44px;min-width:0;padding:11px 16px;font-size:13px;line-height:1.5;white-space:normal;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy>.connected-hero-note{
  margin:12px 0 0;font-size:10px;line-height:1.5;color:#a8bfdc;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .connected-hero-map{
  min-width:0;min-height:0;margin:0;padding:0 20px 0 0;background:transparent;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster]{
  display:flex;flex-direction:column;align-self:start;gap:0;min-width:0;width:100%;height:auto;min-height:0;
  margin:0;padding:0;border:1px solid #cbdaf22e;border-radius:20px;background:#071426;color:#f7faff;box-shadow:none;overflow:hidden;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster="guest"]{
  border:0;border-radius:0;background:transparent;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-visual{
  position:relative;flex:0 0 auto;isolation:isolate;min-width:0;height:240px;overflow:hidden;
  background:radial-gradient(ellipse at 55% 60%,#143f67,#071426 74%);
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] picture{
  display:block;width:100%;height:100%;margin:0;padding:0;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] img[data-home-globe-image]{
  display:block;width:auto;height:100%;max-width:100%;margin:0 auto;object-fit:contain;object-position:center;border:0;border-radius:0;
  -webkit-mask-image:radial-gradient(ellipse closest-side at center,#000 88%,transparent 100%);
  mask-image:radial-gradient(ellipse closest-side at center,#000 88%,transparent 100%);
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] img[data-home-globe-image][hidden]{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-image-missing::after{
  content:'Global currency markets';position:absolute;inset:0;display:grid;place-items:center;color:#bed4f0;font-size:20px;text-align:center;padding:20px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-details{
  display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px 20px 14px;border-top:1px solid #cbdaf226;background:linear-gradient(180deg,#0c2137,#091a2e);
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-poster-quote{
  min-width:0;overflow-wrap:anywhere;line-height:1.5;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-quote-main{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;color:#f7faff;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-pair{
  display:inline-flex;align-items:center;gap:7px;min-width:0;margin-right:auto;font-size:12px;line-height:1.5;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-quote-main>strong{
  max-width:100%;min-width:0;font-size:20px;line-height:1.4;color:#f7faff;font-variant-numeric:tabular-nums;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-quote-value{
  max-width:100%;white-space:normal;overflow-wrap:anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-change{font-size:12px;font-variant-numeric:tabular-nums}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] :is(.fx-home-poster-change.positive,.fx-quote-up){color:#5fdfb5;--fx-tick-color:#5fdfb5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] :is(.fx-home-poster-change.negative,.fx-quote-down){color:#ff9eaa;--fx-tick-color:#ff9eaa}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-quote-meta{
  display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;font-size:10px;color:#b8cbe2;margin-top:2px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-quote-meta a{color:#a8caff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-source{
  display:block;margin-top:3px;font-size:10px;color:#b8cbe2;white-space:normal;overflow-wrap:anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-map-link{
  display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;height:auto;margin:0;padding:8px 0;
  border:0;border-radius:0;background:transparent;color:#a8caff;box-shadow:none;font-size:13px;font-weight:600;line-height:1.5;text-align:left;white-space:normal;cursor:pointer;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-map-link:hover{color:#fff;background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-map-link:focus-visible{outline:2px solid #b2ccff;outline-offset:2px}
@media(max-width:1100px){
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image][data-key]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:400px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy{padding:24px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .connected-hero-map{padding:0 14px 0 0}
}
@media(max-width:700px){
  /* Reserve space only beside Home actions, never across the whole card. */
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-map-link{padding-right:56px;box-sizing:border-box}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-dashboard-market .card-head{flex-wrap:wrap;gap:8px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-dashboard-market .card-head [data-action="ui-all-markets"]{margin-right:56px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image][data-key]{display:flex;flex-direction:column;align-items:stretch;min-height:0;height:auto;max-height:none;border-radius:18px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy{padding:22px 22px 6px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-eyebrow{font-size:9px;margin-bottom:10px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] h2{font-size:32px;line-height:1.08;margin-bottom:12px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy>p:not(.fx-home-eyebrow){font-size:12px;line-height:1.6;margin-bottom:14px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy>.connected-hero-note{font-size:10px;line-height:1.5;margin:10px 0 0}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-actions>.btn{padding:10px 14px;font-size:12px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .connected-hero-map{padding:0;margin:0;min-height:0}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-visual{height:200px}
  html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-details{padding:10px 20px 12px;gap:4px}
}

/* Source: compact-home.css */
/* Real compact Home globe. Load after home-image.css; never applied to Markets full map. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-visual {
  position:relative;isolation:isolate;height:240px;min-height:0;
  background:radial-gradient(ellipse at 55% 62%,#153e64 0%,#0b223c 35%,#071426 76%);
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-visual>picture {
  position:absolute;inset:0;z-index:0;opacity:1;transition:opacity .18s ease;pointer-events:none;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-visual.is-globe-ready>picture {opacity:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene {
  position:absolute;inset:0;z-index:1;min-width:0;min-height:0;width:100%;height:100%;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene>.exchange-globe.eg-compact-home {
  width:100%;height:100%;min-height:0;max-height:none;padding:0;margin:0;border:0;border-radius:0;
  display:block;background:transparent;overflow:hidden;box-shadow:none;color:#f4f8ff;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-viewport {
  position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;background:transparent;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene canvas {
  display:block;width:100%;height:100%;touch-action:pan-y;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene canvas:focus-visible {
  outline:2px solid #a8caff;outline-offset:-3px;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label {
  display:none;position:absolute;transform:translate(-50%,-50%);width:126px;max-width:126px;
  box-sizing:border-box;padding:5px 7px;border:1px solid #abc8ef66;border-radius:7px;background:#081a2ee8;
  box-shadow:0 4px 14px #0005;color:#f4f8ff;font-size:10px;line-height:1.35;white-space:normal;
  overflow:hidden;text-overflow:clip;pointer-events:none;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label.selected {
  border-color:#94bfff;color:#fff;font-size:10px;font-weight:400;z-index:2;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label .eg-country-name {display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label .eg-quote-pair {
  display:block;font-size:10px;line-height:1.3;font-weight:600;color:#bfcee4;white-space:nowrap;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label .eg-quote-values {
  display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:0 3px;min-width:0;white-space:nowrap;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label .eg-quote-price {
  min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;
  font-size:12px;line-height:1.5;font-weight:700;color:#fff;font-variant-numeric:tabular-nums;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label .eg-quote-change {
  font-size:10px;line-height:1.3;color:#c7d6e8;font-variant-numeric:tabular-nums;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label .eg-quote-status {
  display:block;max-width:100%;font-size:10px;line-height:1.3;color:#c4d0e1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label :is(.positive,.fx-quote-up) {color:#6ae5bb;--fx-tick-color:#6ae5bb}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label :is(.negative,.fx-quote-down) {color:#ffa5b0;--fx-tick-color:#ffa5b0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-compact-pause {
  position:absolute;top:8px;right:8px;z-index:3;display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;height:44px;
  margin:0;padding:0;border:1px solid #9ab7df66;border-radius:50%;background:#091a2ecc;color:#eff6ff;
  font-family:inherit;font-size:15px;font-weight:600;line-height:1;box-shadow:0 4px 14px #0004;cursor:pointer;touch-action:manipulation;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-compact-pause:focus-visible {outline:2px solid #b2ccff;outline-offset:2px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-compact-pause:disabled {cursor:default;opacity:.72}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-visual {height:200px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] #home-globe-scene .eg-label {width:124px;max-width:124px;padding:4px 6px}
}
@media(prefers-reduced-motion:reduce){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page.design-v2-dashboard[data-key] .fx-home-poster[data-home-poster] .fx-home-poster-visual>picture {transition:none}
}

/* Source: home-live-data.css */
/* Home recent prices and compact feed feedback. Load after compact-home.css. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-home-series-switch{
 display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:14px 0 10px;padding:4px;background:#f0f3fa;border:1px solid #e1e7f0;border-radius:12px;width:max-content;max-width:100%;box-sizing:border-box;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-home-series-switch>button{
 min-width:0;min-height:44px;padding:9px 14px;border:0;border-radius:8px;background:transparent;color:#4f607a;font-family:inherit;font-weight:600;font-size:12px;line-height:1.5;white-space:normal;cursor:pointer;box-shadow:none;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-home-series-switch>button[aria-pressed="true"]{background:#fff;color:#2349d8;box-shadow:0 2px 6px #15274910}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-home-series-switch>button:focus-visible{outline:2px solid #345ff1;outline-offset:2px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .chart-toolbar[hidden]{display:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .fx-market-feed-note{
 display:block;flex-basis:100%;width:100%;max-width:100%;box-sizing:border-box;margin:6px 0 0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;color:#81520c;font-size:11px;line-height:1.5;overflow-wrap:anywhere;
}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-home-poster .fx-market-feed-note{color:#efcb8a;font-size:10px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content [data-market-age]{font-variant-numeric:tabular-nums;white-space:nowrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content #market-chart-slot{scroll-margin-top:calc(var(--connected-header,88px) + 12px)}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page #chart-status{font-size:10px;line-height:1.6;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-home .fx-home-market-detail{display:block;margin:8px 0 0;border:1px solid #e1e7f0;border-radius:10px;background:#fff;color:#101827;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-home .fx-home-market-detail>summary{min-height:44px;padding:10px 12px;box-sizing:border-box;font-size:13px;line-height:1.5;cursor:pointer}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-home .fx-home-summary-content{padding:0 12px 12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .connected-member-home .fx-home-full-detail{margin-top:8px}
@media(max-width:700px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-home-series-switch{width:100%}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .dashboard-page .fx-home-series-switch>button{flex:1;padding-inline:8px}
}

/* Source: onboarding-current.css */
.fx-onboarding-banner{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#eef4ff;border:1px solid #cfddf6;border-radius:14px;padding:14px;margin:0 0 18px;color:#263f60}
.fx-onboarding-banner p{flex:1 1 240px;margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.fx-current-onboarding{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:1000px;margin-inline:auto}
.fx-current-onboarding>.card,.fx-onboarding-card{padding:20px;min-width:0}
.fx-current-onboarding h2,.fx-onboarding-card h2{margin:0 0 12px}
.fx-current-onboarding .definition dd,.fx-current-onboarding li{overflow-wrap:anywhere}
.fx-onboarding-card{margin-bottom:16px}
.fx-current-onboarding label{display:grid;gap:8px;min-width:0;font-size:14px}
.fx-current-onboarding .ad-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.fx-current-onboarding .ad-form>p,.fx-current-onboarding .ad-form>.fx-onboarding-camera,.fx-current-onboarding .ad-form>[data-document-preview],.fx-current-onboarding .ad-form>button{grid-column:1/-1}
.fx-current-onboarding input,.fx-current-onboarding select{width:100%;min-width:0;max-width:100%;min-height:44px}
.fx-current-onboarding input[type=file]{font-size:14px}
.fx-current-onboarding video,.fx-current-onboarding [data-document-preview] img{display:block;max-width:100%;max-height:340px;margin:12px auto;border-radius:12px}
.fx-current-onboarding [hidden]{display:none!important}
.fx-current-onboarding .actions,.fx-onboarding-card .actions{display:flex;flex-wrap:wrap;gap:10px}
.fx-current-onboarding .btn,.fx-onboarding-banner .btn,.fx-onboarding-card .btn{min-height:44px;white-space:normal;text-align:center;line-height:1.35}
.fx-current-onboarding :is(.ad-notice,.atafx-kyc-notice,.atafx-support-notice,.atafx-wallet-notice){overflow-wrap:anywhere}
@media(max-width:600px){.fx-current-onboarding>.card,.fx-onboarding-card{padding:14px}.fx-current-onboarding .ad-form{grid-template-columns:minmax(0,1fr)}.fx-onboarding-banner{padding:12px;gap:8px}.fx-onboarding-banner .btn{flex:1 1 auto}.fx-current-onboarding h2{font-size:19px}.fx-current-onboarding{gap:12px}}

/* Private hosted verification handoff; never an external QR image URL. */
.fx-identity-handoff{min-width:0;overflow-wrap:anywhere}
.fx-identity-handoff .fx-handoff-qr{box-sizing:border-box;width:258px;max-width:100%;padding:16px;margin:16px auto;background:#fff;border:1px solid #d6deeb;border-radius:12px}
.fx-identity-handoff .fx-handoff-qr img{display:block;width:224px;height:224px;max-width:100%;object-fit:contain;background:#fff;image-rendering:pixelated}
.fx-identity-handoff .fx-handoff-mobile{display:none}
.fx-identity-handoff .actions{align-items:stretch}
.fx-identity-handoff .actions>.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;text-decoration:none}
.fx-identity-handoff [data-handoff-status]{margin:12px 0 0;min-height:1.5em}
@media(max-width:600px){.fx-identity-handoff .fx-handoff-desktop{display:none}.fx-identity-handoff .fx-handoff-mobile{display:inline}.fx-identity-handoff p.fx-handoff-mobile{display:block}.fx-identity-handoff .actions>.btn{flex:1 1 100%;width:100%}}
.fx-additional-documents{min-width:0;overflow-wrap:anywhere}
.fx-additional-documents form,.fx-additional-previews{display:grid;gap:16px;min-width:0}
.fx-additional-documents input[type=file]{max-width:100%;min-height:44px}
.fx-additional-file{display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr);gap:16px;padding:12px;border:1px solid #d6deeb;border-radius:12px}
.fx-additional-file img{width:100%;height:180px;object-fit:contain;background:#fff;border-radius:8px}
.fx-additional-file>div,.fx-additional-file label{display:grid;gap:8px;min-width:0}
.fx-additional-file select{min-width:0;width:100%;min-height:44px}
.fx-additional-documents .btn{min-height:44px;max-width:100%;white-space:normal}
.fx-additional-camera{display:none}
@media(max-width:600px){.fx-additional-file{grid-template-columns:minmax(0,1fr)}.fx-additional-camera{display:inline-flex}.fx-additional-documents .actions>.btn{flex:1 1 100%;width:100%}}

/* Member manual identity: one dialog, one saved step at a time. */
html.fx-unified-theme[data-theme] body dialog#modal:has(.ad-kyc-wizard){width:min(820px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:20px;background:#fff;color:#101827;border:1px solid #d6deeb;border-radius:16px;overflow:auto;overscroll-behavior:contain;scroll-padding-block:80px 100px}
dialog#modal:has(.ad-kyc-wizard) .modal-heading{margin:0 0 16px;padding:0 0 12px;gap:12px}
dialog#modal:has(.ad-kyc-wizard) .modal-heading h2{margin:0;font-size:22px}
.ad-kyc-wizard,.ad-kyc-wizard *{box-sizing:border-box}
.ad-kyc-wizard{min-width:0;font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.ad-kyc-wizard :is(h2,h3,p){margin:0 0 12px}
.ad-kyc-wizard :is(h2,h3){font-size:18px;line-height:1.4;color:#101827}
.ad-kyc-wizard .ad-kyc-progress{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;margin:0 0 16px;background:#eef3ff;border:1px solid #d4def8;border-radius:10px;color:#334f83;font-weight:600}
.ad-kyc-wizard #ad-kyc-step-host{min-width:0}
.ad-kyc-wizard :is(.ad-form,.ad-kyc-saved-documents,.ad-kyc-legal){display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.ad-kyc-wizard :is(.card,.ad-document-review,.ad-kyc-document-summary,.ad-kyc-receipt){min-width:0;padding:12px;margin:0 0 12px;border:1px solid #d6deeb;border-radius:10px;background:#fff;color:#101827}
.ad-kyc-wizard .ad-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ad-kyc-wizard .ad-document-grid>.card{padding:12px}
.ad-kyc-wizard .ad-document-icon{display:none}
.ad-kyc-wizard :is(label,.checkbox){min-width:0;font-size:14px;line-height:1.5}
.ad-kyc-wizard label:not(.checkbox):not(.btn){display:grid;gap:8px}
.ad-kyc-wizard .checkbox{display:flex;gap:10px;align-items:flex-start;min-height:44px;padding:8px 0}
.ad-kyc-wizard .checkbox input{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin-top:2px}
.ad-kyc-wizard :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;max-width:100%;width:100%;min-height:44px;font-size:16px}
.ad-kyc-wizard :is(.meta,.footnote,small){font-size:12px;line-height:1.55;color:#667285}
.ad-kyc-wizard :is(.btn,.text-button,summary){min-height:44px;max-width:100%;white-space:normal;line-height:1.4;font-size:14px}
.ad-kyc-wizard :is(.actions,.ad-kyc-actions){display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.ad-kyc-wizard .ad-kyc-actions{position:sticky;bottom:-20px;z-index:2;margin-top:12px;padding:12px 0 max(12px,env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #d6deeb}
.ad-kyc-wizard .ad-kyc-actions>.btn{flex:1 1 180px;justify-content:center}
.ad-kyc-wizard #ad-file-preview{margin:8px 0}
.ad-kyc-wizard #ad-file-preview img{display:block;max-width:100%;max-height:180px;margin:auto;object-fit:contain}
.ad-kyc-wizard #ad-video-preview{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;background:#101827;border-radius:10px}
.ad-kyc-wizard .ad-phone-handoff{margin-top:12px}
.ad-kyc-wizard .ad-phone-handoff img{max-width:100%;height:auto}
@media(min-width:760px){
 .ad-kyc-wizard #ad-kyc-step-host[data-kyc-step="2"]{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:12px;align-items:start}
 .ad-kyc-wizard #ad-kyc-step-host[data-kyc-step="2"]>.ad-kyc-document-summary{grid-column:1/-1;margin:0}
 .ad-kyc-wizard #ad-kyc-step-host[data-kyc-step="2"]>.ad-phone-handoff{grid-column:2;grid-row:2;margin:0}
 .ad-kyc-wizard #ad-kyc-step-host[data-kyc-step="2"]>.ad-kyc-video{grid-column:1;grid-row:2}
}
.ad-kyc-wizard .code-box{white-space:normal;overflow-wrap:anywhere;color:#101827;background:#eef3ff}
.ad-kyc-wizard .ad-kyc-legal :is(.legal-body,.ad-document-body){max-height:38dvh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border:1px solid #d6deeb;border-radius:8px;margin:8px 0;font-size:14px}
.ad-kyc-wizard .ad-kyc-legal details{min-width:0;border-bottom:1px solid #d6deeb;padding:8px 0}
.ad-kyc-wizard .ad-kyc-legal summary{cursor:pointer;align-content:center}
.ad-kyc-wizard :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #345ff1;outline-offset:3px}
.ad-kyc-wizard [hidden]{display:none!important}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard .btn{min-height:44px;font-size:14px;background:#fff;color:#24354c;border-color:#b9c7dd}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard .btn:hover:not(:disabled){background:#eef3ff;color:#24354c}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard .btn.primary{background:#345ff1;border-color:#345ff1;color:#fff}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard .btn.primary:hover:not(:disabled){background:#2448cf;color:#fff}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard .btn:disabled{opacity:.55}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard .checkbox input{min-height:20px;height:20px;width:20px;margin:2px 0 0}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard p{font-size:14px;line-height:1.55}
html.fx-unified-theme[data-theme] body dialog#modal .ad-kyc-wizard :is(.meta,.footnote,small){font-size:12px;line-height:1.55}
@media(max-width:600px){
 html.fx-unified-theme[data-theme] body dialog#modal:has(.ad-kyc-wizard){width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:14px;border-radius:12px}
 .ad-kyc-wizard .ad-document-grid{grid-template-columns:minmax(0,1fr)}
 .ad-kyc-wizard .ad-kyc-actions{bottom:-14px;gap:8px}
 .ad-kyc-wizard .ad-kyc-actions>.btn{flex-basis:100%;width:100%}
 .ad-kyc-wizard #ad-video-preview{max-height:220px}
 .ad-kyc-wizard .ad-phone-handoff{display:none}
 .ad-kyc-wizard .ad-kyc-progress{margin-bottom:12px}
}

/* Document-only identity submission; native camera and file choice share private upload. */
.ad-kyc-wizard .ad-kyc-new-document{min-width:0;border:1px solid #d6deeb;border-radius:10px;padding:12px}
.ad-kyc-wizard .ad-kyc-new-document>summary{cursor:pointer;font-weight:600;display:flex;align-items:center;margin-bottom:8px}
.ad-kyc-document-fields,.ad-document-pickers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.ad-document-picker{min-width:0}.ad-document-picker .file-picker{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}.ad-document-picker .file-picker .btn{min-height:44px;white-space:normal;width:100%}.ad-document-picker [data-file-name]{overflow-wrap:anywhere;font-size:12px}
.ad-kyc-wizard fieldset.ad-kyc-saved-documents{border:1px solid #d6deeb;border-radius:10px;padding:12px;margin:0}.ad-kyc-wizard .ad-kyc-saved-documents legend{padding:0 4px;font-weight:600}.ad-kyc-wizard .ad-kyc-saved-documents small{display:block}
@media(max-width:520px){.ad-kyc-document-fields{grid-template-columns:minmax(0,1fr)}.ad-document-pickers{grid-template-columns:minmax(0,1fr)}}

/* Source: payment-alerts.css */
/* Isolated, centered payment notifications; existing business dialogs are untouched. */
.fx-payment-alert-launcher{position:fixed;right:22px;bottom:88px;z-index:1280;padding:13px 19px;max-width:calc(100vw - 32px);border:1px solid #345ff1;border-radius:14px;background:#345ff1;color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1.35;box-shadow:0 6px 22px #102a4326;cursor:pointer}
.fx-payment-alert-launcher[hidden]{display:none}
.fx-payment-alert-dialog{position:fixed;inset:0;margin:auto;width:min(680px,calc(100vw - 32px));max-height:min(86dvh,850px);padding:0;border:1px solid #cbdedc;border-radius:20px;background:#fff;color:#152e37;box-shadow:0 22px 90px #092f3b66;overflow:auto;overscroll-behavior:contain}
.fx-payment-alert-dialog::backdrop{background:#082d426b}
.fx-payment-alert-dialog *{box-sizing:border-box}
.fx-payment-alert-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 26px 16px;border-bottom:1px solid #e2edeb;background:#f2faf8}
.fx-payment-alert-heading span{font-size:11px;font-weight:800;letter-spacing:.1em;color:#345ff1}
.fx-payment-alert-heading h2{font-size:25px;margin:6px 0 0;color:#15363e}
.fx-payment-alert-dialog button,.fx-payment-alert-dialog a.fx-payment-alert-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #9ebdb7;border-radius:10px;background:#fff;color:#173e42;font:inherit;font-weight:700;line-height:1.35;text-decoration:none;cursor:pointer}
.fx-payment-alert-dialog button:disabled{opacity:.6;cursor:wait}
.fx-payment-alert-dialog .fx-payment-alert-primary,.fx-payment-alert-dialog a.fx-payment-alert-primary{background:#345ff1;color:#fff;border-color:#345ff1}
.fx-payment-alert-dialog button:focus-visible,.fx-payment-alert-dialog a:focus-visible,.fx-payment-alert-launcher:focus-visible{outline:3px solid #33b9df;outline-offset:3px}
.fx-payment-alert-note{padding:0 26px;color:#49616c;font-size:13px;line-height:1.6}
.fx-payment-alert-list{display:grid;gap:14px;padding:6px 26px 20px}
.fx-payment-alert-card{padding:18px;border:1px solid #cadfd9;border-radius:14px;background:#fff;overflow-wrap:anywhere}
.fx-payment-alert-card h3{font-size:18px;margin:13px 0 8px;color:#173d45}
.fx-payment-alert-card p{line-height:1.55;margin:8px 0;color:#425e67}
.fx-payment-alert-badges{display:flex;gap:8px;flex-wrap:wrap;font-size:12px}
.fx-payment-alert-badges strong,.fx-payment-alert-badges span{padding:5px 9px;border-radius:7px;background:#e7f6f1;color:#075f53}
.fx-payment-alert-card dl{padding:11px;border-radius:8px;background:#f4f7fa;font-size:13px;line-height:1.5}
.fx-payment-alert-card dt{font-weight:700;color:#4b616d}.fx-payment-alert-card dd{margin:3px 0 0;color:#17313c;font-family:ui-monospace,monospace}
.fx-payment-alert-test{border-color:#a8c4ea;background:#f8fbff}.fx-payment-alert-test .fx-payment-alert-badges strong{background:#dfeaff;color:#1d4884}
.fx-payment-alert-card .fx-payment-alert-test-note{font-size:12px;font-weight:700;color:#2e5285}
.fx-payment-alert-card .fx-payment-alert-result:not(:empty),.fx-payment-alert-warning{padding:10px;border-radius:8px;background:#fff2d8;color:#634a14;font-size:13px}
.fx-payment-alert-warning{margin:0 26px 16px}
.fx-payment-alert-dialog footer{display:flex;justify-content:flex-end;padding:14px 26px;border-top:1px solid #e0e9e8;background:#f8fbfa}
.fx-payment-voice{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:16px 26px;padding:14px;background:#edf3ff;border:1px solid #cbd9f3;border-radius:12px;font-size:14px}
.fx-payment-voice[hidden]{display:none}.fx-payment-voice>strong{color:#183865}.fx-payment-voice>p{grid-column:1/-1;margin:0;color:#415673;font-size:12px;line-height:1.5}
.fx-payment-alert-dialog .fx-payment-voice button{background:#345ff1;border-color:#345ff1;color:#fff;white-space:nowrap}
@media(max-width:560px){.fx-payment-voice{grid-template-columns:1fr;margin:14px;gap:8px}.fx-payment-voice>strong{grid-column:1/-1}.fx-payment-voice button{min-width:0;padding:10px 8px}}
@media(max-width:480px){.fx-payment-alert-launcher{right:12px;bottom:82px;padding:11px 14px;font-size:13px}.fx-payment-alert-dialog{width:calc(100vw - 20px);max-height:88dvh;border-radius:15px}.fx-payment-alert-heading{padding:18px 16px 12px}.fx-payment-alert-heading h2{font-size:22px}.fx-payment-alert-note{padding:0 16px}.fx-payment-alert-list{padding:4px 14px 15px}.fx-payment-alert-card{padding:14px}.fx-payment-alert-dialog footer{padding:12px 14px}.fx-payment-alert-dialog footer button,.fx-payment-alert-card>.fx-payment-alert-primary{width:100%}}

/* Card dismissal records this administrator's notification read state only. */
.fx-payment-alert-card{position:relative}
.fx-payment-alert-card .fx-payment-alert-badges{padding-right:40px}
.fx-payment-alert-dialog .fx-payment-alert-dismiss{position:absolute;top:9px;right:9px;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:#526579;font-size:24px;font-weight:400;line-height:1}
.fx-payment-alert-dialog .fx-payment-alert-dismiss:hover:not(:disabled){background:#edf2ff;color:#284ff1}
.fx-payment-alert-dialog .fx-payment-alert-dismiss:disabled{opacity:.45;cursor:wait}

/* Source: withdrawal-progress.css */
/* Member withdrawal progress reuses the existing authorized financial evidence. */
html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-withdrawal-submitted){width:min(560px,90vw);max-width:90vw;box-sizing:border-box;padding:28px;border-radius:20px}
#modal:has(.fx-withdrawal-submitted) .modal-heading{position:relative;display:block;padding:0 34px;margin:0 0 22px;text-align:center}
#modal:has(.fx-withdrawal-submitted) .modal-heading h2{margin:0;font-size:24px;line-height:1.3;color:#142d4d;overflow-wrap:anywhere}
#modal:has(.fx-withdrawal-submitted) .modal-heading>.icon-button{position:absolute;right:-8px;top:-8px}
.fx-withdrawal-submitted{max-width:520px;margin:0 auto;padding:12px 0 4px;text-align:center}
.fx-withdrawal-submitted-mark{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 20px;border-radius:50%;background:#eef3ff;color:#345ff1}
.fx-withdrawal-submitted-mark svg{width:34px;height:34px}
.fx-withdrawal-submitted-message{margin:0;color:#142d4d;font-size:17px;line-height:1.65;overflow-wrap:anywhere}
.fx-withdrawal-submitted-note{margin:12px 0 24px;color:#52647e;font-size:14px;line-height:1.5}
.fx-withdrawal-submitted-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.fx-withdrawal-submitted-actions .btn{min-height:44px;max-width:100%;white-space:normal;text-align:center}
@media(max-width:480px){html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-withdrawal-submitted){padding:22px 18px}.fx-withdrawal-submitted-actions .btn{flex:1 1 100%}.fx-withdrawal-submitted-message{font-size:16px}}
.fx-withdrawal-progress-page{min-width:0}
.fx-withdrawal-progress-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.fx-withdrawal-progress-nav .btn{min-height:44px;white-space:normal;text-align:center}
.fx-withdrawal-progress-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.45fr);align-items:center;gap:28px;border-top:4px solid #345ff1;background:#fff}
#page-content .v2-withdrawals-page.fx-withdrawal-progress-page>.fx-withdrawal-progress-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.45fr);align-items:center;gap:28px;margin:0 0 18px}
.fx-withdrawal-progress-eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#52647e}
.fx-withdrawal-progress-hero h1{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:10px 0 12px;color:#142d4d;overflow-wrap:anywhere}
.fx-withdrawal-progress-hero h1:focus{outline:none}
.fx-withdrawal-progress-hero p{max-width:66ch;margin:0 0 16px;color:#52647e;line-height:1.6}
.fx-withdrawal-progress-hero[data-progress-tone="completed"]{border-top-color:#08786a}
.fx-withdrawal-progress-hero[data-progress-tone="rejected"],.fx-withdrawal-progress-hero[data-progress-tone="action"]{border-top-color:#b86b15}
.fx-withdrawal-progress-hero[data-progress-tone="unavailable"]{border-top-color:#6b7789}
.fx-withdrawal-progress-amount{display:flex;flex-direction:column;gap:8px;text-align:right;min-width:0}
.fx-withdrawal-progress-amount>span{font-size:13px;color:#52647e}
.fx-withdrawal-progress-amount>strong{font-size:clamp(25px,3vw,36px);line-height:1.2;color:#142d4d;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.fx-withdrawal-progress-amount>small{color:#52647e}
.fx-withdrawal-progress-metadata .definition{display:grid;grid-template-columns:minmax(120px,.5fr) minmax(0,1fr);gap:10px 20px;margin:0}
.fx-withdrawal-progress-page .definition dd,.fx-withdrawal-progress-page .definition dt,.fx-withdrawal-progress-page code,.fx-withdrawal-progress-page .record-reference,.fx-withdrawal-progress-page .design-timeline p{min-width:0;overflow-wrap:anywhere;word-break:normal}
.fx-withdrawal-progress-page .definition dd{margin-left:0}
.fx-withdrawal-progress-details{margin-top:18px;min-width:0}
.fx-withdrawal-progress-details>.record-reference{margin-bottom:12px}
.fx-withdrawal-progress-details .design-two-column{align-items:start}
.fx-withdrawal-progress-details .design-two-column>*,.fx-withdrawal-progress-details .design-metrics>*{min-width:0}
.fx-withdrawal-progress-details .form-actions{flex-wrap:wrap}
.fx-withdrawal-progress-details .form-actions>.btn{max-width:100%;white-space:normal}
.fx-withdrawal-progress-error h1{font-size:26px;color:#142d4d}
.fx-withdrawal-progress-error p{color:#52647e;line-height:1.6;overflow-wrap:anywhere}
.fx-withdrawal-progress-steps h2{font-size:18px;margin:0;color:#142d4d}
.fx-withdrawal-progress-steps .design-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0;margin:16px 0 0;list-style:none}
.fx-withdrawal-progress-steps .design-timeline li{display:flex;gap:10px;align-items:flex-start;min-width:0;margin:0;padding:14px;border:1px solid #dce4ef;border-radius:12px;background:#f7f9fc}
.fx-withdrawal-progress-steps .design-timeline li::before,.fx-withdrawal-progress-steps .design-timeline li::after{display:none}
.fx-withdrawal-progress-steps .design-timeline li.done{border-color:#a8d6cc;background:#f0faf6}
.fx-withdrawal-progress-steps .design-timeline li.current{border-color:#9bb3ff;background:#eef3ff}
.fx-withdrawal-progress-steps .design-timeline .timeline-dot{position:static;flex:0 0 auto}
.fx-withdrawal-progress-steps .design-timeline li>div{min-width:0}
.fx-withdrawal-progress-steps .design-timeline p{font-size:13px;line-height:1.5;margin:6px 0 0}
.fx-withdrawal-progress-disclosure{margin-top:18px;min-width:0}
.fx-withdrawal-progress-disclosure>summary{font-weight:700;font-size:16px;color:#24456d;cursor:pointer;min-height:24px}
.fx-withdrawal-progress-disclosure[open]>.fx-withdrawal-progress-metadata{margin-top:18px}
@media(max-width:640px){
  .fx-withdrawal-progress-nav{gap:8px;margin-bottom:14px}
  .fx-withdrawal-progress-nav .btn{flex:1 1 140px;padding:11px 12px}
  .fx-withdrawal-progress-hero{grid-template-columns:1fr;gap:20px}
  #page-content .v2-withdrawals-page.fx-withdrawal-progress-page>.fx-withdrawal-progress-hero{grid-template-columns:1fr;gap:20px}
  .fx-withdrawal-progress-steps .design-timeline{grid-template-columns:1fr;gap:8px}
  .fx-withdrawal-progress-steps .design-timeline li{padding:12px}
  .fx-withdrawal-progress-amount{text-align:left;padding-top:18px;border-top:1px solid #e2e8f0}
  .fx-withdrawal-progress-metadata .definition{grid-template-columns:1fr;gap:5px}
  .fx-withdrawal-progress-metadata .definition dd{margin-bottom:12px}
  .fx-withdrawal-progress-details .design-two-column{grid-template-columns:1fr}
  .fx-withdrawal-progress-details .design-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-withdrawal-progress-details .design-value strong{font-size:20px}
}
@media(max-width:380px){.fx-withdrawal-progress-details .design-metrics{grid-template-columns:1fr}}

/* Source: member-approval-notice.css */
/* Independent approval notice: no shared dialog, account or consent styles. */
dialog#member-approval-notice.member-approval-notice {
  box-sizing:border-box;width:min(500px,calc(100vw - 28px));max-width:500px;
  max-height:calc(100dvh - 28px);margin:auto;padding:0;
  border:1px solid #dce3ed!important;border-radius:20px;outline:none!important;
  background:#fff!important;color:#172537;box-shadow:0 24px 80px rgba(29,47,74,.17)!important;
  overflow:auto;font-family:inherit;text-align:left;
}
dialog#member-approval-notice::backdrop {background:rgba(33,47,71,.25);backdrop-filter:blur(3px)}
#member-approval-notice *,#member-approval-notice *::before,#member-approval-notice *::after {box-sizing:border-box}
#member-approval-notice .man-main {padding:29px 31px 26px}
#member-approval-notice .man-top {display:flex;justify-content:space-between;align-items:center;gap:12px}
#member-approval-notice .man-brand {display:flex;align-items:center;gap:5px;color:#112d34;font-size:21px;font-weight:800;letter-spacing:-1.1px;white-space:nowrap}
#member-approval-notice .man-brand svg {width:28px;height:25px;fill:#00867d}
#member-approval-notice .man-brand em {font-style:normal;color:#00867d}
#member-approval-notice .man-status {font-size:11px;font-weight:600;background:#eff8f4;color:#28816c;padding:6px 10px;border-radius:20px;text-align:center}
#member-approval-notice .man-success {width:58px;height:58px;margin:28px 0 20px;display:grid;place-items:center;border-radius:50%;background:#edf8f3;color:#228163}
#member-approval-notice .man-success svg {width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
#member-approval-notice h2 {padding:0;color:#172537;font-size:29px;line-height:1.25;letter-spacing:-.85px;margin:0 0 14px;font-weight:650}
#member-approval-notice h2:focus {outline:none!important;box-shadow:none!important}
#member-approval-notice .man-intro {font-size:15px;line-height:1.7;color:#65758a;margin:0}
#member-approval-notice .man-services {display:grid;gap:0;margin-top:23px;border:1px solid #e7ebf2;border-radius:12px;padding:0 16px;background:#fafbfd}
#member-approval-notice .man-service {display:flex;align-items:center;gap:13px;padding:15px 0}
#member-approval-notice .man-service+.man-service {border-top:1px solid #e7ebf2}
#member-approval-notice .man-service-icon {width:33px;height:33px;flex:0 0 33px;display:grid;place-items:center;background:#edf2ff;color:#3e63eb;border-radius:9px}
#member-approval-notice .man-service-icon svg {width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#member-approval-notice .man-service strong {display:block;font-size:14px;font-weight:600;color:#233a55}
#member-approval-notice .man-service small {display:block;font-size:12px;line-height:1.45;color:#78879a;margin-top:3px}
#member-approval-notice .man-footer {padding:0 31px 27px;background:#fff}
#member-approval-notice button.man-continue {display:block;width:100%;margin:0;padding:13px 16px;border:1px solid #355cfa;border-radius:11px;background:#355cfa;color:#fff;min-height:51px;font-family:inherit;font-size:14px;font-weight:650;box-shadow:0 6px 16px #355cfa14;cursor:pointer}
#member-approval-notice button.man-continue:hover {background:#2e51df}
#member-approval-notice button.man-continue:disabled {opacity:.65;cursor:wait}
#member-approval-notice button.man-continue:focus-visible {outline:2px solid #718096;outline-offset:3px;box-shadow:none}
#member-approval-notice .man-footer-note {font-size:11.5px;line-height:1.6;color:#8390a2;text-align:center;margin:12px 0 0}
#member-approval-notice .man-error {padding:10px 12px;margin:0 0 12px;border-radius:8px;background:#fff2f2;color:#a62132;font-size:13px;line-height:1.5}
#member-approval-notice [hidden] {display:none!important}
@media(max-width:650px){
  dialog#member-approval-notice.member-approval-notice {border-radius:17px}
  #member-approval-notice .man-main {padding:24px 22px 22px}
  #member-approval-notice .man-footer {padding:0 22px 23px}
  #member-approval-notice h2 {font-size:26px}
  #member-approval-notice .man-intro {font-size:14px}
  #member-approval-notice .man-success {margin:24px 0 18px;width:53px;height:53px}
  #member-approval-notice .man-status {font-size:10px}
}

/* Source: member-trading-summary.css */
/* Scoped white member result summary; no shared dialog or financial form styles. */
dialog#member-trading-summary.member-trading-summary {
  box-sizing: border-box;
  width: min(560px, calc(100vw - 28px));
  max-width: 560px;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 1px solid #dce3ed !important;
  border-radius: 18px;
  outline: none !important;
  background: #fff !important;
  color: #142139;
  box-shadow: 0 24px 64px rgba(15, 29, 48, .18) !important;
  overflow: auto;
  font-family: inherit;
  text-align: left;
}
dialog#member-trading-summary::backdrop { background: rgba(33, 46, 65, .38); }
#member-trading-summary *, #member-trading-summary *::before, #member-trading-summary *::after { box-sizing: border-box; }
#member-trading-summary .mts-body { padding: 28px 30px 0; }
#member-trading-summary .mts-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
#member-trading-summary .mts-brand { color: #00887d; font-weight: 800; font-size: 21px; letter-spacing: -.6px; }
#member-trading-summary .mts-pill { padding: 6px 10px; border-radius: 20px; background: #edf6f2; color: #287254; font-size: 11px; font-weight: 700; }
#member-trading-summary .mts-pill-early { color: #52647e; background: #f0f3f8; }
#member-trading-summary h2 { padding: 0; margin: 0 0 11px; color: #142139; font-size: 25px; font-weight: 700; line-height: 1.25; }
#member-trading-summary h2:focus { outline: none !important; box-shadow: none !important; }
#member-trading-summary .mts-intro { margin: 0; color: #64718a; font-size: 14px; line-height: 1.6; }
#member-trading-summary .mts-date { margin: 12px 0 22px; color: #77839a; font-size: 12px; line-height: 1.5; }
#member-trading-summary .mts-return { padding: 20px 22px; border: 1px solid #e1e9f4; border-radius: 12px; background: #f6f9fd; }
#member-trading-summary .mts-return span { display: block; color: #65718b; font-size: 13px; }
#member-trading-summary .mts-return strong { display: block; margin-top: 6px; color: #174d92; font-size: 38px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
#member-trading-summary .mts-count { display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e5eaf2; color: #64718a; font-size: 13px; }
#member-trading-summary .mts-count strong { color: #18263d; font-size: 19px; }
#member-trading-summary .mts-breakdown { display: block; margin: 6px 0 0; padding: 0; }
#member-trading-summary .mts-breakdown > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; padding: 13px 0; }
#member-trading-summary .mts-breakdown dt { margin: 0; color: #53627b; font-size: 13px; line-height: 1.5; }
#member-trading-summary .mts-breakdown dd { margin: 0; color: #1c2b44; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; text-align: right; }
#member-trading-summary .mts-breakdown small { display: block; max-width: 270px; margin-top: 4px; color: #8691a4; font-size: 11px; line-height: 1.45; }
#member-trading-summary .mts-breakdown .mts-net { border-top: 1px solid #e5eaf2; padding-top: 17px; }
#member-trading-summary .mts-net dt, #member-trading-summary .mts-net dd { color: #19283f; font-weight: 700; }
#member-trading-summary .mts-note { margin: 8px 0 0; padding: 12px 14px; border-radius: 9px; background: #f6f8fb; color: #67748c; font-size: 12px; line-height: 1.5; }
#member-trading-summary .mts-footer { padding: 18px 30px 24px; background: #fff; }
#member-trading-summary button.mts-acknowledge { display: block; width: 100%; min-height: 48px; margin: 0; padding: 13px 16px; border: 1px solid #365cff; border-radius: 10px; background: #365cff; color: #fff; box-shadow: none; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
#member-trading-summary button.mts-acknowledge:hover { background: #284ee8; }
#member-trading-summary button.mts-acknowledge:disabled { opacity: .65; cursor: wait; }
#member-trading-summary button.mts-acknowledge:focus-visible { outline: 2px solid #64748b; outline-offset: 3px; box-shadow: none; }
#member-trading-summary .mts-acknowledgement { margin: 10px 0 0; color: #7c879c; font-size: 11px; text-align: center; line-height: 1.5; }
#member-trading-summary .mts-error { padding: 10px 12px; margin: 0 0 12px; border-radius: 8px; background: #fff2f2; color: #a62132; font-size: 13px; line-height: 1.5; }
#member-trading-summary [hidden] { display: none !important; }
@media (max-width: 480px) {
  #member-trading-summary .mts-body { padding: 22px 20px 0; }
  #member-trading-summary .mts-footer { padding: 17px 20px 20px; }
  #member-trading-summary h2 { font-size: 22px; }
  #member-trading-summary .mts-return strong { font-size: 33px; }
  #member-trading-summary .mts-breakdown > div { grid-template-columns: minmax(0,1fr) minmax(80px,auto); gap: 10px; }
}

/* Source: member-deposit-credit-notice.css */
dialog#member-deposit-credit-notice {
  box-sizing:border-box;width:min(460px,calc(100vw - 24px));max-width:460px;
  max-height:calc(100dvh - 24px);margin:auto;padding:0;overflow:auto;
  border:1px solid #dce3ed!important;border-radius:18px;outline:none!important;
  background:#fff!important;color:#172537;box-shadow:0 24px 80px #1d2f4a2b!important;
  font-family:inherit;text-align:left;
}
#member-deposit-credit-notice::backdrop{background:#212f4740;backdrop-filter:blur(3px)}
#member-deposit-credit-notice *{box-sizing:border-box}
#member-deposit-credit-notice .mdc-main{padding:26px}
#member-deposit-credit-notice .mdc-status{color:#187958;background:#eaf7ef;font-size:12px;font-weight:600;border-radius:20px;padding:6px 10px}
#member-deposit-credit-notice h2{font-size:24px;line-height:1.3;margin:20px 0 14px;color:#172537;outline:none!important}
#member-deposit-credit-notice .mdc-amount{display:block;font-size:32px;line-height:1.3;color:#15805f;overflow-wrap:anywhere}
#member-deposit-credit-notice p{font-size:14px;line-height:1.6;color:#62728a}
#member-deposit-credit-notice .mdc-balances{margin:20px 0;padding:0 14px;border:1px solid #e0e6f0;border-radius:12px;background:#f8faff}
#member-deposit-credit-notice .mdc-balances>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;flex-wrap:wrap}
#member-deposit-credit-notice .mdc-balances>div+div{border-top:1px solid #e0e6f0}
#member-deposit-credit-notice dt{font-size:13px;color:#62728a}
#member-deposit-credit-notice dd{font-size:15px;font-weight:650;margin:0;overflow-wrap:anywhere}
#member-deposit-credit-notice .mdc-note,#member-deposit-credit-notice .mdc-reference{font-size:12px;overflow-wrap:anywhere}
#member-deposit-credit-notice button.man-continue{width:100%;min-height:46px;border:1px solid #355cfa;border-radius:10px;background:#355cfa;color:#fff;font-family:inherit;font-size:14px;font-weight:600;padding:12px;cursor:pointer}
#member-deposit-credit-notice button:disabled{opacity:.65;cursor:wait}
#member-deposit-credit-notice .man-error{background:#fff2f2;color:#a62132;padding:10px;border-radius:8px}
#member-deposit-credit-notice [hidden]{display:none!important}
@media(max-width:767px){
  #member-deposit-credit-notice .mdc-main{padding:20px}
  #member-deposit-credit-notice h2{font-size:22px}
}

/* Source: member-deposit-setup.css */
/* Setup progress only; existing secure modal and input styles are unchanged. */
.member-deposit-setup-steps {
  list-style:none;display:flex;flex-wrap:wrap;gap:7px;margin:0 0 20px;padding:0;
  color:#6b7a90;font-size:12px;line-height:1.5;
}
.member-deposit-setup-steps li {
  border:1px solid #e1e7ef;border-radius:8px;padding:7px 10px;background:#f8faff;
}
.member-deposit-setup-steps li[aria-current="step"] {
  background:#edf2ff;border-color:#cdd8fc;color:#3156df;font-weight:650;
}
.member-deposit-setup p {line-height:1.65}
.member-deposit-setup-steps+.full {grid-column:1/-1}
form.form-grid>.member-deposit-setup-steps {grid-column:1/-1}
@media(max-width:480px) {
  .member-deposit-setup-steps {font-size:11px;gap:5px}
  .member-deposit-setup-steps li {padding:6px 8px}
}

/* Source: member-funding-security.css */
.member-funding-security{color:#172336;min-width:0}
.member-funding-security form{display:grid;gap:12px}
.member-funding-security input{min-width:0;width:100%;box-sizing:border-box}
.member-funding-security input[readonly]{background:#f5f7fb}
.member-funding-security label{display:block;margin-bottom:5px;font-weight:600}
.member-funding-passwords{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.member-funding-delivery{border:1px solid #d8e3f3;border-radius:12px;background:#f2f6ff;padding:14px}
.member-funding-delivery strong{display:block;color:#193d71}
.member-funding-delivery p{margin:7px 0 0}
.member-funding-security [hidden]{display:none!important}
.member-funding-ready{color:#1e694a}
.member-funding-security [data-funding-message]:empty{display:none}
.member-funding-security [data-funding-message]{border-left:3px solid #6b7b99;padding-left:10px}
@media(max-width:620px){.member-funding-passwords{grid-template-columns:1fr}.member-funding-security .form-actions{display:flex;flex-wrap:wrap}.member-funding-security .form-actions .btn{flex:1 1 160px}}

/* Source: member-deposit-compact.css */
/* Only the member deposit request dialog. Expanded evidence may scroll. */
html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact){
  box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);
  max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  margin:auto;padding:20px;border:1px solid #dce4ef;border-radius:16px;background:#fff;
  overflow-y:auto;overflow-x:hidden;color:#17283e;
}
html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact) #modal-content{padding:0;min-width:0}
html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact) .modal-heading{margin:0 0 12px;padding:0 0 10px;align-items:center;gap:8px}
html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact) .modal-heading h2{margin:0;font-size:22px;line-height:1.25}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact{display:grid;gap:10px;min-width:0;color:#17283e}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact p{margin:0}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary>div{min-width:0;display:grid;gap:3px}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary span,html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary small{font-size:12px;line-height:1.3;color:#5c6f88}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary strong{font-size:28px;line-height:1.15;overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary strong small{font-size:15px;color:#17283e}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-state{text-align:right;justify-items:end;max-width:48%}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-state .badge{white-space:normal;line-height:1.3;padding:5px 8px;font-size:12px}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-clock{margin-top:8px!important;padding:8px 10px;border:1px solid #d7e2fa;border-radius:8px;background:#f0f5ff;color:#244b87;font-weight:650;font-size:14px;line-height:1.25}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-reason{margin-top:6px!important;font-size:12px;line-height:1.35;color:#a62a36}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact #design-detail-refresh-error:empty{display:none}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact #design-detail-refresh-error:not(:empty){margin-top:6px;font-size:12px;line-height:1.35;color:#a62a36}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-card{display:grid;grid-template-columns:164px minmax(0,1fr);column-gap:18px;align-items:center;width:100%;max-width:none;padding:12px;margin:0;border:1px solid #e0e7f0;border-radius:10px}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact :is(.funding-qr-brand,.funding-qr-network,.funding-qr-network-note,.funding-qr-context-note){display:none}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-frame{grid-column:1;grid-row:1 / span 4;width:164px;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:#fff}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact img.funding-qr-code{display:block;width:100%;height:auto;aspect-ratio:1;padding:0;border:0;border-radius:0;object-fit:contain;background:#fff}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-address-label{grid-column:2;margin:0 0 5px;font-size:12px;line-height:1.2}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-address{grid-column:2;margin:0;padding:8px;font-size:13px;line-height:1.45;overflow-wrap:anywhere;word-break:break-all}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-copy{grid-column:2;margin:7px 0 0}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-copy .btn{width:100%;min-height:44px;margin:0;padding:9px 12px;font-size:14px}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-copy-status{grid-column:2;margin:0;font-size:12px;line-height:1.25}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-copy-status:empty{display:none}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-network-note{font-size:12px!important;line-height:1.4!important;color:#5c6f88}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-evidence-toggle{width:100%;min-height:44px;font-size:13px;padding:9px 12px;margin:0}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact #member-deposit-evidence[hidden]{display:none!important}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact #member-deposit-evidence{min-width:0;border-top:1px solid #dce4ef;padding-top:12px}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .deposit-request-evidence{padding:0;margin:12px 0;border:0;background:transparent}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .deposit-evidence-disclosure>summary{display:none}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact #member-deposit-evidence :is(code,dd,p){overflow-wrap:anywhere}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact #member-deposit-record .definition{margin:0 0 10px;font-size:12px}
@media(max-width:480px){
  html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact){width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:14px;max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:12px}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact) .modal-heading{margin-bottom:9px;padding-bottom:8px}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact) .modal-heading h2{font-size:20px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact{gap:8px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary strong{font-size:25px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-card{display:grid;grid-template-columns:148px minmax(0,1fr);column-gap:10px;align-items:center;padding:10px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-frame{align-self:center;width:148px;margin:0}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-address{font-size:12px;line-height:1.35;padding:7px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-address-label{margin:0 0 4px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-copy{margin-top:6px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-copy .btn{font-size:12px;padding:8px 4px;white-space:normal}
}
@media(max-width:480px) and (max-height:680px){
  html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact){padding:10px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact{gap:6px}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact) .modal-heading{margin-bottom:6px;padding-bottom:6px}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.member-deposit-compact) .modal-heading h2{font-size:18px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-summary strong{font-size:23px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-clock{padding:6px 8px;margin-top:6px!important}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-frame{width:120px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-card{grid-template-columns:120px minmax(0,1fr);column-gap:8px;padding:8px}
}

@media(max-width:300px){
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-card{grid-template-columns:minmax(0,1fr)}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-frame{grid-column:1;grid-row:auto;margin:0 auto 8px}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact :is(.funding-qr-address-label,.funding-qr-address,.funding-qr-copy,.funding-copy-status){grid-column:1}
}

/* Source: internal-fx.css */
.ifx-card,.ifx-history{min-width:0;color:#132136;background:#fff;border:1px solid #dce4ef;border-radius:20px;box-shadow:0 5px 22px #14253d04}
.ifx-card h2,.ifx-card h3,.ifx-card dd,.ifx-history h2,.ifx-history-row>div>strong{color:#132136}
.ifx-actions .btn{color:#263c58;background:#fff;border:1px solid #dbe3ef}.ifx-actions .btn.primary{color:#fff;background:#345cf6;border-color:#345cf6}.ifx-actions .text-button{color:#345cf6}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content button.btn[data-action="ui-auto-toggle"][data-enabled="true"]{background:#087f5b;border-color:#087f5b;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content button.btn[data-action="ui-auto-toggle"][data-enabled="false"]{background:#c53030;border-color:#c53030;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content button.btn[data-action="ui-auto-toggle"][data-enabled="true"]:hover:not(:disabled){background:#066649;border-color:#066649;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content button.btn[data-action="ui-auto-toggle"][data-enabled="false"]:hover:not(:disabled){background:#a52828;border-color:#a52828;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content button.btn[data-action="ui-auto-toggle"]:focus-visible{outline:3px solid #91a4ff;outline-offset:3px}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal #modal-content button.btn[data-action="design-pause-confirm"]{background:#c53030;border-color:#c53030;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal #modal-content button.btn[data-action="design-pause-confirm"]:hover:not(:disabled){background:#a52828;border-color:#a52828;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal #modal-content #auto-resume-consent-form button.btn[type="submit"]{background:#087f5b;border-color:#087f5b;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] body #modal #modal-content #auto-resume-consent-form button.btn[type="submit"]:hover:not(:disabled){background:#066649;border-color:#066649;color:#fff}
.ifx-card .ifx-maintenance-help{margin-top:3px}
.ifx-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.ifx-heading h2{margin:0;font-size:20px}.ifx-eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;color:#61738d;margin:0 0 5px}
.ifx-status{font-size:12px;font-weight:700;border-radius:20px;background:#eef2fa;color:#425675;padding:7px 11px;white-space:nowrap}
.ifx-status.is-live{background:#e4f6f0;color:#08745b}.ifx-status.is-live:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px}
.ifx-card h3{font-size:18px;margin:0 0 8px}.ifx-reason{color:#61738d;font-size:14px;line-height:1.6;margin:0 0 18px}
.ifx-value{display:grid;gap:4px;padding:18px;background:#f6f8fc;border:1px solid #e3e9f3;border-radius:14px;margin-bottom:16px}
.ifx-value>span,.ifx-value small{color:#61738d;font-size:12px}.ifx-value strong{font-family:Arial,'Segoe UI',sans-serif;font-size:30px;line-height:1.25;font-variant-numeric:tabular-nums}
.ifx-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:16px 0}.ifx-facts>div{min-width:0}.ifx-facts dt{font-size:12px;color:#61738d;margin-bottom:5px}.ifx-facts dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere;line-height:1.5;font-variant-numeric:tabular-nums}
.ifx-source,.ifx-note{font-size:12px;color:#61738d;line-height:1.6;margin:12px 0 0}.ifx-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e2e8f2;padding-top:18px;margin-top:18px}.ifx-actions .btn{min-height:44px}
.ifx-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px 0;border-top:1px solid #e2e8f2}.ifx-history-row>div{display:grid;gap:6px}.ifx-history-row small{font-size:12px;color:#61738d}.ifx-history-row details{grid-column:1/-1;font-size:12px}.ifx-history-row summary{cursor:pointer;padding:6px 0}.ifx-page-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.ifx-card .positive,.ifx-history .positive{color:#008466}.ifx-card .negative,.ifx-history .negative{color:#bd343e}
.ifx-trade-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ifx-countdown{font-size:12px;font-weight:600;color:#425675;font-variant-numeric:tabular-nums}
.ifx-progress{height:3px;overflow:hidden;border-radius:3px;background:#edf1f8;margin:5px 0 8px}
.ifx-progress i{display:block;height:100%;width:var(--ifx-progress,0%);background:#5979ff}
.ifx-live-trace{height:38px;grid-column:1/-1;line-height:1;margin-top:4px;color:#5979ff}
.ifx-live-trace svg{display:block;width:100%;height:100%;overflow:visible}
.ifx-live-trace polyline{stroke:currentColor;stroke-width:1.5;fill:none;vector-effect:non-scaling-stroke}
.ifx-live-trace circle{fill:currentColor}.ifx-trace-zero{stroke:#ced8e8;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.ifx-live-trace.is-empty{display:flex;align-items:center;font-size:11px;color:#61738d}
.ifx-timeline{color:#61738d;font-size:11px;line-height:1.4;margin:4px 0 0}
@media(min-width:1100px) and (max-height:800px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-live-trace{height:20px;margin-top:2px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-value{padding:5px 12px;margin-bottom:6px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-progress{margin:3px 0 4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-heading{min-height:24px;margin-bottom:3px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-actions{padding-top:4px;margin-top:4px}
}
@media(max-width:900px){.ifx-page-grid{grid-template-columns:1fr}}
@media(max-width:480px){.ifx-heading h2{font-size:18px}.ifx-card h3{font-size:16px}.ifx-facts{gap:12px}.ifx-facts dd{font-size:13px}.ifx-actions{flex-wrap:wrap}.ifx-actions .btn{flex:1}.ifx-actions .text-button{min-height:44px}.ifx-status{max-width:130px;white-space:normal;text-align:center}.ifx-value strong{font-size:28px}}

/* Member overview: balances, observed FX, open exposure and recorded results. */
.dv2-balance .dv2-balance-note{display:block;color:#b2c0d7;font-size:10px;line-height:1.2;font-weight:400}
.ifx-price-pair{display:inline-grid;gap:1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] {display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] >.fx-member-board[data-key]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"current" "profit" "rates" "history";gap:14px;margin:0;padding:0;border:0;box-shadow:none;background:none;border-radius:0;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-member-board>.card{grid-column:auto;grid-row:auto;min-width:0;min-height:0;margin:0;padding:18px;background:#fff;border:1px solid #dce4ef;border-radius:16px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-member-board>.dv2-performance{grid-area:profit}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-member-board>.ifx-card{grid-area:current}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-member-board>.fx-home-rates{grid-area:rates}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-member-board>.fx-home-history{grid-area:history}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rates .card-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rates .card-head h2,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history h2{font-size:16px;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rates .card-head p{font-size:11px;margin:3px 0 0;color:#61738d}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 4px;min-height:44px;padding:6px 0;border:0;border-bottom:1px solid #edf0f6;border-radius:0;background:transparent;box-shadow:none;text-align:left;color:#132136;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate>strong{font-size:13px;text-align:right;font-variant-numeric:tabular-nums}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate>span:last-child{text-align:right}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-pair{display:flex;align-items:center;gap:6px;min-width:0;font-size:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-pair .currency-mark,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-pair .currency-token{width:20px;min-width:20px;height:20px;font-size:9px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-state{color:#61738d;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history .ifx-heading{margin:0 0 8px;min-height:24px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-count{font-size:11px;color:#61738d}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-labels,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(70px,.7fr);gap:8px;align-items:center}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-labels{font-size:11px;color:#61738d;padding:0 0 5px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-labels>span:last-child{text-align:right}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row{border-top:1px solid #e5eaf3;padding:5px 0;min-height:39px;line-height:1.35}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row>div:first-child{display:grid;gap:1px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row strong{font-size:12px;line-height:1.35}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row small{display:block;font-size:11px;color:#61738d;line-height:1.35}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-prices{font-size:11px;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-result{text-align:right}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-result.positive{color:#08745b}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-result.negative{color:#bd343e}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-pages{display:flex;align-items:center;gap:10px;margin-top:4px;font-size:11px;color:#61738d}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-pages .text-button{font-size:11px;min-height:32px;padding:4px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-pages .text-button:last-child{margin-left:auto}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-pages button:disabled{opacity:.4;cursor:default}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details{position:relative;display:block;margin:8px 0 0;padding:0;border-top:1px solid #e5eaf3;font-size:11px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details>summary{cursor:pointer;color:#345cf6;min-height:28px;padding:7px 0 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details[open]{position:relative;z-index:5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details[open]>.performance-total,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details[open]>.dv2-result-basis,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details[open]>.chart-data-details{background:#fff;padding:8px;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 0;margin:0;border:0;box-shadow:none;background:none}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-metrics>div{padding:0;border:0;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-metrics :is(h2,span){font-size:11px;font-weight:400;color:#61738d;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-metrics strong{display:block;font-size:24px;line-height:1.3;font-weight:500;margin:4px 0 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart{min-height:140px;height:140px;margin:0;width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart .data-chart{min-height:0;height:140px;max-height:none;width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart .chart-empty{min-height:140px;height:140px;padding:16px;font-size:12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart .chart-empty :is(strong,p){font-size:12px;margin:5px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart .chart-empty-mark{width:30px;height:30px;font-size:20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .connected-performance-period{margin:5px 0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .connected-performance-period .period-switch{display:flex;gap:4px;margin:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .connected-performance-period button{min-height:32px;min-width:34px;font-size:11px;padding:5px 8px}
@media(min-width:1100px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main:has(.fx-member-compact)>.topbar{height:64px;min-height:64px;padding-top:0;padding-bottom:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main:has(.fx-member-compact)>#page-content{padding:14px 24px 18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] {height:calc(100dvh - 96px);min-height:624px;grid-template-rows:72px minmax(0,1fr);gap:12px;margin:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] >.dv2-balance[data-key]{height:72px;margin:0;padding:8px 20px;gap:20px;align-items:center;border-radius:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-balance>div,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-balance .dv2-available{gap:3px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-balance strong{font-size:25px;line-height:1.2}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] >.fx-member-board[data-key]{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:minmax(312px,1.45fr) minmax(216px,1fr);grid-template-areas:"profit current" "rates history";gap:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-member-board>.card{padding:12px 16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance{display:flex;flex-direction:column}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance>.card-head{margin:0 0 2px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance>.card-head h2{font-size:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance>.card-head p{font-size:11px;margin:3px 0 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart{flex:1;display:flex;align-items:center}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-heading{margin:0 0 5px;min-height:28px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-heading h2{font-size:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-eyebrow{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-card h3{font-size:15px;margin:0 0 3px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-reason{font-size:12px;line-height:1.4;margin:0 0 8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-value{grid-template-columns:1fr auto;align-items:center;gap:0 10px;padding:8px 12px;margin:0 0 8px;border-radius:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-value>strong{grid-column:2;grid-row:1/3;font-size:25px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-value>small{grid-column:1;font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-facts{margin:0;gap:6px 14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-facts dt{font-size:11px;margin:0 0 2px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-facts dd{font-size:12px;line-height:1.35}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-source{font-size:11px;line-height:1.4;margin:6px 0 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-actions{padding-top:7px;margin-top:7px;gap:8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-actions .btn,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-actions .text-button{min-height:32px;padding:5px 10px;font-size:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-note{font-size:11px;line-height:1.35;margin:5px 0 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history{display:flex;flex-direction:column}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-pages{margin-top:auto}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rates .text-button{min-height:28px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details[open]{position:absolute;top:calc(100% - 36px);left:0;right:0;padding:8px 14px;border:1px solid #dce4ef;border-radius:10px;background:#fff;box-shadow:0 10px 28px #14253d25;max-height:300px;overflow:auto}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance{position:relative}
}
@media(max-width:599px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-list{gap:4px 10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-labels,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row{grid-template-columns:minmax(0,1fr) minmax(65px,.8fr) minmax(68px,.7fr);gap:5px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-prices{font-size:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row strong{font-size:11px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row small{font-size:10px}
}

html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate{padding:4px 0;line-height:14px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-pair> :first-child{width:18px;min-width:18px;height:18px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-state{line-height:14px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rates .card-head p{line-height:14px;margin-top:1px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history .ifx-heading{margin-bottom:4px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-labels{line-height:14px;padding-bottom:4px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row{padding:3px 0;min-height:37px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row>div:first-child{gap:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row strong{line-height:15px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-history-row small{line-height:13px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-prices .ifx-price-pair{display:grid;gap:0;line-height:13px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-prices .ifx-price-pair>span{font-size:11px;line-height:13px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-history-pages .text-button{min-height:28px}
@media(min-width:1100px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main:has(.fx-member-compact){padding-top:64px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance>.card-head{flex:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance>.card-head>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;width:100%}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-performance>.card-head p{margin:0;white-space:nowrap}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-metrics{flex:none;padding:6px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-metrics :is(h2,span){line-height:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .dv2-metrics strong{font-size:22px;line-height:26px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .connected-performance-period{flex:none;margin:2px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .connected-performance-period button{min-height:30px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details{flex:none;margin-top:4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-profit-details>summary{min-height:25px;padding-top:5px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-purpose{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-value>span,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-value>small{line-height:1.3}
}

/* Dock support in the sidebar so it cannot cover trade results or pagination. */
@media(min-width:1100px){
 html.fx-connected-design.fx-unified-theme[data-theme]:has(.fx-member-compact) #fx-support-widget #fx-support-launcher{left:148px;right:auto;bottom:20px}
}

/* Confirmed entry and exit actions, never simulated fills or timer events. */
.ifx-trade-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:6px 0;grid-column:1/-1}
.ifx-trade-steps li{border-left:2px solid #dce4ef;padding:1px 0 1px 8px;min-width:0;color:#61738d}
.ifx-trade-steps li.is-done{border-color:#159b80;color:#1c4b43}.ifx-trade-steps li.is-current{border-color:#bd8c22;color:#795a16}
.ifx-trade-steps strong,.ifx-trade-steps small{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.ifx-trade-steps small{font-size:10px;font-weight:400;margin-top:2px}
.ifx-activity-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 5px;font-size:10px;line-height:14px;color:#61738d}
.ifx-activity-caption .text-button{padding:0;min-height:0;font-size:10px}.ifx-follow-live{white-space:nowrap;color:#08745b}
.ifx-activity-list{min-height:0;scrollbar-width:thin;scrollbar-color:#c8d3e4 transparent;overscroll-behavior:contain;overflow-anchor:none;scroll-behavior:auto}
.ifx-activity-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 8px;align-items:center;padding:5px 0;border-top:1px solid #e5eaf3;line-height:1.35;color:#132136}
.ifx-event-main{display:flex;align-items:center;gap:6px;min-width:0}.ifx-event-main>strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ifx-event-main>strong>span{font-weight:400;color:#61738d}
.ifx-event-action{flex:none;min-width:30px;text-align:center;border-radius:5px;padding:1px 4px;font-size:10px;font-weight:700}.ifx-event-action.is-buy{background:#edf1ff;color:#3755b3}.ifx-event-action.is-sell{background:#e4f6f0;color:#08745b}
.ifx-event-meta{min-width:0;font-size:10px;color:#61738d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ifx-event-result{grid-column:2;grid-row:1/3;text-align:right;font-variant-numeric:tabular-nums}.ifx-event-result strong{display:block;font-size:12px}.ifx-event-result small{display:block;font-size:10px;color:#61738d}
.ifx-event-result.positive{color:#08745b}.ifx-event-result.negative{color:#bd343e}
.ifx-activity-row .ifx-event-main>strong,.ifx-activity-row .ifx-event-result>strong{line-height:16px}
.ifx-activity-row .ifx-event-meta,.ifx-activity-row .ifx-event-result>small{line-height:13px;margin:0}
@media(min-width:1100px){
 .ifx-activity-feed .ifx-activity-list{flex:1;overflow-y:auto;padding-right:4px}
 .ifx-activity-feed>.ifx-heading,.ifx-activity-feed>.ifx-activity-caption,.ifx-activity-feed>.fx-history-pages{flex:none}
}
@media(min-width:1100px) and (max-height:800px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-timeline{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card>.ifx-note:not(.ifx-toggle-help):not(.ifx-maintenance-help){display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-trade-steps{margin:3px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-trade-steps small{margin-top:0}
}
@media(max-width:599px){
 .ifx-activity-row{padding:7px 0}.ifx-event-main>strong{font-size:11px}.ifx-event-main{gap:4px}
 .ifx-event-result strong{font-size:11px}.ifx-event-result small{font-size:9px;max-width:94px}
 .ifx-event-meta{font-size:9px}.ifx-event-action{min-width:26px}
}

/* Only a committed USD result appears here; live marks stay in Auto Trading. */
.ifx-latest-settlement{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding:6px 10px;margin:2px 0;background:#f3f8f6;border:1px solid #dfece6;border-radius:8px;color:#132136}
.ifx-latest-settlement>div{min-width:0;display:grid;gap:2px}
.ifx-latest-settlement span{font-size:11px;font-weight:600;line-height:14px}
.ifx-latest-settlement small{font-size:10px;color:#61738d;font-weight:400;line-height:13px}
.ifx-latest-settlement>strong{font-size:21px;line-height:1.1;font-variant-numeric:tabular-nums;flex:none}
.ifx-latest-settlement .positive{color:#08745b}.ifx-latest-settlement .negative{color:#bd343e}
@media(min-width:1100px) and (max-height:800px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart{min-height:94px;height:94px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart .data-chart{height:94px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] #performance-chart .chart-empty{min-height:94px;height:94px;padding:8px}
 .ifx-latest-settlement{padding:4px 8px}
 .ifx-latest-settlement>strong{font-size:19px}
}
@media(max-width:599px){
 .ifx-latest-settlement{align-items:flex-start;padding:7px 8px}
 .ifx-latest-settlement span small{display:block}
 .ifx-latest-settlement>strong{font-size:18px}
}

/* Exact values stay readable in history and the live balance breakdown. */
.ifx-history-row>strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.ifx-event-result strong{white-space:nowrap}
.ifx-latest-settlement>strong{font-size:17px}
#member-balance-details .fx-balance-precision{margin:0 0 12px;font-size:12px;color:#61738d}
#member-balance-details .fx-mobile-balance-details{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;margin:0}
#member-balance-details .fx-mobile-balance-details dt,#member-balance-details .fx-mobile-balance-details dd{margin:0;font-size:14px;line-height:1.5}
#member-balance-details .fx-mobile-balance-details dd{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
#member-balance-details .is-total,#member-balance-details .is-subtotal{font-weight:700;color:#132136}
#member-balance-details .is-subtotal{border-top:1px solid #e3e9f3;padding-top:10px}
#member-balance-details .fx-balance-explanation{margin:16px 0 10px;line-height:1.5;font-size:12px}
#member-balance-details .fx-balance-explanation p{margin:5px 0}
.fx-market-scope{display:flex;flex-wrap:wrap;gap:6px}
.fx-market-scope .tab{border:1px solid #dce4ef;background:#fff;color:#314d70;border-radius:8px;padding:8px 12px;font-size:12px}
.fx-market-scope .tab[aria-pressed="true"]{background:#edf1ff;border-color:#aebeff;color:#284dc8}
.fx-market-scope [data-scope-count]{font-variant-numeric:tabular-nums;margin-left:4px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rates{display:flex;flex-direction:column}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-list{flex:1;min-height:0;gap:0 16px;grid-template-rows:repeat(var(--rate-rows),minmax(0,1fr))}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate{min-height:35px;padding:4px 0;line-height:1.2}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-pair{font-size:11px;overflow:hidden}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-pair>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-state{font-size:10px;min-width:0;line-height:1.2}
.fx-home-rate-state b{font-weight:400}
.fx-home-rate-pair .currency-flag{flex:none}
.fx-rate-rotation{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-top:5px;color:#61738d;font-size:10px;line-height:1.3}
.fx-rate-rotation>div{display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}
.fx-rate-rotation .text-button{font-size:11px;padding:1px 3px;min-height:24px}
@media(min-width:1100px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-value>strong{font-size:21px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-latest-settlement>strong{font-size:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rates .fx-rate-rotation .text-button{min-height:24px}
}
@media(max-width:599px){
 .ifx-history-row{gap:8px;grid-template-columns:minmax(0,1fr)}
 .ifx-history-row>strong{grid-row:2;justify-self:start}
 .ifx-latest-settlement{flex-wrap:wrap}
 .ifx-latest-settlement>strong{margin-left:auto}
 #member-balance-details .fx-mobile-balance-details{grid-template-columns:minmax(0,1fr);gap:3px}
 #member-balance-details .fx-mobile-balance-details dt{font-size:12px;margin-top:8px}
 #member-balance-details .fx-mobile-balance-details dd{text-align:left;font-size:15px}
 #member-balance-details dd.is-subtotal{border:0;padding-top:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate-list{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-home-rate{min-height:48px}
 .fx-rate-rotation .text-button{min-height:36px;min-width:28px}
}

html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .ifx-card .ifx-toggle-help,html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .ifx-card .ifx-maintenance-help{display:block;font-size:11px;line-height:1.45;margin-top:5px}
@media(min-width:1100px) and (max-height:800px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .fx-member-board>.ifx-live-card{padding-top:8px;padding-bottom:8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-status{padding:3px 9px;line-height:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-trade-title h3{line-height:19px;margin-bottom:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-trade-steps{margin:2px 0;line-height:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-trade-steps li{padding-top:0;padding-bottom:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-live-trace{height:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-value{padding-top:4px;padding-bottom:4px;margin-bottom:4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-facts dd{font-size:11px;line-height:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-source{margin-top:3px;line-height:13px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-actions{margin-top:3px;padding-top:3px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-actions .btn{min-height:30px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content >.dashboard-page.design-v2-dashboard.fx-member-compact[data-key] .ifx-live-card .ifx-note{margin-top:4px;line-height:14px}
}

/* Source: support-message-alerts.css */
#fx-support-message-alert{position:fixed;z-index:1450;width:min(320px,calc(100vw - 40px));box-sizing:border-box;padding:16px;background:#fff;color:#152a3a;border:1px solid #cad7ff;border-radius:14px;box-shadow:0 8px 30px #133c4a26;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
#fx-support-message-alert .fx-support-alert-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#fx-support-message-alert .fx-support-alert-heading button{width:32px;height:32px;border:1px solid #dce5ed;border-radius:8px;background:#fff;color:#17304c;font-size:20px;cursor:pointer}
#fx-support-message-alert p{margin:6px 0 12px;color:#536785}
#fx-support-message-alert .btn{min-height:40px;padding:8px 14px;border-radius:9px;cursor:pointer}
#fx-support-message-alert .btn.primary{background:#365cff;border:1px solid #365cff;color:#fff;font-weight:600}
#fx-support-message-alert[data-compact=true]{width:auto;padding:0;overflow:hidden}
#fx-support-message-alert .fx-support-message-count{background:#fff;color:#2445ce;border-radius:12px;padding:2px 7px;margin-left:6px}
#fx-support-widget .fx-chat-unread{display:flex;align-items:center;justify-content:center;min-width:21px;width:auto;height:21px;padding:0 4px;box-sizing:border-box;background:#d33e50;border:2px solid #fff;border-radius:12px;color:#fff;font-size:11px;font-weight:700;line-height:1}
#fx-support-widget .fx-chat-unread[hidden]{display:none!important}
@media(max-width:680px){#fx-support-message-alert{font-size:13px;padding:12px;width:min(300px,calc(100vw - 40px))}#fx-support-message-alert .btn{min-height:44px}}

/* Source: server-simulation.css */
.sim-workspace{color:#14243c;font-size:13px;max-width:1800px;margin:auto;font-variant-numeric:tabular-nums}
.sim-flag{display:inline-block;object-fit:contain;vertical-align:middle;margin-right:3px;border-radius:2px}.sim-route-node .sim-flag{margin:0}


.sim-balances{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;background:#101a2a;color:#fff;padding:19px 22px;border-radius:18px;margin-bottom:12px}
.sim-balances span{display:block;color:#9cb3cf;font-size:12px;margin-bottom:7px}.sim-balances strong{display:block;font-size:clamp(17px,1.55vw,25px);overflow-wrap:anywhere;font-weight:650;letter-spacing:-.025em}
.sim-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:12px;align-items:stretch}.sim-card{background:#fff;border:1px solid #dce5f2;border-radius:18px;padding:18px;min-width:0;box-shadow:0 3px 13px #203e6b03}
.sim-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.sim-card-head h2{font-size:16px;font-weight:650;letter-spacing:-.02em;margin:0}.sim-card-head>span{font-size:11px;color:#788da8;text-align:right}
.sim-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sim-kpis span{display:block;font-size:11px;color:#7c8fa8;line-height:1.5}.sim-kpis strong{display:block;font-size:clamp(16px,1.6vw,24px);font-weight:600;margin-top:6px;letter-spacing:-.025em;overflow-wrap:anywhere}
.sim-positive{color:#008d7b!important}.sim-negative{color:#d14b57!important}.sim-chart{margin-top:16px;height:145px}.sim-chart svg{width:100%;height:125px;overflow:visible}.sim-chart line{stroke:#e6edf8;stroke-dasharray:4 5}.sim-chart polyline{fill:none;stroke:#6c8dff;stroke-width:2.5;vector-effect:non-scaling-stroke}.sim-chart>div{display:flex;justify-content:space-between;color:#8a9bb1;font-size:10px;padding:0 8px}.sim-chart-empty{display:grid;place-content:center;height:145px;color:#8a9bb1;font-size:12px;line-height:1.8}
.sim-explanation{display:flex;flex-wrap:wrap;gap:5px 17px;border-top:1px solid #e5ecf6;padding-top:11px;color:#7f91aa;font-size:10px;margin-top:12px}.sim-explanation b{color:#435b7c}.sim-status{background:#eef2f7;color:#536d91!important;border-radius:30px;padding:7px 12px;font-size:11px;font-weight:650;white-space:nowrap}.sim-status.is-running{background:#e4f7f1;color:#008675!important}.sim-status.is-running:before{content:'●';margin-right:6px}
.sim-route-policy{margin:0;color:#7f91aa;font-size:11px;line-height:1.6}.sim-route{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:16px 0 12px}.sim-route-node{display:grid;align-content:center;gap:4px;flex:1;min-width:0;text-align:center;background:#f5f7fb;border:1px solid #e6edf5;padding:8px 4px;border-radius:10px;color:#8799b2;min-height:78px}.sim-route-node>span{font-size:20px;line-height:1.1}.sim-route-node strong{font-size:10px;overflow-wrap:anywhere;line-height:1.25}.sim-route-node small{font-size:9px}.sim-route-node.is-complete{background:#f1f8f6;color:#267163;border-color:#d4ece5}.sim-route-node.is-current{border-color:#8ea6f6;box-shadow:0 0 0 2px #f0f4ff;color:#284ca3}.sim-route-arrow{color:#9aabc2;font-size:13px}
.sim-route-caption{display:flex;justify-content:space-between;gap:10px;color:#768ba5;font-size:10px}.sim-route-caption b{color:#506785;font-weight:550}.sim-progress{height:3px;background:#edf1f9;border-radius:10px;margin:9px 0 13px;overflow:hidden}.sim-progress span{height:100%;background:#6686ff;display:block;transition:width .25s}
.sim-route-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.sim-route-facts span{display:block;color:#8093ac;font-size:10px;line-height:1.45}.sim-route-facts strong{font-size:13px;display:block;margin-top:5px;overflow-wrap:anywhere}.sim-controls{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e5ecf6;padding-top:10px;margin-top:14px}.sim-controls a{font-size:11px;color:#4166ef;text-decoration:none}.sim-control{border:0!important;color:white!important;font-weight:600!important;padding:10px 15px!important;border-radius:9px!important;cursor:pointer;font-size:12px!important;min-height:36px}.sim-stop{background:#d64d5b!important}.sim-start{background:#008d72!important}.sim-control:disabled{opacity:.6;cursor:wait}.sim-footnote{font-size:10px!important;color:#7a8ea9;line-height:1.6;margin:8px 0 0}.sim-sync{font-size:10px;color:#8a9bb2;margin-top:5px;line-height:1.6}.sim-no-route{padding:20px 0;color:#8091a9;font-size:12px;line-height:1.6}
.sim-rate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:8px}.sim-rate{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #eef2f8;padding:7px 0;min-height:44px}.sim-rate b{display:block;font-size:11px;line-height:1.35}.sim-rate small{display:block;font-size:9px;color:#8799af;margin-top:4px}.sim-rate>strong{font-size:12px;color:#215c6e;overflow-wrap:anywhere;text-align:right;max-width:50%}.sim-rate-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:10px;color:#8497b0;padding-top:12px}
.sim-feed-note{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#8799af;margin:-4px 0 8px}.sim-feed-note button,.sim-feed-footer button{padding:0;border:0;background:transparent;color:#4068ef;font:inherit;cursor:pointer;min-height:20px}.sim-feed-footer button:disabled{opacity:.4;cursor:default}.sim-events{height:237px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ced9e9 transparent}.sim-event{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e9eef7;padding:7px 5px 7px 0;min-height:51px}.sim-event>div{min-width:0}.sim-event strong{font-size:11px;font-weight:600;line-height:1.55;display:block;overflow-wrap:anywhere}.sim-event small{display:block;color:#8b9db4;font-size:9px;line-height:1.45;margin-top:3px}.sim-event-value{text-align:right;max-width:42%;flex-shrink:0}.sim-event-value b{font-size:11px;overflow-wrap:anywhere}.sim-tag{background:#eef2ff;color:#3b5ebc;padding:2px 5px;border-radius:4px;font-size:9px;white-space:nowrap;margin-right:3px}.sim-tag.is-credit{background:#dff5ec;color:#00896e}.sim-feed-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8a9ab2;margin-top:9px}
.sim-detail-history{margin-top:12px}.sim-table-wrap{overflow:auto}.sim-detail-history table{width:100%;border-collapse:collapse;min-width:730px;font-size:12px}.sim-detail-history th{font-weight:500;text-align:left;color:#7c91ac;font-size:10px;padding:10px 8px;border-bottom:1px solid #e2eaf5}.sim-detail-history td{padding:11px 8px;border-bottom:1px solid #e9eff7}.sim-detail-history td small{display:block;color:#8d9fb5;font-size:10px;margin-top:5px}.sim-detail-history td:first-child{max-width:340px;line-height:1.5}.sim-detail-history td:not(:first-child){white-space:nowrap}
@media(min-width:1200px) and (min-height:850px){.sim-chart{height:175px}.sim-chart svg{height:155px}.sim-card{padding:20px}.sim-events{height:260px}.sim-rate{min-height:49px}}
@media(max-width:1100px){.sim-balances{gap:10px;padding:15px}.sim-card{padding:14px}.sim-kpis{grid-template-columns:1fr 1fr}.sim-kpis>div:last-child{grid-column:1/-1}.sim-kpis strong{font-size:20px}.sim-route-node strong{font-size:9px}.sim-chart{height:100px}.sim-chart svg{height:80px}.sim-route-facts{grid-template-columns:1fr 1fr}.sim-route-facts>div:last-child{grid-column:1/-1}.sim-card-head>span{font-size:9px}}
@media(max-width:760px){.sim-grid{grid-template-columns:1fr}.sim-balances{grid-template-columns:1fr 1fr;padding:15px;border-radius:13px}.sim-balances strong{font-size:18px}.sim-balances span{font-size:10px}.sim-card{border-radius:14px;padding:15px}.sim-kpis{grid-template-columns:1fr 1fr 1fr}.sim-kpis>div:last-child{grid-column:auto}.sim-kpis strong{font-size:15px}.sim-kpis span{font-size:9px}.sim-earnings{order:1}.sim-current{order:2}.sim-activity{order:3}.sim-rates{order:4}.sim-chart{height:100px}.sim-chart svg{height:80px}.sim-route-node{min-height:70px;padding:7px 3px}.sim-route-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.sim-route-facts>div:last-child{grid-column:auto}.sim-route-facts strong{font-size:11px}.sim-route-caption{font-size:9px}.sim-events{height:285px}.sim-rate-grid{gap:0 12px}.sim-rate b{font-size:10px}.sim-rate>strong{font-size:11px}.sim-feed-footer{font-size:9px}.sim-explanation{font-size:9px}.sim-card-head h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){.sim-progress span{transition:none}}

/* Independent rates panel and a persistent return metric in both states. */


.sim-kpis{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:10px}
.sim-kpis>div:last-child{grid-column:auto}.sim-kpis strong{font-size:clamp(16px,1.45vw,23px)}
/* Activity is recorded time, independent of earnings eligibility. */
.sim-timeline{margin-top:22px;padding-top:20px;border-top:1px solid #e5ecf6}
.sim-timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.sim-timeline-heading h3,.sim-timeline-empty h3{margin:0;font-size:13px;line-height:1.5;font-weight:650;color:#233b59}
.sim-timeline-state{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:20px;background:#f2f5fa;color:#60728b;font-size:10px;line-height:1.5;white-space:nowrap}
.sim-timeline-state i{width:5px;height:5px;border-radius:50%;background:currentColor}.sim-timeline-state.is-running{background:#eaf7f3;color:#00816f}.sim-timeline-state.is-maintenance{background:#eef1ff;color:#536bd0}
.sim-timeline-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sim-timeline-stat{min-width:0;padding:13px 12px 12px;background:#f5f7fb;border:1px solid #eaf0f7;border-radius:12px}
.sim-timeline-stat.is-running{background:#edf8f5;border-color:#dcefe8}.sim-timeline-stat.is-maintenance{background:#f3f5fe;border-color:#e7ebfa}
.sim-timeline-stat-label{display:flex;align-items:center;gap:6px;min-width:0;color:#64768f;font-size:10px;line-height:1.5}
.sim-timeline-stat-label svg{width:15px;height:15px;flex-shrink:0}.sim-timeline-stat.is-running .sim-timeline-stat-label{color:#238475}.sim-timeline-stat.is-maintenance .sim-timeline-stat-label{color:#6377bc}
.sim-timeline-stat b{display:block;margin-top:8px;color:#334a67;font-size:clamp(16px,1.5vw,22px);font-weight:600;line-height:1.25;letter-spacing:-.035em;white-space:nowrap}.sim-timeline-stat.is-running b{color:#008574}
.sim-timeline-overview{padding:19px 2px 14px}.sim-timeline-track-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;color:#7b8da5;font-size:10px;line-height:1.5}.sim-timeline-track-label>span:first-child{color:#5c718e}.sim-timeline-track-label b{color:#526b8a;font-weight:500;margin-left:4px}
.sim-timeline-bar{height:10px;position:relative;isolation:isolate}.sim-timeline-track{position:absolute;inset:0;overflow:hidden;border-radius:8px;background:#e8edf4}
.sim-timeline-segment,.sim-timeline-future{display:block;position:absolute;top:0;height:100%;min-width:0}.sim-timeline-segment.is-running{background:#009884}.sim-timeline-segment.is-stopped{background:#a6b6cc}.sim-timeline-segment.is-maintenance{background:#7b8bea}.sim-timeline-segment.is-unknown{background:#e8edf4}.sim-timeline-future{background:#f5f7fb;border:1px solid #e9eef5;border-radius:0 8px 8px 0}
.sim-timeline-now{display:block;position:absolute;width:12px;height:12px;top:-1px;background:#365ef6;transform:translateX(-6px);border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #365ef629;z-index:2}
.sim-timeline-axis{display:flex;justify-content:space-between;padding-top:9px;color:#8a9ab0;font-size:9px;line-height:1.5}
.sim-timeline-unrecorded{position:relative;padding-left:20px;margin:12px 0 0!important;color:#8593a7;font-size:9px!important;line-height:1.65}.sim-timeline-unrecorded>span{position:absolute;top:1px;left:0;width:13px;height:13px;border:1px solid #b7c3d2;border-radius:50%;text-align:center;font-size:9px;line-height:11px}.sim-timeline-unrecorded b{font-weight:500;color:#73849b}
.sim-timeline-sessions{border-top:1px solid #edf1f7}.sim-timeline-sessions>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;min-height:39px;font-size:10px;color:#49668b;padding:9px 2px}.sim-timeline-sessions>summary::-webkit-details-marker{display:none}.sim-timeline-sessions>summary:focus-visible{outline:2px solid #365ef6;outline-offset:3px;border-radius:5px}.sim-timeline-session-count{margin-left:auto;font-size:9px;color:#8999af}.sim-timeline-sessions>summary>svg{height:15px;width:15px;color:#758aa9}.sim-timeline-sessions[open]>summary>svg{transform:rotate(180deg)}
.sim-timeline-periods{list-style:none;margin:0!important;padding:0!important;max-height:224px;overflow:auto;scrollbar-width:thin;scrollbar-color:#cfdaeb transparent}
.sim-timeline-periods>li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;margin:0;padding:11px 3px;border-top:1px solid #f0f3f8;font-size:10px;line-height:1.4}
.sim-timeline-period-state{display:flex;align-items:center;gap:7px;color:#60758e}.sim-timeline-period-state i{flex-shrink:0;width:6px;height:6px;background:#a6b6cc;border-radius:50%}.is-running>.sim-timeline-period-state i{background:#009884}.is-maintenance>.sim-timeline-period-state i{background:#7b8bea}.is-unknown>.sim-timeline-period-state i{background:#fff;border:1px solid #b7c3d2}
.sim-timeline-period-time{color:#7b8da5;font-size:10px;white-space:nowrap}.sim-timeline-periods b{color:#49617e;font-weight:500;white-space:nowrap}.sim-timeline-periods>li.sim-timeline-no-periods{display:block;color:#8593a7}
.sim-timeline-note{font-size:9px!important;line-height:1.65;color:#8593a7;margin:8px 0 12px!important}.sim-timeline-empty p{font-size:11px;line-height:1.6;color:#7b8da6;margin:10px 0 20px}
.sim-earnings-source{margin:9px 0 0;font-size:11px!important;color:#6b809d;line-height:1.6}.sim-ledger-note{margin:10px 0 0;padding:9px 10px;border-radius:8px;background:#f5f8fd;color:#637b99;font-size:10px!important;line-height:1.6}
.sim-earnings-details{margin-top:12px;border-top:1px solid #e5ecf6;padding-top:11px;font-size:10px;color:#6c809c}.sim-earnings-details summary{cursor:pointer;color:#456181;line-height:1.6}.sim-earnings-details dl{margin:9px 0 0}.sim-earnings-details dl>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;line-height:1.6}.sim-earnings-details dd{margin:0;text-align:right;color:#344e70;overflow-wrap:anywhere}.sim-earnings-details p{margin:7px 0 0!important;font-size:10px!important;line-height:1.6}
@media(max-width:760px){.sim-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sim-kpis strong{font-size:18px}}
@media(max-width:760px){.sim-timeline{margin-top:18px;padding-top:17px}.sim-timeline-heading h3{font-size:12px}.sim-timeline-legend{gap:8px}.sim-timeline-stat{padding:12px 10px;border-radius:10px}.sim-timeline-stat b{font-size:20px}}
@media(max-width:430px){.sim-timeline-legend{gap:7px}.sim-timeline-stat{padding:11px 8px}.sim-timeline-stat-label{gap:4px;font-size:9px}.sim-timeline-stat-label svg{width:12px;height:12px}.sim-timeline-stat b{font-size:17px}.sim-timeline-periods>li{gap:10px}}
@media(max-width:350px){.sim-timeline-stat{padding:10px 6px}.sim-timeline-stat-label{font-size:8px;gap:3px}.sim-timeline-stat-label svg{width:11px;height:11px}.sim-timeline-stat b{font-size:15px}.sim-timeline-periods>li{gap:7px;font-size:10px}}
@media(max-width:760px){.sim-rate{display:grid;grid-template-columns:1fr;gap:4px}.sim-rate>strong{max-width:none;white-space:nowrap;text-align:left;font-size:11px}}

html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result){width:min(540px,calc(100vw - 28px));max-width:540px;max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border-radius:20px}
html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result) .modal-heading{margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #e3eaf4}
html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result) .modal-heading h2{font-size:21px;line-height:1.3}
.sim-control-result{color:#172942;font-variant-numeric:tabular-nums}
.sim-result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.sim-result-heading>b{font-size:23px;letter-spacing:.02em;color:#008879}
.sim-result-state{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600}.sim-result-state.is-started{background:#e3f7ef;color:#008266}.sim-result-state.is-stopped{background:#fff0f1;color:#bd3646}
.sim-result-description{font-size:14px;line-height:1.6;color:#61748e;margin:16px 0 8px}.sim-result-day{color:#8291a6;font-size:12px;margin:0 0 18px}
.sim-result-hero{background:#f2f8f7;border:1px solid #dcece7;padding:20px;border-radius:14px}.sim-result-hero>span{font-size:13px;color:#657f7b}.sim-result-hero>strong{display:block;color:#008675;font-size:clamp(25px,5.8vw,36px);line-height:1.2;letter-spacing:-.03em;margin:10px 0 17px;overflow-wrap:anywhere}
.sim-result-hero>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dbe9e5;padding-top:12px;font-size:13px;color:#69807c}.sim-result-hero b{font-size:20px;color:#008675}
.sim-result-details{margin:18px 0}.sim-result-details>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #edf1f6;font-size:13px}.sim-result-details dt{color:#6e7f96}.sim-result-details dd{margin:0;font-weight:600;color:#213956}
.sim-result-note{font-size:12px;line-height:1.65;color:#7a8aa1;background:#f6f8fb;padding:12px;border-radius:9px;margin:18px 0}.sim-result-actions{display:flex;gap:10px}.sim-result-actions button{min-height:44px;padding:11px 15px;border-radius:10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;flex:1}
.sim-result-secondary{background:white;border:1px solid #dce5f1;color:#314762}.sim-result-primary{background:#008675;border:1px solid #008675;color:white}
@media(max-width:500px){html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result){padding:18px;border-radius:16px}.sim-result-hero{padding:16px}.sim-result-actions{flex-direction:column-reverse}.sim-result-description{font-size:13px}.sim-result-details>div{font-size:12px}}
/* Keep account data legible and controls usable at narrow member viewports. */
.sim-kpis span,.sim-balances span,.sim-card-head>span,.sim-route-policy,.sim-rate b,.sim-event strong,.sim-event-value b{font-size:12px}
.sim-route-node strong,.sim-route-node small,.sim-route-caption,.sim-route-facts span,.sim-rate small,.sim-rate-footer,.sim-feed-note,.sim-feed-footer,.sim-event small,.sim-tag,.sim-detail-history th,.sim-detail-history td small,.sim-explanation,.sim-sync,.sim-timeline-stat-label,.sim-timeline-track-label,.sim-timeline-axis,.sim-timeline-session-count,.sim-timeline-periods>li,.sim-timeline-period-time,.sim-earnings-details{font-size:11px}
.sim-footnote,.sim-timeline-unrecorded,.sim-timeline-note,.sim-ledger-note,.sim-earnings-details p{font-size:11px!important}
.sim-control{min-height:44px}.sim-feed-note{align-items:center;flex-wrap:wrap}.sim-feed-footer{align-items:center;flex-wrap:wrap}.sim-feed-note button,.sim-feed-footer button{min-height:44px;padding:8px 5px;font-size:12px}
.sim-controls{gap:10px}.sim-history-link{border:0;background:transparent;color:#4166ef;font:inherit;font-size:12px;min-height:44px;padding:8px 4px;cursor:pointer}
.sim-timeline-sessions>summary,.sim-earnings-details>summary{min-height:44px;font-size:12px;display:flex;align-items:center}
.sim-timeline-stat-label{flex-wrap:wrap}.sim-timeline-stat b{font-size:clamp(16px,1.5vw,22px)}.sim-timeline-state{font-size:11px}
.sim-activity-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;margin:0 0 16px}.sim-activity-tools label{flex:1;min-width:150px;color:#526b8a;font-size:12px}.sim-activity-tools select{display:block;margin-top:5px;width:100%;min-height:44px;font:inherit;padding:9px 30px 9px 10px;border:1px solid #dce5f2;border-radius:9px;background:#fff;color:#233b59}.sim-activity-tools button,.sim-recorded-navigation button{min-height:44px;padding:9px 12px;border:1px solid #dce5f2;border-radius:9px;background:#fff;color:#355df5;font:inherit;font-size:12px;cursor:pointer}.sim-recorded-navigation{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px;color:#647a96;font-size:12px}
@media(max-width:760px){.sim-route-node{min-height:86px}.sim-route-node strong{font-size:11px}.sim-event{gap:8px}.sim-event-value{max-width:45%}.sim-timeline-stat-label{min-height:33px;align-content:center}.sim-timeline-stat b{margin-top:5px}.sim-route-caption{flex-wrap:wrap}}
@media(max-width:350px){.sim-timeline-stat-label svg{display:none}.sim-timeline-stat-label{font-size:11px;min-height:33px;overflow-wrap:anywhere}.sim-timeline-periods>li{grid-template-columns:1fr auto;gap:5px}.sim-timeline-period-time{grid-column:1/-1;grid-row:2}.sim-timeline-periods b{grid-column:2;grid-row:1}}
@media(max-width:350px){.sim-balances{grid-template-columns:minmax(0,1fr)}.sim-balances strong{font-size:20px}}

/* Recent routes stay inside the active trading card and share its live snapshot. */
.sim-current-feed{margin-top:20px;padding-top:17px;border-top:1px solid #e5ecf6;min-width:0}
.sim-current-feed-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.sim-current-feed-head h3{margin:0;font-size:13px;line-height:1.5;font-weight:650;color:#233b59}
.sim-current-feed-state{display:inline-flex;align-items:center;gap:6px;color:#7285a0;font-size:11px;line-height:1.5;text-align:right}
.sim-current-feed-state:before{content:'';display:block;width:5px;height:5px;border-radius:50%;background:#008d7b;flex-shrink:0}
.sim-current-feed-list{max-height:250px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#ced9e9 transparent;overscroll-behavior:contain;border:1px solid #e6edf6;border-radius:11px;background:#fff}
.sim-current-feed-list:focus-visible{outline:2px solid #4166ef;outline-offset:3px}
.sim-current-feed-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:12px;border-top:1px solid #edf1f7}
.sim-current-feed-row:first-child{border-top:0}.sim-current-feed-row.is-active{background:#f5f8ff}
.sim-current-feed-main{min-width:0}.sim-current-feed-path{display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;min-width:0;color:#2d4666;line-height:1.5}
.sim-current-feed-currency{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;flex-shrink:0}.sim-current-feed-currency .sim-flag{width:18px;height:13px;margin:0;flex-shrink:0}.sim-current-feed-currency b{font-size:11px;font-weight:600;line-height:1.5}
.sim-current-feed-arrow{color:#9aaec6;font-size:11px;line-height:1.5}.sim-current-feed-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;margin-top:6px;color:#7b8da5;font-size:11px;line-height:1.5}.sim-current-feed-meta time{font-variant-numeric:tabular-nums}
.sim-current-feed-badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;line-height:1.5;padding:2px 6px;border-radius:5px;background:#f0f3f8;color:#627993}.sim-current-feed-badge.is-running{background:#e8eefc;color:#4166c6}.sim-current-feed-badge.is-paused{background:#edf1f6;color:#667d97}.sim-current-feed-badge.is-complete{background:#e9f7f2;color:#267e6d}
.sim-current-feed-amount{min-width:0;text-align:right}.sim-current-feed-amount>span{display:block;font-size:11px;line-height:1.4;color:#7c90aa;margin-bottom:4px}.sim-current-feed-amount>strong{display:block;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.sim-current-feed-empty{margin:0!important;padding:20px 14px;color:#7b8da5;font-size:12px!important;line-height:1.7;text-align:center}
.sim-detail-history{scroll-margin-top:130px}.sim-detail-history:focus-visible{outline:2px solid #4166ef;outline-offset:3px}
@media(max-width:1100px) and (min-width:761px){.sim-current-feed-row{grid-template-columns:minmax(0,1fr);gap:8px}.sim-current-feed-amount{display:flex;align-items:center;justify-content:space-between;gap:10px}.sim-current-feed-amount>span{margin:0}}
@media(max-width:760px){
  .sim-current-feed{margin-top:18px;padding-top:15px}.sim-current-feed-list{max-height:250px}.sim-current-feed-row{padding:12px 10px;gap:10px}.sim-current-feed-path{gap:4px 6px}
  .sim-detail-history{scroll-margin-top:115px}.sim-detail-history .sim-table-wrap{overflow:visible}.sim-detail-history table{display:block;min-width:0;width:100%;font-size:12px}
  .sim-detail-history thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .sim-detail-history tbody{display:grid;gap:12px;width:100%}.sim-detail-history tbody tr{display:block;min-width:0;border:1px solid #e2eaf5;border-radius:12px;background:#fff;padding:0 12px 5px}
  .sim-detail-history td{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;width:auto;padding:10px 0;border-bottom:1px solid #edf1f7;line-height:1.5;text-align:right;overflow-wrap:anywhere}
  .sim-detail-history td:first-child{display:block;max-width:none;padding:13px 0 12px;text-align:left;color:#2b4465;line-height:1.6}.sim-detail-history td:first-child b{font-weight:600;overflow-wrap:anywhere}.sim-detail-history td small{font-size:11px;line-height:1.6;margin-top:6px}
  .sim-detail-history td:not(:first-child){white-space:normal}.sim-detail-history td:not(:first-child):before{content:attr(data-label);flex:1;min-width:0;text-align:left;color:#7c91ac;font-size:11px;font-weight:400;line-height:1.5}.sim-detail-history td:last-child{border-bottom:0}
}
@media(max-width:430px){.sim-current-feed-row{grid-template-columns:minmax(0,1fr);gap:8px}.sim-current-feed-amount{display:flex;align-items:center;justify-content:space-between;gap:10px}.sim-current-feed-amount>span{margin:0}.sim-current-feed-head{gap:8px}.sim-current-feed-head h3{font-size:12px}.sim-current-feed-state{font-size:11px}.sim-detail-history tbody tr{padding-right:10px;padding-left:10px}.sim-detail-history td{gap:9px}}
.sim-detail-history .sim-history-value{display:inline-block;white-space:nowrap;flex-shrink:0;font-variant-numeric:tabular-nums}

/* Preserve whole country names and recorded amounts in narrow route cards. */
.sim-route-facts strong{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
@media(max-width:760px){
 .sim-route{justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;padding:3px 2px 8px;scrollbar-width:thin;scroll-snap-type:x proximity}
 .sim-route-node{flex:1 0 108px;min-width:108px;padding:8px;scroll-snap-align:start}
 .sim-route-node strong{overflow-wrap:normal;word-break:normal;font-size:11px;line-height:1.4}
 .sim-route-arrow{flex:0 0 12px;text-align:center}
 .sim-route-facts{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))}
 .sim-route-facts>div:last-child{grid-column:auto}
 .sim-route-facts strong{font-size:12px}
}

/* Keep only the Auto Trading result dialog compact on phones. */
@media (max-width:600px) {
  html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result) {
    box-sizing:border-box;
    width:calc(100vw - 32px);
    max-width:390px;
    min-width:0;
    max-height:calc(100vh - 48px);
    max-height:calc(100dvh - 48px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
    margin:auto;
    padding:16px;
    border-radius:18px;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:auto;
  }
  html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result) #modal-content {
    padding:0;
    min-width:0;
    max-width:100%;
  }
  html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result) .modal-heading {
    gap:8px;
    align-items:center;
    margin:0 0 10px;
    padding:0 0 8px;
  }
  html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result) .modal-heading h2 {
    margin:0;
    min-width:0;
    font-size:18px;
    line-height:1.3;
  }
  html.fx-unified-theme[data-theme] body dialog#modal:has(.sim-control-result) .modal-heading .icon-button {
    flex:0 0 44px;
    width:44px;
    height:44px;
    min-height:44px;
    min-width:44px;
    padding:10px;
    border-radius:11px;
  }
  .sim-control-result .sim-result-heading {gap:8px;}
  .sim-control-result .sim-result-heading>b {font-size:17px;}
  .sim-control-result .sim-result-state {padding:4px 9px;font-size:12px;}
  html.fx-unified-theme[data-theme] body dialog#modal .sim-control-result .sim-result-description {font-size:13px;line-height:1.4;margin:8px 0 4px;}
  html.fx-unified-theme[data-theme] body dialog#modal .sim-control-result .sim-result-day {font-size:12px;line-height:1.4;margin:0 0 8px;}
  .sim-control-result .sim-result-hero {padding:12px;border-radius:11px;}
  .sim-control-result .sim-result-hero>span {font-size:12px;line-height:1.4;}
  .sim-control-result .sim-result-hero>strong {font-size:24px;line-height:1.2;margin:6px 0 8px;}
  .sim-control-result .sim-result-hero>div {align-items:baseline;gap:8px;padding-top:8px;font-size:12px;}
  .sim-control-result .sim-result-hero b {font-size:16px;min-width:0;overflow-wrap:anywhere;}
  .sim-control-result .sim-result-details {margin:8px 0;}
  .sim-control-result .sim-result-details>div {gap:8px;padding:5px 0;font-size:12px;line-height:1.4;}
  .sim-control-result .sim-result-details dt {min-width:0;}
  .sim-control-result .sim-result-details dd {text-align:right;overflow-wrap:anywhere;min-width:0;}
  html.fx-unified-theme[data-theme] body dialog#modal .sim-control-result .sim-result-note {font-size:12px;line-height:1.4;padding:8px;margin:8px 0;}
  .sim-control-result .sim-result-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .sim-control-result .sim-result-actions button {min-width:0;min-height:44px;padding:8px;font-size:13px;line-height:1.3;white-space:normal;}
}

/* Source: payment-dialogs.css */
/* Scoped member funding dialogs. Original forms, security and QR own all data. */
html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) {
  --pay-blue:#355df5;--pay-teal:#008a80;--pay-text:#17283e;--pay-muted:#62748c;--pay-border:#dce4f1;
  width:min(520px,calc(100vw - 48px));max-width:calc(100vw - 48px);
  max-height:min(840px,calc(100dvh - 64px));box-sizing:border-box;
  padding:24px;margin:auto;border:1px solid var(--pay-border);border-radius:20px;
  background:#fff;color:var(--pay-text);overflow-x:hidden;overflow-y:auto;
  overscroll-behavior:contain;scrollbar-gutter:stable;box-shadow:0 20px 64px #122b4229;
}
html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) #modal-content {padding:0;min-width:0;max-width:100%;}
html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) .modal-heading {align-items:center;gap:14px;margin:0 0 20px;padding:0 0 16px;}
html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) .modal-heading h2 {font-size:23px;line-height:1.25;margin:0;}
html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) .modal-heading .icon-button {width:40px;height:40px;min-width:40px;min-height:40px;padding:9px;border:1px solid var(--pay-border);border-radius:11px;flex-shrink:0;background:#fff;color:var(--pay-text);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow {display:block;min-width:0;color:var(--pay-text);font-size:14px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow p {margin:0;line-height:1.5;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-steps {display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;margin:0 0 22px;padding:0;color:var(--pay-muted);font-size:12px;line-height:1.5;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-steps li {margin:0;min-width:0;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-steps li[aria-current] {color:var(--pay-blue);font-weight:650;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-asset {display:flex;align-items:center;gap:12px;border:1px solid var(--pay-border);border-radius:13px;padding:13px 14px;margin-bottom:22px;background:#fff;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-asset strong {font-size:16px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-asset small {display:block;color:var(--pay-muted);font-size:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-coin {display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:var(--pay-teal);color:#fff;font-size:23px;font-weight:700;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-network {margin-left:auto;padding:6px 8px;border-radius:7px;color:#465b76;background:#f1f4fa;font-size:11px;font-weight:650;white-space:nowrap;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-label {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:var(--pay-text);font-size:13px;font-weight:600;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-amount {display:flex;align-items:center;gap:10px;border:1px solid #cbd7e8;border-radius:12px;padding:12px 14px;background:#fff;min-width:0;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-amount:focus-within {outline:2px solid #7590ff;outline-offset:2px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-amount input {width:100%;min-width:0;min-height:42px;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--pay-text);font-size:28px;line-height:1.3;font-weight:650;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-amount input:focus {outline:none;box-shadow:none;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-amount>span {flex:0 0 auto;white-space:nowrap;color:var(--pay-muted);font-size:14px;font-weight:600;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-amount .text-button {min-height:36px;padding:8px;border:0;border-radius:7px;color:var(--pay-blue);background:#edf2ff;font-size:12px;white-space:nowrap;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-presets {display:flex;gap:8px;margin-top:10px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-presets button {flex:1;min-height:36px;border:1px solid var(--pay-border);border-radius:8px;background:#f6f8fc;color:#536680;font-size:13px;padding:7px 9px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-payment-note {padding:12px 14px;margin:18px 0;background:#f0f4ff;border:1px solid #e0e8ff;border-radius:12px;color:#496185;font-size:13px;line-height:1.5;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-note strong {color:#314b71;font-weight:650;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-note span {display:block;margin-top:3px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-footer {display:grid;gap:8px;margin-top:20px;padding-top:16px;border-top:1px solid var(--pay-border);background:#fff;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-footer>.btn {width:100%;min-height:46px;justify-content:center;font-size:14px;border-radius:11px;padding:10px 14px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-footer>.btn.primary {background:var(--pay-blue);border-color:var(--pay-blue);color:#fff;box-shadow:0 6px 14px #355df51c;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-footer>.text-button {display:block;width:100%;text-align:center;min-height:36px;color:var(--pay-muted);background:transparent;border:0;font-size:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .withdrawal-source-segments {display:flex;gap:8px;min-width:0;margin:0 0 9px;padding:0;border:0;background:transparent;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .withdrawal-source-segments legend {width:100%;margin-bottom:9px;font-size:13px;font-weight:600;color:var(--pay-text);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .withdrawal-source-segments label {display:flex;flex:1;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;margin:0;background:#fff;border:1px solid var(--pay-border);border-radius:10px;color:var(--pay-muted);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .withdrawal-source-segments label:has(input:checked) {border-color:var(--pay-blue);background:#edf2ff;color:var(--pay-blue);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .withdrawal-source-segments input {position:static;opacity:1;appearance:auto;clip:auto;clip-path:none;width:16px;height:16px;min-width:16px;min-height:16px;margin:0;accent-color:var(--pay-blue);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .withdrawal-source-segments span {width:auto;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;white-space:nowrap;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .selected-requestable {display:flex;justify-content:space-between;gap:8px;margin:0 0 18px;font-size:12px;color:var(--pay-muted);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .selected-requestable b {color:var(--pay-text);font-size:13px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-destination {margin-top:18px;padding:12px 14px;background:#f7f9fc;border:1px solid var(--pay-border);border-radius:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-destination .code-box {margin:0 0 5px;padding:0;border:0;background:transparent;color:var(--pay-text);font-size:13px;line-height:1.5;overflow-wrap:anywhere;word-break:break-all;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-destination .badge {font-size:10px;padding:4px 7px;white-space:normal;line-height:1.3;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-destination small {font-size:12px;color:var(--pay-muted);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-facts {margin:16px 0;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-facts .definition {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 14px;margin:0;padding:0;font-size:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-facts dt {color:var(--pay-muted);margin:0;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-facts dd {text-align:right;color:var(--pay-text);margin:0;overflow-wrap:anywhere;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-more {font-size:12px;padding:0;margin-top:16px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-more summary {color:var(--pay-muted);padding:4px 0;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-more[open]>.definition {font-size:12px;margin:12px 0;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-amount {display:grid;gap:3px;text-align:center;padding:2px 0 12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-amount span {font-size:12px;color:var(--pay-muted);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-amount strong {font-size:28px;line-height:1.35;overflow-wrap:anywhere;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-review-amount small {font-size:13px;color:var(--pay-muted);font-weight:500;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-security {margin:0;gap:12px;padding:14px;border:1px solid var(--pay-border);border-radius:12px;background:#f7f9fc;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-security h3 {font-size:14px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-destination {grid-template-columns:68px minmax(0,1fr);gap:5px 12px;font-size:12px;line-height:1.5;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-address {font-size:13px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-secret label {font-size:13px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-secret input {min-height:44px;border-radius:9px;border:1px solid #cbd7e8;font-size:16px;padding:9px 12px;background:#fff;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-secret-control .btn {padding:8px 12px;min-height:44px;background:#fff;border:1px solid #cbd7e8;border-radius:9px;font-size:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-consent {display:flex;align-items:flex-start;gap:9px;margin:0;font-size:12px;line-height:1.5;color:var(--pay-text);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-consent input {width:18px;height:18px;min-width:18px;min-height:18px;flex:0 0 18px;margin:1px 0 0;accent-color:var(--pay-blue);}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-security>.text-button {font-size:12px;min-height:28px;padding:2px 0;justify-self:start;color:var(--pay-blue);}
html.fx-unified-theme[data-theme] body dialog#modal:has(#design-withdraw-confirm) .modal-heading {margin-bottom:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-confirm .fx-payment-steps {margin-bottom:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-confirm .fx-payment-review-amount {padding:0;gap:2px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-confirm .fx-payment-review-facts {margin:12px 0;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-confirm .fx-withdrawal-security {gap:9px;padding:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-confirm .fx-payment-footer {margin-top:14px;padding-top:12px;gap:4px;}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow [data-withdrawal-result]:empty,html.fx-unified-theme[data-theme] body dialog#modal #design-withdraw-preview-result:empty {display:none;}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-card {grid-template-columns:132px minmax(0,1fr);gap:10px 14px;padding:12px;border-radius:12px;}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-frame {width:132px;}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-copy .btn {background:var(--pay-blue);border-color:var(--pay-blue);color:#fff;border-radius:9px;min-height:44px;font-size:12px;white-space:normal;}
html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .member-deposit-evidence-toggle {border-radius:10px;min-height:40px;}
@media(max-width:600px){
  html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) {width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 40px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:20px 18px;border-radius:18px;scrollbar-gutter:auto;}
  html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) .modal-heading {margin-bottom:16px;padding-bottom:12px;}
  html.fx-unified-theme[data-theme] body dialog#modal:has(:is(#design-withdraw-preview,#design-withdraw-confirm,.fx-payment-flow,.member-deposit-compact,.fx-withdrawal-flow,[data-funding-security])) .modal-heading h2 {font-size:21px;}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-steps {gap:8px;font-size:11px;margin-bottom:18px;}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-asset {padding:12px;gap:9px;margin-bottom:18px;}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-amount {padding:10px 12px;}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-footer {margin-top:16px;padding-top:14px;}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-footer>.btn {min-height:48px;}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-card {grid-template-columns:116px minmax(0,1fr);gap:8px 10px;padding:10px;}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-frame {width:116px;}
}
@media(max-width:360px){
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-network {font-size:10px;padding:5px 6px;}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-asset {padding:10px;gap:7px;}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-coin {width:30px;height:30px;font-size:20px;}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-card {grid-template-columns:minmax(0,1fr);}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact .funding-qr-frame {grid-column:1;grid-row:auto;justify-self:center;width:132px;}
  html.fx-unified-theme[data-theme] body dialog#modal .member-deposit-compact :is(.funding-qr-address-label,.funding-qr-address,.funding-qr-copy,.funding-copy-status){grid-column:1;}
}

/* Withdrawal actions stay visible; only the step contents scroll. */
html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-payment-layout){overflow:hidden;scrollbar-gutter:auto}
html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-payment-layout) #modal-content{display:flex;flex-direction:column;max-height:min(790px,calc(100dvh - 114px));min-height:0;overflow:hidden}
html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-payment-layout) .modal-heading{flex-shrink:0}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-layout{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 4px 2px 0;scrollbar-width:thin}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-layout>.fx-payment-footer{flex:0 0 auto;margin-top:12px;padding-top:12px}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-payment-more summary{min-height:44px;align-content:center}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-payment-amount .text-button{min-height:44px;min-width:44px}
html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-payment-footer>.text-button,html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-flow .fx-withdrawal-security>.text-button{min-height:44px}
@media(max-width:600px){html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-payment-layout) #modal-content{max-height:calc(100dvh - 82px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}html.fx-unified-theme[data-theme] body dialog#modal .fx-payment-layout>.fx-payment-footer{margin-top:10px;padding-top:10px;gap:4px}}

/* Source: home-device-hero.css */
/* One public Home banner. Existing globe canvas is transparent; its renderer,
   data, interactions and animation remain unchanged. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image][data-key]{--home-hero-navy:#071426;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:0;min-height:0;background:var(--home-hero-navy);border:0;border-radius:24px;overflow:hidden}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy{padding:32px 18px 30px 32px;gap:0;justify-content:center;min-width:0;background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-eyebrow{margin-bottom:12px;color:#a8bfdc}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] h2{font-size:clamp(32px,3.05vw,44px);line-height:1.1;max-width:620px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-hero-devices{display:block;width:100%;max-width:640px;height:auto;aspect-ratio:1942/809;object-fit:contain;margin:2px 0 16px;filter:drop-shadow(0 12px 22px #1465d020)}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy>p:not(.fx-home-eyebrow){max-width:510px;font-size:14px;line-height:1.65;color:#b3c5dd}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-mobile-access{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:6px;color:#b7caff;text-decoration:none;font-size:13px;line-height:1.5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-mobile-access:hover{text-decoration:underline;color:#fff}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-mobile-access:focus-visible{outline:2px solid #91acff;outline-offset:3px;border-radius:4px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .connected-hero-map{display:flex;align-items:stretch;min-width:0;min-height:0;margin:0;padding:24px 28px 24px 12px;background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster]{display:flex;flex-direction:column;align-self:stretch;width:100%;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-visual{flex:1 1 auto;width:100%;height:auto;min-height:320px;background:transparent;border:0;border-radius:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-details{flex:0 0 auto;gap:7px;padding:16px 4px 0;border-top:1px solid #a8bfdc26;background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-quote-main{gap:6px 12px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-quote-main>strong{font-size:24px;line-height:1.35}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-pair{font-size:13px}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-quote-meta{gap:4px 12px;color:#adbed6;font-size:11px;line-height:1.5}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-source{font-size:11px;line-height:1.5;color:#adbed6}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-map-link{padding:7px 0;min-height:44px;color:#b7caff}
@media(min-width:1600px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy{padding:38px 24px 36px 42px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .connected-hero-map{padding:30px 38px 30px 18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-visual{min-height:380px}
}
@media(min-width:761px) and (max-width:1100px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy{padding:26px 14px 24px 26px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .connected-hero-map{padding:22px 22px 22px 8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-visual{min-height:290px}
}
@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image][data-key]{display:flex;flex-direction:column;align-items:stretch;grid-template-columns:1fr;border-radius:18px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy{padding:24px 20px 8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-eyebrow{font-size:10px;margin-bottom:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] h2{font-size:32px;margin-bottom:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-hero-devices{margin:4px auto 16px;width:100%;max-width:560px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-copy>p:not(.fx-home-eyebrow){font-size:14px;line-height:1.6;max-width:100%;margin-bottom:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-intro-actions>.btn{font-size:14px;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-mobile-access{font-size:14px;margin-top:4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .connected-hero-map{display:block;padding:0 20px 20px;margin:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster]{height:auto;min-height:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-visual{flex:0 0 auto;height:clamp(235px,74vw,320px);min-height:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-details{padding:12px 0 0;gap:6px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-poster-quote-main>strong{font-size:22px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster[data-home-poster] .fx-home-map-link{padding-right:36px;font-size:13px}
}
/* Blend the static fallback into this banner while 3D loads or is unavailable.
   The mask is restricted to the poster image, leaving the live canvas untouched. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster-visual>picture{background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content>.dashboard-page.design-v2-dashboard[data-key]>.connected-hero[data-home-image] .fx-home-poster-visual>picture>img[data-home-globe-image]{-webkit-mask-image:radial-gradient(ellipse closest-side at center,#000 84%,transparent 100%);mask-image:radial-gradient(ellipse closest-side at center,#000 84%,transparent 100%)}
/* The search field owns the focus indicator; avoid a second thick ring inside it. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .search-field{transition:border-color .15s,box-shadow .15s}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .search-field:focus-within{border-color:#708fc4;box-shadow:0 0 0 3px #5478c414}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .search-field input:is(:focus,:focus-visible){outline:0;box-shadow:none;border-color:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .country-map-grid .exchange-globe .eg-search{border:1px solid var(--line);border-radius:9px;background:#fff;transition:border-color .15s,box-shadow .15s}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .country-map-grid .exchange-globe .eg-search input{border:0;border-radius:inherit;background:transparent}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .country-map-grid .exchange-globe .eg-search:focus-within{border-color:#708fc4;box-shadow:0 0 0 3px #5478c414}
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .country-map-grid .exchange-globe .eg-search input:is(:focus,:focus-visible){outline:0;box-shadow:none}
@media(forced-colors:active){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.search-field,.country-map-grid .exchange-globe .eg-search):focus-within{outline:1px solid Highlight;outline-offset:2px;box-shadow:none}
}
@media(prefers-reduced-motion:reduce){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content :is(.search-field,.country-map-grid .exchange-globe .eg-search){transition:none}
}

/* Source: mobile-access.css */
/* Page-only styling; the existing shell, navigation and floating support own their layout. */
.mobile-access-page {
  --ma-blue: #365cf5;
  --ma-navy: #101c2d;
  --ma-text: #17273e;
  --ma-muted: #647793;
  --ma-line: #dce5f3;
  width: 100%; max-width: 1180px; min-width: 0; margin: 0 auto;
  padding: 10px 0 100px; color: var(--ma-text); font-size: 15px; line-height: 1.6;
}
.mobile-access-page *, .mobile-access-page *::before, .mobile-access-page *::after { box-sizing: border-box; }
.mobile-access-page [hidden] { display: none !important; }
.mobile-access-page .ma-icon { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.mobile-access-page .ma-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; padding: 36px 42px; min-width: 0; border: 1px solid #24384f; border-radius: 22px; background: var(--ma-navy); overflow: hidden; }
.mobile-access-page .ma-hero-copy { min-width: 0; }
.mobile-access-page .ma-eyebrow { margin: 0 0 16px; color: #aabdd7; font-size: 12px; line-height: 1.5; letter-spacing: .12em; font-weight: 650; }
.mobile-access-page .ma-hero-title { color: #fff; margin: 0 0 18px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.13; letter-spacing: -.035em; font-weight: 720; }
.mobile-access-page .ma-hero-title span { color: #b4c7ff; }
/* Keep the navy hero readable when shared workspace heading colors apply. */
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .mobile-access-page .ma-hero .ma-hero-title { color: #fff; }
html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content .mobile-access-page .ma-hero .ma-hero-title span { color: #b4c7ff; }
.mobile-access-page .ma-hero-description { max-width: 350px; margin: 0; color: #c6d2e4; font-size: 16px; line-height: 1.65; }
.mobile-access-page .ma-hero-visual { min-width: 0; display: flex; justify-content: center; align-items: center; }
.mobile-access-page .ma-device-image { display: block; width: 100%; max-width: 440px; height: auto; max-height: 250px; object-fit: contain; }
.mobile-access-page .ma-guide { padding: 30px 0 0; min-width: 0; }
.mobile-access-page .ma-guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.mobile-access-page .ma-guide-title { margin: 0 0 6px; font-size: 24px; color: var(--ma-text); line-height: 1.35; letter-spacing: -.025em; }
.mobile-access-page .ma-guide-subtitle { margin: 0; color: var(--ma-muted); font-size: 15px; }
.mobile-access-page .ma-device-tabs { display: flex; gap: 4px; flex-shrink: 0; border: 1px solid var(--ma-line); border-radius: 12px; background: #f1f5fb; padding: 4px; }
.mobile-access-page .ma-device-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; min-width: 112px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ma-muted); font: inherit; font-weight: 600; cursor: pointer; }
.mobile-access-page .ma-device-tab .ma-icon { width: 20px; height: 20px; }
.mobile-access-page .ma-device-tab[aria-selected="true"] { background: #fff; border-color: #cdd9ef; color: var(--ma-blue); box-shadow: 0 2px 7px #1c3e7a08; }
.mobile-access-page .ma-guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 22px; align-items: stretch; min-width: 0; }
.mobile-access-page .ma-instructions { min-width: 0; outline-offset: 5px; }
.mobile-access-page .ma-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mobile-access-page .ma-step { min-width: 0; padding: 22px; border: 1px solid var(--ma-line); border-radius: 16px; background: #fff; }
.mobile-access-page .ma-step-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 17px; gap: 16px; }
.mobile-access-page .ma-step-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid #d9e2ff; border-radius: 9px; background: #edf2ff; color: var(--ma-blue); font-size: 13px; font-weight: 700; }
.mobile-access-page .ma-step-art { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 13px; background: #f5f8fd; color: #385e9a; }
.mobile-access-page .ma-step-art .ma-icon { width: 30px; height: 30px; }
.mobile-access-page .ma-step-title { margin: 0 0 7px; font-size: 17px; line-height: 1.4; color: var(--ma-text); font-weight: 650; letter-spacing: -.015em; }
.mobile-access-page .ma-step-description { margin: 0; color: var(--ma-muted); font-size: 14px; line-height: 1.65; }
.mobile-access-page .ma-phone-card { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 24px 22px 18px; border: 1px solid var(--ma-line); border-radius: 16px; background: #fff; text-align: center; }
.mobile-access-page .ma-phone-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--ma-blue); background: #edf2ff; border-radius: 11px; margin-bottom: 14px; }
.mobile-access-page .ma-phone-title { margin: 0 0 7px; color: var(--ma-text); font-size: 19px; line-height: 1.35; letter-spacing: -.02em; }
.mobile-access-page .ma-phone-description { margin: 0; max-width: 220px; color: var(--ma-muted); font-size: 14px; line-height: 1.6; }
.mobile-access-page .ma-qr-wrap { display: flex; align-items: center; justify-content: center; min-width: 0; margin: 20px 0; padding: 8px; background: #fff; border: 1px solid #e8edf5; border-radius: 12px; }
.mobile-access-page .ma-qr-image { display: block; width: 166px; height: 166px; max-width: 100%; background: #fff; }
.mobile-access-page .ma-qr-unavailable { margin: 0; color: var(--ma-muted); font-size: 14px; }
.mobile-access-page .ma-link-controls { width: 100%; min-width: 0; margin-top: auto; }
.mobile-access-page .ma-link-label { display: block; text-align: left; margin-bottom: 5px; color: var(--ma-muted); font-size: 12px; font-weight: 500; }
.mobile-access-page .ma-link-input { display: block; width: 100%; min-width: 0; min-height: 44px; margin: 0 0 10px; padding: 10px 9px; border: 1px solid var(--ma-line); border-radius: 9px; background: #f6f8fc; color: var(--ma-text); font: inherit; font-size: 14px; text-align: center; }
.mobile-access-page .ma-copy-button, .mobile-access-page .ma-install-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 9px; padding: 11px 15px; font-size: 14px; line-height: 1.45; font-weight: 600; cursor: pointer; }
.mobile-access-page .ma-copy-button { width: 100%; border: 1px solid #d0dcf6; color: var(--ma-blue); background: #f0f4ff; box-shadow: none; }
.mobile-access-page .ma-copy-button .ma-icon, .mobile-access-page .ma-install-button .ma-icon { width: 18px; height: 18px; }
.mobile-access-page .ma-copy-status { margin: 5px 0 0; min-height: 22px; color: #007e6d; font-size: 14px; }
.mobile-access-page .ma-menu-note { margin: 14px 3px 0; font-size: 14px; line-height: 1.6; color: var(--ma-muted); }
.mobile-access-page .ma-menu-note strong { font-weight: 600; color: #445b7b; }
.mobile-access-page .ma-install-area { margin-top: 15px; }
.mobile-access-page .ma-install-button { border: 1px solid var(--ma-blue); background: var(--ma-blue); color: #fff; }
.mobile-access-page .ma-install-button:disabled { opacity: .65; cursor: wait; }
.mobile-access-page .ma-install-status { color: var(--ma-muted); margin: 8px 0 0; font-size: 14px; }
.mobile-access-page .ma-browser-notice { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border: 1px solid #d5e1ff; border-radius: 12px; background: #edf3ff; margin: 0 0 18px; }
.mobile-access-page .ma-notice-icon { color: var(--ma-blue); flex-shrink: 0; }
.mobile-access-page .ma-browser-notice p { color: #445c80; font-size: 14px; line-height: 1.6; margin: 0; }
.mobile-access-page .ma-faqs { margin: 24px 0 0; border: 1px solid var(--ma-line); border-radius: 14px; background: #fff; overflow: hidden; }
.mobile-access-page .ma-faq + .ma-faq { border-top: 1px solid var(--ma-line); }
.mobile-access-page .ma-faq-summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 58px; padding: 17px 21px; color: var(--ma-text); font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.mobile-access-page .ma-faq-summary::-webkit-details-marker { display: none; }
.mobile-access-page .ma-faq-chevron { color: var(--ma-muted); }
.mobile-access-page .ma-faq-chevron .ma-icon { width: 18px; height: 18px; transition: transform .15s ease; }
.mobile-access-page .ma-faq[open] .ma-faq-chevron .ma-icon { transform: rotate(180deg); }
.mobile-access-page .ma-faq-body { padding: 0 21px 17px; color: var(--ma-muted); font-size: 14px; line-height: 1.7; }
.mobile-access-page .ma-faq-body p { margin: 0 0 10px; }
.mobile-access-page .ma-faq-body p:last-child { margin-bottom: 0; }
.mobile-access-page .ma-faq-body strong { color: #425a7b; font-weight: 650; }
.mobile-access-page .ma-inapp-help { padding: 0 21px 18px; margin: 0; color: var(--ma-muted); font-size: 14px; line-height: 1.7; }
.mobile-access-page .ma-page-links { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.mobile-access-page .ma-page-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; color: var(--ma-blue); text-decoration: none; font-size: 14px; font-weight: 600; }
.mobile-access-page .ma-page-link .ma-icon { width: 19px; height: 19px; }
.mobile-access-page .ma-page-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.mobile-access-page .ma-support-status { color: var(--ma-muted); margin: 0; font-size: 14px; }
.mobile-access-page .ma-device-tab:focus-visible, .mobile-access-page .ma-copy-button:focus-visible, .mobile-access-page .ma-install-button:focus-visible, .mobile-access-page .ma-page-link:focus-visible, .mobile-access-page .ma-faq-summary:focus-visible, .mobile-access-page .ma-link-input:focus-visible { outline: 3px solid #91a8ff; outline-offset: 3px; }
@media (max-width: 1020px) {
  .mobile-access-page .ma-hero { padding: 30px; }
  .mobile-access-page .ma-guide-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .mobile-access-page .ma-guide-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; }
  .mobile-access-page .ma-step { padding: 19px; }
  .mobile-access-page .ma-phone-card { padding: 22px 17px 14px; }
}
@media (max-width: 760px) {
  .mobile-access-page { padding: 4px 0 110px; }
  .mobile-access-page .ma-hero { grid-template-columns: 1fr; gap: 20px; padding: 27px 25px 14px; border-radius: 17px; }
  .mobile-access-page .ma-hero-title { font-size: 34px; }
  .mobile-access-page .ma-hero-description { font-size: 15px; max-width: 310px; }
  .mobile-access-page .ma-device-image { max-height: 170px; max-width: 320px; }
  .mobile-access-page .ma-guide { padding-top: 25px; }
  .mobile-access-page .ma-guide-title { font-size: 22px; }
  .mobile-access-page .ma-device-tabs { width: 100%; }
  .mobile-access-page .ma-device-tab { flex: 1; min-width: 0; }
  .mobile-access-page .ma-guide-heading { gap: 18px; }
  .mobile-access-page .ma-guide-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mobile-access-page .ma-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mobile-access-page .ma-step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 4px 14px; padding: 18px; }
  .mobile-access-page .ma-step-top { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; gap: 9px; margin: 0; }
  .mobile-access-page .ma-step-art { width: 46px; height: 46px; }
  .mobile-access-page .ma-step-title { align-self: end; font-size: 17px; margin: 0; }
  .mobile-access-page .ma-step-description { align-self: start; }
  .mobile-access-page .ma-phone-card { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 5px 14px; text-align: left; padding: 20px; }
  .mobile-access-page .ma-phone-icon { display: none; }
  .mobile-access-page .ma-phone-title { grid-column: 1; font-size: 18px; margin: 0; }
  .mobile-access-page .ma-phone-description { grid-column: 1; max-width: none; }
  .mobile-access-page .ma-qr-wrap { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 5px; border-radius: 8px; align-self: center; }
  .mobile-access-page .ma-qr-image { width: 80px; height: 80px; }
  .mobile-access-page .ma-link-controls { grid-column: 1 / -1; margin-top: 12px; }
  .mobile-access-page .ma-link-input { text-align: left; padding-left: 12px; font-size: 16px; }
  .mobile-access-page .ma-faqs { margin-top: 20px; }
  .mobile-access-page .ma-faq-summary { padding: 17px; }
  .mobile-access-page .ma-faq-body { padding: 0 17px 17px; }
  .mobile-access-page .ma-inapp-help { padding: 0 17px 17px; }
}
@media (max-width: 380px) {
  .mobile-access-page .ma-hero { padding: 23px 20px 12px; }
  .mobile-access-page .ma-hero-title { font-size: 30px; }
  .mobile-access-page .ma-guide-title { font-size: 21px; }
  .mobile-access-page .ma-step { grid-template-columns: 46px minmax(0, 1fr); padding: 16px 14px; column-gap: 12px; }
  .mobile-access-page .ma-phone-card { padding: 17px 14px; gap: 7px 10px; }
  .mobile-access-page .ma-phone-title { font-size: 17px; }
  .mobile-access-page .ma-page-links { column-gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-access-page .ma-faq-chevron .ma-icon { transition: none; }
}

/* Source: mobile-trading-layout.css */
/* Mobile trading layout only. Desktop geometry and all server values are retained. */
.sim-mobile-view-all,.sim-mobile-calculation-note,.sim-mobile-calculation-details{display:none}

@media(max-width:760px){
  .sim-workspace .sim-earnings,
  .sim-workspace .sim-current{min-width:0;padding:16px;border-radius:16px}
  .sim-workspace .sim-card-head{align-items:flex-start;gap:12px}
  .sim-workspace .sim-card-head h2{font-size:17px;line-height:1.4}
  .sim-workspace .sim-card-head>span{max-width:48%;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
  .sim-workspace .sim-card-head>.sim-status{max-width:none;flex-shrink:0}

  /* Four figures remain visible in a balanced two-column layout. */
  .sim-workspace .sim-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .sim-workspace .sim-kpis>div{min-width:0;padding:12px;background:#f6f8fc;border:1px solid #e8edf5;border-radius:11px}
  .sim-workspace .sim-kpis>div:last-child{grid-column:auto}
  .sim-workspace .sim-kpis span{font-size:11px;line-height:1.5;color:#687f9c}
  .sim-workspace .sim-kpis strong{margin-top:7px;font-size:clamp(17px,4.6vw,22px);line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:normal}
  .sim-workspace .sim-earnings-source{margin-top:12px;line-height:1.65;overflow-wrap:anywhere}

  /* Activity totals use one compact row; detailed periods expand into page flow. */
  .sim-workspace .sim-timeline{margin-top:18px;padding-top:16px}
  .sim-workspace .sim-timeline-heading{margin-bottom:10px}
  .sim-workspace .sim-timeline-heading h3{font-size:13px}
  .sim-workspace .sim-timeline-legend{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:11px 0;border:1px solid #e4ebf4;border-radius:11px;background:#f7f9fc}
  .sim-workspace .sim-timeline-stat{min-width:0;padding:0 8px;background:transparent;border:0;border-radius:0}
  .sim-workspace .sim-timeline-stat+.sim-timeline-stat{border-left:1px solid #e0e8f2}
  .sim-workspace .sim-timeline-stat-label{min-height:0;gap:4px;flex-wrap:wrap;align-items:center;align-content:start;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
  .sim-workspace .sim-timeline-stat-label svg{display:none}
  .sim-workspace .sim-timeline-stat b{margin-top:5px;font-size:clamp(14px,3.8vw,17px);line-height:1.3;letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere}
  .sim-workspace .sim-timeline-overview{padding:16px 1px 12px}
  .sim-workspace .sim-timeline-track-label{margin-bottom:10px;font-size:11px}
  .sim-workspace .sim-timeline-axis{font-size:10px}
  .sim-workspace .sim-timeline-unrecorded{margin-top:10px!important;line-height:1.65}
  .sim-workspace .sim-timeline-sessions>summary,
  .sim-workspace .sim-earnings-details>summary{min-height:44px;font-size:12px;line-height:1.5}
  .sim-workspace .sim-timeline-periods{max-height:none;overflow:visible}
  .sim-workspace .sim-timeline-periods>li{grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;padding:11px 2px}
  .sim-workspace .sim-timeline-period-state{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere}
  .sim-workspace .sim-timeline-periods b{grid-column:2;grid-row:1}
  .sim-workspace .sim-timeline-period-time{grid-column:1/-1;grid-row:2}
  .sim-workspace .sim-explanation{gap:7px 14px;line-height:1.6}
  .sim-workspace .sim-earnings-details{margin-top:12px;padding-top:0}
  .sim-workspace .sim-earnings-details dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;padding:7px 0}
  .sim-workspace .sim-earnings-details dt,
  .sim-workspace .sim-earnings-details dd{min-width:0;overflow-wrap:anywhere;line-height:1.6}

  /* Preserve DOM/currency order: 2/3 nodes stay on one row; 4/5 continue 3 + remainder. */
  .sim-workspace .sim-route{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr);align-items:stretch;justify-content:initial;gap:8px 3px;margin:15px 0 13px;padding:2px 0;overflow:visible;scroll-snap-type:none;overscroll-behavior:auto}
  .sim-workspace .sim-route[data-route-count="2"]{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}
  .sim-workspace .sim-route[data-route-count="1"]{grid-template-columns:minmax(0,1fr)}
  .sim-workspace .sim-route-node{min-width:0;min-height:94px;flex:initial;padding:10px 5px;gap:6px;border-radius:11px;scroll-snap-align:none}
  .sim-workspace .sim-route-node>span{display:flex;align-items:center;justify-content:center;min-height:18px}
  .sim-workspace .sim-route-node strong{font-size:11px;line-height:1.45;overflow-wrap:anywhere;word-break:normal;white-space:normal}
  .sim-workspace .sim-route-node small{font-size:10px;line-height:1.4}
  .sim-workspace .sim-route-arrow{align-self:center;min-width:0;flex:initial;font-size:14px;line-height:1;text-align:center;color:#8298b5}
  .sim-workspace .sim-route-arrow.is-row-bridge{grid-column:1/-1;justify-self:start;height:12px;padding-left:12px;font-size:0;line-height:12px}
  .sim-workspace .sim-route-arrow.is-row-bridge:before{content:'↳';font-size:18px;line-height:12px}
  .sim-workspace .sim-route-policy{font-size:12px;line-height:1.65}
  .sim-workspace .sim-route-caption{align-items:flex-start;flex-wrap:wrap;gap:5px 10px;font-size:11px;line-height:1.5}
  .sim-workspace .sim-route-caption>span{min-width:0;overflow-wrap:anywhere}
  .sim-workspace .sim-progress{height:4px;margin:10px 0 15px}

  /* Principal spans the card. The two reference calculations sit below it. */
  .sim-workspace .sim-route-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .sim-workspace .sim-route-facts>div{min-width:0;padding:11px;background:#f6f8fc;border:1px solid #e8edf5;border-radius:10px}
  .sim-workspace .sim-route-facts>div:first-child{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 12px}
  .sim-workspace .sim-route-facts>div:first-child>span{flex:1;min-width:0}
  .sim-workspace .sim-route-facts>div:first-child>strong{max-width:68%;margin-top:0;text-align:right}
  .sim-workspace .sim-route-facts>div:last-child{grid-column:auto}
  .sim-workspace .sim-route-facts span{font-size:11px;line-height:1.5;color:#6b809c;overflow-wrap:anywhere}
  .sim-workspace .sim-route-facts strong{font-size:13px;line-height:1.5;margin-top:7px;white-space:normal;overflow-wrap:anywhere;word-break:normal}
  .sim-workspace .sim-current>.sim-footnote{line-height:1.65;overflow-wrap:anywhere}
  .sim-workspace .sim-route-calculation-desktop{display:none}
  .sim-workspace .sim-mobile-calculation-note{display:block;margin:10px 0 0;color:#667e9b}
  .sim-workspace .sim-mobile-calculation-details{display:block;margin-top:4px;font-size:11px;color:#6b809c}
  .sim-workspace .sim-mobile-calculation-details>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;list-style:none;color:#456181;font-size:12px;line-height:1.5;cursor:pointer}
  .sim-workspace .sim-mobile-calculation-details>summary::-webkit-details-marker{display:none}
  .sim-workspace .sim-mobile-calculation-details>summary:after{content:'⌄';margin-left:auto;font-size:17px;line-height:1}
  .sim-workspace .sim-mobile-calculation-details[open]>summary:after{transform:rotate(180deg)}
  .sim-workspace .sim-mobile-calculation-details>summary:focus-visible{outline:2px solid #355ef5;outline-offset:2px;border-radius:5px}
  .sim-workspace .sim-mobile-calculation-details>.sim-footnote{margin:0 0 9px;padding:10px 12px;border-radius:9px;background:#f6f8fc;line-height:1.65;overflow-wrap:anywhere}

  .sim-workspace .sim-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:15px;padding-top:13px}
  .sim-workspace .sim-control{width:100%;min-height:44px!important}
  .sim-workspace .sim-history-link{max-width:130px;min-height:44px;line-height:1.5;white-space:normal;text-align:right}
  .sim-workspace .sim-sync{font-size:11px;line-height:1.6;overflow-wrap:anywhere}

  /* Two live preview rows, then the existing full route history action. */
  .sim-workspace .sim-current-feed{margin-top:18px;padding-top:15px}
  .sim-workspace .sim-current-feed-head{align-items:center;gap:10px;margin-bottom:10px}
  .sim-workspace .sim-current-feed-head h3{font-size:13px;line-height:1.5}
  .sim-workspace .sim-current-feed-state{font-size:11px;line-height:1.5}
  .sim-workspace .sim-current-feed-list{height:auto;max-height:none;overflow:visible;overscroll-behavior:auto}
  .sim-workspace .sim-current-feed-row{grid-template-columns:minmax(0,1fr);gap:9px;padding:12px}
  .sim-workspace .sim-current-feed-row:nth-of-type(n+3){display:none}
  .sim-workspace .sim-current-feed-path{gap:4px 6px;line-height:1.6}
  .sim-workspace .sim-current-feed-meta{gap:5px 8px;line-height:1.6}
  .sim-workspace .sim-current-feed-amount{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}
  .sim-workspace .sim-current-feed-amount>span{max-width:42%;margin:0;font-size:11px;line-height:1.5;text-align:left}
  .sim-workspace .sim-current-feed-amount>strong{max-width:68%;min-width:0;font-size:13px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;word-break:normal}
  .sim-workspace .sim-mobile-view-all{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin-top:8px;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:#355ef5;font:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}
  .sim-workspace .sim-mobile-view-all:focus-visible{outline:2px solid #355ef5;outline-offset:2px}
}

/* Keep the full activity record inside the existing disclosure on mobile. */
.sim-mobile-activity-extra{display:none}
@media(max-width:760px){
  .sim-timeline>.sim-timeline-overview{display:none}
  .sim-mobile-activity-extra{display:block}
  .sim-earnings:has(.sim-timeline-sessions)>.sim-activity-explanation{display:none}
  .sim-mobile-activity-extra .sim-timeline-overview{margin-top:16px}
  .sim-mobile-activity-extra .sim-explanation{margin:14px 0;padding-top:12px;gap:7px}
}

/* Approved compact mobile Home. Desktop rendering and all server values are retained. */
.sim-mobile-balance,.sim-workspace .sim-mobile-label,.sim-mobile-feed-more,.sim-compact-activity-totals,
.sim-compact-earnings-extra,.sim-compact-trading-explanation,.sim-feed-time-short{display:none}
@media(max-width:760px){
  .sim-workspace[data-mobile-compact]{display:flex;flex-direction:column;gap:8px}
  .sim-workspace[data-mobile-compact]>.sim-grid{display:contents}
  .sim-workspace[data-mobile-compact]>.sim-balances{display:none}
  .sim-workspace[data-mobile-compact]>.sim-mobile-balance{display:block;order:-1;margin:0;background:#101e31;border:1px solid #192b42;border-radius:13px;color:#fff}
  .sim-mobile-balance>summary{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:10px;min-height:66px;padding:11px 22px 11px 12px;list-style:none;cursor:pointer}
  .sim-mobile-balance>summary::-webkit-details-marker{display:none}
  .sim-mobile-balance>summary>span{min-width:0}
  .sim-mobile-balance>summary>span>span{display:block;color:#bed0e6;font-size:12px;line-height:1.3}
  .sim-mobile-balance strong{display:block;margin-top:5px;font-size:16px;line-height:1.3;font-weight:650;letter-spacing:-.035em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  .sim-mobile-balance>summary>span:nth-child(2){padding-left:10px;border-left:1px solid #33445b}
  .sim-mobile-balance .sim-mobile-balance-chevron{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:#aac1de;font-size:15px}
  .sim-mobile-balance[open] .sim-mobile-balance-chevron{transform:translateY(-50%) rotate(180deg)}
  .sim-mobile-balance>summary:focus-visible{outline:2px solid #8caaff;outline-offset:2px;border-radius:12px}
  .sim-mobile-balance dl{margin:0 12px;border-top:1px solid #33445b;padding-top:7px}
  .sim-mobile-balance dl>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:12px;line-height:1.45}
  .sim-mobile-balance dt{color:#bed0e6}.sim-mobile-balance dd{margin:0;text-align:right;overflow-wrap:anywhere}
  .sim-mobile-balance p{margin:6px 12px 12px;color:#bed0e6;font-size:12px!important;line-height:1.5}
  .sim-workspace[data-mobile-compact] .sim-earnings{order:0}
  .sim-workspace[data-mobile-compact] .sim-current{order:1}
  .sim-workspace[data-mobile-compact] .sim-activity{order:3}
  .sim-workspace[data-mobile-compact] .sim-rates{order:4}
  .sim-workspace[data-mobile-compact] .sim-earnings,
  .sim-workspace[data-mobile-compact] .sim-current{padding:10px 12px;border-radius:13px}
  .sim-workspace[data-mobile-compact] .sim-card-head{margin-bottom:5px;gap:8px;align-items:center}
  .sim-workspace[data-mobile-compact] .sim-card-head h2{font-size:15px;line-height:1.3}
  .sim-workspace[data-mobile-compact] .sim-card-head>span{font-size:12px;line-height:1.4}
  .sim-workspace[data-mobile-compact] .sim-status{padding:4px 8px}
  .sim-workspace[data-mobile-compact] .sim-desktop-label{display:none}
  .sim-workspace[data-mobile-compact] .sim-mobile-label{display:inline}
  .sim-workspace[data-mobile-compact] .sim-kpis{gap:6px 12px}
  .sim-workspace[data-mobile-compact] .sim-kpis>div{min-width:0;padding:0;background:none;border:0;border-radius:0}
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(3){order:0}
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(1){order:1}
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(2){order:2}
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(4){order:3}
  .sim-workspace[data-mobile-compact] .sim-kpis span{font-size:12px;line-height:1.3}
  .sim-workspace[data-mobile-compact] .sim-kpis strong{margin-top:2px;font-size:18px;line-height:1.25;letter-spacing:-.035em}
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(2),
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(4){display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 5px}
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(2) strong,
  .sim-workspace[data-mobile-compact] .sim-kpis>div:nth-child(4) strong{font-size:16px}
  .sim-workspace[data-mobile-compact] .sim-earnings-source{margin:5px 0 0;font-size:12px!important;line-height:1.4}
  .sim-workspace[data-mobile-compact] .sim-timeline{margin-top:5px;padding-top:0}
  .sim-workspace[data-mobile-compact] .sim-timeline-heading,
  .sim-workspace[data-mobile-compact] .sim-timeline>.sim-timeline-legend{display:none}
  .sim-workspace[data-mobile-compact] .sim-compact-activity-totals{display:block}
  .sim-workspace[data-mobile-compact] .sim-timeline-sessions{margin-top:0}
  .sim-workspace[data-mobile-compact] .sim-timeline-sessions>summary{min-height:44px;padding:4px 0;font-size:12px}
  .sim-workspace[data-mobile-compact] .sim-timeline-session-count{font-size:12px}
  .sim-workspace[data-mobile-compact] .sim-earnings:has(.sim-timeline-sessions)>.sim-earnings-details{display:none}
  .sim-workspace[data-mobile-compact] .sim-compact-earnings-extra{display:block;margin:12px 0;color:#617795;font-size:12px}
  .sim-workspace[data-mobile-compact] .sim-compact-earnings-extra h4{margin:0 0 8px;color:#456181;font-size:12px;font-weight:600}
  .sim-workspace[data-mobile-compact] .sim-compact-earnings-extra dl{margin:0}
  .sim-workspace[data-mobile-compact] .sim-compact-earnings-extra dl>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px 0}
  .sim-workspace[data-mobile-compact] .sim-compact-earnings-extra dd{margin:0;text-align:right;overflow-wrap:anywhere}
  .sim-workspace[data-mobile-compact] .sim-compact-earnings-extra p{font-size:12px!important;line-height:1.5}

  .sim-workspace[data-mobile-compact] .sim-current{display:flex;flex-direction:column}
  .sim-workspace[data-mobile-compact] .sim-current>.sim-card-head{order:0}
  .sim-workspace[data-mobile-compact] .sim-current>.sim-route-policy{order:1;font-size:12px;line-height:1.4}
  .sim-workspace[data-mobile-compact] .sim-current:has(.sim-route)>.sim-route-policy{display:none}
  .sim-workspace[data-mobile-compact] .sim-route,.sim-workspace[data-mobile-compact] .sim-no-route{order:2}
  .sim-workspace[data-mobile-compact] .sim-route{position:relative;gap:3px;margin:4px 0;padding:0}
  .sim-workspace[data-mobile-compact] .sim-route-node{display:flex;align-items:center;justify-content:center;flex-direction:row;min-height:22px;padding:2px 0;gap:5px;border:0;border-radius:0;background:transparent;box-shadow:none;color:#516986}
  .sim-workspace[data-mobile-compact] .sim-route-node.is-complete{background:transparent;border:0;color:#15776d}
  .sim-workspace[data-mobile-compact] .sim-route-node.is-current{background:transparent;border:0;box-shadow:none;color:#2e54df}
  .sim-workspace[data-mobile-compact] .sim-route-node>span{display:flex;min-height:12px;flex-shrink:0;line-height:1}
  .sim-workspace[data-mobile-compact] .sim-route-node .sim-flag{width:16px;height:11px;border-radius:1px}
  .sim-workspace[data-mobile-compact] .sim-route-node strong{font-size:12px;line-height:1.3;font-weight:600;text-align:left;overflow-wrap:anywhere;min-width:0}
  .sim-workspace[data-mobile-compact] .sim-route-node small{display:none}
  .sim-workspace[data-mobile-compact] .sim-route-arrow{font-size:12px}
  .sim-workspace[data-mobile-compact] .sim-route-arrow.is-row-bridge{position:absolute;left:0;top:calc(50% + 5px);height:9px;line-height:9px;padding-left:0;font-size:0}
  .sim-workspace[data-mobile-compact] .sim-route-arrow.is-row-bridge:before{font-size:14px;line-height:9px}
  .sim-workspace[data-mobile-compact] .sim-route-caption{order:3;font-size:12px;line-height:1.3;gap:2px 6px}
  .sim-workspace[data-mobile-compact] .sim-progress{order:4;height:3px;min-height:3px;margin:5px 0 6px}
  .sim-workspace[data-mobile-compact] .sim-route-facts{order:5;gap:5px 10px}
  .sim-workspace[data-mobile-compact] .sim-route-facts>div{padding:2px 0;background:none;border:0;border-radius:0}
  .sim-workspace[data-mobile-compact] .sim-route-facts>div:first-child{padding:2px 0 4px;gap:8px}
  .sim-workspace[data-mobile-compact] .sim-route-facts span{font-size:12px;line-height:1.35}
  .sim-workspace[data-mobile-compact] .sim-route-facts strong{margin-top:2px;font-size:16px;line-height:1.3;letter-spacing:-.025em}
  .sim-workspace[data-mobile-compact] .sim-route-facts>div:first-child>strong{margin:0}
  .sim-workspace[data-mobile-compact] .sim-controls{order:6;gap:8px;margin-top:5px;padding-top:5px}
  .sim-workspace[data-mobile-compact] .sim-control{font-size:14px!important;min-height:44px!important;padding:8px 12px!important}
  .sim-workspace[data-mobile-compact] .sim-history-link{font-size:12px;max-width:115px;min-height:44px;padding:5px 0}
  .sim-workspace[data-mobile-compact] .sim-mobile-calculation-note{order:7;font-size:12px!important;line-height:1.35;margin:5px 0 0}
  .sim-workspace[data-mobile-compact] .sim-mobile-calculation-details{order:12;margin:0;border-top:1px solid #e5ecf6}
  .sim-workspace[data-mobile-compact] .sim-mobile-calculation-details>summary{font-size:12px;min-height:44px;padding:4px 0}
  .sim-workspace[data-mobile-compact] .sim-compact-trading-explanation{display:block}
  .sim-workspace[data-mobile-compact] .sim-current>.sim-footnote:not(.sim-route-calculation-desktop):not(.sim-mobile-calculation-note){order:9}
  .sim-workspace[data-mobile-compact] .sim-current:has(.sim-route)>.sim-footnote:not(.sim-route-calculation-desktop):not(.sim-mobile-calculation-note){display:none}
  .sim-workspace[data-mobile-compact] .sim-sync{order:10;margin:0;font-size:12px;line-height:1.4}
  .sim-workspace[data-mobile-compact] .sim-current:has(.sim-route)>.sim-sync{display:none}
  .sim-workspace[data-mobile-compact] .sim-current>.sim-sync.is-disconnected{display:block}
  .sim-workspace[data-mobile-compact] .sim-current-feed{order:11;margin-top:5px;padding-top:2px}
  .sim-workspace[data-mobile-compact] .sim-current-feed-head{margin:0;min-height:44px}
  .sim-workspace[data-mobile-compact] .sim-current-feed-head h3{font-size:13px}
  .sim-workspace[data-mobile-compact] .sim-current-feed-state{display:none}
  .sim-workspace[data-mobile-compact] .sim-mobile-feed-more{display:inline-flex;align-items:center;min-height:44px;margin-left:auto;padding:6px 0 6px 10px;background:none;border:0;color:#355ef5;font:inherit;font-size:12px;cursor:pointer}
  .sim-workspace[data-mobile-compact] .sim-current-feed-list{border:0;border-radius:0}
  .sim-workspace[data-mobile-compact] .sim-current-feed-row{grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:6px 0;background:none}
  .sim-workspace[data-mobile-compact] .sim-current-feed-path{gap:2px 4px;line-height:1.3}
  .sim-workspace[data-mobile-compact] .sim-current-feed-currency b{font-size:12px;line-height:1.3}
  .sim-workspace[data-mobile-compact] .sim-current-feed-arrow{font-size:12px}
  .sim-workspace[data-mobile-compact] .sim-current-feed-meta{gap:3px 5px;font-size:12px;line-height:1.3;margin-top:3px}
  .sim-workspace[data-mobile-compact] .sim-current-feed-badge{font-size:12px;line-height:1.3;padding:1px 4px}
  .sim-workspace[data-mobile-compact] .sim-current-feed-amount{display:block;max-width:110px}
  .sim-workspace[data-mobile-compact] .sim-current-feed-amount>span{display:none}
  .sim-workspace[data-mobile-compact] .sim-feed-time-full{display:none}
  .sim-workspace[data-mobile-compact] .sim-feed-time-short{display:inline}
  .sim-workspace[data-mobile-compact] .sim-current-feed-amount>strong{max-width:none;font-size:12px;line-height:1.3}
  .sim-workspace[data-mobile-compact] .sim-mobile-view-all{display:none}
}

/* Activity is a records destination on mobile, separate from the live Home panel. */
.sim-mobile-activity-heading,.sim-mobile-route-records{display:none}
@media(max-width:760px){
  .sim-workspace[data-sim-page="activity"]{display:flex;flex-direction:column;gap:8px}
  .sim-workspace[data-sim-page="activity"]>.sim-balances,
  .sim-workspace[data-sim-page="activity"]>.sim-mobile-balance,
  .sim-workspace[data-sim-page="activity"]>.sim-grid>.sim-earnings,
  .sim-workspace[data-sim-page="activity"]>.sim-grid>.sim-current,
  .sim-workspace[data-sim-page="activity"]>.sim-grid>.sim-rates{display:none}
  .sim-workspace[data-sim-page="activity"]>.sim-grid{display:contents}
  .sim-mobile-activity-heading{display:block;order:0;padding:2px 2px 0}
  .sim-mobile-activity-heading>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
  .sim-mobile-activity-heading h1{margin:0;color:#132841;font-size:22px;line-height:1.3}
  .sim-mobile-activity-heading a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:5px 8px;color:#355ef5;font-size:12px;text-decoration:none;line-height:1.4}
  .sim-mobile-activity-heading nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:#edf2fa;border:1px solid #dce6f3;border-radius:12px}
  .sim-mobile-activity-heading nav a{min-width:0;color:#637a97;font-size:13px;border-radius:8px}
  .sim-mobile-activity-heading nav a[aria-current="page"]{color:#2d53e9;background:#fff;box-shadow:0 2px 5px #122e5b0a;font-weight:600}
  .sim-mobile-activity-subnav{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#687e99;font-size:12px;line-height:1.5}
  .sim-mobile-activity-subnav>span{min-width:0}
  .sim-mobile-activity-subnav button{min-height:44px;padding:5px 0 5px 8px;border:0;background:none;color:#355ef5;font:inherit;font-size:12px;white-space:nowrap}
  .sim-workspace[data-sim-page="activity"]>.sim-detail-history{order:1;margin:0;padding:12px;border-radius:13px;scroll-margin-top:75px}
  .sim-workspace[data-sim-page="activity"] .sim-detail-history>.sim-card-head{gap:10px;align-items:center;margin-bottom:4px}
  .sim-workspace[data-sim-page="activity"] .sim-detail-history h2{font-size:15px}
  .sim-workspace[data-sim-page="activity"] .sim-detail-history>.sim-card-head>span{font-size:12px;line-height:1.4;max-width:48%;text-align:right}
  .sim-workspace[data-sim-page="activity"] .sim-detail-history>.sim-table-wrap{display:none}
  .sim-mobile-route-records{display:block}
  .sim-mobile-route-reference{margin:3px 0 5px;color:#7185a0;font-size:12px!important;line-height:1.5}
  .sim-mobile-route-record{border-bottom:1px solid #e6edf6}
  .sim-mobile-route-record:last-child{border-bottom:0}
  .sim-mobile-route-record>summary{display:grid;grid-template-columns:minmax(0,1fr) auto 10px;align-items:center;gap:7px;min-height:65px;padding:10px 0;list-style:none;cursor:pointer}
  .sim-mobile-route-record>summary::-webkit-details-marker{display:none}
  .sim-mobile-route-record-main{min-width:0}
  .sim-mobile-route-record-main>strong{display:block;color:#233e5f;font-size:12px;line-height:1.5;overflow-wrap:anywhere;font-weight:600}
  .sim-mobile-route-record-main>strong>span{padding:0 1px;color:#8da0b9;font-weight:400}
  .sim-mobile-route-record-meta{display:flex;flex-wrap:wrap;align-items:center;gap:3px 6px;margin-top:4px;color:#7085a0;font-size:12px;line-height:1.4}
  .sim-mobile-route-record-meta .sim-current-feed-badge{font-size:12px;line-height:1.4;padding:1px 4px}
  .sim-mobile-route-record-value{display:block;max-width:130px;min-width:0;text-align:right}
  .sim-mobile-route-record-value>span{display:block;color:#7085a0;font-size:12px;line-height:1.4}
  .sim-mobile-route-record-value>strong{display:block;margin-top:3px;font-size:13px;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  .sim-mobile-route-record-chevron{color:#8197b2;font-size:16px;line-height:1}
  .sim-mobile-route-record[open]>summary>.sim-mobile-route-record-chevron{transform:rotate(180deg)}
  .sim-mobile-route-record>summary:focus-visible{outline:2px solid #355ef5;outline-offset:2px;border-radius:7px}
  .sim-mobile-route-record-body{padding:9px 10px;margin-bottom:10px;background:#f6f8fc;border:1px solid #e5edf7;border-radius:9px}
  .sim-mobile-route-record-body>p{margin:0 0 8px;font-size:12px!important;color:#3e5979;line-height:1.5;overflow-wrap:anywhere}
  .sim-mobile-route-record-body dl{margin:0}
  .sim-mobile-route-record-body dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:5px 0;font-size:12px;line-height:1.5}
  .sim-mobile-route-record-body dt{color:#6d829e}
  .sim-mobile-route-record-body dd{margin:0;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
  .sim-workspace[data-sim-page="activity"] .sim-detail-history>.sim-footnote{font-size:12px!important;line-height:1.5;margin-top:10px}
  .sim-mobile-conversion-panel{display:block;order:2;background:#fff;border:1px solid #dce6f3;border-radius:13px;scroll-margin-top:75px}
  .sim-mobile-conversion-panel>summary{display:flex;align-items:center;min-height:44px;padding:10px 12px;list-style:none;color:#284668;font-size:13px;cursor:pointer}
  .sim-mobile-conversion-panel>summary::-webkit-details-marker{display:none}
  .sim-mobile-conversion-panel>summary:after{content:'⌄';margin-left:auto;color:#8197b2}
  .sim-mobile-conversion-panel[open]>summary:after{transform:rotate(180deg)}
  .sim-mobile-conversion-panel>.sim-activity{margin:0;border:0;padding:0 12px 12px;box-shadow:none}
  .sim-mobile-conversion-panel .sim-events{height:auto;max-height:none;overflow:visible}
  .sim-mobile-conversion-panel .sim-card-head{flex-wrap:wrap}
  .sim-mobile-conversion-panel .sim-card-head h2{font-size:15px}
  .sim-mobile-conversion-panel .sim-card-head>span{font-size:12px;max-width:none}
  .sim-mobile-conversion-panel .sim-activity-tools{margin:10px 0}
  .sim-mobile-conversion-panel .sim-event{grid-template-columns:minmax(0,1fr);gap:5px}
  .sim-mobile-conversion-panel .sim-event-value{max-width:none;min-width:0;text-align:left}
  .sim-mobile-conversion-panel .sim-event strong,.sim-mobile-conversion-panel .sim-event small,
  .sim-mobile-conversion-panel .sim-event-value b,.sim-mobile-conversion-panel .sim-feed-note,
  .sim-mobile-conversion-panel .sim-feed-footer{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
  .sim-mobile-conversion-panel .sim-feed-note,.sim-mobile-conversion-panel .sim-feed-footer{flex-wrap:wrap;gap:8px}
  .sim-mobile-conversion-panel .sim-feed-note button,.sim-mobile-conversion-panel .sim-feed-footer button{min-height:44px}
}
/* Compact PC member Home only. Other routes and mobile keep their existing layout. */
@media(min-width:761px){
  .sim-workspace[data-sim-page="dashboard"]>.sim-balances{padding:12px 16px;gap:14px;margin-bottom:10px;border-radius:14px}
  .sim-workspace[data-sim-page="dashboard"]>.sim-balances span{font-size:12px;line-height:1.35;margin-bottom:4px}
  .sim-workspace[data-sim-page="dashboard"]>.sim-balances strong{font-size:20px;line-height:1.3;letter-spacing:-.025em}
  .sim-workspace[data-sim-page="dashboard"]>.sim-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:12px;align-items:start}
  .sim-workspace[data-sim-page="dashboard"] .sim-earnings,
  .sim-workspace[data-sim-page="dashboard"] .sim-current{padding:12px;border-radius:14px}
  .sim-workspace[data-sim-page="dashboard"] .sim-earnings>.sim-card-head,
  .sim-workspace[data-sim-page="dashboard"] .sim-current>.sim-card-head{margin-bottom:6px;gap:10px;align-items:center}
  .sim-workspace[data-sim-page="dashboard"] .sim-card-head h2{font-size:16px;line-height:1.35}
  .sim-workspace[data-sim-page="dashboard"] .sim-card-head>span{font-size:12px;line-height:1.35}
  .sim-workspace[data-sim-page="dashboard"] .sim-status{padding:5px 10px;font-size:12px}
  .sim-workspace[data-sim-page="dashboard"] .sim-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
  .sim-workspace[data-sim-page="dashboard"] .sim-kpis>div{min-width:0}
  .sim-workspace[data-sim-page="dashboard"] .sim-kpis span{font-size:12px;line-height:1.4}
  .sim-workspace[data-sim-page="dashboard"] .sim-kpis strong{font-size:22px;line-height:1.25;margin-top:4px;letter-spacing:-.025em;overflow-wrap:anywhere}
  .sim-workspace[data-sim-page="dashboard"] .sim-earnings-source{font-size:12px!important;line-height:1.5;margin:10px 0 0}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline{margin-top:12px;padding-top:11px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-heading{margin-bottom:8px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-heading h3{font-size:13px;line-height:1.4}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-state{font-size:12px;line-height:1.35;padding:3px 8px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-legend{gap:8px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-stat{padding:8px;border-radius:9px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-stat-label{gap:4px;font-size:12px;line-height:1.35}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-stat-label svg{width:13px;height:13px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-stat b{font-size:18px;line-height:1.3;margin-top:5px;white-space:normal;overflow-wrap:anywhere}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline>.sim-timeline-overview,
  .sim-workspace[data-sim-page="dashboard"] .sim-earnings>.sim-activity-explanation,
  .sim-workspace[data-sim-page="dashboard"] .sim-earnings:has(.sim-timeline-sessions)>.sim-earnings-details{display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-sessions{margin-top:8px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-sessions>summary{min-height:44px;padding:7px 0;font-size:12px}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-session-count{font-size:12px}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-activity-extra,
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-earnings-extra{display:block}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-activity-extra .sim-timeline-overview{padding:8px 0 10px}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-activity-extra .sim-explanation{font-size:12px;line-height:1.5;gap:5px 12px;margin-top:8px;padding-top:8px}
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-earnings-extra{font-size:12px;line-height:1.5;color:#6c809c;margin-top:12px}
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-earnings-extra h4{font-size:12px;margin:0 0 6px;color:#456181}
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-earnings-extra dl{margin:0}
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-earnings-extra dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:4px 0}
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-earnings-extra dd{margin:0;text-align:right;overflow-wrap:anywhere}
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-earnings-extra p{font-size:12px!important;line-height:1.5}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-periods{max-height:none;overflow:visible}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-periods>li,
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-period-time,
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-track-label,
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-axis{font-size:12px;line-height:1.4}
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-note,
  .sim-workspace[data-sim-page="dashboard"] .sim-timeline-unrecorded{font-size:12px!important;line-height:1.5}
  .sim-workspace[data-sim-page="dashboard"] .sim-current{display:flex;flex-direction:column}
  .sim-workspace[data-sim-page="dashboard"] .sim-current>.sim-card-head{order:0}
  .sim-workspace[data-sim-page="dashboard"] .sim-current>.sim-route-policy{order:1;font-size:12px;line-height:1.4}
  .sim-workspace[data-sim-page="dashboard"] .sim-current:has(.sim-route)>.sim-route-policy{display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-route,
  .sim-workspace[data-sim-page="dashboard"] .sim-no-route{order:2}
  .sim-workspace[data-sim-page="dashboard"] .sim-route{gap:3px;margin:2px 0 4px;overflow:visible}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1 1 0;min-width:0;min-height:24px;gap:4px;padding:2px 0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#647c99}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node.is-complete{background:transparent;border:0;box-shadow:none;color:#177d70}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node.is-current{background:transparent;border:0;box-shadow:none;color:#3559dd}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node>span{display:flex;align-items:center;flex-shrink:0;line-height:1}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node .sim-flag{width:16px;height:11px;margin:0;border-radius:1px}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node strong{min-width:0;font-size:12px;line-height:1.35;text-align:left;font-weight:600;overflow-wrap:anywhere}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node small{display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-arrow{flex:0 0 10px;text-align:center;font-size:12px;color:#8ca2bd}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-caption{order:3;font-size:12px;line-height:1.35;flex-wrap:wrap;gap:3px 10px}
  .sim-workspace[data-sim-page="dashboard"] .sim-progress{order:4;height:3px;min-height:3px;margin:5px 0 8px}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-facts{order:5;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.16fr);gap:10px}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-facts>div{min-width:0;grid-column:auto}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-facts span{font-size:12px;line-height:1.35}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-facts strong{font-size:18px;line-height:1.3;margin-top:4px;letter-spacing:-.035em;overflow-wrap:anywhere}
  .sim-workspace[data-sim-page="dashboard"] .sim-controls{order:6;min-height:44px;gap:10px;margin-top:5px;padding-top:4px}
  .sim-workspace[data-sim-page="dashboard"] .sim-control{min-height:44px!important;font-size:13px!important;padding:8px 18px!important}
  .sim-workspace[data-sim-page="dashboard"] .sim-history-link{min-height:44px;font-size:12px;padding:6px 0}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-calculation-desktop,
  .sim-workspace[data-sim-page="dashboard"] .sim-current:has(.sim-route)>.sim-footnote:not(.sim-mobile-calculation-note){display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-note{display:block;order:7;font-size:12px!important;line-height:1.4;margin:3px 0 0}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-details{display:block;order:10;border-top:1px solid #e5ecf6;margin-top:4px;color:#6b809c;font-size:12px}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:7px 0;list-style:none;color:#456181;font-size:12px;line-height:1.4;cursor:pointer}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-details>summary::-webkit-details-marker{display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-details>summary:after{content:'⌄';margin-left:auto;color:#8ca2bd}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-details[open]>summary:after{transform:rotate(180deg)}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-details>summary:focus-visible{outline:2px solid #355ef5;outline-offset:2px;border-radius:6px}
  .sim-workspace[data-sim-page="dashboard"] .sim-compact-trading-explanation{display:block}
  .sim-workspace[data-sim-page="dashboard"] .sim-mobile-calculation-details>.sim-footnote{font-size:12px!important;line-height:1.5;margin:0 0 8px}
  .sim-workspace[data-sim-page="dashboard"] .sim-current>.sim-sync{order:8;font-size:12px;line-height:1.4}
  .sim-workspace[data-sim-page="dashboard"] .sim-current:has(.sim-route)>.sim-sync:not(.is-disconnected){display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed{order:9;margin-top:6px;padding-top:5px}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-head{margin-bottom:5px}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-head h3{font-size:13px;line-height:1.4}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-state{font-size:12px;line-height:1.4}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-list{max-height:none;height:auto;overflow:visible;border:0;border-radius:0;background:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:4px 0;background:transparent}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-row:nth-of-type(n+4){display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-path{gap:3px 5px;line-height:1.35}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-currency b,
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-arrow{font-size:12px;line-height:1.35}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-meta{gap:3px 7px;font-size:12px;line-height:1.35;margin-top:3px}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-badge{font-size:12px;line-height:1.35;padding:1px 4px}
  .sim-workspace[data-sim-page="dashboard"] .sim-feed-time-full{display:none}
  .sim-workspace[data-sim-page="dashboard"] .sim-feed-time-short{display:inline}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-amount>span{font-size:12px;line-height:1.35;margin-bottom:3px}
  .sim-workspace[data-sim-page="dashboard"] .sim-current-feed-amount>strong{font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
}
@media(min-width:761px) and (max-width:1100px){
  .sim-workspace[data-sim-page="dashboard"]>.sim-grid{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:761px) and (max-width:1500px){
  .sim-workspace[data-sim-page="dashboard"] .sim-route{display:grid;grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr);align-items:center;gap:3px 4px}
  .sim-workspace[data-sim-page="dashboard"] .sim-route[data-route-count="2"]{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr)}
  .sim-workspace[data-sim-page="dashboard"] .sim-route[data-route-count="1"]{grid-template-columns:minmax(0,1fr)}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-arrow.is-row-bridge{grid-column:1/-1;justify-self:start;padding-left:4px;height:8px;line-height:8px;font-size:0}
  .sim-workspace[data-sim-page="dashboard"] .sim-route-arrow.is-row-bridge:before{content:'↳';font-size:14px;line-height:8px}
}
@media(min-width:761px){
  .sim-workspace[data-sim-page="dashboard"] .sim-route-node strong{overflow-wrap:normal;word-break:normal;hyphens:none}
}
/* Approved balanced desktop member Home. All layout and new cards stay on this view. */
@media(min-width:761px){
  #page-content:has(>.sim-workspace[data-balanced-home]){padding:12px 24px 24px}
  .sim-workspace[data-balanced-home] .sim-balances{padding:9px 16px;margin-bottom:9px}
  .sim-workspace[data-balanced-home]{gap:10px}
  .sim-workspace[data-balanced-home] .sim-balanced-main{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:12px;align-items:stretch}
  .sim-workspace[data-balanced-home] .sim-balanced-left{display:flex;flex-direction:column;gap:10px;min-width:0}
  .sim-workspace[data-balanced-home] .sim-balanced-bottom{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px;align-items:stretch;margin-top:10px}
  .sim-workspace[data-balanced-home] .sim-card{min-width:0}
  .sim-workspace[data-balanced-home] .sim-card-head a{color:#355ef5;text-decoration:none;font-size:12px;line-height:1.4;white-space:nowrap;padding:7px 0}
  .sim-workspace[data-balanced-home] .sim-card-head{margin-bottom:5px;gap:10px}
  .sim-workspace[data-balanced-home] .sim-card-head h2{font-size:15px;line-height:1.35}
  .sim-workspace[data-balanced-home] .sim-earnings{padding:10px 12px}
  .sim-workspace[data-balanced-home] .sim-kpis{gap:7px 14px}
  .sim-workspace[data-balanced-home] .sim-kpis>div:nth-child(3){order:-2}
  .sim-workspace[data-balanced-home] .sim-kpis>div:nth-child(4){order:-1}
  .sim-workspace[data-balanced-home] .sim-kpis strong{font-size:19px;line-height:1.25;margin-top:3px}
  .sim-workspace[data-balanced-home] .sim-kpis span{font-size:12px}
  .sim-workspace[data-balanced-home] .sim-earnings-source{margin-top:7px;line-height:1.35}
  .sim-workspace[data-balanced-home] .sim-earnings-source .sim-desktop-label{display:none}
  .sim-workspace[data-balanced-home] .sim-earnings-source .sim-mobile-label{display:inline}
  .sim-workspace[data-balanced-home] .sim-timeline{margin-top:7px;padding-top:6px}
  .sim-workspace[data-balanced-home] .sim-timeline-heading{display:none}
  .sim-workspace[data-balanced-home] .sim-timeline-legend{gap:8px}
  .sim-workspace[data-balanced-home] .sim-timeline-stat{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;border:0;border-radius:0;background:none;padding:0}
  .sim-workspace[data-balanced-home] .sim-timeline-stat-label{font-size:12px;line-height:1.4;gap:2px;min-width:0}
  .sim-workspace[data-balanced-home] .sim-timeline-stat-label svg{display:none}
  .sim-workspace[data-balanced-home] .sim-timeline-stat b{font-size:12px;line-height:1.4;margin:0}
  .sim-workspace[data-balanced-home] .sim-timeline-sessions{margin-top:6px}
  .sim-workspace[data-balanced-home] .sim-timeline-sessions>summary{min-height:30px;padding:4px 0}
  .sim-workspace[data-balanced-home] .sim-timeline-session-count{display:none}
  .sim-workspace[data-balanced-home] .sim-home-profit{padding:8px 12px;flex:1;background:linear-gradient(145deg,#fff,#f7faff)}
  .sim-workspace[data-balanced-home] .sim-home-available{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px;margin:1px 0 7px}
  .sim-workspace[data-balanced-home] .sim-home-available strong{font-size:22px;line-height:1.25;letter-spacing:-.035em;overflow-wrap:anywhere}
  .sim-workspace[data-balanced-home] .sim-home-available>span{font-size:12px;color:#768ca6;line-height:1.4}
  .sim-workspace[data-balanced-home] .sim-home-settlement{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #dce6f5;padding-top:7px;margin:0}
  .sim-workspace[data-balanced-home] .sim-home-settlement>div{min-width:0}
  .sim-workspace[data-balanced-home] .sim-home-settlement dt{font-size:12px;line-height:1.4;color:#768ca6}
  .sim-workspace[data-balanced-home] .sim-home-settlement dd{font-size:13px;line-height:1.4;overflow-wrap:anywhere;margin:3px 0 0;color:#153453}
  .sim-workspace[data-balanced-home] .sim-home-profit>p{font-size:12px!important;line-height:1.4;color:#768ca6;margin:7px 0 0}
  .sim-workspace[data-balanced-home] .sim-home-profit .sim-home-financial-error{color:#a45a16}
  .sim-workspace[data-balanced-home] .sim-home-financial-error button{border:0;background:none;color:#355ef5;text-decoration:underline;cursor:pointer;font:inherit;min-height:32px;padding:0 6px}
  .sim-workspace[data-balanced-home] .sim-current{padding:11px 12px}
  .sim-workspace[data-balanced-home] .sim-current>.sim-route-policy{display:block!important;font-size:12px;line-height:1.4;margin:0 0 5px}
  .sim-workspace[data-balanced-home] .sim-route{margin:1px 0 4px}
  .sim-workspace[data-balanced-home] .sim-route-facts strong{font-size:18px;line-height:1.25}
  .sim-workspace[data-balanced-home] .sim-current-feed{margin-top:5px;padding-top:5px;flex:1}
  .sim-workspace[data-balanced-home] .sim-current-feed-head{margin-bottom:3px}
  .sim-workspace[data-balanced-home] .sim-current-feed-row{padding:5px 0;min-height:32px;align-items:center}
  .sim-workspace[data-balanced-home] .sim-current-feed-main{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
  .sim-workspace[data-balanced-home] .sim-current-feed-path{gap:2px 4px;min-width:0}
  .sim-workspace[data-balanced-home] .sim-current-feed-meta{margin:0;display:flex;flex-direction:row-reverse;flex-wrap:nowrap;gap:7px}
  .sim-workspace[data-balanced-home] .sim-current-feed-meta time{font-size:12px;white-space:nowrap;color:#768ca6}
  .sim-workspace[data-balanced-home] .sim-current-feed-amount>span{display:none}
  .sim-workspace[data-balanced-home] .sim-current-feed-amount>strong{font-size:13px;line-height:1.4}
  .sim-workspace[data-balanced-home] .sim-mobile-calculation-details>summary{min-height:36px;padding:5px 0}
  .sim-workspace[data-balanced-home] .sim-home-funding,.sim-workspace[data-balanced-home] .sim-rates{padding:10px 12px;border-radius:14px}
  .sim-workspace[data-balanced-home] .sim-home-funding-heading,.sim-workspace[data-balanced-home] .sim-home-funding-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center}
  .sim-workspace[data-balanced-home] .sim-home-funding-heading{font-size:12px;color:#7b91aa;padding:3px 0 5px}
  .sim-workspace[data-balanced-home] .sim-home-funding-row{width:100%;min-height:36px;border:0;border-top:1px solid #e1e9f5;background:none;border-radius:0;padding:5px 0;font:inherit;font-size:12px;line-height:1.4;text-align:left;color:#123151;cursor:pointer}
  .sim-workspace[data-balanced-home] .sim-home-funding-row:hover{background:#f4f8fe}
  .sim-workspace[data-balanced-home] .sim-home-funding-row:focus-visible,.sim-workspace[data-balanced-home] .sim-home-major-row:focus-visible{outline:2px solid #355ef5;outline-offset:2px;border-radius:5px}
  .sim-workspace[data-balanced-home] .sim-home-funding-title{display:flex;align-items:center;gap:5px;min-width:0}
  .sim-workspace[data-balanced-home] .sim-home-funding-title i{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:5px;background:#e7f6f2;color:#008f7a;font-style:normal;flex-shrink:0}
  .sim-workspace[data-balanced-home] .sim-home-funding-row strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
  .sim-workspace[data-balanced-home] .sim-home-funding-row small{font-size:12px;color:#6f86a0}
  .sim-workspace[data-balanced-home] .sim-home-funding-status{display:inline-block;border-radius:4px;background:#f0f3fa;color:#536a8b;padding:2px 4px;font-size:12px;overflow-wrap:anywhere}
  .sim-workspace[data-balanced-home] .sim-home-funding-status.is-complete{background:#e5f6f1;color:#008b79}
  .sim-workspace[data-balanced-home] .sim-home-funding-row time{font-size:12px;color:#738ba6}
  .sim-workspace[data-balanced-home] .sim-home-funding-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e1e9f5;padding-top:6px;margin-top:2px;font-size:12px;color:#768ca6;line-height:1.4}
  .sim-workspace[data-balanced-home] .sim-home-funding-footer>span:last-child{display:flex;gap:10px;flex-wrap:wrap}
  .sim-workspace[data-balanced-home] .sim-home-funding-footer a{color:#355ef5;text-decoration:none;padding:3px 0}
  .sim-workspace[data-balanced-home] .sim-home-funding-empty{font-size:12px!important;line-height:1.5;color:#768ca6;margin:8px 0}
  .sim-workspace[data-balanced-home] .sim-home-major-row{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:34px;border-bottom:1px solid #e1e9f5;color:#123151;text-decoration:none;font-size:12px}
  .sim-workspace[data-balanced-home] .sim-home-major-row b{display:flex;align-items:center;gap:5px;font-weight:600}
  .sim-workspace[data-balanced-home] .sim-home-major-row strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
  .sim-workspace[data-balanced-home] .sim-home-major-row .sim-flag{width:17px;height:12px;margin:0}
  .sim-workspace[data-balanced-home] .sim-home-major-note{font-size:12px!important;line-height:1.4;margin:7px 0 0;color:#768ca6}
}
@media(min-width:1101px) and (max-width:1500px){
  .sim-workspace[data-balanced-home] .sim-route[data-route-count="2"],.sim-workspace[data-balanced-home] .sim-route[data-route-count="3"],.sim-workspace[data-balanced-home] .sim-route[data-route-count="4"]{display:flex;gap:6px}
  .sim-workspace[data-balanced-home] .sim-route[data-route-count="4"] .sim-route-arrow.is-row-bridge{grid-column:auto;font-size:12px;height:auto;padding:0}
  .sim-workspace[data-balanced-home] .sim-route[data-route-count="4"] .sim-route-arrow.is-row-bridge:before{content:none}
  .sim-workspace[data-balanced-home] .sim-current-feed-meta time{display:none}
  .sim-workspace[data-balanced-home] .sim-timeline-stat{display:flex;flex-wrap:wrap}
  .sim-workspace[data-balanced-home] .sim-timeline-stat b{margin:0}
}
@media(min-width:761px) and (max-width:1100px){
  .sim-workspace[data-balanced-home] .sim-balanced-main,.sim-workspace[data-balanced-home] .sim-balanced-bottom{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:1101px){
  #page-content:has(>.sim-workspace[data-balanced-home]){padding:12px 24px 24px!important}
  .sim-workspace[data-balanced-home] .sim-card-head a{padding:3px 0}
  .sim-workspace[data-balanced-home] .sim-current>.sim-card-head{margin-bottom:4px}
  .sim-workspace[data-balanced-home] .sim-current>.sim-route-policy{margin-bottom:3px}
  .sim-workspace[data-balanced-home] .sim-current-feed-row{min-height:28px;padding:3px 0}
  .sim-workspace[data-balanced-home] .sim-current-feed-meta time{display:inline}
  .sim-workspace[data-balanced-home] .sim-mobile-calculation-details>summary{min-height:30px;padding:3px 0}
  .sim-workspace[data-balanced-home] .sim-home-funding-heading{padding:1px 0 3px;line-height:1.4}
  .sim-workspace[data-balanced-home] .sim-home-funding-row{min-height:32px;padding:3px 0}
  .sim-workspace[data-balanced-home] .sim-home-funding-footer{padding-top:4px;margin-top:1px;line-height:1.4}
  .sim-workspace[data-balanced-home] .sim-home-funding-footer a{padding:1px 0}
}
@media(min-width:1101px){
  .sim-workspace[data-balanced-home] .sim-earnings{padding-top:8px;padding-bottom:8px}
  .sim-workspace[data-balanced-home] .sim-kpis{row-gap:5px}
  .sim-workspace[data-balanced-home] .sim-timeline-sessions>summary{min-height:26px}
  .sim-workspace[data-balanced-home] .sim-current-feed-row{min-height:24px;padding:2px 0}
  .sim-workspace[data-balanced-home] .sim-mobile-calculation-details>summary{min-height:28px}
  .sim-workspace[data-balanced-home] .sim-progress{margin-bottom:6px}
  .sim-workspace[data-balanced-home] .sim-rates .sim-home-major-list{padding-right:64px}
  .sim-workspace[data-balanced-home] .sim-rates .sim-home-major-note{padding-right:64px}
}

/* Source: mobile-finance-compact.css */
/* Approved compact member finance surfaces. Desktop rules and financial handlers are unchanged. */
@media (max-width:760px){
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page{gap:10px;font-size:14px;min-width:0}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page>.page-header{margin:0;padding:0;min-height:44px;gap:8px}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page>.page-header h1{font-size:21px;line-height:1.25;margin:0}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page>.page-header p{font-size:12px;line-height:1.4;margin:4px 0 0}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page :is(.btn,.text-button,.tab,summary){min-height:44px}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page :is(small,.footnote,.meta,.badge){font-size:12px;line-height:1.4}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .card{padding:12px;border-radius:14px;min-width:0}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page :is(h2,h3){font-size:16px;line-height:1.35;margin:0 0 8px}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .card-head{gap:8px;margin:0;min-width:0}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .card-head h2{margin:0}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page summary{align-content:center;padding:6px 0;font-size:13px;line-height:1.4;cursor:pointer}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .definition{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:9px 8px;margin:8px 0;font-size:12px;line-height:1.45}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .definition :is(dt,dd){margin:0;min-width:0;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .definition dd{text-align:right}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-overview{display:flex;flex-direction:column;gap:10px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-overview>*{order:initial;min-width:0;width:100%;box-sizing:border-box}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-overview #design-holdings{order:initial}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-balance{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:10px;padding:15px 12px;border-radius:14px;background:#0c1b2d;color:#fff}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-balance>div{display:grid;align-content:start;gap:5px;min-width:0}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-balance>div+div{border-left:1px solid #ffffff24;padding-left:10px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-balance span{font-size:12px;color:#b9cbe2;line-height:1.4}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-balance strong{font-size:18px;line-height:1.3;letter-spacing:-.35px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#fff}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-balance p{grid-column:1/-1;font-size:12px;margin:0;color:#b9cbe2;line-height:1.4}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-actions .btn{min-height:44px;padding:8px 10px;border-radius:10px;font-size:14px;justify-content:center}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-breakdown>.definition dd{font-size:16px;font-weight:650}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-breakdown>details{border-top:1px solid #e1e8f1;margin-top:8px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-overview .mobile-wallet-address .code-box{font-size:12px;line-height:1.5;margin:8px 0;padding:0;background:none;border:0;white-space:normal;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-overview .mobile-wallet-address .btn{padding:8px 12px;font-size:12px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-history-link{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;border:0;border-top:1px solid #e1e8f1;padding:10px 0;background:transparent;color:#345af3;font-size:13px;font-weight:600;text-align:left}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-history-link.card{border:1px solid #dce5f1;background:#fff;padding:10px 12px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-funding-row{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:8px;align-items:start;min-height:66px;width:100%;padding:11px 0;border:0;border-top:1px solid #e5ebf4;border-radius:0;background:transparent;text-align:left;color:#17283e}
  html.fx-unified-theme[data-theme] body #page-content .mobile-funding-row>span{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] body #page-content .mobile-funding-row>span+span{text-align:right;justify-items:end}
  html.fx-unified-theme[data-theme] body #page-content .mobile-funding-row b{font-size:14px;line-height:1.35;font-weight:650;font-variant-numeric:tabular-nums}
  html.fx-unified-theme[data-theme] body #page-content .mobile-funding-row small{font-size:12px;color:#6a7c93;white-space:normal;line-height:1.4}
  html.fx-unified-theme[data-theme] body #page-content .mobile-funding-row .badge{font-size:12px;line-height:1.35;white-space:normal;padding:3px 6px;max-width:100%}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-recent>.card-head .text-button{min-width:70px;padding:6px 0;font-size:12px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-records{margin:0}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-records>summary{padding:0;min-height:44px}
  html.fx-unified-theme[data-theme] body #page-content .v2-wallet-page .deposit-amount-summary{display:flex;flex-wrap:wrap;gap:8px}
  html.fx-unified-theme[data-theme] body #page-content .v2-wallet-page #design-deposit-history .deposit-amount-summary>div{padding:8px;gap:4px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-withdrawal-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html.fx-unified-theme[data-theme] body #page-content .mobile-withdrawal-balances>.design-value{display:grid;gap:4px;min-width:0}
  html.fx-unified-theme[data-theme] body #page-content .mobile-withdrawal-balances>.design-value>span{font-size:12px;color:#6a7c93}
  html.fx-unified-theme[data-theme] body #page-content .mobile-withdrawal-balances>.design-value>strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] body #page-content .mobile-withdrawal-balances>details{grid-column:1/-1;border-top:1px solid #e1e8f1}
  html.fx-unified-theme[data-theme] body #page-content .mobile-withdrawal-balances .principal-availability{padding:0;background:transparent}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .activity-record>button:first-child{gap:5px 8px;padding:10px 0}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .activity-record>button:first-child>span:nth-child(3) b{font-size:16px}

  /* Compact funding task panel. Existing secure forms and sticky action footer remain intact. */
  html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-member-funding-compact){width:calc(100vw - 24px);max-width:430px;padding:14px;border-radius:18px;max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-member-funding-compact) .modal-heading{margin:0 0 10px;padding:0 0 8px;gap:8px}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-member-funding-compact) .modal-heading h2{font-size:20px;line-height:1.3}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-member-funding-compact) .modal-heading .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-member-funding-compact.fx-payment-layout) #modal-content{max-height:calc(100dvh - 62px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact{font-size:14px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-steps{font-size:12px;gap:6px;margin:0 0 12px;line-height:1.35}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-asset{padding:9px 10px;margin-bottom:12px;gap:8px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-network{font-size:12px;white-space:normal;padding:5px 6px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-coin{width:30px;height:30px;font-size:20px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-label{margin-bottom:6px;font-size:13px;line-height:1.4}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-amount{padding:5px 10px;gap:6px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-amount input{min-height:44px;font-size:24px;line-height:1.3}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-amount>.text-button{min-width:44px;min-height:44px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-presets{margin-top:8px;gap:8px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-presets button{min-height:44px;padding:7px;font-size:13px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-note{padding:9px 10px;margin:10px 0;font-size:12px;line-height:1.45}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .withdrawal-source-segments{margin:0 0 6px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .withdrawal-source-segments legend{margin-bottom:6px;font-size:12px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .withdrawal-source-segments label{min-height:44px;padding:7px 10px;font-size:14px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .selected-requestable{margin:0 0 6px;gap:6px;font-size:12px;line-height:1.5}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .selected-requestable b{font-size:16px;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-destination{margin-top:10px;padding:9px 10px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-destination .code-box{font-size:12px;line-height:1.45;word-break:normal;overflow-wrap:anywhere}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-destination .badge{font-size:12px;padding:3px 5px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-review-facts{margin:10px 0}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-review-facts .definition{gap:6px 8px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);font-size:12px;line-height:1.4}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-more{margin:6px 0 0;font-size:12px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-more>summary{min-height:44px;align-content:center;padding:6px 0;font-size:12px;line-height:1.4}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-mobile-profit-details{margin:0 0 8px;border-bottom:1px solid #e5ebf4}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-mobile-profit-details[hidden]{display:none}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-withdrawal-minimum-note{font-size:12px;line-height:1.4}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-footer{gap:2px;padding-top:8px;margin-top:10px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-footer>.btn{min-height:44px;padding:9px 12px;font-size:14px;border-radius:10px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-footer>.text-button{min-height:44px;font-size:12px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-withdrawal-security{padding:10px;gap:9px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-payment-review-amount strong{font-size:23px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact .fx-withdrawal-consent{min-height:44px;align-items:center;font-size:12px}
  html.fx-unified-theme[data-theme] body dialog#modal .fx-member-funding-compact :is(input,select){max-width:100%}
}
/* Override the older member-reviewed theme's important spacing, only inside these mobile surfaces. */
@media (max-width:760px){
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page>.page-header{margin:0!important;display:flex!important;align-items:center;min-height:44px!important}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page>.page-header p:empty,html.fx-unified-theme[data-theme] body #page-content .v2-finance-page>.page-header .actions:empty{display:none}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .card{padding:12px!important;margin:0!important;border-radius:14px!important}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page :is(h2,h3){margin:0 0 8px!important}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .card-head :is(h2,h3){margin:0!important}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .definition{margin:8px 0!important;gap:0!important}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .definition dt{padding:8px 6px 8px 0!important;font-size:12px!important}
  html.fx-unified-theme[data-theme] body #page-content .v2-finance-page .definition dd{padding:8px 0!important;font-size:12px!important}
  html.fx-unified-theme[data-theme] body #page-content .mobile-wallet-breakdown>.definition dd{font-size:16px!important;font-weight:650}
  html.fx-unified-theme[data-theme] body dialog#modal:has(.fx-member-funding-compact) .modal-heading .icon-button{height:44px!important;min-height:44px!important;width:44px!important;min-width:44px!important;padding:10px!important}
}

/* Source: mobile-reports.css */
/* The Reports route is self-contained; existing desktop pages are untouched. */
.mobile-reports-page{--mr-ink:#102039;--mr-muted:#647897;--mr-line:#dce5f2;--mr-blue:#365cff;--mr-green:#008e7f;max-width:1120px;margin:0 auto;color:var(--mr-ink);display:grid;gap:14px;font-size:14px;line-height:1.4}
.mobile-reports-page *{box-sizing:border-box;min-width:0}
.mobile-reports-page [hidden]{display:none!important}
.mobile-reports-page button,.mobile-reports-page a,.mobile-reports-page select,.mobile-reports-page summary{min-height:44px}
.mobile-reports-page button,.mobile-reports-page a,.mobile-reports-page select{font:inherit}
.mobile-reports-page h1,.mobile-reports-page h2,.mobile-reports-page p{margin:0}
.mobile-reports-page h1{font-size:28px;line-height:1.2;letter-spacing:-.025em}
.mobile-reports-page h2{font-size:18px;line-height:1.3;letter-spacing:-.02em}
.mobile-reports-page a{color:var(--mr-blue);text-decoration:none}
.mr-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mr-header p{color:var(--mr-muted);margin-top:3px}
.mr-refresh{border:1px solid var(--mr-line);background:#fff;color:var(--mr-blue);border-radius:10px;padding:8px 13px;cursor:pointer}
.mr-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--mr-line)}
.mr-tabs{display:flex;gap:18px}
.mr-tabs button{position:relative;display:flex;align-items:center;padding:8px 0;border:0;border-radius:0;background:none;color:var(--mr-muted);cursor:pointer}
.mr-tabs [aria-selected=true]{color:var(--mr-blue);font-weight:700}
.mr-tabs [aria-selected=true]::after{position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px;background:var(--mr-blue);content:""}
.mr-range-label{display:block;margin:0 0 7px}
.mr-range-label select{width:auto;max-width:100%;padding:8px 26px 8px 10px;border:1px solid var(--mr-line);border-radius:9px;background-color:#fff;color:var(--mr-ink);font-size:12px}
.mr-summary{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#0b1a2e;color:#fff;border:1px solid #152b47;border-radius:14px;padding:16px}
.mr-summary>div{display:flex;flex-direction:column;gap:5px;padding-right:16px}
.mr-summary>div+div{border-left:1px solid #728094;padding-left:16px;padding-right:0}
.mr-summary span{font-size:13px;color:#e0e9f5}
.mr-summary strong{font-size:21px;line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mr-summary small{color:#a9bbd4;font-size:12px}
.mr-positive{color:var(--mr-green)}
.mr-summary .mr-positive{color:#40d5bc}
.mr-negative{color:#d94459}
.mr-card{background:#fff;border:1px solid var(--mr-line);border-radius:14px;padding:16px}
.mr-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mr-card-heading>span{font-size:12px;color:var(--mr-muted);text-align:right}
.mr-card-heading>a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:13px}
.mr-card-basis{font-size:12px;color:var(--mr-muted);margin-top:4px!important}
.mr-bars{display:grid;grid-template-columns:repeat(var(--mr-bar-count),minmax(0,1fr));gap:16px;padding:16px 16px 0;margin:12px 0 0;border-top:1px solid var(--mr-line);background:repeating-linear-gradient(to top,transparent 0,transparent 39px,#edf2f8 40px,#edf2f8 41px);background-size:100% calc(100% - 26px);background-repeat:no-repeat}
.mr-bar-column{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}
.mr-bar-track{position:relative;width:100%;max-width:88px;height:116px;display:flex;align-items:flex-end;border-bottom:1px solid #c7d5ec}
.mr-bar{display:block;width:100%;background:linear-gradient(0deg,#2850f8,#4d7bff);border-radius:4px 4px 0 0}
.mr-bar.is-negative{background:#db5366}
.mr-bar-missing{position:absolute;inset:0;display:grid;place-items:center;color:var(--mr-muted)}
.mr-bar-date{font-size:12px;color:var(--mr-muted);text-align:center}
.mr-chart-note{font-size:12px;color:var(--mr-muted);margin-top:8px!important}
.mr-today{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f0f7f8;border-radius:9px;padding:10px 12px;margin-top:12px}
.mr-today>span{font-size:13px}
.mr-today strong{color:var(--mr-green);font-size:17px;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums}
.mr-note{font-size:12px;color:var(--mr-muted);margin-top:8px!important;line-height:1.45}
.mr-details{margin-top:8px;border-top:1px solid var(--mr-line)}
.mr-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:8px;font-size:13px;list-style:none}
.mr-details summary::after{content:"⌄";font-size:18px;color:var(--mr-muted)}
.mr-details[open] summary::after{transform:rotate(180deg)}
.mr-details summary::-webkit-details-marker{display:none}
.mr-details dl{margin:0}
.mr-details dl>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-top:1px solid #eef2f7}
.mr-details dt,.mr-details dd,.mr-details p{font-size:12px;margin:0}
.mr-details dt{color:var(--mr-muted)}
.mr-details dd{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mr-details p{color:var(--mr-muted);margin-top:9px!important;line-height:1.45}
.mr-day-list{list-style:none;padding:0;margin:9px 0 0}
.mr-day-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid var(--mr-line)}
.mr-day-row>span{display:flex;flex-direction:column;gap:3px}
.mr-day-row b{font-size:14px}
.mr-day-row small{font-size:12px;color:var(--mr-muted)}
.mr-day-amount{text-align:right}
.mr-day-amount strong{font-size:16px;font-weight:700;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.mr-route-link{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:12px;background:#fff;border:1px solid var(--mr-line);border-radius:12px}
.mr-route-link>span:first-child{display:flex;flex-direction:column;gap:3px}
.mr-route-link b{color:var(--mr-ink);font-size:14px}
.mr-route-link small{font-size:12px;color:var(--mr-muted)}
.mr-route-link>span:last-child{font-size:25px}
.mr-unavailable{background:#fff7e7;border:1px solid #ecd3a5;border-radius:9px;padding:10px 12px;font-size:12px;color:#72531c}
.mr-empty{font-size:13px;color:var(--mr-muted);padding:18px 0!important}
.mr-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mobile-reports-page :is(button,a,summary,select):focus-visible{outline:2px solid #8095ff;outline-offset:3px}
@media(min-width:900px){.mobile-reports-page{grid-template-columns:1fr 1fr}.mr-header,.mr-toolbar,.mr-summary,.mr-route-link,.mobile-reports-page>.mr-unavailable{grid-column:1/-1}.mr-settlements-panel:only-of-type{grid-column:1/-1}.mr-summary strong{font-size:25px}}
@media(max-width:760px){.mobile-reports-page{gap:10px}.mobile-reports-page h1{font-size:24px}.mobile-reports-page h2{font-size:16px}.mr-header p{font-size:13px}.mr-toolbar{gap:8px}.mr-tabs{gap:14px}.mr-tabs button{font-size:13px}.mr-summary{padding:12px;border-radius:11px;grid-template-columns:1.12fr 1fr}.mr-summary>div{padding-right:10px}.mr-summary>div+div{padding-left:10px}.mr-summary span{font-size:12px}.mr-summary strong{font-size:16px;letter-spacing:-.035em}.mr-summary small{font-size:12px}.mr-card{padding:12px;border-radius:12px}.mr-card-heading{gap:6px}.mr-card-heading>span{font-size:12px}.mr-card-heading>a{font-size:12px}.mr-bars{gap:10px;padding:12px 9px 0;margin-top:10px}.mr-bar-track{height:100px}.mr-today{padding:9px 10px;gap:8px}.mr-today strong{font-size:16px}.mr-today>span{font-size:12px}.mr-day-row{gap:8px;padding:9px 0}.mr-day-row small{font-size:12px}.mr-day-amount strong{font-size:16px}.mr-route-link{padding:10px 12px}.mr-details dl>div{gap:8px}.mr-range-label select{padding-left:8px;padding-right:21px}}
@media(max-width:370px){.mr-tabs{gap:10px}.mr-tabs button{font-size:12px}.mr-range-label select{font-size:12px;max-width:100%}.mr-card-heading{flex-wrap:wrap}.mr-day-amount strong{font-size:16px}.mr-day-row>span:first-child{max-width:42%}.mr-today{align-items:flex-start}.mr-today>span{max-width:45%}.mr-bars{gap:7px;padding-left:3px;padding-right:3px}}

/* Keep the statement action away from the floating support button. */
.mr-settlements-panel .mr-card-heading{justify-content:flex-start;gap:12px}

/* Let enlarged text move the date control to a new row. */
.mr-toolbar{flex-wrap:wrap}
.mr-tabs{flex:0 0 auto;max-width:100%}
.mr-tabs button{flex-shrink:0}



/* Source: mobile-compact-system.css */
/* Mobile-only approved compact system. Desktop and staff are intentionally unselected. */
@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app .main.connected-member-workspace[data-mobile-compact-member]{padding-top:0!important;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));min-width:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar{position:sticky!important;top:0;display:grid!important;grid-template-columns:minmax(62px,1fr) auto auto;align-items:center;gap:4px;min-height:60px!important;height:auto!important;padding:8px 10px!important;margin:0!important;background:#f8faff;z-index:40}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.mobile-brand{display:flex!important;align-items:center;width:78px;max-width:100%;margin:0!important;font-size:21px!important;padding:0!important;min-width:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.mobile-brand img{width:78px!important;max-width:100%!important;height:auto!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>:is(.top-search,.breadcrumb){display:none!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions{position:static!important;display:flex!important;grid-column:2;grid-row:1;width:auto!important;inset:auto!important;gap:4px!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions>.btn{width:auto!important;min-width:58px!important;min-height:44px!important;height:auto!important;max-height:none!important;padding:8px!important;border-radius:9px!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.top-actions{display:flex!important;grid-column:3;grid-row:1;width:auto!important;gap:0!important;justify-content:flex-end;margin:0!important;padding:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.top-actions>:is(.notification-button,.account-menu){display:inline-flex!important;align-items:center;justify-content:center;min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important;padding:0!important;margin:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .account-menu .account-name{display:none!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .account-menu .avatar{width:30px!important;height:30px!important;font-size:11px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>#page-content{padding:8px 10px 14px!important;min-width:0;scroll-margin-top:68px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .page-header{gap:8px;margin-bottom:10px;align-items:center}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .page-header h1{font-size:22px;line-height:1.2;margin:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .page-header p{font-size:12px;line-height:1.4;margin:4px 0 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] :is(.card,.v2-finance-page>.card){border-radius:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .fx-workspace-legal{margin-top:18px;padding:12px;font-size:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app:has(.connected-member-workspace[data-mobile-compact-member])>.mobile-nav{min-height:60px!important;padding:4px 4px calc(4px + env(safe-area-inset-bottom,0px))!important;gap:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app:has(.connected-member-workspace[data-mobile-compact-member])>.mobile-nav button{min-height:48px!important;padding:4px!important;font-size:11px!important;line-height:1.2}
 html.fx-connected-design.fx-unified-theme[data-theme] #app:has(.connected-member-workspace[data-mobile-compact-member])>.mobile-nav svg{width:20px!important;height:20px!important;margin-bottom:3px}
 .mc-more-page{display:grid;gap:10px;color:#10213a}
 .mc-page-title h1{font-size:24px;margin:0}.mc-page-title p{font-size:12px;color:#71839c;margin:4px 0}
 .mc-profile{display:flex;align-items:center;gap:10px;width:100%;min-height:62px;padding:10px 12px;background:#fff;border:1px solid #dce5f0;border-radius:14px;text-align:left;color:inherit}
 .mc-profile>span:nth-child(2){flex:1;min-width:0}.mc-profile strong{display:block;font-size:16px}.mc-profile small{display:block;font-size:12px;overflow-wrap:anywhere;color:#71839c}
 .mc-more-group{background:#fff;border:1px solid #dce5f0;border-radius:14px;padding:4px 12px;min-width:0}
 .mc-more-group h2{font-size:12px;color:#71839c;margin:8px 0 2px;letter-spacing:.03em}
 .mc-more-row{display:flex;align-items:center;gap:10px;border:0;border-top:1px solid #edf1f7;background:none;text-align:left;color:#15263f;width:100%;min-height:44px;padding:9px 0;font-size:14px;line-height:1.35}
 .mc-more-row svg{width:19px;height:19px;color:#71839c;flex:none}.mc-more-row>span:nth-child(2){flex:1;min-width:0}.mc-more-row small{display:block;color:#71839c;font-size:12px}
 .mc-signout{width:100%;min-height:44px;color:#bf344c!important;display:flex;align-items:center;justify-content:center;gap:8px}.mc-signout svg{width:18px;height:18px}
 /* Markets keep their existing live quote nodes and controls. */
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-search-bar{gap:8px;margin-bottom:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-primary-controls{display:grid;gap:6px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] :is(.search-field,.view-switch){margin:0;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .search-field input{font-size:14px;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] :is(.fx-market-scope,.market-quick-filters){display:flex;flex-wrap:wrap;gap:4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] :is(.fx-market-scope,.market-quick-filters,.view-switch) button{font-size:12px;min-height:44px;padding:7px 10px;flex:1}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] :is(.market-extra-filters,.fx-pair-explorer){margin:0;padding:0 10px;border-radius:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] :is(.market-extra-filters,.fx-pair-explorer)>summary{min-height:44px;font-size:12px;align-content:center;padding:8px 0;line-height:1.4}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-design-grid{margin-top:10px;gap:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-explorer{padding:10px 12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-currency-list{max-height:none;overflow:visible}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .fx-rate-row{grid-template-columns:minmax(90px,1fr) minmax(82px,1fr) 65px 44px;gap:0 5px;padding:6px 0;min-height:56px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .fx-rate-pair b{font-size:12px}.connected-member-workspace[data-mobile-compact-member] .fx-rate-pair{min-height:44px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .fx-rate-price{font-size:14px}.connected-member-workspace[data-mobile-compact-member] .fx-rate-day{font-size:12px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .fx-rate-more>summary{min-height:44px;line-height:1.4;font-size:12px;max-width:none;align-content:center}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-pagination{font-size:12px;margin-top:8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .fx-rate-actions .icon-button{width:44px;min-width:44px;min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] :is(.ad-account,.ad-support,.ad-notifications,.ad-legal) .card{padding:12px}
}

@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app:has(.connected-member-workspace[data-mobile-compact-member])>.mobile-nav[data-support-dock="true"]{padding-right:60px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] body:has(.connected-member-workspace[data-mobile-compact-member]) #fx-support-widget[data-launcher-dock="true"] #fx-support-launcher{width:44px!important;height:44px!important;right:8px!important;padding:10px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-search-bar{display:block;margin:0!important;gap:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-controls{display:block;margin:0!important;padding:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-primary-controls{display:grid;gap:6px!important;padding:0!important;margin:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .search-field{margin:0!important;padding:0 10px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-quick-filters{display:grid;grid-template-columns:1fr 1fr;margin:0!important;gap:6px!important}
 .mc-market-options{margin:4px 0 0;border:0;font-size:12px}.mc-market-options>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:6px 2px;cursor:pointer;color:#526b90}.mc-market-options>summary:after{content:'⌄';margin-left:8px}
 .mc-market-options-body{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding-bottom:10px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .mc-market-options-body>*{grid-area:auto!important;min-width:0}.mc-market-extra-quick{display:flex;gap:6px}.mc-market-extra-quick>button{flex:1;min-height:44px;font-size:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .mc-market-options :is(.view-switch,.fx-market-scope){width:100%!important;display:flex!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .mc-market-options .fx-pair-explorer{padding:0 10px!important;margin:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .market-design-grid{margin-top:0!important}
}

@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .mc-market-options .market-extra-filters>div{position:static!important;inset:auto!important;width:auto!important;max-width:100%!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member] .mc-market-extra-quick>button{min-height:44px!important;height:auto!important}
}

/* Smaller visible funding buttons; retain the original 44px touch targets. */
@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions>.btn{position:relative!important;isolation:isolate;min-width:52px!important;min-height:44px!important;padding:8px 6px!important;font-size:11px!important;font-weight:600!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#223451!important;transform:none!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions>.btn::before{content:'';position:absolute;inset:8px 0;z-index:-1;pointer-events:none;border-radius:7px;border:1px solid #d4dfec;background:#fff;box-sizing:border-box}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions>.btn.primary{color:#fff!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions>.btn.primary::before{background:#345bfa;border-color:#345bfa}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions>.btn:active::before{background:#eef2ff}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .connected-member-workspace[data-mobile-compact-member]>.topbar>.fixed-finance-actions>.btn.primary:active::before{background:#2449de;border-color:#2449de}
}

/* Keep mobile company details at the end of the page, compact by default. */
@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer:has(>.fx-mobile-company-info){position:static!important;float:none!important;display:block!important;margin:12px 10px 0!important;padding:0 0 12px!important;border-top:1px solid #dfe5ed!important;font-size:12px!important;line-height:1.45!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer:has(>.fx-mobile-company-info) .fx-footer-links{padding:0!important;margin:0!important;border:0!important;gap:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer:has(>.fx-mobile-company-info) .fx-legal-links{display:flex!important;flex-wrap:wrap!important;gap:0 12px!important;margin:0!important;padding:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer:has(>.fx-mobile-company-info) .fx-legal-links>:is(a,button){font-size:12px!important;line-height:1.3!important;min-height:44px!important;padding:6px 0!important;margin:0!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info{margin:0!important;padding:0!important;border:0;border-top:1px solid #e5eaf2;background:none;min-width:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:8px 0;color:#718099;font-size:12px;font-weight:500;list-style:none;cursor:pointer}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info>summary::-webkit-details-marker{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info>summary:after{content:'⌄';font-size:16px;margin-left:12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info[open]>summary:after{content:'⌃'}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info>summary:focus-visible{outline:2px solid #345bfa;outline-offset:2px;border-radius:4px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info>.fx-company-footer{margin:0!important;padding:4px 0 8px!important;border:0!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info .fx-company-footer h2{font-size:10px!important;line-height:1.4!important;margin:0 0 4px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info .fx-company-footer p{font-size:12px!important;line-height:1.5!important;margin:2px 0!important;overflow-wrap:anywhere}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info .fx-company-footer .fx-footer-company-name{font-size:14px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info .fx-company-footer a{font-size:12px!important}
}

@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main.public-workspace:has(>.fx-site-footer>.fx-mobile-company-info){padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
}

/* Source: admin-task-focus.css */
/* Staff task workspaces: presentation only; authorization and review forms are unchanged. */
.admin-design #admin-content.admin-task-focus .ad-task-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;padding:4px;width:fit-content;max-width:100%;border:1px solid #dfe6f2;border-radius:12px;background:#f5f7fb}
.admin-design #admin-content.admin-task-focus .ad-task-tabs>.btn{min-height:44px;padding:9px 16px;border:0;background:transparent;box-shadow:none;color:#61728d}
.admin-design #admin-content.admin-task-focus .ad-task-tabs>.btn[aria-pressed="true"]{background:#345bfa;color:white;border-radius:9px;box-shadow:0 2px 6px #345bfa1f}
.admin-design #admin-content.admin-task-focus .ad-task-details{margin:10px 0;border:1px solid #e0e7f2;border-radius:12px;background:#fff;overflow:visible}
.admin-design #admin-content.admin-task-focus .ad-task-details>summary{display:list-item;cursor:pointer;min-height:44px;padding:13px 16px;color:#566b89;font-size:14px;font-weight:600;list-style-position:inside;line-height:1.4}
.admin-design #admin-content.admin-task-focus .ad-task-details>summary:hover{background:#f7f9fc;border-radius:12px}
.admin-design #admin-content.admin-task-focus .ad-task-details>section{border:0;box-shadow:none;margin:0;padding:16px}
.admin-design #admin-content.admin-task-focus .ad-task-details>section>.ad-panel-head{display:none}
.admin-design #admin-content.admin-task-focus .ad-task-details>dl,.admin-design #admin-content.admin-task-focus .ad-task-details>.form-actions,.admin-design #admin-content.admin-task-focus .ad-task-details>.atafx-wallet-notice,.admin-design #admin-content.admin-task-focus .ad-task-details>.atafx-kyc-case-actions{margin:12px 16px}
.admin-design #admin-content.admin-task-focus .connected-admin-panel{padding:20px;margin-bottom:12px}
.admin-design #admin-content.admin-task-focus .ad-panel-head{margin-bottom:14px}
.admin-design #admin-content.admin-task-focus .ad-panel-head h2{font-size:18px;line-height:1.3}
.admin-design #admin-content.admin-task-focus .ad-amount-row strong{font-size:26px;overflow-wrap:anywhere}
.admin-design #admin-content.admin-task-focus .ad-task-address{font-size:16px;line-height:1.55;overflow-wrap:anywhere;margin:6px 0;color:#12243b}
.admin-design #admin-content.admin-task-focus .ad-task-primary-actions,.admin-design #admin-content.admin-task-focus .ad-task-decision,.admin-design #admin-content.admin-task-focus .ad-task-support-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px}
.admin-design #admin-content.admin-task-focus .ad-task-primary-actions .form-actions{margin:0}
.admin-design #admin-content.admin-task-focus .ad-task-primary-actions .deposit-window-countdown{font-size:12px;color:#718099;margin-left:auto}
.admin-design #admin-content.admin-task-focus .ad-task-primary-actions>.btn,.admin-design #admin-content.admin-task-focus .ad-task-primary-actions .btn,.admin-design #admin-content.admin-task-focus .ad-sticky-actions>.btn,.admin-design #admin-content.admin-task-focus .ad-task-decision>.btn,.admin-design #admin-content.admin-task-focus .ad-task-support-actions>.btn{min-height:44px;padding:10px 22px}
.admin-design #admin-content.admin-task-focus .ad-task-decision>.btn[aria-pressed="true"]{outline:2px solid #345bfa;outline-offset:2px}
.admin-design #admin-content.admin-task-focus .ad-queue .ad-record{padding:14px;min-height:76px}
.admin-design #admin-content.admin-task-focus .ad-queue .ad-record b,.admin-design #admin-content.admin-task-focus .ad-queue .ad-record small{overflow-wrap:anywhere}
.admin-design #admin-content.admin-task-focus .atafx-deposit-queue-actions{padding:0 12px 8px}
.admin-design #admin-content.admin-task-focus .atafx-deposit-queue-actions .btn{min-height:44px;padding:8px 12px;font-size:12px}
.admin-design #admin-content.admin-task-focus .ad-verification-workbench .atafx-kyc-table{font-size:14px}
.admin-design #admin-content.admin-task-focus .ad-facts{font-size:14px;gap:9px 16px;line-height:1.5}
.admin-design #admin-content.admin-task-focus .ad-facts dd{overflow-wrap:anywhere}
.admin-design #admin-content.admin-task-focus .ad-sticky-actions{display:flex;gap:8px;flex-wrap:wrap}
.admin-design #admin-content.admin-task-focus .ad-sticky-actions>.btn{min-width:110px}
.admin-design #admin-content.admin-task-focus .ad-chat-title{padding:14px 16px}
.admin-design #admin-content.admin-task-focus .ad-chat-title h2{font-size:18px}
.admin-design #admin-content.admin-task-focus .ad-chat-title p{font-size:12px;line-height:1.4}
.admin-design #admin-content.admin-task-focus .ad-support-form{padding:16px;gap:10px}
.admin-design #admin-content.admin-task-focus .hc-staff-reply-row textarea{min-height:74px}
.admin-design #admin-content.admin-task-focus .hc-staff-reply-row>.btn{min-height:44px}
.admin-design #admin-content.admin-task-focus .ad-task-support-actions{margin-top:0;justify-content:flex-end}
.admin-design #admin-content.admin-task-focus #ad-overview .connected-overview-primary{grid-template-columns:minmax(0,1fr)}
.admin-design #admin-content.admin-task-focus #ad-work-queue{margin-bottom:0}
.admin-design #admin-content.admin-task-focus #ad-payment-recipient .meta{font-size:12px;margin-bottom:0}
.fx-payment-voice [data-payment-voice="enable"][hidden]{display:none!important}
.fx-payment-voice [data-payment-voice="enable"]{min-height:44px}
@media(max-width:760px){
 .admin-design #admin-content.admin-task-focus .connected-admin-panel{padding:14px;border-radius:14px}
 .admin-design #admin-content.admin-task-focus .ad-task-tabs{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
 .admin-design #admin-content.admin-task-focus .ad-task-tabs>.btn{font-size:12px;padding:8px 5px;white-space:normal;line-height:1.3}
 .admin-design #admin-content.admin-task-focus .ad-task-details>summary{padding:12px;font-size:14px}
 .admin-design #admin-content.admin-task-focus .ad-task-details>section{padding:12px}
 .admin-design #admin-content.admin-task-focus .ad-panel-head h2{font-size:17px}
 .admin-design #admin-content.admin-task-focus .ad-amount-row strong{font-size:23px}
 .admin-design #admin-content.admin-task-focus .ad-facts{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);font-size:13px;gap:8px}
 .admin-design #admin-content.admin-task-focus .ad-task-address{font-size:14px}
 .admin-design #admin-content.admin-task-focus .ad-task-primary-actions>.btn,.admin-design #admin-content.admin-task-focus .ad-task-primary-actions .form-actions,.admin-design #admin-content.admin-task-focus .ad-sticky-actions>.btn{flex:1}
 .admin-design #admin-content.admin-task-focus .ad-task-primary-actions .deposit-window-countdown{order:3;flex-basis:100%;margin-left:0}
 .admin-design #admin-content.admin-task-focus .ad-task-primary-actions .form-actions .btn{width:100%}
 .admin-design #admin-content.admin-task-focus .ad-controls{margin-bottom:12px}
 .admin-design #admin-content.admin-task-focus .ad-controls input,.admin-design #admin-content.admin-task-focus .ad-controls select{min-height:44px;font-size:14px}
 .admin-design #admin-content.admin-task-focus .ad-support-form{padding:12px}
 .admin-design #admin-content.admin-task-focus .ad-task-support-actions>.btn{width:100%}
}
.admin-design #admin-content.admin-task-focus [data-admin-deposit-reject][hidden]{display:none!important}
.admin-design #admin-content.admin-task-focus .ad-task-primary-actions>.form-actions:has([data-admin-deposit-reject][hidden]){display:none}
.admin-design #admin-content.admin-task-focus :is(.ad-detail,.atafx-wallet-detail,.atafx-kyc-detail){gap:12px}
.admin-design #admin-content.admin-task-focus :is(.ad-detail,.atafx-wallet-detail,.atafx-kyc-detail)>.connected-admin-panel,
.admin-design #admin-content.admin-task-focus :is(.ad-detail,.atafx-wallet-detail,.atafx-kyc-detail)>.ad-task-details{margin:0}
.admin-design #admin-content.admin-task-focus .ad-task-primary-actions .form-actions .btn{min-width:110px;white-space:normal}

.admin-design:has(#admin-content.admin-task-focus) :is(.ad-header,.atafx-kyc-header,.atafx-wallet-header,.atafx-support-header){margin-bottom:14px}
.admin-design:has(#admin-content.admin-task-focus) :is(.ad-header,.atafx-kyc-header,.atafx-wallet-header,.atafx-support-header) h1{font-size:26px;margin:5px 0;line-height:1.2}
.admin-design:has(#admin-content.admin-task-focus) .ad-page-nav{margin-bottom:16px;padding-bottom:10px}
.admin-design #admin-content.admin-task-focus #ad-payment-summary>p.meta{margin:6px 0 14px;font-size:13px}
.admin-design #admin-content.admin-task-focus #ad-payment-summary>:is(#ad-payment-recipient,#ad-payment-action){padding:12px 0 0;margin:12px 0 0;border:0;border-top:1px solid #e5ebf4;border-radius:0;box-shadow:none}
.admin-design #admin-content.admin-task-focus #ad-payment-recipient .ad-panel-head{margin:0 0 7px}
.admin-design #admin-content.admin-task-focus #ad-payment-recipient .ad-panel-head h2{font-size:14px;color:#61728d}
.admin-design #admin-content.admin-task-focus #ad-payment-action>.ad-panel-head{display:none}
.admin-design #admin-content.admin-task-focus #ad-payment-action .atafx-wallet-notice{margin:0 0 12px;padding:10px 12px}
.admin-design #admin-content.admin-task-focus #ad-payment-action .atafx-wallet-notice p{margin:0;font-size:13px;line-height:1.45}
@media(max-width:760px){
 .admin-design:has(#admin-content.admin-task-focus) :is(.ad-header,.atafx-kyc-header,.atafx-wallet-header,.atafx-support-header) h1{font-size:22px}
 .admin-design #admin-content.admin-task-focus :is(#ad-payments,#ad-deposits,#ad-verification):has(.ad-workbench[data-mobile-detail="true"])>:is(.ad-task-tabs,.ad-controls,.ad-pagination,.ad-task-details,.ad-verification-filter-summary,.atafx-deposit-queue-toolbar){display:none}
 .admin-design #admin-content.admin-task-focus .ad-workbench[data-mobile-detail="true"] .ad-back-to-queue{min-height:44px;margin:0}
 .admin-design #admin-content.admin-task-focus #ad-payment-summary>.ad-panel-head{margin-bottom:12px}
 .admin-design #admin-content.admin-task-focus #ad-payment-summary>:is(#ad-payment-recipient,#ad-payment-action){padding-top:10px;margin-top:10px}
}
.admin-design:has(#admin-content.admin-task-focus) :is(.ad-header,.atafx-kyc-header,.atafx-wallet-header,.atafx-support-header){padding:0}
.admin-design #admin-content.admin-task-focus #ad-payment-summary>.ad-panel-head{margin-bottom:12px}
.admin-design #admin-content.admin-task-focus .ad-amount-row{margin:10px 0 6px}
.admin-design #admin-content.admin-task-focus #ad-payment-summary>p.meta{margin:0 0 10px}
@media(max-width:760px){
 .admin-design:has(#admin-content.admin-task-focus) :is(.ad-header,.atafx-kyc-header,.atafx-wallet-header,.atafx-support-header){display:flex;flex-direction:row;align-items:center;gap:8px;min-height:0;padding:0;margin-bottom:8px}
 .admin-design:has(#admin-content.admin-task-focus) :is(.ad-header,.atafx-kyc-header,.atafx-wallet-header,.atafx-support-header) h1{font-size:20px;margin:0}
 .admin-design:has(#admin-content.admin-task-focus) .ad-header-tools{margin:0;gap:6px;flex-wrap:nowrap}
 .admin-design:has(#admin-content.admin-task-focus) .ad-header-tools .btn{padding:8px;min-height:44px;font-size:12px}
 .admin-design:has(#admin-content.admin-task-focus) .ad-page-nav{margin-top:0;margin-bottom:12px;padding-bottom:8px}
 .admin-design #admin-content.admin-task-focus #ad-deposits:has(.ad-workbench[data-mobile-detail="true"])>.atafx-deposit-queue-views{display:none}
}

/* Staff list removal: reserved action space; no overlay on record amounts. */
.admin-design .ad-task-record{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start;gap:8px;min-width:0}
.admin-design .ad-task-record>button:not(.ad-task-remove){min-width:0;width:100%}
.admin-design .ad-task-remove{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;border:1px solid var(--line,#dce4f2);border-radius:10px;background:#fff;color:#75839b;font-size:20px;line-height:1;cursor:pointer}
.admin-design .ad-task-remove:hover{color:#bf3346;background:#fff4f5;border-color:#e7acb4}
.admin-design .ad-task-remove:focus-visible{outline:2px solid #3158ef;outline-offset:2px}
.admin-design .ad-task-remove:disabled{opacity:.5;cursor:wait}
.admin-design .ad-task-record .ad-task-remove{margin-top:4px}

/* Source: responsive-workspace.css */
/* Responsive finishing layer. Presentation only; no hidden records or page scaling. */
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.main,#page-content,.card,.design-inset,.design-two-column,.ad-panel,.connected-admin-panel,.ad-detail,.ad-queue,.ad-workbench,.ad-grid-2,.ad-grid-7-5,.ad-audit-workspace,.atafx-wallet-detail,.atafx-kyc-detail,.atafx-support-detail){min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.design-two-column,.ad-workbench,.ad-grid-2,.ad-grid-7-5,.ad-audit-workspace,.form-grid,.ad-form)>*{min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.page-header,.card-head,.ad-panel-head,.ad-controls,.ad-pagination,.form-actions){max-width:100%;flex-wrap:wrap}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.page-header,.card-head,.ad-panel-head)>:is(div,h1,h2,h3,p){min-width:0;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.definition,.ad-facts,.statement-summary-facts) :is(dt,dd){min-width:0;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app .wallet-allocation .definition dd{white-space:normal;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.ad-record,.deposit-request-state,.design-value,.quote-head)>*{min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.ad-record,.deposit-request-state) :is(b,strong,small){overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.ad-controls,.design-filters) :is(label,input,select){max-width:100%;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.table-wrap,.ad-table-wrap,.table-scroll){max-width:100%;min-width:0;overscroll-behavior-x:contain}
/* Keep wide records scrollable inside their existing table container. */
@media(min-width:761px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.table-wrap,.ad-table-wrap,.table-scroll){overflow-x:auto}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main:not(.connected-staff-workspace){--connected-header:72px;padding-top:var(--connected-header)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main>.topbar{gap:clamp(10px,1.2vw,18px);min-width:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main:not(.connected-staff-workspace)>.topbar{height:var(--connected-header);min-height:var(--connected-header)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content{padding-top:18px;padding-bottom:20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar{padding-top:22px;padding-bottom:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .brand{flex-shrink:0;padding-bottom:20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-caption{margin-bottom:10px;flex-shrink:0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar nav{gap:3px;align-content:start}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item{min-height:44px;padding-top:10px;padding-bottom:10px;line-height:1.35}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .sidebar-foot{padding-top:12px;line-height:1.55}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .sidebar-foot p{margin:3px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar :is(.connection-status,.clock){margin:3px 0}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .ad-sidebar-group>summary{min-height:44px;line-height:1.35}
}
@media(min-width:1201px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app{--connected-sidebar:clamp(198px,15vw,224px);--connected-gutter:clamp(22px,2vw,36px)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar{padding-left:14px;padding-right:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.sidebar .nav-item{gap:11px;padding-left:12px;padding-right:12px}
}
/* A tablet still has a useful workspace, rather than squeezed desktop columns. */
@media(min-width:761px) and (max-width:1100px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app>.main{--connected-gutter:20px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .design-two-column:has(>.wallet-allocation){grid-template-columns:minmax(0,1fr);grid-template-areas:"actions" "allocation"}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .wallet-actions{grid-area:actions;grid-column:1;grid-row:1}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .wallet-allocation{grid-area:allocation;grid-column:1;grid-row:2}
 html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.ad-audit-workspace,.currency-detail-page .currency-chart-detail){grid-template-columns:minmax(0,1fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .currency-chart-detail .market-chart-secondary{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:14px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .market-design-grid.market-preview-grid{display:block}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .market-preview-column{margin-top:16px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .topbar .account-name{max-width:100px;overflow-wrap:anywhere;white-space:normal}
}
/* Dialog contents scroll within the screen; no page-level clipping or fixed body. */
html.fx-connected-design.fx-unified-theme[data-theme] #modal{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overscroll-behavior:contain}
html.fx-connected-design.fx-unified-theme[data-theme] #modal-content{min-width:0;max-width:100%;overflow-wrap:anywhere}
html.fx-connected-design.fx-unified-theme[data-theme] #modal-content :is(.form-grid,.design-two-column,.stack,.form-actions,form,fieldset){min-width:0;max-width:100%}
html.fx-connected-design.fx-unified-theme[data-theme] #modal-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.ad-controls,.ad-pagination) :is(.btn,button,select,input){min-height:44px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app :is(.ad-controls,.ad-pagination)>.btn{white-space:normal}
 html.fx-connected-design.fx-unified-theme[data-theme] #modal-content .form-actions{display:flex;flex-wrap:wrap;gap:8px}
 html.fx-connected-design.fx-unified-theme[data-theme] #modal-content .form-actions>.btn{min-height:44px;min-width:0;white-space:normal}
 html.fx-connected-design.fx-unified-theme[data-theme] #modal-content :is(.form-grid,.design-two-column){grid-template-columns:minmax(0,1fr)}
 html.fx-connected-design.fx-unified-theme[data-theme] #modal-content :is(.form-grid,.design-two-column)>.full{grid-column:auto}
}
/* Align every desktop route to the same fluid content edge. */
@media(min-width:761px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app #page-content{padding-left:var(--connected-gutter)!important;padding-right:var(--connected-gutter)!important}
}
html.fx-connected-design.fx-unified-theme[data-theme] #modal-content .modal-heading :is(.icon-button,button[data-action="close"]){min-width:44px;min-height:44px!important}
@media(max-width:760px){
 html.fx-connected-design.fx-unified-theme[data-theme] #app .ad-account>.ad-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .ad-account>.ad-tabs>button{width:100%!important;min-width:0;min-height:44px!important;padding:8px!important;white-space:normal;line-height:1.3}
}


/* Source: home-workspace-finish.css */
/* Static member Home companion and compact existing company footer. */
html.fx-unified-theme[data-theme] #app .fx-member-home-finish{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:0;margin:0 var(--connected-gutter,28px) 16px;border:1px solid #dce5ef;border-radius:18px;background:#fff;overflow:hidden;min-width:0}
html.fx-unified-theme[data-theme] #app .fx-home-access-card{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(140px,1fr);align-items:center;gap:12px;min-width:0;padding:20px 24px;background:radial-gradient(ellipse at 90% 90%,#15304b 0,transparent 65%),#0b192b;color:#fff}
html.fx-unified-theme[data-theme] #app .fx-home-access-copy{min-width:0}
html.fx-unified-theme[data-theme] #app .fx-home-access-kicker{display:block;color:#9fb7e2;font-size:10px;font-weight:650;letter-spacing:.12em;line-height:1.4;margin:0 0 8px}
html.fx-unified-theme[data-theme] #app .fx-home-access-copy h2{margin:0;color:#fff;font-size:clamp(18px,1.55vw,24px);line-height:1.2;letter-spacing:-.025em;font-weight:650}
html.fx-unified-theme[data-theme] #app .fx-home-access-copy p{margin:8px 0 2px;color:#bccce1;font-size:12px;line-height:1.5;max-width:30em}
html.fx-unified-theme[data-theme] #app .fx-home-access-copy>a{display:inline-flex;align-items:center;justify-content:flex-start;gap:14px;min-height:44px;color:#b9c9ff;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none}
html.fx-unified-theme[data-theme] #app .fx-home-access-copy>a:hover{color:#fff;text-decoration:underline}
html.fx-unified-theme[data-theme] #app .fx-home-access-card>img{display:block;width:100%;height:auto;max-width:320px;justify-self:end;object-fit:contain;filter:drop-shadow(0 7px 15px #0003)}
html.fx-unified-theme[data-theme] #app .fx-home-useful-links{display:grid;align-content:center;gap:0;padding:8px 18px;min-width:0}
html.fx-unified-theme[data-theme] #app .fx-home-useful-links>a{display:grid;grid-template-columns:32px minmax(0,1fr) 14px;align-items:center;gap:10px;min-width:0;min-height:60px;padding:9px 0;color:#243951;text-decoration:none;border-bottom:1px solid #e9eef5}
html.fx-unified-theme[data-theme] #app .fx-home-useful-links>a:last-child{border-bottom:0}
html.fx-unified-theme[data-theme] #app .fx-home-shortcut-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:#526cf3;background:#f1f4ff;border-radius:9px}
html.fx-unified-theme[data-theme] #app .fx-home-shortcut-icon svg{width:17px;height:17px}
html.fx-unified-theme[data-theme] #app .fx-home-useful-links strong{display:block;font-size:13px;font-weight:600;line-height:1.4}
html.fx-unified-theme[data-theme] #app .fx-home-useful-links small{display:block;color:#708198;font-size:12px;line-height:1.4;margin-top:2px}
html.fx-unified-theme[data-theme] #app .fx-home-useful-links b{font-size:14px;font-weight:500;color:#6e86a6}
html.fx-unified-theme[data-theme] #app .fx-home-useful-links>a:hover strong{color:#345bfa}
html.fx-unified-theme[data-theme] #app .fx-member-home-finish a:focus-visible{outline:2px solid #6e91ff;outline-offset:3px;border-radius:5px}
/* Keep every supplied company/contact field, using two balanced columns. */
html.fx-connected-design.fx-unified-theme[data-theme] #app .main>.fx-site-footer{margin:8px var(--connected-gutter,28px) 0;padding:8px 0 20px;border-top:1px solid #dfe5ed;line-height:1.5}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-footer-links{padding:0;margin:0;border:0;gap:4px 20px}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-legal-links{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;margin:0;padding:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-legal-links>a{display:inline-flex;align-items:center;min-height:44px;padding:4px 0;color:#62758d;font-size:12px;line-height:1.4}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin:0;padding:12px 0 0;border-top:1px solid #e5eaf2;min-width:0}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer h2{margin:0 0 5px;font-size:10px;line-height:1.4;letter-spacing:.07em;color:#78879a}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer p{margin:2px 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#718099}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer .fx-footer-company-name{font-size:14px;color:#344a63}
html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer .fx-company-footer a{font-size:12px;line-height:1.4;min-height:44px;max-width:100%;overflow-wrap:anywhere}
@media(min-width:761px){
 html.fx-unified-theme[data-theme] #app .fx-home-useful-links{padding-right:76px}
 html.fx-unified-theme[data-theme] #app .fx-member-home-finish{width:calc(100% - 2 * var(--connected-gutter,28px));max-width:calc(1700px - 2 * var(--connected-gutter,28px));margin-inline:auto}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .main>.fx-site-footer{width:calc(100% - 2 * var(--connected-gutter,28px));max-width:calc(1700px - 2 * var(--connected-gutter,28px));margin-inline:auto}
}
@media(max-width:1050px) and (min-width:761px){
 html.fx-unified-theme[data-theme] #app .fx-member-home-finish{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr)}
 html.fx-unified-theme[data-theme] #app .fx-home-access-card{padding:18px;grid-template-columns:minmax(0,1fr) 130px}
 html.fx-unified-theme[data-theme] #app .fx-home-useful-links{padding-left:14px;padding-right:76px}
}
@media(max-width:760px){
 html.fx-unified-theme[data-theme] #app .fx-member-home-finish{grid-template-columns:minmax(0,1fr);margin:0 10px 12px;border-radius:14px}
 html.fx-unified-theme[data-theme] #app .fx-home-access-card{grid-template-columns:minmax(0,1fr) 108px;gap:8px;padding:14px 16px}
 html.fx-unified-theme[data-theme] #app .fx-home-access-kicker{font-size:9px;letter-spacing:.1em;margin-bottom:6px}
 html.fx-unified-theme[data-theme] #app .fx-home-access-copy h2{font-size:18px;line-height:1.2}
 html.fx-unified-theme[data-theme] #app .fx-home-access-copy p{font-size:12px;line-height:1.4;margin:6px 0 0}
 html.fx-unified-theme[data-theme] #app .fx-home-access-copy>a{font-size:12px;gap:8px}
 html.fx-unified-theme[data-theme] #app .fx-home-useful-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:8px}
 html.fx-unified-theme[data-theme] #app .fx-home-useful-links>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;padding:4px 6px;text-align:center;border:0;border-right:1px solid #e9eef5}
 html.fx-unified-theme[data-theme] #app .fx-home-useful-links>a:last-child{border:0}
 html.fx-unified-theme[data-theme] #app .fx-home-shortcut-icon{width:24px;height:24px;border-radius:7px}
 html.fx-unified-theme[data-theme] #app .fx-home-shortcut-icon svg{width:15px;height:15px}
 html.fx-unified-theme[data-theme] #app .fx-home-useful-links strong{font-size:12px;line-height:1.35;font-weight:600}
 html.fx-unified-theme[data-theme] #app .fx-home-useful-links small,html.fx-unified-theme[data-theme] #app .fx-home-useful-links>a>b{display:none}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .main>.fx-site-footer{margin:8px 10px 0;padding:0 0 12px}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-site-footer:has(>.fx-mobile-company-info){margin-top:8px!important}
 html.fx-connected-design.fx-unified-theme[data-theme] #app .fx-mobile-company-info>.fx-company-footer{padding-top:8px!important;gap:12px!important}
}
@media(max-width:370px){
 html.fx-unified-theme[data-theme] #app .fx-home-access-card{grid-template-columns:minmax(0,1fr) 86px;padding-inline:12px}
}

/* Source: member-dialog-layout.css */
/* Member popup layout. Presentation only; the shared staff dialog is excluded.
   Each existing form retains its own submit handlers and data. */
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal {
  --member-dialog-width: 560px;
  --member-dialog-pad: 20px;
  --member-dialog-screen: 100vh;
  --member-dialog-space: 32px;
  --member-dialog-limit: calc(var(--member-dialog-screen) - var(--member-dialog-space) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  width: min(var(--member-dialog-width), calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))) !important;
  min-width: 0 !important;
  max-width: calc(100% - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) !important;
  height: fit-content !important;
  min-height: 0 !important;
  max-height: var(--member-dialog-limit) !important;
  margin: auto !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  scroll-padding-block: 80px 20px;
  scrollbar-width: thin;
  scrollbar-gutter: auto !important;
}
@supports (height: 100dvh) {
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal { --member-dialog-screen: 100dvh; }
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(:is(.ad-kyc-wizard,.fx-additional-documents)) { --member-dialog-width: 640px; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(:is(table,.ad-trading-consent,.ad-legal-reader,.legal-reader)) { --member-dialog-width: 760px; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(:is(#auto-resume-consent-form,#auto-trading-status-result,.fx-trading-action-dialog)) { --member-dialog-width: 480px; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal > #modal-content {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: var(--member-dialog-pad) !important;
  overflow-wrap: anywhere;
  font-size: .875rem;
  line-height: 1.5;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:not(:has(.fx-payment-layout)) > #modal-content {
  max-height: none !important;
  overflow: visible !important;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal > #modal-content > .modal-heading {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  margin: calc(-1 * var(--member-dialog-pad)) calc(-1 * var(--member-dialog-pad)) 16px !important;
  padding: 12px var(--member-dialog-pad) !important;
  border-bottom: 1px solid #e1e7f0;
  background: #fff;
  isolation: isolate;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .modal-heading h2 {
  min-width: 0;
  margin: 0 !important;
  font-size: 1.25rem !important;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .modal-heading > :is(.icon-button,button[data-action="close"]) {
  box-sizing: border-box;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 10px !important;
  margin: 0;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(form,fieldset,.stack,.form-grid,.ad-form,.grid-2,.design-two-column,.definition,.form-actions,.actions) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.form-grid,.ad-form,.grid-2,.design-two-column,.definition,.form-actions,.actions) > * { min-width: 0; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(p,li,dt,dd,code,strong,h3,h4,.meta,.footnote) { overflow-wrap: anywhere; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.stack,.form-grid,.ad-form) { gap: 14px; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(button,.btn,.text-button,summary) { max-width: 100%; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.btn,.text-button) { white-space: normal; overflow-wrap: anywhere; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.form-actions,.actions,.ad-kyc-actions,.ad-trading-consent-actions) {
  flex-wrap: wrap;
  gap: 8px;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.form-actions,.actions) { margin-top: 16px; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.form-actions,.actions,.ad-kyc-actions,.ad-trading-consent-actions) > :is(button,.btn,a) {
  min-width: 0;
  min-height: 44px;
  line-height: 1.35;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.table-wrap,.table-scroll,.ad-table-wrap) { min-width: 0; max-width: 100%; overflow-x: auto; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal pre { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(img,video,canvas,iframe) { max-width: 100%; box-sizing: border-box; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.ad-kyc-preview img,.fx-additional-file img,video,iframe) { max-height: min(340px,50dvh); object-fit: contain; }
/* Preserve the payment form's existing scroll area and fixed action footer. */
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(.fx-payment-layout) { overflow: hidden !important; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(.fx-payment-layout) > #modal-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(var(--member-dialog-limit) - 2px) !important;
  overflow: hidden;
}
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(.fx-payment-layout) .modal-heading { position: relative; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .fx-payment-layout { flex: 1 1 auto; min-height: 0; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .fx-payment-scroll { min-height: 0; scroll-padding-block: 12px; }
html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .fx-payment-layout > .fx-payment-footer { flex-shrink: 0; }
@media (max-width: 600px) {
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal {
    --member-dialog-pad: 14px;
    --member-dialog-space: 20px;
    width: calc(100% - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) !important;
    max-width: calc(100% - 20px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) !important;
    border-radius: 14px !important;
  }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal > #modal-content > .modal-heading { margin-bottom: 12px !important; padding-block: 9px !important; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .modal-heading h2 { font-size: 1.125rem !important; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.form-grid,.ad-form,.grid-2,.design-two-column) { grid-template-columns: minmax(0,1fr) !important; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.form-grid,.ad-form,.grid-2,.design-two-column) > .full { grid-column: 1 / -1; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea) { font-size: 16px !important; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(button,.btn,.text-button,summary) { min-height: 44px; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.form-actions,.actions) > :is(button,.btn) { flex: 1 1 130px; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal :is(.stack,.form-grid,.ad-form) { gap: 12px; }
}
/* Short/landscape windows need a single scroll surface, rather than a footer
   consuming the remaining input area. The same controls stay in document order. */
@media (max-height: 480px) {
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal { --member-dialog-space: 16px; --member-dialog-pad: 12px; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(.fx-payment-layout) { overflow: auto !important; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(.fx-payment-layout) > #modal-content { display: block; max-height: none !important; overflow: visible; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal:has(.fx-payment-layout) .modal-heading { position: sticky; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .fx-payment-layout { display: block; overflow: visible; }
  html.fx-unified-theme[data-theme]:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) body dialog#modal .fx-payment-scroll { overflow: visible; max-height: none; }
}

/* Source: member-notice-layout.css */
/* Member-only auxiliary dialogs. Financial and notification behavior stays in its existing scripts. */
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) dialog:is(#member-approval-notice,#member-deposit-credit-notice,#member-trading-summary,#profit-balance-help-dialog,#private-evidence-dialog) {
  box-sizing:border-box;min-width:0;min-height:0;
  width:min(var(--member-notice-width,500px),calc(100vw - 32px));
  max-width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  margin:auto;overscroll-behavior:contain;overflow:auto;overflow-wrap:anywhere;
  scrollbar-width:thin;border-radius:16px;
}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) dialog:is(#member-approval-notice,#member-deposit-credit-notice,#member-trading-summary,#profit-balance-help-dialog,#private-evidence-dialog) :is(button,.btn) {min-height:44px;white-space:normal;max-width:100%;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) dialog:is(#member-approval-notice,#member-trading-summary)[open] {display:flex;flex-direction:column;overflow:hidden;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice .man-main,#member-trading-summary .mts-body) {min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 24px 16px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice .man-footer,#member-trading-summary .mts-footer) {flex:none;padding:12px 24px 18px;border-top:1px solid #e7ebf2;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice .man-footer-note,#member-trading-summary .mts-acknowledgement) {margin:8px 0 0;font-size:12px;line-height:1.4;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice h2,#member-deposit-credit-notice h2,#member-trading-summary h2) {font-size:23px;line-height:1.3;margin:0 0 12px;letter-spacing:-.4px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-approval-notice .man-success {width:44px;height:44px;margin:18px 0 14px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-approval-notice .man-intro {font-size:14px;line-height:1.5;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-approval-notice .man-services {margin-top:16px;padding:0 12px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-approval-notice .man-service {padding:11px 0;gap:10px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-approval-notice .man-status {font-size:12px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-deposit-credit-notice {--member-notice-width:460px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-deposit-credit-notice .mdc-main {padding:22px 24px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-deposit-credit-notice h2 {margin-top:18px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-deposit-credit-notice .mdc-amount {font-size:28px;line-height:1.3;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-deposit-credit-notice .mdc-balances {margin:14px 0;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-deposit-credit-notice .mdc-balances>div {gap:6px 12px;padding:10px 0;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary {--member-notice-width:540px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-top {margin-bottom:16px;flex-wrap:wrap;gap:8px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-pill {font-size:12px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-date {margin:10px 0 14px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-return {padding:14px 16px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-return strong {font-size:30px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-count {padding:12px 0;flex-wrap:wrap;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-breakdown>div {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 14px;padding:10px 0;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-breakdown small {font-size:12px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-note {padding:10px 12px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #profit-balance-help-dialog {padding:20px 24px;--member-notice-width:520px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #profit-balance-help-dialog[open] {display:flex;flex-direction:column;overflow:hidden;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #profit-balance-help-dialog .profit-help-heading {flex:none;align-items:center;gap:10px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #profit-balance-help-dialog .profit-help-heading h2 {font-size:20px;line-height:1.3;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #profit-help-body {min-height:0;overflow:auto;overscroll-behavior:contain;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #profit-balance-help-dialog p {font-size:14px;line-height:1.55;margin:12px 0;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #profit-balance-help-dialog .form-actions {flex:none;margin:12px 0 0;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #private-evidence-dialog {--member-notice-width:860px;padding:20px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #private-evidence-dialog .modal-heading {gap:10px;align-items:center;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #private-evidence-dialog h2 {font-size:20px;line-height:1.35;flex:1 1 180px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #private-evidence-dialog :is(img,video) {max-width:100%;height:auto;max-height:65dvh;object-fit:contain;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #private-evidence-dialog pre {white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] {box-sizing:border-box;min-width:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - var(--fx-chat-bottom,20px) - 12px);overflow-wrap:anywhere;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] :is(.fx-chat-window-actions button,.fx-chat-tabs button,.hc-attach-control>summary) {min-height:44px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-window-actions button {width:44px;min-width:44px;height:44px;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading {align-items:center;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-chat-heading>div:first-child {min-width:0;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-message-alert {max-width:calc(100vw - 32px);max-height:calc(100dvh - 104px - env(safe-area-inset-bottom,0px));overflow:auto;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-message-alert .fx-support-alert-heading button {width:44px;min-width:44px;height:44px;flex:none;}
html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-message-alert .btn {min-height:44px;white-space:normal;}
@media(max-width:480px) {
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) dialog:is(#member-approval-notice,#member-deposit-credit-notice,#member-trading-summary,#profit-balance-help-dialog,#private-evidence-dialog) {width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:14px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice .man-main,#member-trading-summary .mts-body,#member-deposit-credit-notice .mdc-main) {padding:18px 16px 14px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice .man-footer,#member-trading-summary .mts-footer) {padding:12px 16px 14px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice h2,#member-deposit-credit-notice h2,#member-trading-summary h2) {font-size:21px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-breakdown>div {grid-template-columns:minmax(0,1fr);gap:4px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-breakdown dd {text-align:left;font-size:16px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-trading-summary .mts-return strong {font-size:28px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#profit-balance-help-dialog,#private-evidence-dialog) {padding:16px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] {right:12px;width:calc(100vw - 24px);}
}
@media(max-height:620px) {
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) :is(#member-approval-notice .man-main,#member-trading-summary .mts-body,#member-deposit-credit-notice .mdc-main) {padding-top:14px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #member-approval-notice .man-success {margin:12px 0;width:36px;height:36px;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] {height:calc(100dvh - var(--fx-chat-bottom,20px) - 12px);}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] .fx-support-body {overflow:auto;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] :is(.hc-support,.hc-grid,.hc-chat) {height:auto;flex:1 0 auto;overflow:visible;}
  html:is([data-entry-bundle="member"],[data-entry-bundle="auth-member"],[data-entry-bundle="auth"]):not(:has(meta[name="atafx-entry-mode"][content="staff"])) #fx-support-widget #fx-support-panel[data-chat-audience=member] .hc-messages {min-height:100px;max-height:180px;flex:1 0 100px;}
}