:root{--ink:#1f2937;--ink-muted:#6b7280;--bg:#fff;--surface:#f3f4f6;--rule:#e5e7eb;--accent:#dc2626;--accent-ink:#fff;--priority-high:#dc2626;--priority-high-bg:#fef2f2;--priority-medium:#eab308;--priority-medium-bg:#fefce8;--priority-low:#16a34a;--priority-low-bg:#f0fdf4;--measure:60ch;scrollbar-color:var(--rule) transparent;caret-color:var(--accent);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--ink:#e5e7eb;--ink-muted:#9ca3af;--bg:#111827;--surface:#1f2937;--rule:#374151;--accent:#ef4444;--accent-ink:#111827;--priority-high:#ef4444;--priority-high-bg:#450a0a;--priority-medium:#fbbf24;--priority-medium-bg:#422006;--priority-low:#22c55e;--priority-low-bg:#052e16}}:root[data-theme=dark]{--ink:#e5e7eb;--ink-muted:#9ca3af;--bg:#111827;--surface:#1f2937;--rule:#374151;--accent:#ef4444;--accent-ink:#111827;--priority-high:#ef4444;--priority-high-bg:#450a0a;--priority-medium:#fbbf24;--priority-medium-bg:#422006;--priority-low:#22c55e;--priority-low-bg:#052e16}*,:before,:after{box-sizing:border-box}html{overflow-x:clip}body{-webkit-font-smoothing:antialiased;color:var(--ink);background:var(--bg);margin:0;font-family:SF Pro Condensed,-apple-system-ui-condensed,system-ui-condensed,Helvetica Neue Condensed,-apple-system,system-ui,sans-serif;line-height:1.5}.screen{min-height:100vh}p{text-wrap:pretty}h1,h2,h3{text-wrap:balance}::selection{background:var(--accent);color:var(--accent-ink)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:var(--accent);text-underline-offset:.18em}.num{font-variant-numeric:tabular-nums}button,[role=button],summary,select,input[type=checkbox],input[type=radio]{min-height:44px}button{min-width:44px}input,select,textarea{font:inherit;font-size:max(1rem,16px)}img,video,canvas,svg{max-width:100%;height:auto}pre{overflow-x:auto}@media (width<=480px){.screen{padding-inline:1rem}}@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}.tab-nav{background:var(--bg);border-bottom:2px solid var(--rule);z-index:10;gap:0;padding:0;display:flex;position:sticky;top:0}.tab-button{color:var(--ink-muted);text-transform:uppercase;letter-spacing:.03em;cursor:pointer;background:0 0;border:none;border-bottom:3px solid #0000;flex:1;min-height:48px;padding:.875rem 1rem;font-size:.8125rem;font-weight:600;transition:all .15s ease-out}.tab-button:hover{background:var(--surface);color:var(--ink)}.tab-button.active{color:var(--ink);border-bottom-color:var(--rule);background:var(--bg)}.tab-button.tab-high.active{border-bottom-color:var(--priority-high);color:var(--priority-high)}.tab-button.tab-medium.active{border-bottom-color:var(--priority-medium);color:var(--priority-medium)}.tab-button.tab-low.active{border-bottom-color:var(--priority-low);color:var(--priority-low)}.theme-toggle{text-transform:none;letter-spacing:0;border-left:1px solid var(--rule);flex:none;min-width:60px;font-size:1.25rem;font-weight:400}.theme-toggle:hover{background:var(--surface)}.screen{max-width:1400px;margin:0 auto;padding:2rem 1.5rem}.screen-header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:2rem;display:flex}.screen-title{letter-spacing:-.01em;color:var(--ink);margin:0;font-size:1.75rem;font-weight:700}.books-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}@media (width>=640px){.books-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.25rem}}.book-card{background:var(--bg);border:1px solid var(--rule);border-radius:4px;flex-direction:column;gap:.75rem;padding:1.25rem;transition:all .15s ease-out;display:flex}.book-card:hover{border-color:var(--ink-muted);transform:translateY(-1px);box-shadow:0 2px 8px #00000014}.book-header{justify-content:space-between;align-items:flex-start;display:flex}.priority-tag{text-transform:uppercase;letter-spacing:.04em;border-radius:3px;align-items:center;gap:.5rem;padding:.375rem .75rem;font-size:.75rem;font-weight:700;display:inline-flex}.priority-tag.priority-high{background:var(--priority-high-bg);color:var(--priority-high);border:1px solid var(--priority-high)}.priority-tag.priority-medium{background:var(--priority-medium-bg);color:var(--priority-medium);border:1px solid var(--priority-medium)}.priority-tag.priority-low{background:var(--priority-low-bg);color:var(--priority-low);border:1px solid var(--priority-low)}.priority-dot{background:currentColor;border-radius:50%;display:inline-block}.priority-high .priority-dot{width:10px;height:10px}.priority-medium .priority-dot{width:8px;height:8px}.priority-low .priority-dot{width:6px;height:6px}.book-title{color:var(--ink);margin:0;font-size:1.125rem;font-weight:700;line-height:1.3}.book-author{color:var(--ink-muted);margin:0;font-size:.9375rem;font-weight:500}.book-notes{color:var(--ink-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.875rem;font-weight:400;line-height:1.5;display:-webkit-box;overflow:hidden}.card-actions{border-top:1px solid var(--rule);gap:.625rem;margin-top:auto;padding-top:.625rem;display:flex}.btn{cursor:pointer;text-transform:uppercase;letter-spacing:.02em;border:none;border-radius:3px;padding:.625rem 1.125rem;font-size:.875rem;font-weight:600;transition:all .15s ease-out}.btn-primary{background:var(--accent);color:var(--accent-ink)}.btn-primary:hover{background:#b91c1c;box-shadow:0 2px 6px #dc26264d}.btn-secondary{color:var(--ink);border:1px solid var(--rule);background:0 0;flex:1}.btn-secondary:hover{background:var(--surface);border-color:var(--ink-muted)}.btn-danger{color:var(--priority-high);border:1px solid var(--priority-high);background:0 0;flex:1}.btn-danger:hover{background:var(--priority-high-bg)}.empty-state{text-align:center;max-width:480px;margin:0 auto;padding:4rem 1.5rem}.empty-state-icon{opacity:.3;margin-bottom:1.5rem;font-size:4rem}.empty-state-title{color:var(--ink);margin:0 0 .75rem;font-size:1.5rem;font-weight:700}.empty-state-text{color:var(--ink-muted);margin:0 0 2rem;font-size:1rem;line-height:1.6}.form-card{background:var(--bg);border:1px solid var(--rule);border-radius:4px;max-width:540px;margin:2rem auto;padding:2rem}.form-group{margin-bottom:1.5rem}.form-label{text-transform:uppercase;letter-spacing:.02em;color:var(--ink);margin-bottom:.5rem;font-size:.875rem;font-weight:600;display:block}.form-input,.form-select,.form-textarea{border:1px solid var(--rule);background:var(--bg);width:100%;color:var(--ink);border-radius:3px;padding:.75rem 1rem;transition:all .15s ease-out}.form-textarea{resize:vertical;min-height:100px;line-height:1.5}.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--accent);outline:none}.form-input::placeholder,.form-textarea::placeholder{color:var(--ink-muted);opacity:.6}.form-actions{gap:.75rem;margin-top:2rem;display:flex}.form-actions .btn{flex:1}.back-link{color:var(--accent);margin-bottom:1.5rem;font-size:.9375rem;font-weight:600;text-decoration:none;transition:color .15s ease-out;display:inline-block}.back-link:hover{color:#b91c1c;text-decoration:underline}@media (width<=640px){.screen{padding:1.5rem 1rem}.screen-header{flex-direction:column;align-items:stretch}.books-grid{grid-template-columns:1fr}.form-card{padding:1.5rem 1rem}}@media (prefers-reduced-motion:no-preference){.book-card{transition:transform .15s ease-out,box-shadow .15s ease-out,border-color .15s ease-out}.btn{transition:background .15s ease-out,box-shadow .15s ease-out,border-color .15s ease-out}}@media (width<=480px){body,.container,[class*=container],section,header,footer,nav,main,article{padding-inline:max(1rem,16px)}}p,li,dt,dd,blockquote,figcaption,td,th{max-width:min(75ch,100%)}
