:root {
  color-scheme: dark;
  --bg: #05080d;
  --surface: #08131d;
  --surface-strong: #0a1b28;
  --surface-soft: #0b2231;
  --line: rgba(88, 143, 174, 0.28);
  --line-bright: rgba(82, 96, 201, 0.72);
  --text: #f3f7fa;
  --muted: #96a8b8;
  --accent: #6657d9;
  --accent-soft: rgba(102, 87, 217, 0.2);
  --danger: #ef6c72;
  --warning: #e2b15c;
  --success: #5bd1a5;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

button {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  background:
    linear-gradient(rgba(5, 8, 13, 0.76), rgba(5, 8, 13, 0.86)),
    radial-gradient(circle at 76% 18%, rgba(102, 87, 217, 0.52), transparent 35%),
    radial-gradient(circle at 18% 72%, rgba(77, 49, 170, 0.36), transparent 35%),
    radial-gradient(circle at 52% 48%, rgba(40, 31, 96, 0.24), transparent 42%),
    linear-gradient(115deg, rgba(18, 14, 46, 0.68) 0%, rgba(5, 8, 13, 0.34) 44%, rgba(15, 12, 40, 0.70) 100%),
    repeating-linear-gradient(90deg, transparent 0 159px, rgba(82, 96, 201, 0.04) 160px);
  background-attachment: fixed;
  background-size: cover;
}

.login-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(5, 8, 13, 0.76), rgba(5, 8, 13, 0.86)),
    radial-gradient(circle at 76% 18%, rgba(102, 87, 217, 0.52), transparent 35%),
    radial-gradient(circle at 18% 72%, rgba(77, 49, 170, 0.36), transparent 35%),
    radial-gradient(circle at 52% 48%, rgba(40, 31, 96, 0.24), transparent 42%),
    linear-gradient(115deg, rgba(18, 14, 46, 0.68) 0%, rgba(5, 8, 13, 0.34) 44%, rgba(15, 12, 40, 0.70) 100%),
    repeating-linear-gradient(90deg, transparent 0 159px, rgba(82, 96, 201, 0.04) 160px);
  background-attachment: fixed;
  background-size: cover;
}

.login-panel {
  width: min(430px, 100%);
  padding: 34px;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: rgba(8, 19, 29, 0.96);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.4);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 54px;
  font-size: 18px;
  font-weight: 850;
}

.login-brand sup {
  margin-left: 2px;
  color: var(--muted);
  font-size: 8px;
}

.login-panel h1 {
  margin-bottom: 24px;
}

.login-panel form {
  display: grid;
  gap: 16px;
}

.login-panel label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.login-panel input {
  min-height: 48px;
  margin-top: 8px;
  padding: 0 14px;
}

.form-error {
  min-height: 20px;
  margin: -4px 0 0;
  color: #ff9ca0;
  font-size: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-height);
  padding: 10px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 13, 0.96);
  backdrop-filter: blur(18px);
}

.brand-venue-group {
  display: flex;
  align-items: center;
  gap: 75px;
  flex-shrink: 0;
}
.topbar .view-switch { flex-shrink: 0; margin: 0 auto; }
.topbar-actions { flex-shrink: 0; }
.topbar .topbar-actions { grid-column: 4; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
}

.brand sup {
  margin-left: 2px;
  color: var(--muted);
  font-size: 8px;
}

.brand-mark,
.empty-mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  box-shadow: inset 0 0 0 5px rgba(82, 96, 201, 0.14);
}

.venue-switch {
  position: relative;
  min-width: 295px;
  flex-shrink: 0;
  padding: 0 24px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.venue-switch select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.venue-button {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px;
  border: 1px solid var(--line-bright);
  border-radius: 5px;
  background: #050b11;
  color: var(--text);
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.venue-button::after {
  content: "⌄";
  color: var(--text);
  font-size: 16px;
  line-height: 1;
}

.venue-button[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(102, 87, 217, 0.18);
}

.venue-button:hover,
.venue-button:focus-visible {
  border-color: var(--accent);
  background: #0b1022;
  box-shadow: inset 0 0 0 1px rgba(102, 87, 217, 0.18), 0 0 20px rgba(102, 87, 217, 0.18);
  outline: none;
}

.venue-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 24px;
  right: 24px;
  z-index: 60;
  display: none;
  overflow: hidden;
  border: 1px solid var(--accent);
  border-radius: 0 0 5px 5px;
  background: #14112b;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.46);
}

.venue-switch.is-open .venue-menu {
  display: block;
}

.venue-menu button {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: #14112b;
  color: var(--text);
  text-align: left;
  font-weight: 750;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.venue-menu button:hover,
.venue-menu button:focus-visible,
.venue-menu button.is-active {
  background: var(--accent);
  color: #ffffff;
  outline: none;
}

.training-export-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

#trainingExportButton {
  border-color: var(--accent);
}

#trainingExportButton:hover {
  background: rgba(102, 87, 217, 0.12);
}

