:root {
  color-scheme: dark;
  --bg: #101013;
  --panel: #17171c;
  --panel-2: #1b1b20;
  --panel-3: #202027;
  --line: #2a2a32;
  --line-soft: #222228;
  --text: #e8e8ec;
  --muted: #8a8a94;
  --dim: #5d5d67;
  --accent: #4c8dff;
  --accent-2: #9fb8e8;
  --ok: #5bbf7a;
  --warn: #d9b13b;
  --danger: #e0635c;
  --font: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  background: #1f1f25;
  color: #c9c9d2;
  border-radius: 7px;
  padding: 6px 11px;
  cursor: pointer;
  font-size: 12px;
}

button:hover {
  background: #26262e;
  color: var(--text);
}

button.primary {
  background: #244a8f;
  border-color: #2f5db0;
  color: #eaf1ff;
  font-weight: 600;
}

button.danger {
  border-color: #493035;
  color: #e08a8a;
}

button.icon {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

input,
textarea,
select {
  background: #0f0f12;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  outline: none;
}

input,
select {
  height: 32px;
  padding: 0 10px;
  font-size: 12.5px;
}

textarea {
  padding: 8px 10px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #5a5a64;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #2e2e36;
  border: 2px solid #141417;
  border-radius: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.landing {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.landing-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
}

.brand {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.landing-minimal {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.landing-card {
  width: min(760px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-card h1 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.landing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  max-width: 62ch;
}

.landing-open-card {
  width: min(560px, calc(100vw - 48px));
  gap: 0;
}

.landing-open-card > p {
  margin-top: 9px;
}

.landing-open-options {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #30323a;
  border-radius: 10px;
  background: #15151a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.landing-browse {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.landing-browse-icon,
.landing-browse-icon svg {
  display: block;
}

.landing-browse-icon svg {
  width: 15px;
  height: 15px;
}

.landing-session-icon {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
}

.landing-path-entry {
  margin-top: 14px;
  color: #777783;
  font-size: 11px;
}

.landing-path-entry summary {
  width: fit-content;
  cursor: pointer;
}

.landing-path-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 9px;
}

.landing-path-help {
  margin-top: 7px;
  font-size: 10px;
}

.landing-session-card {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #35453d;
  border-radius: 10px;
  background: #181a1c;
  transition:
    border-color 0.12s,
    background 0.12s;
}

.landing-session-main {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.landing-session-icon {
  width: 36px;
  height: 36px;
  background: #22372a;
  color: #9bd2aa;
}

.landing-session-icon svg {
  width: 19px;
  height: 19px;
}

.landing-session-copy {
  min-width: 0;
}

.landing-session-label,
.landing-session-name,
.landing-session-path {
  display: block;
}

.landing-session-label {
  color: #92929c;
  font-size: 11px;
}

.landing-session-name,
.landing-session-path {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-session-name {
  margin-top: 3px;
  color: #efeff2;
  font-size: 12px;
}

.landing-session-path {
  margin-top: 3px;
  color: #888893;
  font-size: 10.5px;
}

.landing-change-session {
  padding: 5px 8px;
  border: 0;
  background: transparent;
  color: #b9c8e5;
}

.landing-change-session:hover {
  background: transparent;
  color: #d2ddf2;
}

.landing-detected {
  display: grid;
  gap: 9px;
  padding: 13px 16px 15px 64px;
  border-top: 1px solid #30332f;
  background: #151816;
}

.landing-detected-row,
.landing-source-select {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #b6b6bf;
  font-size: 11px;
}

.landing-detected-row .mono {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-check-icon {
  width: 16px;
  height: 16px;
  color: #83bd94;
}

.landing-detected-check {
  display: grid;
  place-items: center;
}

.landing-source-select {
  grid-template-columns: 18px auto minmax(0, 1fr);
}

.landing-source-select select {
  width: 100%;
}

.landing-open-session {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
}

@media (max-width: 540px) {
  .landing-top .tiny.muted.mono {
    display: none;
  }

  .landing-minimal {
    padding: 16px;
  }

  .landing-open-card {
    width: 100%;
  }

  .landing-session-main {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .landing-change-session {
    grid-column: 2;
    justify-self: start;
    padding-left: 0;
  }

  .landing-detected {
    padding-left: 16px;
  }

  .landing-source-select {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .landing-source-select select {
    grid-column: 2;
  }
}

.dataset-name,
.file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
}

.tiny {
  font-size: 11px;
}

.shell {
  height: 100%;
  min-width: 1180px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.appbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(600px, 650px) minmax(482px, 1fr);
  align-items: center;
  gap: 16px;
  flex: none;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel);
}

.appbar-identity,
.appbar-metrics,
.appbar-actions {
  display: flex;
  align-items: center;
}

.appbar-identity {
  min-width: 0;
  gap: 10px;
  justify-self: stretch;
}

.appbar-metrics {
  position: relative;
  z-index: 5;
  width: max-content;
  max-width: calc(100vw - 36px);
  justify-self: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.appbar-actions {
  flex: none;
  gap: 8px;
  justify-self: end;
}

.coughiq-source-halo {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 11px;
  border: 1px solid rgba(85, 202, 224, 0.52);
  border-radius: 999px;
  background: rgba(62, 172, 198, 0.1);
  box-shadow:
    0 0 0 1px rgba(89, 211, 232, 0.06) inset,
    0 0 15px rgba(55, 190, 216, 0.18);
  color: #a9e6f0;
  font-size: 10.5px;
  font-weight: 650;
  white-space: nowrap;
}

.app-options {
  position: relative;
  flex: none;
}

.app-options > summary {
  display: grid;
  width: 29px;
  padding: 0;
  place-items: center;
  color: #b8bdc8;
  cursor: pointer;
  list-style: none;
}

.app-options > summary::-webkit-details-marker {
  display: none;
}

.app-options[open] > summary {
  border-color: #4a4d58;
  background: #292b32;
  color: #f0f1f4;
}

.app-options-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 80;
  display: grid;
  width: 190px;
  padding: 5px;
  border: 1px solid #393b45;
  border-radius: 8px;
  background: #1d1e24;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.app-options-menu button {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #c4c7d0;
  text-align: left;
}

.app-options-menu button:hover {
  background: #292b33;
  color: #f2f3f5;
}

.app-options-menu svg {
  display: block;
}

.app-options-menu button.danger {
  color: var(--danger);
  border-top: 1px solid #393b45;
  border-radius: 0 0 4px 4px;
  margin-top: 4px;
}

.appbar-source {
  display: flex;
  align-items: center;
  gap: 6px;
}

.appbar-source-filter .filter-button {
  height: 29px;
}

.appbar-source-filter .filter-menu {
  right: 0;
  left: auto;
}

.top-action {
  height: 29px;
  padding: 0 11px;
  font-size: 12px;
}

.top-action.open-session {
  width: 29px;
  padding: 0;
  color: #b8b8c2;
}

.top-action.open-session svg {
  display: block;
}

.top-action.import-action {
  width: 29px;
  padding: 0;
  color: #b8c6e8;
}

.top-action.import-action svg {
  display: block;
}

.top-action.file-action {
  width: 29px;
  padding: 0;
  color: #b8bdc8;
}

.top-action.file-action svg {
  display: block;
}

.top-action.danger {
  border-color: rgba(224, 99, 92, 0.28);
  color: #e09a95;
}

.top-action.danger:hover {
  border-color: #ed7780;
  background: #c94d57;
  color: #fff;
}

.divider {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.session-identity {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 7px;
  min-width: 0;
  height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(76, 141, 255, 0.42);
  border-radius: 999px;
  background: rgba(76, 141, 255, 0.09);
  box-shadow: 0 0 0 1px rgba(76, 141, 255, 0.05) inset, 0 0 14px rgba(76, 141, 255, 0.09);
  color: #b8cffd;
}

.session-identity,
.model-identity {
  cursor: copy;
  user-select: none;
}

.session-identity:focus-visible,
.model-identity:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 7px;
}

.brand-logo {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.session-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px rgba(76, 141, 255, 0.8);
}

.session-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 600;
}

.model-identity {
  min-width: 40px;
  max-width: clamp(100px, 11vw, 160px);
  height: 25px;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 105, 62, 0.52);
  border-radius: 999px;
  background: rgba(255, 83, 40, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 112, 67, 0.06) inset,
    0 0 15px rgba(255, 73, 32, 0.16);
  color: #ffad88;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 23px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-progress-group {
  display: flex;
  align-items: center;
  flex: 0 1 210px;
  min-width: 0;
  gap: 9px;
  white-space: nowrap;
}

.file-progress-group strong {
  flex: none;
  color: #dce8df;
  font-weight: 600;
}

.header-progress-bar {
  flex: 1 1 120px;
  min-width: 64px;
  height: 6px;
  background: #26262c;
  border-radius: 999px;
  overflow: hidden;
}

.header-progress-bar > div {
  height: 100%;
  border-radius: inherit;
  background: var(--ok);
}

.event-reconciliation {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  gap: 10px;
  white-space: nowrap;
}

.event-reconciliation:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.event-reconciliation-tooltip {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  width: max-content;
  max-width: min(560px, calc(100vw - 20px));
  padding: 7px 9px;
  border: 1px solid #444752;
  border-radius: 6px;
  background: #26272e;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  white-space: normal;
}

.event-reconciliation:hover .event-reconciliation-tooltip,
.event-reconciliation:focus-visible .event-reconciliation-tooltip {
  opacity: 1;
  visibility: visible;
}

.event-reconciliation-tooltip-counts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 7px;
}

.event-reconciliation-tooltip-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.event-reconciliation-tooltip-rule {
  margin-top: 2px;
  color: var(--muted);
}

.metric-number {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.metric-overflow {
  display: none;
  color: var(--muted);
}

.appbar-metrics .metric-label {
  display: none;
}

.appbar.metrics-expanded .metric-label {
  display: inline;
}

.appbar.metrics-expanded.metrics-no-progress .header-progress-bar {
  display: none;
}

@media (max-width: 1100px) {
  .event-reconciliation-tooltip {
    position: fixed;
    top: 42px;
    left: 10px;
  }
}

.metric-separator {
  flex: none;
  color: var(--dim);
  font-size: 11px;
}

.event-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a9a9b3;
}

.event-stat.matched {
  color: var(--ok);
}

.event-stat.predicted {
  color: #a9a9b3;
}

.event-stat.annotated {
  color: #82aefa;
}

.event-stat.missed {
  color: var(--danger);
}

.event-stat.false-alarm {
  color: var(--warn);
}

.grow {
  flex: 1;
  min-width: 0;
}

.workspace {
  flex: 1;
  min-height: 0;
  padding: 14px 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wave-panel,
.annotation-bar,
.table-panel {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.wave-panel {
  padding: 11px 14px 10px;
  flex: none;
  position: relative;
}

.wave-head,
.play-strip,
.filterbar,
.annotation-bar,
.statusbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wave-head {
  margin-bottom: 8px;
}

.wave-wrap {
  position: relative;
  height: 138px;
  border: 1px solid #232329;
  border-radius: 8px;
  background: #0e0e11;
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
}

.score-view .wave-wrap {
  height: 220px;
}

#waveCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.waveform-status {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.waveform-status[data-kind="loading"] {
  background: rgba(20, 22, 26, 0.68);
}

.waveform-status > span {
  padding: 6px 10px;
  border: 1px solid #3a465a;
  border-radius: 6px;
  background: rgba(14, 18, 27, 0.9);
  color: #cbd8ee;
  font: 11px var(--mono);
  white-space: nowrap;
}

.waveform-status[hidden] {
  display: none;
}

.waveform-status[data-kind="error"] > span {
  border-color: #684345;
  color: #f2b5ae;
}

.score-scrub-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #eaf1ff;
  box-shadow: 0 0 7px rgba(76, 141, 255, 0.8);
  opacity: 0;
  pointer-events: none;
  z-index: 9;
}

.score-scrub-cursor.visible {
  opacity: 0.9;
}

.score-scrub-time {
  position: absolute;
  top: 6px;
  left: 0;
  min-width: 42px;
  padding: 2px 5px;
  transform: translateX(-50%);
  border: 1px solid #303746;
  border-radius: 5px;
  background: rgba(11, 14, 20, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  color: #cbd8ee;
  font-size: 9px;
  line-height: 12px;
  text-align: center;
  white-space: nowrap;
}

.score-scrub-time.align-left {
  transform: translateX(4px);
}

.score-scrub-time.align-right {
  transform: translateX(calc(-100% - 4px));
}

.score-lanes {
  position: relative;
  height: calc(var(--score-lane-count) * 16px);
  min-height: 16px;
  margin-top: 7px;
  overflow: hidden;
  border: 1px solid #232329;
  border-radius: 7px;
  background: #050609;
  cursor: crosshair;
  user-select: none;
}

.score-lane-meta {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-rows: repeat(var(--score-lane-count), 16px);
  pointer-events: none;
}

.score-lane-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  height: 16px;
  padding: 1px 3px;
  color: #c7c7d1;
  font-size: 9px;
}

.score-lane-label.hidden {
  opacity: 0.28;
}

.score-lane-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: min(220px, 45%);
  height: 13px;
  padding: 0 5px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(3, 4, 7, 0.88);
  box-shadow: 0 0 6px 3px rgba(3, 4, 7, 0.7);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-lane-name > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-lane-value {
  min-width: 34px;
  height: 13px;
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(3, 4, 7, 0.9);
  box-shadow: 0 0 6px 3px rgba(3, 4, 7, 0.72);
  color: #747580;
  line-height: 13px;
  text-align: right;
}

.score-lane-value.scrubbing,
.score-class-chip [data-score-value].scrubbing {
  color: #eaf1ff;
}

#scoreLanesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.score-lane-selection {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  min-width: 1px;
  border-left: 1px solid;
  border-right: 1px solid;
  pointer-events: none;
}

.score-lane-selection.draft {
  border-style: dashed;
}

.playhead.score-lane-playhead {
  z-index: 8;
  width: 1px;
}

.score-empty {
  padding: 8px 2px 0;
}

.region-layer {
  position: absolute;
  inset: 0;
}

.event-region {
  position: absolute;
  top: 0;
  bottom: 0;
  min-width: 2px;
  border-left: 1px solid;
  border-right: 1px solid;
  cursor: pointer;
}

.event-region.selected {
  z-index: 5;
}

.prediction-region {
  z-index: 1;
  cursor: pointer;
  border-style: dashed;
}

.annotation-region {
  z-index: 3;
}

.automatic-annotation-region {
  border-style: dashed;
}

.annotation-region.selected {
  z-index: 6;
}

.event-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
}

.event-handle.left {
  left: -7px;
}

.event-handle.right {
  right: -7px;
}

.event-handle::after {
  content: "";
  width: 3px;
  height: 56px;
  border-radius: 2px;
  background: #eaf1ff;
  box-shadow: 0 0 7px rgba(76, 141, 255, 0.95);
}

.playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #eaf1ff;
  box-shadow: 0 0 8px rgba(76, 141, 255, 0.9);
  pointer-events: none;
  z-index: 8;
}

.draft {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(76, 141, 255, 0.16);
  border: 1px dashed rgba(126, 170, 255, 0.95);
  pointer-events: none;
  z-index: 7;
}

.draft-menu,
.annotation-label-menu {
  position: absolute;
  z-index: 30;
  background: #1c1c23;
  border: 1px solid #30303a;
  border-radius: 11px;
  padding: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.62);
}

.draft-menu {
  top: 184px;
  width: 330px;
  transform: translateX(-50%);
}

.draft-menu-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.draft-menu-actions button {
  padding: 5px 9px;
}

.draft-review-actions {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.draft-review-actions button {
  flex: 1;
  padding: 5px 8px;
  font-size: 10px;
}

.draft-review-actions button.active {
  color: #d6c8ff;
  border-color: #7964b0;
  background: rgba(167, 139, 250, 0.16);
}

.draft-annotation-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.draft-chip {
  padding: 5px 9px;
}

.ticks {
  position: relative;
  height: 14px;
  margin: 1px 1px 6px;
}

.timeline-scrubber {
  height: 26px;
  margin-top: 3px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.018);
  cursor: crosshair;
  user-select: none;
  overflow: hidden;
}

.timeline-scrubber::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: #303039;
}

