/* Per-port observability drawer (Overview → HTTP/SOCKS5) */

.drawer--pod .drawer__backdrop {
  background: var(--backdrop-soft);
}

.drawer__panel--pod {
  width: min(700px, calc(100vw - 40px));
  max-width: 760px;
}

@media (max-width: 900px) {
  .drawer__panel--pod {
    width: min(640px, calc(100vw - 24px));
  }
}

@media (max-width: 640px) {
  .drawer__panel--pod {
    width: min(96vw, 100%);
  }
}

.drawer--pod .drawer__head {
  padding: 14px 18px 10px;
  border-bottom: none;
  gap: 10px;
  align-items: flex-start;
}

.drawer--pod .drawer__title-row {
  font-size: var(--fs-16);
  font-weight: 700;
  gap: 10px;
  letter-spacing: -0.01em;
}

.drawer--pod .drawer__subtitle {
  margin-top: 2px;
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--text-secondary);
}

.drawer--pod .drawer__head-nav {
  align-items: center;
  gap: 6px;
}

.pod-copy {
  color: var(--blue) !important;
  border-color: var(--blue-border) !important;
  background: var(--surface) !important;
  height: 30px;
  padding: 0 10px;
  font-size: var(--fs-12);
  font-weight: 600;
}
.pod-copy:hover {
  background: var(--blue-soft) !important;
}
.pod-copy .icon {
  width: 14px;
  height: 14px;
}

.pod-title {
  font-weight: 700;
  color: var(--text);
}
.pod-title__sep {
  color: var(--text-disabled);
  font-weight: 500;
  margin: 0 1px;
}
.pod-title__port {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.pod-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  font-weight: 550;
  color: var(--text-secondary);
}
.pod-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neutral);
  flex: none;
}
.pod-status--ok .pod-status__dot { background: var(--ok); }
.pod-status--warn .pod-status__dot { background: var(--warn); }
.pod-status--danger .pod-status__dot { background: var(--danger); }

.pod-anom {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--warn-border);
  background: var(--warn-soft);
  color: var(--warn-text);
  font-size: 11px;
  font-weight: 600;
}
.pod-anom .icon {
  width: 12px;
  height: 12px;
}

.drawer__scroll--pod {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.pod {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  height: 100%;
}

.pod-tabs {
  display: flex;
  gap: 2px;
  flex: none;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-elevated);
}

.pod-tab {
  flex: none;
  height: 38px;
  padding: 0 12px;
  border: none;
  background: transparent;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
}
.pod-tab:hover { color: var(--text); }
.pod-tab.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.pod-body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb, var(--border)) transparent;
  padding: 14px 16px 12px;
}
.pod-body::-webkit-scrollbar { width: 8px; }
.pod-body::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb, var(--border));
  border-radius: 8px;
}
.pod-body::-webkit-scrollbar-track { background: transparent; }

/* Performance: ONE primary vertical scroller = .pod-body (no nested chart scroll). */
.pod-body--perf {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  container-type: inline-size;
  container-name: pod-perf;
}
.pod-body--dest {
  container-type: inline-size;
  container-name: pod-scroll;
  /* Extra right inset so Trend never sits under the scrollbar track. */
  padding-right: 18px;
}

.pod-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 18px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-elevated);
  font-size: 10px;
  color: var(--text-muted);
}
.pod-foot__tz {
  font-variant-numeric: tabular-nums;
}

.pod-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neutral, #94a3b8);
  flex: none;
  display: inline-block;
}

/* ---- Performance toolbar ---- */
.pod-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-elevated);
  min-height: 48px;
  box-sizing: border-box;
}
.pod-toolbar__left,
.pod-toolbar__right {
  display: flex;
  align-items: center;
  min-width: 0;
}
.pod-toolbar__left { gap: 10px; flex: 1; }
.pod-toolbar__right { gap: 14px; flex: none; }
.pod-segs {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.pod-seg {
  height: 32px;
  padding: 0 10px;
  border: none;
  border-right: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  white-space: nowrap;
}
.pod-seg:last-child { border-right: none; }
.pod-seg:hover { color: var(--text); background: var(--hover); }
.pod-seg.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}
.pod-seg:focus { outline: none; }
.pod-seg:focus-visible { box-shadow: inset 0 0 0 2px var(--blue); }

