:root{--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--bg: #f5f6fa;--surface: #ffffff;--surface-2: #f8f9fc;--border: #e5e8ef;--border-strong: #d4d9e3;--text: #172033;--text-2: #4b5568;--text-3: #7d879a;--accent: #4f5fd9;--accent-hover: #4352c7;--accent-soft: #eceffd;--accent-muted: #c7cdf6;--reading: #4f5fd9;--reading-soft: #eceffd;--queued: #b26b12;--queued-soft: #fdf3e3;--finished: #1f7a55;--finished-soft: #e4f4ec;--danger: #c2334d;--radius: 12px;--shadow-sm: 0 1px 2px rgb(16 24 40 / .05);--shadow-md: 0 4px 16px rgb(16 24 40 / .08);--shadow-lg: 0 24px 48px rgb(16 24 40 / .18)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:var(--font-sans);font-size:14px;line-height:1.5;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}h1,h2,h3,h4{line-height:1.25}a{color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d879a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}.page{display:flex;flex-direction:column;gap:24px;max-width:1280px;margin:0 auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap}.page-heading h1{margin:0;font-size:26px;font-weight:700;letter-spacing:-.02em}.page-heading p{margin:6px 0 0;color:var(--text-3)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 16px;border:1px solid transparent;border-radius:9px;font-weight:600;font-size:13.5px;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.btn.btn-sm{height:32px;padding:0 12px;font-size:13px}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text)}.btn-secondary:hover{background:var(--surface-2)}.btn-ghost{background:transparent;color:var(--text-2)}.btn-ghost:hover{background:var(--surface-2);color:var(--text)}.btn-danger{background:transparent;color:var(--danger)}.btn-danger:hover{background:#fcebee}.icon-button{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text-3);cursor:pointer}.icon-button:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.icon-button:disabled{opacity:.35;cursor:default}.panel{min-width:0;padding:22px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.panel-heading h2{margin:0;font-size:15px;font-weight:650}.panel-heading p{margin:3px 0 0;font-size:13px;color:var(--text-3)}.panel-heading a{font-size:13px;font-weight:600;color:var(--accent);text-decoration:none;white-space:nowrap}.panel-heading a:hover{text-decoration:underline}.segmented{display:inline-flex;padding:3px;gap:2px;background:#eef0f5;border-radius:9px}.segmented button,.segmented label{position:relative;padding:5px 12px;border:0;border-radius:7px;background:transparent;color:var(--text-2);font-size:13px;font-weight:550;cursor:pointer;white-space:nowrap}.segmented button:hover,.segmented label:hover{color:var(--text)}.segmented button.active,.segmented label.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #1018281a}.chip{display:inline-flex;align-items:center;gap:6px;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;background:var(--surface-2);color:var(--text-2)}.chip:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.chip.reading{background:var(--reading-soft);color:var(--reading)}.chip.want-to-read{background:var(--queued-soft);color:var(--queued)}.chip.finished{background:var(--finished-soft);color:var(--finished)}.chip.plain:before{display:none}.progress{height:6px;overflow:hidden;border-radius:999px;background:#edf0f5}.progress>div{height:100%;border-radius:inherit;background:var(--accent);transition:width .3s ease}.progress.finished>div{background:var(--finished)}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>span{font-size:12.5px;font-weight:600;color:var(--text-2)}.field>span em{font-style:normal;font-weight:400;color:var(--text-3);margin-left:4px}.field input,.field select,.field textarea{width:100%;padding:9px 12px;border:1px solid var(--border-strong);border-radius:8px;background-color:var(--surface);outline:none;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.field textarea{resize:vertical}.empty-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;text-align:center;color:var(--text-3)}.empty-state svg{color:var(--border-strong)}.empty-state strong{color:var(--text-2);font-size:15px}.empty-state p{margin:0 0 8px;max-width:360px}.queue-number{display:inline-grid;place-items:center;flex:none;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:var(--queued-soft);color:var(--queued);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.book-title{font-family:var(--font-serif);font-weight:600;color:var(--text)}.muted{color:var(--text-3)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.field select{padding-right:40px}