.timeline-selection {
  position: absolute;
  top: 2px;
  bottom: 2px;
  min-width: 1px;
  border: 1px solid rgba(126, 170, 255, 0.85);
  border-radius: 3px;
  background: rgba(76, 141, 255, 0.22);
  pointer-events: none;
}

.tick {
  position: absolute;
  top: 9px;
  transform: translateX(-50%);
  color: #62626c;
  font: 10px var(--mono);
  pointer-events: none;
}

.play-strip {
  gap: 12px;
}

.score-view .play-strip {
  min-height: 32px;
  gap: 10px;
}

.score-range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.score-range input[type="range"] {
  width: 78px;
  height: 18px;
  padding: 0;
  accent-color: var(--accent);
}

.score-fill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding: 0 7px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.score-fill-toggle.active {
  color: #c9d7f2;
}

.score-fill-toggle .switch {
  position: relative;
  width: 26px;
  height: 14px;
  border-radius: 999px;
  background: #2a2b32;
}

.score-fill-toggle .switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b9c0cc;
  transition: left 120ms ease;
}

.score-fill-toggle.active .switch {
  background: #244a8f;
}

.score-fill-toggle.active .switch::after {
  left: 14px;
  background: #eaf1ff;
}

.score-mode-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid #282932;
  border-radius: 7px;
  background: #15161b;
}

.score-mode-switch button {
  height: 23px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10.5px;
}

.score-mode-switch button.active {
  background: #244a8f;
  color: #eaf1ff;
}

.score-class-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #24252c;
}

.score-class-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding: 0 8px;
  border-color: #2a2b33;
  background: #15161a;
  color: #676873;
  font-size: 10px;
}

.score-class-chip.active {
  border-color: color-mix(in srgb, var(--score-color) 42%, transparent);
  background: var(--score-tint);
  color: #dcdcE4;
}

.score-class-chip.dim {
  opacity: 0.62;
}

.score-class-chip strong {
  font-weight: 600;
}

.score-class-chip .mono {
  color: #767782;
}

.score-readout {
  margin-top: 5px;
}

#waveLegend {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px 12px;
  max-width: min(42vw, 520px);
  min-width: 0;
}

.legend-entry {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  line-height: 1;
  white-space: nowrap;
}

.range-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.channel-line select {
  width: 60px;
  height: 25px;
  padding: 0 6px;
  font-size: 11px;
}

.annotate-source-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 4px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
}

.annotate-source-toggle:hover,
.annotate-source-toggle.on {
  color: #c9d7f2;
}

.annotate-source-toggle.on .switch {
  background: var(--accent);
}

.annotate-source-toggle.on .switch::after {
  left: 16px;
}

.ipc-focus-region {
  border-style: dashed;
}

.sound-icon {
  display: block;
  color: #8a8a94;
  flex: none;
}

.range-line input[type="range"] {
  width: 100px;
  padding: 0;
  accent-color: var(--accent);
}

.filter-stack {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filterbar {
  flex: none;
  min-height: 34px;
}

.filterbar .metric-value {
  width: 64px;
  height: 24px;
  padding: 0 4px 0 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #15151b;
  color: #d8d8e0;
  font-size: 11px;
  text-align: right;
}

.filterbar .metric-value:focus {
  border-color: rgba(76, 141, 255, 0.55);
}

.filterbar .compact {
  width: 88px;
}

.filter-dropdown {
  position: relative;
  flex: none;
  width: 88px;
}

.filter-popover {
  position: relative;
  flex: none;
}

.source-filter {
  flex: 0 1 170px;
  width: 170px;
  min-width: 140px;
}

.appbar-source .source-filter {
  flex: none;
  width: 180px;
  min-width: 0;
}

.appbar-source-filter.open {
  z-index: 31;
}

.files-filter {
  width: 108px;
}

.status-filter {
  width: 126px;
}

.queue-filter {
  width: 108px;
}

.more-filter {
  width: 126px;
}

.filterbar .annotation-filter .filter-button,
.filterbar .more-filter .filter-button {
  width: 100%;
}

.filter-button {
  width: 100%;
  overflow: hidden;
  padding-right: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.filter-dropdown .filter-button {
  width: 100%;
}

.filter-button-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 7px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(76, 141, 255, 0.22);
  color: #91b7ff;
  font-family: var(--mono);
  font-size: 10px;
}

.filter-option-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 15px;
  color: var(--muted);
}

.filter-button .filter-option-icon {
  margin-right: 6px;
}

.filter-option-icon.pending {
  color: #6ea8fe;
}

.filter-option-icon.in_progress {
  color: #d9a441;
}

.filter-option-icon.complete {
  color: #3fb950;
}

.filter-option-icon.no_events {
  color: #8f96a3;
}

.source-filter .filter-button {
  font-family: var(--mono);
  font-size: 10.5px;
}

.source-format-csv {
  color: #79c7f2;
}

.source-format-offbody {
  color: #ff9b54;
}

.source-selected-event,
.source-selected-offbody {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.source-selected-offbody {
  font-size: 9px;
}

.source-format-ipc {
  color: #e8a765;
}

.filter-dropdown.open .filter-button {
  border-color: rgba(76, 141, 255, 0.45);
}

.filter-popover.open .filter-button,
.filter-button.active,
.label-button.active {
  border-color: rgba(76, 141, 255, 0.55);
  background: rgba(76, 141, 255, 0.11);
}

.filter-dropdown .filter-menu {
  min-width: 100%;
  white-space: nowrap;
}

.source-filter .filter-menu {
  min-width: min(380px, calc(100vw - 24px));
  max-width: min(480px, calc(100vw - 24px));
  width: max-content;
}

.source-filter .source-option-label,
.comparison-source-option .source-option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-model-halo {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 160px;
  overflow: hidden;
  padding: 2px 7px;
  border: 1px solid rgba(170, 175, 189, 0.18);
  border-radius: 999px;
  background: rgba(170, 175, 189, 0.08);
  color: #a7aab5;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-panel {
  position: absolute;
  z-index: 26;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  gap: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #191920;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.48);
}

.more-filter-panel {
  right: 0;
  left: auto;
  width: 360px;
}

.annotation-filter-panel {
  width: 320px;
}

.annotation-filter-panel .filter-option-grid {
  max-height: none;
  overflow: visible;
}

.filter-panel-section {
  min-width: 0;
  padding: 4px 7px 7px;
}

.filter-panel-section + .filter-panel-section {
  border-left: 1px solid var(--line);
}

.more-filter-panel .filter-panel-section + .filter-panel-section {
  border-top: 1px solid var(--line);
  border-left: 0;
}

.filter-panel-title {
  margin: 1px 8px 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 156px;
  overflow: auto;
}

.filter-option-grid .label-option {
  min-width: 0;
}

.filter-option-grid .label-option span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.segmented-filter {
  display: flex;
  gap: 5px;
}

.segmented-filter button {
  flex: 1;
  height: 26px;
  padding: 0 8px;
}

.segmented-filter button.active {
  border-color: rgba(76, 141, 255, 0.55);
  background: rgba(76, 141, 255, 0.14);
  color: #a9c6ff;
}

.threshold-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
}

