:root{--ink:#11233f;--ink-2:#1b365d;--blue:#1769e0;--sky:#dcecff;--orange:#f46b2c;--orange-2:#d84c12;--mist:#f3f6f8;--paper:#fff;--line:#d8e0e8;--muted:#63758b;--green:#168565;--red:#bd3c43;--amber:#a56100;--shadow:0 18px 45px rgba(17,35,63,.1);--ease:cubic-bezier(.16,1,.3,1);font-family:"Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--mist)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--mist);color:var(--ink);line-height:1.55}button,input,textarea,select{font:inherit;color:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}::selection{background:var(--orange);color:#fff}:focus-visible{outline:3px solid rgba(23,105,224,.28);outline-offset:3px}::-webkit-scrollbar{width:11px;height:11px}::-webkit-scrollbar-track{background:#e7edf1}::-webkit-scrollbar-thumb{background:#8ba0b7;border:3px solid #e7edf1;border-radius:10px}.hidden{display:none!important}.station-code,.station-brand small,.dispatch-topbar>div>span,.section-intro>div>span{font-family:Bahnschrift,"DIN Alternate",sans-serif;letter-spacing:.12em;text-transform:uppercase}.station-brand{display:inline-flex;align-items:center;gap:12px}.station-brand b,.station-brand small{display:block}.station-brand b{font-size:17px;line-height:1.1}.station-brand small{font-size:8px;color:var(--muted);margin-top:4px}.station-mark{width:38px;height:38px;border-radius:12px;background:var(--ink);position:relative;display:inline-block;box-shadow:0 8px 18px rgba(17,35,63,.22)}.station-mark i{position:absolute;display:block;background:#fff}.station-mark i:first-child{width:6px;height:21px;left:11px;top:8px;transform:skew(-13deg)}.station-mark i:last-child{width:6px;height:14px;right:9px;bottom:8px;background:var(--orange);transform:skew(-13deg)}.station-brand.inverse{color:#fff}.station-brand.inverse small{color:#aabbd1}.station-brand.inverse .station-mark{background:#fff}.station-brand.inverse .station-mark i:first-child{background:var(--ink)}.station-brand.small b{font-size:14px}.station-brand.small .station-mark{width:33px;height:33px}.signal-button,.line-button,.text-action,.product-select,.row-action,.close-control{display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .22s var(--ease),background .22s,color .22s,box-shadow .22s;border-radius:10px;font-weight:750}.signal-button{background:var(--orange);color:#fff;padding:13px 19px;box-shadow:0 9px 22px rgba(216,76,18,.24)}.signal-button:hover{background:var(--orange-2);transform:translateY(-2px);box-shadow:0 13px 26px rgba(216,76,18,.28)}.signal-button:active{transform:translateY(1px)}.signal-button:disabled{cursor:not-allowed;opacity:.52;transform:none}.signal-button.compact,.line-button.compact{padding:9px 13px;font-size:12px}.signal-button.wide{width:100%}.line-button{padding:12px 18px;border:1px solid #a7b6c5;background:transparent;color:var(--ink)}.line-button:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-1px)}.text-action{background:transparent;padding:7px 3px;color:var(--blue);font-size:12px}.text-action:hover{color:var(--orange-2)}.field{display:grid;gap:8px;margin-top:18px}.field>span,.field>.password-field-label,.workspace-toolbar label>span,.product-editor label>span,.form-grid label>span{font-size:11px;font-weight:800;color:var(--muted)}input,textarea,select{width:100%;border:1px solid #cbd6df;background:#fff;border-radius:10px;padding:12px 13px;outline:none;transition:border-color .2s,box-shadow .2s}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(23,105,224,.1)}textarea{resize:vertical}.inline-state{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border-radius:8px;font-size:12px}.inline-state.muted{background:#edf1f4;color:var(--muted)}.inline-state.good{background:#e2f4ed;color:#087457}.inline-state.bad{background:#fde9e9;color:#a72e35}.toast{position:fixed;right:24px;bottom:24px;z-index:200;background:var(--ink);color:#fff;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow);transform:translateY(22px);opacity:0;pointer-events:none;transition:.28s var(--ease)}.toast.show{opacity:1;transform:none}

/* Storefront */
.station-header{height:76px;padding:0 clamp(22px,5vw,78px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid var(--line);background:rgba(255,255,255,.94);position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}.store-nav{display:flex;gap:31px;font-size:13px;font-weight:700}.store-nav a{position:relative}.store-nav a:after{content:"";position:absolute;height:2px;background:var(--orange);left:0;right:100%;bottom:-8px;transition:right .25s var(--ease)}.store-nav a:hover:after{right:0}.buyer-actions{display:flex;justify-content:flex-end;align-items:center;gap:17px}.service-signal{font-size:11px;color:var(--muted);display:inline-flex;align-items:center;gap:7px}.service-signal i,.ops-live i{width:8px;height:8px;background:#18a779;border-radius:50%;box-shadow:0 0 0 5px rgba(24,167,121,.1)}.customer-body main{overflow:hidden}.store-hero{min-height:650px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);align-items:center;gap:clamp(45px,7vw,110px);padding:70px clamp(24px,7vw,120px) 80px;background:var(--paper);position:relative}.store-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,var(--orange) 0 18%,var(--ink) 18% 58%,var(--blue) 58%)}.hero-copy{max-width:720px}.station-code{display:block;color:var(--blue);font-size:11px;font-weight:800;margin-bottom:22px}.hero-copy h1{font-family:Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;font-size:clamp(48px,6.2vw,88px);line-height:.98;letter-spacing:-.035em;margin:0;max-width:780px}.hero-copy h1 em{font-style:normal;color:var(--orange)}.hero-copy>p{font-size:17px;color:var(--muted);max-width:620px;margin:28px 0;line-height:1.85}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.trust-manifest{margin:42px 0 0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding-top:22px}.trust-manifest div{padding-right:18px}.trust-manifest dt{font-weight:800;font-size:12px}.trust-manifest dd{margin:4px 0 0;color:var(--muted);font-size:10px}.route-console{background:var(--ink);color:#fff;border-radius:16px;padding:25px;min-height:450px;box-shadow:0 25px 65px rgba(17,35,63,.24);position:relative;overflow:hidden}.route-console:before{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(118,174,255,.14);border-radius:50%;right:-110px;top:-130px;box-shadow:0 0 0 50px rgba(118,174,255,.03),0 0 0 100px rgba(118,174,255,.025)}.console-head{display:grid;grid-template-columns:1fr auto;gap:3px;align-items:center;border-bottom:1px solid rgba(255,255,255,.14);padding-bottom:18px}.console-head span{font:700 9px Bahnschrift,sans-serif;letter-spacing:.16em;color:#91baff}.console-head b{grid-row:2;font-size:20px}.console-head i{grid-row:1/3;grid-column:2;font:700 9px Bahnschrift,sans-serif;color:#fff;background:var(--green);border-radius:5px;padding:5px 7px}.route-map{height:270px;position:relative;padding:42px 10px}.route-line{position:absolute;left:44px;right:44px;top:120px;height:2px;background:#42638b}.route-line:after{content:"";display:block;width:62%;height:2px;background:var(--orange);box-shadow:0 0 16px rgba(244,107,44,.5)}.route-pulse{position:absolute;top:114px;left:60%;width:14px;height:14px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 8px rgba(244,107,44,.14);animation:routeTravel 4.2s var(--ease) infinite}.route-map ol{position:relative;z-index:1;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);height:100%;align-items:center}.route-map li{text-align:center;padding-top:82px;color:#8296af}.route-map li:before{content:"";position:absolute;top:72px;margin-left:20px;width:10px;height:10px;border:3px solid #7890ad;border-radius:50%;background:var(--ink)}.route-map li.active{color:#fff}.route-map li.active:before{border-color:var(--orange)}.route-map li b,.route-map li small{display:block}.route-map li b{font-size:11px}.route-map li small{font:700 8px Bahnschrift,sans-serif;letter-spacing:.1em;margin-top:5px}.console-readout{display:grid;grid-template-columns:1fr auto;gap:10px;border-top:1px solid rgba(255,255,255,.14);padding-top:18px}.console-readout span{color:#8ea2bb;font-size:10px}.console-readout strong{font:700 11px Bahnschrift,sans-serif;text-transform:uppercase}.supply-shop,.account-orders{padding:85px clamp(24px,7vw,120px);max-width:1600px;margin:auto}.section-title{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.section-title>div>span,.panel-head>div>span,.tower-head>span,.product-top>span{display:block;color:var(--blue);font-size:10px;font-weight:850;letter-spacing:.1em;margin-bottom:7px}.section-title h2,.panel-head h2,.tower-head h2{font-family:Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;font-size:clamp(27px,3vw,42px);line-height:1.05;letter-spacing:-.025em;margin:0}.section-title>p{max-width:490px;color:var(--muted);font-size:13px;margin:0}.product-rail{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:15px}.supply-product{background:#e8eef4;border-radius:14px;padding:25px;min-height:340px;display:flex;flex-direction:column;justify-content:space-between;transition:transform .25s var(--ease),box-shadow .25s}.supply-product.featured{background:var(--ink);color:#fff}.supply-product:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.product-top{display:flex;justify-content:space-between}.product-top>i{font:700 11px Bahnschrift,sans-serif;color:#91a2b6;font-style:normal}.supply-product h3{font:700 clamp(30px,3vw,48px) Bahnschrift,"DIN Alternate",sans-serif;margin:20px 0 9px;letter-spacing:-.03em}.supply-product p{margin:0;color:var(--muted);max-width:34ch;font-size:13px}.supply-product.featured p{color:#aebed2}.product-price{display:flex;align-items:baseline;min-height:58px}.product-price small{font-size:18px}.product-price strong{font:700 40px Bahnschrift,sans-serif}.product-price em{font-style:normal;color:var(--muted);font-size:11px}.price-pending{font-size:17px!important;color:var(--muted)}.product-select{width:100%;padding:12px;border:1px solid #aab8c6;background:transparent}.supply-product.featured .product-select{border-color:rgba(255,255,255,.35);color:#fff}.product-select:hover,.product-select.selected{background:var(--orange);border-color:var(--orange);color:#fff}.payment-note{margin:15px 0 0;padding:14px 16px;background:#fff4ed;color:#8c3c16;border-radius:10px;font-size:12px}.redeem-station{max-width:1600px;margin:20px auto 90px;padding:0 clamp(24px,7vw,120px);display:grid;grid-template-columns:minmax(0,1.5fr) minmax(350px,.65fr);gap:20px;align-items:start}.redeem-main{background:#fff;border-radius:16px;padding:32px 35px;box-shadow:var(--shadow)}.section-title.compact{align-items:center;padding-bottom:24px;border-bottom:1px solid var(--line);margin-bottom:0}.section-title.compact h2{font-size:30px}.section-title.compact>strong{font-size:11px;background:var(--sky);color:var(--blue);padding:7px 10px;border-radius:7px}.manifest-segment{display:grid;grid-template-columns:48px 1fr;gap:20px;padding:30px 0;border-bottom:1px solid var(--line);opacity:.5;transition:opacity .3s}.manifest-segment:last-child{border-bottom:0}.manifest-segment.active{opacity:1}.segment-code{width:38px;height:38px;display:grid;place-items:center;background:#dfe6ec;border-radius:10px;font:800 13px Bahnschrift,sans-serif}.manifest-segment.active .segment-code{background:var(--ink);color:#fff}.segment-body h3{margin:1px 0 2px;font-size:18px}.segment-body>p{margin:0;color:var(--muted);font-size:12px}.inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.order-tower{background:var(--ink);color:#fff;border-radius:16px;padding:27px;position:sticky;top:96px;min-height:590px}.tower-head{position:relative;padding-bottom:21px;border-bottom:1px solid rgba(255,255,255,.13)}.tower-head h2{font-size:28px}.tower-head i{position:absolute;right:0;top:3px;font:800 8px Bahnschrift,sans-serif;color:#a7bfde;border:1px solid #5a7391;border-radius:5px;padding:4px 6px}.tower-empty{min-height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.tower-empty b{margin-top:24px}.tower-empty p{color:#9aabc0;font-size:11px;max-width:230px}.radar-sweep{width:100px;height:100px;border:1px solid #55708f;border-radius:50%;position:relative;overflow:hidden;box-shadow:0 0 0 20px rgba(106,144,188,.045),0 0 0 40px rgba(106,144,188,.025)}.radar-sweep:after{content:"";position:absolute;inset:50% 0 0 50%;border-left:1px solid #73a8ed;transform-origin:left top;animation:radar 3s linear infinite;background:linear-gradient(110deg,rgba(23,105,224,.3),transparent 60%)}.tower-help{border-top:1px solid rgba(255,255,255,.13);padding-top:18px}.tower-help b{font-size:12px}.tower-help p{font-size:10px;color:#8fa1b8;margin:5px 0}.order-id{display:grid;grid-template-columns:1fr auto;gap:9px;margin:23px 0}.order-id span{font-size:9px;color:#8fa1b8}.order-id button{background:transparent;color:#91baff;font-size:10px}.order-id code{grid-column:1/3;color:#fff;word-break:break-all;font-size:10px}.timeline{list-style:none;padding:0;margin:22px 0;display:grid;gap:0}.timeline li{display:grid;grid-template-columns:19px 1fr;gap:8px;min-height:38px;color:#6f8198;font-size:10px}.timeline li span{width:9px;height:9px;border-radius:50%;background:#53677f;margin-top:3px;position:relative}.timeline li:not(:last-child) span:after{content:"";position:absolute;top:9px;left:4px;width:1px;height:29px;background:#455a73}.timeline li.done{color:#b9c8d9}.timeline li.done span{background:var(--green)}.timeline li.current{color:#fff}.timeline li.current span{background:var(--orange);box-shadow:0 0 0 5px rgba(244,107,44,.13)}.result-box{background:#233957;border-radius:10px;padding:13px;font-size:11px;color:#c3d0df}.result-box.success{background:#164b40;color:#d6fff2}.result-box.error{background:#5c2930;color:#ffdfe2}.account-orders{padding-top:20px}.account-order-list{display:grid;gap:8px}.account-order-list article{display:grid;grid-template-columns:1fr 1fr minmax(200px,.7fr);gap:20px;align-items:center;padding:17px 20px;background:#fff;border-radius:12px}.account-order-list article>div{display:grid;gap:3px}.account-order-list span{font-size:10px;color:var(--muted)}.account-order-list code{font-size:10px;color:var(--muted);word-break:break-all}.order-state{text-align:right;font-size:11px}.order-state.verified{color:var(--green)}.empty-line{padding:28px;text-align:center;color:var(--muted);background:#e7edf2;border-radius:12px;font-size:12px}.station-footer{min-height:115px;padding:28px clamp(24px,7vw,120px);background:#e4eaf0;display:flex;align-items:center;gap:35px}.station-footer p{font-size:11px;color:var(--muted);margin-right:auto}.station-footer>a{font-size:11px;color:var(--blue)}

/* Admin */
.admin-body{min-height:100vh;background:#eef2f5}.dispatch-sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--ink);color:#fff;padding:22px 17px;display:flex;flex-direction:column;z-index:60}.dispatch-sidebar>.station-brand{padding:7px 9px 24px;border-bottom:1px solid rgba(255,255,255,.12);width:100%}.dispatch-sidebar nav{display:grid;gap:4px;margin-top:20px}.dispatch-nav{display:grid;grid-template-columns:34px 1fr;column-gap:9px;text-align:left;padding:10px 11px;border-radius:10px;background:transparent;color:#9fb1c8;position:relative}.dispatch-nav>span{grid-row:1/3;width:31px;height:31px;display:grid;place-items:center;border:1px solid #45617f;border-radius:8px;font:800 9px Bahnschrift,sans-serif}.dispatch-nav b{font-size:12px}.dispatch-nav small{font:700 8px Bahnschrift,sans-serif;letter-spacing:.08em;color:#617995}.dispatch-nav:hover,.dispatch-nav.active{background:#203a5d;color:#fff}.dispatch-nav.active:after{content:"";position:absolute;right:9px;top:15px;width:6px;height:6px;border-radius:50%;background:var(--orange)}.operator-card{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding:17px 7px 0;display:grid;grid-template-columns:35px 1fr auto;gap:9px;align-items:center}.operator-card>span{width:34px;height:34px;border-radius:10px;background:#28466b;display:grid;place-items:center}.operator-card b,.operator-card small{display:block}.operator-card b{font-size:10px}.operator-card small{font-size:8px;color:#8297b0}.operator-card button{background:transparent;color:#91a5bd;font-size:9px}.dispatch-main{margin-left:250px;padding:26px clamp(24px,3.5vw,56px) 60px;max-width:1850px}.dispatch-topbar{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:24px}.dispatch-topbar>div>span{display:block;color:var(--blue);font-size:9px;font-weight:800;margin-bottom:3px}.dispatch-topbar h1{font:700 30px Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;letter-spacing:-.02em;margin:0}.top-actions{display:flex;align-items:center;gap:9px}.top-actions kbd{font:700 8px Bahnschrift,sans-serif;background:#e2e8ed;border-radius:4px;padding:2px 5px}.live-toggle,.switch-control{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);cursor:pointer}.live-toggle input,.switch-control input{position:absolute;opacity:0;pointer-events:none}.live-toggle>span,.switch-control>span{width:29px;height:17px;border-radius:20px;background:#a9b6c3;position:relative}.live-toggle>span:after,.switch-control>span:after{content:"";position:absolute;width:11px;height:11px;background:#fff;border-radius:50%;top:3px;left:3px;transition:left .2s}.live-toggle input:checked+span,.switch-control input:checked+span{background:var(--green)}.live-toggle input:checked+span:after,.switch-control input:checked+span:after{left:15px}.admin-view{display:none}.admin-view.active{display:block;animation:viewIn .38s var(--ease)}.ops-banner{background:var(--ink);color:#fff;border-radius:16px;min-height:180px;padding:30px 34px;display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative}.ops-banner:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:1px solid rgba(110,164,230,.14);right:18%;top:-180px;box-shadow:0 0 0 55px rgba(110,164,230,.035),0 0 0 110px rgba(110,164,230,.02)}.ops-live{display:flex;align-items:center;gap:10px;color:#bcd0e6;font-size:10px}.ops-banner h2{font:700 clamp(27px,3vw,42px) Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;letter-spacing:-.02em;margin:15px 0 4px}.ops-banner p{margin:0;color:#9eb1c8;font-size:11px}.ops-mode{position:relative;z-index:1;min-width:180px;border:1px solid #496485;border-radius:12px;padding:18px}.ops-mode span,.ops-mode strong,.ops-mode small{display:block}.ops-mode span,.ops-mode small{font:700 8px Bahnschrift,sans-serif;letter-spacing:.1em;color:#91a8c2}.ops-mode strong{font:700 25px Bahnschrift,sans-serif;text-transform:uppercase;margin:6px 0}.metric-strip{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-radius:14px;margin:14px 0;overflow:hidden}.metric-strip>div{padding:19px 21px;border-right:1px solid var(--line)}.metric-strip>div:last-child{border-right:0}.metric-strip span,.metric-strip strong,.metric-strip small{display:block}.metric-strip span{font-size:9px;color:var(--muted);font-weight:800}.metric-strip strong{font:700 28px Bahnschrift,sans-serif;margin:3px 0}.metric-strip small{font-size:8px;color:#8393a5}.metric-strip .metric-alert strong{color:var(--red)}.dashboard-layout{display:grid;grid-template-columns:1.45fr .75fr;gap:14px;margin-bottom:14px}.dispatch-panel{background:#fff;border-radius:14px;padding:23px;margin-bottom:14px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.panel-head h2{font-size:23px}.panel-head>strong{font-size:11px;color:var(--muted)}.attention-list{display:grid;gap:7px}.attention-list>button{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;background:#f0f4f6;border-radius:10px;padding:12px;text-align:left}.attention-list>button:hover{background:#e4edf5}.attention-list div b,.attention-list div small{display:block}.attention-list div b{font-size:11px}.attention-list div small{font-size:9px;color:var(--muted)}.attention-list em{font-style:normal;font-size:10px;color:var(--blue)}.clear-state{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.clear-state i{width:35px;height:35px;border:2px solid var(--green);border-radius:50%;position:relative;margin-bottom:12px}.clear-state i:after{content:"";position:absolute;width:13px;height:7px;border-left:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg);left:9px;top:10px}.clear-state b{font-size:12px}.clear-state span{font-size:9px;color:var(--muted);margin-top:5px}.distribution{display:grid;gap:13px}.distribution>div{display:grid;grid-template-columns:55px 1fr 22px;align-items:center;gap:9px;font-size:9px}.distribution b{height:7px;background:#e6ecf1;border-radius:5px;overflow:hidden}.distribution b i{display:block;height:100%;background:var(--blue);border-radius:5px;transition:width .5s var(--ease)}.distribution strong{text-align:right}.system-ledger{display:grid;grid-template-columns:1fr auto;gap:10px;margin:23px 0 0;padding-top:18px;border-top:1px solid var(--line)}.system-ledger dt{color:var(--muted);font-size:9px}.system-ledger dd{margin:0;font-size:9px;font-weight:800}.system-ledger.large{gap:17px;margin-bottom:22px}.system-ledger.large dt,.system-ledger.large dd{font-size:11px}.warn-text{color:var(--red)!important}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:collapse;min-width:720px}th{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);color:#7c8b9e;font-size:8px;letter-spacing:.06em;text-transform:uppercase}td{padding:13px 12px;border-bottom:1px solid #e7edf1;font-size:10px;color:#41546b}tbody tr:hover{background:#f7f9fa}td small,td b{display:block}td small{font-size:8px;color:#8695a6;margin-top:3px}.order-code{font:700 9px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--ink)}.status-badge{display:inline-flex;padding:5px 8px;border-radius:6px;background:#e6ebef;color:#586a7e;font-size:8px;font-weight:800}.status-badge.verified,.status-badge.active{background:#ddf3ea;color:#087253}.status-badge.processing,.status-badge.awaiting_payment,.status-badge.membership_pending{background:#deebff;color:#1559ad}.status-badge.failed,.status-badge.payment_failed,.status-badge.verification_failed,.status-badge.session_expired{background:#fae1e2;color:#a72e35}.row-action{padding:7px 9px;background:#e5eef9;color:var(--blue);font-size:9px}.row-action:hover{background:var(--blue);color:#fff}.table-empty{padding:32px;text-align:center;color:var(--muted)}.workspace-panel{padding:0;overflow:hidden}.workspace-toolbar{padding:17px;display:grid;grid-template-columns:minmax(210px,1.4fr) minmax(120px,.5fr) minmax(130px,.5fr) auto auto;gap:9px;align-items:end;border-bottom:1px solid var(--line)}.workspace-toolbar label{display:grid;gap:5px}.workspace-toolbar input,.workspace-toolbar select{padding:9px;font-size:10px}.section-intro{display:flex;justify-content:space-between;align-items:end;margin:15px 0 25px}.section-intro h2{font:700 30px Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;margin:4px 0 0}.section-intro>p{max-width:500px;margin:0;color:var(--muted);font-size:11px}.product-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product-editor{background:#fff;border-radius:14px;padding:21px;display:grid;gap:14px}.editor-head{display:flex;align-items:center;justify-content:space-between}.editor-head>div span{font:700 8px Bahnschrift,sans-serif;color:var(--blue);letter-spacing:.1em}.editor-head h3{font:700 24px Bahnschrift,sans-serif;margin:3px 0 0}.product-editor label{display:grid;gap:6px}.product-editor textarea,.product-editor input{font-size:10px}.editor-row,.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.inventory-summary{background:var(--ink);color:#fff;border-radius:14px;padding:21px 25px;margin-bottom:14px;display:flex;align-items:center;gap:20px}.inventory-summary>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:8px}.inventory-summary span{font-size:9px;color:#a4b6cb}.inventory-summary strong{font:700 30px Bahnschrift,sans-serif}.inventory-summary small{grid-column:1/3;font-size:8px;color:#8ea3bc}.inventory-summary p{margin-left:auto;font-size:9px;color:#9fb1c7}.codes-layout,.system-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:14px}.code-output-head{display:flex;justify-content:space-between;align-items:center;margin-top:20px;font-size:9px;color:var(--muted)}.code-result{white-space:pre-wrap;word-break:break-all;background:var(--ink);color:#d8e8ff;border-radius:10px;padding:14px;min-height:130px;font:9px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.system-state{font-size:9px;background:#e8edf1;padding:6px 8px;border-radius:6px}.system-state.live{background:#dcf3ea;color:var(--green)}.diagnostic-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}.diagnostic-list li{display:grid;grid-template-columns:11px 1fr auto;gap:10px;align-items:center;padding:12px;background:#f1f4f6;border-radius:9px}.diagnostic-list li>i{width:8px;height:8px;border-radius:50%;background:var(--green)}.diagnostic-list b,.diagnostic-list span{display:block}.diagnostic-list b{font-size:10px}.diagnostic-list span{font-size:8px;color:var(--muted)}.diagnostic-list em{font-style:normal;color:var(--green);font-size:9px}.diagnostic-list em.warn{color:var(--amber)}dialog{border:0;padding:0}.order-drawer{width:min(590px,94vw);height:100vh;max-height:100vh;margin:0 0 0 auto;background:#fff;box-shadow:-25px 0 70px rgba(17,35,63,.2)}dialog::backdrop{background:rgba(10,24,43,.55);backdrop-filter:blur(3px)}.drawer-shell{padding:26px}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.dialog-head span{font:700 8px Bahnschrift,sans-serif;color:var(--blue);letter-spacing:.1em}.dialog-head h2{margin:4px 0 0;font-size:23px}.close-control{background:#e9eef2;padding:8px 10px;font-size:9px}.detail-status{padding:24px 0;display:flex;justify-content:space-between;gap:15px}.detail-status h3{margin:10px 0 4px}.detail-status p{margin:0;font-size:10px;color:var(--muted)}.detail-status code{font-size:8px;color:var(--muted);max-width:180px;word-break:break-all}.detail-grid{display:grid;grid-template-columns:1fr 1fr;margin:0;background:#f0f4f6;border-radius:10px}.detail-grid div{padding:14px}.detail-grid dt{font-size:8px;color:var(--muted)}.detail-grid dd{margin:4px 0 0;font-size:10px;font-weight:800;word-break:break-all}.timeline-title{font-size:13px;margin:28px 0 13px}.event-list{display:grid}.event{display:grid;grid-template-columns:15px 1fr;gap:8px;min-height:42px}.event i{width:8px;height:8px;border-radius:50%;background:var(--blue);margin-top:4px;position:relative}.event:not(:last-child) i:after{content:"";position:absolute;width:1px;height:34px;background:#cbd7e2;left:3px;top:8px}.event b,.event small{display:block}.event b{font-size:9px}.event small{font-size:8px;color:var(--muted)}.drawer-actions{margin-top:20px;padding-top:18px;border-top:1px solid var(--line);display:flex;align-items:center;gap:14px}.drawer-actions span{font-size:9px;color:var(--muted)}.command-dialog{width:min(560px,92vw);border-radius:14px;box-shadow:var(--shadow);top:12%;bottom:auto}.command-head{display:grid;grid-template-columns:1fr auto;padding:12px;border-bottom:1px solid var(--line)}.command-head input{border:0;box-shadow:none!important}.command-head button{background:transparent;color:var(--muted);font-size:10px}.command-results{padding:8px;display:grid}.command-results button{display:flex;justify-content:space-between;padding:12px;background:transparent;border-radius:8px;text-align:left}.command-results button:hover{background:#edf3f8}.command-results span{font-size:11px;font-weight:800}.command-results small{font-size:8px;color:var(--muted)}

/* Login */
.login-body{min-height:100vh;background:var(--ink)}.access-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.access-scene{color:#fff;padding:clamp(32px,6vw,85px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.access-scene:after{content:"";position:absolute;width:520px;height:520px;border:1px solid #3c5877;border-radius:50%;right:-250px;bottom:-250px;box-shadow:0 0 0 80px rgba(92,136,187,.035),0 0 0 160px rgba(92,136,187,.025)}.access-scene h1{font:700 clamp(45px,6vw,80px)/1 Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;letter-spacing:-.035em;margin:18px 0}.access-scene p{color:#a9bbd0;max-width:530px}.access-route{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;border-top:1px solid #45617f;padding-top:15px;position:relative}.access-route i{position:absolute;top:-2px;left:0;width:67%;height:2px;background:var(--orange)}.access-route span{font-size:9px;color:#9cb0c8}.access-form{background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:35px}.access-form form,.auth-tabs,.back-link{width:min(440px,100%)}.access-form form>span{font-size:10px;color:var(--blue);font-weight:800}.access-form h2{font:700 32px Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;letter-spacing:-.02em;margin:5px 0}.access-form form>p{color:var(--muted);font-size:12px;margin:0 0 25px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#e8edf1;border-radius:10px;padding:4px;margin-bottom:28px}.auth-tabs button{padding:10px;background:transparent;border-radius:7px;font-size:11px;font-weight:800}.auth-tabs button.active{background:#fff;box-shadow:0 5px 14px rgba(17,35,63,.1);color:var(--blue)}.back-link{margin-top:20px;text-align:center;color:var(--blue);font-size:10px}

@keyframes routeTravel{0%{left:10%;opacity:0}15%{opacity:1}85%{opacity:1}100%{left:88%;opacity:0}}@keyframes radar{to{transform:rotate(360deg)}}@keyframes viewIn{from{opacity:.2;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.station-header{grid-template-columns:1fr auto}.store-nav{display:none}.store-hero{grid-template-columns:1fr;min-height:auto}.route-console{min-height:400px}.product-rail{grid-template-columns:1fr 1fr}.supply-product.featured{grid-column:1/3}.redeem-station{grid-template-columns:1fr}.order-tower{position:relative;top:auto}.dispatch-sidebar{width:210px}.dispatch-main{margin-left:210px}.metric-strip{grid-template-columns:repeat(3,1fr)}.metric-strip>div:nth-child(3){border-right:0}.dashboard-layout,.codes-layout,.system-grid{grid-template-columns:1fr}.product-admin-grid{grid-template-columns:1fr 1fr}.workspace-toolbar{grid-template-columns:1fr 1fr 1fr}.workspace-toolbar .search-control{grid-column:1/4}.access-shell{grid-template-columns:.9fr 1.1fr}}
@media(max-width:760px){.station-header{height:66px;padding:0 16px}.station-header .station-brand small,.service-signal{display:none}.buyer-actions{gap:10px}.store-hero{padding:48px 18px 60px}.hero-copy h1{font-size:46px}.hero-copy>p{font-size:14px}.trust-manifest{grid-template-columns:1fr;gap:12px}.route-console{padding:20px;min-height:370px}.route-map{overflow:hidden}.route-map ol{grid-template-columns:repeat(4,92px);width:368px}.route-map li b{font-size:9px}.supply-shop,.account-orders{padding:60px 18px}.section-title{display:block}.section-title>p{margin-top:12px}.product-rail{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.supply-product,.supply-product.featured{min-width:84vw;min-height:320px;grid-column:auto;scroll-snap-align:start}.redeem-station{padding:0 18px;margin-bottom:60px}.redeem-main{padding:22px 18px}.manifest-segment{grid-template-columns:35px 1fr;gap:12px}.segment-code{width:32px;height:32px}.inline-actions{align-items:stretch}.inline-actions>*{width:100%}.order-tower{min-height:520px}.account-order-list article{grid-template-columns:1fr}.station-footer{display:grid;gap:15px}.dispatch-sidebar{position:fixed;width:100%;height:66px;inset:auto 0 0 0;padding:7px 9px;display:block}.dispatch-sidebar>.station-brand,.operator-card{display:none}.dispatch-sidebar nav{grid-template-columns:repeat(6,1fr);gap:2px;margin:0}.dispatch-nav{display:flex;flex-direction:column;align-items:center;padding:4px 1px;gap:1px}.dispatch-nav>span{width:25px;height:25px;grid-row:auto}.dispatch-nav b{font-size:7px}.dispatch-nav small{display:none}.dispatch-nav.active:after{right:50%;top:2px}.dispatch-main{margin:0;padding:18px 14px 86px}.dispatch-topbar{align-items:flex-start}.dispatch-topbar .top-actions{display:grid;grid-template-columns:1fr 1fr}.live-toggle{grid-column:1/3}.dispatch-topbar h1{font-size:25px}.ops-banner{padding:24px;display:block}.ops-mode{margin-top:20px}.metric-strip{grid-template-columns:1fr 1fr}.metric-strip>div{border-bottom:1px solid var(--line)}.dashboard-layout{display:block}.workspace-toolbar{grid-template-columns:1fr 1fr}.workspace-toolbar .search-control{grid-column:1/3}.product-admin-grid{grid-template-columns:1fr}.inventory-summary{display:block}.inventory-summary p{margin:12px 0 0}.access-shell{grid-template-columns:1fr}.access-scene{min-height:330px;padding:28px}.access-scene h1{font-size:45px}.access-form{padding:42px 22px}.access-route{margin-top:40px}.order-drawer{width:100vw}.drawer-shell{padding:20px}.detail-status{display:block}.detail-status code{display:block;margin-top:15px}.toast{left:16px;right:16px;bottom:80px;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
.store-hero:after{height:1px;background:var(--ink)}
.ip-address{display:inline-block;padding:5px 7px;border-radius:6px;background:#eef2f5;color:#30445d;font:700 9px ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}.ip-count{display:inline-grid;min-width:27px;height:27px;place-items:center;border-radius:7px;background:#e5f3ed;color:#087253;font-size:9px;font-weight:800}.ip-count.warn{background:#fff0d7;color:#9a5a00}.customer-login-page .auth-captcha{display:grid;gap:8px;margin:14px 0}.customer-login-page .auth-captcha-label{display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-login-page .auth-captcha-label>span{font-size:10px;font-weight:800;color:#41546b}.customer-login-page .auth-captcha-label button{padding:2px;background:transparent;color:var(--blue);font-size:9px}.customer-login-page .auth-captcha-row{display:grid;grid-template-columns:148px minmax(0,1fr);gap:9px}.customer-login-page .auth-captcha-row img{width:148px;height:48px;border:1px solid var(--line);border-radius:8px;background:#edf1f4;object-fit:cover}.customer-login-page .auth-captcha-row img.loading{opacity:.45}.customer-login-page .auth-captcha-row input{min-width:0;font-size:14px}.auth-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}.customer-login-page .hidden{display:none!important}@media(max-width:520px){.customer-login-page .auth-captcha-row{grid-template-columns:130px minmax(0,1fr)}.customer-login-page .auth-captcha-row img{width:130px}.customer-login-page input{font-size:16px}}
.clear-state i:after{width:15px;height:10px;border:0;background:var(--green);clip-path:polygon(0 42%,38% 76%,100% 0,100% 27%,39% 100%,0 66%);transform:none;left:8px;top:9px}
.distribution b i{transition:none}
.product-code-type{display:flex;align-items:end;justify-content:space-between;padding-top:15px;border-top:1px solid #cbd5df}.supply-product.featured .product-code-type{border-color:rgba(255,255,255,.16)}.product-code-type span{font-size:10px;color:var(--muted);font-weight:800}.supply-product.featured .product-code-type span{color:#91a6c0}.product-code-type strong{font:800 17px Bahnschrift,sans-serif;letter-spacing:.04em;color:var(--blue)}.supply-product.featured .product-code-type strong{color:#fff}.detected-supply{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;align-items:center;margin-top:12px;padding:13px 14px;background:#edf1f4;border-radius:10px}.detected-supply>span{grid-row:1/3;font-size:9px;font-weight:850;color:var(--muted);letter-spacing:.06em}.detected-supply strong{font-size:14px}.detected-supply small{font-size:9px;color:var(--muted)}.detected-supply.pending{background:#edf4ff}.detected-supply.pending strong{color:var(--blue)}.detected-supply.confirmed{background:#e2f4ed}.detected-supply.confirmed strong{color:#087457}
.supply-product:hover{transform:none;box-shadow:none}.detected-supply.rejected{background:#fde9e9}.detected-supply.rejected strong,.detected-supply.rejected small{color:#a72e35}

/* Compact storefront entry */
.store-hero{min-height:0;grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr);gap:clamp(36px,5vw,72px);padding:46px clamp(24px,7vw,120px) 48px}.hero-copy{max-width:650px}.hero-copy h1{font-size:clamp(44px,4.4vw,66px);line-height:1.01;letter-spacing:-.03em}.hero-copy>p{font-size:15px;line-height:1.75;max-width:560px;margin:20px 0 22px}.hero-actions{gap:10px}.hero-actions .signal-button,.hero-actions .line-button{padding:11px 17px}.trust-manifest{margin-top:25px;padding-top:15px}.trust-manifest div{padding-right:14px}.trust-manifest dt{font-size:11px}.trust-manifest dd{font-size:9px;margin-top:2px}.route-console{min-height:0;padding:22px 24px 18px;box-shadow:0 18px 42px rgba(17,35,63,.2)}.route-console:before{width:190px;height:190px;right:-80px;top:-100px;box-shadow:0 0 0 36px rgba(118,174,255,.03),0 0 0 72px rgba(118,174,255,.025)}.console-head{grid-template-columns:1fr auto;padding-bottom:14px}.console-head b{grid-row:auto;font-size:18px}.console-head i{grid-row:auto;grid-column:2;font-size:8px}.route-map{height:124px;padding:0 6px}.route-line{left:31px;right:31px;top:38px}.route-pulse{top:32px;left:21%;width:13px;height:13px}.route-map ol{align-items:start;padding-top:28px}.route-map li{padding-top:28px}.route-map li:before{top:32px;margin-left:18px;width:9px;height:9px;border-width:2px}.route-map li b{font-size:10px}.route-map li small{font-size:7px;margin-top:2px}.console-readout{grid-template-columns:1fr 1fr;gap:0;padding-top:13px}.console-readout>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.console-readout>div+div{border-left:1px solid rgba(255,255,255,.13);padding-left:22px;margin-left:22px}.console-readout span{font-size:9px}.console-readout strong{font-size:10px}.supply-shop{padding-top:62px}
@media(max-width:1100px){.store-hero{grid-template-columns:1fr;gap:28px;padding-top:40px;padding-bottom:42px}.hero-copy{max-width:720px}.route-console{min-height:0;max-width:none}.supply-shop{padding-top:54px}}
@media(max-width:760px){.store-hero{padding:34px 18px 38px;gap:24px}.hero-copy h1{font-size:42px}.hero-copy>p{font-size:13px;margin:17px 0 19px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-actions .signal-button,.hero-actions .line-button{padding:10px 9px;font-size:11px}.trust-manifest{grid-template-columns:repeat(3,1fr);gap:0}.trust-manifest div{padding-right:8px}.trust-manifest dt{font-size:9px}.trust-manifest dd{font-size:8px}.route-console{padding:18px 16px 15px}.route-map{height:112px;overflow:visible}.route-map ol{width:auto;grid-template-columns:repeat(4,1fr)}.route-line{left:22px;right:22px}.route-map li:before{margin-left:12px}.route-map li b{font-size:8px}.route-map li small{font-size:6px}.console-readout>div{display:grid;gap:2px}.console-readout>div+div{padding-left:14px;margin-left:14px}.supply-shop{padding-top:46px}}

/* GPT recharge counter — customer storefront */
.customer-body{background:#f4f1ea;color:#161a21}.customer-body .station-header{height:68px;background:#fff;border-color:#d8d5ce;padding-inline:clamp(20px,5vw,72px);backdrop-filter:none}.customer-body .station-mark{border-radius:8px;background:#161a21;box-shadow:0 7px 18px rgba(16,19,25,.18)}.customer-body .station-brand small{color:#767b84;letter-spacing:.08em}.customer-body .store-nav{gap:28px}.customer-body .store-nav a{font-size:12px}.customer-body .buyer-actions .text-action{color:#155dde}.customer-body .store-hero{min-height:0;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:clamp(45px,6vw,92px);padding:56px clamp(24px,7vw,120px) 54px;background:#121720;color:#fff;overflow:hidden}.customer-body .store-hero:after{height:4px;width:24%;right:auto;background:#ff6a2a;animation:counterSignal 4.8s var(--ease) infinite}.customer-body .hero-copy{max-width:760px}.customer-body .hero-copy h1{font-size:clamp(48px,5.2vw,76px);line-height:.98;letter-spacing:-.03em;max-width:800px}.customer-body .hero-copy h1 span,.customer-body .hero-copy h1 em{display:block}.customer-body .hero-copy h1 em{color:#ff6a2a;margin-top:8px}.customer-body .hero-copy>p{font-size:15px;line-height:1.75;color:#c5cad4;max-width:650px;margin:24px 0}.customer-body .hero-actions .signal-button{background:#ff6a2a;box-shadow:0 10px 28px rgba(255,106,42,.25)}.customer-body .hero-actions .signal-button:hover{background:#ed5416}.customer-body .hero-actions .line-button{border-color:#5d6674;color:#fff}.customer-body .hero-actions .line-button:hover{border-color:#fff;color:#fff}.customer-body .trust-manifest{margin-top:31px;padding-top:18px;border-color:#353c47}.customer-body .trust-manifest dt{color:#fff;font-size:11px}.customer-body .trust-manifest dd{color:#929aa7;font-size:9px}.customer-body .route-console{min-height:0;background:transparent;color:#fff;border-radius:0;border-left:1px solid #3b424d;padding:4px 0 4px clamp(28px,4vw,58px);box-shadow:none;overflow:visible}.customer-body .route-console:before{display:none}.customer-body .console-head{display:flex;justify-content:space-between;align-items:center;border:0;padding:0 0 15px}.customer-body .console-head b{font-size:21px}.customer-body .console-head i{position:static;background:#ff6a2a;border-radius:4px;font-size:8px;letter-spacing:.08em;padding:5px 7px}.recharge-path{list-style:none;margin:0;padding:0;border-top:1px solid #353c47}.recharge-path li{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid #353c47}.recharge-path li>span{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#232a35;color:#ff8a57;font:800 11px Bahnschrift,sans-serif}.recharge-path b,.recharge-path small{display:block}.recharge-path b{font-size:12px}.recharge-path small{color:#929aa7;font-size:9px;margin-top:2px}.route-promise{margin:15px 0 0;color:#ffb28f;font-size:10px;line-height:1.65}.customer-body .supply-shop{padding:68px clamp(24px,7vw,120px) 44px;max-width:1600px}.customer-body .section-title{align-items:end;margin-bottom:27px}.customer-body .section-title h2{font-size:clamp(32px,3.3vw,50px);color:#161a21}.customer-body .section-title>p{font-size:12px;max-width:460px;color:#656b74}.customer-body .product-rail{grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #bab7b0;border-bottom:1px solid #bab7b0}.customer-body .supply-product,.customer-body .supply-product.featured{min-height:238px;padding:24px 26px;background:transparent;color:#161a21;border-radius:0;border-right:1px solid #bab7b0}.customer-body .supply-product:first-child{background:#e9e5dd}.customer-body .supply-product:last-child{border-right:0}.customer-body .product-top>span{color:#155dde;margin:0}.customer-body .supply-product h3{font-size:clamp(31px,3vw,45px);margin:13px 0 7px;color:#161a21}.customer-body .supply-product p,.customer-body .supply-product.featured p{color:#686e77;font-size:11px}.customer-body .product-price{min-height:44px}.customer-body .product-price strong{font-size:32px}.customer-body .price-pending{font-size:14px!important;color:#777c84}.customer-body .product-code-type{padding-top:12px;border-color:#c7c3bb}.customer-body .product-code-type span,.customer-body .supply-product.featured .product-code-type span{color:#777c84}.customer-body .product-code-type strong,.customer-body .supply-product.featured .product-code-type strong{color:#155dde}.customer-body .payment-note{margin:14px 0 0;padding:11px 0;background:transparent;color:#7f431f;border-radius:0;border-bottom:1px solid #d5b8a5;font-size:10px}.customer-body .redeem-station{max-width:1600px;margin:42px auto 82px;padding:0 clamp(24px,7vw,120px);grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:0}.customer-body .redeem-main{border-radius:0;background:#fff;padding:30px 34px;box-shadow:none;border-top:3px solid #161a21}.customer-body .section-title.compact{padding-bottom:20px;border-color:#ddd9d1}.customer-body .section-title.compact h2{font-size:29px}.customer-body .section-title.compact>strong{background:#e7efff;color:#155dde;border-radius:4px}.customer-body .manifest-segment{padding:25px 0;grid-template-columns:42px 1fr;gap:16px;border-color:#e1ddd6}.customer-body .segment-code{width:34px;height:34px;border-radius:50%;background:#e5e1da;color:#4e535a}.customer-body .manifest-segment.active .segment-code{background:#161a21;color:#fff}.customer-body .field{margin-top:14px}.customer-body input,.customer-body textarea{border-radius:6px;border-color:#c9c5bd}.customer-body .detected-supply{border-radius:6px}.customer-body .signal-button,.customer-body .line-button{border-radius:6px}.customer-body .order-tower{border-radius:0;min-height:560px;padding:28px;background:#161a21}.customer-body .tower-head{padding-bottom:18px}.customer-body .tower-head h2{font-size:27px}.customer-body .tower-head i{border-radius:4px}.customer-body .radar-sweep{border-radius:0;transform:rotate(45deg);width:74px;height:74px;box-shadow:0 0 0 16px rgba(106,144,188,.04),0 0 0 32px rgba(106,144,188,.02)}.customer-body .radar-sweep:after{transform-origin:left top}.customer-body .tower-empty b{margin-top:28px}.customer-body .account-orders{padding:22px clamp(24px,7vw,120px) 74px;max-width:1600px}.customer-body .account-order-list article{border-radius:0;border-top:1px solid #cbc7bf;background:transparent;padding-inline:0}.customer-body .empty-line{border-radius:0;background:#e9e5dd}.customer-body .station-footer{background:#161a21;color:#fff}.customer-body .station-footer p{color:#9da3ad}.customer-body .station-footer>a{color:#7aa7ff}.customer-body .station-footer .station-mark{background:#fff}.customer-body .station-footer .station-mark i:first-child{background:#161a21}
@keyframes counterSignal{0%,100%{width:18%}50%{width:34%}}
@media(max-width:1100px){.customer-body .store-hero{grid-template-columns:1fr;gap:34px;padding-top:46px}.customer-body .route-console{border-left:0;border-top:1px solid #3b424d;padding:24px 0 0}.customer-body .redeem-station{grid-template-columns:1fr}.customer-body .order-tower{min-height:430px}.customer-body .product-admin-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.customer-body .station-header{height:64px}.customer-body .station-brand b{font-size:14px}.customer-body .store-hero{padding:38px 18px 36px;gap:30px}.customer-body .hero-copy h1{font-size:42px}.customer-body .hero-copy>p{font-size:13px}.customer-body .hero-actions{grid-template-columns:1fr}.customer-body .trust-manifest{grid-template-columns:1fr;gap:9px}.customer-body .trust-manifest div{display:grid;grid-template-columns:120px 1fr;align-items:baseline}.customer-body .console-head b{font-size:18px}.recharge-path li{padding:13px 0}.customer-body .supply-shop{padding:52px 18px 32px}.customer-body .section-title h2{font-size:34px}.customer-body .product-rail{display:grid;grid-template-columns:1fr;overflow:visible}.customer-body .supply-product,.customer-body .supply-product.featured{min-width:0;min-height:205px;border-right:0;border-bottom:1px solid #bab7b0}.customer-body .supply-product:last-child{border-bottom:0}.customer-body .redeem-station{padding:0 18px;margin-top:32px}.customer-body .redeem-main{padding:24px 18px}.customer-body .section-title.compact{display:flex}.customer-body .section-title.compact h2{font-size:24px}.customer-body .manifest-segment{grid-template-columns:34px 1fr;gap:11px}.customer-body .order-tower{min-height:410px;padding:23px}.customer-body .account-orders{padding:12px 18px 60px}.customer-body .station-footer{padding:28px 18px}}

/* The ALTCHA checkmark is decorative and must not intercept checkbox clicks. */
altcha-widget .altcha-checkbox > svg { pointer-events: none !important; }
.customer-body .store-hero:after{height:2px;width:100%;transform:scaleX(.24);transform-origin:left center}.customer-body .redeem-main{border-top:0;box-shadow:inset 0 3px 0 #161a21}@keyframes counterSignal{0%,100%{transform:scaleX(.18)}50%{transform:scaleX(.34)}}

/* Circular order scanner */
.customer-body .order-tower{min-height:470px;background:#161a21;color:#fff;padding:28px;display:flex;flex-direction:column;box-shadow:none}.customer-body .tower-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-color:#39414d}.customer-body .tower-head h2{font-size:25px;color:#fff}.customer-body .tower-head i{position:static;color:#9ebeff;background:transparent;border:1px solid #56719a;padding:5px 7px}.customer-body .tower-empty{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 0}.circular-scanner{position:relative;width:134px;height:134px;border:1px solid #5e7899;border-radius:50%;overflow:hidden;box-shadow:0 0 0 25px rgba(95,125,163,.06),0 0 0 50px rgba(95,125,163,.025)}.circular-scanner:before{content:"";position:absolute;inset:25px;border:1px solid #405b7d;border-radius:50%}.circular-scanner:after{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,rgba(54,120,224,.64),rgba(54,120,224,.08) 30%,transparent 31%);animation:circularScan 3.2s linear infinite}.circular-scanner span{position:absolute;left:50%;top:50%;z-index:1;width:10px;height:10px;border:2px solid #ff8a57;border-radius:50%;background:#161a21;transform:translate(-50%,-50%);box-shadow:0 0 0 6px rgba(255,106,42,.1)}.customer-body .tower-empty b{margin-top:78px;color:#fff;font-size:15px}.customer-body .tower-empty>p{color:#9ea9b8;font-size:10px;line-height:1.7;max-width:40ch;margin:10px auto 0}.customer-body .tower-help{margin-top:auto;border-color:#39414d}.customer-body .tower-help b{color:#fff}.customer-body .tower-help p{color:#9ea9b8}.customer-body .order-id{margin:22px 0;border-bottom:1px solid #39414d;padding-bottom:18px}.customer-body .order-id span{color:#9ea9b8}.customer-body .order-id button{color:#8eb3ff}.customer-body .order-id code{color:#fff}.customer-body .timeline li{color:#7f8a9a}.customer-body .timeline li span{background:#536071}.customer-body .timeline li:not(:last-child) span:after{background:#39414d}.customer-body .timeline li.done{color:#b8c3d1}.customer-body .timeline li.done span{background:#168565}.customer-body .timeline li.current{color:#fff}.customer-body .timeline li.current span{background:#ff6a2a;box-shadow:0 0 0 4px rgba(255,106,42,.13)}.customer-body .result-box{background:#242c37;color:#c6cfdb;border-radius:6px}.customer-body .result-box.success{background:#173c34;color:#aee9d5}.customer-body .result-box.error{background:#47272b;color:#f5bec3}@keyframes circularScan{to{transform:rotate(1turn)}}
@media(max-width:760px){.customer-body .order-tower{min-height:410px;padding:23px}.customer-body .tower-empty{min-height:280px}.circular-scanner{width:118px;height:118px;box-shadow:0 0 0 21px rgba(95,125,163,.06),0 0 0 42px rgba(95,125,163,.025)}.customer-body .tower-empty b{margin-top:66px}}@media(prefers-reduced-motion:reduce){.circular-scanner:after{animation:none;transform:rotate(38deg)}}

/* Header product mark */
.customer-body .station-header .station-mark.official-product-mark{width:38px;height:38px;display:grid;place-items:center;background:transparent;border-radius:0;box-shadow:none}.customer-body .station-header .official-product-mark img{display:block;width:34px;height:34px;object-fit:contain}

/* Self-hosted ALTCHA registration verification */
.customer-login-page .auth-captcha-label small{color:#718095;font-size:9px}.customer-login-page .auth-captcha altcha-widget{width:100%;--altcha-max-width:100%;--altcha-border-color:var(--line);--altcha-border-radius:8px;--altcha-color-base:#fff;--altcha-color-base-content:#28384d;--altcha-color-primary:var(--blue);--altcha-color-success:#087253;--altcha-color-error:#b4232d;--altcha-checkbox-border-radius:5px;--altcha-shadow:none}

/* Admin supply foundation — readable operational density, no decorative metrics */
.admin-body .dispatch-nav b{font-size:11px}.admin-body .dispatch-nav small{font-size:8px}.admin-body .dispatch-topbar>div>span,.admin-body .panel-head>div>span{font-size:10px}.admin-body .panel-head h2{font-size:18px}.admin-body .ops-banner p,.admin-body .section-intro>p{font-size:12px;line-height:1.65}.admin-body .metric-strip span{font-size:10px}.admin-body .metric-strip small{font-size:10px}.admin-body .system-ledger dt,.admin-body .system-ledger dd{font-size:11px}.admin-body th{font-size:10px}.admin-body td{font-size:12px}.admin-body td small{font-size:10px}.admin-body .status-badge,.admin-body .row-action{font-size:10px}.admin-body input,.admin-body textarea,.admin-body select{font-size:13px}.admin-body button:focus-visible,.admin-body input:focus-visible,.admin-body select:focus-visible,.admin-body textarea:focus-visible{outline:3px solid rgba(0,91,215,.24);outline-offset:2px}.supply-intro{align-items:center}.supply-intro>div>p{margin:7px 0 0;max-width:760px;color:var(--muted);font-size:12px}.supply-connection{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;min-height:72px;margin-bottom:14px;padding:16px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}.supply-connection>div{display:grid;gap:4px;min-width:0}.supply-connection b{font-size:14px}.supply-connection span{color:var(--muted);font-size:11px;line-height:1.55}.supply-connection em{margin-left:auto;padding:6px 9px;border-radius:6px;font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}.supply-connection small{flex-basis:100%;color:var(--red);font-size:10px}.supply-connection.warning{border-color:#e7cda4;background:#fffaf2}.supply-connection.warning em{background:#f8ead3;color:#8c5611}.supply-connection.ready{border-color:#b9ddcf;background:#f5fbf8}.supply-connection.ready em{background:#daf1e8;color:#087253}.supply-metrics{display:grid;grid-template-columns:repeat(4,1fr);margin:14px 0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.supply-metrics>div{min-width:0;padding:17px 19px;border-right:1px solid var(--line)}.supply-metrics>div:last-child{border-right:0}.supply-metrics span,.supply-metrics small,.supply-metrics strong{display:block}.supply-metrics span{color:var(--muted);font-size:10px}.supply-metrics strong{margin:7px 0 3px;font:700 22px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.supply-metrics small{color:#8290a0;font-size:9px;line-height:1.45}.supply-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(360px,.6fr);gap:14px;margin-bottom:14px}.supply-grid>.dispatch-panel{min-width:0}.supply-settings-panel form{display:grid;gap:16px}.supply-rule-list{display:grid;gap:10px}.supply-rule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;padding:13px;border:1px solid var(--line);border-radius:10px}.supply-rule legend{padding:0 6px;color:var(--ink);font-size:12px;font-weight:800}.supply-rule label{display:grid;gap:5px;min-width:0}.supply-rule label>span,.supply-settings-panel label>span{color:var(--muted);font-size:10px}.input-suffix{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid var(--line);border-radius:7px;background:#fff;overflow:hidden}.input-suffix:focus-within{outline:3px solid rgba(0,91,215,.15);border-color:var(--blue)}.input-suffix input{min-width:0;border:0;border-radius:0;box-shadow:none!important}.input-suffix i{padding:0 10px;color:var(--muted);font-size:10px;font-style:normal}.capacity-value{font-variant-numeric:tabular-nums;color:var(--ink);font-size:14px}.capacity-status{display:inline-flex;padding:5px 7px;border-radius:6px;background:#e9eef2;color:#586a7e;font-size:10px;font-weight:800}.capacity-status.ready{background:#ddf3ea;color:#087253}.capacity-status.low,.capacity-status.needs_config,.capacity-status.unavailable,.capacity-status.currency_mismatch{background:#fff0d9;color:#8a5410}.capacity-status.disabled,.capacity-status.blocked{background:#fae1e2;color:#a72e35}.selected-card{display:inline-flex;padding:5px 7px;border-radius:6px;background:#deebff;color:#1559ad;font-size:10px;font-weight:800}.action-empty{display:grid;gap:5px}.action-empty b{color:var(--ink);font-size:12px}.action-empty span{font-size:10px}.admin-body ::selection{background:#cfe1ff;color:#11233f}.admin-body *{scrollbar-color:#9badc0 #edf1f4;scrollbar-width:thin}
@media(max-width:1180px){.supply-grid{grid-template-columns:1fr}.supply-metrics{grid-template-columns:1fr 1fr}.supply-metrics>div:nth-child(2){border-right:0}.supply-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:760px){.dispatch-sidebar nav{grid-template-columns:repeat(8,1fr)}.admin-body .dispatch-nav b{font-size:7px}.supply-intro{display:grid;gap:14px;align-items:start}.supply-intro .signal-button{width:100%}.supply-connection{align-items:flex-start}.supply-connection em{margin-left:0}.supply-metrics{grid-template-columns:1fr}.supply-metrics>div,.supply-metrics>div:nth-child(2){border-right:0;border-bottom:1px solid var(--line)}.supply-metrics>div:last-child{border-bottom:0}.supply-rule{grid-template-columns:1fr}.supply-settings-panel .form-grid{grid-template-columns:1fr}}

/* Wallet and card funds are separate operational buckets. */
.supply-funds{display:grid;grid-template-columns:minmax(260px,.55fr) minmax(0,1.45fr);margin:14px 0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.supply-primary-fund{display:flex;flex-direction:column;justify-content:center;min-height:172px;padding:25px 26px;background:var(--ink);color:#fff}
.supply-primary-fund span{color:#9fc1f0;font-size:10px;font-weight:800}
.supply-primary-fund strong{margin:9px 0 5px;font:700 32px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}
.supply-primary-fund small{max-width:30ch;color:#b8c9dd;font-size:9px;line-height:1.55}
.supply-fund-ledger{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.supply-fund-ledger>div{display:grid;align-content:center;min-width:0;padding:19px 21px;border-bottom:1px solid var(--line);border-left:1px solid var(--line)}
.supply-fund-ledger>div:nth-last-child(-n+2){border-bottom:0}
.supply-fund-ledger dt{color:var(--muted);font-size:9px;font-weight:700}
.supply-fund-ledger dd{margin:6px 0 3px;color:var(--ink);font:700 18px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}
.supply-fund-ledger small{color:#7d8da0;font-size:8px;line-height:1.45}
.supply-fund-equation{grid-column:1/-1;margin:0;padding:11px 18px;border-top:1px solid var(--line);background:var(--mist);color:#5f7288;font-size:9px;line-height:1.55}
@media(max-width:760px){.supply-funds{grid-template-columns:1fr}.supply-primary-fund{min-height:138px}.supply-fund-ledger{grid-template-columns:1fr}.supply-fund-ledger>div,.supply-fund-ledger>div:nth-last-child(-n+2){border-bottom:1px solid var(--line);border-left:0}.supply-fund-ledger>div:last-child{border-bottom:0}}

/* Supply decision flow — live draft, validation, and reversible publishing */
.supply-intro .signal-button,.supply-publish-bar .signal-button{min-height:44px;background:#123a67;color:#fff;font-size:12px}.supply-intro .signal-button:hover,.supply-publish-bar .signal-button:hover{background:#0057bd}.supply-connection span{font-size:12px}.supply-connection em,.supply-connection small{font-size:11px}.supply-primary-fund span{font-size:12px}.supply-primary-fund small{font-size:12px}.supply-fund-ledger dt{font-size:12px}.supply-fund-ledger small{font-size:11px}.supply-fund-equation{font-size:11px}.supply-settings-panel{min-width:0;overflow:hidden}.supply-settings-panel form{gap:14px}.supply-settings-panel label>span,.supply-rule label>span{color:#40566f;font-size:12px;font-weight:750}.supply-rule legend{font-size:14px}.supply-allocation-summary{display:grid;gap:10px;padding:13px 14px;border:1px solid #cbd8e4;border-radius:10px;background:#f5f8fb}.supply-allocation-summary>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.supply-allocation-summary strong{font-size:12px}.supply-allocation-summary span{color:#596f87;font-size:11px;text-align:right}.supply-allocation-track{height:7px;overflow:hidden;border-radius:4px;background:#dce5ed}.supply-allocation-track i{display:block;width:0;height:100%;border-radius:inherit;background:#1769aa;transition:width .18s ease,background .18s ease}.supply-allocation-track i.over{background:#a93439}.supply-rule-preview{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:3px 10px;padding-top:10px;border-top:1px solid #dce4eb}.supply-rule-preview span{grid-row:1/3;color:#5f738a;font-size:10px;font-weight:750}.supply-rule-preview strong{font-size:15px;font-variant-numeric:tabular-nums}.supply-rule-preview small{color:#61758a;font-size:10px;line-height:1.45}.supply-form-error{padding:12px 13px;border:1px solid #dda7a2;border-radius:9px;background:#fff3f2;color:#8d302d;font-size:11px;line-height:1.55}.supply-settings-panel [aria-invalid="true"]{border-color:#ad3439!important;box-shadow:0 0 0 3px rgba(173,52,57,.13)!important}.supply-publish-bar{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;gap:10px;margin:2px -20px -20px;padding:14px 20px;border-top:1px solid #dce4eb;background:#f6f8fa}.supply-publish-bar>div{display:grid;gap:3px;min-width:0}.supply-publish-bar strong{font-size:11px}.supply-publish-bar span{color:#60748a;font-size:10px;line-height:1.45}.supply-publish-bar button{min-height:44px}.supply-settings-panel input[readonly]{cursor:not-allowed;background:#f1f4f6;color:#61758a}.capacity-table td{vertical-align:top}.capacity-table td:last-child small{display:block;max-width:24ch;margin-top:5px;color:#697d92;font-size:10px;line-height:1.4}
@media(max-width:760px){.supply-intro .signal-button{min-height:46px}.supply-allocation-summary>div:first-child{display:grid;gap:4px}.supply-allocation-summary span{text-align:left}.supply-publish-bar{grid-template-columns:1fr 1fr;margin-inline:-16px;padding-inline:16px}.supply-publish-bar>div{grid-column:1/-1}.supply-publish-bar .signal-button{width:100%}.capacity-panel .table-wrap{overflow:visible}.capacity-table,.capacity-table tbody,.capacity-table tr,.capacity-table td{display:block;width:100%}.capacity-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}.capacity-table tbody{display:grid;gap:10px;padding:12px}.capacity-table tr{padding:8px 13px;border:1px solid #d7e0e8;border-radius:10px;background:#fff}.capacity-table td{display:grid;grid-template-columns:minmax(108px,.7fr) minmax(0,1fr);align-items:start;gap:12px;padding:8px 0;border:0;border-bottom:1px solid #edf1f4}.capacity-table td:last-child{border-bottom:0}.capacity-table td:before{color:#60748a;font-size:11px;font-weight:750}.capacity-table td:nth-child(1):before{content:"套餐"}.capacity-table td:nth-child(2):before{content:"卡内资金占比"}.capacity-table td:nth-child(3):before{content:"保守单位成本"}.capacity-table td:nth-child(4):before{content:"含缓冲成本"}.capacity-table td:nth-child(5):before{content:"可售数量"}.capacity-table td:nth-child(6):before{content:"状态"}}

/* Admin navigation — storefront-aligned, task-first sidebar */
.admin-body .dispatch-sidebar{width:272px;padding:24px 18px 18px;background:var(--paper);color:var(--ink);border-right:1px solid var(--line);box-shadow:8px 0 28px rgba(17,35,63,.035)}
.admin-body .dispatch-sidebar>.admin-brand{width:100%;min-height:70px;padding:4px 10px 22px;border-bottom:1px solid var(--line);gap:13px}
.admin-body .admin-brand .station-mark{width:38px;height:38px;flex:0 0 38px;border-radius:8px;background:#161a21;box-shadow:0 7px 18px rgba(16,19,25,.18);overflow:hidden}
.admin-body .admin-brand .supply-station-mark i:last-child{background:#2155d9}
.admin-body .admin-brand b{font-size:17px;letter-spacing:-.02em;color:#161a21}
.admin-body .admin-brand small{margin-top:5px;color:var(--muted);font:700 9px/1.2 "Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;letter-spacing:.08em}
.admin-body .dispatch-sidebar nav{display:grid;gap:5px;margin-top:18px}
.admin-body .dispatch-nav{min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:9px 11px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted);transition:background .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease),transform .2s var(--ease)}
.admin-body .dispatch-nav>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:var(--mist);color:var(--muted)}
.admin-body .dispatch-nav svg,.admin-body .operator-card svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.admin-body .dispatch-nav b{align-self:end;font-size:12px;line-height:1.35;color:inherit}
.admin-body .dispatch-nav small{align-self:start;margin-top:2px;color:var(--muted);font:500 9px/1.3 "Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;letter-spacing:0;opacity:.8}
.admin-body .dispatch-nav:hover{background:var(--mist);color:var(--ink);transform:translateX(2px)}
.admin-body .dispatch-nav:hover>span{border-color:var(--line);background:var(--paper);color:var(--blue)}
.admin-body .dispatch-nav.active{background:var(--ink);color:#fff;border-color:var(--ink);box-shadow:0 10px 22px rgba(17,35,63,.16)}
.admin-body .dispatch-nav.active>span{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.09);color:#fff}
.admin-body .dispatch-nav.active small{color:#fff;opacity:.72}
.admin-body .dispatch-nav.active:after{right:11px;top:12px;width:5px;height:5px;background:var(--blue);box-shadow:0 0 0 4px rgba(23,105,224,.16)}
.admin-body .operator-card{margin-top:auto;padding:17px 5px 0;border-top:1px solid var(--line);grid-template-columns:38px minmax(0,1fr) auto;gap:10px;color:var(--ink)}
.admin-body .operator-card>span{width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--mist);color:var(--muted);display:grid;place-items:center}
.admin-body .operator-card b{overflow:hidden;font-size:11px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.admin-body .operator-card small{margin-top:2px;color:var(--muted);font-size:9px}
.admin-body .operator-card button{display:inline-flex;align-items:center;gap:5px;padding:7px 8px;border-radius:8px;background:transparent;color:var(--muted);font-size:9px;transition:background .2s,color .2s}
.admin-body .operator-card button svg{width:15px;height:15px}
.admin-body .operator-card button:hover{background:var(--mist);color:var(--red)}
.admin-body .dispatch-main{margin-left:272px}
@media(max-width:1100px){.admin-body .dispatch-sidebar{width:224px;padding-inline:14px}.admin-body .dispatch-main{margin-left:224px}.admin-body .dispatch-nav{grid-template-columns:36px minmax(0,1fr);column-gap:10px;padding-inline:9px}.admin-body .dispatch-nav>span{width:36px;height:36px}}
@media(max-width:760px){.admin-body .dispatch-sidebar{inset:auto 0 0 0;width:100%;height:72px;padding:7px 8px;background:rgba(255,255,255,.97);border-top:1px solid var(--line);border-right:0;box-shadow:0 -8px 26px rgba(17,35,63,.08);backdrop-filter:blur(12px)}.admin-body .dispatch-sidebar>.admin-brand,.admin-body .operator-card{display:none}.admin-body .dispatch-sidebar nav{grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;margin:0}.admin-body .dispatch-nav{min-height:58px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px 1px;border:0;border-radius:9px;transform:none}.admin-body .dispatch-nav>span{width:29px;height:27px;border:0;border-radius:7px;background:transparent}.admin-body .dispatch-nav svg{width:17px;height:17px}.admin-body .dispatch-nav b{font-size:8px;line-height:1.2;white-space:nowrap}.admin-body .dispatch-nav small{display:none}.admin-body .dispatch-nav:hover{transform:none}.admin-body .dispatch-nav.active{background:var(--ink);box-shadow:none}.admin-body .dispatch-nav.active:after{display:none}.admin-body .dispatch-main{margin:0;padding-bottom:92px}}

/* Write-only upstream credential station. */
.provider-config-panel{margin-bottom:14px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.provider-config-head{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:25px 28px 22px;border-bottom:1px solid var(--line)}
.provider-config-head h2{margin:0;font-size:22px;letter-spacing:-.02em}
.provider-config-head p{max-width:720px;margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.65}
.provider-config-state{display:grid;justify-items:end;gap:6px;flex:0 0 auto}
.provider-config-state span{padding:7px 10px;border-radius:7px;background:#edf2f6;color:#52667d;font-size:10px;font-weight:900}
.provider-config-state span.ready{background:#daf1e8;color:#087253}
.provider-config-state span.pending{background:#fff0d9;color:#8a5410}
.provider-config-state small{color:var(--muted);font-size:9px}
.provider-workspace-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.55fr)}
.provider-config-form{display:grid;gap:21px;padding:30px 28px 32px;align-content:start}
.provider-production-lock{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:18px;min-height:62px;padding:11px 14px 11px 17px;border:1px solid var(--line);border-radius:12px;background:var(--mist)}
.provider-production-lock>div{display:grid;gap:3px}
.provider-production-lock span{color:var(--muted);font-size:9px;font-weight:800}
.provider-production-lock strong{font-size:13px}
.provider-production-lock code{overflow:hidden;color:#51657c;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.provider-production-lock em{padding:7px 10px;border-radius:7px;background:#fff0d9;color:#8a5410;font-size:9px;font-style:normal;font-weight:900}
.provider-credential-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.provider-config-form label{display:grid;gap:8px;min-width:0}
.provider-config-form label>span{color:#506278;font-size:10px;font-weight:800}
.provider-config-form label>span small{color:#8795a5;font-size:8px;font-weight:600}
.provider-field-hint{color:var(--muted);font-size:9px;line-height:1.5}
.provider-config-form input{min-width:0;height:48px}
.provider-config-actions{display:flex;justify-content:flex-start;gap:10px;padding-top:2px}
.provider-connection-guide{padding:30px 26px 28px;border-left:1px solid var(--line);background:var(--mist)}
.provider-connection-guide h3{margin:0 0 18px;font-size:15px;letter-spacing:-.01em}
.provider-connection-guide ol{display:grid;gap:0;margin:0;padding:0;list-style:none}
.provider-connection-guide li{display:grid;grid-template-columns:30px 1fr;gap:12px;padding:15px 0;border-top:1px solid var(--line)}
.provider-connection-guide li>span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#dfe8f1;color:var(--blue);font-size:10px;font-weight:900}
.provider-connection-guide li div{display:grid;gap:4px}
.provider-connection-guide li b{font-size:11px}
.provider-connection-guide li small{color:var(--muted);font-size:9px;line-height:1.55}
#providerTestResult{margin-top:18px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#52667d;font-size:10px;font-weight:800;line-height:1.55}
#providerTestResult.success{color:var(--green)}
#providerTestResult.error{color:var(--red)}
.provider-safety-note{margin:16px 0 0;color:#68798d;font-size:9px;line-height:1.6}
.provider-safety-note b{color:var(--ink)}
@media(max-width:1080px){.provider-workspace-grid{grid-template-columns:1fr}.provider-connection-guide{border-top:1px solid var(--line);border-left:0}.provider-connection-guide ol{grid-template-columns:repeat(3,1fr);gap:18px}.provider-connection-guide li{border-top:0;padding:0}.provider-safety-note{max-width:720px}}
@media(max-width:760px){.provider-config-head{display:grid;gap:14px;padding:20px 17px}.provider-config-state{justify-items:start}.provider-config-form,.provider-connection-guide{padding:20px 17px}.provider-production-lock{grid-template-columns:1fr auto;gap:10px}.provider-production-lock code{grid-column:1/-1;grid-row:2}.provider-credential-grid{grid-template-columns:1fr}.provider-config-actions{display:grid}.provider-config-actions button{width:100%}.provider-connection-guide ol{grid-template-columns:1fr;gap:0}.provider-connection-guide li{padding:14px 0;border-top:1px solid var(--line)}}

/* Overview board — operational truth before historical reporting */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.overview-board{display:grid;gap:16px}.overview-board.active{animation:viewIn .36s var(--ease)}
.overview-status{min-height:78px;display:grid;grid-template-columns:minmax(280px,1fr) auto auto;align-items:center;gap:24px;padding:15px 18px;background:#fff;border:1px solid var(--line);border-radius:14px}
.overview-status-main{display:grid;grid-template-columns:12px minmax(0,1fr);align-items:center;gap:12px}.overview-connection-dot{width:10px;height:10px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(22,133,101,.12)}
.overview-status-main strong,.overview-status-main small{display:block}.overview-status-main strong{font-size:14px}.overview-status-main small{margin-top:3px;color:var(--muted);font-size:10px}
.overview-status-facts{display:flex;align-items:center;margin:0}.overview-status-facts>div{min-width:154px;padding:0 18px;border-left:1px solid var(--line)}.overview-status-facts dt{color:var(--muted);font-size:9px}.overview-status-facts dd{margin:4px 0 0;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
.overview-status.warning{background:#fffbf4;border-color:#e8d5b5}.overview-status.warning .overview-connection-dot{background:var(--amber);box-shadow:0 0 0 5px rgba(165,97,0,.11)}.overview-status.offline .overview-connection-dot{background:var(--red);box-shadow:0 0 0 5px rgba(189,60,67,.1)}
.overview-core{display:grid;grid-template-columns:minmax(0,1.48fr) minmax(340px,.72fr);gap:16px;align-items:start}.overview-workboard,.overview-funds,.overview-pipeline,.overview-activity{border-radius:14px}
.overview-workboard{min-width:0;padding:24px;background:#fff;border:1px solid var(--line)}.overview-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.overview-section-head h2{margin:0;font:700 21px/1.1 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.02em}.overview-section-head p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.6}
.overview-work-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin-top:22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.overview-work-metrics>div{display:grid;gap:2px;min-width:0;padding:17px 20px 17px 0}.overview-work-metrics>div+div{padding-left:20px;border-left:1px solid var(--line)}.overview-work-metrics span,.overview-work-metrics small{color:var(--muted);font-size:10px}.overview-work-metrics strong{font:700 30px/1 Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.overview-work-metrics .metric-alert strong{color:var(--red)}
.overview-attention{min-height:96px;margin-top:16px}.overview-attention .clear-state.compact{min-height:96px;display:grid;grid-template-columns:38px 1fr;place-content:center;align-items:center;gap:14px;text-align:left}.overview-attention .clear-state.compact i{margin:0;width:36px;height:36px}.overview-attention .clear-state.compact div{display:grid;gap:4px}.overview-attention .clear-state.compact b{font-size:12px}.overview-attention .clear-state.compact span{font-size:10px;color:var(--muted)}
.overview-funds{display:flex;flex-direction:column;min-width:0;padding:24px;background:var(--ink);color:#fff}.overview-funds .overview-section-head p{color:#9fb0c5}.overview-capacity-state{padding:6px 8px;border-radius:6px;background:#293e5c;color:#d8e4f2;font-size:9px;font-weight:800;white-space:nowrap}.overview-capacity-state.ready{background:#164e42;color:#d9fff3}.overview-capacity-state.pending{background:#644817;color:#ffedc5}.overview-capacity-state.blocked{background:#62333a;color:#ffe0e3}
.overview-card-fund{display:grid;gap:5px;margin:24px 0 18px;padding-bottom:20px;border-bottom:1px solid #39506d}.overview-card-fund span{color:#9fb0c5;font-size:10px}.overview-card-fund strong{font:700 clamp(34px,3vw,46px)/1 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.overview-card-fund small{color:#91a4bb;font-size:9px;line-height:1.55}
.overview-fund-ledger{display:grid;grid-template-columns:1fr 1fr;margin:0}.overview-fund-ledger>div{padding:11px 0;border-bottom:1px solid #2f4664}.overview-fund-ledger>div:nth-child(even){padding-left:16px}.overview-fund-ledger dt{color:#91a4bb;font-size:9px}.overview-fund-ledger dd{margin:4px 0 0;font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}.overview-funds-action{align-self:flex-start;margin-top:auto;padding-top:16px;color:#9ec6ff}.overview-funds-action:hover{color:#fff}
.overview-pipeline{padding:22px 24px;background:#fff;border:1px solid var(--line)}.overview-total{display:flex;align-items:baseline;gap:8px}.overview-total span{color:var(--muted);font-size:9px}.overview-total strong{font:700 21px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.pipeline-stages{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);margin:20px 0 0;padding:0;border-top:1px solid var(--line)}.pipeline-stages li{position:relative;display:grid;gap:4px;padding:18px 18px 2px 0}.pipeline-stages li+li{padding-left:24px}.pipeline-stages li+li:before{content:"";position:absolute;left:0;top:20px;width:7px;height:12px;border-top:1px solid #93a4b6;border-right:1px solid #93a4b6;transform:rotate(45deg)}.pipeline-stages span{font-size:11px;font-weight:800}.pipeline-stages strong{font:700 27px/1 Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.pipeline-stages small{color:var(--muted);font-size:9px}.pipeline-complete strong{color:var(--green)}
.overview-activity{padding:22px 24px;background:#fff;border:1px solid var(--line)}.overview-activity .table-wrap{margin-top:16px}.overview-empty-guide{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:18px;padding:18px 0 2px;border-top:1px solid var(--line)}.overview-empty-guide strong{font-size:13px}.overview-empty-guide p{max-width:70ch;margin:5px 0 0;color:var(--muted);font-size:10px}.overview-quick-actions{display:flex;gap:8px;flex:none}
@media(max-width:1180px){.overview-status{grid-template-columns:minmax(240px,1fr) auto}.overview-status>.line-button{grid-column:1/-1;justify-self:start}.overview-core{grid-template-columns:1fr}.overview-funds{min-height:360px}.overview-fund-ledger{grid-template-columns:repeat(4,1fr)}.overview-fund-ledger>div,.overview-fund-ledger>div:nth-child(even){padding:11px 14px;border-left:1px solid #2f4664}.overview-fund-ledger>div:first-child{padding-left:0;border-left:0}}
@media(max-width:760px){.overview-board{gap:12px}.overview-status{grid-template-columns:1fr;gap:14px;padding:16px}.overview-status-facts{display:grid;grid-template-columns:1fr 1fr}.overview-status-facts>div{min-width:0;padding:0}.overview-status-facts>div+div{padding-left:14px}.overview-status>.line-button{width:100%}.overview-workboard,.overview-funds,.overview-pipeline,.overview-activity{padding:18px 16px}.overview-section-head{gap:14px}.overview-section-head h2{font-size:19px}.overview-section-head>.text-action{font-size:10px;text-align:right}.overview-work-metrics{grid-template-columns:1fr 1fr}.overview-work-metrics>div{padding:14px 12px 14px 0}.overview-work-metrics>div+div{padding-left:12px}.overview-work-metrics>div:last-child{grid-column:1/-1;border-top:1px solid var(--line);border-left:0;padding-left:0}.overview-fund-ledger{grid-template-columns:1fr 1fr}.overview-fund-ledger>div,.overview-fund-ledger>div:nth-child(even){padding:11px 0;border-left:0}.overview-fund-ledger>div:nth-child(even){padding-left:12px}.pipeline-stages{grid-template-columns:1fr 1fr}.pipeline-stages li{padding:15px 10px 15px 0;border-bottom:1px solid var(--line)}.pipeline-stages li+li{padding-left:14px}.pipeline-stages li+li:before{display:none}.pipeline-stages li:nth-child(3){padding-left:0}.overview-empty-guide{display:grid}.overview-quick-actions{display:grid;grid-template-columns:1fr 1fr}.overview-quick-actions button{width:100%}}
.live-toggle input,.switch-control input{width:1px;height:1px;margin:0;padding:0;overflow:hidden}
.admin-body .dispatch-sidebar .dispatch-more,.mobile-more-panel{display:none}
.overview-work-metrics[hidden]{display:none!important}
@media(max-width:760px){
  .admin-body .dispatch-sidebar{height:calc(72px + env(safe-area-inset-bottom));padding-bottom:calc(7px + env(safe-area-inset-bottom))}
  .admin-body .dispatch-sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}
  .admin-body .dispatch-sidebar>nav>.dispatch-nav[data-view="products"],.admin-body .dispatch-sidebar>nav>.dispatch-nav[data-view="users"],.admin-body .dispatch-sidebar>nav>.dispatch-nav[data-view="codes"],.admin-body .dispatch-sidebar>nav>.dispatch-nav[data-view="system"]{display:none}
  .admin-body .dispatch-sidebar .dispatch-more{display:flex;min-height:58px}
  .admin-body .dispatch-main{padding-bottom:calc(112px + env(safe-area-inset-bottom));scroll-padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  .overview-funds{order:-1}
  .mobile-more-panel:not([hidden]){position:fixed;z-index:90;left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 42px rgba(17,35,63,.18)}
  .admin-body .mobile-more-panel .dispatch-nav{display:grid;grid-template-columns:38px 1fr;min-height:54px;padding:8px;text-align:left;color:var(--ink);background:#f4f7f9}
  .admin-body .mobile-more-panel .dispatch-nav>span{width:34px;height:34px;background:#fff;border:1px solid var(--line)}
  .admin-body .mobile-more-panel .dispatch-nav b{font-size:10px}.admin-body .mobile-more-panel .dispatch-nav small{display:block;font-size:7px}
  .admin-body .mobile-more-panel .dispatch-nav.active{background:var(--ink);color:#fff}.admin-body .mobile-more-panel .dispatch-nav.active small{color:#aebed2}
}

/* Keep the overview's grid layout from overriding the shared inactive-view rule. */
.admin-view.overview-board{display:none}
.admin-view.overview-board.active{display:grid}
@media(max-width:760px){
  .overview-work-metrics>div:nth-child(odd){padding-left:0;border-left:0}
  .overview-work-metrics>div:nth-child(n+3){border-top:1px solid var(--line)}
  .overview-work-metrics>div:last-child{grid-column:auto;padding-left:12px;border-left:1px solid var(--line)}
}

/* Overview layout: compact reading width, aligned columns, stable empty-state rhythm. */
@media(min-width:1181px){
  .dispatch-topbar,.admin-view{width:min(100%,1320px);margin-inline:auto}
  .overview-core{grid-template-columns:minmax(0,1fr) minmax(360px,400px);align-items:start}
}
.overview-workboard{display:block}
.overview-attention{display:block}
.overview-attention .clear-state.compact{height:auto;min-height:96px}
.overview-funds{height:auto}
.overview-clear-state{display:grid;grid-template-columns:42px minmax(220px,1fr) auto auto;align-items:center;gap:18px;min-height:112px;padding:20px 0 4px;border-top:1px solid var(--line)}
.overview-clear-state>i{width:38px;height:38px;border:2px solid var(--green);border-radius:50%;position:relative}
.overview-clear-state>i:after{content:"";position:absolute;width:14px;height:7px;border-left:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(-45deg);left:10px;top:11px}
.overview-clear-copy{display:grid;gap:5px}.overview-clear-copy b{font-size:13px}.overview-clear-copy span{color:var(--muted);font-size:10px;line-height:1.6}
.overview-clear-facts{display:grid;grid-template-columns:repeat(2,minmax(92px,1fr));margin:0}.overview-clear-facts>div{padding:0 18px;border-left:1px solid var(--line)}.overview-clear-facts dt{color:var(--muted);font-size:9px}.overview-clear-facts dd{margin:5px 0 0;font-size:11px;font-weight:800}.overview-clear-facts dd.live{color:var(--green)}.overview-clear-facts dd.warn{color:var(--red)}
.overview-clear-state>.text-action{white-space:nowrap}
@media(max-width:760px){
  .overview-clear-state{grid-template-columns:38px minmax(0,1fr);gap:14px;min-height:0;padding-top:18px}
  .overview-clear-facts{grid-column:1/-1;width:100%;padding-top:16px;border-top:1px solid var(--line)}
  .overview-clear-facts>div:first-child{padding-left:0;border-left:0}
  .overview-clear-state>.text-action{grid-column:2;justify-self:start}
}

/* Dashboard v2 — operational control matrix. */
.admin-view.overview-v2{display:none}
.admin-view.overview-v2.active{display:grid;gap:16px;animation:viewIn .36s var(--ease)}
.overview-v2-status{min-height:76px;grid-template-columns:minmax(300px,1fr) auto auto;padding:14px 18px}
.overview-v2-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,400px);gap:16px;align-items:stretch}
.overview-v2-ops,.overview-v2-funds,.overview-v2-pipeline,.overview-v2-activity{min-width:0;border-radius:14px}
.overview-v2-ops{display:flex;flex-direction:column;min-height:360px;padding:24px;background:#fff;border:1px solid var(--line)}
.overview-v2-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.overview-v2-head h2{margin:0;font:700 22px/1.1 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.02em}.overview-v2-head p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.overview-v2-head.inverse p{color:#9fb0c5}
.overview-v2 .overview-v2-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}.overview-v2 .overview-v2-metrics>div{padding:17px 16px 17px 0}.overview-v2 .overview-v2-metrics>div+div{padding-left:18px}.overview-v2 .overview-v2-metrics strong{font-size:31px}
.overview-v2-attention{flex:1;display:grid;align-items:stretch;margin-top:16px}.overview-v2-attention .overview-clear-state{height:100%;min-height:112px}
.overview-v2-funds{display:grid;grid-template-rows:auto auto 1fr auto;gap:18px;min-height:360px;padding:24px;background:var(--ink);color:#fff}
.overview-v2-balance{display:grid;gap:7px;padding:1px 0 18px;border-bottom:1px solid #2f4664}.overview-v2-balance>div{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.overview-v2-balance span{color:#9fb0c5;font-size:10px}.overview-v2-balance strong{font:700 38px/1 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.overview-v2-balance small{color:#9fb0c5;font-size:9px;line-height:1.55}
.overview-v2-ledger{display:grid;grid-template-columns:1fr 1fr;margin:0}.overview-v2-ledger>div{display:grid;align-content:center;gap:5px;min-height:64px;padding:12px 14px;border-bottom:1px solid #2f4664}.overview-v2-ledger>div:nth-child(odd){padding-left:0}.overview-v2-ledger>div:nth-child(even){border-left:1px solid #2f4664}.overview-v2-ledger dt{color:#9fb0c5;font-size:9px}.overview-v2-ledger dd{margin:0;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.overview-v2-funds-action{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 0 0;border-top:1px solid #2f4664;background:transparent;color:#9ec6ff;font-size:10px;font-weight:800;text-align:left}.overview-v2-funds-action:hover{color:#fff}.overview-v2-funds-action span{font-size:16px}
.overview-v2-pipeline,.overview-v2-activity{padding:22px 24px;background:#fff;border:1px solid var(--line)}
.overview-v2-pipeline .pipeline-stages{margin-top:18px}.overview-v2-pipeline .pipeline-stages li{padding-top:17px}
.overview-v2-activity .table-wrap{margin-top:16px}
@media(max-width:1300px){
  .overview-v2-grid{grid-template-columns:1fr}
  .overview-v2-ops,.overview-v2-funds{min-height:0}
}
@media(max-width:760px){
  .admin-view.overview-v2.active{gap:12px}
  .overview-v2-status{grid-template-columns:1fr;gap:14px;padding:16px}
  .overview-v2-status .overview-status-facts{grid-template-columns:1fr 1fr}
  .overview-v2-status>.line-button{width:100%}
  .overview-v2-ops,.overview-v2-funds,.overview-v2-pipeline,.overview-v2-activity{padding:18px 16px}
  .overview-v2-head{gap:14px}.overview-v2-head h2{font-size:19px}.overview-v2-head>.text-action{font-size:10px;text-align:right}
  .overview-v2 .overview-v2-metrics{grid-template-columns:1fr 1fr}
  .overview-v2 .overview-v2-metrics>div{padding:14px 12px 14px 0}
  .overview-v2 .overview-v2-metrics>div+div{padding-left:12px}
  .overview-v2 .overview-v2-metrics>div:nth-child(odd){padding-left:0;border-left:0}
  .overview-v2 .overview-v2-metrics>div:nth-child(n+3){border-top:1px solid var(--line)}
  .overview-v2-balance>div{display:grid}.overview-v2-balance strong{font-size:34px}
  .overview-v2-ledger>div{min-height:60px}
  .overview-v2-pipeline .pipeline-stages{grid-template-columns:1fr 1fr}
}

/* Dashboard v3 — full-width operational bands; no cross-panel height coupling. */
.admin-view.overview-v3{display:none}
.admin-view.overview-v3.active{display:grid;gap:16px;animation:viewIn .36s var(--ease)}
.overview-v3-status{min-height:76px;grid-template-columns:minmax(300px,1fr) auto auto;padding:14px 18px}
.overview-v3-ops,.overview-v3-funds,.overview-v3-pipeline,.overview-v3-activity{min-width:0;border-radius:14px}
.overview-v3-ops{padding:24px;background:#fff;border:1px solid var(--line)}
.overview-v3-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.overview-v3-head h2{margin:0;font:700 22px/1.1 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.02em}.overview-v3-head p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.6}
.overview-v3 .overview-v3-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:20px}.overview-v3 .overview-v3-metrics>div{padding:17px 16px 17px 0}.overview-v3 .overview-v3-metrics>div+div{padding-left:18px}.overview-v3 .overview-v3-metrics strong{font-size:31px}
.overview-v3-attention{display:block;margin-top:16px}.overview-v3-attention .overview-clear-state{height:auto;min-height:112px}
.overview-v3-funds{display:grid;grid-template-columns:minmax(250px,1.1fr) minmax(0,2fr) minmax(210px,.85fr);align-items:stretch;gap:24px;padding:22px 24px;background:var(--ink);color:#fff}
.overview-v3-funds-primary{display:grid;align-content:center;gap:5px}.overview-v3-funds-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:7px}.overview-v3-funds-title h2{margin:0;font:700 20px/1.1 Bahnschrift,"Microsoft YaHei",sans-serif}.overview-v3-funds-primary>span{color:#9fb0c5;font-size:9px}.overview-v3-funds-primary>strong{font:700 36px/1 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
.overview-v3-ledger{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;border-left:1px solid #2f4664}.overview-v3-ledger>div{display:grid;align-content:center;gap:6px;min-width:0;padding:10px 18px;border-right:1px solid #2f4664}.overview-v3-ledger dt{color:#9fb0c5;font-size:9px}.overview-v3-ledger dd{margin:0;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.overview-v3-funds-action{display:grid;align-content:center;gap:15px}.overview-v3-funds-action small{color:#9fb0c5;font-size:9px;line-height:1.55}.overview-v3-funds-action button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:11px 0 0;border-top:1px solid #2f4664;background:transparent;color:#9ec6ff;font-size:10px;font-weight:800;text-align:left}.overview-v3-funds-action button:hover{color:#fff}.overview-v3-funds-action button span{font-size:16px}
.overview-v3-pipeline,.overview-v3-activity{padding:22px 24px;background:#fff;border:1px solid var(--line)}
.overview-v3-pipeline .pipeline-stages{margin-top:18px}.overview-v3-pipeline .pipeline-stages li{padding-top:17px}.overview-v3-activity .table-wrap{margin-top:16px}

/* Order workbench — risk-first triage, compact ledger, durable action feedback. */
[hidden]{display:none!important}
.live-toggle input:focus-visible+span,.switch-control input:focus-visible+span{outline:3px solid #005bd7;outline-offset:3px}
.order-recovery{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:15px;border:1px solid #e2c49b;border-radius:10px;background:#fff9ef}.order-recovery>div{display:grid;gap:4px}.order-recovery strong{color:#6f4410;font-size:12px}.order-recovery span{color:#79664f;font-size:9px}.order-recovery button{flex:none}
.order-workbench{display:grid;gap:14px}.order-queues{display:grid;grid-template-columns:1.1fr 1.25fr repeat(3,1fr);overflow:hidden;border:1px solid #d5dee7;border-radius:14px;background:#fff}.order-queue{position:relative;min-width:0;min-height:106px;padding:18px 19px;border-right:1px solid #e0e6ec;background:#fff;text-align:left;color:var(--ink);transition:background .18s ease,color .18s ease}.order-queue:last-child{border-right:0}.order-queue span,.order-queue strong,.order-queue small{display:block}.order-queue span{color:#5c6d80;font-size:11px;font-weight:800}.order-queue strong{margin:5px 0 2px;font:700 27px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.order-queue small{color:#8290a0;font-size:9px;white-space:nowrap}.order-queue:hover{background:#f5f8fb}.order-queue.active{background:#112b4d;color:#fff}.order-queue.active span,.order-queue.active small{color:#b9cce2}.order-queue.active:after{content:"";position:absolute;inset:auto 18px 0;height:3px;background:#5c9eff}.order-queue.attention strong{color:#b23b36}.order-queue.attention.active{background:#8f302f}.order-queue.attention.active strong{color:#fff}.order-queue.attention.active:after{background:#ffbd78}.order-queue.done:not(.active) strong{color:#0b7a5b}.order-ledger{padding:0;overflow:hidden;border:1px solid #d5dee7;box-shadow:none}.order-ledger-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 24px 18px}.order-ledger-head h2{margin:0;font:700 20px Bahnschrift,"Microsoft YaHei",sans-serif}.order-ledger-head p{margin:5px 0 0;color:#66778a;font-size:11px}.order-ledger-state{display:flex;align-items:center;gap:16px;color:#6e7f91;font-size:10px}.order-toolbar{grid-template-columns:minmax(260px,1.5fr) minmax(140px,.55fr) minmax(180px,.7fr) auto auto;padding:16px 24px;background:#f7f9fb;border-top:1px solid #e0e6ec}.order-toolbar input,.order-toolbar select{min-height:44px;background:#fff;font-size:12px}.order-toolbar .signal-button,.order-toolbar .line-button{min-height:44px}.order-toolbar .signal-button{background:#12345c;box-shadow:none}.order-toolbar .signal-button:hover{background:#005bd7}.active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:42px;padding:8px 24px;border-bottom:1px solid #e0e6ec;color:#738397;font-size:10px}.active-filters b{padding:5px 8px;border-radius:6px;background:#e6eef8;color:#174f92;font-size:9px}.orders-table-wrap{position:relative}.orders-table{min-width:940px}.orders-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.orders-table th{padding:11px 14px;background:#fbfcfd;color:#5f7186;font-size:10px;letter-spacing:.03em;text-transform:none}.orders-table td{height:74px;padding:12px 14px;font-size:12px;vertical-align:middle}.orders-table tbody tr:last-child td{border-bottom:0}.orders-table tbody tr{cursor:default}.order-row-alert{background:#fff9f7}.order-row-alert:hover{background:#fff3ef!important}.order-identity{display:grid;gap:3px;padding:0;background:transparent;text-align:left}.order-identity:hover .order-code{color:#005bd7}.order-identity small{color:#7a899a}.order-status-cell{display:grid;justify-items:start;gap:6px;max-width:240px}.order-status-cell small{margin:0;line-height:1.4}.order-status-cell small.issue{color:#a63c3a}.order-age{display:block;color:#1c334e;font-size:12px;font-variant-numeric:tabular-nums}.orders-table .row-action{min-height:36px;padding:8px 11px;background:#e4edf8;color:#064f9f;font-size:10px}.orders-table .row-action:hover{background:#005bd7}.order-pagination{display:flex;align-items:center;justify-content:space-between;min-height:62px;padding:11px 24px;border-top:1px solid #e0e6ec;background:#fbfcfd;color:#65768a;font-size:10px}.order-pagination>div{display:flex;gap:8px}.order-pagination button{min-height:38px}.order-pagination button:disabled{cursor:not-allowed;opacity:.38;transform:none}.order-load-error{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 24px 0;padding:14px 16px;border:1px solid #e7bbb7;border-radius:10px;background:#fff5f4}.order-load-error div{display:grid;gap:3px}.order-load-error strong{font-size:12px}.order-load-error span{color:#8d5451;font-size:10px}.order-empty{display:grid;justify-items:center;gap:7px;min-height:210px;align-content:center;padding:28px;text-align:center}.order-empty strong{color:#1a314c;font-size:14px}.order-empty p{max-width:52ch;margin:0 0 8px;color:#6d7e91;font-size:11px}.loading-row td{height:74px}.loading-row span{display:block;width:100%;height:12px;border-radius:5px;background:linear-gradient(90deg,#edf1f4 20%,#f8fafb 50%,#edf1f4 80%);background-size:200% 100%;animation:orderLoading 1.1s linear infinite}.copy-code{display:grid;justify-items:end;gap:4px;max-width:220px;padding:7px;background:transparent;text-align:right}.copy-code code{max-width:100%;color:#65768a;font-size:8px;overflow-wrap:anywhere}.copy-code span{color:#005bd7;font-size:9px;font-weight:800}.detail-status p.issue{color:#a33b38}.order-next-action{display:grid;grid-template-columns:1fr auto}.order-next-action>div{display:grid;gap:4px}.order-next-action strong{font-size:12px}.order-next-action span{display:block}.order-action-result{display:grid;gap:3px;margin-top:14px;padding:13px 14px;border-radius:9px}.order-action-result strong{font-size:11px}.order-action-result span{font-size:9px}.order-action-result.pending{background:#eaf2fb;color:#174f92}.order-action-result.success{background:#e4f4ed;color:#087253}.order-action-result.error{background:#fae6e5;color:#9d3532}.order-closed{display:grid;gap:4px;margin-top:20px;padding:15px;border:1px solid #b9ddcf;border-radius:10px;background:#f3faf7}.order-closed strong{color:#087253;font-size:12px}.order-closed span{color:#55766c;font-size:9px}.drawer-navigation{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #e0e6ec}.drawer-navigation span{text-align:center;color:#78889a;font-size:9px}@keyframes orderLoading{to{background-position:-200% 0}}

@media(max-width:1100px){.order-queues{grid-template-columns:repeat(3,1fr)}.order-queue:nth-child(3){border-right:0}.order-queue:nth-child(n+4){border-top:1px solid #e0e6ec}.order-toolbar{grid-template-columns:1fr 1fr 1fr}.order-toolbar .search-control{grid-column:1/4}}
@media(max-width:760px){.dispatch-topbar{display:grid;grid-template-columns:1fr}.dispatch-topbar h1{white-space:nowrap}.dispatch-topbar .top-actions{width:100%;grid-template-columns:1fr 1fr}.order-workbench{gap:10px}.order-queues{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:11px}.order-queue{flex:0 0 164px;min-height:94px;padding:15px;border-top:0!important;scroll-snap-align:start}.order-ledger-head{display:grid;gap:10px;padding:18px}.order-ledger-state{justify-content:space-between}.order-ledger-state .text-action{min-height:44px}.order-toolbar{grid-template-columns:1fr 1fr;padding:14px 18px}.order-toolbar .search-control{grid-column:1/3}.order-toolbar .signal-button,.order-toolbar .line-button{min-height:44px}.active-filters{padding:8px 18px}.orders-table-wrap{overflow:visible}.orders-table{display:block;min-width:0}.orders-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.orders-table tbody{display:grid}.orders-table tr{display:grid;padding:15px 18px;border-bottom:1px solid #e0e6ec}.orders-table td{display:grid;grid-template-columns:105px 1fr;align-items:start;min-height:0;height:auto;padding:6px 0;border:0}.orders-table td:before{content:attr(data-label);color:#718196;font-size:9px;font-weight:800}.orders-table td[colspan]{display:block}.order-identity{justify-items:start}.order-status-cell{max-width:none}.orders-table .row-action{width:100%;min-height:44px}.order-empty{min-height:230px}.order-empty .line-button{min-height:44px}.loading-row{display:block!important}.loading-row td{display:block;height:74px}.loading-row td:before{display:none}.order-pagination{padding:12px 18px}.order-pagination button{min-height:44px}.order-load-error{align-items:flex-start;margin:14px 18px 0}.detail-status{display:grid}.copy-code{justify-items:start;max-width:none;padding:7px 0;text-align:left}.order-next-action{grid-template-columns:1fr}.order-next-action .signal-button{width:100%;min-height:46px}.drawer-navigation button{min-height:44px}}
@media(max-width:1120px){
  .overview-v3-funds{grid-template-columns:minmax(220px,.85fr) minmax(0,1.7fr)}
  .overview-v3-funds-action{grid-column:1/-1;grid-template-columns:1fr auto;align-items:center;padding-top:14px;border-top:1px solid #2f4664}
  .overview-v3-funds-action button{width:210px;padding-top:0;border-top:0}
}
@media(max-width:760px){
  .admin-view.overview-v3.active{gap:12px}
  .overview-v3-status{grid-template-columns:1fr;gap:14px;padding:16px}
  .overview-v3-status .overview-status-facts{grid-template-columns:1fr 1fr}
  .overview-v3-status>.line-button{width:100%}
  .overview-v3-ops,.overview-v3-funds,.overview-v3-pipeline,.overview-v3-activity{padding:18px 16px}
  .overview-v3-head{gap:14px}.overview-v3-head h2{font-size:19px}.overview-v3-head>.text-action{font-size:10px;text-align:right}
  .overview-v3 .overview-v3-metrics{grid-template-columns:1fr 1fr}
  .overview-v3 .overview-v3-metrics>div{padding:14px 12px 14px 0}
  .overview-v3 .overview-v3-metrics>div+div{padding-left:12px}
  .overview-v3 .overview-v3-metrics>div:nth-child(odd){padding-left:0;border-left:0}
  .overview-v3 .overview-v3-metrics>div:nth-child(n+3){border-top:1px solid var(--line)}
  .overview-v3-funds{grid-template-columns:1fr;gap:18px}
  .overview-v3-ledger{grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid #2f4664}
  .overview-v3-ledger>div{min-height:60px;padding:12px 0;border-right:0;border-bottom:1px solid #2f4664}
  .overview-v3-ledger>div:nth-child(even){padding-left:14px;border-left:1px solid #2f4664}
  .overview-v3-funds-action{grid-column:auto;grid-template-columns:1fr;padding-top:0;border-top:0}
  .overview-v3-funds-action button{width:100%;padding-top:11px;border-top:1px solid #2f4664}
  .overview-v3-pipeline .pipeline-stages{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){#view-orders .order-empty{grid-template-columns:1fr auto;align-content:start;align-items:center;justify-items:start;gap:10px;min-height:150px;padding:8px 18px 90px;text-align:left}#view-orders .order-empty p{display:none}#view-orders .order-empty .line-button{white-space:nowrap}.order-recovery{display:grid}.order-recovery button{width:100%;min-height:44px}}

.order-queue.active::after{content:none}

/* Sales code issuing desk — guarded plaintext handoff and responsive audit history. */
.codes-workbench{display:none}.codes-workbench.active{display:block}.codes-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:14px}.codes-heading h2{margin:0;font:700 25px/1.15 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.025em}.codes-heading p{max-width:720px;margin:7px 0 0;color:#53677e;font-size:11px;line-height:1.65}.codes-heading>strong{color:#52667c;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.code-stockbar{display:grid;grid-template-columns:minmax(180px,.55fr) minmax(360px,1.2fr) minmax(260px,.8fr);align-items:stretch;margin-bottom:14px;overflow:hidden;border-radius:14px;background:var(--ink);color:#fff}.code-stock-total{display:grid;grid-template-columns:auto auto;align-content:center;align-items:baseline;justify-content:start;gap:3px 10px;padding:20px 24px}.code-stock-total span{color:#b8c9dc;font-size:10px}.code-stock-total strong{font:700 30px/1 Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.code-stock-total small{grid-column:1/-1;color:#adc0d5;font-size:10px}.code-stock-total small.empty{color:#ffd4a8}.code-stock-total small.ready{color:#baf0dc}.code-stock-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border-left:1px solid #304966;border-right:1px solid #304966}.code-stock-plans>div{display:grid;align-content:center;gap:5px;min-width:0;padding:16px 20px}.code-stock-plans>div+div{border-left:1px solid #304966}.code-stock-plans dt{color:#9fb4cb;font-size:9px}.code-stock-plans dd{margin:0;font:700 22px/1 Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.code-stockbar>p{align-self:center;margin:0;padding:18px 22px;color:#b0c2d5;font-size:10px;line-height:1.55}.codes-layout{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(0,1.42fr);gap:14px;align-items:start}.codes-layout>*{min-width:0}.code-issue-panel,.codes-history-panel{padding:0;overflow:hidden;border:1px solid #d5dee7;box-shadow:none}.code-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 17px;border-bottom:1px solid #dce4eb}.code-panel-head h2{margin:0;font-size:18px;letter-spacing:-.015em}.code-panel-head p{margin:5px 0 0;color:#60748a;font-size:10px;line-height:1.55}.code-panel-head>.text-action{min-height:40px;padding-inline:10px}.code-panel-head>.text-action:disabled{cursor:not-allowed;opacity:.45}.code-issue-form{display:grid;gap:14px;padding:18px 22px}.code-issue-form .form-grid{gap:12px}.code-issue-form label{display:grid;gap:6px;min-width:0}.code-issue-form label>span{color:#40566f;font-size:10px;font-weight:800}.code-issue-form input,.code-issue-form select{min-width:0;min-height:46px;font-size:12px}.code-issue-form .signal-button{min-height:46px;background:#12345c;box-shadow:none}.code-issue-form .signal-button:hover{background:#005bd7}.code-result-panel{display:grid;gap:14px;padding:18px 22px 22px;border-top:1px solid #dce4eb;background:#f7f9fb}.code-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.code-result-head h3{margin:0;font-size:14px}.code-result-head h3:focus{outline:none}.code-result-head p{max-width:52ch;margin:5px 0 0;color:#5d7188;font-size:10px;line-height:1.55}.code-result-head>span{flex:none;padding:6px 8px;border-radius:6px;background:#e7edf2;color:#50647a;font-size:9px;font-weight:800}.code-result-head>span.saved{background:#ddf3ea;color:#087253}.code-result-panel.loading .code-result-head>span{background:#e2edfa;color:#1559ad}.code-result-panel.ready{background:#f3faf7}.code-result-panel.ready .code-result-head>span{background:#fff0d9;color:#85510c}.code-result-panel.error{background:#fff5f4}.code-result-panel.error .code-result-head>span{background:#fae1e2;color:#9b3339}.code-result-actions{display:flex;gap:9px}.code-result-actions button{min-height:42px}.code-result-actions button:disabled{cursor:not-allowed;opacity:.45;transform:none}.code-result{min-height:170px;max-height:330px;margin:0;overflow:auto;border-radius:10px;background:var(--ink);color:#dce8f6;padding:15px;font:10px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.codes-feedback{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 20px 0;padding:13px 14px;border:1px solid #e0aaa5;border-radius:10px;background:#fff3f2;color:#7f302e}.codes-feedback>div{display:grid;gap:3px}.codes-feedback strong{font-size:12px}.codes-feedback span{font-size:10px;line-height:1.5}.codes-table{min-width:720px}.codes-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.codes-table th{padding:11px 14px;background:#fbfcfd;color:#5f7186;font-size:10px;letter-spacing:.03em;text-transform:none}.codes-table td{height:65px;padding:12px 14px;font-size:11px;vertical-align:middle}.codes-table tbody tr:last-child td{border-bottom:0}.codes-table-wrap{outline-offset:-3px}.codes-loading td{height:210px}.codes-loading span{display:block;width:100%;height:12px;margin:12px 0;border-radius:5px;background:#e8edf1;animation:userSkeleton 1.2s ease-in-out infinite}.code-issue-dialog{width:min(470px,calc(100vw - 28px));border:0;border-radius:14px;background:#fff;box-shadow:0 24px 70px rgba(17,35,63,.24)}.code-issue-dialog-shell{padding:24px}.code-issue-dialog header{padding-bottom:18px;border-bottom:1px solid #dce4eb}.code-issue-dialog h2{margin:0;font-size:20px}.code-issue-dialog header p{margin:7px 0 0;color:#5d7188;font-size:11px;line-height:1.6}.code-issue-dialog dl{display:grid;grid-template-columns:1fr 1fr;margin:18px 0;border:1px solid #d8e1e9;border-radius:10px}.code-issue-dialog dl>div{padding:13px 15px}.code-issue-dialog dl>div+div{border-left:1px solid #d8e1e9}.code-issue-dialog dt{color:#61758b;font-size:9px}.code-issue-dialog dd{margin:5px 0 0;font-size:14px;font-weight:800}.code-issue-warning{margin:0;padding:13px 14px;border-radius:9px;background:#fff3e5;color:#75460e;font-size:10px;line-height:1.55}.code-issue-dialog footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.code-issue-dialog footer button{min-height:44px}.code-issue-dialog button:disabled{cursor:not-allowed;opacity:.5}
.code-result-actions .signal-button{background:#12345c;box-shadow:none}.code-result-actions .signal-button:hover{background:#005bd7}
@media(max-width:1380px){.codes-layout{grid-template-columns:1fr}.code-result{min-height:150px}.code-stockbar{grid-template-columns:minmax(170px,.5fr) minmax(340px,1fr)}.code-stockbar>p{grid-column:1/-1;padding:11px 22px;border-top:1px solid #304966}}
@media(max-width:760px){.codes-heading{align-items:flex-start;flex-direction:column;gap:7px}.codes-heading h2{font-size:21px}.codes-heading>strong{white-space:normal}.code-stockbar{grid-template-columns:1fr}.code-stock-total{padding:17px 18px}.code-stock-plans{grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #304966;border-right:0;border-left:0}.code-stock-plans>div{padding:14px 12px}.code-stockbar>p{grid-column:auto;padding:12px 18px}.codes-layout{grid-template-columns:minmax(0,1fr);gap:10px}.code-panel-head{padding:18px 16px}.code-panel-head>.text-action{min-width:44px;min-height:44px}.code-issue-form{padding:16px}.code-issue-form .form-grid{grid-template-columns:1fr}.code-issue-form .signal-button{min-height:48px}.code-result-panel{padding:17px 16px}.code-result-head{display:grid}.code-result-head>span{justify-self:start}.code-result-actions{display:grid;grid-template-columns:1fr}.code-result-actions button{width:100%;min-height:46px}.code-result{min-height:190px;font-size:11px}.codes-feedback{align-items:flex-start;flex-direction:column;margin-inline:16px}.codes-feedback button{width:100%;min-height:44px}.codes-table-wrap{overflow:visible}.codes-table,.codes-table tbody,.codes-table tr,.codes-table td{display:block;width:100%;min-width:0}.codes-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}.codes-table tbody{display:grid;gap:10px;padding:12px}.codes-table tr{padding:8px 13px;border:1px solid #d7e0e8;border-radius:10px;background:#fff}.codes-table td{display:grid;grid-template-columns:minmax(92px,.5fr) minmax(0,1fr);align-items:start;gap:12px;height:auto;padding:9px 0;border:0;border-bottom:1px solid #edf1f4}.codes-table td:before{content:attr(data-label);color:#60748a;font-size:10px;font-weight:750}.codes-table td:last-child{border-bottom:0}.codes-table td[colspan]{display:block}.codes-table td[colspan]:before{display:none}.codes-loading{display:block!important}.codes-loading td{height:190px}.code-issue-dialog-shell{padding:20px}.code-issue-dialog footer{display:grid;grid-template-columns:1fr}.code-issue-dialog footer button{width:100%;min-height:46px}}

/* Product publishing desk — one focused edit, live preview, durable revision history. */
.product-catalog-head{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:16px}.product-catalog-head h2{margin:0;font:700 25px/1.15 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.025em}.product-catalog-head p{max-width:760px;margin:8px 0 0;color:#52667d;font-size:11px;line-height:1.7}.product-catalog-facts{display:grid;grid-template-columns:repeat(3,minmax(80px,1fr));margin:0;border:1px solid #d5dee7;border-radius:12px;background:#fff;overflow:hidden}.product-catalog-facts>div{min-width:90px;padding:11px 14px}.product-catalog-facts>div+div{border-left:1px solid #e0e6ec}.product-catalog-facts dt{color:#65788e;font-size:9px}.product-catalog-facts dd{margin:3px 0 0;font:700 18px Bahnschrift,"Microsoft YaHei",sans-serif}.product-catalog-facts dd.warn{color:#9b4e00}.product-load-error{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px;padding:14px 16px;border:1px solid #e4b4af;border-radius:12px;background:#fff5f4}.product-load-error>div{display:grid;gap:3px}.product-load-error strong{font-size:12px}.product-load-error span{color:#804f4c;font-size:10px}.product-studio{display:grid;grid-template-columns:minmax(190px,.52fr) minmax(420px,1.3fr) minmax(270px,.75fr);align-items:start;border:1px solid #d5dee7;border-radius:14px;background:#fff;overflow:hidden}.product-index{min-height:620px;background:#f4f7f9;border-right:1px solid #dbe3ea}.product-index-loading,.product-index-empty{display:grid;gap:5px;padding:24px;color:#61758b;font-size:10px}.product-index-empty strong{color:#1b334f;font-size:12px}.product-index-item{position:relative;width:100%;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 17px;border-bottom:1px solid #dbe3ea;background:transparent;color:#18314d;text-align:left;transition:background .18s ease,color .18s ease}.product-index-item:hover{background:#fff}.product-index-item.active{background:#112b4d;color:#fff}.product-index-item>span{min-width:0;display:grid;gap:3px}.product-index-item b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.product-index-item small{color:#71849a;font:700 8px Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:.08em}.product-index-item.active small{color:#a9bed6}.product-index-item em{flex:none;padding:5px 7px;border-radius:6px;background:#e2eee9;color:#14694f;font-size:8px;font-style:normal;font-weight:850}.product-index-item.active em{background:rgba(255,255,255,.12);color:#dce9f7}.product-index-item.dirty em{background:#fff0d9;color:#86510d}.product-index-item.dirty:before{content:"";position:absolute;left:7px;top:50%;width:5px;height:5px;border-radius:50%;background:#d76b1f;transform:translateY(-50%)}.product-editor-panel{min-width:0;min-height:620px;background:#fff}.product-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:23px 25px 19px;border-bottom:1px solid #e0e6ec}.product-editor-head>div:first-child{min-width:0}.product-editor-head span{display:block;color:#5e7690;font:700 9px Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:.08em}.product-editor-head h3{overflow-wrap:anywhere;margin:5px 0 0;font-size:22px;line-height:1.2;letter-spacing:-.02em}.product-editor-meta{display:grid;justify-items:end;gap:5px;flex:none}.product-editor-meta strong{padding:6px 8px;border-radius:6px;background:#e4f3ed;color:#0b7054;font-size:9px}.product-editor-meta strong.dirty{background:#fff0d9;color:#89520b}.product-editor-meta strong.hidden-state{background:#edf1f4;color:#53667b}.product-editor-meta span{color:#687b90;font-size:8px;letter-spacing:0}.product-editor-panel form{padding:20px 25px 0}.product-mode-field{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 19px;padding:0;border:0}.product-mode-field legend{width:100%;margin-bottom:8px;color:#52667d;font-size:10px;font-weight:850}.product-mode-field label{position:relative;cursor:pointer}.product-mode-field input{position:absolute;width:1px;height:1px;opacity:0}.product-mode-field label>span{min-height:66px;display:grid;align-content:center;gap:3px;padding:12px 13px;border:1px solid #cbd6df;border-radius:10px;background:#fff;transition:border-color .18s,background .18s,box-shadow .18s}.product-mode-field b{font-size:11px}.product-mode-field small{color:#65788e;font-size:8px;line-height:1.45}.product-mode-field input:checked+span{border-color:#175ea8;background:#eef5fc;box-shadow:inset 0 0 0 1px #175ea8}.product-mode-field input:focus-visible+span{outline:3px solid rgba(0,91,215,.34);outline-offset:2px}.product-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 13px}.product-field{min-width:0;display:grid;align-content:start;gap:7px}.product-field.full{grid-column:1/-1}.product-field>span{display:flex;justify-content:space-between;gap:12px;color:#435870;font-size:10px;font-weight:850}.product-field>span small{color:#71849a;font-size:8px;font-weight:650}.product-field>small{color:#5f738a;font-size:8px;line-height:1.55}.product-field input,.product-field textarea{font-size:12px}.product-form-error{display:grid;gap:4px;margin-top:16px;padding:13px 14px;border:1px solid #e1aaa5;border-radius:9px;background:#fff3f2;color:#8d302d;font-size:10px}.product-form-error strong,.product-form-error span{display:block}.product-form-error button{justify-self:start;margin-top:5px}.product-publish-bar{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:10px;margin:20px -25px 0;padding:14px 25px;border-top:1px solid #dce4eb;background:#f7f9fb}.product-publish-bar>div{display:grid;gap:2px}.product-publish-bar strong{font-size:10px}.product-publish-bar span{color:#65788e;font-size:8px}.product-publish-bar button{min-height:44px}.product-save-button{min-height:44px;padding:10px 16px;border-radius:9px;background:#123a67;color:#fff;font-size:11px;font-weight:850;transition:background .18s,transform .18s}.product-save-button:hover{background:#0057bd;transform:translateY(-1px)}.product-save-button:disabled{cursor:not-allowed;opacity:.42;transform:none}.product-preview-panel{min-height:620px;padding:23px;background:#11233f;color:#fff}.product-preview-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.product-preview-panel h3{margin:0;font-size:15px}.product-preview-panel>header p{margin:4px 0 0;color:#9fb1c7;font-size:8px}.product-preview-panel>header>span{padding:5px 7px;border-radius:6px;background:#264466;color:#dceafa;font-size:8px;font-weight:850}.product-live-preview{min-height:240px;display:flex;flex-direction:column;margin-top:20px;padding:20px;border:1px solid #425a77;border-radius:12px;background:#fff;color:#142b46;transition:opacity .18s,transform .18s}.product-live-preview.is-hidden{opacity:.56}.product-live-preview>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.product-live-preview>div span{color:#1559aa;font-size:8px;font-weight:850}.product-live-preview>div strong{color:#6d7e90;font:700 9px Bahnschrift,sans-serif}.product-live-preview h4{overflow-wrap:anywhere;margin:23px 0 7px;font:700 31px/1 Bahnschrift,"Microsoft YaHei",sans-serif;letter-spacing:-.025em}.product-live-preview p{margin:0;color:#5e7084;font-size:10px;line-height:1.65}.product-live-preview footer{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:22px}.product-live-preview footer span{color:#14365b;font-size:11px;font-weight:850}.product-live-preview footer em{padding:5px 7px;border-radius:6px;background:#e4f3ed;color:#0b7054;font-size:8px;font-style:normal;font-weight:850}.product-live-preview footer em.hidden-state{background:#edf1f4;color:#5b6b7e}.product-channel-note{margin-top:12px;padding:13px 0;border-top:1px solid #344a66;border-bottom:1px solid #344a66}.product-channel-note strong{font-size:9px}.product-channel-note p{margin:4px 0 0;color:#9fb1c7;font-size:8px;line-height:1.6}.product-history{margin-top:18px}.product-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-history>header h3{font-size:12px}.product-history .text-action{color:#9fc7ff;font-size:9px}.product-history ol{list-style:none;margin:9px 0 0;padding:0}.product-history li{display:grid;grid-template-columns:1fr auto;gap:10px;padding:11px 0;border-top:1px solid #2b4260}.product-history li>div{min-width:0;display:grid;gap:3px}.product-history li strong{font-size:9px}.product-history li span{overflow:hidden;color:#a9b8cb;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.product-history li small{color:#8296ad;font-size:7px;text-align:right}.product-history li.empty{display:block;color:#9fb1c7;font-size:8px}.product-history li.error{color:#ffc4c0}
@media(max-width:1280px){.product-studio{grid-template-columns:190px minmax(0,1fr)}.product-preview-panel{grid-column:1/-1;min-height:0;display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.1fr);gap:0 28px}.product-preview-panel>header,.product-live-preview,.product-channel-note{grid-column:1}.product-history{grid-column:2;grid-row:1/4;margin-top:0}.product-live-preview{min-height:210px}}
@media(max-width:760px){.product-catalog-head{display:grid;align-items:start;gap:13px;margin-bottom:12px}.product-catalog-head h2{font-size:21px}.product-catalog-head p{font-size:10px}.product-catalog-facts{width:100%}.product-catalog-facts>div{min-width:0;padding:10px 11px}.product-studio{display:block;border-radius:12px}.product-index{min-height:0;display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid #dbe3ea;scroll-snap-type:x mandatory}.product-index-item{flex:0 0 176px;min-height:72px;border-right:1px solid #dbe3ea;border-bottom:0;padding:13px 14px;scroll-snap-align:start}.product-editor-panel{min-height:0}.product-editor-head{padding:18px}.product-editor-head h3{font-size:19px}.product-editor-panel form{padding:17px 18px 0}.product-mode-field{grid-template-columns:1fr}.product-mode-field label>span{min-height:68px}.product-form-grid{grid-template-columns:1fr}.product-field.full{grid-column:auto}.product-field input,.product-field textarea{font-size:16px}.product-publish-bar{position:sticky;z-index:20;bottom:calc(72px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;margin:18px -18px 0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -10px 28px rgba(17,35,63,.09)}.product-publish-bar>div{grid-column:1/-1}.product-publish-bar button{width:100%;min-height:46px}.product-preview-panel{min-height:0;display:block;padding:20px}.product-history{margin-top:18px}.product-live-preview{min-height:220px}.product-load-error{align-items:flex-start}.product-load-error button{min-height:44px;flex:none}.admin-body #mobileMoreButton.active{background:#11233f;color:#fff}}

@media(max-width:760px){#view-supply,.capacity-panel,.capacity-panel .table-wrap{min-width:0;max-width:100%;overflow:visible}.capacity-table{display:block!important;width:100%!important;min-width:0!important}.capacity-table thead{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important}.capacity-table tbody{display:grid!important;width:100%!important;gap:10px;padding:12px}.capacity-table tr{display:block!important;width:auto!important;min-width:0!important;padding:8px 13px;border:1px solid #d7e0e8;border-radius:10px;background:#fff}.capacity-table td{display:grid!important;width:auto!important;grid-template-columns:minmax(108px,.7fr) minmax(0,1fr);align-items:start;gap:12px;padding:8px 0!important;border:0!important;border-bottom:1px solid #edf1f4!important;white-space:normal!important}.capacity-table td:last-child{border-bottom:0!important}.capacity-table td:before{color:#60748a;font-size:11px;font-weight:750}.capacity-table td:nth-child(1):before{content:"套餐"}.capacity-table td:nth-child(2):before{content:"卡内资金占比"}.capacity-table td:nth-child(3):before{content:"保守单位成本"}.capacity-table td:nth-child(4):before{content:"含缓冲成本"}.capacity-table td:nth-child(5):before{content:"可售数量"}.capacity-table td:nth-child(6):before{content:"状态"}}

.supply-publish-bar{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.supply-publish-bar>div{grid-column:1/-1}.supply-publish-bar button{width:100%}

/* Compact capacity strategy — operational summary first, advanced rules on demand. */
.supply-grid{align-items:start}.capacity-panel{align-self:start}.supply-settings-panel>.panel-head{padding-bottom:14px}.supply-strategy-overview{display:grid;gap:15px;padding:16px 20px;border-top:1px solid #e0e6ec;border-bottom:1px solid #e0e6ec;background:#f6f8fa}.supply-strategy-copy{display:grid;gap:4px}.supply-strategy-copy>span{color:#60748a;font-size:10px;font-weight:750}.supply-strategy-copy>strong{font-size:21px;line-height:1.2;letter-spacing:-.02em}.supply-strategy-copy>p{margin:0;color:#586e86;font-size:11px;line-height:1.55}.supply-strategy-overview dl{display:grid;grid-template-columns:1fr 1fr;margin:0}.supply-strategy-overview dl>div{min-width:0;padding-right:14px}.supply-strategy-overview dl>div+div{padding-left:14px;padding-right:0;border-left:1px solid #d7e0e8}.supply-strategy-overview dt{color:#65788e;font-size:10px}.supply-strategy-overview dd{margin:5px 0 0;font:700 16px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.supply-settings-panel>.supply-allocation-summary{margin:14px 20px 10px}.supply-strategy-actions{padding:0 20px 14px}.supply-strategy-actions button{width:100%;min-height:42px}.supply-advanced-rules{border-top:1px solid #dce4eb}.supply-advanced-rules>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 20px;cursor:pointer;list-style:none;color:#18314d}.supply-advanced-rules>summary::-webkit-details-marker{display:none}.supply-advanced-rules>summary>span{display:grid;gap:3px}.supply-advanced-rules>summary strong{font-size:12px}.supply-advanced-rules>summary small{color:#62768c;font-size:10px}.supply-advanced-rules>summary>i{width:9px;height:9px;flex:none;border-right:2px solid #49617a;border-bottom:2px solid #49617a;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}.supply-advanced-rules[open]>summary>i{transform:rotate(225deg) translate(-2px,-2px)}.supply-advanced-rules[open]>summary{background:#f8fafb}.supply-advanced-rules form{padding:16px 20px 20px;border-top:1px solid #e4e9ee}.supply-reserve-field{display:grid;gap:6px}.supply-reserve-field>span{color:#40566f;font-size:12px;font-weight:750}.supply-reserve-field>small{color:#60748a;font-size:10px;line-height:1.5}.supply-advanced-rules .supply-publish-bar{margin:2px -20px -20px}.supply-advanced-rules summary:focus-visible{outline:3px solid rgba(0,91,215,.24);outline-offset:-3px}.supply-settings-panel:has(.supply-advanced-rules[open]){grid-column:auto}
@media(max-width:760px){.supply-strategy-overview{padding:15px 16px}.supply-settings-panel>.supply-allocation-summary{margin-inline:16px}.supply-strategy-actions{padding-inline:16px}.supply-advanced-rules>summary{padding-inline:16px}.supply-advanced-rules form{padding-inline:16px}.supply-advanced-rules .supply-publish-bar{margin-inline:-16px}.supply-strategy-overview dd{font-size:15px}}
.supply-strategy-actions button{min-height:44px}

/* Finance reconciliation workbench */
.finance-workbench{color:var(--ink)}
.finance-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:14px 0 20px}
.finance-heading h2{margin:0;font:700 30px Bahnschrift,"DIN Alternate","Microsoft YaHei",sans-serif;letter-spacing:-.025em}
.finance-heading p{max-width:680px;margin:7px 0 0;color:#60748a;font-size:11px;line-height:1.6}
.finance-sync-actions{display:flex;align-items:center;gap:12px;flex:none}
.finance-sync-actions>span{color:#60748a;font-size:10px;font-variant-numeric:tabular-nums}
.finance-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px;background:#fff;border-radius:14px;overflow:hidden}
.finance-facts>div{min-width:0;padding:20px 22px;border-right:1px solid var(--line)}
.finance-facts>div:last-child{border-right:0}
.finance-facts span,.finance-facts strong,.finance-facts small{display:block}
.finance-facts span{color:#60748a;font-size:9px;font-weight:800}
.finance-facts strong{margin:5px 0 2px;font:700 26px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}
.finance-facts small{color:#8291a2;font-size:8px}
.finance-facts .finance-fact-attention strong{color:#a33b32}
.finance-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px;background:#dfe6ec;border-radius:12px;overflow:hidden}
.finance-tabs button{min-height:66px;padding:12px 16px;text-align:left;background:transparent;color:#5a6e84}
.finance-tabs button+button{border-left:1px solid #cad4dd}
.finance-tabs button span,.finance-tabs button small{display:block}
.finance-tabs button span{font-size:11px;font-weight:800}
.finance-tabs button small{margin-top:3px;color:#78899a;font-size:8px}
.finance-tabs button:hover{background:#edf2f5;color:var(--ink)}
.finance-tabs button.active{background:#fff;color:var(--ink);box-shadow:inset 0 3px var(--blue)}
.finance-tabs button.active small{color:#5d7289}
.finance-tabs button:focus-visible{outline:3px solid rgba(0,91,215,.26);outline-offset:-3px}
.finance-feedback{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:14px 16px;background:#fff0ef;color:#8f2f31;border-radius:12px}
.finance-feedback strong,.finance-feedback span{display:block}
.finance-feedback strong{font-size:11px}.finance-feedback span{margin-top:2px;font-size:9px}
.finance-ledger{overflow:hidden;background:#fff;border-radius:14px}
.finance-ledger>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--line)}
.finance-ledger h3{margin:0;font-size:18px}.finance-ledger p{margin:4px 0 0;color:#65788e;font-size:9px}
.finance-filter{width:min(330px,38vw)}.finance-filter input{width:100%;min-height:40px;font-size:10px}
.finance-table{min-width:860px}.finance-table th{white-space:nowrap}.finance-table td{font-variant-numeric:tabular-nums;vertical-align:top}
.finance-table td code{color:#28405b;font-size:9px}.finance-table td strong{color:var(--ink);font-size:10px}
.finance-table .finance-amount{font:700 11px Bahnschrift,"Microsoft YaHei",sans-serif;color:#18314d;white-space:nowrap}
.finance-table .finance-amount.negative{color:#a33b32}.finance-table .finance-amount.positive{color:#087253}
.finance-state{display:inline-flex;padding:5px 8px;border-radius:6px;background:#e9eef2;color:#53677d;font-size:8px;font-weight:800}
.finance-state.matched{background:#dcf3ea;color:#087253}.finance-state.missing_card_transaction,.finance-state.unexpected{background:#fff0d8;color:#8b5a00}.finance-state.provider_failed{background:#fae1e2;color:#a72e35}.finance-state.processing{background:#deebff;color:#1559ad}
.finance-safety-note{margin:12px 2px 0;color:#64788e;font-size:9px;line-height:1.6}
.finance-workbench ::selection{background:#bcd7ff;color:#0d2746}

@media(max-width:1100px){
  .finance-facts{grid-template-columns:1fr 1fr}.finance-facts>div:nth-child(2){border-right:0}.finance-facts>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .finance-tabs{grid-template-columns:1fr 1fr}.finance-tabs button:nth-child(3){border-left:0;border-top:1px solid #cad4dd}.finance-tabs button:nth-child(4){border-top:1px solid #cad4dd}
  .finance-tabs button.active{box-shadow:inset 0 3px var(--blue)}
}
@media(max-width:760px){
  .admin-body .dispatch-sidebar>nav>.dispatch-nav[data-view="finance"],.admin-body .dispatch-sidebar>nav>.dispatch-nav[data-view="payments"]{display:none}
  .finance-heading{display:grid;gap:14px;align-items:start}.finance-heading h2{font-size:25px}.finance-sync-actions{display:grid;grid-template-columns:1fr auto}.finance-sync-actions .signal-button{min-height:44px}
  .finance-facts{grid-template-columns:1fr 1fr}.finance-facts>div{padding:16px}.finance-facts strong{font-size:21px}
  .finance-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.finance-tabs button{flex:0 0 190px;min-height:70px;scroll-snap-align:start}.finance-tabs button:nth-child(n){border-top:0}.finance-tabs button+button{border-left:1px solid #cad4dd}.finance-tabs button.active{box-shadow:inset 0 3px var(--blue)}
  .finance-ledger>header{display:grid;gap:12px;padding:16px}.finance-filter{width:100%}.finance-filter input{min-height:44px}
  .finance-table-wrap{overflow:visible}.finance-table{display:block;min-width:0}.finance-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.finance-table tbody{display:grid}.finance-table tr{display:grid;padding:14px 16px;border-bottom:1px solid var(--line)}.finance-table td{display:grid;grid-template-columns:108px minmax(0,1fr);gap:8px;min-height:0;padding:6px 0;border:0}.finance-table td:before{content:attr(data-label);color:#718196;font-size:9px;font-weight:800}.finance-table td[colspan]{display:block}.finance-table td[colspan]:before{display:none}
}

/* Capacity row alignment and shared full-width advanced workspace. */
.supply-grid{align-items:stretch}.supply-grid>.capacity-panel,.supply-grid>.supply-settings-panel{height:100%;align-self:stretch}.supply-settings-panel{display:flex;flex-direction:column}.supply-advanced-trigger{width:100%;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding:15px 20px;border:0;border-top:1px solid #dce4eb;background:#fff;color:#18314d;text-align:left;cursor:pointer}.supply-advanced-trigger>span{display:grid;gap:3px}.supply-advanced-trigger strong{font-size:12px}.supply-advanced-trigger small{color:#62768c;font-size:10px}.supply-advanced-trigger>i{width:9px;height:9px;flex:none;border-right:2px solid #49617a;border-bottom:2px solid #49617a;transform:rotate(45deg) translateY(-2px);transition:transform .18s ease}.supply-advanced-trigger.active{background:#f6f8fa}.supply-advanced-trigger.active>i{transform:rotate(225deg) translate(-2px,-2px)}.supply-advanced-trigger:hover{background:#f8fafb}.supply-advanced-trigger:focus-visible{outline:3px solid rgba(0,91,215,.24);outline-offset:-3px}.supply-advanced-panel{grid-column:1/-1;min-width:0;overflow:hidden}.supply-advanced-panel>.panel-head{align-items:center}.supply-advanced-panel>.panel-head button{min-height:36px}.supply-advanced-panel form{display:grid;gap:16px;padding:20px}.supply-advanced-panel .supply-reserve-field{max-width:380px}.supply-advanced-panel .supply-rule-list{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}.supply-advanced-panel .supply-rule{height:100%;align-content:start}.supply-advanced-panel .supply-publish-bar{margin:4px -20px -20px}.supply-advanced-panel[hidden]{display:none}
@media(max-width:980px){.supply-advanced-panel .supply-rule-list{grid-template-columns:1fr}}
@media(max-width:760px){.supply-advanced-trigger{min-height:68px;padding-inline:16px}.supply-advanced-panel>.panel-head{align-items:flex-start}.supply-advanced-panel>.panel-head button{min-height:44px}.supply-advanced-panel form{padding-inline:16px}.supply-advanced-panel .supply-publish-bar{margin-inline:-16px}}

/* Buyer risk desk — evidence-first queues, searchable accounts, resilient states */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.users-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:14px}.users-heading h2{margin:0;color:var(--ink);font-size:24px;letter-spacing:-.02em}.users-heading p{max-width:70ch;margin:7px 0 0;color:#5f7288;font-size:12px;line-height:1.6}.users-heading>strong{color:#41566e;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.user-queues{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:14px;overflow:hidden;border:1px solid #d7e0e7;border-radius:12px;background:#fff}.user-queues button{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-right:1px solid #e1e7ec;border-radius:0;background:#fff;color:#52667c;text-align:left}.user-queues button:last-child{border-right:0}.user-queues button:hover{background:#f5f8fa;color:var(--ink)}.user-queues button.active{background:var(--ink);color:#fff}.user-queues span{font-size:11px;font-weight:750}.user-queues strong{font:700 20px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}.user-queues button:focus-visible{position:relative;z-index:1}
.users-panel{padding:0;overflow:hidden}.users-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;border-bottom:1px solid #dce4eb}.users-toolbar>div{min-width:150px}.users-toolbar h3{margin:0;color:var(--ink);font-size:17px}.users-toolbar>div>span{display:block;margin-top:5px;color:#64788e;font-size:11px;font-variant-numeric:tabular-nums}.user-filters{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.user-filters label{min-width:0}.user-filters input,.user-filters select,.users-pagination select{min-height:42px;border-color:#cfd9e2;background:#fff;color:#23374e}.user-search input{width:min(320px,26vw)}.user-filters select{min-width:116px}.user-filters .line-button{min-height:42px}.user-filters .text-action{min-height:42px;padding-inline:8px}
.users-feedback{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:14px 22px 0;padding:13px 14px;border:1px solid #e0aaa5;border-radius:10px;background:#fff3f2;color:#7f302e}.users-feedback>div{display:grid;gap:3px}.users-feedback strong{font-size:12px}.users-feedback span{font-size:11px;line-height:1.5}.users-table-wrap{outline-offset:-3px}.users-table{min-width:880px;table-layout:fixed}.users-table th:nth-child(1){width:20%}.users-table th:nth-child(2){width:21%}.users-table th:nth-child(3){width:9%}.users-table th:nth-child(4){width:15%}.users-table th:nth-child(5){width:16%}.users-table th:nth-child(6){width:7%}.users-table th:nth-child(7){width:12%}.users-table th{padding-block:12px;font-size:11px}.users-table td{vertical-align:top;padding-block:15px;font-size:12px;line-height:1.45}.users-table tbody tr.needs-review{background:#fffaf3}.users-table tbody tr.needs-review:hover{background:#fff6e8}.user-email{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:12px}.user-risk-list{display:grid;gap:5px;min-width:0}.user-risk{display:flex;align-items:flex-start;gap:7px;color:#54697f;font-size:11px;line-height:1.4}.user-risk i{flex:0 0 7px;width:7px;height:7px;margin-top:4px;border:2px solid currentColor;border-radius:50%}.user-risk.review{color:#8a5410;font-weight:700}.user-risk.normal{color:#39705e}.ip-address{font-size:11px;overflow-wrap:anywhere}.user-ip-link{display:block;min-height:28px;margin-top:5px;padding:0;background:transparent;color:#075fc7;font-size:10px;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}.user-ip-link:hover{color:#003f8f}.user-order-count{color:var(--ink);font-size:13px;font-variant-numeric:tabular-nums}.user-skeleton td{padding:16px 12px}.user-skeleton span{display:block;height:17px;border-radius:5px;background:#e8edf1;animation:userSkeleton 1.2s ease-in-out infinite}.user-empty{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.user-empty strong{color:var(--ink);font-size:15px}.user-empty span{max-width:50ch;margin:7px 0 16px;color:#62768c;font-size:12px;line-height:1.6}.users-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 22px;border-top:1px solid #dce4eb;background:#f7f9fa;color:#5a6f86;font-size:11px}.users-pagination>div{display:flex;align-items:center;gap:8px}.users-pagination select{min-height:36px;padding-block:7px}.users-pagination button{min-height:38px}.users-pagination button:disabled{opacity:.45;cursor:not-allowed}
.product-availability-field{display:grid;gap:8px;margin:0 0 19px;padding:14px;border:1px solid #d8e1e9;border-radius:11px;background:#f7f9fb}.product-availability-field legend{padding:0 5px;color:#52667d;font-size:10px;font-weight:850}.product-availability-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.product-availability-options label{position:relative;cursor:pointer}.product-availability-options input{position:absolute;width:1px;height:1px;opacity:0}.product-availability-options label>span{min-height:58px;display:grid;align-content:center;gap:3px;padding:10px 12px;border:1px solid #cbd6df;border-radius:9px;background:#fff;transition:border-color .18s,background .18s,box-shadow .18s}.product-availability-options b{font-size:11px}.product-availability-options small{color:#65788e;font-size:8px;line-height:1.45}.product-availability-options input[value="on_sale"]:checked+span{border-color:#147253;background:#edf8f4;box-shadow:inset 0 0 0 1px #147253}.product-availability-options input[value="sold_out"]:checked+span{border-color:#9b4e00;background:#fff5e8;box-shadow:inset 0 0 0 1px #9b4e00}.product-availability-options input:focus-visible+span{outline:3px solid rgba(0,91,215,.34);outline-offset:2px}.product-availability-field>p{margin:0;color:#5f738a;font-size:8px;line-height:1.6}.product-editor-meta strong.sold-out-state,.product-live-preview footer em.sold-out-state{background:#fff0d9;color:#89520b}

/* Product workbench refresh: compact switching, grouped editing, on-demand preview. */
#view-products{--product-line:#d8e1e9;--product-soft:#f5f8fa;--product-accent:#075fc7;--product-ink:#132d4a}
#view-products .product-catalog-head{align-items:center;margin-bottom:14px}
#view-products .product-catalog-head p{max-width:68ch;font-size:11px;line-height:1.55}
#view-products .product-catalog-facts{border-radius:10px;box-shadow:0 4px 16px rgba(20,46,75,.04)}
#view-products .product-catalog-facts>div{padding:10px 14px}
#view-products .product-studio{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,320px);gap:14px;align-items:start;overflow:visible;border:0;border-radius:0;background:transparent}
#view-products .product-index{grid-column:1/-1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;border:0;background:transparent}
#view-products .product-index-loading,#view-products .product-index-empty{grid-column:1/-1;min-height:72px;align-content:center;padding:16px 18px;border:1px solid var(--product-line);border-radius:11px;background:#fff}
#view-products .product-index-item{min-height:70px;padding:13px 15px;border:1px solid var(--product-line);border-radius:11px;background:#fff;color:var(--product-ink);box-shadow:0 3px 12px rgba(20,46,75,.03);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
#view-products .product-index-item:hover{border-color:#9eb4c9;background:#fff;transform:translateY(-1px)}
#view-products .product-index-item.active{border-color:var(--product-accent);background:#f5f9ff;color:var(--product-ink);box-shadow:inset 0 3px 0 var(--product-accent),0 5px 18px rgba(7,95,199,.08)}
#view-products .product-index-item>span{gap:4px}
#view-products .product-index-item b{font-size:13px}
#view-products .product-index-item small,#view-products .product-index-item.active small{color:#687d93;font-size:8px}
#view-products .product-index-item .product-index-meta{flex:none;justify-items:end;gap:5px}
#view-products .product-index-item .product-index-meta strong{color:#29425e;font:700 11px Bahnschrift,"Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums}
#view-products .product-index-item em,#view-products .product-index-item.active em{background:#e3f2ec;color:#116a4f}
#view-products .product-index-item.dirty:before{left:8px;top:8px;transform:none}
#view-products .product-editor-panel,#view-products .product-preview-panel{min-height:0;border:1px solid var(--product-line);border-radius:12px;background:#fff;box-shadow:0 8px 28px rgba(20,46,75,.05)}
#view-products .product-editor-panel{overflow:clip}
#view-products .product-editor-head{align-items:center;padding:17px 20px;border-bottom:1px solid #e2e8ee;background:#fbfcfd}
#view-products .product-editor-head h3{margin-top:4px;font-size:19px}
#view-products .product-editor-meta strong{border-radius:5px}
#view-products .product-editor-panel form{display:grid;gap:14px;padding:16px 20px 0}
#view-products .product-editor-group{border:1px solid var(--product-line);border-radius:10px;background:#fff;overflow:hidden}
#view-products .product-editor-group>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid #e4e9ee;background:var(--product-soft)}
#view-products .product-editor-group>header h4{margin:0;color:var(--product-ink);font-size:13px}
#view-products .product-editor-group>header p{margin:3px 0 0;color:#62768c;font-size:9px;line-height:1.5}
#view-products .product-sales-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.65fr);gap:15px;padding:15px}
#view-products .product-mode-field{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
#view-products .product-mode-field legend,#view-products .product-availability-field legend{margin-bottom:7px;color:#41566f;font-size:9px}
#view-products .product-mode-field label>span{min-height:70px;padding:10px 11px;border-radius:8px}
#view-products .product-mode-field b,#view-products .product-availability-options b{font-size:10px}
#view-products .product-mode-field small,#view-products .product-availability-options small{font-size:8px}
#view-products .product-availability-field{align-content:start;gap:7px;margin:0;padding:0;border:0;border-radius:0;background:transparent}
#view-products .product-availability-options{grid-template-columns:1fr 1fr;gap:7px}
#view-products .product-availability-options label>span{min-height:70px;padding:10px 11px;border-radius:8px}
#view-products .product-availability-field>p{padding-left:1px;font-size:8px}
#view-products .product-form-grid{gap:13px;padding:15px}
#view-products .product-field{gap:6px}
#view-products .product-field>span{font-size:9px}
#view-products .product-field input,#view-products .product-field textarea{font-size:12px}
#view-products .product-field textarea{min-height:86px;resize:vertical}
#view-products .product-form-error{margin:0}
#view-products .product-publish-bar{position:sticky;z-index:8;bottom:0;grid-template-columns:minmax(180px,1fr) auto auto;margin:0 -20px;padding:12px 20px;border-top:1px solid #dce4eb;background:rgba(248,250,252,.98);box-shadow:0 -8px 24px rgba(19,45,74,.07)}
#view-products .product-publish-bar button{min-height:42px}
#view-products .product-preview-panel{padding:0;color:var(--product-ink)}
#view-products .product-preview-disclosure>summary{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:11px;padding:16px 17px;cursor:pointer;list-style:none;border-bottom:1px solid transparent}
#view-products .product-preview-disclosure>summary::-webkit-details-marker{display:none}
#view-products .product-preview-disclosure>summary span{display:grid;gap:3px}
#view-products .product-preview-disclosure>summary b{font-size:13px}
#view-products .product-preview-disclosure>summary small{color:#64788e;font-size:9px}
#view-products .product-preview-disclosure>summary em{padding:5px 7px;border-radius:5px;background:#eaf0f5;color:#4d637a;font-size:8px;font-style:normal;font-weight:800}
#view-products .product-preview-disclosure>summary i{width:8px;height:8px;border-right:2px solid #61758b;border-bottom:2px solid #61758b;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}
#view-products .product-preview-disclosure[open]>summary{border-bottom-color:#e2e8ee;background:#fbfcfd}
#view-products .product-preview-disclosure[open]>summary i{transform:rotate(225deg) translate(-2px,-2px)}
#view-products .product-preview-disclosure>summary:focus-visible{outline:3px solid rgba(7,95,199,.22);outline-offset:-3px}
#view-products .product-preview-content{padding:14px 16px 16px}
#view-products .product-live-preview{min-height:210px;margin:0;padding:17px;border:1px solid #cfd9e2;border-radius:9px;background:#fff;color:var(--product-ink);box-shadow:none}
#view-products .product-live-preview h4{margin:20px 0 7px;font-size:27px}
#view-products .product-channel-note{margin:10px 0 0;padding:11px 0 0;border-top:1px solid #e0e6ec;border-bottom:0}
#view-products .product-channel-note strong{color:#314a65;font-size:9px}
#view-products .product-channel-note p{color:#62768c}
#view-products .product-history{margin:0;padding:16px 17px;border-top:1px solid #e2e8ee}
#view-products .product-history>header h3{margin:0;color:var(--product-ink);font-size:12px}
#view-products .product-history .text-action{min-height:34px;color:var(--product-accent);font-size:9px}
#view-products .product-history li{padding:10px 0;border-top:1px solid #e5eaef}
#view-products .product-history li strong{color:#29425e}
#view-products .product-history li span{color:#687b90}
#view-products .product-history li small{color:#7a8da1}
#view-products .product-history li.empty{color:#687b90}
#view-products .product-history li.error{color:#9c3437}
@media(max-width:1100px){#view-products .product-studio{grid-template-columns:1fr}#view-products .product-index,#view-products .product-editor-panel,#view-products .product-preview-panel{grid-column:1}#view-products .product-preview-panel{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)}#view-products .product-history{border-top:0;border-left:1px solid #e2e8ee}}
@media(max-width:760px){#view-products .product-catalog-head{display:grid;gap:12px}#view-products .product-catalog-head p{font-size:10px}#view-products .product-studio{gap:10px}#view-products .product-index{display:flex;gap:7px;overflow-x:auto;padding:1px;scroll-snap-type:x mandatory}#view-products .product-index-item{flex:0 0 178px;min-height:68px;padding:12px 13px;scroll-snap-align:start}#view-products .product-editor-head{padding:15px 16px}#view-products .product-editor-panel form{gap:11px;padding:13px 14px 0}#view-products .product-editor-group>header{padding:12px 13px}#view-products .product-sales-grid{grid-template-columns:1fr;gap:13px;padding:13px}#view-products .product-mode-field{grid-template-columns:1fr}#view-products .product-mode-field label>span{min-height:58px}#view-products .product-availability-options label>span{min-height:64px}#view-products .product-form-grid{grid-template-columns:1fr;padding:13px}#view-products .product-field.full{grid-column:auto}#view-products .product-field input,#view-products .product-field textarea{font-size:16px}#view-products .product-publish-bar{bottom:calc(72px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;margin:0 -14px;padding:11px 14px calc(11px + env(safe-area-inset-bottom))}#view-products .product-publish-bar>div{grid-column:1/-1}#view-products .product-preview-panel{display:block}#view-products .product-history{border-top:1px solid #e2e8ee;border-left:0}#view-products .product-preview-disclosure>summary{min-height:58px;padding:14px 16px}#view-products .product-preview-content{padding:13px 14px 14px}}
@keyframes userSkeleton{50%{opacity:.48}}
@media(prefers-reduced-motion:reduce){.user-skeleton span{animation:none}}
@media(max-width:1080px){.users-toolbar{align-items:flex-start;flex-direction:column}.user-filters{width:100%;justify-content:flex-start;flex-wrap:wrap}.user-search{flex:1 1 260px}.user-search input{width:100%}}
@media(max-width:760px){.users-heading{align-items:flex-start}.users-heading h2{font-size:21px}.users-heading>strong{padding-top:5px}.user-queues{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.user-queues button{min-height:54px;border-right:0;border-bottom:1px solid #e1e7ec}.user-queues button:nth-child(odd){border-right:1px solid #e1e7ec}.user-queues button:last-child{grid-column:1/-1;border-bottom:0}.users-toolbar{padding:17px 16px}.user-filters{display:grid;grid-template-columns:1fr 1fr}.user-search{grid-column:1/-1}.user-filters label,.user-filters select,.user-filters input{width:100%}.user-filters .line-button,.user-filters .text-action{min-height:44px}.users-feedback{align-items:flex-start;flex-direction:column;margin-inline:16px}.users-feedback .line-button{min-height:44px}.users-table-wrap{overflow:visible}.users-table,.users-table tbody,.users-table tr,.users-table td{display:block;width:100%;min-width:0}.users-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%)}.users-table tbody{display:grid;gap:10px;padding:12px}.users-table tr{padding:8px 13px;border:1px solid #d7e0e8;border-radius:10px;background:#fff!important}.users-table td{display:grid;grid-template-columns:minmax(96px,.55fr) minmax(0,1fr);align-items:start;gap:12px;padding:9px 0;border:0;border-bottom:1px solid #edf1f4}.users-table td:last-child{border-bottom:0}.users-table td:before{content:attr(data-label);color:#60748a;font-size:11px;font-weight:750}.users-table .user-skeleton{padding:8px 13px}.users-table .user-skeleton td{display:block;padding:10px 0;border:0}.users-table .user-empty{display:flex;min-height:220px}.user-email{max-width:100%;white-space:normal;overflow-wrap:anywhere}.user-risk-list{min-width:0}.user-ip-link{min-height:44px;text-align:left}.users-pagination{align-items:flex-start;flex-direction:column;padding-inline:16px}.users-pagination>div:last-child{width:100%;justify-content:space-between}.users-pagination button{min-height:44px}}
.payment-workbench{display:none;gap:16px}.payment-workbench.active{display:grid}.payment-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.payment-heading h2{margin:0;color:#102b48;font-size:24px}.payment-heading p{max-width:780px;margin:7px 0 0;color:#61768d;font-size:12px;line-height:1.7}.payment-heading>strong{padding:8px 11px;border:1px solid #cfdbe5;border-radius:8px;background:#fff;color:#1b496f;font-size:11px}.payment-heading>strong.warn{border-color:#f1c6a9;background:#fff5ed;color:#ad4a12}.payment-heading>strong.ready{border-color:#b9dfd2;background:#effaf6;color:#137358}.payment-safety-strip{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid #d7e1e9;border-radius:10px;background:#fff}.payment-safety-strip div{display:grid;gap:3px;padding:13px 16px;border-right:1px solid #e1e8ee}.payment-safety-strip div:last-child{border-right:0}.payment-safety-strip b{color:#263f59;font-size:11px}.payment-safety-strip span{color:#718399;font-size:9px}.payment-exception-panel,.payment-ledger-panel{overflow:hidden}.payment-table td{vertical-align:top}.payment-table td b,.payment-table td strong,.payment-table td code{display:block;color:#1d3854;font-size:11px}.payment-table td small{display:block;margin-top:4px;color:#718399;font-size:9px}.payment-actions{display:flex;flex-wrap:wrap;gap:7px}.payment-actions button{min-height:34px}.payment-feedback{margin:0 18px 14px;padding:11px 13px;border:1px solid #efc3c3;border-radius:8px;background:#fff4f4;color:#9f3036;font-size:11px}
@media(max-width:900px){.payment-safety-strip{grid-template-columns:1fr}.payment-safety-strip div{border-right:0;border-bottom:1px solid #e1e8ee}.payment-safety-strip div:last-child{border-bottom:0}}
@media(max-width:760px){.payment-heading{display:grid}.payment-heading>strong{justify-self:start}.payment-table{min-width:860px}.payment-actions button{min-height:44px}}
.payment-method-panel{padding-bottom:18px;overflow:hidden}.payment-method-intro{margin:-2px 18px 14px;color:#667b91;font-size:11px;line-height:1.65}.payment-method-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 18px}.payment-channel{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) 38px;align-items:center;gap:11px;min-height:68px;padding:11px 14px;border:1px solid #cfdbe5;border-radius:10px;background:#fff;cursor:pointer;transition:border-color 160ms ease,background 160ms ease}.payment-channel:hover{border-color:#aebfcd;background:#f9fbfc}.payment-channel>img{width:28px;height:28px}.payment-channel>span{display:grid;gap:3px;min-width:0}.payment-channel>span b{color:#173550;font-size:12px}.payment-channel>span small{color:#238266;font-size:9px;font-weight:700}.payment-channel>input{position:absolute;width:1px;height:1px;opacity:0}.payment-channel>i{position:relative;width:38px;height:22px;border-radius:999px;background:#a9b5c0;box-shadow:inset 0 0 0 1px rgba(30,55,78,.12);transition:background 160ms ease}.payment-channel>i::after{content:"";position:absolute;width:18px;height:18px;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(25,47,69,.26);transition:transform 160ms ease}.payment-channel>input:checked+i{background:#178c6e}.payment-channel>input:checked+i::after{transform:translateX(16px)}.payment-channel>input:focus-visible+i{outline:3px solid rgba(20,112,203,.25);outline-offset:3px}.payment-channel.is-off{border-color:#dce3e9;background:#f3f5f7}.payment-channel.is-off>img{filter:grayscale(1);opacity:.4}.payment-channel.is-off>span b,.payment-channel.is-off>span small{color:#8794a0}.payment-channel.is-saving{cursor:wait;opacity:.72}.payment-channel input:disabled~i{cursor:wait;opacity:.7}#paymentMethodSaveState.error{color:#a2373d}
@media(max-width:760px){.payment-method-controls{grid-template-columns:1fr}.payment-channel{min-height:64px}}
@media(prefers-reduced-motion:reduce){.payment-channel,.payment-channel>i,.payment-channel>i::after{transition:none}}
.payment-channel-card{min-width:0;padding:0 0 14px;border:1px solid #cfdbe5;border-radius:12px;background:#f8fafc;overflow:hidden}.payment-channel-card .payment-channel{border:0;border-bottom:1px solid #dce4eb;border-radius:0;background:#fff}.payment-switch{position:relative;width:38px;height:22px;cursor:pointer}.payment-switch input{position:absolute;width:1px;height:1px;opacity:0}.payment-switch i{position:absolute;inset:0;border-radius:999px;background:#a9b5c0;box-shadow:inset 0 0 0 1px rgba(30,55,78,.12);transition:background 160ms ease}.payment-switch i::after{content:"";position:absolute;width:18px;height:18px;top:2px;left:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(25,47,69,.26);transition:transform 160ms ease}.payment-switch input:checked+i{background:#178c6e}.payment-switch input:checked+i::after{transform:translateX(16px)}.payment-switch input:focus-visible+i{outline:3px solid rgba(20,112,203,.25);outline-offset:3px}.payment-pricing-fields{display:grid;grid-template-columns:1fr 1fr;gap:11px;padding:14px}.payment-pricing-fields>label{display:grid;gap:5px;min-width:0;color:#536a80;font-size:9px;font-weight:800}.payment-pricing-fields input,.payment-pricing-fields select{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #cbd7e2;border-radius:8px;background:#fff;color:#173550;font-size:11px;font-variant-numeric:tabular-nums}.payment-pricing-fields input:focus-visible,.payment-pricing-fields select:focus-visible{outline:3px solid rgba(20,112,203,.2);outline-offset:1px;border-color:#2874b8}.payment-number{display:flex;align-items:center;min-width:0;border:1px solid #cbd7e2;border-radius:8px;background:#fff;overflow:hidden}.payment-number:focus-within{outline:3px solid rgba(20,112,203,.2);outline-offset:1px;border-color:#2874b8}.payment-number input{border:0;border-radius:0;outline:0!important}.payment-number em{padding:0 10px;color:#708397;font-size:10px;font-style:normal}.payment-pricing-reason{grid-column:1/-1}.payment-pricing-preview{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 14px;padding:11px 0;border-top:1px solid #dde5eb;color:#6a7e92;font-size:9px}.payment-pricing-preview strong{color:#173550;font-size:10px;text-align:right}.payment-pricing-save{margin:0 14px;min-height:38px}.payment-channel-card.is-saving{opacity:.7;cursor:wait}.payment-channel-card.is-saving input,.payment-channel-card.is-saving select,.payment-channel-card.is-saving button{pointer-events:none}.payment-channel-card.is-off .payment-channel>img{filter:grayscale(1);opacity:.4}.payment-channel-card.is-off .payment-channel>span b,.payment-channel-card.is-off .payment-channel>span small{color:#8794a0}
@media(max-width:760px){.payment-pricing-fields{grid-template-columns:1fr}.payment-pricing-reason{grid-column:auto}.payment-pricing-fields input,.payment-pricing-fields select{font-size:16px}.payment-pricing-save{min-height:44px}}
@media(prefers-reduced-motion:reduce){.payment-switch i,.payment-switch i::after{transition:none}}
/* Long-term, order-bound AuthSession archive controls. */
.users-table button.user-order-count{min-height:28px;padding:0;border:0;background:transparent;color:#075fc7;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.users-table button.user-order-count:hover{color:#003f8f}
.session-archive-panel{display:grid;gap:13px;margin:20px 0;padding:17px;border:1px solid #31465d;border-radius:12px;background:#101b27;color:#dbe8f4}.session-archive-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.session-archive-head span{display:block;margin-bottom:3px;color:#7ea0c3;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.session-archive-head h3{margin:0;color:#fff;font-size:15px}.session-archive-head em{padding:4px 8px;border:1px solid #2f705e;border-radius:999px;background:#153b32;color:#8ee0c3;font-size:10px;font-style:normal;font-weight:800}.session-archive-panel>p{margin:0;color:#9fb4c9;font-size:11px;line-height:1.65}.session-archive-panel dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.session-archive-panel dl>div{display:grid;gap:3px;padding:10px;border:1px solid #293b4e;border-radius:8px;background:#152230}.session-archive-panel dt{color:#7891aa;font-size:10px}.session-archive-panel dd{margin:0;color:#e7eff7;font-size:11px}.session-archive-actions{display:flex;flex-wrap:wrap;gap:8px}.session-archive-panel .line-button{border-color:#4a6682;background:#17283a;color:#e7f1fb}.session-archive-value{width:100%;min-height:190px;padding:13px;border:1px solid #3b5874;border-radius:9px;background:#0b131c;color:#d9e8f7;font:11px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical}.session-archive-panel.unavailable{border-color:#3a4652;background:#171e26}.session-archive-panel.unavailable .session-archive-head em{border-color:#596674;background:#222c36;color:#a8b5c2}@media(max-width:680px){.session-archive-panel dl{grid-template-columns:1fr}}
@media(max-width:760px){.admin-body{overflow-x:hidden}}
/* Card guard: a dense operational ledger, not a decorative dashboard. */
.card-guard-limits{padding:10px 22px;border-bottom:1px solid #dce4eb;background:#f7f9fb;color:#52687e;font-size:10px;line-height:1.55}.guard-table-hint{display:none;margin:-7px 0 12px;color:#60748a;font-size:10px}
.card-guard-workbench{margin:22px 0;padding:0;border:1px solid #cfd9e3;border-radius:14px;background:#fff;overflow:hidden}.card-guard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;border-bottom:1px solid #dce4eb}.card-guard-heading h2{margin:0;color:var(--ink);font-size:18px;letter-spacing:-.02em}.card-guard-heading p{max-width:72ch;margin:5px 0 0;color:#60758a;font-size:11px;line-height:1.6}.card-guard-heading-actions{display:flex;align-items:center;gap:10px}.card-guard-heading-actions>span{padding:5px 9px;border:1px solid #cdd8e2;border-radius:999px;background:#f5f7f9;color:#617487;font-size:10px;font-weight:800}.card-guard-heading-actions>span.enabled{border-color:#a9cbbb;background:#eaf7f0;color:#176545}.card-guard-status{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 22px;border-bottom:1px solid #dce4eb;background:#f6faf8;color:#285e4c}.card-guard-status strong{font-size:12px}.card-guard-status span{font-size:11px}.card-guard-status.warning{background:#fff8eb;color:#805216}.card-guard-status.danger{background:#fff1f0;color:#8a302d}.card-guard-summary{display:grid;grid-template-columns:repeat(4,1fr);margin:0;border-bottom:1px solid #dce4eb}.card-guard-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:15px 22px;border-right:1px solid #dce4eb}.card-guard-summary>div:last-child{border-right:0}.card-guard-summary dt{color:#657a8f;font-size:10px}.card-guard-summary dd{margin:0;color:var(--ink);font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.card-guard-settings{border-bottom:1px solid #dce4eb}.card-guard-settings>summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:0 22px;cursor:pointer;list-style:none}.card-guard-settings>summary::-webkit-details-marker{display:none}.card-guard-settings>summary span{display:grid;gap:2px}.card-guard-settings>summary strong{color:var(--ink);font-size:12px}.card-guard-settings>summary small{color:#6c8094;font-size:10px}.card-guard-settings>summary i{width:8px;height:8px;border-right:2px solid #63788d;border-bottom:2px solid #63788d;transform:rotate(45deg);transition:transform .18s ease}.card-guard-settings[open]>summary i{transform:rotate(225deg)}.card-guard-form{display:grid;grid-template-columns:260px 1fr;gap:20px;padding:18px 22px 22px;background:#f7f9fb}.card-guard-switches{display:grid;gap:8px;margin:0;padding:0;border:0}.card-guard-switches legend{margin-bottom:8px;color:#53697e;font-size:10px;font-weight:800}.card-guard-switches label{display:flex;align-items:flex-start;gap:9px}.card-guard-switches input{width:17px;height:17px;margin-top:1px;accent-color:#2155d9}.card-guard-switches span{display:grid;gap:2px}.card-guard-switches b{color:#1d2b3a;font-size:11px}.card-guard-switches small{color:#6b8094;font-size:9px;line-height:1.45}.card-guard-fields{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}.card-guard-fields label{display:grid;gap:5px;color:#52687e;font-size:10px;font-weight:700}.card-guard-fields input{min-width:0;height:38px;padding:0 10px;border:1px solid #cbd7e2;border-radius:8px;background:#fff;color:var(--ink);font-variant-numeric:tabular-nums}.card-guard-form-note{grid-column:2;padding:10px 12px;border:1px solid #d5e0e9;border-radius:8px;background:#fff;color:#65798d;font-size:10px;line-height:1.55}.card-guard-form footer{grid-column:1/-1;display:flex;justify-content:flex-end}.card-guard-audit{display:grid;grid-template-columns:210px 1fr;gap:24px;padding:17px 22px}.card-guard-audit h3{margin:0;color:var(--ink);font-size:12px}.card-guard-audit>div>span{display:block;margin-top:4px;color:#6d8194;font-size:10px;line-height:1.5}.card-guard-audit ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}.card-guard-audit li{display:flex;align-items:flex-start;gap:10px;min-height:30px}.card-guard-audit li.empty{color:#6c8094;font-size:10px}.card-guard-audit li div{display:grid;gap:2px}.card-guard-audit li b{color:#283b4d;font-size:10px}.card-guard-audit li small{color:#74879a;font-size:9px}.guard-action-status{min-width:38px;padding:3px 5px;border-radius:5px;background:#e8eef3;color:#52687c;text-align:center;font-size:9px;font-weight:800}.guard-action-status.success{background:#e2f3ea;color:#176545}.guard-action-status.failed{background:#fde7e5;color:#9a3430}.guard-card-table{min-width:1080px}.card-health{display:inline-flex;padding:4px 7px;border-radius:5px;background:#e8eef3;color:#51677c;font-size:9px;font-weight:800}.card-health.healthy{background:#e2f3ea;color:#176545}.card-health.warning{background:#fff1d7;color:#87560e}.card-health.quarantine{background:#fde3e1;color:#9a302d}.card-guard-row-actions{display:flex;align-items:center;gap:7px}.card-guard-row-actions>label{display:flex;align-items:center;gap:5px}.card-guard-row-actions input{width:68px;height:34px;padding:0 7px;border:1px solid #c9d5df;border-radius:7px;font-size:10px}.card-guard-row-actions .line-button{min-height:34px;padding:0 9px;font-size:10px}@media(max-width:920px){.card-guard-form{grid-template-columns:1fr}.card-guard-form-note{grid-column:1}.card-guard-audit{grid-template-columns:1fr}.card-guard-fields{grid-template-columns:repeat(2,minmax(120px,1fr))}}@media(max-width:620px){.card-guard-heading,.card-guard-status{align-items:flex-start;flex-direction:column}.card-guard-summary{grid-template-columns:repeat(2,1fr)}.card-guard-summary>div:nth-child(2){border-right:0}.card-guard-summary>div:nth-child(-n+2){border-bottom:1px solid #dce4eb}.card-guard-fields{grid-template-columns:1fr}.card-guard-heading-actions{width:100%;justify-content:space-between}.card-guard-heading-actions button{min-height:44px}.card-guard-form{padding-inline:16px}}
.capacity-policy-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #dce4eb;background:#f8fafc}.capacity-policy-strip>div{display:grid;gap:3px;min-width:0;padding:14px 22px;border-inline-end:1px solid #dce4eb}.capacity-policy-strip>div:last-child{border-inline-end:0}.capacity-policy-strip span{color:#657a8f;font-size:10px}.capacity-policy-strip strong{color:#172433;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}.capacity-policy-strip small{overflow-wrap:anywhere;color:#718498;font-size:9px;line-height:1.45}.guard-card-table{min-width:1220px}.capacity-state{display:inline-flex;padding:4px 7px;border-radius:5px;background:#e8eef3;color:#51677c;font-size:9px;font-weight:800}.capacity-state.active{background:#e2f3ea;color:#176545}.capacity-state.soft_limit{background:#fff1d7;color:#87560e}.capacity-state.retired,.capacity-state.hard_limit{background:#fde3e1;color:#9a302d}@media(max-width:920px){.capacity-policy-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.capacity-policy-strip>div:nth-child(2){border-inline-end:0}.capacity-policy-strip>div:nth-child(-n+2){border-bottom:1px solid #dce4eb}}@media(max-width:620px){.capacity-policy-strip{grid-template-columns:1fr}.capacity-policy-strip>div{border-inline-end:0;border-bottom:1px solid #dce4eb}.capacity-policy-strip>div:last-child{border-bottom:0}}
@media(max-width:760px){.guard-table-hint{display:block}.card-guard-row-actions input,.card-guard-row-actions .line-button{min-height:44px}.card-guard-row-actions input{width:82px}.card-guard-limits{padding-inline:16px}}

/* Per-card funding controls: every active card can be selected explicitly. */
.card-guard-row-actions{align-items:flex-start;flex-wrap:wrap}
.card-guard-row-actions .card-recharge-control{display:grid;grid-template-columns:94px auto;gap:4px 6px;align-items:center}
.card-guard-row-actions .card-recharge-control>span{grid-column:1/-1;color:#667b90;font-size:9px;font-weight:750}
.card-guard-row-actions .card-recharge-control input{width:94px}
/* Stage seven: operational alerts are dense, actionable rows rather than decorative cards. */
.system-operations{--operations-critical:#a93239;--operations-warning:#8b5a0a;--operations-healthy:#176545}.operations-health{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:112px;margin-bottom:14px;padding:22px 25px;border:1px solid #cfd9e3;border-radius:14px;background:#fff}.operations-health-copy{display:flex;align-items:flex-start;gap:14px;min-width:0}.operations-health-copy>i{flex:none;width:12px;height:12px;margin-top:7px;border:3px solid #8fa0b2;border-radius:50%;background:#fff}.operations-health h2{margin:0;color:#172433;font-size:22px;letter-spacing:-.025em}.operations-health p{max-width:72ch;margin:6px 0 0;color:#61758a;font-size:11px;line-height:1.55;overflow-wrap:anywhere}.operations-health>dl{display:grid;grid-template-columns:auto auto minmax(135px,auto);margin:0;border:1px solid #d7e0e8;border-radius:10px;overflow:hidden}.operations-health>dl>div{display:grid;gap:4px;min-width:78px;padding:10px 13px;border-inline-end:1px solid #d7e0e8}.operations-health>dl>div:last-child{border-inline-end:0}.operations-health dt{color:#718397;font-size:9px}.operations-health dd{margin:0;color:#263b50;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.operations-health.healthy .operations-health-copy>i{border-color:#45a887;background:#dff4eb}.operations-health.warning .operations-health-copy>i{border-color:#c48a27;background:#fff0d5}.operations-health.critical .operations-health-copy>i{border-color:#cd5b61;background:#fde4e5}.operations-health.healthy #operationsHealthTitle{color:var(--operations-healthy)}.operations-health.warning #operationsHealthTitle{color:var(--operations-warning)}.operations-health.critical #operationsHealthTitle{color:var(--operations-critical)}
.operations-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 14px;border:1px solid #d5dee7;border-radius:12px;background:#fff;overflow:hidden}.operations-metrics>div{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:3px 12px;min-width:0;padding:15px 18px;border-inline-end:1px solid #dce4eb}.operations-metrics>div:last-child{border-inline-end:0}.operations-metrics dt{color:#60758a;font-size:10px}.operations-metrics dd{margin:0;color:#172433;font-size:21px;font-weight:800;font-variant-numeric:tabular-nums}.operations-metrics small{grid-column:1/-1;color:#7b8da0;font-size:9px;line-height:1.45}.operations-alert-panel{padding:0;overflow:hidden}.operations-alert-panel>.panel-head{margin:0;padding:20px 22px 16px;border-bottom:1px solid #dce4eb}.operations-alert-panel>.panel-head h2{margin:0}.operations-alert-panel>.panel-head p,.operations-detail-grid .panel-head p{max-width:75ch;margin:5px 0 0;color:#65798e;font-size:10px;line-height:1.55}.operations-alert-list{display:grid;min-height:126px}.operations-alert-row{display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:18px;min-width:0;padding:14px 22px;border-bottom:1px solid #e1e8ee}.operations-alert-row:last-child{border-bottom:0}.operations-alert-row>span{display:inline-flex;justify-content:center;padding:5px 7px;border-radius:6px;background:#e8edf2;color:#52677b;font-size:9px;font-weight:800}.operations-alert-row.critical>span{background:#fde5e5;color:var(--operations-critical)}.operations-alert-row.warning>span{background:#fff0d9;color:var(--operations-warning)}.operations-alert-row.info>span{background:#e5eef9;color:#1b5fae}.operations-alert-copy{display:grid;gap:4px;min-width:0}.operations-alert-copy b{color:#20364c;font-size:12px}.operations-alert-copy small{color:#667b90;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.operations-alert-row button{min-width:max-content}.operations-clear{display:flex;align-items:center;gap:14px;min-height:126px;padding:22px}.operations-clear>i{position:relative;flex:none;width:34px;height:34px;border:2px solid #4aa587;border-radius:50%}.operations-clear>i:after{content:"";position:absolute;width:12px;height:7px;inset:9px auto auto 8px;border-inline-start:2px solid #278266;border-bottom:2px solid #278266;transform:rotate(-45deg)}.operations-clear b,.operations-clear span{display:block}.operations-clear b{color:#1e493c;font-size:13px}.operations-clear span{margin-top:4px;color:#637a71;font-size:10px}.operations-loading{display:grid;gap:10px;padding:26px 22px}.operations-loading span{height:12px;border-radius:5px;background:#e8edf1;animation:userSkeleton 1.2s ease-in-out infinite}.operations-feedback{display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:center;margin:16px 22px;padding:13px 14px;border:1px solid #efc3c3;border-radius:9px;background:#fff4f4;color:#91353a}.operations-feedback strong{font-size:11px}.operations-feedback span{font-size:10px}.operations-feedback button{grid-column:2;grid-row:1/3}.operations-detail-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}.operations-detail-grid>.dispatch-panel{min-width:0}.operations-detail-grid .panel-head{align-items:flex-start}.diagnostic-list li.critical{background:#fff0f0}.diagnostic-list li.warning{background:#fff7e9}.diagnostic-list li.info{background:#eef5fd}.diagnostic-list li.critical>i{background:var(--operations-critical)}.diagnostic-list li.warning>i{background:#b87912}.diagnostic-list li.info>i{background:#3477bf}.diagnostic-list li.critical em{color:var(--operations-critical)}.diagnostic-list li.warning em{color:var(--operations-warning)}.diagnostic-list li.info em{color:#1b5fae}.diagnostic-list li span{line-height:1.5;overflow-wrap:anywhere}
@media(max-width:980px){.operations-health{align-items:flex-start;flex-direction:column}.operations-health>dl{width:100%}.operations-health>dl>div{min-width:0}.operations-detail-grid{grid-template-columns:1fr}}
@media(max-width:760px){.operations-health{padding:18px}.operations-health>dl{grid-template-columns:repeat(2,1fr)}.operations-health>dl>div{min-height:55px}.operations-health>dl>div:nth-child(2){border-inline-end:0}.operations-health>dl>div:last-child{grid-column:1/-1;border-top:1px solid #d7e0e8}.operations-metrics{grid-template-columns:repeat(2,1fr)}.operations-metrics>div:nth-child(2){border-inline-end:0}.operations-metrics>div:nth-child(-n+2){border-bottom:1px solid #dce4eb}.operations-alert-panel>.panel-head{align-items:flex-start;flex-direction:column}.operations-alert-panel>.panel-head button{min-height:44px}.operations-alert-row{grid-template-columns:auto 1fr;gap:9px 12px;padding:15px 17px}.operations-alert-row>span{justify-self:start}.operations-alert-row button{grid-column:1/-1;min-height:44px;width:100%}.operations-feedback{grid-template-columns:1fr}.operations-feedback button{grid-column:1;grid-row:auto;min-height:44px}.system-operations .dispatch-panel{padding-inline:18px}.operations-alert-panel{padding-inline:0}}
@media(prefers-reduced-motion:reduce){.operations-loading span{animation:none}}
