:root{color-scheme:light;--bg:#e7eaed;--surface:#f4f5f6;--line:#cbd1d8;--mint:#475569;--text:#202833;--muted:#657180;--amber:#946200;--blue:#356a9a;--danger:#b44747;--hover-bg:#e0e4e8;--line-strong:#aeb7c1;--input-bg:#eef0f2;--placeholder:#7b8794;--on-accent:#ffffff;--accent-hover:#334155;--nav-active:#dce2e8;--step-active:#dde3e9;--step-line:#cbd1d8;--table-head:#e9edf1;--table-heading:#4b5563;--row-hover:#e8ebee;--row-selected:#d8e0e8;--pager-bg:#dce2e8;--notice-bg:#f4f5f6;--notice-line:#aeb7c1;--dialog-bg:#f4f5f6;--dialog-line:#b7c0c9;--row-checked:#dce3ea;--row-context:#d7dfe7;--context-line:#94a0ac;--menu-bg:#f4f5f6;--menu-line:#b7c0c9;--menu-focus:#e1e5e9;--menu-separator:#d3d8dd;--selection-bg:#e0e5ea;--selection-line:#aeb7c1;--warning-bg:#f3ede0;--warning-text:#805600;--closing-color:#805600;--private-color:#6b5b95;--icon-filter:none;--active-icon-filter:none;--primary-icon-filter:invert(1);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{background:transparent;border:1px solid var(--line);border-radius:5px;color:var(--text);padding:8px 13px;cursor:pointer;white-space:nowrap}button:hover{background:var(--hover-bg,#232323);border-color:var(--line-strong,#4d4d4d)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--mint);outline-offset:3px}button img,.search img,.sidebar img{width:20px;height:20px;filter:var(--icon-filter,invert(92%) sepia(8%) saturate(346%) hue-rotate(94deg));flex-shrink:0}button:has(img){display:inline-flex;align-items:center;justify-content:center;gap:8px}input,select,textarea{border:1px solid var(--line);border-radius:5px;background:var(--input-bg,#121212);color:var(--text);padding:9px 11px;min-width:0}input::placeholder,textarea::placeholder{color:var(--placeholder,#819a8f)}select{cursor:pointer;max-width:100%}textarea{resize:vertical;line-height:1.7;width:100%}.primary{background:var(--mint);color:var(--on-accent,#151515);border-color:var(--mint);font-weight:700}.primary:hover{background:var(--accent-hover,#b7b7b7);border-color:var(--accent-hover,#b7b7b7)}.primary img{filter:var(--primary-icon-filter,none)}.text-button{border:0;padding:5px 8px;color:var(--mint)}.icon-button{border:0;padding:7px}
.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:14px;font-size:20px;font-weight:700;white-space:nowrap}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:var(--mint);color:var(--on-accent,#151515);border-radius:9px;font-size:22px}.top-meta{display:flex;align-items:center;gap:24px;font-size:13px;color:var(--muted)}#current-user{color:var(--text);padding-left:20px;border-left:1px solid var(--line)}.sync-indicator{color:var(--muted)}.sync-indicator.ok{color:var(--mint)}.sync-indicator.error{color:var(--amber)}
.workspace{display:grid;grid-template-columns:184px minmax(0,1fr);min-height:calc(100vh - 64px)}.sidebar{border-right:1px solid var(--line);padding:22px 10px 20px 0;display:flex;flex-direction:column}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar button{display:flex;justify-content:flex-start;gap:15px;border:0;border-left:4px solid transparent;border-radius:0 4px 4px 0;padding:14px 20px;font-size:15px;text-align:left;width:100%}.sidebar button.active{border-left-color:var(--mint);background:var(--nav-active,#232323);color:var(--mint);font-weight:600}.sidebar button.active img{filter:var(--active-icon-filter,invert(83%) sepia(57%) saturate(659%) hue-rotate(100deg))}.nav-divider{height:1px;background:var(--line);margin:24px 16px}.back-link{font-size:12px;color:var(--muted);padding:20px 24px;margin-top:auto}main{padding:22px 24px 0;min-width:0}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;margin-bottom:20px}.heading-copy{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap}h1,h2,h3,p{margin-top:0}h1{font-size:29px;line-height:1.3;letter-spacing:.02em;margin:0}h2{font-size:22px;margin:0}h3{font-size:16px}.heading-copy p{margin:0;font-size:13px}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.7}.filters{display:flex;align-items:center;gap:10px}.filters select{max-width:170px;height:40px}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:5px;height:40px;padding:0 10px;width:240px}.search input{background:none;border:0;padding:0;width:100%;height:32px;outline-offset:0}.search img{width:18px}.filters .primary{height:40px}
.sync-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;border-left:3px solid var(--amber);background:var(--warning-bg,#28271a);padding:9px 12px;margin:-2px 0 14px;font-size:12px;color:var(--warning-text,#dfc7a2)}.steps{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:5px;min-height:76px;margin-bottom:16px;overflow:auto}.step{flex:1;border:0;border-radius:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 10px;min-width:134px;text-align:left}.step+.step{border-left:1px solid var(--step-line,#242424)}.step.active{background:var(--step-active,#222222);color:var(--mint)}.step .step-number{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;border-radius:50%;background:#d3d3d3;color:#141414;font-size:15px}.step.active .step-number{background:var(--mint);color:var(--on-accent,#141414)}.step-content{display:flex;flex-direction:column;gap:5px}.step-title{font-weight:600;white-space:nowrap}.step small{color:var(--muted);font-size:11px}.step strong{font-size:19px;font-weight:500;margin-left:7px;color:var(--mint);font-variant-numeric:tabular-nums}.step[data-stage="presales"] strong,.step[data-stage="unclaimed"] strong{color:var(--amber)}.step[data-stage="debugging"] strong{color:var(--blue)}.step[data-stage="closing"] strong{color:var(--closing-color,#ded26a)}.step-all{flex:0 0 104px;min-width:104px}.step-all .step-title{font-size:15px}.list-context{font-size:12px;color:var(--muted);margin:0 0 10px}.list-context:empty{display:none}
.table-scroll{overflow:auto;max-width:100%}.order-table{width:100%;border-collapse:collapse;white-space:nowrap;table-layout:auto;font-size:13px}.order-table th{height:40px;background:var(--table-head,#181818);color:var(--table-heading,#c5c5c5);font-size:12px;font-weight:500;text-align:left;padding:0 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.order-table td{height:37px;padding:0 12px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.order-table tbody tr:hover{background:var(--row-hover,#1a1a1a)}.order-table tbody tr.selected{background:var(--row-selected,#232323)}.order-table th:first-child,.order-table td:first-child{width:36px;padding:0 4px}.order-table .expand{border:0;padding:6px;display:inline-flex}.expand img{width:15px;height:15px}.order-table .number{font-size:12px;letter-spacing:.01em}.order-table .shop-cell{max-width:135px;overflow:hidden;text-overflow:ellipsis}.order-table button:not(.expand){font-size:12px;padding:4px 7px;border:0;color:var(--mint)}.order-table .row-main{border:1px solid var(--line-strong,#565656)!important;min-width:82px}.order-table .row-actions{display:flex;gap:6px;align-items:center;height:37px}.badge{display:inline-block;padding:3px 9px;border-radius:5px;font-size:12px;line-height:1.15;text-align:center;min-width:62px}.badge.presales{background:#493020;color:#efb16e}.badge.queued{background:#172e4b;color:#78bdf1}.badge.debugging{background:#16334b;color:#7cc5f6}.badge.closing{background:#35361a;color:#e6d96d}.badge.closed,.badge.done{background:#2a2a2a;color:#afafaf}.source-status{display:inline-flex;align-items:center;gap:7px;font-size:12px}.source-status::before{content:"";width:7px;height:7px;background:var(--amber);border-radius:50%;flex-shrink:0}.source-status.finished::before{background:var(--mint)}.source-status.manual::before{background:var(--private-color,#b1a4e6)}.source-status.refund{color:var(--danger)}.source-status.refund::before{background:var(--danger)}.flags{display:flex;gap:6px;font-size:11px}.flag{color:var(--muted)}.flag.yes{color:var(--mint)}
.pager{display:flex;align-items:center;justify-content:space-between;padding:26px 4px;color:var(--muted);font-size:13px;gap:16px}.pager>div{display:flex;align-items:center;gap:20px}.pager>div:last-child{gap:12px}.pager select{padding:4px 5px;border:0;background:transparent}.pager button{padding:5px}.pager button img{width:17px;height:17px}#page-label{background:var(--pager-bg,#272727);padding:7px 12px;border-radius:4px;color:var(--mint)}.empty{padding:75px 24px;text-align:center;min-height:350px;border-bottom:1px solid var(--line)}.empty h2{font-size:20px;margin-bottom:12px}.empty p{margin-bottom:20px;line-height:1.8}.notice{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--notice-bg,#2c2c2c);border:1px solid var(--notice-line,#5d5d5d);border-radius:7px;padding:13px 22px;box-shadow:0 8px 30px #0008;z-index:100;max-width:90vw}.error{color:var(--danger);font-size:13px;line-height:1.7;margin:8px 0}.error:empty{display:none}
.login-panel{width:400px;max-width:calc(100vw - 40px);margin:80px auto}.login-panel h1{margin:12px 0}.login-panel p{line-height:1.7}.login-panel form{display:grid;gap:16px;margin-top:26px}.eyebrow{font-size:12px;color:var(--mint);letter-spacing:.08em}label:not(.search):not(.check){display:flex;flex-direction:column;gap:7px}label small{font-size:12px}dialog{color:var(--text);background:var(--dialog-bg,#141414);border:1px solid var(--dialog-line,#424242);border-radius:8px;padding:24px;width:560px;max-width:calc(100vw - 32px);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 15px 80px #0009}dialog::backdrop{background:#0008}dialog form{display:flex;flex-direction:column;gap:16px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:6px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:inline-flex;align-items:center;gap:8px;line-height:1.8}.check input{accent-color:var(--mint);width:16px;height:16px;padding:0}.check-list{display:flex;gap:12px 20px;flex-wrap:wrap}fieldset{border:1px solid var(--line);border-radius:5px;padding:12px 14px;display:flex;gap:20px;flex-wrap:wrap}legend{color:var(--muted);font-size:12px}
.order-drawer{position:fixed;inset:64px 0 0 auto;margin:0;width:430px;max-width:95vw;max-height:calc(100vh - 64px);height:calc(100vh - 64px);border-radius:0;z-index:30;padding:24px;border-right:0;border-bottom:0}.order-id{font-size:17px;font-weight:500;overflow-wrap:anywhere;margin:18px 0 10px}.detail-section{border-top:1px solid var(--line);padding:18px 0}.detail-section h3{margin:0 0 14px;font-size:14px}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:13px}.detail-meta span{color:var(--muted);margin-right:10px}.timeline{display:flex;gap:15px;flex-wrap:wrap;font-size:12px;line-height:1.8}.timeline strong{display:block;color:var(--mint);font-weight:500}.timeline time{color:var(--muted)}details summary{cursor:pointer;list-style-position:outside;margin-left:14px;font-size:14px}details[open] summary{margin-bottom:16px}.product-list{font-size:13px;line-height:1.7;padding-left:20px;color:var(--muted)}.event-list{list-style:none;padding:0;margin:0;font-size:12px}.event-list li{border-bottom:1px solid var(--line);padding:9px 0;line-height:1.8}.event-list time{display:block;color:var(--muted)}.drawer-actions{display:flex;gap:10px;flex-wrap:wrap}.drawer-actions>.primary{flex:1}.detail-section form{gap:12px}.detail-section button{font-size:13px}
.settings-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 22px}.settings-toolbar>div{display:flex;align-items:center;gap:10px}.settings-panel h2{font-size:19px}.settings-panel .muted{line-height:1.8}.bindings-table{width:100%;border-collapse:collapse;font-size:13px}.bindings-table th{text-align:left;font-weight:500;color:var(--muted);padding:12px}.bindings-table td{border-top:1px solid var(--line);padding:12px}.bindings-table input,.bindings-table select{width:100%}.bindings-table input[type=checkbox]{width:17px;accent-color:var(--mint)}.settings-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 10px;border-top:1px solid var(--line)}.staff-table td,.staff-table th{padding:12px}.staff-table{width:100%;border-collapse:collapse;text-align:left}.staff-table td{border-top:1px solid var(--line)}.staff-table th{color:var(--muted);font-weight:500;font-size:12px}.staff-table button{padding:5px 10px;font-size:12px}.captcha-row{display:flex;align-items:center;gap:10px}.captcha-row input{width:100px}.captcha-row img{width:120px;max-height:50px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;padding:0!important;border:0!important}
.workspace{height:calc(100dvh - 64px);min-height:0}.sidebar{min-height:0}main{height:100%;min-height:0;display:flex;flex-direction:column}.page-heading,.steps,.sync-banner,.list-context{flex-shrink:0}#ledger{display:flex;flex-direction:column;flex:1;min-height:0}.table-scroll{min-height:0;overflow:auto;flex:1}.order-table th{position:sticky;top:0;z-index:1;font-size:13px}.order-table{font-size:14px}.order-table .number{font-size:13px}.badge{font-size:13px}.sidebar button{font-size:16px}.pager{flex-shrink:0;padding:20px 4px}.pager label{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:6px!important}.settings-panel{min-height:0;overflow:auto;flex:1}.empty{min-height:150px;flex:1}.empty:not([hidden])+.pager{border-top:1px solid var(--line)}
@media(min-width:1450px){.filters .search{width:300px}.order-table{font-size:14px}.order-table .number{font-size:13px}}
@media(max-width:1250px){.heading-copy{display:block}.heading-copy p{margin-top:7px}.filters{gap:7px}.search{width:190px}.filters select{max-width:135px}.top-meta{gap:14px}.top-meta #clock{display:none}.step{min-width:125px;padding:12px 8px}.step-all{min-width:86px;flex-basis:86px}.step-title{font-size:13px}.step strong{font-size:17px;margin-left:4px}.step .step-number{width:24px;height:24px}.order-table td,.order-table th{padding:0 8px}}
@media(max-width:950px){.workspace{grid-template-columns:150px minmax(0,1fr)}main{padding:18px 16px 0}.sidebar button{padding:13px 13px;gap:10px;font-size:13px}.page-heading{align-items:flex-start;flex-direction:column;gap:16px}.filters{width:100%;flex-wrap:wrap}.search{flex:1;min-width:150px}.step{min-width:135px}.brand{font-size:17px}.order-table{min-width:850px}.topbar{padding:0 16px}.bindings-table{min-width:750px}.staff-table{min-width:650px}}
@media(max-width:640px){.topbar{height:58px;gap:12px}.brand{font-size:14px;gap:9px}.brand-mark{width:32px;height:32px;font-size:19px}.top-meta{gap:8px;font-size:11px}.sync-indicator{display:none}#current-user{padding:0;border:0;max-width:100px;overflow:hidden;text-overflow:ellipsis}.workspace{display:block}.sidebar{padding:7px 10px;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav{flex-direction:row;overflow:auto;gap:4px}.sidebar button{white-space:nowrap;width:auto;padding:9px;border-left:0;border-bottom:2px solid transparent;border-radius:4px}.sidebar button.active{border-bottom-color:var(--mint)}.sidebar button img{display:none}.nav-divider,.back-link{display:none}.sidebar nav .nav-divider{display:none}main{padding:18px 14px 0}h1{font-size:24px}.filters select{height:36px;max-width:150px}.filters #person-filter{max-width:120px}.filters .primary{height:36px;padding:7px 10px}.search{height:36px;order:4;flex-basis:100%}.page-heading{margin-bottom:14px}.steps{min-height:65px}.step{min-width:121px;padding:10px 7px}.step-all{min-width:82px}.step small{font-size:10px}.pager{padding:20px 0;gap:10px}.pager>div{gap:8px;font-size:12px}.pager>div:last-child{gap:6px}.sync-banner{align-items:flex-start}.form-grid{grid-template-columns:1fr}.order-drawer{top:58px;height:calc(100vh - 58px);max-height:calc(100vh - 58px);max-width:100vw;width:100vw}.settings-actions,.settings-toolbar{align-items:flex-start;flex-direction:column}dialog{padding:20px}.login-panel{margin-top:45px}}
@media(max-width:640px){.workspace{display:flex;flex-direction:column;height:calc(100dvh - 58px)}.sidebar{flex-shrink:0}.sidebar button{font-size:13px}main{flex:1;height:auto}.pager{padding:13px 0}.empty{padding:30px 10px}}
@media(min-width:1100px){body:has(#order-dialog[open]) #ledger{margin-right:400px}.order-drawer{top:148px;width:380px;height:calc(100dvh - 148px);max-height:calc(100dvh - 148px)}body:has(#order-dialog[open]) .step{min-width:124px}body:has(#order-dialog[open]) .step-all{min-width:80px;flex-basis:80px}body:has(#order-dialog[open]) .order-table td,body:has(#order-dialog[open]) .order-table th{padding-left:8px;padding-right:8px}body:has(#order-dialog[open]) .order-table td:first-child{padding-left:0;padding-right:0}body:has(#order-dialog[open]) .pager>div{gap:10px}}
#sync-dialog{width:650px}.sync-scope{border:1px solid var(--line);padding:14px;border-radius:5px;font-size:13px}.sync-scope ul{list-style:none;padding:0;margin:10px 0 0;max-height:180px;overflow:auto}.sync-scope li{display:flex;flex-direction:column;gap:5px;padding:8px 0;border-top:1px solid var(--line)}.sync-scope span{color:var(--muted);font-size:12px}.sync-scope li:first-child{border-top:0}#sync-default{margin:0;color:var(--mint)}#sync-form p{margin-bottom:0}
.order-table .sku-cell{min-width:160px}.order-table button.sku-name{display:block;width:clamp(160px,17vw,300px);max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;color:var(--text);font-size:13px;padding:4px 0}.order-table button.sku-name:hover{color:var(--mint)}
.order-table th:first-child,.order-table td:first-child{width:64px;min-width:64px;padding:0 8px}.order-select-cell>input,#select-page{width:14px;height:14px;accent-color:var(--mint);margin:0;vertical-align:middle;cursor:pointer}.order-select-cell .selection-space{display:inline-block;width:14px}.order-select-cell .expand{vertical-align:middle;padding:5px}.order-table .more-button{padding:5px!important;min-width:28px}.more-button img{width:17px;height:17px}.order-table tbody tr.checked-row{background:var(--row-checked,#242424)}.order-table tbody tr.context-row{background:var(--row-context,#2c2c2c);outline:1px solid var(--context-line,#5a5a5a);outline-offset:-1px}
@media(max-width:1400px){.order-table td,.order-table th{padding:0 8px}.order-table button.sku-name{width:clamp(160px,15vw,230px)}}
.order-menu{position:fixed;z-index:80;width:240px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;background:var(--menu-bg,#1c1c1c);border:1px solid var(--menu-line,#4e4e4e);border-radius:7px;padding:5px;box-shadow:0 12px 36px #0009}.menu-caption{font-size:11px;color:var(--muted);padding:8px 10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-menu button{display:block;width:100%;text-align:left;border:0;padding:8px 10px;border-radius:4px;font-size:13px;line-height:1.4}.order-menu button:focus-visible{outline:1px solid var(--mint);outline-offset:-1px;background:var(--menu-focus,#2e2e2e)}.order-menu .classification-item{color:var(--amber)}.menu-separator{height:1px;background:var(--menu-separator,#404040);margin:5px 4px}.selection-bar{display:flex;align-items:center;gap:14px;flex-shrink:0;background:var(--selection-bg,#262626);border:1px solid var(--selection-line,#464646);padding:7px 12px;margin-bottom:10px;font-size:12px}.selection-bar button{font-size:12px}.selection-bar #clear-selection{margin-left:auto;color:var(--muted)}.brush-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;flex-shrink:0}.brush-tools #brush-summary{font-size:14px;color:var(--amber)}.brush-dates{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.brush-dates input{font-size:12px;padding:6px;max-width:145px}.brush-detail-banner{padding:13px;background:var(--warning-bg,#322c19);border-left:3px solid var(--amber);margin-bottom:18px}.brush-detail-banner strong{color:var(--amber)}.brush-detail-banner p{font-size:12px;color:var(--muted);margin:8px 0}.batch-orders{list-style:none;margin:0;padding:0;max-height:230px;overflow:auto}.batch-orders li{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:8px 0;border-bottom:1px solid var(--line)}#copy-dialog textarea{margin-top:10px}.notice .text-button{margin-left:10px}
@media(max-width:950px){.brush-tools{align-items:flex-start;flex-direction:column}.brush-dates{flex-wrap:wrap}.order-table th:first-child,.order-table td:first-child{min-width:64px}.selection-bar{gap:6px;flex-wrap:wrap}}@media(max-width:640px){.brush-dates input{max-width:125px}.order-menu button{padding:10px}.selection-bar #clear-selection{margin-left:0}}

#appearance-open{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;font-size:13px}#appearance-open img{width:18px;height:18px}#appearance-dialog{width:520px}.appearance-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.appearance-presets button{display:flex;align-items:center;gap:8px;font-size:13px;padding:10px;text-align:left}.appearance-presets button[aria-pressed=true]{border-color:var(--mint);outline:1px solid var(--mint);outline-offset:-1px;background:var(--step-active,#222222)}.appearance-swatch{width:22px;height:22px;border:1px solid var(--line-strong,#4d4d4d);border-radius:50%;flex-shrink:0}.appearance-custom{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:end}#background-color{height:40px;width:100%;padding:4px;cursor:pointer}#background-hex{font-family:Consolas,monospace;text-transform:uppercase}#appearance-default{align-self:flex-start}#appearance-form>p{margin-bottom:0}
.order-status-filters{flex-shrink:0;padding:10px 14px 8px;margin-bottom:14px;background:var(--surface);border:1px solid var(--line);border-radius:5px}.status-filter-line{display:flex;align-items:center;gap:10px;min-width:0}.status-filter-label{color:var(--muted);font-size:13px;white-space:nowrap}.status-chip-scroll{display:flex;align-items:center;gap:8px;overflow-x:auto;min-width:0;flex:1;padding:3px;scrollbar-width:thin}.status-chip{border:1px solid var(--line);border-radius:24px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;font-size:13px;line-height:18px;min-height:36px;flex-shrink:0}.status-chip[aria-pressed=true],.status-chip.has-selection{border-color:var(--mint);background:var(--step-active,#222222);color:var(--mint)}.status-chip .status-check{display:none;width:20px;height:20px;padding:3px;border-radius:50%;background:var(--mint);filter:none}.status-chip[aria-pressed=true] .status-check{display:block}.status-chip .status-check img{display:block;width:14px;height:14px;filter:var(--primary-icon-filter,none)}.status-count{font-variant-numeric:tabular-nums;color:var(--muted)}.status-chip[aria-pressed=true] .status-count{color:var(--mint)}#trade-more-open{gap:5px}.status-chevron{width:14px;height:14px;transform:rotate(90deg)}#refund-filter{font-size:13px;max-width:170px;min-width:128px;height:36px;padding:6px 9px}.status-filter-summary{display:flex;align-items:center;gap:12px;min-height:26px;padding-top:5px;font-size:12px;color:var(--muted);flex-wrap:wrap}.status-filter-summary button{font-size:12px;padding:3px 0}.trade-more-panel{position:fixed;inset:auto;margin:0;width:240px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;padding:14px;background:var(--menu-bg,#1c1c1c);color:var(--text);border:1px solid var(--menu-line,#4e4e4e);border-radius:7px;box-shadow:0 12px 36px #0006}.trade-more-panel p{margin-bottom:10px}.trade-more-panel .status-chip{width:100%;justify-content:flex-start;margin-bottom:7px}.trade-more-panel .status-count{margin-left:auto}#trade-more-done{display:block;margin-left:auto}.source-state-pair{display:inline-flex;align-items:center;gap:6px;max-width:220px;vertical-align:middle}.source-state-pair .source-status{max-width:125px;overflow:hidden;text-overflow:ellipsis}.refund-label{font-size:11px;line-height:18px;max-width:94px;overflow:hidden;text-overflow:ellipsis;color:var(--amber);background:var(--warning-bg,#322c19);border-radius:3px;padding:1px 5px}
@media(max-width:1250px){.order-status-filters{padding:8px 10px}.status-filter-line{gap:7px}.status-chip{padding:7px 10px}.status-chip-scroll{gap:6px}#refund-filter{max-width:145px;min-width:116px}}
@media(max-width:950px){.status-filter-line{flex-wrap:wrap}.status-chip-scroll{flex-basis:calc(100% - 140px)}#refund-filter{max-width:100%;margin-left:auto}.status-filter-summary{padding-top:7px}}
@media(max-width:640px){.order-status-filters{margin-bottom:10px;padding:6px 8px}.status-filter-label{font-size:12px}.status-filter-line{gap:5px}.status-chip-scroll{flex-basis:calc(100% - 134px)}.status-chip{padding:7px 9px;font-size:12px}.status-chip[aria-pressed=true] .status-check{width:20px;height:20px}.status-filter-summary{gap:9px;min-height:24px;font-size:11px}#refund-filter{height:32px;font-size:12px}.status-filter-summary button{font-size:11px}}
@media(max-width:640px){#appearance-open{padding:5px}#appearance-open span{display:none}.top-meta #current-user{max-width:86px;white-space:nowrap}.appearance-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-custom{grid-template-columns:80px minmax(0,1fr)}}

.order-table button.row-rollback{color:var(--amber)}
.order-table td:last-child{position:sticky;right:0;z-index:1;background:var(--bg);box-shadow:-1px 0 var(--line)}.order-table th:last-child{right:0;z-index:2;box-shadow:-1px 0 var(--line)}.order-table tr:hover td:last-child{background:var(--row-hover,#1a1a1a)}.order-table tr.selected td:last-child{background:var(--row-selected,#232323)}.order-table tr.checked-row td:last-child{background:var(--row-checked,#242424)}.order-table tr.context-row td:last-child{background:var(--row-context,#2c2c2c)}
.rollback-route{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.rollback-route>span{color:var(--muted)}.rollback-route strong{color:var(--mint)}.rollback-impact{line-height:1.8;padding:12px 14px;background:var(--warning-bg,#322c19);border-left:3px solid var(--amber);border-radius:3px}
.review-upload{display:flex;flex-direction:column;gap:7px;margin-top:14px;padding:12px;border:1px dashed var(--line-strong,#4d4d4d);border-radius:6px}.review-upload input{padding:7px}.review-image-link,#review-preview{display:block;margin-top:12px;color:var(--mint)}.review-image-link img,#review-preview img{display:block;width:100%;max-height:280px;object-fit:contain;background:var(--input-bg,#121212);border:1px solid var(--line);border-radius:5px;margin-bottom:7px}#review-preview{padding-top:4px}
.danger-button{color:var(--danger)!important;border-color:var(--danger)!important}.danger-button:hover{background:color-mix(in srgb,var(--danger) 14%,transparent)!important}.delete-impact{line-height:1.8;padding:12px 14px;background:var(--warning-bg,#322c19);border-left:3px solid var(--danger);border-radius:3px}.order-time{font-variant-numeric:tabular-nums;color:var(--muted)}
.order-menu .danger-item{color:var(--danger)}

/* 业绩 BI */
.bi-filters{flex-wrap:wrap;justify-content:flex-end}.bi-date-label{height:40px;display:flex;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:5px;color:var(--muted);font-variant-numeric:tabular-nums}.bi-filters input[type=date]{height:40px;max-width:150px}.bi-date-separator{color:var(--muted)}#bi-export-open{color:var(--mint);border-color:var(--line-strong,#4d4d4d)}
.bi-panel{min-height:0;overflow:auto;flex:1;padding-bottom:24px}.bi-loading{display:grid;place-items:center;min-height:360px;color:var(--muted)}.bi-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--line);border-radius:6px;margin-bottom:16px}.bi-kpis section{padding:18px 17px;min-width:0}.bi-kpis section+section{border-left:1px solid var(--line)}.bi-kpis span,.bi-kpis small{display:block;color:var(--muted)}.bi-kpis strong{display:block;color:var(--mint);font-size:26px;line-height:1.35;margin:5px 0;font-variant-numeric:tabular-nums}.bi-kpis small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bi-kpis .bi-kpi-return strong{color:var(--danger)}
.bi-main-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.8fr);gap:16px;margin-bottom:16px}.bi-block{border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:18px}.bi-block h2{font-size:17px}.bi-block-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.bi-legend{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.mint-dot,.bar-dot,.return-dot{width:8px;height:8px;border-radius:50%;background:var(--mint);display:inline-block}.bar-dot,.return-dot{border-radius:1px;background:#6a6a6a;margin-left:10px}.return-dot{background:var(--danger)}.bi-trend canvas{display:block;max-width:100%}
.bi-funnel h2{margin-bottom:20px}.funnel-row{display:grid;grid-template-columns:28px minmax(0,1fr) 34px;gap:10px;align-items:center;margin:16px 0}.funnel-number{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--step-active,#222222);color:var(--mint);font-size:12px}.funnel-row>div>span{display:block;font-size:12px;margin-bottom:7px}.funnel-row strong{text-align:right;color:var(--mint);font-size:19px;font-weight:500}.funnel-bar{height:6px;background:var(--line);border-radius:6px;overflow:hidden}.funnel-bar i{display:block;height:100%;background:var(--mint);border-radius:6px}.funnel-row:nth-child(3) .funnel-bar i{background:var(--blue)}.funnel-row:nth-child(4) .funnel-bar i{background:var(--amber)}
.bi-ranking{padding:0}.bi-ranking .bi-block-title{padding:14px 18px;margin:0;border-bottom:1px solid var(--line)}.bi-role-tabs{display:flex;border:1px solid var(--line);border-radius:18px;padding:2px}.bi-role-tabs button{border:0;border-radius:15px;padding:5px 16px;font-size:12px}.bi-role-tabs button[aria-pressed=true]{background:var(--mint);color:var(--on-accent,#151515);font-weight:600}.bi-ranking table{width:100%;border-collapse:collapse;font-size:13px}.bi-ranking th{height:38px;text-align:left;color:var(--muted);font-size:12px;font-weight:500;padding:0 16px}.bi-ranking td{height:38px;border-top:1px solid var(--line);padding:0 16px;font-variant-numeric:tabular-nums}.rank{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--line);font-size:11px}.rank-1{background:#d6ad45;color:#1d1604}.rank-2{background:#8da4ad;color:#0e0e0e}.rank-3{background:#b87948;color:#140b05}.completion{display:inline-block;width:70px;height:5px;background:var(--line);margin-right:8px;vertical-align:middle;border-radius:5px;overflow:hidden}.completion span{display:block;height:100%;background:var(--mint)}
.export-dialog{width:560px}.export-dialog fieldset{display:block}.export-dialog fieldset>.check{margin-right:22px}.export-presets{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.export-presets button{padding:6px 11px;font-size:12px}.export-presets button[aria-pressed=true]{border-color:var(--mint);color:var(--mint);background:var(--step-active,#222222)}.export-dates{margin-top:8px}
.small-payment-cell{width:106px;min-width:106px}.order-table button.small-payment-button{border:1px solid var(--line)!important;border-radius:999px;padding:3px 9px!important;min-width:68px;color:var(--muted)}.order-table button.small-payment-button:hover{border-color:var(--mint)!important;color:var(--mint)}.order-table button.small-payment-button.receipt,.small-payment-readonly.receipt{color:var(--mint)}.order-table button.small-payment-button.payment,.small-payment-readonly.payment{color:var(--amber)}.small-payment-readonly{font-size:12px;white-space:nowrap}.small-payment-detail{display:flex;align-items:center;justify-content:space-between;gap:14px}.small-payment-detail h3{margin-bottom:7px}.small-payment-detail p{font-size:13px;margin:0 0 4px}.small-payment-types{display:grid;grid-template-columns:1fr 1fr;gap:10px}.small-payment-types label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:6px;padding:12px;cursor:pointer}.small-payment-types label:has(input:checked){border-color:var(--mint);background:var(--step-active,#222222)}.small-payment-types input{accent-color:var(--mint)}.small-payment-types span,.small-payment-types small{display:block}.small-payment-types small{color:var(--muted);margin-top:4px}.small-payment-preview{padding:12px 14px;margin:0;background:var(--step-active,#222222);border-left:3px solid var(--mint);font-weight:600}.danger-text{color:var(--danger);margin-right:auto}
@media(max-width:1100px){.bi-kpis{grid-template-columns:repeat(3,1fr)}.bi-kpis section:nth-child(4){border-left:0}.bi-kpis section:nth-child(n+4){border-top:1px solid var(--line)}.bi-main-grid{grid-template-columns:1fr}.bi-funnel{display:none}}
@media(max-width:640px){.bi-filters{justify-content:flex-start}.bi-date-label{height:36px}.bi-filters input[type=date]{height:36px;max-width:137px}.bi-kpis{grid-template-columns:1fr 1fr}.bi-kpis section{padding:12px}.bi-kpis section:nth-child(odd){border-left:0}.bi-kpis section:nth-child(n+3){border-top:1px solid var(--line)}.bi-kpis strong{font-size:20px}.bi-main-grid{display:block}.bi-block{padding:12px}.bi-ranking{margin-top:12px}.bi-ranking table{min-width:760px}.bi-legend{display:none}.export-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0}.export-presets{gap:5px}}
/* 中转站收益 */
.profit-panel{min-height:0;overflow:auto;flex:1;padding-bottom:28px}.profit-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.profit-toolbar h2{font-size:22px;margin:5px 0}.profit-toolbar p{margin:0}.profit-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:6px;margin-bottom:16px;background:var(--surface)}.profit-kpis section{padding:16px 20px}.profit-kpis section+section{border-left:1px solid var(--line)}.profit-kpis span,.profit-kpis small{display:block;color:var(--muted)}.profit-kpis strong{display:block;color:var(--mint);font-size:24px;margin:5px 0}.profit-work-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.profit-editor{display:grid;gap:16px}.profit-card,.profit-calc{background:var(--surface);border:1px solid var(--line);border-radius:6px}.profit-card-title{display:flex;align-items:center;gap:12px;padding:15px 18px;border-bottom:1px solid var(--line)}.profit-card-title>div{min-width:0}.profit-card-title h3{margin:0 0 3px}.profit-card-title p{margin:0}.profit-card-title>button,.profit-card-title>.profit-status{margin-left:auto}.profit-step{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--step-active,#222222);color:var(--mint);font-weight:700;flex-shrink:0}.profit-customer-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1.3fr) minmax(160px,.8fr);gap:22px;padding:18px;align-items:center}.profit-customer-grid input{font-size:20px;font-weight:700;color:var(--mint)}.profit-proof{display:grid;gap:8px}.profit-proof>div:last-child{display:flex;align-items:center;gap:8px}.button-like{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:5px;padding:8px 13px;cursor:pointer;color:var(--text)}.profit-image-preview{height:56px;display:flex;align-items:center;justify-content:center;border:1px dashed var(--line-strong,#4d4d4d);border-radius:5px;overflow:hidden}.profit-image-preview img{width:100%;height:100%;object-fit:cover}.profit-image-preview span{padding:7px}.profit-meta{display:flex;flex-direction:column;gap:6px}.profit-meta strong{font-size:13px}.profit-status{display:inline-flex;padding:4px 9px;border-radius:999px;background:var(--warning-bg,#322c19);color:var(--amber);font-size:12px}.profit-status.confirmed{background:var(--step-active,#222222);color:var(--mint)}.profit-station-table,.profit-history-table,.bi-profit table{width:100%;border-collapse:collapse;font-size:13px}.profit-station-table th,.profit-history-table th,.bi-profit th{height:36px;text-align:left;color:var(--muted);font-size:12px;font-weight:500;padding:0 18px}.profit-station-table td,.profit-history-table td,.bi-profit td{height:42px;border-top:1px solid var(--line);padding:0 18px}.profit-station-table button{border:0;padding:5px 7px;color:var(--mint)}.profit-history-table tbody tr{cursor:pointer}.profit-history-table tbody tr:hover{background:var(--row-hover,#1a1a1a)}.negative{color:var(--danger)!important}.profit-calc{position:sticky;top:0;padding:20px}.profit-calc h3{font-size:20px;margin:6px 0 18px}.profit-calc dl{margin:0 0 18px}.profit-calc dl>div{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.profit-calc dt{color:var(--muted)}.profit-calc dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.profit-calc .profit-net{padding:18px 0}.profit-calc .profit-net dt{color:var(--text);font-weight:700}.profit-calc .profit-net dd{font-size:27px;color:var(--mint)}.profit-calc>button{width:100%;margin-top:9px}.profit-calc>p:last-child{margin:12px 0 0;line-height:1.7}.bi-profit{margin-top:16px;padding:0}.bi-profit .bi-block-title{padding:15px 18px;margin:0;border-bottom:1px solid var(--line)}.bi-profit-kpis{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line)}.bi-profit-kpis section{padding:14px 18px}.bi-profit-kpis section+section{border-left:1px solid var(--line)}.bi-profit-kpis span{display:block;color:var(--muted);font-size:12px}.bi-profit-kpis strong{display:block;color:var(--mint);font-size:20px;margin-top:5px}
@media(max-width:1100px){.profit-work-grid{grid-template-columns:1fr}.profit-calc{position:static}.profit-customer-grid{grid-template-columns:1fr 1fr}.profit-meta{grid-column:1/-1}.profit-kpis{grid-template-columns:repeat(2,1fr)}.profit-kpis section:nth-child(3){border-left:0;border-top:1px solid var(--line)}.profit-kpis section:nth-child(4){border-top:1px solid var(--line)}}
@media(max-width:640px){.profit-toolbar{align-items:flex-start;flex-direction:column}.profit-toolbar .filters{display:grid;grid-template-columns:1fr 1fr}.profit-customer-grid{grid-template-columns:1fr}.profit-meta{grid-column:auto}.profit-station-table,.profit-history-table{min-width:680px}.profit-kpis section{padding:12px}.profit-kpis strong{font-size:19px}.bi-profit-kpis{grid-template-columns:1fr 1fr}.bi-profit-kpis section:nth-child(3){border-left:0;border-top:1px solid var(--line)}.bi-profit-kpis section:nth-child(4){border-top:1px solid var(--line)}}

/* 调试看台：柔和灰白底、蓝色调度信息、琥珀超时、红色退货。 */
.debug-filters input[type=date]{height:40px}.debug-refresh{height:40px;color:#315fba;border-color:#98acd1}.debug-refresh img{width:17px}.debug-panel{--debug-blue:#4774d9;--debug-blue-soft:#e4ebfa;--debug-amber:#d28a24;--debug-red:#b95757;min-height:0;overflow:auto;flex:1;padding:0 0 28px}.debug-loading{display:grid;place-items:center;min-height:360px;color:var(--muted)}.debug-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:7px;margin-bottom:15px}.debug-kpis section{padding:15px 18px;min-width:0}.debug-kpis section+section{border-left:1px solid var(--line)}.debug-kpis span,.debug-kpis small{display:block;color:var(--muted)}.debug-kpis span{font-size:12px}.debug-kpis strong{display:block;margin:5px 0 2px;font-size:24px;color:var(--debug-blue);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.debug-kpis small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.debug-kpis .is-return strong{color:var(--debug-red)}.debug-kpis .is-warning strong{color:var(--debug-amber)}
.debug-main-grid{display:grid;grid-template-columns:minmax(620px,2.6fr) minmax(260px,.7fr);gap:15px;margin-bottom:15px}.debug-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:7px;min-width:0}.debug-card-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border-bottom:1px solid var(--line)}.debug-card-title h2{font-size:17px;margin:0 0 3px}.debug-card-title p{margin:0}.debug-legend{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;white-space:nowrap}.debug-key{width:10px;height:6px;border-radius:2px;background:var(--debug-blue)}.debug-key.overtime{margin-left:7px;background:var(--debug-amber)}.debug-key.returned{margin-left:7px;background:var(--debug-red)}
.debug-concurrency{height:86px;display:grid;grid-template-columns:94px repeat(14,minmax(24px,1fr));align-items:end;padding:13px 18px 8px;border-bottom:1px solid var(--line)}.debug-concurrency-label{align-self:center;color:var(--muted);font-size:11px}.debug-hour{text-align:center;height:64px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;color:var(--muted);font-size:9px}.debug-hour-bar{height:45px;display:flex;align-items:flex-end;justify-content:center;position:relative}.debug-hour-bar i{display:block;width:48%;min-height:2px;background:#90a9dc;border-radius:2px 2px 0 0}.debug-hour-bar b{position:absolute;top:-2px;font-size:9px;color:#47639b;font-weight:500}.debug-timeline{padding:0 18px 14px;overflow:auto;min-height:260px}.debug-time-head,.debug-person-line{display:grid;grid-template-columns:94px minmax(600px,1fr)}.debug-time-head{height:32px;align-items:end}.debug-time-head>div{height:100%;position:relative;border-bottom:1px solid var(--line)}.debug-time-head>div span{position:absolute;bottom:6px;transform:translateX(-50%);font-size:9px;color:var(--muted)}.debug-person-line{min-height:54px}.debug-person-label{display:flex;flex-direction:column;justify-content:center;padding-right:12px}.debug-person-label strong{font-size:12px}.debug-person-label small{font-size:9px;color:var(--muted);margin-top:3px}.debug-track{position:relative;border-bottom:1px solid var(--line);background:repeating-linear-gradient(90deg,transparent 0,transparent calc(14.2857% - 1px),rgba(130,140,153,.18) calc(14.2857% - 1px),rgba(130,140,153,.18) 14.2857%)}.debug-task{position:absolute;top:14px;height:25px;min-width:8px;padding:0 6px;border:0;border-radius:3px;background:var(--debug-blue);color:#fff;overflow:hidden;text-overflow:ellipsis;font-size:10px;text-align:left;z-index:2}.debug-task:hover,.debug-task:focus-visible{filter:brightness(.93);background:var(--debug-blue)}.debug-task.overtime{background:var(--debug-amber)}.debug-task.returned{background:var(--debug-red)}.debug-task.active{box-shadow:0 0 0 2px rgba(71,116,217,.2)}.debug-task span{overflow:hidden;text-overflow:ellipsis}.debug-now{position:absolute;top:0;bottom:0;width:1px;background:#26364f;z-index:1}.debug-now span{position:absolute;top:1px;transform:translateX(-50%);font-size:8px;color:#26364f;background:var(--surface);padding:1px 2px}.debug-empty{padding:34px 16px;text-align:center;color:var(--muted);font-size:12px}
.debug-task-detail{position:absolute;z-index:8;right:20px;top:70px;width:270px;padding:17px;background:#f8f9fa;border:1px solid #b8c1cc;border-radius:6px;box-shadow:0 10px 30px rgba(40,52,69,.18)}.debug-task-detail h3{margin:6px 20px 12px 0;line-height:1.5}.debug-task-detail dl{margin:0}.debug-task-detail dl>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #dfe3e8;padding:7px 0;font-size:11px}.debug-task-detail dt{color:var(--muted)}.debug-task-detail dd{margin:0;text-align:right}.debug-detail-close{position:absolute;right:8px;top:8px;border:0;padding:2px 7px;font-size:18px}.debug-return-note{margin:10px 0 0;color:var(--debug-red);font-size:11px}
.live-pill{border:1px solid #93a8ce;border-radius:12px;color:#315fba;padding:3px 8px;font-size:10px}.debug-status-list{padding:4px 16px 10px}.debug-status-list article{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.debug-status-list article:last-child{border-bottom:0}.debug-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#d9e1ee;color:#354e79;font-weight:700}.debug-status-list article>div{min-width:0}.debug-status-list strong,.debug-status-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.debug-status-list strong{font-size:12px}.debug-status-list small{color:var(--muted);font-size:9px;margin-top:4px}.debug-state{color:var(--muted);font-size:10px}.debug-state.busy{color:var(--debug-blue);font-weight:600}.debug-bottom-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:15px}.debug-table-card .table-scroll{max-height:270px}.debug-table-card table{width:100%;border-collapse:collapse;font-size:12px}.debug-table-card th{height:34px;color:var(--muted);font-size:10px;text-align:left;font-weight:500;padding:0 16px;background:var(--table-head)}.debug-table-card td{height:36px;padding:0 16px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}.warning-text{color:var(--debug-amber)}.return-text{color:var(--debug-red)}
@media(max-width:1200px){.debug-kpis{grid-template-columns:repeat(3,1fr)}.debug-kpis section:nth-child(4){border-left:0}.debug-kpis section:nth-child(n+4){border-top:1px solid var(--line)}.debug-main-grid{grid-template-columns:1fr}.debug-status-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.debug-bottom-grid{grid-template-columns:1fr}}
@media(max-width:640px){.debug-filters input[type=date]{height:36px}.debug-kpis{grid-template-columns:1fr 1fr}.debug-kpis section:nth-child(4){border-left:1px solid var(--line)}.debug-kpis section:nth-child(odd){border-left:0}.debug-kpis section:nth-child(n+3){border-top:1px solid var(--line)}.debug-kpis strong{font-size:19px}.debug-main-grid{display:block}.debug-status-card{margin-top:12px}.debug-status-list{display:block}.debug-card-title{padding:12px}.debug-legend{display:none}.debug-concurrency,.debug-timeline{min-width:760px}.debug-timeline-card{overflow:auto}.debug-bottom-grid{display:block}.debug-table-card+ .debug-table-card{margin-top:12px}.debug-table-card table{min-width:540px}}

.debug-now span{white-space:nowrap}
