:root{color:#203247;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#f4f7fa;font-family:Tahoma,Arial,sans-serif}body{min-width:320px;margin:0}#root{min-height:100vh}.circular-recipient-options{background:#f5fbfa;border:1px solid #cfe1df;border-radius:14px;margin:18px 0 0;padding:16px}.circular-recipient-options legend{color:#075a62;padding:0 8px;font-weight:800}.circular-recipient-options>p{color:#557276;margin:0 0 13px;font-size:13px}.circular-recipient-options>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.circular-recipient-options label{color:#164a52;cursor:pointer;background:#fff;border:1px solid #cfe1df;border-radius:10px;flex-wrap:wrap;align-items:flex-start;gap:7px;min-height:58px;padding:10px;font-weight:700;display:flex}.circular-recipient-options label.selected{cursor:default;background:#e8f8f2;border-color:#86cfc3}.circular-recipient-options input{accent-color:#078573;width:17px;height:17px}.circular-recipient-options small{color:#6c8585;width:100%;padding-inline-start:24px;font-size:10px;font-weight:500;display:block}.administrator-circulars-switcher{margin-bottom:16px}@media (width<=940px){.circular-recipient-options>div{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=640px){.circular-recipient-options>div{grid-template-columns:1fr}}.teacher-report-menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.teacher-report-menu button{min-height:145px;color:var(--blue-dark);font:inherit;cursor:pointer;background:#fff;border:1px solid #d9e5ee;border-radius:15px;align-content:center;place-items:center;gap:8px;padding:18px;display:grid}.teacher-report-menu button:hover{border-color:var(--blue);background:#eef7ff}.teacher-report-menu svg{color:var(--blue)}.teacher-report-menu strong{font-size:15px}.teacher-report-menu small{color:var(--muted);text-align:center;font-size:11px}:root{--blue:#1476c9;--blue-dark:#0c4277;--orange:#ee8a2b;--green:#299863;--navy:#102a43;--ink:#1f2d3d;--muted:#6b7d90;--bg:#f4f7fa;--card:#fff;--line:#e7edf3;--warning-bg:#fff7e8;--warning-text:#b76b1a;--shadow:0 12px 28px #102a4314}@media (width<=980px){.auth-shell{grid-template-columns:1fr;gap:18px}.auth-visual{order:2}.auth-card{order:1}}@media (width<=640px){.auth-page{padding:16px}.auth-shell{gap:14px}.auth-visual{padding:0}.auth-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-feature-card{padding:10px 12px}.auth-card{border-radius:22px;padding:24px 18px}.auth-card h1{font-size:22px}.auth-feature-glance{grid-template-columns:36px 1fr}.auth-glance-icon,.auth-feature-icon{width:36px;height:36px}}@media (width<=720px){.teacher-portal{display:block}.teacher-sidebar{z-index:80;border-radius:0 0 0 18px;width:min(280px,88vw);min-height:0;transition:transform .2s;position:fixed;top:0;bottom:0;right:0;transform:translate(105%)}.teacher-sidebar.open{transform:translate(0)}.teacher-sidebar-close{width:32px;height:32px;color:var(--blue);background:#fff;border:1px solid #cbddec;border-radius:8px;place-items:center;margin-right:auto;display:grid}.teacher-sidebar-backdrop{z-index:70;background:#0f233447;border:0;display:block;position:fixed;inset:0}.teacher-mobile-nav-button{z-index:60;width:38px;height:38px;color:var(--blue);background:#fff;border:1px solid #cbddec;border-radius:10px;place-items:center;display:grid;position:fixed;top:16px;right:13px}.teacher-topbar{padding-right:48px}.teacher-tab-placeholder{min-height:240px}.teacher-sheet-setup-head{flex-direction:column;align-items:flex-start}.teacher-sheet-actions{flex-direction:column;align-items:stretch}.teacher-sheet-actions .outline-button,.teacher-sheet-copy{justify-content:center;width:100%}.teacher-sheet-column-row{grid-template-columns:1fr 1fr}.teacher-sheet-column-row>input:first-child,.teacher-sheet-column-row>input[placeholder]{grid-column:1/3}.teacher-sheet-column-row>.icon-button{justify-self:start}.teacher-sheet-menu,.teacher-sheet-selectors{grid-template-columns:1fr}.teacher-sheet-menu button{min-height:120px}.teacher-report-menu{grid-template-columns:1fr}.teacher-report-menu button{min-height:105px}.teacher-sheet-roster .teacher-roster-table-wrap{overflow-x:auto}.teacher-sheet-roster .teacher-roster-table{min-width:760px}.teacher-sheet-roster .teacher-roster-table thead{display:table-header-group}.teacher-sheet-roster .teacher-roster-table th,.teacher-sheet-roster .teacher-roster-table td{width:auto;padding:8px;display:table-cell}.teacher-sheet-roster .teacher-roster-table tr{padding:0;display:table-row}.teacher-sheet-roster .teacher-roster-table td:before{display:none}}.teacher-credential-table-wrap{border:1px solid #dce9e3;border-radius:10px;max-height:390px;overflow:auto}.teacher-credential-table{table-layout:fixed;border-collapse:collapse;direction:rtl;background:#f6fbf8;width:100%;min-width:560px}.teacher-credential-table th,.teacher-credential-table td{text-align:right;overflow-wrap:anywhere;border-bottom:1px solid #e2ece6;padding:12px 14px}.teacher-credential-table th{color:#36516c;background:#edf6f0;font-size:12px;position:sticky;top:0}.teacher-credential-table td:nth-child(2),.teacher-credential-table td:nth-child(3){text-align:left;white-space:nowrap;direction:ltr}.auth-page,.auth-loading{background:linear-gradient(135deg,#eaf4fb,#f7fafc);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-page{isolation:isolate;background:#eaf4fb;position:relative;overflow-x:hidden}.auth-page:before{content:"";z-index:-2;filter:blur(2px)saturate(.86);background:url(/login-school-background.png) 50% 44%/cover no-repeat;position:absolute;inset:-10px;transform:scale(1.025)}.auth-page:after{content:"";z-index:-1;background:linear-gradient(118deg,#f4fafdd6 0%,#eff8fcc4 44%,#e7f3fab3 100%);position:absolute;inset:0}.auth-shell{z-index:1;grid-template-columns:minmax(300px,1.1fr) minmax(320px,430px);justify-content:center;align-items:center;gap:34px;width:min(1200px,100%);display:grid;position:relative}.auth-card{z-index:1;-webkit-backdrop-filter:blur(15px);text-align:right;background:#ffffffed;border:1px solid #ffffffc7;border-radius:28px;width:min(100%,430px);padding:34px;position:relative;box-shadow:0 24px 58px #0a2c4c38,0 4px 12px #0a2c4c14}.auth-visual{justify-self:stretch;gap:18px;padding:10px 8px;display:grid}.auth-visual-topbar{justify-content:flex-end;align-items:center;gap:12px;padding:4px 0;display:flex}.auth-visual-brand{color:#0a2d4c;letter-spacing:.02em;font-size:16px;font-weight:800}.auth-brand-row{justify-content:center;align-items:center;gap:14px;margin-bottom:8px;display:flex}.auth-brand-row h1{margin:0}.auth-visual-badge{color:#0f5d9a;background:#e8f6ffe6;border:1px solid #1476c940;border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}.auth-metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.auth-metric{background:#ffffff7a;border:1px solid #94aac033;border-radius:16px;padding:14px 12px;box-shadow:0 10px 18px #1b375b0d}.auth-metric strong{color:var(--navy);margin-bottom:4px;font-size:1.15rem;display:block}.auth-metric span{color:var(--muted);font-size:11px}.auth-feature-list{gap:12px;display:grid}.auth-feature-card{background:#ffffff75;border:1px solid #94aac038;border-radius:18px;grid-template-columns:46px 1fr;align-items:center;gap:12px;padding:12px 14px;transition:transform .25s,border-color .25s,box-shadow .25s,background .25s;display:grid;box-shadow:0 10px 24px #15344d14}.auth-feature-card.active{background:#fffc;border-color:#1476c975;transform:translateY(-2px);box-shadow:0 16px 30px #11527e1f}.auth-feature-icon{width:42px;height:42px;color:var(--blue);background:linear-gradient(135deg,#1476c921,#38bec524);border-radius:12px;place-items:center;display:grid}.auth-feature-copy{gap:4px;display:grid}.auth-feature-copy strong{color:var(--navy);font-size:15px}.auth-feature-copy small{color:var(--muted);font-size:11px}.auth-feature-glance{background:linear-gradient(135deg,#ffffffb8,#e7f5ffb3);border:1px solid #0000000a;border-radius:18px;grid-template-columns:46px 1fr;align-items:flex-start;gap:12px;padding:16px 14px;display:grid;box-shadow:0 12px 28px #0c325414}.auth-glance-icon{width:42px;height:42px;color:var(--blue);background:linear-gradient(135deg,#1476c91f,#45b28e26);border-radius:12px;place-items:center;display:grid}.auth-feature-glance strong{color:var(--navy);margin-bottom:6px;font-size:15px;display:block}.auth-feature-glance p{color:var(--muted);margin:0;font-size:12px;line-height:1.7}.auth-icon{width:58px;height:58px;color:var(--blue);background:#e5f3ff;border-radius:18px;place-items:center;display:grid;box-shadow:inset 0 0 0 1px #1476c924}.auth-card h1{color:var(--navy);margin:0;font-size:24px}.auth-card p{color:var(--muted);margin:0 0 22px;font-size:13px}.auth-card>.auth-brand-row+p,.auth-card>p{text-align:center}.auth-success{color:#16653a;background:#eaf9f0;border:1px solid #a9e2bd;border-radius:9px;padding:10px;font-size:12px;line-height:1.7}.auth-back{border:1px solid var(--line);color:var(--muted);font:inherit;background:#fff;border-radius:10px;padding:10px}.hijri-date-picker{min-width:0;color:var(--ink);gap:5px;display:grid;position:relative}.hijri-date-label{color:var(--muted);font-size:12px;font-weight:700}.hijri-date-trigger{width:100%;min-width:0;min-height:40px;color:var(--blue-dark);font:inherit;text-align:right;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.hijri-date-trigger:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.hijri-date-trigger:disabled{opacity:.55;cursor:not-allowed}.hijri-date-popover{z-index:40;background:#fff;border:1px solid #cbd5e1;border-radius:12px;width:min(320px,100vw - 32px);padding:11px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 30px #102a432e}.hijri-date-month-nav{text-align:center;color:var(--blue-dark);grid-template-columns:36px 1fr 36px;align-items:center;gap:8px;margin-bottom:9px;display:grid}.hijri-date-month-nav button,.hijri-date-grid button{color:var(--ink);font:inherit;background:#fff;border:1px solid #dbe5ee;border-radius:8px}.hijri-date-month-nav button{place-items:center;width:36px;height:34px;display:grid}.hijri-date-grid{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.hijri-date-weekday{color:var(--muted);padding:5px 0;font-size:11px;font-weight:700}.hijri-date-grid button,.hijri-date-grid>span:not(.hijri-date-weekday){aspect-ratio:1;place-items:center;min-width:0;padding:0;font-size:12px;display:grid}.hijri-date-grid button:hover:not(:disabled){border-color:var(--blue);background:#eff7ff}.hijri-date-grid button.selected{border-color:var(--blue);background:var(--blue);color:#fff}.hijri-date-grid button:disabled{color:#b6c1cc;cursor:not-allowed;background:#f5f7f9}.auth-tabs{background:#f3f6f9;border-radius:12px;grid-template-columns:1fr 1fr;margin-bottom:18px;padding:4px;display:grid}.auth-tabs button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:10px}.auth-tabs button.active{color:var(--blue-dark);background:#fff;font-weight:700;box-shadow:0 2px 6px #0000000f}.auth-tabs.auth-tabs-three{grid-template-columns:repeat(3,1fr)}.auth-tabs.auth-tabs-four{grid-template-columns:repeat(4,1fr)}.auth-tabs.auth-tabs-five{grid-template-columns:repeat(5,1fr)}.auth-tabs.auth-tabs-six{grid-template-columns:repeat(6,1fr)}@media (width<=600px){.auth-page{align-items:center;padding:16px}.auth-page:before{filter:blur(1px)saturate(.78);background-position:58%;inset:-6px;transform:scale(1.015)}.auth-page:after{background:linear-gradient(155deg,#f6fbfde3,#ebf6fbcc)}.auth-card{background:#fffffff2;border-radius:20px;width:100%;max-width:430px;padding:25px 18px}}.teacher-account-actions .administrator-permission-enabled{color:#14633a;background:#e8f8ee;border-color:#86d5ad}.administrator-portal{color:#17324d;background:linear-gradient(145deg,#edf6fb,#f8fbfc 52%,#eef8f2);min-height:100vh;padding:28px max(20px,50% - 480px)}.administrator-topbar,.administrator-attendance,.administrator-report,.administrator-password{max-width:900px;margin:0 auto}.administrator-topbar{justify-content:space-between;align-items:flex-start;margin-bottom:18px;display:flex}.administrator-topbar span,.administrator-attendance header span,.administrator-report header span,.administrator-password header span{color:#6f8395;font-size:12px}.administrator-topbar h1{color:#0c3967;margin:4px 0;font-size:27px}.administrator-menu-wrap{position:relative}.administrator-menu{color:#0a66aa;background:#fff;border:1px solid #c9dce9;border-radius:12px;place-items:center;width:43px;height:43px;display:grid}.administrator-menu-wrap nav{z-index:12;background:#fff;border:1px solid #d6e4ed;border-radius:13px;min-width:184px;padding:7px;display:grid;position:absolute;top:49px;left:0;box-shadow:0 12px 30px #17324d26}.administrator-menu-wrap nav button{text-align:right;color:#153b60;background:0 0;border:0;border-radius:8px;padding:10px;font:700 13px inherit}.administrator-menu-wrap nav button:hover{background:#eef7ff}.administrator-menu-wrap nav .logout{color:#b33f35;align-items:center;gap:7px;display:flex}.administrator-notice{border-radius:12px;align-items:center;gap:9px;max-width:900px;margin:0 auto 15px;padding:12px 15px;font-size:13px;font-weight:700;display:flex}.administrator-notice.success{color:#166534;background:#dcfce7}.administrator-notice.warning{color:#9a5b10;background:#fff4d7}.administrator-notice.error{color:#b42318;background:#ffebe9}.administrator-attendance,.administrator-report,.administrator-password{background:#fff;border:1px solid #d9e7ef;border-radius:21px;padding:23px;box-shadow:0 14px 32px #17324d12}.administrator-attendance>header,.administrator-report>header,.administrator-password>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.administrator-attendance h2,.administrator-report h2,.administrator-password h2{color:#0f3a61;margin:4px 0;font-size:22px}.administrator-attendance p,.administrator-password p{color:#74869a;margin:7px 0 0;font-size:13px}.administrator-attendance>header>svg,.administrator-report>svg,.administrator-password>header>svg{color:#1478c9}.administrator-stats{grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0;display:grid}.administrator-stats article{text-align:center;background:#f8fcff;border:1px solid #d8e6ef;border-radius:13px;padding:13px}.administrator-stats b{color:#075f9f;font-size:24px;display:block}.administrator-stats span{color:#6d8294;font-size:11px}.administrator-mode{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:13px;display:grid}.administrator-mode button{color:#1767a2;background:#fff;border:1px solid #bcd9ee;border-radius:11px;min-height:47px;font:800 14px inherit}.administrator-mode button.active{color:#fff;background:#147dc7;border-color:#147dc7}.administrator-mode button.late.active{background:#ee8c28;border-color:#ee8c28}.administrator-camera{background:#f9fcfe;border:1px solid #dbe8ef;border-radius:16px;padding:15px}.administrator-camera-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.administrator-camera-head>div{color:#0d568f;align-items:center;gap:8px;display:flex}.administrator-video{background:#102a40;border-radius:13px;min-height:210px;margin-top:14px;position:relative;overflow:hidden}.administrator-video video{object-fit:cover;width:100%;max-height:380px;display:block}.administrator-video>span{color:#fff;white-space:nowrap;background:#001a2bdd;border-radius:999px;padding:8px 13px;font-size:12px;position:absolute;bottom:15px;right:50%;transform:translate(50%)}.administrator-scan-result{z-index:2;color:#fff;text-align:center;background:#08754fcc;border-radius:11px;justify-content:center;align-items:center;min-height:48px;padding:8px 12px;font-size:17px;font-weight:800;display:flex;position:absolute;top:13px;left:13px;right:13px;box-shadow:0 5px 16px #001a2b55}.administrator-scan-result.duplicate{background:#9a6206df;font-size:14px}.administrator-manual{gap:9px;margin-top:14px;display:flex}.administrator-manual input,.administrator-manual-list input,.administrator-report-actions input,.administrator-password input{color:#17324d;min-width:0;font:inherit;background:#fff;border:1px solid #cbdce9;border-radius:10px;flex:1;padding:11px 12px}.administrator-manual-list{margin-top:14px}.administrator-manual-list label{color:#6d8294;border:1px solid #cbdce9;border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.administrator-manual-list input{border:0;width:100%}.administrator-student-list{gap:7px;max-height:330px;margin-top:9px;display:grid;overflow:auto}.administrator-student-list button{text-align:right;color:#17324d;font:inherit;background:#fff;border:1px solid #dce7ee;border-radius:10px;justify-content:space-between;align-items:center;gap:9px;padding:10px 12px;display:flex}.administrator-student-list strong,.administrator-student-list small{display:block}.administrator-student-list small{color:#708598;margin-top:3px;font-size:11px}.administrator-student-list b{color:#1372b7;font-size:11px}.administrator-recent{margin-top:16px}.administrator-recent h3{color:#0d426f;font-size:16px}.administrator-recent article{border-bottom:1px solid #e1ebf1;grid-template-columns:auto 1fr auto auto;align-items:center;gap:9px;padding:10px;display:grid}.administrator-recent svg{color:#16a468}.administrator-recent strong,.administrator-recent small{display:block}.administrator-recent small,.administrator-recent time{color:#75889a;font-size:11px}.administrator-recent b{color:#167143;background:#e0f5e7;border-radius:999px;padding:4px 7px;font-size:11px}.administrator-recent b.late{color:#a95f12;background:#fff0da}.administrator-recent>p{text-align:center;color:#788c9b;padding:15px}.administrator-report header{justify-content:space-between;align-items:flex-start;display:flex}.administrator-report-actions{align-items:end;gap:9px;margin:18px 0;display:flex}.administrator-report-actions label{color:#708598;gap:5px;font-size:12px;font-weight:700;display:grid}.administrator-report-table{margin-top:16px;overflow:auto}.administrator-report-table table{border-collapse:collapse;width:100%;min-width:560px}.administrator-report-table th,.administrator-report-table td{text-align:right;border-bottom:1px solid #dce7ee;padding:10px;font-size:12px}.administrator-report-table th{color:#155783;background:#edf7ff}.administrator-password header{align-items:flex-start;gap:10px;display:flex}.administrator-password>div{gap:12px;max-width:480px;margin-top:18px;display:grid}.administrator-password label{color:#506b82;gap:6px;font-size:12px;font-weight:700;display:grid}.administrator-actions{flex-wrap:wrap;gap:9px;margin:14px 0;display:flex}.administrator-actions .primary-button{align-items:center;gap:7px;display:inline-flex}.administrator-admin .teacher-account-list{max-height:610px;overflow:auto}.auth-card form{gap:13px;display:grid}.auth-card label{color:var(--ink);grid-template-columns:auto 1fr;align-items:center;gap:8px;font-size:13px;display:grid}.auth-card input,.auth-card select{border:1px solid var(--line);width:100%;font:inherit;background:#fff;border-radius:10px;grid-column:1/-1;padding:11px 12px}.auth-card input:focus,.auth-card select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1476c91f}.auth-card small{color:var(--muted)}.auth-submit{background:var(--blue);color:#fff;border:0;border-radius:11px;margin-top:4px;padding:12px;font-weight:700}.auth-error{color:#b42318;background:#fff1f0;border-radius:9px;padding:9px;font-size:12px}.auth-footer-action{border-top:1px solid #e2ebf1;justify-content:center;margin-top:20px;padding-top:17px;display:flex}.auth-register-link{color:var(--blue);text-underline-offset:4px;background:0 0;border:0;font:700 13px inherit;text-decoration:underline}.auth-login-choices{gap:9px;display:grid}.auth-login-choices h2{color:var(--navy);text-align:center;margin:0;font-size:17px}.auth-login-choices>p{text-align:center;margin:0 0 5px}.auth-login-choices>button:not(.auth-back){color:#0a568c;text-align:right;background:#f8fcff;border:1px solid #c7dfef;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px 14px;font:700 14px inherit;display:flex}.auth-login-choices>button:not(.auth-back):hover:not(:disabled){border-color:var(--blue);background:#edf7ff}.auth-login-choices>button small{color:#6f8497;font-weight:600}.auth-login-choices .auth-back{justify-self:center;margin-top:5px}*{box-sizing:border-box}html,body,#root{background:var(--bg);min-height:100%;color:var(--ink);width:100%;margin:0;font-family:Cairo,Tahoma,Arial,sans-serif;overflow-x:hidden}body{direction:rtl;min-height:100vh}button,input{font:inherit}button{cursor:pointer}input{outline:none}.app-shell{background:var(--bg);min-height:100vh;color:var(--ink);width:100%;display:flex;position:relative;overflow-x:hidden}.sidebar{background:var(--card);border-left:1px solid var(--line);width:260px;box-shadow:var(--shadow);flex-direction:column;gap:22px;padding:24px 16px 18px;display:flex}@media (width>=861px){.sidebar{z-index:20;overscroll-behavior:contain;height:100dvh;max-height:100dvh;position:fixed;top:0;bottom:0;right:0;overflow-y:auto}.main-content{flex:none;width:calc(100% - 260px);margin-right:260px}}.sidebar-top{justify-content:space-between;align-items:center;width:100%;display:flex}.sidebar-close-btn{border:1px solid var(--line);width:36px;height:36px;color:var(--muted);cursor:pointer;background:#f1f5f9;border-radius:10px;justify-content:center;align-items:center;transition:all .2s;display:none}.sidebar-close-btn:hover{color:var(--ink);background:#e2e8f0}.sidebar-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:998;background:#102a4373;position:fixed;inset:0}.topbar-title-section{align-items:center;gap:12px;display:flex}.mobile-menu-btn{border:1px solid var(--line);width:42px;height:42px;color:var(--navy);cursor:pointer;background:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;transition:all .2s;display:none;box-shadow:0 4px 10px #102a430d}.mobile-menu-btn:hover{color:var(--blue);background:#f0f7ff;border-color:#c3ddfd}.brand{color:var(--navy);align-items:center;gap:12px;padding:0 8px;display:flex}.brand strong{font-size:19px;line-height:1.25;display:block}.brand small{color:var(--muted);margin-top:4px;font-size:9px;line-height:1.4;display:block}.brand-mark{background:#fff;border-radius:15px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid;overflow:hidden;box-shadow:0 8px 18px #102a431f}.brand-mark img{width:100%;height:100%;display:block}.school-chip{border:1px solid var(--line);background:#f4f8fb;border-radius:14px;align-items:center;gap:10px;padding:10px 12px;display:flex}.school-chip strong,.school-chip small{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.school-chip strong{font-size:12px}.school-chip small{color:var(--muted);margin-top:3px;font-size:10px}.school-avatar,.profile-avatar,.profile-badge{color:#bf6a13;background:#ffe9d2;border-radius:10px;flex-shrink:0;place-items:center;width:32px;height:32px;font-weight:700;display:grid}.online-dot{background:var(--green);border-radius:50%;width:8px;height:8px;margin-right:auto;box-shadow:0 0 0 4px #2998632e}.sidebar-nav{gap:8px;display:grid}.sidebar-nav-group{border-top:1px solid #edf2f7;gap:5px;padding:4px 0;display:grid}.sidebar-nav-group-toggle{color:#5f7488;width:100%;font:inherit;text-align:right;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;padding:8px 11px;font-size:11px;font-weight:800;display:flex}.sidebar-nav-group-toggle:hover,.sidebar-nav-group.open>.sidebar-nav-group-toggle{color:var(--blue-dark);background:#f3f8fc}.sidebar-nav-group-toggle svg{transition:transform .18s}.sidebar-nav-group.open>.sidebar-nav-group-toggle svg{transform:rotate(180deg)}.sidebar-nav-group-items{border-right:2px solid #dbeaf6;gap:3px;padding-right:7px;display:grid}.sidebar-nav-group-items .nav-item{padding-top:10px;padding-bottom:10px}.nav-item{width:100%;color:var(--muted);text-align:right;background:0 0;border:none;border-radius:10px;align-items:center;gap:10px;padding:12px;font-size:13px;transition:all .2s;display:flex}.nav-item:hover,.nav-item.active{color:var(--blue);background:#ebf4fd;font-weight:700}.nav-count{color:var(--muted);background:#edf3fa;border-radius:8px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-right:auto;padding:0 6px;font-size:11px;display:inline-flex}.nav-item.active .nav-count{color:var(--blue);background:#d9ebff}.sidebar-bottom{gap:12px;margin-top:auto;display:grid}.help-box{background:var(--warning-bg);color:var(--warning-text);border:1px solid #f3ddaa;border-radius:12px;padding:12px 14px}.help-box span,.help-box small{display:block}.help-box small{margin-top:4px;font-size:10px}.main-content{box-sizing:border-box;flex:1;min-width:0;padding:32px 36px 48px}.topbar,.page-intro,.panel-header,.toolbar,.table-heading,.attendance-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.topbar{margin-bottom:24px}.eyebrow,.panel-kicker{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px;font-size:11px;display:block}.topbar h1,.page-intro h2,.panel-header h3,.table-heading h3{color:var(--navy);margin:0}.topbar h1{font-size:32px}.top-actions{align-items:center;gap:14px;display:flex}.date-label{color:var(--muted);background:#eef3f8;border-radius:999px;padding:9px 12px;font-size:12px}.profile-button{background:var(--card);box-shadow:var(--shadow);color:var(--ink);border:none;border-radius:14px;align-items:center;gap:10px;padding:8px 12px;display:flex}.profile-button strong,.profile-button small{display:block}.profile-button small{color:var(--muted);margin-top:2px}.page-intro{border:1px solid var(--line);background:#ffffff80;border-radius:18px;margin-bottom:20px;padding:22px 24px}.page-intro p{color:var(--muted);margin:8px 0 0}.secure-label{color:var(--green);background:#29986317;border:1px solid #29986326;border-radius:999px;align-items:center;gap:8px;padding:10px 14px;font-size:12px;font-weight:700;display:inline-flex}.stats-grid{grid-template-columns:repeat(4,minmax(180px,1fr));gap:18px;margin-bottom:24px;display:grid}.stat-card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;align-items:center;gap:16px;padding:18px;display:flex}.stat-card span{color:var(--muted);margin-bottom:6px;font-size:12px;display:block}.stat-card strong{color:var(--navy);font-size:28px}.stat-icon{color:#fff;border-radius:14px;place-items:center;width:52px;height:52px;display:grid}.stat-card.blue .stat-icon{background:linear-gradient(135deg, var(--blue), #3a9ae6)}.stat-card.orange .stat-icon{background:linear-gradient(135deg, var(--orange), #f7ae59)}.stat-card.green .stat-icon{background:linear-gradient(135deg, var(--green), #50b778)}.stat-card.navy .stat-icon{background:linear-gradient(135deg, var(--navy), #244d73)}.panel,.table-panel,.attendance-panel,.print-cards-panel{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;padding:20px 22px}.panel,.attendance-panel{margin-bottom:24px}.panel-header{margin-bottom:18px}.panel-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.primary-button,.secondary-button,.status-btn,.print-button{border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:700;transition:transform .2s,opacity .2s;display:inline-flex}.primary-button,.print-button{background:linear-gradient(135deg, var(--blue), var(--blue-dark));color:#fff;position:relative;overflow:hidden}.secondary-button{background:linear-gradient(135deg, var(--orange), #f5a64d);color:#fff}.primary-button:hover,.secondary-button:hover,.status-btn:hover,.print-button:hover{transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled,.print-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.primary-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.notice-box{border:1px solid var(--line);color:var(--ink);background:#f4f8fb;border-radius:12px;margin-bottom:18px;padding:12px 14px}.school-settings-panel .panel-header{align-items:center}.school-storage-panel .panel-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.school-storage-panel .panel-header h3{color:var(--navy);margin:4px 0}.school-storage-panel .panel-header p{color:var(--muted);margin:0;font-size:12px}.school-storage-grid{grid-template-columns:1.25fr repeat(2,minmax(0,1fr));gap:12px;display:grid}.school-storage-total,.school-storage-detail{background:#fbfdff;border:1px solid #d8e6ef;border-radius:14px;min-width:0;padding:15px}.school-storage-total{background:linear-gradient(135deg,#eef8ff,#f6fcff);border-color:#bfddf1;align-items:center;gap:12px;display:flex}.storage-icon{color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue-dark));border-radius:13px;flex:none;place-items:center;width:46px;height:46px;display:grid}.school-storage-total span:not(.storage-icon),.school-storage-detail>span{color:var(--muted);font-size:12px;font-weight:700;display:block}.school-storage-total strong{color:var(--navy);margin-top:4px;font-size:25px;display:block}.school-storage-detail{align-content:center;gap:4px;display:grid}.school-storage-detail strong{color:var(--navy);font-size:20px}.school-storage-detail small{color:var(--muted);font-size:11px}.school-storage-empty{color:var(--muted);text-align:center;border:1px dashed #c9dce9;border-radius:12px;margin:0;padding:14px;font-size:13px}.storage-refreshing{animation:.8s linear infinite storage-spin}@keyframes storage-spin{to{transform:rotate(360deg)}}.school-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.school-settings-field{color:var(--ink);flex-direction:column;gap:8px;font-size:13px;font-weight:700;display:flex}.school-settings-field input,.school-settings-field select{border:1px solid var(--line);width:100%;min-height:46px;color:var(--ink);font:inherit;box-sizing:border-box;background:#f8fafc;border-radius:12px;padding:0 14px;font-weight:500}.school-settings-field input:focus,.school-settings-field select:focus{border-color:var(--blue);outline:3px solid #1476c924}.credential-secret{-webkit-text-security:disc}.settings-notice{margin:18px 0 0}.almadar-test-controls{border:1px solid var(--line);background:#f8fafc;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;margin-top:18px;padding:16px;display:grid}.almadar-test-controls>div{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.almadar-test-controls small{color:var(--muted);font-size:12px}.grade-editor-wrapper{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:18px;transition:all .2s;overflow:hidden}.grade-editor-toggle{color:#334155;cursor:pointer;text-align:right;background:0 0;border:none;align-items:center;gap:8px;width:100%;padding:10px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:background .15s;display:flex}.grade-editor-toggle:hover{background:#f1f5f9}.grade-editor-arrow{color:#64748b;margin-right:auto;font-size:11px}.grade-editor-grid{background:#fff;border-top:1px solid #e2e8f0;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;padding:10px 14px 14px;display:grid}.grade-editor-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:8px;padding:6px 10px;display:flex}.grade-editor-original{color:#1e293b;white-space:nowrap;min-width:60px;font-size:13px;font-weight:700}.grade-editor-arrow-icon{color:#94a3b8;font-size:13px}.grade-editor-input{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;flex:1;padding:5px 8px;font-family:inherit;font-size:13px;transition:border-color .15s,box-shadow .15s}.grade-editor-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.grade-editor-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:3px;transition:color .15s;display:flex}.grade-editor-clear:hover{color:#ef4444}.toolbar{padding-top:6px}.search-box{border:1px solid var(--line);background:#f7f9fb;border-radius:12px;align-items:center;gap:10px;width:min(520px,100%);min-height:46px;padding:0 12px;display:flex}.search-box svg{color:var(--muted)}.search-box input{width:100%;color:var(--ink);background:0 0;border:none}.file-meta{color:var(--muted);border:1px solid var(--line);background:#f5f9fc;border-radius:12px;align-items:center;gap:8px;padding:10px 12px;display:inline-flex}.file-meta strong{color:var(--ink);font-size:12px}.table-panel{padding-top:18px}.table-wrap{border:1px solid var(--line);border-radius:16px;margin-top:14px;overflow:auto}.student-group-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px;margin-top:14px;display:grid}.student-group-card{border:1px solid var(--line);background:var(--card);border-radius:10px;overflow:hidden}.student-group-card.expanded{border-color:#8dbce2}.student-group-toggle{text-align:right;width:100%;color:var(--ink);cursor:pointer;font:inherit;background:#fff;border:0;grid-template-columns:1fr auto;gap:5px 10px;padding:15px;display:grid}.student-group-toggle:hover,.student-group-card.expanded .student-group-toggle{background:#f5faff}.student-group-toggle>svg{color:var(--blue);grid-area:1/2/span 3;align-self:center;transition:transform .18s}.student-group-card.expanded .student-group-toggle>svg{transform:rotate(180deg)}.student-group-grade,.student-group-count{color:var(--muted);font-size:12px}.student-group-toggle strong{color:var(--blue-dark);font-size:15px}.student-group-students{max-height:300px;margin:0;padding:0 15px 10px;list-style:none;overflow:auto}.student-group-students li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:9px 0;display:flex}.student-group-students li>span{overflow-wrap:anywhere;gap:2px;min-width:0;display:grid}.student-group-students li strong{color:var(--ink);font-size:13px}.student-group-students li small{color:var(--muted);direction:ltr;flex:none}.student-edit-button{color:#0d5fa4;cursor:pointer;background:#fff;border:1px solid #c8ddea;border-radius:8px;flex:none;align-items:center;gap:5px;padding:6px 8px;font:700 11px inherit;display:inline-flex}.student-edit-button:hover{background:#eff8ff;border-color:#8abfe4}.student-editor-overlay{z-index:1100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#102a439e;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.student-editor-dialog{background:#fff;border:1px solid #d6e3ec;border-radius:18px;width:min(100%,600px);max-height:90vh;overflow:auto;box-shadow:0 25px 55px #0927414d}.student-editor-header{background:#fbfdff;border-bottom:1px solid #e1ebf1;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 22px 16px;display:flex}.student-editor-header h3{color:var(--navy);margin:3px 0 0;font-size:20px}.student-editor-header p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.7}.student-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:19px 22px;display:grid}.student-editor-fields label{color:#456278;gap:6px;min-width:0;font-size:12px;font-weight:800;display:grid}.student-editor-fields input,.student-editor-fields select{box-sizing:border-box;color:#173b5a;width:100%;min-width:0;min-height:43px;font:inherit;background:#fff;border:1px solid #cbdde9;border-radius:10px;outline:none;padding:10px 11px}.student-editor-fields input:focus,.student-editor-fields select:focus{border-color:#167bc4;box-shadow:0 0 0 3px #167bc41f}.student-editor-fields input[readonly],.student-editor-fields select:disabled{color:#687e90;cursor:not-allowed;background:#f3f7fa}.student-editor-error{color:#a12d27;background:#fff4f3;border:1px solid #fec9c5;border-radius:10px;margin:0 22px;padding:10px 12px;font-size:12px;font-weight:700}.student-editor-actions{border-top:1px solid #e7eef3;justify-content:flex-end;gap:9px;padding:17px 22px 20px;display:flex}@media (width<=620px){.student-editor-overlay{align-items:flex-end;padding:0}.student-editor-dialog{border-radius:18px 18px 0 0;max-height:94vh}.student-editor-header{padding:16px}.student-editor-header h3{font-size:18px}.student-editor-fields{grid-template-columns:1fr;gap:10px;padding:15px 16px}.student-editor-error{margin:0 16px}.student-editor-actions{padding:15px 16px calc(15px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;display:grid}}table{border-collapse:collapse;width:100%;min-width:880px}th,td{text-align:right;border-bottom:1px solid var(--line);padding:14px 12px}th{color:var(--navy);background:#f5f9fc;font-size:12px}tbody tr:hover{background:#fbfdff}tbody td{color:var(--ink);font-size:13px}.qr-thumb{border:1px solid var(--line);background:#fff;border-radius:10px;width:64px;height:64px;padding:6px;display:block}.qr-empty{min-width:64px;color:var(--muted);background:#f3f5f8;border-radius:10px;justify-content:center;align-items:center;padding:8px 10px;font-size:11px;display:inline-flex}.empty-state{text-align:center;padding:48px 20px 24px}.empty-icon{width:72px;height:72px;color:var(--blue);background:#edf3fb;border-radius:18px;place-items:center;margin:0 auto 14px;display:grid}.empty-state h4{color:var(--navy);margin:0 0 8px}.empty-state p{color:var(--muted);margin:0}.print-modal-overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:1000;background:#102a4399;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.print-modal-dialog{background:var(--card);border:1px solid var(--line);border-radius:20px;flex-direction:column;width:100%;max-width:900px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 25px 50px -12px #102a4340}.print-modal-header{border-bottom:1px solid var(--line);background:#fbfdff;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.print-modal-heading{align-items:center;gap:14px;display:flex}.print-modal-icon{width:44px;height:44px;color:var(--blue);background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-radius:12px;flex-shrink:0;place-items:center;display:grid}.print-modal-heading h3{color:var(--navy);margin:0;font-size:17px;font-weight:700}.print-modal-heading p{color:var(--muted);margin:3px 0 0;font-size:12px}.modal-close-btn{border:1px solid var(--line);width:36px;height:36px;color:var(--muted);cursor:pointer;background:#f1f5f9;border-radius:10px;place-items:center;transition:all .2s;display:grid}.modal-close-btn:hover{color:#dc2626;background:#fee2e2;border-color:#fca5a5}.print-modal-controls{border-bottom:1px solid var(--line);background:#f8fbfe;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px 24px;display:grid}.control-item{flex-direction:column;gap:6px;display:flex}.control-item label{color:var(--navy);align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.control-item select{min-height:42px;color:var(--ink);background:#fff;border:1px solid #d0dce8;border-radius:10px;outline:none;padding:0 12px;font-size:13px;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #102a4308}.control-item select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1476c926}.print-student-selection{border-bottom:1px solid var(--line);background:#fff;padding:14px 24px}.print-selection-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.print-selection-heading>div:first-child{gap:3px;display:grid}.print-selection-heading strong{color:var(--navy);font-size:13px}.print-selection-heading span{color:var(--muted);font-size:10px}.print-selection-mode{background:#f4f8fb;border:1px solid #d8e4ed;border-radius:11px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:min(420px,50%);padding:4px;display:grid}.print-selection-mode button{color:#526d80;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:7px 10px;font-family:inherit;font-size:11px;font-weight:700;display:flex}.print-selection-mode button.active{color:#fff;background:linear-gradient(135deg, var(--blue), var(--blue-dark));box-shadow:0 4px 10px #1476c933}.print-student-picker{background:#f8fbfd;border:1px solid #d9e6ee;border-radius:12px;grid-template-columns:minmax(240px,1fr) auto;gap:9px;margin-top:12px;padding:11px;display:grid}.print-student-search{color:#718799;background:#fff;border:1px solid #c9d9e5;border-radius:9px;align-items:center;gap:8px;min-height:41px;padding:0 11px;display:flex}.print-student-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1476c91a}.print-student-search input{width:100%;min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0}.print-student-search button{color:#657d8e;cursor:pointer;background:#edf3f7;border:0;border-radius:7px;flex:0 0 28px;place-items:center;width:28px;height:28px;padding:0;display:grid}.print-student-picker-actions{justify-content:flex-end;align-items:center;gap:6px;display:flex}.print-student-picker-actions span{color:#0369a1;white-space:nowrap;background:#e0f2fe;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800}.print-student-picker-actions button{color:#174e75;cursor:pointer;background:#fff;border:1px solid #bfd4e2;border-radius:8px;min-height:34px;padding:6px 10px;font-family:inherit;font-size:10px;font-weight:700}.print-student-picker-actions button:disabled{opacity:.45;cursor:default}.print-student-choice-list{scrollbar-width:thin;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:164px;padding:2px;display:grid;overflow-y:auto}.print-student-choice-list label{cursor:pointer;background:#fff;border:1px solid #dbe6ed;border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:grid}.print-student-choice-list label.selected{box-shadow:inset 3px 0 0 var(--blue);background:#eff8ff;border-color:#63b3e5}.print-student-choice-list input{width:17px;height:17px;accent-color:var(--blue)}.print-student-choice-list label>span{gap:2px;min-width:0;display:grid}.print-student-choice-list strong{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.print-student-choice-list small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.print-student-choice-list label>svg{color:var(--blue)}.print-student-no-results{text-align:center;color:var(--muted);background:#fff;border:1px dashed #cbd9e2;border-radius:9px;grid-column:1/-1;margin:0;padding:18px;font-size:11px}.print-modal-meta-bar{border-bottom:1px solid var(--line);background:#fff;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 24px;display:flex}.meta-pill{color:var(--navy);background:#f1f5f9;border-radius:20px;align-items:center;gap:6px;padding:6px 14px;font-size:12px;display:inline-flex}.meta-pill.primary{color:#0369a1;background:#e0f2fe;font-weight:700}.meta-pill.hint{color:#b45309;background:#fef3c7;margin-right:auto;font-weight:600}.print-modal-preview-wrapper{background:#f1f5f9;flex:1;justify-content:center;padding:24px;display:flex;overflow-y:auto}.a4-sheet-simulated{background:#fff;border:1px solid #e2e8f0;border-radius:8px;width:100%;max-width:800px;min-height:480px;padding:24px;position:relative;box-shadow:0 8px 24px #00000014}.sheet-label-badge{color:var(--muted);text-align:center;border-bottom:1px dashed #cbd5e1;margin-bottom:16px;padding-bottom:8px;font-size:11px;font-weight:600}.empty-preview{text-align:center;color:var(--muted);padding:40px}.print-modal-footer{border-top:1px solid var(--line);background:#fbfdff;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.print-action-btn{background:linear-gradient(135deg, var(--blue), var(--blue-dark));color:#fff;padding:0 24px;font-weight:700;box-shadow:0 6px 16px #1476c940}.actual-print-document{display:none}.print-cards-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;display:grid}.cards-per-page-4{grid-template-columns:repeat(2,minmax(170px,1fr))}.cards-per-page-6{grid-template-columns:repeat(3,minmax(170px,1fr))}.cards-per-page-8{grid-template-columns:repeat(4,minmax(150px,1fr))}.print-card{border:1px solid var(--line);page-break-inside:avoid;break-inside:avoid;background:linear-gradient(#fff,#f8fbff);border-radius:16px;padding:12px 10px}.print-card-header{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;display:flex}.print-card-school{color:var(--blue-dark);font-weight:700}.print-card-id{font-weight:700}.print-card-body{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.print-card-qr{border:1px solid var(--line);background:#fff;border-radius:12px;width:110px;height:110px;padding:8px}.print-card-meta{flex-direction:column;gap:4px;display:flex}.print-card-meta strong{color:var(--navy);font-size:14px}.print-card-meta span{color:var(--muted);font-size:11px}.attendance-panel{gap:20px;display:grid}.attendance-control-panel{border:1px solid var(--line);background:#fff;border-radius:18px;padding:20px 24px;box-shadow:0 4px 16px #102a430a}.attendance-mode-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.attendance-mode-header h3{color:var(--navy);margin:0;font-size:17px;font-weight:800}.school-date-tag{color:#0c4277;background:#f0f7ff;border:1px solid #d0e4fb;border-radius:999px;align-items:center;gap:8px;padding:6px 14px;font-size:13px;font-weight:600;display:inline-flex}.attendance-modes-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.modes-buttons-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.mode-selector-btn{color:#475569;cursor:pointer;background:#f8fafc;border:2px solid #e2e8f0;border-radius:12px;align-items:center;gap:8px;padding:10px 18px;font-family:inherit;font-size:13px;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1);display:inline-flex}.mode-selector-btn:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px)}.mode-selector-btn.late.active{color:#b45309;background:#fffbeb;border-color:#f59e0b;box-shadow:0 4px 12px #f59e0b33}.mode-selector-btn.present.active{color:#047857;background:#f0fdf4;border-color:#10b981;box-shadow:0 4px 12px #10b98133}.mode-selector-btn.auto.active{color:#6d28d9;background:#f5f3ff;border-color:#8b5cf6;box-shadow:0 4px 12px #8b5cf633}.attendance-mode-help{border:1px solid var(--line);color:#475569;background:#f8fafc;border-radius:12px;flex:100%;gap:3px;padding:10px 14px;font-size:13px;line-height:1.6;display:grid}.attendance-mode-help strong{color:var(--navy);font-size:13px}.attendance-mode-help.late{background:#fffbeb;border-color:#fde68a}.attendance-mode-help.present{background:#f0fdf4;border-color:#bbf7d0}.attendance-mode-help.auto{background:#f5f3ff;border-color:#ddd6fe}.cutoff-config-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 16px;display:flex}.cutoff-title{color:#334155;align-items:center;gap:6px;font-size:12px;font-weight:700;display:flex}.cutoff-form{align-items:center;gap:8px;display:flex}.cutoff-time-field{color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:6px 10px;font-family:inherit;font-size:13px;font-weight:700;transition:all .2s}.cutoff-time-field:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.cutoff-save-button{color:#fff;cursor:pointer;background:#0c4277;border:none;border-radius:8px;align-items:center;gap:5px;padding:7px 14px;font-family:inherit;font-size:12px;font-weight:700;transition:all .2s;display:inline-flex}.cutoff-save-button:hover{background:#1476c9;transform:translateY(-1px)}.cutoff-success-pill{color:#15803d;background:#dcfce7;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.camera-actions-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.camera-main-trigger{align-items:center;gap:12px;display:flex}.camera-launch-btn{cursor:pointer;letter-spacing:.3px;border:none;border-radius:14px;align-items:center;gap:10px;padding:13px 30px;font-family:inherit;font-size:16px;font-weight:800;transition:all .25s;display:inline-flex}.camera-launch-btn.start{color:#fff;background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 6px 20px #10b98159}.camera-launch-btn.start:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 8px 24px #10b98173}.camera-launch-btn.stop{animation:2s infinite pulse-red;color:#fff!important;background:linear-gradient(135deg,#ef4444,#dc2626)!important;box-shadow:0 6px 22px #dc262673!important}.camera-launch-btn.stop:hover{transform:translateY(-2px);background:linear-gradient(135deg,#dc2626,#b91c1c)!important}.camera-aux-tools{align-items:center;gap:10px;display:flex}.aux-tool-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #d0dce8;border-radius:12px;align-items:center;gap:7px;padding:11px 18px;font-family:inherit;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 2px 6px #102a430a}.aux-tool-btn:hover{background:#f8fafc;border-color:#94a3b8;transform:translateY(-1px)}.aux-tool-btn.active{color:#854d0e;background:#fef08a;border-color:#eab308}.camera-viewport-card{background:#070e1c;border:2px solid #1e293b;border-radius:20px;justify-content:center;align-items:center;width:100%;min-height:480px;max-height:580px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 36px #00000040}.camera-live-wrapper{justify-content:center;align-items:center;width:100%;height:100%;min-height:480px;display:flex;position:relative;overflow:hidden}.camera-stream-feed{object-fit:cover;border-radius:18px;width:100%;height:100%;min-height:480px}.camera-scanner-hud{pointer-events:none;z-index:10;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.scanner-bracket-box{border:1px solid #fff3;border-radius:16px;width:min(320px,75vw);height:min(320px,50vh);position:relative;overflow:hidden;box-shadow:0 0 0 9999px #00000073}.bracket{border-style:solid;border-color:#38bdf8;width:28px;height:28px;position:absolute}.bracket-tr{border-width:4px 4px 0 0;border-top-right-radius:12px;top:0;right:0}.bracket-tl{border-width:4px 0 0 4px;border-top-left-radius:12px;top:0;left:0}.bracket-br{border-width:0 4px 4px 0;border-bottom-right-radius:12px;bottom:0;right:0}.bracket-bl{border-width:0 0 4px 4px;border-bottom-left-radius:12px;bottom:0;left:0}.scanner-laser-beam{background:linear-gradient(90deg,#0000,#ef4444,#ff3b57,#ef4444,#0000);height:3px;animation:2.2s ease-in-out infinite alternate laser-scan;position:absolute;top:0;left:0;right:0;box-shadow:0 0 12px #ff3b57,0 0 20px #ef4444}.scanner-live-badge{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#f8fafc;background:#0f172ad9;border:1px solid #ffffff26;border-radius:999px;margin-top:18px;padding:6px 18px;font-size:13px;font-weight:700}.scanned-student-overlay-card{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:center;z-index:25;pointer-events:none;background:#0f172af0;border:2px solid #ef4444;border-radius:18px;width:min(480px,90%);padding:18px 24px;position:absolute;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #ef444459}.overlay-red-header{color:#ef4444;text-transform:uppercase;align-items:center;gap:6px;margin-bottom:4px;font-size:12px;font-weight:800;display:inline-flex}.overlay-student-name{color:#ef4444;text-shadow:0 2px 14px #ef444473;margin:4px 0 10px;font-size:26px;font-weight:900;line-height:1.2}.overlay-sub-details{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.overlay-meta-item{color:#f1f5f9;background:#ffffff1f;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:600}.overlay-status-pill{border-radius:999px;padding:4px 14px;font-size:12px;font-weight:800}.overlay-status-pill.present{color:#fff;background:#10b981;box-shadow:0 2px 8px #10b98159}.overlay-status-pill.late{color:#fff;background:#f59e0b;box-shadow:0 2px 8px #f59e0b59}.overlay-time-tag{color:#94a3b8;direction:ltr;font-size:12px;font-weight:600}.camera-idle-wrapper{text-align:center;color:#f8fafc;max-width:520px;padding:48px 24px}.idle-camera-icon{color:#38bdf8;background:#ffffff14;border:1px solid #ffffff1f;border-radius:26px;place-items:center;width:88px;height:88px;margin:0 auto 18px;display:grid}.camera-idle-wrapper h4{color:#fff;margin:0 0 8px;font-size:20px;font-weight:800}.camera-idle-wrapper p{color:#94a3b8;margin:0 0 24px;font-size:14px;line-height:1.7}.idle-trigger-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#1476c9,#0c4277);border:none;border-radius:12px;align-items:center;gap:8px;padding:13px 28px;font-family:inherit;font-size:15px;font-weight:800;transition:all .2s;display:inline-flex;box-shadow:0 6px 18px #1476c959}.idle-trigger-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #1476c973}.camera-viewport-card.fullscreen{z-index:99999!important;border:none!important;border-radius:0!important;width:100vw!important;height:100vh!important;max-height:100vh!important;position:fixed!important;inset:0!important}.floating-exit-fs{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer;z-index:30;background:#0f172ad9;border:1px solid #fff3;border-radius:999px;align-items:center;gap:6px;padding:8px 16px;font-family:inherit;font-size:13px;font-weight:700;display:flex;position:absolute;top:20px;left:20px}.live-attendance-counters{grid-template-columns:repeat(3,minmax(140px,1fr));gap:16px;display:grid}.counter-box{border:1px solid var(--line);background:#fff;border-radius:16px;flex-direction:column;gap:6px;padding:18px 20px;display:flex;box-shadow:0 3px 12px #102a4308}.counter-box.present{color:#166534;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#bbf7d0}.counter-box.late{color:#92400e;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#fde68a}.counter-box.total{color:#0f172a;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:#e2e8f0}.counter-box strong{font-size:32px;font-weight:900}.scan-log-table-panel{border:1px solid var(--line);background:#fff;border-radius:18px;gap:16px;padding:22px 24px;display:grid;box-shadow:0 4px 16px #102a430a}.scan-log-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.scan-log-header h3{color:var(--navy);margin:0;font-size:17px;font-weight:800}.scan-log-export-group{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.export-btn{cursor:pointer;border:none;border-radius:10px;align-items:center;gap:6px;padding:9px 16px;font-family:inherit;font-size:13px;font-weight:700;transition:all .2s;display:inline-flex}.export-btn:disabled{opacity:.5;cursor:not-allowed}.export-btn.csv{color:#0369a1;background:#e0f2fe;border:1px solid #bae6fd}.export-btn.csv:hover:not(:disabled){background:#bae6fd}.export-btn.pdf{color:#6d28d9;background:#ede9fe;border:1px solid #ddd6fe}.export-btn.pdf:hover:not(:disabled){background:#ddd6fe}.export-btn.clear{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca}.export-btn.clear:hover:not(:disabled){background:#fecaca}.attendance-name-checkin{background:#f4faff;border:1px solid #cfe5f5;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;padding:14px 16px;display:flex}.attendance-name-checkin>div:first-child strong,.attendance-name-checkin>div:first-child span{display:block}.attendance-name-checkin>div:first-child strong{color:var(--navy);font-size:14px}.attendance-name-checkin>div:first-child span{color:var(--muted);margin-top:3px;font-size:12px}.attendance-student-search{flex-shrink:0;width:min(440px,100%);position:relative}.attendance-student-search .search-box{background:#fff;width:100%}.attendance-student-results{z-index:30;border:1px solid var(--line);background:#fff;border-radius:12px;max-height:300px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px #102a4329}.attendance-student-results button{width:100%;color:var(--ink);text-align:right;cursor:pointer;background:#fff;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-family:inherit;display:flex}.attendance-student-results button:hover:not(:disabled){background:#eff8ff}.attendance-student-results button:disabled{color:var(--muted);cursor:not-allowed;opacity:.7}.attendance-student-results button span,.attendance-student-results button strong,.attendance-student-results button small{display:block}.attendance-student-results button small{color:var(--muted);white-space:nowrap;margin-top:2px;font-size:11px}.attendance-student-results p{color:var(--muted);margin:0;padding:12px;font-size:13px}.scan-log-toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.manual-scan-box{width:min(340px,100%)!important}.scan-records-table{border-collapse:collapse;width:100%;min-width:820px;font-size:13px}.log-time-cell{color:#334155;direction:ltr;font-weight:700}.log-id-cell{color:#475569;font-weight:600}.log-name-cell{color:#0c4277;font-weight:700}.log-status-badge{border:0;border-radius:999px;padding:4px 12px;font-family:inherit;font-size:12px;font-weight:700;display:inline-block}.log-status-badge.interactive{cursor:pointer;transition:transform .16s,box-shadow .16s}.log-status-badge.interactive:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 3px 10px #102a432e}.log-status-badge.interactive:focus-visible{outline-offset:2px;outline:3px solid #1476c94d}.log-status-badge.interactive:disabled{cursor:wait;opacity:.72}.log-status-badge.present{color:#166534;background:#dcfce7}.log-status-badge.late{color:#92400e;background:#fef3c7}.empty-scan-state{text-align:center;color:var(--muted);padding:42px 20px}.empty-scan-icon{width:64px;height:64px;color:var(--blue);background:#f1f5f9;border-radius:18px;place-items:center;margin:0 auto 12px;display:grid}.empty-scan-state h4{color:var(--navy);margin:0 0 6px;font-size:16px;font-weight:700}.empty-scan-state p{margin:0;font-size:13px}@keyframes laser-scan{0%{top:4%}to{top:96%}}@keyframes pulse-red{0%,to{box-shadow:0 0 #ef44448c}50%{box-shadow:0 0 0 12px #ef444400}}@keyframes zoom-in{0%{opacity:0;transform:translate(-50%,15px)scale(.95)}to{opacity:1;transform:translate(-50%)scale(1)}}.animate-zoom-in{animation:.2s cubic-bezier(.16,1,.3,1) forwards zoom-in}.animate-fade{animation:.2s ease-in fadeIn}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media (width<=860px){.app-shell{flex-direction:column;width:100%;display:flex;overflow-x:hidden}.sidebar{z-index:999;border-left:none;border-radius:0;width:280px;max-width:85vw;height:100vh;transition:transform .3s cubic-bezier(.16,1,.3,1);position:fixed;top:0;right:0;overflow-y:auto;transform:translate(105%);box-shadow:-8px 0 28px #102a4326}.sidebar.open{transform:translate(0)}.sidebar-close-btn,.mobile-menu-btn{display:flex}.main-content{box-sizing:border-box;padding:16px 14px 28px;width:100%!important}.topbar{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px;display:flex}.topbar-title-section{align-items:center;gap:10px;display:flex}.topbar-title-section h1{font-size:19px}.topbar-title-section .eyebrow{margin-bottom:2px}.date-label{display:none}.profile-button{padding:6px 10px}.profile-button strong{font-size:12px}.profile-button small{display:none}.page-intro{flex-direction:column;align-items:flex-start;gap:12px;padding:16px}.panel-header{flex-direction:column;align-items:flex-start;gap:14px}.school-settings-grid{grid-template-columns:1fr;gap:14px}.school-storage-panel .panel-header{align-items:stretch}.school-storage-grid,.almadar-test-controls{grid-template-columns:1fr}.almadar-test-controls>div,.almadar-test-controls>div .secondary-button{width:100%}.panel-actions{flex-direction:column;gap:8px;width:100%;display:flex}.panel-actions button,.panel-actions label{justify-content:center;width:100%}.toolbar{flex-direction:column;align-items:stretch;gap:10px}.search-box,.file-meta{box-sizing:border-box;width:100%}.attendance-name-checkin{flex-direction:column;align-items:stretch}.attendance-student-search{width:100%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{gap:10px;padding:12px 14px}.stat-card strong{font-size:22px}.stat-icon{width:42px;height:42px}.attendance-row{grid-template-columns:1fr;gap:12px}.table-wrap{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.print-modal-controls{grid-template-columns:1fr;gap:10px}.print-selection-heading{flex-direction:column;align-items:stretch}.print-selection-mode{width:100%;min-width:0}.print-student-picker{grid-template-columns:1fr}.print-student-picker-actions,.print-student-choice-list,.print-student-no-results{grid-column:1}.print-modal-dialog{max-height:95vh}}@media (width<=580px){.main-content{padding:12px 10px 24px}.main-content,.attendance-panel,.camera-actions-bar,.camera-main-trigger,.camera-aux-tools{min-width:0}.topbar-title-section h1{font-size:17px}.stats-grid,.attendance-summary{grid-template-columns:1fr;gap:10px}.camera-actions-bar{flex-direction:column;align-items:stretch;gap:10px;width:100%}.camera-main-trigger{width:100%}.camera-launch-btn{justify-content:center;width:100%;padding:12px 16px}.camera-aux-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.aux-tool-btn{justify-content:center;width:100%;min-width:0;padding:10px 8px;font-size:12px}.camera-viewport-card{border-radius:16px;width:100%;min-width:0;height:min(62vh,520px);min-height:320px;max-height:520px}.camera-live-wrapper{width:100%;min-width:0;height:100%;min-height:0}.camera-stream-feed{object-fit:cover;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;display:block}.scanner-bracket-box{width:min(280px,72vw);height:min(280px,38vh)}.scanner-live-badge{text-align:center;white-space:normal;max-width:calc(100% - 24px);padding:7px 12px;line-height:1.4}.scanned-student-overlay-card{width:calc(100% - 24px);padding:14px 16px;bottom:12px}.overlay-student-name{font-size:22px}.live-attendance-counters{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.counter-box{min-width:0;padding:12px 8px}.counter-box span{font-size:11px;line-height:1.4}.panel-actions,.status-controls{flex-direction:column;align-items:stretch}.primary-button,.secondary-button,.status-btn,.print-button{justify-content:center;width:100%}.print-modal-overlay{padding:10px}.print-modal-dialog{border-radius:16px;max-height:98vh;overflow-y:auto}.print-modal-header,.print-modal-controls,.print-student-selection,.print-modal-meta-bar,.print-modal-footer{padding:12px 16px}.print-modal-header{z-index:5;position:sticky;top:0}.print-modal-preview-wrapper{flex:none;min-height:260px;padding:14px;overflow:visible}.print-selection-mode{grid-template-columns:1fr}.print-student-picker-actions{grid-template-columns:1fr 1fr;display:grid}.print-student-picker-actions span{text-align:center;grid-column:1/-1}.print-student-picker-actions button{width:100%}.print-student-choice-list{grid-template-columns:1fr;max-height:220px}.print-modal-footer{z-index:5;flex-direction:column;align-items:stretch;position:sticky;bottom:0}.print-modal-footer button{justify-content:center;width:100%}.meta-pill.hint{width:100%;margin-right:0}.a4-sheet-simulated{padding:12px}.cards-per-page-4,.cards-per-page-6,.cards-per-page-8{grid-template-columns:1fr!important}}.daily-report-panel .panel-header p,.history-count-panel .panel-header p{color:#64748b;margin:5px 0 0}.daily-report-panel .panel-header>.hijri-date-picker{flex:0 250px;min-width:220px}.daily-report-panel .hijri-date-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.daily-report-panel .hijri-date-popover{z-index:90}.report-date{color:#475569;gap:6px;font-size:12px;font-weight:800;display:grid}.report-date input{min-height:40px;font:inherit;border:1px solid #cbd5e1;border-radius:9px;padding:7px 9px}.daily-actions{margin:0 0 14px}.daily-export-filter{background:#f7fbfe;border:1px solid #cfe2f0;border-radius:13px;grid-template-columns:minmax(220px,1fr) minmax(170px,.7fr) minmax(150px,.6fr) auto;align-items:end;gap:11px;margin:0 0 14px;padding:13px 15px;display:grid}.daily-export-filter>div{gap:3px;display:grid}.daily-export-filter>div strong{color:#123e63;font-size:14px}.daily-export-filter>div span{color:#64748b;font-size:12px}.daily-export-filter label{color:#49677e;gap:5px;font-size:12px;font-weight:800;display:grid}.daily-export-filter select{color:#123b63;min-height:40px;font:inherit;background:#fff;border:1px solid #bfdbfe;border-radius:9px;padding:7px 9px}.daily-export-filter select:disabled{color:#8ca0b1;cursor:not-allowed;background:#edf3f7}.daily-export-filter .secondary-button{white-space:nowrap;min-height:40px}.daily-list{gap:9px;margin-top:14px;display:grid}.daily-row,.history-row{text-align:right;background:#fff;border:1px solid #dbe5ee;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:14px 16px;display:flex}.daily-row strong,.daily-row small,.history-row strong,.history-row small{display:block}.daily-row strong,.history-row strong{color:#102a43}.daily-row small,.history-row small{color:#64748b;margin-top:5px}.daily-row select{color:#123b63;min-width:132px;min-height:38px;font:inherit;background:#fff;border:1px solid #bfdbfe;border-radius:9px;padding:7px 9px}.absence-pending-rows,.absence-approved-rows{gap:9px;display:grid}.absence-pending-rows+.absence-approved-rows{margin-top:16px}.absence-pending-rows>header,.absence-approved-rows>header{border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.absence-pending-rows>header{color:#8a4b08;background:#fff8e8;border:1px solid #f6d493}.absence-approved-rows>header{color:#155d94;background:#f1f8fd;border:1px solid #cfe2f0}.absence-pending-rows>header strong,.absence-approved-rows>header strong{font-size:13px}.absence-pending-rows>header span,.absence-approved-rows>header span{color:#64748b;font-size:11px}.pending-attendance-row{background:#fffdf7;border-color:#f6d493}.absence-attendance-actions{flex-wrap:wrap;gap:8px;display:flex}.absence-attendance-actions button{min-width:84px}.daily-pending-status{color:#8a4b08;background:#fff3d4;border-radius:8px;flex:none;padding:7px 9px;font-size:12px;font-weight:800}.late-report-selection-toolbar{background:#f7fbfe;border:1px solid #cfe2f0;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;margin:13px 0;padding:13px 15px;display:flex}.late-report-selection-toolbar>div:first-child{gap:3px;display:grid}.late-report-selection-toolbar strong{color:#123e63;font-size:14px}.late-report-selection-toolbar span{color:#64748b;font-size:12px}.late-report-selection-toolbar>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.late-report-grade-groups{gap:12px;margin-top:14px;display:grid}.late-report-grade-card{background:#fff;border:1px solid #cbddeb;border-radius:14px;overflow:hidden;box-shadow:0 7px 18px #1642650d}.late-report-grade-card.open{border-color:#78b6e1}.late-report-grade-summary{width:100%;color:inherit;text-align:right;font:inherit;cursor:pointer;background:#fff;border:0;justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.late-report-grade-summary:hover,.late-report-grade-card.open .late-report-grade-summary{background:#f3f9fd}.late-report-grade-summary span,.late-report-class-summary span{color:#668096;font-size:11px;font-weight:800;display:block}.late-report-grade-summary h3{color:#0d4f85;margin:3px 0 0;font-size:19px}.late-report-grade-summary p,.late-report-class-summary p{color:#64748b;margin:4px 0 0;font-size:12px}.late-report-grade-summary>b,.late-report-class-summary>b{color:#0968ac;flex:none;font-size:12px}.late-report-grade-content{border-top:1px solid #e2ebf1}.late-report-group-actions{color:#49677e;background:#fbfdff;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;font-size:12px;font-weight:800;display:flex}.late-report-group-actions.compact{border-bottom:1px solid #e6eef3;padding:10px 11px}.late-report-class-grid{background:#f4f9fc;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:11px;padding:12px;display:grid}.late-report-class-card{background:#fff;border:1px solid #d3e2ec;border-radius:12px;overflow:hidden}.late-report-class-card.open{border-color:#8abfe4}.late-report-class-summary{width:100%;color:inherit;text-align:right;font:inherit;cursor:pointer;background:#fff;border:0;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.late-report-class-summary:hover,.late-report-class-card.open .late-report-class-summary{background:#f8fcff}.late-report-class-summary h4{color:#155d94;margin:3px 0 0;font-size:16px}.late-report-class-content{border-top:1px solid #e3edf3}.late-report-student-list{background:#fbfdff;margin:0;padding:10px}.late-report-student-list .daily-row{padding:11px}.late-report-student-check{cursor:pointer;align-items:flex-start;gap:9px;min-width:0;display:flex}.late-report-student-check input{accent-color:#1179c3;flex:none;width:17px;height:17px;margin:2px 0 0}.late-report-student-check span{overflow-wrap:anywhere;min-width:0}.history-row{cursor:pointer}.history-row:hover{background:#f8fbff;border-color:#60a5fa}.count-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:16px 0;display:grid}.count-card{text-align:right;cursor:pointer;min-height:112px;font:inherit;border:1px solid #e2e8f0;border-radius:14px;gap:12px;padding:16px;display:grid}.count-card span{font-weight:800}.count-card strong{font-size:25px}.count-card.yellow{color:#854d0e;background:#fefce8;border-color:#fde68a}.count-card.orange{color:#9a3412;background:#fff7ed;border-color:#fdba74}.count-card.red{color:#991b1b;background:#fef2f2;border-color:#fca5a5}.student-picker{flex-wrap:wrap;align-items:center;gap:9px;margin:14px 0;display:flex}.student-picker>input{min-width:230px;min-height:42px;font:inherit;border:1px solid #cbd5e1;border-radius:10px;flex:260px;padding:9px 12px}.student-picker>label{color:#334155;background:#f8fafc;border:1px solid #dbe5ee;border-radius:9px;padding:8px 10px;font-size:13px}.student-detail-controls{gap:9px;margin:14px 0;display:grid}.student-detail-search{color:#64748b;background:#fff;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:9px;min-height:44px;padding:0 12px;display:flex}.student-detail-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1476c91a}.student-detail-search input{width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0}.student-detail-suggestions{background:#fff;border:1px solid #dbe5ee;border-radius:10px;max-height:300px;display:grid;overflow:auto}.student-detail-suggestions button{text-align:right;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf1f5;justify-content:space-between;gap:12px;padding:10px 13px;display:flex}.student-detail-suggestions button:hover{background:#f4f9fe}.student-detail-suggestions small{color:var(--muted);white-space:nowrap}.student-detail-range{grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:10px;display:grid}.student-detail-range label,.student-detail-print label{color:var(--muted);gap:5px;font-size:12px;font-weight:700;display:grid}.student-detail-range input,.student-detail-print select{min-width:0;min-height:40px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:7px 9px}.student-detail-summary{background:#f7fafc;border:1px solid #dbe5ee;border-radius:10px;gap:7px;margin:18px 0;padding:15px;display:grid}.student-detail-summary h3,.student-detail-summary p{margin:0}.student-detail-summary>strong{color:var(--blue-dark);font-size:18px}.student-detail-summary>div{flex-wrap:wrap;align-items:center;gap:12px 22px;display:flex}.student-detail-summary small{color:var(--muted)}.student-detail-print{align-items:end;gap:10px;margin:0 0 16px;display:flex}.student-detail-print label{flex:1}.student-detail-subjects{gap:12px;min-width:0;display:grid}.student-detail-subject{background:#fff;border:1px solid #dbe5ee;border-radius:10px;min-width:0;padding:13px}.student-detail-subject-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.student-detail-subject-head h3,.student-detail-subject-head p{margin:0}.student-detail-subject-head h3{color:var(--blue-dark);font-size:16px}.student-detail-subject-head p{color:var(--muted);margin-top:4px;font-size:13px}.student-detail-status{color:#8a4b08;background:#fff3e0;border-radius:6px;flex:none;padding:5px 8px;font-size:12px;font-weight:700}.student-detail-status.has-data{color:#21663c;background:#e8f4ec}.student-detail-subsection{margin-top:14px}.student-detail-subsection h4{color:var(--ink);margin:0 0 8px;font-size:14px}.student-detail-no-data{color:var(--muted);background:#f7fafc;border-inline-start:3px solid #cbd5e1;margin:0;padding:10px 12px;font-size:13px}.student-detail-summary-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:0;margin-top:10px;font-size:13px}.student-detail-summary-table th,.student-detail-summary-table td{text-align:right;vertical-align:middle;border:1px solid #dbe5ee;padding:8px}.student-detail-summary-table th{color:#36516c;background:#f4f8fb}.student-detail-summary-table .outline-button{white-space:normal}.student-detail-subject .table-wrap{margin-top:10px}@media (width<=580px){.daily-report-panel .panel-header,.history-count-panel .panel-header{align-items:stretch}.daily-report-panel .panel-header>.hijri-date-picker{flex:100%;width:100%;min-width:0;margin-top:4px}.student-detail-range{grid-template-columns:1fr}.student-detail-range button{justify-content:center;width:100%}.student-detail-print{flex-direction:column;align-items:stretch}.student-detail-print button{justify-content:center;width:100%}.student-detail-summary-table{font-size:11px}.student-detail-summary-table th,.student-detail-summary-table td{padding:6px 4px}.student-detail-summary-table .outline-button{padding:7px 6px;font-size:11px}.student-detail-subject-head{flex-direction:column;gap:6px}.student-detail-subject .responsive-data-table{min-width:520px}.student-detail-subject .table-wrap{width:100%;min-width:0;max-width:100%;overflow-x:auto}.student-detail-suggestions button{flex-direction:column;gap:3px}.report-date{width:100%;margin-top:10px}.daily-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.daily-actions button{width:100%;min-width:0;padding-inline:6px;font-size:12px}.daily-row,.history-row{flex-direction:column;align-items:stretch;gap:10px}.daily-row select{width:100%}.absence-pending-rows>header,.absence-approved-rows>header{flex-direction:column;align-items:flex-start;gap:4px}.absence-attendance-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.absence-attendance-actions button{width:100%}.daily-export-filter{grid-template-columns:1fr;align-items:stretch}.daily-export-filter .secondary-button{width:100%}.late-report-selection-toolbar{flex-direction:column;align-items:stretch}.late-report-selection-toolbar>div:last-child{grid-template-columns:1fr 1fr;display:grid}.late-report-selection-toolbar .secondary-button{width:100%}.late-report-group-actions{flex-direction:column;align-items:stretch}.late-report-group-actions .secondary-button{width:100%}.late-report-class-grid{grid-template-columns:1fr}.late-report-student-list .daily-row{align-items:stretch}.late-report-student-check{width:100%}.count-card-grid{grid-template-columns:1fr;gap:10px}.count-card{min-height:90px}.student-picker{grid-template-columns:1fr;display:grid}.student-picker>input,.student-picker>button{width:100%;min-width:0}}@media print{@page{size:A4 portrait;margin:8mm}html,body{color:#000!important;background:#fff!important;width:100%!important;margin:0!important;padding:0!important;font-family:Cairo,Arial,sans-serif!important;overflow:visible!important}.sidebar,.main-content,.print-modal-overlay,.sidebar-backdrop,.mobile-menu-btn{display:none!important}.app-shell{background:#fff!important;width:100%!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.actual-print-document{width:100%!important;margin:0!important;padding:0!important;display:block!important}.actual-print-document .print-cards-grid{gap:8mm!important;display:grid!important}.actual-print-document .cards-per-page-4{grid-template-columns:repeat(2,1fr)!important}.actual-print-document .cards-per-page-6{grid-template-columns:repeat(3,1fr)!important}.actual-print-document .cards-per-page-8{grid-template-columns:repeat(4,1fr)!important}.actual-print-document .print-card{box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important;background:#fff!important;border:1px solid #718096!important;border-radius:8px!important;margin:0!important;padding:10px 8px!important}.actual-print-document .print-card-qr{width:95px!important;height:95px!important}}.feature-page{gap:20px;display:grid}.feature-intro{color:var(--blue);justify-content:space-between;align-items:center;gap:18px;display:flex}.feature-intro h2,.almadar-settings-panel h2,.message-compose-panel h2,.feature-page .panel h2{color:var(--navy);margin:4px 0 6px;font-size:20px}.feature-intro p,.almadar-settings-panel .panel-header p,.feature-muted{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.almadar-settings-panel{margin-top:20px}.feature-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.status-chip{border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;font-weight:800;display:inline-flex}.status-chip.success{color:#166534;background:#dcfce7}.status-chip.failed{color:#b91c1c;background:#fee2e2}.message-type-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-bottom:16px;padding-bottom:14px;display:flex}.message-type-tabs button{color:#334155;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:9px 14px;font-weight:700}.message-type-tabs button.active{color:#fff;background:#0c5a9e;border-color:#0c5a9e}.message-body-field{color:var(--navy);gap:8px;margin-bottom:16px;font-weight:700;display:grid}.message-body-field textarea{resize:vertical;min-height:130px;font:inherit;border:1px solid #cbd5e1;border-radius:12px;padding:12px}.automatic-message-note{color:#1d4f80;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;margin-bottom:16px;padding:13px 15px;font-size:13px}.message-recipient-summary{border:1px solid var(--line);background:#f8fafc;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;display:flex}.message-recipient-count{color:var(--navy);align-items:center;gap:10px;font-weight:700;display:flex}.message-recipient-count strong{color:#075ca8;background:#e8f2fc;border-radius:999px;place-items:center;min-width:38px;min-height:38px;padding:0 8px;font-size:18px;display:inline-grid}.message-search-count{color:var(--muted);align-self:center;font-size:13px}.message-candidate-hint{color:var(--muted);margin:10px 0 0;font-size:13px}.message-late-groups,.message-general-groups,.message-log-groups{gap:16px;margin-top:14px;display:grid}.message-late-group,.message-general-grade,.message-log-group{background:#fff;border:1px solid #cfe0f1;border-radius:14px;overflow:hidden}.message-recipient-group-summary,.message-log-group-summary{width:100%;color:inherit;text-align:right;font:inherit;cursor:pointer;background:#f3f8fd;border:0;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.message-recipient-group-summary span,.message-log-group-summary span{color:#52708e;font-size:12px;font-weight:700}.message-recipient-group-summary h3,.message-log-group-summary h3{color:#0c4277;margin:2px 0 0;font-size:18px}.message-recipient-group-summary p,.message-log-group-summary p{color:#64748b;margin:4px 0 0;font-size:13px}.message-recipient-group-summary b,.message-log-group-summary b{color:#075ca8;flex:none;font-size:13px}.message-recipient-group-content,.message-log-group-content{border-top:1px solid #dce9f5}.message-general-selection-toolbar{background:#fff;justify-content:space-between;align-items:center;gap:14px;padding:12px 16px;display:flex}.message-general-selection-toolbar strong,.message-general-selection-toolbar span{display:block}.message-general-selection-toolbar strong{color:#143d64;font-size:14px}.message-general-selection-toolbar span{color:#64748b;margin-top:3px;font-size:12px}.message-general-class-grid{background:#f8fbfe;border-top:1px solid #edf2f7;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:11px;padding:12px;display:grid}.message-general-classroom{background:#fff;border:1px solid #d5e3ef;border-radius:12px;overflow:hidden}.message-general-classroom-summary{width:100%;color:inherit;text-align:right;font:inherit;cursor:pointer;background:#fff;border:0;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.message-general-classroom-summary span{color:#6a8095;font-size:11px;font-weight:700}.message-general-classroom-summary h4{color:#114b7e;margin:2px 0 0;font-size:16px}.message-general-classroom-summary p{color:#64748b;margin:4px 0 0;font-size:12px}.message-general-classroom-summary b{color:#075ca8;flex:none;font-size:12px}.message-general-classroom-content{border-top:1px solid #e2ebf2}.message-general-classroom-toolbar{align-items:flex-start;padding:10px 12px}.message-late-group-head{background:#fff;justify-content:space-between;align-items:center;gap:14px;padding:10px 16px;display:flex}.message-late-group-head p{color:#64748b;margin:0;font-size:13px}@media (width<=860px){.message-recipient-group-summary,.message-log-group-summary,.message-general-selection-toolbar,.message-late-group-head{flex-direction:column;align-items:stretch}.message-recipient-group-summary b,.message-log-group-summary b{color:#075ca8}.message-late-group-head .secondary-button,.message-general-selection-toolbar .secondary-button{justify-content:center;width:100%}.message-general-class-grid{grid-template-columns:1fr}}.message-log-summary{border:1px solid var(--line);background:#f8fafc;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;display:flex}.message-log-count{color:var(--navy);align-items:center;gap:10px;font-weight:700;display:flex}.message-log-count strong{color:#075ca8;background:#e8f2fc;border-radius:999px;place-items:center;min-width:38px;min-height:38px;padding:0 8px;font-size:18px;display:inline-grid}.feature-toolbar{flex-wrap:wrap;align-items:end;gap:10px;margin:14px 0;display:flex}.feature-toolbar>input,.feature-toolbar label,.excuse-form input,.excuse-form select,.feature-toolbar select{box-sizing:border-box;min-height:40px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:10px;padding:8px 10px}.feature-toolbar>input{flex:260px}.report-filters label{color:#475569;gap:5px;font-size:12px;font-weight:700;display:grid}.report-student-search{min-width:min(100%,290px);position:relative}.feature-toolbar label.report-student-search{background:0 0;border:0;padding:0}.student-search-box{background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:4px;min-height:40px;padding-inline:8px;display:flex}.student-search-box input{width:100%;min-width:0;min-height:36px;font:inherit;background:0 0;border:0;outline:0;padding:0}.student-search-box button{color:#334155;cursor:pointer;background:#e2e8f0;border:0;border-radius:50%;width:22px;height:22px;line-height:1}.student-search-results{z-index:12;inset-inline:0;background:#fff;border:1px solid #bfdbfe;border-radius:8px;max-height:250px;padding:5px;display:grid;position:absolute;top:calc(100% + 4px);overflow:auto;box-shadow:0 12px 24px #0f172a24}.student-search-results button{color:#0f3d67;text-align:right;cursor:pointer;background:0 0;border:0;border-radius:6px;gap:2px;padding:9px 10px;display:grid}.student-search-results button:hover{background:#eff6ff}.student-search-results small,.student-search-results span{color:#64748b;padding:4px 5px;font-size:12px}.feature-table{border-collapse:collapse;width:100%;min-width:660px;font-size:13px}.feature-table th,.feature-table td{text-align:right;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:11px 10px}.feature-table th{color:#315477;background:#f8fafc;font-weight:800}.feature-table td strong,.feature-table td small{display:block}.feature-table td small{color:var(--muted);margin-top:3px}.feature-table tr.green td{background:#f0fdf4}.feature-table tr.yellow td{background:#fefce8}.feature-table tr.orange td{background:#fff7ed}.feature-table tr.red td{background:#fef2f2}.absence-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 20px;display:grid}.absence-category{border:1px solid #e2e8f0;border-radius:14px;padding:16px}.absence-category h3{margin:0 0 10px;font-size:14px}.absence-category>strong{margin-bottom:13px;font-size:25px;display:block}.absence-category>div{flex-wrap:wrap;gap:8px;display:flex}.absence-category.yellow{color:#854d0e;background:#fefce8;border-color:#fde68a}.absence-category.orange{color:#9a3412;background:#fff7ed;border-color:#fdba74}.absence-category.red{color:#991b1b;background:#fef2f2;border-color:#fca5a5}.excuse-form{grid-template-columns:minmax(180px,1.2fr) minmax(120px,.7fr) minmax(130px,.7fr) minmax(130px,.7fr) minmax(180px,1.2fr) auto;gap:10px;margin:14px 0 18px;display:grid}.icon-danger{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;place-items:center;padding:7px;display:inline-grid}.manual-selection-panel{background:#f0f9ff;border:1px solid #bae6fd;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;display:flex}.manual-selection-panel strong,.manual-selection-panel span{display:block}.manual-selection-panel strong{color:#0c4a6e}.manual-selection-panel span{color:#475569;margin-top:4px;font-size:12px}@media (width<=860px){.absence-category-grid{grid-template-columns:1fr}.excuse-form{grid-template-columns:1fr 1fr}.excuse-form button{grid-column:1/-1}.manual-selection-panel{flex-direction:column;align-items:stretch}}@media (width<=580px){.feature-toolbar{align-items:stretch}.feature-toolbar>input,.feature-toolbar button,.report-filters label{width:100%}.feature-actions{flex-direction:column;align-items:stretch}.feature-actions button{justify-content:center;width:100%}.message-recipient-summary{flex-direction:column;align-items:stretch}.message-recipient-count{justify-content:space-between}.message-log-summary{flex-direction:column;align-items:stretch}.message-log-count{justify-content:space-between}.excuse-form{grid-template-columns:1fr}}.reports-center .report-filter-panel,.reports-center .absence-summary-panel,.reports-center .absence-alerts-panel{overflow:visible}.calculate-absence-button{white-space:nowrap}.report-bulk-actions{justify-content:flex-end}.danger-button{color:#b91c1c;min-height:40px;font:inherit;cursor:pointer;background:#fff7f7;border:1px solid #fecaca;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;font-weight:800;display:inline-flex}.danger-button:hover:not(:disabled){color:#fff;background:#dc2626;border-color:#dc2626}.danger-button:disabled,.secondary-button:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.58}.absence-status-select{color:#123b63;width:100%;min-width:132px;min-height:38px;font:inherit;cursor:pointer;background:#fff;border:1px solid #bfdbfe;border-radius:9px;padding:7px 9px}.text-action-button{color:#075ca8;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;font-weight:800}.text-action-button:hover{color:#0c4a6e;text-decoration:underline}.report-empty-state{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:25px 16px}.report-action-notice{color:#1e4f7a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin:0 0 12px;padding:10px 12px;font-size:13px}.daily-actions button:disabled{cursor:wait;opacity:.65}.feature-table tr.neutral td{background:#fff}.absence-summary-cards{display:none}.report-modal-overlay{z-index:1200;background:#0f172a8a;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.report-modal,.correction-dialog{background:#fff;border-radius:18px;width:min(760px,100%);max-height:min(860px,100vh - 48px);overflow:auto;box-shadow:0 26px 70px #0f172a4d}.report-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px 16px;display:flex}.report-modal-header h2{color:#102a43;margin:3px 0 6px;font-size:21px}.report-modal-header p{color:#64748b;margin:0;font-size:13px}.modal-close-button{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;flex:none;place-items:center;width:34px;height:34px;font-size:24px;line-height:1;display:grid}.report-modal-actions{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;align-items:center;gap:9px;padding:15px 22px;display:flex}.student-notice-copy{background:#f8fafc;border:1px solid #e2e8f0;border-radius:13px;margin:18px 22px;padding:16px}.student-notice-copy h3{color:#123b63;margin:0 0 8px;font-size:17px}.student-notice-copy p{color:#334155;margin:0;line-height:1.9}.student-notice-copy.yellow{border-inline-start:5px solid #eab308}.student-notice-copy.orange{border-inline-start:5px solid #f97316}.student-notice-copy.red{border-inline-start:5px solid #dc2626}.absence-detail-list{gap:9px;padding:0 22px 22px;display:grid}.absence-day-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:minmax(0,1fr) minmax(132px,.6fr) auto;align-items:end;gap:12px;padding:13px;display:grid}.absence-day-card strong,.absence-day-card small{display:block}.absence-day-card strong{color:#123b63}.absence-day-card small{color:#64748b;margin-top:4px}.absence-day-card label,.correction-form label,.card-status-control{color:#475569;gap:6px;font-size:12px;font-weight:800;display:grid}.correction-dialog>.feature-muted,.correction-warning{margin:18px 22px 0;line-height:1.75}.correction-warning{color:#991b1b;background:#fff1f2;border:1px solid #fecaca;border-radius:11px;padding:12px 14px;font-weight:800}.correction-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px 22px;display:grid}.correction-form select,.correction-form input{min-height:40px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:8px 10px}.correction-dialog>.report-modal-actions{border-top:1px solid #e2e8f0;border-bottom:0;justify-content:flex-end}@media (width<=580px){.reports-center{gap:13px}.reports-center .panel{min-width:0;padding:15px}.reports-center .panel-header{align-items:stretch}.reports-center .panel-header>div:first-child{min-width:0}.reports-center .feature-toolbar.report-filters{grid-template-columns:1fr;gap:10px;display:grid}.reports-center .report-filters label,.reports-center .report-student-search,.reports-center .report-filters .primary-button,.reports-center .calculate-absence-button{width:100%;min-width:0}.reports-center .feature-actions,.reports-center .report-bulk-actions,.report-modal-actions{grid-template-columns:1fr;align-items:stretch;display:grid}.reports-center .feature-actions>button,.report-modal-actions>button{width:100%}.reports-center .absence-category-grid{grid-template-columns:1fr;gap:10px;margin:12px 0 4px}.reports-center .absence-category{padding:14px}.reports-center .absence-category>div{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.reports-center .absence-category>div button{justify-content:center;width:100%}.report-summary-table{display:none}.absence-summary-cards{gap:11px;display:grid}.student-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px}.student-summary-card.yellow{background:#fefce8;border-color:#fde68a}.student-summary-card.orange{background:#fff7ed;border-color:#fdba74}.student-summary-card.red{background:#fef2f2;border-color:#fca5a5}.student-summary-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.student-summary-heading h3{color:#102a43;margin:0;font-size:16px}.student-summary-heading p,.summary-counts{color:#64748b;margin:5px 0 0;font-size:12px}.student-summary-heading>strong{color:#102a43;text-align:center;min-width:54px;font-size:24px;line-height:1;display:grid}.student-summary-heading>strong small{color:#64748b;margin-top:5px;font-size:10px;font-weight:700}.card-status-control{margin-top:13px}.student-summary-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:13px;display:grid}.student-summary-actions button{width:100%;min-width:0;padding-inline:7px;font-size:12px}.report-modal-overlay{padding:10px;display:block}.report-modal,.correction-dialog{border-radius:15px;width:100%;max-height:calc(100vh - 20px);margin:0}.report-modal-header,.report-modal-actions,.correction-form{padding-inline:14px}.report-modal-header{gap:10px;padding-block:14px}.report-modal-header h2{font-size:18px}.student-notice-copy{margin:14px;padding:13px}.absence-detail-list{padding:0 14px 14px}.absence-day-card{grid-template-columns:1fr auto;align-items:end;gap:10px}.absence-day-card>label{grid-column:1/-1}.absence-day-card .absence-status-select{min-width:0}.correction-form{grid-template-columns:1fr;padding-block:14px}}@media (width<=860px){html,body,#root,.app-shell,.main-content,.feature-page,.reports-center,.attendance-panel{min-width:0;max-width:100%}.sidebar{height:100dvh;max-height:100dvh}.topbar,.page-intro,.panel,.panel-header,.toolbar,.attendance-toolbar,.feature-intro,.feature-actions,.feature-toolbar,.message-type-tabs,.student-picker,.excuse-form,.manual-selection-panel,.school-settings-grid,.almadar-test-controls,.topbar-title-section,.top-actions,.panel-header>*,.page-intro>*,.feature-intro>*,.feature-toolbar>*{min-width:0;max-width:100%}.topbar-title-section{flex:190px}.top-actions{flex-wrap:wrap}.main-content img{max-width:100%}}@media (width<=580px){.main-content{padding-inline:10px}.panel,.reports-center .panel,.message-compose-panel{border-radius:15px;padding:14px}.panel-header,.page-intro,.feature-intro{align-items:stretch}.feature-intro{flex-direction:column;gap:10px}.feature-intro h2,.feature-page .panel h2,.message-compose-panel h2{overflow-wrap:anywhere;font-size:18px}.message-type-tabs{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.message-type-tabs button{text-align:center;width:100%;min-height:44px}.message-body-field textarea,.feature-toolbar>input,.school-settings-field input,.school-settings-field select,.school-settings-field textarea,.report-date input,.student-picker>input,.excuse-form input,.excuse-form select{width:100%;min-width:0;min-height:44px;font-size:16px}.message-body-field textarea{min-height:145px}.feature-toolbar{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:9px;display:grid}.feature-toolbar>button,.feature-actions>button,.panel-actions>button,.panel-header>button,.almadar-test-controls button,.school-settings-panel button{white-space:normal;justify-content:center;width:100%;min-width:0;min-height:44px}.message-log-panel .feature-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;display:grid}.message-log-panel .feature-actions>button{padding-inline:8px}.automatic-message-note,.notice-box,.notice-box p{overflow-wrap:anywhere}.table-wrap{border:0;border-radius:0;width:100%;max-width:100%;margin-top:10px;overflow:visible}.feature-table,.responsive-data-table{border-collapse:separate;border-spacing:0;width:100%;min-width:0;font-size:13px;display:block}.feature-table thead,.responsive-data-table thead{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.feature-table tbody,.responsive-data-table tbody{gap:10px;display:grid}.feature-table tbody tr,.responsive-data-table tbody tr{background:#fff;border:1px solid #dbe5ee;border-radius:12px;min-width:0;display:grid;overflow:hidden;box-shadow:0 3px 10px #102a4309}.feature-table th,.feature-table td,.responsive-data-table th,.responsive-data-table td{overflow-wrap:anywhere;min-width:0}.feature-table td,.responsive-data-table td{text-align:right;border-bottom:1px solid #edf1f5;grid-template-columns:minmax(82px,.38fr) minmax(0,1fr);align-items:start;gap:9px;padding:10px 11px;line-height:1.55;display:grid}.feature-table td:before,.responsive-data-table td:before{content:attr(data-label);color:#64748b;font-size:11px;font-weight:800}.feature-table td:last-child,.responsive-data-table td:last-child{border-bottom:0}.feature-table td[colspan],.responsive-data-table td[colspan]{text-align:center;padding:16px 12px;display:block}.feature-table td[colspan]:before,.responsive-data-table td[colspan]:before{content:none}.feature-table td[data-label=اختيار]{grid-template-columns:82px minmax(0,1fr)}.feature-table td[data-label=اختيار] input[type=checkbox]{width:22px;height:22px;margin:0}.feature-table td[dir=ltr],.responsive-data-table td[dir=ltr]{text-align:left}.responsive-data-table .qr-thumb{width:58px;height:58px}.table-heading,.toolbar{align-items:stretch}.file-meta,.file-meta strong{overflow-wrap:anywhere;min-width:0}.daily-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-actions button{white-space:normal;min-height:44px}.count-card-grid{grid-template-columns:minmax(0,1fr);gap:9px}.count-card{min-height:84px;padding:13px}.count-card strong{font-size:22px}.daily-row,.history-row{gap:9px;min-width:0;padding:12px}.daily-row>div,.history-row>span{overflow-wrap:anywhere;flex:auto;min-width:0}.daily-row select{flex:0 0 104px;min-width:0;max-width:124px}.history-row>strong{white-space:nowrap;flex:none}.report-modal-overlay{padding:max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom))}.report-modal,.correction-dialog,.print-modal-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 16px)}.report-modal-header,.print-modal-header{min-width:0}.report-modal-header>div,.print-modal-heading>div{overflow-wrap:anywhere;min-width:0}.report-modal-actions,.print-modal-controls,.correction-form{min-width:0}input,select,textarea,button{max-width:100%}}@media (width<=380px){.main-content{padding-inline:8px}.panel,.reports-center .panel,.message-compose-panel{padding:12px}.topbar-title-section{gap:7px}.mobile-menu-btn{width:38px;height:38px}.profile-button{gap:6px;padding-inline:7px}.daily-actions{grid-template-columns:minmax(0,1fr)}}.pending-absence-panel{scroll-margin-top:84px}.pending-absence-panel .panel-header>div:first-child{flex:1;min-width:0}.pending-absence-count{color:#123b63;white-space:nowrap;background:#f1f7fd;border:1px solid #bfdbfe;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;min-width:150px;padding:9px 13px;display:inline-flex}.pending-absence-count span{font-size:13px;font-weight:700}.pending-absence-count strong{font-size:23px;line-height:1}.pending-absence-hint{color:#64748b;margin:12px 0 0;font-size:13px}.pending-grade-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:16px 0;display:grid}.pending-grade-card{background:#fbfdff;border:1px solid #d6e4ee;border-radius:14px;gap:10px;padding:13px;display:grid}.pending-grade-card.expanded{background:#f6fbff;border-color:#72aeda;box-shadow:0 6px 18px #1e639414}.pending-grade-title{color:#173b5d;text-align:right;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:10px;padding:0;display:flex}.pending-grade-title>span{gap:4px;display:grid}.pending-grade-title strong{font-size:15px}.pending-grade-title small{color:#668096;font-size:11px}.pending-grade-title b{color:#1476c9;white-space:nowrap;font-size:11px}.pending-grade-approve{justify-content:center;width:100%;min-height:42px}.pending-grade-students{border-top:1px solid #dce8f0;max-height:305px;padding-top:8px;overflow:auto}.pending-grade-students>div{gap:6px;display:grid}.pending-grade-students article{background:#fff;border:1px solid #e0eaf1;border-radius:9px;padding:8px 9px}.pending-grade-students span{gap:3px;display:grid}.pending-grade-students strong{color:#203c56;font-size:12px}.pending-grade-students small{color:#70869a;font-size:10px}#daily-absence-log{scroll-margin-top:84px}@media (width<=580px){.pending-absence-panel .panel-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;display:grid}.pending-absence-count{gap:8px;min-width:0;padding:8px 10px}.pending-absence-count span{white-space:normal;max-width:76px}.pending-absence-panel .panel-header>button{white-space:normal;grid-column:1/-1;justify-content:center;width:100%;min-height:46px}.pending-grade-groups{grid-template-columns:1fr;gap:9px}.pending-grade-card{padding:12px}.pending-grade-title strong{font-size:14px}}.report-section-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px;display:grid}.report-section-tab{color:#23415f;min-width:0;min-height:48px;font:inherit;text-align:right;cursor:pointer;background:#fff;border:1px solid #dbe5ee;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;font-weight:750;transition:background-color .15s,border-color .15s,color .15s;display:flex}.report-section-tab:hover{background:#f7fbff;border-color:#93c5fd}.report-section-tab.active{color:#fff;background:#0d5fa4;border-color:#0d66ad}.report-section-tab>span{overflow-wrap:anywhere}.report-section-tab>strong{color:#24547e;background:#e8f2fc;border-radius:999px;flex:none;place-items:center;min-width:27px;min-height:27px;padding:0 6px;font-size:12px;display:inline-grid}.report-section-tab.active>strong{color:#0d5fa4;background:#fff}.report-section-content{min-width:0}.incident-report-table-scroll{overscroll-behavior-inline:contain;width:100%;overflow-x:auto}.incident-report-table{border-collapse:collapse;width:100%;min-width:720px}.incident-report-table th,.incident-report-table td{text-align:right;white-space:nowrap;border-bottom:1px solid #dbe5ee;padding:11px 12px}.incident-report-table th{color:#23415f;background:#f3f7fb;font-weight:750}.incident-response-select{color:#183b5b;min-width:135px;min-height:40px;font:inherit;background:#fff;border:1px solid #cbd8e5;border-radius:6px;padding:7px 10px}.report-status-notice{color:#176b46;margin:10px 0;font-size:14px}@media (width<=580px){.report-section-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-section-tab{min-height:46px;padding:9px 10px;font-size:13px}}.lesson-flow{gap:16px;min-width:0;display:grid}.lesson-hero-panel{justify-content:space-between;align-items:center;gap:18px;display:flex}.lesson-hero-panel h2,.lesson-section-heading h3,.lesson-camera-card h3{color:#06213d;margin:4px 0 6px}.lesson-hero-panel p{color:#64748b;margin:0}.lesson-section-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.lesson-section-tabs button,.lesson-day-tabs button{color:#173a5c;min-height:46px;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8e3ef;border-radius:12px;font-weight:800}.lesson-section-tabs button.active,.lesson-day-tabs button.active{color:#fff;background:#0d5fa4;border-color:#0d66ad}.lesson-panel{background:#fff;border:1px solid #dbe5ee;border-radius:18px;gap:16px;min-width:0;padding:22px;display:grid;box-shadow:0 18px 45px #0f23370f}.lesson-import-grid,.lesson-kpi-grid,.lesson-scan-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.lesson-upload-card{color:#173a5c;cursor:pointer;background:#f8fbff;border:1px dashed #b9d3ec;border-radius:14px;gap:8px;padding:18px;display:grid}.lesson-upload-card input,.lesson-file-button input{display:none}.lesson-upload-card span,.lesson-map-row small,.lesson-incident-card small,.lesson-schedule-table small{color:#64748b;font-size:12px}.lesson-kpi-grid span{background:#f8fafc;border:1px solid #e2ebf4;border-radius:12px;justify-content:space-between;align-items:center;min-height:44px;padding:10px 12px;display:flex}.lesson-kpi-grid strong{color:#0d5fa4;font-size:20px}.lesson-section-heading,.lesson-toolbar,.lesson-time-row,.lesson-map-row,.lesson-incident-card{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.lesson-mapping-list,.lesson-times-list,.lesson-incidents-list{gap:10px;min-width:0;display:grid}.lesson-map-row,.lesson-time-row,.lesson-incident-card{background:#fff;border:1px solid #dfe8f1;border-radius:12px;padding:12px}.lesson-map-row>div,.lesson-incident-card>div{min-width:0}.lesson-map-row strong,.lesson-incident-card strong{overflow-wrap:anywhere;display:block}.lesson-map-row select,.lesson-toolbar select,.lesson-toolbar input,.lesson-time-row input{color:#08213c;min-height:42px;font:inherit;background:#fff;border:1px solid #cbd9e6;border-radius:10px;padding:8px 10px}.lesson-map-row select{width:min(420px,48%)}.lesson-day-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.lesson-time-row{justify-content:flex-start}.lesson-time-row strong{min-width:78px}.icon-danger-button{color:#dc2626;cursor:pointer;background:#fff7f7;border:1px solid #fecaca;border-radius:10px;place-items:center;width:42px;height:42px;display:inline-grid}.lesson-classroom-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.lesson-classroom-grid article{background:#f8fafc;border:1px solid #e2ebf4;border-radius:12px;align-items:center;gap:8px;min-width:0;padding:12px;display:flex}.lesson-classroom-grid strong{overflow-wrap:anywhere}.lesson-schedule-scroll{border:1px solid #dbe5ee;border-radius:14px;overflow-x:auto}.lesson-schedule-table{border-collapse:collapse;width:100%;min-width:860px}.lesson-schedule-table th,.lesson-schedule-table td{text-align:right;vertical-align:top;border-bottom:1px solid #e5edf5;padding:12px}.lesson-schedule-table thead th{color:#123b63;background:#f5f8fb}.lesson-schedule-table td strong{color:#06213d;display:block}.lesson-camera-card,.lesson-incidents-side{align-content:start;gap:12px;min-width:0;display:grid}.lesson-camera-preview{gap:10px;display:grid}.lesson-camera-preview video{background:#0f172a;border-radius:14px;width:100%;max-height:360px}.lesson-manual-form,.lesson-scan-preview{background:#f8fbff;border:1px solid #dbe7f3;border-radius:14px;gap:14px;padding:16px;display:grid}.lesson-manual-form p,.lesson-scan-preview p{color:#60748a;margin:4px 0 0;font-size:13px;line-height:1.7}.lesson-manual-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.lesson-manual-fields label,.lesson-cancellation-select{color:#163a60;gap:6px;font-size:13px;font-weight:800;display:grid}.lesson-manual-fields input,.lesson-manual-fields select,.lesson-cancellation-select select{color:#08213c;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #cbd9e6;border-radius:10px;padding:8px 10px}.teacher-absence-search{color:#163a60;gap:6px;font-size:13px;font-weight:800;display:grid}.teacher-absence-search input{color:#08213c;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #cbd9e6;border-radius:10px;padding:8px 10px}.teacher-absence-date{max-width:260px}.teacher-absence-suggestions{background:#fff;border:1px solid #dbe7f3;border-radius:10px;max-height:250px;display:grid;overflow:auto}.teacher-absence-suggestions label{cursor:pointer;border-bottom:1px solid #edf2f7;align-items:center;gap:10px;padding:10px 12px;display:flex}.teacher-absence-suggestions input{width:18px;height:18px;accent-color:var(--blue)}.teacher-absence-suggestions span,.teacher-absence-suggestions small{display:block}.teacher-absence-suggestions small{color:var(--muted);margin-top:3px;font-size:11px}.teacher-absence-confirm{background:#fff9e9;border:1px solid #f2d28c;border-radius:10px;padding:12px}.teacher-absence-confirm>p{margin:5px 0 8px}.teacher-absence-confirm ul{gap:5px;margin:0;padding-right:20px;display:grid}.teacher-day-absence-list{border-top:1px solid #dbe7f3;gap:8px;padding-top:12px;display:grid}.teacher-day-absence-list h4{color:#163a60;margin:0}.teacher-day-absence-list-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.teacher-day-absence-list>.teacher-day-absence-list-head{background:0 0;border:0;padding:0}.teacher-day-absence-list-head .outline-button{padding:7px 9px;font-size:12px}.teacher-day-absence-list>div{background:#fff;border:1px solid #dbe5ee;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.teacher-day-absence-list span,.teacher-day-absence-list small{display:block}.teacher-day-absence-list small{color:var(--muted);margin-top:3px;font-size:11px}.teacher-day-absence-empty{color:var(--muted);background:#f8fbfe;border:1px dashed #cbddec;border-radius:9px;margin:0;padding:11px;font-size:13px}.lesson-time-hint{font-weight:800;color:#0d5fa4!important}.lesson-inline-error{background:#fff1f2;border:1px solid #fecaca;border-radius:10px;padding:10px 12px;font-weight:800;color:#991b1b!important;margin:0!important}.lesson-scan-preview{background:#eff6ff;border-color:#93c5fd}.lesson-scan-preview h3{color:#08213c;margin:3px 0 0;font-size:20px}.lesson-scan-preview-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.lesson-scan-preview-details div{background:#fff;border:1px solid #cfe0f4;border-radius:10px;min-width:0;padding:10px}.lesson-scan-preview-details dt{color:#64748b;margin-bottom:3px;font-size:12px}.lesson-scan-preview-details dd{color:#08213c;overflow-wrap:anywhere;margin:0;font-weight:800}.lesson-incident-card.highlighted{background:#eff6ff;border-color:#93c5fd}.lesson-alert,.lesson-empty{border-radius:12px;align-items:center;gap:8px;min-height:44px;margin:0;padding:10px 12px;display:flex}.lesson-alert.success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.lesson-alert.error{color:#991b1b;background:#fff7f7;border:1px solid #fecaca}.lesson-alert.pending,.lesson-empty{color:#58718b;background:#f8fafc;border:1px solid #dbe5ee}@media (width<=920px){.lesson-section-tabs,.lesson-import-grid,.lesson-kpi-grid,.lesson-scan-grid,.lesson-classroom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.lesson-panel{border-radius:14px;padding:14px}.lesson-hero-panel{align-items:flex-start}.lesson-section-tabs,.lesson-import-grid,.lesson-kpi-grid,.lesson-scan-grid,.lesson-classroom-grid,.lesson-day-tabs,.lesson-manual-fields,.lesson-scan-preview-details{grid-template-columns:minmax(0,1fr)}.lesson-toolbar,.lesson-section-heading,.lesson-time-row,.lesson-map-row,.lesson-incident-card{flex-direction:column;align-items:stretch}.lesson-map-row select{width:100%}.lesson-toolbar>*,.lesson-section-heading button,.lesson-time-row input,.lesson-time-row button,.lesson-incident-card button,.lesson-camera-card button,.lesson-file-button{justify-content:center;width:100%}.lesson-schedule-table{min-width:720px}}.teacher-noor-upload-block{color:#536f83;background:#f8fcff;border:1px dashed #a6c5dc;border-radius:13px;gap:8px;padding:15px;font-size:13px;line-height:1.6;display:grid}.teacher-noor-upload-block>strong{color:var(--navy)}.teacher-noor-upload-button{justify-content:center;align-items:center;width:max-content;min-height:42px;margin-top:4px;display:inline-flex}.teacher-noor-upload-button input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.teacher-noor-image-preview{border-top:1px solid #d8e7f1;grid-template-columns:minmax(0,1fr) minmax(150px,260px);align-items:start;gap:12px;margin-top:4px;padding-top:13px;display:grid}.teacher-noor-image-preview>div{gap:5px;display:grid}.teacher-noor-image-preview strong{color:var(--navy)}.teacher-noor-image-preview span{overflow-wrap:anywhere}.teacher-noor-image-preview small{color:#718a9d}.teacher-noor-image-preview img{object-fit:contain;background:#fff;border:1px solid #cbddeb;border-radius:10px;width:100%;max-height:220px}@media (width<=640px){.teacher-noor-upload-button{width:100%}.teacher-noor-image-preview{grid-template-columns:1fr}.teacher-noor-image-preview img{max-height:260px}}.teacher-noor-upload-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.teacher-portal .teacher-sheet-number,.teacher-portal input[type=number],.teacher-portal input[inputmode=decimal]{font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"locl" 0,"lnum" 1;direction:ltr;unicode-bidi:plaintext;font-family:Courier New,Consolas,Arial,sans-serif!important}.teacher-portal input[type=number],.teacher-portal input[inputmode=decimal]{text-align:center}.teacher-portal .teacher-sheet-heading{font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"locl" 0,"lnum" 1;font-family:Arial,Tahoma,sans-serif}.teacher-noor-calculated-note{color:#166b9e;margin:7px 0 0;font-size:12px;font-weight:700}.teacher-noor-transfer-note{color:#5d7284;margin:7px 0 0;font-size:12px;line-height:1.65}.teacher-noor-auto-cell{color:#166b9e;font-size:11px;font-weight:800}.teacher-noor-calculated-input{color:#135f8e;cursor:default;font-weight:800;background:#edf8ff!important;border-color:#a7d5ed!important}.teacher-noor-mapping{gap:16px;display:grid}.teacher-noor-mapping>.teacher-noor-subject-select{margin:0}.teacher-noor-mapping-list{gap:14px;display:grid}.teacher-noor-mapping-list>article{background:#fff;border:1px solid #d1e1ec;border-radius:15px;gap:13px;padding:15px;display:grid}.teacher-noor-mapping-list>article.ready{background:#f6fcf8;border-color:#9bdabc}.teacher-noor-mapping-list>article>header{justify-content:space-between;align-items:start;gap:12px;display:flex}.teacher-noor-mapping-list>article>header>div{gap:4px;display:grid}.teacher-noor-mapping-list>article>header strong{color:var(--navy);font-size:16px}.teacher-noor-mapping-list>article>header span{color:#678195;font-size:12px}.teacher-noor-match{background:#fff4e5;border-radius:8px;flex:none;padding:7px 9px;font-weight:800;color:#955c17!important;font-size:11px!important}.teacher-noor-match.ok{background:#dcf6e6;color:#167044!important}.teacher-noor-source-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.teacher-noor-source-groups>section{background:#fbfdff;border:1px solid #dce8ef;border-radius:10px;align-content:start;gap:7px;min-width:0;padding:10px;display:grid}.teacher-noor-source-groups h3{color:#35617f;margin:0;font-size:12px}.teacher-noor-source{background:#fff;border:1px solid #e2ebf1;border-radius:8px;gap:7px;padding:8px;display:grid}.teacher-noor-source.selected{background:#f1f9ff;border-color:#78b8dd}.teacher-noor-source>label{color:#183d5d;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;font-size:12px;font-weight:700;display:grid}.teacher-noor-source input[type=checkbox]{width:16px;height:16px;accent-color:var(--blue)}.teacher-noor-source b{color:#1c719f;white-space:nowrap}.teacher-noor-source small,.teacher-noor-source em{color:#6e8596;font-size:10px;font-style:normal}.teacher-noor-choice-scores{background:#eaf5fc;border-radius:7px;gap:6px;padding:8px;display:grid}.teacher-noor-choice-scores>span{color:#51738b;font-size:10px}.teacher-noor-choice-scores label{color:#244b68;grid-template-columns:minmax(0,1fr) 74px;align-items:center;gap:7px;font-size:11px;display:grid}.teacher-noor-choice-scores input{min-width:0;min-height:32px;font:inherit;background:#fff;border:1px solid #bcd7e7;border-radius:6px;padding:4px 6px}.teacher-noor-mapping-list>article>footer{color:#6b8292;min-height:20px;font-size:12px}.teacher-noor-mapping-list>article.ready>footer{color:#157143;font-weight:800}.teacher-roster-card .teacher-roster-table-wrap{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable both-edges;height:clamp(360px,62dvh,620px);overflow:auto}.teacher-roster-card .teacher-roster-table thead th{z-index:2;position:sticky;top:0;box-shadow:0 1px #ccddea}.teacher-roster-card .teacher-roster-table thead .teacher-sheet-bulk-row th{z-index:1;top:43px}.teacher-noor-detected{background:#f5fbff;border:1px solid #b9d9ec;border-radius:14px;gap:13px;padding:15px;display:grid}.teacher-noor-detected-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.teacher-noor-detected-head>div{gap:4px;display:grid}.teacher-noor-detected-head strong{color:var(--navy)}.teacher-noor-detected-head span{color:#607d91;font-size:12px;line-height:1.65}.teacher-noor-detected-head>span{color:#176b9e;background:#dff2ff;border-radius:999px;flex:none;padding:4px 9px;font-weight:800}.teacher-noor-scan-info{color:#58758b;background:#fff;border-radius:9px;margin:0;padding:9px 11px;font-size:12px;line-height:1.65}.teacher-noor-columns{gap:9px;display:grid}.teacher-noor-column{background:#fff;border:1px solid #d6e5ee;border-radius:11px;grid-template-columns:minmax(0,1fr) 140px auto;align-items:end;gap:9px;padding:10px;display:grid}.teacher-noor-column label{color:#597388;gap:5px;font-size:12px;font-weight:800;display:grid}.teacher-noor-column input{min-width:0;min-height:39px;color:var(--ink);font:inherit;background:#fff;border:1px solid #c7dbe9;border-radius:8px;padding:8px 10px}.teacher-noor-column .icon-button{min-height:39px}@media (width<=640px){.teacher-noor-upload-actions{grid-template-columns:1fr;display:grid}.teacher-noor-upload-actions .primary-button,.teacher-noor-upload-actions .outline-button{justify-content:center;width:100%}.teacher-noor-detected-head{display:grid}.teacher-noor-detected-head>span{width:max-content}.teacher-noor-column{grid-template-columns:1fr}.teacher-noor-column .icon-button{width:100%}.teacher-noor-column .icon-button svg{margin-inline:auto}}@media (width<=800px){.teacher-noor-source-groups{grid-template-columns:1fr}.teacher-noor-mapping-list>article>header{display:grid}.teacher-noor-match{width:max-content}.teacher-noor-mapping .primary-button{justify-content:center;width:100%}}.teacher-portal{align-items:flex-start;gap:20px;display:flex}.teacher-workspace{flex:1;min-width:0}.teacher-sidebar{background:#fff;border:1px solid #dce7ef;border-radius:20px;flex-direction:column;flex:0 0 230px;gap:20px;width:230px;min-height:calc(100vh - 48px);padding:16px;display:flex;position:sticky;top:24px;box-shadow:0 12px 26px #102a4314}.teacher-sidebar-brand{color:var(--blue);border-bottom:1px solid #e5edf3;align-items:center;gap:10px;padding:6px 4px 16px;display:flex}.teacher-sidebar-brand>div{gap:3px;display:grid}.teacher-sidebar-brand strong{color:var(--navy);font-size:16px}.teacher-sidebar-brand small{color:var(--muted);font-size:11px}.teacher-sidebar-close{display:none}.teacher-sidebar-nav{gap:7px;display:grid}.teacher-sidebar-nav button,.teacher-sidebar-logout{color:#516b82;width:100%;font:inherit;text-align:right;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:10px;padding:11px 12px;font-weight:800;display:flex}.teacher-sidebar-nav button:hover,.teacher-sidebar-nav button.active{color:var(--blue-dark);background:#eef7ff;border-color:#c8e0f4}.teacher-sidebar-nav button.active svg{color:var(--blue)}.teacher-sidebar-logout{color:#9d3b32;border-color:#f1d3cf;margin-top:auto}.teacher-sidebar-logout:hover{background:#fff3f1}.teacher-mobile-nav-button,.teacher-sidebar-backdrop{display:none}.teacher-tab-placeholder{text-align:center;align-content:center;place-items:center;gap:10px;min-height:300px;display:grid}.teacher-tab-placeholder svg{color:var(--blue)}.teacher-tab-placeholder p{color:var(--muted);margin:0}.teacher-sheet-setup{gap:20px;line-height:1.6;display:grid}.teacher-sheet-subjects{flex-wrap:wrap;gap:8px;display:flex}.teacher-sheet-subjects button{min-width:140px;color:var(--blue-dark);font:inherit;text-align:right;cursor:pointer;background:#fff;border:1px solid #cdddeb;border-radius:11px;gap:4px;padding:10px 12px;font-weight:800;display:grid}.teacher-sheet-subjects button.active{border-color:var(--blue);background:#eef7ff}.teacher-sheet-subjects small{color:var(--muted);font-size:11px;font-weight:600}.teacher-sheet-setup-head{border-top:1px solid #e4edf3;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.teacher-sheet-setup-head span:first-child{color:var(--muted);font-size:12px}.teacher-sheet-setup-head h3{color:var(--navy);margin:4px 0 0}.teacher-sheet-count{color:var(--blue-dark);font-size:12px;font-weight:800}.teacher-sheet-type-block{background:#f8fbfe;border:1px solid #cfe0ed;border-radius:14px;gap:10px;padding:14px;display:grid}.teacher-sheet-step-title{color:var(--navy);font-size:14px}.teacher-sheet-type-tabs{flex-wrap:wrap;gap:8px;display:flex}.teacher-sheet-type-tabs>button:not(.danger-sheet-button){min-width:120px;color:var(--blue-dark);font:inherit;cursor:pointer;background:#fff;border:1px solid #bfd3e5;border-radius:10px;gap:3px;padding:10px 14px;font-weight:800;display:grid}.teacher-sheet-type-tabs>button:not(.danger-sheet-button).active{color:#fff;background:var(--blue);border-color:var(--blue)}.teacher-sheet-type-tabs small{color:var(--muted);font-size:11px}.teacher-sheet-type-tabs>button.active small{color:#eaf5ff}.teacher-sheet-delete-row{color:var(--muted);border-top:1px solid #dce8f0;justify-content:space-between;align-items:center;gap:12px;padding-top:10px;font-size:12px;display:flex}.teacher-sheet-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.teacher-sheet-actions>strong{color:var(--navy);flex-basis:100%;font-size:13px}.teacher-sheet-copy{color:var(--blue-dark);border:1px solid #cdddeb;border-radius:10px;align-items:center;gap:7px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.teacher-sheet-copy select{color:var(--ink);font:inherit;background:0 0;border:0;padding:9px 4px}.teacher-sheet-columns-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.teacher-sheet-columns-head strong{color:var(--navy)}.teacher-sheet-columns{gap:8px;display:grid}.teacher-sheet-column-row{grid-template-columns:minmax(150px,1fr) 125px 110px minmax(150px,1.4fr) 36px;align-items:center;gap:8px;display:grid}.teacher-sheet-column-row input,.teacher-sheet-column-row select{min-width:0;color:var(--ink);font:inherit;background:#fff;border:1px solid #cdddeb;border-radius:10px;padding:9px 11px}.teacher-sheet-column-row input::placeholder{color:#8a9caf}.teacher-sheet-score-input{direction:ltr}.icon-button{width:36px;height:36px;color:var(--blue);background:#fff;border:1px solid #cbddec;border-radius:9px;place-items:center;display:grid}.icon-button.danger{color:#b33b31}.teacher-sheet-menu{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.teacher-sheet-menu button{min-height:170px;color:var(--blue-dark);font:inherit;cursor:pointer;background:#fff;border:1px solid #d9e5ee;border-radius:16px;align-content:center;place-items:center;gap:9px;padding:20px;display:grid}.teacher-sheet-menu button:hover{border-color:var(--blue);background:#eef7ff}.teacher-sheet-menu svg{color:var(--blue)}.teacher-sheet-menu strong{font-size:17px}.teacher-sheet-menu small{color:var(--muted);font-size:12px}.teacher-noor-sheet-menu-button{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#fff7f7)!important;border-color:#f3c6c6!important}.teacher-noor-sheet-menu-button:hover{background:#fff2f2!important;border-color:#d95b5b!important}.teacher-experimental-badge{color:#fff;background:#d92828;border-radius:999px;align-items:center;width:max-content;padding:4px 9px;font-size:11px;font-weight:900;line-height:1;animation:1.65s ease-out infinite teacherExperimentalPulse;display:inline-flex;box-shadow:0 0 #d928288c}.teacher-noor-sheet-menu-button .teacher-experimental-badge{position:absolute;top:12px;left:12px}.teacher-section-head .teacher-experimental-badge{margin-bottom:8px}.teacher-noor-guide{gap:18px;display:grid}.teacher-noor-guide-body{gap:16px;max-width:760px;display:grid}.teacher-noor-warning,.teacher-noor-next-step{color:#755213;background:#fff9e9;border:1px solid #f0ca93;border-radius:12px;gap:5px;padding:13px 15px;font-size:13px;line-height:1.7;display:grid}.teacher-noor-warning strong,.teacher-noor-next-step strong{color:var(--navy)}.teacher-noor-subject-select{max-width:420px;color:var(--navy);gap:7px;font-size:13px;font-weight:800;display:grid}.teacher-noor-subject-select select{min-height:44px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cdddeb;border-radius:10px;padding:10px}.teacher-noor-guide-steps{color:#435c70;gap:9px;margin:0;padding:0 25px 0 0;line-height:1.8;display:grid}.teacher-noor-next-step{color:#4d6e84;background:#f1f9ff;border-color:#bddcf2}@keyframes teacherExperimentalPulse{0%{box-shadow:0 0 #d928287a}70%{box-shadow:0 0 0 9px #d9282800}to{box-shadow:0 0 #d9282800}}.teacher-sheet-back{margin-bottom:15px}.teacher-sheet-start{gap:18px;display:grid}.teacher-sheet-selectors{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.teacher-sheet-selectors label{color:var(--muted);gap:6px;font-size:12px;font-weight:800;display:grid}.teacher-sheet-selectors select{color:var(--ink);font:inherit;background:#fff;border:1px solid #cdddeb;border-radius:10px;padding:10px}.danger-sheet-button{color:#a33a31;border-color:#f0c7c2}.teacher-print-overlay{z-index:100;background:#0f23347a;padding:28px;position:fixed;inset:0;overflow:auto}.teacher-print-preview{direction:rtl;background:#fff;max-width:1120px;margin:0 auto;padding:24px}.teacher-print-preview table{border-collapse:collapse;direction:rtl;width:100%}.teacher-print-preview th,.teacher-print-preview td{text-align:right;border:1px solid #94a3b8;padding:7px}.teacher-print-preview th{background:#e2e8f0}.teacher-print-actions{justify-content:flex-start;gap:8px;max-width:1120px;margin:12px auto 0;display:flex}@media print{.teacher-print-overlay{background:#fff;padding:0;position:absolute;inset:0}.teacher-print-preview{max-width:none;padding:0}.teacher-print-actions{display:none}.teacher-print-preview .teacher-week-print{width:100%;min-width:0}.teacher-print-preview .teacher-week-print header{padding-top:0}.teacher-print-preview .teacher-week-print th,.teacher-print-preview .teacher-week-print td{height:23mm}@page{size:A4 landscape;margin:10mm}}.teacher-portal{min-height:100vh;color:var(--ink);background:linear-gradient(150deg,#edf5fa 0,#f8fafc 42%,#eef5f2 100%);padding:32px max(24px,50% - 590px)}.teacher-topbar,.teacher-welcome,.teacher-section-head,.teacher-admin-head,.teacher-admin-tools,.teacher-report-actions,.teacher-report-filters{justify-content:space-between;align-items:center;gap:16px;display:flex}.teacher-topbar{margin-bottom:20px}.teacher-topbar span,.teacher-admin-head span,.teacher-section-head>div>span{color:var(--muted);font-size:12px}.teacher-topbar h1,.teacher-admin-head h2,.teacher-section-head h2,.teacher-section-head h3{color:var(--navy);margin:4px 0 0}.teacher-topbar h1{font-size:28px}.teacher-welcome,.teacher-card,.teacher-security-card,.teacher-admin,.teacher-admin-card,.teacher-credentials{background:#fff;border:1px solid #dce7ef;border-radius:20px;box-shadow:0 12px 26px #102a430f}.teacher-welcome{margin-bottom:18px;padding:18px 22px}.teacher-welcome>div,.teacher-security-card>div:first-child{color:var(--blue);align-items:center;gap:12px;display:flex}.teacher-welcome strong,.teacher-welcome small{display:block}.teacher-welcome small{color:var(--muted);margin-top:3px;font-size:12px}.teacher-welcome label,.teacher-report-filters label{color:var(--muted);gap:5px;font-size:12px;font-weight:700;display:grid}.teacher-welcome input,.teacher-report-filters input,.teacher-report-filters select,.teacher-report-actions select,.teacher-roster-table select,.teacher-password-form input,.teacher-admin-tools input,.teacher-mapping-list select{color:var(--ink);font:inherit;background:#fff;border:1px solid #cdddeb;border-radius:10px;padding:9px 11px}.teacher-card{margin-bottom:18px;padding:22px}.teacher-section-head{margin-bottom:15px}.teacher-section-head h2{font-size:20px}.teacher-section-head h3{font-size:18px}.teacher-section-head>svg,.teacher-admin-head>svg{color:var(--blue);flex-shrink:0}.teacher-schedule-grid{grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;display:grid}.teacher-schedule-card{text-align:right;min-height:105px;color:var(--ink);background:#fff;border:1px solid #d9e5ee;border-radius:14px;align-content:start;gap:5px;padding:15px;transition:all .18s;display:grid}.teacher-schedule-card:hover,.teacher-schedule-card.selected{border-color:var(--blue);background:#eef7ff;box-shadow:0 5px 14px #1476c91a}.teacher-schedule-card strong{color:var(--blue-dark)}.teacher-schedule-card span{font-weight:800}.teacher-schedule-card small{color:var(--muted);font-size:11px;line-height:1.5}.teacher-week-title{align-items:flex-start;gap:11px;min-width:0;display:flex}.teacher-week-title>svg{color:var(--blue);flex:none;margin-top:3px}.teacher-week-title>div{min-width:0}.teacher-week-title span{color:var(--muted);font-size:12px}.teacher-week-heading p{color:var(--muted);margin:7px 0 0;font-size:13px;line-height:1.7}.teacher-week-table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #d9e5ee;border-radius:14px;width:100%;overflow-x:auto}.teacher-week-table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:100%}.teacher-week-table th,.teacher-week-table td{text-align:center;vertical-align:middle;border-bottom:1px solid #e1eaf1;border-left:1px solid #e1eaf1;min-width:145px;height:94px;padding:9px}.teacher-week-table thead th{z-index:3;color:#36516c;white-space:nowrap;background:#f4f8fb;height:auto;min-height:52px;font-size:12px;position:sticky;top:0}.teacher-week-table thead th:first-child,.teacher-week-table tbody th{z-index:4;background:#f8fbfd;border-left-color:#cddce7;min-width:155px;max-width:155px;position:sticky;right:0}.teacher-week-table tbody th{text-align:right}.teacher-week-table tbody th strong,.teacher-week-table tbody th small{display:block}.teacher-week-table tbody th strong{color:var(--navy);font-size:14px}.teacher-week-table tbody th small{color:var(--muted);margin-top:5px;font-size:10px;line-height:1.5}.teacher-week-table tr.today th,.teacher-week-table tr.today td{background-color:#f5fbff}.teacher-week-table tr.today th{box-shadow:inset -4px 0 0 var(--blue)}.teacher-week-table tr:last-child th,.teacher-week-table tr:last-child td{border-bottom:0}.teacher-week-table th:last-child,.teacher-week-table td:last-child{border-left:0}.teacher-week-cell{gap:6px;display:grid}.teacher-week-cell button{width:100%;min-height:64px;color:var(--blue-dark);font:inherit;cursor:pointer;background:#eef7ff;border:1px solid #bed8eb;border-radius:10px;align-content:center;place-items:center;gap:4px;padding:8px;transition:all .18s;display:grid}.teacher-week-cell button:hover,.teacher-week-cell button.selected{border-color:var(--blue);background:#dcefff;box-shadow:0 5px 12px #1476c91f}.teacher-week-cell button:disabled{opacity:.65;cursor:wait}.teacher-week-cell button strong{font-size:14px}.teacher-week-cell button small{color:#617a90;text-overflow:ellipsis;white-space:nowrap;max-width:125px;font-size:10px;overflow:hidden}.teacher-week-empty{color:#a5b5c3}.teacher-roster-card{scroll-margin-top:18px}.teacher-week-print{color:#102f4d;min-width:900px;font-family:Tahoma,Arial,sans-serif}.teacher-week-print header{text-align:center;border-bottom:3px solid #1980c8;padding:4px 0 14px}.teacher-week-print header span{color:#1980c8;font-size:12px;font-weight:800}.teacher-week-print header h1{color:#0b355d;margin:4px 0;font-size:25px}.teacher-week-print header p{color:#647b8e;margin:0;font-size:13px}.teacher-week-print-meta{grid-template-columns:1fr 1.5fr;gap:10px;margin:14px 0;display:grid}.teacher-week-print-meta>div{background:#f7fbfe;border:1px solid #cbddea;border-radius:9px;gap:4px;padding:10px 12px;display:grid}.teacher-week-print-meta span{color:#6d8295;font-size:10px}.teacher-week-print-meta strong{color:#123d64;font-size:13px}.teacher-print-preview .teacher-week-print table{table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid #b9cfdf;border-radius:10px;overflow:hidden}.teacher-print-preview .teacher-week-print th,.teacher-print-preview .teacher-week-print td{text-align:center;vertical-align:middle;border-top:0;border-bottom:1px solid #d3e0e9;border-left:1px solid #d3e0e9;border-right:0;height:72px;padding:7px}.teacher-print-preview .teacher-week-print thead th{color:#fff;background:#176fae;height:42px;font-size:11px}.teacher-print-preview .teacher-week-print tbody th{color:#153f64;background:#edf6fc;width:120px}.teacher-print-preview .teacher-week-print tbody th strong,.teacher-print-preview .teacher-week-print tbody th small{display:block}.teacher-print-preview .teacher-week-print tbody th small{color:#637a8c;margin-top:5px;font-size:9px;line-height:1.45}.teacher-print-preview .teacher-week-print tr:last-child th,.teacher-print-preview .teacher-week-print tr:last-child td{border-bottom:0}.teacher-print-preview .teacher-week-print th:last-child,.teacher-print-preview .teacher-week-print td:last-child{border-left:0}.teacher-week-print-lesson{color:#0d4778;gap:4px;padding:5px 3px;display:grid}.teacher-week-print-lesson+.teacher-week-print-lesson{border-top:1px dashed #b8ccda}.teacher-week-print-lesson strong{font-size:12px}.teacher-week-print-lesson small{color:#657d90;font-size:9px}.teacher-week-print-empty{color:#9baeba}.teacher-week-print footer{color:#718596;text-align:left;margin-top:12px;font-size:9px}.teacher-week-print{-webkit-print-color-adjust:exact;print-color-adjust:exact}.teacher-help{color:#597089;margin:0 0 16px;font-size:13px;line-height:1.7}.teacher-empty{color:var(--muted);text-align:center;border:1px dashed #cbdceb;border-radius:12px;margin:0;padding:20px}.primary-button,.outline-button{font-weight:800;font:inherit;white-space:nowrap;border:1px solid #0000;border-radius:10px;align-items:center;gap:7px;padding:10px 13px;display:inline-flex}.primary-button{background:var(--blue);color:#fff}.primary-button:disabled,.outline-button:disabled{opacity:.55;cursor:not-allowed}.outline-button{color:var(--blue-dark);background:#fff;border-color:#bfd3e5}.outline-button:hover{background:#eff7ff}.teacher-roster-table-wrap{border:1px solid #dbe6ee;border-radius:13px;overflow:auto}.teacher-roster-table{border-collapse:collapse;width:100%;min-width:660px}.teacher-roster-table th,.teacher-roster-table td{text-align:right;vertical-align:middle;border-bottom:1px solid #e6eef4;padding:12px}.teacher-roster-table th{color:#36516c;background:#f7fafc;font-size:12px}.teacher-roster-table td:first-child strong,.teacher-roster-table td:first-child small{display:block}.teacher-roster-table td:first-child small{color:var(--muted);margin-top:4px;font-size:11px}.teacher-status-toggle{flex-wrap:wrap;gap:6px;display:flex}.teacher-status-toggle button{color:#60758a;font:inherit;white-space:normal;background:#fff;border:1px solid #cad9e5;border-radius:8px;padding:7px 10px;font-size:12px;line-height:1.25}.teacher-status-toggle button.active.present{color:#147347;background:#e5f8ee;border-color:#9ce3bd}.teacher-status-toggle button.active.late{color:#9a5a12;background:#fff5df;border-color:#f5c76d}.teacher-status-toggle button.active.absent{color:#a33228;background:#fff0ef;border-color:#ffc5c1}.teacher-roster-table select{min-width:155px;font-size:12px}.teacher-roster-table select:disabled{opacity:.45;background:#f1f5f9}.teacher-sheet-bulk-row th{background:#eef7ff;padding:5px}.teacher-sheet-bulk-row select,.teacher-sheet-bulk-row input{width:100%;min-width:62px;font:inherit;background:#fff;border:1px solid #b9d2e5;border-radius:6px;padding:5px;font-size:11px}.teacher-camera{background:#0b2033;border:1px solid #b7d8ef;border-radius:14px;margin:0 0 16px;overflow:hidden}.teacher-camera>div{color:#fff;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13px;display:flex}.teacher-camera button{color:#fff;font:inherit;background:0 0;border:1px solid #ffffff73;border-radius:8px;align-items:center;gap:5px;padding:7px 9px;font-size:12px;display:inline-flex}.teacher-camera video{object-fit:cover;width:100%;max-height:310px;display:block}.teacher-security-card{border-right:5px solid #e99532;margin-bottom:18px;padding:18px 22px}.teacher-security-card h2{color:var(--navy);margin:0;font-size:17px}.teacher-security-card p{color:var(--muted);margin:4px 0 0;font-size:12px}.teacher-password-form{grid-template-columns:1fr 1fr auto;gap:8px;margin-top:14px;display:grid}.teacher-password-form button{background:var(--orange);color:#fff;font:inherit;border:0;border-radius:10px;padding:10px 13px;font-weight:800}.teacher-notice{border-radius:12px;margin:0 0 16px;padding:11px 14px;font-size:13px}.teacher-notice.success{color:#16653a;background:#eaf9f0;border:1px solid #a9e2bd}.teacher-notice.error{color:#a33228;background:#fff1f0;border:1px solid #ffc5c1}.teacher-reports-card{margin-bottom:0}.teacher-report-actions{flex-wrap:wrap;justify-content:flex-end}.teacher-report-list{gap:9px;display:grid}.teacher-report-list article{border:1px solid #e0e9f0;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.teacher-report-list strong,.teacher-report-list span{display:block}.teacher-report-list span{color:var(--muted);margin-top:4px;font-size:12px}.teacher-report-list article>div:last-child{gap:6px;display:flex}.teacher-report-list button{width:34px;height:34px;color:var(--blue);background:#f8fbfe;border:1px solid #cbddec;border-radius:8px;place-items:center;display:grid}.teacher-comprehensive-report .teacher-section-head p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.7}.teacher-comprehensive-filters .primary-button{min-height:42px}.teacher-comprehensive-actions{background:#f7fbfe;border:1px solid #cae0ef;border-radius:12px;align-items:center;margin:0 0 12px;padding:11px 13px}.teacher-comprehensive-actions span{color:#315a7c;flex:1;font-size:13px;font-weight:800}.teacher-comprehensive-list{gap:9px;display:grid}.teacher-comprehensive-list article{background:#fff;border:1px solid #dbe7ef;border-radius:12px;grid-template-columns:minmax(210px,.32fr) minmax(0,1fr);align-items:start;gap:12px;padding:12px;display:grid}.teacher-comprehensive-student{color:var(--navy);align-items:flex-start;gap:9px;line-height:1.6;display:flex}.teacher-comprehensive-student b{color:#146eae;background:#e8f4fc;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:11px;display:grid}.teacher-comprehensive-events{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.teacher-comprehensive-event{color:#164c73;overflow-wrap:anywhere;background:#f5fbff;border:1px solid #9fc6e3;border-radius:7px;align-items:center;max-width:100%;min-height:31px;padding:5px 8px;font-size:12px;line-height:1.5;display:inline-flex}.teacher-comprehensive-empty{color:#8294a3;align-self:center;font-size:12px}@media (width<=720px){.teacher-comprehensive-actions{flex-direction:column;align-items:stretch}.teacher-comprehensive-actions span{flex:none}.teacher-comprehensive-list article{grid-template-columns:1fr;gap:9px}.teacher-comprehensive-event{justify-content:flex-start;width:100%}}.teacher-admin{box-shadow:none;background:0 0;border:0;padding:0}.teacher-admin-head{background:#fff;border:1px solid #dce7ef;border-radius:20px;padding:24px 26px;box-shadow:0 12px 26px #102a430f}.teacher-admin-head p{color:var(--muted);margin:7px 0 0;font-size:13px}.teacher-admin-tabs{gap:8px;margin:17px 0;display:flex}.teacher-admin-tabs button{color:var(--blue-dark);font:inherit;background:#fff;border:1px solid #caddeb;border-radius:10px;flex:1;padding:12px;font-weight:800}.teacher-admin-tabs button.active{background:var(--blue);color:#fff;border-color:var(--blue)}.teacher-admin-card{margin-bottom:18px;padding:22px}.teacher-admin-tools{margin:12px 0 14px}.teacher-admin-tools label{color:var(--muted);border:1px solid #cdddeb;border-radius:10px;flex:1;align-items:center;gap:8px;padding:0 10px;display:flex}.teacher-admin-tools input{border:0;width:100%;padding-right:0}.teacher-account-list{gap:8px;display:grid}.teacher-account-list article{border:1px solid #e0e9f0;border-radius:12px;grid-template-columns:auto minmax(180px,1fr) auto auto;align-items:center;gap:12px;padding:12px;display:grid}.teacher-account-list strong,.teacher-account-list span{display:block}.teacher-account-list span{color:var(--muted);margin-top:3px;font-size:12px}.teacher-check input{width:17px;height:17px;accent-color:var(--blue)}.teacher-account-badge{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}.teacher-account-badge.active{color:#14633a;background:#dcfce7}.teacher-account-badge.disabled{color:#a43228;background:#ffe4e1}.teacher-account-badge.pending{color:#946217;background:#fff2cf}.teacher-account-actions{gap:6px;display:flex}.teacher-account-actions button{color:var(--blue-dark);font:inherit;background:#fff;border:1px solid #cbddeb;border-radius:8px;padding:7px 8px;font-size:11px}.teacher-credentials{border-right:5px solid #299863;margin-bottom:18px;padding:16px 19px}.teacher-credentials>div:first-child{align-items:center;gap:10px;display:flex}.teacher-credentials h3{color:var(--navy);margin:0}.teacher-credentials p{color:var(--muted);margin:4px 0 0;font-size:12px}.teacher-credentials>div:last-child{background:#f6fbf8;border-radius:10px;margin-top:12px;padding:10px}.teacher-credentials>div:last-child p{color:var(--ink);margin:7px 0}.teacher-mapping-list{gap:10px;display:grid}.teacher-mapping-list article{border:1px solid #e0e9f0;border-radius:12px;grid-template-columns:minmax(130px,.6fr) minmax(190px,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.teacher-mapping-name{gap:5px;min-width:0;display:grid}.teacher-mapping-name strong{color:var(--navy)}.teacher-mapping-name span{color:#167044;overflow-wrap:anywhere;font-size:12px;font-weight:800}.teacher-report-filters{flex-wrap:wrap;align-items:end;margin-bottom:16px}.teacher-report-filters label{flex:1;min-width:160px}.teacher-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.teacher-summary-cards button{text-align:right;min-height:145px;color:var(--blue-dark);font:inherit;background:#fff;border:1px solid #d9e5ee;border-radius:17px;align-content:start;gap:7px;padding:18px;transition:all .18s;display:grid}.teacher-summary-cards button:hover,.teacher-summary-cards button.active{border-color:var(--blue);background:#eef7ff;box-shadow:0 8px 19px #1476c91a}.teacher-summary-cards button.warning{color:#9a5a12}.teacher-summary-cards button.warning:hover,.teacher-summary-cards button.warning.active{background:#fff8e8;border-color:#e9ae46}.teacher-summary-cards svg{color:var(--blue)}.teacher-summary-cards button.warning svg{color:#d58718}.teacher-summary-cards span{font-size:15px;font-weight:800}.teacher-summary-cards strong{font-size:28px;line-height:1}.teacher-summary-cards small{color:var(--muted);font-size:12px}.teacher-export-actions{gap:8px;margin:14px 0 10px;display:flex}.teacher-credential-list{background:#f6fbf8;border:1px solid #dce9e3;border-radius:10px;max-height:390px;padding:10px 12px;overflow:auto}.teacher-credentials .teacher-credential-list p{color:var(--ink);margin:7px 0}.teacher-show-more{margin-top:10px}@media (width<=720px){.auth-tabs.auth-tabs-three{grid-template-columns:1fr;gap:3px}.teacher-portal{padding:16px 13px 28px}.teacher-topbar{align-items:flex-start}.teacher-topbar h1{font-size:21px}.teacher-topbar .outline-button{padding:9px;font-size:0}.teacher-topbar .outline-button svg{margin:0}.teacher-welcome,.teacher-security-card,.teacher-card,.teacher-admin-card,.teacher-admin-head{border-radius:16px;padding:16px}.teacher-welcome{flex-direction:column;align-items:flex-start}.teacher-welcome label,.teacher-welcome input{width:100%}.teacher-section-head{flex-wrap:wrap;align-items:flex-start}.teacher-section-head .primary-button{justify-content:center;width:100%}.teacher-password-form{grid-template-columns:1fr}.teacher-schedule-grid{grid-template-columns:1fr 1fr;gap:8px}.teacher-schedule-card{min-height:98px;padding:12px;font-size:13px}.teacher-roster-table{min-width:0}.teacher-roster-table thead{display:none}.teacher-roster-table,.teacher-roster-table tbody,.teacher-roster-table tr,.teacher-roster-table td{width:100%;display:block}.teacher-roster-table tr{border-bottom:1px solid #dce7ef;padding:12px}.teacher-roster-table td{border:0;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;display:flex}.teacher-roster-table td:nth-child(2):before{content:"الحالة";color:var(--muted);font-size:12px}.teacher-roster-table td:nth-child(3):before{content:"الملاحظة";color:var(--muted);font-size:12px}.teacher-roster-table select{min-width:170px;max-width:70%}.teacher-report-actions{justify-content:stretch;width:100%}.teacher-report-actions>*{flex:1}.teacher-report-list article{align-items:flex-start}.teacher-admin-tabs{flex-direction:column}.teacher-admin-tools{flex-direction:column;align-items:stretch}.teacher-account-list article{grid-template-columns:auto 1fr}.teacher-account-badge,.teacher-account-actions{grid-column:2}.teacher-account-actions button{flex:1}.teacher-mapping-list article{grid-template-columns:1fr}.teacher-mapping-list .primary-button{justify-content:center}.teacher-report-filters{grid-template-columns:1fr;display:grid}.teacher-report-filters label{min-width:0}.teacher-report-filters .primary-button{justify-content:center}.teacher-admin-head p{line-height:1.7}.teacher-summary-cards{grid-template-columns:1fr;gap:9px}.teacher-summary-cards button{grid-template-rows:auto auto;grid-template-columns:auto 1fr auto;align-items:center;column-gap:11px;min-height:104px}.teacher-summary-cards button svg{grid-row:1/3}.teacher-summary-cards button span{font-size:14px}.teacher-summary-cards button strong{grid-area:1/3/3;font-size:25px}.teacher-summary-cards button small{grid-column:2}.teacher-export-actions{width:100%}.teacher-export-actions button{flex:1;justify-content:center}}.teacher-roster-table th.teacher-sheet-section-head{text-align:center;background:#dbeafe}@media (width<=720px){.teacher-portal{width:100%;min-height:100vh;padding:calc(62px + env(safe-area-inset-top)) 12px calc(24px + env(safe-area-inset-bottom));display:block;overflow-x:hidden}.teacher-workspace{width:100%;min-width:0}.teacher-mobile-nav-button{z-index:60;top:calc(10px + env(safe-area-inset-top));place-items:center;width:42px;height:42px;display:grid;position:fixed;right:12px}.teacher-sidebar{z-index:80;overscroll-behavior:contain;width:min(300px,88vw);min-height:0;max-height:100dvh;padding:calc(18px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));border-radius:0 0 0 16px;transition:transform .2s;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;transform:translate(105%)}.teacher-sidebar.open{transform:translate(0)}.teacher-sidebar-close{place-items:center;width:36px;height:36px;margin-right:auto;display:grid}.teacher-sidebar-backdrop{z-index:70;background:#0f233461;display:block;position:fixed;inset:0}.teacher-topbar{align-items:center;min-height:40px;margin:0 0 12px;padding:0}.teacher-topbar h1{font-size:22px;line-height:1.35}.teacher-topbar span{font-size:11px}.teacher-welcome,.teacher-card,.teacher-security-card,.teacher-admin-card,.teacher-admin-head{border-radius:14px;width:100%;min-width:0;margin-bottom:12px;padding:14px}.teacher-welcome{flex-direction:column;align-items:stretch;gap:12px}.teacher-welcome>div{align-items:flex-start;min-width:0}.teacher-welcome>div>div{overflow-wrap:anywhere;min-width:0}.teacher-welcome small{line-height:1.6}.teacher-welcome label,.teacher-welcome input{width:100%}.teacher-section-head,.teacher-admin-head{align-items:flex-start;gap:10px}.teacher-section-head h2{font-size:18px;line-height:1.45}.teacher-section-head>div{min-width:0}.teacher-section-head>svg{width:23px;height:23px}.teacher-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.teacher-schedule-card{overflow-wrap:anywhere;min-width:0;min-height:100px;padding:11px;font-size:13px}.teacher-week-heading{align-items:flex-start}.teacher-week-heading h2{font-size:16px;line-height:1.7}.teacher-week-heading p{font-size:12px}.teacher-week-table th,.teacher-week-table td{min-width:128px;height:86px;padding:7px}.teacher-week-table thead th:first-child,.teacher-week-table tbody th{min-width:112px;max-width:112px}.teacher-week-table tbody th strong{font-size:13px}.teacher-week-table tbody th small{font-size:9px}.teacher-week-cell button{min-height:60px;padding:7px}.teacher-week-cell button strong{font-size:13px}.teacher-roster-card{scroll-margin-top:68px}.teacher-summary-cards,.teacher-report-menu,.teacher-sheet-menu{grid-template-columns:1fr;gap:9px}.teacher-summary-cards button{min-height:92px;padding:12px}.teacher-report-menu button,.teacher-sheet-menu button{border-radius:11px;min-height:90px;padding:12px}.teacher-report-menu button{text-align:right;grid-template-columns:28px minmax(0,1fr);justify-items:start;column-gap:10px}.teacher-report-menu button svg{grid-row:1/3}.teacher-report-menu button small{text-align:right;grid-column:2}.teacher-sheet-selectors,.teacher-password-form{grid-template-columns:minmax(0,1fr);gap:10px}.teacher-sheet-selectors select,.teacher-password-form input{width:100%;min-width:0;min-height:44px}.teacher-sheet-subjects,.teacher-sheet-type-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.teacher-sheet-subjects button,.teacher-sheet-type-tabs>button:not(.danger-sheet-button){width:100%;min-width:0;padding:10px}.teacher-sheet-setup-head,.teacher-sheet-delete-row{flex-direction:column;align-items:stretch}.teacher-sheet-actions,.teacher-export-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.teacher-sheet-actions>*{justify-content:center;width:100%}.teacher-report-filters{flex-direction:column;align-items:stretch;gap:10px}.teacher-report-filters label,.teacher-report-filters input{width:100%}.teacher-report-actions{flex-wrap:wrap;justify-content:stretch;gap:8px;display:flex}.teacher-report-actions>*{flex:100px;justify-content:center;min-height:42px}.teacher-roster-table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;overflow-x:auto}.teacher-roster-table{width:max-content;min-width:660px}.teacher-roster-table thead{display:table-header-group}.teacher-roster-table tbody{display:table-row-group}.teacher-roster-table tr{padding:0;display:table-row}.teacher-roster-table th,.teacher-roster-table td{white-space:nowrap;width:auto;padding:9px 8px;display:table-cell}.teacher-roster-table td:before{display:none}.teacher-roster-table select{min-width:120px;max-width:none}.teacher-sheet-roster .teacher-roster-table{min-width:760px}.teacher-report-list article{flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:11px}.teacher-report-list article>div:first-child{overflow-wrap:anywhere;min-width:0}.teacher-admin-tabs{grid-template-columns:1fr;display:grid}.teacher-admin-tools{flex-direction:column;align-items:stretch}.teacher-account-list article{grid-template-columns:auto minmax(0,1fr);gap:8px}.teacher-account-list article>div{overflow-wrap:anywhere;min-width:0}.teacher-account-badge,.teacher-account-actions{grid-column:2}.teacher-account-actions{flex-wrap:wrap;display:flex}.teacher-account-actions button{flex:110px}.teacher-print-overlay{padding:calc(12px + env(safe-area-inset-top)) 8px calc(12px + env(safe-area-inset-bottom))}.teacher-print-preview{padding:12px;overflow-x:auto}.teacher-print-actions{flex-wrap:wrap}}@media (width<=380px){.teacher-portal{padding-left:9px;padding-right:9px}.teacher-card,.teacher-welcome,.teacher-security-card{padding:11px}.teacher-schedule-grid,.teacher-sheet-subjects,.teacher-sheet-type-tabs{grid-template-columns:1fr}.teacher-topbar h1{font-size:20px}}@media (width<=720px){.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;overflow:auto hidden}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table{table-layout:fixed;width:460px;min-width:460px;display:table}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table thead{display:table-header-group}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table tbody{display:table-row-group}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table tr{background:0 0;border:0;padding:0;display:table-row}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th,.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td{white-space:normal;overflow-wrap:anywhere;padding:7px 6px;display:table-cell}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th{font-size:11px}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th:first-child,.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:first-child{width:30%}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th:nth-child(2),.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:nth-child(2){width:32%}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th:nth-child(3),.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:nth-child(3){width:38%}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:first-child{border-bottom:1px solid #e6eef4;padding-bottom:7px;display:table-cell}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:before{content:none;display:none}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-status-toggle{flex-wrap:wrap}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-status-toggle button{min-height:40px}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:40px;padding:7px 5px}}@media (width<=950px) and (orientation:landscape){.teacher-portal{width:100%;height:auto;min-height:100dvh;padding:calc(54px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));display:block;overflow-x:hidden}.teacher-workspace{width:100%;min-width:0}.teacher-mobile-nav-button{z-index:60;top:calc(7px + env(safe-area-inset-top));place-items:center;width:40px;height:40px;display:grid;position:fixed;right:12px}.teacher-sidebar{z-index:80;width:min(300px,82vw);min-height:0;max-height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 14px calc(12px + env(safe-area-inset-bottom));border-radius:0 0 0 14px;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;transform:translate(105%)}.teacher-sidebar.open{transform:translate(0)}.teacher-sidebar-close{place-items:center;width:36px;height:36px;margin-right:auto;display:grid}.teacher-sidebar-backdrop{z-index:70;background:#0f233461;display:block;position:fixed;inset:0}.teacher-topbar{min-height:32px;margin:0 0 10px;padding:0}.teacher-topbar h1{font-size:20px}.teacher-welcome{flex-direction:row;align-items:center;margin-bottom:10px;padding:12px 14px}.teacher-welcome label,.teacher-welcome input{width:auto}.teacher-card,.teacher-security-card,.teacher-admin-card,.teacher-admin-head{border-radius:13px;margin-bottom:10px;padding:14px}.teacher-schedule-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.teacher-schedule-card{min-height:84px;padding:9px}.teacher-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.teacher-summary-cards button{min-height:100px;padding:11px}.teacher-report-menu,.teacher-sheet-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.teacher-report-menu button,.teacher-sheet-menu button{min-height:94px;padding:10px}.teacher-sheet-selectors,.teacher-password-form{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-password-form button{grid-column:1/-1}.teacher-report-filters{flex-flow:wrap}.teacher-report-filters label{flex:190px}.teacher-report-actions{flex-wrap:wrap}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table-wrap{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;overflow:auto hidden}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table{table-layout:fixed;width:100%;min-width:520px;display:table}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table thead{display:table-header-group}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table tbody{display:table-row-group}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table tr{background:0 0;border:0;padding:0;display:table-row}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th,.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td{white-space:normal;overflow-wrap:anywhere;padding:7px;display:table-cell}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th{font-size:11px}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th:first-child,.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:first-child{width:30%}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th:nth-child(2),.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:nth-child(2){width:32%}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table th:nth-child(3),.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:nth-child(3){width:38%}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:first-child{border-bottom:1px solid #e6eef4;padding-bottom:7px;display:table-cell}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table td:before{content:none;display:none}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-status-toggle{flex-wrap:wrap}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table select{box-sizing:border-box;width:100%;min-width:0;max-width:100%}}@media (width<=720px),(width<=950px) and (orientation:landscape){.teacher-sheet-roster .teacher-roster-table{table-layout:fixed;width:760px;min-width:760px}.teacher-sheet-roster .teacher-roster-table th:first-child,.teacher-sheet-roster .teacher-roster-table td:first-child{white-space:normal;width:170px;min-width:170px;max-width:170px}.teacher-sheet-roster .teacher-roster-table th:not(:first-child),.teacher-sheet-roster .teacher-roster-table td:not(:first-child){text-align:center;white-space:normal;overflow-wrap:anywhere;width:59px;min-width:59px;max-width:59px;padding:4px 2px}.teacher-sheet-roster .teacher-roster-table th{font-size:10px;line-height:1.35}.teacher-sheet-roster .teacher-roster-table td:first-child strong{white-space:normal;overflow-wrap:anywhere}.teacher-sheet-roster .teacher-roster-table select,.teacher-sheet-roster .teacher-roster-table input[type=number]{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:4px 2px;font-size:10px}.teacher-sheet-roster .teacher-roster-table input[type=checkbox]{width:17px;height:17px}}.teacher-roster-card:not(.teacher-sheet-roster) .teacher-roster-table-wrap{overflow-y:auto}.behavior-center{--behavior-blue:#197fc6;--behavior-navy:#0b4778;--behavior-border:#d9e6ef;color:#0c2c48}.behavior-intro{margin-bottom:18px}.behavior-intro h2{margin:3px 0 6px}.behavior-back{flex:none}.behavior-loading,.behavior-inline-loading{color:#59738b;justify-content:center;align-items:center;gap:10px;min-height:180px;display:flex}.behavior-inline-loading{min-height:110px}.spin{animation:.8s linear infinite behavior-spin}@keyframes behavior-spin{to{transform:rotate(360deg)}}.behavior-alert{border:1px solid;border-radius:12px;align-items:center;gap:9px;margin:0 0 14px;padding:12px 15px;font-size:13px;display:flex}.behavior-alert.error{color:#ad2e2e;background:#fff5f5;border-color:#ffc8c8}.behavior-alert.success{color:#137143;background:#effbf4;border-color:#b9e8cd}.behavior-alert.info{color:#17649a;background:#eff8ff;border-color:#c5e4f8}.behavior-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.behavior-stats article{border:1px solid var(--behavior-border);background:#fff;border-radius:15px;gap:4px;min-width:0;padding:17px 18px;display:grid;box-shadow:0 8px 24px #1841620b}.behavior-stats span{color:#587289;font-size:12px}.behavior-stats strong{color:#0d4f85;font-size:27px;line-height:1.1}.behavior-stats small{color:#8095a7;font-size:10px}.behavior-menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.behavior-menu-grid>button{text-align:right;color:#0c2c48;border:1px solid var(--behavior-border);cursor:pointer;background:#fff;border-radius:16px;grid-template-rows:auto auto;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;gap:3px 12px;min-height:118px;padding:18px;transition:all .18s;display:grid;position:relative;box-shadow:0 8px 26px #1841620d}.behavior-menu-grid>button:hover{border-color:#9cc7e4;transform:translateY(-2px);box-shadow:0 13px 30px #18416217}.behavior-menu-grid>button>strong{align-self:end;font-size:16px}.behavior-menu-grid>button>small{color:#6e8497;grid-column:2;align-self:start;line-height:1.6}.behavior-menu-grid>button>svg{color:#8ba0b1;grid-area:1/3/3}.behavior-menu-icon{border-radius:13px;grid-row:1/3;place-items:center;width:46px;height:46px;display:grid}.behavior-menu-icon svg{width:23px}.behavior-menu-icon.blue{color:#167dc3;background:#eaf5fd}.behavior-menu-icon.navy{color:#174e79;background:#ecf3f8}.behavior-menu-icon.orange{color:#d9740d;background:#fff2e2}.behavior-menu-icon.green{color:#188859;background:#eaf9f1}.behavior-menu-icon.teal{color:#0e8585;background:#e8f9f9}.behavior-menu-icon.purple{color:#7157c9;background:#f0edff}.behavior-menu-icon.gray{color:#526777;background:#eef3f6}.behavior-recent,.behavior-form-panel,.behavior-records-panel,.behavior-profile-panel,.behavior-reports-panel,.behavior-permissions-panel{padding:20px}.behavior-section-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.behavior-section-head h3{margin:3px 0 0;font-size:20px}.behavior-section-head p{color:#70869a;margin:5px 0 0;font-size:12px}.behavior-section-head select{background:#fff;border:1px solid #cbdce8;border-radius:10px;min-width:190px;min-height:42px;padding:0 11px}.behavior-version,.behavior-role{color:#537087;background:#eef5fa;border-radius:999px;padding:8px 11px;font-size:11px}.behavior-compact-list,.behavior-record-list,.behavior-mini-list{gap:8px;display:grid}.behavior-compact-list article{border:1px solid #e2ecf3;border-radius:11px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;display:grid}.behavior-compact-list div,.behavior-mini-list div{min-width:0}.behavior-compact-list strong,.behavior-mini-list strong{font-size:13px;display:block}.behavior-compact-list small,.behavior-mini-list small{color:#72889a;overflow-wrap:anywhere;margin-top:3px;font-size:11px;display:block}.behavior-compact-list b{color:#516c82;font-size:11px}.behavior-status{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;width:max-content;padding:5px 8px;font-size:10px;display:inline-flex}.behavior-status.pending{color:#9a5b05;background:#fff2d9}.behavior-status.approved{color:#087243;background:#dcf8e8}.behavior-status.cancelled{color:#9f3c3c;background:#ffe8e8}.behavior-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.behavior-form-grid label{gap:6px;min-width:0;display:grid}.behavior-form-grid label.wide{grid-column:span 2}.behavior-form-grid label>span{color:#526d83;font-size:11px;font-weight:700}.behavior-form-grid input,.behavior-form-grid select,.behavior-form-grid textarea{box-sizing:border-box;color:#122f49;width:100%;min-width:0;min-height:44px;font:inherit;background:#fff;border:1px solid #cbdce8;border-radius:10px;padding:10px 12px}.behavior-form-grid textarea{resize:vertical;min-height:78px}.behavior-student-picker{background:#fafdff;border:1px solid #d8e5ee;border-radius:14px;margin-top:18px;padding:14px}.behavior-picker-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px;display:flex}.behavior-picker-head strong{display:block}.behavior-picker-head small{color:#748a9c;margin-top:3px;font-size:10px;display:block}.behavior-picker-head>span{color:#0d6daa;background:#e7f4fc;border-radius:999px;padding:6px 10px;font-size:11px}.behavior-picker-filters{grid-template-columns:minmax(200px,1fr) minmax(180px,.7fr) auto;gap:8px;margin-bottom:10px;display:grid}.behavior-picker-filters label{background:#fff;border:1px solid #cbdce8;border-radius:9px;align-items:center;gap:7px;min-width:0;padding:0 10px;display:flex}.behavior-picker-filters input{border:0;outline:0;width:100%;min-width:0;height:40px}.behavior-picker-filters select{background:#fff;border:1px solid #cbdce8;border-radius:9px;min-width:0;padding:0 9px}.behavior-student-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:330px;padding:2px;display:grid;overflow-y:auto}.behavior-student-list label{cursor:pointer;background:#fff;border:1px solid #e0eaf1;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:10px;display:grid}.behavior-student-list label.selected{background:#f0f9ff;border-color:#69b0df}.behavior-student-list input{accent-color:#187fc5;width:17px;height:17px}.behavior-student-list span{min-width:0}.behavior-student-list strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.behavior-student-list small{color:#7890a1;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:9px;display:block;overflow:hidden}.behavior-student-list b{color:#8b6507;font-size:9px}.behavior-form-actions{justify-content:flex-end;gap:9px;margin-top:14px;display:flex}.behavior-preview{background:#f3faff;border:1px solid #acd3eb;border-radius:14px;margin-top:16px;padding:15px}.behavior-preview-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:11px;display:flex}.behavior-preview-title strong,.behavior-preview-title small{display:block}.behavior-preview-title small{color:#668399;margin-top:4px;font-size:10px}.behavior-preview-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:340px;margin-bottom:12px;display:grid;overflow-y:auto}.behavior-preview-list article{background:#fff;border:1px solid #d3e5f0;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:11px;display:grid}.behavior-preview-list article.blocked{background:#fff8f8;border-color:#f3bcbc}.behavior-preview-list div{grid-row:span 2;min-width:0}.behavior-preview-list strong,.behavior-preview-list small{display:block}.behavior-preview-list small{color:#7890a1;margin-top:3px;font-size:9px}.behavior-preview-list span{color:#5d7588;font-size:10px}.behavior-preview-list b{color:#105b8d;grid-column:1/-1;font-size:11px}.behavior-preview-list em{color:#b23d3d;grid-column:1/-1;font-size:10px;font-style:normal}.behavior-record-summary{text-align:right;color:#102f49;cursor:pointer;background:#fff;border:1px solid #dce8f0;border-radius:11px;grid-template-columns:38px minmax(0,1fr) auto auto 18px;align-items:center;gap:10px;width:100%;padding:11px;display:grid}.behavior-record-list article.open>.behavior-record-summary{background:#f5fbff;border-color:#9fcbe6;border-radius:11px 11px 0 0}.behavior-record-summary>span:nth-child(2){min-width:0}.behavior-record-summary strong,.behavior-record-summary small{display:block}.behavior-record-summary strong{font-size:13px}.behavior-record-summary small{color:#748a9b;white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:10px;overflow:hidden}.behavior-record-summary>b{color:#526c80;white-space:nowrap;font-size:11px}.behavior-record-summary>svg{color:#8aa0b2;transition:all .2s}.behavior-record-list article.open .behavior-record-summary>svg{transform:rotate(-90deg)}.behavior-degree{color:#fff;background:#197fc6;border-radius:10px;place-items:center;width:36px;height:36px;font-size:11px;font-weight:800;display:grid}.behavior-degree.degree-2{background:#ba7913}.behavior-degree.degree-3{background:#dd671d}.behavior-degree.degree-4{background:#c13e3e}.behavior-degree.degree-5{background:#7e263e}.behavior-degree.degree-0{background:#16845b}.behavior-record-details{background:#fbfdff;border:1px solid #9fcbe6;border-top:0;border-radius:0 0 11px 11px;padding:14px}.behavior-record-details dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 10px;display:grid}.behavior-record-details dl div{background:#eef5fa;border-radius:8px;padding:8px}.behavior-record-details dt{color:#71889a;font-size:9px}.behavior-record-details dd{margin:3px 0 0;font-size:11px;font-weight:700}.behavior-record-details>p{background:#f2f5f7;border-radius:8px;margin:8px 0;padding:9px;font-size:11px;line-height:1.7}.behavior-actions-list{gap:7px;margin-top:11px;display:grid}.behavior-actions-list>strong{font-size:12px}.behavior-actions-list>div{background:#fff;border:1px solid #e0e8ee;border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;display:grid}.behavior-actions-list p{margin:0;font-size:11px;line-height:1.6}.behavior-actions-list p small{color:#73899a;display:block}.action-state{border-radius:999px;padding:4px 7px;font-size:9px}.action-state.required{color:#8b5a08;background:#fff1d5}.action-state.executed{color:#087243;background:#dcf8e8}.action-state.not_executed{color:#9e3434;background:#ffe7e7}.action-buttons{gap:5px;display:flex}.action-buttons button{color:#31546e;cursor:pointer;background:#fff;border:1px solid #cbdce8;border-radius:7px;align-items:center;gap:4px;padding:6px 7px;font-size:9px;display:flex}.behavior-record-buttons{flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:12px;display:flex}.danger-button{color:#a33131;cursor:pointer;background:#fff5f5;border:1px solid #efb9b9;border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:39px;padding:8px 12px;display:inline-flex}.danger-button:disabled{opacity:.55;cursor:not-allowed}.behavior-empty{color:#758b9d;border:1px dashed #cadbe7;border-radius:11px;place-items:center;min-height:90px;padding:14px;font-size:12px;display:grid}.behavior-profile-search{border:1px solid #cadce8;border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.behavior-profile-search input{border:0;outline:0;width:100%;height:44px}.behavior-profile-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:440px;margin-top:12px;display:grid;overflow-y:auto}.behavior-profile-results button{text-align:right;color:#15344e;cursor:pointer;background:#fff;border:1px solid #dce8f0;border-radius:10px;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:8px;padding:12px;display:grid}.behavior-profile-results span{min-width:0}.behavior-profile-results strong,.behavior-profile-results small{display:block}.behavior-profile-results small{color:#758b9e;margin-top:3px;font-size:10px}.behavior-profile-results b{color:#5d7589;font-size:10px}.behavior-text-button{color:#1879ba;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin-bottom:5px;padding:0;display:flex}.behavior-score-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:15px;display:grid}.behavior-score-grid article{background:#f9fcfe;border:1px solid #d9e6ef;border-radius:12px;padding:14px}.behavior-score-grid span,.behavior-score-grid strong{display:block}.behavior-score-grid span{color:#6e8597;font-size:10px}.behavior-score-grid strong{color:#0e5b91;margin-top:5px;font-size:21px}.behavior-profile-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.behavior-profile-columns h4,.behavior-compensation-form h4{margin:0 0 9px}.behavior-mini-list article{background:#fff;border:1px solid #e0eaf1;border-radius:9px;justify-content:space-between;align-items:center;gap:9px;padding:10px;display:flex}.behavior-mini-list article>div{flex:1}.behavior-mini-list button{flex:none}.behavior-compensation-form{background:#f2fbf6;border:1px solid #a7d4bb;border-radius:12px;margin-top:16px;padding:14px}.behavior-report-filters{flex-wrap:wrap;align-items:flex-end;gap:9px;display:flex}.behavior-report-filters label{gap:5px;display:grid}.behavior-report-filters label span{color:#60798c;font-size:10px}.behavior-report-filters input{border:1px solid #cadce8;border-radius:9px;min-height:41px;padding:0 10px}.behavior-report-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:16px;display:grid}.behavior-report-cards article{background:#fbfdff;border:1px solid #d8e5ee;border-radius:13px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:15px;display:grid}.behavior-report-cards article>svg{color:#147bbd;background:#e9f5fc;border-radius:10px;width:42px;height:42px;padding:9px}.behavior-report-cards strong,.behavior-report-cards small{display:block}.behavior-report-cards small{color:#73899a;margin-top:3px;font-size:10px}.behavior-report-cards button{color:#fff;cursor:pointer;background:#197fc6;border:0;border-radius:8px;padding:8px 12px}.behavior-report-cards button:disabled{opacity:.45;cursor:not-allowed}.behavior-report-summary{background:#eff5f9;border-radius:10px;align-items:center;gap:10px;margin-top:13px;padding:11px;display:flex}.behavior-report-summary strong{margin-left:auto}.behavior-report-summary span{color:#526e83;font-size:11px}.behavior-policy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}.behavior-policy-grid article{background:#fbfdff;border:1px solid #dbe7ef;border-radius:12px;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:10px;padding:14px;display:grid}.behavior-policy-grid article>svg{color:#167cc0;background:#eaf5fc;border-radius:10px;width:38px;height:38px;padding:8px}.behavior-policy-grid strong{font-size:13px}.behavior-policy-grid p{color:#667e91;margin:5px 0 0;font-size:11px;line-height:1.8}@media (width<=980px){.behavior-stats,.behavior-menu-grid,.behavior-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.behavior-form-grid label.wide{grid-column:span 2}.behavior-record-details dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.behavior-intro{align-items:stretch}.behavior-back{justify-content:center;width:100%}.behavior-stats{gap:8px}.behavior-stats article{padding:13px}.behavior-stats strong{font-size:23px}.behavior-menu-grid{grid-template-columns:1fr;gap:8px}.behavior-menu-grid>button{min-height:96px;padding:13px}.behavior-recent,.behavior-form-panel,.behavior-records-panel,.behavior-profile-panel,.behavior-reports-panel,.behavior-permissions-panel{border-radius:14px;padding:13px}.behavior-section-head{flex-direction:column;align-items:flex-start}.behavior-section-head select,.behavior-version,.behavior-role{box-sizing:border-box;width:100%}.behavior-form-grid{grid-template-columns:1fr}.behavior-form-grid label.wide{grid-column:auto}.behavior-picker-filters{grid-template-columns:1fr}.behavior-picker-filters select,.behavior-picker-filters button{width:100%;min-height:42px}.behavior-student-list{grid-template-columns:1fr;max-height:360px}.behavior-preview-title{flex-direction:column;align-items:stretch}.behavior-preview-list{grid-template-columns:1fr}.behavior-preview>.primary-button{justify-content:center;width:100%}.behavior-record-summary{grid-template-columns:36px minmax(0,1fr) auto 16px}.behavior-record-summary>b{display:none}.behavior-status{padding:4px 6px;font-size:9px}.behavior-record-details dl{grid-template-columns:1fr 1fr}.behavior-actions-list>div{grid-template-columns:auto minmax(0,1fr)}.action-buttons{grid-column:1/-1;justify-content:flex-end}.behavior-record-buttons{grid-template-columns:1fr;display:grid}.behavior-record-buttons>*{justify-content:center;width:100%}.behavior-profile-results{grid-template-columns:1fr;max-height:420px}.behavior-score-grid{grid-template-columns:1fr 1fr}.behavior-score-grid article:last-child{grid-column:1/-1}.behavior-profile-columns{grid-template-columns:1fr}.behavior-report-filters{flex-direction:column;align-items:stretch}.behavior-report-filters label,.behavior-report-filters input,.behavior-report-filters button{box-sizing:border-box;width:100%}.behavior-report-cards{grid-template-columns:1fr}.behavior-report-cards article{grid-template-columns:40px minmax(0,1fr)}.behavior-report-cards article button{grid-column:1/-1}.behavior-report-summary{flex-direction:column;align-items:flex-start}.behavior-report-summary strong{margin:0}.behavior-policy-grid{grid-template-columns:1fr}.behavior-compact-list article{grid-template-columns:auto minmax(0,1fr)}.behavior-compact-list article>b{grid-column:2}.behavior-form-actions{display:grid}.behavior-form-actions>*{justify-content:center;width:100%}}@media (width<=720px),(width<=950px) and (orientation:landscape){.teacher-sheet-setup,.teacher-sheet-columns{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.teacher-sheet-column-row{box-sizing:border-box;background:#fff;border:1px solid #dce7ef;border-radius:10px;grid-template-columns:minmax(0,1fr) 40px;grid-template-areas:"name name""type delete""extra extra";gap:7px;width:100%;min-width:0;padding:9px}.teacher-sheet-column-row>input:first-child{box-sizing:border-box;grid-area:name;width:100%;min-width:0}.teacher-sheet-column-row>select{box-sizing:border-box;grid-area:type;width:100%;min-width:0}.teacher-sheet-column-row>.teacher-sheet-score-input,.teacher-sheet-column-row>input[placeholder]{box-sizing:border-box;grid-area:extra;width:100%;min-width:0}.teacher-sheet-column-row>.icon-button{grid-area:delete;place-self:stretch stretch;width:40px;height:42px}.teacher-sheet-choice-editor{grid-area:extra/auto}}.teacher-sheet-choice-editor{background:#f8fbfe;border:1px solid #d5e4ef;border-radius:10px;grid-column:1/-2;gap:8px;padding:10px;display:grid}.teacher-sheet-choice-head{color:var(--blue-dark);justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.teacher-sheet-add-choice{padding:6px 9px;font-size:11px}.teacher-sheet-choice-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;display:grid}.teacher-sheet-choice-row{grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:6px;display:grid}.teacher-sheet-choice-row input{box-sizing:border-box;width:100%;min-width:0;color:var(--ink);font:inherit;border:1px solid #cdddeb;border-radius:8px;padding:8px 9px}.teacher-sheet-choice-row .icon-button{cursor:pointer;width:34px;height:34px}.teacher-sheet-choice-row .icon-button:disabled{opacity:.38;cursor:not-allowed}.teacher-sheet-boolean-button{cursor:pointer;border:1px solid;border-radius:8px;place-items:center;width:30px;height:30px;padding:0;transition:transform .15s,box-shadow .15s;display:inline-grid}.teacher-sheet-boolean-button:hover{transform:translateY(-1px);box-shadow:0 4px 10px #0f233424}.teacher-sheet-boolean-button.is-checked{color:#167643;background:#ecfbf1;border-color:#8bdbaf}.teacher-sheet-boolean-button.is-crossed{color:#dc2626;background:#fff1f2;border-color:#fecaca}body.teacher-print-mode{overflow:hidden}body.teacher-print-mode .teacher-print-actions{z-index:2;box-sizing:border-box;background:#fff;border-radius:12px;width:100%;margin:0 auto 12px;padding:10px;position:sticky;top:0;box-shadow:0 8px 24px #0f233429}body.teacher-print-mode .teacher-print-preview{box-sizing:border-box;width:100%}@media print{@page{size:A4 landscape;margin:7mm}html,body{background:#fff!important;width:auto!important;height:auto!important;margin:0!important}body.teacher-print-mode{overflow:visible!important}body.teacher-print-mode .teacher-portal{background:#fff!important;width:100%!important;min-height:0!important;padding:0!important;display:block!important}body.teacher-print-mode .teacher-sidebar,body.teacher-print-mode .teacher-mobile-nav-button,body.teacher-print-mode .teacher-sidebar-backdrop{display:none!important}body.teacher-print-mode .teacher-workspace{width:100%!important;min-width:0!important;display:block!important}body.teacher-print-mode .teacher-workspace>:not(.teacher-print-overlay){display:none!important}body.teacher-print-mode .teacher-print-overlay{background:#fff!important;width:100%!important;min-height:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}body.teacher-print-mode .teacher-print-actions{display:none!important}body.teacher-print-mode .teacher-print-preview{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}body.teacher-print-mode .teacher-week-print{break-inside:avoid!important;page-break-inside:avoid!important;width:100%!important;min-width:0!important}body.teacher-print-mode .teacher-week-print header{border-bottom-width:1mm!important;padding:0 0 3mm!important}body.teacher-print-mode .teacher-week-print header h1{margin:1mm 0!important;font-size:18px!important}body.teacher-print-mode .teacher-week-print header p{font-size:10px!important}body.teacher-print-mode .teacher-week-print-meta{gap:2mm!important;margin:3mm 0!important}body.teacher-print-mode .teacher-week-print-meta>div{border-radius:2mm!important;gap:1mm!important;padding:2mm 3mm!important}body.teacher-print-mode .teacher-week-print-meta span{font-size:8px!important}body.teacher-print-mode .teacher-week-print-meta strong{font-size:10px!important}body.teacher-print-mode .teacher-week-print table{break-inside:avoid!important;page-break-inside:avoid!important;width:100%!important}body.teacher-print-mode .teacher-week-print thead th{height:9mm!important;padding:1.5mm!important;font-size:9px!important}body.teacher-print-mode .teacher-week-print tbody th,body.teacher-print-mode .teacher-week-print tbody td{height:16mm!important;padding:1.5mm!important}body.teacher-print-mode .teacher-week-print tbody th{width:27mm!important}body.teacher-print-mode .teacher-week-print tbody th strong{font-size:10px!important}body.teacher-print-mode .teacher-week-print tbody th small{margin-top:1mm!important;font-size:7px!important}body.teacher-print-mode .teacher-week-print-lesson{gap:.5mm!important;padding:1mm!important}body.teacher-print-mode .teacher-week-print-lesson strong{font-size:9px!important}body.teacher-print-mode .teacher-week-print-lesson small{font-size:7px!important}body.teacher-print-mode .teacher-week-print footer{margin-top:2mm!important;font-size:7px!important}}.referral-center,.referral-school-page{gap:16px;display:grid}.referral-mode-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.referral-mode-cards button{min-height:110px;color:var(--blue-dark);font:inherit;cursor:pointer;background:#fff;border:1px solid #d7e4ee;border-radius:15px;align-content:center;place-items:center;gap:5px;display:grid}.referral-mode-cards button svg{color:var(--blue)}.referral-mode-cards button small{color:var(--muted)}.referral-mode-cards button.active{border-color:var(--blue);background:#edf7ff;box-shadow:0 7px 18px #1877bf1a}.referral-form{background:#fafdff;border:1px solid #dbe7f0;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;display:grid}.referral-form>label,.referral-action-form>label{color:#36546c;gap:7px;font-size:12px;font-weight:800;display:grid}.referral-form select,.referral-form input,.referral-form textarea,.referral-action-form select,.referral-action-form input,.referral-action-form textarea,.referral-toolbar select,.referral-search{width:100%;color:var(--navy);font:inherit;background:#fff;border:1px solid #c9dcea;border-radius:10px;outline:none;padding:11px 12px}.referral-form select:focus,.referral-form input:focus,.referral-form textarea:focus,.referral-action-form select:focus,.referral-action-form input:focus,.referral-action-form textarea:focus,.referral-toolbar select:focus,.referral-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #1579c41a}.referral-form textarea,.referral-action-form textarea{resize:vertical;line-height:1.8}.referral-form .wide,.referral-action-form .wide{grid-column:1/-1}.referral-reasons{border:0;grid-column:1/-1;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;padding:0;display:grid}.referral-reasons legend{color:#36546c;width:100%;margin-bottom:8px;font-size:12px;font-weight:800}.referral-reasons label{color:#48647a;cursor:pointer;background:#fff;border:1px solid #d2e1ec;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:48px;font-size:12px;font-weight:800;display:flex}.referral-reasons label.selected{color:#075a97;background:#edf7ff;border-color:#1679c4}.referral-reasons input{width:auto;box-shadow:none}.referral-form-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:9px;display:flex}.referral-export-row{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.referral-list{gap:9px;display:grid}.referral-list-item{width:100%;color:var(--navy);font:inherit;text-align:right;cursor:pointer;background:#fff;border:1px solid #d8e5ee;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;transition:all .16s;display:flex}.referral-list-item:hover{background:#f5fbff;border-color:#77afd8;transform:translateY(-1px)}.referral-list-main,.referral-list-meta{gap:4px;display:grid}.referral-list-main span,.referral-list-meta small{color:var(--muted);font-size:11px}.referral-list-meta{flex:none;justify-items:end}.referral-status{border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.referral-status.new{color:#a75500;background:#fff0dc}.referral-status.viewed{color:#1369a8;background:#e8f3ff}.referral-status.progress{color:#6d3eaa;background:#f0eaff}.referral-status.counselor{color:#08745a;background:#e6f7f2}.referral-status.done{color:#08743c;background:#dcf7e5}.referral-empty{color:#7890a3;background:#fbfdff;border:1px dashed #c8ddeb;border-radius:14px;align-content:center;place-items:center;gap:7px;min-height:130px;display:grid}.referral-detail-card{border:1px solid #cddfea;border-right:4px solid var(--blue);background:#fff;border-radius:16px;gap:14px;padding:18px;display:grid;box-shadow:0 12px 28px #13395414}.referral-detail-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.referral-detail-head>div{gap:4px;display:grid}.referral-detail-head span,.referral-detail-head p{color:var(--muted);margin:0;font-size:11px}.referral-detail-head h3{color:var(--navy);margin:0;font-size:20px}.referral-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.referral-detail-grid>div,.referral-description{background:#fafdff;border:1px solid #e0e9ef;border-radius:10px;gap:5px;padding:11px;display:grid}.referral-detail-grid small,.referral-description small{color:var(--muted)}.referral-description p{white-space:pre-wrap;margin:0;line-height:1.8}.referral-action-form{background:#f3f9fd;border:1px solid #cfe2f0;border-radius:13px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px;display:grid}.referral-checkbox{grid-auto-flow:column;justify-content:start;align-items:center;gap:8px!important;display:flex!important}.referral-checkbox input{width:auto}.referral-detail-actions{justify-content:flex-end;display:flex}.referral-timeline{border-top:1px solid #e1ebf1;padding-top:12px}.referral-timeline h4{margin:0 0 9px}.referral-timeline>div{align-items:flex-start;gap:9px;padding:7px 0;display:flex}.referral-timeline>div svg{color:var(--blue);margin-top:2px}.referral-timeline>div span{gap:2px;display:grid}.referral-timeline small{color:var(--muted)}.referral-school-head{background:#fff;border:1px solid #dce8f0;border-radius:19px;justify-content:space-between;align-items:center;gap:18px;padding:22px;display:flex;box-shadow:0 10px 25px #1438540f}.referral-school-head span{color:var(--blue);font-size:11px;font-weight:900}.referral-school-head h2{color:var(--navy);margin:5px 0;font-size:28px}.referral-school-head p{color:var(--muted);margin:0}.referral-school-head>svg{color:var(--blue)}.referral-stat-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.referral-stat-cards>div{background:#fff;border:1px solid #dce7ef;border-radius:14px;gap:3px;padding:16px;display:grid}.referral-stat-cards strong{color:var(--blue-dark);font-size:24px}.referral-stat-cards span{color:var(--muted);font-size:11px}.referral-school-panel{background:#fff;border:1px solid #dce8f0;border-radius:17px;gap:14px;padding:16px;display:grid}.referral-toolbar{grid-template-columns:minmax(240px,1fr) 190px auto auto auto;align-items:center;gap:8px;display:grid}.referral-search{align-items:center;gap:7px;padding:0 11px;display:flex}.referral-search svg{color:#7890a3;flex:none}.referral-search input{width:100%;font:inherit;color:var(--navy);background:0 0;border:0;outline:0;padding:11px 0}.referral-status.cancelled{color:#a83a32;background:#ffe9e7}.referral-detail-actions{flex-wrap:wrap;gap:8px}.danger-referral-button{color:#a83a32!important;background:#fff8f7!important;border-color:#edb9b5!important}.danger-referral-button:hover{background:#fff0ef!important;border-color:#d66d64!important}.referral-cancelled-notice{color:#963a33;background:#fff4f3;border:1px solid #efb9b5;border-radius:11px;align-items:flex-start;gap:9px;padding:12px 14px;display:flex}.referral-cancelled-notice>div{gap:3px;display:grid}.referral-cancelled-notice span{font-size:11px}.referral-preview-overlay{z-index:2000;padding:calc(74px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));direction:rtl;background:#252525;position:fixed;inset:0;overflow:auto}.referral-preview-actions{z-index:2010;min-height:56px;padding:calc(9px + env(safe-area-inset-top)) 16px 9px;background:#fff;border-bottom:1px solid #d7e2ea;justify-content:center;align-items:center;gap:8px;display:flex;position:fixed;top:0;left:0;right:0;box-shadow:0 4px 15px #00000029}.referral-preview-actions button{min-height:42px}.referral-official-sheet{aspect-ratio:1489/2105;background:#fff;width:min(794px,100vw - 32px);margin:auto;position:relative;overflow:hidden;box-shadow:0 4px 24px #00000059;container-type:inline-size}.referral-official-sheet>img{object-fit:fill;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;inset:0}.official-field,.official-check{z-index:2;color:#111;text-align:center;font-family:Tahoma,Arial,sans-serif;line-height:1.35;position:absolute}.official-field{font-size:1.25cqw;font-weight:700;overflow:hidden}.official-number{direction:ltr;width:12.5%;top:4.85%;left:7.8%}.official-header-date{white-space:nowrap;direction:ltr;width:12.5%;top:6.65%;left:7.8%}.official-student{width:33%;height:2.4%;top:26.65%;right:17%}.official-class{width:26.5%;height:2.4%;top:26.65%;left:7.8%}.official-subject{width:33%;height:2.4%;top:29.85%;right:17%}.official-period{width:26.5%;height:2.4%;top:29.85%;left:7.8%}.official-check{font-size:2.15cqw;font-weight:900;line-height:1;top:33.45%}.official-reason-homework{right:17.5%}.official-reason-disruption{right:35.6%}.official-reason-late{right:48%}.official-reason-weakness{right:62.6%}.official-reason-other{right:78.5%}.official-other-reason{width:10%;font-size:1.05cqw;top:33.55%;left:8.5%}.official-problem{text-align:right;white-space:pre-wrap;width:80%;height:5.8%;line-height:1.65;top:37.15%;right:9%}.official-teacher{width:19.2%;height:1.7%;top:44.75%;right:15.7%}.official-teacher-date{direction:ltr;width:22%;height:1.7%;top:44.75%;left:7.8%}.official-vice-action{text-align:right;white-space:pre-wrap;width:82%;height:5.8%;line-height:1.65;top:51.3%;right:9%}.official-counselor-check{font-size:2.1cqw;top:58.45%;right:90.3%}.official-vice-name{width:19.2%;height:1.65%;top:61.25%;right:15.7%}.official-vice-date{direction:ltr;width:22%;height:1.65%;top:61.25%;left:7.8%}.official-counselor-action{text-align:right;white-space:pre-wrap;width:82%;height:5.4%;line-height:1.65;top:68.1%;right:9%}.official-counselor-name{width:19.2%;height:1.65%;top:75.15%;right:15.7%}.official-counselor-date{direction:ltr;width:22%;height:1.65%;top:75.15%;left:7.8%}@media (width<=800px){.referral-form,.referral-action-form,.referral-detail-grid{grid-template-columns:1fr}.referral-reasons,.referral-stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.referral-toolbar{grid-template-columns:1fr 1fr}.referral-search{grid-column:1/-1}.referral-list-item{align-items:flex-start}.referral-school-head{padding:17px}.referral-school-head h2{font-size:23px}.referral-school-head>svg{display:none}}@media (width<=520px){.referral-mode-cards{grid-template-columns:1fr 1fr}.referral-mode-cards button{min-height:95px;padding:8px}.referral-form{padding:12px}.referral-reasons,.referral-toolbar{grid-template-columns:1fr}.referral-toolbar>*{width:100%}.referral-list-item{display:grid}.referral-list-meta{justify-content:space-between;justify-items:initial;grid-auto-flow:column}.referral-stat-cards{grid-template-columns:1fr 1fr}.referral-preview-overlay{padding-top:calc(76px + env(safe-area-inset-top));padding-inline:4px}.referral-preview-actions{justify-content:stretch;padding-inline:8px}.referral-preview-actions button{flex:1;justify-content:center;padding-inline:8px;font-size:12px}.referral-official-sheet{width:100%}}@media print{@page referral-form{size:A4 portrait;margin:0}body.referral-print-mode{page:referral-form;background:#fff!important;width:210mm!important;height:297mm!important;margin:0!important;overflow:hidden!important}body.referral-print-mode #root{width:210mm!important;height:297mm!important;overflow:hidden!important}body.referral-print-mode *{visibility:hidden!important}body.referral-print-mode .referral-preview-overlay,body.referral-print-mode .referral-preview-overlay *{visibility:visible!important}body.referral-print-mode .referral-preview-actions{display:none!important}body.referral-print-mode .referral-preview-overlay{background:#fff!important;margin:0!important;padding:0!important;position:absolute!important;inset:0!important;overflow:visible!important}body.referral-print-mode .referral-official-sheet{width:210mm!important;height:297mm!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important;margin:0!important}}.cooperation-admin-page{gap:16px;display:grid}.cooperation-admin-head{background:linear-gradient(135deg,#effcf6,#fff);border:1px solid #bcebd7;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;padding:21px;display:flex;box-shadow:0 10px 24px #05966914}.cooperation-admin-head>div{gap:4px;display:grid}.cooperation-admin-head span{color:#07805d;font-size:10px;font-weight:900}.cooperation-admin-head h2{color:#073b31;margin:0;font-size:25px}.cooperation-admin-head p{color:#617b72;margin:0;font-size:12px}.cooperation-admin-head>svg{color:#fff;background:#059669;border-radius:17px;flex:0 0 58px;width:58px;height:58px;padding:13px}.cooperation-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.cooperation-admin-stats article{background:#fff;border:1px solid #dce9e4;border-radius:14px;align-items:center;gap:11px;padding:15px;display:flex}.cooperation-admin-stats article>svg,.cooperation-admin-stats article>span{color:#059669;background:#eafaf3;border-radius:11px;flex:0 0 38px;place-items:center;width:38px;height:38px;padding:8px;font-size:18px;font-weight:900;display:grid}.cooperation-admin-stats article>div{gap:1px;display:grid}.cooperation-admin-stats strong{color:#075f48;font-size:21px}.cooperation-admin-stats article span,.cooperation-admin-stats article small{color:#6a8179;font-size:10px}.cooperation-admin-panel{background:#fff;border:1px solid #dce8e4;border-radius:17px;gap:13px;padding:16px;display:grid}.cooperation-admin-filters{grid-template-columns:repeat(2,minmax(190px,1fr)) minmax(210px,1.2fr) minmax(170px,.8fr) auto;align-items:end;gap:9px;display:grid}.cooperation-admin-filters>label{color:#45635a;gap:6px;font-size:10px;font-weight:900;display:grid}.cooperation-admin-filters select{color:#173b4e;width:100%;min-height:43px;font:inherit;background:#fff;border:1px solid #cbdde6;border-radius:10px;padding:9px 11px}.cooperation-admin-filters .primary-button{justify-content:center;align-items:center;gap:7px;min-height:43px;display:flex}.cooperation-admin-exports{justify-content:flex-end;gap:8px;display:flex}.cooperation-admin-exports button{align-items:center;gap:7px;display:flex}.cooperation-admin-empty{text-align:center;color:#71867f;background:#fbfefc;border:1px dashed #cdded7;border-radius:13px;margin:0;padding:35px}.cooperation-groups{gap:9px;display:grid}.cooperation-groups>article{background:#fbfefc;border:1px solid #dce8e3;border-radius:13px;overflow:hidden}.cooperation-groups>article.open{border-color:#86dcb8;box-shadow:0 6px 17px #05966917}.cooperation-group-summary{color:#173b4e;text-align:right;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(190px,1fr) auto auto;align-items:center;gap:11px;padding:12px;display:grid}.cooperation-group-avatar{color:#fff;background:#059669;border-radius:12px;place-items:center;width:40px;height:40px;font-size:18px;font-weight:900;display:grid}.cooperation-group-summary>div{gap:3px;display:grid}.cooperation-group-summary strong{font-size:13px}.cooperation-group-summary small{color:#6d847c;font-size:10px}.cooperation-group-summary>b{color:#047857;background:#dff8ed;border-radius:999px;padding:5px 10px;font-size:11px}.cooperation-group-summary>span:last-child{color:#456a5e;direction:ltr;font-size:11px}.cooperation-group-details{background:#fff;border-top:1px solid #dfebe6;padding:6px 12px}.cooperation-group-details>div{border-bottom:1px solid #eef3f1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 4px;display:grid}.cooperation-group-details>div:last-child{border:0}.cooperation-group-details svg{color:#10b981}.cooperation-group-details span{gap:2px;display:grid}.cooperation-group-details strong{font-size:11px}.cooperation-group-details small{color:#758a83;font-size:9px}.cooperation-group-details time{color:#365e50;direction:ltr;font-size:10px;font-weight:800}@keyframes cooperation-nav-glow{0%,to{box-shadow:0 0 #10b9812e,inset 0 0 #10b98100}50%{box-shadow:0 0 0 6px #10b98114,inset 0 0 18px #10b9811f}}@keyframes teacher-thanks-marquee{0%{transform:translate(-5%)}to{transform:translate(100%)}}@keyframes cooperation-feedback-in{0%{opacity:0;transform:translate(-50%,12px)scale(.96)}to{opacity:1;transform:translate(-50%)scale(1)}}@media (width<=900px){.cooperation-admin-stats,.cooperation-admin-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cooperation-admin-filters .primary-button{grid-column:1/-1}.cooperation-live-stats{grid-template-columns:1fr 1fr}.cooperation-live-stats article:last-child{grid-column:1/-1}.cooperation-recent-list{grid-template-columns:1fr}.cooperation-camera-viewport{min-height:400px}}@media (width<=720px){.teacher-thanks-banner{margin-top:48px}.teacher-thanks-track{animation-duration:23s}.teacher-cooperation-date{width:100%;min-width:0}.cooperation-motivation{align-items:flex-start;padding:15px}.cooperation-motivation>svg{flex-basis:43px;width:43px;height:43px;padding:9px}.cooperation-motivation h2{font-size:18px}.cooperation-live-stats{grid-template-columns:1fr}.cooperation-live-stats article:last-child{grid-column:auto}.cooperation-camera-actions{grid-template-columns:1fr 1fr;display:grid}.cooperation-camera-actions .cooperation-camera-start,.cooperation-camera-actions .cooperation-camera-stop{grid-column:1/-1}.cooperation-camera-actions button{width:100%}.cooperation-camera-viewport{border-radius:14px;min-height:58vh}.cooperation-scan-frame>span{width:76vw;height:42vh}.cooperation-scan-frame>i{top:auto;bottom:22px}.cooperation-manual-code{grid-template-columns:1fr}.cooperation-manual-code button{justify-content:center}.cooperation-admin-head{padding:15px}.cooperation-admin-head h2{font-size:21px}.cooperation-admin-head>svg{display:none}.cooperation-admin-stats{grid-template-columns:1fr 1fr}.cooperation-admin-filters{grid-template-columns:1fr}.cooperation-admin-filters .primary-button{grid-column:auto}.cooperation-admin-exports{grid-template-columns:1fr 1fr;display:grid}.cooperation-admin-exports button{justify-content:center}.cooperation-group-summary{grid-template-columns:auto minmax(0,1fr) auto}.cooperation-group-summary>span:last-child{grid-column:2/-1}.cooperation-scan-feedback{padding:12px;bottom:12px}.cooperation-scan-feedback b{font-size:16px}}.scanned-student-overlay-card.duplicate{background:#052e16f5;border-color:#22c55e;box-shadow:0 12px 34px #22c55e66}.scanned-student-overlay-card.duplicate .overlay-red-header,.scanned-student-overlay-card.duplicate .overlay-student-name{color:#4ade80;text-shadow:0 2px 14px #22c55e6b}.teacher-cooperation-nav{animation:1.8s ease-in-out infinite cooperation-nav-glow;position:relative;overflow:hidden;color:#075f48!important;background:linear-gradient(135deg,#ecfdf5,#d1fae5)!important;border-color:#6ee7b7!important}.teacher-cooperation-nav>span{color:#fff;white-space:nowrap;background:#059669;border-radius:999px;margin-right:auto;padding:2px 7px;font-size:8px}.teacher-cooperation-nav.active{color:#fff!important;background:linear-gradient(135deg,#059669,#047857)!important}.teacher-thanks-banner{color:#6b4b00;background:linear-gradient(100deg,#fff9df,#fffef7,#eefbf4);border:1px solid #f4cc68;border-radius:13px;align-items:center;gap:10px;min-height:48px;margin:0 0 12px;padding:8px 12px;display:flex;position:relative;overflow:hidden;box-shadow:0 5px 16px #92670f1a}.teacher-thanks-banner>button{z-index:2;color:#805d0a;cursor:pointer;background:#fff;border:1px solid #ecd98c;border-radius:9px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid;position:relative}.teacher-thanks-banner>svg{color:#d59a08;flex:none}.teacher-thanks-window{direction:ltr;flex:1;min-width:0;overflow:hidden}.teacher-thanks-track{white-space:nowrap;direction:rtl;align-items:center;gap:26px;width:max-content;font-size:12px;animation:30s linear infinite teacher-thanks-marquee;display:flex}.teacher-thanks-track strong{color:#805d0a}.teacher-thanks-track span{color:#075f48;font-weight:900}.teacher-thanks-track span:after{content:"✦";color:#e0a820;margin-right:26px}.teacher-thanks-track b{color:#0c4277}.teacher-thanks-banner:hover .teacher-thanks-track{animation-play-state:paused}.teacher-cooperation-date{background:#effcf6;border:1px solid #bcebd7;border-radius:11px;gap:4px;min-width:175px;padding:10px 14px;display:grid}.teacher-cooperation-date span{color:#47806b;font-size:10px}.teacher-cooperation-date strong{color:#075f48;font-size:13px}.teacher-cooperation-panel{gap:16px;display:grid}.cooperation-motivation{background:linear-gradient(135deg,#effcf6,#f7fffb);border:1px solid #9ee5c7;border-radius:18px;align-items:center;gap:15px;padding:19px 22px;display:flex;box-shadow:0 10px 24px #0596691a}.cooperation-motivation>svg{color:#fff;background:#059669;border-radius:16px;flex:0 0 54px;width:54px;height:54px;padding:12px}.cooperation-motivation div{gap:4px;display:grid}.cooperation-motivation span{color:#07805d;font-size:11px;font-weight:800}.cooperation-motivation h2{color:#073b31;margin:0;font-size:22px}.cooperation-motivation p{color:#5b756d;margin:0;font-size:12px}.cooperation-live-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.cooperation-live-stats article{background:#fff;border:1px solid #dbe8e3;border-radius:14px;gap:4px;padding:15px;display:grid}.cooperation-live-stats strong{color:#075f48;font-size:22px}.cooperation-live-stats span{color:#6b817a;font-size:11px}.cooperation-camera-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.cooperation-camera-actions button{color:#294c63;cursor:pointer;background:#fff;border:1px solid #c9d8e2;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:43px;padding:9px 17px;font:800 12px inherit;display:inline-flex}.cooperation-camera-actions button.active{color:#785900;background:#fff6bd;border-color:#e8bd2e}.cooperation-camera-actions .cooperation-camera-start{color:#fff;background:linear-gradient(135deg,#059669,#047857);border:0;font-size:14px;box-shadow:0 7px 18px #05966947}.cooperation-camera-actions .cooperation-camera-stop{color:#fff;background:linear-gradient(135deg,#ef4444,#b91c1c);border:0}.cooperation-camera-viewport{background:#07131d;border:2px solid #16394e;border-radius:18px;place-items:center;min-height:440px;display:grid;position:relative;overflow:hidden}.cooperation-camera-viewport video{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.cooperation-camera-viewport:fullscreen{border:0;border-radius:0;width:100vw;height:100vh}.cooperation-camera-idle{text-align:center;color:#dceaf2;justify-items:center;gap:10px;padding:30px;display:grid}.cooperation-camera-idle svg{color:#38bdf8}.cooperation-camera-idle strong{font-size:18px}.cooperation-camera-idle span{color:#90a8b8;font-size:12px}.cooperation-scan-frame{z-index:2;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.cooperation-scan-frame>span{border:3px solid #38bdf8;border-radius:17px;width:min(330px,72vw);height:min(270px,45vh);display:block;box-shadow:0 0 0 9999px #00000061,0 0 25px #38bdf859}.cooperation-scan-frame>i{color:#fff;background:#07131dd6;border-radius:999px;padding:6px 14px;font-size:11px;font-style:normal;position:absolute;top:calc(50% + 155px)}.cooperation-scan-feedback{z-index:5;color:#fff;border-radius:15px;align-items:flex-start;gap:11px;width:min(520px,100% - 28px);padding:15px;animation:.22s ease-out cooperation-feedback-in;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 12px 28px #0000004d}.cooperation-scan-feedback.created{background:#03694ef5;border:2px solid #34d399}.cooperation-scan-feedback.duplicate{background:#14532df7;border:2px solid #4ade80}.cooperation-scan-feedback.error{background:#7f1d1df7;border:2px solid #f87171}.cooperation-scan-feedback>div{gap:3px;display:grid}.cooperation-scan-feedback strong{font-size:13px}.cooperation-scan-feedback b{font-size:20px}.cooperation-scan-feedback span{color:#e6fff5;font-size:11px}.cooperation-exit-fullscreen{z-index:7;color:#fff;background:#07131dd9;border:1px solid #ffffff40;border-radius:999px;align-items:center;gap:6px;padding:8px 13px;font:700 12px inherit;display:flex;position:absolute;top:14px;left:14px}.cooperation-manual-code{background:#fff;border:1px solid #dbe7ee;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding:14px;display:grid}.cooperation-manual-code label{color:#38566b;gap:6px;font-size:11px;font-weight:800;display:grid}.cooperation-manual-code input{box-sizing:border-box;width:100%;min-height:43px;font:inherit;border:1px solid #cbdbe6;border-radius:10px;padding:9px 12px}.cooperation-manual-code button{color:#fff;background:#1476c9;border:0;border-radius:10px;align-items:center;gap:7px;min-height:43px;padding:9px 20px;font:800 12px inherit;display:flex}.cooperation-manual-code button:disabled{opacity:.45}.administrator-no-results,.cooperation-manual-results>p{text-align:center;color:#718699;margin:0;padding:13px;font-size:12px}.administrator-manual-selection,.cooperation-manual-selection{background:#f1fdf6;border:1px solid #9dd8ba;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:13px;display:flex}.administrator-manual-selection>div:first-child,.cooperation-manual-selection>div:first-child{gap:3px;display:grid}.administrator-manual-selection strong,.cooperation-manual-selection strong{color:#075f48;font-size:13px}.administrator-manual-selection span,.cooperation-manual-selection span{color:#123e5a;font-weight:900}.administrator-manual-selection small,.cooperation-manual-selection small{color:#668276;font-size:11px}.administrator-manual-selection>div:last-child,.cooperation-manual-selection>div:last-child{flex-wrap:wrap;gap:7px;display:flex}.administrator-manual-selection button,.cooperation-manual-selection button{color:#315269;cursor:pointer;background:#fff;border:1px solid #b9d0df;border-radius:9px;min-height:38px;padding:7px 12px;font:800 12px inherit}.administrator-manual-selection .primary-button,.cooperation-manual-selection .confirm{color:#fff;background:#07845e;border-color:#07845e}.cooperation-manual-search{background:#fff;border:1px solid #dbe7ee;border-radius:14px;gap:9px;padding:14px;display:grid}.cooperation-manual-search>label{color:#38566b;gap:6px;font-size:11px;font-weight:800;display:grid}.cooperation-search-input{color:#698398;background:#fff;border:1px solid #cbdbe6;border-radius:10px;align-items:center;gap:8px;min-height:43px;padding:0 11px;display:flex}.cooperation-search-input:focus-within{border-color:#1476c9;box-shadow:0 0 0 3px #1476c91a}.cooperation-search-input input{color:#173b4e;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:0;padding:9px 0}.cooperation-manual-results{border-top:1px solid #e6eef2;gap:7px;max-height:270px;padding-top:9px;display:grid;overflow:auto}.cooperation-manual-results button{color:#173b4e;width:100%;font:inherit;text-align:right;cursor:pointer;background:#fbfdff;border:1px solid #dce8ee;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:10px 11px;display:flex}.cooperation-manual-results button:hover{background:#eff9ff;border-color:#79b9df}.cooperation-manual-results button span{gap:3px;display:grid}.cooperation-manual-results button strong{font-size:13px}.cooperation-manual-results button small{color:#6d8495;font-size:10px}.cooperation-manual-results button b{color:#1476c9;font-size:11px}.cooperation-recent{background:#fff;border:1px solid #dbe7ee;border-radius:16px;padding:16px}.cooperation-recent>div:first-child{justify-content:space-between;gap:10px;margin-bottom:12px;display:flex}.cooperation-recent>div:first-child span{color:#658096;font-size:11px}.cooperation-recent>div:first-child strong{color:#075f48;font-size:12px}.cooperation-recent>p{text-align:center;color:#7890a0;margin:0;padding:20px}.cooperation-recent-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.cooperation-recent-list article{background:#fbfefc;border:1px solid #e1ebe7;border-radius:11px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px;display:grid}.cooperation-recent-list article>svg{color:#10b981}.cooperation-recent-list article>div{gap:2px;display:grid}.cooperation-recent-list strong{font-size:12px}.cooperation-recent-list span{color:#72887f;font-size:10px}.cooperation-recent-list small{color:#4d7063;justify-items:end;gap:2px;font-size:9px;display:grid}.cooperation-recent-list small b{direction:ltr;font-size:11px}@media (width<=600px){.auth-tabs.auth-tabs-four{grid-template-columns:1fr 1fr!important}.administrator-portal{padding:calc(16px + env(safe-area-inset-top)) 12px calc(22px + env(safe-area-inset-bottom))}.administrator-topbar h1{font-size:21px}.administrator-attendance,.administrator-report,.administrator-password{border-radius:16px;padding:15px}.administrator-attendance h2,.administrator-report h2,.administrator-password h2{font-size:18px}.administrator-stats{gap:7px}.administrator-stats article{padding:10px 5px}.administrator-stats b{font-size:20px}.administrator-camera{padding:12px}.administrator-camera-head{align-items:flex-start}.administrator-camera-head .outline-button,.administrator-camera-head .primary-button{padding:8px;font-size:11px}.administrator-manual{flex-direction:column}.administrator-manual .primary-button{justify-content:center}.administrator-video{min-height:190px}.administrator-recent article{grid-template-columns:auto 1fr auto}.administrator-recent time{grid-column:2}.administrator-report-actions{flex-direction:column;align-items:stretch}.administrator-report-actions .primary-button{justify-content:center}.administrator-password>div{max-width:none}.administrator-menu-wrap nav{left:0;right:auto}.administrator-admin .teacher-account-list article{grid-template-columns:auto 1fr}.administrator-admin .teacher-account-actions{grid-column:2;display:flex}.administrator-admin .teacher-account-badge{grid-column:2}.administrator-admin .teacher-account-actions button{flex:1}.administrator-manual-selection,.cooperation-manual-selection{flex-direction:column;align-items:stretch}.administrator-manual-selection>div:last-child,.cooperation-manual-selection>div:last-child{grid-template-columns:1fr 1fr;display:grid}.administrator-manual-selection button,.cooperation-manual-selection button{justify-content:center;width:100%}}.administrator-manual-selection,.cooperation-manual-selection{justify-content:stretch;align-items:stretch;gap:10px;display:grid}.manual-selected-heading{gap:3px;display:grid}.manual-selected-heading span{font-size:11px;color:#668276!important;font-weight:600!important}.manual-selected-list{gap:6px;max-height:220px;padding:2px;display:grid;overflow:auto}.manual-selected-list article{background:#fff;border:1px solid #cbe8d8;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;display:flex}.manual-selected-list article>span{gap:3px;min-width:0;display:grid}.manual-selected-list article strong,.manual-selected-list article small{display:block}.manual-selected-list article strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.manual-selected-remove{color:#b42318!important;border-color:#f1b9b4!important;flex:none!important}.manual-selection-actions{flex-wrap:wrap;justify-content:flex-start;gap:7px;display:flex}.manual-selection-actions button{justify-content:center;align-items:center;display:inline-flex}.administrator-student-list button:disabled,.cooperation-manual-results button:disabled{opacity:.58;cursor:default}@media (width<=600px){.manual-selection-actions{grid-template-columns:1fr 1fr;display:grid!important}.manual-selected-list{max-height:190px}.manual-selected-list article{align-items:flex-start}.manual-selected-remove{width:auto!important}}.teacher-sheet-period-select{max-width:280px;color:var(--navy);gap:7px;font-size:13px;font-weight:800;display:grid}.teacher-sheet-period-select select{min-height:44px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cdddeb;border-radius:10px;padding:10px}.teacher-sheet-period-note{color:#83530e;margin:0;font-size:12px;font-weight:700;line-height:1.75}.teacher-noor-period-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:860px;display:grid}.teacher-sheet-start .teacher-sheet-selectors{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=900px){.teacher-sheet-start .teacher-sheet-selectors,.teacher-noor-period-selectors{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=720px){.teacher-noor-period-selectors,.teacher-sheet-start .teacher-sheet-selectors{grid-template-columns:1fr}.teacher-sheet-period-select{max-width:none}}.student-admin-center,.student-portfolio-admin{gap:16px;display:grid}.student-admin-head,.student-admin-tabs{margin-bottom:0}.student-account-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.student-account-summary article{color:#587087;background:#fff;border:1px solid #dce7ef;border-radius:16px;grid-template-columns:auto 1fr;align-items:center;gap:4px 9px;padding:15px;display:grid}.student-account-summary svg{color:#1675ca;grid-row:span 2}.student-account-summary b{color:#102c4a;font-size:24px}.student-account-tools{justify-content:space-between;align-items:center;gap:16px;display:flex}.student-account-tools p{color:#60768b;margin:5px 0 0;font-size:13px}.student-account-tools>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.student-account-search{width:100%;font:inherit;background:#fff;border:1px solid #cbddec;border-radius:11px;padding:11px 13px}.student-account-list article small{color:#687f93;margin-top:4px;font-size:12px;display:block}.student-portfolio-admin{background:#fff;border:1px solid #dce7ef;border-radius:20px;padding:22px}.student-portfolio-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.student-portfolio-head span,.student-portfolio-entries header span{color:#277dc5;font-size:12px;font-weight:800}.student-portfolio-head h2{color:#0f2f4e;margin:3px 0}.student-portfolio-head p{color:#647a8d;margin:0;font-size:13px}.student-portfolio-group-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.student-portfolio-group-grid button{text-align:right;color:#416178;font:inherit;cursor:pointer;background:#fff;border:1px solid #d8e6ef;border-radius:15px;grid-template-columns:auto 1fr;gap:5px 10px;padding:14px;display:grid}.student-portfolio-group-grid button>svg{color:#1782d0;grid-row:span 2}.student-portfolio-group-grid button strong{color:#12395e}.student-portfolio-group-grid button small,.student-portfolio-group-grid button em{color:#71879a;grid-column:1/-1;font-size:11px;font-style:normal}.student-portfolio-group-grid button em{color:#1b7992;align-items:center;gap:4px;display:flex}.student-portfolio-group-grid button.active{background:#edf8ff;border-color:#177ec7;box-shadow:0 5px 15px #1f7bbe1f}.student-portfolio-empty{text-align:center;color:#4f6b80;border:1px dashed #bcd2e3;border-radius:16px;justify-items:center;gap:8px;padding:30px;display:grid}.student-portfolio-empty svg{color:#1d83ca}.student-portfolio-empty p{margin:0;font-size:13px}.student-portfolio-entries{border-top:1px solid #e5edf3;gap:14px;padding-top:16px;display:grid}.student-portfolio-entries>header{justify-content:space-between;align-items:center;display:flex}.student-portfolio-entries h3{color:#12395e;margin:3px 0}.student-portfolio-entries p{color:#667e92;margin:0;font-size:13px}.student-portfolio-entries>header>strong{color:#1775b9;background:#edf7ff;border-radius:10px;padding:7px 10px;font-size:13px}.student-portfolio-students{gap:10px;display:grid}.student-portfolio-students article{border:1px solid #e0eaf1;border-radius:14px;grid-template-columns:190px 1fr;align-items:center;gap:13px;padding:11px;display:grid}.student-portfolio-student-name{gap:4px;display:grid}.student-portfolio-student-name b{color:#193752}.student-portfolio-student-name span{color:#678095;font-size:12px}.student-portfolio-slot-list{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;display:grid}.student-portfolio-slot{background:#f8fbfd;border:1px dashed #c5d7e4;border-radius:9px;place-items:center;min-height:72px;display:grid;overflow:hidden}.student-portfolio-slot.filled{background:#fff;border-style:solid}.student-portfolio-slot img{object-fit:cover;width:100%;height:72px;display:block}.student-portfolio-slot>span{color:#758b9c;text-align:center;font-size:10px}.student-portfolio-slot>span small{color:#9aabb8;margin-top:3px;display:block}.student-portal-notice{border-radius:11px;margin:0;padding:11px 14px;font-size:13px}.student-portal-notice.success{color:#146c47;background:#edfbf4;border:1px solid #b9e7cf}.student-portal-notice.error{color:#b0473c;background:#fff2f1;border:1px solid #f2c7c1}.student-portal{color:#14324d;background:linear-gradient(145deg,#eef7fb,#f8fbfd 45%,#f1f8f4);align-items:flex-start;gap:20px;min-height:100vh;padding:28px max(24px,50% - 590px);display:flex}.student-sidebar{background:#fff;border:1px solid #dce7ef;border-radius:20px;flex-direction:column;flex:0 0 230px;gap:18px;min-height:calc(100vh - 56px);padding:16px;display:flex;position:sticky;top:24px;box-shadow:0 12px 26px #102a4314}.student-brand{color:#137cc5;border-bottom:1px solid #e5edf3;align-items:center;gap:9px;padding:6px 4px 15px;display:flex}.student-brand>div{gap:2px;display:grid}.student-brand strong{color:#122f4d}.student-brand small{color:#698195;font-size:11px}.student-brand button{display:none}.student-sidebar nav{gap:7px;display:grid}.student-sidebar nav button,.student-logout{color:#516b82;width:100%;font:inherit;text-align:right;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:10px;padding:11px 12px;font-weight:800;display:flex}.student-sidebar nav button.active,.student-sidebar nav button:hover{color:#0d5f9e;background:#eef7ff;border-color:#c8e0f4}.student-logout{color:#a04942;border-color:#f0d3cf;margin-top:auto}.student-workspace{flex:1;gap:16px;min-width:0;display:grid}.student-topbar{justify-content:space-between;align-items:center;padding:4px 2px;display:flex}.student-topbar span{color:#52748b;font-size:13px}.student-topbar h1{color:#102e4c;margin:2px 0 0;font-size:26px}.student-password-required{color:#8a5c13;background:#fff9e9;border:1px solid #f2ce83;border-radius:15px;align-items:center;gap:10px;padding:13px 15px;display:flex}.student-password-required>div{flex:1;gap:3px;display:grid}.student-password-required span{font-size:12px}.student-password-required button{color:#fff;font:inherit;cursor:pointer;background:#eb9f23;border:0;border-radius:9px;padding:9px 12px;font-weight:800}.student-home-grid{grid-template-columns:1fr 1.2fr;gap:16px;display:grid}.student-profile-card,.student-qr-card,.student-password-card,.student-portfolio-page,.student-schedule-page{background:#fff;border:1px solid #dce7ef;border-radius:20px;padding:22px;box-shadow:0 10px 24px #123c5b0d}.student-profile-icon{color:#1680cf;background:#e9f5ff;border-radius:14px;place-items:center;width:48px;height:48px;margin-bottom:14px;display:grid}.student-profile-card>span,.student-qr-card span,.student-password-card span,.student-portfolio-page header span,.student-schedule-page header span{color:#287fc4;font-size:12px;font-weight:800}.student-profile-card h2,.student-qr-card h2{color:#123653;margin:5px 0}.student-profile-card p,.student-qr-card p{color:#698196;margin:0}.student-profile-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:19px 0 0;display:grid}.student-profile-card dl div{background:#f5f9fc;border-radius:11px;padding:10px}.student-profile-card dt{color:#7890a1;font-size:11px}.student-profile-card dd{color:#183b59;margin:4px 0 0;font-weight:800}.student-qr-card{justify-content:space-between;align-items:center;gap:14px;display:flex}.student-qr-card>div:first-child{gap:3px;display:grid}.student-qr-card>div:first-child svg{color:#147bc8;margin-bottom:4px}.student-qr-card img{background:#fff;border:1px solid #d9e6ef;border-radius:13px;width:160px;height:160px;padding:7px}.student-qr-placeholder{color:#6f879a;background:#f4f8fb;border-radius:13px;place-items:center;width:150px;height:150px;font-size:12px;display:grid}.student-password-card{gap:12px;max-width:620px;display:grid}.student-password-card>div{color:#187bc6;gap:10px;display:flex}.student-password-card h2{color:#123653;margin:2px 0}.student-password-card p{color:#6b8295;margin:0;font-size:13px}.student-password-card label{color:#35566f;gap:6px;font-size:13px;font-weight:800;display:grid}.student-password-card input{font:inherit;border:1px solid #cbddec;border-radius:10px;padding:11px}.student-password-card .primary-button{justify-self:start}.student-portfolio-page>header,.student-schedule-page>header{border-bottom:1px solid #e7eef4;align-items:flex-start;gap:11px;padding-bottom:16px;display:flex}.student-portfolio-page>header svg,.student-schedule-page>header svg{color:#1980c8}.student-portfolio-page h2,.student-schedule-page h2{color:#123653;margin:2px 0}.student-portfolio-page p{color:#688094;margin:0;font-size:13px}.student-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding-top:16px;display:grid}.student-subject-grid>article{border:1px solid #dce8ef;border-radius:16px;padding:14px}.student-subject-grid>article>header{border:0;justify-content:space-between;align-items:flex-start;gap:10px;padding:0 0 12px;display:flex}.student-subject-grid>article header div{gap:4px;display:grid}.student-subject-grid>article header strong{color:#123653}.student-subject-grid>article header span,.student-subject-grid>article header small{color:#688094;font-size:12px}.student-upload-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.student-upload-slot{background:#f8fbfd;border:1px dashed #b9d1e2;border-radius:12px;min-height:120px;position:relative;overflow:hidden}.student-upload-slot.filled{border-style:solid}.student-upload-slot label{color:#297fbe;cursor:pointer;text-align:center;place-content:center;justify-items:center;gap:5px;min-height:120px;font-size:11px;display:grid}.student-upload-slot label strong{color:#3d617b;font-size:12px}.student-upload-slot input{opacity:0;cursor:pointer;position:absolute;inset:0}.student-upload-slot img{object-fit:cover;width:100%;height:120px;display:block}.student-upload-slot button{color:#fff;font:inherit;cursor:pointer;background:#8d2d25e6;border:0;border-radius:7px;padding:5px 8px;font-size:10px;position:absolute;bottom:6px;left:6px}.student-schedule-days{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding-top:16px;display:grid}.student-schedule-days article{border:1px solid #dce7ef;border-radius:14px;overflow:hidden}.student-schedule-days h3{color:#156eac;text-align:center;background:#edf7ff;margin:0;padding:11px;font-size:14px}.student-schedule-days article>div{border-top:1px solid #e8eff4;gap:3px;padding:10px;display:grid}.student-schedule-days b{color:#6d879a;font-size:11px}.student-schedule-days strong{color:#183c5a;font-size:13px}.student-schedule-days span,.student-schedule-days small{color:#6f8495;font-size:11px}.student-mobile-menu,.student-sidebar-backdrop{display:none}.counselor-sidebar-nav{align-content:start}.counselor-nav-group{background:#fbfdff;border:1px solid #e0ebf2;border-radius:12px;overflow:hidden}.student-sidebar nav .counselor-nav-group-toggle{color:#274f6e;background:#f6faff;border:0;border-radius:0;justify-content:space-between;padding:10px 12px}.student-sidebar nav .counselor-nav-group-toggle:hover{background:#eef7ff;border:0}.counselor-nav-group-toggle svg{transition:transform .2s}.counselor-nav-group.open .counselor-nav-group-toggle svg{transform:rotate(180deg)}.counselor-nav-group-items{gap:3px;padding:5px;display:grid}.student-sidebar nav .counselor-nav-group-items button{padding:9px 10px;font-size:13px}.student-sidebar nav .counselor-nav-group-items .absence-procedure-new-badge{margin-inline-start:auto}@media (width<=760px){.auth-tabs.auth-tabs-five{grid-template-columns:1fr 1fr!important}.student-account-summary{grid-template-columns:1fr}.student-account-tools{flex-direction:column;align-items:stretch}.student-account-tools>div:last-child{grid-template-columns:1fr 1fr;display:grid}.student-portfolio-admin{border-radius:16px;padding:16px}.student-portfolio-head{flex-direction:column;align-items:flex-start}.student-portfolio-group-grid,.student-portfolio-students article{grid-template-columns:1fr}.student-portfolio-slot-list{grid-template-columns:repeat(3,minmax(0,1fr))}.student-portal{padding:calc(61px + env(safe-area-inset-top)) 13px calc(22px + env(safe-area-inset-bottom));min-height:100dvh;display:block}.student-sidebar{z-index:90;width:min(300px,86vw);min-height:0;padding:calc(18px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));border-radius:0 0 0 18px;transition:transform .2s;position:fixed;top:0;bottom:0;right:0;transform:translate(105%)}.student-sidebar.open{transform:translate(0)}.student-brand button{color:#39708f;background:#fff;border:1px solid #dce7ef;border-radius:8px;place-items:center;width:34px;height:34px;margin-right:auto;display:grid}.student-mobile-menu{z-index:60;color:#136ca9;background:#fff;border:1px solid #c8e0f0;border-radius:10px;place-items:center;width:38px;height:38px;display:grid;position:fixed;top:12px;right:13px;box-shadow:0 4px 13px #1b4e711f}.student-sidebar-backdrop{z-index:80;background:#0f233461;border:0;display:block;position:fixed;inset:0}.student-topbar{padding-right:48px}.student-topbar h1{font-size:21px}.student-topbar .outline-button{padding:8px;font-size:11px}.student-password-required{flex-wrap:wrap;align-items:flex-start}.student-password-required button{width:100%}.student-home-grid,.student-subject-grid{grid-template-columns:1fr}.student-qr-card{flex-direction:column;align-items:flex-start}.student-qr-card img{align-self:center}.student-schedule-days{grid-template-columns:1fr}.student-schedule-days article{grid-template-columns:94px 1fr;display:grid}.student-schedule-days h3{place-items:center;display:grid}.student-schedule-days article>div{grid-column:2}.student-upload-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}.student-account-progress{color:#245575;background:#f6fbff;border:1px solid #bbdcef;border-radius:14px;gap:9px;padding:14px 16px;display:grid}.student-account-progress>div:first-child{justify-content:space-between;align-items:center;gap:12px;display:flex}.student-account-progress>div:first-child strong{color:#123b60}.student-account-progress>div:first-child span,.student-account-progress small{color:#57758a;font-size:12px}.student-account-progress-track{background:#dcebf5;border-radius:999px;height:10px;overflow:hidden}.student-account-progress-track i{border-radius:inherit;background:linear-gradient(90deg,#1685d2,#11aa82);min-width:0;height:100%;transition:width .35s;display:block}.student-account-progress.completed{background:#f2fcf7;border-color:#bce7d4}.student-account-progress.failed{background:#fff7f6;border-color:#f1c9c4}.student-portfolio-slot-list{grid-template-columns:repeat(4,minmax(0,1fr))}.student-portfolio-file-link,.student-upload-file-link{text-align:center;color:#156eac;overflow-wrap:anywhere;place-content:center;justify-items:center;gap:5px;width:100%;height:100%;min-height:72px;padding:8px;text-decoration:none;display:grid}.student-portfolio-file-link span,.student-upload-file-link span{font-size:10px;line-height:1.35}.student-upload-file-link{color:#176fae;background:#f6fbff;min-height:120px;padding:13px}.student-upload-file-link svg,.student-portfolio-file-link svg{color:#e55e38}.student-upload-file-link:hover,.student-portfolio-file-link:hover{background:#eaf6ff}.student-upload-slots{grid-template-columns:repeat(4,minmax(0,1fr))}@media (width<=980px){.student-upload-slots,.student-portfolio-slot-list{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=760px){.student-upload-slots,.student-portfolio-slot-list{grid-template-columns:repeat(2,minmax(0,1fr))}.student-account-progress>div:first-child{flex-direction:column;align-items:flex-start}}.student-portfolio-classroom-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.student-portfolio-classroom-grid button{text-align:right;color:#46677f;min-height:142px;font:inherit;cursor:pointer;background:linear-gradient(145deg,#fff,#f3faff);border:1px solid #d7e6f0;border-radius:17px;grid-template-columns:auto 1fr;gap:6px 10px;padding:17px;transition:transform .16s,box-shadow .16s,border-color .16s;display:grid}.student-portfolio-classroom-grid button:hover{border-color:#2386cf;transform:translateY(-2px);box-shadow:0 10px 21px #1774b71f}.student-portfolio-classroom-grid button>svg{color:#1683cf;grid-row:span 2}.student-portfolio-classroom-grid button strong{color:#123b60;align-self:end;font-size:17px}.student-portfolio-classroom-grid button>span{color:#2375b1;align-self:end;font-weight:800}.student-portfolio-classroom-grid button small,.student-portfolio-classroom-grid button em{grid-column:1/-1;align-items:center;gap:5px;font-size:12px;font-style:normal;display:flex}.student-portfolio-classroom-grid button small{color:#678298}.student-portfolio-classroom-grid button em{color:#13836e;justify-content:space-between;margin-top:6px;font-weight:800}.student-portfolio-classroom-bar{background:#f8fbfd;border:1px solid #dce8f0;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;display:flex}.student-portfolio-classroom-bar>div{text-align:left;gap:2px;display:grid}.student-portfolio-classroom-bar span{color:#5d84a0;font-size:11px;font-weight:800}.student-portfolio-classroom-bar strong{color:#123b60}.student-portfolio-file-link,.student-upload-file-link{cursor:pointer}.student-portfolio-file-link{min-height:72px}@media (width<=900px){.student-portfolio-classroom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.student-portfolio-classroom-grid{grid-template-columns:1fr}.student-portfolio-classroom-bar{flex-direction:column;align-items:flex-start}.student-portfolio-classroom-bar>div{text-align:right}}.teacher-account-actions .student-cooperation-access{color:#176194;background:#f7fbfe;border-color:#b8d8ec}.teacher-account-actions .student-cooperation-access.enabled{color:#14633a;background:#e8f8ee;border-color:#86d5ad}.student-cooperation-panel{gap:16px;display:grid}.student-cooperation-panel .cooperation-motivation{background:linear-gradient(135deg,#eef8ff,#f8fcff);border-color:#9fc9ef}.student-cooperation-panel .cooperation-motivation>svg{background:#1976c5}.student-cooperation-panel .cooperation-motivation span,.student-cooperation-panel .cooperation-live-stats strong{color:#1265a4}.student-cooperation-panel .cooperation-motivation h2{color:#103b62}.student-cooperation-panel .cooperation-camera-start{background:linear-gradient(135deg,#1677c7,#075b9c)}.student-cooperation-panel .cooperation-camera-viewport{min-height:380px}.student-portfolio-image-button,.student-upload-image-button{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0}.student-portfolio-image-button{position:relative;overflow:hidden}.student-portfolio-image-button img,.student-upload-image-button img{object-fit:cover;width:100%;height:100%;display:block}.student-portfolio-image-button .portfolio-correction-stamp{transform-origin:0 100%;width:185%;max-width:none;bottom:5px;left:5px;transform:scale(.52)}.student-upload-image-button{min-height:120px}.student-portfolio-file-link,.student-upload-file-link{font:inherit;cursor:pointer;border:0}.portfolio-preview-overlay{z-index:300;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#051726c2;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.portfolio-preview-dialog{background:#fff;border:1px solid #b9d5e8;border-radius:20px;grid-template-rows:auto minmax(0,1fr) auto;width:min(1050px,100%);max-height:calc(100dvh - 48px);display:grid;overflow:hidden;box-shadow:0 24px 70px #00000061}.portfolio-preview-dialog>header{background:#f8fcff;border-bottom:1px solid #dce8f0;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;display:flex}.portfolio-preview-dialog>header>div{gap:3px;min-width:0;display:grid}.portfolio-preview-dialog>header span{color:#3677a5;font-size:11px;font-weight:800}.portfolio-preview-dialog>header strong{color:#173c5c;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.portfolio-preview-close{color:#a5382d;cursor:pointer;background:#fff;border:1px solid #efc3bd;border-radius:10px;flex:none;align-items:center;gap:6px;min-height:38px;padding:8px 11px;font:800 12px inherit;display:inline-flex}.portfolio-preview-content{background:#edf3f7;place-items:center;min-height:260px;display:grid;overflow:auto}.portfolio-preview-content.image{padding:18px}.portfolio-preview-content.image img{object-fit:contain;background:#fff;border-radius:9px;max-width:100%;max-height:calc(100dvh - 195px);display:block}.portfolio-preview-content.pdf iframe{background:#fff;border:0;width:100%;height:100%;min-height:560px}.portfolio-preview-content.download>div{text-align:center;color:#41647c;max-width:360px;padding:30px}.portfolio-preview-content.download svg{color:#e05c3c}.portfolio-preview-content.download h2{color:#163d5f;margin:13px 0 6px;font-size:19px}.portfolio-preview-content.download p{margin:0;font-size:13px;line-height:1.8}.portfolio-preview-dialog>footer{background:#fff;border-top:1px solid #dce8f0;justify-content:flex-end;gap:9px;padding:12px 18px;display:flex}.portfolio-preview-dialog>footer a,.portfolio-preview-dialog>footer button{color:#175c91;cursor:pointer;background:#fff;border:1px solid #b9d4e7;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:39px;padding:8px 13px;font:800 12px inherit;text-decoration:none;display:inline-flex}.portfolio-preview-dialog>footer button{color:#fff;background:#1f7dbd;border-color:#1f7dbd}@media (width<=600px){.portfolio-preview-overlay{align-items:stretch;padding:0}.portfolio-preview-dialog{border:0;border-radius:0;width:100%;height:100dvh;max-height:none}.portfolio-preview-dialog>header{padding:calc(12px + env(safe-area-inset-top)) 13px 12px}.portfolio-preview-close span{display:none}.portfolio-preview-close{justify-content:center;width:42px;padding:8px}.portfolio-preview-content.image{padding:10px}.portfolio-preview-content.image img{max-height:calc(100dvh - 165px)}.portfolio-preview-content.pdf iframe{height:100%;min-height:0}.portfolio-preview-dialog>footer{padding:11px 13px calc(11px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;display:grid}.portfolio-preview-dialog>footer a,.portfolio-preview-dialog>footer button{padding:7px;font-size:11px}}.counselor-admin{gap:16px;display:grid}.counselor-summary,.counselor-admin-tools{margin:0}.counselor-account-list article small{align-items:center;gap:4px;display:flex}.counselor-dialog-backdrop{z-index:400;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#102a437a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.counselor-dialog{background:#fff;border:1px solid #c7ddeb;border-radius:20px;gap:13px;width:min(480px,100%);padding:22px;display:grid;box-shadow:0 24px 60px #07203740}.counselor-dialog header,.counselor-dialog footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.counselor-dialog header>div{gap:3px;display:grid}.counselor-dialog header span{color:#1879c4;font-size:12px;font-weight:800}.counselor-dialog h3{color:#123653;margin:0}.counselor-dialog>p{color:#668096;margin:0;font-size:13px}.counselor-dialog label{color:#36566e;gap:6px;font-size:13px;font-weight:800;display:grid}.counselor-dialog input{color:#123653;font:inherit;background:#fff;border:1px solid #c7ddea;border-radius:10px;padding:11px 12px}.counselor-dialog footer{padding-top:5px}.counselor-dialog footer button{justify-content:center;min-width:105px}.counselor-loading,.counselor-load-error{text-align:center;color:#153956;background:linear-gradient(145deg,#eef7fb,#f8fbfd 45%,#f1f8f4);place-content:center;justify-items:center;gap:12px;min-height:100vh;padding:25px;display:grid}.counselor-load-error h1{color:#123653;margin:0}.counselor-load-error p{color:#61798d;margin:0}.counselor-workspace{min-width:0}.counselor-home{gap:16px;display:grid}.counselor-welcome,.counselor-profile-card,.counselor-directory{background:#fff;border:1px solid #dce7ef;border-radius:20px;padding:22px;box-shadow:0 10px 24px #123c5b0d}.counselor-welcome{background:linear-gradient(135deg,#fff,#edf8ff);justify-content:space-between;align-items:center;gap:20px;display:flex}.counselor-welcome>div{gap:5px;display:grid}.counselor-welcome span,.counselor-directory header span{color:#2080c5;font-size:12px;font-weight:800}.counselor-welcome h2,.counselor-directory h2{color:#123653;margin:0}.counselor-welcome p,.counselor-directory p{color:#668096;margin:0;font-size:13px}.counselor-welcome>svg{color:#1680ca}.counselor-home-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.counselor-home-grid article{background:#fff;border:1px solid #dce7ef;border-radius:16px;grid-template-columns:auto 1fr;gap:4px 10px;padding:17px;display:grid;box-shadow:0 8px 18px #123c5b0a}.counselor-home-grid article svg{color:#187bc5;grid-row:span 2}.counselor-home-grid article span{color:#628096;font-size:12px}.counselor-home-grid article strong{color:#123653;font-size:22px}.counselor-home-grid button{color:#1679c4;cursor:pointer;background:0 0;border:0;grid-column:1/-1;justify-self:start;padding:2px 0;font:800 12px inherit}.counselor-profile-card h3{color:#123653;margin:0 0 14px}.counselor-profile-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.counselor-profile-card dl div{background:#f5f9fc;border-radius:11px;padding:11px}.counselor-profile-card dt{color:#7890a1;font-size:11px}.counselor-profile-card dd{color:#183b59;margin:4px 0 0;font-weight:800}.counselor-directory{gap:15px;display:grid}.counselor-directory header{border-bottom:1px solid #e3edf3;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;display:flex}.counselor-directory header>div{gap:4px;display:grid}.counselor-directory header>svg{color:#1880c8}.counselor-directory>input{color:#123653;width:100%;font:inherit;background:#fff;border:1px solid #cbddec;border-radius:11px;padding:11px 13px}.counselor-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.counselor-directory-grid article{background:#fbfdff;border:1px solid #dce7ef;border-radius:13px;gap:5px;padding:13px;display:grid}.counselor-directory-grid strong{color:#123653}.counselor-directory-grid span,.counselor-directory-grid small{color:#668096;font-size:12px}.counselor-password-card{max-width:620px}@media (width<=760px){.auth-tabs.auth-tabs-six{grid-template-columns:1fr 1fr!important}.counselor-dialog-backdrop{align-items:end;padding:0}.counselor-dialog{width:100%;padding:18px calc(16px + env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.counselor-welcome{flex-direction:column;align-items:flex-start}.counselor-home-grid,.counselor-profile-card dl,.counselor-directory-grid{grid-template-columns:1fr}.counselor-profile-card,.counselor-welcome,.counselor-directory{border-radius:16px;padding:16px}.counselor-directory header>svg{display:none}.counselor-account-list article small{grid-column:2}.counselor-account-list .teacher-account-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;display:grid}.counselor-account-list .teacher-account-actions .primary-button{grid-column:1/-1}}.student-account-pagination{justify-content:center;align-items:center;gap:10px;padding:2px 0 7px;display:flex}.student-account-pagination button{color:#176fae;cursor:pointer;background:#fff;border:1px solid #cbddec;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.student-account-pagination button:disabled{opacity:.42;cursor:default}.student-account-pagination span{text-align:center;color:#547188;min-width:132px;font-size:12px;font-weight:800}.referral-recorded-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.referral-recorded-actions article{background:#f5faff;border:1px solid #c9dced;border-radius:12px;gap:5px;padding:13px;display:grid}.referral-recorded-actions small{color:#54708c;font-weight:700}.referral-recorded-actions strong{color:#113a66}.referral-recorded-actions p{white-space:pre-wrap;margin:0;line-height:1.7}.referral-counselor-handoff{color:#14598b;background:#eef8ff;border-radius:10px;grid-column:1/-1;margin:0;padding:12px 14px;line-height:1.8}.counselor-referral-center .referral-school-header{margin-bottom:14px}.counselor-referral-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.counselor-referral-stats article{color:#56728c;background:#fff;border:1px solid #d8e5f0;border-radius:13px;justify-content:space-between;align-items:center;padding:13px 16px;display:flex}.counselor-referral-stats strong{color:#0874c9;font-size:1.4rem}.counselor-referral-action>p{color:#456a86;margin:0;line-height:1.8}@media (width<=700px){.referral-recorded-actions,.counselor-referral-stats{grid-template-columns:1fr}.referral-counselor-handoff{font-size:.88rem}}.teacher-status-toggle button.active.excused{color:#245b92;background:#edf4ff;border-color:#a9c9ef}.comprehensive-class-report{overflow:hidden}.comprehensive-class-report-head{align-items:flex-start;gap:14px}.comprehensive-class-report-head .outline-button{flex:none}.comprehensive-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.comprehensive-choice-card{text-align:right;color:#093b70;min-height:142px;font:inherit;cursor:pointer;background:linear-gradient(145deg,#fff,#f5fbff);border:1px solid #cbddea;border-radius:16px;align-content:center;justify-items:start;gap:8px;padding:20px;transition:transform .16s,box-shadow .16s,border-color .16s,background .16s;display:grid;box-shadow:0 7px 16px #1b507c0f}.comprehensive-choice-card:hover,.comprehensive-choice-card:focus-visible{background:#eff8ff;border-color:#1f7fca;outline:0;transform:translateY(-2px);box-shadow:0 12px 22px #1b6cac24}.comprehensive-choice-card span{color:#5d7891;font-size:12px;font-weight:700}.comprehensive-choice-card strong{color:#063c70;font-size:19px;line-height:1.45}.comprehensive-choice-card small{color:#2475ae;font-size:12px;font-weight:700}.comprehensive-choice-card.classroom-choice{border-right:5px solid #159a84;min-height:126px}.comprehensive-report-summary{color:#315a7c;background:#f5fbff;border:1px solid #c9e0ef;border-radius:12px;flex-wrap:wrap;align-items:center;gap:9px 18px;margin-top:16px;padding:12px 14px;font-size:13px;font-weight:700;display:flex}.comprehensive-report-summary strong{color:#075f97;margin-inline-start:auto}.comprehensive-report-actions{margin:12px 0}.comprehensive-student-list{gap:10px;display:grid}.comprehensive-student-list>article{background:#fff;border:1px solid #dae6ef;border-radius:13px;grid-template-columns:minmax(210px,.36fr) minmax(0,1fr);align-items:start;gap:13px;padding:13px;display:grid}.comprehensive-student-title{align-items:flex-start;gap:9px;min-width:0;display:flex}.comprehensive-student-title b{color:#1269aa;background:#e7f3fc;border-radius:50%;flex:none;place-items:center;width:25px;height:25px;font-size:11px;display:grid}.comprehensive-student-title span{gap:3px;min-width:0;display:grid}.comprehensive-student-title strong{overflow-wrap:anywhere;color:#123e66;line-height:1.5}.comprehensive-student-title small{color:#70879b;font-size:11px}.comprehensive-student-title em{color:#0d639e;background:#eaf5fc;border-radius:999px;flex:none;margin-inline-start:auto;padding:4px 7px;font-size:11px;font-style:normal;font-weight:800}.comprehensive-event-list{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.comprehensive-event-list>span{color:#184c70;overflow-wrap:anywhere;background:#f5fbff;border:1px solid #a9cee7;border-radius:8px;align-items:center;max-width:100%;min-height:31px;padding:5px 8px;font-size:12px;line-height:1.55;display:inline-flex}.comprehensive-event-list>small{color:#8193a2;align-self:center;font-size:12px}@media (width<=820px){.comprehensive-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=580px){.comprehensive-class-report-head{display:grid}.comprehensive-class-report-head .outline-button{justify-content:center;width:100%}.comprehensive-card-grid{grid-template-columns:1fr;gap:10px}.comprehensive-choice-card{min-height:112px;padding:16px}.comprehensive-choice-card strong{font-size:17px}.comprehensive-report-summary{gap:7px;display:grid}.comprehensive-report-summary strong{margin-inline-start:0}.comprehensive-student-list>article{grid-template-columns:1fr;gap:10px}.comprehensive-event-list>span{width:100%}}.counselor-assignment-summary{grid-column:1/-1;font-weight:800;color:#1879c4!important}.counselor-grade-section{gap:8px;display:grid}.counselor-grade-section>strong{color:#123653}.counselor-grade-section>p{color:#668096;margin:0;font-size:12px}.counselor-grade-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.counselor-grade-option{background:#fbfdff;border:1px solid #cfe1ee;border-radius:11px;flex-wrap:wrap;color:#163b59!important;align-items:center!important;gap:7px!important;padding:10px!important;display:flex!important}.counselor-grade-option>label{cursor:pointer;align-items:center;gap:7px;font-weight:800;display:flex}.counselor-grade-option input{width:16px;height:16px;padding:0}.counselor-grade-option small{color:#a45c32;font-size:10px}.counselor-grade-option.locked{background:#f7f7f7}.counselor-grade-option.locked>label{opacity:.65;cursor:not-allowed}.counselor-grade-transfer{color:#965c12;cursor:pointer;background:#fff7e8;border:1px solid #e0b36e;border-radius:7px;margin-inline-start:auto;padding:5px 7px;font:700 10px inherit}.counselor-grade-transfer:hover{background:#ffedcc}.counselor-grade-dialog{max-width:560px}@media (width<=760px){.counselor-grade-picker{grid-template-columns:1fr}.counselor-account-list .teacher-account-actions{grid-template-columns:1fr!important}.counselor-account-list .teacher-account-actions .primary-button{grid-column:auto!important}}.teacher-evidence{gap:18px;display:grid}.teacher-evidence-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.teacher-evidence-card{color:#17679e;text-align:right;min-height:166px;font:inherit;cursor:pointer;background:#f8fcff;border:1px dashed #9bc6df;border-radius:16px;align-content:center;justify-items:start;gap:7px;padding:20px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid}.teacher-evidence-card:hover{border-color:#1682c6;transform:translateY(-2px);box-shadow:0 9px 20px #125d911a}.teacher-evidence-card svg{color:#1682c6}.teacher-evidence-card span{color:#698295;font-size:12px;font-weight:800}.teacher-evidence-card strong{color:#123c62;font-size:17px}.teacher-evidence-card small{color:#6d8294;font-size:12px}.teacher-evidence-card.saved{background:linear-gradient(145deg,#fff,#f3fbff);border-style:solid;border-color:#b8dbec}.teacher-evidence-card.saved svg{color:#0b9f77}.documentation-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:start;gap:20px;display:grid}.documentation-preview{color:#123c60;background:#fff;border:1px solid #d6e5ee;border-radius:16px;padding:22px;box-shadow:0 8px 24px #123b5c0d}.documentation-preview>small{color:#2179b5;font-weight:700}.documentation-preview h3{text-align:center;color:#0d4f84;font-size:20px}.documentation-preview h4{color:#165f91;margin:18px 0 7px}.documentation-preview p{white-space:pre-wrap;color:#405d71;line-height:1.8}.documentation-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.documentation-meta>div{background:#f8fbfd;border:1px solid #dce9f1;border-radius:10px;gap:5px;padding:10px;display:grid}.documentation-meta span{color:#728a9b;font-size:11px}.documentation-meta b{overflow-wrap:anywhere}.documentation-highlight{background:#edf7fd;border-right:4px solid #1682c6;border-radius:10px;gap:7px;margin-top:14px;padding:14px;display:grid}.documentation-gallery,.documentation-edit-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.documentation-gallery img,.documentation-edit-images img{object-fit:contain;background:#f8fbfd;border:1px solid #dce8ef;border-radius:10px;width:100%;height:150px}.documentation-signatures{color:#5d7586;justify-content:space-between;gap:15px;margin-top:18px;font-size:12px;display:flex}.documentation-upload{gap:10px;display:grid}.documentation-upload>label{cursor:pointer;align-items:center;gap:6px;display:flex}.documentation-upload input{max-width:100%}.documentation-edit-images>div{position:relative}.documentation-edit-images button{color:#fff;background:#b63737;border:0;border-radius:50%;padding:6px;position:absolute;top:6px;left:6px}.documentation-list{gap:9px;display:grid}.documentation-list button{text-align:right;color:#123c60;cursor:pointer;background:#fbfdff;border:1px solid #d7e6ef;border-radius:11px;gap:5px;padding:14px;display:grid}.documentation-list span,.documentation-list small{color:#6b8496;font-size:12px}@media (width<=800px){.documentation-layout{grid-template-columns:1fr}.documentation-preview{padding:16px}.documentation-meta{grid-template-columns:1fr 1fr}}.teacher-evidence-image-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;display:grid}.teacher-evidence-image-slot{background:#f8fbfd;border:1px dashed #b8cddb;border-radius:13px;min-height:145px;position:relative;overflow:hidden}.teacher-evidence-image-slot label{color:#377194;text-align:center;cursor:pointer;place-content:center;justify-items:center;gap:5px;min-height:145px;padding:12px;display:grid}.teacher-evidence-image-slot label small{color:#8294a1;font-size:11px}.teacher-evidence-image-slot input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.teacher-evidence-image-slot>img{object-fit:cover;width:100%;height:100%;min-height:145px;display:block}.teacher-evidence-remove-image{color:#fff;cursor:pointer;background:#992d2dde;border:0;border-radius:50%;place-items:center;width:31px;height:31px;display:grid;position:absolute;top:8px;left:8px}.teacher-evidence-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.teacher-evidence-form-grid label{color:#385b73;gap:6px;font-size:12px;font-weight:800;display:grid}.teacher-evidence-form-grid label.wide{grid-column:1/-1}.teacher-evidence-form-grid input,.teacher-evidence-form-grid select,.teacher-evidence-form-grid textarea{box-sizing:border-box;color:#173d5b;width:100%;min-width:0;min-height:43px;font:inherit;background:#fff;border:1px solid #c8dce9;border-radius:10px;padding:10px 11px}.teacher-evidence-form-grid textarea{resize:vertical;min-height:84px}.teacher-evidence-form-grid select:disabled{color:#90a2af;background:#edf3f7}.teacher-evidence-form-actions,.teacher-evidence-report-actions{flex-wrap:wrap;gap:9px;display:flex}.teacher-evidence-form-actions{justify-content:flex-end}.teacher-evidence-form-actions .primary-button,.teacher-evidence-report-actions .primary-button{align-items:center;gap:7px;display:inline-flex}.teacher-evidence-report-meta,.teacher-evidence-print-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;display:grid}.teacher-evidence-report-meta>div,.teacher-evidence-print-meta>div{background:#f8fbfd;border:1px solid #d5e3ed;border-radius:12px;gap:4px;padding:12px 14px;display:grid}.teacher-evidence-report-meta span,.teacher-evidence-print-meta span{color:#6e8393;font-size:11px;font-weight:700}.teacher-evidence-report-meta strong,.teacher-evidence-print-meta strong{color:#143e60;font-size:14px}.teacher-evidence-report-images,.teacher-evidence-print-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.teacher-evidence-report-images figure,.teacher-evidence-print-images figure{background:#f8fbfd;border:1px solid #d5e3ed;border-radius:13px;min-height:220px;margin:0;overflow:hidden}.teacher-evidence-report-images img,.teacher-evidence-print-images img{object-fit:cover;width:100%;height:100%;min-height:220px;display:block}.teacher-evidence-empty-images,.teacher-evidence-print-empty{color:#718697;text-align:center;border:1px dashed #c7d8e4;border-radius:12px;padding:18px}.teacher-evidence-report-details,.teacher-evidence-print-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.teacher-evidence-report-details>div,.teacher-evidence-print-details>div{background:#fff;border:1px solid #d7e4ec;border-radius:11px;padding:12px 14px}.teacher-evidence-report-details>div:last-child:nth-child(odd),.teacher-evidence-print-details>div:last-child:nth-child(odd){grid-column:1/-1}.teacher-evidence-report-details dt,.teacher-evidence-print-details dt{color:#4d7189;font-size:12px;font-weight:800}.teacher-evidence-report-details dd,.teacher-evidence-print-details dd{color:#153d5d;white-space:pre-wrap;margin:6px 0 0;line-height:1.75}.teacher-evidence-print{color:#143e60;max-width:850px;margin:0 auto;font-family:Tahoma,Arial,sans-serif}.teacher-evidence-print header{text-align:center;border-bottom:3px solid #1980c8;padding:6px 0 16px}.teacher-evidence-print header span{color:#1978b5;font-size:12px;font-weight:800}.teacher-evidence-print header h1{color:#092f54;margin:7px 0;font-size:27px}.teacher-evidence-print header p{color:#6a8192;margin:0;font-size:13px}.teacher-evidence-print-meta,.teacher-evidence-print-images{margin:14px 0}.teacher-evidence-print footer{color:#718697;text-align:center;margin-top:16px;font-size:10px}@media (width<=580px){.teacher-evidence-card-grid,.teacher-evidence-form-grid,.teacher-evidence-report-meta,.teacher-evidence-print-meta,.teacher-evidence-report-details,.teacher-evidence-print-details{grid-template-columns:1fr}.teacher-evidence-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-evidence-image-slot,.teacher-evidence-image-slot label,.teacher-evidence-image-slot>img{min-height:125px}.teacher-evidence-report-images,.teacher-evidence-print-images{grid-template-columns:1fr}.teacher-evidence-report-images figure,.teacher-evidence-print-images figure,.teacher-evidence-report-images img,.teacher-evidence-print-images img{min-height:185px}.teacher-evidence-report-details>div:last-child:nth-child(odd),.teacher-evidence-print-details>div:last-child:nth-child(odd){grid-column:auto}.teacher-evidence-form-actions,.teacher-evidence-report-actions{grid-template-columns:1fr;display:grid}.teacher-evidence-form-actions button,.teacher-evidence-report-actions button{justify-content:center;width:100%}}.teacher-evidence-admin{gap:16px;display:grid}.teacher-evidence-admin .teacher-section-head{margin:0}.teacher-evidence-admin .teacher-section-head p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.7}.teacher-evidence-admin-tools{margin:0}.teacher-evidence-admin-list{gap:9px;display:grid}.teacher-evidence-admin-list article{background:#fbfdff;border:1px solid #dce8ef;border-radius:13px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:13px 14px;display:grid}.teacher-evidence-admin-list article>div{gap:4px;min-width:0;display:grid}.teacher-evidence-admin-list strong{overflow-wrap:anywhere;color:var(--navy)}.teacher-evidence-admin-list span{color:var(--muted);text-align:right;direction:ltr;font-size:12px}.teacher-evidence-admin-list b{color:#176b9e;white-space:nowrap;background:#eaf5fc;border-radius:999px;padding:6px 10px;font-size:12px}.teacher-evidence-admin-list .outline-button{justify-content:center;align-items:center;gap:6px;min-width:82px;display:inline-flex}.teacher-evidence-admin-empty{justify-items:center;gap:7px;padding:34px 16px;display:grid}.teacher-evidence-admin-empty svg{color:#2385c4}.teacher-evidence-admin-empty span{color:var(--muted);font-size:13px}.teacher-evidence-admin-records{gap:17px;display:grid}.teacher-evidence-admin-records article{background:#fff;border:1px solid #d8e6ee;border-radius:16px;gap:14px;padding:17px;display:grid}.teacher-evidence-admin-records header{border-bottom:1px solid #e3edf2;padding-bottom:12px}.teacher-evidence-admin-records header span{color:#1b7eb8;font-size:12px;font-weight:800}.teacher-evidence-admin-records h4{color:var(--navy);margin:5px 0;font-size:19px}.teacher-evidence-admin-records header p{color:var(--muted);margin:0;font-size:13px}.teacher-evidence-admin-report-head .outline-button{margin-bottom:10px}.teacher-evidence-admin-report-head .primary-button{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.absence-procedure-guide{background:linear-gradient(145deg,#fff,#f7fbfe);border:1px solid #d7e6ef;border-radius:20px;gap:18px;padding:24px;display:grid;box-shadow:0 14px 32px #1d496c14}.absence-procedure-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.absence-procedure-head>div{min-width:0}.absence-procedure-head>svg{color:#1683c4;flex:none}.absence-procedure-head>div>span{color:#5c809b;font-size:12px;font-weight:800}.absence-procedure-title-row{flex-wrap:wrap;align-items:center;gap:9px;margin:5px 0;display:flex}.absence-procedure-title-row h2{color:var(--navy);margin:0;font-size:24px}.absence-procedure-head p{max-width:800px;color:var(--muted);margin:0;font-size:13px;line-height:1.8}.absence-procedure-new-badge{color:#fff;background:#de3030;border-radius:999px;flex:none;justify-content:center;align-items:center;width:max-content;padding:4px 8px;font-size:10px;font-weight:900;line-height:1;animation:1.7s ease-out infinite absenceProcedurePulse;display:inline-flex;box-shadow:0 0 #de303080}.nav-item .absence-procedure-new-badge,.student-sidebar nav .absence-procedure-new-badge{margin-right:auto}.absence-procedure-role-card{background:#eef8ff;border:1px solid #c8e1f2;border-radius:14px;gap:7px;padding:15px 17px;display:grid}.absence-procedure-role-card strong{color:#155b88}.absence-procedure-role-card p{color:#315c78;margin:0;line-height:1.8}.absence-procedure-role-card small{color:#5c7485;line-height:1.7}.absence-procedure-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0;padding:0;list-style:none;display:grid}.absence-procedure-steps li{background:#fff;border:1px solid #d9e7ef;border-radius:14px;grid-template-columns:auto 22px minmax(0,1fr);align-items:start;gap:8px;padding:14px;display:grid;position:relative}.absence-procedure-steps li>svg{color:#1683c4;margin-top:2px}.absence-procedure-step-number{color:#1672ad;background:#e5f4fd;border-radius:50%;place-items:center;width:23px;height:23px;font-size:11px;font-weight:900;display:grid}.absence-procedure-steps strong{color:var(--navy);font-size:13px;display:block}.absence-procedure-steps p{color:#637889;margin:5px 0 0;font-size:12px;line-height:1.7}.absence-procedure-note{color:#725420;background:#fff9ea;border:1px solid #f0d39a;border-radius:12px;align-items:flex-start;gap:8px;padding:12px 14px;font-size:12px;line-height:1.75;display:flex}.absence-procedure-note svg{flex:none;margin-top:2px}@keyframes absenceProcedurePulse{0%{box-shadow:0 0 #de303080}70%{box-shadow:0 0 0 8px #de303000}to{box-shadow:0 0 #de303000}}@media (prefers-reduced-motion:reduce){.absence-procedure-new-badge{animation:none}}@media (width<=900px){.absence-procedure-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.absence-procedure-guide{border-radius:16px;padding:16px}.absence-procedure-head{gap:10px}.absence-procedure-head>svg{width:28px;height:28px}.absence-procedure-title-row h2{font-size:20px}.absence-procedure-steps{grid-template-columns:1fr}.absence-procedure-steps li{padding:12px}.absence-procedure-note{font-size:11px}}.circulars-center{gap:18px;max-width:1240px;margin:0 auto;display:grid}.circulars-hero{color:#fff;background:linear-gradient(125deg,#075a62,#087782);border-radius:22px;justify-content:space-between;align-items:center;gap:20px;padding:25px 29px;display:flex;box-shadow:0 16px 30px #085e682e}.circulars-hero>div{min-width:0}.circulars-hero span,.circulars-log header span{opacity:.78;font-size:12px;font-weight:800}.circulars-hero h2{margin:4px 0 5px;font-size:28px}.circulars-hero p{margin:0;font-size:13px;line-height:1.8}.circulars-hero>svg{flex:none}.circulars-toolbar,.circular-detail-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.circular-create,.circulars-log{background:#fff;border:1px solid #d7e7e4;border-radius:20px;padding:22px;box-shadow:0 10px 27px #0942460e}.circular-create>header,.circulars-log>header{align-items:flex-start;gap:12px;margin-bottom:17px;display:flex}.circular-create>header>svg{color:#088070;flex:none}.circular-create h3,.circulars-log h3{color:#073f48;margin:1px 0 4px;font-size:20px}.circular-create p,.circulars-log p{color:#617c81;margin:0;font-size:13px;line-height:1.7}.circular-create-fields{grid-template-columns:minmax(220px,1.4fr) minmax(160px,.65fr) minmax(220px,1.2fr) auto;align-items:end;gap:12px;display:grid}.circular-create-fields label{color:#1b5e64;gap:6px;font-size:12px;font-weight:800;display:grid}.circular-create-fields input{color:#163f45;width:100%;height:44px;font:inherit;background:#fbfefd;border:1px solid #bdd9d5;border-radius:10px;padding:0 12px}.circular-upload{position:relative}.circular-upload input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:20px 0 0}.circular-upload span{color:#547777;white-space:nowrap;text-overflow:ellipsis;background:#f1fbf8;border:1px dashed #70b8ae;border-radius:10px;align-items:center;min-height:44px;padding:0 12px;font-weight:600;display:flex;overflow:hidden}.circular-whatsapp-fallback{color:#087566;background:#f2fffc;border:1px solid #8ed3ca;border-radius:10px;align-items:center;gap:7px;width:max-content;max-width:100%;padding:10px 13px;font-size:12px;font-weight:800;display:flex}.circulars-list{gap:10px;display:grid}.circulars-list article{background:#fff;border:1px solid #d8e7e4;border-radius:15px;transition:border-color .2s,box-shadow .2s;overflow:hidden}.circulars-list article.open{border-color:#66bcb1;box-shadow:0 10px 24px #0e797014}.circular-summary{color:#113f46;text-align:right;cursor:pointer;width:100%;font:inherit;background:#fff;border:0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:14px 16px;display:grid}.circular-summary:hover{background:#f8fdfc}.circular-summary-icon{color:#078272;background:#e9f7f4;border-radius:10px;place-items:center;width:37px;height:37px;display:grid}.circular-summary div:nth-child(2){gap:4px;min-width:0;display:grid}.circular-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.circular-summary small{color:#698588;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.circular-counts{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.circular-counts span,.circular-counts b,.circular-counts em{color:#355e60;background:#edf5f4;border-radius:999px;padding:5px 8px;font-size:10px;font-style:normal;font-weight:800}.circular-counts b{color:#087448;background:#e6f7ee}.circular-counts em{color:#9b6904;background:#fff5dc}.circular-detail{background:#fbfefd;border-top:1px solid #e4efed;padding:0 16px 16px}.circular-detail-actions{padding:14px 0}.circular-attachment-preview{background:#fff;border:1px solid #d6e6e3;border-radius:13px;overflow:hidden}.circular-attachment-preview header,.circular-recipients>header{color:#0b4e56;border-bottom:1px solid #e0ece9;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;display:flex}.circular-attachment-preview small,.circular-recipients>header span{color:#668186;font-size:11px}.circular-attachment-preview object{border:0;width:100%;height:460px;display:block}.circular-attachment-preview img{object-fit:contain;max-width:100%;max-height:600px;margin:0 auto;display:block}.circular-recipients{background:#fff;border:1px solid #d6e6e3;border-radius:13px;margin-top:14px}.circular-recipients>article{background:#fff;border:0;border-bottom:1px solid #edf3f2;border-radius:0;grid-template-columns:minmax(180px,1.2fr) auto minmax(130px,.8fr) auto;align-items:center;gap:10px;padding:10px 13px;display:grid}.circular-recipients>article:last-child{border-bottom:0}.circular-recipients article>div{gap:3px;min-width:0;display:grid}.circular-recipients article strong{color:#17474f;font-size:13px}.circular-recipients article small,.circular-recipients time{color:#638085;font-size:11px}.circular-recipients time{line-height:1.6}.circular-recipients article>img{object-fit:contain;background:#f7fbfa;border:1px solid #d7e5e2;border-radius:6px;width:93px;height:32px}.circular-recipient-status{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900}.circular-recipient-status.signed{color:#087545;background:#e4f8ef}.circular-recipient-status.pending{color:#996200;background:#fff4d9}.circular-recipient-status.ready{color:#176a99;background:#e9f5ff}.circular-recipient-status.missing{color:#a42c2c;background:#ffe9e9}.teacher-empty{text-align:center;color:#718689;padding:19px!important}.teacher-notice.success{color:#087443;background:#effcf4;border:1px solid #a9ddc3;border-radius:11px;padding:12px 14px;font-weight:800}.teacher-notice.error{color:#aa3530;background:#fff4f3;border:1px solid #f0b5b5;border-radius:11px;padding:12px 14px;font-weight:800}@media (width<=940px){.circular-create-fields{grid-template-columns:1fr 1fr}.circular-create-fields .primary-button{justify-self:start}.circular-recipients>article{grid-template-columns:minmax(170px,1fr) auto auto}.circular-recipients time{display:none}}@media (width<=640px){.circulars-hero{border-radius:16px;padding:18px}.circulars-hero h2{font-size:23px}.circulars-hero p{font-size:12px}.circular-create,.circulars-log{border-radius:15px;padding:15px}.circular-create-fields{grid-template-columns:1fr}.circular-summary{grid-template-columns:auto minmax(0,1fr) auto;padding:12px}.circular-counts{grid-column:2/-1;justify-content:flex-start}.circular-attachment-preview object{height:350px}.circular-recipients>article{grid-template-columns:minmax(0,1fr) auto;gap:8px}.circular-recipients article>img,.circular-recipients article>button{grid-column:1/-1;justify-self:start}.circular-recipients article small{text-overflow:ellipsis;overflow:hidden}.circular-recipients>header{flex-direction:column;align-items:flex-start;gap:2px}}.teacher-circulars{gap:18px;display:grid}.teacher-circulars-head{color:#fff;background:linear-gradient(125deg,#0a626b,#078176);border-radius:19px;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 25px;display:flex}.teacher-circulars-head>div{min-width:0}.teacher-circulars-head span{opacity:.8;font-size:12px;font-weight:800}.teacher-circulars-head h2{margin:5px 0;font-size:25px}.teacher-circulars-head p{color:#dff7f0;margin:0;font-size:13px;line-height:1.8}.teacher-circulars-layout{grid-template-columns:minmax(240px,.8fr) minmax(0,1.7fr);align-items:start;gap:16px;display:grid}.teacher-circulars-list,.teacher-circular-read{background:#fff;border:1px solid #d5e5e1;border-radius:17px;box-shadow:0 9px 24px #0a48470f}.teacher-circulars-list{overflow:hidden}.teacher-circulars-list>header{color:#155057;border-bottom:1px solid #e1eeeb;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;display:flex}.teacher-circulars-list>header .outline-button{padding:7px 10px;font-size:11px}.teacher-circulars-list>button{color:#194a50;text-align:right;cursor:pointer;width:100%;font:inherit;background:#fff;border:0;border-bottom:1px solid #edf3f1;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:13px 14px;display:grid}.teacher-circulars-list>button:last-child{border-bottom:0}.teacher-circulars-list>button:hover,.teacher-circulars-list>button.selected{background:#effaf6}.teacher-circulars-list>button.selected{box-shadow:inset -3px 0 #078376}.teacher-circulars-list>button>svg{color:#078376;margin-top:2px}.teacher-circulars-list>button span{gap:4px;min-width:0;display:grid}.teacher-circulars-list>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.teacher-circulars-list>button small{color:#69827f;font-size:11px}.teacher-circulars-list>button b{color:#a06a00;grid-column:2;font-size:10px;font-weight:800}.teacher-circulars-list>button b.signed{color:#087443}.teacher-circular-read{padding:18px}.teacher-circular-read>header{padding:0 2px 14px}.teacher-circular-read>header span{color:#61817d;font-size:12px;font-weight:800}.teacher-circular-read h3{color:#0b4b54;margin:4px 0;font-size:22px}.teacher-circular-read>header p{color:#66817e;margin:0;font-size:12px}.teacher-circular-file{background:#fbfefd;border:1px solid #d7e6e1;border-radius:13px;overflow:hidden}.teacher-circular-file>div{color:#1d5256;border-bottom:1px solid #e4efec;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;display:flex}.teacher-circular-file small{color:#6b8580;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.teacher-circular-file object{background:#fff;border:0;width:100%;height:520px;display:block}.teacher-circular-file img{object-fit:contain;max-width:100%;max-height:650px;margin:0 auto;display:block}.teacher-circular-signature{background:#f7fffb;border:1px solid #b9ddd1;border-radius:14px;gap:11px;margin-top:16px;padding:14px;display:grid}.teacher-circular-signature>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.teacher-circular-signature>header>div{color:#15575a;gap:9px;display:flex}.teacher-circular-signature>header svg{color:#1268c4;flex:none}.teacher-circular-signature strong,.teacher-circular-signature small{display:block}.teacher-circular-signature small{color:#66817c;margin-top:3px;font-size:11px;line-height:1.6}.teacher-circular-signature>header .outline-button{white-space:nowrap;padding:7px 9px;font-size:11px}.teacher-circular-signature-pad{touch-action:none;cursor:crosshair;background:#fff;border:1px dashed #75b4a3;border-radius:10px;width:100%;height:165px;display:block}.teacher-circular-signature .primary-button{justify-self:start}.teacher-circular-signed{color:#087443;background:#effcf4;border:1px solid #a9ddc3;border-radius:14px;align-items:center;gap:11px;margin-top:16px;padding:14px;display:flex}.teacher-circular-signed>svg{flex:none}.teacher-circular-signed div{gap:4px;display:grid}.teacher-circular-signed span{color:#477e63;font-size:11px}.teacher-circular-signed img{object-fit:contain;background:#fff;border:1px solid #cce7d8;border-radius:7px;width:112px;height:40px;margin-right:auto}@media (width<=850px){.teacher-circulars-layout{grid-template-columns:1fr}.teacher-circulars-list{max-height:320px;overflow:auto}}@media (width<=560px){.teacher-circulars-head{padding:17px}.teacher-circulars-head h2{font-size:21px}.teacher-circulars-head p{font-size:12px}.teacher-circular-read{padding:13px}.teacher-circular-read h3{font-size:19px}.teacher-circular-file object{height:420px}.teacher-circular-signature{padding:11px}.teacher-circular-signature>header{flex-direction:column;align-items:flex-start}.teacher-circular-signature-pad{height:150px}.teacher-circular-signed{flex-wrap:wrap;align-items:flex-start}.teacher-circular-signed img{margin-right:0}}.vice-absence-queue{background:#fff;border:1px solid #d5e5ef;border-radius:18px;gap:15px;margin-top:18px;padding:22px;display:grid;box-shadow:0 12px 28px #19436112}.vice-absence-queue>header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.vice-absence-queue header>div{min-width:0}.vice-absence-queue header span{color:#5d819a;font-size:12px;font-weight:800}.vice-absence-queue h3{color:var(--navy);margin:4px 0;font-size:20px}.vice-absence-queue header p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.7}.vice-absence-queue-tools{background:#f7fbfe;border:1px solid #d5e7f2;border-radius:13px;justify-content:space-between;align-items:end;gap:12px;padding:12px 14px;display:flex}.vice-absence-queue-tools label{color:#4c6e85;gap:6px;font-size:12px;font-weight:800;display:grid}.vice-absence-queue-tools input{min-height:40px;color:var(--ink);font:inherit;background:#fff;border:1px solid #bed9ed;border-radius:9px;padding:8px}.vice-absence-queue-tools>span{color:#597387;font-size:13px}.vice-absence-queue-tools b{color:var(--navy)}.vice-absence-queue-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.vice-absence-queue-summary article{background:#fbfdff;border:1px solid #dce8ef;border-radius:12px;gap:5px;padding:12px 14px;display:grid}.vice-absence-queue-summary span{color:#5f7a8f;font-size:12px}.vice-absence-queue-summary strong{color:var(--navy);font-size:21px}.vice-absence-queue-list{gap:8px;display:grid}.vice-absence-queue-list>article{background:#fff;border:1px solid #e0e9ef;border-radius:13px;grid-template-columns:minmax(180px,1fr) auto auto auto;align-items:center;gap:12px;padding:13px 14px;display:grid}.vice-absence-queue-list article>div:first-child{gap:4px;min-width:0;display:grid}.vice-absence-queue-list article>div:first-child strong{overflow-wrap:anywhere;color:var(--navy)}.vice-absence-queue-list small{color:#668092;font-size:12px}.vice-absence-status,.vice-absence-waiting{text-align:center;white-space:nowrap;border-radius:999px;justify-content:center;padding:6px 9px;font-size:11px;font-weight:800;display:inline-flex}.vice-absence-status.unexcused{color:#af3f34;background:#fff0ed}.vice-absence-status.excused{color:#28754d;background:#eaf7ef}.vice-absence-status.special{color:#6d51a5;background:#f1edff}.vice-absence-total{justify-items:center;gap:1px;min-width:74px;display:grid}.vice-absence-total strong{color:var(--navy);font-size:20px}.vice-absence-total span{color:#657f91;white-space:nowrap;font-size:10px}.vice-absence-waiting{color:#8a6415;background:#fff8e5}@media (width<=720px){.vice-absence-queue{padding:16px}.vice-absence-queue>header{flex-direction:column;align-items:stretch}.vice-absence-queue>header .outline-button{justify-content:center}.vice-absence-queue-tools{flex-direction:column;align-items:stretch}.vice-absence-queue-tools label{width:100%}.vice-absence-queue-summary{grid-template-columns:1fr}.vice-absence-queue-list>article{grid-template-columns:1fr 1fr;gap:9px}.vice-absence-queue-list article>div:first-child{grid-column:1/-1}.vice-absence-status,.vice-absence-waiting{white-space:normal}.vice-absence-total{justify-items:start}}@media (width<=580px){.teacher-evidence-admin-list article{grid-template-columns:minmax(0,1fr) auto}.teacher-evidence-admin-list .outline-button{grid-column:1/-1;width:100%}.teacher-evidence-admin-report-head .primary-button{justify-content:center;width:100%}.teacher-evidence-admin-records article{padding:13px}.teacher-evidence-admin-records h4{font-size:17px}}.vice-absence-queue-list>article{grid-template-columns:minmax(180px,1fr) auto auto minmax(116px,.4fr) auto auto}.vice-absence-contact{color:#8a6415;background:#fff8e5;border-radius:10px;gap:3px;padding:7px 9px;display:grid}.vice-absence-contact.complete{color:#276e4b;background:#eaf7ef}.vice-absence-contact strong{font-size:11px}.vice-absence-contact small{font-size:10px;line-height:1.5}.vice-absence-contact-button,.vice-absence-referral-button{white-space:nowrap;justify-content:center;align-items:center;gap:5px;padding:8px 10px;font-size:11px;display:inline-flex}.vice-absence-referral-button{color:#176b9e;background:#f4faff;border-color:#b9d8ee}.vice-absence-counselor-response{color:#276e4b;background:#f1fbf5;border:1px solid #cbe5d6;border-radius:10px;grid-column:1/-1;padding:11px 12px}.vice-absence-counselor-response strong{font-size:12px}.vice-absence-counselor-response p{color:#315a46;white-space:pre-wrap;margin:5px 0;font-size:12px;line-height:1.7}.vice-absence-counselor-response small{color:#4d7662;font-size:11px;line-height:1.7}.absence-contact-dialog{max-width:510px}.absence-contact-dialog>p{color:#5d7588;margin:0;line-height:1.7}.absence-contact-dialog>p strong{color:var(--navy)}.absence-contact-dialog label{color:#35566e;gap:6px;font-size:12px;font-weight:800;display:grid}.absence-contact-dialog select,.absence-contact-dialog textarea{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #cbddeb;border-radius:10px;padding:10px}.absence-contact-dialog textarea{resize:vertical;min-height:110px;line-height:1.7}@media (width<=720px){.vice-absence-queue-list>article{grid-template-columns:1fr 1fr;gap:9px}.vice-absence-contact{grid-column:1/-1}.vice-absence-contact-button,.vice-absence-referral-button{grid-column:1/-1;width:100%}}.counselor-absence-referrals{background:#fff;border:1px solid #d5e5ef;border-radius:18px;gap:15px;margin-top:18px;padding:22px;display:grid;box-shadow:0 12px 28px #19436112}.counselor-absence-referrals>header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.counselor-absence-referrals>header span{color:#5d819a;font-size:12px;font-weight:800}.counselor-absence-referrals h3{color:var(--navy);margin:4px 0;font-size:20px}.counselor-absence-referrals>header p{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.7}.counselor-absence-referral-count{color:#45687f;background:#f5fbff;border:1px solid #d7e8f2;border-radius:12px;align-items:center;gap:9px;padding:11px 13px;font-size:12px;display:flex}.counselor-absence-referral-count strong{color:#fff;background:#187bc0;border-radius:50%;place-items:center;min-width:28px;height:28px;font-size:14px;display:grid}.counselor-absence-referral-list{gap:10px;display:grid}.counselor-absence-referral-list>article{background:#fbfdff;border:1px solid #dce8ef;border-radius:14px;gap:12px;padding:15px;display:grid}.counselor-absence-referral-list>article>header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.counselor-absence-referral-list header>div{gap:4px;min-width:0;display:grid}.counselor-absence-referral-list header strong{color:var(--navy);overflow-wrap:anywhere}.counselor-absence-referral-list header small,.counselor-absence-referral-list dd small{color:#658095;font-size:11px}.counselor-absence-referral-list dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;display:grid}.counselor-absence-referral-list dl>div{background:#fff;border:1px solid #deebf2;border-radius:10px;padding:10px 11px}.counselor-absence-referral-list dt{color:#547288;margin-bottom:5px;font-size:11px;font-weight:800}.counselor-absence-referral-list dd{color:#294c64;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.7}@media (width<=720px){.counselor-absence-referrals{padding:16px}.counselor-absence-referrals>header{flex-direction:column;align-items:stretch}.counselor-absence-referrals>header .outline-button{justify-content:center}.counselor-absence-referral-list dl{grid-template-columns:1fr}}.counselor-absence-action-summary{color:#276e4b;background:#f1fbf5;border:1px solid #cbe5d6;border-radius:10px;gap:5px;padding:11px 12px;display:grid}.counselor-absence-action-summary strong{font-size:12px}.counselor-absence-action-summary span,.counselor-absence-action-summary small{color:#4d7662;font-size:11px}.counselor-absence-action-summary p{color:#315a46;white-space:pre-wrap;margin:0;font-size:12px;line-height:1.7}.counselor-absence-action-button{justify-content:center;justify-self:start;align-items:center;display:inline-flex}@media (width<=720px){.counselor-absence-action-button{width:100%}}.vice-absence-decision-list{gap:8px;margin:10px 0;display:grid}.vice-absence-decision-actions{background:#fff9ea;border:1px solid #f0d39a;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.vice-absence-decision-actions span{margin-inline-end:auto;font-size:13px;font-weight:700}.vice-absence-decision-actions button{min-width:145px}@media (width<=720px){.vice-absence-decision-actions{flex-direction:column;align-items:stretch}.vice-absence-decision-actions span{margin-inline-end:0}.vice-absence-decision-actions button{width:100%}}.absence-message-log{background:#fff;border:1px solid #c9dff0;border-radius:14px;margin-top:18px;padding:16px}.absence-message-log>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.absence-message-log-actions{flex-wrap:wrap;gap:8px;display:flex}.absence-message-log-list{gap:8px;margin-top:12px;display:grid}.absence-message-log-list article{background:#f8fbfd;border:1px solid #dbe8f2;border-radius:10px;grid-template-columns:minmax(130px,1fr) auto;gap:4px 12px;padding:11px;display:grid}.absence-message-log-list article small{grid-column:1/-1;line-height:1.6}.absence-message-log-list article time{color:#64748b;font-size:.82rem}@media (width<=700px){.absence-message-log>header{display:block}.absence-message-log-actions{margin-top:10px}.absence-message-log-list article{grid-template-columns:1fr}.absence-message-log-list article span,.absence-message-log-list article time{font-size:.85rem}}.absence-case-total{color:#b42318;font-size:1.1em}.absence-days-badge{color:#b42318;margin-inline-start:10px;font-size:.9em;font-weight:700;display:inline-block}.school-absence-stage-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;display:grid}.school-absence-stage-card{background:#fbfdff;border:1px solid #cfe1ed;border-radius:16px;overflow:hidden}.school-absence-stage-card>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:18px;list-style:none;display:flex}.school-absence-stage-card>summary::-webkit-details-marker{display:none}.school-absence-stage-card>summary>div:first-child{gap:4px;display:grid}.school-absence-stage-card summary span{color:#607f94;font-size:12px;font-weight:700}.school-absence-stage-card summary strong{color:var(--navy);font-size:18px}.school-absence-stage-card summary small{color:#658095;font-size:12px}.school-absence-stage-card[open]{background:#fff;border-color:#9fc6df;grid-column:1/-1}.school-absence-stage-card[open]>summary{background:#f5fbff;border-bottom:1px solid #e1edf3}.school-absence-stage-stats{text-align:left;grid-template-columns:auto auto auto;align-items:center;gap:6px;display:grid!important}.school-absence-stage-stats b{color:#12679b;background:#eaf5ff;border-radius:50%;place-items:center;min-width:30px;height:30px;font-size:13px;display:grid}.school-absence-stage-stats i{font-size:18px;font-style:normal;transition:transform .2s}.school-absence-stage-card[open] .school-absence-stage-stats i{transform:rotate(180deg)}.school-absence-stage-students{padding:14px}.school-absence-stage-card:not([open]){min-height:140px}@media (width<=720px){.school-absence-stage-grid{grid-template-columns:1fr}.school-absence-stage-card[open]{grid-column:auto}.school-absence-stage-card>summary{padding:15px}.school-absence-stage-students{padding:10px}}.school-absence-correction-toolbar{background:#fff9f7;border:1px solid #f0c7bf;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.school-absence-correction-toolbar>div{gap:4px;display:grid}.school-absence-correction-toolbar strong{color:#923620;font-size:14px}.school-absence-correction-toolbar p{color:#805e55;margin:0;font-size:12px;line-height:1.7}.absence-correction-all-button{color:#a02e27;font:inherit;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #c8483f;border-radius:10px;padding:10px 13px;font-weight:800}.absence-correction-all-button:hover:not(:disabled){background:#fff0ee}.absence-correction-all-button:disabled{opacity:.55;cursor:not-allowed}.school-absence-correction-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding-top:2px;display:flex}.school-absence-correction-actions button{min-height:38px}@media (width<=720px){.school-absence-correction-toolbar{flex-direction:column;align-items:stretch}.absence-correction-all-button,.school-absence-correction-actions button{justify-content:center;width:100%}.school-absence-correction-actions{grid-template-columns:1fr;display:grid}}.portfolio-correction-settings{background:linear-gradient(145deg,#fff,#fff8f7);border:1px solid #f0c8c3;border-radius:15px;gap:13px;padding:16px;display:grid}.portfolio-correction-settings-head,.portfolio-correction-settings-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.portfolio-correction-settings-head h3{color:#173d5b;margin:0;font-size:16px}.portfolio-correction-settings-head p,.portfolio-signature-help{color:#6b8192;margin:4px 0 0;font-size:12px;line-height:1.7}.portfolio-correction-color{color:#415e73;align-items:center;gap:8px;font-size:12px;font-weight:800;display:flex}.portfolio-correction-color input{cursor:pointer;background:#fff;border:1px solid #d8e3eb;border-radius:8px;width:42px;height:36px;padding:3px}.portfolio-signature-modes{flex-wrap:wrap;gap:10px;display:flex}.portfolio-signature-modes label{color:#36566e;cursor:pointer;background:#fff;border:1px solid #dce7ef;border-radius:10px;align-items:center;gap:7px;padding:9px 12px;font-size:12px;font-weight:800;display:flex}.portfolio-signature-modes input{accent-color:#d62828}.portfolio-signature-upload{color:#637b8d;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;display:flex}.portfolio-signature-upload .outline-button{position:relative;overflow:hidden}.portfolio-signature-upload input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.portfolio-signature-upload img{object-fit:contain;background-color:#fff;background-image:linear-gradient(45deg,#f3f5f7 25%,#0000 25%),linear-gradient(-45deg,#f3f5f7 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#f3f5f7 75%),linear-gradient(-45deg,#0000 75%,#f3f5f7 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px dashed #e0b7b2;border-radius:9px;width:180px;height:72px;padding:6px}.portfolio-correction-note{gap:6px;display:grid}.portfolio-correction-note label{color:#415e73;font-size:12px;font-weight:800}.portfolio-correction-note textarea{resize:vertical;color:#23445e;min-height:68px;font:inherit;background:#fff;border:1px solid #d4e1e9;border-radius:10px;padding:10px 12px}.portfolio-correction-settings-actions .portfolio-correct-all,.portfolio-correction-student,.portfolio-correction-slot-action{color:#fff;font:inherit;cursor:pointer;background:#d62828;border:1px solid #bd3930;border-radius:9px;justify-content:center;align-items:center;gap:5px;font-size:12px;font-weight:800;display:inline-flex}.portfolio-correction-settings-actions .portfolio-correct-all{min-height:40px;padding:8px 13px}.portfolio-correction-settings-actions .portfolio-correct-all:disabled,.portfolio-correction-student:disabled,.portfolio-correction-slot-action:disabled{opacity:.55;cursor:not-allowed}.portfolio-correction-settings-actions .outline-button{align-items:center;gap:6px;display:inline-flex}.portfolio-correction-message{color:#267052;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:800;display:flex}.student-portfolio-student-name{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.student-portfolio-class-actions{background:#f6fbff;border:1px solid #dceaf3;border-radius:14px;gap:12px;margin:14px 0;padding:14px 15px;display:grid}.student-portfolio-class-actions-head{color:#1d4b6d;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:800;display:flex}.student-portfolio-class-actions-row{flex-wrap:wrap;gap:10px;display:flex}.student-portfolio-class-actions-row .portfolio-correct-all,.student-portfolio-class-actions-row .outline-button{min-height:42px;font:inherit;border-radius:12px;justify-content:center;align-items:center;gap:7px;padding:10px 16px;font-size:12px;font-weight:800;display:inline-flex}.student-portfolio-class-actions-row .portfolio-correct-all{color:#fff;cursor:pointer;background:#d62828;border:0}.student-portfolio-class-actions-row .portfolio-correct-all:disabled{opacity:.55;cursor:not-allowed}.student-portfolio-class-actions-row .outline-button{color:#1b4467;background:#fff;border:1px solid #d7e4ef}.student-portfolio-class-actions-row .outline-button:disabled{opacity:.55;cursor:not-allowed}.portfolio-correction-student{min-height:32px;padding:5px 9px}.portfolio-correction-slot-action{min-height:30px;margin-top:5px;padding:5px 9px}.portfolio-corrected-label{color:#a62b24;font-weight:800}.portfolio-preview-image-wrap{max-width:100%;max-height:calc(100dvh - 195px);line-height:0;display:inline-block;position:relative}.portfolio-preview-content.image .portfolio-preview-image-wrap>img{object-fit:contain;max-width:100%;max-height:calc(100dvh - 195px);display:block}.portfolio-preview-pdf-wrap{width:100%;height:100%;min-height:560px;position:relative}.portfolio-preview-content.pdf .portfolio-preview-pdf-wrap iframe{background:#fff;border:0;width:100%;height:100%;min-height:560px;display:block}.portfolio-preview-download-wrap{text-align:center;color:#41647c;max-width:360px;padding:30px;position:relative}.portfolio-preview-download-wrap svg{color:#e05c3c}.portfolio-preview-download-wrap h2{color:#163d5f;margin:13px 0 6px;font-size:19px}.portfolio-preview-download-wrap p{margin:0;font-size:13px;line-height:1.8}.portfolio-correction-stamp{z-index:5;border:1px solid color-mix(in srgb,currentColor 30%,transparent);max-width:min(220px,65%);box-shadow:none;text-align:left;pointer-events:none;direction:ltr;background:#ffffff0a;border-radius:4px;justify-items:start;gap:1px;padding:4px 6px;font-size:10px;font-weight:800;line-height:1.2;display:grid;position:absolute;bottom:14px;left:12px;right:auto}.portfolio-correction-stamp>span,.portfolio-correction-stamp>strong,.portfolio-correction-stamp>time{text-align:left;direction:rtl;font-weight:800}.portfolio-correction-stamp>strong{font-size:11.5px}.portfolio-correction-stamp time{z-index:2;margin-top:-6px;font-size:9px;position:relative}.portfolio-correction-date{direction:rtl;unicode-bidi:isolate;flex-direction:row;align-items:center;gap:1px;font-weight:800;display:flex}.portfolio-correction-date bdi{direction:ltr;unicode-bidi:isolate}.portfolio-correction-date i{font-style:normal}.portfolio-correction-uploaded-signature{opacity:.95;background-color:currentColor;width:86px;height:30px;display:block;-webkit-mask-position:0;mask-position:0;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.portfolio-correction-signature{opacity:.95;width:88px;height:30px;display:block;overflow:visible}.student-subject-grid>article>header .outline-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:7px 10px;font-size:11px;display:inline-flex}.student-subject-grid>article>header .outline-button:disabled{opacity:.55;cursor:not-allowed}@media (width<=600px){.portfolio-correction-settings{padding:12px}.portfolio-correction-settings-actions{flex-direction:column;align-items:stretch}.portfolio-correction-settings-actions button{justify-content:center}.portfolio-correction-stamp{font-size:9px;bottom:12px;left:10px}.portfolio-preview-image-wrap,.portfolio-preview-content.image .portfolio-preview-image-wrap>img{max-height:calc(100dvh - 165px)}.portfolio-preview-pdf-wrap,.portfolio-preview-content.pdf .portfolio-preview-pdf-wrap iframe{height:100%;min-height:0}.student-portfolio-class-actions-row{flex-direction:column}.student-portfolio-class-actions-row .portfolio-correct-all,.student-portfolio-class-actions-row .outline-button{width:100%}}.administrator-scan-frame,.lesson-scan-frame{pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.administrator-scan-frame{z-index:1}.administrator-scan-frame>span,.lesson-scan-frame>span{border:3px solid #38bdf8;border-radius:17px;width:min(330px,72%);height:min(270px,75%);display:block;box-shadow:0 0 0 9999px #00000052,0 0 25px #38bdf859}.administrator-scan-frame>i,.lesson-scan-frame>i{color:#fff;background:#07131dd6;border-radius:999px;padding:6px 14px;font-size:11px;font-style:normal;position:absolute;top:calc(50% + 150px)}.lesson-camera-stage{background:#0f172a;border-radius:14px;position:relative;overflow:hidden}.lesson-camera-stage video{object-fit:cover;width:100%;max-height:360px;display:block}.lesson-scan-frame{z-index:1}.administrator-video>span{z-index:2}.student-excuses{gap:20px;display:grid}.student-excuses-heading{color:#fff;background:linear-gradient(125deg,#075a62,#0b877a);border-radius:20px;justify-content:space-between;align-items:center;gap:24px;padding:26px 30px;display:flex}.student-excuses-heading span,.student-excuse-log header span{opacity:.8;font-size:13px}.student-excuses-heading h2{margin:5px 0;font-size:28px}.student-excuses-heading p{color:#e3f6ef;max-width:760px;margin:0;line-height:1.8}.student-excuse-create,.student-excuse-log{background:#fff;border:1px solid #d8e8e1;border-radius:18px;padding:24px}.student-excuse-create>header>div,.student-excuse-log>header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.student-excuse-create h3,.student-excuse-log h3{color:#124d50;margin:0 0 5px;font-size:21px}.student-excuse-create p,.student-excuse-log p{color:#6a827d;margin:0;line-height:1.75}.student-excuse-create header svg{color:#078376;vertical-align:middle;margin-left:9px}.student-excuse-search{margin-top:19px;position:relative}.student-excuse-search label{color:#35615d;gap:7px;font-size:13px;display:grid}.student-excuse-search input,.student-excuse-options select,.student-excuse-options input,.student-excuse-filters input,.student-excuse-filters select{color:#183f42;width:100%;font:inherit;background:#fff;border:1px solid #c8ded5;border-radius:10px;padding:11px 13px}.student-excuse-search svg{color:#6f9690;position:absolute;bottom:11px;left:13px}.student-excuse-search input{padding-left:43px}.student-excuse-results{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:9px;max-height:245px;padding:10px 0;display:grid;overflow:auto}.student-excuse-results button{text-align:right;cursor:pointer;color:#174448;background:#fbfffd;border:1px solid #cfe2da;border-radius:11px;gap:3px;padding:12px;display:grid}.student-excuse-results button:hover{background:#edf9f3;border-color:#078376}.student-excuse-results span{color:#5b7873;font-size:13px}.student-excuse-results small{color:#246070}.student-excuse-selected{color:#22664f;background:#effbf4;border:1px solid #9cd9c3;border-radius:11px;align-items:center;gap:10px;margin-top:7px;padding:11px 13px;display:flex}.student-excuse-selected div{gap:3px;display:grid}.student-excuse-selected span{color:#5c7972;font-size:13px}.student-excuse-options{grid-template-columns:1fr 1fr auto;align-items:end;gap:13px;margin-top:17px;display:grid}.student-excuse-options label{color:#35615d;gap:7px;font-size:13px;display:grid}.student-excuse-options .primary-button{white-space:nowrap;min-height:43px}.student-excuse-log>header{padding-bottom:18px}.student-excuse-actions{flex-wrap:wrap;gap:9px;display:flex}.student-excuse-filters{background:#f3faf6;border-radius:12px;grid-template-columns:minmax(240px,2fr) 1fr 1fr;gap:10px;margin-bottom:16px;padding:13px;display:grid}.student-excuse-filters label{position:relative}.student-excuse-filters label svg{color:#71938b;position:absolute;top:11px;right:11px}.student-excuse-filters input{padding-right:36px}.student-excuse-table-wrap{border:1px solid #dceae4;border-radius:12px;overflow:auto}.student-excuse-table-wrap table{border-collapse:collapse;width:100%;min-width:1070px}.student-excuse-table-wrap th,.student-excuse-table-wrap td{text-align:right;vertical-align:middle;border-bottom:1px solid #e3eee9;padding:10px;font-size:13px}.student-excuse-table-wrap th{color:#26534f;white-space:nowrap;background:#eaf4ef;font-weight:700}.student-excuse-table-wrap td strong,.student-excuse-table-wrap td small{display:block}.student-excuse-table-wrap td small{color:#6d8882;margin-top:3px}.student-excuse-status{white-space:nowrap;border-radius:30px;padding:5px 9px;font-size:12px;display:inline-block}.student-excuse-status.pending{color:#9b6100;background:#fff4db}.student-excuse-status.approved{color:#177046;background:#e5f8eb}.student-excuse-status.rejected{color:#af3030;background:#fff0f0}.student-excuse-signature{object-fit:contain;background:#fff;width:95px;height:35px;display:block}.student-excuse-log .teacher-empty{text-align:center;padding:26px}.student-excuse-whatsapp-fallback{color:#086f63;background:#f1fbf6;border:1px solid #9bcabb;border-radius:10px;justify-content:center;align-items:center;gap:7px;margin-top:10px;padding:10px;font-size:13px;font-weight:700;text-decoration:none;display:flex}@media (width<=760px){.student-excuses-heading{padding:20px}.student-excuses-heading h2{font-size:23px}.student-excuse-create,.student-excuse-log{padding:16px}.student-excuse-options,.student-excuse-filters{grid-template-columns:1fr}.student-excuse-create>header>div,.student-excuse-log>header{flex-direction:column}.student-excuse-actions{width:100%}.student-excuse-actions button{flex:1}.student-excuse-results{grid-template-columns:1fr}}.teacher-circulars-list{max-height:min(72vh,720px);overflow-y:auto}.teacher-circular-read>header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.teacher-circular-read>header>div{min-width:0}.teacher-circular-read>header>div span{color:#61817d;font-size:12px;font-weight:800}.teacher-circular-read>header>div h3{color:#0b4b54;margin:4px 0;font-size:22px}.teacher-circular-read>header>div p{color:#66817e;margin:0;font-size:12px}.teacher-circular-close{white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:5px;padding:7px 9px;font-size:11px;display:inline-flex}@media (width<=560px){.teacher-circulars-list{max-height:280px}.teacher-circular-read>header{flex-direction:column}.teacher-circular-close{align-self:flex-start}.teacher-circular-read>header>div h3{font-size:19px}}.school-term-readonly{color:#3d6a62;background:#f2fbf6;border:1px solid #c9e5d8;border-radius:11px;margin:16px 0 0;padding:11px 13px;font-size:13px}.school-term-readonly strong{color:#0b7869}.academic-terms{gap:18px;max-width:1280px;display:grid}.academic-terms-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.academic-terms-head h2,.academic-terms-head h3{color:#123f59;margin:4px 0}.academic-terms-head h2{font-size:29px}.academic-terms-head h3{font-size:21px}.academic-terms-head p{color:#607c78;max-width:760px;margin:0;line-height:1.8}.academic-term-notice{color:#136c53;background:#effbf5;border:1px solid #b8dfcd;border-radius:12px;margin:0;padding:12px 15px;line-height:1.7}.academic-term-current{background:linear-gradient(135deg,#effcf5,#f9fffc);border:1px solid #7dd3b6;border-radius:18px;justify-content:space-between;align-items:center;gap:25px;padding:23px 27px;display:flex;box-shadow:0 8px 22px #06785a14}.academic-term-current>div{gap:3px;display:grid}.academic-term-current span{color:#487a6e;font-size:13px}.academic-term-current h3{color:#0b665d;margin:0;font-size:25px}.academic-term-current strong{color:#143e56;font-size:18px}.academic-term-current small{color:#76938d}.academic-term-current p{color:#52726d;max-width:500px;margin:0;line-height:1.85}.academic-term-create,.academic-term-history,.academic-term-archive{background:#fff;border:1px solid #d7e8e1;border-radius:18px;padding:23px 26px}.academic-term-create h3{color:#124b54;margin:4px 0 6px;font-size:22px}.academic-term-create p{color:#65807b;margin:0;line-height:1.8}.academic-term-fields{grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin-top:19px;display:grid}.academic-term-fields label{color:#34635c;gap:6px;font-size:13px;font-weight:700;display:grid}.academic-term-fields input,.academic-term-fields select{color:#133f44;min-width:0;font:inherit;background:#fff;border:1px solid #c7ddd4;border-radius:10px;padding:11px 12px}.academic-term-open{white-space:nowrap;min-height:44px}.academic-term-warning{background:#fff7e9;border-radius:10px;padding:10px 12px;font-size:13px;color:#956313!important;margin-top:13px!important}.academic-term-cards{grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:13px;display:grid}.academic-term-cards>article{background:#fbfefd;border:1px solid #d8e9e3;border-radius:14px;gap:14px;padding:16px;display:grid}.academic-term-cards header,.academic-term-cards footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.academic-term-cards header span{color:#5f827a;font-size:12px}.academic-term-cards h4{color:#143f58;margin:3px 0;font-size:18px}.academic-term-cards header small{color:#78908c;font-size:11px}.academic-term-cards dl{grid-template-columns:repeat(3,1fr);gap:7px;margin:0;display:grid}.academic-term-cards dl div{text-align:center;background:#eef8f3;border-radius:9px;gap:3px;padding:8px;display:grid}.academic-term-cards dt{color:#6b8881;font-size:11px}.academic-term-cards dd{color:#116d61;margin:0;font-size:16px;font-weight:800}.academic-term-cards footer{flex-wrap:wrap;justify-content:flex-start}.academic-term-archive{border-color:#9fd6c3;gap:16px;display:grid}.academic-term-archive>header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.academic-term-archive header span{color:#5f8179;font-size:12px}.academic-term-archive h3{color:#104857;margin:4px 0;font-size:22px}.academic-term-archive p{color:#708781;margin:0;font-size:13px}.academic-term-archive-stats{flex-wrap:wrap;gap:8px;display:flex}.academic-term-archive-stats span{color:#22665a;background:#edf8f2;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}.academic-term-subjects{background:#f4faf7;border-radius:10px;color:#315c57!important;padding:10px 12px!important}.academic-term-students{border:1px solid #d8e8e1;border-radius:11px;max-height:420px;overflow:auto}.academic-term-students table{border-collapse:collapse;width:100%;min-width:600px}.academic-term-students th,.academic-term-students td{text-align:right;border-bottom:1px solid #e1eee8;padding:10px 12px;font-size:13px}.academic-term-students th{color:#25574f;background:#eaf6f0;position:sticky;top:0}.academic-term-students td{color:#345853}@media (width<=760px){.academic-terms-head,.academic-term-current,.academic-term-archive>header{flex-direction:column}.academic-terms-head .secondary-button{width:100%}.academic-term-current{align-items:flex-start;padding:19px}.academic-term-create,.academic-term-history,.academic-term-archive{padding:17px}.academic-term-fields{grid-template-columns:1fr}.academic-term-open{width:100%}.academic-term-cards{grid-template-columns:1fr}.academic-term-archive-stats span{text-align:center;width:100%}.academic-terms-head h2{font-size:24px}}.textbooks{color:#173d5b;background:#fff;border:1px solid #d8e7f1;border-radius:18px;padding:24px;box-shadow:0 12px 26px #102a430d}.textbooks-header{align-items:flex-start;gap:14px;display:flex}.textbooks-header-icon,.textbooks-card-icon{color:#1378bf;background:#eaf5ff;border-radius:12px;flex:none;place-items:center;width:48px;height:48px;display:grid}.textbooks-header span{color:#658198;font-size:12px}.textbooks-header h2{margin:4px 0 8px;font-size:22px}.textbooks-header p{color:#607b8e;margin:0;line-height:1.8}.textbooks-search{color:#6e899d;background:#f9fcfe;border:1px solid #ccdfeb;border-radius:11px;align-items:center;gap:9px;margin:22px 0;padding:0 12px;display:flex}.textbooks-search input{width:100%;font:inherit;color:#173d5b;background:0 0;border:0;outline:0;padding:12px 0}.textbooks-stage{margin-top:24px}.textbooks-stage h3{margin:0 0 12px;font-size:16px}.textbooks-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.textbooks-grid a{color:#17446a;background:#fff;border:1px solid #d9e7f1;border-radius:12px;align-items:center;gap:11px;padding:13px;text-decoration:none;transition:border-color .15s,background .15s;display:flex}.textbooks-grid a:hover{background:#f5faff;border-color:#79b6dc}.textbooks-grid a>div:nth-child(2){flex:1;gap:5px;min-width:0;display:grid}.textbooks-grid a strong{font-size:14px}.textbooks-grid a small{color:#748b9c;font-size:12px}.textbooks-card-icon{width:40px;height:40px}.textbooks-source{color:#647f91;border-top:1px solid #e5edf3;margin:24px 0 0;padding-top:16px;font-size:12px;line-height:1.8}.textbooks-source a{color:#1476b7;align-items:center;gap:4px;display:inline-flex}.textbooks-empty{color:#647f91;padding:18px 0}@media (width<=600px){.textbooks{padding:16px}.textbooks-grid{grid-template-columns:1fr}.textbooks-header h2{font-size:19px}}.student-today-attendance{background:#f7fafc;border:1px solid #dce8ef;border-radius:11px;gap:4px;margin-top:12px;padding:10px 13px;display:grid}.student-today-attendance strong{color:#516d80;font-size:16px}.student-today-attendance small{color:#4b6a7b;font-size:12px}.student-today-attendance.present{background:#effaf4;border-color:#b4e4cc}.student-today-attendance.present strong{color:#12794c}.student-today-attendance.late{background:#fff7e9;border-color:#f0d09e}.student-today-attendance.late strong{color:#a35d0c}@media (width<=760px){.student-qr-card>img,.student-qr-card>.student-qr-placeholder{order:-1;align-self:center}}.portfolio-image-print-root{display:none}@page portfolio-image-page{size:A4 portrait;margin:8mm}@media print{body.portfolio-image-print-mode{page:portfolio-image-page}body.portfolio-image-print-mode>:not(.portfolio-image-print-root){display:none!important}body.portfolio-image-print-mode>.portfolio-image-print-root{background:#fff;justify-content:center;align-items:flex-start;width:100%;margin:0;padding:0;display:flex!important}body.portfolio-image-print-mode .portfolio-preview-image-wrap{break-inside:avoid;max-width:100%;max-height:none;line-height:0;display:inline-block;position:relative}body.portfolio-image-print-mode .portfolio-preview-image-wrap>img{object-fit:contain;border-radius:0;width:auto;max-width:100%;height:auto;max-height:270mm;display:block}body.portfolio-image-print-mode .portfolio-correction-stamp{-webkit-print-color-adjust:exact;print-color-adjust:exact;width:auto;max-width:65%;bottom:14px;left:12px;transform:none}}.auth-page:has(.auth-shell){background:#eef5f9;padding:32px 24px}.auth-page:has(.auth-shell):before{display:none}.auth-page:has(.auth-shell):after{display:none}.auth-page .auth-shell{grid-template-columns:minmax(0,1fr) minmax(320px,410px);align-items:center;gap:48px;width:min(1280px,100%)}.auth-page .auth-visual{gap:16px;min-width:0;padding:0}.auth-page .auth-visual-topbar{justify-content:flex-start;padding:0}.auth-visual-topbar img{object-fit:contain;width:43px;height:43px}.auth-page .auth-visual-brand{color:#0b365a;font-size:21px}.auth-page .auth-visual-badge{color:#176a91;background:#e4f3fa;border:0;margin-inline-start:auto;padding:8px 13px}.auth-hero{background:#d8eefa;border-radius:23px;min-height:270px;position:relative;overflow:hidden}.auth-hero>img{object-fit:cover;object-position:center top;width:100%;height:100%;position:absolute;inset:0;transform:scaleX(-1)}.auth-hero:after{content:"";background:linear-gradient(270deg,#ecf8fcf7 0%,#ecf8fcf2 30%,#ecf8fc05 54%);position:absolute;inset:0}.auth-hero-copy{z-index:1;max-width:56%;padding:35px 30px;position:relative}.auth-hero-copy>span,.auth-services-heading span{color:#138b88;font-size:12px;font-weight:800}.auth-hero-copy h2{color:#103c60;margin:12px 0;font-size:clamp(24px,2.3vw,34px);line-height:1.45}.auth-hero-copy p{color:#42677e;margin:0;font-size:14px;line-height:1.85}.auth-services-heading{justify-content:space-between;align-items:end;gap:10px;display:flex}.auth-services-heading h3{color:#103857;margin:4px 0 0;font-size:20px}.auth-services-heading small{color:#6d8394;font-size:12px}.auth-page .auth-feature-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.auth-page .auth-feature-card{text-align:right;min-width:0;font:inherit;cursor:pointer;box-shadow:none;background:#fff;border-radius:14px;gap:10px;padding:12px;display:flex}.auth-page .auth-feature-card:hover,.auth-page .auth-feature-card:focus-visible{border-color:#197ac0}.auth-page .auth-feature-card.active{background:#eaf7ff;border-color:#1486c3;transform:none;box-shadow:0 5px 15px #1676a81a}.auth-page .auth-feature-icon{flex:none;width:42px;height:42px}.auth-page .auth-feature-copy{min-width:0}.auth-page .auth-feature-copy strong{font-size:13px}.auth-page .auth-feature-copy small{font-size:11px;line-height:1.5}.auth-page .auth-feature-glance{box-shadow:none;background:#e2f3f3;border:1px solid #c9e9e5;margin:0}.auth-page .auth-feature-glance p{line-height:1.7}.auth-page .auth-card{background:#fff;border:1px solid #dce8f0;width:100%;max-width:410px;box-shadow:0 20px 55px #23476717}.auth-page .auth-submit{cursor:pointer;min-height:49px}@media (width<=980px){.auth-page .auth-shell{grid-template-columns:1fr;gap:28px;max-width:720px}.auth-page .auth-card{order:0;justify-self:center}.auth-page .auth-visual{order:1}}@media (width<=600px){.auth-page:has(.auth-shell){padding:18px 14px 28px}.auth-page .auth-visual-badge{font-size:10px}.auth-hero{min-height:220px}.auth-hero-copy{max-width:68%;padding:25px 18px}.auth-hero-copy h2{font-size:23px}.auth-hero-copy p{font-size:12px}.auth-page .auth-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-page .auth-feature-card{padding:10px 8px}.auth-page .auth-feature-icon{width:35px;height:35px}.auth-services-heading small{font-size:10px}}@media (prefers-reduced-motion:reduce){.auth-page .auth-feature-card{transition:none}}.auth-page .auth-icon img{object-fit:contain;width:100%;height:100%}.auth-carousel{background:#fff;border:1px solid #d2e5ef;border-radius:19px;overflow:hidden;box-shadow:0 12px 28px #174b6810}.auth-carousel-slide{align-items:center;gap:22px;min-height:155px;padding:22px;animation:.55s both auth-slide-enter;display:flex}.auth-carousel-art{color:#147bb4;background:linear-gradient(145deg,#d6f4f1,#e8f4ff);border-radius:25px;flex:none;place-items:center;width:98px;height:98px;display:grid}.auth-carousel-art svg{stroke-width:1.5px;width:48px;height:48px}.auth-carousel-copy{flex:1;min-width:0}.auth-carousel-copy>span{color:#168a85;font-size:11px;font-weight:700}.auth-carousel-copy h4{color:#0c3e65;margin:4px 0;font-size:20px}.auth-carousel-copy strong{color:#356179;font-size:12px}.auth-carousel-copy p{color:#5a7588;margin:7px 0 0;font-size:13px;line-height:1.7}.auth-carousel-controls{border-top:1px solid #e7f0f3;justify-content:space-between;align-items:center;gap:10px;padding:10px 20px;display:flex}.auth-carousel-dots,.auth-carousel-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.auth-carousel-dots button{cursor:pointer;background:#c7dbe4;border:0;border-radius:8px;width:7px;height:7px;padding:0;transition:width .25s,background .25s}.auth-carousel-dots button.active{background:#1686bb;width:20px}.auth-carousel-actions button{color:#14689b;cursor:pointer;background:#f6fbfd;border:1px solid #dcebf2;border-radius:9px;place-items:center;width:32px;height:32px;display:grid}.auth-carousel button:focus-visible{outline-offset:2px;outline:3px solid #f3a734}@keyframes auth-slide-enter{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:translate(0)}}@media (width<=600px){.auth-carousel-slide{gap:13px;min-height:145px;padding:15px}.auth-carousel-art{border-radius:18px;width:65px;height:65px}.auth-carousel-art svg{width:33px;height:33px}.auth-carousel-copy h4{font-size:17px}.auth-carousel-controls{padding:10px 13px}}@media (prefers-reduced-motion:reduce){.auth-carousel-slide{animation:none}.auth-carousel-dots button{transition:none}}.auth-page .auth-logo-frame,.auth-page .auth-icon,.brand-mark{overflow:hidden}.auth-page .auth-logo-frame{border-radius:50%;flex:none;width:48px;height:48px}.auth-page .auth-logo-frame img,.auth-page .auth-icon img,.brand-mark img{object-fit:cover;object-position:center;width:100%;height:100%;display:block;transform:scale(1.22)}.auth-page .auth-icon{background:#f5fafb;border-radius:50%}.auth-page .auth-card .auth-icon{flex:none;width:78px;height:78px}.auth-page .auth-logo-frame{width:54px;height:54px}.backup-page{color:#123055;width:min(1160px,100%);margin:0 auto;padding:4px 0 34px}.backup-hero,.backup-card,.backup-confirm-card,.backup-warning{background:#fff;border:1px solid #d6e4f1;border-radius:20px;box-shadow:0 12px 30px #14375d12}.backup-hero{align-items:center;gap:16px;margin-bottom:16px;padding:24px 28px;display:flex}.backup-hero-icon{color:#0d74c6;background:#eaf5ff;border-radius:17px;flex:none;place-items:center;width:56px;height:56px;display:grid}.backup-hero span{color:#7188a2;margin-bottom:4px;font-size:.82rem;display:block}.backup-hero h2{margin:0;font-size:clamp(1.25rem,2.5vw,1.75rem)}.backup-hero p{color:#66809d;margin:6px 0 0;font-size:.92rem}.backup-warning{color:#835010;box-shadow:none;background:#fff9e9;border-color:#f1d391;align-items:flex-start;gap:12px;margin-bottom:16px;padding:15px 18px;display:flex}.backup-warning strong,.backup-warning span{display:block}.backup-warning span{color:#806640;margin-top:3px;font-size:.88rem;line-height:1.7}.backup-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.backup-card,.backup-confirm-card{padding:22px}.backup-card-title{color:#1574be;align-items:flex-start;gap:11px;margin-bottom:18px;display:flex}.backup-card-title h3{color:#123055;margin:0;font-size:1.12rem}.backup-card-title p{color:#7088a2;margin:5px 0 0;font-size:.87rem;line-height:1.65}.backup-card label,.backup-confirm-card label{color:#456382;gap:7px;margin:13px 0;font-size:.88rem;font-weight:700;display:grid}.backup-card input,.backup-confirm-card input{box-sizing:border-box;color:#16375c;width:100%;min-width:0;font:inherit;direction:rtl;background:#fff;border:1px solid #cbddec;border-radius:10px;padding:12px 13px}.backup-card input:focus,.backup-confirm-card input:focus{border-color:#1979ca;outline:3px solid #1879cc24}.backup-card button,.backup-confirm-card button{min-height:44px;font:inherit;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-weight:800;display:inline-flex}.backup-card button:disabled,.backup-confirm-card button:disabled{cursor:wait;opacity:.58}.backup-primary{color:#fff;background:#1476c6;border:1px solid #1476c6;width:100%}.backup-secondary{color:#126ab1;background:#f7fbff;border:1px solid #99c7ec;width:100%}.backup-card small{color:#7188a2;margin-top:12px;font-size:.79rem;line-height:1.7;display:block}.backup-file-input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.backup-file-button{color:#23618f;white-space:nowrap;text-overflow:ellipsis;background:#f8fcff;border:1px dashed #8fbde2;width:100%;overflow:hidden;justify-content:flex-start!important;min-height:48px!important}.backup-notice{border-radius:12px;margin:0 0 15px;padding:12px 15px;font-size:.9rem;line-height:1.6}.backup-notice.success{color:#186448;background:#effcf5;border:1px solid #a8dfc8}.backup-notice.error{color:#a3332b;background:#fff4f3;border:1px solid #f0b4b1}.backup-confirm-card{border-color:#e6c477;margin-top:17px}.backup-summary-heading{color:#217950;align-items:center;gap:10px;display:flex}.backup-summary-heading strong,.backup-summary-heading span{display:block}.backup-summary-heading span{color:#637d95;margin-top:2px;font-size:.85rem}.backup-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:16px;display:grid}.backup-summary-grid>div{background:#f8fbfd;border:1px solid #dce9f2;border-radius:11px;padding:11px 9px}.backup-summary-grid span,.backup-summary-grid strong{display:block}.backup-summary-grid span{color:#6b8298;min-height:30px;font-size:.77rem;line-height:1.35}.backup-summary-grid strong{color:#164b7c;margin-top:3px;font-size:1.05rem}.backup-summary>p{color:#5b7189;margin:12px 0 0;font-size:.86rem}.restore-danger{color:#873b25;background:#fff4ed;border-radius:11px;align-items:flex-start;gap:10px;margin:18px 0 4px;padding:13px;display:flex}.restore-danger p{margin:0;font-size:.88rem;line-height:1.7}.backup-restore-button{color:#fff;background:#c94c32;border:1px solid #c94c32;width:100%}@media (width<=760px){.backup-page{padding-bottom:20px}.backup-hero{border-radius:16px;align-items:flex-start;padding:18px}.backup-hero-icon{border-radius:14px;width:45px;height:45px}.backup-hero p{font-size:.84rem;line-height:1.6}.backup-warning,.backup-card,.backup-confirm-card{border-radius:15px}.backup-grid{grid-template-columns:1fr;gap:12px}.backup-card,.backup-confirm-card{padding:16px}.backup-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-card button,.backup-confirm-card button{width:100%}}.platform-dashboard{gap:20px;padding-bottom:28px;display:grid}.platform-dashboard-intro,.platform-schools-toolbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.platform-dashboard-intro h2,.platform-schools-toolbar h3{color:#1d344b;margin:4px 0}.platform-dashboard-intro p,.platform-schools-toolbar p{color:#66788a;margin:5px 0 0}.platform-dashboard-kicker{color:#16806b;font-size:12px;font-weight:700}.platform-dashboard-intro .secondary-button{flex:none;align-items:center;gap:8px;display:inline-flex}.platform-refreshing{animation:1s linear infinite platform-rotation}.platform-summary-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.platform-summary-card{color:#177966;background:#fff;border:1px solid #e1e9ef;border-radius:14px;gap:8px;min-height:118px;padding:16px;display:grid}.platform-summary-card span{color:#66788a;font-size:13px}.platform-summary-card strong{color:#1e354b;font-size:22px}.platform-schools-panel{background:#fff;border:1px solid #e1e9ef;border-radius:16px;min-width:0;padding:18px}.platform-schools-toolbar{margin-bottom:16px}.platform-search{color:#738497;border:1px solid #d6e0e8;border-radius:10px;align-items:center;gap:8px;width:min(390px,100%);padding:0 12px;display:flex}.platform-search input{color:#203247;background:0 0;border:0;outline:0;width:100%;min-height:42px}.platform-table-scroll{border:1px solid #e5ebf0;border-radius:12px;overflow-x:auto}.platform-schools-table{border-collapse:collapse;text-align:right;width:100%;min-width:1080px}.platform-schools-table th,.platform-schools-table td{vertical-align:top;border-bottom:1px solid #e9eef2;padding:12px}.platform-schools-table th{color:#52687a;white-space:nowrap;background:#f6f9fb;font-size:12px}.platform-schools-table td{color:#263b50;font-size:13px}.platform-schools-table td strong,.platform-schools-table td small{display:block}.platform-schools-table td small{color:#718294;margin-top:5px;line-height:1.6}.platform-school-name strong{max-width:210px}.platform-school-state{border-radius:999px;margin-top:7px;padding:4px 8px;font-size:11px;font-weight:700;display:inline-block}.platform-school-state.active{color:#14764f;background:#e6f6ef}.platform-school-state.suspended{color:#9b3f42;background:#fff0f0}.platform-action-list{gap:7px;min-width:165px;display:grid}.platform-action-list .secondary-button,.platform-suspend-button,.platform-delete-button{justify-content:center;align-items:center;gap:6px;width:100%;min-height:34px;font-size:12px;display:inline-flex}.platform-suspend-button{color:#9a5a09;cursor:pointer;background:#fff8ed;border:1px solid #f1c995;border-radius:8px;padding:7px 10px}.platform-suspend-button:disabled,.platform-action-list .secondary-button:disabled{opacity:.55;cursor:not-allowed}.platform-usage-status{white-space:nowrap;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:700;display:inline-block}.platform-usage-status.active{color:#14764f;background:#e6f6ef}.platform-usage-status.used_before{color:#94620b;background:#fff4df}.platform-usage-status.login_only{color:#435f90;background:#edf2fb}.platform-usage-status.not_started{color:#677582;background:#f1f3f5}.platform-teacher-details{color:#177966;margin-top:8px}.platform-teacher-details summary{cursor:pointer;font-size:12px}.platform-teacher-details ul{color:#40566b;background:#f5f8fa;border-radius:8px;max-height:180px;margin:8px 0 0;padding:8px 24px 8px 8px;overflow-y:auto}.platform-teacher-details li{padding:3px 0}.platform-empty,.platform-error{color:#647789;background:#f5f8fa;border-radius:10px;margin:14px 0;padding:14px}.platform-error{color:#a32e35;background:#fff0f0}.platform-storage-note,.platform-usage-note{color:#687c8e;align-items:flex-start;gap:7px;margin:14px 0 0;font-size:12px;line-height:1.7;display:flex}.platform-storage-note svg{flex:none;margin-top:2px}.platform-portal{width:min(1600px,100%);min-height:100vh;margin:0 auto;padding:20px}.platform-portal-header{border-bottom:1px solid #dfe7ed;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding-bottom:16px;display:flex}.platform-portal-header>div{color:#1d344b;gap:4px;display:grid}.platform-portal-header span{color:#66788a;font-size:13px}.platform-portal-header button{align-items:center;gap:8px;display:inline-flex}.platform-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.platform-password-panel{background:#fff;border:1px solid #d7e7e1;border-radius:16px;gap:16px;max-width:760px;margin:0 0 20px auto;padding:20px;display:grid}.platform-password-panel>header{color:#177966;align-items:flex-start;gap:10px;display:flex}.platform-password-panel h2{color:#1d344b;margin:0;font-size:20px}.platform-password-panel p{color:#66788a;margin:5px 0 0;font-size:13px;line-height:1.7}.platform-password-panel form{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.platform-password-panel label{color:#40596d;gap:6px;font-size:13px;display:grid}.platform-password-panel input{color:#1d344b;min-height:42px;font:inherit;border:1px solid #d2dfe7;border-radius:9px;padding:0 11px}.platform-password-panel form>div{grid-column:1/-1;justify-content:flex-end;align-items:end;gap:8px;display:flex}.platform-password-notice{color:#9a5a09;background:#fff8e9;border-radius:9px;margin:0;padding:10px 12px;font-size:13px}.platform-password-panel .platform-password-notice{grid-column:1/-1}.platform-password-success{color:#14764f;background:#e9f8ef;margin:0 0 18px}.platform-delete-button{color:#a52d34;background:#fff4f4;border:1px solid #f0c8c8;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700}.platform-delete-button:disabled{opacity:.6;cursor:wait}.platform-delete-backdrop{z-index:1200;background:#0f1c298c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.platform-delete-dialog{background:#fff;border:1px solid #e3eaf0;border-radius:16px;width:min(480px,100%);padding:22px;box-shadow:0 24px 80px #11233447}.platform-delete-dialog h3{color:#263b50;margin:0}.platform-delete-dialog>p{color:#687c8e;line-height:1.8}.platform-delete-dialog form,.platform-edit-form{gap:10px;display:grid}.platform-delete-dialog label,.platform-edit-form label{color:#40566b;gap:7px;font-size:13px;font-weight:700;display:grid}.platform-edit-form input,.platform-delete-dialog input{direction:rtl;border:1px solid #d6e0e8;border-radius:9px;width:100%;min-height:44px;padding:8px 12px}.platform-delete-dialog input:focus{border-color:#4892c3;outline:3px solid #4892c329}.platform-delete-dialog-actions{justify-content:flex-start;gap:10px;margin-top:8px;display:flex}.platform-delete-dialog-actions button{min-height:40px}.platform-password-visibility{color:#176fae;background:0 0;border:0;border-radius:6px;justify-self:start;margin-top:-10px;padding:4px 8px;font-size:13px}.platform-password-visibility:hover{background:#edf6fc}@keyframes platform-rotation{to{transform:rotate(360deg)}}@media (width<=720px){.platform-dashboard-intro,.platform-schools-toolbar{flex-direction:column;align-items:stretch}.platform-dashboard-intro .secondary-button,.platform-search{justify-content:center;width:100%}}
