:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172239;background:#f4f6fa;font-synthesis:none;--surface:#fff;--muted:#67748b;--line:#dce2ec;--accent:#065eea;--tint:#eaf2ff;--danger:#b32a38;--bg:#f4f6fa}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;background:var(--surface);color:inherit;border:1px solid var(--line);border-radius:7px;padding:10px 16px;font-weight:550;transition:background .12s}button:hover:not(:disabled){background:var(--tint)}button.primary{background:var(--accent);color:white;border-color:var(--accent)}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--accent)}:focus-visible{outline:3px solid #65a3ff;outline-offset:3px}input:not([type=checkbox]),select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:inherit}label.field{display:grid;gap:8px;margin:18px 0;font-size:14px}h1{font-size:28px;letter-spacing:-.7px;margin:10px 0}h2{font-size:21px;margin:0 0 10px}h3{font-size:16px;margin:0;padding:17px 20px;border-bottom:1px solid var(--line)}p{line-height:1.55}.muted,small{color:var(--muted)}small{display:block;margin-top:5px;font-size:12px}.top{height:70px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;align-items:center;padding:0 30px;gap:14px}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:700}.logo{background:var(--accent);color:#fff;padding:5px 10px;border-radius:6px}.top .spacer{flex:1}.top .context{color:var(--muted);padding-left:15px;border-left:1px solid var(--line)}.workspace{max-width:1440px;margin:auto;padding:32px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.actions{display:flex;gap:10px;flex-wrap:wrap}.notice{background:var(--tint);padding:15px 18px;border:1px solid var(--line);border-radius:7px;line-height:1.5;margin:16px 0}.notice.error{color:var(--danger);border-color:var(--danger);background:var(--surface)}.notice:empty{display:none}.editor{display:grid;grid-template-columns:205px 1fr;gap:28px}.directions{display:flex;flex-direction:column;gap:8px}.directions button{text-align:left;border:0;padding:15px 18px;background:transparent}.directions button[aria-current=true]{background:var(--tint);color:var(--accent);box-shadow:inset 3px 0 var(--accent)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:24px}.scope{display:flex;align-items:center;gap:22px;padding:15px 18px;background:var(--tint);border:1px solid var(--line);border-radius:7px;margin-bottom:20px}.badge{background:var(--tint);border-radius:20px;padding:5px 10px;font-size:12px}.scope .badge{background:var(--surface)}.security{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:20px}.security .field{margin:0}.groups{display:grid;grid-template-columns:1fr 1fr;gap:20px}.group{border:1px solid var(--line);border-radius:7px;overflow:hidden}.group.tabs{grid-column:1/-1}.tabs .items{display:grid;grid-template-columns:1fr 1fr}.control{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 20px;border-bottom:1px solid var(--line);font-size:14px}.control:last-child{border:0}.control input{accent-color:var(--accent);width:19px;height:19px;flex-shrink:0}.control input[role=switch]{appearance:none;width:38px;height:22px;border-radius:14px;background:#c5cdd9;position:relative;transition:background .15s}.control input[role=switch]:before{content:"";width:16px;height:16px;background:#fff;border-radius:50%;position:absolute;top:3px;left:3px;transition:transform .15s}.control input[role=switch]:checked{background:var(--accent)}.control input[role=switch]:checked:before{transform:translateX(16px)}fieldset{border:0;margin:0;padding:0;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.section-head .control{border:0;padding:0}.footer{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:15px}.table-wrap{overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th,td{padding:16px 20px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-weight:500;background:var(--bg)}.auth{width:min(440px,calc(100% - 32px));margin:65px auto}.auth h1{margin-top:28px}.auth form{margin-top:25px}.auth .primary{width:100%;margin-top:10px}.auth .qr{width:190px;display:block;margin:20px auto;background:white}.secret{overflow-wrap:anywhere;font-family:monospace}.loading{padding:32px;text-align:center}.link-button{padding:0;border:0;color:var(--accent);background:transparent}.dirty{font-size:13px;color:var(--muted)}[data-theme=dark]{color:#e5eaf4;background:#10151f;--surface:#19212e;--muted:#a3afc3;--line:#354052;--accent:#4c8dff;--tint:#243958;--danger:#ff9caa;--bg:#10151f}.test-banner{text-align:center;padding:8px;background:#fff1c9;color:#614800;font-size:13px}@media(max-width:760px){.top{padding:0 16px}.context,.top .identity{display:none}.workspace{padding:20px 16px}.heading{align-items:flex-start;flex-direction:column}.editor{grid-template-columns:1fr;gap:16px}.directions{flex-direction:row;overflow:auto}.directions button{white-space:nowrap;padding:12px}.groups,.security{grid-template-columns:1fr}.tabs .items{grid-template-columns:1fr}.panel{padding:18px}.section-head{align-items:flex-start;flex-direction:column}.footer{align-items:flex-start;flex-direction:column}h1{font-size:25px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.tabs .control{justify-content:flex-start}.tabs .control input{order:-1}legend{margin-bottom:10px}

