:root { color-scheme:light; --bg:#f4f3ed; --surface:#fffef9; --soft:#eeeee5; --ink:#23382f; --muted:#657268; --line:#dce1d7; --accent:#a94630; --accent-ink:#fffdf7; --forest:#203b32; --on-forest:#f6f1df; --positive:#296948; --warning:#96652a; --danger:#a9362b; --focus:#af4c30; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
html[data-theme=dark] { color-scheme:dark; --bg:#15231d; --surface:#1c3026; --soft:#263d30; --ink:#f1f0e4; --muted:#aebfb0; --line:#3c5344; --accent:#ed9d7f; --accent-ink:#271d14; --forest:#12251c; --on-forest:#f6f1df; --positive:#8ad0a0; --warning:#e6bd75; --danger:#ffb0a1; --focus:#f3ad84; }
* { box-sizing:border-box; } body { margin:0; background:var(--bg); color:var(--ink); font-size:14px; line-height:1.6; } button,input,select,textarea { font:inherit; } button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; } button { cursor:pointer; touch-action:manipulation; } button:disabled { opacity:.5; cursor:default; } button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid var(--focus); outline-offset:3px; } a { color:var(--accent); text-underline-offset:3px; } h1,h2,h3,p { margin:0; } h1 { font-size:25px; letter-spacing:-.5px; } h2 { font-size:17px; } h3 { font-size:14px; } small { font-size:11px; } [hidden] { display:none!important; }
.skip-link { position:fixed; z-index:200; top:-80px; left:15px; padding:12px 18px; background:var(--surface); border:2px solid var(--focus); } .skip-link:focus { top:10px; } .boot { min-height:100vh; display:grid; align-content:center; justify-content:center; text-align:center; gap:15px; color:var(--muted); } .boot b { font:italic 32px Georgia,serif; color:var(--forest); }
.app-shell { display:grid; grid-template-columns:222px minmax(0,1fr); min-height:100vh; } .sidebar { background:var(--forest); color:var(--on-forest); padding:29px 17px; position:sticky; top:0; height:100vh; display:flex; flex-direction:column; } .brand { display:flex; gap:10px; align-items:center; margin:0 13px 35px; } .brand-mark { display:grid; place-items:center; width:34px; height:39px; background:#f4eedc; color:#203b32; border-radius:5px; font:italic 700 30px Georgia,serif; } .brand b { font-size:22px; letter-spacing:-1px; line-height:1; } .brand small { display:block; color:#b8cabc; font-size:9px; letter-spacing:2px; margin-top:7px; } .nav-caption { color:#9bb1a1; font-size:9px; letter-spacing:2px; padding:0 14px 10px; } .side-nav { display:grid; gap:5px; } .nav-item { display:flex; align-items:center; gap:12px; width:100%; min-height:43px; color:#cbd7c9; padding:10px 14px; border:0; background:transparent; text-align:left; border-radius:5px; font-size:13px; } .nav-item:hover { background:#ffffff0c; color:#fff; } .nav-item.active { background:#f6f1df; color:#203b32; font-weight:650; } .nav-icon { width:20px; font-size:17px; text-align:center; line-height:1; } .side-bottom { margin-top:auto; padding:28px 14px 0; color:#9bb1a1; font-size:11px; } .side-bottom p { margin-bottom:7px; } .side-bottom b { color:#e3e9d9; font-weight:500; }
.workspace { min-width:0; } .topbar { display:flex; justify-content:space-between; align-items:center; padding:18px 32px; min-height:76px; border-bottom:1px solid var(--line); background:var(--surface); gap:16px; } .breadcrumb { font-size:12px; color:var(--muted); } .breadcrumb b { color:var(--ink); font-weight:550; } .top-actions { display:flex; align-items:center; gap:12px; font-size:12px; } .top-user { max-width:160px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .top-user small { display:block; color:var(--muted); } .environment { padding:4px 8px; background:var(--soft); border:1px solid var(--line); color:var(--muted); font-size:10px; border-radius:4px; white-space:nowrap; } .icon-button { width:38px; height:38px; border:1px solid var(--line); color:var(--ink); background:var(--surface); border-radius:5px; font-size:17px; } .main { padding:29px 32px 48px; max-width:1600px; margin:0 auto; } .page-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; } .page-heading p { color:var(--muted); font-size:12px; margin-top:5px; } .eyebrow { font-size:9px; letter-spacing:2px; color:var(--muted); margin-bottom:6px; } .heading-actions { display:flex; align-items:center; gap:9px; } .button { min-height:40px; border:1px solid var(--accent); border-radius:5px; background:var(--accent); color:var(--accent-ink); padding:9px 16px; font-size:12px; font-weight:600; display:inline-flex; align-items:center; justify-content:center; gap:7px; text-decoration:none; } .button.secondary { border-color:var(--line); background:var(--surface); color:var(--ink); } .button.danger { background:var(--danger); border-color:var(--danger); color:var(--bg); } .button.small { min-height:33px; padding:6px 10px; font-size:11px; } .text-button { min-height:33px; padding:4px 6px; border:0; background:none; color:var(--accent); font-size:11px; white-space:nowrap; } .text-button.danger { color:var(--danger); } .text-button.subtle { color:var(--muted); } .nowrap { white-space:nowrap; } .muted { color:var(--muted); } .notice { padding:13px 16px; background:var(--surface); border:1px solid var(--line); border-left:3px solid var(--accent); margin-bottom:20px; border-radius:4px; font-size:13px; overflow-wrap:anywhere; } .notice.error { color:var(--danger); border-left-color:var(--danger); } .notice.success { border-left-color:var(--positive); } .notice p+p { margin-top:6px; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:20px; } .metric { background:var(--surface); border:1px solid var(--line); border-radius:7px; padding:20px; min-width:0; } .metric .metric-label { color:var(--muted); font-size:11px; display:flex; align-items:center; justify-content:space-between; } .metric b { display:block; font-size:29px; font-weight:550; letter-spacing:-1px; margin:9px 0 5px; font-variant-numeric:tabular-nums; } .metric small { color:var(--muted); } .metric.featured { background:var(--forest); color:var(--on-forest); border-color:var(--forest); } .metric.featured .metric-label,.metric.featured small { color:#bccdbc; } .panel { background:var(--surface); border:1px solid var(--line); border-radius:7px; min-width:0; overflow:hidden; } .panel-head { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:19px 22px; border-bottom:1px solid var(--line); } .panel-head p { margin-top:4px; font-size:11px; color:var(--muted); } .panel-body { padding:22px; } .panel+.panel { margin-top:20px; } .overview-columns { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:20px; margin-bottom:20px; } .chart { height:186px; display:flex; align-items:end; gap:9px; padding:20px 20px 29px; } .bar-column { flex:1; height:100%; display:flex; justify-content:end; flex-direction:column; align-items:center; position:relative; min-width:0; } .bar { background:#62806b; width:62%; max-width:36px; min-height:2px; border-radius:3px 3px 0 0; } .bar-column b { font-size:10px; margin-bottom:5px; color:var(--muted); font-weight:400; } .bar-column small { position:absolute; bottom:-21px; font-size:9px; color:var(--muted); white-space:nowrap; } .summary-list { padding:5px 20px; } .summary-row { display:flex; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); padding:13px 0; font-size:12px; } .summary-row:last-child { border:0; } .summary-row span { color:var(--muted); } .summary-row b { text-align:right; font-weight:550; overflow-wrap:anywhere; } .alert-list { margin:0; padding:0; list-style:none; } .alert-list li { padding:14px 20px; border-bottom:1px solid var(--line); font-size:12px; display:flex; gap:10px; } .alert-list li:last-child { border:0; } .alert-dot { width:6px; height:6px; border-radius:50%; background:var(--warning); margin-top:7px; flex:none; }
.filters { display:flex; align-items:end; flex-wrap:wrap; gap:11px; padding:17px 20px; border-bottom:1px solid var(--line); } .field { display:flex; flex-direction:column; gap:6px; min-width:0; } .field>span,.field>label { font-size:11px; color:var(--muted); font-weight:500; } input,select,textarea { border:1px solid var(--line); color:var(--ink); background:var(--surface); border-radius:4px; min-height:39px; padding:8px 11px; width:100%; } textarea { resize:vertical; min-height:90px; } .filters .field { width:150px; } .filters .field.search { width:230px; } .filters input,.filters select { font-size:12px; } .filters .field.date { width:140px; } .table-scroll { overflow-x:auto; } table { border-collapse:collapse; width:100%; font-size:12px; text-align:left; } th { color:var(--muted); background:var(--soft); font-size:10px; font-weight:550; white-space:nowrap; padding:11px 18px; } td { border-bottom:1px solid var(--line); padding:13px 18px; vertical-align:middle; } tr:last-child td { border-bottom:0; } tbody tr:hover { background:color-mix(in srgb,var(--soft) 42%,transparent); } .cell-name { font-weight:600; color:var(--ink); display:block; min-width:100px; } .cell-sub { color:var(--muted); font-size:10px; display:block; margin-top:3px; max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .cell-actions { display:flex; align-items:center; gap:3px; flex-wrap:wrap; min-width:100px; } .status { display:inline-flex; align-items:center; gap:5px; border-radius:15px; padding:3px 8px; background:var(--soft); font-size:10px; white-space:nowrap; color:var(--muted); } .status.positive { color:var(--positive); background:color-mix(in srgb,var(--positive) 9%,var(--surface)); } .status.warning { color:var(--warning); background:color-mix(in srgb,var(--warning) 10%,var(--surface)); } .status.danger { color:var(--danger); background:color-mix(in srgb,var(--danger) 8%,var(--surface)); } .pagination { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:15px 20px; border-top:1px solid var(--line); font-size:11px; color:var(--muted); } .pagination>div { display:flex; align-items:center; gap:10px; } .empty { text-align:center; padding:45px 22px; color:var(--muted); font-size:13px; } .empty b { display:block; color:var(--ink); font-size:15px; margin-bottom:7px; font-weight:550; } .subnav { display:flex; align-items:center; gap:6px; margin-bottom:18px; flex-wrap:wrap; } .subnav button { border:1px solid var(--line); background:var(--surface); color:var(--muted); min-height:39px; padding:8px 17px; border-radius:5px; font-size:12px; } .subnav button.active { background:var(--forest); color:var(--on-forest); border-color:var(--forest); } .section-note { color:var(--muted); font-size:11px; margin:15px 0 0; line-height:1.8; }
.settings-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; margin-top:20px; } .settings-columns>.panel+.panel { margin-top:0; } .settings-form { padding:22px; display:grid; gap:15px; } .settings-form p { color:var(--muted); font-size:11px; } .form-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; } .check-label { display:flex; gap:10px; align-items:start; font-size:12px; cursor:pointer; } input[type=checkbox] { width:16px; height:16px; min-height:16px; margin:3px 0 0; flex:none; accent-color:var(--accent); } .check-label small { display:block; color:var(--muted); margin-top:2px; } .settings-actions { display:flex; gap:9px; flex-wrap:wrap; padding-top:5px; } .secret-field { border:1px solid var(--line); padding:14px; border-radius:5px; display:grid; gap:10px; } .secret-header { display:flex; justify-content:space-between; gap:10px; align-items:start; font-size:12px; } .secret-header small { color:var(--muted); overflow-wrap:anywhere; } .secret-field select { font-size:12px; } .validation-list { margin:0; padding:12px 22px; list-style:none; border-top:1px solid var(--line); } .validation-list li { font-size:12px; padding:8px 0; color:var(--positive); } .validation-list li.failed { color:var(--danger); } .safe-note { background:var(--soft); padding:11px 14px; border-radius:4px; font-size:11px; color:var(--muted); }
.overlay { position:fixed; z-index:80; inset:0; background:#0c201b70; display:flex; justify-content:center; align-items:center; padding:22px; } .dialog { background:var(--surface); border:1px solid var(--line); border-radius:9px; width:min(540px,100%); max-height:calc(100dvh - 44px); overflow:auto; box-shadow:0 15px 60px #001a1122; } .dialog-head { display:flex; align-items:center; justify-content:space-between; padding:19px 23px; border-bottom:1px solid var(--line); gap:20px; } .dialog-head h2 { font-size:17px; } .dialog-form { display:grid; gap:16px; padding:23px; } .dialog-note { color:var(--muted); font-size:12px; } .dialog-actions { display:flex; gap:10px; justify-content:end; margin-top:6px; } .form-error { color:var(--danger); font-size:12px; overflow-wrap:anywhere; } .drawer-overlay { justify-content:end; padding:0; } .drawer { background:var(--surface); width:min(560px,100%); max-height:100dvh; height:100dvh; overflow:auto; box-shadow:-10px 0 50px #001a1122; } .drawer .dialog-head { position:sticky; top:0; background:var(--surface); z-index:1; } .drawer-body { padding:23px; } .detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:19px; margin-bottom:24px; } .detail-grid div { min-width:0; } .detail-grid dt { color:var(--muted); font-size:10px; margin-bottom:4px; } .detail-grid dd { margin:0; font-size:13px; overflow-wrap:anywhere; } .detail-section { margin-top:23px; } .detail-section h3 { margin-bottom:10px; } .detail-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); font-size:12px; } .detail-item small { display:block; color:var(--muted); } .detail-item:last-child { border:0; } .drawer .table-scroll { margin:0 -23px; } .drawer .detail-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.login-page { min-height:100dvh; display:grid; grid-template-columns:1fr 1fr; } .login-story { background:var(--forest); color:var(--on-forest); padding:60px clamp(30px,6vw,100px); display:flex; flex-direction:column; justify-content:center; } .login-story .brand { margin:0 0 80px; } .login-story h1 { font:500 42px/1.5 Georgia,"Songti SC",serif; letter-spacing:1px; margin-bottom:20px; } .login-story>p { color:#c2cfbe; font-size:13px; max-width:400px; line-height:2; } .login-story .login-foot { margin-top:90px; font-size:10px; color:#a6bca9; letter-spacing:2px; } .login-panel { display:flex; align-items:center; justify-content:center; padding:35px; } .login-form { width:350px; max-width:100%; display:grid; gap:20px; } .login-form h2 { font-size:24px; } .login-form>p { font-size:12px; color:var(--muted); } .login-form .button { min-height:45px; } .login-form label { gap:7px; } .loading-line { padding:42px; text-align:center; color:var(--muted); } .number { font-variant-numeric:tabular-nums; } .amount-positive { color:var(--positive); } .amount-negative { color:var(--danger); }
@media (max-width:1180px) { .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .settings-columns { grid-template-columns:1fr; } .overview-columns { grid-template-columns:1fr; } .overview-columns>.panel+.panel { margin-top:0; } .topbar { padding-right:22px; padding-left:22px; } .main { padding-right:22px; padding-left:22px; } }
@media (max-width:760px) { .app-shell { display:block; } .sidebar { height:auto; position:static; padding:16px; } .brand { margin:0 0 15px; } .brand-mark { width:27px; height:31px; font-size:24px; } .brand b { font-size:20px; } .brand small { font-size:8px; margin-top:5px; } .nav-caption,.side-bottom { display:none; } .side-nav { display:flex; gap:5px; overflow-x:auto; padding-bottom:3px; } .nav-item { width:auto; flex:none; min-height:43px; padding:9px 11px; font-size:12px; gap:7px; } .nav-icon { font-size:15px; width:auto; } .topbar { padding:13px 17px; min-height:69px; gap:10px; } .breadcrumb { display:none; } .top-actions { justify-content:end; flex:1; gap:10px; } .top-user { margin-right:auto; } .topbar .text-button { min-height:40px; } .main { padding:24px 16px 40px; } .page-heading { align-items:start; gap:10px; margin-bottom:20px; } .page-heading h1 { font-size:23px; } .heading-actions { flex-wrap:wrap; justify-content:end; } .heading-actions .button { padding:8px 10px; } .metrics { gap:10px; } .metric { padding:17px; } .metric b { font-size:26px; } .panel-head { padding:17px; } .filters { padding:16px; gap:10px; } .filters .field { flex:1; min-width:120px; } .filters .field.search { flex-basis:100%; width:auto; } .filters .field.date { width:auto; min-width:120px; } .filters .button { min-height:41px; } th,td { padding:12px 14px; } .pagination { padding:14px; flex-wrap:wrap; gap:10px; } .button.small,.text-button { min-height:40px; } .settings-form,.panel-body { padding:18px; } .settings-columns { gap:17px; } .form-grid { grid-template-columns:1fr; } .login-page { grid-template-columns:1fr; } .login-story { padding:28px; } .login-story .brand { margin-bottom:22px; } .login-story h1 { font-size:26px; margin-bottom:10px; } .login-story>p { font-size:12px; } .login-story .login-foot { display:none; } .login-panel { padding:32px 24px; } .login-form { gap:18px; } .login-form h2 { font-size:22px; } .overlay { padding:12px; } .drawer-overlay { padding:0; } .dialog { max-height:calc(100dvh - 24px); } .drawer .dialog-head { padding:16px 20px; } .dialog-form { padding:20px; } .drawer-body { padding:20px; } .environment { font-size:9px; } }
@media(max-width:760px) { .table-scroll table { min-width:720px; } .table-scroll th,.table-scroll td { min-width:90px; } .button,.text-button,.icon-button { min-height:44px; } }
.side-nav { min-height:0; overflow-y:auto; }
.operations-form { display:grid; gap:20px; }
.operations-form>.panel+.panel { margin-top:0; }
.operations-form>.notice { margin-bottom:0; }
.operations-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; }
.operations-grid>.panel+.panel { margin-top:0; }
.rule-checks { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.rule-check { padding:10px; border:1px solid var(--line); border-radius:5px; min-width:0; }
.rule-check span { min-width:0; overflow-wrap:anywhere; }
.rule-check b { font-size:12px; font-weight:500; }
.rule-subtitle { margin:22px 0 12px; font-size:12px; }
.rule-fields { display:grid; gap:18px; }
.rule-fields h3 { font-size:12px; }
.membership-rule-heading,.membership-rule-row { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr); gap:16px; align-items:center; }
.membership-rule-heading { color:var(--muted); font-size:11px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.membership-rule-heading b { font-weight:550; color:var(--ink); }
.membership-rule-row { padding:14px 0; border-bottom:1px solid var(--line); font-size:12px; }
.platform-room { display:flex; align-items:center; gap:6px; margin:4px 0; min-width:120px; }
.platform-room span { font-size:11px; overflow-wrap:anywhere; }
.dialog-form textarea[name=pubKey] { min-height:150px; font:11px/1.65 ui-monospace,monospace; }
.hosted-dialog { width:min(820px,100%); }
.hosted-dialog .dialog-head { position:sticky;top:0;background:var(--surface);z-index:2; }
.hosted-setup-intro { display:flex;align-items:start;gap:12px;padding:13px;background:var(--soft);border-radius:5px; }
.hosted-setup-intro p { color:var(--muted);font-size:12px; }
.hosted-fieldset { border:1px solid var(--line);padding:18px;display:grid;gap:15px;min-width:0;border-radius:6px;margin:0; }
.hosted-fieldset legend { font-size:13px;font-weight:600;padding:0 7px; }
.hosted-fieldset .section-note { margin-top:0; }
.hosted-room-picker { display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:200px;overflow:auto;padding:3px; }
.hosted-room-picker .check-label { padding:8px;border:1px solid var(--line);border-radius:4px; }
.hosted-limits { border:1px solid var(--line);border-radius:5px;padding:12px 16px; }
.hosted-limits summary { cursor:pointer;font-size:12px;font-weight:600;min-height:30px; }
.hosted-limits .form-grid { margin-top:14px; }
.hosted-error { display:block;color:var(--danger);font-size:11px;max-width:230px;overflow-wrap:anywhere;white-space:normal;margin-top:5px; }
@media(max-width:760px) { .hosted-fieldset { padding:14px; }.hosted-room-picker { grid-template-columns:1fr;max-height:190px; }.hosted-dialog .dialog-head { padding:16px 20px; }.hosted-setup-intro { flex-direction:column;gap:8px; } }
@media(max-width:1180px) { .operations-grid { grid-template-columns:1fr; } }
@media(max-width:760px) { .side-nav { overflow-y:hidden; } .membership-rule-heading,.membership-rule-row { gap:8px; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); } .membership-rule-row>span { font-size:11px; } .rule-checks { grid-template-columns:1fr; } .rule-check { min-height:44px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
