:root {
  color-scheme: light;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-synthesis: none;
  color: #263e43;
  background: #f4f5f0;
  --ink: #173f49;
  --sea: #167f94;
  --lime: #bbcd43;
  --line: #d7dfd9;
  --muted: #687b7c;
  --paper: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--sea); outline-offset: 3px;
}
[hidden] { display: none !important; }
.site-header {
  height: 80px; padding: 0 30px; display: flex; align-items: center; gap: 30px;
  background: white; border-bottom: 3px solid var(--lime); position: sticky; top: 0; z-index: 20;
}
.brand { display: block; width: 330px; flex-shrink: 0; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }
.application-name { border-left: 1px solid var(--line); padding: 6px 0 6px 26px; color: var(--ink); font-size: 14px; font-weight: 600; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.model-name { color: var(--muted); font-size: 11px; white-space: nowrap; }
.model-name strong { font-weight: 500; color: var(--ink); margin-left: 8px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px;
  padding: 9px 17px; border: 1px solid transparent; border-radius: 2px;
  font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.primary { background: var(--ink); border-color: var(--ink); color: white; }
.primary:hover { background: #225662; border-color: #225662; }
.secondary { background: white; border-color: #b7c7c8; color: var(--ink); }
.secondary:hover { background: #edf3f1; }
.settings-button { min-height: 34px; padding: 6px 18px; }
.wide { width: 100%; }
.app-shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); align-items: start; background: var(--ink); }
.sidebar {
  background: var(--ink); color: #e4eceb; padding: 28px 18px 22px; display: flex; flex-direction: column;
  position: sticky; top: 80px; height: calc(100vh - 80px); min-height: 400px;
}
.sidebar .primary { background: #f6f8f4; color: var(--ink); border-color: #f6f8f4; }
.sidebar .primary:hover { background: #e6eeea; }
.sidebar .primary span { font-size: 17px; font-weight: 400; }
.section-label { font-size: 11px; color: #b7cdce; padding: 28px 0 12px; border-bottom: 1px solid #365c64; }
#meeting-list { flex: 1; min-height: 0; overflow-y: auto; margin-top: 8px; scrollbar-width: thin; scrollbar-color: #54767d transparent; }
.meeting-link {
  display: block; text-align: left; width: 100%; padding: 13px 10px; margin: 3px 0; border: 0;
  border-left: 2px solid transparent; border-radius: 0; background: transparent; color: #d0dfdf;
  font-size: 12px; line-height: 1.7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.meeting-link.active { border-left-color: var(--lime); background: #27515b; color: white; }
.meeting-link:hover { background: #224c57; }
.meeting-link small { display: block; color: #a9c2c4; font-size: 10px; margin-top: 3px; }
.sidebar .muted { color: #a9c2c4; line-height: 1.8; }
.sidebar-bottom { display: flex; gap: 9px; align-items: center; border-top: 1px solid #365c64; padding-top: 18px; color: #abc4c5; font-size: 10px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #66a398; vertical-align: middle; }
.sidebar-bottom .status-dot { background: var(--lime); }
.status-dot.off { background: #a3adaa; }
main { min-width: 0; padding: 28px 34px 0; background: #f4f5f0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; min-height: 100px; }
.meeting-heading { min-width: 0; }
h1 { font-size: 25px; line-height: 1.6; letter-spacing: .025em; font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.meeting-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.meeting-meta p { margin: 0; font-size: 12px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #607872; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #91aaa1; }
.badge.live { color: #a6473c; }
.badge.live::before { background: #af4c41; }
.coast-view { margin: 0; width: 41%; max-width: 470px; height: 100px; flex-shrink: 0; background: #bed1c8; overflow: hidden; }
.coast-view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.recording-bar {
  display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #fff;
  border: 1px solid #cbd8d4; border-left: 3px solid var(--sea);
}
.recording-visual { display: flex; align-items: center; justify-content: center; width: 18px; flex-shrink: 0; }
.recording-visual span { display: block; width: 9px; height: 9px; border: 1px solid #8b9d99; border-radius: 50%; }
.recording-visual.live span { background: #ac4b40; border-color: #ac4b40; animation: recording 1.4s infinite; }
.recording-info { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.recording-info strong { font-size: 13px; font-weight: 600; }
.recording-info>span { color: var(--muted); font-size: 10px; line-height: 1.6; }
.timer { font-family: Consolas, "SFMono-Regular", monospace; font-variant-numeric: tabular-nums; font-size: 21px; letter-spacing: .035em; color: var(--ink); }
.recording-bar select { background: white; color: #34565d; border: 1px solid #bfcfcb; padding: 9px 10px; border-radius: 2px; max-width: 165px; font-size: 12px; }
.record-dot { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; }
.stop-button { background: #94483e; border-color: #94483e; }
.stop-button:hover { background: #803c33; border-color: #803c33; }
.stop-button .record-dot { border-radius: 0; background: white; }
.workspace-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 22px; margin-top: 22px; }
.panel { min-width: 0; background: white; border: 1px solid var(--line); border-top: 2px solid #355c63; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.panel-actions { display: flex; gap: 14px; align-items: center; }
.text-button { background: none; border: none; padding: 4px 0; color: #4b7078; font-size: 11px; }
.text-button:hover { color: #006b85; text-decoration: underline; }
.panel-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f6f8f5; border-bottom: 1px solid #e6ebe5; padding: 10px 20px; font-size: 10px; color: #677e7d; }
.panel-meta .status-dot { margin-right: 5px; }
.transcript-panel,.assistant-panel { height: 430px; display: flex; flex-direction: column; }
.transcript-content,.chat-content { min-height: 0; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b7c7c1 transparent; }
.empty-state { padding: 25px 20px; color: #7c8985; font-size: 12px; line-height: 1.9; }
.empty-state p { margin: 0; }
.subtle-badge { font-size: 10px; font-weight: 400; color: #647b78; white-space: nowrap; }
.transcript-entry { padding: 16px 20px; border-bottom: 1px solid #e7ece6; }
.transcript-entry time { font-family: Consolas, monospace; font-size: 11px; color: #52797e; }
.transcript-entry p { font-size: 13px; line-height: 1.9; margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.transcript-entry .pending { font-size: 12px; color: #768c86; }
.transcript-entry .failed { color: #9b5145; }
.audio-link { color: #638187; font-size: 10px; margin-left: 15px; }
.audio-link:hover { text-decoration: underline; }
.ask-form { margin: 12px 16px 16px; border: 1px solid #bacdca; background: #fcfdfb; padding: 11px 12px 10px; }
.ask-form:focus-within { border-color: var(--sea); }
.ask-form textarea { display: block; width: 100%; min-height: 44px; max-height: 150px; border: 0; outline: none; background: transparent; color: #2e4649; resize: vertical; font-size: 13px; line-height: 1.8; }
.ask-form textarea::placeholder { color: #82928d; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.composer-footer>span { color: #6c8580; font-size: 10px; line-height: 1.7; }
.send-button { padding: 7px 15px; border: 1px solid var(--ink); border-radius: 2px; background: var(--ink); color: white; font-size: 11px; flex-shrink: 0; }
.send-button:hover { background: #275965; }
.chat-message { margin: 16px 20px; }
.chat-message.question { background: #f0f3eb; border-left: 2px solid #a6bc53; padding: 12px 14px; font-size: 13px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.answer-label { margin-bottom: 7px; color: #507077; font-size: 11px; font-weight: 600; }
.answer-text { font-size: 13px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.inline-citation { padding: 0 2px; border: 0; border-radius: 0; background: transparent; color: #236a7a; font: inherit; font-size: .9em; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.inline-citation:hover { color: #004f66; }
.inline-citation:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }
.sources { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.sources-label { margin-bottom: 7px; color: #507077; font-size: 11px; font-weight: 600; }
.source-entry + .source-entry { margin-top: 10px; }
.source-chip { display: inline; padding: 2px 0; color: #426f7a; border-bottom: 1px solid #bdcfce; font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; }
a.source-chip:hover { color: #006d89; border-color: #006d89; }
.source-open { display: inline-block; margin-left: 10px; font-size: 10px; white-space: nowrap; }
.source-excerpt { margin-top: 4px; color: #5d7775; font-size: 11px; line-height: 1.8; }
.source-excerpt summary { cursor: pointer; width: fit-content; }
.source-excerpt blockquote { margin: 7px 0 0; padding: 8px 10px; border-left: 2px solid #acc4c0; background: #f5f7f3; color: #3f5959; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 220px; overflow-y: auto; }
.ai-questions-panel,.documents-panel { margin-top: 27px; background: transparent; border: 0; border-top: 1px solid #aebfba; }
.ai-questions-panel .panel-heading,.documents-panel .panel-heading { padding: 17px 0 12px; border: 0; }
.ai-questions-status { margin: 0 0 12px; color: #6d817c; font-size: 11px; line-height: 1.8; }
.ai-questions-status.question-error { color: #9b5145; }
.ai-questions-content { max-height: 380px; overflow-y: auto; scrollbar-width: thin; }
.questions-empty { margin: 0; padding: 2px 0 10px; color: #7b8982; font-size: 12px; line-height: 1.8; }
.ai-question-card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.ai-question-card:first-child { padding-top: 5px; }
.ai-question-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #6a8580; }
.ai-question-toggle { cursor: pointer; color: #274c54; }
.ai-question-toggle h3 { display: inline; margin: 0; color: #274c54; font-size: 14px; font-weight: 600; line-height: 1.8; overflow-wrap: anywhere; }
.ai-question-toggle:focus-visible { outline: 2px solid var(--sea); outline-offset: 4px; }
.ai-question-details { padding-top: 12px; }
.ai-question-details>p { margin: 8px 0 0; color: #647c76; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.count { color: #6d8279; font-size: 11px; font-weight: 400; }
.count::before { content: '/'; margin-right: 10px; color: #afbbb4; }
.document-list { max-height: 266px; overflow-y: auto; scrollbar-width: thin; border-top: 1px solid #d6e0d9; }
.document-card { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #dbe3db; min-width: 0; }
.pdf-icon { color: #6e8179; border: 1px solid #b8c7bf; border-radius: 1px; padding: 4px 3px; font-size: 8px; line-height: 1.3; letter-spacing: .03em; flex-shrink: 0; }
.document-info { min-width: 0; display: flex; align-items: center; flex: 1; gap: 18px; }
.document-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.8; }
.document-name:hover { color: #006b85; text-decoration: underline; }
.document-state { font-size: 10px; color: #8b9386; white-space: nowrap; }
.document-state.ready { color: #4c7b73; }
.transcription-options { display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:12px;font-size:11px;color:var(--muted); }
.transcription-options select { padding:6px 8px;border:1px solid #b7c7c8;background:#fff;color:var(--ink);font:inherit; }
.meeting-document-choice { display:flex;align-items:center;gap:7px;width:100%;margin-left:45px;font-size:11px;color:var(--muted); }
.meeting-document-choice input { accent-color:var(--sea); }
.correction-panel { border-bottom:1px solid var(--line);padding:12px 22px;font-size:12px; }
.correction-panel>summary { cursor:pointer;color:var(--ink); }
#correction-reviews { max-height:280px;overflow:auto; }
.correction-review { padding:10px 0;border-bottom:1px solid var(--line); }
.correction-review .text-button { margin-right:10px;display:inline-block;font-size:10px; }
.correction-review .button { min-height:28px;padding:4px 10px;margin:6px 6px 0 0;font-size:11px; }
.correction-history,.raw-transcript { margin-top:10px;font-size:11px;color:var(--muted); }
.correction-history p,.raw-transcript p { white-space:pre-wrap; }
.documents-actions { display: flex; align-items: center; gap: 12px; }
.documents-actions .button { min-height: 32px; padding: 5px 13px; font-size: 11px; }
.upload-feedback { margin: 0 0 12px; font-size: 11px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.upload-feedback:empty { display: none; }
.document-card.has-upload { flex-wrap: wrap; gap: 8px 14px; }
.has-upload .document-info { flex: 1; width: calc(100% - 45px); }
.upload-progress { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; width: calc(100% - 45px); margin-left: 45px; font-size: 11px; }
.upload-stage { color: #426f7a; }
.upload-detail { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.upload-progress progress { grid-column: 1 / -1; width: 100%; height: 5px; accent-color: var(--sea); }
.upload-owner { width: 100%; margin-left: 45px; font-size: 10px; color: var(--muted); }
.upload-retry { justify-self: start; }
@media (max-width:600px) { .upload-progress { grid-template-columns: minmax(0,1fr); } .upload-detail { text-align: left; } }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 9px; color: #6b817a; }
footer>span:first-child { letter-spacing: .05em; }
.notice { margin-top: 13px; padding: 11px 15px; border-left: 2px solid #b89c60; background: #f7f1e5; color: #7e6943; font-size: 12px; line-height: 1.8; white-space: pre-wrap; }
.runtime-banner { margin-top: 13px; background: #eaf0eb; border-left: 2px solid #7aa39b; padding: 11px 15px; font-size: 11px; color: #456e70; display: grid; grid-template-columns: minmax(0,1fr) minmax(100px,22%); align-items: center; gap: 20px; }
.runtime-banner strong { font-weight: 500; }
.runtime-banner span { margin-left: 16px; font-size: 10px; color: #66817a; }
.runtime-banner progress { display: block; width: 100%; height: 4px; accent-color: #258aa0; }
.settings-dialog { width: min(490px,calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 25px 28px; overflow: auto; border: 1px solid #98b3b5; border-top: 3px solid var(--sea); border-radius: 2px; background: #fff; color: #29474d; }
.settings-dialog::backdrop { background: rgba(15,39,44,.48); }
.settings-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 15px; margin-bottom: 22px; }
.settings-heading h2 { margin: 0; font-size: 18px; font-weight: 600; }
.settings-dialog label { display: block; margin: 18px 0 9px; font-size: 12px; font-weight: 600; }
.settings-dialog input { display: block; width: 100%; padding: 10px; min-height: 40px; border: 1px solid #b8ccc7; border-radius: 2px; background: #fcfdfb; color: #254b53; font-size: 13px; }
.settings-help { margin: 8px 0 17px; font-size: 11px; line-height: 1.8; color: #6a8079; overflow-wrap: anywhere; }
.settings-runtime { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid var(--line); margin-top: 22px; font-size: 11px; line-height: 1.8; }
.settings-runtime .button { font-size: 10px; padding: 7px 10px; }
.settings-dialog .settings-toggle { display: flex; align-items: center; gap: 9px; line-height: 1.8; }
.settings-dialog .settings-toggle input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--sea); }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@keyframes recording { 50% { opacity: .35; } }
@media (min-height:1000px) and (min-width:901px) {
  .transcript-panel,.assistant-panel { height: 470px; }
}
@media (max-width:1200px) {
  .site-header { padding: 0 24px; gap: 22px; }
  .brand { width: 290px; }
  .application-name { padding-left: 20px; }
  .app-shell { grid-template-columns: 185px minmax(0,1fr); }
  .sidebar { padding: 24px 14px 20px; }
  main { padding: 24px 25px 0; }
  .recording-bar { gap: 13px; padding: 13px 14px; }
  .recording-info>span { display: none; }
  .timer { font-size: 19px; }
  .coast-view { width: 38%; height: 90px; }
  .runtime-banner span { display: block; margin: 5px 0 0; }
}
@media (max-width:900px) {
  .app-shell { grid-template-columns: 165px minmax(0,1fr); }
  .brand { width: 265px; }
  .model-name { display: none; }
  .sidebar { padding: 20px 11px; }
  main { padding: 22px 20px 0; }
  .recording-bar { flex-wrap: wrap; }
  .recording-info { flex: 1; }
  .recording-bar select { max-width: none; flex: 1; margin-left: 31px; }
  .recording-bar>.button { flex: 1; }
  .workspace-grid { grid-template-columns: 1fr; gap: 23px; }
  .transcript-panel { height: 340px; }
  .assistant-panel { height: 410px; }
  .coast-view { width: 34%; height: 80px; }
  h1 { font-size: 23px; }
}
@media (max-width:680px) {
  .site-header { height: 66px; padding: 0 16px; gap: 16px; }
  .brand { width: min(62vw,270px); flex-shrink: 1; }
  .application-name { display: none; }
  .settings-button { min-height: 32px; font-size: 11px; padding: 5px 14px; }
  .topbar-actions { gap: 0; }
  .app-shell { display: block; }
  .sidebar { display: grid; grid-template-columns: 132px minmax(0,1fr); gap: 12px; position: static; height: auto; min-height: 0; padding: 11px 16px; }
  .sidebar .wide { min-height: 36px; font-size: 11px; padding: 7px 10px; align-self: center; }
  .section-label,.sidebar-bottom { display: none; }
  #meeting-list { display: flex; align-items: center; gap: 5px; min-width: 0; overflow-x: auto; overflow-y: hidden; margin: 0; }
  #meeting-list:has(.muted) { display: none; }
  .meeting-link { flex: 0 0 auto; max-width: 220px; width: auto; padding: 4px 9px; margin: 0; font-size: 10px; }
  .meeting-link small { font-size: 9px; margin-top: 0; }
  main { padding: 20px 16px 0; }
  .page-heading { min-height: 82px; gap: 15px; margin-bottom: 18px; }
  h1 { font-size: 22px; }
  .meeting-meta { gap: 10px; margin-top: 7px; }
  .meeting-meta p { font-size: 10px; }
  .badge { font-size: 9px; }
  .coast-view { width: 36%; height: 82px; }
  .recording-bar { gap: 12px; padding: 13px 12px; }
  .recording-info strong { font-size: 12px; }
  .recording-visual { width: 15px; }
  .recording-bar select { margin-left: 0; font-size: 11px; }
  .recording-bar>.button { font-size: 11px; min-height: 39px; padding: 8px 12px; }
  .timer { font-size: 19px; }
  .runtime-banner { grid-template-columns: 1fr; gap: 10px; padding: 11px 12px; }
  .workspace-grid { gap: 22px; margin-top: 20px; }
  .panel-heading { padding: 15px 16px; }
  .panel-heading h2 { font-size: 13px; }
  .panel-meta { padding: 10px 16px; }
  .empty-state { padding: 20px 16px; }
  .transcript-entry { padding: 15px 16px; }
  .chat-message { margin: 15px 16px; }
  .ai-questions-panel,.documents-panel { margin-top: 23px; }
  .ai-questions-panel .subtle-badge { font-size: 9px; }
  .ai-question-card h3 { font-size: 13px; }
  .document-card { gap: 10px; padding: 11px 0; }
  .document-info { display: block; }
  .document-name { font-size: 11px; }
  .document-state { display: block; font-size: 9px; margin-top: 3px; }
  .settings-dialog { padding: 21px 20px; }
  footer { font-size: 8px; gap: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; }
}
.login-page { min-height: 100svh; display: grid; place-items: center; padding: 30px 20px; background: #f4f5f0; }
.login-panel { width: min(100%, 420px); padding: 34px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--sea); }
.login-logo { display: block; width: 100%; height: auto; }
.login-panel h1 { margin: 30px 0 26px; font-size: 20px; font-weight: 600; color: var(--ink); }
.login-panel label { display: block; margin-bottom: 9px; font-size: 13px; }
.login-panel input { width: 100%; padding: 11px; border: 1px solid #aebfba; border-radius: 2px; background: #fcfdfb; }
.login-error { min-height: 22px; margin: 10px 0; font-size: 12px; color: #a34e43; }

/* 要約を常設し、文字起こしは必要なときだけ開く。 */
.summary-panel { height: 430px; display: flex; flex-direction: column; }
.summary-status { margin: 0; padding: 9px 20px; color: #6d817c; font-size: 11px; border-bottom: 1px solid var(--line); }
.summary-status.question-error { color: #9b5145; }
.summary-content { min-height: 0; flex: 1; overflow-y: auto; scrollbar-width: thin; }
.summary-content > .questions-empty { padding: 0 20px; }
.summary-entry { padding: 15px 20px; border-bottom: 1px solid var(--line); }
.summary-entry time { color: #52797e; font: 11px Consolas, monospace; }
.summary-entry ul { padding-left: 1.25em; margin: 8px 0; }
.summary-entry li { font-size: 13px; line-height: 1.9; margin: 5px 0; overflow-wrap: anywhere; }
.summary-evidence > summary { width: fit-content; color: #638187; font-size: 11px; cursor: pointer; }
.transcript-panel { height: auto; display: block; margin-top: 22px; }
.transcript-toggle { padding: 16px 20px; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 600; }
.transcript-toggle > span + span { margin-left: 16px; font-size: 11px; font-weight: 400; color: #6d817c; }
.transcript-panel[open] > .transcript-toggle { border-bottom: 1px solid var(--line); }
.transcript-panel .transcript-content { max-height: 330px; }
@media (min-width: 1440px) { .summary-panel { height: 470px; } }
@media (max-width: 760px) { .summary-panel { height: 390px; } .summary-entry { padding: 15px 16px; } }

.ai-provider { width: 213px; max-width: 100%; padding: 8px 28px 8px 10px; border: 1px solid #b8ccca; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 11px; }
.ai-provider:disabled { opacity: .65; }
@media (max-width: 760px) { .ai-provider { width: 185px; padding: 7px 22px 7px 8px; font-size: 10px; } .topbar-actions { flex-wrap: wrap; justify-content: flex-end; gap: 7px; } }
