:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#253e3b;background:#f5f7f7;font-size:14px;font-synthesis:none;--accent:#23766a;--muted:#738682;--line:#e2eae7;--shadow:0 4px 18px #183d3010}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:11px 18px;transition:background .15s}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #9bd8cd;outline-offset:3px}input,textarea,select{border:1px solid #dbe5e1;background:white;color:inherit;border-radius:10px;padding:12px;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#429586;box-shadow:0 0 0 3px #23766a12}label{display:flex;flex-direction:column;gap:9px;margin-bottom:20px;font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.45;letter-spacing:-.5px}h2{font-size:24px}h3{font-size:17px;margin-bottom:14px}.muted,.fine{color:var(--muted);line-height:1.8}.fine{font-size:12px}.primary{background:var(--accent);color:white}.primary:hover{background:#195e54}.secondary{background:#edf3f0;color:#31594f;border:1px solid #dae7e0}.ghost{background:transparent;color:var(--muted)}.error{color:#aa4938;white-space:pre-wrap;line-height:1.6}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--muted);display:block;margin-bottom:12px}.brand{font-size:22px;font-weight:700;letter-spacing:.5px}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1440px;margin:auto;padding:70px 6%;gap:12%}.login-story{padding:20px 0}.login-story .brand{margin-bottom:100px}.login-story h1{font-size:44px;line-height:1.55}.login-story>p{font-size:16px;line-height:2;color:var(--muted)}.story-note{display:flex;gap:18px;align-items:center;border-top:1px solid var(--line);padding-top:30px;margin-top:60px}.story-note>span{font-size:42px;color:#99b4a4}.story-note p{margin:0;font-size:16px;line-height:1.8}.story-note small{color:var(--muted)}.login-card{align-self:center;background:white;border:1px solid var(--line);border-radius:22px;padding:44px;box-shadow:var(--shadow)}.login-card form{margin-top:32px}.login-card .primary{width:100%}.shell{display:flex;min-height:100vh}.shell[hidden],.login-wrap[hidden]{display:none}aside{width:230px;background:#edf3ef;border-right:1px solid #e1e9e4;padding:34px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.side-caption{color:var(--muted);font-size:12px;margin:10px 0 42px}nav{display:flex;flex-direction:column;gap:8px}nav button{text-align:left;background:transparent;color:#61796d;padding:14px 16px}nav button.active{background:#d9e9df;color:#1b5d48;font-weight:600}.side-bottom{margin-top:auto;display:flex;flex-direction:column;gap:9px;border-top:1px solid #d8e4db;padding-top:25px}.side-bottom span{color:var(--muted);font-size:12px}.side-bottom button{align-self:flex-start;padding-left:0}main{margin-left:230px;padding:42px 4%;width:calc(100% - 230px);max-width:1700px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}header h1{margin-bottom:0}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:24px 0 30px}.metric{padding:24px;border:1px solid var(--line);border-radius:16px;background:white;box-shadow:var(--shadow)}.metric span{color:var(--muted);font-size:13px}.metric strong{display:block;font-size:32px;font-weight:600;margin:18px 0 8px}.metric small{color:var(--muted)}.panel{background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:26px;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.panel-head h3{margin:0}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.kv{display:flex;justify-content:space-between;padding:15px 0;border-bottom:1px solid #edf1ee;gap:20px}.kv:last-child{border:0}.kv span{color:var(--muted)}.pill{background:#edf5f0;color:#387953;display:inline-block;border-radius:6px;font-size:12px;padding:5px 9px;white-space:nowrap}.pill.warn{background:#fff4df;color:#9a7021}.pill.off{background:#f5eae6;color:#9c5c4b}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f7f9f8;color:var(--muted);font-weight:500;font-size:12px;padding:14px}td{padding:18px 14px;border-bottom:1px solid #edf1ee}td small{display:block;color:var(--muted);margin-top:7px}.table-action{background:transparent;color:var(--accent);padding:7px 10px}.toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.toolbar input{max-width:330px}.empty{text-align:center;padding:60px 20px;color:var(--muted);line-height:2}.extension-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.extension-card{display:flex;flex-direction:column;gap:12px}.extension-card p{line-height:1.8;color:var(--muted);flex:1;overflow-wrap:anywhere}.extension-card h3{margin:0}.extension-card .toolbar{margin:0}footer{color:#98a79e;font-size:12px;margin-top:40px}#notice:empty{display:none}#notice{padding:12px 16px;border:1px solid var(--line);background:white;border-radius:10px;line-height:1.7}progress{width:100%;height:10px;accent-color:var(--accent)}dialog{border:1px solid var(--line);border-radius:20px;padding:0;box-shadow:0 16px 70px #183d3030;width:min(660px,calc(100vw - 32px));max-height:90vh;color:inherit}dialog::backdrop{background:#102b2644}.dialog-content{padding:28px;overflow:auto}.dialog-head,.dialog-actions{display:flex;justify-content:space-between;gap:12px;align-items:center}.dialog-head h2{margin:0}.dialog-head{margin-bottom:24px}.dialog-actions{justify-content:flex-end;margin-top:24px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6f4;padding:18px;border-radius:10px;line-height:1.6}textarea{min-height:150px;resize:vertical}.code{font-family:monospace;font-size:17px;word-break:break-all}.loading{padding:50px;color:var(--muted)}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}aside{width:190px}main{margin-left:190px;width:calc(100% - 190px);padding:32px 24px}}@media(max-width:700px){.login-wrap{display:block;padding:30px 20px}.login-story{display:none}.login-card{padding:28px}.shell{display:block}aside{position:static;width:100%;padding:20px}.side-caption,.side-bottom{display:none}nav{flex-direction:row;overflow:auto;margin-top:20px}nav button{white-space:nowrap;padding:10px}main{margin:0;width:100%;padding:24px 16px}h1{font-size:24px}.metric{padding:18px}.metric strong{font-size:26px}.metrics{gap:12px}.panel{padding:20px}.panel-head{flex-wrap:wrap}header .secondary{padding:9px;white-space:nowrap}}

/* Centered login, served externally for CSP compatibility. */
.login-wrap{display:flex;justify-content:center;align-items:center;min-height:100dvh;padding:32px 20px;max-width:none}.login-card{width:100%;max-width:420px;padding:36px;border-radius:18px}.login-card .brand{font-size:16px;color:var(--muted);margin-bottom:10px}.login-card h1{font-size:26px;margin-bottom:0}.login-card form{margin-top:28px}.login-card .error:empty{display:none}@media(max-width:480px){.login-card{padding:28px 24px}}
