/* Branded mobile-first reception, independent of WP admin screen styling. */
.t2c-staff-app,.t2c-staff-app *{box-sizing:border-box}
.t2c-staff-app{--t2cg:#193a24;--t2cr:#e32624;min-height:100vh;background:radial-gradient(ellipse at 85% 0%,#4c7c3561,transparent 38%),radial-gradient(ellipse at 0% 12%,#b7252447,transparent 36%),#0c2118;color:#fff;padding:clamp(16px,3vw,42px);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
.t2c-staff-app .t2c-staff-header{display:flex;align-items:center;gap:24px;max-width:1200px;margin:0 auto 24px;border-bottom:1px solid #ffffff33;padding-bottom:22px}
.t2c-staff-header img{display:block;width:clamp(110px,24vw,200px);height:auto;max-height:110px;object-fit:contain}
.t2c-staff-header span,.t2c-staff-eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:#bce0a6}
.t2c-staff-header h1{font-size:clamp(21px,4.5vw,42px);letter-spacing:-.04em;color:#fff;margin:3px 0}
.t2c-staff-login{max-width:560px;margin:7vh auto;padding:clamp(22px,5vw,50px);border:1px solid #ffffff35;border-radius:24px;background:#102b20ed;box-shadow:0 30px 80px #0005}
.t2c-staff-login h2{font-size:clamp(29px,5vw,42px);line-height:1.15;margin:12px 0;color:#fff}
.t2c-staff-login p{color:#dbead7}
.t2c-staff-login label{display:block;color:#eef9e7;margin-bottom:8px}
.t2c-staff-login input:not([type=checkbox]){width:100%;display:block;margin:0 0 16px;min-height:52px;border:1px solid #6c926c;border-radius:10px;padding:12px;background:#fff;color:#102215;font-size:16px}
.t2c-staff-login #wp-submit,.t2c-staff-btn{background:#e32624!important;color:white!important;border:0;border-radius:40px;min-height:50px;padding:11px 22px;font-weight:800;cursor:pointer;text-decoration:none}
.t2c-staff-topline{display:flex;justify-content:space-between;gap:12px;max-width:1200px;margin:0 auto 18px;font-size:12px;letter-spacing:.12em;color:#bfe4b4}
.t2c-staff-topline a{color:#fff}
.t2c-staff-app .t2c-admin-wrap{max-width:1200px;margin:0 auto!important;padding:0!important;color:#153521;background:transparent}
.t2c-staff-app .t2c-admin-wrap>h1{display:none}
.t2c-staff-app .t2c-panel{border:1px solid #c7dfc8!important;border-radius:20px!important;background:#fbfaf4!important;padding:clamp(16px,3vw,25px)!important;box-shadow:0 10px 40px #0002}
.t2c-staff-app .t2c-panel h2,.t2c-staff-app .t2c-panel h3{color:#153521}
.t2c-staff-app .t2c-reception-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.t2c-staff-app button.button,.t2c-staff-app .button{appearance:none;display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;min-height:44px;padding:10px 15px;border:1px solid #2f6044;border-radius:12px;background:#fff;color:#173c29;font-size:14px;font-weight:750}
.t2c-staff-app .button.button-primary{background:#e32624!important;border-color:#e32624!important;color:#fff!important}
.t2c-staff-app :is(input,select){min-height:46px;max-width:100%;font-size:16px}
.t2c-staff-app input[type=checkbox]{min-height:auto;width:20px;height:20px}
.t2c-staff-app .t2c-code-search{display:flex;gap:9px;flex-wrap:wrap}
.t2c-staff-app #t2c-code-input{flex:1;min-width:160px}
.t2c-staff-app #t2c-reader{width:100%;max-width:100%;overflow:hidden}
.t2c-staff-app .t2c-reception-card{color:#153521}
.t2c-staff-app .t2c-today-session,.t2c-staff-app .t2c-reception-player{border-radius:10px}
.t2c-staff-app .notice{padding:12px;border-radius:12px;background:#fff6db;color:#542c11}
@media(max-width:720px){.t2c-staff-app .t2c-staff-header{gap:12px}.t2c-staff-app .t2c-reception-grid{grid-template-columns:1fr}.t2c-staff-app .t2c-today-columns{grid-template-columns:1fr}.t2c-staff-app .t2c-panel{margin-bottom:16px!important}.t2c-staff-app .t2c-code-search .button{width:100%}.t2c-staff-app #t2c-start-scanner{width:100%;min-height:52px}}

/* 1.2.1 – compact mobile operations, brand-led hierarchy, no oversized video. */
.t2c-staff-app {--t2c-brand-cream:#fbf9ee;--t2c-brand-green:#123724;--t2c-brand-red:#e92627;}
.t2c-staff-app .t2c-staff-header{position:relative;border-bottom:1px solid #d8eedc4d;padding-bottom:16px;margin-bottom:15px}
.t2c-staff-app .t2c-staff-header::after{content:"";position:absolute;left:0;bottom:-2px;width:82px;height:3px;background:linear-gradient(90deg,#e92627 50%,#94d277 50%);border-radius:5px}
.t2c-staff-app .t2c-staff-topline{font-size:11px;letter-spacing:.045em;margin-bottom:15px;align-items:center}
.t2c-staff-app .t2c-panel{border-radius:18px!important;overflow:hidden}
.t2c-staff-app .t2c-panel h2{letter-spacing:-.035em;font-weight:800;line-height:1.16}
.t2c-staff-app .t2c-scanner-eyebrow{font-size:10px;font-weight:900;letter-spacing:.16em;color:#a11e22}
.t2c-staff-app .t2c-scanner-help{font-size:13px;color:#546a5b;line-height:1.5;margin:8px 0 16px}
/* Camera repair 1.2.3: do NOT hide an empty reader: html5-qrcode measures
   its width before injecting the video. Also allow the library to size and
   position its own video/scan region; clipping prevents iOS previews. */
.t2c-staff-app #t2c-reader{display:block!important;width:100%;max-width:480px;min-height:1px;border:0!important;border-radius:14px;background:#0d2419;overflow:visible;margin:0 auto 10px;}
.t2c-staff-app #t2c-reader video{max-width:100%!important;max-height:none!important;display:block!important;}
.t2c-staff-app #t2c-reader__scan_region{max-height:none!important;overflow:visible!important;}
.t2c-staff-app #t2c-reader__dashboard{display:none!important} /* Low-level scanner has its own controls. */
.t2c-staff-app .t2c-scanner-state{padding:8px 0;margin:0 0 8px;font-size:12px;color:#486653}
.t2c-staff-app #t2c-start-scanner{width:100%;min-height:52px!important;border-radius:12px!important;font-size:15px!important;}
.t2c-staff-app #t2c-start-scanner.is-active{background:#163c2a!important;border-color:#163c2a!important}
.t2c-staff-app #t2c-reception-result:empty{display:none}
.t2c-staff-app .t2c-sandbox-card{border:2px dashed #cb872d;background:#fffbef;border-radius:14px;padding:14px}
.t2c-staff-app .t2c-sandbox-flag{display:inline-block;font-size:10px;letter-spacing:.08em;background:#fff1ce;color:#83520c;padding:6px 10px;border-radius:50px;font-weight:900}
.t2c-staff-app .t2c-sandbox-status{font-size:16px;font-weight:800;color:#1d5b2b}
.t2c-staff-app .t2c-sandbox-card small{display:block;color:#6a6254;margin-top:15px}
.t2c-staff-app .t2c-code-search input{font-size:16px!important;min-height:52px;padding:8px 11px;border:1px solid #b6cbbd;border-radius:10px}
.t2c-staff-app .t2c-code-search .button{min-height:52px}
.t2c-staff-app .t2c-today-session{grid-template-columns:90px minmax(0,1fr)}
@media(max-width:720px){
 .t2c-staff-app{padding:12px 12px calc(22px + env(safe-area-inset-bottom));}
 .t2c-staff-app .t2c-staff-header{gap:10px;padding-bottom:12px;margin-bottom:10px}
 .t2c-staff-app .t2c-staff-header img{width:min(33vw,120px);max-height:66px}
 .t2c-staff-app .t2c-staff-header span{font-size:9px;letter-spacing:.09em}
 .t2c-staff-app .t2c-staff-header h1{font-size:21px;letter-spacing:-.03em}
 .t2c-staff-app .t2c-staff-topline{font-size:10px;letter-spacing:0;margin-bottom:10px}
 .t2c-staff-app .t2c-admin-wrap.t2c-reception-page{display:flex;flex-direction:column;gap:12px}
 .t2c-staff-app .t2c-reception-grid{order:1;gap:12px}
 .t2c-staff-app .t2c-today-panel{order:2}
 .t2c-staff-app .t2c-walkin-panel{order:3}
 .t2c-staff-app .t2c-panel{margin:0!important;padding:17px!important;border-radius:18px!important}
 .t2c-staff-app .t2c-panel h2{font-size:25px;margin:5px 0 10px}
 .t2c-staff-app .t2c-code-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .t2c-staff-app .t2c-code-search .button{width:auto;min-width:105px}
 .t2c-staff-app .t2c-today-session{grid-template-columns:1fr}
 .t2c-staff-app .t2c-reception-player{grid-template-columns:auto minmax(0,1fr);gap:7px}
 .t2c-staff-app .t2c-reception-player b{grid-column:2}
 .t2c-staff-app .t2c-reception-actions .button{flex:1 1 100%;min-height:48px}
}

/* v1.2.4: remove dark idle line WITHOUT removing width / layout of reader. */
.t2c-staff-app #t2c-reader:empty{background:transparent;border:0!important;min-height:0;}
