/* FZ PAY / Material-inspired workspace. All fonts and assets are served locally. */
:root,html[data-theme=white]{--bg:#f5f7fb;--surface:#fff;--surface2:#f1f4fa;--line:#e6eaf0;--text:#202632;--ink:#202632;--muted:#6b7282;--accent:#1a73e8;--soft:#e8f0fe;--page:var(--bg);--card:var(--surface);--header:var(--surface);--shadow:0 6px 24px #19345306;color-scheme:light}
html[data-theme=silver]{--bg:#101215;--surface:#1b1e23;--surface2:#242830;--line:#31363e;--text:#f0f3f9;--ink:#f0f3f9;--muted:#a7b0bf;--accent:#8ab4f8;--soft:#24354e;--page:var(--bg);--card:var(--surface);--header:var(--surface);--shadow:0 6px 24px #0001;color-scheme:dark}
*{box-sizing:border-box}html{font-family:Inter,'Segoe UI',Arial,sans-serif;scroll-behavior:smooth}body{background:var(--bg);color:var(--text);font:14px/1.6 Inter,'Segoe UI',Arial,sans-serif;margin:0}button,input,select,textarea{font:inherit}a{color:var(--accent)}h1,h2,h3,h4{color:var(--text);letter-spacing:-.035em}h1{font-size:34px;font-weight:650;margin:0 0 8px;line-height:1.2}h2{font-size:27px;font-weight:650}h3{font-size:18px;font-weight:630;margin:0 0 10px}h4{font-size:15px;font-weight:600}p{color:var(--muted);font-size:13px;line-height:1.8}small{color:var(--muted)}img{max-width:100%}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;border:1px solid transparent;border-radius:10px;background:#1a73e8;color:#fff;font-weight:600;font-size:13px;padding:10px 18px;box-shadow:none;cursor:pointer;text-decoration:none;transition:background .16s,border .16s,box-shadow .16s}button:hover,.button:hover{background:#155fc1;box-shadow:0 2px 7px #1a73e81f;transform:none}button.secondary,.button.secondary{background:var(--surface);border:1px solid var(--line);color:var(--text);box-shadow:none}.secondary:hover{border-color:var(--accent);background:var(--soft)}button:disabled{opacity:.4;cursor:not-allowed}button.danger{background:#b3261e;color:#fff}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}label{font-size:12px;color:var(--muted);font-weight:500;display:block;margin:0 0 15px}input,select,textarea{display:block;width:100%;margin-top:7px;min-height:45px;padding:11px 13px;border:1px solid var(--line);border-radius:10px;color:var(--text);background:var(--surface);outline:none;box-shadow:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 9%,transparent)}input::placeholder{color:var(--muted);opacity:.65}input[type=checkbox],input[type=radio]{display:inline-block;min-height:0;width:17px;height:17px;accent-color:#1a73e8;margin:0;flex:none}.check{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:400;padding:9px 0;margin:0}fieldset{border:1px solid var(--line);border-radius:14px}legend{font-size:12px;color:var(--muted);padding:0 8px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:18px;align-items:start}.grid>*,.metric-grid>*,.dashboard-split>*{min-width:0}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar form{display:flex;align-items:end;gap:9px;margin:0}.toolbar label{margin:0}.toolbar select{margin:0;min-height:40px;font-size:12px;padding:8px 12px}.toolbar input{min-height:40px}.toolbar form label:empty{display:none}
aside#sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--surface);border-right:1px solid var(--line);padding:28px 16px 15px;box-shadow:none;display:flex;flex-direction:column;z-index:30}aside .brand{display:flex;gap:11px;align-items:center;padding:0 12px 27px;color:var(--text);text-decoration:none;font-size:21px;font-weight:750;letter-spacing:-.7px}.brand-mark{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;color:#fff;background:#1a73e8;font-size:27px;font-style:italic;font-weight:750;box-shadow:none;flex-shrink:0}.brand i{display:block;font-size:8px;font-style:normal;font-weight:600;letter-spacing:1.8px;color:var(--muted);padding-top:3px}.site-brand-logo{max-width:45px;max-height:45px;object-fit:contain}aside nav{overflow-y:auto;flex:1;padding:0 4px 18px;scrollbar-width:thin}aside nav a{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:500;padding:10px 13px;margin:3px 0;border-radius:10px;color:var(--muted);border:0;box-shadow:none}aside nav a:hover{background:var(--surface2);color:var(--text)}aside nav a.selected{background:var(--soft);color:var(--accent);border:0;box-shadow:none}.ui-icon{width:19px;height:19px;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav-section{font-size:9px;letter-spacing:1.4px;font-weight:600;color:var(--muted);opacity:.75;margin:24px 13px 10px;display:block}.nav-section:first-child{margin-top:4px}.sidebar-account{border-top:1px solid var(--line);padding:18px 10px 0;display:flex;gap:10px;align-items:center;background:var(--surface);margin-top:auto}.sidebar-account strong{font-size:12px;display:block;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-account small{display:block;font-size:10px}.avatar{height:36px;width:36px;border-radius:12px;object-fit:cover;display:grid;place-items:center;background:var(--soft);color:var(--accent);flex:none}.workspace{margin-left:248px;padding:0 36px 20px;min-height:100vh;max-width:none}.workspace>header{min-height:92px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:transparent;border-bottom:1px solid var(--line);padding:19px 0;margin-bottom:31px;position:static}.header-title{display:flex;align-items:center;gap:12px}.header-title small{font-size:10px;letter-spacing:.1px}.header-title h2{font-size:20px;font-weight:600;margin:2px 0 0}.workspace>header .toolbar{gap:8px}.workspace>header label{font-size:0}.workspace>header label select{font-size:12px}.workspace>header button{min-height:37px;font-size:11px;padding:8px 11px}.workspace>header #theme{width:auto;min-width:76px;margin:0;font-size:12px;padding:8px;min-height:38px}.icon-button{width:38px;padding:0!important}#menu-toggle{display:none}.workspace>footer{border-top:1px solid var(--line);font-size:10px;color:var(--muted);padding:24px 0 6px;margin-top:35px;display:flex;justify-content:space-between}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:25px;margin:0 0 22px;color:var(--text);overflow-wrap:anywhere}.card>p{margin:6px 0 20px}.card h3{font-weight:630}.section-top,.overview-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.section-top h3{margin:0}.section-top p{margin:5px 0 0}.section-top a{font-size:12px;white-space:nowrap}.overview-intro .eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--muted);font-weight:550;display:block;margin-bottom:9px}.overview-intro p{margin:0}.heading-dot{color:var(--accent)}.badge{display:inline-flex;align-items:center;border:1px solid var(--line);padding:4px 9px;border-radius:7px;background:var(--surface2);color:var(--muted);font-size:10px;line-height:1.5;white-space:nowrap;font-weight:500;max-width:100%}.badge.success{background:#e6f4ea;color:#137333;border-color:#ceead6}.badge.failed,.badge.rejected{background:#fce8e6;color:#b3261e;border-color:#fad2cf}.badge.pending,.badge.creating,.badge.uncertain,.badge.processing{background:#fef7e0;color:#8b5700;border-color:#feefc3}html[data-theme=silver] .badge.success{background:#173b29;color:#a8dab5;border-color:#225438}html[data-theme=silver] .badge.failed,html[data-theme=silver] .badge.rejected{background:#4d2525;color:#f6aea9;border-color:#623131}html[data-theme=silver] .badge.pending,html[data-theme=silver] .badge.creating,html[data-theme=silver] .badge.uncertain,html[data-theme=silver] .badge.processing{background:#3d331b;color:#fddc8c;border-color:#554523}.notice{background:var(--soft);border:1px solid color-mix(in srgb,var(--accent) 20%,var(--line));color:var(--text);padding:15px 18px;border-radius:12px;margin:0 0 20px;font-size:13px}.notice.error{background:#fce8e6;color:#9d2820;border-color:#fad2cf}.metric-grid,.console-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.metric-grid .card,.console-metrics .card{margin:0}.stat{padding:23px 24px;position:relative}.stat small{font-size:11px;font-weight:500;text-transform:none;letter-spacing:0;display:block}.stat h2{font-size:31px;line-height:1.25;margin:16px 0 10px;font-weight:650;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stat h2 em{font-size:12px;font-style:normal;font-weight:400;letter-spacing:0;color:var(--muted)}.stat p,.stat>span{font-size:10px;color:var(--muted);line-height:1.5;margin:0}.stat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--soft);color:var(--accent);margin-bottom:17px}.stat-icon .ui-icon{width:17px;height:17px}.primary-stat{background:#1a73e8!important;border-color:#1a73e8;color:#fff;box-shadow:0 5px 18px #1a73e81c}.primary-stat h2,.primary-stat small,.primary-stat p,.primary-stat span,.primary-stat em{color:#fff!important}.primary-stat small{opacity:.83}.primary-stat p{opacity:.75}.primary-stat .stat-icon{background:#ffffff24;color:#fff}.dashboard-split{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.volume-chart{width:100%;height:auto;max-height:240px}.chart-grid{stroke:var(--line);fill:none}.chart-line{stroke:var(--accent);stroke-width:3;fill:none;stroke-linejoin:round}.chart-area{fill:var(--soft);opacity:.7}.chart-point{fill:var(--accent);stroke:var(--surface);stroke-width:2}.volume-chart text{fill:var(--muted);font-size:9px}.status-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;font-size:12px}.status-row>span{display:flex;align-items:center;gap:9px}.status-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.success.status-dot,.progress .success{background:#34a853}.pending.status-dot,.progress .pending{background:#f9ab00}.failed.status-dot,.progress .failed{background:#ea4335}.progress{height:5px;border-radius:3px;background:var(--surface2);overflow:hidden;margin-top:10px}.progress i{display:block;height:5px;border-radius:3px}.table-wrap{width:100%;overflow:auto;overscroll-behavior-x:contain;border-radius:10px}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:10px;text-transform:none;letter-spacing:.1px;font-weight:500;color:var(--muted);padding:13px 15px;background:var(--surface2);border-bottom:1px solid var(--line);white-space:nowrap}td{padding:16px 15px;border-bottom:1px solid var(--line);color:var(--text);vertical-align:middle;font-variant-numeric:tabular-nums}tr:last-child td{border-bottom:0}tr:hover td{background:color-mix(in srgb,var(--surface2) 35%,transparent)}td .button,td button{font-size:11px;min-height:32px;padding:6px 10px}td b{font-weight:550}td small{font-size:10px}td a{text-decoration:none}.empty-state{text-align:center;color:var(--muted);padding:38px!important}.account-cell{display:flex;align-items:center;gap:10px;min-width:165px}.account-cell .avatar{height:34px;width:34px;border-radius:11px}.account-cell strong,.account-cell small{display:block}.account-cell strong{font-size:12px;font-weight:550}.account-cell small{font-size:9px;margin-top:2px}.balance-amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:550}.muted{color:var(--muted)}details.card>summary{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;padding:0;color:var(--text);font-size:14px}details.card>summary:after{content:'+';margin-left:auto;font-size:22px;color:var(--muted)}details.card[open]>summary:after{content:'−'}details.card[open]>summary{margin-bottom:22px}details:not(.card)>summary{color:var(--accent);font-size:12px;padding:10px 0;cursor:pointer}pre{max-width:100%;overflow:auto;white-space:pre-wrap;background:var(--surface2);border:1px solid var(--line);border-radius:12px;padding:20px;font-size:12px;color:var(--text)}code{color:var(--accent);font-size:.9em;overflow-wrap:anywhere}.copy-code{min-height:30px;padding:5px 10px;font-size:10px;float:right}.form-help{color:var(--muted);font-size:11px}.account-hero{display:flex;align-items:center;gap:18px}.account-hero>img{width:70px;height:70px;border-radius:22px;object-fit:cover}.account-hero h2{margin:0 0 6px;font-size:25px}.account-hero p{margin:0}.details-metrics{margin-top:24px}.details-metrics .stat{background:var(--surface2);border-radius:12px;padding:20px}.photo-settings{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.photo-settings img{height:88px;width:88px;border-radius:25px;object-fit:cover}.route-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:20px 0}.route-card{border:1px solid var(--line);border-radius:13px;padding:18px;display:block;color:var(--text);text-decoration:none;background:var(--surface)}.route-card.selected{border-color:var(--accent);background:var(--soft)}.route-card strong{display:block;font-size:15px}.route-card small{display:block;margin-top:6px;font-size:11px}.route-card .badge{margin-top:15px}.withdrawal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.withdrawal-heading p{margin:5px 0}.withdrawal-balance{text-align:right}.withdrawal-balance small{display:block;font-size:10px}.withdrawal-balance strong{font-size:22px;display:block;margin-top:4px}.withdrawal-balance span{font-size:11px;color:var(--muted)}.withdrawal-methods{display:flex;gap:12px;flex-wrap:wrap;padding:16px;margin-bottom:22px}.withdrawal-method{display:flex;align-items:center;gap:12px;min-width:160px;padding:14px;border:1px solid var(--line);border-radius:11px;cursor:pointer;margin:0}.withdrawal-method:has(input:checked){background:var(--soft);border-color:var(--accent)}.withdrawal-method img{width:48px;height:32px;object-fit:contain}.withdrawal-method small{display:block;font-size:9px}.notification-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.notification-grid>div{padding:20px;border:1px solid var(--line);border-radius:12px}.notification-grid h4{margin:0 0 10px}.auth-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:radial-gradient(ellipse at 15% 15%,var(--soft),transparent 55%),var(--bg)}.auth-card{position:relative;width:100%;max-width:465px;padding:42px;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:0 25px 90px #173b7310}.auth-card h1{font-size:29px;margin:8px 0 12px}.auth-card>p{font-size:12px;margin:0 0 25px}.auth-card label{font-size:12px}.auth-brand{display:flex;gap:12px;align-items:center;margin-bottom:40px;font-size:23px}.auth-brand img{max-height:44px;max-width:150px}.auth-brand strong{letter-spacing:-.8px}.auth-card .eyebrow{font-size:9px;font-weight:500;color:var(--accent);letter-spacing:1.5px}.auth-card .wide{width:100%;margin-top:8px;justify-content:space-between;min-height:46px}.auth-foot{border-top:1px solid var(--line);margin-top:29px;padding-top:22px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted);gap:12px}.auth-foot form{display:flex;align-items:center;gap:6px}.auth-foot select{font-size:10px;width:auto;min-height:32px;padding:5px;margin:0}.auth-foot button{font-size:10px;min-height:32px;padding:5px 8px}.auth-backdrop{position:fixed;inset:0;z-index:-1;background-position:center;background-size:cover}.captcha{width:240px;max-width:100%;border-radius:10px;border:1px solid var(--line);margin-bottom:20px}.totp-qr{display:block;width:210px;margin:20px auto}.setup-secret{display:block;background:var(--surface2);padding:12px;border-radius:10px;margin-top:7px;overflow-wrap:anywhere}.recovery-codes{font-size:14px;text-align:center;line-height:1.8}.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}.mobile-scrim{display:none}
@media(min-width:1700px){.workspace{padding-left:55px;padding-right:55px}.console-metrics{grid-template-columns:repeat(6,minmax(0,1fr))}.stat h2{font-size:29px}}
@media(max-width:1200px){.workspace{padding:0 24px 20px;margin-left:222px}aside#sidebar{width:222px;padding-left:11px;padding-right:11px}.workspace>header .toolbar form:first-of-type button{display:none}.stat{padding:21px}.stat h2{font-size:28px}.dashboard-split{grid-template-columns:1.35fr 1fr}.sidebar-account strong{max-width:130px}}
@media(max-width:1000px){.workspace{margin-left:0;padding:0 24px 20px}aside#sidebar{transform:translateX(-100%);width:250px;transition:transform .2s}.menu-open aside#sidebar{transform:translateX(0)}#menu-toggle{display:inline-flex}.menu-open .mobile-scrim{display:block;position:fixed;inset:0;background:#10182265;z-index:25;backdrop-filter:blur(2px)}.workspace>header{min-height:80px;margin-bottom:25px}.stat h2{font-size:29px}.auth-card{padding:35px}}
@media(max-width:650px){.workspace{padding:0 16px 16px}.workspace>header{gap:10px;min-height:75px;padding:15px 0}.header-title small{font-size:8px}.header-title h2{font-size:17px}.workspace>header .toolbar{gap:5px}.workspace>header .toolbar form:first-of-type{display:none}.workspace>header button{padding:7px 8px;font-size:10px}.workspace>header #theme{font-size:10px;min-width:58px;padding:7px}.overview-intro{align-items:flex-start;gap:13px;margin-bottom:23px}.overview-intro h1{font-size:29px}.overview-intro p{font-size:10px}.overview-intro .button{font-size:10px;padding:8px 10px;min-height:36px}.overview-intro .eyebrow{font-size:8px}.console-metrics,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.stat{padding:18px 15px}.stat small{font-size:10px}.stat h2{font-size:24px;margin:13px 0 8px}.stat h2 em{font-size:9px}.stat p,.stat>span{font-size:9px}.stat-icon{height:26px;width:26px;border-radius:8px;margin-bottom:14px}.card{padding:20px 16px;border-radius:15px;margin-bottom:18px}.console-metrics .card,.metric-grid .card{margin-bottom:0}.dashboard-split{grid-template-columns:1fr;gap:0}.section-top{gap:15px;margin-bottom:18px}.section-top h3{font-size:16px}.section-top p{font-size:11px}.section-top .button{font-size:10px;min-height:32px;padding:7px 9px}.section-top>a{font-size:10px}.grid{gap:12px}.notification-grid{grid-template-columns:1fr}.account-hero{gap:13px}.account-hero>img{width:54px;height:54px;border-radius:17px}.account-hero h2{font-size:21px}.account-hero p{font-size:10px}.withdrawal-heading{flex-direction:column;gap:8px}.withdrawal-balance{text-align:left}.withdrawal-method{min-width:calc(50% - 7px);flex:1;padding:11px;gap:8px}.withdrawal-methods{gap:10px;padding:12px}.withdrawal-method img{width:38px;height:28px}.toolbar{gap:8px}.toolbar>button,.toolbar>.button{flex:1}th{padding:12px 10px;font-size:9px}td{padding:14px 10px;font-size:11px}.auth-screen{padding:20px 16px}.auth-card{padding:29px 25px;border-radius:20px}.auth-brand{margin-bottom:32px}.auth-card h1{font-size:26px}.auth-card input{font-size:16px}.route-list{grid-template-columns:1fr}.photo-settings{gap:15px}.workspace>footer{font-size:9px}details.card>summary{flex-wrap:wrap;font-size:12px}.balance-amount{font-size:11px}}
@media(max-width:360px){.stat h2{font-size:21px}.workspace{padding-inline:12px}.console-metrics{gap:9px}.stat{padding:16px 12px}.workspace>header .toolbar form:last-child button{font-size:9px}.auth-card{padding:25px 20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Financial rows scroll as a unit instead of splitting amounts on small screens. */
.table-wrap table{min-width:640px}.table-wrap td,.table-wrap th{white-space:nowrap}.table-wrap td small{white-space:normal}.account-cell strong{max-width:240px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:650px){.workspace>header{flex-direction:row;flex-wrap:nowrap;align-items:center}.header-title{flex:1;min-width:0;gap:9px}.header-title>div{min-width:0}.header-title h2,.header-title small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:34vw}.workspace>header>.toolbar{flex:none}.workspace>header>.toolbar>form{flex:none}}
@media(max-width:650px){.workspace>header>.toolbar{width:auto;max-width:none;flex-wrap:nowrap;justify-content:flex-end}.header-title .icon-button{flex:none}}
