.reading-chat{height:100dvh;flex-direction:column;overflow:hidden}.chat-header,.reading-chat{display:flex;background:var(--paper)}.chat-header{flex:none;height:76px;padding:0 36px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);z-index:2}.header-actions{display:flex;align-items:center;gap:22px;font-size:12px}.header-actions button{border:1px solid var(--line);border-radius:7px;background:var(--surface);padding:8px 13px;color:var(--ink)}.reading-chat .chat-main{position:relative;flex:1 1;min-height:0;max-width:none;width:100%;margin:0;overflow:hidden}.chat-viewport{height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;overflow-anchor:none}.chat-content{max-width:850px;padding:24px 26px 32px;margin:auto;display:flow-root}.chat-welcome{padding:42px 0 30px}.chat-welcome h1{font-size:48px}.chat-welcome .example-grid{margin-top:30px}.chat-message{margin:24px 0 30px;overflow-wrap:anywhere}.chat-message.user{margin-left:auto;max-width:82%;width:fit-content;background:var(--surface-e4ebde,#e4ebde);border-radius:15px 15px 4px 15px;padding:12px 18px}.message-author{font-size:12px;font-weight:600;color:var(--text-5e7467,#5e7467);margin-bottom:9px;display:flex;gap:14px;align-items:center}.message-text{margin:0;white-space:pre-wrap}.round-tag{font-size:10px;font-weight:400;border:1px solid var(--line);border-radius:5px;padding:1px 7px;color:var(--muted)}.message-books .result-card{margin:14px 0;background:var(--surface);padding:22px;border-radius:10px;gap:20px;grid-template-columns:85px minmax(0,1fr)}.message-books .result-cover{width:85px;height:124px}.message-books .result-card h3{font-size:20px}.message-books .result-card p{font-size:14px;line-height:1.8}.message-books .result-card .book-meta{font-size:12px}.book-copy{min-width:0}.book-copy a{text-decoration:underline;text-underline-offset:3px}.generation{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:9px}.status-dot{width:7px;height:7px;background:var(--accent);border-radius:50%}.jump-latest{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);padding:8px 16px;box-shadow:0 3px 14px #183e3410;font-size:12px;z-index:1}.composer-dock{flex:none;background:var(--paper);border-top:1px solid var(--border-e6e9e0,#e6e9e0);padding:12px 26px max(10px,env(safe-area-inset-bottom));z-index:2}.dock-inner{max-width:798px;margin:auto}.chat-composer{background:var(--surface);border:1px solid var(--border-bbcbbb,#bbcbbb);border-radius:14px;padding:10px 16px}.chat-composer:focus-within{border-color:var(--border-6e8d77,#6e8d77);box-shadow:0 0 0 2px #809b7c10}.reading-chat .chat-composer textarea{height:58px;min-height:58px;max-height:58px;resize:none;padding:4px 0;font-size:15px;line-height:1.7}.chat-composer-bottom{display:flex;align-items:center;justify-content:space-between;height:35px;gap:10px}.chat-composer-bottom span{font-size:11px;color:var(--muted)}.chat-composer-bottom button{border:none;border-radius:7px;background:var(--button-bg,var(--ink));color:white;font-size:12px;padding:7px 13px}.dock-note{position:relative;display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:7px;height:18px}.dock-note summary{cursor:pointer}.dock-note details p{position:absolute;bottom:22px;right:0;max-width:360px;background:var(--surface);border:1px solid var(--line);padding:14px;border-radius:8px;box-shadow:0 4px 16px #183e3412;font-size:12px;z-index:4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:640px){.chat-header{height:62px;padding:0 16px}.chat-header .brand{font-size:14px;gap:8px}.chat-header .brand-mark{font-size:25px}.header-actions{gap:12px;font-size:11px}.header-actions button{font-size:11px;padding:6px 9px}.chat-content{padding:16px 16px 24px}.chat-welcome{padding:20px 0}.chat-welcome h1{font-size:36px}.message-books .result-card{grid-template-columns:55px minmax(0,1fr);padding:14px;gap:12px}.message-books .result-cover{width:55px;height:82px}.message-books .result-card h3{font-size:18px}.chat-message.user{max-width:90%}.composer-dock{padding:9px 12px max(8px,env(safe-area-inset-bottom))}.chat-composer{padding:8px 12px}.reading-chat .chat-composer textarea{font-size:16px}.chat-composer-bottom span{font-size:10px}.dock-note{font-size:9px}.book-actions{gap:6px}.book-actions button{padding:7px 9px}}.book-suggestion{margin:20px 0 24px}.recommendation-prose{font-size:14px;line-height:1.8;margin:0 0 10px}.recommendation-prose>span{font-weight:650;margin-right:9px;color:var(--ink)}.message-books .compact-book{margin:0;padding:13px 15px;display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:4px 18px;align-items:center;border-radius:8px}.message-books .compact-book .result-cover{width:76px;height:110px;grid-row:1;align-self:center;font-size:11px;padding:0;object-fit:contain;background:transparent;border-radius:2px}.book-identity{min-width:0}.message-books .compact-book h3{font-size:16px;line-height:1.45;margin:2px 0 4px}.message-books .compact-book .book-authors{margin:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-book .result-label{font-size:10px}.compact-book .book-actions{margin:0;gap:6px;flex-wrap:nowrap}.compact-book .book-actions button{font-size:11px;padding:7px 9px;white-space:nowrap}.compact-book .book-details{grid-column:2/-1;font-size:11px;margin-top:3px;min-width:0}.compact-book summary{color:var(--muted);width:fit-content;cursor:pointer}.book-detail-body{padding:9px 0 2px;border-top:1px solid var(--line);margin-top:9px}.message-books .compact-book .book-detail-body p{font-size:13px;line-height:1.8;margin:8px 0}.compact-book blockquote{font-size:12px;margin:10px 0;padding-left:12px;border-left:2px solid var(--line)}.book-details a{text-decoration:underline;text-underline-offset:3px}@media(max-width:640px){.message-books .compact-book{grid-template-columns:64px minmax(0,1fr);padding:13px;gap:6px 13px}.message-books .compact-book .result-cover{width:64px;height:94px}.message-books .compact-book h3{font-size:15px}.compact-book .book-actions{grid-column:2;grid-row:2;justify-content:flex-start}.compact-book .book-details{grid-column:2;grid-row:3}.recommendation-prose{font-size:14px}.book-suggestion{margin:18px 0 22px}}.compact-book .book-cover-link{display:block;grid-row:1;align-self:center;border-radius:2px}.book-title-link{color:inherit;text-decoration:none;text-underline-offset:3px}.book-title-link:focus-visible,.book-title-link:hover{text-decoration:underline}.book-cover-link:hover{filter:brightness(.92)}.book-external-hint{font-size:.75em;font-weight:400;color:var(--text-89988b,#89988b);white-space:nowrap}.book-cover-link,.book-title-link{cursor:pointer}.book-title-link:focus-visible .book-external-hint,.book-title-link:hover .book-external-hint{color:var(--ink)}.message-books .primary-book{border-color:var(--border-789883,#789883);background:var(--surface-fffefb,#fffefb);box-shadow:inset 3px 0 0 #355f4c}.compact-book .primary-badge{display:inline-block;background:var(--surface-244e3e,#244e3e);color:#fff;font-size:11px;font-weight:650;line-height:1.6;border-radius:4px;padding:2px 7px;margin-bottom:3px;letter-spacing:.4px}.message-books .compact-book .match-label{display:table;max-width:100%;background:var(--surface-e7eee0,#e7eee0);border-radius:4px;font-weight:500;line-height:1.65;padding:3px 8px;margin:7px 0 1px;overflow-wrap:anywhere}.recommendation-prose{margin-bottom:8px}.recommendation-caveat{font-size:13px;line-height:1.8;color:var(--text-697568,#697568);margin:0 0 12px}.recommendation-caveat>span{font-weight:500;color:var(--text-506552,#506552)}.book-suggestion{margin-top:16px}.compact-book .book-actions{align-self:center}@media(max-width:640px){.message-books .compact-book .match-label{font-size:12px;padding:3px 7px}.recommendation-caveat{font-size:13px}.compact-book .primary-badge{font-size:11px}}.historical-label{display:inline-block;margin-bottom:9px}.chat-message.user{padding:13px 18px}.message-books .compact-book{row-gap:0}.message-books .compact-book .book-actions,.message-books .compact-book .book-identity{grid-row:1}@media(max-width:640px){.message-books .compact-book .book-actions{grid-row:2;margin-top:7px}}.message-text strong,.recommendation-caveat strong,.recommendation-prose strong{font-weight:650;color:inherit}.message-books .compact-book .cover-placeholder{background:var(--soft);padding:7px}@media(max-width:640px){.compact-book .book-cover-link,.message-books .compact-book>.result-cover{grid-row:1/3;align-self:start}}.compact-book .result-label:not(.primary-badge){display:inline-block;background:var(--surface-edf0e8,#edf0e8);color:var(--text-4c634e,#4c634e);border:1px solid var(--border-d9e1d3,#d9e1d3);font-size:11px;font-weight:600;line-height:1.6;border-radius:4px;padding:1px 7px;margin-bottom:3px;letter-spacing:.4px}.chat-message .message-text,.chat-message .recommendation-caveat,.chat-message .recommendation-prose{font-size:15px;line-height:1.8}.book-suggestion:empty{display:none}.reply-enter{animation:reply-appear .22s ease-out both}@keyframes reply-appear{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.reveal-all{border:0;background:transparent;color:var(--muted);font-size:12px;padding:5px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}@media(prefers-reduced-motion:reduce){.reply-enter{animation:none}}.book-title-link{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}.book-cover-link{position:relative;display:block;line-height:0}.cover-external{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--cover-hint-bg,rgba(250,250,245,.94));color:var(--text-697c70,#697c70);border:1px solid rgba(94,117,102,.16);box-shadow:0 1px 3px #173f350a;pointer-events:none;transition:background .15s,color .15s}.book-cover-link:focus-visible .cover-external,.book-cover-link:hover .cover-external{background:var(--surface-eef2eb,#eef2eb);color:var(--text-315847,#315847)}.cover-placeholder{line-height:1.5}.book-rating{font-size:13px;color:var(--text-385e4e,#385e4e);margin:8px 0}.book-rating span{color:var(--text-76877e,#76877e);font-size:11px}.recommendation-chapters{color:var(--text-4f685d,#4f685d);font-size:15px;line-height:1.9;margin:12px 0}.recommendation-chapters p{margin:4px 0}.recommendation-chapters details{font-size:12px;color:var(--text-6b7c72,#6b7c72)}.recommendation-chapters summary{cursor:pointer}.recommendation-chapters a{color:inherit}.answer-options{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.answer-options button{border:1px solid var(--border-b2c6b9,#b2c6b9);background:var(--surface-f1f6f0,#f1f6f0);color:var(--text-214c3e,#214c3e);border-radius:18px;padding:9px 15px;text-align:left}.answer-options span{width:100%;color:var(--text-708177,#708177);font-size:12px}.reading-outlets{border:1px solid var(--border-cad8cc,#cad8cc);padding:22px;border-radius:14px;background:var(--surface-eef3eb,#eef3eb);margin:20px 0}.reading-outlets h2{font-size:20px}.reading-outlets p{font-size:14px}.reading-outlets>div{display:flex;gap:12px;flex-wrap:wrap}.reading-outlets a{display:block;flex:1 1;min-width:180px;padding:14px;background:var(--surface-ffffff,white);color:var(--text-173f35,#173f35);border-radius:8px;border:1px solid var(--border-c7d8cb,#c7d8cb);text-decoration:underline;text-underline-offset:4px}.reading-outlets small{display:block;font-size:11px;text-decoration:none;margin-top:8px;line-height:1.7;color:var(--text-738275,#738275)}.reading-outlets .outlet-note{font-size:12px;color:var(--text-66766d,#66766d)}.history-backdrop{position:fixed;inset:0;background:#17392d55;z-index:1000}.history-panel{position:absolute;top:0;right:0;width:min(390px,100vw);height:100%;overflow:auto;background:var(--surface-fafaf5,#fafaf5);padding:24px;box-shadow:-8px 0 40px #142c231a;color:var(--text-214638,#214638)}.history-panel header{display:flex;justify-content:space-between;align-items:center}.history-panel h2{font-size:21px}.history-panel>p{font-size:12px;line-height:1.8;color:var(--text-6b7f71,#6b7f71)}.history-panel ul{list-style:none;padding:0}.history-panel li{padding:14px 12px;border-bottom:1px solid var(--border-dce3d9,#dce3d9)}.history-panel li.selected{background:var(--surface-eaf0e5,#eaf0e5);border-radius:10px}.history-panel button{border:0;background:transparent;color:var(--text-315847,#315847);cursor:pointer;padding:6px}.history-panel .history-title{display:block;width:100%;text-align:left;font-size:15px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.history-panel small{display:block;font-size:11px;color:var(--text-79867d,#79867d);padding:4px 6px}.history-panel li>div button{font-size:11px;text-decoration:underline}.history-panel input{width:100%;padding:8px;margin:8px 0;border:1px solid var(--border-b9cbbd,#b9cbbd);border-radius:5px;background:var(--surface-ffffff,white)}.history-panel label{font-size:13px}.answer-options button:focus-visible,.history-panel button:focus-visible{outline:2px solid var(--border-367050,#367050);outline-offset:2px}@media(max-width:600px){.header-actions{gap:4px}.header-actions button{font-size:12px;padding:7px}.header-actions a{font-size:11px}.reading-outlets a{min-width:100%}.history-panel{padding:20px}.brand-mark{display:none}}.chat-welcome{padding-top:24px}.chat-header:has(.history-backdrop){z-index:20}.chat-composer-bottom .template-undo{background:transparent;color:var(--text-597364,#597364);padding:4px 0;text-decoration:underline;text-underline-offset:3px;font-size:12px}.book-rating a{color:inherit;text-decoration:underline;text-decoration-color:var(--surface-c7d3cc,#c7d3cc);text-underline-offset:3px}.message-books .compact-book .match-label{grid-column:1/-1;grid-row:2;display:block;background:transparent;border-top:1px solid var(--border-dfe6d9,#dfe6d9);border-radius:0;padding:10px 0 0;margin:12px 0 0;font-size:12px;line-height:1.8;color:var(--text-355b40,#355b40)}.match-label>span{color:var(--muted);font-weight:400}.book-cover-zoom{position:relative;display:block;grid-column:1;grid-row:1;padding:0;border:0;border-radius:3px;background:transparent;line-height:0;cursor:zoom-in;justify-self:start}.book-cover-zoom:focus-visible{outline:2px solid var(--border-52745e,#52745e);outline-offset:4px}.cover-zoom-hint{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--cover-hint-bg,rgba(250,250,245,.94));color:var(--text-697c70,#697c70);border:1px solid rgba(94,117,102,.16);pointer-events:none}.book-cover-zoom:hover .cover-zoom-hint{background:var(--surface-eef2eb,#eef2eb);color:var(--text-315847,#315847)}.cover-viewer{border:0;padding:28px;background:transparent;max-width:100vw;max-height:100dvh;overflow:auto;color:white}.cover-viewer::backdrop{background:rgba(16,29,23,.78);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.cover-viewer-content{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px}.cover-viewer-content>img{display:block;width:auto;height:auto;max-width:min(72vw,560px);max-height:75dvh;object-fit:contain;box-shadow:0 14px 50px #0005}.message-books .compact-book .cover-viewer-content>p{font-size:14px;line-height:1.5;color:#fff;margin:0;text-align:center;max-width:70vw}.cover-viewer-close{position:absolute;top:-18px;right:-22px;width:36px;height:36px;border-radius:50%;border:1px solid #ffffff50;background:var(--surface-f7f8f2,#f7f8f2);color:var(--text-234236,#234236);font-size:25px;line-height:1;cursor:pointer;box-shadow:0 2px 10px #0003}@media(max-width:640px){.message-books .compact-book .book-actions{grid-column:1/-1;grid-row:3;margin-top:12px;justify-content:flex-end}.message-books .compact-book .match-label{padding:9px 0 0;margin-top:10px}.cover-viewer{padding:26px}.cover-viewer-content>img{max-width:78vw;max-height:72dvh}}.reading-entry-dialog{position:fixed;width:min(440px,calc(100vw - 36px));max-height:85dvh;box-sizing:border-box;margin:auto;padding:30px;border:1px solid var(--line);border-radius:16px;background:var(--surface-fffefb,#fffefb);color:var(--ink);box-shadow:0 20px 80px #10251b33;overflow:auto;text-align:left;white-space:normal}.reading-entry-dialog::backdrop{background:#10251b88;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.reading-entry-dialog h2{font-size:20px;line-height:1.5;margin:0 24px 8px 0}.message-books .compact-book .reading-entry-intro{font-size:14px;color:var(--muted);margin:0 0 22px}.compact-book .book-actions .reading-entry-close{position:absolute;right:14px;top:12px;width:32px;height:32px;padding:0;background:transparent;color:var(--muted);border:0;font-size:24px;cursor:pointer}.reading-entry-options{display:grid;gap:12px}.reading-entry-options a{display:flex;flex-direction:column;gap:6px;padding:17px 18px;border:1px solid var(--border-d6e0d2,#d6e0d2);border-radius:10px;text-decoration:none;color:var(--ink);background:var(--surface-f2f5ec,#f2f5ec);white-space:normal}.reading-entry-options a:hover{background:var(--surface-e7eee0,#e7eee0);border-color:var(--border-7c9780,#7c9780)}.reading-entry-options a>span{font-size:16px;font-weight:600}.reading-entry-options small{font-size:12px;line-height:1.6;color:var(--muted)}.message-books .compact-book .reading-entry-note{font-size:11px;line-height:1.7;color:var(--muted);margin:18px 0 0}@media(max-width:640px){.reading-entry-dialog{padding:25px 20px}.reading-entry-dialog h2{font-size:18px}}.dock-note{height:auto;min-height:18px;gap:6px 14px;flex-wrap:wrap;align-items:center}.dock-links{display:flex;align-items:center;gap:14px;margin-left:auto}.dock-links>a{color:inherit;text-decoration:none;white-space:nowrap}.dock-links>a:hover{text-decoration:underline;text-underline-offset:3px}.dock-links>a:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}.dock-links>a.version-update-link{display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid var(--border-b5c7b5,#b5c7b5);border-radius:6px;background:var(--surface-edf3e8,#edf3e8);color:var(--ink);font-size:12px;line-height:1.5;text-decoration:none}.version-update-number{font-weight:650;border-right:1px solid var(--border-c3d1bc,#c3d1bc);padding-right:8px}.dock-links>a.version-update-link:hover{background:var(--surface-e1ecd9,#e1ecd9);border-color:var(--border-819c80,#819c80)}.dock-note:has(.version-update-link){margin-top:9px;min-height:30px}.history-panel>header button{font-size:12px;white-space:nowrap}.history-toggle{white-space:nowrap}.history-toggle[aria-expanded=true]{background:var(--surface-e8efe2,#e8efe2);border-color:var(--border-b8cbb3,#b8cbb3)}.history-panel ul{margin:14px 0}.history-panel li.selected{border-left:3px solid var(--border-527754,#527754)}.history-panel button:disabled{cursor:default;opacity:.5}@media(min-width:960px){.reading-chat:has(.history-backdrop)>.chat-main{width:calc(100% - 300px);margin-left:300px}.reading-chat:has(.history-backdrop)>.composer-dock{margin-left:300px}.history-backdrop{left:0;top:76px;bottom:0;right:auto;width:300px;background:transparent;z-index:10}.history-panel{position:relative;inset:auto;width:100%;height:100%;padding:20px 16px;border-right:1px solid var(--line);box-shadow:none;background:var(--surface-f2f5ed,#f2f5ed)}.history-panel h2{font-size:18px;margin:0}.history-panel li{padding:11px 8px}.history-panel .history-title{font-size:14px}}.header-leading{display:flex;align-items:center;gap:16px;min-width:0}.header-leading>.history-toggle{border:1px solid var(--border-c5d1be,#c5d1be);border-radius:7px;padding:8px 10px;color:var(--ink);background:var(--surface-edf2e7,#edf2e7);cursor:pointer;font-size:12px}.header-leading>.history-toggle:focus-visible{outline:2px solid var(--border-367050,#367050);outline-offset:3px}@media(max-width:959px){.history-panel{left:0;right:auto;box-shadow:8px 0 40px #142c231a}}@media(max-width:640px){.header-leading{gap:8px}.header-leading>.history-toggle{font-size:11px;padding:7px}.chat-header{padding-left:12px;padding-right:12px}.header-leading .brand{font-size:13px}}.dock-note>details>p{left:0;right:auto;bottom:34px;width:min(360px,calc(100vw - 48px));max-width:100%;max-height:60dvh;overflow:auto}.dock-note>details>summary{font-size:11px}.dock-note>details>summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}@media(max-width:640px){.chat-header{height:auto;min-height:62px;padding-top:10px;padding-bottom:10px}.chat-header,.header-leading{flex-wrap:wrap;gap:8px}.header-actions{margin-left:auto}}.header-actions>a{white-space:nowrap}@media(max-width:640px){.header-actions{flex-wrap:wrap;justify-content:flex-end;column-gap:12px;row-gap:7px}}.header-actions>a:focus-visible,.header-actions>a:hover{text-decoration:underline;text-underline-offset:4px}.header-leading>.history-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--text-53685b,#53685b);flex-shrink:0}.header-leading>.history-toggle:focus-visible,.header-leading>.history-toggle:hover{background:var(--surface-e8eee3,#e8eee3)}.history-toggle:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 9px);left:0;padding:6px 9px;border-radius:6px;background:var(--surface-244535,#244535);color:white;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;z-index:30}.history-toggle:focus-visible:after,.history-toggle:hover:after{opacity:1}.header-leading{gap:13px}.history-panel{display:flex;flex-direction:column;overflow:hidden;padding:0;background:var(--surface-f1f4ed,#f1f4ed)}.history-panel .sidebar-brand-row{height:76px;min-height:76px;padding:0 22px;gap:12px}.sidebar-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:18px;font-weight:600;white-space:nowrap}.sidebar-brand-mark{font-family:var(--serif);font-weight:400;font-size:27px;line-height:1}.history-panel .sidebar-new{display:flex;align-items:center;gap:10px;margin:9px 16px 24px;padding:12px 14px;border:1px solid var(--border-d2dec9,#d2dec9);border-radius:9px;background:var(--surface-e8efdf,#e8efdf);color:var(--text-2e5039,#2e5039);font-size:14px;text-align:left}.history-panel .sidebar-new:hover:not(:disabled){background:var(--surface-dde8d2,#dde8d2)}.sidebar-history-heading{display:flex;align-items:center;justify-content:space-between;padding:0 22px 10px}.history-panel .sidebar-history-heading h2{font-size:12px;line-height:1.6;font-weight:500;color:var(--text-68796a,#68796a);margin:0}.sidebar-history-heading>span{font-size:10px;color:var(--text-8a9688,#8a9688)}.history-panel .sidebar-history-list{flex:1 1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:0 10px 12px;scrollbar-width:thin}.history-panel .sidebar-history-list li{position:relative;margin:3px 0;padding:9px 10px;border:0;border-radius:8px}.history-panel .sidebar-history-list li:hover{background:var(--surface-e8ede3,#e8ede3)}.history-panel .sidebar-history-list li.selected{background:var(--surface-e0ead7,#e0ead7);border:0}.history-panel .history-title{font-size:13px;line-height:1.65;padding:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.history-panel small{font-size:10px;padding:3px 2px}.history-panel .history-row-actions{display:flex;justify-content:flex-end;gap:6px}.history-panel .history-row-actions button{font-size:10px;padding:2px 3px;color:var(--text-71816c,#71816c);text-decoration:none}.history-panel .history-row-actions button:hover{text-decoration:underline}.history-panel>.sidebar-footnote{flex:none;border-top:1px solid var(--border-e0e6da,#e0e6da);padding:14px 18px;margin:0;font-size:10px;color:var(--text-7f8b78,#7f8b78)}.history-panel>p:not(.sidebar-footnote){padding:0 20px}.history-panel .sidebar-mobile-close{padding:5px;display:inline-flex}@media(hover:hover) and (pointer:fine){.history-panel .history-row-actions{opacity:0}.history-panel li:focus-within .history-row-actions,.history-panel li:hover .history-row-actions{opacity:1}}@media(min-width:960px){.reading-chat:has(.history-backdrop)>.chat-header{margin-left:280px;padding-left:20px}.reading-chat:has(.history-backdrop)>.chat-main{width:calc(100% - 280px);margin-left:280px}.reading-chat:has(.history-backdrop)>.composer-dock{margin-left:280px}.history-backdrop{top:0;width:280px}.history-panel{border-right:1px solid var(--border-e0e6da,#e0e6da)}.history-panel .sidebar-mobile-close{display:none}.reading-chat:has(.history-backdrop) .header-leading>.brand,.reading-chat:has(.history-backdrop) .header-new-conversation{display:none}}@media(max-width:959px){.history-panel{width:min(300px,88vw)}.history-panel .sidebar-brand-row{height:68px;min-height:68px;justify-content:space-between}.history-backdrop{background:#17392d40}}@media(max-width:640px){.header-leading>.history-toggle{padding:0;width:32px;height:32px}.header-leading{gap:8px}}@media(prefers-reduced-motion:no-preference){.sidebar-history-list li,.sidebar-new{transition:background .15s ease}.history-panel{animation:sidebar-enter .18s ease-out}@keyframes sidebar-enter{0%{opacity:.6;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}}@media(max-width:959px){.reading-chat:has(.history-backdrop) .header-leading>.history-toggle{visibility:hidden}}.recommendation-feedback{margin:18px 0 8px;color:var(--text-718075,#718075);font-size:13px}.feedback-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.feedback-actions button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;background:transparent;color:var(--text-627568,#627568);border:1px solid transparent;border-radius:7px;font:inherit;cursor:pointer}.feedback-actions button:hover,.feedback-actions button[aria-pressed=true]{background:var(--surface-e8efdf,#e8efdf);color:var(--text-204d3e,#204d3e);border-color:var(--border-b7cbb0,#b7cbb0)}.feedback-actions small{font-size:12px}.feedback-invited{padding:16px;border:1px solid var(--border-bdd0b4,#bdd0b4);border-radius:10px;background:var(--surface-f0f4e9,#f0f4e9)}.feedback-invitation{position:relative;display:grid;gap:5px;padding:0 25px 12px 0}.feedback-invitation strong{color:var(--text-244b3c,#244b3c);font-size:15px}.feedback-invitation>button{position:absolute;right:0;top:0;background:none;border:0;cursor:pointer;color:inherit;font-size:22px}.feedback-reasons{margin:12px 0;display:grid;gap:10px;max-width:650px}.feedback-reasons>div{display:flex;gap:6px;flex-wrap:wrap}.feedback-reasons button{border:1px solid var(--border-d4dece,#d4dece);border-radius:6px;background:transparent;color:var(--text-45604b,#45604b);padding:6px 9px;font:inherit;cursor:pointer}.feedback-reasons button[aria-pressed=true]{background:var(--surface-e2ecd8,#e2ecd8);border-color:var(--border-99b38c,#99b38c)}.feedback-reasons textarea{display:block;width:100%;font:inherit;margin-top:7px;border:1px solid var(--border-cbd8c4,#cbd8c4);border-radius:7px;padding:9px;resize:vertical;color:var(--text-244b3c,#244b3c);background:var(--surface-ffffff,white)}.feedback-reasons>button{justify-self:start}.feedback-error{color:var(--text-943b2b,#943b2b)}.feedback-actions button:focus-visible,.feedback-invitation button:focus-visible,.feedback-reasons button:focus-visible{outline:2px solid var(--border-547768,#547768);outline-offset:2px}.recommendation-feedback button:disabled{opacity:.5;cursor:default}@media(max-width:600px){.feedback-actions>span{flex-basis:100%}}.book-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:5px 8px;margin-bottom:4px}.message-books .compact-book .book-eyebrow .result-label{margin-bottom:0}.book-author-row{display:flex;align-items:baseline;gap:7px;min-width:0}.book-author-row .book-authors{min-width:0;flex:0 1 auto}.book-author-row>span{flex-shrink:0}.book-meta-divider{color:var(--muted);font-size:12px}.message-books .compact-book .book-rating{margin:8px 0 0;font-size:13px;line-height:1.6}.message-books .compact-book .book-author-row>*{font-size:12px;line-height:1.6;font-weight:400}.feedback-reasons .feedback-submit{padding:8px 18px;transition:background-color .15s,border-color .15s}.feedback-reasons .feedback-submit:not(:disabled){background:var(--button-bg,var(--ink));border-color:var(--ink);color:#fff}.feedback-reasons .feedback-submit:not(:disabled):hover{background:var(--surface-285b48,#285b48);border-color:var(--border-285b48,#285b48)}.feedback-reasons .feedback-submit:disabled{background:var(--surface-edf0e9,#edf0e9);color:var(--text-8b958b,#8b958b);border-color:var(--border-dce2d7,#dce2d7);opacity:1;cursor:not-allowed}