/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--shimmer-angle:20deg}*,:before,:after{--scroll-fade-t:0px;--scroll-fade-b:0px;--scroll-fade-s:0px;--scroll-fade-e:0px;--scroll-fade-mask:initial;--shimmer-image:initial;--shimmer-text-fill:initial}::backdrop{--scroll-fade-t:0px;--scroll-fade-b:0px;--scroll-fade-s:0px;--scroll-fade-e:0px;--scroll-fade-mask:initial;--shimmer-image:initial;--shimmer-text-fill:initial}}}@property --scroll-fade-t{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-b{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-s{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-e{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-mask{syntax:"*";inherits:false}@property --shimmer-angle{syntax:"<angle>";inherits:true;initial-value:20deg}@property --shimmer-image{syntax:"*";inherits:false}@property --shimmer-text-fill{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){.shimmer{-webkit-text-fill-color:currentColor;background-image:none;animation:none}}:root{--ink:#17233d;--muted:#6c7892;--line:#e5e9f1;--blue:#2864dc;--blue2:#eaf1ff;--bg:#f5f7fb;--green:#158a65;--amber:#c27a16;--red:#c44242;--shadow:0 8px 30px #1f305612}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.topbar{border-bottom:1px solid var(--line);z-index:20;background:#fff;align-items:center;gap:26px;height:72px;padding:0 28px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;min-width:210px;display:flex}.brand-mark{background:var(--ink);color:#fff;letter-spacing:-1px;border-radius:11px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.brand>span:last-child,.profile div{flex-direction:column;display:flex}.brand small,.profile small{color:var(--muted);margin-top:2px;font-size:11px}.mode-switch{background:#f0f3f8;border-radius:10px;margin:auto;padding:4px;display:flex}.mode-switch button{color:var(--muted);background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;padding:9px 14px;font-size:13px;font-weight:650;display:flex}.mode-switch button.active{color:var(--ink);background:#fff;box-shadow:0 1px 5px #ccd3df}.profile{align-items:center;gap:9px;display:flex}.profile>span,.avatar{color:#2853a9;background:#dce7ff;border-radius:50%;place-items:center;width:36px;height:36px;font-size:12px;font-weight:800;display:grid}.profile b{font-size:13px}.shell{grid-template-columns:236px minmax(0,1fr);min-height:calc(100vh - 72px);display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;padding:24px 14px;display:flex}.side-caption,.eyebrow{letter-spacing:1.4px;color:#8490a8;font-size:10px;font-weight:800}.side-caption{padding:0 13px 10px}.nav-item{color:#65718a;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:11px;width:100%;margin:2px 0;padding:11px 13px;font-weight:650;display:flex}.nav-item.active{background:var(--blue2);color:var(--blue)}.sync-card{background:#f4f8ff;border:1px solid #dce6fa;border-radius:12px;flex-direction:column;align-items:flex-start;gap:6px;margin-top:auto;padding:15px;display:flex}.sync-card svg{color:var(--blue)}.sync-card b{font-size:13px}.sync-card small{color:var(--muted);line-height:1.4}.sync-card span{color:var(--green);font-size:11px;font-weight:700}.sync-card i,.live i{background:#20af79;border-radius:50%;width:7px;height:7px;display:inline-block}.content{width:100%;max-width:1440px;margin:0 auto;padding:34px 40px}.page-head{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px;display:flex}.page-head h1{letter-spacing:-.8px;margin:6px 0;font-family:Georgia,serif;font-size:34px}.page-head p{color:var(--muted);margin:0}.primary,.secondary,.save{border:0;border-radius:9px;align-items:center;gap:8px;padding:11px 16px;font-weight:750;display:inline-flex}.primary,.save{background:var(--blue);color:#fff}.secondary{border:1px solid var(--line);color:var(--ink);background:#fff}.primary svg,.secondary svg{width:17px}.metrics{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px;display:grid}.metric,.panel,.student-card,.batch-card,.schedule-controls,.logic-note,.priority{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:14px}.metric{gap:13px;padding:18px;display:flex}.metric-icon{background:var(--blue2);width:39px;height:39px;color:var(--blue);border-radius:10px;place-items:center;display:grid}.metric div:last-child{flex-direction:column;display:flex}.metric p{color:var(--muted);margin:0;font-size:12px}.metric strong{margin:2px 0;font-size:25px}.metric small{color:var(--muted);font-size:11px}.grid-2{grid-template-columns:1.25fr .85fr;gap:18px;display:grid}.panel{padding:22px}.panel-head{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.panel-head h2{margin:4px 0 0;font-size:19px}.text-btn{color:var(--blue);background:0 0;border:0;align-items:center;font-weight:700;display:flex}.sessions>div{border-top:1px solid var(--line);grid-template-columns:54px 12px 1fr auto;align-items:center;gap:10px;padding:13px 0;display:grid}.sessions .time{color:var(--muted);font-size:12px}.sessions i{border:2px solid #aab3c4;border-radius:50%;width:8px;height:8px}.sessions i.now{background:var(--blue);border-color:var(--blue);box-shadow:0 0 0 4px var(--blue2)}.sessions section{flex-direction:column;display:flex}.sessions section small,.action-row small{color:var(--muted);margin-top:3px}.chip{background:var(--blue2);color:var(--blue);white-space:nowrap;border-radius:20px;padding:5px 8px;font-size:10px;font-weight:800}.chip-green{color:var(--green);background:#e5f7f0}.chip-amber{color:var(--amber);background:#fff3dc}.chip-slate{color:#68748a;background:#eef1f5}.chip-red{color:var(--red);background:#fbe8e8}.action-row{border:0;border-top:1px solid var(--line);text-align:left;background:0 0;grid-template-columns:42px 1fr 20px;align-items:center;gap:12px;width:100%;padding:13px 0;display:grid}.action-row>span:nth-child(2){flex-direction:column;display:flex}.action-row>svg{color:#9aa4b6;width:18px}.action-icon{border-radius:10px;place-items:center;width:40px;height:40px;display:grid}.action-icon svg{width:19px}.action-icon.amber{color:var(--amber);background:#fff3dc}.action-icon.blue{background:var(--blue2);color:var(--blue)}.action-icon.green{color:var(--green);background:#e5f7f0}.search-box{border:1px solid var(--line);height:55px;box-shadow:var(--shadow);background:#fff;border-radius:12px;align-items:center;gap:10px;max-width:760px;padding:0 15px;display:flex}.search-box svg{color:#929caf}.search-box input{border:0;outline:0;flex:1;font-size:15px}.search-box kbd{color:#8a95aa;background:#f1f3f7;border-radius:5px;padding:4px 7px;font-size:11px}.results{border:1px solid var(--line);max-width:760px;box-shadow:var(--shadow);z-index:4;background:#fff;border-radius:12px;width:calc(100% - 316px);margin-top:7px;position:absolute}.results button{border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;grid-template-columns:38px 1fr 20px;align-items:center;gap:10px;width:100%;padding:11px;display:grid}.results button>span:nth-child(2){flex-direction:column;display:flex}.results small{color:var(--muted)}.student-card{margin-top:22px;overflow:hidden}.student-hero{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding:24px;display:flex}.avatar.large{width:58px;height:58px;font-size:17px}.student-hero h2{margin:7px 0 3px}.student-hero p,.student-hero small{color:var(--muted);margin:0}.student-hero .secondary{margin-left:auto}.student-metrics{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);display:grid}.student-metrics>div{border-right:1px solid var(--line);flex-direction:column;padding:20px;display:flex}.student-metrics small,.student-metrics span{color:var(--muted)}.student-metrics b{margin:4px 0;font-size:25px}.student-metrics span{font-size:11px}.record-grid{grid-template-columns:1.5fr .7fr;gap:28px;padding:24px;display:grid}.record-grid h3{margin-top:0}.record-row{border-top:1px solid var(--line);grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:13px 0;display:grid}.record-row span:first-child{flex-direction:column;display:flex}.record-row small{color:var(--muted)}.donut{background:conic-gradient(var(--blue) 0 91%,#edf0f5 91%);border-radius:50%;place-items:center;width:140px;height:140px;margin:15px auto;display:grid}.donut:before{content:"";background:#fff;border-radius:50%;width:102px;height:102px;position:absolute}.donut div{z-index:1;text-align:center;flex-direction:column;display:flex}.donut b{font-size:24px}.donut small{color:var(--muted)}.legend{color:var(--muted);justify-content:center;gap:13px;font-size:11px;display:flex}.legend i,.timeline i{border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}.green-dot{background:var(--green)}.amber-dot{background:#e9a139}.slate-dot{background:#bbc3d0}.blue-dot{background:var(--blue)}.table-panel{overflow-x:auto}.table{min-width:720px}.tr{border-top:1px solid var(--line);grid-template-columns:2fr 1.2fr .7fr .9fr .8fr;align-items:center;padding:14px 4px;font-size:13px;display:grid}.tr.th{color:var(--muted);font-size:11px;font-weight:750}.logic-note{background:#f4f8ff;gap:13px;margin-top:18px;padding:18px;display:flex}.logic-note svg{color:var(--blue)}.logic-note p{color:var(--muted);margin:4px 0}.schedule-controls{justify-content:space-between;margin-bottom:16px;padding:15px 18px;display:flex}.schedule-controls>div{flex-direction:column;display:flex}.schedule-controls small{color:var(--muted)}.toggle{align-items:center;gap:9px;display:flex}.toggle input{display:none}.toggle span{background:#ccd3df;border-radius:20px;width:38px;height:22px;position:relative}.toggle span:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:all .2s;position:absolute;top:3px;left:3px}.toggle input:checked+span{background:var(--blue)}.toggle input:checked+span:after{left:19px}.batch-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.batch-card{padding:18px}.batch-card>div{justify-content:space-between;display:flex}.batch-card h2{margin:14px 0}.batch-card p{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.batch-card p svg{width:15px}.icon-btn{color:#7c879b;background:0 0;border:0;padding:4px}.priority{align-items:center;gap:12px;margin-top:16px;padding:15px;font-size:12px;display:flex}.priority b{margin-right:auto}.priority span{background:#f2f4f8;border-radius:7px;padding:7px 9px}.priority svg{color:#9aa4b6;width:14px}.import-grid{grid-template-columns:1.2fr .8fr;gap:18px;display:grid}.upload-panel{text-align:center;padding:34px}.upload-icon{width:62px;height:62px;color:var(--blue);background:#e8f0ff;border-radius:16px;place-items:center;margin:auto;display:grid}.upload-icon svg{width:30px;height:30px}.upload-panel p{color:var(--muted)}.file-btn input{display:none}.file-selected{border:1px solid var(--line);text-align:left;background:#f5f8fd;border-radius:10px;grid-template-columns:28px 1fr auto;align-items:center;margin-top:20px;padding:12px;display:grid}.file-selected>svg{color:var(--green)}.file-selected span{flex-direction:column;display:flex}.file-selected small{color:var(--muted)}.rules h2{margin-top:0}.rules>div{border-top:1px solid var(--line);gap:12px;padding:13px 0;display:flex}.rules>div>span{background:var(--blue2);width:30px;height:30px;color:var(--blue);border-radius:7px;place-items:center;font-weight:800;display:grid}.rules>div>span.warn{color:var(--amber);background:#fff3dc}.rules>div>span.blank{color:#68748a;background:#eef1f5}.rules>div>span.calc{color:var(--green);background:#e5f7f0}.rules p{flex-direction:column;margin:0;display:flex}.rules small{color:var(--muted);margin-top:3px}.preview{margin-top:18px}.validation-stats{align-items:center;gap:35px;display:flex}.validation-stats span{color:var(--muted);flex-direction:column;display:flex}.validation-stats b{color:var(--ink);font-size:20px}.validation-stats button{margin-left:auto}.timeline>div{border-top:1px solid var(--line);grid-template-columns:20px 1fr auto;gap:10px;padding:16px;display:grid}.timeline>div>span{flex-direction:column;display:flex}.timeline>div>span:last-child{text-align:right}.timeline small{color:var(--muted);margin-top:3px}.classroom{max-width:1400px;margin:auto;padding:28px 38px}.class-head{justify-content:space-between;align-items:flex-end;margin-bottom:22px;display:flex}.live{color:var(--green);letter-spacing:1px;font-size:11px;font-weight:800}.class-head h1{margin:8px 0 3px;font-family:Georgia,serif;font-size:36px}.class-head p{color:var(--muted);margin:0}.class-time{text-align:right;flex-direction:column;align-items:flex-end;display:flex}.class-time>b{font-size:28px}.class-time small{color:var(--muted);margin-bottom:5px}.class-grid{grid-template-columns:.8fr 1.2fr;gap:20px;display:grid}.scan-panel,.entry-panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:16px;padding:28px}.scan-panel{text-align:center;flex-direction:column;align-items:center;display:flex}.scan-visual{background:#f6f8fc;border:2px solid #d9e1ee;border-radius:18px;place-items:center;width:180px;height:180px;margin-bottom:24px;display:grid;position:relative}.scan-visual>svg{color:#8390a6;width:96px;height:96px}.scan-visual span{border:2px solid var(--blue);border-left-color:#0000;border-right-color:#0000;position:absolute;inset:20px}.scan-visual i{background:var(--blue);height:2px;box-shadow:0 0 8px var(--blue);position:absolute;top:50%;left:0;right:0}.scan-panel h2{margin:7px 0}.scan-panel p{color:var(--muted);max-width:360px}.manual-scan{width:100%;margin-top:12px;display:flex}.manual-scan input{border:1px solid var(--line);border-radius:9px 0 0 9px;outline:none;flex:1;padding:12px}.manual-scan button{background:var(--ink);color:#fff;border:0;border-radius:0 9px 9px 0;padding:0 16px;font-weight:750}.hint{color:var(--muted);margin-top:8px}.student-strip{border-bottom:1px solid var(--line);grid-template-columns:60px 1fr auto;align-items:center;gap:13px;padding-bottom:20px;display:grid}.student-strip h2{margin:4px 0 2px}.student-strip p{color:var(--muted);margin:0}.entry-section{border-bottom:1px solid var(--line);padding:17px 0}.entry-section>label{justify-content:space-between;font-weight:800;display:flex}.entry-section>label small,.entry-section>small{color:var(--muted);font-weight:400}.choice-row{gap:8px;margin:10px 0;display:flex}.choice-row.wrap{flex-wrap:wrap}.choice-row button{border:1px solid var(--line);color:#59667e;background:#fff;border-radius:8px;align-items:center;gap:5px;padding:10px 12px;font-weight:700;display:flex}.choice-row button.selected{border-color:var(--blue);background:var(--blue2);color:var(--blue)}.choice-row button svg{width:14px}.save{justify-content:center;width:100%;margin-top:20px;padding:14px}.class-footer{background:var(--ink);color:#fff;border-radius:12px;gap:30px;margin-top:16px;padding:13px 20px;display:flex}.class-footer span:last-child{margin-left:auto}.mobile{display:none}@media (max-width:900px){.topbar{padding:0 15px}.profile{display:none}.mobile{display:block}.brand{min-width:auto}.brand>span:last-child{display:none}.mode-switch{margin-left:auto}.shell{grid-template-columns:1fr}.sidebar{z-index:15;width:236px;transition:all .2s;position:fixed;top:72px;bottom:0;left:-250px}.sidebar.open{left:0}.content{padding:24px 18px}.metrics{grid-template-columns:repeat(2,1fr)}.grid-2,.record-grid,.import-grid,.class-grid{grid-template-columns:1fr}.batch-grid{grid-template-columns:repeat(2,1fr)}.results{width:calc(100% - 36px)}.classroom{padding:20px}.class-head{align-items:flex-start}.class-time>b{font-size:22px}.student-metrics{grid-template-columns:repeat(2,1fr)}.validation-stats{flex-wrap:wrap}.validation-stats button{margin-left:0}.priority{overflow:auto}.class-footer{flex-wrap:wrap}.class-footer span:last-child{margin-left:0}}@media (max-width:600px){.mode-switch button{padding:9px;font-size:0}.mode-switch button svg{width:19px;height:19px}.page-head{flex-direction:column;align-items:flex-start}.page-head h1{font-size:29px}.metrics,.batch-grid{grid-template-columns:1fr}.metric{padding:14px}.student-hero{align-items:flex-start}.student-hero .secondary{display:none}.student-metrics{grid-template-columns:1fr 1fr}.record-row{grid-template-columns:1fr auto}.record-row .chip{display:none}.class-head{flex-direction:column;gap:13px}.class-time{text-align:left;align-items:flex-start}.scan-panel,.entry-panel{padding:20px}.scan-visual{width:145px;height:145px}.student-strip{grid-template-columns:50px 1fr}.student-strip>.chip{grid-column:2}.choice-row button{padding:9px}.class-footer{gap:12px;font-size:12px}.tr{grid-template-columns:1.8fr 1fr .7fr}.tr span:nth-child(4),.tr span:nth-child(5){display:none}}.report-filters{grid-template-columns:1.05fr .75fr 1.35fr 1fr 1fr auto;align-items:end;gap:12px;margin-bottom:16px;padding:18px;display:grid}.report-filters label,.absence-fields label{flex-direction:column;gap:6px;display:flex}.report-filters label>span,.absence-fields label>span{color:var(--muted);font-size:12px;font-weight:750}.report-filters select,.report-filters input,.absence-fields select,.absence-fields input{border:1px solid var(--line);height:42px;color:var(--ink);background:#fff;border-radius:8px;outline:none;padding:0 10px}.report-summary{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px;display:grid}.report-stack{gap:18px;display:grid}.report-section{overflow-x:auto}.detail-table{min-width:760px}.detail-row{border-top:1px solid var(--line);grid-template-columns:.75fr 1fr .8fr 1.3fr 1.25fr;align-items:center;gap:12px;padding:13px 4px;font-size:13px;display:grid}.detail-row.head{color:var(--muted);font-size:11px;font-weight:750}.tests-detail .detail-row{grid-template-columns:.75fr 1.8fr .7fr 1fr .6fr}.range-result{justify-content:space-between;align-items:center;gap:25px;display:flex}.range-result h2{margin:6px 0}.range-result p{color:var(--muted);margin-bottom:0}.formula{background:#f4f8ff;border:1px solid #dce6fa;border-radius:12px;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;min-width:480px;padding:16px;display:grid}.formula b{color:var(--blue)}.absence-fields{background:#f7f9fc;border-radius:10px;grid-template-columns:1.3fr 1fr;gap:10px;margin-top:12px;padding:12px;display:grid}.absence-fields label>span{align-items:center;gap:5px;display:flex}.absence-fields svg{width:14px}@media (max-width:1100px){.report-filters{grid-template-columns:repeat(3,1fr)}.report-summary{grid-template-columns:repeat(2,1fr)}}@media (max-width:700px){.report-filters{grid-template-columns:1fr 1fr}.report-summary{grid-template-columns:1fr}.range-result{flex-direction:column;align-items:flex-start}.formula{grid-template-columns:1fr;width:100%;min-width:0}.absence-fields{grid-template-columns:1fr}}.roster-panel{text-align:left;align-items:stretch}.roster-panel>h2{margin-bottom:0}.batch-roster{border:1px solid var(--line);border-radius:11px;flex-direction:column;max-height:390px;margin:14px 0;display:flex;overflow:hidden auto}.batch-roster>button{border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:11px;display:grid}.batch-roster>button:last-child{border-bottom:0}.batch-roster>button.active{background:var(--blue2)}.batch-roster>button>span:nth-child(2){flex-direction:column;display:flex}.batch-roster small{color:var(--muted)}.optional-reason{flex-direction:column;gap:7px;margin-top:12px;display:flex}.optional-reason>span{color:var(--muted);font-size:12px;font-weight:750}.optional-reason input{border:1px solid var(--line);border-radius:8px;outline:none;width:100%;height:42px;padding:0 10px}.loading-screen{text-align:center;place-content:center;gap:12px;min-height:100vh;display:grid}.loading-screen h1{margin:0;font-family:Georgia,serif}.loading-screen p{color:var(--muted)}.spin{color:var(--blue);margin:auto;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.student-workspace{grid-template-columns:330px minmax(0,1fr);gap:18px;margin-top:18px;display:grid}.student-list{max-height:680px;padding:8px;overflow-y:auto}.student-list button{border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;border-radius:8px;grid-template-columns:38px 1fr;align-items:center;gap:10px;width:100%;padding:11px;display:grid}.student-list button.active{background:var(--blue2)}.student-list button>span:last-child{flex-direction:column;min-width:0;display:flex}.student-list small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.student-workspace .student-card{margin-top:0}.student-workspace .student-card>.panel{margin:20px}.test-editor .detail-row{grid-template-columns:1.5fr .8fr .8fr 1fr 1fr .6fr}.test-editor select,.test-editor input{border:1px solid var(--line);height:38px;color:var(--ink);background:#fff;border-radius:7px;padding:0 8px}.test-editor input{width:80px}.test-editor button:disabled{opacity:.55;cursor:wait}.report-filters{grid-template-columns:minmax(240px,2fr) repeat(3,minmax(150px,1fr))}@media (max-width:900px){.student-workspace{grid-template-columns:1fr}.student-list{max-height:280px}.topbar>.chip{margin-left:auto}}.sidebar{overflow-y:auto}.sidebar .sync-card{margin-top:24px}.full-input{border:1px solid var(--line);border-radius:8px;width:100%;height:42px;margin-top:8px;padding:0 10px}.empty-state{text-align:center;padding:48px}.empty-state>svg{width:44px;height:44px;color:var(--blue);margin:auto}.empty-state p{color:var(--muted);max-width:620px;margin:8px auto 20px}.note-form{margin-top:18px}.form-grid{grid-template-columns:1fr 1fr;gap:14px;margin:18px 0;display:grid}.form-grid label{flex-direction:column;gap:6px;display:flex}.form-grid label span{color:var(--muted);font-size:12px;font-weight:750}.form-grid input,.form-grid textarea{border:1px solid var(--line);background:#fff;border-radius:8px;padding:10px}.form-grid textarea{resize:vertical;min-height:90px}.form-grid .wide{grid-column:1/-1}.previous-table input{border:1px solid var(--line);border-radius:7px;width:90px;height:38px;padding:0 8px}.previous-table+.primary{margin-top:18px}.panel-note{color:var(--muted);margin:18px 0 0}.staff-table .detail-row{grid-template-columns:1.5fr 1fr 1fr .8fr .8fr}@media (max-width:700px){.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.detail-table{overflow-x:auto}.empty-state{padding:28px 18px}}.login-screen{background:#0e2855;place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{background:#fff;border-radius:18px;gap:14px;width:min(100%,390px);padding:30px;display:grid;box-shadow:0 24px 70px #00000040}.login-card .brand-mark{margin-bottom:4px}.login-card h1{margin:0;font-family:Georgia,serif;font-size:29px}.login-card p{color:var(--muted);margin:0 0 5px}.login-card label{gap:6px;display:grid}.login-card label span{font-size:13px;font-weight:750}.login-card input,.login-card select{border:1px solid var(--line);background:#fff;border-radius:9px;height:46px;padding:0 12px}.login-card .primary{justify-content:center}.login-error{color:var(--red);background:#fbe8e8;border-radius:8px;padding:10px;font-size:13px;font-weight:700}.class-toolbar{justify-content:space-between;align-items:end;gap:15px;margin-bottom:16px;display:flex}.class-toolbar label{gap:6px;display:grid}.class-toolbar label span{color:var(--muted);font-size:12px;font-weight:750}.class-toolbar select{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:310px;height:42px;padding:0 10px}.class-toolbar a{text-decoration:none}.qr-scanner{gap:8px;width:100%;margin:10px 0;display:grid}.qr-scanner video{object-fit:cover;background:#e9eef6;border-radius:10px;width:100%;max-height:230px;display:none}.qr-scanner video[src]{display:block}.qr-scanner button{justify-content:center}.qr-scanner small{color:var(--muted)}.save:disabled{opacity:.6;cursor:wait}@media (max-width:600px){.class-toolbar{flex-direction:column;align-items:stretch}.class-toolbar select{width:100%;min-width:0}.class-toolbar a{justify-content:center}}.qr-scanner video.active{display:block}.already-marked{background:#effaf6;border:1px solid #bfe5d7;border-radius:14px;grid-template-columns:42px 1fr auto;align-items:center;gap:14px;margin-top:22px;padding:22px;display:grid}.already-marked>svg{width:40px;height:40px;color:var(--green);background:#d8f3e9;border-radius:50%;padding:9px}.already-marked h2{margin:4px 0}.already-marked p{color:var(--muted);margin:0}.edit-cancel{margin:12px auto 0}.batch-roster .chip{justify-self:end}.already-marked.blocked{background:#fff8ed;border-color:#f0d5ad}.already-marked.blocked>svg{color:var(--amber);background:#ffebcb}.attendance-window{border:1px solid var(--line);background:#f7f9fc;border-radius:11px;grid-template-columns:30px 1fr;align-items:center;gap:4px 10px;margin:10px 0;padding:16px;display:grid}.attendance-window>svg{color:var(--amber);grid-row:1/3}.attendance-window small{color:var(--muted)}@media (max-width:600px){.already-marked{grid-template-columns:42px 1fr}.already-marked button{grid-column:1/-1;justify-content:center}}.report-mode{background:#e9edf5;border-radius:10px;margin-bottom:14px;padding:4px;display:inline-flex}.report-mode button{color:var(--muted);background:0 0;border:0;border-radius:8px;padding:10px 16px;font-weight:750}.report-mode button.active{color:var(--blue);background:#fff;box-shadow:0 1px 5px #cbd3e1}.batch-attendance-table{overflow-x:auto}.batch-attendance-row{border-top:1px solid var(--line);grid-template-columns:.55fr 2fr 1fr repeat(4,.7fr);align-items:center;gap:12px;min-width:800px;padding:13px 4px;font-size:13px;display:grid}.batch-attendance-row.head{color:var(--muted);font-size:11px;font-weight:750}.batch-attendance-row>span:nth-child(2){flex-direction:column;display:flex}.batch-attendance-row small{color:var(--muted);margin-top:3px}.batch-report-summary{grid-template-columns:repeat(4,1fr)}.report-type{gap:10px;margin-bottom:14px;display:flex}.report-type button{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:9px;padding:11px 18px;font-weight:750}.report-type button.active{border-color:var(--blue);background:var(--blue2);color:var(--blue)}.marks-analysis-table{overflow-x:auto}.marks-analysis-row{border-top:1px solid var(--line);grid-template-columns:.55fr 2fr 1fr 1fr .8fr .65fr .65fr;align-items:center;gap:12px;min-width:820px;padding:13px 4px;font-size:13px;display:grid}.marks-analysis-row.head{color:var(--muted);font-size:11px;font-weight:750}.marks-analysis-row>span:nth-child(2){flex-direction:column;display:flex}.marks-analysis-row small{color:var(--muted);margin-top:3px}.previous-reference{grid-template-columns:1fr 180px 180px;align-items:center;gap:18px;margin-bottom:16px;display:grid}.previous-reference h2{margin:5px 0}.previous-reference>div:not(:first-child){border-left:1px solid var(--line);flex-direction:column;gap:5px;padding-left:20px;display:flex}.previous-reference small{color:var(--muted)}.previous-reference strong{font-size:20px}.ptm-grid{margin-bottom:18px}.ptm-history{border-top:1px solid var(--line);gap:5px;padding:14px 0;display:grid}.ptm-history p{color:var(--ink);margin:0}.ptm-history small,.ptm-history span{color:var(--muted)}.ptm-history span{font-size:12px;font-weight:700}.note-form button:disabled{opacity:.6;cursor:wait}.recovery-banner{background:#f4f8ff;grid-template-columns:46px 1fr auto;align-items:center;gap:14px;margin-bottom:18px;display:grid}.recovery-banner>svg{background:var(--blue2);width:42px;height:42px;color:var(--blue);border-radius:12px;padding:10px}.recovery-banner h2,.danger-zone h2{margin:0 0 5px}.recovery-banner p,.danger-zone p{color:var(--muted);margin:0}.recovery-banner a{text-decoration:none}.recovery-grid{align-items:start}.archive-form{gap:12px;margin-top:18px;display:grid}.archive-form label{gap:6px;display:grid}.archive-form label span{color:var(--muted);font-size:12px;font-weight:750}.archive-form input,.archive-form select{border:1px solid var(--line);background:#fff;border-radius:8px;height:43px;padding:0 10px}.archive-button{color:#fff;background:#a12d2d;border:0;border-radius:9px;padding:12px 16px;font-weight:750}.archive-button:disabled,.archive-form .primary:disabled{opacity:.5;cursor:not-allowed}.danger-zone{background:#fff8f8;border-color:#f1c9c9;grid-template-columns:1fr minmax(360px,.8fr);align-items:center;gap:24px;margin-top:18px;display:grid}.system-archive{margin-top:0}@media (max-width:900px){.report-filters{grid-template-columns:1fr 1fr}}@media (max-width:700px){.report-filters{grid-template-columns:1fr}.report-type button,.report-mode button{flex:1}.report-mode{display:flex}.batch-report-summary{grid-template-columns:1fr}.batch-attendance-row{grid-template-columns:1.8fr 1fr .8fr .8fr}.batch-attendance-row span:nth-child(5),.batch-attendance-row span:nth-child(6),.batch-attendance-row span:nth-child(7){display:none}.marks-analysis-row{grid-template-columns:.5fr 1.8fr 1fr 1fr}.marks-analysis-row span:nth-child(5),.marks-analysis-row span:nth-child(6),.marks-analysis-row span:nth-child(7){display:none}.previous-reference{grid-template-columns:1fr 1fr}.previous-reference>div:first-child{grid-column:1/-1}.previous-reference>div:not(:first-child){border-left:0;padding-left:0}.ptm-lower{grid-template-columns:1fr}.recovery-banner{grid-template-columns:42px 1fr}.recovery-banner a{grid-column:1/-1;justify-content:center}.danger-zone{grid-template-columns:1fr}.system-archive{min-width:0}}.test-toolbar{justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px;display:flex}.test-toolbar label{flex:1;gap:6px;display:grid}.test-toolbar label span,.create-test-form label span{color:var(--muted);font-size:12px;font-weight:750}.test-toolbar select,.create-test-form input,.create-test-form select{border:1px solid var(--line);background:#fff;border-radius:8px;height:42px;padding:0 10px}.create-test-form{grid-template-columns:1.4fr 1fr 1.6fr .8fr auto;align-items:end;gap:12px;margin-bottom:16px;display:grid}.create-test-form label{gap:6px;display:grid}.create-test-form>small{color:var(--muted);grid-column:1/-1}.rank-mode{max-width:520px;display:flex}@media (max-width:700px){.test-toolbar{flex-direction:column;align-items:stretch}.create-test-form{grid-template-columns:1fr}.create-test-form>small{grid-column:auto}.rank-mode{max-width:none;overflow-x:auto}.rank-mode button{white-space:nowrap}}.batch-manager{grid-template-columns:330px minmax(0,1fr);align-items:start;gap:18px;display:grid}.batch-selector{padding:10px;position:sticky;top:90px}.batch-selector .panel-head{padding:10px}.batch-selector .panel-head p{color:var(--muted);margin:4px 0 0}.batch-selector>button:not(.primary){border:0;border-top:1px solid var(--line);text-align:left;background:#fff;border-radius:9px;justify-content:space-between;align-items:center;width:100%;padding:13px;display:flex}.batch-selector>button.active{background:var(--blue2)}.batch-selector>button>span:first-child{flex-direction:column;gap:3px;display:flex}.batch-selector small{color:var(--muted)}.batch-workspace{gap:18px;display:grid}.batch-form{grid-template-columns:1.5fr .6fr 1fr .8fr 1fr 1fr;gap:12px;margin:16px 0;display:grid}.batch-form label{gap:6px;display:grid}.batch-form label span{color:var(--muted);font-size:12px;font-weight:750}.batch-form input,.batch-form select{border:1px solid var(--line);background:#fff;border-radius:8px;height:42px;padding:0 10px}.batch-form .wide{grid-column:1/-1}.form-actions{gap:10px;display:flex}.date-change{grid-template-columns:1.2fr 1.2fr 1fr 1fr}.schedule-list{margin-top:18px}.schedule-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 0;display:flex}.schedule-list>div>span{flex-direction:column;gap:3px;display:flex}.schedule-list small{color:var(--muted)}.enrolment-list{grid-template-columns:1fr 1fr;gap:8px;max-height:430px;margin:12px 0 18px;padding-right:6px;display:grid;overflow-y:auto}.enrolment-list label{border:1px solid var(--line);border-radius:9px;grid-template-columns:20px 1fr;align-items:center;gap:9px;padding:10px;display:grid}.enrolment-list label>span{flex-direction:column;display:flex}.enrolment-list small{color:var(--muted)}@media (max-width:1000px){.batch-manager{grid-template-columns:1fr}.batch-selector{position:static}.batch-form{grid-template-columns:1fr 1fr}.batch-form .wide{grid-column:1/-1}}@media (max-width:600px){.batch-form,.date-change,.enrolment-list{grid-template-columns:1fr}.batch-form .wide{grid-column:auto}.batch-selector .panel-head{align-items:flex-start;gap:10px}.batch-selector .primary{padding:9px 11px}}.ptm-print-sheet{margin-bottom:20px;padding:26px}.ptm-print-actions{justify-content:flex-end;margin-bottom:12px;display:flex}.ptm-print-sheet>header{border-bottom:3px solid var(--ink);grid-template-columns:1fr auto;align-items:center;gap:24px;padding-bottom:18px;display:grid}.ptm-print-sheet h1{margin:6px 0;font-family:Georgia,serif;font-size:32px}.ptm-print-sheet header p,.ptm-print-sheet header small{color:var(--muted)}.ptm-overall{grid-template-columns:1fr 1fr;gap:10px;display:grid}.ptm-overall>div{border:1px solid var(--line);background:#f2f6fd;border-radius:10px;flex-direction:column;min-width:150px;padding:12px;display:flex}.ptm-overall small{font-size:11px}.ptm-overall b{color:var(--blue);margin:4px 0;font-size:21px}.ptm-overall span{font-size:12px;font-weight:750}.ptm-print-sheet section{margin-top:22px}.ptm-print-sheet section>h2{border-left:4px solid var(--blue);margin:0 0 10px;padding-left:9px;font-size:16px}.ptm-reference{background:#f7f9fc;border-radius:10px;align-items:center;gap:24px;padding:12px 16px;display:flex}.ptm-reference h2{margin-right:auto!important}.ptm-reference div{gap:8px;display:flex}.ptm-table{border:1px solid var(--line);border-radius:8px;overflow:hidden}.ptm-tr{border-top:1px solid var(--line);align-items:center;gap:10px;padding:9px 10px;font-size:12px;display:grid}.ptm-tr:first-child{border-top:0}.ptm-tr.head{color:var(--muted);text-transform:uppercase;background:#eef3fb;font-size:10px;font-weight:800}.ptm-table.summary .ptm-tr{grid-template-columns:1.1fr 1fr .8fr 1fr 1.2fr .9fr}.ptm-table.tests .ptm-tr{grid-template-columns:1.8fr .9fr .65fr 1fr .7fr .65fr}.ptm-two{grid-template-columns:1fr 1fr;gap:16px;display:grid}.ptm-list{border:1px solid var(--line);border-radius:8px;overflow:hidden}.ptm-list>div{border-top:1px solid var(--line);flex-direction:column;gap:3px;padding:9px 10px;font-size:12px;display:flex}.ptm-list>div:first-child{border-top:0}.ptm-list span,.ptm-list p{color:var(--muted)}.ptm-list p{margin:0;padding:10px}.ptm-list.remarks>div span{color:var(--ink)}@media (max-width:800px){.ptm-print-sheet{padding:18px}.ptm-print-sheet>header{grid-template-columns:1fr}.ptm-overall>div{min-width:0}.ptm-reference{flex-wrap:wrap;align-items:flex-start}.ptm-reference h2{width:100%}.ptm-two{grid-template-columns:1fr}.ptm-table{overflow-x:auto}.ptm-tr{min-width:760px}}@media print{body{background:#fff!important}.topbar,.sidebar,.page-head,.no-print,.ptm-print-actions{display:none!important}.shell{display:block!important}.content{max-width:none!important;padding:0!important}.ptm-print-sheet{box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;display:block!important}.ptm-print-sheet>header{break-after:avoid}.ptm-print-sheet section,.ptm-tests{break-inside:avoid}.ptm-two{grid-template-columns:1fr 1fr}.ptm-tr{min-width:0!important}.ptm-print-sheet h1{font-size:26px}@page{size:A4 landscape;margin:10mm}}.inline-name-edit{align-items:center;gap:8px;margin:8px 0;display:flex}.inline-name-edit input{border:1px solid var(--line);border-radius:8px;min-width:260px;height:42px;padding:0 10px}.inline-name-edit .primary,.inline-name-edit .secondary{white-space:nowrap}.record-actions{justify-content:flex-end;margin:-12px 0 14px;display:flex}.create-record-panel{margin-bottom:16px}.create-record-panel h3{margin:16px 0 8px;font-size:14px}.add-students-box{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.add-students-box h3{margin:0}.enrolment-list.compact{max-height:240px}@media (max-width:600px){.inline-name-edit{flex-direction:column;align-items:stretch}.inline-name-edit input{width:100%;min-width:0}.student-hero .inline-name-edit .secondary{display:inline-flex}}.ptm-table.consolidated .ptm-tr{grid-template-columns:1fr .85fr .75fr 1.05fr 1.15fr 1.1fr 1.15fr}.previous-inline{margin:16px 22px}.previous-inline .panel-head{margin-bottom:0}.ptm-subject-block{break-inside:avoid;margin-top:16px}.ptm-subject-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:7px;display:flex}.ptm-subject-heading h3{color:var(--ink);margin:0;font-size:14px}.ptm-subject-heading span{color:var(--muted);font-size:11px;font-weight:750}.manual-attendance-panel{margin-top:20px}.manual-attendance-panel .panel-head p{color:var(--muted);margin:5px 0 0}.manual-attendance-table{border:1px solid var(--line);border-radius:11px;overflow-x:auto}.manual-attendance-row{border-top:1px solid var(--line);grid-template-columns:1.6fr 1fr .9fr 1fr 1.7fr;align-items:center;gap:10px;min-width:900px;padding:10px 12px;display:grid}.manual-attendance-row:first-child{border-top:0}.manual-attendance-row.head{color:var(--muted);text-transform:uppercase;background:#eef3fb;font-size:11px;font-weight:800}.manual-attendance-row select,.manual-attendance-row input{border:1px solid var(--line);width:100%;height:40px;color:var(--ink);background:#fff;border-radius:7px;padding:0 9px}.manual-attendance-row select:disabled{color:#9aa4b6;background:#eef1f5}.manual-student{flex-direction:column;gap:3px;display:flex}.manual-student small{color:var(--muted)}.manual-save{width:auto;min-width:240px;margin:16px 0 0 auto}.empty-state.compact{padding:34px 18px}.qr-live-table .manual-attendance-row{grid-template-columns:1.5fr .85fr 1.15fr 1.7fr}.performance-entry-table .manual-attendance-row{grid-template-columns:1.5fr 1fr 1.15fr 1.7fr}.attendance-mode-picker{grid-template-columns:1.3fr 1fr 1fr;align-items:stretch;gap:14px;margin-bottom:18px;display:grid}.attendance-mode-picker h2{margin:5px 0}.attendance-mode-picker p{color:var(--muted);margin:0}.mode-choice{border:1px solid var(--line);color:var(--ink);text-align:left;background:#f7f9fc;border-radius:12px;grid-template-columns:38px 1fr;align-items:center;gap:11px;padding:16px;display:grid}.mode-choice:hover{border-color:var(--blue);background:var(--blue2)}.mode-choice:disabled{opacity:.5;cursor:not-allowed}.mode-choice>svg{width:36px;height:36px;color:var(--blue);background:#e8efff;border-radius:10px;padding:8px}.mode-choice>span{flex-direction:column;gap:4px;display:flex}.mode-choice small{color:var(--muted);line-height:1.35}.attendance-mode-status{justify-content:space-between;align-items:center;margin-bottom:18px;padding:14px 18px;display:flex}.attendance-mode-status>div{flex-direction:column;gap:4px;display:flex}@media (max-width:850px){.attendance-mode-picker{grid-template-columns:1fr}.attendance-mode-status{align-items:flex-start;gap:10px}}@media (max-width:600px){.manual-attendance-panel{padding:15px}.manual-save{width:100%}.manual-attendance-panel .panel-head{align-items:flex-start;gap:10px}}.lost-card-panel{background:snow;border-color:#f1c9c9;grid-template-columns:1fr auto;align-items:center;gap:22px;margin:20px;display:grid}.lost-card-panel h3{margin:0}.lost-card-panel .panel-note{max-width:680px;margin:6px 0 0}.lost-card-confirm{min-width:370px}.lost-card-confirm label{color:var(--muted);font-size:12px}.lost-card-confirm .record-actions{gap:8px;margin:10px 0 0}.lost-card-confirm .archive-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:700px){.lost-card-panel{grid-template-columns:1fr;margin:14px}.lost-card-confirm{min-width:0}.lost-card-confirm .record-actions{flex-direction:column;align-items:stretch}.lost-card-confirm button{justify-content:center}}.enquiry-workspace{grid-template-columns:minmax(260px,300px) minmax(0,1fr);align-items:start}.enquiry-workspace>.panel{min-width:0}.enquiry-workspace>.panel:last-child{padding:22px}.enquiry-workspace .student-list{max-height:760px;overflow-y:auto}.enquiry-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0;display:grid}.enquiry-form label{gap:6px;min-width:0;display:grid}.enquiry-form label span{color:var(--muted);font-size:12px;font-weight:750}.enquiry-form input,.enquiry-form select{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;min-width:0;height:42px;padding:0 10px}.enquiry-form textarea{border:1px solid var(--line);width:100%;min-width:0;min-height:88px;font:inherit;resize:vertical;background:#fff;border-radius:8px;padding:10px}.enquiry-form .wide{grid-column:1/-1}.batch-form textarea{border:1px solid var(--line);min-height:88px;font:inherit;resize:vertical;background:#fff;border-radius:8px;padding:10px}.separator-line{background:var(--line);height:1px;margin:24px 0}.enquiry-workspace .record-row{grid-template-columns:1fr auto}.enquiry-workspace .record-row .text-btn{justify-self:end}.staff-table .text-btn{margin-top:5px;display:block}@media (max-width:1100px){.enquiry-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.enquiry-workspace{grid-template-columns:1fr}.enquiry-workspace .student-list{max-height:360px}}@media (max-width:600px){.enquiry-form{grid-template-columns:1fr}.enquiry-form .wide{grid-column:auto}}.portal-access-status{flex-wrap:wrap;gap:8px;display:flex}.portal-link{align-items:center;text-decoration:none;display:inline-flex}.video-admin-table .detail-row{grid-template-columns:1.5fr 1fr .75fr .55fr .45fr}.video-admin-table small{color:var(--muted);margin-top:3px;display:block}.text-btn.danger{color:#b42318}.portal-login{background:radial-gradient(circle at 20% 10%,#173d86 0,#07142f 40%,#030817 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.portal-login-card{background:#fff;border-radius:22px;gap:16px;width:min(430px,100%);padding:32px;display:grid;box-shadow:0 28px 70px #0008}.portal-login-card h1{color:#081b42;margin:0}.portal-login-card p{color:#5b6882;margin:0;line-height:1.55}.portal-login-card label{gap:7px;display:grid}.portal-login-card label span{color:#263653;font-weight:750}.portal-login-card input{height:48px;font:inherit;border:1px solid #cad3e2;border-radius:10px;padding:0 13px}.portal-login-card>a{text-align:center;color:#1e5dd6;font-weight:750;text-decoration:none}.portal-logo{color:#fff;background:linear-gradient(145deg,#123e92,#071a47);border-radius:14px;place-items:center;width:50px;height:50px;font-weight:900;display:grid;box-shadow:inset 0 -3px #f58220}.family-portal{color:#14213d;background:#f4f7fc;min-height:100vh}.portal-top{color:#fff;z-index:20;background:#071a47;justify-content:space-between;align-items:center;height:76px;padding:0 clamp(18px,5vw,72px);display:flex;position:sticky;top:0}.portal-top>div{align-items:center;gap:12px;display:flex}.portal-top span{display:grid}.portal-top small{color:#b9c7e8}.portal-top button{color:#fff;background:#ffffff0d;border:1px solid #fff3;border-radius:9px;align-items:center;gap:8px;padding:10px 13px;display:flex}.portal-content{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 60px}.portal-toolbar{background:#fff;border:1px solid #dbe3ef;border-radius:14px;align-items:end;gap:14px;margin-bottom:18px;padding:16px;display:flex}.portal-toolbar label{gap:6px;min-width:230px;display:grid}.portal-toolbar label span{color:#53627d;font-size:13px;font-weight:800}.portal-toolbar select{background:#fff;border:1px solid #cdd7e5;border-radius:8px;height:43px;padding:0 10px}.portal-toolbar button{align-items:center;gap:7px;margin-left:auto;display:flex}.parent-report-head,.student-portal-head{color:#fff;background:linear-gradient(130deg,#071a47,#123e92);border-radius:18px;justify-content:space-between;align-items:center;margin-bottom:18px;padding:28px 30px;display:flex}.parent-report-head h1,.student-portal-head h1{margin:5px 0;font-size:34px}.parent-report-head p,.student-portal-head p{color:#d3ddf4;margin:0}.portal-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.portal-metrics article{background:#fff;border:1px solid #dbe3ef;border-top:4px solid #f58220;border-radius:14px;gap:5px;padding:18px;display:grid}.portal-metrics article svg{color:#1e5dd6}.portal-metrics article h2{margin:3px 0 8px}.portal-metrics article b{margin-top:5px}.portal-metrics article span{color:#66738b;font-size:13px}.portal-section{background:#fff;border:1px solid #dbe3ef;border-radius:14px;margin-bottom:16px;padding:20px}.portal-section>h2,.section-title h2{margin:0 0 14px}.section-title{justify-content:space-between;align-items:center;display:flex}.simple-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.simple-grid>div{background:#f5f8fd;border-radius:10px;justify-content:space-between;padding:12px;display:flex}.portal-table{display:grid}.portal-row{border-top:1px solid #e3e9f2;grid-template-columns:1.6fr .65fr .65fr .55fr;align-items:center;gap:12px;padding:12px 8px;display:grid}.portal-row.head{color:#4d5c75;background:#f0f4fa;border:0;border-radius:8px;font-size:13px;font-weight:850}.portal-row span{min-width:0}.portal-row small{color:#68758b;margin-top:3px;display:block}.portal-detail,.ptm-parent-note{border-top:1px solid #e3e9f2;justify-content:space-between;gap:16px;padding:13px 0;display:flex}.portal-detail span,.ptm-parent-note{gap:4px;display:grid}.portal-detail small,.ptm-parent-note small,.ptm-parent-note span{color:#68758b}.ptm-parent-note p{margin:4px 0}.portal-empty{text-align:center;color:#5e6d86;background:#fff;border:1px dashed #bdc9da;border-radius:14px;padding:44px}.video-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.video-card{background:#fff;border:1px solid #dbe3ef;border-radius:16px;flex-direction:column;align-items:flex-start;padding:20px;display:flex}.video-card-icon{color:#f06e0b;background:#fff0e3;border-radius:14px;place-items:center;width:50px;height:50px;margin-bottom:18px;display:grid}.video-card h2{margin:6px 0 8px}.video-card p{color:#66738b;min-height:48px;line-height:1.5}.video-meta{color:#53627d;gap:7px;margin:12px 0 18px;font-size:14px;display:grid}.video-meta span{align-items:center;gap:7px;display:flex}.video-card button{width:100%;margin-top:auto}.video-card>small{text-align:center;color:#68758b;width:100%;margin-top:8px}.video-player-panel{background:#fff;border:1px solid #dbe3ef;border-radius:16px;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px;margin-bottom:20px;padding:18px;display:grid}.video-frame{aspect-ratio:16/9;background:#000;border-radius:12px;position:relative;overflow:hidden}.video-frame iframe{border:0;width:100%;height:100%}.student-watermark{pointer-events:none;color:#fff;background:#071a47cc;border:1px solid #fff5;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:800;position:absolute;top:12px;right:12px}.video-player-panel h2{margin:6px 0;font-size:28px}.video-player-panel p{color:#66738b;line-height:1.55}.protected-video-frame iframe{pointer-events:none}.video-click-shield{z-index:2;background:0 0;position:absolute;inset:0}.protected-video-frame .student-watermark{z-index:3}.custom-video-controls{background:#071a47;border-radius:0 0 12px 12px;justify-content:center;gap:10px;padding:10px;display:flex}.custom-video-controls button{justify-content:center;align-items:center;gap:7px;min-width:110px;display:flex}.video-player-panel .protected-video-note{color:#1e5dd6;font-size:13px;font-weight:750}@media (max-width:900px){.portal-metrics,.video-card-grid{grid-template-columns:1fr 1fr}.video-player-panel{grid-template-columns:1fr}.video-admin-table{min-width:800px}.portal-section:has(.portal-table){overflow-x:auto}.portal-table{min-width:700px}}@media (max-width:620px){.portal-content{width:min(100% - 20px,1180px);padding-top:12px}.portal-top{padding:0 12px}.portal-top .portal-logo{width:42px;height:42px}.portal-top button{font-size:0}.portal-toolbar{grid-template-columns:1fr 1fr;display:grid}.portal-toolbar label{min-width:0}.portal-toolbar button{grid-column:1/-1;margin:0}.parent-report-head,.student-portal-head{padding:20px}.parent-report-head h1,.student-portal-head h1{font-size:27px}.portal-metrics,.video-card-grid,.simple-grid{grid-template-columns:1fr}.portal-login-card{padding:24px}.video-player-panel{padding:10px}.video-player-panel h2{font-size:23px}.custom-video-controls{gap:6px}.custom-video-controls button{flex:1;min-width:0;padding-inline:8px}}@media print{.portal-top,.no-print{display:none!important}.family-portal{background:#fff}.portal-content{width:100%;padding:0}.portal-section,.portal-metrics article,.parent-report-head{break-inside:avoid}.parent-report-head{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#071a47!important}}.login-portal-links{grid-template-columns:1fr 1fr;gap:8px;margin-top:4px;display:grid}.login-portal-links a{text-align:center;border:1px solid var(--line);color:var(--blue);border-radius:8px;padding:9px;font-size:13px;font-weight:800;text-decoration:none}.portal-role-tabs{background:#edf2fa;border:1px solid #d8e0ed;border-radius:12px;grid-template-columns:repeat(3,1fr);gap:5px;padding:5px;display:grid}.portal-role-tabs a{color:#40516f;text-align:center;border-radius:8px;place-items:center;min-height:40px;padding:7px 5px;font-size:13px;font-weight:850;line-height:1.15;text-decoration:none;display:grid}.portal-role-tabs a.active{color:#fff;background:#123e92;box-shadow:0 5px 14px #123e9230}.portal-role-tabs a:focus-visible{outline-offset:2px;outline:3px solid #f58220}.video-library{gap:22px;display:grid}.chapter-video-section{background:#fff;border:1px solid #dbe3ef;border-radius:18px;padding:20px}.chapter-video-section>header{border-bottom:2px solid #edf1f7;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding-bottom:14px;display:flex}.chapter-video-section>header h2{margin:4px 0 0;font-size:24px}.chapter-video-section>header>svg{color:#f06e0b;background:#fff0e3;border-radius:12px;width:42px;height:42px;padding:10px}.topic-video-section+.topic-video-section{border-top:1px solid #e4eaf3;margin-top:20px;padding-top:20px}.topic-video-section>h3{color:#263653;margin:0 0 12px;font-size:16px}.video-player-panel h3{color:#41516e;margin:0 0 10px;font-size:17px}.portal-row.record span[data-label]:before{content:none}.marks-finalize{background:#f5f8ff;border:1px solid #cdd9ee;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;margin-top:16px;padding:16px;display:flex}.marks-finalize>div{gap:4px;display:grid}.marks-finalize small{color:var(--muted)}.notification-card{background:#fff;border:1px solid #dbe3ef;border-radius:14px;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;margin-bottom:18px;padding:15px 16px;display:grid}.notification-card>svg{color:#1e5dd6;background:#eef3ff;border-radius:12px;width:40px;height:40px;padding:10px}.notification-card>span{gap:3px;display:grid}.notification-card small{color:#66738b}.notification-card.enabled{background:#f4fff8;border-color:#a9dfbf}.notification-card.enabled>svg{color:#168345;background:#ddf8e7}.notification-card button{white-space:nowrap}@media (max-width:620px){.marks-finalize,.notification-card{flex-direction:column;align-items:stretch}.marks-finalize{display:flex}.marks-finalize button{width:100%}.notification-card{grid-template-columns:42px 1fr}.notification-card button{grid-column:1/-1;width:100%}}@media (max-width:720px){.portal-login{padding:12px;overflow:auto}.portal-login-card{border-radius:17px;padding:22px}.portal-top{gap:10px;height:auto;min-height:64px;padding:8px 10px}.portal-top>div,.portal-top span{min-width:0}.portal-top b,.portal-top small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.portal-top button{flex:none}.portal-content{width:calc(100% - 16px);padding:12px 0 36px}.portal-toolbar{grid-template-columns:1fr;gap:10px;padding:12px}.portal-toolbar label,.portal-toolbar select{width:100%;min-width:0}.portal-toolbar button{grid-column:auto;justify-content:center;width:100%}.parent-report-head,.student-portal-head{border-radius:14px;gap:12px;padding:17px 16px}.parent-report-head h1,.student-portal-head h1{font-size:25px;line-height:1.15}.parent-report-head p,.student-portal-head p{font-size:13px;line-height:1.45}.parent-report-head>svg,.student-portal-head>svg{flex:none;width:28px}.portal-section{border-radius:12px;padding:14px}.portal-section:has(.portal-table){overflow:visible}.portal-table{min-width:0}.portal-row.head{display:none}.portal-row.record{background:#f7f9fd;border:1px solid #e1e7f0;border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px;padding:12px;display:grid}.portal-row.record>span:first-child{border-bottom:1px solid #dde5f0;grid-column:1/-1;padding-bottom:9px}.portal-row.record>span:last-child{grid-column:1/-1}.portal-row.record span[data-label]:before{content:attr(data-label);color:#6b7890;text-transform:uppercase;margin-bottom:3px;font-size:11px;font-weight:800;display:block}.portal-detail{align-items:flex-start}.portal-detail strong{white-space:nowrap}.ptm-parent-note{padding:12px 0}.chapter-video-section{border-radius:14px;padding:14px}.chapter-video-section>header{margin-bottom:13px;padding-bottom:11px}.chapter-video-section>header h2{font-size:21px}.topic-video-section>h3{font-size:15px}.video-card{padding:16px}.video-card-icon{width:42px;height:42px;margin-bottom:12px}.video-card h2{font-size:19px}.video-card p{min-height:0}.video-player-panel{gap:14px;padding:8px}.video-frame{border-radius:9px}.custom-video-controls{padding:8px 6px}.student-watermark{padding:5px 7px;font-size:10px;top:7px;right:7px}.report-type{width:100%;overflow-x:auto}.report-type button{white-space:nowrap}}@media (max-width:950px) and (orientation:landscape) and (max-height:600px){.portal-login{align-items:start;padding:10px}.portal-login-card{grid-template-columns:1fr 1fr;gap:10px 16px;width:min(760px,100% - 20px);padding:16px 22px}.portal-login-card>.portal-logo,.portal-login-card>.eyebrow,.portal-login-card>nav,.portal-login-card>h1,.portal-login-card>p,.portal-login-card>.login-error,.portal-login-card>button{grid-column:1/-1}.portal-login-card h1{font-size:25px}.portal-login-card p{line-height:1.35}.portal-login-card .portal-logo{width:42px;height:42px}.portal-top{height:58px;min-height:58px;position:static}.portal-content{width:calc(100% - 24px);padding:10px 0 30px}.parent-report-head,.student-portal-head{margin-bottom:10px;padding:12px 18px}.parent-report-head h1,.student-portal-head h1{font-size:25px}.student-portal-head p{display:none}.video-player-panel{grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:14px;padding:10px}.video-player-panel h2{font-size:21px}.video-player-panel p{margin:7px 0}.video-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter-video-section{padding:14px}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-card{margin-bottom:10px;padding:10px 12px}}.video-progress{gap:7px;width:100%;margin:4px 0 14px;display:grid}.video-progress>span{justify-content:space-between;align-items:center;gap:10px;display:flex}.video-progress>span small{color:#68758b;align-items:center;gap:5px;display:flex}.video-progress>i{background:#e4eaf3;border-radius:10px;height:7px;display:block;overflow:hidden}.video-progress>i>em{border-radius:inherit;background:linear-gradient(90deg,#1e5dd6,#19a974);height:100%;display:block}.video-progress>small{color:#68758b}.parent-video-progress{gap:12px;display:grid}.parent-video-progress>article{border-top:1px solid #e3e9f2;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);align-items:center;gap:22px;padding:16px 4px;display:grid}.parent-video-progress h3{margin:5px 0}.parent-video-progress p{color:#596982;margin:0}.video-progress-filters{grid-template-columns:minmax(250px,1fr) repeat(2,minmax(170px,.5fr))}.video-report-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.video-progress-table{min-width:1320px}.video-progress-table .detail-row{grid-template-columns:1.2fr 1.6fr 1fr 1fr .4fr .7fr .75fr .7fr}.video-progress-table small{color:var(--muted);margin-top:3px;display:block}.report-pagination{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding-top:16px;display:flex}.report-pagination>div{align-items:center;gap:10px;display:flex}.report-pagination b{color:var(--ink);white-space:nowrap;font-size:13px}.report-pagination button:disabled{opacity:.45;cursor:not-allowed}@media (max-width:720px){.parent-video-progress>article{grid-template-columns:1fr;gap:10px}.parent-video-progress>article>div:first-child{border-bottom:1px solid #e3e9f2;padding-bottom:10px}.video-progress>span{flex-direction:column;align-items:flex-start}.video-report-summary{grid-template-columns:1fr 1fr}.video-progress-filters{grid-template-columns:1fr}.report-pagination{flex-direction:column;align-items:stretch}.report-pagination>div{grid-template-columns:1fr auto 1fr;display:grid}.report-pagination button{justify-content:center}}.attendance-shortcuts{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.attendance-shortcuts>span{color:var(--muted);font-size:14px}.attendance-shortcuts button{font-size:14px}.attendance-tap-table .manual-attendance-row{grid-template-columns:minmax(150px,1.1fr) minmax(215px,1.4fr) minmax(150px,1fr) minmax(250px,1.6fr) minmax(130px,1fr);min-width:0}.attendance-choices{flex-wrap:wrap;gap:4px;display:flex}.attendance-choices button{min-height:44px;color:var(--ink);cursor:pointer;background:#fff;border:1px solid #ccd5e3;border-radius:7px;padding:8px 9px;font-size:14px;font-weight:650}.attendance-choices button.selected{color:#fff;background:#245ee7;border-color:#245ee7;box-shadow:inset 0 0 0 1px #245ee7}.attendance-choices button:focus-visible{outline-offset:2px;outline:3px solid #f59b28}.attendance-choices button:disabled{opacity:.6;cursor:wait}.attendance-na{color:var(--muted)}@media (max-width:1100px){.attendance-tap-table .manual-attendance-row.head{display:none}.attendance-tap-table .manual-attendance-row{grid-template-columns:1fr 1fr;gap:12px}.attendance-tap-table .manual-student,.attendance-tap-table .manual-attendance-row>input{grid-column:1/-1}.attendance-tap-table .attendance-choices:before{content:attr(aria-label);display:none}}@media (max-width:560px){.attendance-tap-table .manual-attendance-row{grid-template-columns:1fr}.attendance-tap-table .manual-attendance-row>div:before{content:"Attendance";color:var(--muted);flex-basis:100%;font-size:14px;display:block}.attendance-tap-table .manual-attendance-row>div:nth-child(3):before{content:"Class mode"}.attendance-tap-table .manual-attendance-row>div:nth-child(4):before{content:"Homework"}.attendance-choices button{flex:1}.manual-save{width:100%;min-width:0}}.insight-correlations{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;display:grid}.insight-correlation{border:1px solid var(--line);background:#f1f5fc;border-radius:12px;padding:18px}.insight-correlation h3{margin:0 0 12px;font-size:16px}.insight-correlation b{color:var(--blue);font-size:18px}.insight-correlation p,.insight-method p,.insight-action p{font-size:15px;line-height:1.6}.insight-correlation small{color:var(--muted);font-size:14px;line-height:1.5}.insight-table-scroll{overflow-x:auto}.insight-table{border-collapse:collapse;width:100%;min-width:760px;font-size:14px}.insight-table th{text-align:left;color:var(--muted);background:#eef3fb}.insight-table td,.insight-table th{border-bottom:1px solid var(--line);vertical-align:top;padding:13px 12px}.insight-table small{color:var(--muted);margin-top:5px;font-size:13px;display:block}.insight-table td:first-child{min-width:160px}.insight-test-picker{max-width:500px;display:block}.insight-test-picker span{margin-bottom:6px;display:block}.insight-test-picker select{width:100%}.insight-observations{padding-left:23px;font-size:15px;line-height:1.7}.insight-observations li{margin:8px 0}.insight-action{background:#fff6e9;border-left:4px solid #ef8b22;margin:18px 0;padding:16px 18px}.insight-chart{height:260px;margin-top:24px}.insight-review{gap:18px}.insight-review>span{min-width:0}.report-type{flex-wrap:wrap}@media (max-width:700px){.insight-correlations{grid-template-columns:1fr}.insight-review{flex-direction:column;align-items:flex-start}.insight-chart{margin-left:-12px}.insight-method p{font-size:14px}.report-type button{min-height:44px}}.simple-patterns{grid-template-columns:repeat(2,minmax(0,1fr))}.insight-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.insight-steps article{border:1px solid var(--line);background:#f1f5fc;border-radius:12px;padding:18px}.insight-steps h3{margin:0 0 12px;font-size:16px}.insight-steps p{margin:0 0 10px;font-size:16px;line-height:1.6}.insight-steps small{color:var(--muted);font-size:14px;line-height:1.5;display:block}.insight-details summary{cursor:pointer;min-height:32px;font-size:16px;font-weight:750}.insight-details[open] summary{margin-bottom:18px}.insight-details p{font-size:15px;line-height:1.6}.insight-correlation b{font-size:17px;line-height:1.5;display:block}@media (max-width:800px){.insight-steps,.simple-patterns{grid-template-columns:1fr}}.crm-filters{gap:16px;margin:18px 0}.crm-queues{flex-wrap:wrap;gap:8px;margin:16px 0}.crm-stage-filter{max-width:360px;margin:16px 0;display:block}.crm-report{gap:20px;display:grid}.crm-report .panel p{color:#61708b;max-width:100ch;line-height:1.65}.crm-scroll{max-width:100%;overflow-x:auto}.crm-table{min-width:0}.crm-table table{border-collapse:collapse;width:100%;font-size:14px}.crm-table th,.crm-table td{text-align:left;border-bottom:1px solid #e1e7f0;min-width:96px;padding:14px 12px}.crm-table th{color:#53647e;background:#f4f7fc;font-weight:700}.crm-table td:first-child{min-width:160px;font-weight:600}.enquiry-workspace .student-list{max-height:760px;overflow:auto}@media (max-width:640px){.crm-queues button{flex:135px}.crm-filters{grid-template-columns:1fr!important}.crm-table th,.crm-table td{padding:12px 9px}}.lesson-player-message{color:#172544;background:#f3f6fc;margin:0;padding:12px;line-height:1.5}.lesson-player-message button{margin-top:6px}.video-needs-tap iframe{pointer-events:auto}.video-needs-tap .video-click-shield{display:none}.video-tap-shield{z-index:2;position:absolute}.video-tap-top{height:32%;top:0;left:0;right:0}.video-tap-bottom{height:32%;bottom:0;left:0;right:0}.video-tap-left{width:32%;top:32%;bottom:32%;left:0}.video-tap-right{width:32%;top:32%;bottom:32%;right:0}.lesson-player-host{width:100%;height:100%}