.threshold-section .filter-panel-title {
  grid-column: 1 / -1;
}

.threshold-filter-row {
  display: grid;
  grid-template-columns: minmax(58px, 1fr) 25px 64px;
  align-items: center;
  gap: 5px;
  color: #c9c9d2;
  font-size: 11px;
}

.clear-filters {
  flex: none;
  color: var(--muted);
  white-space: nowrap;
}

.clear-filters:hover,
.clear-filters:focus-visible {
  color: var(--text);
}

.active-filter-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.active-filter-label {
  flex: none;
  white-space: nowrap;
}

.active-filter-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 23px;
  padding: 0 8px;
  border-color: rgba(76, 141, 255, 0.35);
  border-radius: 999px;
  background: rgba(76, 141, 255, 0.09);
  color: #a9c6ff;
  font-size: 10px;
  white-space: nowrap;
}

.active-filter-chip:hover,
.active-filter-chip:focus-visible {
  border-color: rgba(76, 141, 255, 0.62);
  background: rgba(76, 141, 255, 0.15);
}

.label-filter {
  position: relative;
  flex: none;
  width: 116px;
}

.annotation-filter {
  width: 128px;
}

.label-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 9px;
  text-align: left;
  white-space: nowrap;
}

.label-filter .label-button {
  width: 100%;
}

.label-button::after {
  content: "▾";
  flex: none;
  margin-left: 8px;
  color: var(--muted);
  font-size: 10px;
}

.label-filter.open .label-button {
  border-color: rgba(76, 141, 255, 0.45);
}

.label-menu {
  position: absolute;
  z-index: 25;
  top: calc(100% + 6px);
  left: 0;
  min-width: 196px;
  max-height: 240px;
  overflow: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #191920;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.label-option {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  height: 26px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c9c9d2;
  font-size: 11px;
  text-align: left;
}

.label-option-row {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 6px;
}

.label-option-row:hover {
  background: #24242b;
}

.label-option-row .label-option {
  flex: 1;
  min-width: 0;
  background: transparent;
}

.label-only {
  flex: none;
  height: 22px;
  padding: 0 7px;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.label-only:hover,
.label-only:focus-visible {
  background: transparent;
  color: var(--accent-2);
}

.label-option.active {
  color: var(--text);
}

.checkmark {
  width: 13px;
  color: var(--accent-2);
  font-size: 11px;
}

.filterbar .event-count {
  flex: none;
  white-space: nowrap;
}

.coughiq-interesting-filter,
.coughiq-region-filter {
  display: inline-flex;
  align-items: center;
  min-width: 106px;
  gap: 8px;
  white-space: nowrap;
}

.coughiq-interesting-filter {
  margin-left: 6px;
}

.coughiq-region-filter {
  min-width: 112px;
}

.coughiq-interesting-filter input,
.coughiq-region-filter input {
  flex: none;
  margin: 0;
  accent-color: var(--accent);
}

.event-count-compact {
  display: none;
}

.filterbar input[type="search"] {
  width: 220px;
}

.compact {
  width: 114px;
}

.op {
  width: 25px;
  height: 23px;
  padding: 0;
  font-family: var(--mono);
  color: var(--accent-2);
}

.annotation-bar {
  flex: none;
  padding: 9px 12px;
  gap: 7px;
}

.annotation-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.annotation-actions[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.annotation-action {
  flex: none;
  width: 30px;
  height: 28px;
  padding: 0;
  display: inline-grid;
  place-items: center;
}

.annotation-action svg {
  width: 16px;
  height: 16px;
}

.annotation-action.danger {
  border-color: rgba(224, 99, 92, 0.35);
  color: #e08a8a;
}

.annotation-action.danger:hover,
.annotation-action.danger:focus-visible {
  border-color: #ed7780;
  background: #c94d57;
  color: #fff;
}

.interesting-toggle {
  color: #d36a63;
}

.interesting-toggle.on {
  color: #ef7668;
  border-color: rgba(239, 118, 104, 0.5);
  background: rgba(239, 118, 104, 0.12);
}

.interesting-toggle:disabled {
  opacity: 0.4;
}

.interesting-flag-icon {
  width: 16px;
  height: 16px;
  color: #e0635c;
  vertical-align: -3px;
  margin-left: 5px;
}

.interesting-flag-icon.inline {
  width: 13px;
  height: 13px;
  margin-left: 4px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #c9c9d2;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.chip.active {
  border-color: currentColor;
}

.overflow-chip {
  min-width: 48px;
  justify-content: center;
}

.chip-key {
  color: #62626c;
  font: 10px var(--mono);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.switch {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #2c2c34;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  transition: left 0.12s;
}

.toggle.on .switch {
  background: var(--accent);
}

.toggle.on .switch::after {
  left: 16px;
}

.note-input {
  flex: 0 1 160px;
  width: clamp(110px, 10vw, 160px);
  min-width: 100px;
}

.table-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #15151a;
}

.table-head,
.file-row,
.event-row {
  display: grid;
  grid-template-columns: 34px 56px 62px minmax(180px, 1.4fr) 92px 96px 80px 68px 74px 148px 68px 138px 148px minmax(170px, 1fr);
  align-items: center;
  min-width: 1300px;
}

.table-head {
  flex: none;
  height: 31px;
  padding: 0 4px;
  background: #1c1c22;
  border-bottom: 1px solid var(--line);
}

.th {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 0 7px;
  color: #7a7a85;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.th-control {
  justify-content: center;
  padding: 0;
}

.sortable {
  cursor: pointer;
}

.active-sort {
  color: #9fb8e8;
}

button.collapse-all {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 6px;
  border-color: #2d2d36;
  background: #24242b;
  color: #8f8f9a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

button.collapse-all:hover {
  border-color: #3a3a45;
  background: #2a2a32;
  color: #d4d4dc;
}

.table-body {
  --file-row-height: 34px;
  --event-row-height: 31px;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.coughiq-pagination,
.table-pagination {
  flex: none;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-top: 1px solid var(--line);
  background: #1a1a20;
  color: #9a9aa5;
  font-size: 11px;
}

.coughiq-pagination button,
.table-pagination button {
  height: 24px;
  padding: 0 9px;
  font-size: 10px;
}

.table-pagination {
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.go-to-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.go-to-form + .table-totals { margin-left: 8px; }

.go-to-form input {
  width: 78px;
  height: 24px;
  padding: 0 7px;
  font-size: 11px;
}

.table-pagination .pending-jump {
  width: 26px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: #6ea8fe;
}

.table-pagination .pending-jump:hover { color: #8bbaff; }

.comparison-pagination .pending-jump { color: #a78bfa; }
.comparison-pagination .pending-jump:hover { color: #c4b5fd; }

.pending-jump .file-progress-icon { width: 13px; height: 13px; }

@media (max-width: 900px) {
  .table-pagination { flex-wrap: wrap; }
}

.file-group {
  display: block;
  content-visibility: auto;
  /* Rebuilt offscreen groups must occupy exactly the same space as their rows. */
  contain-intrinsic-block-size: calc(var(--file-row-height) + var(--visible-event-count, 0) * var(--event-row-height));
}

.file-row {
  height: var(--file-row-height);
  padding: 0 4px;
  background: #1a1a21;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.file-row.selected {
  background: rgba(76, 141, 255, 0.16);
  border-left-color: var(--accent);
}

.file-row.active {
  background: rgba(76, 141, 255, 0.13);
  border-left-color: var(--accent);
}

.file-row.selected {
  background: rgba(76, 141, 255, 0.17);
}

.event-row {
  height: var(--event-row-height);
  padding: 0 4px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid #1d1d23;
  cursor: pointer;
}

.event-row:hover {
  background: #1e1e25;
}

.event-row.selected {
  background: rgba(76, 141, 255, 0.13);
  border-left-color: var(--accent);
}

.event-row .group-link {
  font-family: var(--mono);
  text-align: center;
}

.filter-stale {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(217, 177, 59, 0.45);
  background: rgba(217, 177, 59, 0.1);
  color: #e0bd58;
  white-space: nowrap;
}

.filter-stale-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 2px rgba(217, 177, 59, 0.12);
}

.filter-stale:hover,
.filter-stale:focus-visible {
  border-color: rgba(217, 177, 59, 0.75);
  background: rgba(217, 177, 59, 0.16);
}

.cell {
  padding: 0 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  color: #c7c7d1;
  font-size: 12px;
}

.file-row .cell {
  color: #9b9ba6;
}

.file-row > .cell:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: visible;
  text-overflow: clip;
}

.file-row .file-score-cell {
  overflow: visible;
  text-overflow: clip;
}

.file-row .file-name {
  color: #b9b9c4;
  font-weight: 600;
}

.file-status-cell {
  display: flex;
  justify-content: center;
  padding: 0;
}

.file-progress-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  min-width: 22px;
  height: 22px;
  color: #8f8f9a;
  line-height: 1;
}

.file-progress-icon {
  display: block;
  width: 15px;
  height: 15px;
}

.pending .file-progress-icon,
.in_progress .file-progress-icon {
  width: 13px;
  height: 13px;
}

.file-progress-status.pending {
  color: #6ea8fe;
}

.file-progress-status.in_progress {
  color: #d9a441;
}

.file-progress-status.complete {
  color: #3fb950;
}

.file-progress-status.no_events {
  color: #8f96a3;
}

.file-row.active .file-name {
  color: #f0f0f5;
  font-weight: 800;
}

.row-index,
.num {
  font-family: var(--mono);
}

.score-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(76, 141, 255, 0.42);
  border-radius: 5px;
  background: rgba(76, 141, 255, 0.13);
  color: #a9c2f4;
  font-weight: 600;
}

.file-top-class {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  color: #d7d7df;
  font-weight: 600;
}

.file-top-class .dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
}

.annotation-summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #101015;
}

.annotation-summary span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8f8f99;
  font: 10px var(--mono);
}

.annotation-summary i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  display: inline-block;
}

.mini-progress {
  width: 90px;
  height: 4px;
  background: #26262c;
  border-radius: 999px;
  overflow: hidden;
}

.mini-progress > div {
  height: 100%;
  background: var(--accent);
}

