:root{color-scheme:light;--bg: #f6f7f9;--surface: #ffffff;--surface-2: #f0f2f5;--surface-3: #e4e7ec;--text: #15181d;--text-muted: #5b6370;--border: #e2e5ea;--border-strong: #cbd0d8;--accent: #2f55d4;--accent-hover: #2445b5;--accent-soft: #eaf0fe;--accent-contrast: #ffffff;--success: #17794c;--success-soft: #e5f5ec;--warning: #9a5800;--warning-soft: #fff3df;--danger: #c0273a;--danger-soft: #fdebed;--radius: 10px;--radius-lg: 14px;--shadow-sm: 0 1px 2px rgb(16 24 40 / 6%);--shadow-md: 0 6px 20px rgb(16 24 40 / 8%);--shadow-lg: 0 16px 48px rgb(16 24 40 / 18%);--header-h: 60px;--series-1: #2a78d6;--series-2: #eb6834;--series-3: #1baf7a;font-family:Segoe UI Variable,Segoe UI,system-ui,-apple-system,Roboto,sans-serif;font-size:15px;line-height:1.5;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}:root[data-theme=dark]{color-scheme:dark;--bg: #0f1115;--surface: #171a20;--surface-2: #20242c;--surface-3: #2b303a;--text: #e8eaee;--text-muted: #9ba3af;--border: #2a2f38;--border-strong: #3f4652;--accent: #87a5ff;--accent-hover: #a1b8ff;--accent-soft: #1f2843;--accent-contrast: #0e1322;--success: #6ad59c;--success-soft: #16301f;--warning: #f2b45a;--warning-soft: #33280f;--danger: #ff8d99;--danger-soft: #3a1c22;--shadow-sm: 0 1px 2px rgb(0 0 0 / 30%);--shadow-md: 0 6px 20px rgb(0 0 0 / 35%);--shadow-lg: 0 16px 48px rgb(0 0 0 / 50%);--series-1: #3987e5;--series-2: #d95926;--series-3: #199e70}*{box-sizing:border-box}body{margin:0;background:var(--bg)}@page{margin:16mm 16mm 18mm;@bottom-right{content:counter(page) " / " counter(pages);color:#64748b;font:8pt Inter,Segoe UI,sans-serif}}@page cover{margin:0;@bottom-right{content:none}}h1,h2,h3{color:var(--text)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit;color:inherit}select{appearance:none;min-height:36px;padding:7px 34px 7px 12px;border:1px solid var(--border-strong);border-radius:var(--radius);background-color:var(--surface);background-image:linear-gradient(45deg,transparent 50%,var(--text-muted) 50%),linear-gradient(135deg,var(--text-muted) 50%,transparent 50%);background-position:calc(100% - 17px) 52%,calc(100% - 12px) 52%;background-size:5px 5px;background-repeat:no-repeat;font-size:14px;line-height:1.4;cursor:pointer;transition:border-color .15s,box-shadow .15s}select:hover:not(:disabled){border-color:var(--text-muted)}select:focus,select:focus-visible{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-soft)}select:disabled{opacity:.6;cursor:not-allowed}select[multiple],select[size]:not([size="1"]){padding-right:12px;background-image:none}option,optgroup{background-color:var(--surface);color:var(--text)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--text-muted)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:1px solid transparent;border-radius:var(--radius);font-size:14px;font-weight:600;line-height:1.2;text-decoration:none!important;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.btn:disabled{opacity:.5;cursor:default}.btn-sm{padding:6px 10px;font-size:13px}.btn-primary{background:var(--accent);color:var(--accent-contrast)}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-ghost{border-color:var(--border-strong);background:var(--surface);color:var(--text)}.btn-ghost:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}.btn-danger{background:var(--danger);color:#fff}:root[data-theme=dark] .btn-danger{color:#1a0b0e}.btn-icon{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:none;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;transition:background .15s,color .15s}.btn-icon:hover:not(:disabled){background:var(--surface-2);color:var(--text);text-decoration:none}.btn-icon.danger:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.btn-icon:disabled{opacity:.4;cursor:default}.cite{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin:0 2px;padding:0 6px;border:none;border-radius:6px;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:700;line-height:1;vertical-align:2px;cursor:pointer;transition:background .15s,color .15s}.cite:hover{background:var(--accent);color:var(--accent-contrast)}.dialog-actions>[actions]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.dialog .dialog-body>form>:last-child,.dialog .dialog-body>:last-child{margin-bottom:0}.callout{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:var(--radius);font-size:14px}.callout.error{background:var(--danger-soft);color:var(--danger)}.callout.warning{background:var(--warning-soft);color:var(--warning)}.spinner{width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}}.hub{color-scheme:light;--hub-bg: #ffffff;--hub-surface: #ffffff;--hub-fill: #1f5aa6;--hub-on-fill: #ffffff;--hub-on-ink: #ffffff;--hub-hover: rgb(226 232 240 / 70%);--hub-active: rgb(226 232 240 / 90%);--hub-scrim: rgb(15 23 42 / 35%);--hub-ring: rgb(31 90 166 / 15%);--hub-chip: rgb(255 255 255 / 80%);--hub-video: #a8324a;--hub-video-soft: #fceef0;--hub-error: #a3203a;--hub-error-soft: #fdebed;--hub-error-border: #f2c4cb;--hub-live: #2e8b57;--hub-blue: #1f5aa6;--hub-blue-dark: #174784;--hub-blue-soft: #eaf1fa;--hub-gray: #6d6e71;--slate-50: #f8fafc;--slate-100: #f1f5f9;--slate-200: #e2e8f0;--slate-300: #cbd5e1;--slate-400: #94a3b8;--slate-500: #64748b;--slate-600: #475569;--slate-700: #334155;--slate-800: #1e293b;--slate-900: #0f172a;--bg: #ffffff;--surface: #ffffff;--surface-2: var(--slate-100);--surface-3: var(--slate-200);--text: var(--slate-900);--text-muted: var(--slate-500);--border: var(--slate-200);--border-strong: var(--slate-300);--accent: var(--hub-blue);--accent-hover: var(--hub-blue-dark);--accent-soft: var(--hub-blue-soft);--accent-contrast: #ffffff;--success: #17794c;--success-soft: #e5f5ec;--warning: #9a5800;--warning-soft: #fff3df;--danger: #c0273a;--danger-soft: #fdebed;--shadow-sm: 0 1px 2px rgb(15 23 42 / 6%);--shadow-md: 0 6px 20px rgb(15 23 42 / 8%);--shadow-lg: 0 16px 48px rgb(15 23 42 / 18%);background:var(--hub-bg);color:var(--slate-800);font-family:Inter,Segoe UI Variable,Segoe UI,system-ui,sans-serif}:root[data-theme=dark] .hub{color-scheme:dark;--hub-bg: #0b0f17;--hub-surface: #121826;--hub-fill: #2f6bd0;--hub-on-fill: #ffffff;--hub-on-ink: #0b0f17;--hub-hover: rgb(51 65 90 / 55%);--hub-active: rgb(51 65 90 / 85%);--hub-scrim: rgb(0 0 0 / 55%);--hub-ring: rgb(110 168 255 / 25%);--hub-chip: rgb(18 24 38 / 80%);--hub-video: #f08aa0;--hub-video-soft: #3a1a24;--hub-error: #ff8d99;--hub-error-soft: #3a1c22;--hub-error-border: #5c2a33;--hub-live: #4cc38a;--hub-blue: #6ea8ff;--hub-blue-dark: #93bfff;--hub-blue-soft: #15243d;--hub-gray: #9aa0a8;--slate-50: #0f1521;--slate-100: #172031;--slate-200: #232e42;--slate-300: #33415a;--slate-400: #5d6b83;--slate-500: #8b98ad;--slate-600: #a3afc2;--slate-700: #c4cdda;--slate-800: #dde3ec;--slate-900: #f1f4f9;--bg: var(--hub-bg);--surface: var(--hub-surface);--accent-contrast: #0b1220;--success: #6ad59c;--success-soft: #12301f;--warning: #f2b45a;--warning-soft: #33280f;--danger: #ff8d99;--danger-soft: #3a1c22;--shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);--shadow-md: 0 6px 20px rgb(0 0 0 / 45%);--shadow-lg: 0 16px 48px rgb(0 0 0 / 60%)}.hub :focus-visible{outline:2px solid var(--hub-blue);outline-offset:2px}.hub .cite{min-width:18px;height:18px;margin:0 0 0 4px;padding:0 5px;border-radius:999px;background:var(--slate-100);color:var(--slate-600);font-size:11px;font-weight:600;vertical-align:1px}.hub .cite:hover{background:var(--hub-fill);color:var(--hub-on-fill)}