.training-export-menu {
  position: relative;
}

.training-export-options {
  position: absolute;
  bottom: calc(100% + 4px);
  right: 0;
  z-index: 60;
  overflow: hidden;
  min-width: 160px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: #14112b;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.46);
}

.training-export-options button {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  background: #14112b;
  color: var(--text);
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.training-export-options button:hover,
.training-export-options button:focus-visible {
  background: var(--accent);
  color: #ffffff;
  outline: none;
}

.view-switch {
  display: flex;
  gap: 4px;
  margin: 0 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.view-switch button,
.filters button,
.evidence-tabs button {
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.view-switch button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.view-switch button[data-view="godmode"] {
  animation: disco-lights 3s linear infinite;
}

@keyframes disco-lights {
  0%   { box-shadow: 0 0 12px 2px rgba(255, 87, 87, 0.7);   border-color: rgba(255, 87, 87, 0.7); }
  20%  { box-shadow: 0 0 12px 2px rgba(255, 196, 0, 0.7);   border-color: rgba(255, 196, 0, 0.7); }
  40%  { box-shadow: 0 0 12px 2px rgba(87, 255, 140, 0.7);  border-color: rgba(87, 255, 140, 0.7); }
  60%  { box-shadow: 0 0 12px 2px rgba(87, 190, 255, 0.7);  border-color: rgba(87, 190, 255, 0.7); }
  80%  { box-shadow: 0 0 12px 2px rgba(200, 87, 255, 0.7);  border-color: rgba(200, 87, 255, 0.7); }
  100% { box-shadow: 0 0 12px 2px rgba(255, 87, 87, 0.7);   border-color: rgba(255, 87, 87, 0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .view-switch button[data-view="godmode"] {
    animation: none;
  }
}

.view-switch button.is-active,
.filters button.is-active,
.evidence-tabs button.is-active {
  background: var(--accent-soft);
  color: var(--text);
}

.view-switch:not(.icon-mode) button:not(.is-active):hover,
.view-switch button:focus-visible,
.filters button:not(.is-active):hover,
.filters button:focus-visible {
  color: var(--text);
  background: rgba(102, 87, 217, 0.1);
  box-shadow: inset 0 0 0 1px rgba(102, 87, 217, 0.32), 0 0 18px rgba(102, 87, 217, 0.14);
  outline: none;
}

.view-switch.icon-mode button {
  position: relative;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: visible;
}

.view-switch.icon-mode button::after {
  content: attr(data-icon);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
}

.view-switch.icon-mode button[data-view="review"]::after { background: #b8aef7; color: #1a1230; }
.view-switch.icon-mode button[data-view="supervisor"]::after { background: #9686ef; }
.view-switch.icon-mode button[data-view="owner"]::after { background: #6657d9; }
.view-switch.icon-mode button[data-view="godmode"]::after { background: #4d3fb0; }
.view-switch.icon-mode button[data-view="leads"]::after { background: #362d80; }

.view-switch.icon-mode button.is-active::after {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #fff, 0 0 18px rgba(102, 87, 217, 0.5);
}

.view-switch.icon-mode button:hover::after {
  transform: scale(1.08);
  transition: transform 0.18s ease;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.system-state {
  color: var(--muted);
  font-size: 12px;
}

.system-state span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(91, 209, 165, 0.7);
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.notification-button,
.text-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.notification-button {
  padding: 0 10px;
}

.notification-button span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  place-items: center;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
}

.text-button {
  padding: 0 12px;
}

.notification-button:hover,
.notification-button:focus-visible,
.text-button:hover,
.text-button:focus-visible {
  border-color: var(--accent);
  background: rgba(102, 87, 217, 0.1);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(102, 87, 217, 0.18), 0 0 18px rgba(102, 87, 217, 0.14);
  outline: none;
}

.avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

main {
  padding: 26px;
}

.dashboard-view {
  display: none;
  max-width: 1720px;
  margin: 0 auto;
  scroll-margin-top: var(--header-height);
}

.dashboard-view.is-active {
  display: block;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 34px;
  line-height: 1.1;
}

h2 {
  margin-bottom: 0;
  font-size: 19px;
}

h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.page-heading p {
  margin-bottom: 0;
}

.date-control {
  min-width: 160px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.metrics article {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(11, 34, 49, 0.84), rgba(6, 17, 28, 0.88));
}

.metrics span,
.metrics small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metrics strong {
  display: block;
  margin: 7px 0 5px;
  font-size: 27px;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(540px, 1.65fr) minmax(280px, 0.8fr);
  min-height: 670px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(5, 12, 19, 0.86);
}

.queue-panel,
.evidence-panel,
.decision-panel {
  min-width: 0;
}

.queue-panel,
.decision-panel {
  padding: 18px;
  background: rgba(8, 19, 29, 0.88);
}

.queue-panel {
  border-right: 1px solid var(--line);
}

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

.evidence-panel {
  padding: 20px;
}

.panel-heading,
.event-header,
.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.count-badge {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 18px 0 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.filters button {
  min-height: 32px;
  font-size: 11px;
}

.search-field {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.search-field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: none;
  background: #050b11;
  color: var(--text);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(82, 96, 201, 0.16);
}

.search-field input {
  min-height: 40px;
  padding: 0 12px;
}

.event-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.event-card {
  display: grid;
  grid-template-columns: 8px 1fr 42px;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
  cursor: pointer;
}

.event-card:hover,
.event-card.is-active {
  border-color: var(--line-bright);
  background: var(--accent-soft);
}

.severity-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
}

.severity-dot.high,
.severity-label.high {
  background: rgba(239, 108, 114, 0.16);
  color: #ff9ca0;
}

.severity-dot.urgent,
.severity-label.urgent {
  background: rgba(239, 108, 114, 0.16);
  color: #ff9ca0;
}

.severity-dot.urgent {
  background: var(--danger);
  box-shadow: 0 0 10px rgba(239, 108, 114, 0.55);
}

.severity-dot.priority,
.severity-label.priority {
  background: rgba(226, 177, 92, 0.14);
  color: #f2ca7e;
}

.severity-dot.priority {
  background: var(--warning);
}

.severity-dot.high {
  background: var(--danger);
  box-shadow: 0 0 10px rgba(239, 108, 114, 0.55);
}

.severity-dot.low,
.severity-label.low {
  background: rgba(82, 96, 201, 0.18);
  color: #80d9fa;
}

.severity-dot.low {
  background: var(--accent);
}

.event-card-copy span {
  display: block;
}

.event-card-top {
  font-size: 13px;
}

.event-card-top time,
.event-receipt,
.event-reason {
  color: var(--muted);
  font-size: 11px;
}

.event-receipt {
  margin-top: 6px;
}

.event-reason {
  margin-top: 4px;
}

.event-status {
  margin-top: 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-status.urgent {
  color: #ff9ca0;
}

.event-status.priority {
  color: #f2ca7e;
}

.event-status.rereview {
  display: inline-block;
  width: max-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(102, 87, 217, 0.22);
  color: #d8d2ff;
  box-shadow: 0 0 16px rgba(102, 87, 217, 0.32);
}

.score-ring {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--line-bright);
  border-radius: 50%;
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
}

.queue-empty {
  padding: 24px 8px;
  color: var(--muted);
  text-align: center;
}

.event-header {
  min-height: 84px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.event-title-line {
  display: flex;
  gap: 8px;
  margin-bottom: 9px;
}

.severity-label,
.status-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.status-label {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.event-header h2 {
  font-size: 25px;
}

.event-header p {
  margin: 6px 0 0;
  font-size: 13px;
}

.event-value {
  text-align: right;
}

.event-value span,
.event-value small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.event-value strong {
  display: block;
  margin: 5px 0;
  font-size: 25px;
}

.evidence-tabs {
  display: flex;
  gap: 4px;
  margin: 16px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  font-size: 12px;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.evidence-tabs button:not(.is-active):hover,
.evidence-tabs button:focus-visible {
  color: var(--text);
  border-color: rgba(102, 87, 217, 0.74);
  background: rgba(102, 87, 217, 0.1);
  box-shadow: inset 0 0 0 1px rgba(102, 87, 217, 0.16), 0 0 18px rgba(102, 87, 217, 0.14);
  outline: none;
}

.evidence-content {
  min-height: 510px;
}

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

.evidence-card,
.timeline-block,
.table-card,
.media-review,
.audio-review {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.evidence-card {
  min-height: 124px;
  padding: 16px;
}

.evidence-card.emphasis {
  border-color: rgba(239, 108, 114, 0.38);
  background: rgba(239, 108, 114, 0.06);
}

.evidence-card p {
  margin-bottom: 0;
  font-size: 12px;
}

.timeline-block,
.table-card {
  margin-top: 10px;
  padding: 16px;
}

.timeline-block .panel-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(88, 143, 174, 0.14);
}

.timeline li > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
}

.timeline p {
  margin: 0;
  font-size: 12px;
}

.evidence-table {
  margin-top: 15px;
}

.table-row {
  display: grid;
  grid-template-columns: 72px minmax(150px, 1.4fr) 70px minmax(160px, 1fr);
  gap: 12px;
  padding: 11px 8px;
  border-top: 1px solid rgba(88, 143, 174, 0.14);
  color: var(--muted);
  font-size: 12px;
}

.table-row strong {
  color: var(--text);
}

.table-head {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.media-review {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(220px, 0.8fr);
  gap: 20px;
  padding: 16px;
}

.video-placeholder {
  position: relative;
  display: grid;
  min-height: 240px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background:
    linear-gradient(rgba(3, 10, 16, 0.42), rgba(3, 10, 16, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(82, 96, 201, 0.07) 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(82, 96, 201, 0.07) 80px),
    #0a1d29;
  text-align: center;
}

.camera-reticle {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(82, 96, 201, 0.3);
  border-radius: 50%;
}

.camera-reticle::before,
.camera-reticle::after {
  position: absolute;
  content: "";
  background: rgba(82, 96, 201, 0.3);
}

.camera-reticle::before {
  top: 50%;
  left: -50px;
  width: 250px;
  height: 1px;
}

.camera-reticle::after {
  top: -50px;
  left: 50%;
  width: 1px;
  height: 250px;
}

.video-placeholder div {
  position: relative;
  z-index: 1;
}

.video-placeholder p {
  margin-bottom: 0;
}

.media-meta {
  padding: 14px;
}

.media-meta dl,
.owner-finding dl {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 750;
}

.audio-review {
  padding: 24px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 170px;
  margin-bottom: 24px;
  padding: 0 18px;
  border-radius: 5px;
  background: rgba(82, 96, 201, 0.07);
}

.waveform i {
  width: 4px;
  height: var(--height);
  border-radius: 2px;
  background: linear-gradient(var(--accent), rgba(82, 96, 201, 0.22));
}

.save-state {
  color: var(--muted);
  font-size: 10px;
}

.decision-stack {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.decision-stack label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.decision-stack select,
.decision-stack textarea {
  margin-top: 7px;
  padding: 12px;
}

.decision-stack textarea {
  resize: vertical;
}

.review-guidance {
  padding: 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.review-guidance strong {
  font-size: 12px;
}

.review-guidance p {
  margin: 6px 0 0;
  font-size: 11px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-weight: 850;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #041018;
}

.secondary-button {
  border: 1px solid var(--line-bright);
  background: transparent;
  color: var(--accent);
}

.secondary-button.is-approved {
  border-color: rgba(91, 209, 165, 0.48);
  color: var(--success);
}

.danger-button {
  border-color: rgba(239, 108, 114, 0.42);
  color: #ff9ca0;
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.primary-button:not(:disabled):hover,
.primary-button:not(:disabled):focus-visible,
.secondary-button:not(:disabled):hover,
.secondary-button:not(:disabled):focus-visible,
.evidence-pack-button:hover,
.evidence-pack-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(102, 87, 217, 0.22), 0 0 20px rgba(102, 87, 217, 0.16);
  outline: none;
}

.primary-button:not(:disabled):hover,
.primary-button:not(:disabled):focus-visible {
  background: #7567e6;
}

.secondary-button:not(:disabled):hover,
.secondary-button:not(:disabled):focus-visible,
.evidence-pack-button:hover,
.evidence-pack-button:focus-visible {
  background: rgba(102, 87, 217, 0.12);
  color: var(--text);
}

.secondary-button.danger-button:not(:disabled):hover,
.secondary-button.danger-button:not(:disabled):focus-visible {
  border-color: rgba(239, 108, 114, 0.72);
  background: rgba(239, 108, 114, 0.08);
  color: #ffb4b7;
  box-shadow: 0 0 0 1px rgba(239, 108, 114, 0.14), 0 0 18px rgba(239, 108, 114, 0.16);
}

.compact {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.owner-summary {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(500px, 1.3fr);
  gap: 14px;
}

.owner-hero-card,
.trend-card,
.owner-findings-section {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.owner-hero-card,
.trend-card {
  min-height: 270px;
  padding: 24px;
}

.owner-hero-card strong {
  display: block;
  margin-top: 30px;
  color: var(--accent);
  font-size: 62px;
  line-height: 1;
}

.owner-hero-card h2 {
  margin: 5px 0 20px;
  font-size: 24px;
}

.trend-up {
  color: var(--success);
  font-size: 11px;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  height: 180px;
  margin-top: 24px;
  padding-top: 12px;
  border-bottom: 1px solid var(--line);
}

.bar-chart span {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bar-chart span::before {
  width: min(34px, 72%);
  height: var(--bar);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(var(--accent), rgba(82, 96, 201, 0.24));
  content: "";
}

.bar-chart i {
  position: absolute;
  bottom: -24px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.training-summary {
  display: grid;
  grid-template-columns: minmax(400px, 1.2fr) minmax(320px, 0.8fr);
  gap: 14px;
  margin-top: 20px;
}

.training-camera-section {
  margin-top: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.pie-chart-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.pie-chart {
  flex: 0 0 auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(var(--line) 0 100%);
  box-shadow: 0 0 0 1px var(--line);
}

.pie-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pie-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.pie-legend-item.is-empty {
  opacity: 0.4;
}

.pie-legend-item.is-empty .pie-legend-swatch {
  opacity: 0.5;
}

.pie-legend-swatch {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.pie-legend-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pie-legend-count {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--text);
  font-weight: 700;
}

.owner-findings-section {
  margin-top: 14px;
  padding: 22px;
}

.owner-findings {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.owner-finding {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(250px, 0.9fr) minmax(170px, 0.65fr) auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 18px 18px 18px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-strong);
}

.owner-finding.is-saved {
  border-color: rgba(91, 209, 165, 0.46);
}

.owner-finding-copy {
  min-width: 0;
}

.finding-accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.owner-finding p {
  margin-bottom: 0;
  font-size: 12px;
}

.owner-finding dl {
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.evidence-pack {
  min-width: 0;
}

.evidence-pack summary {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.evidence-pack-content {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(5, 11, 17, 0.7);
}

.evidence-pack-content p {
  margin: 0 0 8px;
  font-size: 11px;
}

.evidence-pack-content p:last-child {
  margin-bottom: 0;
}

.owner-evidence-summary {
  display: grid;
  gap: 8px;
}

.owner-evidence-actions {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.owner-evidence-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  margin: 10px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.owner-evidence-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  padding-top: 8px;
  border-top: 1px solid rgba(88, 143, 174, 0.14);
}

.owner-evidence-list li > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
}

.owner-evidence-list p {
  margin: 0;
  font-size: 11px;
}

.owner-actions {
  display: grid;
  gap: 8px;
  min-width: 92px;
}

.empty-state {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.empty-state .empty-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
}

.empty-state p {
  max-width: 480px;
}

.supervisor-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.45fr) minmax(280px, 0.8fr);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 12, 19, 0.86);
}

.supervisor-queue-panel,
.supervisor-action-panel {
  min-width: 0;
  padding: 18px;
  background: rgba(8, 19, 29, 0.88);
}

.supervisor-queue-panel {
  border-right: 1px solid var(--line);
}

.supervisor-detail-panel {
  min-width: 0;
  padding: 20px;
}

.supervisor-action-panel {
  border-left: 1px solid var(--line);
  padding-left: 17px;
}

.supervisor-event-list {
  margin-top: 18px;
}

.supervisor-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.notification-route {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
}

.notification-route strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 14px;
}

.notification-route p {
  margin: 0;
  font-size: 11px;
}

.notification-centre {
  margin-top: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.notification-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.notification-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-strong);
}

.notification-row div span,
.notification-row time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.notification-row p {
  margin: 0;
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 48px));
  padding: 13px 16px;
  transform: translateY(18px);
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  background: #0a1b28;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .venue-switch,
  .system-state {
    display: none;
  }

  .workspace {
    grid-template-columns: 280px 1fr;
  }

  .supervisor-workspace {
    grid-template-columns: 280px 1fr;
  }

  .decision-panel,
  .supervisor-action-panel {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .decision-stack {
    grid-template-columns: repeat(2, 1fr);
  }

  .decision-stack label:last-of-type,
  .review-guidance {
    grid-column: 1 / -1;
  }

  .owner-finding {
    grid-template-columns: minmax(260px, 1.2fr) minmax(260px, 1fr);
  }

  .evidence-pack,
  .owner-actions {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .view-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: stretch;
    margin: 0;
  }

  .view-switch button {
    flex: 1;
  }

  .venue-switch {
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 10px 0 0;
    border: 0;
  }

  .venue-menu {
    top: 100%;
    left: 0;
    right: 0;
  }

  .topbar-actions .icon-button,
  .topbar-actions .avatar,
  .system-state {
    display: none;
  }

  .topbar-actions {
    gap: 8px;
  }

  main {
    padding: 18px;
  }

  .page-heading,
  .event-header {
    align-items: flex-start;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace {
    display: block;
  }

  .queue-panel,
  .decision-panel {
    border: 0;
  }

  .queue-panel {
    border-bottom: 1px solid var(--line);
  }

  .event-list {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .media-review,
  .owner-summary,
  .owner-finding,
  .notification-row {
    grid-template-columns: 1fr;
  }

  .owner-finding dl {
    grid-template-columns: repeat(3, 1fr);
  }

  .supervisor-workspace {
    display: block;
  }

  .supervisor-queue-panel,
  .supervisor-action-panel {
    border: 0;
  }

  .supervisor-queue-panel {
    border-bottom: 1px solid var(--line);
  }

  .supervisor-action-panel {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 28px;
  }

  .page-heading {
    display: block;
  }

  .date-control,
  .page-heading > .primary-button {
    margin-top: 16px;
  }

  .metrics,
  .overview-grid,
  .decision-stack {
    grid-template-columns: 1fr;
  }

  .event-list {
    display: grid;
  }

  .evidence-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .evidence-tabs button {
    width: 100%;
    border-radius: 4px;
  }

  .table-row {
    grid-template-columns: 62px 1fr;
  }

  .table-row span:nth-child(3),
  .table-row span:nth-child(4) {
    grid-column: 2;
  }

  .decision-stack label:last-of-type,
  .review-guidance {
    grid-column: auto;
  }

  .owner-finding dl {
    grid-template-columns: 1fr;
  }

  .supervisor-review-grid {
    grid-template-columns: 1fr;
  }

  .notification-button {
    padding: 0 8px;
  }

  .text-button {
    padding: 0 8px;
  }

  .login-panel {
    padding: 26px 22px;
  }
}

.heading-with-alert {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-alert-badge,
.nav-alert-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(255, 184, 77, 0.62);
  border-radius: 999px;
  background: rgba(255, 184, 77, 0.14);
  color: #ffc66d;
  font-size: 11px;
  font-weight: 900;
}

.nav-alert-badge {
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  padding: 0 5px;
  font-size: 10px;
}

.event-card.is-rereview {
  border-color: rgba(102, 87, 217, 0.95);
  background: linear-gradient(135deg, rgba(102, 87, 217, 0.30), rgba(40, 184, 238, 0.08));
  animation: rereviewPulse 0.85s ease-in-out infinite;
}

.event-card.is-rereview .event-status {
  color: #d8d2ff;
}

.event-card.is-rereview .score-ring {
  border-color: rgba(102, 87, 217, 0.9);
  box-shadow: 0 0 22px rgba(102, 87, 217, 0.46);
}

@keyframes rereviewPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(102, 87, 217, 0), 0 0 0 rgba(40, 184, 238, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(102, 87, 217, 0.34), 0 0 40px rgba(102, 87, 217, 0.55), 0 0 20px rgba(40, 184, 238, 0.18);
  }
}

.supervisor-filters,
.owner-filters {
  margin-top: 16px;
}

.owner-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 430px;
}

.bin-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.owner-date-control select {
  min-width: 210px;
  margin-top: 7px;
}

.evidence-pack-button {
  align-self: center;
  min-width: 150px;
}

.evidence-video {
  width: 100%;
  min-height: 340px;
  max-height: 520px;
  border: 1px solid var(--line-bright);
  border-radius: 6px;
  background: #02060a;
  object-fit: contain;
}

.evidence-audio {
  width: 100%;
  margin-bottom: 22px;
  color-scheme: dark;
}

.modal-open {
  overflow: hidden;
}

.evidence-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.evidence-modal[hidden] {
  display: none;
}

.evidence-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 8, 0.84);
  backdrop-filter: blur(10px);
}

.evidence-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line-bright);
  border-radius: 7px;
  background: #07111b;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.evidence-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.evidence-modal-header h2 {
  margin: 5px 0 0;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 25px;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(102, 87, 217, 0.1);
  box-shadow: 0 0 18px rgba(102, 87, 217, 0.14);
  outline: none;
}

.owner-evidence-content {
  min-height: 540px;
}

@media (max-width: 900px) {
  .owner-date-control {
    width: 100%;
  }

  .owner-date-control select {
    width: 100%;
  }

  .evidence-modal {
    padding: 10px;
  }

  .evidence-modal-panel {
    width: 100%;
    max-height: 96vh;
    padding: 16px;
  }

  .evidence-video {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .heading-with-alert {
    align-items: flex-start;
  }

  .supervisor-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-filters {
    max-width: none;
  }

  .evidence-pack-button {
    width: 100%;
  }

  .evidence-modal-panel .evidence-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- God Mode ---- */
.godmode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .godmode-grid { grid-template-columns: 1fr; }
}
.godmode-panel {
  padding: 18px;
  background: rgba(8, 19, 29, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.godmode-panel label {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.godmode-panel input[type="text"],
.godmode-panel select {
  margin-top: 6px;
}
.godmode-panel .primary-button,
.godmode-panel .secondary-button {
  margin-top: 16px;
}
.venue-checkbox-list {
  margin-top: 6px;
  max-height: 160px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
}
.venue-checkbox-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 0 !important;
  padding: 6px 0;
  font-weight: 500 !important;
  color: var(--text) !important;
  font-size: 13px !important;
}
.venue-checkbox-item input {
  width: auto;
}
.godmode-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}
.godmode-table th,
.godmode-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.godmode-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.empty-cell {
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

/* ---- Backflow pulse (Owner restored a previously-binned finding) ---- */
.event-card.is-backflow {
  border-color: rgba(230, 168, 46, 0.95);
  background: linear-gradient(135deg, rgba(230, 168, 46, 0.30), rgba(230, 120, 46, 0.08));
  animation: backflowPulse 0.85s ease-in-out infinite;
}

.event-card.is-backflow .event-status {
  color: #ffe4b3;
}

.event-card.is-backflow .score-ring {
  border-color: rgba(230, 168, 46, 0.9);
  box-shadow: 0 0 22px rgba(230, 168, 46, 0.46);
}

@keyframes backflowPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(230, 168, 46, 0), 0 0 0 rgba(230, 120, 46, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(230, 168, 46, 0.34), 0 0 40px rgba(230, 168, 46, 0.55), 0 0 20px rgba(230, 120, 46, 0.18);
  }
}

/* ---- Tab pulse dot (any unread backflow/return item inside that tab) ---- */
[data-review-filter].has-pulse,
[data-supervisor-filter].has-pulse {
  position: relative;
}

[data-review-filter].has-pulse::after,
[data-supervisor-filter].has-pulse::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e6a82e;
  animation: tabPulseDot 1.1s ease-in-out infinite;
}

@keyframes tabPulseDot {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(230, 168, 46, 0.6);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(230, 168, 46, 0);
  }
}

/* ---- Training Insights: exposure total + repeat offenders ---- */
.training-exposure-value {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  margin-top: 14px;
}
.training-exposure-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}
.training-repeat-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.training-repeat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(230, 168, 46, 0.06);
}
.training-repeat-item .training-repeat-who {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.training-repeat-item .training-repeat-what {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.training-repeat-count {
  font-size: 18px;
  font-weight: 800;
  color: #e6a82e;
}
.training-repeat-empty {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}