.staff-nav{display:flex;flex-wrap:wrap;gap:20px;padding:14px 32px;border-bottom:1px solid var(--line)}.staff-nav a[aria-current]{font-weight:700}.af-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.af-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.af-rules fieldset{min-width:0;border:0;padding:0}.af-effective{line-height:1.7;padding-bottom:12px;border-bottom:1px solid var(--line)}.af-rules .panel{padding:20px}.af-rules h2{margin-top:0}@media(max-width:900px){.af-rules{grid-template-columns:1fr}.staff-nav{padding:12px 20px}}@media(max-width:480px){.af-fields{grid-template-columns:1fr}}

.merchant-toolbar,.merchant-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.merchant-toolbar form{display:flex;align-items:end;gap:12px}.merchant-toolbar .field{margin:0}.merchant-tabs{border-bottom:1px solid var(--line);padding-bottom:12px}.merchant-tabs [aria-current=true]{color:var(--accent);background:var(--tint)}.merchant-details{display:grid;grid-template-columns:minmax(130px,1fr) 3fr;gap:14px}.merchant-details dt{color:var(--muted)}.merchant-details dd{margin:0;overflow-wrap:anywhere}.merchant-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.merchant-fields .field{margin:10px 0}.merchant-fields textarea{width:100%;min-height:100px;background:var(--surface);color:inherit;border:1px solid var(--line);padding:12px;border-radius:6px;font:inherit}.merchant-section{margin:18px 0}.merchant-section h3{padding:0 0 12px}.fee-tiers{grid-column:1/-1}.fee-tiers[hidden]{display:none}.tier-row{display:flex;align-items:center;gap:16px}.tier-row .field{flex:1;min-width:0}.merchant-balance{font-size:28px;font-variant-numeric:tabular-nums}#issued textarea{width:100%;resize:none;font:14px ui-monospace,monospace;overflow-wrap:anywhere;background:var(--surface);color:inherit;padding:12px;border:1px solid var(--line)}#merchant-content code{overflow-wrap:anywhere}@media(max-width:700px){.merchant-fields{grid-template-columns:1fr}.tier-row{flex-wrap:wrap}.tier-row .field{flex:1 1 40%}.merchant-details{grid-template-columns:1fr 2fr}.merchant-toolbar form{width:100%}}
/* Operational Orders retain ten configurable columns and compact default density. */
.orders-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px 12px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin:18px 0}.orders-filters label.field{margin:0;font-size:12px;gap:6px}.orders-filters .actions{align-self:end;grid-column:span 2}.orders-filters input,.orders-filters select{padding:8px;font-size:13px}.orders-toolbar{display:flex;align-items:center;gap:16px;margin:16px 0;flex-wrap:wrap}.orders-toolbar select{width:auto}.orders-toolbar label{display:flex;gap:10px;align-items:center}.orders-toolbar details{position:relative}.orders-toolbar details>div{position:absolute;z-index:4;top:30px;width:320px;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 32px #0002;padding:12px;border-radius:8px}.column-option{display:flex;align-items:center;gap:6px;padding:4px}.column-option label{flex:1}.column-option button{padding:4px 9px}.orders-table{table-layout:fixed;width:100%;min-width:1280px;font-size:13px}.orders-table th{font-size:12px}.orders-table td{padding:11px 10px;vertical-align:middle;overflow:hidden}.orders-table.comfortable td{padding:20px 12px}.orders-table small{font-size:11px;line-height:1.4}.orders-table td>span:not(.payin-status){display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.orders-table .col-date{width:135px}.orders-table .col-status{width:155px}.orders-table .col-id{width:136px}.orders-table .col-merchant{width:145px}.orders-table .col-merchant_order_id{width:130px}.orders-table .col-gateway{width:120px}.orders-table .col-remote_id{width:140px}.orders-table .col-method{width:75px}.orders-table .col-requisite{width:240px}.orders-table .col-amount{width:180px}.orders-table .cell-amount{text-align:right}.order-amount{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}.orders-table .cell-requisite>span{font-size:12px}.order-copy{display:inline-flex!important;align-items:center;gap:4px;max-width:100%;vertical-align:middle}.order-copy>a,.order-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,monospace;font-size:12px}.order-copy button{font-size:12px;line-height:1;padding:4px;border:0;flex:0 0 auto}.payin-status{display:inline-block;padding:4px 8px;border-radius:5px;font-size:12px;font-weight:650;background:var(--tint);color:var(--accent)}.payin-status.success{background:#dff5e8;color:#15643c}.payin-status.cancel{background:#fbe6e8;color:#9c2939}.payin-status.overdue{background:#fff0cc;color:#755109}.request-state{font-size:12px;color:var(--muted)}.order-summary,.order-section{padding:20px;margin:16px 0}.order-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.order-facts dt{font-size:12px;color:var(--muted)}.order-facts dd{margin:7px 0 0;overflow-wrap:anywhere;font-size:14px}.order-section dd{overflow-wrap:anywhere}.order-section td{max-width:500px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}[data-theme=dark] .payin-status.success{background:#183c2c;color:#8ee0ae}[data-theme=dark] .payin-status.cancel{background:#432631;color:#f3a3b0}[data-theme=dark] .payin-status.overdue{background:#3f341b;color:#edcc83}@media(max-width:650px){.orders-filters{grid-template-columns:1fr 1fr;padding:12px}.orders-toolbar details>div{left:-110px;width:300px}.order-facts{grid-template-columns:1fr}.orders-table{min-width:1220px}.order-section{padding:14px}}
.order-section textarea{width:100%;resize:vertical;min-height:110px;padding:12px;font:inherit;background:var(--surface);color:inherit;border:1px solid var(--line);border-radius:6px}.order-section details dl{min-width:180px}.order-section details dt{color:var(--muted);font-size:12px}.order-section details dd{margin:4px 0 12px}
.orders-filters .field,.orders-filters input,.orders-filters select{min-width:0}@media(max-width:650px){.orders-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
.orders-table .cell-amount{position:sticky;right:0;background:var(--surface);box-shadow:-1px 0 var(--line);z-index:1}.orders-table th.cell-amount{background:var(--bg);z-index:2}

/* Gateway editor: local canvas updates preserve the shell and scroll position. */
.cascade-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;margin-top:16px}.cascade-layout>aside{margin:0;max-height:650px;overflow:auto}.cascade-layout fieldset{min-width:0}#cascade-viewport{min-height:350px;overflow:auto;background:var(--bg);border:1px solid var(--line);border-radius:8px;cursor:grab;display:flex;align-items:center}#cascade-canvas{display:flex;align-items:center;gap:12px;padding:70px 100px;min-width:100%;width:max-content;box-sizing:border-box;justify-content:center}.cascade-step{display:flex;gap:10px;align-items:center}.cascade-node{min-width:160px;max-width:220px;min-height:85px;display:flex;flex-direction:column;gap:6px;justify-content:center;white-space:normal}.cascade-node[aria-pressed=true]{outline:2px solid var(--accent,#5361dd)}.cascade-node small{font-weight:400}.cascade-condition{font-size:12px;max-width:130px;border-style:dashed}.cascade-arrow{color:var(--muted);flex-shrink:0}.condition-fields{margin-top:14px;padding:10px;border:1px solid var(--line);border-radius:8px}.condition-fields .field{margin-bottom:8px}.weekdays{display:flex;gap:5px;flex-wrap:wrap}.weekdays label{display:flex;gap:2px}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.toolbar .field{margin:0}.cascade-layout .actions{flex-wrap:wrap}#simulation-form fieldset{margin:15px 0}.workspace:has(#cascade-viewport){max-width:none}@media(max-width:1000px){.cascade-layout{grid-template-columns:1fr}.cascade-layout>aside{max-height:none}#cascade-viewport{min-height:250px}}

.operation-reference { overflow-wrap: anywhere; }
#balance-form { max-width: 42rem; }
#balance-form textarea { min-height: 6rem; }
#balance-operation-history td { overflow-wrap: anywhere; max-width: 24rem; }
#balance-operation-history table { min-width: 960px; }
#balance-operation-history td:nth-child(3), #balance-operation-history button { white-space: nowrap; overflow-wrap: normal; font-variant-numeric: tabular-nums; }
#find-operation label { flex: 1; max-width: 36rem; min-width: min(100%, 280px); }
#balance-input-error { min-height: 1.5em; }

/* Approved direction A: compact operational journal. Existing forms/API stay intact. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;color:#202632;background:#fff;--surface:#fff;--bg:#fff;--muted:#596577;--line:#dce2e9;--accent:#345dcc;--tint:#eef3ff;--soft:#f2f5f8;--danger:#a93648}
:root[data-theme=dark]{color:#e8edf5;background:#15191f;--surface:#15191f;--bg:#15191f;--muted:#a7b1c1;--line:#343c49;--accent:#a0b6ff;--tint:#202d4c;--soft:#232b36;--danger:#ffadb9}
button,input,select,textarea{font:inherit;caret-color:var(--accent)}button{min-height:34px;padding:7px 12px}button:active:not(:disabled){background:var(--tint)}:root[data-theme=dark] button.primary{color:#15191f}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}::selection{background:var(--tint);color:var(--accent)}a{text-decoration:none;text-underline-offset:3px}a:hover{text-decoration:underline}
.top{height:auto;min-height:70px;padding:0 28px;gap:24px}.brand{font-size:21px;letter-spacing:-.6px}.brand .logo{display:none}.top .identity{font-size:12px}.top #theme,.top #logout{font-size:12px;white-space:nowrap}.top .context{font-size:12px}
.staff-nav{display:flex;flex-wrap:nowrap;align-self:stretch;align-items:stretch;gap:22px;padding:0;border:0;overflow-x:auto;overflow-y:hidden;min-width:0}.staff-nav a{display:flex;align-items:center;min-height:48px;padding:0 4px;color:var(--muted);white-space:nowrap;text-decoration:none;font-weight:500}.staff-nav a:hover{background:var(--soft);color:inherit}.staff-nav a[aria-current=page]{color:var(--accent);box-shadow:inset 0 -2px var(--accent);font-weight:600}
.staff-subnav{display:flex;gap:24px;padding:12px 28px;background:var(--soft);border-bottom:1px solid var(--line);overflow:auto}.staff-subnav a{white-space:nowrap;font-size:12px;color:var(--muted)}.staff-subnav a[aria-current=page]{color:var(--accent);font-weight:600}
.workspace{max-width:1800px;padding:24px 28px 32px}.heading{margin-bottom:22px}.heading h1{font-size:28px;letter-spacing:-.8px;margin:0 0 8px}.heading p{font-size:12px;margin:0}.workspace h2{font-size:18px}.test-banner{font-size:12px}.table-wrap{border-radius:6px}table{font-variant-numeric:tabular-nums}tbody tr:hover td{background:var(--soft)}
.orders-filters{padding:0;border:0;border-radius:0;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:22px 0 18px}.orders-filters label.field{font-size:11px;color:var(--muted)}.orders-filters label.field:first-child{grid-column:span 2}.orders-filters input,.orders-filters select{height:36px;font-size:12px;padding:7px 9px;color:inherit}.orders-filters input::placeholder{color:var(--muted)}.orders-filters .actions{grid-column:auto;flex-wrap:nowrap}.orders-toolbar{font-size:12px;gap:14px;margin:12px 0}.orders-toolbar select{font-size:12px;padding:5px 8px}.orders-workspace>.table-wrap{border-left:0;border-right:0;border-radius:0}.orders-table th{background:var(--soft);font-size:11px;padding:12px 10px}.orders-table{font-size:12px}.orders-table.compact td{padding:8px 10px}.orders-table.comfortable td{padding:16px 10px}.order-amount{font-size:13px}.orders-table small{font-size:11px}.orders-table .cell-id a{font-weight:600}.orders-table .cell-amount{background:var(--surface)}.orders-table th.cell-amount{background:var(--soft)}
.orders-table .payin-status{padding:0;background:transparent;color:var(--accent);font-size:11px;font-weight:600;white-space:nowrap}.orders-table .payin-status:before{content:'';display:inline-block;vertical-align:middle;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:6px}.orders-table .payin-status.success{color:#176943}.orders-table .payin-status.cancel{color:#a93648}.orders-table .payin-status.overdue{color:#755109}:root[data-theme=dark] .orders-table .payin-status.success{color:#81d4ac}:root[data-theme=dark] .orders-table .payin-status.cancel{color:#ffadb9}:root[data-theme=dark] .orders-table .payin-status.overdue{color:#edcc83}
.orders-workspace .order-summary{padding:0;overflow:hidden}.order-summary>.orders-toolbar{padding:14px 16px;margin:0;border-bottom:1px solid var(--line)}.order-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0}.order-facts>div{padding:16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.order-facts dt{font-size:11px}.order-facts dd{font-size:13px}.order-section h2{font-size:16px}.order-section .table-wrap{border-radius:0}
@media(max-width:1200px){.orders-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.top{gap:16px}.top .identity{display:none}.order-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.top{flex-wrap:wrap;padding:12px 20px 0;gap:12px}.top .staff-nav{order:5;flex-basis:100%;gap:24px}.top .staff-nav a{min-height:44px}.top .spacer{flex:1}.top:not(:has(.staff-nav)){padding-bottom:12px}}
@media(max-width:650px){.top{padding-left:15px;padding-right:15px}.top .staff-nav{justify-content:space-between;gap:18px}.staff-subnav{padding:12px 15px}.workspace{padding:22px 15px}.orders-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.orders-filters .actions{grid-column:span 2}.orders-filters input,.orders-filters select{height:42px}.orders-table .cell-amount{position:static;box-shadow:none}.order-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.order-facts>div{padding:14px 12px}.orders-toolbar{gap:10px}.heading h1{font-size:25px}.orders-toolbar details>div{position:fixed;inset:auto 15px 20px;width:auto;max-height:65vh;overflow:auto}.orders-filters input[type=datetime-local]{font-size:11px}}

:root[data-theme=dark] .orders-table .payin-status{background:transparent}

/* AbsolutPay sign-in: full-canvas artwork, one clear form, no workspace chrome. */
.brand-mark{display:inline-flex;width:30px;height:30px;color:var(--accent);flex:none}
.brand-mark svg{width:100%;height:100%}
.auth-shell{position:relative;isolation:isolate;min-height:100svh;display:flex;flex-direction:column;background:#102b66;overflow:hidden}
.auth-art{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.auth-art svg{display:block;width:100%;height:100%;position:absolute;inset:0}
.auth-shell .top{background:transparent;border:0;color:white;min-height:100px;padding:24px 48px;flex-wrap:nowrap}
.auth-shell .top .brand{font-size:27px;letter-spacing:-1px;gap:11px}
.auth-shell .brand-mark{color:white;width:35px;height:35px}
.auth-shell .top .context,.auth-shell .top .identity{display:none}
.auth-stage{flex:1;display:grid;place-items:center;padding:32px 24px 48px}
.auth-shell .auth{--surface:#fff;--muted:#657086;--line:#dce3ed;--accent:#285bdd;--tint:#edf3ff;--danger:#a32a40;color:#1c2840;color-scheme:light;width:min(100%,448px);margin:0;padding:42px 40px 32px;background:#fff;border:1px solid #ffffff8c;border-radius:24px;box-shadow:0 28px 90px #02153940;font-size:15px;animation:auth-arrive .45s ease-out both}
.auth-symbol{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 22px;border-radius:16px;background:#edf3ff;color:#285bdd}
.auth-symbol svg{width:34px;height:34px}
.auth-eyebrow{text-align:center;font-size:10px;font-weight:650;letter-spacing:1.7px;color:#6c7890;margin:0 0 12px}
.auth-shell .auth h1{text-align:center;font-size:29px;line-height:1.2;letter-spacing:-.9px;margin:0 0 12px;font-weight:700}
.auth-shell .auth-description{text-align:center;font-size:14px;line-height:1.6;margin:0 auto;max-width:340px}
.auth-shell .auth form{margin-top:30px}
.auth-shell .auth .field{display:grid;font-size:13px;font-weight:550;gap:9px;margin:0 0 20px}
.auth-shell .auth input{height:52px;font-size:16px;font-weight:400;padding:14px 16px;border:1px solid #dde4ee;border-radius:10px;background:#f6f8fb;transition:border-color .15s,box-shadow .15s,background .15s}
.auth-shell .auth input::placeholder{color:#79859a;font-size:14px}
.auth-shell .auth input:hover{border-color:#b7c6e0}
.auth-shell .auth input:focus{background:#fff;border-color:#285bdd;box-shadow:0 0 0 3px #285bdd18;outline:none}
:root .auth-shell .auth button.primary{display:flex;align-items:center;justify-content:center;gap:14px;min-height:52px;border-radius:10px;margin-top:8px;font-size:15px;color:white;background:#285bdd;border-color:#285bdd;transition:background .15s,box-shadow .15s}
.auth-shell .auth .primary:hover:not(:disabled){background:#194ac5;box-shadow:0 4px 14px #285bdd2b}
.auth-shell .auth .primary span{font-size:20px;font-weight:400;transition:transform .15s}
.auth-shell .auth .primary:hover:not(:disabled) span{transform:translateX(3px)}
.auth-shell .auth .primary[aria-busy=true]{opacity:.7;cursor:wait}
.auth-shell .auth .link-button{display:block;margin:20px auto 0;font-size:12px;line-height:1.5;font-weight:500;color:#657086;min-height:32px;text-align:center}
.auth-shell .auth .link-button:hover{background:transparent;color:#285bdd;text-decoration:underline}
.auth-shell .auth>p:last-child{margin-bottom:0}
.auth-shell .auth .notice{font-size:13px;border-radius:10px;text-align:left;overflow-wrap:anywhere}
.auth-shell .auth .notice.error{background:#fff5f6;border-color:#ecc9d0}
.password-control{position:relative;display:block}
.auth-shell .auth .password-control input{padding-right:54px}
.auth-shell .password-toggle{position:absolute;right:5px;top:4px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;padding:12px;color:#657086;border-radius:8px}
.auth-shell .password-toggle:hover{background:#e8eef7}
.password-toggle svg{width:20px;height:20px}
.password-toggle .eye-slash{display:none}
.password-toggle[aria-pressed=true] .eye-slash{display:block}
.auth-shell .test-banner{position:relative;background:#102046;color:#d5e3fb}
:root .auth-shell .auth{--surface:#15233b;--muted:#b0bed4;--line:#3a4a66;--accent:#9dbbff;--tint:#233655;--danger:#ffb6c2;background:#15233b;color:#eef3fc;border-color:#526580;color-scheme:dark;box-shadow:0 28px 90px #020a2455}
:root .auth-shell .auth input{background:#1b2c47;border-color:#3a4a66;color:#eef3fc}
:root .auth-shell .auth input:focus{border-color:#9dbbff;box-shadow:0 0 0 3px #9dbbff20}
:root .auth-shell .auth input::placeholder,:root .auth-shell .auth-eyebrow,:root .auth-shell .auth .link-button,:root .auth-shell .password-toggle{color:#b0bed4}
:root .auth-shell .auth-symbol{background:#233655;color:#9dbbff}
:root .auth-shell .password-toggle:hover{background:#2c4060}
:root .auth-shell .auth .notice.error{background:#362537;border-color:#7f465a}
@keyframes auth-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1800px){.auth-shell .auth{width:480px;padding:48px 44px 36px}.auth-shell .top{padding-inline:64px}.auth-stage{padding-bottom:72px}}
@media(max-width:600px){.auth-shell .top,.auth-shell .top:not(:has(.staff-nav)){min-height:80px;padding:20px;gap:12px}.auth-shell .top .brand{font-size:23px}.auth-shell .brand-mark{width:28px;height:28px}.auth-stage{padding:12px 16px 28px}.auth-shell .auth{padding:30px 24px 24px;border-radius:20px}.auth-shell .auth h1{font-size:26px}.auth-symbol{margin-bottom:18px}}
@media(max-height:720px) and (min-width:601px){.auth-shell .top{min-height:76px;padding-block:18px}.auth-stage{padding-block:12px 24px}.auth-shell .auth{padding-block:28px 22px}.auth-symbol{margin-bottom:14px}.auth-shell .auth form{margin-top:22px}}
@media(prefers-reduced-motion:reduce){.auth-shell .auth{animation:none}.auth-shell *{transition:none!important}}
