.entry-workspace{display:grid;grid-template-columns:minmax(300px,1fr) minmax(320px,1fr);gap:24px;align-items:start}.entry-workspace .panel{margin:0;min-width:0}.entry-heading{margin-bottom:24px}.entry-heading p{margin-bottom:0}.entry-viewfinder{position:relative;background:#10251f;aspect-ratio:4/3;border-radius:16px;overflow:hidden;margin:20px 0 14px;color:#fff}.entry-viewfinder #entry-camera:not([hidden]){display:block;width:100%;height:100%;max-width:none;min-height:0;object-fit:cover;margin:0;border-radius:0}.entry-camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;text-align:center;gap:12px}.entry-camera-placeholder>span{font-size:54px;color:#80cbb1}.entry-camera-placeholder p{max-width:230px;color:#c3d6ce;margin:0}.entry-viewfinder.is-live .entry-camera-placeholder,.entry-viewfinder.is-opening .entry-camera-placeholder{display:none}.entry-scan-frame{position:absolute;inset:18% 20%;border:2px solid #b6f5d7;border-radius:14px;pointer-events:none;opacity:.5}.entry-camera-label{display:none;position:absolute;left:14px;bottom:14px;padding:6px 10px;border-radius:20px;background:#0009;font-size:12px}.is-live .entry-camera-label{display:block}.entry-camera-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.entry-camera-actions button,.entry-camera-actions .upload-button{display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;padding:12px;font-size:13px;text-align:center;line-height:1.4}.entry-next,.entry-confirm{width:100%;min-height:52px;margin-top:16px}.entry-booking-panel .error:empty{display:none}.entry-verdict{padding:20px;border:1px solid var(--border);border-left-width:5px;border-radius:12px;background:var(--surface-soft)}.entry-verdict.is-valid{border-left-color:#1b9167}.entry-verdict.is-blocked{border-left-color:#d37838}.entry-verdict h2{font-size:24px;line-height:1.3;margin:8px 0}.entry-verdict p{margin:0}.entry-person{padding-top:24px}.entry-person h2{margin:0;font-size:24px}.entry-reference{overflow-wrap:anywhere;font-size:12px}.entry-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0}.entry-counts>div{display:grid;gap:5px;background:var(--surface-soft);padding:16px 8px;border:1px solid var(--border);border-radius:10px;text-align:center}.entry-counts strong{font-size:28px}.entry-counts span{font-size:11px;color:var(--muted)}.entry-admission-row{display:flex;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--border);min-width:0}.entry-admission-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.entry-admission-row p{margin:6px 0 0;font-size:12px}.entry-admission-row label{width:95px;flex:none}.entry-admission-row input{min-height:46px;text-align:center}.entry-history,.entry-manual,.entry-extras{margin-top:24px;padding-top:18px;border-top:1px solid var(--border)}.entry-workspace summary{cursor:pointer;font-weight:600;min-height:44px;padding:10px 0;line-height:1.5}.entry-workspace #booking-search,.entry-workspace #pass-lookup{display:grid;grid-template-columns:1fr;gap:12px;margin:12px 0}.entry-workspace #booking-search button,.entry-workspace #pass-lookup button{margin:0;min-height:48px}.entry-recorded{padding:16px;margin-bottom:16px;background:var(--surface-soft);border:2px solid #1b9167;border-radius:10px;font-weight:600}.entry-waiting{padding:30px 4px}.entry-waiting h2{margin:0;font-size:22px}.product-pricing-fields{display:grid;gap:12px;min-width:0}.product-pricing-fields input{min-width:0}.custom-amount{max-width:220px;min-width:150px;gap:6px!important;font-size:13px!important}.custom-amount input{margin:0!important;width:100%!important;min-height:46px}.custom-amount small{color:var(--muted);font-size:11px;font-weight:400;line-height:1.5}.variable-product{flex-wrap:wrap}.variable-product .checkout-product-info{flex-basis:100%}.variable-product .quantity-control{margin-left:auto}
@media(max-width:850px){.entry-workspace{grid-template-columns:1fr;gap:18px}.entry-workspace .panel{padding:20px}.entry-heading h1{font-size:28px}.entry-viewfinder{aspect-ratio:4/3;max-height:420px}.entry-workspace .entry-booking-panel{scroll-margin-top:12px}.top{align-items:stretch;gap:16px}.account-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.account-actions button{min-height:44px}.top .workspace-label{width:100%}.workspace-label select{width:100%;max-width:100%;min-height:44px}.top .role-label{margin:0;min-height:44px}.top .account-actions{width:100%}main .row{flex-wrap:wrap;align-items:center}main .row>div{min-width:0}main .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}main .toolbar input{grid-column:1/-1;width:100%}main .toolbar select{width:100%!important;min-width:0}main .toolbar button{min-height:46px}main .card footer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}main .card footer button{width:100%;min-height:44px;margin:0}main .product{grid-template-columns:1fr;gap:16px;padding:20px 0}main .product-type-fields{grid-template-columns:1fr}main .product>button{min-height:44px}main .editor-savebar{display:grid;grid-template-columns:1fr;padding:14px;gap:12px}main .editor-savebar>button{width:100%;min-height:48px}main .tabs>button{min-height:44px}.form-settings-drawer{max-width:100vw!important}.form-settings-drawer .row>button{width:auto}.entry-workspace button{min-height:46px}.entry-search-row{display:grid;grid-template-columns:1fr}.entry-search-row button{width:100%}.entry-admission-row{flex-wrap:wrap}.entry-admission-row>div{min-width:150px}.entry-admission-row>button{width:100%}.entry-workspace .entry-camera-actions{grid-template-columns:1fr 1fr}.entry-camera-actions .upload-button{min-width:0}.event-checkout .checkout-product,.customer-form .checkout-product{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:20px 0}.checkout-product .checkout-product-info{min-width:0;grid-column:1;overflow-wrap:anywhere}.checkout-product .quantity-control{grid-column:2;grid-row:1/3;margin:0}.quantity-control button{min-width:38px;min-height:44px;padding:6px}.quantity-control input{width:40px;min-height:44px}.checkout-product-price{grid-column:1;grid-row:2;font-size:16px}.checkout-product .custom-amount{grid-column:1/-1;grid-row:3;max-width:none;min-width:0;width:100%}.checkout-product .custom-amount input{width:100%}.checkout-selection,.checkout-layout,.checkout-summary{min-width:0}.checkout-summary{padding:22px}.checkout-hero-content{padding:24px}.checkout-product .product-symbol{display:none}.public-container{overflow-x:clip}.summary-line>span{min-width:0;overflow-wrap:anywhere}.summary-line>strong{flex:none}.entry-workspace .entry-confirm,.entry-workspace .entry-next{min-height:52px}.entry-viewfinder #entry-camera:not([hidden]){height:100%;min-height:0}}
@media(max-width:380px){.entry-workspace .panel{padding:16px}.entry-camera-actions{gap:8px}.entry-counts>div{padding:12px 5px}.entry-counts span{font-size:10px}.entry-workspace .entry-camera-actions button,.entry-workspace .upload-button{font-size:12px}.quantity-control button{min-width:32px}.quantity-control input{width:32px}}

