:root{color-scheme:light;--bg: #f1f5f9;--surface: #ffffff;--surface-2: #f8fafc;--border: #e2e8f0;--text: #0f172a;--text-muted: #64748b;--primary: #4f46e5;--primary-hover: #4338ca;--primary-soft: #eef2ff;--danger: #dc2626;--sidebar-bg: #0f172a;--sidebar-text: #cbd5e1;--sidebar-text-strong: #ffffff;--sidebar-muted: #64748b;--sidebar-hover: #1e293b;--sidebar-active-bg: #4f46e5;--sidebar-active-text: #ffffff;--sidebar-accent: #818cf8;--topbar-bg: rgba(255, 255, 255, .85);--radius: 12px;--radius-sm: 8px;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);--shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .05);--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}:root[data-theme=dark]{color-scheme:dark;--bg: #0b1120;--surface: #111827;--surface-2: #1b2436;--border: #273349;--text: #e5e7eb;--text-muted: #94a3b8;--primary: #6366f1;--primary-hover: #818cf8;--primary-soft: rgba(129, 140, 248, .16);--danger: #f87171;--sidebar-bg: #020617;--sidebar-text: #cbd5e1;--sidebar-text-strong: #ffffff;--sidebar-muted: #64748b;--sidebar-hover: #111a2e;--sidebar-active-bg: #6366f1;--sidebar-active-text: #ffffff;--sidebar-accent: #818cf8;--topbar-bg: rgba(17, 24, 39, .85);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);--shadow-md: 0 4px 12px rgba(0, 0, 0, .5)}:root[data-theme=brand]{color-scheme:light;--bg: #f4f1ea;--surface: #ffffff;--surface-2: #faf6ee;--border: #e7dfd0;--text: #1b2a3f;--text-muted: #6b7686;--primary: #1e4174;--primary-hover: #16325a;--primary-soft: #e7edf5;--danger: #c0392b;--sidebar-bg: #1e4174;--sidebar-text: #cdd8ea;--sidebar-text-strong: #ffffff;--sidebar-muted: #8ba0c0;--sidebar-hover: rgba(255, 255, 255, .1);--sidebar-active-bg: #dda94b;--sidebar-active-text: #16305a;--sidebar-accent: #dda94b;--topbar-bg: rgba(255, 255, 255, .9)}*{box-sizing:border-box}html,body{margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;line-height:1.5}h1,h2,h3{line-height:1.25;margin:0}a{color:var(--primary)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.6rem 1rem;border-radius:var(--radius-sm);border:1px solid transparent;font:inherit;font-weight:600;font-size:.9rem;cursor:pointer;transition:background .15s ease,border-color .15s ease,opacity .15s ease}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn-ghost{background:var(--surface);color:var(--text);border-color:var(--border)}.btn-ghost:hover{background:var(--surface-2)}.btn:disabled{opacity:.6;cursor:default}.field{display:flex;flex-direction:column;gap:.35rem}.field>span{font-size:.82rem;font-weight:600;color:var(--text-muted)}.input{padding:.6rem .75rem;border:1px solid var(--border);border-radius:var(--radius-sm);font:inherit;font-size:.95rem;background:var(--surface);transition:border-color .15s ease,box-shadow .15s ease}.input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.badge{display:inline-flex;align-items:center;gap:.4em;padding:.2em .6em;border-radius:9999px;font-size:.76rem;font-weight:600;white-space:nowrap;line-height:1.4}.badge .dot{width:.5em;height:.5em;border-radius:50%;background:currentColor;opacity:.9}.badge--green{background:#dcfce7;color:#15803d}.badge--blue{background:#dbeafe;color:#1d4ed8}.badge--amber{background:#fef3c7;color:#b45309}.badge--orange{background:#ffedd5;color:#c2410c}.badge--red{background:#fee2e2;color:#b91c1c}.badge--slate{background:#e2e8f0;color:#475569}.badge--violet{background:#ede9fe;color:#6d28d9}.badge--gray{background:#f1f5f9;color:#64748b}.muted{color:var(--text-muted)}.tip{position:absolute;z-index:9999;background:#0f172a;color:#f1f5f9;font-size:.75rem;font-weight:500;line-height:1.3;padding:.35rem .6rem;border-radius:8px;max-width:260px;pointer-events:none;box-shadow:0 8px 24px #0f172a47;opacity:0;transform:translateY(4px);transition:opacity .12s ease,transform .12s ease}.tip.tip-in{opacity:1;transform:translateY(0)}.tip:after{content:"";position:absolute;left:var(--arrow, 50%);margin-left:-5px;border:5px solid transparent}.tip:not(.below):after{top:100%;border-top-color:#0f172a}.tip.below:after{bottom:100%;border-bottom-color:#0f172a}
