:root { --ink:#172c38; --muted:#5c707a; --teal:#19645d; --paper:#f6f8f7; --line:#dce5e1; --soft:#edf3ef; font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif; color:var(--ink); background:var(--paper); font-size:16px; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; }
button,input,textarea,select { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.65; }
button,input,select,textarea,a { -webkit-tap-highlight-color:transparent; }
:focus-visible { outline:3px solid #e19b37; outline-offset:3px; }
[hidden] { display:none !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.skip { position:fixed; top:-60px; left:20px; z-index:10; padding:10px; background:white; color:var(--teal); }
.skip:focus { top:10px; }
.sidebar { width:248px; background:#fff; border-right:1px solid var(--line); position:fixed; inset:0 auto 0 0; padding:34px 24px; display:flex; flex-direction:column; }
.brand { display:flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; font-size:18px; font-weight:750; letter-spacing:-.5px; }
.brand-mark { width:40px; height:42px; display:grid; place-items:center; color:#fff; background:var(--teal); border-radius:10px 10px 3px 10px; font-family:Georgia,serif; font-size:25px; font-weight:400; }
.brand small { display:block; color:var(--muted); font-size:12px; font-weight:400; letter-spacing:2px; margin-top:5px; }
.nav-label { margin:54px 12px 14px; font-size:12px; color:var(--muted); letter-spacing:2px; }
nav { display:grid; gap:6px; }
.nav-item { border:0; background:transparent; border-radius:8px; padding:13px 14px; display:flex; align-items:center; gap:15px; color:var(--muted); text-align:left; }
.nav-item span { width:20px; font-size:20px; text-align:center; }
.nav-item:hover { background:var(--paper); }
.nav-item.selected { background:var(--soft); color:var(--teal); font-weight:650; }
.sidebar-note { margin:38px 8px 0; padding-top:22px; border-top:1px solid var(--line); font-size:14px; }
.private-dot { display:inline-block; width:7px; height:7px; margin-right:8px; background:var(--teal); border-radius:50%; }
.sidebar-note p { color:var(--muted); font-size:12px; line-height:1.8; }
.sidebar-footer { margin-top:auto; color:var(--muted); font-size:11px; padding-top:24px; }
.workspace { margin-left:248px; }
.topbar { min-height:76px; padding:20px 48px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-bottom:1px solid var(--line); font-size:14px; color:var(--muted); background:#ffffffa6; }
.topbar strong { color:var(--ink); font-weight:500; }
.topbar span span { padding:0 14px; color:#a0aca8; }
.private-label { border:1px solid var(--line); border-radius:20px; padding:6px 12px; font-size:12px; }
main { max-width:1280px; margin:auto; padding:44px 48px 20px; min-height:calc(100vh - 142px); }
.heading { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:28px; }
.eyebrow { color:var(--teal); font-size:12px; letter-spacing:2px; margin:0 0 12px; }
h1 { margin:0; font-size:32px; letter-spacing:-1px; font-weight:650; }
.subtitle { color:var(--muted); font-size:14px; margin:12px 0 0; }
.primary,.secondary { border-radius:7px; padding:11px 18px; font-size:14px; font-weight:550; white-space:nowrap; }
.primary { background:var(--teal); color:white; border:1px solid var(--teal); }
.primary:hover:not(:disabled) { background:#104c46; }
.secondary { background:white; color:var(--ink); border:1px solid #c8d5cf; }
.secondary:hover:not(:disabled) { background:var(--soft); }
.session-panel { display:flex; justify-content:space-between; align-items:center; gap:20px; border:1px solid #d6e3dc; background:#edf4ef; border-radius:10px; padding:19px 22px; margin:0 0 28px; }
.session-panel strong { font-size:14px; font-weight:650; }
.session-panel p { margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.7; max-width:680px; }
.toolbar { display:flex; align-items:center; gap:12px; padding:8px 0 24px; border-bottom:1px solid var(--line); }
.search-box { display:flex; gap:10px; align-items:center; background:white; border:1px solid var(--line); border-radius:7px; padding:0 12px; min-width:180px; flex:1; }
.search-box span[aria-hidden] { font-size:23px; color:var(--muted); }
.search-box input { border:0; padding:12px 0; min-width:0; width:100%; background:transparent; font-size:14px; }
input::placeholder,textarea::placeholder { color:#78878e; opacity:1; }
.filter-label { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); margin-left:12px; }
select { background:white; color:var(--ink); border:1px solid var(--line); border-radius:7px; padding:11px 13px; font-size:14px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:26px 0 18px; }
h2 { font-size:18px; margin:0; font-weight:650; }
.section-heading span { color:var(--muted); font-size:12px; }
.notice { border-left:3px solid #b37a21; background:#fff8e8; padding:12px 16px; font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.empty-state { min-height:320px; background:white; border:1px dashed #ccd9d2; border-radius:10px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:32px 24px; }
.empty-state h3 { font-size:18px; font-weight:550; margin:18px 0 10px; }
.empty-state p { max-width:440px; color:var(--muted); font-size:14px; line-height:1.9; margin:0; }
.empty-footnote { font-size:11px; letter-spacing:3px; color:#687c76; margin-top:28px; }
.book-stack { width:72px; height:59px; position:relative; }
.book-stack span { display:block; position:absolute; width:53px; height:15px; border-radius:3px; border:1px solid #bad0c1; background:#edf3ed; }
.book-stack span:nth-child(1) { left:6px; top:4px; transform:rotate(-7deg); }
.book-stack span:nth-child(2) { left:16px; top:23px; background:#dce9df; transform:rotate(5deg); }
.book-stack span:nth-child(3) { left:5px; top:43px; background:#cddfd1; }
.book-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.book-card { display:flex; gap:20px; padding:22px; background:white; border:1px solid var(--line); border-radius:10px; min-width:0; }
.book-spine { width:66px; height:104px; flex-shrink:0; border-radius:2px 5px 5px 2px; border-left:6px solid #b6c9bd; background:#e0e9e2; display:grid; place-items:center; }
.book-spine span { font-size:9px; font-family:Georgia,serif; line-height:1.8; color:#61746a; letter-spacing:2px; }
.book-content { min-width:0; }
.status-pill { font-size:11px; padding:3px 7px; background:var(--soft); color:var(--teal); border-radius:4px; }
.book-card h3 { margin:12px 0 8px; font-size:16px; }
.book-title { padding:0; border:0; background:transparent; color:var(--ink); text-align:left; font-weight:600; overflow-wrap:anywhere; line-height:1.6; }
.book-title:hover { text-decoration:underline; }
.book-card p { margin:6px 0 0; font-size:12px; color:var(--muted); overflow-wrap:anywhere; line-height:1.7; }
.page-controls { text-align:center; margin:24px 0; }
footer { color:var(--muted); font-size:11px; text-align:center; padding:22px 20px; border-top:1px solid var(--line); }
footer span { padding:0 10px; }
dialog { width:min(640px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); border:1px solid var(--line); border-radius:12px; padding:28px; color:var(--ink); overflow:auto; }
dialog::backdrop { background:#172c3873; }
.dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.dialog-heading h2 { font-size:23px; }
.icon-button { border:0; background:var(--paper); border-radius:50%; width:36px; height:36px; font-size:24px; color:var(--muted); }
.dialog-intro,.form-note { font-size:13px; line-height:1.8; color:var(--muted); margin:16px 0; }
fieldset { margin:0; padding:0; border:0; }
.field { display:flex; flex-direction:column; gap:8px; margin-top:18px; font-size:14px; position:relative; }
.required { position:absolute; right:0; font-size:11px; color:var(--teal); }
.field input,.field textarea { min-width:0; width:100%; padding:11px 12px; border:1px solid #c8d5cf; border-radius:6px; background:white; color:var(--ink); }
.field textarea { resize:vertical; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 18px; }
.dialog-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:24px; }
dl { display:grid; grid-template-columns:100px minmax(0,1fr); gap:15px; font-size:14px; line-height:1.8; }
dt { color:var(--muted); } dd { margin:0; overflow-wrap:anywhere; white-space:pre-line; }
@media(min-width:1500px) { .book-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1100px) { .sidebar { width:210px; padding:30px 18px; } .workspace { margin-left:210px; } main { padding:32px 28px; } .topbar { padding:20px 28px; } .book-grid { grid-template-columns:1fr; } .filter-label { margin-left:0; } }
@media(max-width:760px) { .sidebar { position:static; width:auto; padding:20px; border-right:0; border-bottom:1px solid var(--line); } .brand { font-size:17px; } .nav-label,.sidebar-note,.sidebar-footer { display:none; } nav { display:flex; gap:5px; overflow:auto; margin-top:20px; padding-bottom:4px; } .nav-item { padding:10px 12px; white-space:nowrap; font-size:14px; } .nav-item span { display:none; } .workspace { margin-left:0; } .topbar { min-height:58px; padding:15px 20px; } main { padding:28px 20px; } .heading { align-items:flex-start; } h1 { font-size:28px; } .subtitle { line-height:1.8; } .heading .primary { padding:10px 12px; } .session-panel { align-items:flex-start; flex-direction:column; gap:14px; padding:18px; } .toolbar { flex-wrap:wrap; gap:10px; } .search-box { flex-basis:calc(100% - 84px); } .filter-label { width:100%; justify-content:space-between; } .section-heading { align-items:flex-start; flex-direction:column; gap:8px; } .empty-state { min-height:310px; } dialog { padding:22px; } }
@media(max-width:420px) { .heading { flex-wrap:wrap; } .form-grid { grid-template-columns:1fr; } .book-card { padding:18px; gap:16px; } dl { grid-template-columns:80px minmax(0,1fr); } }
@media(prefers-reduced-motion:no-preference) { button { transition:background-color .15s; } }
