/* Operator overview: decisions and match work before secondary event detail. */
.operator-home {
  display: grid;
  gap: 18px;
}
.operator-home h2,
.operator-home h3,
.operator-home strong,
.operator-home button {
  font-family: inherit;
}
.oh-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.oh-event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.oh-event h2 {
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.oh-event-entries {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  color: var(--muted);
  line-height: 1.45;
  font-size: 12px;
}
.oh-event-entries strong {
  color: var(--ink);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.oh-event-entries strong span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}
.oh-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 8px;
  background: var(--raised);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  white-space: nowrap;
  font-weight: 650;
}
.oh-state-live {
  color: var(--good);
  border-color: color-mix(in oklch, var(--good) 40%, var(--line));
  background: color-mix(in oklch, var(--good) 8%, var(--panel));
}
.oh-state-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.oh-state-ready {
  color: var(--cyan);
  border-color: color-mix(in oklch, var(--cyan) 35%, var(--line));
  background: color-mix(in oklch, var(--cyan) 6%, var(--panel));
}
.oh-state-waiting {
  color: var(--gold);
  background: color-mix(in oklch, var(--gold) 5%, var(--panel));
}
.oh-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 14px 18px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.oh-progress li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  position: relative;
  padding-right: 12px;
  color: var(--muted);
}
.oh-step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 650;
}
.oh-progress strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}
.oh-progress small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.35;
}
.oh-progress .is-current {
  color: var(--ink);
}
.oh-progress .is-current .oh-step-number {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.oh-progress .is-current strong {
  color: var(--gold);
}
.oh-progress .is-done .oh-step-number {
  color: var(--good);
  border-color: color-mix(in oklch, var(--good) 45%, var(--line));
}
.oh-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid color-mix(in oklch, var(--gold) 40%, var(--line));
  border-radius: 8px;
  padding: 20px 22px;
  background: color-mix(in oklch, var(--gold) 4%, var(--panel));
}
.oh-next .oh-next-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 5px;
}
.oh-next h2 {
  font-size: 20px;
  line-height: 1.3;
}
.oh-next p:not(.oh-next-label) {
  color: var(--muted);
  max-width: 68ch;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.6;
}
.oh-next-action {
  flex: 0 0 auto;
  max-width: 245px;
}
.oh-next-action button {
  min-height: 44px;
}
.oh-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}
.oh-queue {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.oh-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.oh-section-head h2,
.oh-summary h2 {
  font-size: 16px;
  line-height: 1.4;
}
.oh-section-head p {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.oh-section-head button {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 11px;
  background: transparent;
  flex-shrink: 0;
}
.oh-match-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.oh-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
}
.oh-match + .oh-match {
  border-top: 1px solid var(--line);
}
.oh-match-content {
  min-width: 0;
  flex: 1;
}
.oh-match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 9px;
}
.oh-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.oh-pair > span:not(.oh-versus) {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  flex: 1;
}
.oh-pair strong {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.oh-pair .team-mark {
  width: 27px;
  height: 27px;
  min-width: 27px;
  border-radius: 5px;
  font-size: 9px;
}
.oh-versus {
  color: var(--muted);
  font-size: 11px;
  flex-shrink: 0;
}
.oh-match-detail {
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.oh-match > button {
  min-height: 38px;
  flex: 0 0 auto;
  max-width: 155px;
  padding: 8px 11px;
  font-size: 12px;
  background: transparent;
}
.oh-queue-footer {
  border-top: 1px solid var(--line);
  padding: 11px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 15px;
  color: var(--muted);
  font-size: 11px;
}
.oh-queue-footer strong {
  color: var(--ink);
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}
.oh-summary {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 17px 18px;
  min-width: 0;
}
.oh-readiness {
  margin: 15px 0 12px;
}
.oh-readiness > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
}
.oh-readiness dt {
  color: var(--muted);
  font-size: 12px;
}
.oh-readiness dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.oh-readiness .oh-needs-review dd {
  color: var(--gold);
}
.oh-summary-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.oh-slot-summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.oh-slot-summary h3 {
  font-size: 12px;
  font-weight: 600;
}
.oh-slot-summary p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.oh-slots {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.oh-slots span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.oh-slots .is-live {
  color: var(--good);
  border-color: color-mix(in oklch, var(--good) 45%, var(--line));
  background: color-mix(in oklch, var(--good) 8%, var(--panel));
}
.oh-summary > button {
  width: 100%;
  min-height: 37px;
  padding: 7px 10px;
  font-size: 12px;
  margin-top: 18px;
  background: transparent;
}
.oh-empty {
  padding: 25px 24px 29px;
  max-width: 560px;
}
.oh-empty-symbol {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--cyan);
  font-size: 20px;
  margin-bottom: 13px;
}
.oh-empty h3 {
  font-size: 16px;
  line-height: 1.4;
}
.oh-empty p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.oh-empty button {
  min-height: 38px;
  padding: 8px 12px;
  margin-top: 18px;
  font-size: 12px;
}
.oh-details {
  padding: 15px 0 3px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.oh-details dl {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin: 0;
}
.oh-details dt {
  color: var(--muted);
  font-size: 11px;
}
.oh-details dd {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 550;
}
.oh-poster-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.oh-poster-tools img {
  width: 80px;
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 4px;
  object-fit: contain;
  background: var(--bg);
}
.oh-poster-tools button {
  background: transparent;
  font-size: 11px;
  padding: 6px 9px;
  min-height: 34px;
}
.operator-home button {
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}
.operator-home button:active:not(:disabled) {
  transform: translateY(1px);
}
[data-theme="light"] .oh-progress .is-current .oh-step-number {
  background: #ffcd54;
  color: #292000;
  border-color: #c88d17;
}
@media (max-width: 1200px) {
  .oh-workspace {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 14px;
  }
  .oh-section-head {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 16px;
  }
  .oh-match {
    padding: 13px 16px;
    gap: 12px;
  }
  .oh-details {
    flex-wrap: wrap;
  }
  .oh-progress {
    padding: 13px;
  }
  .oh-progress li {
    gap: 6px;
    padding-right: 5px;
  }
}
@media (max-width: 900px) {
  .oh-workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .oh-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
  }
  .oh-summary h2,
  .oh-summary-note {
    grid-column: 1;
  }
  .oh-readiness {
    grid-column: 1;
    margin-top: 10px;
  }
  .oh-slot-summary {
    grid-column: 2;
    grid-row: 1 / 4;
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }
  .oh-summary > button {
    grid-column: 2;
    grid-row: 4;
    align-self: end;
    margin-top: 8px;
  }
  .oh-next {
    gap: 18px;
    padding: 18px;
  }
}
@media (max-width: 600px) {
  .operator-home {
    gap: 14px;
  }
  .oh-event {
    gap: 14px;
  }
  .oh-event h2 {
    font-size: 21px;
  }
  .oh-event-entries strong {
    font-size: 21px;
  }
  .oh-event-entries strong span {
    font-size: 14px;
  }
  .oh-event-meta {
    font-size: 11px;
    gap: 7px;
  }
  .oh-next {
    display: block;
    padding: 17px;
  }
  .oh-next h2 {
    font-size: 18px;
  }
  .oh-next-action {
    margin-top: 15px;
    max-width: none;
  }
  .oh-next-action button {
    width: 100%;
  }
  .oh-progress {
    padding: 12px 8px;
    align-items: start;
  }
  .oh-progress li {
    flex-direction: column;
    padding: 0 2px;
    gap: 7px;
    text-align: center;
  }
  .oh-progress strong {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .oh-progress small {
    display: none;
  }
  .oh-step-number {
    width: 25px;
  }
  .oh-section-head {
    flex-direction: column;
    padding: 15px;
  }
  .oh-match {
    flex-wrap: wrap;
    padding: 15px;
  }
  .oh-match-content {
    flex: 1 1 100%;
  }
  .oh-match > button {
    min-height: 40px;
    max-width: none;
    width: 100%;
  }
  .oh-pair {
    gap: 9px;
  }
  .oh-pair strong {
    font-size: 13px;
  }
  .oh-summary {
    padding: 16px;
    gap: 0 20px;
  }
  .oh-summary h2 {
    font-size: 15px;
  }
  .oh-readiness dt {
    font-size: 11px;
  }
  .oh-summary-note {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 7px;
  }
  .oh-summary > button {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 13px;
  }
  .oh-details dl {
    flex-direction: column;
    gap: 13px;
    width: 100%;
  }
  .oh-details dl > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
  }
  .oh-details dd {
    margin-top: 0;
    text-align: right;
  }
  .oh-poster-tools {
    flex-wrap: wrap;
  }
  .oh-queue-footer {
    padding: 11px 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .operator-home button {
    transition: none;
  }
  .operator-home button:active:not(:disabled) {
    transform: none;
  }
}
@media (max-width: 600px) {
  .oh-progress {
    grid-template-columns: repeat(5, minmax(64px, 1fr));
    overflow-x: auto;
  }
  .oh-progress strong {
    white-space: nowrap;
    overflow-wrap: normal;
  }
}
