:root{--accent: #6366f1;--accent-2: #06b6d4;--bg: #f6f7fb;--surface: #ffffff;--surface-2: #f0f2f8;--surface-3: #e7eaf3;--border: #dfe3ee;--text: #1a1c25;--text-dim: #4a4f60;--text-faint: #8a90a2;--ok: #10b981;--warn: #f59e0b;--bad: #ef4444;--shadow: 0 1px 2px rgba(20, 25, 45, .06), 0 4px 16px rgba(20, 25, 45, .05);--radius: .7rem;color-scheme:light}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #0e1016;--surface: #171a23;--surface-2: #12141c;--surface-3: #232735;--border: #262a38;--text: #eceef5;--text-dim: #a6abbd;--text-faint: #6b7185;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .35);color-scheme:dark}}:root[data-theme=dark]{--bg: #0e1016;--surface: #171a23;--surface-2: #12141c;--surface-3: #232735;--border: #262a38;--text: #eceef5;--text-dim: #a6abbd;--text-faint: #6b7185;--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .35);color-scheme:dark}*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}h1,h2,h3{margin:0;letter-spacing:-.02em}button{font:inherit;cursor:pointer}input,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:.5rem;padding:.45rem .6rem}input:focus,select:focus{outline:2px solid color-mix(in srgb,var(--accent) 60%,transparent);outline-offset:1px}@media(max-width:760px){input,select,textarea{font-size:16px}}.btn{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:.5rem;padding:.45rem .85rem;font-weight:500;transition:background .15s,border-color .15s,transform .05s}.btn:hover{background:var(--surface-3)}.btn:active{transform:translateY(1px)}.btn--primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn--primary:hover{background:color-mix(in srgb,var(--accent) 88%,#000)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.page-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}.page-header h1{font-size:1.5rem}.muted{color:var(--text-faint)}.overlay{position:fixed;inset:0;background:#0a0c1480;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:50}.edit-panel{width:100%;max-width:440px;max-height:90vh;overflow-y:auto;padding:1.25rem;display:flex;flex-direction:column;gap:.85rem}.edit-panel__title{font-size:1.1rem}.edit-panel__actions{display:flex;align-items:center;gap:.5rem;margin-top:.25rem}.spacer{flex:1}.field{display:flex;flex-direction:column;gap:.3rem}.field__label{font-size:.78rem;color:var(--text-faint);font-weight:600}.field input,.field select{width:100%}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.form-error{color:var(--bad);font-size:.85rem;margin:0}.btn--danger{border-color:color-mix(in srgb,var(--bad) 40%,var(--border));color:var(--bad)}.btn--danger:hover{background:color-mix(in srgb,var(--bad) 12%,transparent)}.btn--ghost{border-style:dashed;color:var(--text-dim);background:transparent}.btn--ghost:hover{background:var(--surface-3)}.icon-btn{width:1.7rem;height:1.7rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--surface);color:var(--text-dim);border-radius:.45rem;font-size:.95rem;line-height:1;flex-shrink:0}.icon-btn:hover{background:var(--surface-3);color:var(--text)}.checklist{display:flex;flex-direction:column;gap:.4rem}.checklist__row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.checklist__row input[type=checkbox]{width:auto;flex-shrink:0}.checklist__text{flex:2 1 8rem;min-width:0}.checklist__note{flex:1 1 6rem;min-width:0}.checklist__text--done{text-decoration:line-through;color:var(--text-faint)}.checklist-group{display:flex;flex-direction:column;gap:.35rem;padding-left:.6rem;border-left:2px solid var(--border)}.checklist-group__head{display:flex;align-items:center;gap:.5rem}.checklist-group__head .checklist__text{font-weight:600}.btn--sm{align-self:flex-start;padding:.2rem .55rem;font-size:.78rem}
