/* Day-of-event operational UI. No external assets, fonts or requests. */
/* One scroll surface for the timetable, with identity and confirmation always visible. */
body:has(#booking-dialog[open]){overflow:hidden}
dialog.booking-dialog{width:min(680px,calc(100% - 32px));max-width:680px;height:min(820px,92dvh);max-height:92dvh;padding:0;overflow:hidden}
dialog.booking-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.booking-header{position:relative;padding:20px 24px 14px;border-bottom:1px solid var(--line)}
.booking-header .sheet-close{position:absolute;top:10px;right:10px;margin:0}
.booking-header .sheet-close button{width:48px;height:48px}
.booking-header .eyebrow{padding-right:48px;margin:0 0 6px}
.booking-header h2{padding-right:42px;margin:0 0 8px;font-size:22px}
.booking-header .muted{margin:0;font-size:14px}
.booking-person{margin:10px 0 0;font-size:16px;font-weight:700;color:#713d28;overflow-wrap:anywhere}
#booking-slots.slot-board{min-height:0;max-height:none;margin:0;padding:18px 24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start;gap:22px}
.slot-chips{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.booking-footer{padding:12px 24px 18px;border-top:1px solid var(--line);background:#fff}
.booking-footer .booking-selected{margin:0 0 10px;font-size:16px}
.booking-footer .full-button{min-height:52px}
.booking-footer .footnote{margin:10px 0 0;font-size:12px;text-align:left;line-height:1.6}
.staff-workbar{position:sticky;top:64px;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px 14px;padding:14px;margin:18px 0;background:#fff;border:1px solid #cdd8de;border-radius:12px;box-shadow:0 3px 8px #2533400d}
.staff-workbar label{font-size:14px}.staff-workbar input,.staff-workbar select{min-width:0}
.staff-current-slot,.staff-filter-status{grid-column:1/-1;font-size:14px;margin:0;color:#345644}
.staff-filter-status{color:#52606a}.staff-group,.staff-history{scroll-margin-top:230px}
@media(max-width:640px){dialog.booking-dialog{width:100%;max-width:100%;height:92dvh;max-height:92dvh;margin:auto 0 0;padding:0;border-radius:18px 18px 0 0}.booking-header{padding:16px 18px 12px}.booking-header h2{font-size:20px}.booking-header .muted{font-size:13px}.booking-person{margin-top:7px;font-size:15px}#booking-slots.slot-board{padding:16px 18px;gap:20px}.slot-chips{grid-template-columns:repeat(3,minmax(0,1fr))}.booking-footer{padding:12px 18px max(14px,env(safe-area-inset-bottom))}.staff-workbar{top:60px;grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:7px 10px}.staff-workbar #operator-booth-field{grid-column:1/-1}.staff-current-slot,.staff-filter-status{font-size:13px}}
@media(max-height:500px){dialog.booking-dialog{height:96dvh;max-height:96dvh}.booking-header{padding-top:10px;padding-bottom:8px}.booking-header h2{font-size:18px}.booking-header .eyebrow{display:none}.booking-person{margin-top:4px}.booking-footer{padding-top:8px;padding-bottom:8px}.booking-footer .footnote{display:none}.booking-footer .booking-selected{margin-bottom:6px}.staff-workbar{position:static}}
.guardian-pending{padding:10px 12px;background:#fff3d9;color:#71420b;border:1px solid #d3a864;border-radius:8px;font-size:15px;font-weight:700}.guardian-done{color:#17643e;font-size:14px}.numeric-age-fields{border:0;padding:0;margin:18px 0 0;min-width:0}.privacy-copy:focus-visible{outline:3px solid #b96700;outline-offset:3px}
:root{--ink:#252b30;--muted:#52606a;--line:#dce1e4;--blue:#943b24;color:var(--ink);background:#f4f5f7;font-family:"Malgun Gothic",Arial,sans-serif;font-size:16px;line-height:1.65;--nav-height:76px}
body{color:var(--ink);background:#f4f5f7}button{min-height:48px;border-radius:10px;font-size:16px;padding:12px 16px}button:disabled{opacity:1;color:#69737c;background:#edf0f2;border-color:#dce1e4;cursor:not-allowed}
button:focus-visible,summary:focus-visible{outline:3px solid #b96700;outline-offset:3px}input,select{min-height:48px;font-size:16px;border-radius:9px}summary{min-height:48px;display:list-item;padding:8px 0;font-weight:700;font-size:17px;cursor:pointer}
h1{font-size:29px;line-height:1.3;letter-spacing:-.7px}h2{font-size:21px;line-height:1.45}h3{font-size:18px}p{overflow-wrap:break-word}.muted{font-size:15px;color:var(--muted)}.footnote,.field-help,.staff-action-hint{font-size:14px;line-height:1.65;color:var(--muted)}.text-button{font-size:14px;color:#4c5964;min-height:44px}.secondary{border-color:#b8c2c8;color:#34454f}
.header{background:#fff}.header-inner{max-width:1080px;padding:9px 20px}.header-label,.staff-link{font-size:14px}.brand-symbol{display:none}#brand{font-size:23px;letter-spacing:-1px}.brand-lockup{gap:12px}main{max-width:1080px;padding:18px 22px calc(28px + var(--nav-height) + env(safe-area-inset-bottom))}
.connection-row{font-size:13px;margin-bottom:12px}.notice{font-size:13px;padding:8px 11px;line-height:1.5;margin-bottom:14px}.network-warning{background:#fff3d9;border:2px solid #bc6b00;color:#693c00;border-radius:10px;padding:14px;font-size:15px;font-weight:600}.network-warning[hidden]{display:none}
.page-heading{margin-bottom:18px}.eyebrow{font-size:14px}.home-heading h1{font-size:29px}.event-strip{font-size:14px}.registration-cta{padding:16px 18px;border-radius:12px}.registration-cta small{font-size:14px}.participant-bar{padding:13px 15px;border-radius:12px}.participant-bar small{font-size:13px}.participant-bar strong{font-size:17px}.participant-check{border-radius:9px}.registration-cta strong{font-size:20px}
.booth-grid{gap:14px}.booth-card{border:1px solid #d5dde2;border-radius:12px;padding:18px;gap:16px;box-shadow:none}.booth-title h2{font-size:19px;line-height:1.5}.booth-number{background:#faf0e7;color:#843b27;font-size:22px;width:46px;flex-basis:46px;border-radius:8px}.badge{font-size:13px;padding:4px 8px;border-radius:5px}.badge:before{display:none}.badge.green{color:#17643e;background:#e5f4eb}.badge.orange{color:#854400;background:#fff0d8}.badge.blue{color:#185785;background:#e6f2fc}.badge.gray{color:#485661;background:#edf0f3}.badge.pink{color:#98384e;background:#fce9ed}
.booth-card-bottom button{min-width:112px}.booth-stats,.booth-card small{font-size:14px}.list-count{font-size:14px}.filters{flex-wrap:wrap}.filters button{font-size:14px;border-radius:9px}.search-box input{font-size:16px}.bottom-nav{box-shadow:0 -2px 12px #26323b0a;background:#fff}.bottom-nav button{font-size:13px;min-height:65px}.bottom-nav button[aria-current=page]{color:#943b24;background:#fcf0e9;border-radius:9px}
.panel{border:1px solid #d5dde2;border-radius:12px;padding:20px;box-shadow:none}.staff-overview{position:relative;border-top:4px solid #943b24}.staff-live-status{font-size:16px;font-weight:700;line-height:1.6}.staff-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.staff-summary>div{background:#f1f4f6;border-radius:9px;padding:14px 12px;min-width:0}.staff-summary span{display:block;font-size:14px;color:#4d5d68}.staff-summary strong{display:block;font-size:30px;font-variant-numeric:tabular-nums;line-height:1.3;color:#253340}.staff-summary small{font-size:14px;margin-left:3px}.staff-instruction{font-size:15px;background:#faf6ef;border:0;border-radius:8px;padding:12px}.staff-toolbar{gap:10px}.staff-group{border:1px solid #d4dde1;border-radius:11px;background:#fff;padding:16px;margin-bottom:14px}.staff-group-now{border:2px solid #206b48;border-top-width:5px}.staff-group-overdue{border:2px solid #b44830}.staff-group-title{font-size:19px;line-height:1.55;padding-bottom:10px;border-bottom:1px solid #dfe4e7;display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.staff-group-title span{font-size:15px}.staff-visit{border:1px solid #dfe4e7;border-radius:9px;padding:15px;margin-top:10px;background:#fff}.staff-visit[data-status=IN_PROGRESS]{background:#f0f8f3;border-color:#b8d8c2}.staff-visit h3{font-size:19px}.staff-person-meta{font-size:14px}.staff-time{font-size:18px;font-weight:700;color:#21623e}.receipt-number{font-size:14px;color:#536470;margin-left:5px}.staff-check input{min-width:24px;width:24px;min-height:24px;height:24px;accent-color:#943b24}.staff-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.staff-actions button{font-size:15px}.staff-actions [data-action=ADMIT],.staff-actions [data-action=CONFIRM_FREE]{background:#236344;color:#fff}.staff-actions button:disabled{color:#65717a;background:#eef1f3}.future-group{padding:9px 16px;border:1px solid #d7dfe4;border-radius:10px;background:#eef1f4;margin-bottom:12px}.future-group>summary{font-size:17px;color:#384d5c}.future-group .staff-group{margin-top:10px;border:0;padding:5px;background:transparent}.staff-history{margin-top:20px;padding:14px 16px;border:1px solid #d7dfe4;border-radius:10px;background:#f5f6f7}.walkin-panel{background:#fff8ee}.staff-search{border-left:4px solid #366987}.operator-navigation{flex-wrap:wrap;gap:9px}.operator-navigation button,.operator-navigation a{font-size:14px}
.cooldown{border:1px solid #e5c691;background:#fff6e7;color:#70400c;border-radius:12px;padding:15px;font-size:15px;margin:14px 0}.cooldown strong{font-size:18px}.cooldown p{margin:8px 0 12px}.cooldown button{margin-top:10px;border-color:#bd9966;color:#75431b;background:#fff}.mine-limit{font-size:15px}.reservation-ticket{border-radius:12px;border:1px solid #cdd9df;box-shadow:none}.ticket-time{font-size:32px;line-height:1.25;font-weight:800;font-variant-numeric:tabular-nums}.ticket-note{font-size:16px}.ticket-footer{font-size:13px;flex-wrap:wrap;gap:8px}.ticket-top .badge{font-size:14px}.progress-steps{font-size:14px}.free-receipt{padding:18px;border:1px solid #bdd3e4;background:#f4f9fc;border-radius:12px;margin:14px 0}.free-receipt h3{margin-top:10px}.free-receipt p{font-size:15px;margin-bottom:0}.history-item h3{font-size:17px}.history-item p{font-size:14px}
.linked-profiles{display:grid;gap:9px;margin:16px 0}.profile-option{width:100%;text-align:left;font-size:17px}.profile-option small{display:block;font-size:13px;font-weight:400;margin-top:4px}.profile-current:disabled{color:#23563c;background:#e8f5ed;border:1px solid #8fc5a5}.confirm-dialog{max-width:440px;width:calc(100% - 32px);border:0;border-radius:14px;padding:24px}.confirm-dialog::backdrop{background:#14243080}.confirm-actions{display:flex;gap:10px;margin-top:22px}.confirm-actions button{flex:1}.slot-chip{border-radius:10px;min-height:66px;padding:8px}.slot-chip strong{font-size:19px}.slot-chip span{font-size:13px}.slot-chip[aria-pressed=true]{outline:3px solid #943b24;outline-offset:1px}.slot-hour{font-size:16px}.booking-selected{font-size:17px}.choice span{font-size:16px}.privacy-copy{font-size:15px;line-height:1.85}
body[data-view=board] .network-warning{display:none}.board-title{letter-spacing:-.6px}.board-grid .board-name{font-weight:800}.board-legend{font-weight:700}
.booth-facts{font-size:15px;line-height:1.65}.booth-facts strong{font-size:17px}.participant-bar small{font-size:13px}.participant-bar strong{font-size:17px}
/* LED view: remove decorative noise, keep all 24 stations in a 6x4 grid at 1080p. */
body.board-mode{background:#17202a;color:#fff}body.board-mode::before{display:none}body.board-mode .network-warning{display:none}#board:fullscreen{background:#17202a}.board-leaf{display:none}#board-event-name{background:none;color:#fff}.board-card{border-radius:10px;box-shadow:none}.board-card::after{display:none}.board-number{border-radius:8px;box-shadow:none}.board-card h3{font-weight:800}.board-controls button{min-height:44px}
@media(min-width:1500px) and (min-height:800px){body.board-mode main{height:100dvh;padding:20px 26px 14px}#board{height:100%;gap:13px}.board-grid{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));flex:1;gap:12px}.board-card{padding:14px 15px;gap:8px}.board-card-top{gap:10px}.board-number{min-width:58px;width:58px;height:58px;font-size:34px}.board-card h3{font-size:26px;line-height:1.2;overflow-wrap:anywhere}.board-card .board-state{font-size:19px;line-height:1.25;padding:4px 8px}.board-detail strong{font-size:46px}.board-detail strong.word{font-size:30px}.board-detail small{font-size:16px}.board-detail em{font-size:20px}.board-footer{flex-shrink:0}.board-title{font-size:21px}.board-legend{gap:8px 13px}.board-legend li{font-size:18px}}
@media(min-width:1000px){.booth-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#operator{max-width:960px;margin:auto}.staff-actions{display:flex;flex-wrap:wrap}.staff-actions button{min-width:128px}.staff-summary strong{font-size:34px}}
@media(max-width:600px){main{padding:14px 16px calc(26px + var(--nav-height) + env(safe-area-inset-bottom))}.header-inner{padding:8px 16px}.header-label{font-size:12px}.staff-link{font-size:13px}h1,.home-heading h1{font-size:27px}.booth-grid{grid-template-columns:1fr}.booth-card{padding:16px}.booth-title h2{font-size:18px}.booth-card-bottom{gap:10px}.panel{padding:16px}.staff-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.staff-summary strong{font-size:29px}.staff-summary>div{padding:12px}.staff-group{padding:13px}.staff-group-title{font-size:18px}.staff-visit{padding:13px}.staff-actions{gap:7px}.form-grid{grid-template-columns:1fr}.section-title{flex-wrap:wrap;gap:10px}.section-title h1{margin-bottom:0}.filters{gap:5px}.filters button{padding:9px 11px}.list-toolbar{align-items:flex-start}.ticket-time{font-size:30px}.reservation-summary{padding:15px}.summary-content strong{font-size:21px}.ticket-body{padding:17px}.ticket-footer{padding:12px 16px}.registration-panel{padding:16px}.registration-heading{margin-bottom:15px}.sheet-close{margin-bottom:4px}.booking-dialog,.turn-dialog{max-width:100%;padding:22px 18px}.slot-chips{gap:7px}.slot-chip{min-width:0}.bottom-nav button{padding:6px 0}.future-group{padding:8px 13px}.staff-overdue-alert{font-size:15px;line-height:1.65}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Intentionally separated from routine attendance and export controls. */
.local-reset-panel{border:2px solid #c8a292;margin-top:32px;background:#fffaf7}
.local-reset-panel h2{margin-top:16px}
.reset-warning,#reset-status{color:#8a3024;font-weight:700}
.reset-counts{padding:16px;background:#f6ebe5;border-radius:12px;font-weight:700;line-height:1.8}
.reset-dialog .danger-button{background:#9b3026;color:#fff}
.reset-dialog .danger-button:hover{background:#7c241d}
.reset-dialog .danger-button:disabled{background:#eee7e3;color:#766760;opacity:1}
.reset-dialog input{letter-spacing:normal;font-size:18px}
.reset-dialog .confirm-actions{flex-wrap:wrap}
.reset-dialog button{min-height:48px}

/* Quiet operational hierarchy: one title, readable rules, settings below the roster. */
.operator-scope{display:inline-block;margin:0 0 14px;padding:4px 10px;border:1px solid #cad5dc;border-radius:6px;background:#eef3f6;color:#344f61;font-size:14px;font-weight:700}
.operator-navigation{display:flex;margin-bottom:18px;align-items:center}
.guide-rules ul,.setting-help{padding-left:22px;margin:16px 0}
.guide-rules li{padding:12px 0;border-bottom:1px solid #e2e6e9}
.guide-rules li:first-child{padding-top:0}.guide-rules li:last-child{border-bottom:0;padding-bottom:0}
.guide-rules li strong{font-size:17px}.guide-rules li p{margin:5px 0 0;color:var(--muted);font-size:15px}
.setting-help{font-size:14px;color:var(--muted);line-height:1.7}.setting-help li+li{margin-top:8px}
.preparation-panel{background:#f8fafb}.preparation-list{list-style:none;padding:0;margin:12px 0}
.preparation-list li{display:grid;grid-template-columns:minmax(170px,1fr) 2fr;gap:10px;padding:12px 0;border-top:1px solid #dce3e8;font-size:14px}
.preparation-list span{color:var(--muted)}.desk-registration .button-link{display:inline-flex;align-items:center;min-height:48px;padding:12px 16px}
.registration-panel .privacy-copy{max-height:360px;padding:16px;background:#f7f9fa;border:1px solid #dce3e8;border-radius:8px;overflow-y:auto}
@media(max-width:600px){.preparation-list li{grid-template-columns:1fr;gap:3px}.operator-navigation .secondary{flex:1 1 45%;text-align:center}.guide-steps{gap:12px}.guide-steps li{padding:18px 16px}.registration-panel .privacy-copy{max-height:310px;padding:13px}.device-settings .actions{flex-direction:column;align-items:stretch}}