/* Scanner header: access on the left, sign out then navigation on the right. */
.scanner-top .account-actions{display:flex;width:100%;align-items:center;gap:10px}.scanner-top .role-label{margin-right:auto}.scanner-top #logout{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:10px}.scanner-top #logout span{display:none}.scanner-top #logout .icon,.scanner-top .scanner-menu .icon{width:20px;height:20px;flex:none}.scanner-top .scanner-menu{margin:0;padding:10px;width:44px;height:44px;min-width:44px;align-items:center;justify-content:center}.scanner-top #logout:focus-visible,.scanner-top .scanner-menu:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:850px){.scanner-top{margin:0 0 24px;padding:0 0 16px;gap:0}.scanner-top .account-actions{display:flex;flex-wrap:nowrap;width:100%;gap:10px}.scanner-top .role-label{display:flex;flex-direction:column;align-items:flex-start;padding:0;border:0;background:transparent;min-width:0;gap:4px}.scanner-top .role-label strong{font-size:14px}.scanner-top .scanner-menu{display:inline-flex;margin-bottom:0}.scanner-top .role-label small{font-size:10px}.scanner-top #logout,.scanner-top .scanner-menu{flex:0 0 44px}}

/* Idle instructions have their own space; the scan target appears over live video only. */
.entry-viewfinder{min-height:238px;background:radial-gradient(ellipse at 50% 30%,#21473a 0%,#10251f 72%);border:1px solid #395b4d}
.entry-camera-placeholder{padding:24px 20px;gap:10px}
.entry-camera-placeholder>.entry-placeholder-symbol{display:grid;place-items:center;flex:none;width:64px;height:64px;padding:10px;margin-bottom:2px;border:1px solid #8cddba55;border-radius:17px;background:#b6f5d70b;color:#a4e5c7;line-height:1}
.entry-placeholder-symbol svg{display:block;width:42px;height:42px;max-width:100%;max-height:100%}
.entry-camera-placeholder>strong{font-size:17px;line-height:1.3;color:#f0fbf5;font-weight:650}
.entry-camera-placeholder>p{width:100%;max-width:25ch;margin:0;font-size:13px;line-height:1.55;color:#c3d6ce;overflow-wrap:normal;text-wrap:balance}
.entry-viewfinder:not(.is-live):not(.is-opening)>.entry-scan-frame{display:none}
@media(max-width:400px){.entry-camera-placeholder{padding:22px 18px}.entry-camera-placeholder>p{max-width:24ch}}
.entry-viewfinder{width:100%;min-width:0}
