.issue-card-form{margin-top:25px}.issue-card-form .muted{margin:18px 0}.card-list-search{margin:24px 0}.access-card-row{display:flex;flex-wrap:wrap;gap:18px;align-items:center;border-top:1px solid #e3eadc;padding:16px 0}.access-card-person{flex:1;min-width:130px;font-size:12px}.access-card-person strong{display:block;font-weight:600}.access-card-person small{font-size:10px;color:#8a9980}.card-state{font-size:10px;background:#eff3e8;color:#70835f;padding:4px 11px;border-radius:6px}.card-state.active{color:#327953;background:#e8f2e4}.card-state.suspended,.card-state.lost{color:#a27635;background:#f7f0dd}.card-state.revoked{color:#9e6656;background:#f7ede6}.card-state-editor{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:17px;width:100%;padding:18px;border-radius:9px;background:#f3f6ed}.card-state-editor input:not([type=checkbox]),.card-state-editor select{margin-top:7px}.card-state-editor .check-label{margin:25px 0 0}.card-state-editor button{justify-self:start}.card-print-area{padding:25px 0 35px;display:flex;justify-content:center}.school-id-card{width:580px;background:#fffdf7;border:1px solid #c6d3ba;border-radius:19px;overflow:hidden;box-shadow:0 15px 40px #21432b1c;position:relative;print-color-adjust:exact;-webkit-print-color-adjust:exact}.school-id-card:after{position:absolute;content:'';width:200px;height:200px;border:1px solid #d3dfc8;border-radius:50%;top:-130px;left:-50px;pointer-events:none}.id-card-top{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,#123f35,#2b6b53);color:#eff5e8;padding:20px 25px}.id-card-brand{display:flex;align-items:center;gap:11px;font-size:17px}.id-card-brand img{width:39px;height:39px;object-fit:contain;background:#ffffffee;border-radius:8px;padding:3px}.id-card-type{font-size:11px;color:#d4d9bb;background:#ffffff13;padding:3px 13px;border-radius:6px}.id-card-content{display:flex;align-items:center;gap:18px;padding:28px 25px 20px}.id-card-photo{width:105px;height:125px;background:#edf2e7;border:1px solid #d8e2cd;border-radius:12px;display:grid;place-items:center;overflow:hidden;flex-shrink:0}.id-card-photo img{width:100%;height:100%;object-fit:cover}.id-card-photo span{font-size:50px;color:#9ab289}.id-card-info{flex:1;min-width:0}.id-card-info small{font-size:9px;color:#96a38a}.id-card-info h3{font-size:21px;font-weight:700;line-height:1.8;margin:8px 0}.id-card-info p{font-size:9px;color:#829471;margin:0}.id-card-qr{background:#fff;padding:10px;flex-shrink:0}.id-card-qr canvas,.id-card-qr img{height:115px!important;width:115px!important;display:block}.id-card-qr img{display:none}.id-card-barcode{display:block;max-width:85%;height:40px;margin:0 auto 15px;background:white}.id-card-footer{text-align:center;margin:0;background:#eef2e5;color:#7c9069;padding:9px;font-size:8px}.issued-card-actions{text-align:center}.issued-card-actions h3{margin:0 0 8px}.issued-card-actions button{margin:8px 5px 0}.gate-scan-form{display:grid;grid-template-columns:1fr 2fr auto auto;align-items:end;gap:16px;margin:24px 0 10px}.gate-scan-form label{margin:0}.gate-scan-form input{margin-top:6px}.gate-scan-form button{min-height:49px}.gate-hardware-note{font-size:10px;color:#9aa38d;margin:14px 0 0}.gate-display{background:radial-gradient(ellipse at 10% 20%,#2c5949,transparent 65%),linear-gradient(140deg,#173e35,#13382f);min-height:610px;color:#f1f4e8;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 45px #143f3026;position:relative;isolation:isolate;transition:background .5s,color .5s}.gate-display:before,.gate-display:after{content:'';position:absolute;border:1px solid #c6d6af13;border-radius:50%;width:650px;height:650px;left:-300px;top:-190px;z-index:-1;pointer-events:none}.gate-display:after{width:500px;height:500px;left:-225px;top:-115px}.gate-screen-header{display:flex;justify-content:space-between;align-items:center;padding:25px 35px;font-size:18px}.gate-screen-header strong{font-weight:600}.gate-close{background:#ffffff0a;border:1px solid #ffffff24;color:inherit;font-size:11px;padding:7px 13px;border-radius:7px}.gate-display-body{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;padding:20px 30px 50px;animation:gate-arrive .5s ease-out}.gate-person-photo{position:relative;border-radius:50%;height:140px;width:140px;display:grid;place-items:center;background:#eef1d611;box-shadow:0 0 0 1px #d4dec522,0 0 0 12px #c3d6af07;margin-bottom:0;overflow:hidden}.gate-person-photo img{height:100%;width:100%;object-fit:cover}.gate-person-symbol{font-size:47px;font-weight:300;color:#c8d4ac}.gate-status-mark{margin-top:-20px;margin-bottom:18px;z-index:2;position:relative;height:40px;width:40px;background:#597f61;border:4px solid #244a3a;border-radius:50%;display:grid;place-items:center;line-height:1;color:#e9f3d4;font:23px Arial,sans-serif}.gate-person-role{font-size:11px;letter-spacing:.5px;color:#bacda8;min-height:20px}.gate-display h2{font-size:clamp(27px,3vw,42px);font-weight:600;margin:8px 0 10px;line-height:1.8}.gate-display-body p{font-size:15px;color:#c0d0b5;line-height:2;margin:0}.gate-screen-footer{display:flex;justify-content:space-between;gap:15px;color:#9eb895;font-size:9px;padding:20px 35px;border-top:1px solid #d7e5c40a}.gate-ready:before{content:'';display:inline-block;width:5px;height:5px;background:#83ba84;border-radius:50%;margin-left:7px;box-shadow:0 0 0 3px #83ba8414}.gate-display.success{background:radial-gradient(ellipse at 12% 25%,#4b8056,transparent 60%),linear-gradient(135deg,#285b3d,#1b4931)}.gate-display.success .gate-status-mark{background:#c7dd9b;color:#2e5d37;border-color:#365e3d}.gate-display.success .gate-person-photo{box-shadow:0 0 0 1px #c4dc9e66,0 0 0 12px #b8ce8a13}.gate-display.warning{background:radial-gradient(ellipse at 20% 25%,#fff4e6,transparent 65%),linear-gradient(140deg,#f6ebe0,#f0ddd3);color:#82564c}.gate-display.warning:before,.gate-display.warning:after{border-color:#ad796614}.gate-display.warning .gate-status-mark{background:#b47765;border-color:#f4e5d9;color:#fff5ed}.gate-display.warning .gate-person-photo{background:#d5ba9f22;box-shadow:0 0 0 1px #b1877144,0 0 0 12px #b1877109}.gate-display.warning .gate-person-symbol{color:#b28770}.gate-display.warning .gate-person-role{color:#b48c74}.gate-display.warning .gate-display-body p{color:#98715e}.gate-display.warning .gate-screen-footer{color:#ac8b76;border-color:#b48c7411}.gate-display.warning .gate-close{border-color:#c7a38a44;background:#ffffff55}.gate-display.warning .gate-ready:before{background:#b9846c}.gate-display.neutral{background:linear-gradient(140deg,#e9ecdf,#dce5d1);color:#526c53}.gate-display.neutral .gate-display-body p{color:#7d9273}.gate-display.neutral .gate-person-symbol{color:#8da577}.gate-display.neutral .gate-status-mark{background:#9fb28b;color:white;border-color:#e3e9d7}.gate-display.neutral .gate-person-role{color:#8b9e78}.gate-display.neutral .gate-screen-footer{color:#91a17e}.gate-settings{margin-top:18px}.gate-settings-form{display:flex;align-items:end;gap:24px;flex-wrap:wrap;padding:20px 0 5px}.gate-settings-form>.check-label{margin-bottom:15px}.gate-settings-form label:not(.check-label){max-width:200px}.gate-settings-form input[type=number]{margin-top:6px}.gate-settings-form button{margin-bottom:8px}.gate-fullscreen .site-header,.gate-fullscreen footer,.gate-fullscreen .dashboard-heading,.gate-fullscreen .dashboard-tabs,.gate-fullscreen .message{display:none!important}.gate-fullscreen .dashboard{padding:0;max-width:none;margin:0}.gate-fullscreen #gate-panel{margin:0}.gate-fullscreen .gate-display{position:fixed;inset:0;min-height:100vh;border-radius:0;z-index:100}.gate-fullscreen .gate-operator{position:fixed;left:-10000px;top:0;width:600px;height:300px;opacity:0;pointer-events:none}.gate-fullscreen .gate-display h2{font-size:clamp(32px,4.5vw,64px)}.gate-fullscreen .gate-person-photo{height:210px;width:210px}.gate-fullscreen .gate-display-body p{font-size:22px}.gate-fullscreen .gate-person-role{font-size:14px}.gate-fullscreen .gate-screen-header{padding:30px 5%;font-size:23px}.gate-fullscreen .gate-screen-footer{padding:24px 5%;font-size:11px}.gate-fullscreen .gate-status-mark{height:55px;width:55px;margin-top:-25px;font-size:29px}.gate-fullscreen .gate-person-symbol{font-size:66px}@keyframes gate-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1000px){.gate-scan-form{grid-template-columns:1fr 2fr}.gate-scan-form button{min-height:42px}.gate-scan-form label:nth-child(2){grid-column:2}.gate-display{min-height:550px}.card-state-editor{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.access-card-row{gap:10px}.access-card-person{min-width:100px}.access-card-row>.secondary{font-size:10px;padding:7px 9px}.card-state{font-size:8px;padding:3px 8px}.card-state-editor{grid-template-columns:1fr;padding:15px}.card-state-editor .check-label{margin:0}.school-id-card{width:100%;border-radius:13px}.id-card-top{padding:16px}.id-card-brand{font-size:13px;gap:7px}.id-card-brand img{width:30px;height:30px}.id-card-content{gap:10px;padding:20px 15px}.id-card-photo{width:70px;height:90px;border-radius:8px}.id-card-photo span{font-size:35px}.id-card-info h3{font-size:14px;margin:6px 0}.id-card-info small{font-size:7px}.id-card-info p{font-size:7px}.id-card-qr{padding:5px}.id-card-qr canvas,.id-card-qr img{width:82px!important;height:82px!important}.id-card-barcode{height:28px}.id-card-footer{font-size:6px}.gate-scan-form{grid-template-columns:1fr;gap:13px}.gate-scan-form label:nth-child(2){grid-column:1}.gate-display{min-height:520px;border-radius:16px}.gate-screen-header{padding:23px;font-size:15px}.gate-display-body{padding:20px 20px 35px}.gate-display h2{font-size:25px}.gate-display-body p{font-size:12px}.gate-person-photo{width:120px;height:120px}.gate-screen-footer{font-size:7px;padding:17px 20px;gap:10px}.gate-ready{white-space:nowrap}.gate-fullscreen .gate-person-photo{width:170px;height:170px}.gate-fullscreen .gate-display h2{font-size:30px}.gate-fullscreen .gate-display-body p{font-size:16px}.gate-fullscreen .gate-screen-header{font-size:17px}.gate-fullscreen .gate-screen-footer{font-size:8px}.gate-close{font-size:9px}}
@media print{.card-print-area{padding:0;display:block!important}.school-id-card{width:85.6mm;height:54mm;border:0.2mm solid #c6d3ba;border-radius:3mm;box-shadow:none;margin:8mm 0;break-inside:avoid}.id-card-top{padding:2.5mm 3mm}.id-card-brand{font-size:9pt;gap:2mm}.id-card-brand img{width:7mm;height:7mm}.id-card-type{font-size:6pt;padding:.5mm 2mm}.id-card-content{padding:3mm;gap:3mm}.id-card-photo{width:17mm;height:21mm;border-radius:2mm}.id-card-photo span{font-size:24pt}.id-card-info h3{font-size:10pt;margin:1mm 0;line-height:1.5}.id-card-info small,.id-card-info p{font-size:5pt}.id-card-qr{padding:1mm}.id-card-qr canvas,.id-card-qr img{width:22mm!important;height:22mm!important}.id-card-barcode{height:6mm;max-width:75%;margin:0 auto 1mm}.id-card-footer{font-size:4.4pt;padding:1mm}.school-id-card:after{display:none}}

.gate-display.success .gate-display-body{animation:gate-welcome .45s ease-out}.gate-display.warning .gate-display-body{animation:gate-kind-alert .45s ease-out}@keyframes gate-welcome{from{opacity:.75;transform:scale(.985)}to{opacity:1;transform:none}}@keyframes gate-kind-alert{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:none}}

.gate-display.advisory{background:#9b580a;color:white}.gate-display.advisory .gate-display-body{animation:gate-welcome .45s ease-out}

.gate-display.timing{background:#ffdeb6;color:#754512}.gate-display.timing .gate-display-body{animation:gate-welcome .45s ease-out}
