/* Clinical Precision: compact, flat surfaces for the ECG review workstation. */
:root {
  --surface: #fff;
  --surface-soft: #f2f5f8;
  --ink: #1b2b3b;
  --muted: #687888;
  --line: #d9e1e8;
  --accent: #245f94;
  --accent-soft: #ecf3f9;
  --green: #27865c;
  --heart-rate-line: #2877ba;
  --chart-blue: #2877ba;
  --chart-red: #e53935;
  --ecg-line: #e53935;
  --chart-green: #27865c;
  --chart-surface: #fff;
  --chart-grid: #f4eeee;
  --chart-grid-major: #eee3e3;
  --chart-label: #687888;
  --chart-muted: #8794a0;
  --chart-p: #f9edcf;
  --chart-qrs: #d6eddf;
  --chart-t: #e2eafb;
  --events-width: 18%;
  --detail-width: 22%;
}
html, body, button, input, select { font-family: "IBM Plex Sans", sans-serif; }
svg, svg text { font-family: "IBM Plex Sans", sans-serif; }
body { color: var(--ink); background: #f7f9fb; font-size: 12.5px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.topbar { height: 52px; padding: 0 16px; background: #172b40; border-bottom: 1px solid #30475e; box-shadow: none; }
.topbar .brand { font-size: 17px; font-weight: 600; letter-spacing: 0; gap: 7px; }
.topbar .brand { align-items: center; line-height: 1; font-family: "Source Sans Pro", "IBM Plex Sans", sans-serif; }
.topbar .brand img { width: 28px; height: 28px; border-radius: 0; }
.topbar .brand span { font-weight: 500; opacity: 1; margin-left: -5px; }
.topbar-start { gap: 18px; }
.menu-item, .main-menu .record-menu > summary { font-size: 13px; font-weight: 500; padding: 0 12px; }
.main-menu { height: 34px; align-items: center; }
.main-menu .menu-item { align-items: center; font: 600 15px/1 "Source Sans Pro", "IBM Plex Sans", sans-serif; letter-spacing: -.015em; }
.main-menu .menu-icon { width: 18px; height: 18px; }
.menu-item.active { background: #ffffff0b; border-bottom-color: #d5e1ec; }
.topbar .settings, .topbar .viewer-actions .tool.icon { width: 30px; height: 30px; color: #e7edf3; border-radius: 3px; }
.desktop-shell { min-height: calc(100dvh - 52px); }
.recording-library { top: 52px; height: calc(100dvh - 52px); padding: 12px 10px 0; gap: 9px; background: #fff; }
.app { height: calc(100dvh - 52px); padding: 10px; gap: 8px; grid-template-rows: minmax(0, 1fr) auto; }
.workspace { grid-template-columns: minmax(0, 1fr) 8px minmax(min(40px, var(--events-width, 18%)), min(var(--events-width, 18%), 28%)) 8px minmax(min(40px, var(--detail-width, 22%)), min(var(--detail-width, 22%), 32%)); gap: 0; }
.panel, .supplementary { border: 1px solid var(--line); border-radius: 4px; box-shadow: none; background: #fff; }
.viewer { gap: 6px; padding: 9px; }
.viewer-head { min-height: 30px; padding: 0 2px; align-items: center; }
.record-heading .record-context { gap: 9px; }
.record-heading .record-context > strong { max-width: 44%; font-size: 16px; font-weight: 600; color: var(--ink); }
.record-heading .record-chip, .context-time { color: var(--muted); font-size: 12px; }
.context-time strong { color: var(--ink); font-size: 12px; font-weight: 500; }
.analysis-action { width: 25px; height: 25px; border-radius: 3px; }
.viewer > .overview { height: 122px; border-radius: 4px; }
.overview-head { min-height: 27px; height: 27px; padding: 0 8px; gap: 7px; flex-wrap: nowrap; }
.overview-head h3, .side h3 { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.tachogram-head h3 { color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: 0; margin: 0; white-space: nowrap; }
.overview-head .legend { font-size: 10px; color: var(--muted); gap: 8px; }
.overview .timeline-wrap { flex: 1 1 auto; min-height: 0; height: 92px; border-top: 1px solid var(--line); border-radius: 0; }
.toolbar { min-height: 37px; margin: 0; padding: 3px 0 5px; gap: 6px; border: 0; }
.toolbar-window { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1 1 auto; margin: 0; padding: 0; color: var(--muted); font-size: 11px; line-height: 1.2; white-space: nowrap; }
.toolbar-window strong { color: var(--ink); font-size: 11px; font-weight: 500; }
.toolbar .view-controls { margin-left: 0; }
.toolbar .tool, .toolbar .select-tool, .tachogram-controls button { height: 28px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 500; }
.toolbar .tool { padding: 0 8px; }
.toolbar .tool.active, .tachogram-controls button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.toolbar .tool:hover, .tachogram-controls button:hover { background: #f2f5f8; }
.toolbar .tool.active:hover { background: var(--accent); }
.toolbar .tool-label { font-size: 10px; font-weight: 500; color: var(--muted); }
.toolbar .divider { border-color: var(--line); }
.signal-stack { flex: 1 1 240px; min-height: 200px; height: auto; border: 1px solid var(--line); border-radius: 4px; }
.signal-stack .signal-shell { min-height: 130px; }
.signal-stack .segment-tachogram { height: 120px; min-height: 92px; max-height: 140px; border-top: 1px solid var(--line); }
.signal-stack .tachogram-head { height: 28px; padding: 0 8px; gap: 8px; }
.tachogram-controls { display: flex; gap: 0; }
.tachogram-controls button { height: 23px; padding: 0 9px; }
.tachogram-controls button:first-child { border-radius: 3px 0 0 3px; }
.tachogram-controls button:last-child { border-radius: 0 3px 3px 0; }
.tachogram-head #tachogramHint { display: none; }
#signalSvg [id^="ecgLeadClip"] ~ rect { stroke: #e8edef; }
.side { position: relative; min-width: 0; }
.side-head { padding: 10px 10px 8px; }
.side-head-row h2, .detail-title h2 { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.side-head-row .counter { display: inline-flex; align-items: center; justify-content: center; min-height: 21px; padding: 2px 7px; border: 1px solid var(--line); border-radius: 999px; background: #f2f5f8; color: var(--ink); font-size: 10px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.events-panel .side-head-row { padding-right: 0; }
.review-track { height: 5px; border-radius: 0; margin-top: 7px; background: #edf1f4; }
.review-track div { background: var(--green); }
.filters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0 8px 8px; gap: 3px; }
.filter { min-width: 0; height: 25px; padding: 0 2px; border-radius: 3px; border-color: var(--line); background: #fff; color: var(--ink); font-size: 10.5px; font-weight: 500; }
.filter.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.events-columns { height: 25px; grid-template-columns: 86px minmax(0, 1fr) 12px; padding: 0 7px; background: #f2f5f8; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.event-row { height: 32px; grid-template-columns: 86px minmax(0, 1fr) 12px; gap: 3px; padding: 0 6px 0 8px; border-bottom: 1px solid #edf1f4; font-size: 11px; font-weight: 400; }
.event-row.active { background: #ecf3f9; box-shadow: inset 2px 0 var(--accent); }
.event-time { display: flex; flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 4px; min-width: 0; overflow: hidden; font-weight: 500; white-space: nowrap; }
.event-time b { flex: none; font-weight: 500; }
.event-time .event-weekday, .event-time .event-date { flex: none; font-size: 9px; color: var(--muted); font-weight: 400; }
.event-type { gap: 5px; font-size: 10.5px; }
.event-type i { width: 6px; height: 6px; }
.list-footer { height: 30px; padding: 0 8px; font-size: 9px; }
.list-footer button { font-size: 9px; color: var(--accent); }
.list-footer:has(#listPosition) { display: none; }
.segment-tachogram { position: relative; }
.tachogram-tooltip { position: absolute; z-index: 5; display: none; flex-direction: column; gap: 2px; max-width: calc(100% - 8px); padding: 5px 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px #1e35521f; font-size: 10px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; }
.tachogram-tooltip.visible { display: flex; }
#tachogramSvg .tachogram-value-label { fill: var(--ink); }
#tachogramSvg .tachogram-time-label { fill: var(--muted); }
.help-popover { top: 60px; right: 88px; bottom: auto; }
.detail-head { padding: 10px 10px 8px; border-bottom: 1px solid var(--line); }
.detail-head .side-head-row { padding-right: 0; }
.arrow-controls { gap: 4px; }
.arrow-controls button { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; border-radius: 3px; background: #fff; color: var(--ink); border-color: var(--line); font-size: 16px; line-height: 1; }
.detail-timestamp { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; white-space: nowrap; font-size: 12px; line-height: 1.3; font-weight: 500; color: var(--ink); }
.detail-timestamp > span, .detail-timestamp > strong { font-size: inherit; line-height: inherit; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.provenance { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 11px; }
.provenance .label { display: none; }
.provenance #manualLabel { color: var(--muted); font-size: 10px; }
.undo-review { display: inline-flex; align-items: center; justify-content: center; gap: 3px; height: 20px; min-height: 20px; margin: 0; padding: 0 6px; border: 1px solid var(--line); border-radius: 4px; background: #f2f5f8; color: var(--accent); font-size: 9px; line-height: 1; text-decoration: none; cursor: pointer; }
.undo-review svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-flex; align-items: center; min-height: 22px; max-width: 100%; padding: 2px 8px; border: 1px solid var(--line); border-radius: 3px; background: #f2f5f8 !important; color: var(--ink) !important; font-size: 11px; line-height: 1.2; font-weight: 500; white-space: nowrap; }
.provenance #autoLabel { min-height: 28px; padding: 4px 8px; font-size: 14px; font-weight: 600; white-space: normal; }
.provenance .pill.normal { border-color: #cce4d5; background: #eff7f2 !important; color: #27865c !important; }
.provenance .pill.pac { border-color: #edd7b2; background: #fff5e7 !important; color: #a76d16 !important; }
.provenance .pill.pvc { border-color: #efcccc; background: #fbefef !important; color: #c74646 !important; }
.provenance .pill.artifact, .provenance .pill.other { border-color: #dce3e9; background: #f2f5f8 !important; color: #687888 !important; }
[data-theme="dark"] .provenance .pill.normal { border-color: #50a780; background: #204d39 !important; color: #8ce4ba !important; }
[data-theme="dark"] .provenance .pill.pac { border-color: #bc9049; background: #4d3b20 !important; color: #ffd18b !important; }
[data-theme="dark"] .provenance .pill.pvc { border-color: #bc6973; background: #4e2c32 !important; color: #ffabb2 !important; }
[data-theme="dark"] .provenance .pill.artifact, [data-theme="dark"] .provenance .pill.other { border-color: #70867a; background: #35413b !important; color: #c5d3cc !important; }
[data-theme="dark"] .tachogram-tooltip { background: #1a2c40; border-color: #40536a; color: #e6edf5; }
.detail-scroll { padding: 8px 10px 12px; }
.section-heading { margin: 0 0 6px; gap: 5px; }
.section-heading h3 { font-size: 12px; font-weight: 600; }
.section-heading span { font-size: 9px; color: var(--muted); }
.class-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 4px; }
.class-btn { min-width: 0; height: 36px; justify-content: center; gap: 2px; padding: 0 2px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); font-size: 9px; font-weight: 500; white-space: nowrap; }
.class-btn svg { width: 13px; height: 13px; }
.class-btn.normal { color: #27865c; border-color: #cce4d5; background: #eff7f2; }
.class-btn.pac { color: #a76d16; border-color: #edd7b2; background: #fff5e7; }
.class-btn.pvc { color: #c74646; border-color: #efcccc; background: #fbefef; }
.class-btn.pause { color: #546c9d; border-color: #cbd5e5; background: #f1f4f9; }
.class-btn.artifact { color: #687888; border-color: #dce3e9; background: #f2f5f8; }
.class-btn.selected.normal { background: #27865c; border-color: #27865c; color: #fff; }
.class-btn.selected.pac { background: #c8871d; border-color: #c8871d; color: #fff; }
.class-btn.selected.pvc { background: #c74646; border-color: #c74646; color: #fff; }
.class-btn.selected.pause { background: #546c9d; border-color: #546c9d; color: #fff; }
.class-btn.selected.artifact { background: #788692; border-color: #788692; color: #fff; }
.review-status { display: none; min-height: 0; margin-top: 4px; font-size: 9px; color: var(--muted); }
.undo-review { flex: none; margin: 0; border: 0; padding: 0 2px; background: none; color: var(--accent); font-size: 10px; line-height: 1.2; white-space: nowrap; cursor: pointer; }
.detail-rule { margin: 7px 0; border-color: var(--line); }
#morphologyPanel { width: calc(100% + 18px); height: auto; min-height: 155px; flex: 0 0 170px; margin: 5px -9px 0; padding: 0; display: flex; flex-direction: column; gap: 3px; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: hidden; }
#morphologyPanel .morph-header { min-height: 31px; padding: 4px 9px 2px; flex-wrap: nowrap; align-items: center; }
#morphologyPanel .morph-header h3 { margin: 0; font-size: 12px; font-weight: 600; }
#morphologyPanel .morph-actions { display: flex; align-items: center; gap: 4px; }
#morphOpen { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 23px; padding: 0 7px; }
#morphOpen svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#morphMode .tool { height: 23px; padding: 0 8px; }
#morphologyPanel .morph-actions .tool { height: 23px; font-size: 10px; }
#morphologyPanel .morph-chart { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 650 / 300; min-height: 90px; flex: none; margin: 0; resize: none; }
#morphologyPanel .morph-measures, #morphNativeStatus { display: none !important; flex: none; flex-wrap: wrap; gap: 4px 9px; padding-top: 4px; font-size: 9px; }
#morphologyPanel .morph-measures b { font-weight: 500; }
#morphologyPanel { --chart-blue: #e53935; --chart-grid: #f4eeee; --chart-grid-major: #eee3e3; }
.native-median, .native-representative { stroke: var(--chart-red, #e53935) !important; stroke-width: 1.1 !important; }
.event-context { fill: none; stroke: #8793a0; stroke-opacity: .92; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.event-selected-qrs { fill: none; stroke: var(--chart-red, #e53935); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ecg-grid-minor { stroke: #f4e8e8; stroke-width: .45; vector-effect: non-scaling-stroke; }
.ecg-grid-major { stroke: #e8cfcf; stroke-width: .8; vector-effect: non-scaling-stroke; }
.metric-table { margin-top: 6px; font-size: 11px; }
.metric-table td { padding: 3px 0; border-bottom-color: #e8edf1; }
.metric-table tbody tr:hover td { background: var(--accent-soft); }
.metric-table td:first-child { color: var(--ink); font-weight: 400; }
.metric-table td:last-child { color: var(--ink); font-weight: 500; }
.metric-table td.value-alert { color: #c63232; font-weight: 600; }
.metric-table .emphasis td:last-child { color: var(--ink); }
.metric-table.is-folded { display: none; }
.events-panel.is-collapsed, .event-detail-panel.is-collapsed { cursor: pointer; }
.panel-collapse-toggle { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 18px; height: 40px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: 500 15px/1 "IBM Plex Sans", sans-serif; cursor: pointer; }
.panel-collapse-toggle:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.events-panel.is-collapsed > .fold-title, .event-detail-panel.is-collapsed > .fold-title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; padding: 0; writing-mode: vertical-rl; text-orientation: mixed; text-transform: uppercase; letter-spacing: .06em; font-size: 9px; line-height: 1.2; font-weight: 500; color: var(--muted); text-align: center; pointer-events: none; }
.panel-splitter { position: relative; z-index: 5; }
.supplementary { flex: none; border-radius: 4px; }
.supplementary > summary { min-height: 38px; padding: 8px 11px; font-size: 13px; font-weight: 600; color: var(--ink); }
.supplementary > .bottom { padding: 0 10px 10px; }
button, select, input { accent-color: var(--accent); }
:focus-visible { outline-color: var(--accent); }
.report-toolbar { min-height: 52px; padding: 0 16px; background: #172b40; color: #e7edf3; box-shadow: none; }
.report-brand { color: #e7edf3; font: 600 16px/1.2 "IBM Plex Sans", sans-serif; }
.report-brand img { border-radius: 0; }
.report-brand small { color: #b8c5d1; font-size: 10px; font-weight: 400; }
.report-navigation { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; }
.report-navigation a { color: var(--muted); font-size: 12px; font-weight: 500; }
.report-navigation a[aria-current="location"], .report-navigation a:hover { color: var(--accent); border-color: var(--accent); }
.report-toolbar button, .report-toolbar input { min-height: 29px; border: 1px solid #52667a; border-radius: 3px; background: transparent; color: #e7edf3; font: 500 11px "IBM Plex Sans", sans-serif; }
.report-toolbar button.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.report-page { font-family: "IBM Plex Sans", sans-serif; }

/* The primary navigation uses evenly padded, separate dark islands. */
.topbar { background: #14283e; border-bottom-color: #2b4157; }
.topbar-start { gap: 22px; }
.topbar .brand { gap: 9px; color: #f4f8fc; font-size: 18px; font-weight: 650; letter-spacing: -.035em; }
.topbar .brand img { width: 36px; height: 36px; border: 1px solid #ffffff14; border-radius: 11px; object-fit: cover; }
.topbar .brand span { color: #a9bed1; font-weight: 500; margin-left: -6px; }
.main-menu { height: 40px; gap: 8px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.main-menu::-webkit-scrollbar { display: none; }
.menu-item, .main-menu .record-menu > summary {
  box-sizing: border-box; height: 38px; padding: 0 15px; gap: 9px;
  border: 1px solid #ffffff10; border-bottom: 1px solid #ffffff10; border-radius: 11px;
  background: #1c344d; color: #cbd8e5; font: 600 14px/1 "Source Sans Pro", "IBM Plex Sans", sans-serif;
  letter-spacing: -.01em; white-space: nowrap;
}
.menu-item:hover, .main-menu .record-menu > summary:hover, .main-menu .record-menu[open] > summary {
  background: #243e58; border-color: #ffffff20; color: #fff;
}
.menu-item.active, .menu-item[aria-expanded="true"] {
  background: #2a4663; border-color: #47627c; border-bottom-color: #47627c; color: #fff;
}
.main-menu .menu-icon { width: 17px; height: 17px; stroke-width: 1.7; }
.topbar-end, .topbar-end .viewer-actions { gap: 8px; align-items: center; }
.topbar .settings, .topbar .viewer-actions .tool.icon {
  box-sizing: border-box; display: inline-grid; place-items: center; width: 36px; height: 36px;
  padding: 0; border: 1px solid #ffffff10; border-radius: 11px; background: #1c344d;
  color: #d6e1eb; font-size: 15px; line-height: 1;
}
.topbar .settings:hover, .topbar .viewer-actions .tool.icon:hover { background: #2a4663; border-color: #ffffff24; color: #fff; }
.topbar .settings:focus-visible, .topbar .viewer-actions .tool.icon:focus-visible, .menu-item:focus-visible, .brand:focus-visible {
  outline: 2px solid #81d9c1; outline-offset: 2px;
}
.topbar-control-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1400px) and (min-width: 1201px) {
  .workspace { grid-template-columns: minmax(0, 1fr) 8px minmax(min(40px, var(--events-width, 18%)), min(var(--events-width, 18%), 28%)) 8px minmax(min(40px, var(--detail-width, 22%)), min(var(--detail-width, 22%), 32%)); }
  .class-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 1200px) {
  .app { height: auto; min-height: calc(100dvh - 52px); }
  .workspace { grid-template-columns: minmax(0, 1fr) 8px minmax(min(40px, var(--events-width, 18%)), min(var(--events-width, 18%), 28%)) 8px minmax(min(40px, var(--detail-width, 22%)), min(var(--detail-width, 22%), 32%)); grid-template-rows: minmax(640px, calc(100dvh - 140px)); }
  .workspace > .viewer { grid-column: 1; grid-row: 1; }
  .workspace > aside[aria-label="Seznam událostí"] { grid-column: 3; grid-row: 1; }
  .workspace > aside[aria-label="Detail vybraného komplexu QRS"] { grid-column: 5; grid-row: 1; }
  .workspace > .panel-splitter[data-target="events"] { display: grid; grid-column: 2; grid-row: 1; }
  .workspace > .panel-splitter[data-target="detail"] { display: grid; grid-column: 4; grid-row: 1; }
  .class-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .workspace { display: flex; flex-direction: column; gap: 8px; }
  .workspace > .panel-splitter { display: none !important; }
  .viewer { min-height: 560px; }
  .workspace > aside { min-height: 320px; }
  .detail-scroll { max-height: 620px; }
  .events-columns, .event-row { grid-template-columns: 86px minmax(0,1fr) 14px; }
  .class-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .topbar { padding: 0 8px; }
  .help-popover { top: 56px; right: 8px; }
}
@media (max-width: 700px) {
  .topbar { padding: 0 10px; }
  .topbar-start { gap: 8px; }
  .topbar .brand { gap: 0; font-size: 0; }
  .topbar .brand span { display: none; }
  .topbar .brand img { width: 30px; height: 30px; }
  .main-menu { gap: 5px; }
  .main-menu .menu-item { height: 34px; padding: 0 10px; gap: 6px; font-size: 11px; letter-spacing: -.01em; }
  .main-menu .menu-icon { width: 15px; height: 15px; }
  .topbar-end, .topbar-end .viewer-actions { gap: 4px; }
  .topbar .settings, .topbar .viewer-actions .tool.icon { width: 30px; height: 30px; border-radius: 9px; }
}
@media (max-height: 800px) and (min-width: 1201px) {
  .app { padding: 8px; }
  #morphologyPanel { flex-basis: 160px; min-height: 145px; }
  .signal-stack .segment-tachogram { height: 112px; }
}
