:root{color-scheme:dark;--gold:#ecc57e;--ink:#111110;--panel:#191918;--line:#3c3830;--text:#efeae1;--sub:#b5ae9e}
body,body.operator{background:var(--ink);color:var(--text);font:14px/1.55 "Segoe UI Variable","Microsoft YaHei UI","Microsoft YaHei",sans-serif}
header,.operator header{background:#151514;color:#f4e5c7;border-color:#383329}.head,.operator .head{height:64px;max-width:1800px;padding:0 28px}.wordmark{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;letter-spacing:1px}.wordmark img{width:35px;height:35px;object-fit:contain}.head .edition{margin-left:auto;color:#d7be89}.head span,.operator .head span{color:#b7af9f}.head a,.operator .head a{color:#e6c383}.head .quiet,.operator .head .quiet{color:#e6d4b0;border-color:#5a4d37}
main,.operator main{max-width:1800px;padding:0 30px 28px}body:not(.operator) main{max-width:1220px}.login,.operator .login{max-width:465px;margin:clamp(50px,13vh,145px) auto}.login .panel,.operator .login form{padding:29px;background:linear-gradient(145deg,#2a251c,#191918 65%);border-color:#5b4c35}.login button{width:100%;margin-top:10px}.operator #content:has(.login)>h1{display:none}
.panel,section.panel,form.panel,article,.operator .panel,.operator .settings-menu,dialog,.operator dialog,.side-nav{color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:10px}h1,h2,h3,.operator h1,.operator h2,.operator h3{color:var(--text)}.operator h1{font-size:29px}.muted,small,.operator small,.operator .muted,.facts dt,.empty{color:var(--sub)}input,select,textarea,.operator input,.operator select,.operator textarea{background:#121210;color:#eee9df;border-color:#4a4437}label,.operator label,.operator summary{color:#d1c8b7}
button,.button,.operator button,.operator .primary{color:#221b10;background:var(--gold);border:1px solid #e8bf73}.quiet,.operator .quiet{background:#25231e;color:#ddd4c4;border-color:#494236}button:focus-visible,a:focus-visible,.operator a:focus-visible,.operator button:focus-visible{outline:2px solid var(--gold)}a,.operator dialog a,.operator .text-action,.operator .code-value{color:#e5c891}.operator .text-action,.operator .code-value{background:transparent;border:0}.operator .text-action.caution{color:#e2a288}.operator .filters button.quiet{background:#24221e;color:#c3baaa}.operator .filters .current,.operator .side-nav .selected{background:#352c20;color:#f1cd88}.operator .side-nav .selected{border-left-color:#d8b069}.operator .side-nav button{color:#d3cbbb}.admin-shell{grid-template-columns:190px minmax(0,1fr);gap:26px}.side-nav{position:sticky;top:14px}.operator th,.operator td,th,td{border-color:#38342c;color:#e2dcce}.operator th,th{background:#25221c;color:#bbac91}.inventory tr{border-color:var(--line)}.inventory td:before{color:#aea18a}.operator .timeline code,.operator code,code{color:#e1c593}.timeline li{border-color:#39332b}.operator dialog pre,pre{background:#24221c}.operator .drawer{border-radius:10px 0 0 10px}.pill{background:#2c281f;color:#deca9e}.pill.active{background:#263026;color:#b7d1ae}.pill.blocked{background:#392620;color:#efb9a0}.pill.expired,.pill.void{background:#302d26;color:#d0bd9a}
#status:not(:empty),.operator #status:not(:empty){background:#2d281f;border-color:#a5864c;color:#ebd2a0}.error,.operator dialog .error,.operator #status.error:not(:empty){color:#efb49e}.operator #status.error:not(:empty){background:#33241f;border-color:#b5826d}.notice-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(245px,.85fr);gap:16px;align-items:start}.notice-preview{padding:20px;background:linear-gradient(145deg,#2a251d,#1b1917);margin-top:14px}.notice-preview p{white-space:pre-wrap;overflow-wrap:anywhere}.model-editor{max-width:1000px}.model-editor h2:not(:first-child){border-top:1px solid var(--line);padding-top:17px;margin-top:20px}.model-editor input{font-family:Consolas,"Microsoft YaHei UI",sans-serif}
@media(max-width:900px){.admin-shell{display:block}.side-nav{position:static}.operator .side-nav .selected{border-left:0}.side-nav button{flex:none}.notice-layout{grid-template-columns:1fr}}
@media(max-width:650px){main,.operator main{padding:0 12px 18px}.head,.operator .head{padding:0 12px;gap:8px;flex-wrap:wrap;height:auto;min-height:55px}.head .edition{font-size:11px}.wordmark img{width:27px;height:27px}.head strong{font-size:18px}.login{margin:40px auto}.operator .page-title h1{font-size:24px}.operator .scroll{max-width:100%}.operator .list-panel{padding:12px}.side-nav{flex-wrap:nowrap}.layout{display:block}}