.annotation-pill {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.annotation-cell {
  display: flex;
  align-items: center;
  gap: 5px;
}

.auto-pill {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 5px;
  border: 1px dashed rgba(126, 170, 255, 0.55);
  border-radius: 4px;
  color: #9db9ee;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cough-source-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  margin-left: 5px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  vertical-align: middle;
}

.cough-source-icon svg {
  width: 15px;
  height: 15px;
}

.cough-source-icon.derived {
  color: #70d394;
}

.cough-source-icon.human {
  color: #a9c2f4;
}

.no-prediction-pill {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(76, 141, 255, 0.42);
  border-radius: 5px;
  background: rgba(76, 141, 255, 0.13);
  color: #a9c2f4;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.check {
  width: 16px;
  height: 16px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid #34343e;
  background: #1a1a20;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.off-body-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 29px;
  height: 18px;
  padding: 0 6px;
  border: 1px solid #ff8b37;
  border-radius: 999px;
  background: #ff8b37;
  color: #291506;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  pointer-events: none;
  user-select: none;
}

.off-body-heading {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.off-body-subhead,
.off-body-comparison {
  display: grid;
  grid-template-columns: 72px 14px 48px;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.off-body-subhead {
  font-size: 8px;
  color: #686873;
}

.off-body-subhead button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.off-body-subhead button.active-sort {
  color: #9fb8e8;
}

.off-body-comparison {
  min-height: 26px;
  border-radius: 4px;
  cursor: default;
  font-family: var(--mono);
  font-size: 10px;
}

.off-body-comparison.disagreement {
  background: rgba(224, 99, 92, 0.09);
}

.off-body-comparison.agreement {
  background: rgba(63, 185, 80, 0.09);
}

.off-body-prediction {
  justify-self: center;
  white-space: nowrap;
}

.off-body-prediction.off {
  padding: 2px 5px;
  border: 1px solid #ff8b37;
  border-radius: 999px;
  color: #ff9c58;
  font-size: 9px;
  font-weight: 600;
}

.off-body-prediction.on,
.off-body-prediction.unknown {
  color: #74747f;
  font-size: 9px;
}

.off-body-prediction.off .off-body-score {
  color: #74747f;
}

.off-body-prediction-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ff9c58;
  vertical-align: middle;
}

.off-body-comparison.agreement .off-body-prediction.off .off-body-score {
  color: inherit;
}

.off-body-agreement {
  color: #666670;
  text-align: center;
}

.off-body-agreement.disagreement {
  color: #ed7973;
}

.off-body-agreement.agreement {
  color: #3fb950;
}

.off-body-annotation {
  display: flex;
  justify-content: center;
}

.inline-note {
  width: calc(100% - 2px);
  height: 25px;
  background: transparent;
  border-color: transparent;
  color: #9b9ba6;
}

.inline-note:focus,
.inline-note:hover {
  background: #0f0f12;
  border-color: #3a3a46;
  color: var(--text);
}

.statusbar {
  flex: none;
  padding: 0 2px;
  min-height: 18px;
}

.nav-mode {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid #25252c;
  border-radius: 999px;
  background: #111116;
}

.nav-mode button {
  height: 20px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #777783;
  font-size: 10px;
  font-family: var(--mono);
}

.nav-mode button.active {
  background: #232833;
  color: #b8cffd;
}

.nav-mode button:hover:not(.active) {
  color: #b7b7c0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(6, 6, 9, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
}

.busy-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 8, 0.76);
  backdrop-filter: blur(1.5px);
  cursor: progress;
}

.busy-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 15px 18px;
  border: 1px solid #343440;
  border-radius: 11px;
  background: #191920;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58);
  color: #e4e4ea;
  font: 12px var(--mono);
}

.busy-spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid #353541;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: busy-spin 0.7s linear infinite;
}

@keyframes busy-spin {
  to {
    transform: rotate(360deg);
  }
}

.modal {
  width: 432px;
  max-height: 78vh;
  background: #191920;
  border: 1px solid #30303a;
  border-radius: 13px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-head,
.modal-foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.modal-foot {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: #55555e;
  font: 10.5px var(--mono);
}

.modal-body {
  overflow: auto;
  padding: 8px;
}

.modal-actions {
  flex: none;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.import-modal {
  width: 360px;
}

.hosted-import-modal {
  width: min(520px, calc(100vw - 32px));
}

.hosted-import-modal p {
  margin: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.settings-modal {
  width: 460px;
}

.annotation-edit-modal {
  width: 390px;
}

.help-modal {
  width: min(620px, calc(100vw - 32px));
}

.recovery-backdrop {
  z-index: 70;
  backdrop-filter: blur(2px);
}

.recovery-modal {
  width: min(500px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
}

.recovery-body {
  display: grid;
  gap: 0;
  padding: 24px;
}

.recovery-body p,
.recovery-body h2,
.recovery-body h3,
.recovery-body ul {
  margin: 0;
}

.recovery-body h2 {
  color: #f2f2f5;
  font-size: 20px;
  line-height: 1.25;
}

.recovery-intro {
  margin-top: 8px !important;
  color: #b6b6c0;
  line-height: 1.5;
}

.recovery-count-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #35483e;
  border-radius: 9px;
  background: #16221c;
}

.recovery-count-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #22372a;
  color: #9bd2aa;
}

.recovery-count-icon svg {
  width: 18px;
  height: 18px;
}

.recovery-count-summary strong,
.recovery-count-summary span {
  display: block;
}

.recovery-count-summary strong {
  color: #f0f0f3;
  font-size: 13px;
}

.recovery-count-summary span {
  margin-top: 3px;
  color: #9b9ba5;
  font-size: 11px;
}

.recovery-outcomes {
  display: grid;
  gap: 12px;
  margin-top: 20px !important;
  padding: 0;
  list-style: none;
}

.recovery-outcomes li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
}

.recovery-outcome-icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #aaaab4;
}

.recovery-outcomes strong,
.recovery-outcomes span {
  display: block;
}

.recovery-outcomes strong {
  color: #e8e8ec;
  font-size: 12px;
}

.recovery-outcomes span {
  margin-top: 2px;
  color: #9b9ba5;
  font-size: 11px;
  line-height: 1.4;
}

.recovery-blockers {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 10px;
  border: 1px solid #72413e;
  border-radius: 7px;
  background: #2d1e1d;
  color: #efaaa4;
}

.recovery-blockers ul {
  padding-left: 19px;
}

.recovery-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: start;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b9c8e5;
}

.recovery-details-toggle:hover {
  background: transparent;
  color: #d2ddf2;
}

.recovery-details-chevron {
  width: 14px;
  height: 14px;
  transition: transform 140ms ease;
}

.recovery-details-chevron.expanded {
  transform: rotate(180deg);
}

.recovery-details {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #141419;
  color: #91919c;
  font-size: 10.5px;
  overflow-wrap: anywhere;
}

.recovery-details ul {
  padding-left: 18px;
}

@media (max-width: 520px) {
  .recovery-body {
    padding: 20px 18px;
  }

  .recovery-modal .modal-actions {
    flex-direction: column-reverse;
  }

  .recovery-modal .modal-actions button {
    width: 100%;
  }
}

.import-body {
  display: grid;
  gap: 10px;
  padding: 12px 16px;
}

.import-body label {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 10px;
}

.settings-grid label {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 10px;
}

.settings-body {
  display: grid;
  gap: 18px;
  padding: 16px;
}

.settings-section {
  display: grid;
  gap: 10px;
}

.settings-section + .settings-section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.settings-section h3 {
  margin: 0;
  color: #e7e7ed;
  font-size: 12px;
  font-weight: 700;
}

.settings-grid {
  display: grid;
  gap: 10px;
}

.settings-toggle-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 10px;
}

.settings-toggle {
  width: max-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.settings-toggle:hover {
  border: 0;
  background: transparent;
  color: var(--text);
}

.settings-number {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px;
}

.settings-grid .disabled {
  opacity: 0.45;
}

.settings-help {
  margin: -2px 0 0;
  line-height: 1.45;
}

.upload-label-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 12px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.upload-label-option,
.interesting-filter-option {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c9c9d2;
  font-size: 12px;
}

.upload-label-option input,
.interesting-filter-option input {
  accent-color: var(--accent);
}

.annotation-edit-body {
  display: grid;
  gap: 14px;
  padding: 14px 16px 16px;
}

.annotation-edit-body label {
  display: grid;
  grid-template-columns: 104px 1fr;
  align-items: center;
  gap: 10px;
}

.settings-body select,
.settings-body input {
  min-width: 0;
}

.help-body {
  display: grid;
  gap: 14px;
  padding: 14px 16px 16px;
}

.help-body p {
  margin: 0;
  color: #b7b7c0;
  line-height: 1.45;
}

.help-body section {
  display: grid;
  gap: 8px;
}

.help-body h3 {
  margin: 0;
  color: #f0f0f5;
  font-size: 12px;
  font-weight: 700;
}

.hotkey-grid {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 7px 12px;
  color: #9a9aa3;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid #34343e;
  border-radius: 5px;
  background: #111116;
  color: #d7d7de;
  font: 11px var(--mono);
}

.hotkey-annotations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}

.hotkey-annotations span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8f8f99;
  font-size: 11px;
}

.hotkey-annotations kbd {
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
}

.import-file {
  color: var(--accent-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.annotation-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  margin-bottom: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1e1e25;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 68px;
  z-index: 80;
  max-width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 100px);
  overflow: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  background: #1c1c23;
  border: 1px solid #30303a;
  border-radius: 9px;
  padding: 10px 12px;
  color: #c9c9d2;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.notification-center {
  position: relative;
  flex: none;
  margin-left: auto;
  z-index: 39;
}

.notification-standalone {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 3px 12px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.notification-center [hidden] { display: none; }

.notification-bell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 32px;
  height: 24px;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
}

.notification-bell[aria-expanded="true"] {
  color: var(--accent-2);
  background: var(--panel-3);
}

.notification-badge {
  position: static;
  min-width: 18px;
  padding: 2px 4px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
}

.notification-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  width: min(400px, calc(100vw - 32px));
  max-height: min(540px, calc(100dvh - 90px));
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 16px 48px #0008;
  overflow: hidden;
}

.notification-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
}

