.operator-page { margin: 0; background: #11100e; color: #f3ecde; color-scheme: dark; font: 1rem/1.6 system-ui, sans-serif; }
.operator-page [hidden] { display: none !important; }
.operator-shell { max-width: 36rem; margin: 0 auto; padding: max(1rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)); }
.operator-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.125rem; }
.operator-header a, .operator-panel a { color: #e7c895; text-underline-offset: .2em; }
.operator-header h1, .operator-panel h2 { margin: 0; color: #efd5a5; font-family: "Songti SC", STSong, serif; }
.operator-header h1 { font-size: 1.65rem; }
.operator-panel h2 { font-size: 1.2rem; }
.operator-panel { border: 1px solid #4f4230; border-radius: .85rem; padding: 1rem; margin: 1rem 0; background: #1c1914; }
.operator-panel p { margin: .5rem 0; }
.operator-panel label { display: block; color: #dccdb6; font-size: .875rem; }
.operator-panel select, .operator-panel input:not([type="checkbox"]), .operator-panel textarea { display: block; width: 100%; min-height: 2.75rem; margin: .3rem 0 .65rem; padding: .5rem .625rem; box-sizing: border-box; border: 1px solid #6b5a40; border-radius: .5rem; background: #15130f; color: #f3ecde; font: inherit; }
.operator-panel textarea { min-height: 5rem; resize: vertical; }
.operator-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .625rem; }
.operator-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem .65rem; }
.operator-fields > label { min-width: 0; }
.operator-panel input[type="date"] { min-width: 0; text-align: start; }
.operator-panel .operator-toggle { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; }
.operator-toggle input { accent-color: #e7c895; }
.operator-panel-header { display: flex; align-items: center; gap: .75rem; justify-content: space-between; }
.operator-page button { box-sizing: border-box; min-height: 2.75rem; margin: 0; padding: .4rem .75rem; border: 1px solid #e7c895; border-radius: .5rem; background: #e7c895; color: #241b10; font: inherit; cursor: pointer; }
.operator-page button.operator-secondary { border-color: #67563e; background: transparent; color: #f0d3a1; }
.operator-page button:disabled { cursor: wait; opacity: .65; }
.operator-page :focus-visible { outline: 2px solid #ffe3aa; outline-offset: 2px; }
#operator-status, #operator-editor-status, #operator-check-in-status { color: #edd0a1; overflow-wrap: anywhere; }
#operator-status:empty, #operator-editor-status:empty, #operator-check-in-status:empty { display: none; }
#operator-video { display: block; width: 100%; max-height: 20rem; margin: .6rem 0; border: 1px solid #4f4230; border-radius: .5rem; background: #000; object-fit: contain; }
.operator-roster { list-style: none; margin: .75rem 0 0; padding: 0; }
.operator-roster li + li { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #4f4230; }
.operator-meta { color: #cdbda5; font-size: .875rem; overflow-wrap: anywhere; }

.operator-shell { max-width: 52rem; padding-bottom: max(2rem, env(safe-area-inset-bottom)); }
.operator-header { padding: .5rem .125rem .25rem; }
.operator-header h1 { font-size: 1.7rem; font-weight: 630; letter-spacing: .035em; }
.operator-header .operator-back { min-height: 2.75rem; display: inline-flex; align-items: center; white-space: nowrap; font-size: .875rem; }
.operator-panel { padding: clamp(.85rem, 3vw, 1.35rem); background: #1b1813; border-color: #4f402d; }
.operator-page select, .operator-page input, .operator-page textarea { font-size: max(16px, 1em); }
.operator-page button { font-size: .875rem; font-weight: 625; letter-spacing: .01em; }
.operator-panel h2 { letter-spacing: .035em; font-size: 1.2rem; font-weight: 650; }
.operator-event-heading { margin-bottom: .625rem; }
.operator-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; gap: .25rem; }
.operator-display-options { display: inline-flex; gap: .15rem; border: 1px solid #4f4230; border-radius: .65rem; padding: .15rem; background: #14120e; }
.operator-display-options button { background: transparent; color: #cdbda5; border: 0; border-radius: .48rem; }
.operator-display-options button[aria-pressed="true"] { color: #f2dbb5; background: #3b2c1c; }
.operator-events, .operator-venue-results { margin: .55rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.operator-events.operator-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.operator-events li, .operator-venue-results li { margin: 0; min-width: 0; }
.operator-page .operator-event-choice { width: 100%; min-height: 3.5rem; background: #18150f; border-color: #423527; color: #f3ecde; text-align: start; padding: .625rem .7rem; display: grid; gap: .25rem; overflow: hidden; }
.operator-page .operator-event-choice[aria-pressed="true"] { border-color: #b99462; background: #2b2115; }
.operator-event-choice strong, .operator-current-event strong, .operator-venue-results strong, .operator-event-choice small { overflow-wrap: anywhere; }
.operator-event-choice strong, .operator-event-choice small { display: block; }
.operator-event-choice small { color: #d3bfa1; font-weight: 400; }
.operator-event-status { width: fit-content; color: #eacb9d; background: #372a1d; border-radius: .3rem; padding: .1rem .35rem; font-size: .72rem; }
.operator-cards li { display: flex; flex-direction: column; }
.operator-cards .operator-event-choice { flex: 1; align-content: start; }
.operator-event-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; width: min(100%, 16rem); margin: .35rem 0 0 auto; }
.operator-event-actions button { padding-inline: .125rem; }
.operator-target-event { color: #efd5a5; font-weight: 600; }
#operator-check-in-panel, #operator-roster-panel { scroll-margin-top: .75rem; }
.operator-event-image { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: .35rem; margin-bottom: .3rem; }
.operator-current-event { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .8rem; padding-top: .65rem; border-top: 1px solid #4f402d; }
.operator-current-event div { min-width: 0; }
.operator-current-event p { margin: 0; }
.operator-current-event button { flex: none; }
.operator-field-group { padding: .75rem 0; border-bottom: 1px solid #4f402d; margin-bottom: .85rem; }
.operator-field-group .operator-actions { margin-top: .4rem; }
.operator-field-label { color: #dccdb6; font-size: .9rem; }
.operator-field-label span { color: #cdbda5; }
.operator-field-group details { margin-top: .6rem; font-size: .875rem; }
.operator-field-group summary { cursor: pointer; padding: .4rem 0; color: #e7c895; }
.operator-venue-results button { width: 100%; text-align: start; line-height: 1.5; }
.operator-venue-results button span { display: block; opacity: .85; font-size: .8rem; }
.operator-poster-preview { width: min(100%, 22rem); border-radius: .5rem; margin: .4rem 0 .75rem; display: block; }
@media (max-width: 360px) { .operator-events.operator-cards { grid-template-columns: 1fr; } }
