@font-face { font-family: Manrope; src: url('/assets/fonts/manrope.ttf'); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: Newsreader; src: url('/assets/fonts/newsreader.ttf'); font-style: normal; font-weight: 400 500; font-display: swap; }
:root { --ink: #262525; --muted: #696561; --forest: #282727; --forest-2: #b51225; --mint: #f6e8e9; --cream: #f6f5f2; --paper: #fff; --line: #e6e3df; --coral: #c81025; --gold: #c81025; --blue: #89817a; --danger: #b51225; --shadow: 0 16px 45px rgb(38 37 37 / 12%); --radius: 12px; }
body { font-family: Manrope, sans-serif; font-size: 14px; line-height: 1.65; }
::selection { color: #fff; background: #b51225; }
* { scrollbar-width: thin; scrollbar-color: #c7c1bb transparent; }
input, textarea { caret-color: var(--coral); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
button:focus-visible { box-shadow: none; }
a { text-underline-offset: .2em; }
button { touch-action: manipulation; }
input, select, textarea { min-height: 44px; border-radius: 6px; font-weight: 500; }
input:focus, select:focus, textarea:focus { border-color: var(--coral); box-shadow: none; }
input::placeholder { color: #77716c; }
input[type='checkbox'] { min-height: 0; accent-color: var(--coral); }
svg.icon { display: inline-block; width: 19px; height: 19px; vertical-align: middle; flex-shrink: 0; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
.eyebrow { display: none; }
.skip-link { position: fixed; z-index: 200; top: -80px; left: 16px; padding: 12px 18px; color: white; background: var(--coral); }
.skip-link:focus { top: 12px; }
.button { min-height: 44px; border-radius: 6px; font-size: 14px; font-weight: 700; box-shadow: none; }
.button.primary { background: var(--coral); box-shadow: none; }
.button.primary:hover { background: #a80c1f; }
.button.secondary:hover, .row-button:hover { background: #f5f2ef; border-color: #c9c2bd; }
.text-button { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.text-button:hover { color: var(--coral); }
.icon-button { width: 38px; height: 38px; background: transparent; border-radius: 7px; }
.icon-button:hover { background: #efece8; }
.menu-button { display: inline-flex; flex-shrink: 0; }
.auth-shell { grid-template-columns: 1.08fr 1fr; background: #fff; }
.auth-story { display: flex; flex-direction: column; padding: 42px clamp(38px, 6vw, 100px); color: var(--ink); background: #f0eeea; }
.auth-story::after, .story-orbit { display: none; }
.auth-logo { width: 104px; height: 104px; object-fit: contain; mix-blend-mode: multiply; }
.story-copy { margin: auto 0; padding: 65px 0 55px; max-width: 580px; }
.story-copy h1 { font: 400 clamp(46px, 4.4vw, 70px)/1.06 Newsreader, Georgia, serif; letter-spacing: -.025em; }
.story-copy em { color: var(--coral); font-style: normal; }
.story-copy > p:last-child { max-width: 36ch; margin-top: 28px; font-size: 14px; line-height: 1.9; color: #625d57; }
.story-foot { display: flex; align-items: center; gap: 18px; padding: 26px 0; border-top: 1px solid #d7d1cb; font-size: 14px; }
.story-foot [data-icon] { color: var(--coral); }
.auth-credit { margin: 0; color: #69635d; font-size: 12px; }
.auth-panel { padding: 48px; background: white; }
.auth-container { width: min(360px, 100%); }
.auth-form { width: 100%; }
.auth-form h2 { font: 700 29px/1.3 Manrope, sans-serif; letter-spacing: -.035em; }
.auth-lock { width: 42px; height: 42px; margin-bottom: 26px; color: var(--coral); background: var(--mint); border-radius: 10px; }
.form-intro { margin: 10px 0 32px; font-size: 14px; }
.auth-form label { font-size: 14px; }
.auth-form input { padding: 13px 14px; }
.auth-help { margin-top: 38px; color: var(--muted); font-size: 13px; text-align: center; }
.auth-security { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 54px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.auth-security svg { width: 14px; height: 14px; }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-toggle { position: absolute; right: 4px; top: 11px; width: 40px; height: 38px; color: var(--muted); background: transparent; border: 0; }
.form-message:empty { display: none; }
.app-shell { grid-template-columns: 226px minmax(0, 1fr); }
.sidebar { padding: 23px 15px 18px; color: #e8e5e1; background: #262525; overflow-y: auto; }
.sidebar .brand { justify-content: center; margin: 0 0 20px; }
.sidebar-logo { width: 100px; height: 100px; object-fit: contain; border-radius: 3px; }
.main-nav { gap: 3px; }
.nav-group-label { margin: 18px 14px 7px; color: #b0aaa4; font-size: 12px; font-weight: 500; }
.nav-item { min-height: 42px; padding: 10px 13px; color: #d5cfca; border-radius: 6px; font-size: 13px; font-weight: 600; }
.nav-item:hover { color: #fff; background: #343131; }
.nav-item.active { color: #fff; background: #463034; }
.nav-item.active::after { width: 4px; height: 4px; background: #f76b79; }
.nav-item.active svg { color: #f7848f; }
.sidebar-foot { margin-top: 30px; padding: 20px 12px 0; background: transparent; border-top: 1px solid #46413e; border-radius: 0; }
.sidebar-foot > span { color: #c9bfb7; }
.sidebar-foot small { color: #b0aaa4; font-size: 12px; }
.sidebar-foot strong { font-size: 12px; font-weight: 500; }
@media (min-width: 781px) {
  .app-shell.sidebar-collapsed { grid-template-columns: 76px minmax(0, 1fr); }
  .sidebar-collapsed .sidebar { padding-inline: 10px; }
  .sidebar-collapsed .sidebar-logo { width: 48px; height: 48px; }
  .sidebar-collapsed .nav-item { justify-content: center; gap: 0; padding-inline: 0; }
  .sidebar-collapsed .nav-item.active::after { display: none; }
  .sidebar-collapsed .nav-label, .sidebar-collapsed .sidebar-foot > div {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .sidebar-collapsed .nav-group-label {
    height: 1px; margin: 14px 10px 8px; overflow: hidden;
    border-top: 1px solid #46413e; font-size: 0; line-height: 0;
  }
  .sidebar-collapsed .sidebar-foot { justify-content: center; padding-inline: 0; }
}
.topbar { min-height: 78px; padding: 18px 36px; background: var(--cream); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.topbar-title { display: flex; align-items: center; gap: 12px; }
.breadcrumb { color: var(--muted); font-size: 13px; }
.breadcrumb > span { margin-left: 13px; color: #b7b0a9; }
.topbar h1 { font: 700 14px/1.5 Manrope, sans-serif; }
.topbar-actions { gap: 14px; }
.user-menu { color: var(--ink); text-align: left; background: transparent; border: 0; padding: 0; cursor: pointer; }
.user-menu strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.avatar { width: 34px; height: 34px; color: #7d222b; background: #efd8da; font-size: 13px; font-weight: 700; }
.content { max-width: 1620px; margin: auto; padding: 24px 36px 50px; }
.view.active-view { animation: none; }
.period-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: 13px; }
.period-toolbar label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.period-toolbar select { width: auto; min-height: 36px; margin: 0; padding: 6px 28px 6px 12px; font-size: 13px; }
.overview-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.overview-intro h2 { margin: 0; font-size: clamp(24px, 2.4vw, 37px); line-height: 1.3; letter-spacing: -.03em; font-weight: 600; }
.overview-intro p { max-width: 68ch; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.data-source { display: flex; align-items: center; gap: 7px; flex-shrink: 0; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.data-source > span { width: 5px; height: 5px; background: var(--coral); border-radius: 50%; }
.metric-grid { gap: 0; margin: 0 0 28px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-card { min-height: 0; padding: 0 25px; background: transparent; border: 0; border-radius: 0; }
.metric-card:first-child { padding-left: 0; }
.metric-card + .metric-card { border-left: 1px solid var(--line); }
.metric-card .metric-label { color: #58524d; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.metric-card .metric-icon { display: none; }
.metric-card strong { margin: 12px 0 7px; font: 600 clamp(27px, 3vw, 39px)/1.1 Manrope, sans-serif; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.metric-card small { font-size: 12px; }
.metric-delta { color: var(--coral); }
.intelligence-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; }
.panel { padding: 24px; box-shadow: none; border-radius: 12px; }
.panel-head { align-items: start; margin-bottom: 24px; }
.panel-head h3 { margin: 0; font: 700 14px/1.4 Manrope, sans-serif; letter-spacing: -.015em; }
.panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.activity-panel .legend { margin: -8px 0 16px; font-size: 12px; }
.legend span::before { width: 8px; height: 8px; border-radius: 2px; }
.activity-chart { display: block; min-height: 205px; padding: 0; border: 0; }
.activity-chart > svg { width: 100%; height: auto; overflow: visible; }
.chart-data { margin-top: 12px; font-size: 12px; color: var(--muted); }
.chart-data summary { cursor: pointer; }
.chart-data table { margin-top: 12px; }
.ranking-row { display: flex; align-items: center; gap: 13px; width: 100%; padding: 14px 0; color: var(--ink); text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.ranking-row:last-child { border-bottom: 0; }
.ranking-row:hover .ranking-name { color: var(--coral); }
.ranking-position { width: 22px; color: #756c64; font-size: 13px; font-variant-numeric: tabular-nums; }
.ranking-copy { flex: 1; min-width: 0; }
.ranking-name { display: block; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.ranking-copy small { display: block; color: var(--muted); font-size: 12px; }
.ranking-total { color: var(--coral); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-row-head { gap: 12px; font-size: 13px; }
.bar-row-head > span:first-child { overflow-wrap: anywhere; }
.bar-row-head > span:last-child { flex-shrink: 0; font-size: 12px; }
.bar-track { height: 5px; border-radius: 2px; background: #eee9e5; }
.bar-fill { height: 100%; background: var(--coral); border-radius: 2px; }
.result-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.result-row strong { font-variant-numeric: tabular-nums; }
.result-row:last-child { border-bottom: 0; }
.data-note, .data-updated { margin: 20px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.data-updated { text-align: right; }
.section-toolbar h2 { font: 600 25px/1.4 Manrope, sans-serif; letter-spacing: -.025em; }
.section-toolbar p { max-width: 75ch; font-size: 14px; }
.search-field { min-width: 235px; border-radius: 6px; }
.search-field input { margin: 0; padding: 10px; border: 0; font-size: 13px; }
.search-field [data-icon] { color: #756d67; }
.table-panel { padding: 0; }
.table-wrap { overflow-x: auto; }
th { color: #635b55; background: #faf9f7; font-size: 12px; text-transform: none; letter-spacing: 0; font-weight: 600; }
td { font-size: 13px; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: #fcfaf8; }
.cell-sub { font-size: 12px; }
.badge { font-weight: 600; font-size: 12px; letter-spacing: 0; text-transform: none; }
.badge.info { color: #6b494d; background: #f4e7e8; }
.row-button { min-height: 32px; padding: 6px 10px; border-radius: 5px; font-size: 12px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.pagination:empty { display: none; }
.pagination > div { display: flex; gap: 6px; }
.pagination .row-button { min-height: 34px; }
.recommendation-filters { display: flex; align-items: end; gap: 16px; margin-bottom: 18px; }
.recommendation-filters label { font-size: 13px; }
.recommendation-filters select { min-width: 150px; margin: 0; }
.recommendation-filters .toggle { align-self: center; }
.method-note { display: flex; gap: 20px; max-width: 80ch; padding: 30px 0; margin-top: 10px; }
.method-note > span { color: var(--coral); align-self: start; margin-top: 8px; }
.method-note h3 { margin: 0; font-size: 15px; }
.method-note p { color: var(--muted); font-size: 14px; }
.conversation-layout { grid-template-columns: 260px minmax(0, 1fr); padding: 0; }
.contact { padding: 13px 8px; }
.contact strong { font-size: 13px; }
.contact small { font-size: 12px; }
.contact.active { background: #f6e8e9; }
.contact-column { padding: 14px 12px; }
.contact-column .search-field { min-width: 0; }
.thread-column { background: #f3f1ed; }
.thread { min-height: 320px; max-height: 490px; }
.bubble { box-shadow: none; font-size: 14px; line-height: 1.8; max-width: 88%; }
.bubble.user { background: #3b3532; }
.bubble time { font-size: 12px; opacity: .8; }
.conversation-audit { padding: 24px; }
.audit-entry > summary { font-size: 14px; }
.audit-entry > summary small { color: var(--muted); font-size: 12px; }
.audit-toolbar p, .audit-body p { font-size: 14px; }
.audit-body td { font-size: 13px; }
.notice { color: #514845; background: #f2eeea; border-color: var(--line); border-radius: 7px; }
.notice.error { color: #961627; background: #f9eaed; border-color: #eac4ca; }
.notice.warning { color: #77531c; background: #faf1df; }
.empty-state { color: var(--muted); font-size: 14px; line-height: 1.8; }
.restaurant-metrics { background: transparent; }
.restaurant-metric { border-radius: 9px; }
.restaurant-metric strong { font: 600 27px/1.3 Manrope, sans-serif; font-variant-numeric: tabular-nums; }
.restaurant-metric small { font-size: 12px; text-transform: none; letter-spacing: 0; }
.change-item { background: #f6f3f0; border-radius: 7px; }
.change-item > span:first-child { background: #f0e0e2; color: #922b37; }
.change-item small { font-size: 12px; }
dialog { border-radius: 12px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(26 23 22 / 52%); backdrop-filter: none; }
.detail-header h2, .editor-head h2, .invite-dialog h2 { font: 600 27px/1.4 Manrope, sans-serif; letter-spacing: -.025em; }
.detail-header p { font-size: 14px; }
.detail-stats { border-block: 1px solid var(--line); padding-block: 15px; }
.detail-stat { background: transparent; }
.detail-stat strong { font: 600 28px/1.3 Manrope, sans-serif; }
.detail-stat small { font-size: 12px; text-transform: none; }
.vector-card { background: #f6f3ef; }
.vector-value { background: #81766e; }
.vector-value.neg { background: #c81025; }
.detail-section h3, .metadata-editor-head h3 { font: 700 16px/1.5 Manrope, sans-serif; }
.json-block { background: #2c2725; color: #ede6df; }
.team-role { min-width: 130px; font-size: 13px; }
.person-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 20px 0; }
.person-header h2 { margin: 0; font-size: 27px; letter-spacing: -.025em; }
.person-header p { color: var(--muted); margin: 6px 0; font-size: 14px; }
.person-stats { display: flex; gap: 40px; padding: 24px 0; margin-bottom: 24px; border-block: 1px solid var(--line); }
.person-stats strong { display: block; font-size: 30px; font-weight: 600; }
.person-stats small { color: var(--muted); font-size: 13px; }
.criteria-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.criteria-chip { padding: 4px 8px; color: #7e2933; background: #f5e6e8; border-radius: 4px; font-size: 12px; }
.timeline-item { padding: 19px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item time { color: var(--muted); font-size: 12px; }
.timeline-item h4 { margin: 5px 0; font-size: 14px; line-height: 1.7; font-weight: 600; overflow-wrap: anywhere; }
.timeline-item p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.account-panel { max-width: 620px; }
.account-panel h3 { font-size: 17px; }
.account-panel label { margin-bottom: 16px; }
.account-panel form { padding-top: 18px; border-top: 1px solid var(--line); margin-top: 24px; }
.menu-backdrop { position: fixed; z-index: 19; inset: 0; background: rgb(26 23 22 / 45%); border: 0; }
.sidebar-close { display: none; }
.loading { opacity: .55; pointer-events: none; }
@media (max-width: 1150px) { .content { padding-inline: 24px; } .topbar { padding-inline: 24px; } .metric-card { padding-inline: 16px; } .intelligence-grid { grid-template-columns: 1.2fr 1fr; } .overview-intro .data-source { display: none; } }
@media (max-width: 1000px) { .intelligence-grid { grid-template-columns: 1fr; } .metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .metric-card strong { font-size: 28px; } .conversation-layout { grid-template-columns: 220px minmax(0, 1fr); } .breadcrumb { display: none; } .auth-story { padding-inline: 35px; } }
@media (max-width: 780px) { .auth-shell { display: block; } .auth-story { display: none; } .auth-panel { padding: 30px 24px; } .mobile-brand { display: block; margin: 0 0 35px; object-fit: contain; } .auth-lock { display: none; } .app-shell { display: block; } .sidebar { width: 226px; } .sidebar-foot { margin-top: 28px; } .topbar { padding: 14px 20px; min-height: 68px; } .topbar h1 { font-size: 14px; } .topbar-actions { gap: 8px; } #logout-button { display: inline-flex; } .content { padding: 22px 20px 40px; } .period-toolbar { margin-bottom: 22px; } .overview-intro h2 { font-size: 27px; } .overview-intro p { font-size: 13px; } .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding: 20px 0; } .metric-card { padding: 0 16px; } .metric-card:nth-child(3) { padding-left: 0; border-left: 0; } .metric-card strong { font-size: 31px; } .panel { padding: 20px; } .table-panel { padding: 0; } .section-toolbar h2 { font-size: 23px; } .recommendation-filters { flex-wrap: wrap; } .recommendation-filters .search-field { width: 100%; } .conversation-layout { display: block; } .contact-list { max-height: 180px; } .thread { min-height: 340px; padding: 16px; } .person-header { flex-wrap: wrap; } .person-header h2 { font-size: 23px; } .person-stats { gap: 20px; } .person-stats strong { font-size: 27px; } .legend { display: flex; } .activity-chart { min-height: 170px; } .method-note { padding: 24px 0; } }
@media (max-width: 400px) { .period-toolbar { gap: 10px; } .period-toolbar label { gap: 5px; } .period-toolbar > span { font-size: 12px; } .metric-card .metric-label { font-size: 12px; } .metric-card small { font-size: 12px; } .person-stats { gap: 15px; } }
@media (max-width: 780px) {
  .menu-button { display: inline-flex; }
  .conversation-layout { padding: 0; }
  .sidebar { visibility: hidden; transition: transform .2s; }
  .sidebar.open { visibility: visible; }
  .sidebar-close { display: inline-flex; align-self: end; margin-bottom: 10px; color: #ede8e3; border-color: #645a53; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Native controls preserve keyboard playback and seeking on desktop and mobile. */
.recommendation-audio { margin-top: 16px; white-space: normal; min-width: 0; }
.recommendation-audio > p:first-child { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.recommendation-audio audio { display: block; width: 100%; max-width: 440px; height: 44px; }
.recommendation-audio .audio-error { margin-top: 8px; }
.recommendation-transcript { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Shared reading and operational roles: Impeccable + Taste refinement. */
:root { --text-reading: 1rem; --text-compact: .875rem; --text-meta: .75rem; --text-section: 1.5rem; }
body { font-size: var(--text-compact); line-height: 1.6; }
input, select, textarea { font-size: var(--text-reading); }
.topbar h1 { font-size: 1rem; }
.icon-button, .user-menu { min-width: 44px; min-height: 44px; }
.topbar-title, .thread-head > div { min-width: 0; }
.breadcrumb { flex-shrink: 0; }
.nav-item { font-size: var(--text-compact); min-height: 44px; }
.nav-group-label, .sidebar-foot strong, .sidebar-foot small { font-size: var(--text-meta); }
.section-toolbar h2, .overview-intro h2 { font-size: var(--text-section); line-height: 1.35; letter-spacing: -.025em; }
.section-toolbar p, .overview-intro p { max-width: 68ch; font-size: var(--text-compact); }
.panel-head h3, .audit-toolbar h3, .method-note h3 { font: 700 1rem/1.4 Manrope, sans-serif; }
.panel-head p, .metric-card small, .ranking-copy small, .contact small, .cell-sub,
.data-note, .data-updated, .timeline-item time, .data-source { font-size: var(--text-meta); line-height: 1.6; }
.panel-head { align-items: flex-start; margin-bottom: 20px; }
.metric-card .metric-label { font-size: var(--text-compact); }
.metric-card strong { margin: 12px 0 8px; }
.intelligence-grid { align-items: start; }
.period-toolbar { flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.period-toolbar label { font-size: var(--text-meta); }
.period-toolbar select { max-width: 100%; font-size: var(--text-compact); min-height: 44px; }
.search-field input { font-size: var(--text-reading); }
th { font-size: var(--text-meta); background: var(--paper); }
td { font-size: var(--text-compact); line-height: 1.5; padding-top: 16px; padding-bottom: 16px; }
.cell-main { font-size: var(--text-compact); }
.badge { font-size: var(--text-meta); white-space: nowrap; }
.recommendation-filters { display: grid; grid-template-columns: minmax(240px, 1fr) 180px auto; gap: 20px; align-items: end; padding: 20px 0; }
.recommendation-filters .toggle { min-height: 44px; align-self: end; }
.recommendation-filters .search-field { align-self: end; }
.recommendation-filters select { font-size: var(--text-compact); }
#recommendations-body .cell-main { min-width: 180px; }
#view-recommendations th:nth-child(4), #recommendations-body td:nth-child(4) { text-align: right; }
#recommendations-body td:last-child { white-space: nowrap; }
.audio-state { font-size: var(--text-meta); color: var(--muted); }
.audio-listen { min-height: 44px; font-weight: 700; color: var(--coral); white-space: nowrap; }
.recommendation-audio { margin-top: 20px; }
.recommendation-audio > p:first-child { display: flex; align-items: center; gap: 8px; font-size: var(--text-compact); }
.recommendation-audio audio { max-width: 480px; height: 48px; }
.recommendation-transcript, .detail-section > p, .audit-body > p { max-width: 68ch; font-size: var(--text-reading); line-height: 1.65; }
.detail-header h2, .editor-head h2, .person-header h2 { overflow-wrap: anywhere; }
.detail-section h3 { font: 700 1rem/1.5 Manrope, sans-serif; }
.bubble { max-width: min(88%, 68ch); font-size: var(--text-reading); line-height: 1.65; }
.bubble time { font-size: var(--text-meta); opacity: 1; color: var(--muted); }
.bubble.user time { color: #e8e5e1; }
.thread-head { flex-wrap: wrap; }
.contact strong, .thread-head strong { font-size: var(--text-compact); }
.contact { min-height: 72px; }
.pagination { flex-wrap: wrap; gap: 10px; font-size: var(--text-meta); }
.detail-dialog { max-height: calc(100dvh - 32px); }
@media (max-width: 1100px) {
  .intelligence-grid { grid-template-columns: minmax(0, 1fr); }
  .recommendation-filters { grid-template-columns: minmax(200px, 1fr) 180px; }
  .recommendation-filters .toggle { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .topbar { gap: 0; padding: 12px 16px; }
  .topbar-title { flex: 1; }
  .topbar h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; }
  .topbar-actions { gap: 4px; }
  .menu-button { margin-right: 8px; }
  .content { padding: 24px 20px 40px; }
  .overview-intro h2, .section-toolbar h2 { font-size: 1.5rem; }
  .section-toolbar { flex-wrap: wrap; align-items: flex-start; }
  .section-toolbar .search-field { width: 100%; }
  .recommendation-filters { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-top: 0; }
  .recommendation-filters .search-field { grid-column: 1 / -1; width: 100%; }
  .recommendation-filters .toggle { grid-column: auto; }
  .recommendation-filters select { min-width: 0; width: 100%; }
  .period-toolbar { align-items: center; }
  .bubble { max-width: 100%; }
  .detail-dialog { padding: 24px 20px; }
  .detail-header { padding-right: 22px; }
  .contact-list { max-height: 240px; }
}

.user-menu small { font-size: var(--text-meta); }
/* At 1440px: 1142px canvas = 665px + 20px gap + 457px. Each column follows its own evidence. */
.intelligence-column { display: grid; align-content: start; gap: 20px; min-width: 0; }
.overview-intro { margin-bottom: 20px; }
.metric-grid { padding-top: 20px; padding-bottom: 20px; margin-bottom: 24px; }
