@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#f6f8fb;--card:#fff;--text:#0b1f3a;--muted:#68768a;--line:#e4e9f0;--primary:#0b1f3a;--primary2:#12345b;--accent:#f47a1f;--green:#15803d;--red:#c62828;--orange:#f47a1f;--yellow:#a16207;--shadow:0 12px 34px rgba(11,31,58,.08);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Cairo,Tahoma,Arial,sans-serif;color:var(--text);background:var(--bg);font-size:14px;line-height:1.7}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}code{direction:ltr;display:inline-block;background:#f1f4f8;border:1px solid #e3e8ef;padding:3px 8px;border-radius:8px;font-size:12px}.hidden{display:none!important}.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 16px;border-radius:11px;border:1px solid #d6dce6;background:#fff;font-weight:800;color:#263245;transition:.18s ease;white-space:nowrap}.btn:hover{transform:translateY(-1px);border-color:#bec7d5;box-shadow:0 6px 16px rgba(15,23,42,.06)}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.success{background:#ecfdf3;border-color:#b7eac7;color:#12733b}.btn.danger{background:#fff1f1;border-color:#f2c4c4;color:#b42318}.btn.light{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.38);color:#fff}.btn.xs{min-height:32px;padding:5px 11px;border-radius:9px;font-size:12px}.btn.large{min-height:50px;padding:12px 22px}.full-btn{width:100%}.disabled-btn{opacity:.55;cursor:not-allowed}.disabled-btn:hover{transform:none;box-shadow:none}
.eyebrow{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.08em;color:#60708b;margin-bottom:3px}.app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#081a31 0%,#0b1f3a 55%,#12345b 100%);color:#d8e4f0;padding:22px 15px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:4px 7px 20px;border-bottom:1px solid rgba(255,255,255,.09)}.brand-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#f47a1f,#e9650d);color:#fff;font-weight:950;letter-spacing:-1px;box-shadow:0 6px 20px rgba(0,0,0,.18)}.brand strong{display:block;color:#fff;font-size:16px;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand small{display:block;color:#a9bdd2;font-size:11px}.sidebar nav{display:grid;gap:4px;margin-top:22px;overflow:auto;padding-left:2px}.sidebar nav a{position:relative;display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:11px;font-weight:700;color:#c6d3e0}.sidebar nav a>span{width:22px;text-align:center;font-size:15px}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(244,122,31,.18);color:#fff}.sidebar nav a.active:before{content:"";position:absolute;right:0;width:3px;height:20px;border-radius:3px;background:#f47a1f}.sidebar nav a.disabled{opacity:.5;cursor:not-allowed}.sidebar nav a em{font-size:9px;font-style:normal;margin-right:auto;background:rgba(255,255,255,.08);padding:1px 6px;border-radius:99px}.nav-badge{margin-right:auto;background:#ef4444;color:#fff;border-radius:99px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;font-size:10px}.sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.09);padding:16px 8px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.sidebar-footer span{font-weight:800;color:#fff;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer a{color:#ffb57e}.main-area{min-width:0}.topbar{height:74px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.topbar>div:nth-child(2){display:flex;flex-direction:column}.topbar small{font-size:10px;color:var(--muted)}.topbar strong{font-size:15px}.menu-btn{display:none;width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px}.top-actions{display:flex;align-items:center;gap:10px}.icon-link{position:relative;width:38px;height:38px;display:grid;place-items:center;background:#f7f9fc;border:1px solid var(--line);border-radius:11px}.icon-link i{position:absolute;top:-5px;left:-5px;background:#ef4444;color:#fff;border-radius:99px;min-width:18px;height:18px;display:grid;place-items:center;font-style:normal;font-size:9px;border:2px solid #fff}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#0b1f3a;color:#fff;font-weight:900}.content-wrap{padding:28px;max-width:1580px;margin:0 auto}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}.page-head h1{font-size:27px;line-height:1.25;margin:1px 0 5px;letter-spacing:-.5px}.page-head p{margin:0;color:var(--muted);max-width:820px}.head-actions,.landing-actions,.support-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.stats-grid{display:grid;gap:14px;margin-bottom:22px}.stats-grid.four{grid-template-columns:repeat(4,1fr)}.stats-grid.five{grid-template-columns:repeat(5,1fr)}.stats-grid.six{grid-template-columns:repeat(6,1fr)}.stat-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:19px;min-width:0;box-shadow:0 3px 12px rgba(15,23,42,.025)}.stat-card>span{display:block;color:#667085;font-weight:700;font-size:12px}.stat-card>b{display:block;font-size:29px;line-height:1.35;margin:5px 0;color:#101828;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-card>b.text-size{font-size:18px;margin:10px 0}.stat-card small{color:#98a2b3;font-size:10px}.stat-card.money b{font-size:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-bottom:18px;box-shadow:0 3px 12px rgba(15,23,42,.025)}.panel h2{margin:0 0 5px;font-size:18px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.panel-head h2{margin:0;font-size:17px}.panel-head p{margin:1px 0 0;color:var(--muted);font-size:11px}.panel-head>a{font-weight:800;color:#12345b;font-size:12px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.align-start{align-items:start}.table-wrap{overflow:auto;margin:0 -4px}table{width:100%;border-collapse:collapse;min-width:650px}th,td{text-align:right;padding:12px 10px;border-bottom:1px solid #edf0f4;vertical-align:middle}th{font-size:10px;color:#667085;background:#fafbfc;font-weight:900;white-space:nowrap}td{font-size:12px}td small{display:block;color:#98a2b3;font-size:9px;margin-top:1px}tbody tr:hover{background:#fbfcfe}.strong-link{font-weight:900;color:#0b1f3a}.empty{text-align:center!important;color:#98a2b3;padding:30px!important}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:99px;font-size:10px;font-weight:900;background:#f0f2f5;color:#5c6675;white-space:nowrap}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status.big{padding:7px 12px;font-size:11px}.status-active{background:#ecfdf3;color:#14804a}.status-trial,.status-foundation{background:#eff6ff;color:#2563eb}.status-grace,.status-warning{background:#fff7ed;color:#c45e08}.status-expired,.status-cancelled{background:#fff1f2;color:#c4283d}.status-suspended{background:#f3f4f6;color:#4b5563}.status-pending,.status-planned{background:#f5f3ff;color:#6d4bd1}.status-scheduled{background:#ecfeff;color:#0f7886}.filters{display:flex;align-items:center;gap:10px;margin-bottom:15px}.filters select{min-width:170px}.search-box{display:flex;align-items:center;gap:8px;flex:1;border:1px solid #dce2ea;border-radius:11px;padding:0 12px;background:#fff}.search-box input{border:0;outline:0;width:100%;min-height:42px;background:transparent}.form-panel{max-width:900px}.form-grid{display:grid;gap:15px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label{display:flex;flex-direction:column;gap:5px}.form-grid label>span,.auth-form label>span,.danger-zone label>span{font-size:11px;font-weight:800;color:#475467}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea,.filters select,.auth-form input{width:100%;border:1px solid #d9e0e9;border-radius:10px;background:#fff;min-height:43px;padding:9px 11px;outline:none;transition:.15s}.form-grid textarea{resize:vertical}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.auth-form input:focus{border-color:#8798b2;box-shadow:0 0 0 3px rgba(70,91,124,.08)}.form-grid label.check{flex-direction:row;align-items:center}.form-grid label.check input{width:17px;min-height:auto}.form-actions{margin-top:18px;display:flex;gap:9px}.action-block{margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.danger-zone{display:flex;gap:8px;align-items:flex-end}.danger-zone label{flex:1;display:flex;flex-direction:column;gap:5px}.danger-zone input{min-height:42px;border:1px solid #efc9c9;border-radius:10px;padding:8px 10px;width:100%}.info-list{display:grid;gap:0}.info-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px dashed #e6e9ee}.info-list>div:last-child{border-bottom:0}.info-list span{color:#667085;font-size:11px}.info-list strong{font-size:12px}.info-list.horizontal{grid-template-columns:repeat(3,1fr);gap:10px}.info-list.horizontal>div{border:1px solid var(--line);padding:13px;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start}.activation-box{background:linear-gradient(135deg,#172033,#26334f);color:#fff;border-radius:18px;padding:20px 22px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:var(--shadow)}.activation-box span,.activation-box small{display:block;color:#bcc8da;font-size:10px}.activation-box strong{display:block;direction:ltr;text-align:right;font-size:25px;letter-spacing:2px;margin:4px 0}.plan-list{display:grid;gap:10px}.plan-list article{position:relative;border:1px solid var(--line);border-radius:14px;padding:14px}.plan-list article>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.plan-list strong{font-size:15px}.plan-list>b{display:block;font-size:20px;margin:8px 0 0}.plan-list p{color:var(--muted);font-size:10px;margin:2px 0 10px}.notification-list{display:grid;gap:9px}.notification-list article{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:13px;border-radius:13px;background:#fff}.notification-list article.read{opacity:.65;background:#fafafa}.notify-icon{width:38px;height:38px;border-radius:11px;background:#f4f6f9;display:grid;place-items:center;flex:0 0 auto}.notification-list article>div{min-width:0;flex:1}.notification-list strong{display:block;font-size:12px}.notification-list p{margin:2px 0;color:#667085;font-size:11px}.notification-list small{font-size:9px;color:#98a2b3}.notification-list.compact article{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:11px 2px}.notification-list.compact article:last-child{border-bottom:0}.empty-card{padding:24px;text-align:center;color:#98a2b3;border:1px dashed #dfe4eb;border-radius:14px;background:#fafbfc}.empty-card.large{min-height:225px;display:grid;place-items:center;align-content:center;gap:4px}.empty-card.large>span{font-size:35px}.empty-card.large>strong{color:#475467}.empty-card.large p{max-width:400px;margin:0;font-size:11px}.subscription-banner{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;border-radius:14px;margin-bottom:18px;background:#fff1f1;border:1px solid #f0c7c7;color:#a42222}.subscription-banner.warning,.subscription-banner.grace{background:#fff8ed;border-color:#f0d9b5;color:#9a590e}.subscription-banner.suspended{background:#f2f4f7;border-color:#d7dce4;color:#48505d}.subscription-banner strong,.subscription-banner span{display:block}.subscription-banner strong{font-size:12px}.subscription-banner span{font-size:10px;opacity:.8}.subscription-banner a{font-size:10px;font-weight:900;border:1px solid currentColor;padding:5px 9px;border-radius:9px}.subscription-summary{padding:7px}.subscription-summary h3{font-size:22px;margin:12px 0 6px}.subscription-summary p{margin:3px 0;color:#667085}.subscription-hero{background:linear-gradient(135deg,#101828,#24324e);color:#fff;border-radius:22px;padding:25px;display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;box-shadow:var(--shadow)}.subscription-hero small{color:#aab7ca}.subscription-hero h2{font-size:25px;margin:5px 0}.subscription-hero p{margin:0;color:#b8c4d5}.days-ring{width:110px;height:110px;border:8px solid rgba(255,255,255,.13);outline:1px solid rgba(255,255,255,.2);border-radius:50%;display:grid;place-items:center;align-content:center}.days-ring strong{font-size:30px;line-height:1}.days-ring span{font-size:9px;color:#c5d0e0;margin-top:5px}.report-callout{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eef4ff;border:1px solid #d9e6ff;border-radius:17px;padding:17px 19px;margin-bottom:18px}.report-callout strong{font-size:14px}.report-callout p{margin:2px 0;color:#5f6f8a;font-size:11px}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.report-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:column;min-height:235px}.report-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.report-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#f2f5f9;font-size:18px}.report-card>small{color:#7b8798;font-size:9px;font-weight:800}.report-card h3{font-size:16px;margin:4px 0}.report-card p{color:#667085;font-size:10px;margin:0 0 13px;min-height:43px}.report-card>.btn{margin-top:auto}.format-row{display:flex;gap:6px;flex-wrap:wrap}.format-row span{font-size:9px;font-weight:900;padding:4px 7px;border:1px solid #cfdaea;background:#fff;border-radius:7px;color:#43526a}.format-row.small{margin-bottom:13px}.format-row.small span{font-size:8px}.flash-stack{display:grid;gap:8px;margin-bottom:15px}.flash{padding:11px 13px;border-radius:11px;border:1px solid;font-size:11px;font-weight:700}.flash-success{background:#ecfdf3;border-color:#b7e5c7;color:#176b3d}.flash-error{background:#fff2f2;border-color:#f0c3c3;color:#ae2525}.flash-warning{background:#fff8e8;border-color:#eed7a9;color:#8b5b07}
/* auth */.auth-page{min-height:100vh;background:#f4f6fa;display:grid;place-items:center;padding:25px}.auth-shell{width:min(460px,100%)}.auth-shell.wide{width:min(760px,100%)}.auth-card{background:#fff;border:1px solid var(--line);border-radius:23px;padding:30px;box-shadow:0 24px 70px rgba(15,23,42,.08)}.auth-brand{display:flex;align-items:center;gap:10px;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid var(--line)}.auth-brand .brand-mark{background:#111827;color:#fff;box-shadow:none}.auth-brand strong,.auth-brand small{display:block}.auth-brand small{font-size:10px;color:#8a96a7}.auth-card h1{font-size:26px;margin:2px 0 6px}.auth-card>div>p{color:#667085;margin:0 0 20px;font-size:11px}.auth-form{display:grid;gap:13px}.auth-form label{display:flex;flex-direction:column;gap:5px}.auth-links{display:flex;justify-content:space-between;margin-top:17px;font-size:11px;font-weight:800;color:#526784}.back-link{display:block;text-align:center;margin-top:18px;color:#69788f;font-size:11px}.grid-form{grid-template-columns:repeat(2,1fr)}.grid-full{grid-column:1/-1}.center-auth .auth-brand .brand-mark{background:#1d4ed8}
/* landing */.landing-page{min-height:100vh;background:linear-gradient(135deg,#f8fafc,#eef3f9);padding:35px;display:grid;place-items:center}.landing-shell{width:min(1120px,100%)}.landing-card{display:grid;grid-template-columns:1.35fr .65fr;background:#fff;border:1px solid #e4e8ee;border-radius:28px;overflow:hidden;box-shadow:0 30px 90px rgba(15,23,42,.09)}.landing-copy{padding:65px}.landing-copy h1{font-size:46px;line-height:1.25;margin:8px 0 15px;letter-spacing:-1.5px}.landing-copy p{font-size:15px;color:#64748b;max-width:650px}.landing-actions{margin-top:28px}.landing-side{background:#111827;color:#fff;padding:35px;display:grid;gap:12px;align-content:center}.mini-card{border:1px solid rgba(255,255,255,.12);border-radius:15px;padding:15px;background:rgba(255,255,255,.04)}.mini-card>span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#fff;color:#111827;font-size:9px;font-weight:950}.mini-card strong{display:block;margin-top:7px}.mini-card p{margin:1px 0;color:#9faabd;font-size:10px}.admin-link{text-align:left;color:#aebbd0;font-size:10px;margin-top:8px}
@media(max-width:1250px){.stats-grid.six{grid-template-columns:repeat(3,1fr)}.stats-grid.five{grid-template-columns:repeat(3,1fr)}.report-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:950px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;right:0;transform:translateX(105%);width:270px;transition:.2s ease;box-shadow:-20px 0 50px rgba(15,23,42,.22)}.sidebar.open{transform:translateX(0)}.menu-btn{display:grid;place-items:center}.topbar{padding:0 16px}.content-wrap{padding:20px}.stats-grid.four,.stats-grid.five{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}.landing-card{grid-template-columns:1fr}.landing-copy{padding:42px}.landing-side{padding:28px;grid-template-columns:repeat(3,1fr)}.admin-link{grid-column:1/-1}.report-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){body{font-size:13px}.content-wrap{padding:15px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:23px}.stats-grid.four,.stats-grid.five,.stats-grid.six{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:14px}.stat-card>b{font-size:24px}.stat-card.money b{font-size:17px}.panel{padding:15px;border-radius:15px}.form-grid.two,.grid-form{grid-template-columns:1fr}.form-grid .full,.grid-full{grid-column:auto}.filters{flex-direction:column;align-items:stretch}.search-box{width:100%}.filters select{width:100%}.activation-box{align-items:flex-start;flex-direction:column}.activation-box strong{font-size:19px}.danger-zone{flex-direction:column;align-items:stretch}.info-list.horizontal{grid-template-columns:1fr}.subscription-hero{padding:18px}.days-ring{width:86px;height:86px}.report-grid{grid-template-columns:1fr}.report-callout{align-items:flex-start;flex-direction:column}.auth-card{padding:22px}.landing-page{padding:15px}.landing-copy{padding:30px 24px}.landing-copy h1{font-size:32px}.landing-side{grid-template-columns:1fr;padding:24px}.top-actions .avatar{display:none}.subscription-banner{align-items:flex-start;flex-direction:column}}
/* v0.3 Academic Core */
.simple-input{min-height:42px;border:1px solid #d9e0e9;border-radius:10px;padding:8px 10px}.tag-grid{display:flex;flex-wrap:wrap;gap:9px}.data-tag{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#fafbfc;border-radius:11px;padding:9px 12px}.data-tag b{font-size:11px}.data-tag small{color:#98a2b3}.count-pill{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:99px;background:#eef3f9;font-weight:900}.section-divider{border-top:1px solid var(--line);padding-top:15px;margin-top:3px}.section-divider strong,.section-divider small{display:block}.section-divider small{color:var(--muted);font-size:10px}.guardian-cards,.teacher-list{display:grid;gap:9px}.guardian-cards article,.teacher-list article{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:13px;padding:12px}.guardian-cards article>b{margin-right:auto;background:#ecfdf3;color:#15803d;padding:3px 8px;border-radius:99px;font-size:9px}.guardian-cards strong,.guardian-cards span{display:block}.guardian-cards span{color:var(--muted);font-size:10px}.avatar-soft{width:39px;height:39px;border-radius:11px;background:#eef3fa;display:grid;place-items:center;font-weight:950;color:#334155;flex:0 0 auto}.grow{flex:1;min-width:0}.grow small,.grow span{display:block}.grow small{font-size:9px;color:#98a2b3}.grow span{font-size:10px;color:#60708b;margin-top:4px}.teacher-meta{text-align:left}.teacher-meta b,.teacher-meta small{display:block}.teacher-meta b{font-size:11px}.teacher-meta small{font-size:9px;color:#98a2b3}.field-title{display:block;font-size:11px;font-weight:900;margin-bottom:7px}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.check-card{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;border:1px solid var(--line);padding:8px 10px;border-radius:10px;background:#fafbfc}.check-card input{width:16px!important;min-height:auto!important}.group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.group-card{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff;display:flex;flex-direction:column;gap:13px}.group-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.group-card-head small,.group-card-head a,.group-card-head span{display:block}.group-card-head small{font-size:8px;color:#98a2b3}.group-card-head a{font-weight:950;font-size:15px}.group-card-head>div>span{font-size:10px;color:var(--muted)}.group-teacher{display:flex;align-items:center;gap:9px}.group-teacher small,.group-teacher strong{display:block}.group-teacher small{font-size:8px;color:#98a2b3}.group-teacher strong{font-size:11px}.schedule-pills{display:flex;gap:6px;flex-wrap:wrap}.schedule-pills>span{padding:5px 8px;border-radius:8px;background:#f3f6fa;border:1px solid #e5eaf1;font-size:9px}.schedule-pills.large>span{font-size:11px;padding:8px 11px}.capacity-line{display:flex;justify-content:space-between;gap:8px;border-top:1px dashed var(--line);padding-top:11px;font-size:10px;color:#5f6f7e}.card-actions{display:flex;gap:6px;margin-top:auto}.wide-panel{max-width:1100px}.schedule-editor{display:grid;gap:8px}.schedule-row{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.2fr;gap:8px}.schedule-row input,.schedule-row select{min-height:42px;border:1px solid #d9e0e9;border-radius:10px;padding:8px 10px;background:#fff}.hash-text{font-family:monospace;direction:ltr;unicode-bidi:embed}.quick-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}.quick-grid a{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;transition:.18s}.quick-grid a:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.quick-grid span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f2f5f9;margin-bottom:8px}.quick-grid strong,.quick-grid small{display:block}.quick-grid strong{font-size:12px}.quick-grid small{font-size:9px;color:#98a2b3}.report-nav{background:rgba(244,122,31,.16)!important;color:#fff3e8!important}.report-nav em{background:#f47a1f!important;color:#fff!important}
@media(max-width:1250px){.group-grid{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.check-grid{grid-template-columns:repeat(2,1fr)}.group-grid,.quick-grid{grid-template-columns:1fr}.schedule-row{grid-template-columns:1fr 1fr}.teacher-meta{display:none}}
.inline-details{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.inline-details summary{cursor:pointer;font-weight:900;font-size:11px;color:#12345b}.compact-form{margin-top:10px}.status-live{background:#ecfdf3;color:#14804a}

/* OnTime Center identity R3 — safe override */
html,body,button,input,select,textarea{font-family:'Cairo',Tahoma,Arial,sans-serif!important}
.btn.primary{background:linear-gradient(135deg,#f47a1f,#e9650d)!important;border-color:#f47a1f!important;color:#fff!important;box-shadow:0 8px 20px rgba(244,122,31,.18)}
.btn.primary:hover{border-color:#e9650d!important;box-shadow:0 10px 24px rgba(244,122,31,.24)}
.eyebrow{color:#e9650d}.topbar strong,.page-head h1,.panel h2,.panel-head h2{color:#0b1f3a}
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.auth-form input:focus{border-color:#f47a1f;box-shadow:0 0 0 3px rgba(244,122,31,.12)}
.auth-page{background:radial-gradient(circle at 18% 18%,rgba(244,122,31,.09),transparent 30%),radial-gradient(circle at 85% 80%,rgba(18,52,91,.10),transparent 32%),#f4f7fb}
.auth-brand .brand-mark,.center-auth .auth-brand .brand-mark{background:linear-gradient(135deg,#0b1f3a,#12345b)!important;color:#fff!important}
.landing-side{background:linear-gradient(160deg,#081a31,#0b1f3a 55%,#143c68)!important}.mini-card>span{background:#f47a1f!important;color:#fff}.admin-link{color:#ffc395}
