/* The original AppShell owns navigation. This stylesheet owns only the assistant. */
body.assistant-page{background:#f1f5f9;color:#20364c;font-family:'Be Vietnam Pro','Segoe UI',sans-serif}
.assistant-page .app-frame{max-width:none;margin:0;min-height:100dvh}
.assistant-page #lvfh-main{display:block;padding:0;margin:0;max-width:none;background:transparent;min-height:0}
.assistant-page .site-footer,.assistant-page .assistant-launcher,.assistant-page .lvfh-assistant-launcher{display:none}
.assistant-content{--navy:#205482;--line:#dbe4ec;--muted:#64788c;max-width:1600px;margin:0 auto}
.assistant-content .workspace{height:calc(100dvh - var(--shell-height,148px) - 16px);margin:8px 16px;grid-template-columns:190px minmax(0,1fr) 340px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white}
.assistant-content #main{display:flex;flex-direction:column;min-height:0;min-width:0;background:white}
.assistant-content .history-pane{padding:16px 12px;background:#f5f8fb}
.assistant-content .sources-pane{padding:16px;background:#fff}
.assistant-content .new-session{margin:14px 0;border-radius:5px;padding:9px 10px}
.assistant-content .conversation-bar{padding:0 24px;min-height:52px;height:52px;background:#fbfdff}
.assistant-content .chat-scroll{scrollbar-gutter:stable}
.assistant-content .turn{max-width:none;margin:0;padding:24px 28px;border-bottom:1px solid #e6edf3}
.assistant-content .response{max-width:none;font-size:14px;line-height:1.85}
.assistant-content .response h2{font-size:20px;margin-bottom:6px}
.assistant-content .response h3{font-size:15px;margin:20px 0 8px}
.assistant-content .response p{margin:8px 0 12px}
.assistant-content .answer-scope{margin-top:0;font-size:12px}
.assistant-content .question-row{margin:0 0 24px}
.assistant-content .question-text{font-size:13px}
.assistant-content .composer{padding:12px 28px;background:#fbfdff}
.assistant-content .composer form,.assistant-content .composer-note,.assistant-content .ai-access-status,.assistant-content #caseSummary{max-width:none;width:100%;margin-left:0;margin-right:0}
.assistant-content .composer textarea{min-height:60px;resize:none;font-size:13px}
.assistant-content .composer-tools{gap:8px;padding:4px 10px 10px}
.assistant-content .composer-note{font-size:10px}
.assistant-content .welcome{max-width:none;margin:0;padding:40px 28px}
.assistant-content .welcome>img{width:42px;height:42px;margin-bottom:12px}
.assistant-content .welcome h2{font-size:23px;max-width:none;margin-bottom:24px}
.assistant-content .suggestions{max-width:100%;gap:8px}
.assistant-content .suggestions button{background:white;border:1px solid var(--line);font-size:13px}
.assistant-content .source-card{padding:16px 0}
.assistant-content .source-card h3{font-size:13px;line-height:1.6;margin:8px 0}
.assistant-content .source-meta{font-size:11px;line-height:1.7}
.assistant-content .source-kind{font-size:11px;color:#205482}
.assistant-content .notice{font-size:12px;border-radius:0;padding:10px 12px}
.assistant-content .response .review-required{font-size:11px;margin:12px 0}
.assistant-content .evidence-label{font-size:11px}
.assistant-content .response .references{font-size:12px;line-height:1.8}
.assistant-content .response-actions{border-top:1px solid var(--line);padding-top:10px}
.assistant-content .source-tabs button{font-size:12px}
.assistant-page.focused .workspace,.assistant-page.sources-closed:not(.focused) .workspace{max-width:1120px;margin:8px auto;grid-template-columns:190px minmax(0,1fr)}
.assistant-page.focused .workspace{max-width:980px;grid-template-columns:minmax(0,1fr)}
.assistant-page.focused .history-pane,.assistant-page.focused .sources-pane{display:none}
.assistant-page.focused .conversation-bar,.assistant-page.focused .composer{padding-left:28px;padding-right:28px}
@media(min-width:1500px){.assistant-content .workspace{grid-template-columns:210px minmax(0,1fr) 370px}}
@media(max-width:1100px){.assistant-content .workspace,.assistant-page.sources-closed:not(.focused) .workspace{grid-template-columns:170px minmax(0,1fr);margin:8px}.assistant-content .sources-pane{display:none;position:fixed;top:var(--shell-height,148px);bottom:0;right:0;width:min(380px,92vw);z-index:80;box-shadow:-8px 0 28px #193b5820}.assistant-page.source-open .sources-pane{display:flex}.assistant-page.source-open .backdrop{display:block;position:fixed;inset:var(--shell-height,148px) 0 0;background:#16365335;z-index:70}}
@media(max-width:680px){.assistant-content .workspace,.assistant-page.sources-closed:not(.focused) .workspace,.assistant-page.focused .workspace{grid-template-columns:minmax(0,1fr);height:calc(100dvh - var(--shell-height,148px));margin:0;border:0;border-radius:0}.assistant-content .history-pane{display:none;position:fixed;top:var(--shell-height,148px);bottom:0;left:0;z-index:80;width:280px}.assistant-page.history-open .history-pane{display:flex}.assistant-content .conversation-bar{padding:0 12px;gap:4px}.assistant-content .conversation-bar h1{font-size:13px}.assistant-content .turn{padding:20px 16px}.assistant-content .composer,.assistant-page.focused .composer{padding:10px 12px}.assistant-content .composer-tools{gap:6px}.assistant-content .composer-tools #sourcePicker,.assistant-content .composer-tools #aiToggle{font-size:11px;padding:6px 8px}.assistant-content .composer-tools #caseButton{font-size:11px;padding:6px}.assistant-content .welcome{padding:28px 18px}.assistant-content .welcome h2{font-size:21px}.assistant-content .response{font-size:13px}.assistant-content .question-text{font-size:12px}.assistant-content #runStatus{display:none}}

.assistant-page .lv-site-footer,.assistant-page .lv-ai-launcher,.assistant-page .launcher-dismiss{display:none}

body.assistant-page .lvfh-shell > footer.lv-site-footer{display:none}
body.assistant-page{overflow:hidden}

.assistant-content .close-assistant{font-size:11px;color:#60788e;white-space:nowrap}.assistant-content .welcome{padding-top:24px;padding-bottom:24px}.assistant-content .welcome>img{width:34px;height:34px;margin-bottom:8px}.assistant-content .welcome h2{margin-bottom:18px}.assistant-content .composer-tools .send{min-height:40px}

.assistant-content .answer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.assistant-content .answer-heading h2.answer-scope{font-size:16px;font-weight:650;line-height:1.6;margin:0;color:#20364c;flex:1;min-width:220px}
.assistant-content .answer-heading .review-required{margin:0;white-space:nowrap;padding:4px 8px;font-size:10px}
.assistant-content .turn{padding-top:18px}.assistant-content .question-row{margin-bottom:18px}.assistant-content .response h3{margin-top:14px}
@media(max-width:680px){.assistant-content .answer-heading{gap:8px}.assistant-content .answer-heading h2.answer-scope{font-size:15px;min-width:180px}}

.book-discovery{border-top:1px solid #d8e3ed;margin-top:24px;padding-top:14px}.book-page-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.book-page-links a{padding:5px 9px;border:1px solid #c7d7e5;border-radius:5px;font-size:12px}.book-discovery>a{font-size:12px}

.book-retrieval{margin-top:24px;border-top:1px solid #d8e3ed;padding-top:12px}.book-excerpt{padding:10px 0;border-bottom:1px solid #e4ebf1}.book-excerpt summary{cursor:pointer;font-size:13px;color:#244e73}.book-excerpt>a{display:inline-block;margin:7px 18px 0 0;font-size:12px}.book-excerpt blockquote{white-space:pre-line}

.book-search-hit{padding:14px 0;border-bottom:1px solid #e4ebf1}.book-search-hit>a:first-child{font-size:12px;font-weight:650}.book-search-hit h3{font-size:14px;line-height:1.6;margin:7px 0}.book-search-hit .book-preview{font-size:13px;line-height:1.8;margin:7px 0;color:#334c63}.book-search-hit>a:last-child{font-size:12px}.book-retrieval>h2{font-size:16px;margin:0 0 10px}.book-retrieval>a{display:inline-block;margin-top:14px;font-size:12px}
.assistant-content .preparation-report{margin:12px 0 20px;padding:14px 16px;border:1px solid #d8e3ed;border-radius:8px}
.assistant-content .preparation-report>h3{margin:0 0 10px;color:#244e73;font-size:15px}
.assistant-content .preparation-section+ .preparation-section{border-top:1px solid #e4ebf1;margin-top:10px;padding-top:10px}
.assistant-content .preparation-section h4{font-size:14px;margin:0 0 5px;line-height:1.6}
.assistant-content .preparation-section ul{margin:0;padding-left:19px}
.assistant-content .preparation-section li{padding:2px 0;white-space:pre-line;line-height:1.65}
.assistant-content .response .citation{display:inline-flex;vertical-align:baseline;white-space:nowrap;margin:0 2px;padding:0 3px}
.assistant-content details.preparation-section>summary{font-size:13px;color:#244e73;cursor:pointer}
.assistant-content details.preparation-section[open]>summary{margin-bottom:7px}
/* Compact the shared shell on the assistant page and keep its native tabs. */
@media(min-width:1101px){
 .assistant-page .app-frame.lvfh-shell>.topbar{min-height:0;padding-top:5px;row-gap:3px}
 .assistant-page .app-frame.lvfh-shell .lvfh-logo{width:36px;height:36px}
 .assistant-page .app-frame.lvfh-shell .lv-mega{padding-block:6px;gap:8px}
 .assistant-page .app-frame.lvfh-shell .lv-nav-caption{display:none}
 .assistant-page .app-frame.lvfh-shell :is(.lv-mega-home,.lv-mega-trigger){min-height:38px;padding:6px 11px!important}
 .assistant-page .assistant-content .workspace{grid-template-columns:clamp(140px,12vw,170px) minmax(0,1fr) clamp(235px,20vw,290px)}
 .assistant-page.sources-closed:not(.focused) .assistant-content .workspace{max-width:none;margin:8px 16px;grid-template-columns:clamp(140px,12vw,170px) minmax(0,1fr)}
 .assistant-page.focused .assistant-content .workspace{max-width:none;margin:8px 16px;grid-template-columns:minmax(0,1fr)}
}
.assistant-content .conversation-bar{min-height:40px;height:40px}
.assistant-content .composer{padding-block:8px}
.assistant-content .composer textarea{min-height:44px}
.assistant-content .response .references{list-style:none;padding-left:0}
.assistant-content .response .references li{padding:3px 0;overflow-wrap:anywhere}
.assistant-content .reference-index{display:inline-block;min-width:26px;font-weight:700;color:#205482;background:#edf4fb;border:0;border-radius:4px;padding:1px 4px;cursor:pointer}
.assistant-content .reference-index:focus-visible{outline:2px solid #205482;outline-offset:2px}
.assistant-content .repeated-source-lines{margin:3px 0;color:#546b80;font-size:12px}
.assistant-content .repeated-source-lines summary{cursor:pointer}
.assistant-content .response .answer-mode{margin:0 0 8px;font-size:12px;font-weight:700;color:#24527a}
.assistant-content .preparation-report,
.assistant-content .evidence-block{min-width:0;overflow-wrap:anywhere}

.pilot-answer { min-width: 0; overflow-wrap: anywhere; }
.pilot-answer > section { margin-block: 1.25rem; }
.pilot-answer h3 { margin: 0 0 .45rem; }
.pilot-answer .pilot-summary { font-weight: 600; }
.pilot-answer .pilot-context { color: #4b6075; font-size: .875rem; }
.pilot-answer .pilot-table-scroll {
  max-inline-size: 100%;
  overflow-x: auto;
  border: 1px solid #d6e1ea;
  border-radius: .55rem;
}
.pilot-answer .pilot-table-scroll table {
  width: 100%;
  min-width: 35rem;
  border-collapse: collapse;
  text-align: start;
}
.pilot-answer .pilot-table-scroll :is(th, td) {
  padding: .65rem .7rem;
  border-bottom: 1px solid #d6e1ea;
  text-align: start;
  vertical-align: top;
}
.pilot-answer .pilot-table-scroll thead { background: #eef4f8; }
.pilot-answer .pilot-table-scroll tbody tr:last-child > * { border-bottom: 0; }
.pilot-answer .pilot-citation { white-space: nowrap; font-weight: 700; }
.pilot-answer .pilot-source-list { padding-inline-start: 1.6rem; }
.pilot-answer .pilot-source-list li[id] { scroll-margin-block: .75rem; }
.pilot-answer .pilot-source-list li[id]:target { background: #e6f0f8; outline: 2px solid #13568d; }
.pilot-answer .pilot-related-group { margin-block: .45rem; }
.pilot-answer .pilot-related-group summary { cursor: pointer; font-weight: 600; }
.pilot-answer :is(a, summary, .pilot-table-scroll):focus-visible { outline: 2px solid #13568d; outline-offset: 2px; }
@media (max-width: 560px) {
  .pilot-answer .pilot-table-scroll :is(th, td) { padding: .55rem .5rem; }
  .pilot-answer .pilot-source-list { padding-inline-start: 1.3rem; }
}
