@import url('./print.css');
:root{--ink:#203b34;--muted:#7b8982;--green:#216a51;--deep:#123b32;--mint:#e9f2eb;--paper:#f5f6f1;--gold:#e8c776;--line:#e5e9e2;--red:#bd5947;--white:#fff;--radius:18px;font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:var(--green);text-decoration:none}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px;margin-bottom:8px}h2{font-size:19px;letter-spacing:-.4px;margin-bottom:8px}h3{font-size:15px;margin-bottom:8px}p{line-height:1.65}.muted{color:var(--muted)}.tiny{font-size:11px;letter-spacing:.04em}.eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:650;color:var(--green)}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.btn{border:1px solid var(--line);background:white;border-radius:9px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:var(--ink);font-weight:600;min-height:42px;white-space:nowrap;transition:.15s}.btn:hover{border-color:#a0b6a8;background:#f7faf6}.btn.primary{color:white;background:var(--green);border-color:var(--green)}.btn.primary:hover{background:#18573f}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{color:var(--red)}.btn.sm{padding:7px 10px;font-size:12px;min-height:34px}.btn.block{width:100%}.icon-btn{border:0;background:transparent;border-radius:8px;display:grid;place-items:center;padding:9px;color:var(--muted)}.icon-btn:hover{background:var(--mint);color:var(--green)}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:18px}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.full{grid-column:1/-1}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.card-head h2,.card-head p{margin:0}.badge{display:inline-flex;gap:5px;align-items:center;line-height:1.4;padding:5px 9px;border-radius:6px;background:#edf4ee;color:#33744f;font-size:11px;font-weight:650;white-space:nowrap}.badge.pending,.badge.revision{background:#fbf1d9;color:#96772b}.badge.inactive,.badge.error{background:#faeae4;color:#ac594b}.badge.neutral{background:#f0f1ed;color:#758178}.dot{width:6px;height:6px;border-radius:50%;background:currentColor}.brand{display:flex;align-items:center;gap:11px;color:inherit}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:var(--gold);color:var(--deep);font-size:25px;font-weight:800;letter-spacing:-3px;padding-right:3px}.brand-name{font-size:24px;font-weight:750;letter-spacing:2px}.brand small{display:block;opacity:.6;font-size:9px;letter-spacing:1px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:248px;background:var(--deep);color:#d7e5dd;padding:32px 22px;display:flex;flex-direction:column;z-index:40}.sidebar .brand{margin:0 12px 36px}.nav-label{font-size:9px;letter-spacing:1.6px;opacity:.45;margin:22px 13px 12px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:9px;font-size:13px;color:#b5cbc0;margin-bottom:4px}.nav-link:hover{background:#214e41;color:white}.nav-link.active{background:#e8c776;color:#153e32;font-weight:650}.nav-link .icon{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:22px}.sidebar-footer{display:flex;justify-content:space-between;padding:20px 3px 0;align-items:center;font-size:10px;color:#90ac9c}.main{margin-left:248px;min-height:100vh}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffff9c}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:var(--ink);font-weight:500;margin-left:9px}.profile{gap:10px}.avatar{width:37px;height:37px;border-radius:50%;background:#e3ede1;display:grid;place-items:center;font-size:12px;color:var(--green);font-weight:700}.profile-text{line-height:1.6;font-size:12px}.profile-text small{display:block;color:var(--muted);font-size:10px}.content{padding:32px 40px 38px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{font-size:13px;color:var(--muted);margin:0}.page-heading .btn{margin-top:8px}.hero{padding:28px 32px;background:var(--mint);border:1px solid #d6e4d8;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:30px;border-radius:var(--radius)}.hero h2{font-size:26px;font-weight:600;letter-spacing:-.7px;max-width:480px;line-height:1.3;margin:10px 0}.hero p{color:#6c8274;max-width:480px;font-size:12px;margin-bottom:17px}.hero-art{width:190px;flex-shrink:0;opacity:.9}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0}.stat{border:1px solid var(--line);border-radius:14px;padding:19px 21px;background:white;position:relative}.stat-icon{position:absolute;right:19px;top:19px;background:#edf5ed;color:var(--green);border-radius:9px;padding:8px}.stat:nth-child(2) .stat-icon{background:#fff5db;color:#a28634}.stat:nth-child(3) .stat-icon{background:#eef0fa;color:#7e89b6}.stat:nth-child(4) .stat-icon{background:#faece6;color:#b88068}.stat-label{font-size:11px;color:var(--muted);margin-bottom:12px;padding-right:36px}.stat-value{font-size:29px;font-weight:600;letter-spacing:-1px;line-height:1.1}.stat-foot{font-size:10px;color:var(--muted);margin-top:12px}.stat-foot b{color:var(--green);font-weight:600}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:20px}.chart{width:100%;height:190px;display:block;overflow:visible}.chart-label{font-size:10px;fill:#89978e}.chart-grid{stroke:#eff1ec;stroke-width:1;stroke-dasharray:4 4}.legend{display:flex;gap:18px;font-size:10px;color:var(--muted);align-items:center}.legend i{width:7px;height:7px;border-radius:50%;display:inline-block;background:var(--green);margin-right:6px}.ring-wrap{display:flex;gap:22px;align-items:center;justify-content:center;padding:12px 0 24px}.ring{width:116px;height:116px;border-radius:50%;background:conic-gradient(var(--green) calc(var(--value)*1%),#ecf0e8 0);padding:10px;flex-shrink:0}.ring-inner{border-radius:50%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:white}.ring b{font-size:25px;letter-spacing:-1px}.ring small{font-size:9px;color:var(--muted);margin-top:3px}.progress-row{display:flex;align-items:center;gap:12px;font-size:11px;margin-bottom:14px}.progress-row span:first-child{min-width:100px;color:var(--muted)}.progress{background:#edf0ea;flex:1;height:6px;border-radius:4px;overflow:hidden}.progress i{height:100%;display:block;background:var(--green);border-radius:4px}.progress-row b{font-size:10px;min-width:26px}.activity-item{display:flex;align-items:flex-start;gap:12px;padding:11px 0;border-bottom:1px solid #f0f2ec}.activity-item:last-child{border-bottom:0}.activity-item .mini-icon{background:var(--mint);color:var(--green);padding:9px;border-radius:9px}.activity-item .mini-icon .icon{width:16px;height:16px}.activity-item p{font-size:12px;margin:1px 0 2px}.activity-item small{font-size:10px;color:var(--muted)}.activity-time{margin-left:auto;white-space:nowrap;font-size:10px;color:var(--muted);padding-top:4px}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:#89978b;font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:600;background:#fafbf7;border-bottom:1px solid var(--line);padding:13px 14px;white-space:nowrap}td{padding:15px 14px;border-bottom:1px solid #edf0e9;vertical-align:middle}tr:last-child td{border-bottom:0}td .muted{font-size:10px;display:block;margin-top:4px}td strong{font-weight:550}td audio{width:210px;height:34px}td .btn{margin:2px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}.search{position:relative}.search .icon{position:absolute;left:12px;top:12px;width:16px;height:16px;color:var(--muted)}.search input{padding-left:36px;width:240px}.filter-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.filter-row label{min-width:140px;margin:0}.filter-row input,.filter-row select{width:auto;min-width:140px}.pagination{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font-size:11px;color:var(--muted)}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:550;line-height:1.4}input,select,textarea{border:1px solid #dbe2d8;border-radius:8px;background:white;padding:11px 12px;width:100%;color:var(--ink);min-height:42px;transition:border-color .1s}input:focus,select:focus,textarea:focus{border-color:var(--green);outline:2px solid #b5d2bc}input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:0;accent-color:var(--green);margin:0;flex-shrink:0}input[type=file]{font-size:12px}input::placeholder,textarea::placeholder{color:#a6afa6}textarea{resize:vertical;min-height:100px;line-height:1.6}.check-label{flex-direction:row;align-items:flex-start;gap:10px;cursor:pointer;font-weight:400}.check-label input{margin-top:2px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.form-error{background:#fcece7;color:#a24434;font-size:12px;padding:12px;border-radius:8px;margin:0 0 15px}.notice{padding:14px 17px;border-radius:10px;background:#f9f3de;border:1px solid #ede1b7;color:#89712e;font-size:12px;line-height:1.65}.notice.green{background:var(--mint);border-color:#cddfcd;color:var(--green)}.notice p{margin:0}.empty{padding:38px 24px;text-align:center;color:var(--muted)}.empty .icon{width:32px;height:32px;margin-bottom:14px;color:#afc3b1}.empty h3{color:var(--ink);font-weight:550}.empty p{font-size:12px;max-width:340px;margin:0 auto}.tabs{display:flex;gap:5px;margin-bottom:24px;border-bottom:1px solid var(--line);overflow:auto}.tab{padding:13px 17px;background:transparent;border:0;border-bottom:2px solid transparent;color:var(--muted);font-size:12px;white-space:nowrap}.tab.active{color:var(--green);font-weight:650;border-color:var(--green)}.prayer-row{display:flex;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.prayer-row .prayer-name{display:flex;align-items:center;gap:12px;width:130px;flex-shrink:0;font-size:13px}.prayer-row select{max-width:400px}.prayer-row .icon{color:#9baa90}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:16px;border-radius:10px;font-size:12px;font-weight:400;cursor:pointer}.choice:has(input:checked){border-color:#6f9c75;background:#eff5ed}.surah-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.surah-grid .choice{padding:11px 13px}.surah-grid small{font-size:10px;color:var(--muted);font-weight:400}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.module-card{background:white;border:1px solid var(--line);padding:20px;border-radius:14px;display:flex;align-items:center;gap:14px;color:var(--ink)}.module-card:hover{border-color:#8daf91;transform:translateY(-1px)}.module-card .icon{width:24px;height:24px;color:var(--green)}.module-card h3{margin:0;font-size:13px}.module-card p{margin:4px 0 0;font-size:10px;color:var(--muted)}.school-detail{padding:15px;background:#f7f9f4;border-radius:10px;line-height:1.65;font-size:12px}.school-detail strong{display:block}.school-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.terms-box{padding:20px;border:1px solid var(--line);border-radius:10px;max-height:280px;overflow:auto;background:#fafbf7;font-size:12px;line-height:1.7}.terms-box ol{padding-left:20px}.terms-box li{padding:0 0 12px 5px}.terms-box h3{font-size:12px}.terms-caption{font-size:10px;color:var(--muted);margin-top:8px}.section-title{font-size:12px;text-transform:uppercase;letter-spacing:1px;margin:25px 0 15px;color:var(--muted)}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.auth-visual{background:var(--deep);color:#f1f2dd;padding:50px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-visual:after{content:'';position:absolute;right:-130px;bottom:-180px;width:530px;height:530px;border:1px solid #486853;border-radius:50%;pointer-events:none}.auth-visual .brand{margin-bottom:60px}.auth-visual h1{font-size:48px;font-weight:500;line-height:1.15;letter-spacing:-1.8px;max-width:430px;margin:10px 0 22px}.auth-visual h1 em{color:var(--gold);font-family:Georgia,serif;font-weight:400}.auth-visual p{color:#adbfaf;font-size:13px;max-width:370px}.auth-art{width:100%;max-width:460px;height:250px;margin:25px 0 10px;z-index:1}.auth-foot{display:flex;gap:25px;margin-top:auto;font-size:9px;color:#91a591;padding-top:25px;z-index:1}.auth-form{display:flex;align-items:center;justify-content:center;padding:48px}.auth-inner{width:100%;max-width:390px}.auth-inner h2{font-size:30px;font-weight:550;letter-spacing:-1px;margin:13px 0 8px}.auth-inner>p{font-size:12px;color:var(--muted);margin-bottom:32px}.auth-inner form{display:flex;flex-direction:column;gap:20px}.auth-inner form .form-error{margin:0}.password-box{display:flex;align-items:center;position:relative}.password-box input{padding-right:50px}.password-box button{position:absolute;right:6px}.divider{display:flex;align-items:center;gap:12px;color:#a1aaa0;font-size:10px;margin:25px 0}.divider:before,.divider:after{content:'';flex:1;border-top:1px solid var(--line)}.auth-bottom{text-align:center;font-size:11px;color:var(--muted);margin-top:24px}.demo-box{background:#f5f7ef;padding:15px;border:1px dashed #d9e0d1;border-radius:10px;margin-top:28px}.demo-box small{font-size:10px;color:#7b8978}.demo-buttons{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.demo-buttons .btn{flex:1;font-size:10px;min-width:64px}.register-page{max-width:900px;padding:40px 24px;margin:auto}.register-page .brand{margin-bottom:32px}.register-page h1{margin-top:20px}.loading{padding:60px;text-align:center;color:var(--green)}dialog{border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 90px #153c3240;padding:0;max-width:620px;width:calc(100% - 32px);max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#123b3266;backdrop-filter:blur(3px)}.modal-head{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.modal-head h2{margin:0;font-size:20px}.modal-body{padding:24px 26px}.modal-body audio{width:100%;margin:16px 0}.photo-preview{width:100%;border-radius:10px;max-height:350px;object-fit:contain;margin:16px 0}.safe-password{background:var(--mint);padding:20px;border-radius:10px;font:18px monospace;text-align:center;overflow-wrap:anywhere}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:var(--deep);color:white;box-shadow:0 8px 30px #123b3220;padding:14px 22px;border-radius:10px;z-index:99;opacity:0;pointer-events:none;transition:opacity .2s;max-width:calc(100% - 32px);font-size:12px}#toast.show{opacity:1}#toast.error{background:#a24e3c}.mobile-toggle{display:none}.main-footer{font-size:10px;color:#94a091;margin-top:32px;display:flex;align-items:center;justify-content:space-between;gap:15px}.record-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.recording{color:var(--red);font-size:11px;display:flex;align-items:center;gap:6px}.recording .dot{animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.3}}.checklist{display:flex;flex-direction:column;gap:12px;margin-top:18px}.checklist-item{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:15px}.checklist-item span{display:flex;gap:10px;align-items:center}.checklist-item .icon{width:16px;height:16px;color:var(--green)}.meta-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-bottom:18px}.meta-grid small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.meta-grid p{margin:0;font-size:12px}.hide{display:none!important}.code{font-family:monospace;font-size:12px;overflow-wrap:anywhere}.menu-backdrop{display:none}.inline-help{font-size:10px;line-height:1.6;color:var(--muted);margin-top:5px}.text-link{background:transparent;border:0;color:var(--green);font-size:12px;padding:0;cursor:pointer}.teacher-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}.teacher-list .check-label{font-size:12px}.score{font-size:18px;font-weight:650;color:var(--green)}
@media(min-width:1600px){.content{padding-top:42px}.auth-visual{padding:70px 12%}}@media(max-width:1200px){.sidebar{width:220px;padding:28px 16px}.main{margin-left:220px}.content{padding:28px}.topbar{padding:0 28px}.stats{gap:12px}.stat{padding:17px}.stat-icon{right:12px}.dashboard-columns{grid-template-columns:1.4fr 1fr}.hero-art{width:150px}.auth-visual{padding:50px 40px}.auth-visual h1{font-size:40px}}@media(max-width:980px){.dashboard-columns{grid-template-columns:1fr}.school-grid,.grid.three{grid-template-columns:1fr 1fr}.hero-art{display:none}.auth-page{grid-template-columns:.9fr 1fr}.auth-visual{padding:40px 28px}.auth-form{padding:35px}.auth-visual h1{font-size:36px}.surah-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px;padding:24px 18px}.sidebar.open{transform:translateX(0)}.menu-backdrop.open{display:block;position:fixed;inset:0;background:#123b3255;z-index:35}.main{margin-left:0}.mobile-toggle{display:grid}.topbar{height:70px;padding:0 18px}.topbar .breadcrumb{display:none}.profile-text{display:none}.content{padding:24px 18px}.page-heading{margin-bottom:20px;align-items:center}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.page-heading .btn{font-size:11px;padding:9px 12px;min-height:38px}.hero{padding:24px}.hero h2{font-size:23px}.stats{grid-template-columns:repeat(2,1fr);margin:18px 0;gap:12px}.stat-label{font-size:10px}.stat-value{font-size:26px}.stat-foot{font-size:9px}.stat-icon{padding:7px;top:14px}.stat-icon .icon{width:16px;height:16px}.card{padding:20px}.grid.two,.school-grid,.grid.three{grid-template-columns:1fr}.module-grid{grid-template-columns:repeat(2,1fr);gap:12px}.module-card{padding:15px;gap:10px}.module-card h3{font-size:12px}.module-card p{font-size:9px}.module-card .icon{width:21px}.main-footer span:last-child{display:none}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.filter-row{align-items:stretch;width:100%}.filter-row label{min-width:0;flex:1}.filter-row input,.filter-row select{width:100%;min-width:0}.toolbar{align-items:stretch}.search,.search input{width:100%}.auth-page{grid-template-columns:1fr}.auth-visual{padding:26px 26px 30px;min-height:210px}.auth-visual .brand{margin-bottom:26px}.auth-visual h1{font-size:30px;max-width:none;margin:0 0 10px}.auth-visual h1 br{display:none}.auth-visual p{font-size:11px;margin:0;max-width:none}.auth-art,.auth-foot{display:none}.auth-form{padding:34px 24px 45px;align-items:flex-start}.auth-inner h2{font-size:26px}.auth-inner>p{margin-bottom:24px}.choice-grid{grid-template-columns:1fr}.prayer-row .prayer-name{width:95px;font-size:12px;gap:8px}.prayer-row select{font-size:11px;padding:11px 8px}.tabs{gap:0}.tab{padding:12px 14px;font-size:11px}.register-page{padding:26px 18px}.modal-head,.modal-body{padding:20px}.badge{font-size:10px}td,th{padding:12px 10px}.surah-grid{grid-template-columns:1fr 1fr}.surah-grid .choice{font-size:11px;padding:10px;gap:8px}.ring-wrap{justify-content:flex-start}.profile .icon-btn{display:none}}
@media(max-width:760px){.page-heading{flex-wrap:wrap}.page-heading>.row{width:100%;flex-wrap:wrap}.page-heading>div:first-child{min-width:0}.page-heading>.row .btn{margin-top:0}.prayer-row select{min-width:0}.filter-row{row-gap:16px}h1,h2,h3,p{overflow-wrap:anywhere}}
@media(max-width:760px){.filter-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.filter-row>.search,.filter-row>button,.filter-row>label:has(select[name=class_id]){grid-column:1/-1}.filter-row input[type=date]{font-size:12px;padding:11px 8px}.filter-row label{min-width:0}}
/* Semester report entry and school branding */
.sidebar nav{min-height:0;overflow-y:auto;flex:1;scrollbar-width:thin}.sidebar>.brand,.sidebar>.nav-label,.sidebar-bottom{flex-shrink:0}.pagination{flex-wrap:wrap;gap:12px}
.semester-editor{margin-top:20px;gap:20px}.semester-entry-table{min-width:1000px}.semester-entry-table td{vertical-align:top}.semester-entry-table th:nth-child(2){width:19%}.semester-entry-table th:nth-child(3),.semester-entry-table th:nth-child(4){width:13%}.semester-entry-table th:nth-child(5){width:43%}.semester-entry-table input,.semester-entry-table select,.semester-entry-table textarea{width:100%;min-width:0}.semester-entry-table select{margin-top:7px}.semester-entry-table textarea{min-height:150px}.semester-entry-table td .btn{margin-top:8px}.semester-save-bar{background:#fff;border:1px solid #dce4df;border-radius:14px;padding:20px;display:flex;gap:20px;align-items:center;justify-content:space-between}.semester-save-bar p{max-width:450px;margin:0}.semester-save-bar .row{flex-wrap:wrap}.school-asset-preview{display:block;max-height:140px;max-width:100%;object-fit:contain;margin:12px 0}.student-picker{min-width:0}.student-picker .row .btn{padding:5px 12px}@media(max-width:800px){.semester-save-bar{display:block}.semester-save-bar .row{margin-top:16px}}

.sidebar-brand{display:flex;align-items:center;gap:6px;margin-bottom:26px;flex-shrink:0}.sidebar .sidebar-brand .brand{margin:0;min-width:0;flex:1}.sidebar-close{color:#d7e5dd;flex-shrink:0;padding:6px}.sidebar-toggle{display:grid!important}.sidebar-brand .brand small{font-size:8px}.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden}.sidebar-collapsed .main{margin-left:0!important}.main{transition:margin-left .2s}.sidebar{transition:transform .2s,visibility .2s}.sidebar[inert]{visibility:hidden}.sidebar.open{visibility:visible}

.search-select{position:relative;min-width:0}.search-select-control{position:relative;margin-top:7px}.search-select-control input[role=combobox]{padding-right:36px}.search-clear{position:absolute;right:6px;top:5px;border:0;background:transparent;padding:5px 8px;color:var(--muted);font-size:20px}.search-results{position:absolute;z-index:65;left:0;right:0;top:76px;max-height:220px;overflow:auto;background:white;border:1px solid #cbd8ce;border-radius:8px;box-shadow:0 10px 24px #123b321f}.search-results[hidden]{display:none}.search-results button{display:block;width:100%;text-align:left;background:white;border:0;padding:11px 12px;color:var(--ink);font-weight:400}.search-results button:hover,.search-results button[aria-selected=true]{background:var(--mint)}.search-message{padding:13px;color:var(--muted)}.search-select [data-search-info]{display:block;margin-top:6px;font-size:10px}.review-result{border:0;padding:0;margin:0;min-width:0}.review-result legend{font-weight:600;margin-bottom:12px;font-size:12px}

/* Single-choice buttons retain native radio validation and keyboard controls. */
.button-choice-group{border:0;padding:0;margin:0;min-width:0}
.button-choice-group legend{display:flex;align-items:center;gap:8px;padding:0;margin-bottom:8px;font-size:12px;font-weight:550;line-height:1.4}
.button-choices{display:flex;flex-wrap:wrap;gap:8px}
.button-choice{position:relative;flex:1;min-width:0;cursor:pointer}
.button-choice input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.button-choice span{display:flex;align-items:center;justify-content:center;min-height:44px;height:100%;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--white);color:var(--ink);text-align:center;transition:background .15s,border-color .15s,color .15s}
.button-choice:hover span{border-color:#a0b6a8;background:#f7faf6}
.button-choice input:checked+span{border-color:var(--green);background:var(--green);color:var(--white)}
.button-choice input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}
.prayer-choice{padding:4px 0 16px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.prayer-choice legend{font-size:13px;font-weight:600}
.prayer-choice legend .icon{width:18px;height:18px;color:var(--green)}
.prayer-choice .button-choice{flex:1 1 140px}
.prayer-save{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.prayer-save .btn .icon{width:16px;height:16px}
@media(max-width:760px){.prayer-choice .button-choice{flex-basis:calc(50% - 4px)}.button-choice span{padding:10px 8px;font-size:11px}}
