:root {
  color-scheme: light;
  --surface: light-dark(#ffffff, #22241e);
  --ink: light-dark(#30332d, #e4e6dc);
  --muted: light-dark(#7b7e73, #9a9f8e);
  --line: light-dark(#e7e7df, #33362e);
  --paper: light-dark(#fcfcf9, #1b1d18);
  --canvas: light-dark(#f5f5f0, #151713);
  --olive: light-dark(#596933, #a7bb78);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
:root[data-theme="dark"] { color-scheme: dark; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; } }
.capture-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.capture-heading h3, .capture-participant-heading { font-size: 14px; font-weight: 600; }
.capture-sources { display: grid; gap: 14px; }
.capture-source { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); min-width: 0; }
.capture-caption { font-size: 11px; color: var(--muted); line-height: 1.6; }
.source-player { display: flex; align-items: center; gap: 12px; min-width: 0; }
.source-player input { flex: 1; min-width: 40px; accent-color: var(--olive); cursor: pointer; }
.source-time { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.capture-participants { display: flex; flex-wrap: wrap; gap: 8px; }
.capture-review { display: grid; gap: 12px; margin-top: 14px; }
.capture-review label { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.6; }
.capture-review input { accent-color: var(--olive); margin-top: 3px; }
.capture-review p { margin: 0; }
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: light-dark(#c9cebe, #43473b) transparent;
}
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: light-dark(#c9cebe, #43473b);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
  background: light-dark(#aeb5a2, #585e4e);
}
*::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}
body { margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid light-dark(#849658, #74854b); outline-offset: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.workspace { display: flex; height: 100dvh; min-height: 0; }
.sidebar { width: 218px; flex-shrink: 0; padding: 32px 18px 18px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; padding: 0 6px; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 36px; border-radius: 9px; background: light-dark(#e8ecdd, #282b21); color: light-dark(#4a5639, #b5c2a3); flex-shrink: 0; transition: background .15s; }
.brand:hover .brand-mark { background: light-dark(#dce3cf, #313627); }
.brand-mark .icon { width: 17px; height: 17px; }
.brand-text { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.brand-name { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14.5px; font-weight: 600; letter-spacing: -.2px; color: var(--ink); white-space: nowrap; line-height: 1.15; }
.brand-caption { display: block; color: light-dark(#7f8674, #838a79); font-size: 10px; letter-spacing: .15px; font-weight: 500; line-height: 1.15; white-space: nowrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 15px; min-height: 40px; font-size: 12px; font-weight: 600; text-decoration: none; background: var(--paper); color: var(--ink); transition: background .15s, border-color .15s; }
.button:hover { background: light-dark(#edeee6, #262722); }
.primary { background: light-dark(#333b2d, #d5dece); color: light-dark(white, #22241e); border-color: light-dark(#333b2d, #d5dece); }
.primary:hover { background: light-dark(#4b573e, #b3c1a6); border-color: light-dark(#4b573e, #b3c1a6); }
.sidebar nav { margin-top: 30px; }
.section-label { font-size: 10px; letter-spacing: 1.25px; color: var(--muted); font-weight: 600; }
.nav-label { margin: 0 12px 10px; }
nav { display: grid; gap: 5px; }
.nav-button { border: 0; background: transparent; border-radius: 7px; color: light-dark(#73776a, #93978a); display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 12px; text-align: left; }
.nav-button:hover { background: light-dark(#eeeee6, #272721); }
.nav-button.selected { color: light-dark(#4a5639, #b5c2a3); background: light-dark(#e8ecdd, #282b21); font-weight: 600; }
.nav-button .icon { width: 16px; height: 16px; }
.nav-short { display: none; }
.nav-count { margin-left: auto; font-size: 10px; color: light-dark(#7b826e, #888e7b); }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--line); padding: 19px 6px 2px; display: flex; align-items: center; gap: 9px; }
.avatar { display: grid; place-items: center; width: 30px; height: 30px; background: light-dark(#e5e4da, #313029); border-radius: 50%; color: light-dark(#727566, #96998a); font-size: 9px; font-weight: 600; }
.workspace-name { font-size: 10px; font-weight: 600; flex: 1; }
.workspace-name span { display: block; color: var(--muted); font-size: 9px; font-weight: 400; margin-top: 4px; }
.connection-dot { width: 6px; height: 6px; border-radius: 50%; background: light-dark(#b2b6a7, #585b4e); }
.connection-dot.online { background: light-dark(#849d56, #6b8240); }
.connection-dot.offline { background: light-dark(#b77962, #a96f59); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.toolbar { height: 65px; padding: 0 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; }
.breadcrumb { color: light-dark(#949789, #74776a); font-size: 11px; display: flex; align-items: center; gap: 13px; }
.breadcrumb span { color: light-dark(#c0c2b7, #4e4f46); }
.breadcrumb strong { font-weight: 500; color: light-dark(#636957, #a2a895); }
.toolbar-actions { display: flex; align-items: center; gap: 19px; }
.local-chip { display: flex; align-items: center; gap: 5px; font-size: 10px; color: light-dark(#7d856d, #858d76); }
.local-chip .icon { width: 13px; height: 13px; }
.icon-button { border: 0; background: transparent; color: light-dark(#848879, #828678); width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; padding: 0; }
.icon-button:hover { background: light-dark(#e9ece0, #282a22); color: light-dark(#4a5639, #b5c2a3); }
.panes { display: flex; flex: 1; min-height: 0; }
.library { width: 318px; flex-shrink: 0; display: flex; flex-direction: column; padding: 27px 17px 14px 17px; border-right: 1px solid var(--line); overflow: hidden; }
.library-heading { display: flex; justify-content: space-between; align-items: center; padding: 0 7px; margin-bottom: 20px; }
.library-heading h1 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.5px; }
.segmented-tabs { display: flex; gap: 2px; padding: 2px; background: light-dark(#edf0e6, #242620); border: 1px solid light-dark(#dfe4d5, #303329); border-radius: 20px; }
.segmented-tabs button { flex: 1; min-width: 0; border: 0; border-radius: 16px; padding: 3px 8px; background: transparent; color: light-dark(#717765, #939987); font-size: 11px; font-weight: 500; line-height: 1.4; transition: background .15s, color .15s; }
.segmented-tabs button:hover { background: light-dark(#e1e6d7, #2e3127); color: var(--ink); }
.segmented-tabs button[aria-selected="true"] { background: light-dark(#ffffff, #22241e); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px light-dark(rgba(48, 51, 45, 0.08), rgba(0, 0, 0, 0.19)); }
.platform-tabs { margin: 10px 6px 0; }
.platform-tabs[hidden] { display: none !important; }
.search-filter-row { display: flex; align-items: center; gap: 6px; margin: 0 6px; }
.search-filter-row .search { flex: 1; margin: 0; min-width: 0; }
.filter-toggle { flex-shrink: 0; width: 35px; height: 35px; border: 1px solid light-dark(#e4e5da, #2f3028); border-radius: 7px; background: light-dark(#fdfdf9, #191916); color: light-dark(#7f8674, #838a79); transition: all 0.15s ease; position: relative; }
.filter-toggle:hover { background: light-dark(#f0f3e9, #22231d); color: var(--ink); border-color: light-dark(#d2d8c3, #3c4030); }
.filter-toggle[aria-expanded="true"], .filter-toggle.active { background: light-dark(#edf2df, #23261a); color: light-dark(#4e6034, #a8bc8f); border-color: light-dark(#b5c798, #48562e); }
.filter-toggle.has-filter::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: light-dark(#637a3e, #8ca46a); box-shadow: 0 0 0 1.5px light-dark(#fdfdf9, #191916); }
.search { height: 35px; border: 1px solid light-dark(#e4e5da, #2f3028); border-radius: 7px; padding: 0 10px; display: flex; align-items: center; gap: 7px; color: light-dark(#959986, #737665); background: light-dark(#fdfdf9, #191916); margin: 0 6px; }
.search .icon { width: 14px; height: 14px; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; color: var(--ink); font-size: 11px; }
.search:focus-within { border-color: light-dark(#91a16b, #6a7847); }
.search input::placeholder { color: light-dark(#959986, #737665); }
kbd { font-family: inherit; font-size: 10px; color: light-dark(#acafa1, #5e6155); background: light-dark(#f1f2e9, #23231e); border-radius: 3px; padding: 1px 4px; }
.library-summary { margin: 18px 8px 12px; display: flex; justify-content: space-between; font-size: 10px; color: light-dark(#818875, #828876); }
.library-summary { align-items: center; }
.group-toggle { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: light-dark(#eeefe6, #262620); }
.group-toggle button { border: 0; background: transparent; color: light-dark(#8a8f7d, #7c806f); border-radius: 6px; padding: 2px 8px; font-size: 10px; font-weight: 500; }
.group-toggle button:hover { color: var(--ink); }
.group-toggle button[aria-pressed="true"] { background: light-dark(#fff, #22241e); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px light-dark(rgba(48, 51, 45, .08), rgba(0, 0, 0, 0.19)); }
.meeting-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; margin-right: -13px; padding-right: 7px; }
.date-group { font-size: 9px; color: light-dark(#969a89, #717566); margin: 20px 11px 9px; }
.date-group:first-child { margin-top: 5px; }
.meeting-row { width: 100%; border: 1px solid transparent; background: transparent; padding: 13px 11px; border-radius: 9px; display: flex; gap: 10px; text-align: left; margin-bottom: 3px; color: var(--ink); }
.meeting-row:hover { background: light-dark(#efefe7, #262620); }
.meeting-row.selected { background: light-dark(#fff, #22241e); border-color: light-dark(#e4e6d8, #2f3026); box-shadow: 0 2px 5px light-dark(#363d2005, rgba(0, 0, 0, 0.05)); }
.row-icon { flex-shrink: 0; width: 29px; height: 33px; color: light-dark(#929884, #737866); display: grid; place-items: center; background: light-dark(#efefe8, #262621); border-radius: 7px; }
.meeting-row.selected .row-icon { background: light-dark(#edf1df, #24271b); color: light-dark(#728052, #8a986b); }
.row-icon .icon { width: 16px; height: 16px; }
.row-text { min-width: 0; flex: 1; }
.row-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.row-title { font-size: 12px; line-height: 1.45; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; flex: 1; min-width: 0; }
.platform-pill { flex-shrink: 0; display: inline-flex; align-items: center; font-size: 9px; font-weight: 550; line-height: 1.4; padding: 1px 6px; border-radius: 10px; letter-spacing: 0.1px; border: 1px solid light-dark(#dfe5d4, #2f3327); background: light-dark(#edf2e5, #22261d); color: light-dark(#556441, #a5b591); user-select: none; }
.platform-pill.platform-google_meet, .platform-pill.platform-gmeet { background: light-dark(#edf3e7, #21251d); color: light-dark(#496139, #a3bd93); border-color: light-dark(#dbe4d0, #2f3527); }
.platform-pill.platform-zoom { background: light-dark(#eef3f7, #1f2225); color: light-dark(#3b586f, #9ebdd6); border-color: light-dark(#d5e2eb, #2b353b); }
.platform-pill.platform-unknown { background: light-dark(#f1f1ec, #26271f); color: light-dark(#6f7366, #a3a797); border-color: light-dark(#e2e3da, #34362d); }
.platform-pill.platform-teams { background: light-dark(#f2eff8, #242228); color: light-dark(#534b73, #bcb5e1); border-color: light-dark(#ded8ec, #393443); }
.row-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; color: light-dark(#969b88, #707564); margin-top: 5px; min-width: 0; }
.row-meta-left { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; white-space: nowrap; }
.row-meta-left > span { overflow: hidden; text-overflow: ellipsis; }
.row-meta-left > span:first-child { flex-shrink: 0; }
.row-dot { color: light-dark(#c3c7b8, #494c40); flex-shrink: 0; }
.row-status { margin-left: auto; flex-shrink: 0; white-space: nowrap; }
.row-status.live, .row-status.processing { color: light-dark(#718a44, #7d9553); font-weight: 600; }
.row-status.failed { color: light-dark(#b17057, #b4755e); font-weight: 600; }
.row-status.muted { color: light-dark(#a8ac9c, #616456); }
.row-summary { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 11px; line-height: 1.5; color: light-dark(#737a68, #8f9685); overflow-wrap: anywhere; }
.row-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 10px; background: light-dark(#eef2e5, #23251d); color: light-dark(#556441, #a5b591); font-size: 10px; font-weight: 600; line-height: 1.6; }
.row-chip .icon { width: 11px; height: 11px; }
.series-badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 2px; color: light-dark(#8a9277, #798067); font-size: 10px; font-weight: 600; line-height: 1.4; padding-top: 1px; }
.series-badge .icon { width: 11px; height: 11px; }
.list-placeholder { padding: 34px 18px; text-align: center; font-size: 11px; line-height: 1.8; color: var(--muted); }

.document { position: relative; background: var(--paper); flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 22px clamp(24px, 4vw, 72px); }
#detail-content { max-width: 800px; margin: 0 auto; }
.document-top { display: none; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 0; }
.document-top.has-action, .document-top:has(> #capture-action:not(:empty)) { display: flex; min-height: 32px; margin-bottom: 12px; }
.document-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: light-dark(#edf0df, #25271c); color: light-dark(#687a42, #8fa16b); }
.document-icon .icon { width: 22px; height: 22px; stroke-width: 1.4; }
.document-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 2.6vw, 37px); letter-spacing: -1.2px; line-height: 1.22; font-weight: 400; margin: 0; overflow-wrap: anywhere; }
.document-heading-row { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.document-heading-row .document-icon { flex-shrink: 0; margin: 0; }
.document-title-group { min-width: 0; flex: 0 1 auto; }
.document-heading-row .document-title { margin: 0; }
.meeting-title-tail { display: inline-flex; align-items: center; max-width: 100%; vertical-align: bottom; }
.meeting-title-tail > span { min-width: 0; overflow-wrap: anywhere; }
.meeting-rename { flex-shrink: 0; width: 24px; height: 28px; margin-left: 6px; }
.meeting-rename .icon { width: 13px; height: 13px; }
.meeting-delete { flex-shrink: 0; width: 24px; height: 28px; margin-left: 2px; }
.meeting-delete .icon { width: 13px; height: 13px; }
.meeting-delete:not(:disabled):hover { color: light-dark(#a47154, #b07f63); background: light-dark(#f7eee6, #29231e); }
.delete-meeting-name { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.delete-meeting-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.meeting-row-wrap { position: relative; }
.meeting-row-wrap .row-title { padding-right: 0; }
.row-rename { display: none !important; }
.live-status-card { margin-top: 24px; }
.live-status-card .status-note { margin-top: 0; }
.meeting-title-editor { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 15px; }
.meeting-title-editor .field { flex: 1; min-width: 120px; height: 36px; }
.meeting-title-editor .button { min-height: 36px; padding: 7px 12px; }
.meeting-title-editor .form-error { width: 100%; margin: 0; }
.document-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: light-dark(#999d8c, #6f7263); font-size: 10px; }
.document-meta .separator { color: light-dark(#c8cbbd, #46483e); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 500; border: 1px solid light-dark(#e6e9db, #2b2d24); border-radius: 20px; padding: 5px 9px; background: light-dark(#f2f4e9, #21221b); color: light-dark(#7b8762, #838e6b); }
.badge::before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.badge.active { background: light-dark(#edf2df, #23261a); color: light-dark(#657e3f, #88a164); }
.badge.completed { background: light-dark(#edf2df, #23261a); border-color: light-dark(#e2e8d4, #2c3022); color: light-dark(#657e3f, #88a164); }
.badge.failed { background: light-dark(#f7eee6, #29231e); border-color: light-dark(#f1e2d6, #362c24); color: light-dark(#a47154, #b07f63); }
.badge.waiting { background: light-dark(#f4f1e4, #25231b); border-color: light-dark(#ebe5d2, #322e21); color: light-dark(#9b8956, #8f7e4e); }
.document-link { display: inline-flex; align-items: center; gap: 7px; color: light-dark(#7c856c, #848d75); font-size: 11px; text-decoration: none; margin: 24px 0 0; overflow-wrap: anywhere; }
.document-link:hover { color: light-dark(#3c4e28, #bbd0a7); text-decoration: underline; }
.document-link .icon { width: 14px; height: 14px; }
.document-link.non-clickable { color: light-dark(#9aa08f, #6b7061); cursor: default; pointer-events: none; text-decoration: none; }
.document-link.non-clickable:hover { color: light-dark(#9aa08f, #6b7061); text-decoration: none; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 29px 0; }
.content-title { font-size: 13px; font-weight: 600; margin: 0; }
.document-tabs { display: flex; flex-wrap: wrap; column-gap: 26px; row-gap: 0; border-bottom: 1px solid var(--line); margin-top: 30px; position: sticky; top: -22px; background: var(--paper); z-index: 20; padding-top: 4px; }
.document-tabs button { border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 0; background: transparent; color: var(--muted); font-size: 12px; white-space: nowrap; }
.document-tabs button:hover { color: var(--ink); }
.document-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--olive); font-weight: 600; }
.document-tabs button[aria-disabled="true"],
.document-tabs button.disabled {
  cursor: not-allowed;
  opacity: 0.38;
  color: light-dark(#9ea392, #696d5e) !important;
  user-select: none;
}
.document-tabs button[aria-disabled="true"]:hover,
.document-tabs button.disabled:hover {
  color: light-dark(#9ea392, #696d5e) !important;
  border-bottom-color: transparent !important;
}
.document-panel { padding-top: 24px; }
.document-panel > .body-copy { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ai-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 22px; min-width: 0; }
.ai-toolbar-left { display: flex; flex: 1 1 280px; align-items: center; gap: 8px 10px; min-width: 0; flex-wrap: wrap; }
.ai-status { color: var(--muted); font-size: 12px; }
.ai-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.ai-actions .button { min-height: 34px; height: 34px; font-size: 11px; padding: 6px 12px; }
.ai-actions .ai-copy { width: 34px; height: 34px; min-height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid light-dark(#dde1d3, #33352c); border-radius: 8px; background: light-dark(#ffffff, #22241e); color: light-dark(#555e4b, #acb6a2); cursor: pointer; transition: all .15s ease; }
.ai-actions .ai-copy:hover { background: light-dark(#f2f5ec, #20221c); border-color: light-dark(#ccd5c1, #3d4335); color: light-dark(#2b3322, #dfe9d5); }
.ai-actions .ai-copy .icon { width: 14px; height: 14px; }
.ai-summary-section { margin: 0 0 26px; }
.ai-summary-section h3 { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.ai-paragraph { font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; color: var(--ink); }
.ai-summary-section:not(:first-child) .ai-paragraph { padding-left: 16px; position: relative; }
.ai-summary-section:not(:first-child) .ai-paragraph::before { content: '•'; position: absolute; left: 0; color: light-dark(#8a9575, #757f62); }
.ai-citations { display: inline-flex; gap: 4px; flex-wrap: wrap; vertical-align: baseline; }
.ai-citation { border: 0; border-radius: 5px; background: light-dark(#edf1e5, #23261e); color: light-dark(#617347, #94a77b); font-size: 10px; padding: 1px 6px; line-height: 1.8; font-variant-numeric: tabular-nums; }
.ai-citation:hover { background: light-dark(#e0e8d2, #2c3122); color: light-dark(#405322, #b6cc99); }
.ai-not-stated, .ai-privacy { color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.notes-slot { margin: 0 0 28px; }
.live-notes { margin-top: 16px; }
.notes-editor { border: 1px solid light-dark(#e4e7da, #2d2f26); border-radius: 12px; background: light-dark(#ffffff, #22241e); padding: 12px 16px 4px; transition: border-color .15s, box-shadow .15s; }
.notes-editor:focus-within { border-color: light-dark(#849658, #74854b); box-shadow: 0 0 0 2px light-dark(#dbe5c9, #303624); }
.notes-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notes-editor-label { font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: light-dark(#6f7a5c, #8f9a7d); }
.notes-editor-state { font-size: 11px; color: var(--muted); text-align: right; }
.notes-editor-text { display: block; width: 100%; min-height: 78px; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.8; padding: 6px 0 10px; overflow: hidden; }
.notes-editor-text::placeholder { color: light-dark(#afb4a3, #595e4f); }
.notes-editor-text:disabled { background: transparent; }
.ai-line { position: relative; }
.ai-line-actions { display: inline-flex; gap: 2px; margin-left: 4px; vertical-align: middle; opacity: 0; transition: opacity .15s; }
.ai-line:hover .ai-line-actions, .ai-line:focus-within .ai-line-actions { opacity: 1; }
@media (hover: none) { .ai-line-actions { opacity: 1; } }
.ai-line-actions .icon-button { width: 24px; height: 24px; }
.ai-line-actions .icon { width: 13px; height: 13px; }
.ai-line-actions [data-line-delete]:hover { color: light-dark(#9c6551, #bd8673); background: light-dark(#f5e8df, #2f2721); }
.ai-task-details { display: inline-block; font-size: 11px; color: light-dark(#617347, #94a77b); background: light-dark(#f2f5ec, #20221c); border-radius: 5px; padding: 0 7px; line-height: 1.8; margin-left: 2px; white-space: nowrap; }
.ai-line-form { display: grid; gap: 8px; margin: 8px 0 12px; }
.field.ai-line-input { height: auto; min-height: 64px; padding: 9px 11px; font: inherit; font-size: 13px; line-height: 1.6; resize: vertical; }
.ai-line-form-actions { display: flex; justify-content: flex-end; gap: 8px; }
.ai-line-form-actions .button { min-height: 32px; padding: 0 14px; font-size: 11px; }
.task-check { appearance: none; flex-shrink: 0; width: 16px; height: 16px; margin: 0 9px 0 0; vertical-align: -3px; border: 1.5px solid light-dark(#b9c3a6, #4c543c); border-radius: 5px; background: light-dark(#ffffff, #22241e); cursor: pointer; transition: background .15s, border-color .15s; }
.task-check:hover { border-color: light-dark(#849658, #74854b); }
.task-check:checked { background: light-dark(#596933, #6f8a3c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: light-dark(#596933, #a7bb78); }
.task-check:focus-visible { outline: 2px solid light-dark(#b3c494, #4b582f); outline-offset: 2px; }
.ai-summary-section:not(:first-child) .ai-paragraph.ai-task { padding-left: 0; }
.ai-summary-section:not(:first-child) .ai-paragraph.ai-task::before { content: none; }
.ai-task.done .ai-line-text { color: var(--muted); text-decoration: line-through; text-decoration-color: light-dark(#b9c3a6, #4c543c); }
.carry-over { padding: 14px 16px 6px; border: 1px dashed light-dark(#d6dcc8, #383c2e); border-radius: 12px; background: light-dark(#fafbf6, #1a1b18); }
.carry-over h3 { font-size: 12px; color: light-dark(#6f7a5c, #8f9a7d); }
.task-link { border: 0; background: none; padding: 0; color: light-dark(#617347, #94a77b); font-size: 11px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: light-dark(#cdd6bd, #3d4331); text-underline-offset: 3px; }
.task-link:hover { color: light-dark(#405322, #b6cc99); text-decoration-color: light-dark(#849658, #74854b); }
.ai-export { position: relative; display: inline-flex; }
.ai-export-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 100; display: flex; flex-direction: column; gap: 2px; min-width: 176px; padding: 6px; background: light-dark(#ffffff, #22241e); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px -4px light-dark(rgba(45,52,38,.16), rgba(0, 0, 0, 0.38)), 0 4px 8px -2px light-dark(rgba(45,52,38,.07), rgba(0, 0, 0, 0.17)); animation: menuPopIn .15s ease-out; }
.ai-export-menu[hidden] { display: none; }
.ai-export-menu button { border: 0; background: none; text-align: left; padding: 8px 11px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ai-export-menu button:hover, .ai-export-menu button:focus-visible { background: light-dark(#eeefe6, #262620); outline: 0; }
/* Action items: a card per due group, each row with the task, who owns it and where it came from, and the due date at the right. */
.page-sub { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.tasks-heading, .ask-content .calendar-heading { margin-bottom: 22px; }
.tasks-content { max-width: 880px; }
.tasks-late { color: light-dark(#9c5147, #e0937f); font-weight: 600; }
.tasks-me { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: light-dark(#fafbf6, #1a1b18); font-size: 12px; color: var(--muted); }
.tasks-me .icon { width: 14px; height: 14px; flex-shrink: 0; color: light-dark(#8a9575, #757f62); }
.tasks-me > span { flex: 1; min-width: 0; }
.tasks-me strong { color: var(--ink); font-weight: 600; }
.tasks-me-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; margin: 0 0 16px; align-items: center; }
.tasks-me-form .field { height: 36px; }
.tasks-me-actions { display: flex; gap: 6px; }
.tasks-me-actions .button { min-height: 36px; padding: 0 14px; font-size: 11px; }
.tasks-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tasks-bar .segmented-tabs, .tasks-heading .segmented-tabs { flex: 0 0 auto; }
.tasks-bar .segmented-tabs button, .tasks-heading .segmented-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 14px; font-size: 11.5px; }
.tab-count { font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.segmented-tabs button[aria-selected="true"] .tab-count { color: light-dark(#596933, #a7bb78); }
.tasks-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.tasks-filter { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid light-dark(#e1e5d6, #2f3227); border-radius: 14px; background: transparent; color: light-dark(#5d6352, #a8ae9d); font-size: 11.5px; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tasks-filter b { font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.tasks-filter:hover { background: light-dark(#f2f5ec, #20221c); border-color: light-dark(#ccd4bf, #3e4434); }
.tasks-filter.late { color: light-dark(#9c5147, #e0937f); border-color: light-dark(#ecd2c6, #4a3a33); }
.tasks-filter.late b { color: inherit; }
.tasks-filter.on { background: light-dark(#333b2d, #d5dece); border-color: transparent; color: light-dark(#fff, #22241e); }
.tasks-filter.on b { color: inherit; opacity: .75; }
.tasks-group { margin-top: 22px; }
.tasks-group-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 600; color: light-dark(#5d6352, #a8ae9d); }
.tasks-group-head span { min-width: 20px; padding: 1px 7px; border-radius: 10px; background: light-dark(#eef1e6, #2c2f26); color: var(--muted); font-size: 10.5px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.tasks-group-head.late { color: light-dark(#9c5147, #e0937f); }
.tasks-group-head.late span { background: light-dark(#f7e9e3, #33261f); color: inherit; }
.tasks-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.task-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; padding: 13px 16px; transition: background .15s; }
.task-row + .task-row { border-top: 1px solid var(--line); }
.task-row:hover { background: light-dark(#fafbf6, #1d1e1a); }
.task-row .task-check { margin: 2px 0 0; }
.task-main { min-width: 0; }
.task-text { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.task-row.done .task-text { color: var(--muted); text-decoration: line-through; text-decoration-color: light-dark(#b9c3a6, #4c543c); }
.task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.task-side { display: flex; align-items: center; justify-content: flex-end; min-height: 22px; }
.task-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border: 1px solid light-dark(#e1e5d6, #2f3227); border-radius: 12px; background: light-dark(#fafbf6, #1a1b18); color: light-dark(#555e4b, #acb6a2); font-size: 11px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.task-chip:hover { border-color: light-dark(#ccd4bf, #3e4434); background: light-dark(#f2f5ec, #20221c); }
.task-chip .icon { width: 12px; height: 12px; color: light-dark(#8a9575, #757f62); }
.task-owner { padding-left: 3px; }
.task-owner .icon { margin-left: 5px; }
.task-owner .speaker-avatar { width: 18px; height: 18px; font-size: 7.5px; }
.task-owner.empty { padding-left: 0; border-style: dashed; background: transparent; color: var(--muted); }
.task-due.late { border-color: light-dark(#e7c9b9, #503d33); background: light-dark(#fbf1ec, #261f1c); color: light-dark(#9c6551, #bd8673); }
.task-due.late .icon { color: inherit; }
.task-due.today { border-color: light-dark(#ebe0bd, #4b412a); background: light-dark(#faf5e3, #29251a); color: light-dark(#8a7230, #c9ad63); }
.task-due.today .icon { color: inherit; }
.task-due.soon { border-color: light-dark(#d9e2c8, #3a4430); background: light-dark(#f2f6e9, #1f241a); color: light-dark(#4f6b2a, #a7bb78); }
.task-due.soon .icon { color: inherit; }
.task-due.none { border-style: dashed; background: transparent; color: var(--muted); }
.task-due input[type="date"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.task-owner-form { display: inline-flex; }
.field.task-owner-input { height: 26px; width: 180px; font-size: 11px; padding: 0 9px; border-radius: 12px; }
.task-source { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; padding: 0; border: 0; background: none; color: var(--muted); font-size: 11px; cursor: pointer; }
.task-source span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-source .icon { width: 12px; height: 12px; flex-shrink: 0; }
.task-source:hover { color: light-dark(#405322, #b6cc99); }
.task-source:hover span { text-decoration: underline; text-decoration-color: light-dark(#cdd6bd, #3d4331); text-underline-offset: 3px; }
.task-moment { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px 0 7px; border: 0; border-radius: 11px; background: light-dark(#eef1e6, #2a2d22); color: light-dark(#556441, #b4c4a0); font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.task-moment .icon { width: 9px; height: 9px; }
.task-moment:hover { background: light-dark(#e0e8d2, #323925); }
.task-finished { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.task-finished .icon { width: 12px; height: 12px; color: var(--olive); }
.row-matches { display: grid; gap: 2px; margin: -2px 0 8px 52px; }
.row-match { display: grid; gap: 2px; width: 100%; border: 0; border-radius: 7px; background: none; padding: 6px 9px; text-align: left; cursor: pointer; }
.row-match:hover, .row-match:focus-visible { background: light-dark(#eef0e6, #25261f); outline: 0; }
.row-match-label { font-size: 10px; font-weight: 600; color: light-dark(#7c846e, #868d78); }
.row-match-text { font-size: 11.5px; line-height: 1.5; color: light-dark(#4e5543, #b7bfab); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.row-match mark { background: light-dark(#e5ecd3, #292d1c); color: light-dark(#2b3917, #d6e8c1); border-radius: 3px; padding: 0 1px; }
.ask-content { max-width: 880px; display: flex; flex-direction: column; min-height: 100%; }
.ask-toolbar { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ask-toolbar .button { min-height: 34px; height: 34px; font-size: 11px; padding: 6px 12px; white-space: nowrap; }
.ask-toolbar .version-choice { max-width: 260px; }
.ask-toolbar .ai-delete { flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.ask-toolbar .ai-delete .icon { width: 14px; height: 14px; }
/* Ask: the question box carries the scope (time, platform, person) it searches, so the top of the page stays a title. */
.ask-content .calendar-heading { flex-wrap: wrap; gap: 12px 16px; }
.ask-content .calendar-heading > div:first-child { flex: 1 1 200px; min-width: 0; }
/* The toolbar sits at the page's right edge, so the saved conversations list is anchored to the toolbar's right edge and opens leftwards. */
.ask-toolbar { position: relative; }
.ask-toolbar .version-choice { position: static; }
.ask-toolbar .version-menu { left: auto; right: 0; max-width: min(380px, calc(100vw - 32px)); }
.ask-toolbar .button { display: inline-flex; align-items: center; gap: 6px; }
.ask-toolbar .button .icon { width: 13px; height: 13px; }
.ask-messages { flex: 1; min-height: 200px; padding: 4px 0 14px; }
.ask-empty { flex: 1; display: grid; justify-items: center; align-content: center; gap: 14px; padding: 28px 0 12px; text-align: center; }
.ask-empty h2 { margin: 0; font: 400 26px/1.25 Georgia, "Times New Roman", serif; letter-spacing: -.6px; }
.ask-starters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 720px; margin-top: 10px; }
.ask-starter { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.ask-starter:hover:not(:disabled) { background: light-dark(#f8faf3, #1d1e1a); border-color: light-dark(#ccd4bf, #3e4434); }
.ask-starter:disabled { opacity: .55; cursor: default; }
.ask-starter-label { font-size: 10.5px; font-weight: 600; color: light-dark(#6f7a5c, #8f9a7d); }
.ask-starter-text { font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.ask-composer { position: sticky; bottom: 12px; z-index: 5; flex-shrink: 0; margin-top: 12px; padding: 12px 12px 10px 16px; border: 1px solid light-dark(#dce1d1, #33362b); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 0 0 var(--paper); transition: border-color .15s; }
.ask-composer:focus-within { border-color: light-dark(#849658, #74854b); }
.ask-composer textarea { display: block; width: 100%; height: 30px; max-height: 110px; padding: 2px 0 8px; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: inherit; font-size: 14px; line-height: 22px; overflow-y: hidden; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: light-dark(#d1d6c3, #3d4133) transparent; }
.ask-composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.ask-scope { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; }
.ask-scope-label { margin-right: 2px; font-size: 11px; color: var(--muted); }
.ask-scope .version-choice .custom-select-trigger { height: 28px; min-height: 28px; padding: 0 10px; border-radius: 14px; font-size: 11px; font-weight: 500; }
.ask-scope .version-menu { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; min-width: 180px; gap: 1px; }
.ask-scope .version-menu .custom-select-option { align-items: center; padding: 7px 10px; }
.ask-scope .version-option-title { font-weight: 500; }
.ask-composer .button.primary { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 10px; }
.ask-composer .button .icon { width: 14px; height: 14px; }
.ask-citation { display: inline-flex; max-width: 260px; }
.ask-citation-meeting { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; }
@media (max-width: 620px) { .nav-short { display: inline; } .nav-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ask-toolbar .version-choice { max-width: 150px; } .ask-content .calendar-heading { flex-wrap: wrap; } .row-matches { margin-left: 8px; } .tasks-me-form { grid-template-columns: 1fr; } .task-row { grid-template-columns: auto minmax(0, 1fr); padding: 12px; } .task-side { grid-column: 2; justify-content: flex-start; } .tasks-heading { flex-wrap: wrap; gap: 12px; } .ask-starters { grid-template-columns: 1fr; } .ask-scope-label { display: none; } }
.ai-privacy { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 22px; font-size: 10px; }
.ai-empty { padding: 48px 16px; display: grid; justify-items: center; text-align: center; gap: 12px; }
.ai-empty > .icon { width: 28px; height: 28px; color: light-dark(#869475, #748165); }
.ai-empty h3 { font: 400 25px/1.3 Georgia, serif; letter-spacing: -.5px; margin: 0; }
.ai-empty > p { font-size: 12px; color: var(--muted); margin: 0; }
.ai-error { color: light-dark(#9c5147, #d78a7e); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; margin: 12px 0; }
.ai-history { min-width: 0; }
.ai-history .custom-select-trigger { width: 100%; min-width: 0; font-weight: 400; }
.ai-history-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ai-history-menu { width: 100%; min-width: 0; }
.ai-history-menu .custom-select-option { min-width: 0; }
.ai-history-menu .custom-select-option span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ai-history-menu .custom-select-option .icon { width: 12px; height: 12px; }
.ai-chat-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; min-width: 0; }
.ai-chat-toolbar .ai-history { flex: 1; min-width: 130px; margin: 0; }
.ai-chat-toolbar .button { flex-shrink: 0; min-height: 34px; height: 34px; font-size: 11px; padding: 6px 12px; white-space: nowrap; }
.ai-chat-toolbar .ai-delete { flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); display: inline-flex; align-items: center; justify-content: center; }
.ai-chat-toolbar .ai-delete:hover { background: light-dark(#f5e8df, #2f2721); color: light-dark(#9c6551, #bd8673); }
.ai-chat-toolbar .ai-delete .icon { width: 14px; height: 14px; }
.ai-chat-status { margin: 0 0 12px; flex-shrink: 0; }
#meeting-panel-chat:not([hidden]) { display: flex; flex-direction: column; height: calc(100vh - 220px); min-height: 420px; padding-top: 14px; }
/* Chat is as tall as the page below its tab bar (--chat-height, measured in app.js), and the page rests with the tabs at
   the top: the conversation scrolls in between and the box to ask in sits at the bottom, with room below it. */
#detail-content.on-chat { min-height: 0; }
#detail-content.on-chat > * { flex-shrink: 0; }
#detail-content.on-chat #meeting-panel-chat:not([hidden]) { height: var(--chat-height, calc(100vh - 220px)); min-height: 360px; padding-bottom: 6px; }
#chat-slot { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.ai-messages { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding-right: 6px; display: flex; flex-direction: column; gap: 18px; scrollbar-width: thin; scrollbar-color: light-dark(#d1d6c3, #3d4133) transparent; }
.ai-messages::-webkit-scrollbar { width: 6px; }
.ai-messages::-webkit-scrollbar-track { background: transparent; }
.ai-messages::-webkit-scrollbar-thumb { background-color: light-dark(#d1d6c3, #3d4133); border-radius: 3px; }
.ai-messages::-webkit-scrollbar-thumb:hover { background-color: light-dark(#b3ba9f, #555a44); }
.ai-message { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.ai-message-label { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; user-select: none; }
.ai-message-label .icon { width: 13px; height: 13px; stroke-width: 1.8; flex-shrink: 0; }
.ai-message-body { min-width: 0; }
.ai-user { align-self: flex-end; max-width: 88%; }
.ai-user .ai-message-label { background: light-dark(#e6ebd9, #2a2d20); color: light-dark(#4f5b3a, #b0bd9a); border: 1px solid light-dark(#d9e1cd, #32382a); margin-top: 9px; }
.ai-user .ai-message-body { background: light-dark(#f0f2e9, #23241e); border-radius: 13px 13px 13px 4px; padding: 10px 14px; }
.ai-user p { margin: 0; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-assistant { align-self: flex-start; width: 100%; padding: 0 2px; gap: 11px; }
.ai-assistant .ai-message-label { background: light-dark(#edf1e4, #24261d); color: light-dark(#3e4f25, #bbcfa2); border: 1px solid light-dark(#d5dec6, #363c2a); box-shadow: 0 1px 2px light-dark(rgba(45, 52, 38, 0.06), rgba(0, 0, 0, 0.14)); margin-top: 1px; }
.ai-assistant .ai-message-label .icon { color: light-dark(#3e4f25, #bbcfa2); }
.ai-assistant .ai-message-body { flex: 1; min-width: 0; }
.ai-assistant .ai-paragraph:first-child { margin-top: 0; }
.ai-thinking { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 11px; border-radius: 12px; background: light-dark(#edf1e4, #24261d); color: light-dark(#55623f, #a8b692); margin: 1px 0 6px; user-select: none; }
.ai-thinking-spark { display: inline-flex; align-items: center; gap: 4px; }
.ai-thinking-dot { width: 5px; height: 5px; border-radius: 50%; background: light-dark(#55623f, #a8b692); animation: ai-dot-pulse 1.4s ease-in-out infinite; }
.ai-thinking-dot:nth-child(1) { animation-delay: 0s; }
.ai-thinking-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-thinking-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-dot-pulse { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.35; } 40% { transform: scale(1.15); opacity: 1; } }
.ai-thinking-text { letter-spacing: -0.1px; }
.ai-thinking-status { margin: 0 0 6px 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.ai-thinking-status[hidden] { display: none; }
.ai-stream-text { font-size: 14px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; color: var(--ink); }
.ai-working { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.ai-suggestions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-suggestion { border: 1px solid var(--line); border-radius: 9px; background: transparent; color: light-dark(#647354, #94a485); padding: 9px 12px; font-size: 11px; }
.ai-suggestion:hover { background: light-dark(#f0f3e9, #22231d); border-color: light-dark(#d5ddc6, #373c2c); }
.ai-composer { display: flex; align-items: flex-end; gap: 8px; border: 1px solid light-dark(#dce1d1, #33362b); background: light-dark(white, #22241e); border-radius: 14px; padding: 7px 10px; margin-top: 12px; flex-shrink: 0; box-shadow: 0 1px 3px light-dark(rgba(45, 52, 38, 0.04), rgba(0, 0, 0, 0.1)); transition: border-color 0.15s, box-shadow 0.15s; }
.ai-composer:focus-within { border-color: light-dark(#849658, #74854b); box-shadow: 0 0 0 2px light-dark(#dbe5c9, #303624); }
.ai-composer textarea { flex: 1; min-width: 0; resize: none !important; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 4px 6px; font: inherit; font-size: 13px; line-height: 20px; height: 28px; max-height: 68px; overflow-y: hidden; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: light-dark(#d1d6c3, #3d4133) transparent; }
.ai-composer textarea::-webkit-resizer { display: none !important; }
.ai-composer textarea::-webkit-scrollbar { width: 5px; }
.ai-composer textarea::-webkit-scrollbar-track { background: transparent; }
.ai-composer textarea::-webkit-scrollbar-thumb { background-color: light-dark(#d1d6c3, #3d4133); border-radius: 3px; }
.ai-composer .button { padding: 0; width: 32px; height: 32px; min-height: 32px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ai-composer .button .icon { width: 14px; height: 14px; }
.body-copy { font-size: 12px; line-height: 1.85; color: light-dark(#858b79, #7f8574); margin: 12px 0 0; }
audio { display: none !important; }
.player-play-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; flex-shrink: 0; transition: background .15s, transform .1s; }
.player-play-btn:hover { background: light-dark(#dfe3d2, #313428); }
.player-play-btn:active { transform: scale(.92); }
.player-play-btn .icon { width: 16px; height: 16px; }
.player-time { font-size: 11px; font-weight: 500; color: light-dark(#5d6355, #a8ae9f); font-variant-numeric: tabular-nums; white-space: nowrap; display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.player-time-sep { color: light-dark(#a4a999, #636759); }
.player-tracker-container { flex: 1; min-width: 60px; height: 24px; display: flex; align-items: center; cursor: pointer; position: relative; touch-action: none; }
.player-tracker-container:focus-visible { outline: 2px solid light-dark(#849658, #74854b); outline-offset: 4px; border-radius: 4px; }
.player-track { width: 100%; height: 4px; background: light-dark(#d4d9cb, #3a3e34); border-radius: 999px; position: relative; }
.player-track-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--olive); border-radius: 999px; width: 0%; pointer-events: none; }
.player-tracker-dot { position: absolute; left: 0%; top: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; border-radius: 50%; background: var(--olive); box-shadow: 0 1px 4px light-dark(rgba(48, 51, 45, .35), rgba(0, 0, 0, 0.65)); pointer-events: none; transition: transform .12s ease; }
.player-tracker-container:hover .player-tracker-dot, .player-tracker-container.scrubbing .player-tracker-dot { transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 2px 6px light-dark(rgba(48, 51, 45, .4), rgba(0, 0, 0, 0.65)); }
.player-options-wrapper { position: relative; display: flex; align-items: center; flex-shrink: 0; }
.player-options-btn { width: 32px; height: 32px; border-radius: 6px; border: 0; background: transparent; color: light-dark(#636b56, #9fa792); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; transition: background .15s, color .15s; }
.player-options-btn:hover, .player-options-btn.active { background: light-dark(#dfe3d2, #313428); color: var(--ink); }
.player-options-btn .icon { width: 18px; height: 18px; }
.player-options-menu { position: absolute; bottom: calc(100% + 8px); right: 0; min-width: 200px; background: light-dark(#fff, #22241e); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px -4px light-dark(rgba(45, 52, 38, .18), rgba(0, 0, 0, 0.43)), 0 4px 10px -2px light-dark(rgba(45, 52, 38, .08), rgba(0, 0, 0, 0.19)); padding: 6px; z-index: 100; animation: menuPopIn .15s ease-out; }
@keyframes menuPopIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.player-options-menu .menu-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: transparent; border-radius: 7px; font-size: 12px; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; transition: background .12s, color .12s; text-decoration: none; }
.player-options-menu .menu-item:hover { background: light-dark(#eeefe6, #262620); color: light-dark(#20241b, #ebf1e5); }
.player-options-menu .menu-item .icon { width: 16px; height: 16px; color: light-dark(#727a65, #8f9783); }
.player-options-menu .menu-item:hover .icon { color: var(--ink); }
.menu-item-left { display: flex; align-items: center; gap: 9px; }
.menu-item-right { display: flex; align-items: center; gap: 6px; color: light-dark(#787f6e, #8a9181); font-size: 11px; }
.speed-options-list { display: flex; flex-direction: column; gap: 2px; }
.speed-option { justify-content: space-between !important; padding: 7px 10px !important; }
.speed-check { display: none; color: var(--olive); }
.speed-check .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.speed-option.selected { font-weight: 600; color: var(--olive) !important; background: light-dark(#edf2e1, #23261b) !important; }
.speed-option.selected .speed-check { display: inline-flex; }
.audio-error { flex-basis: 100%; color: light-dark(#9c5147, #d78a7e); font-size: 11px; line-height: 1.6; margin: 0 0 2px 46px; }
.status-note { display: flex; gap: 12px; margin-top: 21px; border-radius: 9px; background: light-dark(#f2f3eb, #22221d); padding: 18px; }
.status-note .icon { color: light-dark(#9da48c, #686e59); margin-top: 2px; width: 16px; height: 16px; }
.status-note p { margin: 0; font-size: 11px; line-height: 1.85; color: light-dark(#838b75, #7f8671); }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 23px 0 0; }
.detail-facts dt { font-size: 9px; color: light-dark(#a0a591, #676c5a); margin-bottom: 8px; }
.detail-facts dd { font-size: 11px; color: light-dark(#7e876e, #838b73); margin: 0; }
.stop-button { color: light-dark(#9c6551, #bd8673); border-color: light-dark(#e8dace, #3e342c); background: light-dark(#fcf9f5, #1d1b19); font-size: 11px; }
.stop-button:hover { background: light-dark(#f5e8df, #2f2721); }
.welcome { max-width: 600px; padding-top: clamp(20px, 7vh, 90px); }
.welcome .document-title { margin-top: 27px; font-size: clamp(32px, 3.5vw, 45px); letter-spacing: -1.7px; }
.welcome .button { margin-top: 26px; min-height: 42px; }
.error-banner { padding: 12px 26px; background: light-dark(#f7efe4, #28231c); color: light-dark(#987354, #aa8668); font-size: 11px; line-height: 1.65; border-bottom: 1px solid light-dark(#eddfcf, #393024); }
dialog { border: 1px solid light-dark(#e6e8dc, #2c2e25); border-radius: 17px; width: min(480px, calc(100vw - 32px)); padding: 29px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 90px light-dark(#2027172b, rgba(0, 0, 0, 0.4)); }
dialog::backdrop { background: light-dark(#252d2452, rgba(0, 0, 0, 0.65)); backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; }
dialog h2 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; letter-spacing: -.8px; line-height: 1.25; margin: 23px 0 10px; }
.field-label { font-size: 11px; color: light-dark(#7c846e, #868d78); display: block; margin: 19px 0 8px; }
.field { width: 100%; min-width: 0; height: 42px; border: 1px solid light-dark(#e0e4d3, #303327); border-radius: 7px; padding: 0 11px; background: light-dark(white, #22241e); color: var(--ink); font-size: 12px; }
.field::placeholder { color: light-dark(#afb4a3, #595e4f); }
.field:focus { outline: 2px solid light-dark(#b3c494, #4b582f); outline-offset: 1px; }
.meeting-input { height: 68px; padding-top: 10px; padding-bottom: 10px; resize: vertical; max-height: 160px; }
.capture-platforms { margin: 0; padding: 0; border: 0; min-width: 0; }
.capture-platforms .field-label { padding: 0; }
.capture-platforms label { flex: 1; position: relative; cursor: pointer; text-align: center; }
.capture-platforms input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.capture-platforms span { display: block; border-radius: 16px; padding: 6px 8px; color: light-dark(#717765, #939987); font-size: 11px; }
.capture-platforms input:checked + span { background: light-dark(#fff, #22241e); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px light-dark(#30332d14, rgba(0, 0, 0, 0.19)); }
.capture-platforms input:focus-visible + span { outline: 2px solid light-dark(#b3c494, #4b582f); outline-offset: 1px; }
.form-hint { color: light-dark(#989f8b, #6c7260); font-size: 10px; line-height: 1.85; margin: 18px 0 24px; }
.join-button { width: 100%; justify-content: space-between; margin-top: 24px; }
.form-error { font-size: 11px; color: light-dark(#9c5147, #d78a7e); background: light-dark(#f9efe7, #28221c); border-radius: 7px; padding: 12px; line-height: 1.7; margin-bottom: 15px; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; transform: translate(-50%, 10px); background: light-dark(#343d2e, #d2ddcb); color: light-dark(#f7f8ed, #1e1e17); padding: 12px 17px; border-radius: 9px; box-shadow: 0 8px 25px light-dark(#0002, rgba(0, 0, 0, 0.32)); opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; font-size: 12px; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.back-button { display: none; }
.transcript-toolbar { position: relative; display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 16px; min-width: 0; }
.transcript-version-choice { flex-shrink: 0; }
.transcript-version-choice .version-menu { left: 0; right: auto; }
.transcript-filters { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; margin: 0; }
.transcript-search { flex: 1; min-width: 130px; height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid light-dark(#dde1d3, #33352c); border-radius: 8px; background: light-dark(#ffffff, #22241e); color: light-dark(#8f9584, #757b6b); transition: border-color .15s, box-shadow .15s; }
.transcript-search .icon { width: 13px; height: 13px; }
.transcript-search input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 0; background: transparent; color: var(--ink); font-size: 12px; }
.transcript-search input::placeholder { color: light-dark(#9aa08f, #6b7061); }
.transcript-search:focus-within { border-color: light-dark(#849658, #74854b); box-shadow: 0 0 0 2px light-dark(#dbe5c9, #303624); }

.custom-select { position: relative; display: inline-flex; }
.custom-select-trigger { height: 34px; min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid light-dark(#dde1d3, #33352c); border-radius: 8px; background: light-dark(#ffffff, #22241e); color: light-dark(#4e5543, #b7bfab); font-size: 12px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s, box-shadow .15s; }
.custom-select-trigger:hover { background: light-dark(#f6f8f2, #1d1e1a); border-color: light-dark(#ccd4bf, #3e4434); color: light-dark(#2b3320, #dfead3); }
.custom-select-trigger:focus-visible { outline: 0; border-color: light-dark(#849658, #74854b); box-shadow: 0 0 0 2px light-dark(#dbe5c9, #303624); }
.custom-select-trigger:disabled { opacity: .5; cursor: not-allowed; }
.custom-select-trigger .icon-chevron { width: 11px; height: 11px; stroke-width: 2.2; color: light-dark(#7b836f, #868e7b); transition: transform .2s ease; flex-shrink: 0; }
.custom-select.open .custom-select-trigger .icon-chevron { transform: rotate(180deg); }
.custom-select-menu { position: absolute; top: calc(100% + 5px); right: 0; min-width: 100%; max-height: 220px; overflow-y: auto; background: light-dark(#ffffff, #22241e); border: 1px solid light-dark(#dce1d0, #33362a); border-radius: 10px; box-shadow: 0 10px 28px -4px light-dark(rgba(45, 52, 38, 0.16), rgba(0, 0, 0, 0.38)), 0 4px 8px -2px light-dark(rgba(45, 52, 38, 0.07), rgba(0, 0, 0, 0.17)); padding: 5px; z-index: 120; display: flex; flex-direction: column; gap: 2px; animation: menuPopIn .15s ease-out; }
.custom-select-option { border: 0; background: transparent; width: 100%; text-align: left; padding: 7px 11px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; transition: background .12s, color .12s; }
.custom-select-option:hover { background: light-dark(#f0f3ea, #21231d); color: light-dark(#2b351d, #dce9cd); }
.custom-select-option.selected { background: light-dark(#e8ecdd, #282b21); color: light-dark(#3e4f25, #bbcfa2); font-weight: 600; }

.transcript-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.transcript-actions .button { min-height: 32px; padding: 6px 12px; font-size: 11px; font-weight: 600; border-radius: 8px; }
.transcript-btn-group { display: inline-flex; align-items: stretch; border-radius: 9px; box-shadow: 0 1px 2px light-dark(rgba(45, 52, 38, 0.08), rgba(0, 0, 0, 0.19)); border: 1px solid light-dark(#c9d2be, #3f4637); background: light-dark(#333b2d, #d5dece); overflow: visible; position: relative; }
.transcript-btn-group .transcript-settings { position: relative; display: flex; align-items: stretch; }
.transcript-btn-group .transcript-settings summary { border-radius: 8px 0 0 8px; border: 0; border-right: 1px solid light-dark(#c0cbb1, #454d38); background: light-dark(#e6eddc, #272c20); color: light-dark(#3e4f25, #bbcfa2); padding: 0 10px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.transcript-btn-group .transcript-settings summary:hover { background: light-dark(#dae3cf, #303628); color: light-dark(#2b3917, #d6e8c1); }
.transcript-btn-group .transcript-settings[open] summary { background: light-dark(#cfdcbf, #38402e); color: light-dark(#233012, #e1f3cf); }
.transcript-btn-group .transcript-settings summary .icon { width: 14px; height: 14px; transition: transform .25s ease; }
.transcript-btn-group .transcript-settings[open] summary .icon { transform: rotate(45deg); }
.transcript-btn-group .button.primary { border-radius: 0 8px 8px 0; border: 0; background: light-dark(#333b2d, #d5dece); color: light-dark(#ffffff, #22241e); padding: 6px 14px; font-size: 11px; font-weight: 600; transition: background .15s; }
.transcript-btn-group .button.primary:hover { background: light-dark(#46533c, #b7c6ac); }
.transcript-btn-group.has-transcript { border: 0; background: transparent; box-shadow: none; }
.transcript-btn-group.has-transcript .transcript-settings summary { border: 1px solid var(--line); border-radius: 8px; width: 32px; padding: 0; background: var(--paper); color: light-dark(#657353, #95a383); }
.transcript-btn-group.has-transcript .transcript-settings summary:hover { background: light-dark(#edf1e5, #23261e); }
.transcript-btn-group.has-transcript .transcript-settings-body > .button.primary { width: 100%; margin-top: 14px; border-radius: 8px; min-height: 34px; }
.transcript-settings-body { position: absolute; top: calc(100% + 8px); left: 0; right: auto; z-index: 50; width: 230px; max-width: min(230px, calc(100vw - 32px)); padding: 14px 15px; background: light-dark(#ffffff, #22241e); border: 1px solid light-dark(#dce1d0, #33362a); border-radius: 12px; box-shadow: 0 12px 32px light-dark(rgba(48,51,45,0.12), rgba(0, 0, 0, 0.29)), 0 2px 6px light-dark(rgba(48,51,45,0.05), rgba(0, 0, 0, 0.12)); animation: menuPopIn .15s ease-out; }
.transcript-controls { display: grid; gap: 12px; }
.transcript-controls label { display: grid; gap: 6px; color: light-dark(#6b7260, #989f8d); font-size: 11px; font-weight: 500; }
.transcript-controls .custom-select { width: 100%; }
.transcript-controls .custom-select-trigger { width: 100%; }
.transcript-state { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 500; color: light-dark(#5d6352, #a8ae9d); background: light-dark(#f0f3e8, #22241c); border: 1px solid light-dark(#e2e6d6, #2e3126); border-radius: 20px; padding: 4px 10px; margin-right: auto; }
.transcript-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: light-dark(#9da38e, #696e5b); }
.transcript-state[data-state="completed"]::before { background: light-dark(#6b8838, #7d9a4e); box-shadow: 0 0 0 2px light-dark(#d8e5c2, #313725); }
.transcript-state[data-state="failed"], .transcript-state[data-state="interrupted"], .transcript-state[data-state="attention"] { color: light-dark(#a47154, #b07f63); background: light-dark(#fdf5f0, #221d1a); border-color: light-dark(#f4ded2, #3b2c24); }
.transcript-state[data-state="failed"]::before, .transcript-state[data-state="interrupted"]::before, .transcript-state[data-state="attention"]::before { background: light-dark(#b76c52, #ba7259); }
.transcript-exports { display: inline-flex; align-items: center; gap: 5px; }
.transcript-exports a { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid light-dark(#dfe3d2, #313428); border-radius: 6px; background: light-dark(#ffffff, #22241e); color: light-dark(#596933, #a7bb78); font-size: 11px; font-weight: 600; text-decoration: none; transition: all .15s; }
.transcript-exports a:hover { background: light-dark(#eef2e3, #23251b); border-color: light-dark(#cfd8bf, #3b412f); color: light-dark(#3b4721, #c7d6ac); }
.transcript-download-wrapper { position: relative; display: inline-flex; }
.transcript-download-btn { width: 34px; height: 34px; min-height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid light-dark(#dde2d4, #32352b); background: light-dark(#ffffff, #22241e); color: light-dark(#555e4b, #acb6a2); cursor: pointer; transition: all .15s ease; }
.transcript-download-btn:hover { background: light-dark(#f2f5ec, #20221c); border-color: light-dark(#ccd5c1, #3d4335); color: light-dark(#2b3322, #dfe9d5); }
.transcript-download-btn .icon { width: 14px; height: 14px; }
.transcript-download-menu { position: absolute; top: calc(100% + 6px); right: 0; background: light-dark(#ffffff, #22241e); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px -4px light-dark(rgba(45,52,38,.16), rgba(0, 0, 0, 0.38)), 0 4px 8px -2px light-dark(rgba(45,52,38,.07), rgba(0, 0, 0, 0.17)); padding: 6px; z-index: 100; display: flex; flex-direction: column; gap: 3px; min-width: 100px; animation: menuPopIn .15s ease-out; }
.transcript-download-menu a { display: flex; align-items: center; padding: 7px 12px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .12s; }
.transcript-download-menu a:hover { background: light-dark(#eeefe6, #262620); }
.transcript-progress { display: block; width: 100%; height: 3px; margin: 12px 0; border: 0; border-radius: 3px; appearance: none; accent-color: light-dark(#8c9c6a, #6e7d4f); background: light-dark(#e9ecdf, #282a22); }
.transcript-progress::-webkit-progress-bar { background: light-dark(#e9ecdf, #282a22); border-radius: 3px; }
.transcript-progress::-webkit-progress-value { background: light-dark(#8c9c6a, #6e7d4f); border-radius: 3px; }
.transcript-progress::-moz-progress-bar { background: light-dark(#8c9c6a, #6e7d4f); border-radius: 3px; }
.bot-progress { margin-top: 20px; }
.bot-progress .transcript-progress { margin: 10px 0 0; }
.bot-progress-bar.attention { accent-color: light-dark(#b76c52, #ba7259); }
.bot-progress-bar.attention::-webkit-progress-value { background: light-dark(#b76c52, #ba7259); }
.bot-progress-bar.attention::-moz-progress-bar { background: light-dark(#b76c52, #ba7259); }
.transcript-progress.row-progress { height: 2px; margin: 8px 0 0; }
.transcript-progress.calendar-progress { margin: 10px 0 0; max-width: 360px; }
.transcript-message { color: light-dark(#9c5147, #d78a7e); font-size: 11px; line-height: 1.7; margin: 12px 0; overflow-wrap: anywhere; }
.transcript-empty { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 20px 0; text-align: center; }
.transcript-empty-card { display: grid; justify-items: center; gap: 10px; margin: 24px 0 0; padding: 44px 20px; background: light-dark(#f7f8f2, #1d1e1a); border: 1px dashed light-dark(#dce0d0, #34372b); border-radius: 12px; color: var(--muted); }
.transcript-empty-card .icon { width: 24px; height: 24px; color: light-dark(#8b9475, #777f62); }
.transcript-empty-card p { margin: 0; font-size: 12px; font-weight: 500; }
.transcript-turns { display: flex; flex-direction: column; margin-top: 4px; }
.transcript-turn { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; margin-top: 10px; padding: 6px 12px 6px 0; border-radius: 10px; background: transparent; transition: background .2s ease; scroll-margin: 120px; }
.transcript-turn:first-child { margin-top: 0; }
/* Room below the last turn, so even the closing words can be scrolled to the middle of the screen as they play. */
.transcript-turns { padding-bottom: 42vh; }
.transcript-turn.continued { margin-top: 0; padding-top: 2px; }
.transcript-turn:hover { background: light-dark(#f7f8f2, #1d1e1a); }
.transcript-turn.overlapping { background: light-dark(#faf9f4, #1d1c19); box-shadow: inset 0 0 0 1px light-dark(#efe8dc, #2f2a22); }
.transcript-turn.playing { background: light-dark(#eef3e2, #2b3220); }
.transcript-turn.playing::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: light-dark(#8c9c6a, #6e7d4f); }
.transcript-turn.revealed { animation: turn-reveal 2.2s ease-out; }
@keyframes turn-reveal { from { background: light-dark(#e0e9cb, #2c311f); } to { background: transparent; } }
.turn-body { min-width: 0; }
.turn-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; min-height: 26px; }
.transcript-turn.continued .turn-header { position: absolute; top: 2px; right: 10px; z-index: 1; min-height: 0; margin: 0; padding: 1px 6px; border-radius: 6px; background: light-dark(#fff, #22241e); box-shadow: 0 1px 4px light-dark(rgba(45, 52, 38, .12), rgba(0, 0, 0, 0.29)); opacity: 0; transition: opacity .15s; }
.transcript-turn.continued .speaker-avatar { display: none; }
.transcript-turn.continued:hover .turn-header, .transcript-turn.continued:focus-within .turn-header { opacity: 1; }
.speaker-avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; flex-shrink: 0; letter-spacing: .3px; }
.speaker-avatar.tone-olive { background: light-dark(#e3ebd2, #2a2f1d); color: light-dark(#405322, #b6cc99); }
.speaker-avatar.tone-sage { background: light-dark(#dfe8e1, #2a302b); color: light-dark(#34543b, #abceb2); }
.speaker-avatar.tone-warm { background: light-dark(#ede7da, #2f2b22); color: light-dark(#5f4a25, #d4bd97); }
.speaker-avatar.tone-earth { background: light-dark(#ebe3d9, #332e27); color: light-dark(#5b3e2b, #e4c2ad); }
.speaker-avatar.tone-moss { background: light-dark(#e5ece6, #262b27); color: light-dark(#3b5043, #b4cbbc); }
.speaker-name { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font-size: 12.5px; font-weight: 600; color: light-dark(#484e3f, #bfc6b5); text-align: left; cursor: pointer; }
.speaker-name:hover { color: var(--olive); }
.speaker-name .icon { width: 11px; height: 11px; color: light-dark(#858c77, #7e8571); opacity: 0; transition: opacity .15s; }
.speaker-name:hover .icon, .speaker-name:focus-visible .icon, .speaker-name[aria-expanded="true"] .icon { opacity: 1; }
.transcript-turn:hover .speaker-name .icon { opacity: .75; }
.speaker-name[aria-expanded="true"] { color: var(--olive); }
@media (hover: none) { .speaker-name .icon { opacity: .75; } .transcript-turn.continued .turn-header { position: static; opacity: 1; box-shadow: none; background: none; padding: 0; margin-bottom: 2px; } }
.transcript-results { position: relative; }
.speaker-popover { position: absolute; z-index: 130; display: grid; gap: 10px; padding: 14px; background: light-dark(#ffffff, #22241e); border: 1px solid light-dark(#dce1d0, #33362a); border-radius: 12px; box-shadow: 0 10px 28px -4px light-dark(rgba(45, 52, 38, 0.16), rgba(0, 0, 0, 0.38)), 0 4px 8px -2px light-dark(rgba(45, 52, 38, 0.07), rgba(0, 0, 0, 0.17)); animation: menuPopIn .15s ease-out; }
.speaker-popover[hidden] { display: none; }
.speaker-popover-label { font-size: 10px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: light-dark(#8a9079, #7b806b); }
.speaker-popover .field { height: 36px; }
.speaker-scope { display: flex; gap: 2px; margin: 0; padding: 2px; border: 1px solid light-dark(#dfe4d5, #303329); border-radius: 20px; background: light-dark(#edf0e6, #242620); min-width: 0; }
.speaker-scope[hidden] { display: none; }
.speaker-scope label { flex: 1; position: relative; min-width: 0; }
.speaker-scope input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.speaker-scope span { display: block; border-radius: 16px; padding: 5px 8px; text-align: center; font-size: 11px; font-weight: 500; color: light-dark(#717765, #939987); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s; }
.speaker-scope input:checked + span { background: light-dark(#ffffff, #22241e); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px light-dark(rgba(48, 51, 45, 0.08), rgba(0, 0, 0, 0.19)); }
.speaker-scope input:focus-visible + span { outline: 2px solid light-dark(#849658, #74854b); outline-offset: 1px; }
.speaker-popover-actions { display: flex; gap: 8px; }
.speaker-popover-actions .button { min-height: 32px; padding: 0 14px; font-size: 11px; font-weight: 600; }
.speaker-popover-actions [type="submit"] { flex: 1; }
.turn-time-rail { display: flex; justify-content: flex-end; align-items: flex-start; padding-top: 5px; }
.transcript-turn.continued .turn-time-rail { padding-top: 4px; }
.turn-time { border: 0; background: transparent; color: light-dark(#a4ab94, #616753); padding: 1px 4px; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; border-radius: 5px; cursor: pointer; transition: background .15s, color .15s; letter-spacing: .2px; }
.transcript-turn.continued .turn-time { color: light-dark(#bfc4b2, #4c5041); }
button.turn-time:hover, .transcript-turn:hover button.turn-time { background: light-dark(#eef1e5, #24261e); color: light-dark(#3e4a24, #c3d2a9); }
.transcript-turn.playing .turn-time { color: light-dark(#3e4a24, #c3d2a9); font-weight: 700; }
span.turn-time { cursor: default; }
.turn-text { margin: 0; font-size: 14.5px; line-height: 1.75; color: light-dark(#2e3228, #e2e7db); white-space: pre-wrap; overflow-wrap: anywhere; }
.transcript-version-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 9px 12px; border-radius: 9px; background: light-dark(#f4f1e4, #25231b); color: light-dark(#7d6a3f, #af9c72); font-size: 12px; }
.overlap-label { color: light-dark(#987354, #aa8668); background: light-dark(#fdf5e8, #231e15); border: 1px solid light-dark(#f2dfc7, #3b2f1f); padding: 1px 7px; border-radius: 10px; font-size: 9px; font-weight: 600; }
@media (max-width: 1100px) {
  .sidebar { width: 190px; padding-left: 12px; padding-right: 12px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 14px; }
  .library { width: 285px; }
  .document { padding: 22px 25px; }
  .document-top.has-action { margin-bottom: 12px; }
}
@media (max-width: 850px) {
  .workspace { display: block; height: 100dvh; min-height: 0; }
  .sidebar { width: 100%; height: 76px; flex-direction: row; padding: 12px 18px; align-items: center; gap: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { gap: 8px; padding: 0; }
  .brand-mark { width: 31px; height: 34px; border-radius: 8px; }
  .brand-mark .icon { width: 16px; height: 16px; }
  .brand-name { font-size: 13.5px; }
  .brand-caption, .sidebar-note, .sidebar-bottom, .nav-label { display: none; }
  .sidebar nav { margin-top: 0; }
  nav { display: flex; gap: 2px; margin-left: 10px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  .nav-button { padding: 9px; font-size: 10px; gap: 5px; flex: 0 0 auto; white-space: nowrap; }
  .nav-count { display: none; }
  .main { height: calc(100dvh - 76px); }
  .toolbar { height: 50px; padding: 0 20px; }
  .library { width: 265px; padding-top: 21px; }
  .document { padding: 22px 20px; }
  .document-title { font-size: 26px; }
  .welcome .document-title { font-size: 33px; }
  .detail-facts { grid-template-columns: 1fr; }
  .transcript-toolbar { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .sidebar { flex-wrap: wrap; gap: 12px; height: 117px; padding: 13px 17px 10px; }
  .brand { flex: 1; }
  nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .nav-button { padding: 8px 10px; }
  .main { height: calc(100dvh - 117px); }
  .toolbar { height: 45px; padding: 0 18px; }
  .breadcrumb { font-size: 9px; gap: 8px; }
  .local-chip { font-size: 9px; }
  .toolbar-actions { gap: 10px; }
  .library { width: 100%; border-right: 0; }
  .document { display: none; padding: 20px 20px 40px; }
  .panes.detail-open .library { display: none; }
  .panes.detail-open .document { display: block; }
  .back-button { display: inline-flex; font-size: 10px; padding: 6px 8px; min-height: 28px; }
  .document-top { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin-bottom: 12px; }
  .document-title { font-size: 30px; }
  .document-tabs { column-gap: 20px; }
  .document-tabs button { font-size: 11px; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  dialog { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.calendar-view { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 32px clamp(22px, 4vw, 64px); background: var(--paper); }
.calendar-content { max-width: 1120px; margin: 0 auto; }
.calendar-heading, .calendar-actions, .calendar-month-heading, .calendar-agenda-heading { display: flex; align-items: center; gap: 8px; }
.calendar-heading { justify-content: space-between; margin-bottom: 32px; }
.calendar-heading h1, .calendar-empty h1 { font-size: 22px; font-weight: 500; margin: 0; letter-spacing: -.5px; }
.calendar-actions { flex-wrap: wrap; justify-content: flex-end; }
.calendar-pause { min-height: 34px; padding: 7px 10px; font-size: 11px; }
.calendar-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 38px; align-items: start; }
.calendar-month { position: sticky; top: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); }
.calendar-month-heading h2 { margin: 0 auto 0 0; font-size: 13px; font-weight: 600; }
.calendar-month-heading .icon-button { width: 26px; height: 28px; }
.calendar-month-heading .icon { width: 14px; height: 14px; }
.calendar-month-toggle { display: none; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; gap: 3px; }
.calendar-weekdays { color: var(--muted); font-size: 10px; margin: 16px 0 8px; }
.calendar-day { position: relative; min-height: 34px; padding: 5px 0 11px; border: 0; border-radius: 8px; color: var(--ink); background: none; font-size: 11px; }
.calendar-day:hover { background: light-dark(#e8ecdd, #282b21); }
.calendar-day.outside { color: light-dark(#a8ab9e, #626459); }
.calendar-day.today { font-weight: 700; box-shadow: inset 0 0 0 1px light-dark(#cad3b5, #404633); }
.calendar-day.selected { background: light-dark(#333b2d, #d5dece); color: light-dark(white, #22241e); box-shadow: none; }
.calendar-day-dot { position: absolute; width: 3px; height: 3px; border-radius: 50%; bottom: 5px; left: calc(50% - 1.5px); }
.calendar-day-dot.has-events { background: light-dark(#81915d, #798857); }
.calendar-day.selected .calendar-day-dot.has-events { background: light-dark(white, #22241e); }
.calendar-day-actions { display: flex; justify-content: space-between; align-items: center; margin: 14px 0 20px; gap: 10px; }
.calendar-day-actions .button { min-height: 28px; padding: 5px 10px; font-size: 10px; }
.calendar-caption { font-size: 10px; color: var(--muted); line-height: 1.7; margin: 8px 0 0; }
.calendar-agenda { min-width: 0; }
.calendar-agenda-heading { justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 8px; flex-wrap: wrap; }
.calendar-agenda-heading h2 { margin: 0; font-size: 22px; font-family: Georgia, serif; font-weight: 400; letter-spacing: -.5px; }
.calendar-agenda-heading .segmented-tabs { margin: 0; min-width: 240px; }
.calendar-agenda-heading .segmented-tabs button { padding: 5px 12px; font-size: 11px; }
.calendar-date-group { font-size: 10px; font-weight: 500; color: var(--muted); margin: 25px 0 12px; }
.calendar-event { display: flex; gap: 18px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.calendar-event-time { min-width: 62px; font-size: 11px; color: light-dark(#4a513f, #bcc4b0); font-variant-numeric: tabular-nums; padding-top: 3px; }
.calendar-event-time span { display: block; font-size: 10px; margin-top: 6px; color: var(--muted); }
.calendar-event-main { flex: 1; min-width: 0; }
.calendar-event-main h3 { margin: 0 0 9px; font-size: 14px; font-weight: 550; overflow-wrap: anywhere; }
.calendar-event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); }
.calendar-state { color: light-dark(#778363, #869273); }
.calendar-state.state-scheduled, .calendar-state.state-joined { color: light-dark(#536934, #9db580); }
.calendar-state.state-conflict, .calendar-state.state-failed, .calendar-state.state-uncertain, .calendar-state.state-missed { color: light-dark(#a47154, #b07f63); }
.calendar-event-note { font-size: 10px; line-height: 1.7; margin: 9px 0 0; color: light-dark(#987354, #aa8668); }
.calendar-event-toggle { position: relative; flex-shrink: 0; width: 30px; height: 28px; display: flex; align-items: center; }
.calendar-event-toggle input { position: absolute; width: 30px; height: 28px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.calendar-switch { width: 30px; height: 18px; border-radius: 12px; background: light-dark(#dfe2d6, #32342b); transition: background .15s; }
.calendar-switch::after { content: ''; display: block; width: 12px; height: 12px; margin: 3px; border-radius: 50%; background: light-dark(white, #22241e); box-shadow: 0 1px 2px light-dark(#30332d1a, rgba(0, 0, 0, 0.24)); transition: transform .15s; }
.calendar-event-toggle input:checked + .calendar-switch { background: light-dark(#748a4f, #7d925a); }
.calendar-event-toggle input:checked + .calendar-switch::after { transform: translateX(12px); }
.calendar-event-toggle input:disabled { cursor: default; }
.calendar-event-toggle input:disabled + .calendar-switch { opacity: .5; }
.calendar-event-toggle input:focus-visible + .calendar-switch { outline: 2px solid light-dark(#849658, #74854b); outline-offset: 4px; }
.calendar-open { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: light-dark(#63744a, #94a57b); font-size: 10px; padding: 0; margin-top: 10px; text-decoration: none; }
.calendar-open .icon { width: 12px; height: 12px; }
.calendar-open:hover { color: var(--ink); text-decoration: underline; }
.calendar-runtime { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 15px; }
.calendar-no-events { padding: 45px 10px; color: var(--muted); text-align: center; font-size: 12px; }
.calendar-empty { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 50px 0; text-align: center; }
.calendar-empty p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.7; max-width: 480px; }
.calendar-setup { width: min(100%, 470px); text-align: left; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: var(--canvas); font-size: 12px; line-height: 1.8; }
.calendar-setup summary { cursor: pointer; color: var(--ink); font-weight: 600; }
.calendar-setup ol { padding-left: 20px; margin-bottom: 0; color: var(--muted); }
.calendar-setup li { margin: 12px 0; }
.calendar-setup code { display: block; font-size: 10px; color: var(--ink); margin: 7px 0; overflow-wrap: anywhere; }
.calendar-error { font-size: 11px; line-height: 1.7; padding: 12px 15px; margin: 0 0 20px; border-radius: 8px; background: light-dark(#f7eee6, #29231e); color: light-dark(#987354, #aa8668); }
.calendar-settings .dialog-heading h2 { margin: 0; font-size: 20px; }
.calendar-choices { display: grid; gap: 8px; margin: 12px 0 22px; max-height: 240px; overflow-y: auto; }
.calendar-choices label { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; text-align: left; }
.calendar-choices label > span { overflow-wrap: anywhere; min-width: 0; }
.calendar-choices input { accent-color: light-dark(#596933, #a7bb78); }
.calendar-choices .calendar-caption { margin: 0 0 0 auto; }
.calendar-disconnect-button { display: block; margin: 18px auto 0; color: light-dark(#a47154, #b07f63); border: 0; background: none; font-size: 11px; }
.calendar-oauth-message { max-width: 600px; margin: 80px auto; padding: 24px; }
.calendar-invite-title { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; overflow-wrap: anywhere; max-width: 100%; }
.calendar-invite-title .icon { width: 13px; height: 13px; flex-shrink: 0; color: var(--muted); }
.document-version-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; min-width: 0; }
.speaker-menu { max-height: none; overflow: visible; }
.speaker-options { display: flex; flex-direction: column; gap: 2px; max-height: 200px; overflow-y: auto; }
.speaker-review { border-top: 1px solid light-dark(#e7e9df, #2b2c26); margin-top: 3px; padding-top: 5px; }
.review-count { color: var(--muted); font-weight: 500; margin-left: 2px; }
.review-count::before { content: "("; }
.review-count::after { content: ")"; }
.review-switch { flex-shrink: 0; width: 26px; height: 15px; border-radius: 10px; background: light-dark(#dfe2d6, #32342b); transition: background .15s; }
.review-switch::after { content: ''; display: block; width: 11px; height: 11px; margin: 2px; border-radius: 50%; background: light-dark(white, #22241e); box-shadow: 0 1px 2px light-dark(#30332d1a, rgba(0, 0, 0, 0.24)); transition: transform .15s; }
.review-switch-option[aria-checked="true"] .review-switch { background: light-dark(#748a4f, #7d925a); }
.review-switch-option[aria-checked="true"] .review-switch::after { transform: translateX(11px); }
.review-switch-option:focus-visible { outline: 2px solid light-dark(#849658, #74854b); outline-offset: -2px; }
.filtering-review .custom-select-trigger { border-color: light-dark(#b9c79e, #495431); background: light-dark(#f3f6ec, #1f211a); color: light-dark(#3e4f25, #bbcfa2); }
.document-version-row:has(.version-choice[hidden]):not(:has(.version-choice:not([hidden]))) { display: none; }
.version-choice { position: relative; display: inline-flex; min-width: 0; width: auto; }
.version-choice .custom-select-trigger { height: 34px; min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid light-dark(#dde1d3, #33352c); border-radius: 8px; background: light-dark(#ffffff, #22241e); color: light-dark(#4e5543, #b7bfab); font-size: 11px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s, box-shadow .15s; }
.version-choice .custom-select-trigger:hover:not(:disabled) { background: light-dark(#f6f8f2, #1d1e1a); border-color: light-dark(#ccd4bf, #3e4434); color: light-dark(#2b3320, #dfead3); }
.version-choice .custom-select-trigger:focus-visible { outline: 0; border-color: light-dark(#849658, #74854b); box-shadow: 0 0 0 2px light-dark(#dbe5c9, #303624); }
.version-choice .custom-select-trigger:disabled { opacity: .5; cursor: not-allowed; }
.version-choice .custom-select-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.version-choice .icon-chevron { width: 10px; height: 10px; stroke-width: 2.2; color: light-dark(#7b836f, #868e7b); flex-shrink: 0; transition: transform .2s ease; }
.version-choice.open .custom-select-trigger .icon-chevron { transform: rotate(180deg); }
.version-menu { position: absolute; top: calc(100% + 5px); left: 0; right: auto; min-width: 260px; max-width: min(380px, calc(100vw - 32px)); width: max-content; max-height: 280px; overflow-y: auto; background: light-dark(#ffffff, #22241e); border: 1px solid light-dark(#dce1d0, #33362a); border-radius: 10px; box-shadow: 0 10px 28px -4px light-dark(rgba(45, 52, 38, 0.16), rgba(0, 0, 0, 0.38)), 0 4px 8px -2px light-dark(rgba(45, 52, 38, 0.07), rgba(0, 0, 0, 0.17)); padding: 6px; z-index: 120; display: flex; flex-direction: column; gap: 3px; animation: menuPopIn .15s ease-out; }
.version-menu .custom-select-option { border: 0; background: transparent; width: 100%; text-align: left; padding: 8px 10px; border-radius: 7px; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; transition: background .12s, color .12s; }
.version-menu .custom-select-option:hover { background: light-dark(#f0f3ea, #21231d); }
.version-menu .custom-select-option.selected { background: light-dark(#e8ecdd, #282b21); }
.version-option-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; text-align: left; }
.version-option-title { font-size: 12px; font-weight: 600; color: light-dark(#20241b, #ebf1e5); line-height: 1.35; overflow-wrap: anywhere; }
.version-option-subtitle { font-size: 11px; font-weight: 400; color: light-dark(#767d6c, #8c9383); line-height: 1.35; overflow-wrap: anywhere; }
.version-menu .custom-select-option.selected .version-option-title { color: light-dark(#35471d, #c4daac); font-weight: 700; }
.version-menu .custom-select-option.selected .version-option-subtitle { color: light-dark(#53623c, #a7b890); }
.version-menu .custom-select-option .icon { flex-shrink: 0; width: 14px; height: 14px; margin-top: 2px; color: light-dark(#596933, #a7bb78); }
.version-caption { color: var(--muted); font-size: 12px; margin: 0 0 16px; }
.document-version-row .version-caption { margin: 0; }
.version-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; flex: 1 1 240px; }
.version-field > span { color: var(--muted); font-size: 12px; }
.version-field .version-choice { width: 100%; }
@media (max-width: 620px) { .document-version-row > .version-choice { width: 100%; } .version-field { flex-basis: 100%; } }
.calendar-invite-title:hover { color: var(--olive); }
.calendar-invitation { width: min(580px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; overflow: hidden; }
.calendar-invitation[open] { display: flex; flex-direction: column; }
.calendar-invitation-heading { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; padding: 24px 28px 18px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.calendar-invitation-heading > div { min-width: 0; }
.calendar-invitation-heading .calendar-caption { margin: 0; }
.calendar-invitation-heading h2 { font-size: 25px; margin: 7px 0 0; overflow-wrap: anywhere; }
.calendar-invitation-heading .icon-button { flex-shrink: 0; }
.calendar-invitation-body { padding: 0 28px 24px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.calendar-invite-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 20px 0 4px; color: var(--muted); font-size: 11px; }
.calendar-invite-section { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.calendar-invite-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.calendar-detail-icon { color: light-dark(#899376, #778065); padding-top: 1px; }
.calendar-detail-icon .icon { width: 18px; height: 18px; }
.calendar-invite-section h3 { margin: 0 0 6px; font-size: 12px; font-weight: 600; line-height: 1.6; }
.calendar-invite-section p { margin: 0; font-size: 12px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.calendar-invite-section .calendar-caption { display: block; margin-top: 5px; font-size: 10px; }
.calendar-invite-link > a { display: block; font-size: 12px; line-height: 1.8; color: var(--olive); overflow-wrap: anywhere; text-decoration: none; }
.calendar-invite-link > a:hover { text-decoration: underline; }
.calendar-invite-link-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.calendar-invite-link-actions .calendar-open { margin: 0; }
.calendar-invite-link-actions .icon-button { width: 28px; height: 28px; }
.calendar-invite-link-actions .icon-button .icon { width: 14px; height: 14px; }
.calendar-guest-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 14px; }
.calendar-guest { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.calendar-guest-avatar { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: light-dark(#ecefe3, #26271f); color: light-dark(#65754b, #93a47a); font-size: 9px; font-weight: 600; }
.calendar-guest-name { min-width: 0; flex: 1; display: grid; gap: 3px; font-size: 11px; overflow-wrap: anywhere; }
.calendar-guest-name strong { font-weight: 500; }
.calendar-guest-name span { color: var(--muted); font-size: 10px; line-height: 1.6; }
.calendar-rsvp { flex-shrink: 0; font-size: 9px; padding: 4px 7px; border-radius: 6px; background: var(--canvas); color: var(--muted); }
.calendar-rsvp.rsvp-accepted { background: light-dark(#edf1e4, #24261d); color: light-dark(#657d43, #89a169); }
.calendar-rsvp.rsvp-declined { background: light-dark(#f5ece5, #2a2520); color: light-dark(#9a7156, #ad856b); }
.calendar-rsvp.rsvp-tentative { background: light-dark(#f3f0e6, #26241d); color: light-dark(#928050, #988759); }
.calendar-invite-text { white-space: pre-wrap; }
.calendar-invite-footer { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; display: flex; justify-content: flex-end; }
@media (max-width: 620px) { .calendar-invitation-heading { padding: 20px; } .calendar-invitation-body { padding: 0 20px 20px; } .calendar-invitation-heading h2 { font-size: 22px; } .calendar-invite-section { gap: 10px; } .calendar-guest { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px 10px; } .calendar-guest-avatar { grid-row: 1 / span 2; } .calendar-guest-name { grid-column: 2; } .calendar-rsvp { grid-column: 2; width: max-content; } }
@media (max-width: 1100px) { .calendar-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } .calendar-month { padding: 12px; } }
@media (max-width: 850px) { .calendar-view { padding: 24px 20px; } .calendar-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; } }
@media (max-width: 620px) { .calendar-heading { gap: 16px; align-items: flex-start; margin-bottom: 22px; } .calendar-heading h1 { font-size: 20px; } .calendar-layout { display: flex; flex-direction: column; gap: 24px; } .calendar-month { position: static; width: 100%; } .calendar-month-toggle { display: inline-flex; } .calendar-month:not(.expanded) .calendar-weekdays, .calendar-month:not(.expanded) .calendar-days, .calendar-month:not(.expanded) .calendar-caption { display: none; } .calendar-month:not(.expanded) .calendar-day-actions { margin: 10px 0 0; } .calendar-agenda { width: 100%; } .calendar-day { min-height: 37px; } .calendar-event { gap: 12px; } .calendar-event-time { min-width: 52px; font-size: 10px; } .calendar-actions { gap: 3px; } .calendar-empty h1 { font-size: 20px; } }

/* Sign in and create account: one calm column under a serif greeting. */
.auth-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--canvas); }
.auth-top { padding: 28px 36px 0; }
.auth-top .brand { display: inline-flex; padding: 0; }
.auth-main { flex: 1; display: grid; grid-template-columns: minmax(0, 400px); justify-content: center; align-items: center; padding: 32px 36px 72px; }
.auth-panel { width: 100%; }
.auth-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.6vw, 44px); font-weight: 400; letter-spacing: -1.4px; line-height: 1.1; margin: 0 0 28px; }
.auth-tabs { margin-bottom: 6px; }
.auth-tabs button { padding: 7px 10px; font-size: 12px; }
.auth-panel .field-label { font-size: 12px; margin: 20px 0 8px; }
.auth-panel .field { height: 46px; border-radius: 10px; padding: 0 14px; font-size: 14px; }
.password-field { position: relative; }
.password-field .field { padding-right: 46px; }
.password-field .icon-button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; }
.auth-hint { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.auth-panel .form-error { margin: 18px 0 0; }
.auth-submit { width: 100%; margin-top: 24px; min-height: 46px; border-radius: 10px; font-size: 13px; }
.auth-submit .icon { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .auth-top { padding: 20px 16px 0; }
  .auth-main { padding: 28px 16px 48px; align-items: start; }
  .auth-title { font-size: 32px; }
}

/* Your account: bottom of the sidebar on wide screens, an avatar in the toolbar on narrow ones. */
.sidebar-bottom { padding: 12px 0 0; }
.account-button { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; border: 0; background: transparent; border-radius: 9px; padding: 8px 6px; text-align: left; color: var(--ink); }
.account-button:hover, .account-button[aria-expanded="true"] { background: light-dark(#eeeee6, #272721); }
.avatar { width: 30px; height: 30px; flex-shrink: 0; font-size: 10.5px; color: light-dark(#4a5639, #b5c2a3); background: light-dark(#e3e8d5, #2d3023); letter-spacing: .3px; }
.account-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.account-name, .account-email { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-name { font-size: 12px; font-weight: 600; }
.account-email { font-size: 10px; color: var(--muted); }
.account-button > .icon { width: 14px; height: 14px; color: light-dark(#a0a490, #696c5a); }
.toolbar-account { display: none; border: 0; padding: 0; background: transparent; border-radius: 50%; }
.toolbar-account .avatar { width: 28px; height: 28px; font-size: 10px; }
.account-menu { position: fixed; z-index: 30; width: 248px; background: var(--paper); border: 1px solid light-dark(#e6e8dc, #2c2e25); border-radius: 13px; box-shadow: 0 18px 50px light-dark(#2027172b, rgba(0, 0, 0, 0.4)); padding: 6px; }
.account-menu-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; min-width: 0; }
.account-menu-head strong, .account-menu-head span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-menu-head strong { font-size: 13px; font-weight: 600; }
.account-menu-head span { font-size: 11px; color: var(--muted); margin-top: 3px; }
.account-menu [role="menuitem"] { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: transparent; border-radius: 8px; padding: 9px 10px; font-size: 12px; color: var(--ink); text-align: left; }
.account-menu [role="menuitem"]:hover, .account-menu [role="menuitem"]:focus-visible { background: light-dark(#f0f1e8, #24241e); outline: none; }
.account-menu [role="menuitem"] .icon { width: 16px; height: 16px; color: light-dark(#7f8674, #838a79); }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 24px; }
.password-dialog .form-error { margin: 18px 0 0; }
@media (max-width: 850px) {
  .toolbar-account { display: inline-grid; }
}

/* Toolbar: one button that opens search and commands (Ctrl+K). */
.toolbar-search { display: inline-flex; align-items: center; gap: 9px; width: min(340px, 36vw); height: 34px; margin: 0 auto 0 32px; padding: 0 8px 0 11px; border: 1px solid light-dark(#e4e5da, #2f3028); border-radius: 9px; background: light-dark(#fdfdf9, #191916); color: light-dark(#959986, #737665); font-size: 11.5px; text-align: left; transition: border-color .15s, background .15s; }
.toolbar-search:hover { border-color: light-dark(#ccd4bf, #3e4434); background: light-dark(#fff, #22241e); color: light-dark(#6f7663, #949b88); }
.toolbar-search .icon { width: 14px; height: 14px; }
.toolbar-search span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Meeting header: overflow menu, length, series and who spoke. */
.document-heading-row .document-title-group { flex: 1; }
.meeting-menu-wrap { position: relative; flex-shrink: 0; align-self: flex-start; margin-top: 6px; }
.meeting-more { width: 34px; height: 34px; border: 1px solid transparent; }
.meeting-more[aria-expanded="true"] { background: light-dark(#e9ece0, #282a22); color: light-dark(#4a5639, #b5c2a3); }
.meeting-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 210px; padding: 6px; display: flex; flex-direction: column; gap: 2px; background: light-dark(#fff, #22241e); border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 12px 32px -6px light-dark(rgba(45, 52, 38, .2), rgba(0, 0, 0, 0.48)), 0 4px 10px -2px light-dark(rgba(45, 52, 38, .08), rgba(0, 0, 0, 0.19)); animation: menuPopIn .15s ease-out; }
.meeting-menu [role="menuitem"] { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; }
.meeting-menu [role="menuitem"] .icon { width: 15px; height: 15px; color: light-dark(#7f8674, #838a79); }
.meeting-menu [role="menuitem"]:hover, .meeting-menu [role="menuitem"]:focus-visible { background: light-dark(#eeefe6, #262620); outline: 0; }
.meeting-menu .danger { color: light-dark(#9c5147, #d78a7e); }
.meeting-menu .danger .icon { color: light-dark(#b17057, #b4755e); }
.meeting-menu .danger:hover { background: light-dark(#f7eee6, #29231e); }
.meeting-menu [role="menuitem"]:disabled { opacity: .45; }
.menu-separator { height: 1px; margin: 4px 6px; background: var(--line); }
.document-meta > span:empty { display: none; }
#detail-duration::before, #detail-platform::before { content: "·"; margin-right: 10px; color: light-dark(#c8cbbd, #46483e); }
.series-nav { display: inline-flex; align-items: center; gap: 4px; color: light-dark(#7c856c, #848d75); font-size: 10px; font-weight: 600; }
.series-nav > .icon { width: 12px; height: 12px; }
.series-nav .icon-button { width: 22px; height: 22px; border-radius: 6px; }
.series-nav .icon-button .icon { width: 12px; height: 12px; }
.meeting-people { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.person-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px 2px 2px; border: 1px solid light-dark(#e6e9dc, #2b2d24); border-radius: 20px; background: light-dark(#fafbf6, #1a1b18); font-size: 11px; font-weight: 500; color: light-dark(#4e5543, #b7bfab); }
.person-chip .speaker-avatar { width: 20px; height: 20px; font-size: 8px; }
.person-share { color: light-dark(#9aa08f, #6b7061); font-weight: 500; font-variant-numeric: tabular-nums; }
.person-more { align-self: center; font-size: 11px; color: var(--muted); }
.detail-audio-note { margin-top: 18px; }

/* Where a finished meeting's notes have got to. */
.process-tracker { margin-top: 20px; padding: 14px 16px 12px; border: 1px solid light-dark(#e4e8da, #2c2f25); border-radius: 12px; background: light-dark(#f8f9f3, #1c1d19); }
.process-tracker.attention { border-color: light-dark(#f1e2d6, #362c24); background: light-dark(#fcf8f4, #1e1c19); }
.process-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.process-steps li { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: light-dark(#a3a897, #646859); }
.process-steps li .icon { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: light-dark(#dfe7cf, #2d3322); color: light-dark(#4e6034, #a8bc8f); stroke-width: 2.4; }
.process-steps li.done { color: light-dark(#6b7560, #949e89); }
.process-steps li.active { color: var(--ink); font-weight: 600; }
.process-steps li.attention { color: light-dark(#9c5147, #d78a7e); font-weight: 600; }
.step-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid light-dark(#cdd2c1, #404437); flex-shrink: 0; }
.process-steps li.active .step-dot { border-color: light-dark(#8c9c6a, #6e7d4f); background: radial-gradient(circle, light-dark(#8c9c6a, #6e7d4f) 0 3px, transparent 3.5px); animation: step-pulse 1.6s ease-in-out infinite; }
.process-steps li.attention .step-dot { border-color: light-dark(#b76c52, #ba7259); background: light-dark(#b76c52, #ba7259); }
@keyframes step-pulse { 50% { box-shadow: 0 0 0 4px light-dark(#dfe7cf, #2d3322); } }
.process-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; margin-top: 9px; font-size: 11.5px; color: var(--muted); }
.process-notify { font-size: 11px; color: light-dark(#718a44, #7d9553); }
.process-tracker .transcript-progress { margin: 10px 0 0; }

/* Meeting details: run facts, transcript versions and source audio, out of the way of the notes. */
.details-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; }
.details-dialog .detail-facts { margin-top: 18px; }
.details-section { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.details-section h3 { margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.details-section > .body-copy { margin: 0 0 12px; }
.details-section:has(#transcript-version-slot[hidden]) { display: none; }
#capture-slot:empty { display: none; }

/* The audio bar under every tab. */
#detail-content.has-player { display: flex; flex-direction: column; min-height: 100%; }
#detail-content.has-player > * { flex-shrink: 0; }
.player-slot { position: sticky; bottom: 0; z-index: 25; margin-top: auto; padding-top: 18px; background: linear-gradient(to bottom, transparent, var(--paper) 18px); }
.player-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 4px; margin-bottom: 2px; border: 1px solid light-dark(#e1e5d6, #2f3227); border-radius: 12px; background: light-dark(#fff, #22241e); box-shadow: 0 8px 26px -10px light-dark(rgba(45, 52, 38, .22), rgba(0, 0, 0, 0.53)); }
.player-slot.is-speaker .player-bar { border-color: light-dark(#c9d6b2, #3e4532); }
/* The buttons at either end are squares whose corners follow the pill's: its 12px radius less the 1px border and 4px padding around them. */
.player-play-btn { width: 30px; height: 30px; border-radius: 7px; background: light-dark(#333b2d, #d5dece); color: light-dark(#fff, #22241e); }
.player-play-btn:hover { background: light-dark(#4b573e, #b3c1a6); }
.player-play-btn:active { transform: scale(.95); }
.player-options-btn { width: 30px; height: 30px; border-radius: 7px; }
.player-play-btn .icon { width: 14px; height: 14px; }
.player-options-btn .icon { width: 16px; height: 16px; }
.player-tracker-container { min-width: 80px; height: 30px; }
.player-source { display: inline-flex; align-items: center; gap: 6px; flex: 0 1 auto; min-width: 0; max-width: 220px; overflow: hidden; height: 28px; padding: 0 8px 0 10px; border: 0; border-radius: 8px; background: light-dark(#eef2e5, #2a2f21); color: light-dark(#556441, #b4c4a0); font-size: 11px; font-weight: 600; cursor: pointer; }
.player-source span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-source .icon { flex-shrink: 0; width: 11px; height: 11px; }
.player-source:hover { background: light-dark(#e0e8d2, #323925); }
.player-partial { display: inline-flex; align-items: center; gap: 4px; color: light-dark(#8a7a46, #a8975d); font-size: 11px; font-weight: 500; white-space: nowrap; }
.player-partial .icon { width: 12px; height: 12px; }
/* In a narrow bar the partial note keeps its icon (the words are in its tooltip) and a speaker's name gets a row of its own. */
.player-bar { container: player / inline-size; }
@container player (max-width: 460px) { .player-bar { column-gap: 8px; } .player-partial span { display: none; } .player-source { max-width: 120px; } }
@container player (max-width: 400px) { .player-source { order: 5; flex: 1 0 100%; max-width: none; } }
/* Chat fills its own space with a box to type in, so the audio bar steps aside there. */
#detail-content.on-chat .player-slot { display: none; }
.player-session { max-width: 190px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: light-dark(#fff, #22241e); color: light-dark(#5d6352, #a8ae9d); font-size: 11px; padding: 0 6px; }
.menu-section-label { padding: 6px 10px 4px; font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: light-dark(#9aa08f, #6b7061); }
.player-options-menu .speed-options-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }

/* Home: a dashboard. Chart colours were checked for colour-blind separation in both themes; the amber (Teams) sits
   below 3:1 on light cards, so every chart carries a legend with values. */
.home-view {
  position: relative;
  padding-top: 30px;
  --card: light-dark(#ffffff, #22241e);
  --viz-google_meet: light-dark(#55722c, #5e7c2a);
  --viz-zoom: light-dark(#2f7bd0, #4b8ce2);
  --viz-teams: light-dark(#e6a640, #c0872b);
  --viz-unknown: light-dark(#b5b9aa, #5b5f53);
  --viz-accent: light-dark(#596933, #a7bb78);
  --viz-track: light-dark(#eef1e6, #2c2f26);
  --viz-grid: light-dark(#eceee5, #2e3128);
  --status-good: light-dark(#6b8838, #8fae5a);
  --status-neutral: light-dark(#c4c9b8, #50554a);
  --status-warning: light-dark(#d39a3a, #c79036);
  --status-critical: light-dark(#b76c52, #d0856b);
  --heat-0: light-dark(#f3f4ee, #26281f);
  --heat-1: light-dark(#e1e8cf, #323b25);
  --heat-2: light-dark(#c6d4a4, #45562c);
  --heat-3: light-dark(#a1b876, #5f7735);
  --heat-4: light-dark(#7a984a, #809d47);
  --heat-5: light-dark(#55722c, #a6c06b);
}
.home-content { max-width: 1240px; margin: 0 auto; }
.home-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.home-date { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: light-dark(#8f9682, #8b927f); }
.home-hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 38px); font-weight: 400; letter-spacing: -1.2px; line-height: 1.15; }
.home-summary { margin: 8px 0 0; font-size: 13px; color: light-dark(#6f7663, #949b88); }
.home-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.home-hero-actions .button .icon { width: 15px; height: 15px; }
.home-period { flex: 0 0 auto; }
.home-period button { flex: 0 0 auto; padding: 5px 12px; font-size: 11px; }
.home-period button[aria-pressed="true"] { background: light-dark(#ffffff, #22241e); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(48, 51, 45, 0.08); }
.home-muted { margin: 0; font-size: 12px; color: var(--muted); }
.home-link { border: 0; background: none; padding: 0; color: light-dark(#617347, #94a77b); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.home-link:hover { color: light-dark(#3c4e28, #bbd0a7); text-decoration: underline; text-underline-offset: 3px; }

/* Live now. */
.live-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; margin-bottom: 16px; }
.live-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid light-dark(#d5e0bf, #353b29); border-radius: 12px; background: light-dark(#fbfcf7, #1f211b); }
.live-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: light-dark(#7d9a45, #95b45b); animation: step-pulse 1.6s ease-in-out infinite; }
.live-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.live-title { border: 0; background: none; padding: 0; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-title:hover { color: var(--olive); }
.live-meta { font-size: 11px; color: var(--muted); }
.transcript-progress.live-progress { margin: 3px 0 0; }
.live-card .stop-button { min-height: 32px; padding: 0 12px; flex-shrink: 0; }

/* Key numbers. */
.kpi-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.kpi-value-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-width: 0; }
.kpi-label { font-size: 11.5px; font-weight: 500; color: light-dark(#6f7663, #9a9f8e); }
.kpi-value { margin-top: 2px; font-size: 26px; font-weight: 600; letter-spacing: -.6px; line-height: 1.15; color: var(--ink); }
.kpi.attention .kpi-value { color: light-dark(#9c5147, #e0937f); }
.kpi-sub { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpi-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-top: 8px; font-size: 10.5px; }
.kpi-delta { font-weight: 600; white-space: nowrap; }
.kpi-delta.good { color: light-dark(#4f6b2a, #9cbc66); }
.kpi-delta.bad { color: light-dark(#9c5147, #e0937f); }
.kpi-delta.flat { color: light-dark(#5d6352, #b3b8a6); }
.kpi-compare { color: light-dark(#9aa08f, #7c8270); }
.kpi-spark { flex: 0 1 64px; min-width: 32px; height: 24px; margin-bottom: 4px; }
.kpi-spark-line { fill: none; stroke: var(--viz-accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.kpi-spark-area { fill: var(--viz-accent); opacity: .1; }

/* Cards. */
.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.dash-card { min-width: 0; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.dash-card.span-2 { grid-column: span 2; }
.dash-card.span-3 { grid-column: 1 / -1; }
.dash-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dash-card-head h2 { margin: 0; font-size: 13.5px; font-weight: 600; }
.dash-card-head p { margin: 3px 0 0; font-size: 11px; color: var(--muted); }
.dash-subhead { margin: 18px 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: light-dark(#8a9079, #8e9581); }
.dash-subhead.first { margin-top: 0; }
.dash-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: light-dark(#5d6352, #b3b8a6); }
.dash-foot strong { color: var(--ink); }
.viz-empty { margin: 0; padding: 26px 8px; text-align: center; font-size: 12px; color: var(--muted); }

/* Time in meetings: stacked columns over a hairline grid. */
.viz-columns { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: 170px auto; column-gap: 8px; }
.viz-axis { position: relative; }
.viz-tick { position: absolute; right: 0; transform: translateY(50%); font-size: 10px; color: light-dark(#9aa08f, #7c8270); font-variant-numeric: tabular-nums; }
.viz-plot { position: relative; border-bottom: 1px solid light-dark(#dfe2d6, #3a3d33); }
.viz-gridline { position: absolute; left: 0; right: 0; height: 1px; background: var(--viz-grid); }
.viz-bars { position: absolute; inset: 0; display: flex; align-items: stretch; }
.viz-col { flex: 1; min-width: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0; border: 0; background: none; border-radius: 6px 6px 0 0; }
.viz-col:hover, .viz-col:focus-visible { background: light-dark(rgba(89, 105, 51, .06), rgba(167, 187, 120, .07)); outline: 0; }
.viz-stack { display: flex; flex-direction: column; gap: 2px; width: min(24px, 62%); min-height: 2px; }
.viz-seg { display: block; min-height: 2px; flex-basis: 0; }
.viz-stack > .viz-seg:first-child { border-radius: 4px 4px 0 0; }
.seg-google_meet, .key-google_meet { background: var(--viz-google_meet); }
.seg-zoom, .key-zoom { background: var(--viz-zoom); }
.seg-teams, .key-teams { background: var(--viz-teams); }
.seg-unknown, .key-unknown { background: var(--viz-unknown); }
.viz-xlabels { grid-column: 2; display: flex; margin-top: 7px; }
.viz-xlabels span { flex: 1; min-width: 0; text-align: center; font-size: 10px; color: light-dark(#9aa08f, #7c8270); white-space: nowrap; overflow: visible; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 11.5px; color: light-dark(#5d6352, #b3b8a6); }
.viz-legend li { display: inline-flex; align-items: center; gap: 7px; }
.viz-legend strong { font-weight: 600; color: var(--ink); }
.viz-key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

/* When you meet: weekday × hour heat grid in one olive ramp. */
.heat { display: grid; grid-template-columns: 34px repeat(14, minmax(0, 1fr)); gap: 3px; align-items: center; }
.heat-hour { font-size: 10px; color: light-dark(#9aa08f, #7c8270); text-align: left; white-space: nowrap; }
.heat-day { font-size: 10.5px; color: light-dark(#6f7663, #9a9f8e); }
.heat-cell { display: block; height: 22px; border-radius: 4px; }
.heat .heat-cell:hover { box-shadow: inset 0 0 0 2px light-dark(rgba(48, 51, 45, .35), rgba(255, 255, 255, .35)); }
.heat-0 { background: var(--heat-0); }
.heat-1 { background: var(--heat-1); }
.heat-2 { background: var(--heat-2); }
.heat-3 { background: var(--heat-3); }
.heat-4 { background: var(--heat-4); }
.heat-5 { background: var(--heat-5); }
.heat-legend { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 12px; font-size: 10.5px; color: light-dark(#9aa08f, #7c8270); }
.heat-legend .heat-cell { width: 16px; height: 10px; border-radius: 3px; }
.heat-legend span:first-child { margin-right: 4px; }
.heat-legend span:last-child { margin-left: 4px; }

/* Horizontal bars: who you meet with, meeting types. */
.hbars { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hbars li { display: grid; grid-template-columns: minmax(70px, 34%) minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.hbar-name { font-size: 12px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { height: 8px; border-radius: 4px; background: var(--viz-track); overflow: hidden; }
.hbar-fill { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--viz-accent); }
.hbar-value { font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hbar-value em { margin-left: 6px; font-style: normal; font-weight: 400; color: var(--muted); }
.hbars.compact { gap: 7px; }

/* Part-to-whole: one stacked bar with a 2px surface gap, status colours with labels. */
.stackbar { display: flex; gap: 2px; height: 12px; }
.stackbar-seg { display: block; height: 100%; min-width: 3px; }
.stackbar-seg:first-child { border-radius: 4px 0 0 4px; }
.stackbar-seg:last-child { border-radius: 0 4px 4px 0; }
.stackbar-seg:only-child { border-radius: 4px; }
.status-done, .status-captured { background: var(--status-good); }
.status-open, .status-noaudio { background: var(--status-neutral); }
.status-notadmitted { background: var(--status-warning); }
.status-overdue, .status-failed { background: var(--status-critical); }
.due-list { display: grid; margin: 0; padding: 0; list-style: none; }
.due-list li { display: flex; align-items: flex-start; gap: 2px; padding: 9px 0; border-top: 1px solid light-dark(#f0f1ea, #2a2c25); }
.due-list li:first-child { border-top: 0; padding-top: 2px; }
.due-list .task-check { margin-top: 2px; }
.due-list p { margin: 0 0 3px; font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.due-list span { font-size: 11px; color: light-dark(#8f9682, #848b77); }
.due-list li.late span { color: light-dark(#9c6551, #d29a85); }

/* Today. */
.agenda { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.agenda-row { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 9px 8px; margin: 0 -8px; border: 0; border-radius: 9px; background: none; color: var(--ink); text-align: left; font: inherit; }
.agenda-row:hover { background: light-dark(#f4f5ee, #282a23); }
.agenda-time { min-width: 52px; padding-top: 1px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: light-dark(#4a513f, #c3c8b6); }
.agenda-time .icon { width: 14px; height: 14px; color: var(--viz-accent); }
.agenda-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.agenda-title { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.agenda-row.attention .agenda-meta { color: light-dark(#9c5147, #e0937f); }

/* Needs attention and system status. */
.issues { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.issues li { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; border-top: 1px solid light-dark(#f0f1ea, #2a2c25); font-size: 12px; line-height: 1.45; }
.issues li:first-child { border-top: 0; padding-top: 0; }
.issues li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.issues .icon { width: 15px; height: 15px; margin-top: 1px; }
.issue-critical .icon { color: var(--status-critical); }
.issue-warning .icon { color: var(--status-warning); }
.issues .task-link { flex-shrink: 0; }
.all-clear { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; color: light-dark(#5d6352, #b3b8a6); }
.all-clear .icon { width: 15px; height: 15px; color: var(--status-good); }
.system-status { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.system-status li { display: grid; grid-template-columns: 8px auto minmax(0, 1fr); align-items: center; gap: 9px; font-size: 12px; }
.status-detail { text-align: right; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.ok { background: var(--status-good); }
.status-dot.down { background: var(--status-critical); }
.meter { height: 6px; margin-top: 10px; border-radius: 3px; background: var(--viz-track); overflow: hidden; }
.meter-fill { display: block; height: 100%; border-radius: 3px; background: var(--viz-accent); }
.meter-fill.high { background: var(--status-warning); }

/* Recent meetings. */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.dash-table th { padding: 0 8px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: light-dark(#8f9682, #8e9581); white-space: nowrap; }
.dash-table td { padding: 10px 8px; border-bottom: 1px solid light-dark(#f0f1ea, #2a2c25); color: light-dark(#4e5543, #c3c8b6); white-space: nowrap; }
.dash-table tbody tr { cursor: pointer; }
.dash-table tbody tr:hover td { background: light-dark(#f8f9f3, #26281f); }
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table td:first-child { display: flex; align-items: center; gap: 8px; white-space: normal; }
.cell-title { min-width: 0; max-width: 340px; border: 0; background: none; padding: 0; color: var(--ink); font: inherit; font-weight: 600; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-title:hover { color: var(--olive); }
.cell-status { font-weight: 500; color: var(--muted); }
.cell-status.ok { color: light-dark(#4f6b2a, #9cbc66); }
.cell-status.busy { color: light-dark(#617347, #94a77b); }
.cell-status.bad { color: light-dark(#9c5147, #e0937f); }

/* One tooltip for every chart: value first, label second. */
.viz-tooltip { position: absolute; z-index: 40; display: grid; gap: 2px; min-width: 120px; max-width: 260px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: light-dark(#ffffff, #2a2c25); box-shadow: 0 10px 28px -6px rgba(0, 0, 0, .25); pointer-events: none; font-size: 11.5px; }
.viz-tooltip strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.viz-tooltip span { color: light-dark(#6f7663, #a3a896); }
.viz-tip-row { display: flex; align-items: center; gap: 6px; }
.viz-tip-row i { display: inline-block; width: 10px; height: 2px; border-radius: 1px; }

/* Search and commands (Ctrl+K), and the shortcuts list. */
dialog.palette { width: min(620px, calc(100vw - 32px)); margin: 12vh auto auto; padding: 0; overflow: hidden; border-radius: 14px; }
.palette-input-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); color: light-dark(#8f9584, #757b6b); }
.palette-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
.palette-input::placeholder { color: light-dark(#a5aa98, #626757); }
.palette-list { max-height: min(420px, 55vh); overflow-y: auto; padding: 6px; }
.palette-group { padding: 10px 10px 4px; font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: light-dark(#9aa08f, #6b7061); }
.palette-option { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.palette-option .icon { width: 15px; height: 15px; color: light-dark(#8a9277, #798067); }
.palette-option.active { background: light-dark(#edf1e4, #24261d); }
.palette-option.active .icon { color: light-dark(#4e6034, #a8bc8f); }
.palette-label { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.palette-hint { flex-shrink: 0; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: light-dark(#9aa08f, #6b7061); }
.palette-empty { margin: 0; padding: 22px; text-align: center; font-size: 12px; color: var(--muted); }
.palette-foot { display: flex; gap: 16px; padding: 9px 16px; border-top: 1px solid var(--line); background: var(--canvas); font-size: 10.5px; color: light-dark(#8f9584, #757b6b); }
.palette-foot kbd { margin-right: 3px; }
.shortcuts-dialog { width: min(460px, calc(100vw - 32px)); }
.shortcuts-dialog .dialog-heading { align-items: center; }
.shortcuts-dialog h2 { margin: 0; font-size: 22px; }
.shortcut-list { display: grid; gap: 0; margin: 16px 0 0; }
.shortcut-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid light-dark(#f0f1ea, #242420); }
.shortcut-list dt { display: flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 11px; color: var(--muted); }
.shortcut-list dd { margin: 0; font-size: 12.5px; text-align: right; }
.shortcut-list kbd { min-width: 20px; padding: 2px 6px; border: 1px solid light-dark(#e1e4d7, #303229); border-bottom-width: 2px; border-radius: 5px; background: light-dark(#fff, #22241e); color: light-dark(#4e5543, #b7bfab); font-size: 11px; text-align: center; }

/* Theme choice in the account menu. */
.account-menu-theme { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 4px 8px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.account-menu-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ink); }
.account-menu-label .icon { width: 16px; height: 16px; color: light-dark(#7f8674, #9a9f8e); }
.theme-select { position: relative; }
.theme-select .custom-select-trigger { height: 30px; min-height: 30px; min-width: 104px; gap: 6px; padding: 0 9px; font-size: 11.5px; }
.theme-select .custom-select-trigger .icon:first-child { width: 14px; height: 14px; color: light-dark(#7f8674, #9a9f8e); }
.theme-select .custom-select-label { flex: 1; text-align: left; }
.theme-menu { top: calc(100% + 4px); right: 0; min-width: 150px; }
.theme-menu .custom-select-option { justify-content: flex-start; gap: 9px; }
.theme-menu .custom-select-option .icon { width: 14px; height: 14px; color: light-dark(#7f8674, #9a9f8e); }
.theme-menu .custom-select-option .theme-check { margin-left: auto; color: var(--olive); visibility: hidden; }
.theme-menu .custom-select-option[aria-selected="true"] .theme-check { visibility: visible; }

@media (max-width: 1100px) {
  .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-card.span-2 { grid-column: 1 / -1; }
  .toolbar-search { margin-left: 20px; }
}
@media (max-width: 850px) {
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .toolbar-search { width: auto; flex: 1; max-width: 300px; margin: 0 12px; }
  .toolbar-search kbd { display: none; }
}
@media (max-width: 620px) {
  .toolbar-search span { display: none; }
  .toolbar-search { flex: 0 0 auto; width: 34px; padding: 0; justify-content: center; margin: 0 0 0 auto; }
  .home-view { padding-top: 22px; }
  .home-hero { margin-bottom: 18px; }
  .home-hero-actions { width: 100%; justify-content: space-between; }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi-value { font-size: 22px; }
  .kpi-spark { display: none; }
  .live-strip { grid-template-columns: 1fr; }
  .dash-card { padding: 14px; }
  .col-length, .col-people { display: none; }
  .heat { grid-template-columns: 28px repeat(14, minmax(0, 1fr)); gap: 2px; }
  .heat-cell { height: 18px; }
  .player-session { max-width: 100%; flex-basis: 100%; order: 5; }
  .player-time { font-size: 10px; }
  .player-source { max-width: 140px; }
  .meeting-people { gap: 4px; }
  .transcript-turn { grid-template-columns: 42px minmax(0, 1fr); column-gap: 6px; }
  dialog.palette { margin-top: 8vh; }
}

/* Live meeting: a recording bar with Catch me up, live AI notes under your own, and live captions. */
.live-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 22px; padding: 8px 8px 8px 14px; border: 1px solid light-dark(#dfe6cf, #33392a); border-radius: 12px; background: light-dark(#f8faf2, #1f211b); }
.live-state { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: light-dark(#8a3b2c, #ec9a86); }
.live-bar:not([data-state="active"]) .live-state { color: light-dark(#7b6a35, #d2bd7e); }
.live-pulse { width: 8px; height: 8px; border-radius: 50%; background: light-dark(#c4553f, #e07a63); box-shadow: 0 0 0 0 light-dark(rgba(196, 85, 63, .45), rgba(224, 122, 99, .45)); animation: live-pulse 1.8s ease-out infinite; }
.live-bar:not([data-state="active"]) .live-pulse { background: light-dark(#b59a4a, #c7ad62); animation: none; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 light-dark(rgba(196, 85, 63, .45), rgba(224, 122, 99, .45)); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.live-elapsed, .live-words { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.live-words::before { content: "·"; margin-right: 14px; color: light-dark(#c3c8b6, #4b4f42); }
.catch-up-wrap { position: relative; margin-left: auto; }
.catch-up-button { min-height: 34px; padding: 0 10px 0 12px; gap: 7px; background: light-dark(#ffffff, #23251f); }
.catch-up-button .icon { width: 14px; height: 14px; color: var(--olive); }
.catch-up-button .icon:last-child { width: 12px; height: 12px; color: var(--muted); }
.catch-up-button:disabled { opacity: .55; cursor: default; }
.catch-up-menu { min-width: 190px; }
.live-catch-up { margin-top: 12px; }
.catch-up-card { padding: 14px 16px 12px; border: 1px solid light-dark(#dfe6cf, #33392a); border-radius: 12px; background: light-dark(#ffffff, #21231d); box-shadow: 0 6px 18px -10px light-dark(rgba(45, 52, 38, .25), rgba(0, 0, 0, .5)); animation: menuPopIn .18s ease-out; }
.catch-up-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.catch-up-head h3 { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink); }
.catch-up-icon .icon { width: 15px; height: 15px; color: var(--olive); }
.catch-up-window { flex: 1; min-width: 0; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catch-up-headline { margin: 4px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.55; color: var(--ink); }
.catch-up-points { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.7; color: var(--ink); }
.catch-up-points li::marker { color: light-dark(#8a9575, #757f62); }
.catch-up-foot { margin: 10px 0 0; font-size: 11px; color: var(--muted); }
.catch-up-loading { display: grid; gap: 9px; padding: 8px 0 6px; }
.skeleton-line { height: 10px; border-radius: 5px; background: linear-gradient(90deg, light-dark(#eef1e6, #262820) 25%, light-dark(#f7f8f2, #2e3127) 50%, light-dark(#eef1e6, #262820) 75%); background-size: 200% 100%; animation: skeleton 1.3s ease-in-out infinite; }
.skeleton-line.short { width: 60%; }
@keyframes skeleton { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.live-panel { padding-top: 18px; }
.live-ai { margin-top: 26px; }
.live-ai-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.live-ai-head h3 { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: light-dark(#6f7a5c, #8f9a7d); }
.live-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 20px; background: light-dark(#f7e9e4, #2e221e); color: light-dark(#a5483a, #e59b89); }
.live-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.live-ai-meta { margin-left: auto; font-size: 11px; color: var(--muted); }
.live-ai-head .icon-button:disabled { opacity: .45; cursor: default; }
.live-ai-summary { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.6; color: var(--ink); }
.live-ai .ai-summary-section .ai-paragraph { padding-left: 16px; position: relative; }
.live-ai .ai-summary-section .ai-paragraph::before { content: '•'; position: absolute; left: 0; color: light-dark(#8a9575, #757f62); }
.live-ai-foot { margin: 4px 0 0; font-size: 11px; color: var(--muted); }
.live-ai-error { margin-top: 0; }
.live-empty { margin: 4px 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.live-caption-note { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 16px; padding: 10px 12px; border-radius: 9px; background: light-dark(#f2f3eb, #22221d); font-size: 11px; line-height: 1.7; color: light-dark(#7c836d, #8a907c); }
.live-caption-note .icon { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.live-turns { display: flex; flex-direction: column; padding-bottom: 28px; }
.live-turn { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; margin-top: 12px; padding: 6px 12px 6px 0; border-radius: 10px; }
.live-turn.arrive { animation: live-in .35s ease-out; }
.live-turn:first-child { margin-top: 0; }
.live-turn .turn-time { cursor: default; }
.live-speaker { font-size: 12px; font-weight: 600; color: var(--ink); }
.live-pending { color: light-dark(#8f9682, #8b9180); }
.live-turn:last-child .live-pending:last-child::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: light-dark(#a8b38f, #6f7a59); vertical-align: middle; animation: ai-dot-pulse 1.2s ease-in-out infinite; }
@keyframes live-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.live-jump { position: sticky; bottom: 16px; left: 50%; display: flex; align-items: center; gap: 6px; margin: -12px auto 0; width: max-content; padding: 7px 13px; border: 1px solid light-dark(#d5dcc5, #3a3f2e); border-radius: 20px; background: light-dark(#ffffff, #262820); color: var(--ink); font-size: 12px; font-weight: 600; box-shadow: 0 6px 16px -6px light-dark(rgba(45, 52, 38, .3), rgba(0, 0, 0, .6)); z-index: 6; }
.live-jump[hidden] { display: none; }
.live-jump .icon { width: 13px; height: 13px; color: var(--olive); }
@media (max-width: 620px) { .live-bar { padding: 8px 8px 8px 12px; } .catch-up-wrap { margin-left: 0; width: 100%; } .catch-up-button { width: 100%; } .catch-up-menu { left: 0; right: auto; width: 100%; } .live-turn { grid-template-columns: 40px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .live-pulse, .skeleton-line, .live-turn, .catch-up-card { animation: none; } }
/* The live notes as a draft after the meeting, until notes from the full transcript replace them. */
.draft-notes { margin-top: 4px; padding: 16px 18px 12px; border: 1px dashed light-dark(#d3dabf, #3a3f2e); border-radius: 12px; background: light-dark(#fbfcf7, #1e201a); }
.draft-chip { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; border: 1px solid light-dark(#e2dcc4, #3b3727); background: light-dark(#f7f3e4, #29271d); color: light-dark(#86733b, #cdb87a); }

/* Settings: a section list beside the chosen section; note templates and what the assistant does in meetings. */
.settings-content { max-width: 980px; }
.settings-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; align-items: start; }
.settings-nav { position: sticky; top: 0; display: grid; gap: 2px; }
.settings-nav button { border: 0; background: transparent; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.settings-nav button:hover { background: light-dark(#f0f2e9, #22241e); color: var(--ink); }
.settings-nav button[aria-current="page"] { background: light-dark(#ebefe1, #262920); color: var(--ink); font-weight: 600; }
.settings-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.settings-section-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; letter-spacing: -.4px; }
.settings-section-head p { margin: 8px 0 0; max-width: 620px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.settings-section-head .button { flex-shrink: 0; }
.settings-subhead { margin: 28px 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: light-dark(#6f7a5c, #8f9a7d); }
.settings-empty { padding: 22px; border: 1px dashed light-dark(#d9dece, #34372d); border-radius: 12px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.settings-empty p { margin: 0; max-width: 560px; }
.settings-loading { color: var(--muted); font-size: 12px; }
.template-list { display: grid; gap: 10px; }
.template-card { display: flex; gap: 18px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: light-dark(#ffffff, #20221c); }
.template-card-main { flex: 1; min-width: 0; }
.template-card h4, .template-builtin h4 { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.template-description { margin: 4px 0 0; font-size: 12px; line-height: 1.65; color: var(--muted); }
.template-sections { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: light-dark(#4e5843, #c2ccb3); }
.template-rules { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 0; font-size: 11.5px; line-height: 1.6; color: light-dark(#7d856f, #8f9681); }
.template-rules .icon { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; }
.template-card-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.template-card-actions .button { min-height: 32px; padding: 0 11px; gap: 6px; }
.template-card-actions .button .icon { width: 13px; height: 13px; }
.template-builtins { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.template-builtin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; padding: 14px 18px; }
.template-builtin + .template-builtin { border-top: 1px solid var(--line); }
.template-builtin .template-rules { margin: 0; align-self: center; }
.settings-card { margin-top: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: light-dark(#ffffff, #20221c); }
.settings-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.settings-row h3 { margin: 0; font-size: 13.5px; font-weight: 600; }
.settings-row p { margin: 5px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); max-width: 560px; }
.settings-fixed { flex-shrink: 0; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: light-dark(#eef1e6, #2a2d24); color: light-dark(#5d6a45, #a9b98f); }
.settings-textarea { height: auto; min-height: 64px; margin-top: 14px; padding: 10px 12px; font: inherit; font-size: 13px; line-height: 1.6; resize: vertical; }
.settings-textarea:disabled { opacity: .55; }
.settings-hint { margin: 8px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.settings-hint code, .template-form code { font-size: 10.5px; padding: 1px 5px; border-radius: 4px; background: light-dark(#eef1e6, #2a2d24); color: light-dark(#4e5d33, #b9c99f); }
.settings-preview { margin: 10px 0 0; padding: 10px 12px; border-radius: 9px; background: light-dark(#f4f6ee, #23251f); font-size: 12px; line-height: 1.65; color: light-dark(#4a5340, #c4cbb7); }
.settings-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.settings-actions .button { margin-left: auto; }
.settings-saved { font-size: 11px; color: var(--olive); }
.template-dialog { width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; }
.template-form h2 { margin-bottom: 4px; }
.field-optional { margin-left: 6px; color: light-dark(#a7ac9b, #62675a); }
.template-fieldset { border: 0; margin: 19px 0 0; padding: 0; min-width: 0; }
.template-fieldset > legend.field-label { float: left; width: 100%; margin: 0 0 8px; padding: 0; }
.template-fieldset > legend + * { clear: both; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink); margin-bottom: 10px; }
.check-row input { accent-color: var(--olive); }
.section-rows { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; counter-reset: section; }
.section-row { display: grid; grid-template-columns: 22px minmax(0, .8fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: center; counter-increment: section; }
.section-row::before { content: counter(section); font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.section-row .field { height: 38px; }
.section-moves { display: flex; }
.section-moves .icon-button:disabled { opacity: .35; cursor: default; }
[data-section-up] .icon { transform: rotate(180deg); }
.template-form .task-link { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-size: 12px; }
.template-form .task-link .icon { width: 12px; height: 12px; }
.rule-label { display: block; margin: 12px 0 6px; font-size: 12px; color: var(--ink); }
.chips-field { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 42px; padding: 6px 8px; border: 1px solid light-dark(#e0e4d3, #303327); border-radius: 7px; background: light-dark(white, #22241e); cursor: text; }
.chips-field:focus-within { outline: 2px solid light-dark(#b3c494, #4b582f); outline-offset: 1px; }
.chips { display: contents; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 9px; border-radius: 20px; background: light-dark(#edf1e3, #2a2e23); color: light-dark(#3f4d29, #c3d3a8); font-size: 11.5px; font-weight: 500; }
.chip button { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 0; border-radius: 50%; background: transparent; color: inherit; padding: 0; cursor: pointer; }
.chip button:hover { background: light-dark(#dbe3c9, #3a4130); }
.chip .icon { width: 10px; height: 10px; }
.chips-input { flex: 1; min-width: 140px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; padding: 4px 2px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.version-footer .version-option-title { color: var(--olive); font-weight: 600; }
.custom-select-menu .menu-separator { height: 1px; margin: 4px 2px; background: var(--line); }
@media (max-width: 850px) { .settings-layout { grid-template-columns: 1fr; gap: 18px; } .settings-nav { position: static; display: flex; gap: 6px; overflow-x: auto; } .settings-nav button { white-space: nowrap; } }
@media (max-width: 620px) { .settings-section-head { flex-direction: column; gap: 14px; } .template-card { flex-direction: column; gap: 12px; } .template-builtin { grid-template-columns: 1fr; gap: 6px; } .section-row { grid-template-columns: minmax(0, 1fr) auto; } .section-row::before { display: none; } .section-row [data-section-guide] { grid-column: 1 / -1; grid-row: 2; } }

/* Below the notes: chapters as a topic timeline, and how each person took part. */
.insights { margin-top: 8px; }
.insight-section { margin: 30px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.insight-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.insight-head h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.insight-meta { font-size: 11px; color: var(--muted); }
.chapter-strip { display: flex; gap: 2px; height: 10px; margin-bottom: 12px; }
.chapter-span { flex: 1 1 0; min-width: 6px; border: 0; padding: 0; border-radius: 3px; cursor: pointer; transition: filter .15s, transform .15s; }
.chapter-span:first-child { border-radius: 5px 3px 3px 5px; }
.chapter-span:last-child { border-radius: 3px 5px 5px 3px; }
.chapter-span.tone-a { background: light-dark(#a9b98a, #6c7d4c); }
.chapter-span.tone-b { background: light-dark(#cfd9bb, #4a5636); }
.chapter-span:hover, .chapter-span:focus-visible { filter: brightness(.9); transform: scaleY(1.3); outline: none; }
.chapter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.chapter-row { width: 100%; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 10px 9px 0; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.chapter-row:hover, .chapter-row:focus-visible { background: light-dark(#f4f6ee, #22241e); outline: none; }
.chapter-time { text-align: right; font-size: 11px; font-weight: 600; color: light-dark(#7a8a5a, #9db27a); font-variant-numeric: tabular-nums; }
.chapter-text { display: grid; gap: 2px; min-width: 0; }
.chapter-title { font-size: 13.5px; font-weight: 600; }
.chapter-summary { font-size: 12.5px; line-height: 1.6; color: light-dark(#5f6656, #aeb4a4); }
.chapter-length { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.insight-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.insight-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.insight-table th, .insight-table td { padding: 10px 14px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.insight-table tbody tr:last-child th, .insight-table tbody tr:last-child td { border-bottom: 0; }
.insight-table thead th { font-size: 10.5px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); background: light-dark(#f8f9f4, #1f211b); }
.insight-table tbody th { font-weight: 600; color: var(--ink); }
.insight-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.insight-person { display: inline-flex; align-items: center; gap: 9px; }
.talk-bar { display: inline-block; width: 110px; height: 6px; margin-right: 10px; border-radius: 3px; background: light-dark(#eef1e6, #2a2d24); vertical-align: middle; overflow: hidden; }
.talk-fill { display: block; height: 100%; width: 0; border-radius: 3px; background: light-dark(#8a9c66, #8fa36b); }
.talk-figure { font-variant-numeric: tabular-nums; color: light-dark(#4a5340, #c4cbb7); }
.insight-none { color: light-dark(#c0c4b5, #4d5145); }
.insight-jump { font-size: 12px; text-decoration: none; }
.tone-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; cursor: help; }
.tone-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tone-chip.tone-positive { color: light-dark(#4f7a3a, #95c27a); }
.tone-chip.tone-neutral { color: light-dark(#7b7e73, #9a9f8e); }
.tone-chip.tone-negative { color: light-dark(#a24f40, #e0937f); }
.tone-chip.tone-mixed { color: light-dark(#93762f, #d2b26a); }
.insight-foot { margin: 10px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
/* The audio bar: chapter marks on the seek bar, the time and chapter under the pointer, and the chapter playing now. */
.player-chapter-marks { position: absolute; inset: 0; pointer-events: none; }
.player-chapter-mark { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--paper); }
.player-hover { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: light-dark(#30332d, #e4e6dc); color: light-dark(#fcfcf9, #1b1d18); font-size: 11px; font-weight: 500; white-space: nowrap; pointer-events: none; z-index: 5; }
.player-hover[hidden] { display: none; }
.player-chapter { flex: 0 1 auto; min-width: 0; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 500; color: light-dark(#5d6a45, #a9b98f); }
.player-chapter[hidden] { display: none; }
@container player (max-width: 560px) { .player-chapter { display: none; } }
/* The transcript reads in chapters. */
.chapter-divider { display: flex; align-items: center; gap: 10px; margin: 26px 0 8px; padding-left: 62px; }
.chapter-divider:first-child { margin-top: 0; }
.chapter-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chapter-divider-time { font-size: 11px; font-weight: 600; color: light-dark(#7a8a5a, #9db27a); font-variant-numeric: tabular-nums; }
.chapter-divider-title { font-family: Georgia, "Times New Roman", serif; font-size: 15px; color: var(--ink); }
@media (max-width: 620px) { .chapter-row { grid-template-columns: 44px minmax(0, 1fr); } .chapter-length { display: none; } .talk-bar { width: 64px; } .chapter-divider { padding-left: 0; } }

/* Create: one-click documents from a meeting, shown in a dialog to copy or download. */
.ai-create { position: relative; display: inline-flex; }
.ai-actions .ai-create-button { gap: 6px; padding: 6px 10px 6px 11px; }
.ai-create-button .icon { width: 13px; height: 13px; color: var(--olive); }
.ai-create-button .icon-chevron { width: 11px; height: 11px; color: var(--muted); }
.ai-create-menu { left: auto; right: 0; min-width: 270px; max-height: none; }
.ai-create-menu[hidden] { display: none; }
.ai-create-menu .custom-select-option { align-items: flex-start; padding: 8px 10px; white-space: normal; }
.doc-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.doc-dialog:not([open]) { display: none; }
.doc-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--line); }
.doc-head-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.doc-kind { font-size: 14px; font-weight: 600; color: var(--ink); }
.doc-from { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-body { flex: 1; min-height: 160px; overflow-y: auto; padding: 22px 28px 26px; }
.doc-writing { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.doc-title { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; letter-spacing: -.6px; line-height: 1.25; }
.doc-section { margin-top: 20px; }
.doc-section h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.doc-section ul { margin: 0; padding-left: 18px; display: grid; gap: 5px; font-size: 13.5px; line-height: 1.7; }
.doc-section li::marker { color: light-dark(#8a9575, #757f62); }
.doc-empty { color: var(--muted); font-size: 13px; }
.doc-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: ticket; }
.doc-ticket { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: light-dark(#ffffff, #20221c); }
.doc-ticket-head { display: flex; align-items: flex-start; gap: 10px; }
.doc-ticket-head h3 { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.doc-ticket p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.7; color: light-dark(#4a5340, #c4cbb7); }
.doc-ticket-type { flex-shrink: 0; margin-top: 2px; padding: 1px 7px; border-radius: 5px; font-size: 10.5px; font-weight: 600; background: light-dark(#eef1e6, #2a2d24); color: light-dark(#4e5d33, #b9c99f); }
.doc-ticket-type.type-bug { background: light-dark(#f7e9e4, #2e221e); color: light-dark(#a5483a, #e59b89); }
.doc-ticket-type.type-story { background: light-dark(#e6eef0, #1f2a2c); color: light-dark(#3d6470, #9cc4cf); }
.doc-ticket-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 0; }
.doc-ticket-meta div { display: flex; gap: 6px; font-size: 11.5px; }
.doc-ticket-meta dt { color: var(--muted); }
.doc-ticket-meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.doc-foot { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-top: 1px solid var(--line); background: light-dark(#f8f9f4, #1f211b); }
.doc-foot p { flex: 1; margin: 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.doc-actions { display: flex; gap: 8px; flex-shrink: 0; }
.doc-actions .button { min-height: 36px; padding: 0 14px; gap: 7px; }
.doc-actions .icon { width: 13px; height: 13px; }
@media (max-width: 620px) { .doc-body { padding: 18px; } .doc-foot { flex-direction: column; align-items: stretch; } .doc-actions .button { flex: 1; } .ai-create-menu { right: auto; left: 0; } }
