:root{color-scheme:light;--surface-0: #f4f4f1;--surface-1: #fcfcfb;--surface-2: #eeeeea;--border: #dededa;--border-strong: #c9c9c3;--text-primary: #0b0b0b;--text-secondary: #52514e;--text-muted: #78776f;--series-1: #2a78d6;--series-1-soft: #cde2fb;--accent-ink: #1c5cab;--good: #1baf7a;--warn: #eda100;--danger: #e34948;--radius: 10px;--radius-sm: 6px;--shadow: 0 1px 2px rgba(11, 11, 11, .06), 0 4px 12px rgba(11, 11, 11, .04);--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace}@media(prefers-color-scheme:dark){:root:where(:not([data-theme=light])){color-scheme:dark;--surface-0: #121211;--surface-1: #1a1a19;--surface-2: #232322;--border: #34342f;--border-strong: #4a4a44;--text-primary: #ffffff;--text-secondary: #c3c2b7;--text-muted: #96958c;--series-1: #3987e5;--series-1-soft: #184f95;--accent-ink: #86b6ef;--good: #199e70;--warn: #c98500;--danger: #e66767;--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .3)}}:root[data-theme=dark]{color-scheme:dark;--surface-0: #121211;--surface-1: #1a1a19;--surface-2: #232322;--border: #34342f;--border-strong: #4a4a44;--text-primary: #ffffff;--text-secondary: #c3c2b7;--text-muted: #96958c;--series-1: #3987e5;--series-1-soft: #184f95;--accent-ink: #86b6ef;--good: #199e70;--warn: #c98500;--danger: #e66767;--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .3)}*{box-sizing:border-box}body{margin:0;font-family:var(--font);background:var(--surface-0);color:var(--text-primary);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:var(--accent-ink);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:22px;margin:0 0 4px;letter-spacing:-.01em}h2{font-size:17px;margin:0 0 12px}h3{font-size:14px;margin:0 0 8px;color:var(--text-secondary);font-weight:600}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:16px;padding:12px 20px;background:var(--surface-1);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.topbar .brand{font-weight:700;letter-spacing:-.02em}.topbar nav{display:flex;gap:4px;margin-left:8px}.topbar .spacer{flex:1}.topbar .who{color:var(--text-secondary);font-size:13px}.navlink{padding:6px 10px;border-radius:var(--radius-sm);color:var(--text-secondary);font-size:14px}.navlink:hover{background:var(--surface-2);text-decoration:none}.navlink.active{background:var(--series-1-soft);color:var(--accent-ink);font-weight:600}.page{flex:1;width:100%;max-width:1080px;margin:0 auto;padding:24px 20px 64px}.page-head{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}.page-head .spacer{flex:1}.subtitle{color:var(--text-secondary);font-size:14px}.card{background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}.grid{display:grid;gap:16px}.grid.cols-2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.grid.cols-4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}label.field{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-secondary)}input,select,textarea,button{font:inherit;color:var(--text-primary);background:var(--surface-1);border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:7px 10px}textarea{resize:vertical;min-height:96px;width:100%}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline:2px solid var(--series-1);outline-offset:1px}button{cursor:pointer;background:var(--surface-2)}button:hover:not(:disabled){border-color:var(--text-muted)}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--series-1);border-color:var(--series-1);color:#fff;font-weight:600}button.primary:hover:not(:disabled){background:var(--accent-ink);border-color:var(--accent-ink)}button.ghost{background:transparent;border-color:transparent;color:var(--text-secondary)}button.ghost:hover:not(:disabled){background:var(--surface-2)}.badge{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid var(--border-strong);color:var(--text-secondary);background:var(--surface-2);white-space:nowrap}.badge .dot{width:7px;height:7px;border-radius:50%;background:currentColor}.badge.todo{color:var(--text-secondary)}.badge.in_progress{color:var(--warn);border-color:var(--warn)}.badge.done{color:var(--good);border-color:var(--good)}.tasklist{display:flex;flex-direction:column;gap:8px}.taskrow{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--surface-1);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;color:inherit}.taskrow:hover{border-color:var(--border-strong);text-decoration:none}.taskrow.flash{animation:flash 1.4s ease-out}@keyframes flash{0%{border-color:var(--series-1);background:var(--series-1-soft)}to{border-color:var(--border);background:var(--surface-1)}}.taskrow .title{font-weight:600}.taskrow .meta{color:var(--text-muted);font-size:12px}.taskrow .spacer{flex:1}.feed{display:flex;flex-direction:column;gap:10px}.feed .item{padding:10px 12px;border-left:2px solid var(--border-strong);background:var(--surface-2);border-radius:0 var(--radius-sm) var(--radius-sm) 0}.feed .item .when{color:var(--text-muted);font-size:12px}.feed .change{font-family:var(--mono);font-size:12.5px}.notice{padding:10px 12px;border-radius:var(--radius-sm);font-size:14px}.notice.error{background:color-mix(in srgb,var(--danger) 12%,var(--surface-1));border:1px solid var(--danger)}.notice.info{background:var(--surface-2);border:1px solid var(--border);color:var(--text-secondary)}.live{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted)}.live .dot{width:7px;height:7px;border-radius:50%;background:var(--text-muted)}.live.on .dot{background:var(--good)}.empty{color:var(--text-muted);padding:24px;text-align:center}.auth{max-width:380px;margin:8vh auto}.auth .card{display:flex;flex-direction:column;gap:12px}table.data{width:100%;border-collapse:collapse;font-size:14px}table.data th,table.data td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--border)}table.data th{color:var(--text-secondary);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.04em}table.data td.num{text-align:right;font-variant-numeric:tabular-nums}
