:root{color-scheme:light;--canvas: #f5f5f5;--surface: #ffffff;--subtle: #f0f0f0;--muted: #e8e8e8;--fg: #111111;--fg-muted: #4a4a4a;--fg-subtle: #6b6b6b;--line: #e6e6e6;--line-strong: #d0d0d0;--brand-solid: #111111;--brand-contrast: #ffffff;--brand-emphasized: #000000;--brand-subtle: #f2f2f2;--brand-muted: #e4e4e4;--brand-fg: #111111;--focus: #111111;--success: #12a26f;--success-subtle: #dcf7ec;--success-fg: #0b7f57;--warning: #d48806;--warning-subtle: #fdf3dc;--warning-fg: #92560a;--danger: #e5484d;--danger-subtle: #fde8ec;--danger-fg: #c4253a;--info: #2f6fe4;--info-subtle: #e8f0fd;--info-fg: #1f56b8;--shell-sidebar: #f5f5f5;--shell-nav-fg: #4a4a4a;--shell-nav-icon: #4a4a4a;--shell-nav-active-bg: #f2f2f2;--shell-nav-active-fg: #111111;--shell-nav-hover-bg: #e8e8e8;--shadow-zf-card: 0 1px 2px rgb(17 17 17 / .03), 0 6px 20px -12px rgb(17 17 17 / .1);--control-sm: 32px;--control-md: 36px;--control-lg: 40px;--sidebar-w: 220px;--header-h: 64px;--radius-sm: 6px;--radius-md: 8px;--radius-lg: 10px;--radius-xl: 14px;--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;--font-display: "Plus Jakarta Sans", "Inter", sans-serif;--font-mono: "JetBrains Mono", ui-monospace, monospace}html.dark{color-scheme:dark;--canvas: #0a0a0a;--surface: #141414;--subtle: #1c1c1c;--muted: #262626;--fg: #f5f5f5;--fg-muted: #c4c4c4;--fg-subtle: #8a8a8a;--line: #2a2a2a;--line-strong: #3a3a3a;--brand-solid: #f5f5f5;--brand-contrast: #111111;--brand-emphasized: #ffffff;--brand-subtle: #1e1e1e;--brand-muted: #2c2c2c;--brand-fg: #f5f5f5;--focus: #f5f5f5;--success: #22c58b;--success-subtle: #0b3630;--success-fg: #3ddc9f;--warning: #f2b21b;--warning-subtle: #33280f;--warning-fg: #f7c64b;--danger: #f0525c;--danger-subtle: #3a1a22;--danger-fg: #ff8d96;--info: #3b82f6;--info-subtle: #10224a;--info-fg: #8ab4ff;--shell-sidebar: #0a0a0a;--shell-nav-fg: #c4c4c4;--shell-nav-icon: #c4c4c4;--shell-nav-active-bg: #1e1e1e;--shell-nav-active-fg: #f5f5f5;--shell-nav-hover-bg: #1c1c1c}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--canvas);color:var(--fg);font-family:var(--font-sans);font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}a{color:var(--brand-fg)}.shell{min-height:100vh;background:var(--canvas)}.sidebar{position:fixed;inset:0 auto 0 0;z-index:30;display:flex;width:var(--sidebar-w);flex-direction:column;gap:8px;border-right:1px solid var(--line);background:var(--shell-sidebar);padding:16px 12px 12px}.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 8px;color:inherit;text-decoration:none}.brand-wordmark{display:block;width:168px;height:36px;background:url(/brand/wordmark-black.png) left center / contain no-repeat}html.dark .brand-wordmark{background-image:url(/brand/wordmark-white.png)}.brand strong{font-family:var(--font-display);font-size:15px;letter-spacing:-.02em}.caption{margin:0 8px 4px;color:var(--fg-subtle);font-size:11px;font-weight:600;letter-spacing:.08em}.client-switch,.input,.select{width:100%;height:var(--control-md);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);padding:0 12px;outline:none}.client-switch{margin:0 0 8px}.input:hover,.select:hover,.client-switch:hover{border-color:var(--line-strong)}.input:focus,.select:focus,.client-switch:focus,textarea.input:focus{border-color:var(--brand-solid);box-shadow:0 0 0 3px color-mix(in srgb,var(--focus) 25%,transparent)}textarea.input{height:auto;min-height:88px;padding:10px 12px;resize:vertical}.nav{display:flex;min-height:0;flex:1;flex-direction:column;gap:2px;overflow:auto}.nav-item{display:flex;height:40px;align-items:center;gap:10px;border-radius:10px;padding:0 12px;color:var(--shell-nav-fg);font-size:14px;font-weight:500;text-decoration:none}.nav-item svg{width:18px;height:18px;stroke-width:1.75;color:var(--shell-nav-icon)}.nav-item:hover{background:var(--shell-nav-hover-bg);color:var(--fg)}.nav-item.active{background:var(--shell-nav-active-bg);color:var(--shell-nav-active-fg)}.nav-item.active svg{color:var(--brand-fg)}.main{margin-left:var(--sidebar-w);min-height:100vh}.header{position:sticky;top:0;z-index:20;display:flex;height:var(--header-h);align-items:center;justify-content:flex-end;gap:8px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--canvas) 88%,transparent);padding:0 24px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.content{width:min(1680px,calc(100% - 48px));margin:0 auto;padding:22px 0 48px}.page-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:20px}.eyebrow{margin:0 0 2px;color:var(--fg-muted);font-size:13px;font-weight:500}h1.page-title,.page-title{margin:0;font-family:var(--font-display);font-size:24px;font-weight:700;letter-spacing:-.01em;line-height:1.2}.page-desc{margin:4px 0 0;color:var(--fg-muted);font-size:14px}.actions{display:flex;flex-wrap:wrap;gap:8px}.btn{display:inline-flex;height:var(--control-md);align-items:center;justify-content:center;gap:8px;border-radius:var(--radius-lg);padding:0 16px;font-size:14px;font-weight:500;text-decoration:none;transition:background .12s ease,border-color .12s ease,transform 80ms ease}.btn:active{transform:scale(.98)}.btn:disabled{cursor:not-allowed;opacity:.45}.btn svg{width:16px;height:16px}.btn-solid{border:1px solid var(--brand-solid);background:var(--brand-solid);color:var(--brand-contrast)}.btn-solid:hover:not(:disabled){background:var(--brand-emphasized)}.btn-outline{border:1px solid var(--line);background:var(--surface);color:var(--fg)}.btn-outline:hover:not(:disabled){border-color:var(--line-strong);background:var(--subtle)}.btn-ghost{border:1px solid transparent;background:transparent;color:var(--fg-muted)}.btn-ghost:hover:not(:disabled){background:var(--subtle);color:var(--fg)}.btn-sm{height:var(--control-sm);padding:0 12px;font-size:13px}.btn-lg{height:var(--control-lg);padding:0 20px}.icon-btn{display:inline-flex;width:var(--control-md);height:var(--control-md);align-items:center;justify-content:center;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);color:var(--fg)}.icon-btn svg{width:18px;height:18px}.card{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-zf-card)}.card-pad{padding:16px}.card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:15px;font-weight:600}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.stat{position:relative;min-height:92px;padding:16px 16px 14px}.stat span{color:var(--fg-muted);font-size:13px;font-weight:500}.stat strong{display:block;margin-top:6px;font-family:var(--font-display);font-size:28px;font-weight:700;letter-spacing:-.03em}.stat i{position:absolute;top:14px;right:14px;display:grid;width:36px;height:36px;place-items:center;border-radius:999px;background:var(--brand-subtle);color:var(--brand-fg)}.stat i svg{width:17px;height:17px}.badge{display:inline-flex;height:24px;align-items:center;gap:4px;border-radius:999px;padding:0 10px;font-size:12px;font-weight:500;white-space:nowrap}.badge svg{width:12px;height:12px}.badge-success{background:var(--success-subtle);color:var(--success-fg)}.badge-warning{background:var(--warning-subtle);color:var(--warning-fg)}.badge-danger{background:var(--danger-subtle);color:var(--danger-fg)}.badge-info{background:var(--info-subtle);color:var(--info-fg)}.badge-neutral{background:var(--subtle);color:var(--fg-muted);box-shadow:inset 0 0 0 1px var(--line)}.table-wrap{overflow-x:auto}table.data{width:100%;min-width:640px;border-collapse:collapse;font-size:13px}table.data th{height:32px;padding:0 12px 6px 0;border-bottom:1px solid var(--line);color:var(--fg-subtle);font-size:12px;font-weight:500;text-align:left}table.data td{height:44px;padding-right:12px;color:var(--fg-muted);white-space:nowrap}table.data tr.clickable{cursor:pointer}table.data tr.clickable:hover td{background:var(--subtle)}.mono{font-family:var(--font-mono);font-size:12px}.grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.stack{display:flex;flex-direction:column;gap:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:6px;color:var(--fg-muted);font-size:13px;font-weight:500}.field.wide{grid-column:1 / -1}.tabs{display:flex;gap:4px;margin-bottom:14px}.tab{height:var(--control-md);border:1px solid var(--line);border-radius:var(--radius-lg);background:transparent;padding:0 12px;color:var(--fg-muted);font-size:13px;font-weight:500}.tab.active{border-color:var(--brand-solid);background:var(--brand-solid);color:var(--brand-contrast)}.kanban{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:12px;overflow-x:auto}.column{min-height:180px;padding:12px}.column h3{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;font-size:13px}.column h3 span{color:var(--fg-subtle);font-weight:500}.item-btn{display:block;width:100%;margin-bottom:8px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);padding:10px;text-align:left}.item-btn:hover{border-color:var(--line-strong)}.item-btn b{display:block;margin-bottom:4px;font-size:13px}.item-btn small{color:var(--fg-subtle)}.empty{padding:28px 16px;color:var(--fg-subtle);text-align:center}.toast{position:fixed;right:16px;bottom:16px;z-index:50;max-width:360px;border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);padding:12px 14px;box-shadow:var(--shadow-zf-card)}.dialog-back{position:fixed;inset:0;z-index:40;display:grid;place-items:center;background:#00000073;padding:24px}.dialog{width:min(520px,100%);border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);padding:18px}.auth{display:grid;min-height:100vh;grid-template-columns:1.1fr .9fr}.auth-copy{display:flex;flex-direction:column;justify-content:center;padding:48px}.auth-copy h1{margin:8px 0;font-family:var(--font-display);font-size:40px;line-height:1.05;letter-spacing:-.03em}.auth-panel{display:grid;place-items:center;padding:32px}.auth-card{width:min(420px,100%)}.userchip{color:var(--fg-muted);font-size:13px}.scene{border-top:1px solid var(--line);padding:12px 0}.scene p{margin:6px 0 0;white-space:pre-wrap}.menu-btn{display:none}@media(min-width:1024px){.page-title{font-size:27px}}@media(max-width:1023px){.sidebar{transform:translate(-105%);transition:transform .18s ease}.sidebar.open{transform:none}.main{margin-left:0}.menu-btn{display:inline-flex}.content{width:min(1680px,calc(100% - 32px))}.stats,.grid-2,.form-grid,.auth{grid-template-columns:1fr}.auth-copy{display:none}}
