/* Compact hierarchy without shrinking touch targets or concealing operational warnings. */
/* Final publication polish: feedback never covers the sticky roster tools. */
body:has(dialog[open]){overflow:hidden}
dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.feedback{position:fixed;z-index:40;left:50%;transform:translateX(-50%);bottom:calc(var(--nav-height) + env(safe-area-inset-bottom) + 12px);width:min(640px,calc(100% - 24px));display:flex;align-items:flex-start;gap:10px;padding:12px 12px 12px 16px;border:1px solid #8fb59c;border-radius:12px;background:#edf7ef;color:#174f33;box-shadow:0 5px 22px #14243024;max-height:min(30dvh,220px);overflow-y:auto}
.feedback.error{background:#fff1eb;border-color:#d69a88;color:#842c1b}
.feedback #message:not(:empty){position:static;flex:1;min-width:0;padding:0;margin:0;border:0;box-shadow:none;background:transparent;color:inherit;font-size:15px;line-height:1.6}
.feedback .icon-button{flex:0 0 44px;width:44px;min-height:44px;padding:4px;color:inherit;border-color:currentColor;background:transparent;font-size:25px;line-height:1}
body.staff-mode .feedback,body.kiosk-mode .feedback{bottom:max(12px,env(safe-area-inset-bottom))}
body.board-mode .feedback{display:none}
.dialog-feedback{background:#edf7ef;color:#174f33;border:1px solid #8fb59c;border-radius:8px;font-size:14px;font-weight:600;padding:10px 12px;margin:8px 0;overflow-wrap:anywhere}
.dialog-feedback.error{background:#fff1eb;color:#842c1b;border-color:#d69a88}
.operator-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 16px;padding:0}
.operator-shortcuts button{flex:1;min-height:44px;padding:10px 12px;font-size:14px}
#config-form,#event-statistics,#staff-roster-title{scroll-margin-top:86px}
#staff-roster-title{scroll-margin-top:290px}
.export-scope{padding:10px 12px;border-left:3px solid #366987;background:#eef4f8;color:#2b4d62;font-size:14px;font-weight:700}
.proxy-booking{padding:14px;border:1px solid #cad9e4;background:#f2f7fb;border-radius:9px;margin:12px 0}.proxy-booking .field-help{margin:8px 0 0}
.available-toggle{min-height:44px;cursor:pointer}.available-toggle input{margin:0}
.choice,.check{cursor:pointer}.choice:has(input:disabled),.check:has(input:disabled){cursor:not-allowed}
.slot-chip:disabled span{color:#65717a}.slot-chip:disabled strong{color:#65717a}
.confirm-actions{flex-wrap:wrap}.confirm-actions button{min-width:120px}
.view h1:focus,#main:focus{outline:none}
@media(min-width:1000px){body.staff-mode main{max-width:1240px}#operator{max-width:1160px}#event-statistics .staff-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.guide-steps li{padding:18px 20px}.operator-shortcuts{max-width:720px}}
@media(max-width:600px){.operator-shortcuts{gap:7px}.operator-shortcuts button{flex:1 1 calc(50% - 7px)}.booth-card-bottom button{font-size:15px}.event-strip,.connection-row{font-size:13px}.available-toggle small{font-size:13px}.registration-panel .field-help{font-size:14px}.booking-footer .dialog-feedback{max-height:100px;overflow-y:auto}}
@media(max-width:360px){.filters button{font-size:13px;padding:8px}.list-toolbar .icon-button{min-width:44px}.header-label{font-size:12px}.participant-bar .text-button{font-size:13px}.choice-grid{gap:8px}.choice{padding:11px 8px;gap:7px}.registration-panel{padding:14px}.registration-panel h2{font-size:18px;align-items:flex-start}}
@media(max-width:400px){.choice-grid.choice-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:600px){.map-viewport{min-height:240px;height:60dvh}.feedback{max-height:28dvh}.booking-footer .dialog-feedback{max-height:68px}#staff-roster-title{scroll-margin-top:90px}}
#message:empty{display:none}
.connection-row{margin:0 0 5px;font-size:12px}
.notice{margin:0 0 6px;padding:6px 10px}
.participant-bar{padding:3px 10px;gap:8px;margin:6px 0 12px;min-height:48px;background:#fff;border-radius:8px}
.participant-check,.participant-bar small{display:none}.participant-bar strong{font-size:15px}
.participant-bar .text-button{padding:8px;min-height:44px;white-space:nowrap}
.event-ribbon{margin:0 0 10px;padding:0 0 8px}.event-strip{font-size:12px;gap:8px}
.program-heading{margin:0 0 12px}.program-heading h1{font-size:25px;margin:0 0 4px}
.list-instruction{font-size:14px;margin:4px 0 0}.search-box{margin:10px 0}.list-toolbar{margin:8px 0;align-items:center}
.list-count{margin:7px 0}.available-toggle{display:flex;align-items:center;gap:8px;font-size:14px;flex-wrap:wrap;margin:4px 0 10px}
.available-toggle input{width:22px;height:22px;min-height:22px;accent-color:#943b24}.available-toggle small{font-size:12px;color:#52606a}
.booth-card{gap:10px;padding:14px}.booth-grid{gap:10px}.booth-title h2{font-size:18px;line-height:1.4;margin-top:5px}
.booth-facts{margin:0;font-size:14px;line-height:1.6}.booth-facts strong{font-size:17px}.booth-card-bottom{gap:10px;align-items:center}
.booth-done{opacity:1;background:#eef1f2}.booth-done .booth-title h2{color:#52606a}
.ticket-body h2{font-size:17px;margin:8px 0}.ticket-body{padding:16px}.ticket-note{font-size:15px;margin:8px 0}
.ticket-body .ticket-time{font-size:34px;margin:8px 0}.ticket-top{padding:12px 16px}.ticket-footer{font-size:12px}
.ticket-actions{display:flex;flex-wrap:wrap;gap:8px}.ticket-more{border:0;padding:0}.ticket-more summary{font-size:14px;min-height:44px}
.mine-history{margin:18px 0;border:1px solid #d5dde2;padding:8px 14px;background:#fff;border-radius:10px}
.mine-history summary{font-size:16px}.staff-workbar{margin:10px 0;padding:10px;gap:6px 10px}
.staff-overview{padding:12px 14px;margin:10px 0}.staff-live-status{margin:0 0 8px;font-size:14px}.staff-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.staff-summary>div{padding:8px 10px}.staff-summary strong{font-size:25px}.staff-help summary{font-size:14px;min-height:44px}
.staff-toolbar{margin:0}.staff-roster>h2{margin:16px 0 6px}.staff-workbar:focus-within{position:static}
.staff-actions>button[data-action=ADMIT],.staff-actions>button[data-action=CONFIRM_FREE]{grid-column:1/-1;min-height:52px}
.staff-secondary{grid-column:1/-1}.staff-secondary summary{font-size:14px;min-height:44px}.staff-secondary .actions{display:flex;flex-wrap:wrap}
.processed-row{border:2px solid #236344;padding:10px 14px;border-radius:10px;background:#e5f4eb;color:#174f33;font-weight:700;margin:10px 0}
.booking-freshness{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:#52606a}
.booking-freshness button{font-size:12px;min-height:44px;padding:6px}.booking-network{margin:4px 0 8px;padding:8px;background:#fff1d9;color:#71420b;font-size:14px}
.event-announcement{padding:12px 14px;border:2px solid #bc6b00;background:#fff3d9;border-radius:8px;color:#693c00;font-weight:700;font-size:15px}
.event-announcement[hidden],.booking-network[hidden]{display:none}
.map-zone-links{margin:8px 0}.map-controls{margin:6px 0}.map-controls button{min-width:48px}.map-legend{font-size:13px}
body[data-view=map] .participant-bar{margin-bottom:5px}.map-zone-links button{padding:10px 8px}
.management-table-wrap{overflow-x:auto}.management-table{width:100%;border-collapse:collapse;font-size:14px}
.statistics-scroll{max-width:100%;overflow-x:auto;border:1px solid #d7dfe4;border-radius:10px;isolation:isolate;margin:12px 0}
.statistics-scroll:focus-visible{outline:3px solid #943b24;outline-offset:3px}
.statistics-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;font-size:15px;font-variant-numeric:tabular-nums;color:#253340}
.statistics-table caption{text-align:left;padding:12px;font-weight:700;color:#384d5c}
.statistics-table th,.statistics-table td{padding:11px 10px;text-align:center;border-bottom:1px solid #dce1e4;border-right:1px solid #e6eaed;min-width:48px}
.statistics-table thead th{background:#edf2f4;font-weight:700;white-space:nowrap}
.statistics-table tbody th,.statistics-table tfoot th,.statistics-table thead tr:first-child>th:first-child{position:sticky;left:0;z-index:1;width:220px;min-width:160px;max-width:220px;text-align:left;background:#fff;overflow-wrap:anywhere;box-shadow:2px 0 0 #d7dfe4}
.statistics-table thead tr:first-child>th:first-child{background:#edf2f4;z-index:2}
.statistics-table tbody tr:nth-child(even) td,.statistics-table tbody tr:nth-child(even) th{background:#f8fafb}
.statistics-table tfoot td,.statistics-table tfoot th{background:#e4f0e8;font-weight:800;border-top:2px solid #49745c}
.statistics-table .statistics-total{font-weight:800;background:#eef5f0}
#statistics-scope{margin:18px 0 5px;font-size:18px}#statistics-time{min-height:22px}#export-statistics{min-height:44px}
.statistics-extra{margin-top:14px;border-top:1px solid #dce1e4;padding-top:12px}.statistics-extra summary{min-height:44px;font-size:15px;font-weight:700}.statistics-extra .staff-summary{margin-top:10px}
.staff-roster-area{display:flow-root}
@media(max-width:600px){.statistics-table{font-size:14px}.statistics-table tbody th,.statistics-table tfoot th,.statistics-table thead tr:first-child>th:first-child{min-width:130px;width:130px;max-width:130px}.statistics-table td,.statistics-table th{padding:10px 8px}#event-statistics .section-title{align-items:center}#event-statistics .staff-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
.management-table th,.management-table td{text-align:left;padding:10px;border-bottom:1px solid #dce1e4;white-space:nowrap}
.management-table td:first-child{white-space:normal;min-width:170px}.management-table caption{text-align:left;color:#52606a;padding:8px 0}
.management-table button{font-size:14px;min-height:44px}.management-help{font-size:14px;line-height:1.7;color:#52606a}
.board-card h3{line-height:1.2}.board-state{font-weight:800}.board-footer{font-size:20px}
.field-error{font-size:14px;font-weight:700;color:#9b2817;margin:6px 0}[aria-invalid=true]{outline:2px solid #a33120;outline-offset:2px}
#confirm-copy{white-space:pre-line}.available-filter{display:flex;align-items:center;gap:10px;margin:14px 0;font-size:15px}
.available-filter input{width:22px;height:22px;min-height:22px;accent-color:#923f29}.available-filter~.field-help{font-size:14px}
#board-announcement{position:static;flex:0 0 auto;border-radius:8px;margin:0;padding:8px 14px;text-align:center;font-size:24px;overflow-wrap:anywhere}
.print-sheet{max-width:680px}.print-sheet canvas{display:block;max-width:80%;height:auto;margin:16px auto}.print-sheet li{margin:10px 0}
@media print{body.print-mode>main,body.print-mode>header,body.print-mode>nav,body.print-mode>dialog:not(.print-sheet){display:none!important}body.print-mode .print-sheet{position:static;display:block;border:0;width:100%;max-width:none;max-height:none;overflow:visible}body.print-mode .print-sheet::backdrop{display:none}}
@media(max-width:600px){main{padding-top:10px}.staff-workbar{top:58px}.operator-scope{margin-bottom:6px}.section-title{margin-bottom:10px}.booking-footer .footnote{display:none}.booking-footer{padding-top:4px}.booking-person{font-size:14px}.booth-card-bottom button{min-width:104px;padding:10px 12px}.map-viewport{height:min(62dvh,550px)}}
@media(max-height:600px){.booking-header h2{font-size:18px;margin-bottom:4px}.booking-header{padding-top:10px;padding-bottom:8px}.booking-header .eyebrow{display:none}.booking-person{margin-top:4px}.booking-footer .booking-selected{margin:0 0 5px}.booking-freshness{min-height:44px}.booking-freshness button{min-height:44px}.booking-footer .full-button{min-height:48px}}
@media print{.header,.bottom-nav,.connection-row,#notice,#participant-bar,#message,.site-footer,.print-actions{display:none!important}.print-sheet{padding:0;color:#000;background:#fff}.print-sheet canvas{width:60mm;height:60mm}.print-sheet h1{font-size:28pt}.print-sheet ol{font-size:16pt}.print-sheet p{font-size:14pt}}
.staff-walkin-panel{border:2px solid #a7bba8;background:#fffef8}.staff-walkin-panel summary{font-size:18px;font-weight:800;min-height:44px}.staff-walkin-scope{font-weight:800;color:#2b4735;margin:8px 0}.staff-walkin-panel fieldset{border:0;padding:0;margin:12px 0;min-width:0}.staff-walkin-panel legend{font-weight:700;margin-bottom:8px;font-size:15px}.staff-walkin-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.staff-walkin-categories label,.staff-walkin-gender label{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b7c2b9;border-radius:10px;min-height:48px;padding:10px 8px;font-size:16px;font-weight:700;margin:0;cursor:pointer}.staff-walkin-panel label:has(input:checked){background:#edf4e9;border:2px solid #386345;color:#1c3f28}.staff-walkin-panel input[type=radio]{width:18px;height:18px;min-height:18px;margin:0;accent-color:#386345;flex-shrink:0}.staff-walkin-panel label:has(input:disabled){cursor:default}.staff-walkin-bottom{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:end}.staff-walkin-bottom fieldset{margin-bottom:0}.staff-walkin-gender{display:grid;grid-template-columns:1fr 1fr;gap:8px}.staff-walkin-age{margin:0;font-size:15px;font-weight:700}.staff-walkin-age input{margin-top:8px;min-height:48px}.staff-walkin-status{font-size:15px;font-weight:700;color:#254b34;overflow-wrap:anywhere}.staff-walkin-status:empty{display:none}@media(max-width:400px){.staff-walkin-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-walkin-bottom{grid-template-columns:1fr;gap:12px}}
@media(min-width:341px) and (max-width:400px){.staff-walkin-bottom{grid-template-columns:1fr 1fr}}.staff-walkin-guidance{margin-top:12px}.staff-walkin-guidance summary{font-size:14px;font-weight:600;color:#52606a}
/* Registration-only reception tablet: the personal entry point stays unchanged. */
body.kiosk-mode [data-number-login]{display:none!important}
.number-login-entry{margin-bottom:18px;min-height:56px}
#number-login-form{display:grid;gap:16px;margin-top:24px}
.mine-pass{margin:0 0 20px;min-height:56px;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.pass-number{display:block;font-size:64px;font-variant-numeric:tabular-nums;line-height:1.1;letter-spacing:.08em;color:#174e3b;margin:10px 0 18px}
.pass-label{font-size:15px;font-weight:700;color:#52635b;margin-bottom:0}
#reception-pass-qr,#personal-qr{display:block;margin:12px auto;max-width:100%;height:auto;background:white}
.reception-success-dialog{max-height:calc(100dvh - 32px);overflow:auto}
.reception-success-dialog{width:min(480px,calc(100% - 32px));box-sizing:border-box;text-align:center;padding:32px 24px;border:0;border-radius:20px}
.reception-success-dialog::backdrop{background:rgba(18,34,29,.65)}
.reception-success-dialog h2{font-size:26px;line-height:1.4;margin:16px 0}
.reception-success-dialog p{line-height:1.7}
.reception-success-dialog button{min-height:60px;font-size:18px;margin-top:16px}
.reception-success-mark{display:grid;place-items:center;width:72px;height:72px;margin:auto;border-radius:50%;background:#e5f3eb;color:#17674c;font-size:44px;font-weight:800}
.reception-booking-bar{position:sticky;top:0;z-index:20;background:#fff7df;border:2px solid #a86b17;border-radius:12px;padding:12px;display:grid;gap:8px;margin-bottom:16px;box-shadow:0 3px 10px #0001}
.reception-booking-bar[hidden]{display:none}
.reception-booking-bar strong{font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.reception-booking-bar button{min-height:48px}
body.reception-booking .staff-link,body.reception-booking #manage-participant,body.reception-booking #mine-pass,body.reception-booking [data-connect-personal],body.reception-booking [data-number-login]{display:none!important}
#reception-pass-details{margin:12px 0;text-align:center}
#reception-pass-details summary{padding:12px;cursor:pointer;color:#34584a;font-weight:700}
body.reception-booking .device-settings{display:none}
.reception-entry:has(a[hidden]){display:none}
body.reception-mode #register{max-width:820px;margin-inline:auto}
body.reception-mode .registration-heading{padding:8px 0 20px}
body.reception-mode #self-status:not([hidden]){font-size:18px;font-weight:700;line-height:1.6}
body.reception-mode .registration-panel{padding:24px}
body.reception-mode #self-submit{min-height:60px;font-size:19px}
body.reception-mode .kiosk-tools{font-size:15px}
@media(max-width:600px){body.reception-mode .registration-panel{padding:16px}body.reception-mode #self-status:not([hidden]){font-size:16px}}