.pod-period-select {
  display: none;
  height: 32px;
  min-width: 84px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b95a5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}

.pod-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 550;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.pod-compare input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--blue);
}

.pod-live-ind {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 118px;
  font-size: 11px;
  font-weight: 650;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pod-live-ind.is-live {
  color: var(--ok-text, var(--ok));
}
.pod-live-ind.is-live .pod-live-dot { background: var(--ok); }
.pod-live-ind.is-paused .pod-live-dot { background: var(--neutral, #94a3b8); }
.pod-live-ind.is-delayed {
  color: var(--warn-text, var(--warn));
}
.pod-live-ind.is-delayed .pod-live-dot { background: var(--warn); }

/* Content wrapper only — must NOT create a nested vertical scroll trap. */
.pod-perf-scroll {
  overflow: visible;
  padding: 10px 14px 12px;
  container-type: inline-size;
  container-name: pod-scroll;
}

/* ---- Performance ---- */
.pod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.pod-metric {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 12px 14px 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.pod-metric__label {
  font-size: 11px;
  font-weight: 550;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
.pod-metric__value {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  line-height: 1.25;
  transition: color 0.18s ease;
  margin-bottom: 4px;
}
.pod-metric__dash {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.pod-metric__sec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 3px;
}
.pod-metric__hint {
  font-size: 11px;
  font-weight: 550;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.pod-unit {
  font-size: 11px;
  font-weight: 550;
  color: var(--text-muted);
}
.pod-speed {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pod-trend {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 11px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  margin-bottom: 2px;
}
.pod-trend__main { font-weight: 600; }
.pod-trend__vs {
  font-weight: 500;
  color: var(--text-muted);
}
.pod-trend--good,
.pod-trend--good .pod-trend__main { color: var(--ok-text, var(--ok)); }
.pod-trend--bad,
.pod-trend--bad .pod-trend__main { color: var(--danger-text, var(--danger)); }
.pod-trend--warn,
.pod-trend--warn .pod-trend__main { color: var(--warn-text, var(--warn)); }
.pod-trend--flat,
.pod-trend--neutral,
.pod-trend--neutral .pod-trend__main {
  color: var(--text-muted);
}
.pod-metric__spark {
  display: block;
  width: 100%;
  height: 22px;
  margin-top: 6px;
  cursor: crosshair;
  touch-action: pan-y;
  user-select: none;
}

.pod-chart {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 12px 14px 8px;
  margin-bottom: 10px;
}
.pod-chart:last-child { margin-bottom: 0; }
.pod-chart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.pod-chart__title {
  font-size: var(--fs-12);
  font-weight: 650;
  color: var(--text);
  min-width: 0;
}
.pod-chart__sep {
  color: var(--text-disabled);
  font-weight: 500;
}
.pod-chart__range {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.pod-chart__meta {
  flex: none;
  font-size: 11px;
  font-weight: 550;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.pod-chart__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 2px;
}
.pod-chart__cap {
  margin-left: auto;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-disabled);
  font-variant-numeric: tabular-nums;
}
.pod-leg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 550;
  color: var(--text-secondary);
}
.pod-leg__swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}
.pod-leg__swatch--blue { background: var(--blue); }
.pod-leg__swatch--ok { background: var(--ok); }
.pod-leg__swatch--danger { background: var(--danger); }
.pod-leg__swatch--p95 {
  background: transparent;
  border: 1.5px dashed #7c3aed;
  box-sizing: border-box;
}
.pod-chart__canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 165px;
  cursor: crosshair;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.pod-chart,
.pod-chart__legend,
.pod-chart__head {
  touch-action: pan-y;
}

/* Chart / spark tooltips — never intercept wheel/pointer */
.pod-chart-tip {
  position: fixed;
  z-index: 12000;
  min-width: 148px;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-inverse, #1e2430);
  color: var(--text-inverse, #f5f7fa);
  box-shadow: none;
  pointer-events: none !important;
  font-size: 11px;
}
.pod-chart-tip__t {
  margin-bottom: 6px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.72);
}
.pod-chart-tip__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.pod-chart-tip__row span { color: rgba(255, 255, 255, 0.65); }
.pod-chart-tip__row b { font-weight: 650; color: #fff; }

[data-theme="dark"] .pod-chart-tip {
  background: var(--surface-elevated, #232a36);
  border-color: var(--border);
  color: var(--text);
}
[data-theme="dark"] .pod-chart-tip__t { color: var(--text-muted); }
[data-theme="dark"] .pod-chart-tip__row span { color: var(--text-secondary); }
[data-theme="dark"] .pod-chart-tip__row b { color: var(--text); }

/* DateTimeRangePicker — compact custom range (~400px, no internal scroll) */
.popover.pod-custom-pop,
.pod-custom-pop.popover,
.popover.dtr-pop,
.dtr-pop.popover {
  width: min(400px, calc(100vw - 24px)) !important;
  max-width: min(400px, calc(100vw - 24px)) !important;
  max-height: calc(100dvh - 24px);
  padding: 0 !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-menu);
}
.dtr-pop__shell,
.pod-custom-pop__shell {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-height: 100%;
  overflow: hidden;
}
.dtr-pop__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 16px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* Constrained: keep footer visible; scroll the calendar/fields */
.dtr-pop.is-constrained .dtr-pop__body,
.pod-custom-pop.is-constrained .dtr-pop__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.dtr-pop.is-constrained .dtr-pop__foot,
.pod-custom-pop.is-constrained .dtr-pop__foot {
  flex: none;
}

.dtr-pop__head { margin: 0 0 12px; }
.dtr-pop__title {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.dtr-pop__help {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.dtr-pop__presets {
  display: none; /* Presets removed from Custom — chips live next to Custom. */
}
.dtr-pop__preset { display: none; }

.dtr-pop__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.dtr-pop__col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.dtr-pop__col.is-active .dtr-pop__lab { color: var(--blue); }
.dtr-pop__lab {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.dtr-pop__inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 8px;
  align-items: stretch;
}
.dtr-pop__fields--dtp .dtr-pop__inputs,
.dtr-pop__inputs--dtp {
  display: block;
  grid-template-columns: none;
}
.dtr-pop__fields--dtp .dtp {
  width: 100%;
  margin: 0;
}
.dtr-pop__fields--dtp .dtp__label { display: none; }
.dtr-pop__fields--dtp .dtp__error { display: none; }
.dtr-pop__fields--dtp .dtp__control {
  height: 36px;
}
.dtr-pop__fields--dtp .dtp__input {
  font-size: 13px;
  font-weight: 500;
}
.dtr-pop__col.is-invalid .dtp__control {
  border-color: var(--danger-border, var(--danger));
}
.dtr-pop__col.is-active .dtp__control {
  border-color: var(--blue);
}
.dtr-pop__input {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  min-width: 0;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-sizing: border-box;
  overflow: hidden;
}
.dtr-pop__input input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 10px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  outline: none;
  box-sizing: border-box;
  box-shadow: none;
}
.dtr-pop__input--date input,
.dtr-pop__input--icon-right input {
  padding: 0 4px 0 10px;
  cursor: text;
}
.dtr-pop__input--time input {
  padding: 0 10px 0 4px;
}
.dtr-pop__cal-btn {
  position: static;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 3px 0 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transform: none;
}
.dtr-pop__cal-btn .icon { width: 14px; height: 14px; flex: none; }
.dtr-pop__cal-btn:hover,
.dtr-pop__cal-btn:focus-visible {
  background: var(--hover);
  color: var(--blue);
}
.dtr-pop__input.is-cal-open .dtr-pop__cal-btn,
.dtr-pop__col.is-cal-target .dtr-pop__cal-btn {
  color: var(--blue);
  background: var(--blue-soft);
}
.dtr-pop__col.is-cal-target .dtr-pop__input:not(.is-invalid) {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--border));
}
.dtr-pop__col.is-cal-target .dtr-pop__input input:not(.is-invalid):not(:focus) {
  border-color: transparent;
}
.dtr-cal-panel--sheet {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--border-soft);
}
.dtr-cal-panel__hint {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.dtr-pop__input:hover { border-color: var(--border-strong, var(--border)); }
.dtr-pop__input:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-soft);
}
.dtr-pop__input input:hover { border-color: transparent; }
.dtr-pop__input input:focus {
  border-color: transparent;
  box-shadow: none;
}
.dtr-pop__input input.is-invalid,
.dtr-pop__col.is-invalid .dtr-pop__input:not(:focus-within) {
  border-color: var(--danger, #dc2626);
}
.dtr-pop__col.is-invalid .dtr-pop__input input:not(:focus) {
  border-color: transparent;
}
.dtr-pop__col.is-active .dtr-pop__input:not(:focus-within):not(.is-invalid) {
  border-color: color-mix(in srgb, var(--blue) 40%, var(--border));
}
.dtr-pop__col.is-active .dtr-pop__input input:not(:focus):not(.is-invalid) {
  border-color: transparent;
}
.dtr-pop__ico {
  position: static;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 100%;
  margin: 0;
  padding: 0 0 0 6px;
  color: var(--text-muted);
  pointer-events: none;
  transform: none;
  line-height: 0;
}
.dtr-pop__ico .icon {
  width: 14px;
  height: 14px;
  display: block;
  flex: none;
}

.dtr-cal {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  flex: none;
}
.dtr-cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  margin-bottom: 6px;
}
.dtr-cal__month {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.dtr-cal__navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.dtr-cal__navbtn:hover { background: var(--hover); color: var(--text); }
.dtr-cal__navbtn .icon { width: 15px; height: 15px; }
.dtr-cal__week,
.dtr-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 32px);
  gap: 2px;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
}
.dtr-cal__week { margin-bottom: 2px; }
.dtr-cal__grid {
  min-height: 160px; /* 5 rows × 30px + gaps — never collapse to empty */
}
.dtr-cal__wd {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}
.dtr-cal__day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 32px;
  min-width: 32px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 12px !important;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dtr-cal__day:hover:not(:disabled):not(.is-start):not(.is-end):not(.is-single) {
  background: var(--hover);
}
.dtr-cal__day:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--blue-soft);
  z-index: 1;
}
.dtr-cal__day.is-outside { color: var(--text-muted); opacity: 0.55; }
.dtr-cal__day.is-today:not(.is-start):not(.is-end):not(.is-single) {
  border-color: var(--border-strong, var(--border));
  font-weight: 650;
}
.dtr-cal__day.is-range {
  background: var(--blue-soft);
  border-radius: 0;
}
.dtr-cal__day.is-start,
.dtr-cal__day.is-end,
.dtr-cal__day.is-single {
  background: var(--blue);
  color: var(--text-on-blue, #fff);
  font-weight: 650;
  border-color: var(--blue);
}
.dtr-cal__day.is-start { border-radius: 6px 0 0 6px; }
.dtr-cal__day.is-end { border-radius: 0 6px 6px 0; }
.dtr-cal__day.is-single,
.dtr-cal__day.is-start.is-end { border-radius: 6px; }
.dtr-cal__day.is-disabled,
.dtr-cal__day:disabled {
  color: var(--text-muted);
  opacity: 0.45;
  cursor: not-allowed;
  background: transparent;
}

.dtr-pop__err {
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--danger-text, var(--danger));
}

