/* Layout follows the supplied merchant console: charcoal navigation, blue actions, compact data. */
:root{--accent:#1e9fff;--primary:#1e9fff;--ink:#3e454b;--muted:#7d858c;--line:#ededed;--page:#f2f2f2;--card:#fff}
html[data-theme=white] body{background:#f2f2f2;color:#3e454b;font-family:Arial,"Microsoft YaHei","Noto Sans Devanagari",sans-serif;font-size:13px}
html[data-theme=white] aside#sidebar{width:200px;background:#28323a;border:0;box-shadow:none;color:#bcc3c8;padding:0;top:0;height:100dvh}
html[data-theme=white] .brand{height:55px;min-height:55px;padding:8px 13px;border-bottom:1px solid #344049;gap:10px;letter-spacing:0;color:#e3e7eb;font-size:18px}
html[data-theme=white] .brand-mark{width:34px;height:34px;border-radius:50%;border:2px solid #1e9fff;background:transparent;color:#1e9fff;font-size:24px;box-shadow:none}
html[data-theme=white] .brand i{font-size:10px;letter-spacing:1px;color:#aab8c4;margin-top:2px}
html[data-theme=white] aside nav{padding:0;overflow:auto}html[data-theme=white] aside nav>a{border-radius:0;padding:12px 20px;margin:0;font-size:13px;color:#bcc3c8;min-height:39px;border:0}
html[data-theme=white] aside nav a:hover{background:#34424e;color:#fff}html[data-theme=white] aside nav a.selected{background:#1e9fff;color:#fff;box-shadow:none}
html[data-theme=white] .nav-section{padding:14px 16px 8px;margin:0;color:#86949e;font-size:10px;letter-spacing:1px}
.nav-group{margin:0;border:0;padding:0}.nav-group>summary{display:flex;align-items:center;gap:9px;list-style:none;padding:14px 16px;cursor:pointer;color:#d3d9df;background:#28323a;font-weight:400}.nav-group>summary::-webkit-details-marker{display:none}.nav-group .ui-icon{width:15px;height:15px}.nav-chevron{margin-left:auto;color:#8997a2}
html[data-theme=white] aside .nav-group>a{background:#0d1319;color:#b5bdc5;display:block;padding:12px 30px;border-radius:0;text-decoration:none;font-size:13px;margin:0;border:0;min-height:40px}.nav-group>a:hover{color:#fff!important}.nav-group>a.selected{background:#1e9fff!important;color:#fff!important}
html[data-theme=white] .sidebar-account{border-top:1px solid #3a454d;margin:14px 0 0;padding:15px 12px;background:none;color:#cbd2d8}.sidebar-account strong{font-size:12px}.sidebar-account small{color:#9ba8b2}
html[data-theme=white] .workspace{margin-left:200px;padding:104px 14px 30px;max-width:none;width:calc(100% - 200px);min-height:100dvh}
html[data-theme=white] .workspace>header{position:fixed;left:200px;right:0;top:0;height:55px;min-height:55px;background:#fff;border-bottom:1px solid #f2f2f2;padding:0 18px;z-index:30;box-shadow:none;gap:10px}
.header-title{gap:14px}.header-title h2{font-size:14px;font-weight:400;line-height:1.2;margin:0}.header-title small{display:none}#menu-toggle{display:inline-flex;padding:6px;min-width:28px;min-height:28px;border:0;background:none!important;box-shadow:none}.workspace>header .toolbar{gap:10px}.workspace>header form{display:flex;align-items:center;gap:6px;margin:0}.workspace>header label{font-size:0;gap:0;margin:0}.workspace>header select{min-width:75px;width:auto;padding:5px 8px;min-height:29px;font-size:12px;border:1px solid #eee}.workspace>header button.secondary{padding:5px 9px;min-height:29px;font-size:11px}.workspace>header #theme{min-width:65px}
.workspace-tabs{position:fixed;left:200px;right:0;top:55px;height:37px;display:flex;align-items:center;border-bottom:1px solid #eee;background:#fff;z-index:29;padding-left:18px;color:#a3a8ad}.workspace-tabs>a,.workspace-tabs>span{height:37px;padding:0 17px;display:flex;gap:8px;align-items:center;border-right:1px solid #f1f1f1;font-size:12px;text-decoration:none}.workspace-tabs .active-tab{color:#555}.active-tab i{width:8px;height:8px;background:#1e9fff;border-radius:50%}.workspace-tabs .refresh-page{margin-left:auto;font-size:19px;padding:0 20px;color:#8e979e}
html[data-theme=white] .workspace .card{background:#fff;border:0;border-radius:4px;box-shadow:none;margin:0 0 14px;padding:16px 14px}html[data-theme=white] .workspace h3{font-size:14px;font-weight:500;color:#454c52;margin:0 0 16px;letter-spacing:0}.workspace h4{font-size:13px;font-weight:500}.workspace p{font-size:12px;line-height:1.65}.workspace input,.workspace select,.workspace textarea{border-radius:1px;border:1px solid #e8e8e8;background:#fff;padding:9px 11px;font-size:13px;min-height:37px;box-shadow:none}.workspace input:focus,.workspace select:focus,.workspace textarea:focus{border-color:#1e9fff;outline:2px solid #1e9fff16}.workspace .grid{gap:14px 20px}.workspace label{font-size:12px;color:#555;gap:7px;margin-bottom:12px}.workspace label.check{font-size:12px}.workspace input[type=checkbox],.workspace input[type=radio]{min-height:auto;accent-color:#1e9fff}.workspace button,.workspace .button{background:#1e9fff;border:1px solid #1e9fff;border-radius:2px;color:#fff;font-size:12px;padding:9px 16px;box-shadow:none;min-height:36px}.workspace button.secondary,.workspace .button.secondary{background:#fff;color:#666;border:1px solid #ddd}.workspace .danger{background:#e74c4c;border-color:#e74c4c;color:white}.delete-merchant{margin:18px 0 0;border-top:1px solid #eee;padding-top:14px}.delete-merchant>summary{color:#d84b4b;cursor:pointer}.delete-merchant p{max-width:750px}.workspace summary{font-size:13px}.workspace details>summary{margin-bottom:12px}.workspace table{font-size:12px;border:1px solid #e6e6e6;border-collapse:collapse;min-width:600px}.workspace th{background:#f8f8f8;color:#666;font-size:12px;font-weight:400;border-bottom:1px solid #e6e6e6;letter-spacing:0;text-transform:none;padding:10px 12px}.workspace td{border-bottom:1px solid #eee;padding:10px 12px}.workspace tbody tr:nth-child(even){background:#fafafa}.workspace td b,.workspace td strong{font-weight:500}.workspace .badge{font-size:11px;border-radius:2px;padding:3px 7px;line-height:1.5}.workspace .badge.success{background:#ebf8f4;color:#009688}.workspace .badge.failed{background:#ffefee;color:#e45555}.workspace .badge.pending,.workspace .badge.creating,.workspace .badge.uncertain{background:#fff8e5;color:#cb9512}.workspace .filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 18px}.workspace .section-top{margin-bottom:14px}.workspace .notice{border-radius:2px;border:1px solid #dceefa;background:#f2faff;color:#347199;margin:0 0 14px;padding:12px}.workspace footer{font-size:10px;color:#a4a4a4;border:0;margin-top:24px}
.static-data>h3{border:1px solid #eee;padding:12px 14px;margin-bottom:10px!important}.teal-symbol{color:#009688;margin-right:8px}.reference-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 12px 7px}.reference-stat{background:#f8f8f8;position:relative;padding:16px 12px;min-height:97px;display:flex;flex-direction:column}.reference-stat>small{font-size:12px;color:#333}.reference-stat>strong{font-size:29px;font-weight:400;line-height:1.15;color:#222;margin-top:2px;font-variant-numeric:tabular-nums}.reference-stat>span:not(.stat-corner){font-size:11px;color:#333;margin-top:3px}.stat-corner{position:absolute;right:12px;top:14px;background:#1e9fff;color:#fff;font-size:9px;padding:0 5px;line-height:14px;border-radius:2px}.stat-corner.amber{background:#ffb800}.stat-corner.teal{background:#009688}.recovery-card>summary{cursor:pointer}.recovery-card[open]{border-left:3px solid #1e9fff!important}.workspace .overview-intro{padding:6px 2px;margin-bottom:16px}.workspace .overview-intro h1{font-size:25px}.workspace .heading-dot{color:#1e9fff}.workspace .console-metrics .stat{border:1px solid #eee;border-radius:3px!important}.workspace .primary-stat{background:#f8fbff!important;color:#333!important}.workspace .primary-stat h2,.workspace .primary-stat small{color:#333!important}.workspace .chart-line{stroke:#1e9fff}.workspace .chart-area{fill:#1e9fff10}
html[data-theme=white] .auth-screen{background:radial-gradient(ellipse at 12% 70%,#283947 0%,transparent 65%),linear-gradient(120deg,#111e29,#85919b);min-height:100dvh;padding:26px 16px;display:flex;align-items:center;justify-content:center}.auth-screen .auth-card{width:430px;max-width:100%;padding:0 70px 22px;border-radius:10px;box-shadow:0 18px 65px #0002;background:#fff;overflow:hidden;color:#3e454b}.auth-screen .auth-brand{background:linear-gradient(120deg,#128ee5,#2196ef);height:118px;margin:0 -70px 30px;display:flex;justify-content:center;align-items:center;padding:20px;color:#fff;font-size:27px;gap:12px}.auth-screen .auth-brand .brand-mark{border-color:#fff;color:#fff;background:transparent}.auth-screen .auth-brand strong{font-weight:400}.auth-screen .auth-card>.eyebrow{display:none}.auth-screen .auth-card h1{font-size:21px;font-weight:400;letter-spacing:0}.auth-screen .auth-card p{font-size:12px;color:#949da5;margin-bottom:22px}.auth-screen .auth-card input{border:0;border-bottom:1px solid #dce2e7;border-radius:0;background:#fff;padding:11px 0;font-size:14px;box-shadow:none}.auth-screen .auth-card label{font-size:11px;color:#929ba4;margin-bottom:22px}.auth-screen .auth-card button.wide{border-radius:16px;background:#1e9fff;box-shadow:none;min-height:40px;font-weight:400;border:0}.auth-screen .auth-card button.secondary{background:#f4f6f8;color:#6a737c;border:1px solid #e4e8ed}.auth-screen .auth-foot{font-size:9px;margin-top:24px}.auth-screen .auth-foot select{padding:5px;width:75px;min-height:26px;font-size:11px}.auth-screen .auth-foot button{padding:5px;font-size:10px;min-height:26px}.auth-screen .auth-card .totp-qr{max-width:180px}
@media(max-width:1000px){.workspace .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace>header .header-title h2{font-size:12px}.workspace>header .toolbar{gap:5px}.workspace>header #theme{display:none}}
@media(max-width:760px){html[data-theme=white] aside#sidebar{transform:translateX(-100%);z-index:55;transition:transform .2s}.menu-open aside#sidebar{transform:translateX(0)!important}html[data-theme=white] .workspace{margin-left:0;width:100%;padding:104px 10px 24px}html[data-theme=white] .workspace>header,.workspace-tabs{left:0}.workspace>header{padding:0 10px!important}.workspace>header .header-title>div{display:none}.workspace>header .toolbar{margin-left:auto}.workspace-tabs>a,.workspace-tabs>span{padding:0 10px;font-size:11px}.reference-stats{gap:8px;padding:0}.reference-stat{padding:15px 10px}.reference-stat>strong{font-size:26px}.workspace .grid{grid-template-columns:1fr}.auth-screen .auth-card{padding:0 32px 22px}.auth-screen .auth-brand{margin-left:-32px;margin-right:-32px}.workspace .console-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace .dashboard-split{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
html[data-theme=white] .workspace .primary-stat p,html[data-theme=white] .workspace .primary-stat h2 em{color:#6b778c!important}html[data-theme=white] .workspace .primary-stat .stat-icon{background:#e7f1ff!important;color:#1e9fff!important}html[data-theme=white] aside nav a{width:auto;max-width:100%;box-sizing:border-box}
html[data-theme=white] aside#sidebar nav{width:200px;max-width:200px;margin:0;overflow-x:hidden}html[data-theme=white] aside .nav-group{width:200px;max-width:200px;margin:0;padding:0}html[data-theme=white] aside .nav-group>summary{padding:14px 16px;margin:0!important;color:#cbd2d8;min-height:49px;gap:9px}html[data-theme=white] aside .nav-group>a{padding:12px 30px;width:200px;max-width:200px;margin:0;transform:none}html[data-theme=white] aside .nav-group .ui-icon{color:#cbd2d8;flex-shrink:0}
@media(max-width:650px){.workspace>header .toolbar form:first-of-type{display:flex}}
html[data-theme=silver] aside#sidebar{width:200px;padding:0;background:#18232f}html[data-theme=silver] .workspace{margin-left:200px;width:calc(100% - 200px);padding:104px 14px 30px}html[data-theme=silver] .workspace>header{position:fixed;left:200px;right:0;top:0;height:55px;min-height:55px;margin:0;padding:0 18px;background:#182435;border-bottom:1px solid #2b3b50;z-index:30}html[data-theme=silver] .workspace-tabs{background:#152237;border-color:#2b3b50;color:#9fb0c6}html[data-theme=silver] .workspace-tabs .active-tab{color:#c6d4e6}html[data-theme=silver] aside nav{margin:0;padding:0;max-width:200px}html[data-theme=silver] .nav-group>summary{padding:14px 16px;margin:0;color:#cbd5e1;background:#1b2837}html[data-theme=silver] .nav-group>a{color:#b7c6d8;background:#101b29;padding:12px 30px;text-decoration:none}html[data-theme=silver] .nav-group>a.selected{background:#1e82ca;color:white}html[data-theme=silver] .reference-stat{background:#1e2c40}html[data-theme=silver] .reference-stat>small,html[data-theme=silver] .reference-stat>strong,html[data-theme=silver] .reference-stat>span{color:#dce5f0}
@media(max-width:760px){html[data-theme=silver] .workspace{margin-left:0;width:100%;padding:104px 10px 24px}html[data-theme=silver] .workspace>header{left:0}}
