/* Locked navy / emerald / gold presentation. No printed-document overrides. */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Inter:wght@400;500;600;650;700;800&display=swap');
@media screen {
:root {
    --primary:#00785f;--primary-dark:#005847;--primary-soft:#e6f5ef;--background:#f6f9fa;
    --surface:#ffffff;--surface-soft:#f3f8fb;--border:#dce7ec;--text:#092d3a;--text-muted:#526c7b;
    --sidebar:#ffffff;--sidebar-text:#143c43;--sidebar-hover:#e9f5f0;
    --premium-gold:#e5b957;--premium-emerald:#00c6a0;--premium-panel:linear-gradient(145deg,#fff,#f7fbfd);
    --premium-sidebar:linear-gradient(180deg,#ffffff 0%,#f9fbfa 69%,#f8f5e9 100%);
    --dash-blue:#075de1;--dash-green:#007b61;--dash-amber:#b97500;--dash-red:#d51f3e;
    --dash-line:var(--border);--shadow:0 7px 20px #183a4810;--shadow-small:0 3px 10px #12394308;
}
[data-theme="dark"] {
    --primary:#00c5a3;--primary-dark:#00a388;--primary-soft:#003d37;--background:#00111a;
    --surface:#021d2b;--surface-soft:#072b3a;--border:#1b4e5e;--text:#f0f8fb;--text-muted:#b6d0dd;
    --sidebar:#002a27;--sidebar-text:#e5f3ef;--sidebar-hover:#00453c;
    --premium-panel:linear-gradient(135deg,#052737,#011b28);--premium-sidebar:linear-gradient(180deg,#002f2b,#002724 56%,#001b1d);
    --dash-blue:#76bfff;--dash-green:#40edc4;--dash-amber:#ffc44c;--dash-red:#ff506a;
    --shadow:0 8px 24px #00000025;--shadow-small:0 4px 12px #00000020;
}
html {scrollbar-color:#1c625a var(--background)}
body.premium-shell,body.premium-login {font-family:Inter,Arial,sans-serif;background:var(--background);color:var(--text);font-size:13px}
.premium-shell *,.premium-login *{box-sizing:border-box}
.premium-shell .app-layout{display:flex;min-height:100vh;align-items:stretch}
.premium-shell .main-area{flex:1;min-width:0;width:auto}
.premium-shell .sidebar{position:sticky;top:0;align-self:flex-start;display:flex;flex:0 0 232px;flex-direction:column;width:232px;height:100vh;padding:21px 13px 0;background:var(--premium-sidebar);border-right:1px solid var(--border);overflow-y:auto;scrollbar-width:thin;z-index:30}
.premium-shell .sidebar-brand{display:grid;grid-template-columns:45px minmax(0,1fr);column-gap:8px;padding:0 2px 23px!important;min-height:69px;position:relative;flex:none}
.premium-shell .sidebar-brand-logo{grid-row:1/3;width:43px!important;height:48px!important;max-width:43px!important;max-height:48px!important;object-fit:contain;border-radius:0!important;filter:none;box-shadow:none;background:transparent!important;mask:none!important;-webkit-mask:none!important}
.premium-shell .sidebar-brand .sidebar-brand-text{font-size:14px!important;font-weight:700!important;line-height:1.3;color:var(--text)!important;align-self:end;white-space:normal;overflow-wrap:anywhere;margin:0!important}
.premium-shell .sidebar-brand>span:last-child{font-size:8px;color:var(--text-muted)!important;margin:3px 0 0!important;font-weight:500}
.premium-shell .sidebar-menu{gap:5px;position:relative;z-index:2}
.premium-shell .sidebar-menu>a,.premium-shell .sidebar-group summary{font-size:11px;font-weight:600;min-height:40px;padding:9px 10px;border:1px solid transparent;border-radius:8px;display:flex;align-items:center;gap:10px;color:var(--sidebar-text);line-height:1.4}
.premium-shell .sidebar-group{margin:0}
.premium-shell .sidebar-menu a:hover,.premium-shell .sidebar-group summary:hover{background:var(--sidebar-hover);color:var(--text);border-color:var(--border)}
.premium-shell .sidebar-menu a.active{background:linear-gradient(100deg,#006d58,#004b42);border-color:#008e72;color:#fff;box-shadow:0 4px 13px #004f4b20}
.premium-shell .sidebar-menu-icon{display:inline-flex;width:25px;height:26px;border-radius:6px;align-items:center;justify-content:center;flex:none;background:#07594b12;color:var(--primary);font-size:15px}
[data-theme="dark"] .premium-shell .sidebar-menu-icon{background:#00554a75;color:#f0fff9}
.premium-shell .sidebar-menu a.active .sidebar-menu-icon{color:#ffde78;background:#008e6b45}
.premium-shell .sidebar-submenu{border-left-color:#1e827c50;margin-top:3px}
.premium-shell .sidebar-submenu a{min-height:32px;font-size:11px;padding:7px 9px;color:var(--sidebar-text)}
.premium-sidebar-art{position:relative;min-height:275px;margin:22px -13px 0;flex:1;display:flex;align-items:flex-end;justify-content:center;padding:25px 15px 24px;isolation:isolate;overflow:hidden}
.premium-sidebar-art::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,var(--sidebar),transparent 38%,#001d25ad),url('../images/premium-islamic-scene.png') 62% bottom/auto 100% no-repeat;opacity:.95}
[data-theme="light"] .premium-sidebar-art::before{background:linear-gradient(180deg,#fff,transparent 34%,#f8f7e458),url('../images/premium-islamic-scene.png') 62% bottom/auto 100% no-repeat;opacity:.82}
.premium-sidebar-art p{margin:0;text-align:center;color:#fff0b3;text-shadow:0 2px 5px #000;font-size:12px;line-height:1.7}
.premium-sidebar-art strong{font-family:Amiri,Georgia,serif;font-size:22px;font-weight:400;display:block;color:#ffdc76}
.premium-sidebar-art::after{content:"";position:absolute;inset:auto 0 0;height:2px;background:linear-gradient(90deg,#dfac35,transparent,#dfac35)}
.premium-shell .topbar{height:76px;min-height:76px;padding:14px 24px;gap:12px;box-shadow:none;background:var(--surface);border-color:var(--border);flex-wrap:nowrap}
.premium-shell .topbar h1{font-size:18px;font-weight:700;margin:0;min-width:0;overflow-wrap:anywhere}
.premium-shell .topbar-actions{margin-left:auto;gap:12px;min-width:0}
.premium-shell .topbar-actions>span,.premium-user-pill{display:flex!important;align-items:center;gap:7px;font-size:11px;font-weight:500;padding:8px 13px;border:1px solid var(--border);border-radius:25px;background:var(--surface-soft);color:var(--text);max-width:330px;overflow-wrap:anywhere}
.premium-shell .topbar-actions>span::before{content:"\f007";font-family:"Font Awesome 6 Free";font-weight:900;color:var(--text)}
.premium-shell .theme-toggle,.premium-login .theme-toggle{padding:8px 13px!important;min-height:34px;font-size:11px;white-space:nowrap;border-radius:22px;background:var(--primary-soft);color:var(--text);border:1px solid var(--border);font-weight:600;box-shadow:none}
[data-theme="dark"] .premium-shell .theme-toggle,[data-theme="dark"] .premium-login .theme-toggle{background:#182c24;color:#ffeaaf;border-color:#5e57323b}
.premium-shell .sidebar-mobile-toggle{position:static;display:flex!important;z-index:5;width:34px;min-width:34px!important;max-width:34px;height:34px;min-height:34px;padding:0;flex:none;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);color:var(--text);box-shadow:none;transform:none}
.premium-shell .sidebar-toggle-label{display:none}
.premium-shell.sidebar-compact .sidebar{display:none}
.premium-shell .page-content{padding:20px 24px 24px;max-width:1500px;overflow:visible}
.premium-shell .page-content>h1{font-size:22px}
.premium-shell .card,.premium-shell .stat-card,.premium-shell .table-wrapper,.premium-shell .dashboard-stat-card,.premium-shell .dashboard-today-panel,.premium-shell .dashboard-action-card{background:var(--premium-panel);border:1px solid var(--border);box-shadow:var(--shadow-small);border-radius:10px;min-width:0}
.premium-shell .card{padding:20px}
.premium-shell .card h2,.premium-shell .card h3,.premium-shell .dashboard-section-head h2{font-size:16px;color:var(--text);font-weight:700}
.premium-shell .card-description{font-size:12px;color:var(--text-muted)}
.premium-shell input,.premium-shell select,.premium-shell textarea,.premium-login input{background:var(--surface-soft);color:var(--text);border:1px solid var(--border);border-radius:7px;font-size:12px}
.premium-shell input:focus,.premium-shell select:focus,.premium-shell textarea:focus,.premium-login input:focus{outline:2px solid #00a68966;outline-offset:2px;border-color:#009979}
.premium-shell .btn,.premium-shell button:not(.sidebar-mobile-toggle):not(.theme-toggle):not(.sidebar-close):not(.sidebar-backdrop){font-size:12px;background:linear-gradient(140deg,#008b6c,#006c57);border-color:#00a786;color:#fff;font-weight:600;box-shadow:inset 0 1px 0 #ffffff12}
.premium-shell .btn-secondary,.premium-shell button.btn-secondary{background:linear-gradient(135deg,#12445e,#052a43)!important;border-color:#276c93!important;color:#fff!important}
.premium-shell .btn-danger,.premium-shell button.btn-danger{background:linear-gradient(135deg,#df2d47,#a90829)!important;border-color:#f15767!important;color:#fff!important}
.premium-shell .badge{font-size:10px;padding:3px 8px;border-radius:5px;line-height:1.4;border:1px solid transparent;font-weight:600}
.premium-shell .badge-success{background:#00674e;color:#dcfff2;border-color:#00ab7f}
.premium-shell .badge-warning{background:linear-gradient(135deg,#c19127,#996913);color:#fff8d4;border-color:#edc262}
.premium-shell .badge-danger{background:#a4243d;color:#ffe8ef;border-color:#d14760}
.premium-shell .badge-info{background:#174b6d;color:#d7f2ff;border-color:#2878a1}
.premium-shell .table-wrapper{overflow:auto;max-width:100%;scrollbar-width:thin}
.premium-shell table{width:100%;border-collapse:collapse;font-size:12px;background:transparent}
.premium-shell th{padding:13px 16px;background:var(--surface-soft);color:var(--text-muted);font-size:10px;font-weight:700;border-bottom:1px solid var(--border);letter-spacing:.01em}
.premium-shell td{padding:13px 16px;border-bottom:1px solid var(--border);color:var(--text);font-size:12px}
.premium-shell tbody tr:last-child td{border-bottom:0}
.premium-shell tbody tr:hover{background:#06977a08}
.premium-welcome{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center;gap:25px;min-height:218px;padding:30px 32px;color:white;border:1px solid #00b08b;border-radius:11px;background:#001c24;overflow:hidden;margin-bottom:16px;box-shadow:0 6px 20px #00212418}
.premium-welcome::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#001b24ee 0%,#001c2480 33%,transparent 62%,#001b24dd 80%),url('../images/premium-islamic-scene.png') 50% 65%/cover no-repeat}
.premium-welcome::after{content:"";position:absolute;inset:10px;border-left:1px solid #e5b94a;border-bottom:1px solid #e5b94a;border-radius:2px 0 0 22px;width:18px;opacity:.85;pointer-events:none}
.premium-welcome-copy{max-width:520px;align-self:center}
.premium-welcome h2{margin:0 0 8px;font-size:30px;font-weight:700;letter-spacing:-.04em;color:#fff;line-height:1.15}
.premium-welcome-copy>p{font-size:12px;margin:0 0 24px;color:#edf5ed}
.premium-welcome blockquote{margin:0;padding:0 0 0 20px;border-left:2px solid #c89524;color:#ffdc83;font-size:11px;line-height:1.65;font-weight:500;max-width:360px}
.premium-welcome cite{display:block;font-style:normal;font-size:10px;margin-top:7px;color:#d2e8e6}
.premium-welcome-verse{text-align:center;border-left:1px solid #d2b25435;padding-left:22px}
.premium-welcome-verse p{font-family:Amiri,Georgia,serif;color:#ffdc73;font-size:32px;line-height:1.7;margin:0 0 8px;font-weight:400}
.premium-welcome-verse span{display:block;font-size:11px;line-height:1.7;color:#fff9e7}
.premium-welcome-verse small{display:block;font-size:10px;margin-top:8px;color:#dbe6e2}
.premium-shell .dashboard-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0}
.premium-shell .dashboard-stat-text{display:grid;gap:4px;min-width:0}
.premium-shell .dashboard-stat-card{padding:15px 16px;min-height:82px;gap:13px;display:flex;align-items:center}
.premium-shell .dashboard-stat-icon{display:inline-flex;align-items:center;justify-content:center;height:43px;width:43px;flex:none;border-radius:9px;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff50,0 3px 7px #00000020;font-size:20px;border:1px solid #ffffff25}
.premium-shell .stat-blue .dashboard-stat-icon{background:linear-gradient(145deg,#168cf4,#0041a7)}
.premium-shell .stat-green .dashboard-stat-icon{background:linear-gradient(145deg,#09b687,#005b4c)}
.premium-shell .stat-amber .dashboard-stat-icon{background:linear-gradient(145deg,#e9af32,#936307)}
.premium-shell .stat-red .dashboard-stat-icon{background:linear-gradient(145deg,#f53658,#ab0e29)}
.premium-shell .stat-purple .dashboard-stat-icon{background:linear-gradient(145deg,#9c50ff,#5524bd)}
.premium-shell .dashboard-stat-label{font-size:10px;color:var(--text-muted);line-height:1.4}
.premium-shell .dashboard-stat-value{font-size:21px;letter-spacing:-.03em;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.premium-shell .stat-blue .dashboard-stat-value{color:var(--dash-blue)}
.premium-shell .stat-green .dashboard-stat-value{color:var(--dash-green)}
.premium-shell .stat-amber .dashboard-stat-value{color:var(--dash-amber)}
.premium-shell .stat-red .dashboard-stat-value{color:var(--dash-red)}
.premium-shell .dashboard-today-panel{padding:18px;margin-top:16px}
.premium-shell .dashboard-section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:13px;gap:12px}
.premium-shell .dashboard-section-head h2{margin:0 0 4px;font-size:15px}
.premium-shell .dashboard-section-head p{font-size:11px;color:var(--text-muted);margin:0}
.premium-shell .dashboard-monitor-btn{padding:9px 14px;border:1px solid #008f79;border-radius:20px;background:var(--primary-soft);color:var(--primary);font-size:11px;white-space:nowrap;box-shadow:none}
.premium-shell .dashboard-monitor-btn::after{content:' →';margin-left:9px}
.premium-shell .dashboard-table-wrap{box-shadow:none;border-radius:7px}
.premium-shell .dashboard-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:14px}
.premium-shell .dashboard-action-card{padding:15px 12px;gap:12px;min-height:85px;border-color:#23795b6b;display:flex;align-items:center}
.premium-shell .dashboard-action-card strong{display:block;font-size:11px;color:var(--text);font-weight:700}
.premium-shell .dashboard-action-card small{font-size:10px;line-height:1.6;color:var(--text-muted);display:block;margin-top:4px}
.premium-shell .dashboard-action-icon{height:35px;width:35px;border-radius:8px;display:flex;justify-content:center;align-items:center;flex:none;background:#007b61;color:white;font-size:17px}
.premium-shell .action-blue .dashboard-action-icon{background:#006aef}
.premium-shell .action-purple .dashboard-action-icon{background:#7137d9}
.premium-shell .action-amber .dashboard-action-icon{background:#c08816}
[data-theme="light"] .premium-shell .dashboard-stat-icon{box-shadow:none;background:var(--info-soft);color:var(--dash-blue)!important;border-color:transparent}
[data-theme="light"] .premium-shell .stat-green .dashboard-stat-icon{background:#dcf5eb;color:#008165!important}
[data-theme="light"] .premium-shell .stat-amber .dashboard-stat-icon{background:#fff1d3;color:#b57905!important}
[data-theme="light"] .premium-shell .stat-red .dashboard-stat-icon{background:#ffe3e8;color:#d92549!important}
[data-theme="light"] .premium-shell .stat-purple .dashboard-stat-icon{background:#eee5ff;color:#682bd3!important}
.premium-shell .teacher-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 16px}
.premium-shell .teacher-shortcuts{margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.premium-shell .next-class-card{margin-bottom:16px;background:var(--premium-panel)}
.premium-shell .next-class-header{gap:18px;display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.premium-shell .next-class-header h2{margin:5px 0;font-size:20px}
.premium-shell .next-class-header p{font-size:11px;color:var(--text-muted)}
.premium-shell .next-class-countdown-wrap{min-width:170px;background:var(--primary-soft);border:1px solid #00877575;border-radius:8px;padding:13px;text-align:center}
.premium-shell .next-class-countdown-label{color:var(--primary);font-size:9px;text-transform:uppercase;letter-spacing:.05em}
.premium-shell .next-class-countdown{font-size:25px;line-height:1.25;color:var(--text);font-weight:700;margin-top:4px}
.premium-shell .next-class-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.premium-shell .next-class-detail{background:var(--surface-soft);border:1px solid var(--border);padding:12px;border-radius:7px;min-width:0}
.premium-shell .next-class-detail span{font-size:10px;color:var(--text-muted);display:block;margin-bottom:6px}
.premium-shell .next-class-detail strong{font-size:12px;color:var(--text);overflow-wrap:anywhere}
.premium-shell .teacher-page .next-class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.premium-shell .teacher-page .next-class-detail:nth-child(1),.premium-shell .teacher-page .next-class-detail:nth-child(4){display:none}
.premium-shell .teacher-page .next-class-header .next-class-datetime{font-size:19px;font-weight:650;color:var(--text);margin:8px 0}
.premium-shell .teacher-page .actions{margin-top:15px;gap:10px}
.premium-shell .teacher-page .actions .btn,.premium-shell .teacher-page .actions button{font-size:11px;min-height:34px}
.premium-shell .teacher-page .actions details{min-width:0}
.premium-shell .teacher-page #todays-classes{border-radius:10px 10px 0 0;margin-bottom:0;padding-bottom:10px}
.premium-shell .teacher-page #todays-classes+.table-wrapper{margin-top:0!important;border-top:0;border-radius:0 0 10px 10px}
.premium-shell .parent-child-card{margin-bottom:16px;padding:15px 18px}
.premium-shell .parent-child-card label{font-size:12px;font-weight:600;margin-bottom:8px;display:block}
.premium-shell .parent-child-card select{width:100%;min-height:40px}
.premium-shell .parent-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 16px;gap:12px;display:grid}
.premium-shell .parent-summary .stat-card{padding:18px;display:flex;align-items:flex-start;gap:13px;min-height:139px}
.premium-shell .parent-summary p{font-size:10px;margin:0 0 10px;color:var(--text-muted)}
.premium-shell .parent-summary h3{font-size:15px;color:var(--text);margin:0 0 8px;overflow-wrap:anywhere}
.premium-shell .parent-summary small{font-size:10px;color:var(--text-muted);display:block;line-height:1.6}
.premium-shell .parent-summary strong{display:block;margin-top:7px;font-size:11px;color:var(--primary)}
.premium-shell .parent-summary .fee-amount{font-size:20px;color:var(--dash-amber)}
.premium-shell .parent-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.premium-shell .parent-diary{display:flex;gap:14px;align-items:flex-start;min-height:180px}
.premium-shell .parent-diary h3{margin:3px 0 10px;font-size:14px}
.premium-shell .parent-diary p{color:var(--text-muted);font-size:12px;line-height:1.6}
.premium-shell .upcoming-list{list-style:none;padding:0;margin:5px 0 0}
.premium-shell .upcoming-list li{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--border);padding:12px 0;font-size:12px}
.premium-shell .upcoming-list li:last-child{border:0}
.premium-shell .upcoming-list small{display:block;color:var(--text-muted);margin-top:6px;font-size:10px}
.premium-shell .upcoming-list i{color:var(--dash-blue);background:var(--info-soft);padding:9px;border-radius:7px;font-size:17px}
.premium-shell .premium-empty{color:var(--text-muted);font-size:12px;padding:18px 0;line-height:1.6}
.premium-login{margin:0;min-height:100vh;padding:38px;display:grid;place-items:center;background:radial-gradient(ellipse at top,#03534630,transparent 65%),var(--background)!important}
.premium-login .login-shell{display:grid;grid-template-columns:1.1fr 1fr;width:min(1100px,100%);min-height:670px;border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 24px 75px #00272424;background:var(--surface)}
.premium-login .login-art{position:relative;isolation:isolate;background:#002d30;display:flex;flex-direction:column;justify-content:space-between;padding:38px;color:white;min-width:0}
.premium-login .login-art::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#00232cbf,transparent 50%,#001923cc),url('../images/premium-islamic-scene.png') 60% center/cover no-repeat}
.premium-login .login-art-brand{display:flex;align-items:center;gap:13px}
.premium-login .login-art-brand img{width:49px;height:58px;object-fit:contain}
.premium-login .login-art-brand strong{font-size:20px;color:#fff1c4;font-weight:700;display:block}
.premium-login .login-art-brand small{display:block;font-size:10px;color:#d6e9e1;margin-top:5px}
.premium-login .login-art-copy h2{font-size:33px;margin:0 0 14px;color:white;letter-spacing:-.04em}
.premium-login .login-art-copy p{font-size:13px;line-height:1.8;color:#eff4ed;max-width:320px}
.premium-login .login-art-copy .login-arabic{font-family:Amiri,Georgia,serif;color:#ffdf84;font-size:35px;margin:23px 0 3px}
.premium-login .login-form-area{padding:38px 52px;display:flex;flex-direction:column;justify-content:center;position:relative;min-width:0}
.premium-login .login-theme-row{display:flex;justify-content:flex-end;margin-bottom:30px}
.premium-login .login-box{width:100%;padding:0;box-shadow:none;background:none;border:0}
.premium-login .login-logo{height:61px;width:61px;object-fit:contain;margin:0 0 18px;display:block}
.premium-login h1{font-size:27px;letter-spacing:-.035em;margin:0 0 9px;color:var(--text);text-align:left;line-height:1.3}
.premium-login .subtitle{font-size:12px;line-height:1.7;color:var(--text-muted);margin-bottom:31px;text-align:left}
.premium-login label{display:block;font-size:12px;margin-bottom:8px;font-weight:600;color:var(--text)}
.premium-login input{width:100%;height:47px;min-height:47px;padding:12px 14px;margin-bottom:21px;font-size:13px}
.premium-login .password-wrap{position:relative}
.premium-login .password-wrap input{padding-right:64px}
.premium-login .show-password{position:absolute;right:9px;top:6px;width:auto;padding:8px;background:transparent;color:var(--primary);border:0;border-radius:5px;font-size:11px;font-weight:600;min-height:32px}
.premium-login .login-submit{width:100%;min-height:47px;font-size:13px;font-weight:600;background:linear-gradient(110deg,#008b6a,#006651);border:1px solid #009b75;color:white;border-radius:7px;margin-top:4px}
.premium-login .login-secure{display:flex;justify-content:center;align-items:center;gap:7px;color:var(--text-muted);font-size:10px;margin:22px 0 0}
.premium-login .error{background:var(--danger-soft);color:var(--danger);border:1px solid var(--danger);padding:12px;border-radius:7px;margin-bottom:18px;font-size:12px}
@media(min-width:901px){.premium-shell .sidebar-close,.premium-shell .sidebar-backdrop{display:none}.premium-shell .sidebar-mobile-toggle{visibility:visible;opacity:1}}
@media(max-width:1100px){.premium-shell .dashboard-stat-card{padding:13px;gap:10px}.premium-shell .dashboard-stat-value{font-size:18px}.premium-shell .next-class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.premium-welcome{grid-template-columns:minmax(0,1fr) 185px;padding:25px;gap:15px}.premium-welcome-verse p{font-size:27px}.premium-login .login-form-area{padding:33px}}
@media(max-width:900px){
 .premium-shell .sidebar{position:fixed;left:0;top:0;bottom:0;max-width:calc(100vw - 50px);width:232px;height:100dvh;transform:translateX(-105%);transition:transform .2s ease;z-index:1001;overflow-y:auto;display:flex!important}
 .premium-shell.sidebar-menu-open .sidebar{transform:translateX(0)}
 .premium-shell .sidebar-backdrop{display:none;position:fixed;inset:0;z-index:1000;background:#00101ba8;border:0;border-radius:0}
 .premium-shell.sidebar-menu-open .sidebar-backdrop{display:block!important}
 .premium-shell .sidebar-close{display:flex;position:absolute;right:6px;top:4px;z-index:3;width:24px;height:24px;min-height:24px;padding:0;background:transparent;border:0;color:var(--text);font-size:20px}
 .premium-shell .topbar{padding:12px 18px;min-height:72px;height:72px;flex-direction:row}
 .premium-shell .page-content{padding:18px}
 .premium-shell .topbar-actions>span{font-size:10px;padding:7px 10px;max-width:240px}
 .premium-shell .dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
 .premium-login{padding:22px}.premium-login .login-shell{min-height:620px}.premium-login .login-art{padding:25px}.premium-login .login-art-brand strong{font-size:16px}.premium-login .login-art-copy h2{font-size:29px}.premium-login .login-form-area{padding:27px}
}
@media(max-width:600px){
 .premium-shell .topbar{display:grid;grid-template-columns:34px minmax(0,1fr) auto;height:auto;min-height:90px;gap:8px;padding:11px 14px}
 .premium-shell .topbar h1{grid-column:2;grid-row:1;font-size:16px;padding:0}.premium-shell .topbar-actions{display:contents;margin:0}
 .premium-shell .theme-toggle{grid-column:3;grid-row:1;padding:7px 10px!important;font-size:10px;min-height:32px;max-width:none!important}
 .premium-shell .topbar-actions>span{grid-column:2/4;grid-row:2;max-width:100%;width:max-content;padding:5px 10px;font-size:10px;display:flex!important}
 .premium-shell .page-content{padding:13px;overflow:visible}
 .premium-welcome{grid-template-columns:1fr;min-height:284px;padding:23px 22px;gap:18px}
 .premium-welcome::before{background:linear-gradient(90deg,#001923b3,transparent 90%),linear-gradient(0deg,#001923eb,transparent 50%),url('../images/premium-islamic-scene.png') 57% center/cover no-repeat}
 .premium-welcome h2{font-size:25px}.premium-welcome-copy>p{font-size:10px;margin-bottom:18px}
 .premium-welcome blockquote{font-size:10px;padding-left:12px;max-width:255px}.welcome-desktop-break{display:none}
 .premium-welcome-verse{border:0;border-top:1px solid #bd963f40;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:9px;text-align:left;padding:13px 0 0}
 .premium-welcome-verse p{font-size:25px;margin:0;grid-row:1/3}.premium-welcome-verse span{font-size:9px}.premium-welcome-verse small{font-size:8px;margin-top:0}
 .premium-shell .dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .premium-shell .dashboard-stat-card{padding:11px 10px;gap:9px;min-height:78px}
 .premium-shell .dashboard-stat-icon{width:32px;height:35px;font-size:17px;border-radius:7px}
 .premium-shell .dashboard-stat-label{font-size:9px}.premium-shell .dashboard-stat-value{font-size:17px}
 .premium-shell .dashboard-today-panel{padding:12px}.premium-shell .dashboard-section-head h2{font-size:14px}.premium-shell .dashboard-monitor-btn{font-size:10px;padding:7px 9px}
 .premium-shell .dashboard-table-wrap table{min-width:570px}.premium-shell .table-wrapper table{min-width:600px}
 .premium-shell .dashboard-quick-actions{gap:9px}.premium-shell .dashboard-action-card{padding:12px 10px;min-height:86px;gap:9px}.premium-shell .dashboard-action-icon{width:28px;height:32px;font-size:14px}.premium-shell .dashboard-action-card strong{font-size:10px}.premium-shell .dashboard-action-card small{font-size:9px}
 .premium-shell .teacher-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.premium-shell .teacher-summary .dashboard-stat-card{flex-direction:column;align-items:flex-start;padding:11px 9px;gap:8px}.premium-shell .teacher-summary .dashboard-stat-value{font-size:16px}
 .premium-shell .next-class-header{align-items:flex-start;gap:10px}.premium-shell .next-class-header h2{font-size:17px}.premium-shell .next-class-header p{font-size:10px;max-width:155px}.premium-shell .next-class-countdown-wrap{min-width:112px;padding:12px 8px}.premium-shell .next-class-countdown{font-size:20px}
 .premium-shell .teacher-page .next-class-countdown-wrap{flex:0 0 125px;max-width:125px}.premium-shell .teacher-page .next-class-countdown{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
 .premium-shell .next-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.premium-shell .next-class-detail{padding:10px}.premium-shell .next-class-detail strong{font-size:11px}
 .premium-shell .teacher-page .next-class-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.premium-shell .teacher-page .next-class-header .next-class-datetime{font-size:15px;line-height:1.5;max-width:190px}
 .premium-shell .teacher-page .actions>.btn,.premium-shell .teacher-page .actions>button,.premium-shell .teacher-page .actions>form{flex-basis:auto;width:auto}
 .premium-shell .parent-summary{grid-template-columns:1fr;gap:10px}.premium-shell .parent-summary .stat-card{min-height:104px;padding:15px;align-items:center}.premium-shell .parent-summary .dashboard-stat-icon{width:41px;height:44px}.premium-shell .parent-summary h3{font-size:15px}.premium-shell .parent-summary strong{font-size:11px}
 .premium-shell .parent-detail-grid{grid-template-columns:1fr;gap:12px}.premium-shell .parent-diary{min-height:140px}.premium-shell .card{padding:15px}
 .premium-login{padding:15px}.premium-login .login-shell{grid-template-columns:1fr;min-height:0;border-radius:13px}.premium-login .login-art{min-height:255px;padding:23px}.premium-login .login-art::before{background-position:50% 56%}.premium-login .login-art-brand img{width:36px;height:43px}.premium-login .login-art-brand strong{font-size:17px}.premium-login .login-art-copy{margin-top:28px}.premium-login .login-art-copy h2{font-size:26px}.premium-login .login-art-copy>p:not(.login-arabic){display:none}.premium-login .login-art-copy .login-arabic{font-size:26px;margin:9px 0 0}.premium-login .login-form-area{padding:24px}.premium-login .login-theme-row{margin-bottom:16px}.premium-login .login-logo{display:none}.premium-login h1{font-size:23px}.premium-login .subtitle{margin-bottom:24px}
}
@media(prefers-reduced-motion:reduce){.premium-shell *{transition:none!important;scroll-behavior:auto!important}}
}