.notification-panel h2 { margin: 0; font-size: 14px; font-weight: 600; }
.notification-tools { display: flex; gap: 8px; padding: 0 14px 12px; }
.notification-tools button { font-size: 11px; }
.notification-list { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.notification-item {
  display: block;
  position: relative;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  padding: 12px 16px 12px 26px;
  text-align: left;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.notification-item.unread { background: #4c8dff0a; color: var(--text); }
.notification-item.unread::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.notification-item time { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.notification-empty { margin: 0; padding: 28px 24px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.notification-panel footer { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.notification-center :focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

.dataset-warning {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 10px 14px 0;
  padding: 9px 12px;
  border: 1px solid #7a642c;
  border-radius: 7px;
  background: #2a2518;
  color: #e6d39a;
  font-size: 12px;
  line-height: 1.4;
}

.dataset-warning > div {
  flex: 1;
  min-width: 0;
}

.dataset-warning strong {
  display: block;
  margin-bottom: 2px;
  color: #f0dc9d;
}

.dataset-warning-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #b79642;
  border-radius: 50%;
  color: #f0dc9d;
  font-family: var(--mono);
  font-weight: 700;
}

.dataset-warning-close {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #d9bd70;
  font-size: 18px;
  line-height: 1;
}

.dataset-warning-close:hover {
  background: rgba(240, 204, 102, 0.1);
  color: #ffe3a1;
}

.dataset-warning-indicator {
  display: grid;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  padding: 3px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #e0bd59;
  filter: drop-shadow(0 0 6px rgba(224, 189, 89, 0.32));
}

.dataset-warning-indicator:hover {
  color: #f3d77d;
  filter: drop-shadow(0 0 8px rgba(224, 189, 89, 0.5));
}

.dataset-warning-indicator svg {
  width: 18px;
  height: 18px;
}

.empty {
  padding: 24px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 9px;
}

@media (max-width: 1700px) {
  .appbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding-inline: 14px;
  }

  .appbar-identity {
    grid-column: 1;
  }

  .appbar-actions {
    grid-column: 3;
  }

  .appbar-metrics {
    grid-column: 2;
  }

  .appbar-source .source-filter {
    width: 160px;
  }

  .appbar-metrics {
    gap: 6px;
    font-size: 10px;
  }

  .file-progress-group {
    flex: none;
    gap: 0;
  }

  .header-progress-bar {
    display: none;
  }

  .event-reconciliation {
    gap: 6px;
  }
}

@media (max-width: 1300px) {
  .appbar-identity {
    gap: 5px;
  }

  .appbar-metrics {
    width: max-content;
    max-width: calc(100vw - 28px);
    gap: 6px;
    font-size: 10px;
  }

  .appbar-actions {
    gap: 6px;
  }

  .model-identity {
    max-width: 120px;
    padding-inline: 7px;
  }

  .event-reconciliation {
    gap: 6px;
  }
}

.appbar.identity-no-title .appbar-identity .divider,
.appbar.identity-no-title .appbar-identity .brand {
  display: none;
}

.appbar.identity-no-model .appbar-identity .model-identity {
  display: none;
}

.appbar.identity-session-shrink .appbar-identity .session-identity {
  flex-shrink: 1;
}

@media (max-width: 1180px) {
  .shell {
    min-width: 0;
  }
}

@media (max-width: 1100px) {
  .appbar-source .source-filter {
    width: 140px;
  }

  .event-reconciliation .metric-number {
    max-width: 4ch;
  }

  .file-progress-group .metric-number {
    max-width: 8ch;
  }

  .event-reconciliation .before-missed,
  .event-reconciliation .before-false-alarm,
  #missedEventMetric,
  #falseAlarmEventMetric {
    display: none;
  }

  .metric-overflow {
    display: inline;
  }
}

@media (max-width: 1000px) {
  .event-reconciliation .before-matched,
  #matchedEventMetric {
    display: none;
  }

  .file-progress-group .metric-number {
    max-width: 7ch;
  }
}

@media (max-width: 950px) {
  .appbar-source .source-filter {
    width: 100px;
  }
}

@media (max-width: 850px) {
  .event-reconciliation .before-annotated,
  #annotatedEventMetric {
    display: none;
  }

  .file-progress-group .metric-number {
    max-width: 5ch;
  }
}

@media (max-width: 700px) {
  .appbar {
    gap: 8px;
  }

  .appbar-source .source-filter {
    width: 75px;
  }
}

@media (max-width: 675px) {
  .appbar-identity .brand,
  .appbar-identity .divider,
  .appbar-identity .session-identity,
  .appbar-identity .model-identity {
    display: none;
  }
}

@media (max-width: 1100px) {
  .filterbar {
    gap: 8px;
    flex-wrap: wrap;
  }

  .filterbar input[type="search"] {
    width: clamp(130px, 18vw, 220px);
  }

  .filterbar .metric-value {
    width: 58px;
  }

  .filterbar .compact {
    width: 78px;
  }

  .queue-filter {
    width: 96px;
  }

  .status-filter {
    width: 108px;
  }

  .more-filter {
    width: 118px;
  }

  .filterbar .annotation-filter .filter-button,
  .filterbar .more-filter .filter-button {
    width: 100%;
  }

  .files-filter {
    width: 96px;
  }

  .label-filter {
    width: 108px;
  }

  .annotation-filter {
    width: 110px;
  }

  .annotation-filter-panel {
    width: min(320px, calc(100vw - 44px));
  }

  .more-filter-panel {
    right: auto;
    left: 0;
    width: min(430px, calc(100vw - 44px));
  }

  .label-menu {
    min-width: 150px;
  }

  .filterbar .grow {
    display: none;
  }

  .filterbar .event-count {
    margin-left: auto;
  }

  .event-count-full {
    display: none;
  }

  .event-count-compact {
    display: inline;
  }
}

@media (max-width: 900px) {
  body {
    overflow: auto;
  }

  .path-row {
    grid-template-columns: 1fr;
  }
}

.comparison-shell .appbar {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.comparison-shell .appbar-actions .top-action.active {
  border-color: #2f5db0;
  background: #244a8f;
  color: #eaf1ff;
}

.comparison-header-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 11px;
  color: #a8a8b2;
}

.comparison-header-summary strong {
  color: #d9e5ff;
}

.comparison-workspace {
  overflow: auto;
  gap: 9px;
}

.comparison-toolbar,
.comparison-filterbar,
.comparison-false-alarm-labels {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.comparison-toolbar {
  min-height: 34px;
}

.comparison-match-rule {
  padding-left: 4px;
}

.comparison-source-picker {
  position: relative;
}

.comparison-source-menu {
  position: absolute;
  z-index: 35;
  top: calc(100% + 6px);
  left: 0;
  width: min(390px, calc(100vw - 42px));
  padding: 9px;
  border: 1px solid #343440;
  border-radius: 9px;
  background: #18181e;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.comparison-source-menu-head,
.comparison-source-menu-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.comparison-source-options {
  max-height: min(360px, 52vh);
  margin: 7px -3px;
  padding: 0 3px;
  overflow-y: auto;
}

.comparison-source-menu-actions {
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.comparison-source-menu-actions button {
  min-width: 70px;
}

.comparison-source-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 5px;
  text-align: left;
}

.comparison-source-option span:last-child {
  min-width: 0;
}

.comparison-source-option .source-option-content {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.comparison-source-option.selected {
  border-color: rgba(76, 141, 255, 0.58);
  background: rgba(76, 141, 255, 0.14);
  color: #dce8ff;
}

.comparison-summary-wrap,
.comparison-table-body {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
}

.comparison-summary-wrap {
  flex: none;
}

.comparison-summary,
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-summary {
  min-width: 650px;
}

.comparison-summary th,
.comparison-summary td,
.comparison-table th,
.comparison-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  white-space: nowrap;
  font-size: 11.5px;
}

.comparison-summary th,
.comparison-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #1d1d23;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-summary tbody tr:last-child td,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-source-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 1px;
}

.comparison-source-dot.source-0,
.comparison-region.source-0 { background: #94a45a; }
.comparison-source-dot.source-1,
.comparison-region.source-1 { background: #27a3ad; }
.comparison-source-dot.source-2,
.comparison-region.source-2 { background: #cf6aa6; }
.comparison-source-dot.source-3,
.comparison-region.source-3 { background: #9aa1ad; }
.comparison-source-dot.source-4,
.comparison-region.source-4 { background: #d69a57; }

.comparison-good { color: var(--ok); }
.comparison-warn { color: var(--warn); }

.comparison-false-alarm-labels {
  min-height: 30px;
  flex-wrap: wrap;
}

.comparison-label-chip {
  height: 25px;
  padding: 0 8px;
  border-color: rgba(217, 177, 59, 0.25);
  background: rgba(217, 177, 59, 0.07);
  color: #cdbb84;
}

.comparison-label-chip.active {
  border-color: rgba(217, 177, 59, 0.75);
  background: rgba(217, 177, 59, 0.17);
  color: #f1d77f;
}

.comparison-label-clear {
  height: 24px;
  padding: 0 7px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.comparison-wave-panel {
  padding-bottom: 8px;
}

.comparison-selected-file {
  max-width: 44vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
}

.comparison-selected-outcome {
  color: #bfcbe4;
  font: 11px var(--mono);
}

.comparison-waveform {
  height: 92px;
  cursor: default;
}

.comparison-lanes {
  display: block;
  height: calc(var(--comparison-lane-count) * 18px + 4px);
  margin-top: 7px;
  padding-bottom: 4px;
}

.comparison-lane-tracks,
.comparison-lane-meta {
  position: absolute;
  inset: 0 0 4px;
  display: grid;
  grid-template-rows: repeat(var(--comparison-lane-count), 18px);
}

.comparison-track {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(35, 35, 41, 0.72);
  background: #090a0d;
}

.comparison-track:last-child {
  border-bottom: 0;
}

.comparison-lane-meta {
  z-index: 5;
  pointer-events: none;
}

.comparison-lane-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  height: 18px;
  padding: 1px 3px;
  color: #c7c7d1;
  font-size: 9px;
}

.comparison-lane-value {
  max-width: min(180px, 32%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comparison-region {
  position: absolute;
  z-index: 2;
  top: 3px;
  bottom: 3px;
  min-width: 2px;
  border-radius: 2px;
  opacity: 0.86;
}

.comparison-region.annotation {
  background: var(--accent);
}

.comparison-region.context {
  z-index: 1;
  opacity: 0.18;
}

.comparison-region.focused {
  z-index: 3;
  opacity: 0.9;
}

.comparison-wave-event {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  min-width: 2px;
  border-right: 1px solid rgba(76, 141, 255, 0.18);
  border-left: 1px solid rgba(76, 141, 255, 0.18);
  background: rgba(76, 141, 255, 0.07);
  pointer-events: none;
}

.comparison-ticks {
  position: relative;
  height: 22px;
}

.comparison-play-time {
  min-width: 68px;
}

.comparison-events {
  display: flex;
  flex: 1 1 260px;
  min-height: 260px;
  flex-direction: column;
}

.comparison-filterbar {
  min-height: 34px;
  margin-bottom: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  font-size: 10.5px;
}

.comparison-refine-filters {
  display: flex;
  align-items: center;
  flex: none;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: max-content;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid #3a3b46;
}

.comparison-refine-control {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.comparison-refine-control input,
.comparison-refine-control select {
  height: 25px;
  min-width: 112px;
  padding: 0 7px;
  border: 1px solid #30313a;
  border-radius: 5px;
  background: #18191e;
  color: #c8cad3;
  font: 10px var(--mono);
}

.comparison-refine-control input {
  width: 132px;
}

.comparison-outcome-filters {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: 8px;
}

.comparison-outcome-filters > .tiny {
  display: none;
}

.comparison-outcome-control select {
  width: 74px;
  min-width: 74px;
  padding-right: 3px;
}

.comparison-outcome-control .comparison-source-rail {
  width: 3px;
  height: 16px;
  border-radius: 2px;
}

.comparison-outcome-index {
  color: #aeb2bd;
  font-size: 9px;
  font-weight: 700;
}

.comparison-refine-clear {
  height: 24px;
  padding: 0 7px;
  border: 1px solid rgba(217, 177, 59, 0.72);
  border-radius: 5px;
  background: rgba(217, 177, 59, 0.13);
  color: #e3c66d;
  font-weight: 700;
}

.comparison-outcome-control select[data-comparison-outcome="matched"],
.comparison-outcome-control option[value="matched"] {
  color: #72c88d;
}

.comparison-outcome-control select[data-comparison-outcome="none"],
.comparison-outcome-control option[value="none"],
.comparison-outcome-control select[data-comparison-outcome=""],
.comparison-outcome-control option[value=""] {
  color: #c8cad3;
}

.comparison-outcome-control select[data-comparison-outcome="false_alarm"],
.comparison-outcome-control option[value="false_alarm"] {
  color: #e0b65f;
}

.comparison-outcome-control select[data-comparison-outcome="missed"],
.comparison-outcome-control option[value="missed"] {
  color: #e48787;
}

.comparison-outcome-control select[data-comparison-outcome="unresolved"],
.comparison-outcome-control option[value="unresolved"] {
  color: #bda1ec;
}

.comparison-show-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid #30313a;
  border-radius: 6px;
  background: #18191e;
}

.comparison-show-switch button {
  height: 25px;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
}

.comparison-show-switch button.active {
  background: #2a559c;
  color: #eef4ff;
}

.comparison-table-body {
  flex: 1;
  min-height: 120px;
  max-height: none;
}

.comparison-table {
  min-width: 880px;
  table-layout: fixed;
}

.comparison-table.comparison-five-sources { min-width: 1100px; }

.comparison-table th:first-child { width: 29%; }
.comparison-table th:nth-child(2) { width: 10%; }
.comparison-table th:last-child { width: 19%; }

.comparison-table tbody tr {
  cursor: pointer;
  content-visibility: auto;
  contain-intrinsic-size: 33px;
}

.comparison-table tbody tr:hover {
  background: #202028;
}

.comparison-table tbody tr.comparison-event-row.selected {
  background: rgba(76, 141, 255, 0.15);
  box-shadow: inset 2px 0 var(--accent);
}

.comparison-collapse-all,
.comparison-file-toggle {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  border-color: transparent;
  background: transparent;
  color: #8f8f99;
  vertical-align: middle;
}

.comparison-collapse-all {
  margin-left: -5px;
}

.comparison-file-row {
  background: #222228;
  color: #dedee5;
}

.comparison-file-row.active {
  background: #272d38;
}

.comparison-file-row td {
  padding-top: 4px;
  padding-bottom: 4px;
  border-top: 1px solid #363640;
  font-size: 10.5px;
}

.comparison-file-row strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 10.75px;
  font-weight: 600;
  vertical-align: middle;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comparison-file-cell-layout,
.comparison-file-cell-main {
  display: flex;
  align-items: center;
  min-width: 0;
}

.comparison-file-cell-layout {
  gap: 7px;
}

.comparison-file-cell-main {
  flex: 1;
}

.comparison-file-cell-main strong {
  flex: 1;
}

.comparison-file-index,
.comparison-event-index {
  display: inline-block;
  margin-right: 7px;
  color: #777783;
}

.comparison-file-outcome {
  color: #9999a4;
  font: 10.5px var(--mono);
}

.comparison-file-outcomes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  white-space: nowrap;
}

.comparison-file-targets {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  width: 100%;
  color: #a6acb8;
  font-size: 10.5px;
  font-weight: 600;
}

.comparison-file-targets.zero-targets {
  color: #777d89;
}

.comparison-file-target-markers {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.comparison-file-target-markers i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #3a3d46;
}

.comparison-file-targets.zero-targets .comparison-file-target-markers i {
  background: #30333b;
}

.comparison-file-target-markers i.target {
  background: #4c8dff;
}

.comparison-file-outcome-token {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #b8bdc7;
  font-size: 9.5px;
  font-weight: 600;
}

.comparison-file-outcome-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  color: #fff;
  font: 700 8px/1 var(--sans);
}

.comparison-file-outcome-token.matched .comparison-file-outcome-symbol {
  background: #329b65;
}

.comparison-file-outcome-token.false .comparison-file-outcome-symbol {
  background: #ae771f;
}

.comparison-file-outcome-token.missed .comparison-file-outcome-symbol {
  background: #bd5555;
}

.comparison-file-outcome-token.unresolved .comparison-file-outcome-symbol {
  background: #7160a1;
}

.comparison-file-outcome-separator {
  color: #535863;
  font-size: 9px;
}

.comparison-file-outcome-empty {
  font-size: 10px;
}

.comparison-event-row td {
  font-size: 10.5px;
  font-weight: 400;
}

.comparison-event-row td:first-child {
  position: relative;
  padding-left: 52px;
}

.comparison-event-row td:first-child::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 1px;
  background: #2c2e36;
  content: "";
}

.comparison-table td:first-child {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comparison-event-time {
  color: #9da1ac;
  font-size: 10.25px;
  font-weight: 400;
}

.comparison-event-annotation {
  color: #cfd0d7;
}

.comparison-flagged-mark {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  color: #e0635c;
  vertical-align: middle;
}

.comparison-flagged-mark .interesting-flag-icon {
  margin-left: 0;
}

.comparison-event-index {
  min-width: 31px;
  color: #6f7480;
  font-size: 9.5px;
  font-weight: 400;
}

.comparison-table-annotation {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  padding: 2px 7px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 9.75px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.comparison-outcome-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
}

.comparison-outcome-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.comparison-outcome.false_alarm { color: var(--warn); }
.comparison-outcome.unresolved { color: #caa8ff; }
.comparison-outcome.missed,
.comparison-outcome.difference { color: #e89590; }
.comparison-outcome.agreement { color: var(--ok); }

.comparison-pagination {
  align-self: stretch;
  margin: 0;
}

.comparison-empty {
  display: grid;
  flex: 1;
  place-items: center;
  color: var(--muted);
}

@media (max-width: 1600px) {
  .comparison-shell .appbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 38px 20px;
  }

  .comparison-header-summary {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 1100px) {
  .comparison-toolbar {
    flex-wrap: wrap;
  }
}

/* Compare workspace: visual language follows the compact IPC lane view. */
.mode-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #15161b;
}

.mode-switch .top-action {
  height: 25px;
  border: 0;
  border-radius: 5px;
  background: transparent;
}

.mode-switch .top-action.active {
  background: #2a559c;
  color: #eef4ff;
}

.comparison-workspace {
  overflow: hidden;
}

.comparison-overview {
  display: grid;
  grid-template-columns: minmax(932px, 2.2fr) minmax(270px, 0.8fr);
  align-items: stretch;
  gap: 9px;
  flex: none;
}

.comparison-overview.collapsed {
  grid-template-columns: minmax(0, 1fr);
}

.comparison-overview.collapsed + .comparison-wave-panel .comparison-waveform {
  height: clamp(120px, 18vh, 180px);
}

.comparison-review-workspace .comparison-waveform {
  height: clamp(138px, 18vh, 180px);
}

.comparison-model-panel,
.comparison-false-alarm-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel-2);
}

.comparison-section-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 35px;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: #1c1d23;
  text-align: left;
}

.comparison-section-toggle > span:nth-child(2) {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.comparison-chevron {
  color: #777e8c;
}

.comparison-model-grid {
  width: 100%;
  min-width: 0;
  overflow: auto;
}

.comparison-model-head,
.comparison-model-row {
  display: grid;
  min-width: 760px;
  grid-template-columns: minmax(180px, 1.45fr) minmax(130px, 0.95fr) 62px 82px 56px minmax(105px, 0.8fr) 58px 78px;
  align-items: center;
  column-gap: 10px;
}

.comparison-model-head {
  min-height: 25px;
  padding: 0 10px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.comparison-model-row {
  position: relative;
  min-height: 34px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 10.5px;
}

.comparison-model-row:last-child {
  border-bottom: 0;
}

.comparison-model-name,
.comparison-resolution,
.comparison-f1 {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.comparison-source-rail {
  width: 3px;
  height: 19px;
  border-radius: 3px;
  flex: none;
}

.comparison-source-rail.source-0 { background: #94a45a; }
.comparison-source-rail.source-1 { background: #27a3ad; }
.comparison-source-rail.source-2 { background: #cf6aa6; }
.comparison-source-rail.source-3 { background: #9aa1ad; }
.comparison-source-rail.source-4 { background: #d69a57; }

.comparison-model-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
}

.comparison-threshold-chip,
.comparison-best-badge,
.comparison-metric-state {
  flex: none;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 8px;
}

.comparison-threshold-chip {
  border: 1px solid #353741;
  color: #9ca4b4;
  background: #15161b;
}

.comparison-best-badge {
  border: 1px solid rgba(68, 180, 117, 0.4);
  color: #79d8a1;
  background: rgba(54, 173, 120, 0.1);
  font-weight: 700;
}

.comparison-resolution-track {
  width: 64px;
  height: 4px;
  overflow: hidden;
  border-radius: 3px;
  background: #30313a;
}

.comparison-resolution-track i {
  display: block;
  height: 100%;
  background: #d5a62f;
}

.comparison-balance {
  display: flex;
  height: 5px;
  overflow: hidden;
  border-radius: 4px;
  background: #30313a;
}

.comparison-balance i { display: block; height: 100%; }
.comparison-balance .matched { background: #36ad78; }
.comparison-balance .false { background: #d6aa3b; }
.comparison-balance .missed { background: #d66f6a; }
.comparison-matched { color: #9fdab8; }
.comparison-false-count { color: #d9bd6f; }
.comparison-missed-count { color: #e89a95; }
.comparison-delta { color: #8e95a3; }

.comparison-f1-value.final {
  color: #eef1f6;
}

.comparison-f1-value.provisional {
  color: #a4aab5;
  font-weight: 600;
  opacity: 0.78;
}

.comparison-metric-state.provisional {
  border: 1px solid rgba(215, 180, 74, 0.35);
  color: #d6bd73;
  background: rgba(215, 180, 74, 0.08);
}

.comparison-metric-state.final {
  color: #7bc69b;
}

.comparison-false-alarm-panel {
  padding: 9px 10px;
}

.comparison-panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 10.5px;
}

.comparison-false-chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
}

.comparison-false-bar {
  display: grid;
  grid-template-columns: minmax(68px, 0.8fr) minmax(45px, 1fr) 28px;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 24px;
  padding: 0 4px;
  border-color: transparent;
  background: transparent;
  color: #b8aa7f;
  font-size: 10px;
  text-align: left;
}

.comparison-false-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comparison-false-track {
  height: 6px;
  overflow: hidden;
  border-radius: 4px;
  background: #303039;
}

.comparison-false-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9b782b, #d3ad45);
}

.comparison-false-bar strong {
  text-align: right;
}

.comparison-false-bar.active {
  border-color: rgba(217, 177, 59, 0.65);
  background: rgba(217, 177, 59, 0.13);
  color: #efd67e;
}

.comparison-wave-panel {
  flex: none;
  padding: 0 10px 8px;
}

.comparison-wave-panel .wave-head {
  min-height: 41px;
}

.comparison-selected-copy {
  min-width: 0;
}

.comparison-eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #747b89;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-selected-time {
  margin-left: 9px;
}

.comparison-annotation-pill,
.comparison-selected-outcome {
  padding: 3px 7px;
  border: 1px solid #363842;
  border-radius: 5px;
  background: #191a20;
  font: 9px var(--mono);
}

.comparison-selected-outcome.unresolved { color: #caa8ff; }
.comparison-selected-outcome.false_alarm { color: #dfbe68; }
.comparison-selected-outcome.missed,
.comparison-selected-outcome.difference { color: #e89590; }
.comparison-selected-outcome.agreement { color: var(--ok); }

.comparison-filterbar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.comparison-filterbar button > span {
  color: #707787;
  font-size: 9px;
}

.comparison-show-switch button > span {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #101116;
  color: #858c99;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
}

.comparison-show-switch button.active > span {
  background: rgba(8, 13, 23, 0.58);
  color: #dce8ff;
}

.comparison-active-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 7px;
  border: 1px solid rgba(217, 177, 59, 0.35);
  border-radius: 5px;
  color: #d8bd72;
  font-size: 9px;
}

.comparison-active-filter button {
  height: 22px;
  padding: 0 6px;
  color: inherit;
}

.comparison-result-count {
  min-width: 116px;
  text-align: right;
}

.comparison-table th small {
  display: block;
  margin-top: 2px;
  color: #727987;
  font-size: 8.5px;
  font-weight: 500;
}

.comparison-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
}

.comparison-sort-affordance {
  margin-left: 4px;
  color: #707787;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
}

.comparison-sort-affordance.active {
  color: #9fb8e8;
}

.comparison-sort-button:hover {
  color: #e1e5ef;
}

.comparison-table th.comparison-source-column {
  position: sticky;
  overflow: hidden;
  text-transform: none;
}

.comparison-source-title {
  display: inline-flex;
  overflow: hidden;
  color: #b8bac4;
  font-family: var(--mono);
  text-overflow: ellipsis;
  text-transform: inherit;
  white-space: nowrap;
}

.comparison-source-cap {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
}

.comparison-source-cap.source-0 { background: #94a45a; }
.comparison-source-cap.source-1 { background: #27a3ad; }
.comparison-source-cap.source-2 { background: #cf6aa6; }
.comparison-source-cap.source-3 { background: #9aa1ad; }
.comparison-source-cap.source-4 { background: #d69a57; }

.comparison-source-column.tinted.source-0 { background-color: rgba(148, 164, 90, 0.022); }
.comparison-source-column.tinted.source-1 { background-color: rgba(39, 163, 173, 0.022); }
.comparison-source-column.tinted.source-2 { background-color: rgba(207, 106, 166, 0.022); }
.comparison-source-column.tinted.source-3 { background-color: rgba(154, 161, 173, 0.022); }
.comparison-source-column.tinted.source-4 { background-color: rgba(214, 154, 87, 0.022); }
.comparison-table th.comparison-source-column.tinted.source-0 { background-color: #23251d; }
.comparison-table th.comparison-source-column.tinted.source-1 { background-color: #192526; }
.comparison-table th.comparison-source-column.tinted.source-2 { background-color: #281e26; }
.comparison-table th.comparison-source-column.tinted.source-3 { background-color: #23252a; }
.comparison-table th.comparison-source-column.tinted.source-4 { background-color: #29231c; }

.comparison-score.source-0 { color: #bccb7f; }
.comparison-score.source-1 { color: #62c2c8; }
.comparison-score.source-2 { color: #e296c3; }
.comparison-score.source-3 { color: #c0c5ce; }
.comparison-score.source-4 { color: #e4b57f; }

/* Focused review inside Compare. */
.comparison-review-identity,
.comparison-review-progress {
  display: flex;
  align-items: center;
  gap: 7px;
}

.comparison-review-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  min-height: 38px;
  padding: 5px 8px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 8px;
  background: rgba(167, 139, 250, 0.055);
  flex: none;
  font-size: 10px;
}

.comparison-review-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

.comparison-review-progress-track {
  width: 92px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #343440;
}

.comparison-review-progress-track span {
  display: block;
  height: 100%;
  background: #7f67da;
}

.comparison-review-scope {
  padding: 3px 7px;
  border: 1px solid #343440;
  border-radius: 5px;
  color: #a9afbc;
}

.comparison-review-toggle {
  gap: 5px;
  color: #a9afbc;
  white-space: nowrap;
  border: 0;
  padding: 3px 2px;
  background: transparent;
  font-size: 10px;
}

.comparison-review-toggle:hover {
  background: transparent;
}

.comparison-review-toggle .switch {
  width: 26px;
  height: 14px;
}

.comparison-review-toggle .switch::after {
  width: 10px;
  height: 10px;
}

.comparison-review-toggle.on .switch::after {
  left: 14px;
}

.candidate-region {
  border-style: dashed;
  z-index: 4;
}

.candidate-context-region {
  z-index: 2;
}

.candidate-inferred-region {
  border-style: dashed;
}

.candidate-saved-region {
  border-style: solid;
}

@media (max-width: 1250px) {
  .comparison-overview {
    grid-template-columns: 1fr;
  }

  .comparison-false-alarm-panel {
    display: none;
  }
}

/* Hosted opening keeps actions compact and separates local selection from history. */
.hosted-open-card { gap: 0; width: min(640px, calc(100vw - 48px)); }
.hosted-open-card .hosted-intro { margin: 10px 0 28px; }
.hosted-open-section { border-top: 1px solid var(--line); padding: 22px 0; display: grid; gap: 14px; }
.hosted-open-section h2 { font-size: 14px; margin: 0; font-weight: 600; }
.hosted-open-section .landing-browse { width: fit-content; justify-self: start; padding: 9px 14px; }
.hosted-saved-row { display: flex; gap: 10px; align-items: center; }
.hosted-saved-row select { min-width: 0; flex: 1; }
.hosted-saved-row button { flex: none; }
.hosted-folder-choice { display: grid; gap: 8px; padding: 14px; border-radius: 8px; background: var(--panel); }
.hosted-folder-choice strong { font-size: 12px; overflow-wrap: anywhere; }
.hosted-folder-choice button { width: fit-content; margin-top: 4px; }
.hosted-loading-note { padding: 8px 12px; font-size: 12px; color: var(--muted); }
.notification-center { display: flex; align-items: center; gap: 4px; }
.background-process { border: 0; background: transparent; padding: 5px; width: 28px; height: 24px; }
.process-spinner { display: block; width: 13px; height: 13px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: process-turn 1s linear infinite; }
@keyframes process-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .process-spinner { animation-duration: 3s; } }
.background-panel { position: absolute; right: 0; bottom: 32px; width: 290px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 14px; box-shadow: 0 12px 40px #0008; }
.background-panel div { display: grid; gap: 7px; padding: 5px 0; font-size: 12px; }
.background-panel span { color: var(--muted); }
.background-panel progress { width: 100%; accent-color: var(--accent); }

/* Local audio status remains identifiable by both icon and accessible label. */
.top-action.hosted-audio.connected { color: var(--ok); }
.top-action.hosted-audio.disconnected { color: var(--warn); }
/* Session-wide Annotate overview; shares Compare's card and toggle grammar. */
#annotationSummaryHost {
  flex: 0 0 auto;
  min-width: 0;
}

.annotate-summary .comparison-section-toggle {
  background: #16171d;
}

.annotate-summary .comparison-section-toggle:hover {
  background: #1a1b22;
}

.annotate-summary-heading {
  white-space: nowrap;
}

.annotate-summary-digest {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-size: 11px;
  min-width: 0;
}

.annotate-summary-digest > span {
  white-space: nowrap;
}

.annotate-digest-body {
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

.annotate-digest-body b, .annotate-ann-off {
  color: #ff8a3d;
}

.annotate-pred-off {
  color: #ffa466;
}

.annotate-agree {
  color: var(--muted);
  white-space: nowrap;
}

.annotate-agree.low {
  color: #f0685e;
}

.annotate-agree.medium {
  color: #e4b83f;
}

.annotate-agree.high {
  color: #3fcf8e;
}

.annotate-summary-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  border-top: 1px solid var(--line);
}

.annotate-label-panel, .annotate-offbody-panel {
  min-width: 0;
  padding: 12px 16px;
}

.annotate-offbody-panel {
  border-left: 1px solid var(--line);
}

.annotate-panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
}

.annotate-label-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.annotate-label-row {
  display: grid;
  grid-template-columns: 96px minmax(80px, 1fr) 34px 38px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 25px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 11px;
  text-align: left;
}

.annotate-label-row:hover {
  background: rgba(255,255,255,.035);
}

.annotate-label-row .mono {
  text-align: right;
}

.annotate-label-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.annotate-label-track {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #24252d;
  overflow: hidden;
}

.annotate-label-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.annotate-matrix {
  font-size: 11px;
  color: #999aa6;
}

.annotate-matrix-row {
  display: grid;
  grid-template-columns: 64px repeat(2, minmax(75px, 1fr)) 42px;
  gap: 4px;
  align-items: center;
  text-align: center;
  min-height: 36px;
}

.annotate-matrix-row > :first-child {
  text-align: left;
  font-size: 10px;
}

.annotate-matrix-head {
  min-height: 20px;
  font-size: 9px;
  color: #7a7a85;
}

.annotate-matrix-total {
  min-height: 26px;
}

.annotate-matrix-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  border-radius: 5px;
}

.annotate-matrix-cell strong {
  font-size: 13px;
}

.annotate-matrix-cell span {
  font-size: 9px;
}

.annotate-matrix-cell.both-off {
  background: rgba(63,207,142,.13);
  color: #3fcf8e;
}

.annotate-matrix-cell.mismatch {
  background: rgba(240,104,94,.13);
  color: #f0685e;
}

.annotate-matrix-cell.both-on {
  background: #1e1f26;
}

.annotate-matrix-empty {
  margin: 6px 0 0;
  font-size: 10px;
}

@media (max-width: 1400px) {
  .annotate-label-columns {
    gap: 14px;
  }
  .annotate-label-row {
    grid-template-columns: 86px minmax(55px, 1fr) 28px 36px;
    gap: 7px;
  }
  .annotate-summary-digest {
    gap: 8px;
    font-size: 10px;
  }
}

@media (max-width: 1100px) {
  .annotate-summary-body {
    grid-template-columns: 1fr;
  }
  .annotate-offbody-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .annotate-summary-digest {
    flex-wrap: wrap;
  }
  .annotate-summary .comparison-section-toggle {
    height: auto;
    min-height: 35px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

@media (max-height: 900px) {
  .workspace:has(.annotate-summary-body) {
    overflow-y: auto;
  }
  .workspace:has(.annotate-summary-body) .wave-panel:not(.score-view) .wave-wrap {
    height: 80px;
  }
  .workspace:has(.annotate-summary-body) .table-panel {
    min-height: 160px;
  }
  .annotate-label-panel, .annotate-offbody-panel {
    padding: 10px 14px;
  }
  .annotate-label-row {
    min-height: 21px;
  }
}

.annotate-shell .appbar {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.annotate-shell .appbar-metrics .metric-label {
  display: inline;
}

.annotate-summary .comparison-section-toggle {
  flex-wrap: wrap;
  height: auto;
  min-height: 35px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.annotate-review-metrics {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
}

.annotate-review-metrics > span {
  white-space: nowrap;
}

.annotate-summary-breakdown {
  margin: -3px 0 9px;
  font-size: 10px;
}

@media (max-width: 1500px) {
  .annotate-summary-digest {
    flex-basis: 100%;
    justify-content: flex-start;
    padding-left: 17px;
  }
}

@media (max-width: 1500px) {
  .annotate-shell .file-progress-completion-word, .annotate-shell .prediction-events-word {
    display: none;
  }
}

.comparison-score-divider {
  height: 18px;
  border-left: 1px solid var(--line);
  margin: 0 4px;
}

.comparison-score-scope {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: #101116;
}

.comparison-score-scope button {
  border: 0;
  background: transparent;
  font-size: 11px;
  padding: 4px 10px;
}

.comparison-score-scope button.active {
  background: #2a2b35;
  color: #eff0f5;
}

.comparison-score-scope button span {
  color: var(--muted);
  margin-left: 5px;
  font-family: var(--mono);
}

.comparison-offbody-excluded {
  padding: 4px 8px;
  border: 1px solid #6b3a1c;
  border-radius: 999px;
  background: rgba(255,138,61,.1);
  color: #ffa466;
  font-size: 11px;
}

.comparison-onbody-tag {
  padding: 1px 4px;
  border: 1px solid #6b3a1c;
  border-radius: 3px;
  color: #ffa466;
  font: 700 10px var(--mono);
  white-space: nowrap;
}

.comparison-scoped-model-panel {
  display: flex;
  flex-direction: column;
}

.comparison-scoped-model-panel .comparison-scope-footer {
  margin-top: auto;
}

.comparison-scoped-model-panel .comparison-model-head, .comparison-scoped-model-panel .comparison-model-row {
  grid-template-columns: minmax(160px,1fr) 173px repeat(5, 56px) minmax(50px,.8fr) 92px;
  min-width: 900px;
  gap: 8px;
}

.comparison-scoped-model-panel .comparison-model-row {
  min-height: 44px;
}

.comparison-scoped-model-panel .comparison-model-name {
  flex-wrap: wrap;
  gap: 4px;
}

.comparison-scoped-model-panel .comparison-f1 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.comparison-scoped-model-panel .comparison-resolution {
  padding-right: 68px;
}

.comparison-scoped-model-panel .comparison-resolution-track {
  flex-shrink: 1;
}

.comparison-scoped-model-panel .comparison-resolution > .mono {
  flex: none;
}

.comparison-scoped-model-panel .comparison-f1 strong {
  display: block;
}

.comparison-metric-value.best {
  font-weight: 750;
}

.comparison-metric-value.secondary {
  font-weight: 400;
  opacity: .6;
}

.comparison-metric-value.runner-up {
  font-weight: 600;
  opacity: .82;
}

.comparison-scope-delta {
  display: block;
  position: relative;
  font: 10px var(--mono);
  margin-top: 2px;
}

.comparison-delta-sign {
  position: absolute;
  right: 100%;
}

.comparison-scope-delta.good {
  color: #3fcf8e;
}

.comparison-scope-delta.bad {
  color: #f0685e;
}

.comparison-scope-delta.zero {
  color: #5e5e69;
}

.comparison-scope-footer {
  padding: 8px 12px;
  background: #131419;
  color: #7a7a85;
  font-size: 10px;
  border-top: 1px solid var(--line);
}

.comparison-false-models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 12px 10px;
}

.comparison-false-model-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
}

.comparison-false-model-chip i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--source-color);
}

.comparison-false-model-chip.selected {
  border-color: var(--source-color);
  background: color-mix(in srgb,var(--source-color) 13%,transparent);
}

.comparison-false-model-chip.dimmed {
  color: var(--muted);
}

.comparison-removed {
  color: #ffa466;
  font-size: 10px;
}

.comparison-stacked-false-panel .comparison-false-bar {
  grid-template-columns: 90px minmax(40px,1fr) 26px 52px;
  min-height: 22px;
  gap: 4px;
}

.comparison-false-stack {
  display: flex;
  width: 100%;
  height: 8px;
  overflow: hidden;
}

.comparison-false-extra {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.comparison-false-percent {
  color: var(--muted);
  font-size: 10px;
}

.comparison-false-stack i {
  display: block;
  height: 8px;
  flex: none;
  border-right: 1px solid var(--panel-2);
}

.comparison-excluded-offbody {
  opacity: .45;
}

.comparison-event-annotation .off-body-indicator {
  margin-left: 6px;
}

.comparison-table .comparison-offbody-column {
  width: 60px;
  padding-left: 2px;
  padding-right: 2px;
  text-align: center;
}

.comparison-offbody-column .comparison-sort-button {
  gap: 2px;
  font-size: 9px;
  letter-spacing: 0;
  white-space: nowrap;
}

.comparison-offbody-column .comparison-sort-affordance {
  flex: none;
  margin-left: 0;
  font-size: 9px;
}

.comparison-offbody-column .off-body-indicator {
  min-width: 0;
  padding: 1px 4px;
  font-size: 8px;
  line-height: 12px;
}

.comparison-table th:nth-child(2), .comparison-table td:nth-child(2) {
  padding-right: 3px;
}

.comparison-table .comparison-event-count-column {
  width: 76px;
  text-align: center;
}

.comparison-table th:first-child {
  width: 20%;
}

.comparison-toolbar {
  flex-wrap: wrap;
}

.comparison-stacked-false-panel .comparison-panel-title {
  flex-wrap: wrap;
  gap: 7px;
}

@media (max-width: 1100px) {
  .comparison-overview:not(.collapsed) {
    grid-template-columns: minmax(0, 1fr);
  }
  .comparison-overview .comparison-stacked-false-panel {
    display: block;
  }
}

.comparison-stacked-false-panel .comparison-false-chart {
  display: flex;
  flex-direction: column;
}

.comparison-overview .comparison-stacked-false-panel {
  display: block;
}

.comparison-workspace {
  overflow-y: auto;
}

.comparison-workspace .comparison-events {
  min-height: 240px;
}

@media (min-width: 1101px) and (max-width: 1250px) {
  .comparison-overview:not(.collapsed) {
    grid-template-columns: minmax(760px, 2.2fr) minmax(300px, .8fr);
  }
}

/* Hosted session home, option 2a. */
.hosted-home { height:100%; min-height:0; overflow-y:auto; }
.hosted-home .landing-top { position:sticky; top:0; z-index:12; }
.hosted-home-body { width:min(960px, calc(100% - 48px)); margin:36px auto 48px; padding:0; align-self:start; }
.hosted-home-heading { margin-bottom:24px; }
.hosted-home-heading h1 { font-size:26px; line-height:1.25; letter-spacing:-.025em; margin:0 0 8px; }
.hosted-home-heading p { margin:0; font-size:13px; line-height:1.5; color:var(--muted); }
.home-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; margin-bottom:24px; position:relative; z-index:5; }
.home-action { height:86px; box-sizing:border-box; border:1px solid var(--line); border-radius:8px; background:var(--panel); min-width:0; }
.hosted-home h2 { font-size:13px; line-height:1.4; margin:0; }
.home-local { display:flex; align-items:center; gap:14px; padding:16px 18px; border-style:dashed; border-color:#2f4a7a; background:#18253b35; }
.home-local.dragging { border-color:#8fb4ff; background:#23437566; box-shadow:0 0 0 2px #8fb4ff30; }
.home-folder-icon { display:flex; align-items:center; justify-content:center; flex:none; width:36px; height:36px; border-radius:8px; background:#203353; color:#8fb4ff; }
.home-local-copy { flex:1; min-width:0; }
.home-local p { color:var(--muted); font-size:11px; margin:3px 0 0; line-height:1.4; white-space:nowrap; }
.hosted-home .home-local button { width:auto; flex:none; font-size:11px; padding:7px 11px; white-space:nowrap; }
.home-find { position:relative; padding:14px 18px; }
.home-find-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:7px; }
.hosted-home .home-refresh { padding:0; background:none; border:0; border-radius:0; color:var(--muted); font-size:11px; font-weight:400; }
.hosted-home .home-refresh:hover { color:var(--text); text-decoration:underline; }
.hosted-home #cloudSessionSearch { display:block; width:100%; height:30px; margin:0; padding:5px 10px; font-family:var(--mono,monospace); font-size:11px; border-radius:5px; }
.home-sessions { border:1px solid var(--line); border-radius:8px; overflow:hidden; background:#111116; }
.home-table-toolbar { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; gap:16px; border-bottom:1px solid var(--line); }
.home-switch { display:inline-flex; padding:3px; border:1px solid var(--line); border-radius:6px; gap:2px; }
.hosted-home .home-switch button { background:transparent; border:0; border-radius:4px; font-size:11px; line-height:18px; font-weight:400; padding:2px 9px; color:var(--muted); }
.hosted-home .home-switch button[aria-pressed="true"] { background:#2a2a34; color:var(--text); font-weight:600; }
.home-switch button span { color:var(--muted); font-weight:400; }
.home-type-filter { display:flex; align-items:center; gap:8px; font-size:11px; color:var(--muted); }
.home-table-scroll { overflow-x:auto; }
.hosted-home .home-table { table-layout:auto; border-collapse:collapse; width:100%; min-width:660px; font-size:12px; }
.hosted-home .home-table thead th { height:30px; padding:0 14px; color:var(--muted); font:10px var(--mono,monospace); letter-spacing:.05em; text-transform:uppercase; text-align:left; background:transparent; position:static; white-space:nowrap; }
.hosted-home .home-table tbody tr { height:44px; cursor:pointer; outline-offset:-2px; }
.hosted-home .home-table td { padding:0 14px; height:44px; border-top:1px solid #ffffff06; white-space:nowrap; }
.hosted-home .home-table tbody tr:hover, .hosted-home .home-table tbody tr:focus-visible { background:#ffffff06; }
.home-device { font-size:12px; font-weight:600; max-width:270px; overflow:hidden; text-overflow:ellipsis; }
.home-table td.mono:not(.home-device), .home-last-opened { font-size:11px; color:var(--muted); }
.home-table td.home-row-arrow { color:var(--muted); text-align:right; font-size:18px; width:20px; }
.home-tag { display:inline-block; border:1px solid; border-radius:3px; padding:1px 5px; font-size:11px; line-height:14px; font-weight:400; }
.home-tag.cloud { border-color:#2F4A7A; color:#8FB4FF; }
.home-tag.local { border-color:#2E5A3E; color:#7FCB98; }
.home-tag.admin { border-color:#3F3A5E; color:#B9A8F0; }
.home-tag.client { border-color:#5A4A2E; color:#E5B547; }
.hosted-home .home-table td.home-empty { height:88px; text-align:center; color:var(--muted); font-size:12px; }
.home-search-dropdown { position:absolute; top:calc(100% + 6px); left:0; right:0; border:1px solid #383845; border-radius:8px; background:#191920; box-shadow:0 12px 32px #0009; overflow:hidden; z-index:10; }
.home-search-dropdown[hidden] { display:none; }
.home-search-dropdown [role="listbox"] { max-height:440px; overflow-y:auto; padding:6px; }
.home-search-group { padding:8px 8px 5px; font:10px var(--mono,monospace); letter-spacing:.05em; color:var(--muted); }
.home-search-row { display:flex; align-items:center; gap:8px; border:1px solid transparent; padding:9px 8px; cursor:pointer; border-radius:5px; min-height:36px; box-sizing:border-box; }
.home-search-row .mono { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; font-size:10px; white-space:nowrap; }
.home-search-row.selected { background:#243a613d; border-color:#2f4a7a; }
.home-search-row mark { background:#203c69; color:#8fb4ff; padding:1px 0; border-radius:2px; }
.home-search-enter { width:12px; flex:none; color:var(--muted); }
.home-search-empty { padding:20px 12px; font-size:12px; color:var(--muted); line-height:1.6; }
.home-search-footer { border-top:1px solid var(--line); padding:9px 14px; font:10px var(--mono,monospace); color:var(--muted); }
@media(max-width:1020px) {
  .home-local { gap:9px; padding:14px; }
  .home-folder-icon { width:30px; height:30px; }
  .home-local p { white-space:normal; }
}
@media(max-width:760px) {
  .hosted-home-body { width:calc(100% - 32px); margin-top:28px; }
  .home-actions { grid-template-columns:minmax(0,1fr); }
  .home-table-toolbar { flex-wrap:wrap; gap:8px; }
  .home-search-row .mono { font-size:10px; }
}
/* Findings share semantic colors across event rows and file summaries. */
.comparison-finding {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  min-height: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 10px;
  white-space: nowrap;
  color: var(--muted);
}
.comparison-finding i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.comparison-finding.detected { color: #5bbf7a; }
.comparison-finding.missed { color: #ff747a; }
.comparison-finding.review { color: #caa8ff; }
.comparison-finding.false, .comparison-finding.mixed { color: #e1ad55; }
button.comparison-finding:hover, button.comparison-finding[aria-pressed="true"] {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
button.comparison-finding:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.comparison-table td.comparison-file-outcome { white-space: normal; }