.dtr-pop__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  min-height: 52px;
  padding: 10px 16px 12px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
  box-sizing: border-box;
}
.dtr-pop__tz {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dtr-pop__tz-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: default;
  flex: none;
}
.dtr-pop__tz-info .icon { width: 12px; height: 12px; }
.dtr-pop__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.dtr-pop__actions .btn {
  height: 36px;
  min-width: 0;
  padding: 0 14px;
}

@media (max-width: 420px) {
  .dtr-pop__inputs {
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  .dtr-cal__week,
  .dtr-cal__grid {
    grid-template-columns: repeat(7, 30px);
  }
  .dtr-cal__wd,
  .dtr-cal__day {
    width: 30px;
  }
  .dtr-cal__day { height: 28px; }
  .dtr-pop__foot {
    flex-wrap: wrap;
    gap: 8px;
  }
  .dtr-pop__actions { margin-left: auto; }
}

/* ---- Destinations ---- */
.pod-sum {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.pod-sum__cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 72px;
  max-height: 84px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.pod-sum__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pod-sum__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.pod-sum__value--domain {
  font-size: 13px;
  font-weight: 650;
}
.pod-sum__sub {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.pod-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.pod-search {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}
.pod-search__ico {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  color: var(--icon-muted);
  pointer-events: none;
}
.pod-search__ico .icon { width: 14px; height: 14px; }
.pod-search__input {
  width: 100%;
  height: 32px;
  padding: 0 10px 0 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: var(--fs-12);
  font-weight: 500;
}
.pod-search.has-value .pod-search__input { padding-right: 30px; }
.pod-search__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: var(--focus-ring);
}
.pod-search__input::-webkit-search-cancel-button { display: none; }
.pod-search__clear {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--icon-muted);
  cursor: pointer;
}
.pod-search__clear .icon { width: 12px; height: 12px; pointer-events: none; }
.pod-search__clear:hover {
  background: var(--hover);
  color: var(--icon);
}
.pod-search__clear:focus { outline: none; }
.pod-search__clear:focus-visible { box-shadow: var(--focus-ring); }
.pod-updating {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.pod-updating[hidden] { display: none !important; }
.pod-tools__filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.pod-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.pod-chip:hover {
  background: var(--hover);
  color: var(--text);
}
.pod-chip.is-active {
  border-color: color-mix(in srgb, var(--blue) 35%, var(--border));
  background: var(--blue-soft);
  color: var(--text);
}
.pod-chip.is-disabled,
.pod-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pod-chip:focus { outline: none; }
.pod-chip:focus-visible { box-shadow: var(--focus-ring); }

.pod-dest-range {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  flex: none;
  transition: background 0.12s, border-color 0.12s;
}
.pod-dest-range:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}
.pod-dest-range:focus { outline: none; }
.pod-dest-range:focus-visible { box-shadow: var(--focus-ring); }
.pod-dest-range__ico,
.pod-dest-range__chev {
  display: inline-flex;
  color: var(--icon-secondary);
}
.pod-dest-range__ico .icon { width: 13px; height: 13px; }
.pod-dest-range__chev { color: var(--icon-muted); }
.pod-dest-range__chev .icon { width: 12px; height: 12px; }

.pod-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.pod-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.pod-col--rank { width: 40px; }
.pod-col--dest { width: auto; }
.pod-col--activity { width: 100px; }
.pod-col--traffic { width: 84px; }
.pod-col--share { width: 104px; }
.pod-col--seen { width: 92px; }
.pod-col--trend { width: 96px; }

.pod-th {
  padding: 8px 10px;
  height: 36px;
  text-align: left;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  box-sizing: border-box;
}
.pod-th--trend {
  padding-right: 14px;
  text-align: left;
  overflow: visible;
}
.pod-th[data-pod-sort] {
  cursor: pointer;
  user-select: none;
}
.pod-th[data-pod-sort]:hover { color: var(--text); }
.pod-th.is-sorted { color: var(--text); }
.pod-th__sort {
  margin-left: 3px;
  font-size: 10px;
  font-weight: 700;
}
.pod-th--rank, .pod-td--rank { text-align: center; }
.pod-th--num, .pod-td--num { text-align: right; font-variant-numeric: tabular-nums; }
.pod-th--traffic, .pod-td--traffic { white-space: nowrap; }
.pod-td--trend {
  text-align: right;
  padding-right: 14px;
  overflow: hidden;
}
.pod-traf {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 12px;
}
.pod-traf--dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.pod-traf__down,
.pod-traf__up {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.pod-traf__total { display: none; }
/* Drawer ~700px: prefer total traffic to keep Trend fully usable. */
@container pod-scroll (max-width: 760px) {
  .pod-traf--dir .pod-traf__down,
  .pod-traf--dir .pod-traf__up { display: none; }
  .pod-traf--dir .pod-traf__total { display: inline; }
  .pod-col--traffic { width: 76px; }
}
.pod-td {
  padding: 0 10px;
  height: 46px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 12.5px;
  color: var(--text);
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
  overflow: hidden;
}
.pod-td--domain {
  min-width: 0;
}
.pod-table tbody tr:last-child .pod-td { border-bottom: none; }
.pod-table tbody tr:hover { background: var(--hover); }
.pod-td--empty {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 12px;
  height: auto;
}
.pod-td--seen {
  color: var(--text-secondary);
  white-space: nowrap;
  font-size: 12px;
}
.pod-row.is-live .pod-td--seen { color: var(--text); font-weight: 600; }
.pod-dom {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  /* Continuous hit target: icon + text + New */
  padding: 2px 0;
}
.pod-dom__ico {
  display: inline-flex;
  color: var(--icon-secondary);
  flex: none;
  pointer-events: none;
}
.pod-dom__ico .icon { width: 13px; height: 13px; }
.pod-dom__text {
  min-width: 0;
  font-weight: 600;
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}
.pod-dom__new {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  pointer-events: none;
}
.pod-live-dot--dest {
  width: 7px;
  height: 7px;
  flex: none;
  pointer-events: none;
}
.pod-live-dot--dest.is-live,
.pod-row.is-live .pod-live-dot--dest {
  background: var(--ok);
}
.pod-row__compact {
  display: none;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.pod-row__compact-line + .pod-row__compact-line { margin-top: 2px; }
.pod-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pod-share__bar {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  flex: none;
}
.pod-share__bar i {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
}
.pod-share__pct {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 42px;
  font-size: 12px;
}
.pod-row__spark {
  display: block;
  width: 100%;
  max-width: 80px;
  height: 24px;
  margin-left: auto;
  vertical-align: middle;
  pointer-events: auto;
  box-sizing: border-box;
}

.pod-table-wrap .pod-pager {
  margin: 0;
  padding: 8px 10px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface);
}
.pod-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}
.pod-pager__meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.pod-pager__nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pod-pager__btn {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pod-pager__btn .icon {
  width: 14px;
  height: 14px;
}

.pod-empty {
  padding: 36px 16px;
  text-align: center;
  color: var(--text-secondary);
}
.pod-empty p { margin: 0 0 6px; font-size: 13px; }
.pod-empty strong { color: var(--text); font-weight: 700; }

/* Destinations responsive — drawer CONTENT width (not viewport).
   Use visibility:collapse on columns (not display:none on cells) so thead/tbody stay aligned. */
@container pod-scroll (max-width: 620px) {
  .pod-col--trend { visibility: collapse; width: 0; }
  .pod-th--trend,
  .pod-td--trend { visibility: collapse; border: none; padding: 0; font-size: 0; }
}
@container pod-scroll (max-width: 560px) {
  .pod-sum { grid-template-columns: 1fr 1fr; }
  .pod-col--rank { visibility: collapse; width: 0; }
  .pod-th--rank,
  .pod-td--rank { visibility: collapse; border: none; padding: 0; font-size: 0; }
  .pod-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .pod-search { grid-column: 1 / 2; }
  .pod-dest-range { grid-column: 2 / 3; }
  .pod-tools__filters { grid-column: 1 / -1; }
  .pod-updating { grid-column: 1 / -1; }
}
@container pod-scroll (max-width: 480px) {
  .pod-col--traffic,
  .pod-col--share { visibility: collapse; width: 0; }
  .pod-th--traffic,
  .pod-td--traffic,
  .pod-th--share,
  .pod-td--share { visibility: collapse; border: none; padding: 0; font-size: 0; }
  .pod-col--activity { width: 22%; }
  .pod-col--seen { width: 22%; }
  .pod-col--dest { width: 56%; }
  .pod-dom {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .pod-dom__text { flex: 1 1 auto; min-width: 0; }
}

/* Mobile viewport: Top destinations fills the sheet — aligned 3-column table. */
@media (max-width: 767px) {
  .pod-body--dest {
    padding: 12px 12px 10px;
  }
  .pod-body--dest .pod-col--rank,
  .pod-body--dest .pod-col--traffic,
  .pod-body--dest .pod-col--share,
  .pod-body--dest .pod-col--trend {
    visibility: collapse;
    width: 0 !important;
  }
  .pod-body--dest .pod-th--rank,
  .pod-body--dest .pod-td--rank,
  .pod-body--dest .pod-th--traffic,
  .pod-body--dest .pod-td--traffic,
  .pod-body--dest .pod-th--share,
  .pod-body--dest .pod-td--share,
  .pod-body--dest .pod-th--trend,
  .pod-body--dest .pod-td--trend {
    visibility: collapse;
    border: none !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }
  /* Override card-stack: keep a real table on phones. */
  .pod-body--dest .pod-table thead {
    display: table-header-group !important;
  }
  .pod-body--dest .pod-table {
    display: table !important;
    width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
  }
  .pod-body--dest .pod-table tbody {
    display: table-row-group !important;
  }
  .pod-body--dest .pod-table tr.pod-row {
    display: table-row !important;
    padding: 0;
    border: none;
  }
  .pod-body--dest .pod-td--domain,
  .pod-body--dest .pod-td--activity,
  .pod-body--dest .pod-td--seen {
    display: table-cell !important;
    visibility: visible !important;
    height: 46px;
    padding: 0 8px !important;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: middle;
    font-size: 12.5px !important;
    line-height: normal !important;
  }
  .pod-body--dest .pod-th--dest,
  .pod-body--dest .pod-th--activity,
  .pod-body--dest .pod-th--seen {
    display: table-cell !important;
    visibility: visible !important;
    height: 36px;
    padding: 0 8px !important;
    font-size: 10px !important;
    line-height: normal !important;
  }
  .pod-body--dest .pod-row__compact {
    display: none !important;
  }
  .pod-body--dest .pod-col--dest {
    visibility: visible !important;
    width: 56% !important;
  }
  .pod-body--dest .pod-col--activity {
    visibility: visible !important;
    width: 22% !important;
  }
  .pod-body--dest .pod-col--seen {
    visibility: visible !important;
    width: 22% !important;
  }
  .pod-body--dest .pod-table-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .pod-body--dest .pod-th--dest,
  .pod-body--dest .pod-td--domain {
    padding-left: 10px !important;
    min-width: 0;
  }
  .pod-body--dest .pod-th--seen,
  .pod-body--dest .pod-td--seen {
    padding-right: 10px !important;
    white-space: nowrap;
  }
  .pod-body--dest .pod-th--activity,
  .pod-body--dest .pod-td--activity {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .pod-body--dest .pod-dom {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    overflow: hidden;
  }
  .pod-body--dest .pod-dom__text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Performance responsive: container width of drawer content — NOT viewport.
   Drawer is ~700px; keep 3×3 until content is truly narrow. */
@container pod-perf (max-width: 560px) {
  .pod-segs--wide { display: none; }
  .pod-period-select { display: inline-block; }
  .pod-toolbar {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .pod-toolbar__right {
    width: 100%;
    justify-content: flex-end;
  }
}

@container pod-scroll (max-width: 519px) {
  .pod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container pod-scroll (max-width: 379px) {
  .pod-grid { grid-template-columns: 1fr; }
  .pod-metric__spark { display: none; }
}

@media (max-width: 767px) {
  /* Compact KPI numbers — Performance tab in port observability (mobile only). */
  .drawer--pod .pod-metric__value {
    font-size: 14px;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
    line-height: 1.15;
  }
  .drawer--pod .pod-speed {
    font-size: 12px;
    gap: 0;
    line-height: 1.25;
  }
  .drawer--pod .pod-metric {
    padding: 8px 10px 6px;
  }
  .drawer--pod .pod-metric__label {
    margin-bottom: 2px;
    font-size: 10px;
  }
  .drawer--pod .pod-unit {
    font-size: 10px;
  }
  .drawer--pod .pod-metric__hint,
  .drawer--pod .pod-trend {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .drawer--pod .drawer__panel { transition: opacity 0.12s; }
}

/* Traffic logs tab (selected port) */
.pod-logs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  width: 100%;
}
.pod-logs__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  min-width: 0;
}
.pod-logs__toolbar-left,
.pod-logs__toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pod-logs__toolbar-right {
  margin-left: auto;
}
.pod-logs__period {
  font-size: var(--fs-12);
  font-weight: 550;
  color: var(--text-secondary);
}
.pod-logs__port {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pod-logs__toolbar-right .btn .icon {
  width: 14px;
  height: 14px;
}
.pod-logs__hint {
  margin: 0;
  font-size: var(--fs-11);
  color: var(--text-muted);
  line-height: 1.4;
}
.pod-table-wrap--logs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pod-table--logs {
  min-width: 0;
}
.pod-col--log-time { width: 88px; }
.pod-col--log-client { width: 132px; }
.pod-col--log-dest { width: auto; }
.pod-col--log-traffic { width: 88px; }
.pod-col--log-duration { width: 88px; }

.pod-table--logs .pod-th,
.pod-table--logs .pod-td {
  padding: 8px 10px;
  vertical-align: middle;
}
.pod-table--logs .pod-th--log-time,
.pod-table--logs .pod-td--log-time,
.pod-table--logs .pod-th--log-client,
.pod-table--logs .pod-td--log-client,
.pod-table--logs .pod-td--log-duration {
  white-space: nowrap;
}
.pod-table--logs .pod-td--log-dest {
  min-width: 0;
}
.pod-log-dest {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--fs-12);
  font-weight: 550;
  color: var(--text);
}
.pod-empty--logs {
  padding: 20px 14px;
  text-align: left;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.pod-empty--logs p {
  margin: 0 0 4px;
  font-size: var(--fs-13);
  color: var(--text-secondary);
  line-height: 1.4;
}
.pod-empty--logs p:last-child { margin-bottom: 0; }
.pod-empty--logs strong { color: var(--text); }

.pod-body--logs {
  min-width: 0;
}

@media (max-width: 767px) {
  .pod-logs__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .pod-logs__toolbar-left,
  .pod-logs__toolbar-right {
    width: 100%;
    justify-content: space-between;
  }
  .pod-logs__toolbar-right {
    margin-left: 0;
  }
  .pod-logs__port {
    max-width: none;
    flex: 1;
  }
  .pod-logs__toolbar-right .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .pod-col--log-time { width: 72px; }
  .pod-col--log-client,
  .pod-th--log-client,
  .pod-td--log-client {
    visibility: collapse;
    width: 0;
    padding: 0 !important;
    border: none !important;
    font-size: 0;
  }
  .pod-col--log-traffic { width: 72px; }
  .pod-col--log-duration { width: 72px; }
  .pod-table--logs .pod-th,
  .pod-table--logs .pod-td {
    padding: 8px 8px;
  }
  .pod-log-dest { font-size: 11px; }
}

/* Overview card: eye trigger + selected state */
.ov-card__obs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--icon-secondary);
  cursor: pointer;
  flex: none;
  transition: background 0.12s, color 0.12s;
}
.ov-card__obs .icon {
  width: 15px;
  height: 15px;
  pointer-events: none;
}
.ov-card__obs:hover {
  background: var(--hover);
  color: var(--icon);
}
.ov-card__obs:focus { outline: none; }
.ov-card__obs:focus-visible { box-shadow: var(--focus-ring); }

.ov-card.is-obs-open {
  border-color: var(--blue-border);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 22%, transparent);
}
@supports not (background: color-mix(in srgb, white 50%, black)) {
  .ov-card.is-obs-open {
    box-shadow: 0 0 0 1px var(--blue-soft);
  }
}

/* List row selected state mirrors card selection (subtle) */
.ov-list__row.is-obs-open .ov-card__obs {
  color: var(--icon);
}
