:root{font-family:'Microsoft YaHei',sans-serif;color:#173f51;background:#edf4f9;font-size:14px}*{box-sizing:border-box}body{margin:0}header{height:88px;background:#fff;border-bottom:1px solid #d7e4ec;display:flex;align-items:center;justify-content:space-between;padding:0 4vw}.brand{display:flex;align-items:center;gap:14px;font-size:25px;font-weight:bold}.brand img{width:54px;height:54px;border-radius:14px}.brand small{display:block;font-size:12px;color:#6a8798;font-weight:normal;letter-spacing:2px;margin-top:5px}main{max-width:1680px;margin:auto;padding:26px 3vw}h1{font-size:29px;margin:12px 0}h2{font-size:20px;margin:8px 0 16px}h3{margin:8px 0 14px}p{line-height:1.8;color:#688294}.panel{background:white;border:1px solid #d9e6ef;border-radius:16px;padding:24px;margin:0 0 20px;box-shadow:0 7px 25px #184b6f05}.narrow{max-width:470px;margin:50px auto}.scope,nav,.actions,.dialog-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.scope label{min-width:180px}label{display:block;color:#456b80;line-height:1.8;margin:8px 0}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #c6d9e5;border-radius:8px;background:#fcfeff;color:#163f53;font:inherit}input:focus,select:focus{outline:2px solid #85dce9;outline-offset:1px}textarea{min-height:76px}button,a.button{border:1px solid #c9dce7;border-radius:8px;padding:11px 16px;color:#275a74;background:white;cursor:pointer;font:inherit;text-decoration:none}button:hover{background:#ecf8fd}button:disabled{opacity:.45;cursor:default}.primary,nav button.active{background:linear-gradient(110deg,#078ab7,#0aabb6);color:white;border-color:transparent}.danger{color:#ae3d49;border-color:#e4bfc5}nav{margin:18px 0 22px}nav button{padding:13px 25px}.muted{color:#7e97a5;font-size:12px}.steps,.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.step{padding:18px;border:1px solid #cbdde8;border-radius:12px;background:#f6fbfe}.step strong{display:block;color:#1685a7;font-size:16px;margin-bottom:8px}.cards{grid-template-columns:repeat(3,1fr)}.cards article{padding:20px;border:1px solid #d7e3eb;border-radius:12px;background:white}.cards b{display:block;font-size:25px;margin:12px 0;color:#16899e}.scroll{overflow:auto;max-height:650px}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:13px 12px;border:1px solid #d2e0e9;text-align:center;white-space:nowrap}th{background:#e9f4fa;font-weight:600;position:sticky;top:0;z-index:1}tr:nth-child(even) td{background:#f8fbfd}td.memo{white-space:normal;min-width:180px;max-width:330px;text-align:left}td button{padding:6px 9px;margin:2px}.badge{padding:5px 10px;display:inline-block;border-radius:6px;background:#def3e8;color:#2b896d}.warn{background:#fff2cf;color:#93631c}.bad{color:#b34554}.good{color:#278d72}#message{padding:16px 20px;background:#e0f4ec;border:1px solid #b2dbca;border-radius:10px;margin-bottom:20px}#message.bad{background:#ffeff1;border-color:#f1c5ce}.issues{padding:18px;background:#fff7e4;border:1px solid #e9d6a9;border-radius:10px;margin:16px 0;line-height:1.8}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.span2{grid-column:span 2}.note{background:#eaf7fc;border-left:3px solid #20a1be;padding:14px 18px;line-height:1.8;color:#47778d;margin:16px 0}.check{display:flex;align-items:center;gap:10px}.check input{width:auto}dialog{max-width:1080px;width:94vw;max-height:92vh;overflow:auto;border:1px solid #bdd6e4;border-radius:16px;padding:26px;color:#173f51}dialog::backdrop{background:#102a3a80;backdrop-filter:blur(4px)}.dialog-head{justify-content:space-between}.dialog-head h2{margin:0}.small-input{min-width:130px}.report-list{display:grid;gap:12px;margin:20px 0}.report-list a{color:#087b9e}footer{text-align:center;color:#8aa1ad;padding:30px}details{margin:12px 0}summary{cursor:pointer;color:#1788a5}.busy{pointer-events:none;opacity:.7}[hidden]{display:none!important}@media(max-width:850px){header{padding:12px 18px}.brand{font-size:20px}main{padding:20px 14px}.steps,.cards{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.span2{grid-column:span 1}.scope{align-items:stretch}.scope label{flex:1}nav button{padding:12px}.panel{padding:18px}}@media(max-width:500px){.steps,.cards{grid-template-columns:1fr}.scope label{min-width:140px}}

tfoot td{position:sticky;bottom:0;background:#fff0b5!important;border:1px solid #879ea8;font-weight:700;z-index:2}tfoot small{display:block;font-size:11px;color:#93631c;margin-top:5px}


/* Persistent, explicit task status; indeterminate movement is not a percentage. */
.task-notice{border:2px solid #2087b8;background:#edf8ff;padding:22px 24px;box-shadow:0 8px 30px #145d8720}
.task-notice.is-active{position:sticky;top:12px;z-index:30;box-shadow:0 10px 32px #145d8733}
.task-heading{display:flex;align-items:center;gap:14px}.task-title{flex:1;min-width:0}.task-title h2{font-size:22px;line-height:1.4;margin:4px 0;color:#123f60}
.task-badge{display:inline-block;font-size:13px;font-weight:700;color:#075d8d}.task-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#d7ecf8;color:#075d8d;font-size:26px;font-weight:700}
.task-spinner{background:transparent;border:4px solid #b8ddeb;border-top-color:#087fad;animation:task-spin .85s linear infinite}
.task-phase{margin:15px 0 12px;font-size:17px;font-weight:700;line-height:1.6;color:#183f55;overflow-wrap:anywhere}
.task-stages{display:flex;gap:8px}.task-stages span{flex:1;min-width:0;padding:7px 10px;border-radius:7px;background:#e2eaf0;color:#576c79;font-size:13px;text-align:center}.task-stages .is-passed{background:#d1edf9;color:#075e84;font-weight:700}
.task-motion{height:5px;margin:14px 0 0;border-radius:8px;overflow:hidden;background:#cce6f1}.task-motion span{display:block;width:35%;height:100%;background:#087fac;animation:task-sweep 1.8s ease-in-out infinite}
.task-meta{display:flex;gap:8px 22px;flex-wrap:wrap;margin-top:12px;color:#3d6177;font-size:12px}.task-hint{margin:9px 0 0;font-size:13px;color:#244f67;line-height:1.6}
.task-notice.is-done{border-color:#60aa88;background:#eef9f2}.is-done .task-badge,.is-done .task-title h2{color:#1b6443}.is-done .task-icon,.is-done .task-stages .is-passed{color:#1b6443;background:#d3eddf}
.task-notice.is-failed{border-color:#ca747a;background:#fff3f3}.is-failed .task-badge,.is-failed .task-title h2,.task-error{color:#8f2835}.is-failed .task-icon{background:#f6dbde;color:#8f2835}.task-error,.task-connection{margin:12px 0 0;line-height:1.7;overflow-wrap:anywhere}.task-connection{padding:10px 12px;background:#fff1cc;border-radius:7px;color:#7a5011}
.request-progress{position:fixed;top:14px;left:50%;transform:translateX(-50%);width:min(520px,calc(100% - 24px));z-index:10000;display:flex;gap:14px;align-items:center;padding:18px 20px;background:#f4fbff;border:2px solid #2087b8;border-radius:12px;box-shadow:0 10px 45px #143e6040;color:#123f60}.request-progress strong{display:block;font-size:18px}.request-progress small{display:block;margin-top:5px;font-size:13px;color:#345d75}
.dialog-progress{display:flex;gap:12px;align-items:center;margin:16px 0;padding:14px;border:1px solid #2087b8;background:#edf8ff;border-radius:8px;color:#123f60}.dialog-progress .task-icon{width:28px;height:28px;border-width:3px}
#content[aria-busy=true] button:disabled{opacity:.58;cursor:not-allowed}
@keyframes task-spin{to{transform:rotate(360deg)}}@keyframes task-sweep{0%{transform:translateX(-100%)}100%{transform:translateX(390%)}}
@media(max-width:600px){.task-notice{padding:16px 14px}.task-notice.is-active{top:8px}.task-heading{gap:10px}.task-title h2{font-size:18px}.task-icon{width:34px;height:34px}.task-heading button{padding:8px;font-size:12px}.task-phase{font-size:15px;margin:12px 0 10px}.task-stages{gap:5px}.task-stages span{font-size:12px;padding:6px 4px}.task-meta{gap:5px 12px}.task-hint{font-size:12px}.request-progress{padding:14px}.request-progress strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){.task-spinner,.task-motion span{animation:none}}
@media print{#task,#request-progress,#dialog-progress{display:none!important}}

.task-stages .is-error{background:#f6dbde;color:#8f2835;font-weight:700}

.task-notice.is-pinned-terminal{position:sticky;top:12px;z-index:30}@media(max-width:600px){.task-notice.is-pinned-terminal{top:8px}}

/* Shared visual language with the Datang channel circuit console. */
:root{color-scheme:dark;--bg:#060e12;--ink:#dfe9f0;--muted:#8da2b0;--line:#293e4b;--gold:#efbb6e;--cyan:#6bb6e6;background:var(--bg);color:var(--ink);font-family:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif}
body{background-color:var(--bg);background-image:radial-gradient(ellipse at 10% 0,#123f5b25,transparent 44%),radial-gradient(ellipse at 100% 20%,#89612810,transparent 52%),linear-gradient(#cba55e08 1px,transparent 1px),linear-gradient(90deg,#cba55e08 1px,transparent 1px);background-size:auto,auto,24px 24px,24px 24px;line-height:1.55}
header{height:67px;padding:0 32px;background:#0a161eea;border-bottom:1px solid #90703b60;color:#9facb5;gap:18px}.brand{color:#eef3f6;font-size:22px;letter-spacing:1px;gap:12px}.brand img{width:46px;height:46px;border-radius:0;object-fit:contain;filter:drop-shadow(0 0 7px #64aedd2c)}.brand small{font-size:12px;letter-spacing:3px;color:#b9a779}.console-location{display:none;font-size:12px;color:#9facb5}.console-location small{display:block;color:#bfa56d;font-size:10px;letter-spacing:1.5px;margin-top:3px}#who{font-size:12px;color:#a9bac5}
main{max-width:2200px;padding:30px 32px 40px;min-width:0}.finance-sidebar{display:none}body:has(#workspace:not([hidden])) .finance-sidebar{position:fixed;inset:0 auto 0 0;z-index:50;display:flex;flex-direction:column;width:238px;padding:30px 22px;background:linear-gradient(175deg,#0b1a23f5,#071016fa);border-right:1px solid #8c713b70;box-shadow:10px 0 36px #0002;overflow-y:auto}body:has(#workspace:not([hidden])) header{margin-left:238px}body:has(#workspace:not([hidden])) header>.brand{display:none}body:has(#workspace:not([hidden])) .console-location{display:block}body:has(#workspace:not([hidden])) main{margin-left:238px;width:calc(100% - 238px)}body:has(#workspace:not([hidden])) footer{margin-left:238px}
.sidebar-workspace{position:relative;margin:30px 0;padding:16px 14px;background:linear-gradient(120deg,#212c3370,#11212c70);border:1px solid #96754165;border-radius:8px;color:#cfd9df;font-size:13px}.sidebar-workspace:before{content:"";position:absolute;left:-1px;top:15px;bottom:15px;width:2px;background:var(--gold);box-shadow:0 0 9px #efbb6e55}.sidebar-workspace small{display:block;color:#899daa;font-size:11px;margin-top:5px}.finance-sidebar nav{display:grid;gap:9px;margin:0}.finance-sidebar nav button{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:13px 14px;color:#a3b6c2;background:transparent;border:1px solid transparent;box-shadow:none;border-radius:6px;white-space:nowrap}.finance-sidebar nav button:before{content:"▦";width:20px;text-align:center;color:#81b4d4;font-size:20px;font-weight:400}.finance-sidebar nav button[data-tab=cash]:before{content:"⇄"}.finance-sidebar nav button[data-tab=transfer]:before{content:"↗"}.finance-sidebar nav button[data-tab=settings]:before{content:"⚙"}.finance-sidebar nav button:hover{background:#172b3770;color:#e2f4ff}.finance-sidebar nav button.active{background:linear-gradient(90deg,#785a282f,#152d3c90);border-color:#a5844555;color:#f2d498;box-shadow:inset 3px 0 var(--gold)}.finance-sidebar nav button.active:before{color:#f0cb87}.sidebar-bottom{margin-top:auto;padding-top:32px;color:#8ca1ae;font-size:11px}.sidebar-bottom span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:7px;background:#71b4df;box-shadow:0 0 9px #71b4df44}.sidebar-bottom p{margin:6px 0;color:#8ca1ae;font-size:11px}
h1{font-size:28px;color:#f0e5c7;font-weight:650;margin:10px 0 14px}h2{color:#dbe6ed;font-size:19px}h3{color:#d0ae70}p{color:#9aadb9}.muted{color:#8fa4b1}.panel,.cards article{background:linear-gradient(140deg,#101f29f2,#0b1820f5);border-color:#354a58;border-radius:10px;box-shadow:inset 0 1px #c4d4df07,0 12px 30px #0002}.panel{padding:24px;margin-bottom:22px}.scope{background:#0d1c26ed;border-color:#354a57;padding:16px 22px;align-items:flex-end;gap:10px 14px}.scope label{min-width:160px;margin:0}.scope>.muted{align-self:center;margin-left:auto;max-width:240px;line-height:1.6}.scope>button{min-height:43px;margin-bottom:0}label{color:#a9b9c4}input,select,textarea{background:#0a1821;border-color:#344a58;color:#d2dfe8;caret-color:#8ac3e8;border-radius:6px}input::placeholder,textarea::placeholder{color:#7a909e}input:focus,textarea:focus,select:focus{outline:2px solid #85abc4;outline-offset:1px;box-shadow:0 0 0 3px #6cb3e012}select option{background:#10202b;color:#d5e1e9}
button,a.button{background:#10222d;border-color:#344a58;color:#c4d4df;border-radius:7px;box-shadow:inset 0 1px #bed8e906;transition:background .15s,border-color .15s}button:hover,a.button:hover{background:#172d3b;border-color:#6d9ab7;color:#f3faff}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}button:disabled{opacity:.48;cursor:not-allowed}.primary{background:linear-gradient(115deg,#1b4c6c,#173f59);border-color:#6598b9;color:#eaf7ff;box-shadow:inset 0 1px #dcf1ff22,0 5px 18px #0003}.primary:hover{background:linear-gradient(115deg,#23597c,#1c4f6f);border-color:#a3cbe5}.danger{background:#392728;color:#f1b4a4;border-color:#8d544b}.danger:hover{background:#51302e;border-color:#bf8676}.steps{gap:12px}.step{background:#10222d;border-color:#354a58;border-radius:8px;padding:17px}.step strong{color:#b0cbdd;font-size:15px}.step span{color:#9eaeb9;font-size:12px}.cards{gap:16px}.cards article{position:relative;overflow:hidden;min-width:0}.cards article:before{content:"";position:absolute;top:0;left:16px;right:16px;height:1px;background:linear-gradient(90deg,transparent,#b7995960,#75b2d960,transparent)}.cards b{color:#edc989;font-variant-numeric:tabular-nums}.cards article>span{color:#a7b8c3}.cards article:nth-child(3){background:linear-gradient(130deg,#2d2b20bb,#17232a)}
.scroll{max-width:100%;border:1px solid #354a58;border-radius:7px;scrollbar-color:#415663 #0b1820}table{font-variant-numeric:tabular-nums}th,td{border-color:#283d4b}th{background:#182a36;color:#c7d6df;border-bottom-color:#576772;font-size:12px}td{background:#0d1d28;color:#c8d6df}tr:nth-child(even) td{background:#11232e}tbody tr:hover td{background:#1a2e3b;color:#e0ecf4}td button{font-size:12px}tfoot td{background:#24313a!important;color:#f2d99e;border-color:#4e6370;border-top:2px solid #688496}tfoot small{color:#e6c187}.badge{background:#162e3d;color:#a4c9e1;border:1px solid #385568}.warn{background:#493a20;color:#f1ce8c}.good{color:#9cc6e1}.bad{color:#ffb6a4}#message{background:#152d3c;border-color:#638093;color:#dfedf6}#message.bad{background:#452b29;border-color:#a96c5b;color:#ffe0cf}.issues{background:#332c1c;border-color:#80653b;color:#edcf98}.note{background:#122632;border-left-color:#679bbc;color:#b1c9d8}.note.good{color:#a4cae3}.report-list a,summary{color:#92c2e0}.report-list a:hover{color:#d5efff}details{color:#adbfca}footer{color:#8d9da8;font-size:11px;line-height:1.8;padding:24px 28px}.grid>*{min-width:0}
dialog{background:linear-gradient(140deg,#10222d,#0b1821);border-color:#93774388;color:#d9e3e9;box-shadow:0 30px 90px #0007;border-radius:12px}dialog::backdrop{background:#02090ed6}.dialog-head{padding-bottom:16px;border-bottom:1px solid #3a4953;margin-bottom:18px}.dialog-head h2{color:#f0dda6}.check input{accent-color:#c9b575}.narrow{background:linear-gradient(135deg,#10222df2,#091821f7);border-color:#a0804680;box-shadow:0 25px 85px #0005,inset 0 1px #d3b36d35;padding:36px}.narrow h1{font-size:25px;color:#f0ddaf}.narrow form>button{width:100%;margin-top:15px}
.task-notice{background:#102532;border-color:#68a1c5;box-shadow:0 10px 32px #0003}.task-title h2,.task-badge{color:#a1d0ee}.task-icon{background:#203a4b;color:#a1d0ee}.task-spinner{background:transparent;border-color:#344f60;border-top-color:#86bfe4}.task-phase{color:#d0e1ec}.task-stages span{background:#1c303c;color:#b3c2cb}.task-stages .is-passed{background:#203d50;color:#c0dff3}.task-motion{background:#203848}.task-motion span{background:#80b9de}.task-meta,.task-hint{color:#a5bac7}.task-notice.is-done{background:#11232f;border-color:#6990a9}.is-done .task-badge,.is-done .task-title h2{color:#b4d7ed}.is-done .task-icon,.is-done .task-stages .is-passed{color:#b4d7ed;background:#253d4c}.task-notice.is-failed{background:#302125;border-color:#b97971}.is-failed .task-badge,.is-failed .task-title h2,.task-error{color:#ffc4b2}.is-failed .task-icon,.task-stages .is-error{background:#513137;color:#ffd1c2}.task-connection{background:#493a20;color:#f4d399}.request-progress,.dialog-progress{background:#102532;border-color:#68a1c5;color:#d2e7f5}.request-progress small{color:#a6bbc9}.request-progress{box-shadow:0 10px 45px #0007}
@media(min-width:2200px){body:has(#workspace:not([hidden])) main{max-width:none;padding-left:42px;padding-right:42px}}
@media(max-width:1150px) and (min-width:721px){body:has(#workspace:not([hidden])) .finance-sidebar{width:190px;padding:25px 15px}body:has(#workspace:not([hidden])) header,body:has(#workspace:not([hidden])) main,body:has(#workspace:not([hidden])) footer{margin-left:190px}body:has(#workspace:not([hidden])) main{width:calc(100% - 190px);padding:24px}.finance-sidebar .brand{font-size:18px}.finance-sidebar .brand img{width:38px;height:38px}.finance-sidebar nav button{padding:12px 10px;font-size:13px}.scope>.muted{max-width:none;margin-left:0;flex-basis:100%}}
@media(max-width:720px){body:has(#workspace:not([hidden])) .finance-sidebar{position:static;width:100%;padding:18px 16px;border-right:0;border-bottom:1px solid #8c713b70;box-shadow:none;overflow:visible}body:has(#workspace:not([hidden])) header,body:has(#workspace:not([hidden])) main,body:has(#workspace:not([hidden])) footer{margin-left:0}body:has(#workspace:not([hidden])) main{width:100%;padding:0 0 20px}header{height:auto;min-height:60px;padding:12px 16px}.console-location small{font-size:9px}#who{font-size:11px}header #logout{padding:7px 10px;font-size:12px}.sidebar-workspace,.sidebar-bottom{display:none}.finance-sidebar .brand{font-size:20px}.finance-sidebar .brand img{width:42px;height:42px}.finance-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:18px}.finance-sidebar nav button{padding:9px 10px;font-size:13px}.finance-sidebar nav button:before{font-size:18px}#workspace>.scope,#workspace>#message,#workspace>#task,#workspace>#content{margin-left:14px;margin-right:14px}#workspace>.scope{margin-top:20px;padding:16px;gap:10px}.scope label{min-width:0;flex:1 1 140px}.scope>.muted{flex-basis:100%;max-width:none;margin:3px 0 0}.scope>button{padding:9px 11px;font-size:12px;min-height:39px}.panel{padding:18px 16px}h1{font-size:24px}.cards,.steps{gap:10px}.cards article{padding:17px}.cards b{font-size:23px}.step{padding:14px}.step strong{font-size:14px}dialog{padding:20px 16px}.task-heading{flex-wrap:wrap}.task-title{flex-basis:calc(100% - 50px)}.task-heading button{flex:1}.task-notice{padding:16px 14px}.narrow{margin:30px 14px;padding:28px 22px}}
@media(prefers-reduced-motion:reduce){button,a.button{transition:none}}

/* Thunder Dragon: shared identity, quiet surfaces for financial and channel data. */
:root{color-scheme:dark;--bg:#081622;--ink:#dcebf6;--muted:#98b6c8;--line:#335768;--gold:#efd698;--cyan:#79d8ed;--green:#79d8ed;--soft:#163747}
body{background:radial-gradient(ellipse at 80% 10%,#1a536466,transparent 50%),linear-gradient(120deg,#081622,#0d2431 65%,#0b1827);color:#d6e8f1}
header{background:#0c1e2ce0;border-color:#315565;color:#a1c4d4}.brand{color:#e6f6ff}.brand small,.brand span{color:#86a8bb}.brand img{filter:drop-shadow(0 0 7px #72ceea33)}h1{color:#e1f5ff}h2{color:#d0e8f1}h3{color:#c7dfed}p,.muted{color:#9cbac7}.console-location,.console-location small,.system-status{color:#a4c4d6}.eyebrow,.section-kicker{color:#8acbdc}.console-beacon{background:#89dcf0;border-color:#bdecff;box-shadow:0 0 10px #7ed9f066}
button,a.button,.button{background:#143243;border-color:#3c6578;color:#bfdde9;box-shadow:inset 0 1px #c4eaff0a}button:hover,a.button:hover,.button:hover{background:#20485c;border-color:#76bdd5;color:#effbff}.primary{background:linear-gradient(110deg,#227894,#20566e);border-color:#6bb9cd;color:#eefcff;box-shadow:0 4px 17px #53c7e21c}.primary:hover{background:linear-gradient(110deg,#2a8aa6,#2b7189);border-color:#9ad8e7;color:white}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #96deed;outline-offset:3px}.danger{background:#452b32;color:#f3bfb3;border-color:#a07478}.danger:hover{background:#603b41;border-color:#d09a9b;color:#ffe2dc}
input,select,textarea{background:#0b202e;border-color:#3d6071;color:#cce9f2;caret-color:#a9e4f3}input::placeholder,textarea::placeholder{color:#86a6b9}input:focus,select:focus,textarea:focus{outline-color:#86cfe4;border-color:#86cfe4;box-shadow:0 0 0 2px #65c7e318}select option{background:#102a3a;color:#d8eaf6}label{color:#a4becc}
.panel,.cards article{background:linear-gradient(125deg,#102c3bea,#102430eb);border-color:#335768;box-shadow:0 8px 24px #0002,inset 0 1px #a2daee0b}.cards article:before{background:linear-gradient(90deg,transparent,#76c9dd,transparent)}.cards article>span{color:#9cbac9}.cards strong,.cards b{color:#d8eaf3}.cards small{color:#8facbf}.cards article:last-child,.cards .accent{background:linear-gradient(135deg,#213c44,#162c3a);border-color:#527785}.cards article:last-child b,.cards .accent strong{color:#efd698}
.finance-sidebar,.sidebar{isolation:isolate;background:linear-gradient(#091825ef,#0a1d2bf2);border-right-color:#3b65737d;box-shadow:12px 0 32px #0002}.finance-sidebar:after,.sidebar:after{content:"";position:absolute;left:0;right:0;bottom:0;height:54vh;background:linear-gradient(#0a1b29,transparent 65%),url('/static/dragon-thunder.png') 66% bottom/auto 600px no-repeat;opacity:.29;pointer-events:none;z-index:0}.finance-sidebar>*,.sidebar>*{position:relative;z-index:1}.sidebar-workspace,.workspace{background:linear-gradient(120deg,#173a4b,#102a3b);border-color:#396575;color:#b3d5e5}.sidebar-workspace small,.workspace small{color:#92b8ca}.sidebar-workspace:before,.workspace:before{background:#6ed6f4;box-shadow:0 0 9px #6ed6f455}.finance-sidebar nav button,.sidebar nav button{color:#a3c2d4}.finance-sidebar nav button:before,.nav-icon{color:#8acbe2}.finance-sidebar nav button:hover,.sidebar nav button:hover{background:#173c50;color:#d7f5ff}.finance-sidebar nav button.active,.sidebar nav button.active{background:linear-gradient(90deg,#174960,#163345);color:#b8eaff;border-color:#3b7b92;box-shadow:inset 3px 0 #6ed6f4}.finance-sidebar nav button.active:before,.sidebar nav button.active .nav-icon{color:#84ddf3}.sidebar-bottom,.sidebar-bottom p,.side-bottom,.side-bottom button{color:#9abac9}.status-dot,.sidebar-bottom span:before{background:#8edbe7;box-shadow:0 0 9px #8edbe744}
.dragon-hero,#content>h1,.page-heading{background:linear-gradient(90deg,#0d2637 0%,#102c3cdd 39%,#0c2a3c44 65%,#13324522),url('/static/dragon-thunder.png') right 30%/850px auto no-repeat;border:1px solid #4c7889;border-radius:12px;box-shadow:0 0 35px #55c7e512,inset 0 -2px #69bdd755;color:#e1f5ff}.page-heading h1{color:#e1f5ff;text-shadow:0 0 20px #6dcfe633}.page-heading p.muted{color:#b7d1df}.page-heading .eyebrow{color:#9ed7e9}.page-heading .actions button{background:#102e42e8;border-color:#568698;color:#d0edf6}.page-heading .actions .primary{background:linear-gradient(110deg,#227894,#20566e);color:#eefcff}.page-heading{padding:25px 26px;min-height:178px;gap:24px}.page-heading>div:first-child{max-width:65%}.page-heading .actions{max-width:300px;justify-content:flex-end}
th{background:#204251;color:#bddde9;border-color:#3a5c6c}td{background:#0e2a38;color:#c9dfe9;border-color:#2c4d5c}tbody tr:nth-child(even) td,tr:nth-child(even) td{background:#143341}tbody tr:hover td{background:#204557;color:#edf9ff}.scroll,.table-scroll,.table-panel{border-color:#355c6c;scrollbar-color:#456f84 #0b202e}tfoot td{background:#2b4650!important;color:#efddb1;border-color:#486c75}.badge{background:#204a43;color:#b6e7ce;border-color:#4f7b6b}.warn{background:#4a3c25;color:#f2d39b}.good{color:#a7e4c3}.bad,.error{color:#ffc4b2}.note{background:#183c4b;border-left-color:#6cbcd1;color:#bbdce6}.note.good{color:#b6ebd1}.issues{background:#3d3320;border-color:#8b7349;color:#f1d3a0}summary,.report-list a{color:#a0deef}footer{color:#8cabbc}
dialog{background:linear-gradient(135deg,#132d3e,#0d2231);border-color:#557d91;color:#d4e6ef;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#020b14d6;backdrop-filter:blur(4px)}.dialog-head,.dialog-heading{border-color:#3a6174}.dialog-head h2,.dialog-heading h2{color:#d6f1ff}.edit-grid label{color:#abc5d5}#message,#toast{background:#163f49;border-color:#528c9e;color:#d7f4f6}#message.bad,#toast.bad{background:#452b32;border-color:#a07478;color:#ffe0d5}
.task-notice{background:#102e40;border-color:#6dc5e1}.task-title h2,.task-badge{color:#b8eaff}.task-icon{background:#234b61;color:#b8eaff}.task-spinner{background:transparent;border-color:#3c6278;border-top-color:#96dff4}.task-phase{color:#d2ecf7}.task-meta,.task-hint{color:#afcedf}.task-stages span{background:#203e50;color:#b2cfdd}.task-stages .is-passed{background:#2a576a;color:#d0f2ff}.task-motion{background:#224657}.task-motion span{background:#93ddf0}.task-notice.is-done{background:#15362d;border-color:#79b196}.is-done .task-badge,.is-done .task-title h2{color:#b4edc8}.is-done .task-icon,.is-done .task-stages .is-passed{color:#b4edc8;background:#254c3c}.task-notice.is-failed{background:#302125;border-color:#b97971}.is-failed .task-badge,.is-failed .task-title h2,.task-error{color:#ffc4b2}.is-failed .task-icon,.task-stages .is-error{background:#513137;color:#ffd1c2}.task-connection{background:#493a20;color:#f4d399}.request-progress,.dialog-progress{background:#102e40;border-color:#6dc5e1;color:#d2ecf7}.request-progress small{color:#afcedf}
@media(max-width:720px){.finance-sidebar:after,.sidebar:after{height:100%;opacity:.11;background-size:cover;background-position:right 28%}.page-heading{padding:20px 18px;min-height:190px;background-size:680px auto;background-position:65% 30%}.page-heading>div:first-child{max-width:100%}.page-heading .actions{max-width:none;justify-content:flex-start}.page-heading p.muted{background:#0d263799;border-radius:5px;padding:7px 9px}.page-heading .actions button{font-size:11px;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){button,.button{transition:none}}

#content>h1{padding:42px 30px;min-height:154px;margin:20px 0;font-size:29px;display:flex;align-items:center;text-shadow:0 0 20px #6dcfe633}body:not(:has(#workspace:not([hidden]))){background:linear-gradient(100deg,#081622f2,#0e2636aa),url('/static/dragon-thunder.png') center/cover no-repeat fixed}.narrow{background:linear-gradient(135deg,#102c3bf0,#102430f2);border-color:#557d91}.narrow h1{color:#e1f5ff}.scope{background:#102938e8}.scope label,.scope>.muted,#who{color:#a4becc}.console-location small{color:#9ec6d8}.step{background:#102c3b;border-color:#335768}.step strong{color:#b7ddeb}.step span{color:#a9c4d2}td button{background:#163747;border-color:#3a6374;color:#b6d8e7}tfoot small{color:#efcf9c}.check input{accent-color:#83c9dc}.task-notice.is-active,.task-notice.is-pinned-terminal{z-index:30}
@media(max-width:720px){#content>h1{font-size:25px;min-height:140px;padding:26px 20px;background-size:660px auto;background-position:58% 30%}}

/* Other workbenches remain usable while a scoped task runs. */
.task-notice.is-background{position:static;padding:16px 20px;border-width:1px;background:#102b3a;box-shadow:none}.task-notice.is-background .task-title h2{font-size:17px}.task-notice.is-background .task-icon{width:32px;height:32px;font-size:19px;border-width:3px}.task-notice.is-background .task-stages,.task-notice.is-background .task-motion{display:none}.task-notice.is-background .task-phase{font-size:14px;margin:8px 0}.task-notice.is-background .task-meta{margin-top:8px}

/* Unified ledger surface; accounting signs retain their established colors. */
main,#workspace,#content,.panel{min-width:0}
#content>h1{min-height:104px;padding:24px 26px;margin:0 0 20px;font-size:26px}
.panel{padding:22px;border-color:#365464;box-shadow:0 6px 20px #00000014}
.panel h2{font-size:18px;margin-bottom:16px;letter-spacing:.3px}
.panel>p{font-size:13px;line-height:1.85;max-width:1200px;margin:16px 0;color:#a9c1cf}
.steps{margin:16px 0 20px}.step{padding:14px 16px}.step strong{font-size:14px}
.actions{gap:10px}.actions button{padding:10px 15px}
.scroll{width:100%;max-width:100%;max-height:min(66vh,620px);overflow:auto;isolation:isolate;position:relative;background:#f3f6f8;border:1px solid #b6c7d0;border-radius:9px;scrollbar-width:auto;scrollbar-color:#7593a4 #e6edf1;overscroll-behavior-x:contain}
.scroll:focus-visible{outline:2px solid #83d5ed;outline-offset:3px}
.scroll table{border-collapse:separate;border-spacing:0;color:#263e4c;font-size:12px;line-height:1.5}
.scroll th,.scroll td{padding:11px 12px;border:0;border-right:1px solid #d5e0e6;border-bottom:1px solid #d5e0e6;height:44px}
.scroll th{background:#e3ecf2;color:#35576a;top:0;z-index:3;font-weight:600;box-shadow:0 1px #aebfc9}
.scroll td{background:#f8fafb;color:#354e5e}
.scroll tbody tr:nth-child(even) td{background:#edf3f6}
.scroll tbody tr:hover td{background:#dfedf4;color:#1d3b50}
.scroll th:last-child,.scroll td:last-child{border-right:0}
.scroll tbody tr:last-child td{border-bottom:0}
.scroll td button{margin:0;padding:6px 10px;background:#e7f0f6;border:1px solid #a8bfce;border-radius:5px;color:#245b79;white-space:nowrap}
.scroll td button:hover{background:#d1e7f3;border-color:#609bb9;color:#123d56}
.scroll td button.danger{color:#a83838;border-color:#d9a7a7;background:#fff0ee}
.scroll tfoot td{height:50px;background:#dde9ee!important;color:#284c60;border-top:2px solid #8faeba;border-bottom:0;z-index:4;font-weight:700}
.scroll tfoot small{max-width:100px;white-space:normal;margin:3px auto 0;font-size:10px;line-height:1.5;color:#6b6251!important;font-weight:400}
.scroll td small{color:#647b89}.scroll .good{color:#28764f}.scroll .bad{color:#c32020}
.table-hint{margin:14px 0 7px;color:#91b3c6;font-size:12px;display:flex;align-items:center;gap:7px}
.table-hint:before{content:'↔';font-size:17px;color:#83d5ed}
.recon-scroll th{white-space:normal;min-width:82px;max-width:112px;padding:10px 8px}
.recon-scroll td{padding:7px 9px}
.recon-scroll th:first-child,.recon-scroll td:first-child{position:sticky;left:0;min-width:94px;text-align:left;font-weight:600;border-right:1px solid #b7cbd6;box-shadow:3px 0 7px #24455b0c;z-index:2}
.recon-scroll th:last-child,.recon-scroll td:last-child{position:sticky;right:0;min-width:102px;border-left:1px solid #b7cbd6;box-shadow:-3px 0 7px #24455b0c;z-index:2}
.recon-scroll th:first-child,.recon-scroll th:last-child{z-index:5;background:#d9e7ef}
.recon-scroll tfoot td:first-child,.recon-scroll tfoot td:last-child{z-index:5}
table td.numeric-cell{color:#000!important}
table .numeric-cell,table .numeric-cell *,table .numeric-nonnegative{color:#000!important}
table td.numeric-negative,table .numeric-negative,table .numeric-negative *{color:#d60000!important}
@media(max-width:1150px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){#content>h1{min-height:92px;padding:20px;font-size:23px}.panel{padding:18px 14px}.scroll{max-height:62vh}.scroll th,.scroll td{padding:7px 10px;font-size:12px}.recon-scroll th:first-child,.recon-scroll td:first-child{min-width:84px}.recon-scroll th:last-child,.recon-scroll td:last-child{min-width:96px}}
@media(max-width:500px){.steps{grid-template-columns:1fr}.table-hint{font-size:11px}}

/* Outstanding advances remain visible across business dates on both platforms. */
.prepay-ledger{margin:20px 0 24px;padding:20px;background:#0d2532;border:1px solid #477286;border-radius:10px}
.prepay-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.prepay-heading h3{color:#d4edfa;font-size:17px;margin:0 0 8px}.prepay-heading p{font-size:12px;margin:0;color:#a5bfce;line-height:1.8}
.prepay-total{flex-shrink:0;min-width:205px;padding:12px 18px;background:#163747;border:1px solid #3c687e;border-radius:8px}.prepay-total>span{display:block;font-size:11px;color:#a9c9db}.prepay-total strong{display:block;font-size:24px;font-weight:650;color:#e0f3fc;line-height:1.6;font-variant-numeric:tabular-nums}.prepay-total small{font-size:13px;color:#a9c9db}
.prepay-ledger .scroll table{min-width:960px}.prepay-ledger .scroll td:nth-child(5){font-weight:700}.prepay-status{display:inline-block;border:1px solid #d6bd86;background:#fff3d7;color:#805818;border-radius:4px;padding:3px 8px;font-size:11px;white-space:nowrap}.prepay-status.settled{background:#e4f1e9;border-color:#b0cebb;color:#32694a}
.prepay-help,.prepay-empty{font-size:12px;line-height:1.8;color:#a5bfce}.prepay-help{margin:12px 0 0}.prepay-empty{padding:18px;background:#12303e;border-radius:6px;border:1px dashed #3d6479}
@media(max-width:720px){.prepay-ledger{padding:14px 12px}.prepay-heading{align-items:stretch;flex-direction:column;gap:12px}.prepay-total{min-width:0}.prepay-total strong{font-size:22px}}

#external-advertising-settings summary{cursor:pointer;padding:10px 0;font-weight:600}#external-advertising-settings details>label{display:block;max-width:560px;margin:12px 0}.external-ad-channel-list{max-height:520px;overflow:auto}.external-ad-channel-list table{min-width:800px}.external-ad-channel-list th{position:sticky;top:0;z-index:1}

.finance-sidebar nav button[data-tab=promotion]:before{content:"▤"}
.finance-sidebar nav button[data-tab=mystery]:before{content:"◇"}
.zb-layout-tabs{display:flex;flex-wrap:wrap;gap:.45rem;margin:.7rem 0}
.zb-layout-tabs button[aria-current=true]{border-color:#84bccc;background:#344c59}
.zb-read-result{margin:.85rem 0 1.2rem;padding:1rem;border:1px solid #48636e;border-radius:.6rem}
.zb-read-result h3{margin-top:0}
.zb-read-progress{font-weight:700}
.zb-read-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.4rem .8rem;margin:.75rem 0}
.zb-read-metrics div{padding:.45rem 0;border-bottom:1px solid #48636e}
.zb-read-metrics dd{font-variant-numeric:tabular-nums;margin:.15rem 0 0;font-weight:700}
.zb-read-layout{margin:.75rem 0}
.zb-read-layout table{min-width:0}
.zb-read-layout summary{cursor:pointer}
