:root { --sidebar-width:288px; --topbar-height:64px; }
.sidebar { width:var(--sidebar-width); padding:20px 16px 16px; }
.sidebar .brand { font-size:21px; letter-spacing:-.8px; margin:0 8px 22px; }
.sidebar .brand-mark { width:34px; height:34px; }
.sidebar .brand small { font-size:9px; letter-spacing:0; font-weight:400; margin-top:5px; }
.brand-badge { display:inline-block; vertical-align:middle; padding:4px 6px; border:1px solid #dbeafe; border-radius:4px; background:#eff6ff; color:#2563eb; font:600 8px Inter,sans-serif; letter-spacing:.5px; }
.workspace-label { margin-bottom:18px; padding:12px; }
.nav-item { padding:11px 12px; font-size:12px; border-radius:10px; }
.sidebar-caption { font-size:9px; }
.podcast-nav { margin-top:18px; }
.sidebar-note { padding:12px; margin-bottom:10px; }
.sidebar-note > .icon { display:none; }
.main { margin-left:var(--sidebar-width); padding-top:var(--topbar-height); }
.topbar { position:fixed; inset:0 0 auto var(--sidebar-width); height:var(--topbar-height); padding:0 32px; z-index:40; background:rgba(255,255,255,.97); backdrop-filter:blur(12px); }
.global-search-trigger { display:flex; align-items:center; gap:10px; width:440px; max-width:45%; text-align:left; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#f8fafc; color:#8190a5; font-size:12px; }
.global-search-trigger > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.global-search-trigger kbd { margin-left:auto; white-space:nowrap; font:9px Inter,sans-serif; }
.global-search-trigger .icon { width:16px; height:16px; }
.topbar .breadcrumb { display:none; }
.topbar-actions { gap:14px; margin-left:auto; }
.topbar-actions > .primary { font-size:12px; padding:9px 14px; }
.main-inner { padding:32px; }
.page-heading { margin-bottom:24px; }
.page-heading h1 { font-size:28px; }
.workspace[data-view="dashboard"] .page-heading,
.workspace[data-view="settings"] .page-heading { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); }
.stats { gap:16px; }
.stats article { min-width:0; padding:20px; min-height:145px; }
.stats small { line-height:1.6; }
.ingestion-panel { padding:24px; margin-bottom:24px; }
.ingestion-heading h2 { font-size:19px; }
.workspace-content.with-rail { display:block; }
.pipeline-overview { display:grid; grid-template-columns:minmax(0,1fr) 292px; align-items:start; gap:24px; margin-bottom:32px; }
.processing-pipeline { border:1px solid var(--line); border-radius:14px; background:#fff; padding:24px; min-width:0; box-shadow:var(--shadow); }
.processing-pipeline h2 { margin:0; font-size:16px; }
.processing-pipeline > .text-link { margin-top:12px; }
.pipeline-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:172px; padding:24px 12px; text-align:center; }
.pipeline-empty > .icon { box-sizing:content-box; padding:12px; width:24px; height:24px; background:#eff6ff; color:var(--primary); border-radius:50%; margin-bottom:15px; }
.pipeline-empty > strong { font-size:13px; }
.pipeline-item { width:100%; text-align:left; background:#f8fafc; border:1px solid var(--line); border-radius:10px; padding:16px; margin-top:16px; color:var(--ink); }
.pipeline-item:hover { border-color:#93c5fd; }
.pipeline-item strong { font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pipeline-phases { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; }
.pipeline-phases span { padding-top:7px; border-top:3px solid #e2e8f0; font-size:10px; color:#94a3b8; }
.pipeline-phases .current { color:var(--primary); border-color:var(--primary); font-weight:600; }
.dashboard-side .rail-card { border-radius:14px; padding:22px; margin-bottom:0; }
.dashboard-side .workflow-card { display:none; }
.workspace-content > .library { border:0; box-shadow:none; background:transparent; overflow:visible; }
.library-header { padding:0 0 16px; }
.library-header h2 { font-size:19px; }
.list-controls { padding:12px 0 18px; border:0; }
.workspace-content.with-rail .search { width:300px; }
.category-controls { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:4px; }
.category-controls > div { display:flex; gap:4px; max-width:100%; overflow:auto; padding:4px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.category-controls button { flex-shrink:0; border-radius:6px; background:transparent; padding:7px 11px; color:#64748b; font-size:11px; }
.category-controls button.active { background:#eff6ff; color:var(--primary); font-weight:600; }
.category-controls .field-note { font-size:9px; margin:0; }
.insight-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:20px; }
.insight-grid > .empty-state { grid-column:1/-1; background:#fff; border:1px dashed var(--line); border-radius:12px; }
.episode-card { min-width:0; border:1px solid var(--line); border-radius:14px; background:#fff; display:flex; flex-direction:column; box-shadow:var(--shadow); overflow:hidden; }
.episode-card > .job-row { display:grid; grid-template-columns:48px minmax(0,1fr); align-items:start; gap:12px; padding:20px 20px 12px; border:0; }
.episode-card .job-row > .cover { width:48px; height:48px; grid-row:1; grid-column:1; }
.episode-card .job-row > .job-content { grid-row:2; grid-column:1/-1; }
.episode-card .job-row > div:nth-child(3) { grid-row:1; grid-column:2; text-align:right; }
.episode-card .job-row > div:nth-child(3) .stage-hint { max-width:155px; margin-left:auto; font-size:9px; }
.episode-card .job-row > .job-date,
.episode-card .job-row > .row-arrow { display:none; }
.episode-card .job-title { font-size:14px; line-height:1.6; white-space:normal; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; }
.episode-card .job-meta { font-size:9px; gap:4px 8px; }
.episode-card .job-publication { font-size:9px; margin-top:8px; }
.episode-insight { flex:1; min-width:0; padding:0 20px 16px; font-size:11px; line-height:1.7; color:#64748b; }
.episode-takeaways { margin:0; padding:0; list-style:none; }
.episode-takeaways li { margin:10px 0; padding-left:13px; position:relative; color:#475569; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.episode-takeaways li:before { content:'•'; color:var(--primary); position:absolute; left:0; }
.episode-topics { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.topic-chip { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; padding:5px 8px; border:1px solid #dbeafe; color:#2563eb; background:#f8faff; border-radius:6px; }
.episode-no-summary { margin:8px 0; }
.episode-card-footer { padding:14px 18px; border-top:1px solid #f1f5f9; display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.episode-category { color:#64748b; font-size:10px; }
.episode-card-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.episode-card-actions .text-link { font-size:10px; }
.collection-import-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.collection-layout { display:grid; grid-template-columns:minmax(0,1fr) 292px; align-items:start; gap:24px; }
.collection-layout .collection-grid { display:flex; flex-direction:column; gap:18px; }
.collection-layout .series-card { padding:20px; }
.collection-layout .series-meta { grid-template-columns:repeat(2,minmax(0,1fr)); }
.subscription-engine { position:sticky; top:88px; background:#fff; padding:22px; border:1px solid var(--line); border-radius:14px; min-width:0; box-shadow:var(--shadow); }
.subscription-engine h2 { font-size:16px; margin-bottom:10px; }
.subscription-engine .muted { font-size:11px; }
.subscription-engine label { font-size:11px; margin-top:16px; }
.subscription-engine input,.subscription-engine select { padding:9px 10px; font-size:12px; }
#engine-fields { border:0; padding:0; margin:0; min-width:0; }
#engine-fields .primary { margin-top:20px; justify-content:center; font-size:12px; }
.engine-capabilities { margin-top:8px; padding-top:18px; border-top:1px solid var(--line); }
.engine-capabilities h3 { font-size:11px; margin:12px 0 8px; }
.engine-capabilities p { font-size:10px; color:#64748b; line-height:1.7; margin-bottom:6px; }
.engine-capabilities .text-link { font-size:10px; }
.workspace-context { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:26px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.workspace-context h2 { font-size:24px; margin:16px 0 9px; }
.workspace-context p { margin:0; font-size:11px; }
.settings-tabs { display:flex; gap:6px; max-width:100%; overflow:auto; margin:24px 0; }
.settings-tabs button { background:transparent; color:#64748b; border:1px solid transparent; border-radius:9px; padding:11px 18px; font-size:12px; white-space:nowrap; }
.settings-tabs .active { background:#fff; border-color:var(--line); color:var(--primary); box-shadow:var(--shadow); }
.workspace-metrics article > span { font-size:11px; color:#64748b; }
.workspace-metrics strong { font-size:28px; white-space:nowrap; }
.workspace-overview-grid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:22px; }
.settings-card { min-width:0; }
.source-table-scroll { overflow-x:auto; margin-top:22px; }
.workspace-source-table { width:100%; border-collapse:collapse; text-align:left; font-size:11px; }
.workspace-source-table th { padding:12px 9px; font-weight:500; color:#64748b; background:#f8fafc; white-space:nowrap; }
.workspace-source-table td { padding:14px 9px; border-bottom:1px solid #f1f5f9; color:#475569; }
.workspace-source-table td:not(:first-child) { white-space:nowrap; }
.workspace-source-table .text-link { text-align:left; font-size:11px; }
.workspace-event { width:100%; display:grid; grid-template-columns:6px minmax(0,1fr); gap:6px 9px; border-bottom:1px solid #f1f5f9; padding:16px 0; background:transparent; text-align:left; color:#334155; }
.event-dot { width:5px; height:5px; border-radius:50%; background:#2563eb; margin-top:5px; }
.event-dot.failed,.event-dot.needs_attention { background:#e11d48; }
.event-dot.succeeded { background:#16a34a; }
.event-title { font-size:11px; line-height:1.6; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.workspace-event time { grid-column:2; font-size:9px; color:#94a3b8; }
.preferences-form { max-width:760px; }
.preferences-form h2 { margin-top:18px; }
.preferences-form > input[type=number] { width:160px; }
.preference-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.search-dialog { width:700px; }
.global-search-list { max-height:55dvh; overflow:auto; margin-top:18px; }
.search-result { width:100%; display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; padding:15px 12px; text-align:left; border-bottom:1px solid #f1f5f9; color:#334155; background:#fff; }
.search-result:hover { background:#f8fafc; }
.search-result strong { font-size:12px; font-weight:500; flex:1; min-width:0; overflow-wrap:anywhere; }
.search-result small { flex-basis:100%; color:#64748b; line-height:1.7; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.opml-sources { max-height:40dvh; overflow:auto; margin:0; padding:0; list-style:none; }
.opml-source { border-bottom:1px solid var(--line); padding:12px 0; display:flex; flex-direction:column; gap:6px; overflow-wrap:anywhere; }
.opml-source strong { font-size:12px; }
.opml-source > span { color:#64748b; font-size:10px; }
.opml-source small { margin:0; }

/* The studio is a non-modal page inside the authenticated workspace. */
.studio-main { padding:0; max-width:none; }
.detail-dialog.studio-page { position:static; width:100%; max-width:none; max-height:none; margin:0; border:0; border-radius:0; box-shadow:none; overflow:visible; background:transparent; }
.studio-page > .dialog-header { position:static; height:44px; padding:6px 24px; background:#fff; }
.studio-page > .dialog-header .eyebrow { display:none; }
.studio-page > .dialog-header h2 { font-size:12px; color:#64748b; }
.studio-page > .detail-body { padding:0; }
.studio-page .episode-overview { position:sticky; top:var(--topbar-height); z-index:20; padding:14px 24px 10px; background:rgba(255,255,255,.98); border-bottom:1px solid var(--line); box-shadow:0 2px 4px #0f172a04; }
.studio-page #detail-content { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:10px; }
.studio-page .detail-topline { display:none; }
.studio-page .detail-title { min-width:0; flex:1; max-width:none; margin:0; font-size:16px; line-height:1.5; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.studio-page .detail-actions { margin:0; }
.studio-page .detail-actions .primary { color:var(--primary); background:#fff; border-color:var(--line); font-size:10px; }
.studio-page .detail-error { flex-basis:100%; }
.studio-page #audio-section { margin:10px 0 0; padding:0; border:0; }
.studio-page .studio-player { padding:0; border:0; border-radius:0; background:transparent; }
.studio-page .player-controls { gap:12px; }
.studio-page .active-speakers { min-width:90px; }
.studio-page .active-speakers > span:last-child { font-size:10px; }
.studio-page .transport-controls { gap:8px; }
.studio-page .play-toggle { width:36px; height:36px; }
.studio-page .player-options select { font-size:10px; }
.studio-page .seek-controls { margin-top:6px; gap:9px; }
.speech-timeline { position:relative; flex:1; min-width:0; height:36px; overflow:hidden; }
.speech-bars { position:absolute; inset:0 6px; display:grid; grid-template-columns:repeat(80,minmax(0,1fr)); gap:2px; align-items:center; pointer-events:none; }
.speech-bars span { border-radius:3px; background:#cbd5e1; height:4px; }
.speech-bars .signal-level-1 { height:9px; }
.speech-bars .signal-level-2 { height:14px; }
.speech-bars .signal-level-3 { height:20px; }
.speech-bars .signal-level-4 { height:26px; }
.speech-bars .signal-level-5 { height:32px; }
.speech-bars .played { background:#2563eb; }
#replay-seek { position:relative; appearance:none; -webkit-appearance:none; width:100%; height:36px; margin:0; z-index:1; background:transparent; }
#replay-seek::-webkit-slider-runnable-track { height:36px; background:transparent; }
#replay-seek::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:10px; height:36px; border-radius:4px; border:2px solid #fff; background:#2563eb; box-shadow:0 0 0 1px #bfdbfe; }
#replay-seek::-moz-range-track { height:36px; background:transparent; }
#replay-seek::-moz-range-thumb { width:7px; height:32px; border:2px solid #fff; background:#2563eb; border-radius:4px; }
.volume-control { display:flex; align-items:center; gap:7px; width:100px; flex-shrink:0; margin:0; font-size:9px; color:#64748b; }
.volume-control input { padding:0; height:22px; border:0; accent-color:var(--primary); }
.timeline-caption { display:block; color:#94a3b8; font-size:8px; margin-top:2px; }
.studio-page .detail-body #episode-studio { margin:0; padding:14px 24px 24px; }
.studio-page .studio-topline { padding:0 0 9px; }
.studio-page .studio-topline .field-note { font-size:9px; }
.studio-page .identity-tools { padding:5px 10px; margin-bottom:12px; border-radius:8px; }
.studio-page .identity-tools > span { font-size:9px; }
.studio-page .identity-tools .compact { padding:4px 7px; font-size:9px; }
.studio-page .studio-grid { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:20px; }
.studio-page .replay-panel-heading { padding:14px 14px 10px; }
.studio-page .replay-panel-heading h3 { font-size:13px; }
.studio-page .replay-filters { padding:0 14px 10px; }
.studio-page .speaker-filters { padding:0 14px 12px; }
.studio-page .replay-segments { height:max(330px,calc(100dvh - 455px)); max-height:none; padding:12px; }
.studio-page .replay-segment { padding:14px; border-radius:11px; }
.studio-page .segment-heading { gap:8px; }
.studio-page .segment-heading .speaker-avatar { width:32px; height:32px; }
.studio-page .segment-body { font-size:12px; line-height:1.8; }
.segment-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; }
.segment-action { background:transparent; font-size:9px; color:#64748b; padding:3px 0; }
.segment-action:hover,.segment-action[aria-pressed="true"] { color:#2563eb; }
.studio-insight-column { min-width:0; display:flex; flex-direction:column; gap:12px; }
.insight-tabs { display:flex; gap:3px; padding:4px; border:1px solid var(--line); border-radius:12px; background:#fff; overflow-x:auto; }
.insight-tabs button { padding:9px 8px; border-radius:8px; background:transparent; color:#64748b; font-size:11px; white-space:nowrap; flex:1; }
.insight-tabs .active { background:#2563eb; color:#fff; font-weight:600; }
.detail-body #studio-glance { margin:0; padding:12px 14px; background:#f8faff; border:1px solid #dbeafe; border-radius:12px; }
.detail-body #studio-glance h3 { margin:0; font-size:12px; }
#studio-glance .label-line { margin:0; }
#studio-glance .text-link { font-size:9px; }
#studio-glance > p { font-size:11px; line-height:1.7; color:#475569; margin:7px 0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.glance-points { margin:6px 0 0; padding-left:15px; color:#475569; font-size:10px; line-height:1.7; }
.glance-points li { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1; overflow:hidden; }
.studio-page .chat-header { padding:12px 14px; }
.studio-page .chat-brand h3 { font-size:12px; }
.studio-page .chat-brand p { font-size:9px; }
.studio-page .chat-grounding-note { padding:8px 14px; font-size:9px; }
.studio-page .chat-log { height:180px; max-height:none; padding:14px; }
.studio-page .chat-empty { min-height:130px; }
.studio-page .chat-empty h4 { font-size:12px; }
.studio-page .chat-empty p { font-size:11px; }
.studio-page .chat-suggestions { padding:8px 12px; }
.studio-page .chat-suggestions button { font-size:9px; }
.studio-page .chat-form { padding:10px 12px; }
.studio-page .chat-form textarea { min-height:54px; }
.studio-page .chat-session-note { padding:0 12px 10px; font-size:8px; }
.detail-body #studio-insight-panel { margin:0; padding:18px; border:1px solid var(--line); border-radius:12px; background:#fff; min-height:350px; max-height:calc(100dvh - 330px); overflow:auto; }
#studio-insight-body h3 { display:block; font-size:15px; margin:0 0 14px; line-height:1.7; }
.insight-overview,.insight-key-points { color:#334155; font-size:12px; line-height:1.9; }
.insight-key-points { padding-left:19px; }
.insight-key-points li { margin:12px 0; }
.chapter-card { display:grid; grid-template-columns:55px minmax(0,1fr); gap:6px 12px; width:100%; text-align:left; border:1px solid var(--line); background:#fff; padding:14px; border-radius:10px; margin-top:12px; color:#334155; }
.chapter-card:hover { background:#f8faff; border-color:#93c5fd; }
.chapter-card time { font:10px ui-monospace,monospace; color:#2563eb; padding-top:3px; }
.chapter-card strong { font-size:12px; line-height:1.7; }
.chapter-card p { grid-column:2; margin:0; font-size:11px; color:#64748b; line-height:1.8; }
.quote-card { padding:14px; border:1px solid var(--line); border-radius:10px; margin-top:14px; }
.quote-card .text-link { font-size:10px; }
.quote-card blockquote { margin:12px 0; padding-left:12px; border-left:2px solid #2563eb; font-size:12px; line-height:1.9; color:#334155; }
.quote-card textarea { font-size:11px; resize:vertical; }
.participant-card { display:flex; align-items:center; gap:10px; padding:14px 0; border-bottom:1px solid #f1f5f9; }
.participant-card > div { flex:1; min-width:0; }
.participant-card strong { display:block; font-size:12px; overflow-wrap:anywhere; }
.participant-card small { display:block; color:#94a3b8; margin-top:5px; font-size:9px; }
.participant-card .text-link { font-size:10px; }
#studio-insight-body .topic-index-heading { margin-top:24px; }
.studio-export-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:11px 13px; background:#fff; border:1px solid var(--line); border-radius:10px; }
.studio-export-bar label { margin:0; font-size:10px; color:#64748b; }
.studio-export-bar select { flex:1; min-width:100px; width:auto; padding:7px; font-size:10px; }

@media (max-width:1250px) {
  .insight-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .collection-layout,.pipeline-overview { grid-template-columns:minmax(0,1fr) 260px; gap:18px; }
  .subscription-engine { padding:18px; }
  .collection-toolbar { flex-wrap:wrap; }
  .workspace-overview-grid { grid-template-columns:1fr; }
  .topbar-actions { gap:9px; }
  .topbar .connection { display:none; }
}
@media (max-width:1100px) {
  :root { --sidebar-width:232px; }
  .sidebar { padding-left:13px; padding-right:13px; }
  .main-inner { padding:24px; }
  .studio-main { padding:0; }
  .collection-layout,.pipeline-overview { grid-template-columns:1fr; }
  .dashboard-side { display:block; }
  .subscription-engine { position:static; }
  .studio-page .studio-grid { grid-template-columns:1fr; }
  .studio-page .replay-segments { height:430px; }
  .studio-page .chat-log { height:300px; }
}
@media (max-width:900px) {
  :root { --sidebar-width:0px; --topbar-height:60px; }
  .sidebar { display:none; }
  .main { margin-left:0; }
  .topbar { padding:0 16px; }
  .global-search-trigger { max-width:48%; font-size:11px; }
  .global-search-trigger kbd { display:none; }
  .topbar-actions > .primary { padding:8px 10px; font-size:11px; }
  .mobile-navigation { position:sticky; top:var(--topbar-height); z-index:30; }
  .workspace[data-view="studio"] .mobile-navigation { display:none; }
  .collection-layout .collection-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .collection-layout .series-card { padding:17px; }
  .subscription-engine { max-width:none; }
}
@media (max-width:680px) {
  .main-inner { padding:22px 16px; }
  .studio-main { padding:0; }
  .stats { gap:12px; }
  .stats article { min-height:128px; padding:16px; }
  .stats strong { font-size:28px; }
  .ingestion-panel { padding:20px 16px; }
  .ingestion-heading h2 { font-size:16px; }
  .pipeline-overview { margin-bottom:24px; }
  .processing-pipeline { padding:18px; }
  .processing-pipeline h2 { font-size:14px; }
  .pipeline-empty { min-height:145px; }
  .insight-grid,.collection-layout .collection-grid { grid-template-columns:1fr; }
  .workspace-content.with-rail .search { width:100%; }
  .library-header h2 { font-size:17px; }
  .category-controls button { padding:7px 9px; font-size:10px; }
  .category-controls .field-note { font-size:8px; }
  .collection-toolbar,.collection-filters { gap:12px; }
  .collection-import-actions { gap:6px; }
  .collection-import-actions button { font-size:10px; padding:7px 9px; }
  .workspace-context { padding:20px; flex-direction:column; align-items:flex-start; gap:16px; }
  .workspace-context h2 { font-size:21px; }
  .settings-tabs { gap:3px; }
  .settings-tabs button { font-size:11px; padding:9px 11px; }
  .source-guide-grid { grid-template-columns:1fr; gap:15px; }
  .workspace-source-table { min-width:460px; }
  .workspace-metrics strong { font-size:24px; }
  .studio-page > .dialog-header { padding:6px 14px; height:38px; }
  .studio-page .episode-overview { padding:12px 14px 8px; }
  .studio-page .detail-title { font-size:13px; }
  .studio-page .detail-actions .primary { padding:6px 8px; font-size:9px; }
  .studio-page .player-controls { justify-content:space-between; gap:8px; }
  .studio-page .active-speakers { flex:1 0 100%; justify-content:flex-start; }
  .studio-page .player-options { gap:8px; }
  .studio-page .player-options .text-link { font-size:9px; }
  .studio-page .seek-controls { gap:6px; }
  .studio-page .seek-controls time { font-size:9px; min-width:32px; }
  .speech-bars { gap:1px; }
  .volume-control { display:none; }
  .studio-page .detail-body #episode-studio { padding:12px 12px 24px; }
  .studio-page .identity-tools { padding:7px; gap:7px; }
  .studio-page .identity-tools > span { min-width:100px; flex-basis:auto; font-size:8px; }
  .studio-page .studio-grid { gap:16px; }
  .studio-page .replay-segments { height:380px; padding:10px; }
  .studio-page .replay-segment { padding:12px; }
  .studio-page .segment-body { font-size:12px; }
  .studio-page .replay-panel-heading h3 { font-size:12px; }
  .insight-tabs button { font-size:10px; padding:9px 6px; }
  .detail-body #studio-insight-panel { max-height:600px; }
  .studio-page .chat-log { height:280px; }
  .studio-export-bar { gap:7px; }
}
@media (max-width:480px) {
  .topbar { gap:9px; padding:0 12px; }
  .global-search-trigger { flex:0 0 35px; width:35px; padding:9px; }
  .global-search-trigger > span { display:none; }
  .topbar .breadcrumb { display:flex; margin-right:auto; }
  .topbar .breadcrumb strong { display:none; }
  .topbar .mobile-brand { margin:0; }
  .topbar-actions { gap:8px; }
  .topbar-actions > .primary { padding:8px 9px; font-size:10px; }
}
