
.school-supervisor-launch{display:block;margin:14px auto 4px;max-width:440px;width:100%;min-height:44px}
.school-supervisor-launch[hidden]{display:none!important}
.school-supervisor-dialog{width:min(96vw,920px);max-width:920px;max-height:92dvh;border:0;border-radius:22px;padding:0;background:#f5f8fe;color:#17314d;box-shadow:0 20px 80px #061a3450;overflow:hidden}
.school-supervisor-dialog::backdrop{background:rgba(0,13,30,.72)}
.school-supervisor-shell{display:flex;flex-direction:column;max-height:92dvh;min-height:350px}
.school-supervisor-top{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(125deg,#164b85,#257abd);color:white;gap:12px}
.school-supervisor-top h2{font-size:1.3rem;margin:6px 0 0}.school-supervisor-top small{opacity:.88}
.school-supervisor-tabs{display:flex;gap:6px;padding:12px;overflow-x:auto;flex-shrink:0;background:white;border-bottom:1px solid #dbe7f5}
.school-supervisor-tabs button{border:1px solid #d9e5f4;border-radius:12px;background:white;color:#18395c;padding:10px 14px;cursor:pointer;white-space:nowrap;font:inherit}
.school-supervisor-tabs button.active{background:#175a98;color:white;border-color:#175a98}
.school-supervisor-body{overflow-y:auto;padding:18px;flex:1}
.school-supervisor-hero,.school-supervisor-card{background:white;border:1px solid #dce8f5;padding:16px;border-radius:16px;margin-bottom:12px}
.school-supervisor-hero b{font-size:1.16rem}.school-supervisor-hero p,.school-supervisor-note,.school-supervisor-card p{color:#5a6a7d;line-height:1.8;margin:7px 0}
.school-supervisor-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
.school-supervisor-link{display:flex;align-items:center;gap:10px;background:white;padding:16px 12px;border:1px solid #dce8f5;border-radius:13px;text-align:right;cursor:pointer;color:#153e66;font:inherit}
.school-supervisor-link span{font-size:1.4rem}
.school-supervisor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.school-supervisor-heading h3,.school-supervisor-heading h4,.school-supervisor-card h4{margin:0}
.school-supervisor-tag{display:inline-flex;border-radius:20px;background:#e7edf5;color:#26435c;padding:4px 10px;white-space:nowrap;font-size:.8rem}
.school-supervisor-tag.good{background:#e1f6e6;color:#176739}.school-supervisor-tag.warn{background:#fff0cd;color:#875b0c}
.school-supervisor-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.school-supervisor-empty{color:#587086;background:#eef4fa;border:1px dashed #b5cde4;border-radius:12px;padding:18px}
.school-supervisor-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:10px 0}
.school-supervisor-form label,.school-supervisor-student{display:flex;flex-direction:column;gap:6px;font-size:.92rem}
.school-supervisor-form select,.school-supervisor-form input,.school-supervisor-student select{width:100%;padding:10px;border-radius:9px;border:1px solid #b9cbda;background:#fff;color:#163856;min-height:42px}
.school-supervisor-student{display:grid;grid-template-columns:minmax(100px,1fr) minmax(155px,1fr);align-items:center;gap:9px;padding:9px;border-bottom:1px solid #ebf0f8}
.school-supervisor-good{color:#176739!important;font-weight:700}
.school-supervisor-dialog .btn{cursor:pointer}
@media(max-width:540px){.school-supervisor-dialog{width:100vw;max-height:94dvh;border-radius:16px 16px 0 0;margin:auto 0 0}.school-supervisor-shell{max-height:94dvh}.school-supervisor-body{padding:12px}.school-supervisor-top{padding:14px}.school-supervisor-link{padding:12px}.school-supervisor-student{grid-template-columns:1fr}}

/* Barcode print preview must stay above the supervisor modal on mobile. */
#schoolSupervisorDialog #loginCardsPrintPreviewOverlay{position:fixed;inset:0;z-index:2147483600;}
