:root{--bg:#f6f3ee;--surface:#fff;--surface-2:#f1ede6;--surface-3:#e7e1d7;--border:#ddd5c9;--text:#2b2622;--text-muted:#6f665d;--accent:#c2410c;--accent-strong:#9a3412;--accent-soft:#fde6d8;--accent-text:#fff;--danger:#b91c1c;--canvas-bg:#e9e4dc;--shadow:0 1px 2px #0000000f, 0 4px 16px #00000014;--radius:10px;--radius-sm:6px;--topbar-h:52px;--font:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#1a1816;--surface:#24211e;--surface-2:#2c2925;--surface-3:#38342f;--border:#3f3a34;--text:#f1ece6;--text-muted:#a89f95;--accent:#f97316;--accent-strong:#fb923c;--accent-soft:#43281a;--accent-text:#1a1816;--danger:#f87171;--canvas-bg:#131211;--shadow:0 1px 2px #0006, 0 4px 16px #0006;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#1a1816;--surface:#24211e;--surface-2:#2c2925;--surface-3:#38342f;--border:#3f3a34;--text:#f1ece6;--text-muted:#a89f95;--accent:#f97316;--accent-strong:#fb923c;--accent-soft:#43281a;--accent-text:#1a1816;--danger:#f87171;--canvas-bg:#131211;--shadow:0 1px 2px #0006, 0 4px 16px #0006;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{overscroll-behavior:none;height:100%;margin:0;overflow:hidden}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-size:14px;line-height:1.4}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3,h4{margin:0;line-height:1.2}h3{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-size:13px;font-weight:600}a{color:var(--accent)}.btn{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 12px;font-weight:500;transition:background .12s,border-color .12s;display:inline-flex}.btn:hover:not(:disabled){background:var(--surface-2)}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn.primary:hover:not(:disabled){background:var(--accent-strong)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover:not(:disabled){background:var(--surface-2)}.btn.danger{color:var(--danger)}.btn.small{min-height:30px;padding:0 8px;font-size:13px}.icon-btn{border-radius:var(--radius-sm);background:0 0;border:1px solid #0000;flex:none;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.icon-btn:hover:not(:disabled){background:var(--surface-2)}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn.active{background:var(--accent-soft);color:var(--accent-strong);border-color:var(--accent)}.field{flex-direction:column;gap:4px;min-width:0;display:flex}.field>span,.label{color:var(--text-muted);font-size:12px;font-weight:600}.field small{color:var(--text-muted);font-size:12px}input[type=text],input[type=number],input[type=search],select,textarea{border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);width:100%;min-height:36px;padding:6px 10px}textarea{resize:vertical}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}input[type=range]{width:100%;accent-color:var(--accent)}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}.check{cursor:pointer;align-items:center;gap:8px;min-height:32px;display:flex}.row{align-items:flex-end;gap:8px;display:flex}.row>*{flex:1}.grid-2{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stack{flex-direction:column;gap:12px;display:flex}.muted{color:var(--text-muted)}.small-text{font-size:12px}.swatch{border:1px solid #0003;border-radius:5px;flex:none;width:24px;height:24px;display:inline-block}.segmented{border:1px solid var(--border);border-radius:var(--radius-sm);display:inline-flex;overflow:hidden}.segmented button{background:var(--surface);border:0;min-height:34px;padding:6px 12px}.segmented button+button{border-left:1px solid var(--border)}.segmented button.on{background:var(--accent-soft);color:var(--accent-strong);font-weight:600}.notice{background:var(--surface-2);border-radius:var(--radius-sm);color:var(--text-muted);padding:8px 10px;font-size:12px}table.data{border-collapse:collapse;width:100%;font-size:13px}table.data th,table.data td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;padding:6px 4px}table.data th{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);font-size:11px;font-weight:600}table.data td.num,table.data th.num{text-align:right;font-variant-numeric:tabular-nums}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}
