:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#26354a;background:#f4f6fa;font-synthesis:none;--nav:#17253b;--accent:#0071e3;--line:#e4e7ec;--muted:#646d7a;--green:#188568;--radius:14px}
*{box-sizing:border-box}body{margin:0;font-size:13px}button,input,select,textarea{font:inherit}button,select{cursor:pointer}button{transition:background .15s,border-color .15s}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8badf8;outline-offset:3px}button:disabled{cursor:default;opacity:.45}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:27px;font-weight:650;letter-spacing:-.6px}h2{font-size:15px;font-weight:650}h3{font-size:13px}small{font-size:13px}a,button{touch-action:manipulation}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;background:white;padding:14px}.skip-link:focus{top:10px}
.app-shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--nav);color:#a7b2c4;display:flex;flex-direction:column;padding:27px 17px 0;z-index:20}.brand{display:flex;gap:12px;align-items:center;padding:0 12px 27px;font-size:22px;font-weight:750;letter-spacing:.2px;color:white}.brand-mark{height:37px;width:37px;display:grid;place-items:center;background:#fff;color:#17253b;border-radius:10px;font-size:33px;line-height:1;padding-bottom:5px;position:relative}.brand-mark span{color:#249d83;position:absolute;right:3px;bottom:3px;font-size:23px}.brand-light{font-weight:400;color:#b7c3d6}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:5px;font-weight:500;color:#90a1b9}nav{overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#344159 transparent;padding-bottom:15px}.nav-group{margin:16px 11px 7px;font-size:12px;letter-spacing:1.3px;color:#6c7d97}.nav-link{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:7px;margin:2px 0;font-size:14px;min-height:37px}.nav-link:hover{color:#fff;background:#20314b}.nav-link.active{color:#fff;background:#2c4362}.nav-link.active .nav-icon{color:#8bc7ff}.nav-icon{width:18px;display:inline-grid;place-items:center;font-size:14px;color:#8d9bb0}.nav-count{margin-left:auto;font-size:12px;min-width:18px;text-align:center;padding:2px 4px;border-radius:4px;background:#415370;color:#d7e4f4}.sidebar-bottom{display:flex;gap:8px;align-items:center;margin:0 -17px;padding:17px 25px;border-top:1px solid #2a3850;font-size:12px;color:#d7dfeb}.sidebar-bottom small{display:block;color:#6f819e;margin-top:5px;font-size:12px}.signal-dot{background:#67c2a4;height:6px;width:6px;border-radius:50%}.version{margin-left:auto;font-size:12px;color:#71839d}
.page-shell{min-width:0}.topbar{height:70px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;gap:13px;align-items:center;font-size:13px;color:#687383}.breadcrumb strong{color:#405068;font-weight:500}.topbar-actions{display:flex;gap:18px;align-items:center}.demo-pill{display:flex;gap:6px;align-items:center;background:#eff5ff;color:#5275b3;border-radius:5px;padding:5px 8px;font-size:12px}.demo-pill span{width:5px;height:5px;border-radius:50%;background:#6d94d8}.icon-button{border:0;background:none;padding:8px;font-size:20px;line-height:1;border-radius:6px}.icon-button:hover{background:#edf2fa}.notification-button{position:relative;color:#7e8ca1}.notification-button i{font-style:normal;position:absolute;right:0;top:0;font-size:11px;background:#e0656d;color:#fff;border-radius:50%;height:13px;width:13px;display:grid;place-items:center}.topbar-divider{height:22px;width:1px;background:var(--line)}.role-switch select{border:none;background:#fff;font-size:13px;color:#526078;max-width:125px}.user-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e8effc;color:#4a70b9;font-size:12px;font-weight:650}.mobile-menu{display:none}.preview-bar{display:flex;gap:9px;align-items:center;font-size:12px;color:#7a869b;background:#f9fbfe;padding:10px 34px;border-bottom:1px solid var(--line);line-height:1.7}.preview-symbol{font-size:15px;color:#6e96d9}.preview-bar b{font-weight:400;margin:0 5px;color:#b8c0cf}.preview-bar button{margin-left:auto;background:none;border:none;font-size:12px;color:#7292c1;white-space:nowrap}.preview-bar button span{margin-left:7px}main{max-width:1640px;margin:auto;padding:28px 34px 35px;min-height:calc(100vh - 180px)}.page-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:24px}.page-heading p{color:var(--muted);font-size:13px;margin-top:10px;line-height:1.7}.heading-actions{display:flex;align-items:center;gap:9px}.button{display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;min-height:34px;padding:8px 13px;border-radius:6px;border:1px solid #dce3ee;font-size:13px;background:#fff}.button:hover{background:#f6f9ff;border-color:#bdd0ef}.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 3px 8px #3068df19}.primary:hover{background:#265bc7;color:#fff;border-color:#265bc7}.button-arrow{font-size:15px}.date-label{font-size:12px;color:#8290a4}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat-card{padding:20px;position:relative}.stat-label{display:flex;gap:8px;align-items:center;font-size:13px;color:#8290a3}.stat-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#eef4ff;color:#7294d1;font-size:14px;margin-left:auto}.stat-value{font-size:28px;color:#25344a;letter-spacing:-.8px;font-weight:600;margin:14px 0 12px;font-variant-numeric:tabular-nums}.stat-value .currency-small{font-size:13px;font-weight:450;letter-spacing:0;margin-right:7px;color:#6c7f9a}.stat-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#9aa5b5}.positive{color:var(--green)}.negative{color:#c77857}.stat-meta strong{font-weight:500}.content-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,1fr);gap:20px;margin-bottom:20px}.card-heading{padding:20px 21px;display:flex;justify-content:space-between;align-items:center;gap:15px}.card-heading p{font-size:12px;color:#687383;margin-top:7px}.text-link{font-size:12px;color:#7190be;background:none;border:0;padding:4px}.chart-controls{display:flex;gap:4px;background:#f3f6fb;border-radius:5px;padding:3px}.chart-controls button{border:0;font-size:12px;background:none;border-radius:4px;padding:5px 9px;color:#8a98ac}.chart-controls button.active{background:#fff;box-shadow:0 1px 4px #27395c13;color:#496aab}.chart-wrap{padding:0 21px 18px;position:relative}.chart-summary{display:flex;gap:18px;align-items:baseline;margin:0 0 15px;font-size:12px;color:#96a1b2}.chart-summary strong{font-size:20px;color:#324561;font-weight:550}.chart-svg{width:100%;height:180px;display:block}.chart-axis{display:flex;justify-content:space-between;font-size:12px;color:#687383;padding:5px 0}.chart-legend{display:flex;gap:17px;margin-top:16px;justify-content:center;font-size:12px;color:#8591a5}.legend-dot{width:6px;height:6px;display:inline-block;border-radius:50%;margin-right:6px;background:#5d91e9}.legend-dot.light{background:#a6bdf0}.channel-list{padding:0 21px}.channel-row{display:flex;align-items:center;gap:10px;padding:15px 0;border-top:1px solid #f0f3f8}.channel-logo{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:650;background:#e7f7f1;color:#44977d}.channel-logo.blue{background:#eef2ff;color:#6e83cf}.channel-logo.orange{background:#fff2e7;color:#cc9b65}.channel-info strong{font-size:13px;font-weight:550}.channel-info small{display:block;margin-top:5px;color:#99a4b6;font-size:12px}.channel-right{margin-left:auto;text-align:right}.channel-right strong{font-size:13px;font-weight:500}.channel-right small{display:block;color:#a4aebc;font-size:12px;margin-top:5px}.channel-foot{padding:14px 21px;margin-top:3px;background:#fcfdff;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:12px;color:#8a97aa}.section-row{display:flex;justify-content:space-between;align-items:center;margin:26px 0 12px}.section-row h2{font-size:13px}.tasks-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:24px}.task-card{display:flex;gap:12px;align-items:center;padding:17px 19px}.task-card:hover{border-color:#b8cbea}.task-symbol{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;font-size:16px;background:#fff3e7;color:#cb975a}.task-symbol.red{background:#fff0f0;color:#d68891}.task-symbol.blue{background:#edf4ff;color:#6f98d4}.task-card strong{font-size:13px;font-weight:550}.task-card small{display:block;color:#687383;font-size:12px;margin-top:6px}.task-count{font-size:20px;margin-left:auto;color:#556c8e;font-weight:500}.task-chevron{color:#b0bacb}.table-card{margin-top:0}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid var(--line)}.table-toolbar h2{font-size:13px}.tabs{display:flex;gap:18px}.tab{font-size:13px;border:0;background:none;color:#8d99ac;padding:8px 1px;position:relative}.tab.active{color:#386fd1;font-weight:600}.tab.active:after{content:"";position:absolute;height:2px;bottom:-18px;left:0;right:0;background:#4b7bdd}.table-actions{display:flex;gap:8px;align-items:center}.filter-bar{padding:15px 20px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#fff}.search-control{display:flex;gap:8px;align-items:center;border:1px solid #e3e8f1;border-radius:6px;padding:0 10px;min-width:235px;flex:1;max-width:360px;color:#a1aebe}.search-control input{border:0;width:100%;padding:10px 0;outline:none;font-size:12px;min-width:0;background:none}.filter-select{border:1px solid #e3e8f1;border-radius:6px;background:#fff;color:#76879e;font-size:12px;padding:9px 12px;min-width:110px}.filter-bar .result-label{font-size:12px;color:#687383;margin-left:auto}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}th{font-weight:500;color:#8392a8;background:#f8fafd;padding:13px 20px;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7}td{padding:14px 20px;border-bottom:1px solid #f0f3f8;color:#60728b;font-variant-numeric:tabular-nums}tbody tr:hover{background:#fafcff}.cell-main{color:#445771;font-weight:550}.cell-sub{display:block;color:#687383;font-size:12px;margin-top:5px}.number-cell{font-weight:550;color:#344964}.status{display:inline-flex;align-items:center;gap:5px;font-size:12px;padding:4px 7px;border-radius:4px;color:#26836b;background:#eef8f3}.status:before{content:"";height:4px;width:4px;border-radius:50%;background:currentColor}.status.warning{color:#b79450;background:#fff8e8}.status.danger{color:#bd6d77;background:#fff0f1}.status.neutral{color:#8395b1;background:#f0f4fb}.table-link{background:none;border:0;color:#537ec0;font-size:12px;padding:5px 0}.pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;font-size:12px;color:#687383}.pagination-controls{display:flex;gap:6px;align-items:center}.pagination-controls button{background:white;border:1px solid #e1e7f1;border-radius:5px;font-size:13px;padding:5px 10px}.page-number{display:grid;place-items:center;height:26px;min-width:26px;color:#4d78c0;background:#f0f5ff;border:1px solid #dce7fa;border-radius:5px}.empty-state{text-align:center;padding:55px 20px}.empty-symbol{font-size:30px;color:#bdcce3;margin-bottom:12px}.empty-state h3{font-size:13px;margin-bottom:8px}.empty-state p{font-size:13px;color:#687383}.info-strip{padding:12px 15px;border:1px solid #dbe8fb;background:#f3f8ff;color:#7083a2;font-size:12px;line-height:1.8;border-radius:7px;margin:0 0 20px;display:flex;gap:9px}.info-strip strong{color:#5e7499;font-weight:550}.balance-tabs{display:flex;gap:9px;margin-bottom:18px}.balance-tab{background:white;border:1px solid #e0e7f2;border-radius:7px;padding:9px 15px;color:#7e8fa8;font-size:13px}.balance-tab.active{color:#356ccc;background:#eef4ff;border-color:#bacef1}.badge-outline{font-size:12px;color:#7b8da7;border:1px solid #dbe4f2;padding:3px 6px;border-radius:4px;margin-left:6px}.profit-bar{display:flex;height:9px;border-radius:5px;overflow:hidden;background:#e9eff9;margin-top:14px}.profit-bar span{background:#668ee0}.simple-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-card{padding:24px}.form-card h2{margin-bottom:10px}.form-card>p{font-size:13px;color:#687383;line-height:1.8;margin-bottom:24px}.field{display:grid;gap:8px;margin-bottom:18px;font-size:13px;color:#63758e}.field input,.field select,.field textarea{border:1px solid #dfe6f0;border-radius:6px;background:#fff;padding:11px;color:#415673;width:100%;outline-offset:0}.field small{font-size:12px;color:#687383}.field textarea{min-height:80px;resize:vertical}.field .readonly-value{padding:11px;background:#f6f8fc;border-radius:6px;color:#8796ad}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.switch-row{display:flex;gap:15px;align-items:center;border-top:1px solid var(--line);padding:16px 0;font-size:13px;color:#5b6e89}.switch-row small{display:block;margin-top:6px;color:#9cabc1}.switch-row input{accent-color:var(--accent);margin-left:auto}.form-note{color:#8798b2;font-size:12px;line-height:1.8;padding:0 26px 18px}.docs-card{padding:24px;margin-bottom:18px}.docs-card h2{margin-bottom:13px}.docs-card p{font-size:13px;line-height:1.9;color:#8391a7;margin-bottom:15px}.code-block{background:#1e2d43;border-radius:8px;color:#bfcee4;padding:19px;font:11px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere;position:relative}.docs-links{display:flex;gap:10px;margin-top:17px}.footer{padding:0 34px 23px;display:flex;justify-content:space-between;font-size:12px;color:#687383}.footer-divider{margin:0 8px;color:#c3cbd8}
dialog{border:0;border-radius:12px;padding:0;box-shadow:0 25px 100px #12244030;color:#3c4e69;max-height:90vh;max-width:calc(100vw - 30px)}dialog::backdrop{background:#14223865;backdrop-filter:blur(2px)}.detail-dialog{width:570px}.form-dialog{width:580px}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:23px 26px}.dialog-heading h2{font-size:19px;margin-top:7px}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#9baec9}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:17px 26px;background:#fafcff}.detail-content{padding:0 26px 25px}.detail-summary{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:8px;padding:17px;margin-bottom:20px}.detail-summary strong{font-size:23px;font-weight:550}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px 15px;margin-bottom:23px}.detail-grid dt{font-size:12px;color:#9aabc2;margin-bottom:7px}.detail-grid dd{font-size:13px;margin:0;overflow-wrap:anywhere}.timeline{padding-left:8px;margin:15px 0 0;list-style:none}.timeline li{position:relative;border-left:1px solid #dbe5f5;padding:0 0 20px 20px;font-size:13px;color:#657c9f}.timeline li:before{content:"";height:7px;width:7px;background:#94b2e3;position:absolute;left:-4px;top:3px;border-radius:50%}.timeline small{display:block;margin-top:6px;color:#9eacc0}.form-fields{padding:0 26px}.form-error{padding:0 26px 15px;color:#b66c75;font-size:13px}.toast{position:fixed;bottom:28px;left:calc(50% + 119px);transform:translateX(-50%);z-index:100;background:#21354f;color:#eaf1fb;border-radius:8px;box-shadow:0 8px 30px #16284422;padding:13px 20px;font-size:13px;max-width:90vw;line-height:1.7}.mobile-shade{display:none}
@media(min-width:1550px){main{padding-top:34px}.chart-svg{height:220px}.stat-card{padding:25px}}
@media(max-width:1180px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-left:13px;padding-right:13px}.sidebar-bottom{margin-left:-13px;margin-right:-13px;padding-left:20px;padding-right:20px}main{padding:26px 24px}.topbar,.preview-bar{padding-left:24px;padding-right:24px}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-value{font-size:24px}.stat-meta{font-size:11px}.content-grid{grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:15px}.task-card{padding:15px 13px}.task-count{font-size:18px}.task-card strong{font-size:12px}.footer{padding-left:24px;padding-right:24px}.toast{left:calc(50% + 105px)}}
@media(max-width:980px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}.tasks-grid{gap:10px}.task-card{gap:8px}.task-symbol{display:none}.topbar-actions{gap:11px}.simple-grid{grid-template-columns:1fr}.page-heading{align-items:flex-start}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.date-label{display:none}.table-toolbar{flex-wrap:wrap}.chart-svg{height:200px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{position:fixed;left:0;width:238px;visibility:hidden;transform:translateX(-100%);transition:transform .2s}.sidebar.open{visibility:visible;transform:none}.mobile-shade:not([hidden]){display:block;position:fixed;inset:0;background:#17253b66;z-index:15}.mobile-menu{display:block}.topbar{height:62px;padding:0 15px;gap:10px}.breadcrumb{margin-right:auto;gap:8px;font-size:12px}.breadcrumb>span:first-child{display:none}.breadcrumb>span:nth-child(2){display:none}.topbar-actions{gap:9px}.topbar-divider,.notification-button,.demo-pill{display:none}.role-switch select{font-size:12px;max-width:96px}.user-avatar{width:26px;height:26px;font-size:12px}.preview-bar{padding:9px 17px;font-size:12px}.preview-bar button{display:none}main{padding:23px 16px;min-height:calc(100vh - 170px)}h1{font-size:22px}.page-heading{gap:12px;margin-bottom:20px;flex-wrap:wrap}.page-heading p{font-size:12px;margin-top:8px}.heading-actions{justify-content:flex-start}.button{font-size:12px;min-height:32px;padding:7px 10px}.stats-grid{gap:10px}.stat-card{padding:15px 13px}.stat-label{font-size:12px}.stat-icon{width:20px;height:20px;font-size:12px}.stat-value{font-size:23px;margin:12px 0}.stat-value .currency-small{font-size:13px}.stat-meta{flex-wrap:wrap;gap:5px;font-size:11px}.tasks-grid{grid-template-columns:1fr}.task-symbol{display:grid}.task-card strong{font-size:13px}.task-card{padding:15px}.chart-svg{height:160px}.card-heading{padding:18px 17px}.chart-wrap{padding-left:17px;padding-right:17px}.table-toolbar{padding:15px}.tabs{gap:14px}.tab{font-size:12px}.table-actions .button{font-size:12px}.filter-bar{padding:12px 15px;gap:8px}.search-control{min-width:100%;max-width:none}.filter-select{flex:1;min-width:0;padding:9px;font-size:12px}.filter-bar .result-label{display:none}th,td{padding:13px 15px}.pagination{padding:13px 15px}.footer{padding:5px 16px 20px;gap:10px;flex-wrap:wrap;font-size:11px}.toast{left:50%;width:max-content}.form-row{grid-template-columns:1fr;gap:0}.form-card{padding:20px}.detail-grid{gap:18px 12px}.detail-dialog,.form-dialog{width:calc(100vw - 24px)}.dialog-heading,.dialog-footer{padding:20px}.form-fields{padding:0 20px}.form-note{padding-left:20px;padding-right:20px}.detail-content{padding:0 20px 20px}.balance-tab{font-size:12px;padding:9px 13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* The real integration workspace is separate from the synthetic page fixtures. */
.integration-intro {padding:24px;margin-bottom:20px;}
.integration-intro h2,.integration-account h2 {margin:0 0 12px;font-size:18px;}
.integration-intro p,.integration-account p {color:var(--muted);line-height:1.7;overflow-wrap:anywhere;}
.integration-login {display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:20px;}
.integration-login .field {flex:1;min-width:230px;}
.integration-accounts {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px;}
.integration-account {padding:24px;}
.integration-intro textarea {width:100%;min-width:0;border:1px solid #dce1e7;border-radius:7px;padding:12px;font:inherit;resize:vertical;}
.integration-confirm {margin-top:24px;max-width:620px;}
.integration-secondary {display:block;max-width:280px;margin-top:7px;overflow-wrap:anywhere;color:var(--muted);}
.integration-actions {display:flex;gap:8px;flex-wrap:wrap;}
@media(max-width:650px){.integration-accounts{grid-template-columns:1fr}.integration-intro,.integration-account{padding:18px}.integration-login{align-items:stretch}.integration-login .field{min-width:0;flex-basis:100%;}}
.admin-actions {display:flex;gap:8px;margin-left:auto;align-items:center;}
.admin-actions button {white-space:nowrap;}
@media(max-width:850px){.admin-actions .button{padding:7px 9px;font-size:13px}.topbar{gap:8px;flex-wrap:wrap;height:auto;min-height:70px;padding-top:10px;padding-bottom:10px}.breadcrumb{flex:1;min-width:120px}.topbar-actions{margin-left:auto}}
.form-fields textarea{width:100%;max-width:100%;padding:12px;border:1px solid #dce1e7;border-radius:7px;font:inherit;resize:vertical}
#detail-content form{padding:20px}#detail-content .field{margin:12px 0}
.merchant-row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:3px 0}
.merchant-row-actions>button{min-height:34px;padding:7px 10px;border-radius:6px;font-size:13px;font-weight:550;line-height:18px}
.merchant-action-detail{border:1px solid transparent;background:transparent;color:#3569c4}
.merchant-action-detail:hover{background:#eef4ff}
.merchant-action-channel{border:1px solid #dce6f7;background:#f6f9ff;color:#3569c4}
.merchant-action-channel:hover{background:#eaf1ff;border-color:#bed0ee}
.merchant-action-more{border:1px solid #e1e6ed;background:#fff;color:#5f6e83;display:flex;align-items:center;gap:8px}
.merchant-action-more:hover,.merchant-action-more[aria-expanded=true]{background:#f3f6fa;border-color:#c9d3e2}
.merchant-action-menu{position:fixed;inset:auto;margin:0;width:224px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;padding:8px;border:1px solid #e1e7f0;border-radius:10px;background:#fff;color:#40516a;box-shadow:0 12px 32px #17253b24;white-space:normal}
.merchant-action-menu::backdrop{background:transparent}
.merchant-menu-label{padding:7px 10px;color:#8795a9;font-size:12px;line-height:16px}
.merchant-action-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:9px 10px;border:0;border-radius:6px;background:transparent;text-align:left;font-size:14px;line-height:20px}
.merchant-action-menu button:hover{background:#f0f5fc}

.merchant-menu-divider{height:1px;background:#edf0f5;margin:6px 2px}
.merchant-action-menu .merchant-menu-danger{color:#bb4855}
.merchant-action-menu .merchant-menu-danger:hover{background:#fff2f3}
.merchant-menu-danger small{display:block;color:#9a7c83;font-size:12px;line-height:16px;font-weight:400}
#channel-config{scroll-margin-top:24px}
.channel-edit-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;margin-bottom:16px;border-bottom:1px solid var(--line)}
.channel-edit-header h3{font-size:14px;color:#40516a;margin-bottom:6px}
.channel-edit-header p{font-size:13px;line-height:1.6;color:#8391a7}
.channel-edit-header button{flex-shrink:0}
#channel-config select:disabled{background:#f4f6fa;color:#65758d;cursor:default}

/* Keep collection and payout costs in separate, clearly named work areas. */
.upstream-cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.upstream-cost-panel{min-width:0;overflow:hidden}
.upstream-cost-heading{display:flex;align-items:center;gap:12px;padding:22px 18px;border-bottom:1px solid var(--line)}
.upstream-cost-heading h2{font-size:18px;margin:0 0 5px}
.upstream-cost-heading p{font-size:12px;color:var(--muted);margin:0}
.upstream-cost-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:10px;font-size:22px;color:#227f6b;background:#eaf7f1}
.upstream-cost-payout .upstream-cost-icon{color:#456ac4;background:#edf2ff}
.upstream-cost-count{margin-left:auto;font-size:12px;color:#76879e;white-space:nowrap}
.upstream-cost-table{table-layout:fixed}
.upstream-cost-table th,.upstream-cost-table td{padding:15px 10px;white-space:normal}
.upstream-cost-table th:first-child{width:34%}
.upstream-cost-table th:nth-child(2){width:17%}
.upstream-cost-table th:nth-child(3){width:23%}
.upstream-cost-table th:nth-child(4){width:26%}
.upstream-cost-table td:nth-child(2),.upstream-cost-table td:nth-child(3){white-space:nowrap}
.upstream-cost-table .button{padding:8px 10px;font-size:12px;white-space:nowrap}
.upstream-cost-method{font-size:14px;color:#40546e;overflow-wrap:anywhere}
.upstream-cost-updated{display:block;margin-top:7px;font-size:12px;color:#8b99ad;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:1100px){.upstream-cost-grid{grid-template-columns:1fr}}
@media(max-width:420px){.upstream-cost-heading{padding:18px 12px;gap:9px}.upstream-cost-count{font-size:12px}.upstream-cost-table th,.upstream-cost-table td{padding:13px 6px}.upstream-cost-method{font-size:13px}.upstream-cost-table .button{padding:7px 6px;font-size:12px}}
.field #manual-amount-error{padding:0;color:#b45360;font-size:13px;line-height:1.6}
#manual-amount-error:empty{display:none}

/* USAPAY interface: clear hierarchy, familiar controls, and quiet surfaces. */
:root{color:#1d2430;background:#f5f6f8;--nav:#f0f2f5;--muted:#667180;--green:#16775c;color-scheme:light}
body{font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}
h1{font-size:30px;line-height:1.25;letter-spacing:-.7px;font-weight:650;color:#1d2430}
h2{font-size:18px;line-height:1.4;letter-spacing:-.2px}h3{font-size:15px}
button,input,select,textarea{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #0071e366;outline-offset:3px}
.app-shell{grid-template-columns:240px minmax(0,1fr)}
.sidebar{background:var(--nav);border-right:1px solid #dde2e9;color:#4c586b;padding:28px 16px 0}
.brand{color:#1d2430;font-size:23px;padding:0 12px 27px;gap:10px;letter-spacing:-.5px}
.brand-mark{background:#1c3152;color:#fff;width:36px;height:36px;font-size:32px;box-shadow:0 2px 4px #1622390c}
.brand-mark span{color:#68c6ab}.brand-light{color:#586b83;font-weight:450}.brand small{color:#6e7b8f;font-size:9px;letter-spacing:1.6px}


nav{scrollbar-color:#c1c8d3 transparent}.nav-group{font-size:11px;color:#707c8e;letter-spacing:.5px;margin:20px 12px 8px;font-weight:600}
.nav-link{font-size:14px;min-height:42px;padding:10px 12px;border-radius:8px;gap:11px;color:#465268;margin:3px 0}
.nav-icon{font-size:17px;color:#738095}.nav-link:hover{background:#e4e8ee;color:#23334d}.nav-link.active{background:#dfeafb;color:#0062c5;font-weight:600}.nav-link.active .nav-icon{color:#0062c5}
.sidebar-bottom{border-color:#dce2ea;color:#536277;padding:18px 25px;font-size:12px}.sidebar-bottom small,.version{color:#6d7b90;font-size:11px}.signal-dot{background:#258866}
.topbar{height:72px;background:#ffffff;border-color:#e3e7ed;padding:0 32px;gap:20px}
.breadcrumb{font-size:13px;color:#717c8c;gap:10px}.breadcrumb strong{color:#313c4d;font-weight:550}.topbar-actions{gap:14px}.admin-actions{gap:8px}.role-switch select{font-size:13px;max-width:130px;color:#44536a;min-height:40px}.user-avatar{width:34px;height:34px;font-size:12px;background:#edf2fa;color:#4c6386}
.demo-pill{font-size:11px;background:#f1f4f8;color:#647289}.demo-pill span{background:#7a8ba5}
.icon-button{min-width:36px;min-height:36px;border-radius:9px;font-size:22px;color:#5a6677}.icon-button:hover{background:#edf0f4}
.preview-bar{background:#fafbfc;padding:10px 32px;font-size:12px;color:#667180;line-height:1.6;gap:8px}.preview-bar button{font-size:12px;color:#526a8c}.preview-symbol{color:#72809a}
main{max-width:1720px;padding:32px;min-height:calc(100vh - 185px)}
.page-heading{margin-bottom:28px;gap:24px;align-items:center}.page-heading p{font-size:14px;line-height:1.7;margin-top:10px;color:#657184;max-width:820px}.heading-actions{gap:10px}.date-label{font-size:12px;color:#6b7788}
.button{min-height:40px;border-radius:9px;padding:9px 14px;font-size:13px;line-height:20px;font-weight:500;border-color:#d5dce5;box-shadow:0 1px 2px #17253b04}
.button:hover{background:#f3f6fb;border-color:#b8c6d9}.primary{background:#0071e3;border-color:#0071e3;color:#fff;box-shadow:0 2px 4px #0071e31a}.primary:hover{background:#0066cc;border-color:#0066cc;color:#fff}
.card{border:1px solid #e2e6ec;box-shadow:0 2px 7px #1d2c4403;border-radius:14px}.stat-card{padding:23px}.stats-grid{gap:16px;margin-bottom:24px}.stat-label{font-size:14px;color:#657184}.stat-icon{background:#f0f4fa;color:#6381ac;width:28px;height:28px;font-size:14px}.stat-value{font-size:31px;letter-spacing:-.7px;color:#202f45;margin:16px 0 13px}.stat-value .currency-small{font-size:14px}.stat-meta{font-size:12px;color:#697689;line-height:1.5}
.content-grid{gap:24px;margin-bottom:24px}.card-heading{padding:22px 24px}.card-heading p{font-size:12px;color:#6b7788}.text-link{font-size:13px;color:#0067cf;padding:6px}.section-row{margin:28px 0 14px}.section-row h2,.table-toolbar h2{font-size:17px}.task-card{padding:19px 21px}.task-card strong{font-size:14px}.task-card small{font-size:12px;color:#667180;line-height:1.5}.task-count{font-size:24px}.tasks-grid{gap:16px;margin-bottom:26px}
.table-toolbar{padding:18px 22px;min-height:66px}.tabs{gap:24px}.tab{font-size:14px;padding:9px 0}.tab.active:after{bottom:-19px;background:#0071e3}.filter-bar{padding:17px 22px;gap:10px}.search-control{min-width:240px;max-width:400px;border-color:#d6dde6;border-radius:9px;padding:0 12px}.search-control input{font-size:13px;padding:11px 0;color:#344259;min-height:42px}.filter-select{font-size:13px;color:#526079;padding:10px 12px;border-color:#d6dde6;border-radius:9px;min-height:42px}.filter-bar .result-label{font-size:12px;color:#6b7788}
table{font-size:13px;color:#34445b}th{font-size:12px;letter-spacing:.1px;background:#f8f9fb;color:#68758a;font-weight:600;padding:14px 20px;border-color:#e8ecf1}td{padding:17px 20px;color:#4c5d75;border-color:#edf0f4;line-height:1.55}tbody tr:hover{background:#f8fbff}.cell-main,.number-cell{color:#263b55}.cell-sub{font-size:12px;color:#6d7b8e;margin-top:5px}.status{font-size:12px;padding:4px 8px;border-radius:6px;font-weight:500;gap:6px}.table-link{font-size:13px;min-height:36px;color:#0068ce;padding:6px}.pagination{padding:17px 22px;font-size:12px;color:#6b7788}.pagination-controls button{min-height:34px;min-width:34px;font-size:13px;border-radius:7px}.page-number{min-height:34px;min-width:34px;font-size:13px}
.info-strip{font-size:13px;padding:14px 17px;border-color:#dce7f5;background:#f1f6fc;color:#536d8f;line-height:1.7;border-radius:10px;margin-bottom:24px}
.empty-state{padding:60px 24px}.empty-state h3{font-size:16px}.empty-state p{font-size:14px;color:#6b7788;line-height:1.7}
.form-card,.docs-card,.integration-intro,.integration-account{padding:26px}.form-card h2,.docs-card h2{font-size:18px;margin-bottom:12px}.form-card>p,.docs-card p,.integration-intro p,.integration-account p{font-size:14px;color:#657184;line-height:1.8}.form-card>p{margin-bottom:24px}.integration-intro h2,.integration-account h2{font-size:19px}.integration-accounts{gap:24px;margin-bottom:24px}.integration-intro{margin-bottom:24px}
.field{font-size:14px;font-weight:500;color:#485b75;gap:8px;margin-bottom:20px;line-height:1.5}.field input,.field select,.field textarea,.form-fields textarea{min-height:44px;padding:11px 13px;font-size:14px;font-weight:400;line-height:1.5;border:1px solid #d4dce7;border-radius:9px;color:#243a58;background:#fff;box-shadow:0 1px 2px #14223803;max-width:100%;min-width:0}.field input::placeholder,.field textarea::placeholder{color:#8b95a4}.field input[readonly]{background:#f5f7fa;color:#68778d}.field input:disabled,.field select:disabled{background:#f3f5f8;color:#788395;cursor:default}.field textarea{min-height:92px}.field small{font-size:12px;font-weight:400;color:#69798f;line-height:1.7}.form-row{gap:18px}.switch-row{font-size:14px;color:#4b5b73;padding:18px 0;line-height:1.6}.switch-row small{font-size:12px;color:#6d7c91}.switch-row input{width:18px;height:18px;flex-shrink:0}.form-note{font-size:13px;color:#677990;line-height:1.75;padding:0 28px 20px}.form-error{font-size:13px;line-height:1.65;color:#b63749}.form-error:empty{padding-bottom:0}.form-fields>p{font-size:13px;line-height:1.75;color:#687991;margin:0 0 20px}.form-fields>p:last-child{margin:0 0 24px}.field #manual-amount-error{font-size:13px;color:#b63749}
.form-fields{padding:0 28px}.form-fields .field:last-child{margin-bottom:24px}.form-fields .readonly-value{background:#f5f7fa;color:#65758b;padding:12px;border-radius:9px}
dialog{width:620px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 56px);border:1px solid #dce2eb;border-radius:18px;box-shadow:0 26px 90px #10213930;color:#263c58;overflow:auto;scroll-padding-top:100px;scroll-padding-bottom:90px}
dialog::backdrop{background:#16243759;backdrop-filter:blur(4px)}
.dialog-heading{padding:24px 28px 20px;position:sticky;top:0;z-index:2;background:#fff;border-bottom:1px solid #edf0f4;align-items:center;gap:20px}.dialog-heading h2{font-size:23px;margin-top:5px;letter-spacing:-.4px}.eyebrow{font-size:10px;color:#6c819f;letter-spacing:1.5px;font-weight:500}.dialog-heading .icon-button{display:grid;place-items:center;padding:0;flex-shrink:0;line-height:1;background:#f0f2f5;border-radius:50%;font-size:24px;width:32px;height:32px;min-height:32px;min-width:32px}.dialog-footer{position:sticky;bottom:0;z-index:2;background:#fafbfc;padding:18px 28px;gap:10px;border-color:#e6eaf0}.dialog-footer .button{min-height:42px}.form-dialog .form-note{padding-top:20px}.detail-dialog{width:650px}.form-dialog{width:620px}.detail-content{padding:24px 28px}.detail-summary{border-color:#e3e8f0;border-radius:11px;background:#fafbfc;padding:18px;margin-bottom:24px}.detail-grid{gap:24px 20px}.detail-grid dt{font-size:12px;color:#697b93}.detail-grid dd{font-size:14px;color:#364f6e;line-height:1.6}.detail-summary strong{font-size:26px}.timeline li{font-size:13px;line-height:1.6}.timeline small{font-size:12px;color:#6a7d98}
#detail-content form{padding:24px 28px}#detail-content .field{margin:16px 0 20px}#detail-content form>p{font-size:14px;line-height:1.75;color:#5e718d;margin-bottom:20px}#detail-content form>button:last-child{margin-bottom:4px}#detail-content .form-error{padding:0}
.code-block{font-size:13px;line-height:1.8;background:#22334e;border-radius:10px}.docs-links{flex-wrap:wrap}.footer{font-size:12px;color:#738094;padding:0 32px 26px;gap:20px;line-height:1.6}
.merchant-row-actions{gap:8px}.merchant-row-actions>button{min-height:36px;font-size:13px;padding:8px 11px;border-radius:8px}.merchant-action-menu{border-radius:12px;padding:7px;box-shadow:0 8px 30px #17253b22;border-color:#d9e1ec}.merchant-menu-label{font-size:11px;padding:8px 12px}.merchant-action-menu button{font-size:14px;min-height:42px;padding:10px 12px;border-radius:7px}.merchant-menu-danger small{font-size:12px;line-height:1.5}.channel-edit-header{padding:20px 0;margin-bottom:20px;gap:20px}.channel-edit-header h3{font-size:16px}.channel-edit-header p{font-size:13px;color:#6b7d95;line-height:1.7}
.upstream-cost-grid{gap:24px}.upstream-cost-heading{padding:24px 20px;gap:12px;background:#fff}.upstream-cost-heading h2{font-size:20px}.upstream-cost-heading p{font-size:12px;color:#68778c}.upstream-cost-icon{width:40px;height:40px;font-size:23px;border-radius:12px}.upstream-cost-count{font-size:12px;color:#60728b}.upstream-cost-table th,.upstream-cost-table td{padding:17px 14px}.upstream-cost-table th{font-size:12px}.upstream-cost-table th:first-child{width:34%}.upstream-cost-table th:nth-child(2){width:18%}.upstream-cost-table th:nth-child(3){width:24%}.upstream-cost-table th:nth-child(4){width:24%}.upstream-cost-table .button{font-size:12px;padding:8px 10px;min-height:36px}.upstream-cost-method{font-size:14px;color:#314a6b;font-weight:600}.upstream-cost-updated{font-size:11px;color:#667b98;line-height:1.6;margin-top:6px}.upstream-cost-table td:nth-child(2),.upstream-cost-table td:nth-child(3){font-size:13px;color:#405778}
.balance-tabs{flex-wrap:wrap}.balance-tab{font-size:14px;min-height:42px;border-radius:9px;padding:10px 16px}.integration-secondary{font-size:12px;line-height:1.6;color:#667b98}.toast{font-size:14px;line-height:1.6;border-radius:11px;padding:14px 20px;background:#233752;left:calc(50% + 120px)}
@media(max-width:1300px){.app-shell{grid-template-columns:220px minmax(0,1fr)}main{padding:28px 24px}.topbar,.preview-bar{padding-left:24px;padding-right:24px}.upstream-cost-grid{grid-template-columns:1fr}.toast{left:calc(50% + 110px)}.stat-card{padding:20px}.stat-value{font-size:28px}.content-grid{gap:20px}.topbar-actions{gap:10px}}
@media(max-width:980px){.content-grid,.simple-grid,.integration-accounts{grid-template-columns:1fr}.page-heading{align-items:flex-start}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{gap:12px}.topbar-actions .demo-pill,.topbar-actions .notification-button,.topbar-divider{display:none}.table-toolbar{gap:14px}.tasks-grid{grid-template-columns:1fr}.task-symbol{display:grid}.task-card strong{font-size:14px}}
@media(max-width:720px){.app-shell{display:block}.sidebar{width:260px;padding:26px 16px 0;box-shadow:8px 0 40px #17253b18}.sidebar-bottom{padding-left:25px}.topbar{min-height:64px;height:auto;padding:12px 16px;gap:9px}.breadcrumb{font-size:13px;min-width:100px}.admin-actions{gap:6px}.admin-actions .button{font-size:12px;padding:8px 10px;min-height:36px}.topbar-actions{gap:6px}.user-avatar{display:none}.role-switch select{font-size:12px;max-width:100px;min-height:36px}.preview-bar{padding:10px 18px;font-size:11px;align-items:flex-start}.preview-symbol{line-height:1.5}.preview-bar b{margin:0 2px}main{padding:26px 16px;min-height:calc(100dvh - 180px)}h1{font-size:26px;letter-spacing:-.5px}.page-heading{gap:16px;margin-bottom:22px}.page-heading p{font-size:13px;margin-top:9px}.heading-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.button{font-size:13px;min-height:42px;padding:10px 13px}.stats-grid{gap:12px}.stat-card{padding:18px 15px}.stat-label{font-size:13px;gap:6px}.stat-icon{display:none}.stat-value{font-size:27px;margin:13px 0}.stat-meta{font-size:11px;line-height:1.6;gap:5px}.card-heading{padding:20px}.card-heading h2{font-size:17px}.task-card{padding:18px}.table-toolbar{padding:17px 18px}.tabs{gap:19px}.tab{font-size:13px}.filter-bar{padding:15px 18px}.search-control{min-width:100%;max-width:none}.filter-select{font-size:13px;min-height:42px;flex:1}.table-actions .button{font-size:12px}th,td{padding:15px 16px}table{font-size:13px}.pagination{font-size:11px;padding:16px;gap:12px;flex-wrap:wrap}.form-card,.docs-card,.integration-intro,.integration-account{padding:22px 20px}.form-card>p,.integration-intro p,.integration-account p{font-size:13px;line-height:1.8}.field{font-size:14px}.field input,.field select,.field textarea{font-size:16px}.field small{font-size:12px}.form-row{grid-template-columns:1fr;gap:0}.form-note{font-size:13px;padding-left:22px;padding-right:22px}.form-fields{padding:0 22px}.form-error{padding-left:22px;padding-right:22px}.dialog-heading{padding:21px 22px 18px}.dialog-heading h2{font-size:22px}.dialog-footer{padding:16px 22px}.detail-dialog,.form-dialog{width:calc(100vw - 24px)}dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px;scroll-padding-top:90px}.detail-content{padding:22px}.detail-grid{grid-template-columns:1fr;gap:20px}#detail-content form{padding:22px}.channel-edit-header{align-items:flex-start}.channel-edit-header h3{font-size:15px}.channel-edit-header p{font-size:12px}.upstream-cost-grid{gap:20px}.upstream-cost-heading{padding:21px 16px;gap:10px}.upstream-cost-heading h2{font-size:19px}.upstream-cost-count{font-size:11px}.upstream-cost-table th,.upstream-cost-table td{padding:15px 9px}.upstream-cost-table th{font-size:11px}.upstream-cost-table td:nth-child(2),.upstream-cost-table td:nth-child(3){font-size:12px}.upstream-cost-table .button{font-size:11px;padding:8px;min-height:36px}.upstream-cost-method{font-size:13px}.upstream-cost-updated{font-size:10px}.footer{padding:0 18px 24px;font-size:11px;gap:8px;flex-wrap:wrap}.toast{left:50%;font-size:13px;max-width:calc(100vw - 32px);width:max-content}.integration-login .field{min-width:0;flex-basis:100%}.form-dialog .dialog-footer .button{flex:1}.integration-actions{gap:8px}}

.nav-icon{flex-shrink:0;width:19px;height:20px}.nav-icon svg{width:19px;height:19px;display:block}.icon-button svg{width:20px;height:20px;display:block;margin:auto}
.integration-intro p+.button,.integration-account p+.button{margin-top:14px}.integration-intro p+p{margin-top:8px}.docs-card p+.button{margin-top:12px}.table-link+.table-link{margin-left:14px}
#channel-config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;max-width:1100px;margin:20px auto 28px;padding:0}
#channel-config .channel-edit-header,#channel-config .field:has(select[name=channel]),#channel-config .field:has(textarea),#channel-config .field:has(input[readonly]),#channel-config .switch-row{grid-column:1/-1}
#channel-config>.button{justify-self:start;grid-column:1/-1;margin-top:8px}#channel-config .switch-row{margin:0}#channel-config .channel-edit-header{margin-top:0}
@media(max-width:720px){#channel-config{grid-template-columns:1fr;column-gap:0}.integration-intro p+.button{margin-top:12px}}

.integration-intro p+.heading-actions{margin-top:16px;flex-wrap:wrap}.integration-intro p+.table-scroll{margin-top:20px}
.language-switch select{font:inherit;font-size:13px;color:#44536a;border:1px solid #d5dce5;border-radius:9px;background:#fff;min-height:40px;padding:7px 10px;max-width:105px}
.login-languages{display:flex;gap:5px;margin:12px 0 0}.login-languages button{border:1px solid #d5dce5;background:#fff;color:#536277;border-radius:7px;font-size:12px;padding:5px 10px}.login-languages button[aria-pressed=true]{background:#eaf2ff;border-color:#a8c7ee;color:#0062c5}
html[lang=en] .nav-link{font-size:13px}html[lang=en] .upstream-cost-table th,html[lang=en] .upstream-cost-table td{overflow-wrap:anywhere}html[lang=en] .upstream-cost-table .button{white-space:normal;line-height:1.4}html[lang=en] .upstream-cost-count{white-space:normal;text-align:right}
@media(max-width:720px){.language-switch{margin-left:auto}.language-switch select{min-height:36px;font-size:12px;max-width:92px}.topbar{gap:9px}.topbar-actions{gap:8px}.role-switch select{max-width:110px}.breadcrumb{min-width:0}}
.manual-channel-field{border:0;margin:0 0 24px;padding:0;min-width:0}.manual-channel-field legend{padding:0;margin-bottom:10px;font-size:14px;color:#435267;font-weight:500}.manual-channel-options{display:flex;flex-wrap:wrap;gap:8px}.manual-channel-choice{display:flex;align-items:center;line-height:20px;gap:8px;padding:10px 12px;border:1px solid #d8dfe8;border-radius:8px;cursor:pointer;background:#fff;min-width:0;min-height:44px;max-width:100%;transition:border-color .15s,background .15s}.manual-channel-choice:hover{background:#f8fbff;border-color:#a8bfdc}.manual-channel-choice:has(input:checked){border-color:#0071e3;background:#eef5ff;box-shadow:0 0 0 1px #0071e3}.manual-channel-choice:focus-within{outline:3px solid #0071e333;outline-offset:2px}.manual-channel-choice input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#0071e3}.manual-channel-copy{display:grid;gap:6px;min-width:0;flex:1}.manual-channel-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:#273d59;font-weight:550;overflow-wrap:anywhere}.manual-channel-selected{color:#0071e3;opacity:0;font-size:17px}.manual-channel-choice:has(input:checked) .manual-channel-selected{opacity:1}.manual-channel-help{margin:10px 0 0;font-size:12px;color:#738197;line-height:1.6}.manual-channel-empty{grid-column:1/-1;font-size:13px;color:#738197;padding:14px;border:1px dashed #d8dfe8;border-radius:9px;margin:0}.manual-channel-field:disabled .manual-channel-choice{opacity:.6;cursor:default}


.dialog-heading .icon-button svg{width:16px;height:16px;margin:0;pointer-events:none}

/* Keep long labels and identifiers inside their containers in both languages. */
.topbar{height:auto;min-height:72px;flex-wrap:wrap;row-gap:10px}
.breadcrumb{min-width:0;flex:1 1 200px}.breadcrumb strong{overflow-wrap:anywhere}
.admin-actions{min-width:0;max-width:100%;flex-wrap:wrap}
.admin-actions .button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.topbar-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}
.page-heading{flex-wrap:wrap}.page-heading>div:first-child{min-width:0}
.heading-actions,.table-actions{min-width:0;flex-wrap:wrap}
.heading-actions .button{max-width:100%;white-space:normal;text-align:center}
.form-row,.simple-grid,.integration-accounts{min-width:0}
.form-row>* ,.simple-grid>* ,.integration-accounts>*{min-width:0}
#detail-content,.detail-summary>div{min-width:0;overflow-wrap:anywhere}
.detail-summary{gap:16px;flex-wrap:wrap}.detail-summary>div{flex:1 1 180px}.detail-summary>.status{flex-shrink:0}
.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid>div{min-width:0}
.dialog-footer{flex-wrap:wrap}.dialog-footer .button{min-width:0;max-width:100%;white-space:normal;text-align:center}
html[lang=en] .upstream-cost-table td:nth-child(2),html[lang=en] .upstream-cost-table td:nth-child(3){white-space:normal;overflow-wrap:normal;word-break:normal}
@media(max-width:720px){.topbar{min-height:64px}.detail-grid{grid-template-columns:1fr}.dialog-footer .button{line-height:1.4}}

.upstream-cost-intro p{margin:0;line-height:1.6}.upstream-cost-intro details{margin-top:8px}.upstream-cost-intro summary{cursor:pointer;font-size:12px}.upstream-cost-intro details p{margin-top:10px}

.upstream-cost-intro{display:block}

.merchant-data-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px;font-size:12px;color:#68758a}

.settlement-maturity{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:600px){.settlement-maturity{grid-template-columns:1fr}}

.upstream-channel-table{width:100%;min-width:1000px;table-layout:fixed}
.upstream-channel-table th,.upstream-channel-table td{padding:16px 12px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.upstream-channel-table th:nth-child(1){width:10%}.upstream-channel-table th:nth-child(2){width:15%}.upstream-channel-table th:nth-child(3){width:9%}.upstream-channel-table th:nth-child(4){width:9%}.upstream-channel-table th:nth-child(5),.upstream-channel-table th:nth-child(6){width:9%}.upstream-channel-table th:nth-child(7){width:8%}.upstream-channel-table th:nth-child(8),.upstream-channel-table th:nth-child(9){width:8%}.upstream-channel-table th:nth-child(10){width:15%;position:sticky;right:0;background:var(--surface,#fff)}.upstream-channel-table td:last-child{position:sticky;right:0;background:#fff}
.upstream-channel-table .button{min-height:34px;padding:7px 12px;font-size:12px}
.channel-state{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px}.channel-state::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.channel-state.is-ready{color:#237b5a}.channel-state.is-off{color:#778295}
.channel-more-menu{position:fixed;z-index:40;width:190px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px #17253b26}.channel-more-menu[hidden]{display:none}.channel-more-menu a,.channel-more-menu button{display:block;width:100%;padding:10px 12px;border:0;border-radius:6px;background:transparent;color:var(--text,#273750);text-align:left;text-decoration:none;font:inherit;font-size:13px;cursor:pointer}.channel-more-menu a:hover,.channel-more-menu button:hover,.channel-more-menu a:focus-visible,.channel-more-menu button:focus-visible{background:#eef4ff;outline:none}

/* Provider details use one aligned body and a separate action bar. */
.upstream-detail-dialog{width:660px;max-width:calc(100vw - 32px)}
.upstream-detail-dialog .dialog-heading{padding:20px 24px;gap:16px}.upstream-detail-dialog .dialog-heading .eyebrow{display:none}.upstream-detail-dialog .dialog-heading h2{font-size:20px;line-height:1.4;letter-spacing:-.2px;margin:0}.upstream-detail-dialog>.dialog-footer{display:none}
.upstream-detail-body{padding:24px;display:grid;gap:24px}.upstream-detail-section{min-width:0}.upstream-detail-section h3{font-size:14px;line-height:1.5;font-weight:600;margin:0 0 12px;color:#263b55}
.upstream-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0}.upstream-account-grid>div{min-width:0}.upstream-account-grid .upstream-gateway{grid-column:1/-1}.upstream-account-grid dt,.upstream-status-grid dt{font-size:12px;color:#68758a;line-height:1.5;margin-bottom:6px}.upstream-account-grid dd{font-size:14px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.upstream-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border:1px solid var(--line);border-radius:10px;background:#f8f9fb;overflow:hidden}.upstream-status-grid>div{padding:12px 16px;min-width:0}.upstream-status-grid dd{margin:0;line-height:1.5;font-size:13px}
.upstream-methods{display:flex;gap:8px;flex-wrap:wrap}.upstream-methods>span{font-size:12px;line-height:1.5;padding:5px 9px;border:1px solid var(--line);border-radius:6px;background:#f8f9fb}.upstream-detail-empty{margin:0;color:#68758a;font-size:13px;line-height:1.6}
.upstream-detail-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:16px 24px;border-top:1px solid var(--line);background:#fafbfc;position:sticky;bottom:0;z-index:1}.upstream-detail-actions .button{min-height:38px;padding:9px 12px;font-size:13px}
@media(max-width:600px){.upstream-detail-dialog .dialog-heading{padding:18px 20px}.upstream-detail-dialog .dialog-heading h2{font-size:18px}.upstream-detail-body{padding:20px;gap:20px}.upstream-detail-actions{padding:14px 20px}.upstream-detail-actions .button{flex:1 1 auto;text-align:center}.upstream-account-grid{gap:16px}.upstream-status-grid>div{padding:12px}.upstream-detail-actions a:last-child{flex-basis:100%}}
.upstream-status-grid>div:last-child:nth-child(odd){grid-column:1/-1}

.cost-provider{margin-bottom:28px;min-width:0}.cost-provider-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.cost-provider-heading p{font-size:12px;color:#68758a;margin:0 0 4px}.cost-provider-heading h2{font-size:20px;margin:0}.cost-provider-heading>span{font-size:12px;color:#68758a}
summary.upstream-cost-heading{cursor:pointer;list-style:none;user-select:none}summary.upstream-cost-heading::-webkit-details-marker{display:none}summary.upstream-cost-heading:focus-visible{outline:2px solid #0071e3;outline-offset:-3px;border-radius:12px}.upstream-cost-heading h3{font-size:18px;line-height:1.4;margin:0 0 4px}.upstream-cost-heading>div{min-width:0}.upstream-cost-panel:not([open])>.upstream-cost-heading{border-bottom:0}.cost-disclosure{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:#62758e;white-space:nowrap;flex-shrink:0}.cost-disclosure svg{width:16px;height:16px}.upstream-cost-panel[open] .cost-expand-label,.upstream-cost-panel:not([open]) .cost-collapse-label{display:none}.upstream-cost-panel[open] .cost-disclosure svg{transform:rotate(180deg)}
@media(max-width:600px){.cost-provider-heading{align-items:flex-end}.cost-provider-heading>span{max-width:50%;text-align:right;line-height:1.5}.upstream-cost-heading h3{font-size:17px}.upstream-cost-heading{flex-wrap:wrap}.upstream-cost-heading .upstream-cost-count{margin-left:auto}.cost-disclosure{margin-left:auto}}
@media(max-width:420px){.cost-disclosure>span{display:none}.cost-disclosure{margin-left:0}.upstream-cost-heading h3{font-size:16px}}
@media(max-width:420px){summary.upstream-cost-heading{display:grid;grid-template-columns:32px minmax(0,1fr) auto 16px;gap:8px;padding:16px 12px}.upstream-cost-heading .upstream-cost-icon{width:32px;height:32px;font-size:20px}.upstream-cost-heading .upstream-cost-count{max-width:72px;white-space:normal;line-height:1.5;text-align:right;margin:0}.upstream-cost-heading h3{font-size:15px}.upstream-cost-heading p{font-size:11px;line-height:1.5}}

.api-debug-intro .heading-actions{margin:16px 0}
.merchant-action-menu{width:260px}.merchant-action-menu button{justify-content:flex-start;gap:12px;min-height:42px;color:#2878cb}.merchant-action-menu button svg{width:18px;height:18px;flex:0 0 18px}.merchant-action-menu button .merchant-menu-text{flex:1;color:inherit;font-size:14px}.merchant-action-menu button small{font-size:10px;color:#8290a3;white-space:nowrap}.merchant-action-menu button:disabled{cursor:not-allowed;color:#9da8b6}.merchant-action-menu button:disabled:hover{background:transparent}.merchant-management-body{padding:24px 28px}.merchant-management-identity{font-size:13px;color:#68758a;margin-bottom:20px}.merchant-management-body>p{font-size:13px;line-height:1.7;margin-bottom:18px}.merchant-management-body .heading-actions{margin-top:20px}

/* Merchant registry: readable summaries, with the action entry always reachable. */
.merchant-management-table{min-width:1480px}.merchant-management-table th,.merchant-management-table td{padding:16px 18px;vertical-align:top}.merchant-management-table td{font-size:13px;line-height:1.65}.merchant-management-table td:nth-child(2),.merchant-management-table td:nth-child(3){max-width:180px;white-space:normal;overflow-wrap:anywhere}.merchant-management-table td:nth-child(4){min-width:210px;max-width:270px;overflow-wrap:anywhere}.merchant-management-table td:nth-child(5){min-width:230px}.merchant-management-table td:nth-child(6){min-width:155px;white-space:normal}.merchant-management-table td:nth-child(10){min-width:160px;max-width:240px;white-space:normal;overflow-wrap:anywhere}.merchant-cell-lines{white-space:pre-line;line-height:1.85}.merchant-management-table th:last-child,.merchant-management-table td:last-child{position:sticky;right:0;background:var(--surface,#fff);z-index:1;box-shadow:-6px 0 10px -10px #17253b88}.merchant-management-table th:last-child{background:#f7f9fc}.merchant-management-table .merchant-row-actions{justify-content:flex-start}

.channel-workspace{display:grid;gap:18px}.merchant-channel-toolbar{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.merchant-channel-toolbar form{display:flex;align-items:flex-end;gap:12px;flex:1}.merchant-channel-toolbar .field{margin:0;min-width:260px;max-width:480px;flex:1;font-size:12px}.merchant-channel-toolbar select{min-height:42px;margin-top:6px}.merchant-channel-currency{font-size:12px;color:#6b7d95}.merchant-channel-section-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.merchant-channel-section-heading h2{font-size:17px;display:flex;align-items:center;gap:10px}.merchant-channel-section-heading h2 span{font-size:12px;background:#f1f4f8;color:#6b7d95;padding:3px 8px;border-radius:6px}.merchant-channel-section td,.merchant-channel-section th{padding:14px 18px}.merchant-channel-section td{font-size:13px}.merchant-channel-section .button{min-height:34px;padding:7px 10px}.merchant-channel-empty{padding:22px;color:#6b7d95;font-size:13px}.merchant-channel-editor{padding:18px 22px}.merchant-channel-editor>summary{font-size:14px;font-weight:600;cursor:pointer}.merchant-channel-editor #channel-config{margin:0;max-width:none}.merchant-channel-editor #channel-error{grid-column:1/-1;margin:0;padding:0}.merchant-channel-help{font-size:12px;color:#6b7d95;line-height:1.7}.merchant-channel-help a{margin-left:16px;color:#2878cb}@media(max-width:720px){.merchant-channel-toolbar{padding:16px;flex-wrap:wrap}.merchant-channel-toolbar form{width:100%;flex-wrap:wrap}.merchant-channel-toolbar .field{min-width:0;flex-basis:100%;max-width:none}.merchant-channel-section-heading{padding:16px}.merchant-channel-editor{padding:16px}.merchant-channel-section table{min-width:760px}.merchant-channel-help a{display:block;margin:8px 0 0}}

.platform-channel-table td,.platform-channel-table th{padding:12px 14px}.platform-channel-table td:last-child,.platform-channel-table th:last-child{position:sticky;right:0;background:var(--surface,#fff);box-shadow:-1px 0 0 var(--line)}.platform-channel-table .button{min-height:34px;padding:6px 10px}

.manual-channel-choice:has(input:disabled){background:#f5f6f8;border-color:#e1e5eb;cursor:not-allowed}.manual-channel-choice:has(input:disabled) .manual-channel-name{color:#8792a2}.manual-channel-name small{font-size:11px;font-weight:400}

.order-column-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:20px 0}.order-column-option{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 10px;border:1px solid var(--line,#e1e5eb);border-radius:8px;cursor:pointer}.order-column-option input{width:16px;height:16px;margin:0;accent-color:#0071e3}.order-column-option:has(input:checked){background:#eef5ff;border-color:#bad5f5}.order-column-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:16px}@media(max-width:520px){.order-column-options{grid-template-columns:1fr}}
#detail-dialog:has(#payment-columns-form)[open]{display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 40px)}
#detail-dialog:has(#payment-columns-form)>.dialog-footer{display:none}
#detail-dialog:has(#payment-columns-form)>.dialog-heading{position:static;flex-shrink:0;padding:20px 24px}
#detail-dialog:has(#payment-columns-form) .eyebrow{display:none}
#detail-dialog:has(#payment-columns-form) #detail-content{min-height:0;display:flex;overflow:hidden}
#detail-dialog:has(#payment-columns-form) .detail-content{padding:18px 24px 20px;display:flex;flex-direction:column;min-height:0;width:100%}
#detail-dialog:has(#payment-columns-form) .detail-content>p{margin:0 0 12px;font-size:13px;line-height:1.6;flex-shrink:0}
#detail-content #payment-columns-form{padding:0;min-height:0;display:flex;flex-direction:column}
#payment-columns-form .order-column-options{overflow-y:auto;min-height:0;margin:0;gap:6px 12px;padding:2px}
#payment-columns-form .order-column-option{min-height:36px;padding:6px 9px;font-size:13px}
#payment-columns-form .order-column-actions{flex-shrink:0;padding-top:14px;border-top:1px solid var(--line,#e1e5eb);margin-top:12px}
#payment-columns-form .form-error{flex-shrink:0;margin:8px 0 0}


.manual-channel-brand{min-width:156px;min-height:52px;gap:10px}.manual-channel-brand .manual-channel-name{min-height:28px;flex-wrap:nowrap}.payment-method-logo{display:block;width:104px;height:28px;object-fit:contain}.manual-channel-brand:has(input:disabled) .payment-method-logo{opacity:.45}
.payment-method-logo[src$="/googlepay.svg"]{height:52px;margin-block:-12px}

.merchant-access-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;gap:16px}.merchant-access-heading h2{margin:0 0 6px;font-size:17px}.merchant-access-heading p,.merchant-access-note{font-size:13px;color:#738197;line-height:1.6}.merchant-access-heading p{margin:0}.merchant-access-heading>span{white-space:nowrap;font-size:13px;color:#738197}.merchant-permission-group{border:0;padding:0;margin:20px 0}.merchant-permission-group legend{font-size:13px;font-weight:600;margin-bottom:10px}.merchant-permission-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.merchant-permission-options label{display:flex;align-items:center;gap:8px;font-size:13px}.merchant-permission-options input{width:16px;height:16px;accent-color:#0071e3}

#detail-dialog:has(#merchant-permissions-form){display:flex;flex-direction:column;max-height:88dvh}#detail-dialog:has(#merchant-permissions-form):not([open]){display:none}#detail-dialog:has(#merchant-permissions-form)>.dialog-footer{display:none}#detail-dialog:has(#merchant-permissions-form)>.dialog-heading{padding:20px 24px;position:static;flex-shrink:0}#detail-dialog:has(#merchant-permissions-form) .eyebrow{display:none}#detail-dialog:has(#merchant-permissions-form) #detail-content{display:flex;min-height:0;overflow:hidden}#detail-dialog:has(#merchant-permissions-form) .detail-content{display:flex;flex-direction:column;min-height:0;padding:18px 24px;width:100%}#detail-dialog:has(#merchant-permissions-form) .detail-content>p{margin:0 0 10px;flex-shrink:0}#merchant-permissions-form{display:flex;flex-direction:column;min-height:0;padding:0}#merchant-permissions-form .merchant-permission-list{overflow-y:auto;min-height:0;padding:0 2px}#merchant-permissions-form .merchant-permission-group{margin:12px 0 18px}#merchant-permissions-form>button{align-self:flex-end;flex-shrink:0;margin-top:12px}#merchant-permissions-form>.form-error{flex-shrink:0}

.authenticator-qr{display:grid;justify-items:center;gap:10px;margin:0 0 20px;text-align:center}.authenticator-qr img{display:block;width:220px;height:220px;max-width:100%;object-fit:contain;image-rendering:pixelated;background:#fff;border:1px solid #e1e5eb;border-radius:8px}.authenticator-qr p{margin:0;font-size:13px;line-height:1.6;color:#435267}.authenticator-qr small{font-size:12px;line-height:1.6;color:#738197}

.authenticator-account{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:13px;color:#738197;overflow-wrap:anywhere}.authenticator-account strong{color:#273d59}.authenticator-manual{margin:0 0 18px;font-size:13px;color:#435267}.authenticator-manual summary{cursor:pointer;color:#0071e3}.authenticator-manual p{margin:12px 0 8px}.authenticator-manual .code-block{margin:0;padding:12px;font-size:13px}

#admin-dialog:has(.authenticator-qr) .dialog-heading{position:static;padding:16px 24px}#admin-dialog:has(.authenticator-qr) .eyebrow{display:none}#admin-dialog:has(.authenticator-qr) .login-languages{margin:0 0 10px}#admin-dialog:has(.authenticator-qr) .dialog-heading h2{margin:0;font-size:20px}#admin-dialog:has(.authenticator-qr) .form-note{padding:0 24px 12px;font-size:13px;line-height:1.6}#admin-dialog:has(.authenticator-qr) #admin-fields{padding:0 24px}#admin-dialog:has(.authenticator-qr) .form-error:empty{display:none}#admin-dialog:has(.authenticator-qr) .dialog-footer{padding:12px 24px}#admin-dialog:has(.authenticator-qr) .field{margin-bottom:12px}

/* Dedicated fund review: fixed actions and explicit clipboard receipt input. */
#detail-dialog:has(#fund-review){display:flex;flex-direction:column;max-height:90dvh;width:640px;overflow:hidden}
#detail-dialog:has(#fund-review):not([open]){display:none}
#detail-dialog:has(#fund-review)>.dialog-heading{flex-shrink:0;position:static;padding:20px 24px}
#detail-dialog:has(#fund-review) .eyebrow,#detail-dialog:has(#fund-review)>.dialog-footer{display:none}
#detail-dialog:has(#fund-review) .dialog-heading h2{margin:0;font-size:23px}
#detail-dialog:has(#fund-review) #detail-content{display:flex;min-height:0;overflow:hidden}
#detail-content #fund-review{padding:0;width:100%;min-height:0;display:flex;flex-direction:column;gap:0}
.fund-review-body{padding:20px 24px;min-height:0;overflow-y:auto;display:grid;gap:16px}
#fund-review .field,#fund-review .switch-row,#fund-review p{margin:0}
.fund-review-summary{display:grid;gap:12px}
.fund-review-amount{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px;border:1px solid #b8d4fc;border-radius:12px;background:#edf5ff}
.fund-review-amount span{font-size:13px;color:#49698e}
.fund-review-amount strong{font-size:34px;line-height:1.2;font-weight:650;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#075cc9}
.fund-review-merchant{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:13px}
.fund-review-merchant span,.fund-review-merchant small{color:#6b7e98;font-size:12px}
.fund-review-merchant strong{font-size:14px;color:#314865;overflow-wrap:anywhere}
.fund-review-notice{font-size:12px;line-height:1.6;color:#718097}
#fund-review textarea{min-height:66px;max-height:160px;resize:vertical}
#fund-review .form-error{padding:0}
#fund-review .form-error:empty{display:none}
.fund-review-actions{flex-shrink:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;background:#fafcff;border-top:1px solid var(--line)}
.payment-proof-control{display:grid;gap:8px;font-size:14px}
.payment-proof-control[hidden]{display:none}
.payment-proof-control>small{font-size:12px;color:#73829a;line-height:1.6}
.payment-proof-paste{padding:14px;border:1px dashed #9fbce1;border-radius:10px;background:#f8fbff;outline-offset:3px}
.payment-proof-paste:focus-visible{outline:2px solid #007aff}
#fund-review .payment-proof-paste>p{font-size:13px;margin:0 0 10px;color:#386297}
.payment-proof-paste input[type=file]{max-width:100%;font-size:13px}
.payment-proof-preview{display:flex;align-items:center;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.payment-proof-preview[hidden]{display:none}
.payment-proof-preview img{width:70px;height:60px;object-fit:contain;background:white;border:1px solid var(--line);border-radius:6px}
.payment-proof-preview>div{flex:1;min-width:0;display:grid;gap:4px}
.payment-proof-preview strong{font-size:12px;overflow-wrap:anywhere}
.payment-proof-preview span{font-size:12px;color:#6b7d94}
.payment-proof-preview .button{padding:6px 10px;min-height:30px;font-size:12px}
@media(max-width:520px){.fund-review-body{padding:16px}.fund-review-actions{padding:14px 16px}.fund-review-amount{padding:14px}.fund-review-amount strong{font-size:30px}}

#form-dialog:has(.fund-merchant-choice) .fund-merchant-choice select{min-height:48px;padding:10px 14px;font-size:16px;width:100%}
#form-dialog:has(.fund-merchant-choice) .payment-proof-paste>p{font-size:13px;margin:0 0 10px;color:#386297}

.fund-application-dialog .eyebrow{display:none}

.withdrawal-amount-input::placeholder{color:#7b8798;opacity:1;font-weight:400}

/* GoGoPay identity: a forward G and a quiet, legible wordmark. */
.brand-logo{display:block;flex:none;width:40px;height:40px;border-radius:12px}
.brand-wordmark{color:#17243b;font-size:23px;font-weight:750;letter-spacing:-.8px;line-height:1.1}
.brand-wordmark>span{color:#0866f5}.brand-wordmark small{color:#6b7484;letter-spacing:1px}
.login-brand{display:flex;align-items:center;gap:11px;margin:0 0 24px;font-size:28px;font-weight:750;letter-spacing:-1px;color:#17243b;line-height:1}
.login-brand img{display:block;flex:none;border-radius:12px}.login-brand-pay{color:#0866f5}
#admin-dialog:has(.authenticator-qr) .login-brand{margin-bottom:14px;font-size:23px}
#admin-dialog:has(.authenticator-qr) .login-brand img{width:32px;height:32px}

.app-shell[hidden]{display:none}
