#studentReportsNav[hidden]{display:none!important}
.student-panel{max-width:960px;margin:24px auto;padding:28px;background:#fff;border:1px solid #d5e1e8;border-radius:18px;color:#16344c;box-sizing:border-box}
.student-panel h1,.student-panel h2{margin:0 0 14px}.student-panel p{line-height:1.6}
.student-brand{background:#0b1b30;border-radius:12px;padding:14px;margin-bottom:24px}.student-brand img{width:150px;display:block}
.student-panel label{display:flex;flex-direction:column;gap:8px;font-weight:600;min-width:0}
.student-panel input,.student-panel select,.student-panel textarea{box-sizing:border-box;width:100%;min-width:0;padding:12px;border:1px solid #b8ccd8;border-radius:9px;background:#fff;color:#16344c;font:inherit;font-size:16px}
.student-panel textarea{min-height:120px;resize:vertical}.student-panel button{font:inherit;min-height:44px;padding:12px 18px;border-radius:10px;border:1px solid #b8ccd8;background:#fff;color:#16344c;cursor:pointer;white-space:normal}
.student-panel button.student-primary{background:#0b1b30;color:white;border-color:#0b1b30}.student-panel button:disabled{opacity:.6;cursor:wait}
.student-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.student-grid .student-wide{grid-column:1/-1}
.student-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.student-notice{padding:14px;border-radius:10px;background:#edf5f5}.student-error{color:#b32424;white-space:pre-wrap}
.student-summary{display:flex;flex-wrap:wrap;gap:14px;margin:20px 0}.student-summary span{padding:15px;background:#edf5f5;border-radius:10px;flex:1;min-width:100px}.student-summary b{display:block;font-size:24px}
.student-card{border:1px solid #d5e1e8;border-radius:12px;padding:16px;margin:12px 0}.student-card summary{cursor:pointer;font-weight:700;line-height:1.6;overflow-wrap:anywhere}.student-card dl{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:12px}.student-card dt{font-weight:600}.student-card dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.student-card img{max-width:100%;height:auto}
@media(max-width:600px){.student-panel{margin:12px 8px;padding:18px}.student-grid{grid-template-columns:1fr}.student-card dl{display:block}.student-card dt{margin-top:14px}.student-card dd{margin-top:5px}.student-actions button{flex:1 1 100%}}

#studentSubjectChoice[hidden],#studentInlineReport[hidden],#employeeReportScreen .mobile-report-card[hidden]{display:none!important}
#studentSubjectChoice{background:#f1f7f8;border:1px solid #c4d8e1;border-radius:14px;padding:18px;margin:0 0 18px}
#studentSubjectChoice fieldset{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px 24px}
#studentSubjectChoice legend{font-size:18px;font-weight:700;margin-bottom:12px;color:#16344c}
#studentSubjectChoice label{display:flex;align-items:center;gap:8px;font-size:16px;cursor:pointer}
#studentSubjectChoice input{width:18px;height:18px;margin:0;flex:none}
#studentSubjectChoice p{font-size:14px;line-height:1.5;margin:12px 0 0}
#studentInlineReport{margin:0;max-width:none;box-shadow:none}

.student-authority-dialog{width:min(960px,calc(100vw - 24px));max-height:94dvh;padding:0;margin:auto}.student-authority-dialog[open]{display:flex;flex-direction:column}.student-authority-dialog::backdrop{background:#0b1b3099}.student-authority-dialog header,.student-authority-dialog nav,.student-authority-dialog>.student-actions,.student-authority-dialog>p{padding:16px 22px;margin:0;flex-shrink:0}.student-authority-dialog header{display:flex;justify-content:space-between;gap:12px}.student-authority-dialog nav{display:flex;gap:8px;flex-wrap:wrap}.student-authority-dialog nav [aria-pressed=true]{background:#173f61;color:white}.student-authority-content{padding:20px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}.student-authority-content label{margin:8px 0}.student-authority-content small{font-weight:400;line-height:1.5}.student-authority-content dl{overflow-wrap:anywhere}.student-authority-content dd{white-space:pre-wrap;margin:4px 0 18px}.student-authority-content dt{font-weight:bold}.student-authority-content section{border:1px solid #d5e1e8;padding:14px;margin:18px 0;border-radius:12px}.student-authority-dialog button:disabled{cursor:not-allowed}.student-authority-dialog .authority-register-results{max-height:220px;overflow:auto}.student-authority-dialog input[type=checkbox]{width:18px;height:18px}.student-authority-dialog .authority-register-fallback{display:flex;flex-direction:row;align-items:center;gap:10px}@media(max-width:600px){.student-authority-dialog header,.student-authority-dialog nav,.student-authority-content{padding:14px}.student-authority-dialog h2{font-size:21px}.student-authority-dialog nav button{flex:1 1 40%}}

@media(max-width:600px){.student-authority-dialog[open]{display:block;overflow:auto;overscroll-behavior:contain}.student-authority-dialog .student-authority-content{overflow:visible}.student-authority-dialog nav button{padding:8px;font-size:13px}}

/* Keep fallback controls together; expose long native-control text on small screens. */
.student-authority-dialog .authority-register-search>label{flex-direction:row;align-items:flex-start;gap:10px}
.student-authority-dialog .authority-register-search>label>input[type=checkbox]{flex:0 0 18px;width:18px;min-width:18px;height:18px;margin:2px 0 0;padding:0}
.student-authority-dialog .authority-register-search>label>span{flex:1;min-width:0;overflow-wrap:anywhere}
.student-mobile-field-text{display:none}
@media(max-width:600px){.student-authority-dialog .student-mobile-field-text:not(:empty){display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.student-authority-content label,.student-authority-content small{overflow-wrap:anywhere}}

.signal-warning-dialog::backdrop{background:#0b1b3099}.signal-warning-dialog .student-actions{justify-content:flex-end;flex-wrap:wrap}.signal-warning-dialog button:focus-visible{outline:3px solid #2a8995;outline-offset:3px}

.student-receipts{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;line-height:1.5;overflow-wrap:anywhere}.student-receipt-badge{padding:9px 12px;border:1px solid #c8d7df;border-radius:9px;background:#f4f7f9;color:#29495d}.student-receipt-badge.confirmed{border-color:#8fbea5;background:#edf8f1;color:#205c3d;font-weight:600}

.student-authority-dialog nav{gap:10px;border-bottom:1px solid #d5e1e8}.student-wizard-step{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d5e1e8;border-radius:9px;color:#526b7d;font-size:14px}.student-wizard-step b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eaf0f4}.student-wizard-step[aria-current=step]{background:#173f61;color:#fff;border-color:#173f61}.student-wizard-step[aria-current=step] b{background:#fff;color:#173f61}@media(max-width:600px){.student-wizard-step{flex:1 1 40%;font-size:13px;padding:7px;min-width:0}.student-authority-dialog>.student-actions{gap:8px}.student-authority-dialog>.student-actions button{flex:1 1 40%}}
