@charset "utf-8";@font-face{font-family:"NotoKufi";src:url("../fonts/NotoKufiArabic-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}.nav-icon::before, .section-heading-icon::before, .admin-home-head-icon, .admin-home-icon::before, .home-card-icon::before{-webkit-mask-image:none !important;mask-image:none !important;-webkit-mask:none !important;mask:none !important;background-color:transparent !important;background-repeat:no-repeat !important;background-position:center !important;background-size:contain !important}.nav-home .nav-icon::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/g%3E%3C/svg%3E") !important}.nav-students .nav-icon::before, .nav-accounts .nav-icon::before, .nav-teachers .nav-icon::before, .home-icon-students::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.2a4 4 0 0 1 0 7.6'/%3E%3C/g%3E%3C/svg%3E") !important}.nav-halaqahs .nav-icon::before, .nav-progress .nav-icon::before, .home-icon-progress::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3C/g%3E%3C/svg%3E") !important}.nav-attendance .nav-icon::before, .nav-year .nav-icon::before, .home-icon-attendance::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E") !important}.nav-grades .nav-icon::before, .home-icon-grades::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E") !important}.nav-account .nav-icon::before, .home-icon-password::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E") !important}.nav-logout .nav-icon::before, .home-icon-logout::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18'/%3E%3C/g%3E%3C/svg%3E") !important}.section-heading-records::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231f6b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/g%3E%3C/svg%3E") !important}.section-heading-absence::before, .section-heading-year::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23315f8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E") !important}.section-heading-year::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%236b5b95' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E") !important}.section-heading-study::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%238a5a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E") !important}.section-heading-security::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%238a4b79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.8a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V5a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.4a1.4 1.4 0 0 1 1.6 0C14.5 2.8 17 4 19 4a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E") !important}.admin-home-head-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231f6b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h7v7H3z'/%3E%3Cpath d='M14 3h7v7h-7z'/%3E%3Cpath d='M14 14h7v7h-7z'/%3E%3Cpath d='M3 14h7v7H3z'/%3E%3C/g%3E%3C/svg%3E") !important}.admin-home-icon-records::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/g%3E%3C/svg%3E") !important}.admin-home-icon-absence::before, .admin-home-icon-year::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E") !important}.admin-home-icon-study::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E") !important}.admin-home-icon-security::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.8a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V5a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.4a1.4 1.4 0 0 1 1.6 0C14.5 2.8 17 4 19 4a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E") !important}.admin-home-icon-password::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E") !important}.admin-home-icon-logout::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/g%3E%3C/svg%3E") !important}:root{--bg:#f7f5ef;--surface:#ffffff;--ink:#17211d;--muted:#69756f;--line:#ddd7ca;--green:#1f6b57;--green-dark:#174e41;--blue:#315f8f;--amber:#b7791f;--rose:#9d3f4f;--shadow:0 12px 30px rgba(23, 33, 29, .08)}*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100%;direction:rtl;color:var(--ink);background:var(--bg);font-family:"NotoKufi", Tahoma, Arial, sans-serif;font-size:16px;font-weight:400;line-height:1.8;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html.is-standalone body, html.is-app-viewport body{-webkit-tap-highlight-color:transparent;overscroll-behavior-y:contain}body.is-picker-open, body.is-term-gate-open, body.is-admin-form-modal-open{overflow:hidden}a{color:inherit;text-decoration:none}.public-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 32px;color:#fff;background:radial-gradient(circle at 92% 12%, rgba(234, 214, 167, .2), transparent 30%), linear-gradient(135deg, #123f35 0%, #1f6b57 68%, #174e41 100%);border-bottom:1px solid rgba(234, 214, 167, .22);box-shadow:0 14px 34px rgba(23, 33, 29, .14)}.brand{display:flex;align-items:center;gap:12px;font-weight:700;min-width:0}.brand-mark{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--green);border-radius:8px;font-size:18px}.brand-logo{width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:8px;background:transparent;filter:drop-shadow(0 8px 16px rgba(0, 0, 0, .18))}.brand-text{min-width:0;display:grid;gap:1px;line-height:1.55}.brand-name{font-size:14px}.brand-subtitle{color:rgba(255, 255, 255, .72);font-size:11px;font-weight:400}.topbar .brand-name{font-size:15px}.topbar .btn-ghost{color:#fff;background:rgba(255, 255, 255, .08);border-color:rgba(255, 255, 255, .22)}.topbar .btn-secondary{color:#174e41;background:#ead6a7;border-color:rgba(234, 214, 167, .65)}.offline-brand{margin-bottom:18px;color:var(--green-dark)}.offline-brand .brand-logo{background:#f2f8f5;box-shadow:none}.offline-brand .brand-subtitle{color:var(--muted)}.top-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.install-app-button[hidden]{display:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}body.public-login-page{background:linear-gradient(180deg, #fbfcfb 0%, #f4f8f6 100%)}body.public-login-page::before, body.public-login-page::after{content:"";position:fixed;left:0;right:0;height:8px;background:linear-gradient(90deg, #0f745f 0%, var(--green-dark) 48%, #0f745f 100%);z-index:2000;pointer-events:none}body.public-login-page::before{top:0}body.public-login-page::after{bottom:0}.public-login-page .topbar{display:none}.public-login-page .public-shell{min-height:100dvh}.login-simple-wrap{width:min(420px, calc(100% - 28px));min-height:100dvh;margin:0 auto;padding:34px 0;display:flex;align-items:center;justify-content:center}.login-simple-card{width:100%;padding:26px 0;text-align:center}.login-simple-logo{width:120px;height:120px;object-fit:contain;margin-bottom:12px}.login-simple-org{margin:0 auto 12px;max-width:360px;color:var(--green-dark);font-size:16px;font-weight:800;line-height:1.55}.login-simple-card h1{margin:0 0 18px;color:#111c18;font-size:24px;font-weight:900;line-height:1.55}.login-simple-subtitle{margin:2px 0 18px;color:var(--green-dark);font-size:15px;font-weight:800;line-height:1.7}.login-simple-card .form-row{margin-bottom:11px}.login-input-shell{position:relative}.login-input-shell::before{content:"";position:absolute;top:50%;right:16px;width:20px;height:20px;transform:translateY(-50%);background-repeat:no-repeat;background-position:center;background-size:contain;opacity:.78;pointer-events:none;z-index:1}.login-input-user::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23177462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/g%3E%3C/svg%3E")}.login-input-lock::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23177462' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E")}.login-simple-input{min-height:48px;padding-right:48px;padding-left:48px;text-align:center;background:#fff;border-color:#dfe5e1;box-shadow:0 8px 22px rgba(23, 33, 29, .05)}.login-simple-input::placeholder{color:#8b9690;opacity:1}.login-simple-card .error{text-align:right}.login-captcha{margin:12px 0 14px;padding:12px;border:1px solid #dfe8e3;border-radius:8px;background:#f8fbf9}.login-captcha-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:var(--green-dark);font-size:13px;font-weight:800}.login-captcha-refresh{color:var(--green);font-size:12px;font-weight:800;text-decoration:none}.login-captcha-code{display:flex;align-items:center;justify-content:center;min-height:46px;margin-bottom:9px;border:1px dashed #b9cfc6;border-radius:8px;color:#101815;background:#fff;font-size:22px;font-weight:900;letter-spacing:3px;direction:ltr}.login-captcha-input{padding-right:16px;padding-left:16px}.login-simple-back{display:inline-flex;align-items:center;justify-content:center;margin-top:16px;color:var(--green-dark);font-size:14px;font-weight:800}.login-simple-back:hover{color:var(--green)}.public-home-page{background:#f7faf8;overflow-x:hidden}.public-home-page .topbar{position:relative;z-index:5;background:#0f5d4d;border-bottom:1px solid rgba(255, 255, 255, .12);box-shadow:none}.public-home-page .topbar .brand-name{color:#fff}.public-home-page .topbar .brand-subtitle{color:rgba(255, 255, 255, .74)}.home-landing{width:100%;min-height:calc(100dvh - 70px);margin:0;padding:0 0 30px;display:flex;flex-direction:column;gap:22px}.home-hero{position:relative;box-sizing:border-box;min-height:520px;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:54px 24px 42px;color:#173c34;text-align:center;background:#f7faf8}.home-hero::before{display:none}.home-hero::after{display:none}.home-hero-frame{display:none}.home-hero-copy{position:relative;z-index:1;width:min(780px, calc(100vw - 48px));margin:0 auto;display:flex;flex-direction:column;align-items:center}.home-hero-logo{display:block;width:124px;height:124px;object-fit:contain;margin:0 auto 16px;padding:0;background:transparent;border:0;border-radius:0;filter:drop-shadow(0 10px 18px rgba(23, 60, 52, .12))}.home-kicker{display:inline-flex;align-items:center;justify-content:center;min-height:28px;margin-bottom:10px;padding:3px 12px;color:#936d1f;background:transparent;border:1px solid rgba(147, 109, 31, .26);border-radius:8px;font-size:13px;font-weight:800;line-height:1.5}.home-hero h1{margin:0 auto 10px;max-width:780px;color:#123f35;font-size:34px;line-height:1.7;letter-spacing:0;text-shadow:none;text-wrap:balance}.home-hero p{margin:0 auto;max-width:650px;color:#6f4f18;font-size:16px;font-weight:600;line-height:1.95;text-wrap:pretty}.home-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px;margin-left:auto;margin-right:auto}.home-actions .btn{box-sizing:border-box}.home-login-button{min-width:178px;min-height:48px;box-shadow:0 10px 24px rgba(15, 93, 77, .2)}.home-login-button::before{content:"";width:18px;height:18px;margin-inline-end:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='m10 17 5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat}.home-about-button{min-width:132px}.home-about-button::before{content:"";width:18px;height:18px;margin-inline-end:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23123f35' stroke-width='2.15' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6'/%3E%3Cpath d='M12 7h.01'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat}.home-blessing-line{display:block;margin-top:18px;color:#936d1f;font-size:13px;font-weight:800;line-height:1.8}.home-service-row{position:relative;z-index:2;box-sizing:border-box;width:min(980px, calc(100% - 32px));margin:0 auto;display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:10px}.home-service-row span{box-sizing:border-box;min-height:58px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 12px;color:#163d34;background:#fff;border:1px solid rgba(15, 93, 77, .12);border-radius:8px;box-shadow:0 8px 20px rgba(23, 33, 29, .05);font-size:13px;font-weight:900;text-align:center}.home-service-row span::before{content:"";width:24px;height:24px;flex:0 0 24px;background-position:center;background-repeat:no-repeat;background-size:contain}.home-service-students::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231f6b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/g%3E%3C/svg%3E")}.home-service-attendance::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23315f8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.home-service-study::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%238a5a18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E")}.home-service-certificates::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%238a4b79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E")}.hero{width:min(1120px, calc(100% - 32px));margin:38px auto 24px;display:grid;grid-template-columns:1.1fr .9fr;align-items:stretch;gap:18px}.hero-main{min-height:380px;padding:42px;color:#fff;border-radius:8px;background:linear-gradient(rgba(23, 78, 65, .88), rgba(23, 78, 65, .88)), url("../icons/favicon-512.png") center 58% / 220px no-repeat;box-shadow:var(--shadow)}.eyebrow{color:#ead6a7;margin:0 0 10px;font-size:14px}.hero h1{margin:0 0 18px;font-size:34px;line-height:1.45;letter-spacing:0}.hero p{margin:0;color:rgba(255, 255, 255, .86);max-width:620px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.entry-panel{padding:26px;display:flex;flex-direction:column;justify-content:center;gap:14px}.entry-panel h2{margin:0;font-size:21px}.entry-panel p{margin:0;color:var(--muted);font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 16px;border:1px solid transparent;border-radius:8px;font-family:inherit;font-size:15px;font-weight:700;line-height:1.55;cursor:pointer}.btn-primary{color:#fff;background:var(--green)}.btn-primary:hover{background:var(--green-dark)}.btn-secondary{color:var(--green-dark);background:#eff7f3;border-color:#cfe2da}.btn-danger{color:#fff;background:#b42335;border-color:#b42335}.btn-danger:hover{background:#8f1d2c;border-color:#8f1d2c}.btn:disabled, .btn.is-disabled{opacity:.58;cursor:not-allowed;filter:grayscale(.16)}.btn-blue{color:#fff;background:var(--blue)}.btn-ghost{color:var(--ink);background:transparent;border-color:var(--line)}.login-wrap{width:min(1020px, calc(100% - 32px));min-height:calc(100dvh - 72px);margin:0 auto;padding:34px 0;display:grid;grid-template-columns:minmax(0, 1fr) minmax(340px, 430px);align-items:center;gap:18px}.login-identity{position:relative;min-height:430px;overflow:hidden;padding:34px;display:flex;flex-direction:column;justify-content:space-between;gap:24px;color:#fff;background:linear-gradient(145deg, rgba(18, 63, 53, .98), rgba(31, 107, 87, .96)), #174e41;border:1px solid rgba(234, 214, 167, .24);border-radius:8px;box-shadow:var(--shadow)}.login-identity::after{content:"";position:absolute;left:26px;bottom:18px;width:min(42vw, 330px);aspect-ratio:1;background:url("../icons/logo-white.png") center / contain no-repeat;opacity:.08;pointer-events:none}.login-identity-head{position:relative;z-index:1;display:flex;align-items:center;gap:16px}.login-identity-logo{width:86px;height:86px;flex:0 0 86px;object-fit:contain;padding:8px;background:rgba(255, 255, 255, .94);border:1px solid rgba(234, 214, 167, .55);border-radius:8px}.login-kicker{display:block;margin-bottom:7px;color:#ead6a7;font-size:13px;font-weight:700}.login-identity h1{margin:0;max-width:520px;font-size:27px;line-height:1.65}.login-identity p{position:relative;z-index:1;margin:0;max-width:560px;color:rgba(255, 255, 255, .82);font-size:15px;line-height:1.9}.form-card{padding:28px}.form-card h1, .form-card h2{margin:0 0 8px;font-size:24px;line-height:1.55}.form-card .hint{margin:0 0 24px;color:var(--muted);font-size:14px}.login-card{padding:30px}.login-card-head{display:flex;align-items:center;gap:12px;margin-bottom:24px}.login-card-head .hint{margin-bottom:0}.login-lock-icon{width:46px;height:46px;flex:0 0 46px;border-radius:8px;background:#eff7f3;border:1px solid #cfe2da;display:inline-flex;align-items:center;justify-content:center}.login-lock-icon::before{content:"";width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231f6b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat}.login-card .form-row{margin-bottom:15px}.login-card .input{min-height:48px;background:#fbfdfc}.login-submit{width:100%;min-height:48px;margin-top:4px;padding-inline:16px;background-image:none !important}.login-submit:hover, .login-submit:focus-visible{background-color:var(--green-dark);background-image:none !important}.login-back-button{width:100%;min-height:46px;margin-top:10px}.error-shell{width:min(620px, calc(100% - 28px));min-height:calc(100dvh - 112px);margin:0 auto;padding:34px 0;display:flex;align-items:center;justify-content:center}.error-card{position:relative;width:100%;padding:30px;display:grid;justify-items:center;gap:12px;overflow:hidden;text-align:center;background:#fff;border:1px solid #ded8cb;border-radius:8px;box-shadow:0 20px 54px rgba(23, 33, 29, .12)}.error-card::before{content:"";position:absolute;inset:0 0 auto;height:5px;background:var(--green)}.error-card-danger::before{background:#9f1d33}.error-card-warning::before{background:#b7791f}.error-card-locked::before{background:#315f8f}.error-mark{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:var(--green);border-radius:8px}.error-card-danger .error-mark{background:#9f1d33}.error-card-warning .error-mark{background:#b7791f}.error-card-locked .error-mark{background:#315f8f}.error-mark::before{content:"!";font-size:28px;font-weight:800;line-height:1}.error-card-info .error-mark::before{content:"i";font-family:Arial, sans-serif}.error-card-locked .error-mark::before{content:"";width:24px;height:24px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat}.error-code{margin:2px 0 0;color:var(--green-dark);font-size:13px;font-weight:800;line-height:1.4}.error-card h1{margin:0;font-size:24px;line-height:1.55}.error-card p{margin:0;max-width:480px;color:var(--muted);font-size:14px}.error-actions{width:min(240px, 100%);margin-top:6px;display:grid;grid-template-columns:1fr;gap:10px}.error-actions .btn{width:100%}.error-note{padding-top:6px;color:#7a817d !important;font-size:12px !important}.form-row{margin-bottom:16px}.form-row label{display:block;margin-bottom:7px;color:#35413b;font-size:13px}.input{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-family:inherit;font-size:16px;font-weight:500;line-height:1.6}.input:focus{outline:2px solid rgba(31, 107, 87, .16);border-color:var(--green)}.input.is-invalid, .input[aria-invalid="true"]{border-color:#c0263f;background:#fff5f6;box-shadow:0 0 0 3px rgba(192, 38, 63, .13)}.input.is-invalid:focus, .input[aria-invalid="true"]:focus{outline:2px solid rgba(192, 38, 63, .2);border-color:#b42335}.field-error-text{display:block;min-height:20px;margin-top:5px;color:#9f1d33;font-size:13px;font-weight:700;line-height:1.55}.field-error-text:empty{display:none}.day-select{color:var(--green-dark);background:#f8fcfa;border-color:#b8d8cc;font-weight:700}.field-hint{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.5}.error{margin:0 0 16px;padding:10px 12px;color:#7f1d2d;background:#fff0f2;border:1px solid #f3c4cc;border-radius:8px;font-size:13px}.modal-source-consumed{display:none !important}.app-modal-backdrop{position:fixed;inset:0;z-index:1400;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(23, 33, 29, .46);backdrop-filter:blur(10px)}.app-modal-backdrop[hidden]{display:none}.app-modal{width:min(440px, 100%);padding:22px;display:grid;gap:14px;border:1px solid rgba(255, 255, 255, .58);border-radius:8px;background:rgba(255, 255, 255, .98);box-shadow:0 28px 90px rgba(23, 33, 29, .28)}.app-modal-mark{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;background:var(--green)}.app-modal-mark::before{content:"";width:25px;height:25px;display:block;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/g%3E%3C/svg%3E") center / 25px 25px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/g%3E%3C/svg%3E") center / 25px 25px no-repeat}.app-modal-mark.has-custom-icon{background:transparent}.app-modal-mark.has-custom-icon::before{display:none}.app-modal-mark.has-custom-icon img{width:100%;height:100%;display:block;object-fit:contain}.app-modal-content h2{margin:0 0 6px;font-size:20px;line-height:1.5}.app-modal-body{margin:0;color:var(--muted);font-size:15px;line-height:1.9}.app-modal-body p{margin:0;white-space:pre-line}.app-modal-body-intro{font-weight:700}.app-modal-list{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none}.app-modal-list li{padding:9px 11px;border:1px solid #ead6a7;border-radius:8px;color:#27342f;background:#fffaf0;font-size:14px;line-height:1.7}.app-modal-extra-actions{display:grid;grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));gap:10px;margin-top:14px}.app-modal-extra-actions .btn{width:100%;min-height:44px}.app-modal-actions{display:flex;justify-content:flex-end;gap:10px}.app-modal-actions [hidden]{display:none !important}.app-modal.is-error .app-modal-mark{background:#8a2132}.app-modal.is-error{border-color:#f3c4cc;background:#fffafa}.app-modal.is-error .app-modal-content h2{color:#8a2132}.app-modal.is-error .app-modal-body{color:#5f1424}.app-modal.is-error .app-modal-list li{color:#5f1424;background:#fff0f2;border-color:#f3c4cc}.app-modal.is-warning .app-modal-content h2{color:#8a5414}.app-modal.is-error .app-modal-mark::before, .app-modal.is-warning .app-modal-mark::before, .app-modal.is-confirm .app-modal-mark::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3Cpath d='M10.3 3.9 2.5 18a2 2 0 0 0 1.7 3h15.6a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3Cpath d='M10.3 3.9 2.5 18a2 2 0 0 0 1.7 3h15.6a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z'/%3E%3C/g%3E%3C/svg%3E")}.app-modal.is-warning .app-modal-mark, .app-modal.is-confirm .app-modal-mark{background:var(--amber)}.app-modal.is-info .app-modal-mark{background:var(--blue)}.term-gate-backdrop{position:fixed;inset:0;z-index:1420;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(23, 33, 29, .58);backdrop-filter:blur(12px)}.term-gate-dialog{width:min(460px, 100%);max-height:calc(100dvh - 36px);overflow-y:auto;display:grid;gap:14px;padding:22px;border:1px solid rgba(255, 255, 255, .55);border-radius:8px;background:rgba(255, 255, 255, .98);box-shadow:0 28px 90px rgba(23, 33, 29, .32)}.term-gate-kicker{width:fit-content;padding:5px 10px;color:var(--green-dark);background:#eaf6f0;border:1px solid rgba(31, 107, 87, .18);border-radius:8px;font-size:12px;font-weight:700}.term-gate-dialog h2{margin:0;font-size:20px;line-height:1.55}.term-gate-dialog p{margin:0;color:var(--muted);font-size:14px}.term-choice-list{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:10px}.term-choice-list li{position:relative;margin:0}.term-choice-list input{position:absolute;inset-inline-start:16px;top:50%;transform:translateY(-50%);accent-color:var(--green)}.term-choice-list label{display:block;min-height:52px;padding:13px 46px 13px 16px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fbfaf6;font-weight:700;cursor:pointer}.term-choice-list input:checked+label{border-color:rgba(31, 107, 87, .65);background:#ecf7f1;box-shadow:inset 0 0 0 1px rgba(31, 107, 87, .18)}.term-choice-list input:focus-visible+label{outline:3px solid rgba(49, 95, 143, .24);outline-offset:2px}.term-gate-action{width:100%;min-height:46px;margin-top:2px}.app-loader-backdrop{position:fixed;inset:0;z-index:1700;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(247, 245, 239, .72);backdrop-filter:blur(8px)}.app-loader-backdrop[hidden]{display:none}.app-loader{min-width:220px;max-width:min(300px, 100%);min-height:86px;display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 20px;border:1px solid rgba(31, 107, 87, .18);border-radius:8px;color:var(--green-dark);background:rgba(255, 255, 255, .98);box-shadow:0 24px 70px rgba(23, 33, 29, .18);font-weight:700}.app-loader-spinner{width:34px;height:34px;flex:0 0 34px;border:3px solid #dcebe5;border-top-color:var(--green);border-radius:50%;animation:app-loader-spin .78s linear infinite}body.is-loader-open{cursor:progress}body.is-submit-lock{cursor:progress}body.is-submit-lock input[type="submit"], body.is-submit-lock button, body.is-submit-lock select, body.is-submit-lock a[href]{pointer-events:none}body.is-submit-lock #AppLoader, body.is-submit-lock #AppLoader *{pointer-events:auto}@keyframes app-loader-spin{to{transform:rotate(360deg)}}.hidden-trap{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;color:#fff;background:radial-gradient(circle at 50% 0, rgba(234, 214, 167, .14), transparent 34%), linear-gradient(180deg, #123f35 0%, #174e41 54%, #0f342d 100%);overflow-y:auto}.sidebar .brand{margin-bottom:32px;align-items:flex-start}.sidebar .brand-logo{width:52px;height:52px;flex-basis:52px}.sidebar .brand-name{display:block;color:#fff;font-size:13px;line-height:1.65}.sidebar .brand-subtitle{color:#ead6a7}.nav-list{display:grid;gap:8px}.nav-link{min-height:44px;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:rgba(255, 255, 255, .86)}.nav-label{max-width:100%;overflow:hidden;text-overflow:ellipsis}.nav-link:hover, .nav-link.is-active{background:rgba(255, 255, 255, .1);color:#fff}.nav-link.is-active{background:rgba(255, 255, 255, .16)}.nav-icon{width:22px;height:22px;flex:0 0 22px;display:inline-flex;align-items:center;justify-content:center}.nav-icon::before{content:"";width:21px;height:21px;display:block;background:currentColor;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:21px 21px;mask-repeat:no-repeat;mask-position:center;mask-size:21px 21px}.nav-home .nav-icon::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/g%3E%3C/svg%3E")}.nav-students .nav-icon::before, .nav-accounts .nav-icon::before, .nav-teachers .nav-icon::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.2a4 4 0 0 1 0 7.6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.2a4 4 0 0 1 0 7.6'/%3E%3C/g%3E%3C/svg%3E")}.nav-halaqahs .nav-icon::before, .nav-progress .nav-icon::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3C/g%3E%3C/svg%3E")}.nav-attendance .nav-icon::before, .nav-year .nav-icon::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.nav-grades .nav-icon::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E")}.nav-account .nav-icon::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E")}.nav-logout .nav-icon::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18'/%3E%3C/g%3E%3C/svg%3E")}.main-area{min-width:0}.page-head{min-height:72px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#fff;background:radial-gradient(circle at 96% 8%, rgba(234, 214, 167, .2), transparent 28%), linear-gradient(135deg, #123f35 0%, #1f6b57 68%, #174e41 100%);border-bottom:1px solid rgba(234, 214, 167, .22);box-shadow:0 10px 28px rgba(23, 33, 29, .12)}.page-title-block{min-width:0;display:flex;align-items:center;gap:10px}.page-head-logo{width:40px;height:40px;flex:0 0 40px;object-fit:contain;border-radius:8px;background:transparent;filter:drop-shadow(0 8px 16px rgba(0, 0, 0, .18))}.page-title-text{min-width:0;display:grid;gap:1px}.page-brand-name{color:#ead6a7;font-size:12px;line-height:1.45}.page-head h1{margin:0;color:#fff;font-size:15px;line-height:1.45}.page-head .head-actions{color:rgba(255, 255, 255, .86)}.page-head .badge{color:#174e41;background:#ead6a7}.user-chip{color:var(--muted);font-size:13px}.head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.session-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.session-name-featured{max-width:360px;min-height:34px;display:inline-flex;align-items:center;padding:3px 12px;border:1px solid rgba(234, 214, 167, .34);border-radius:8px;color:#fff;background:rgba(255, 255, 255, .08);font-size:13px;font-weight:700;box-shadow:inset 0 1px 0 rgba(255, 255, 255, .08)}.content{width:min(1180px, calc(100% - 36px));margin:24px auto 42px}.section-title{margin:0 0 14px;font-size:18px}.section-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.section-page-head .section-title{margin:0}.section-back-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;padding-inline:13px}.section-back-button::before{content:"";width:17px;height:17px;display:inline-block;background:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:17px 17px;mask-repeat:no-repeat;mask-position:center;mask-size:17px 17px}.section-heading{display:inline-flex;align-items:center;gap:7px;padding:0;min-width:0;flex:1 1 auto;color:var(--green-dark);background:transparent;border:0;box-shadow:none;font-size:15px;font-weight:700}.section-heading>span:last-child{min-width:0;line-height:1.6;overflow-wrap:normal;word-break:normal}.section-heading-icon{width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;color:currentColor;background:transparent}.section-heading-icon::before{content:"";width:17px;height:17px;display:block;background:currentColor;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:17px 17px;mask-repeat:no-repeat;mask-position:center;mask-size:17px 17px}.section-heading-records{color:#1f6b57}.section-heading-absence{color:#315f8f}.section-heading-study{color:#8a5a18}.section-heading-year{color:#6b5b95}.section-heading-security{color:#8a4b79}.section-heading-records::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/g%3E%3C/svg%3E")}.section-heading-absence::before, .section-heading-year::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.section-heading-study::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E")}.section-heading-security::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.8a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V5a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.4a1.4 1.4 0 0 1 1.6 0C14.5 2.8 17 4 19 4a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.8a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V5a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.4a1.4 1.4 0 0 1 1.6 0C14.5 2.8 17 4 19 4a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.cards{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:14px}.year-section-links{grid-template-columns:repeat(2, minmax(0, 1fr));margin-bottom:16px}.year-section-links .card-link{min-height:104px}.admin-center-cards{align-items:stretch}.card-link{min-height:132px;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.card-link:active{transform:translateY(1px)}.mobile-priority{border-color:#b8d8cc;background:#f8fcfa}.quick-strip{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:10px;margin:0 0 18px}.quick-strip .btn{min-height:52px}.teacher-home-actions{grid-template-columns:repeat(4, minmax(0, 1fr))}.teacher-home-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}.teacher-home-grid .card-link{min-height:118px;display:grid;grid-template-columns:auto minmax(0, 1fr);align-items:center;column-gap:12px}.teacher-home-grid .card-link strong{margin-bottom:2px}.teacher-home-grid .card-link>span:not(.home-card-icon){grid-column:2}.admin-home{display:grid;gap:12px}.admin-home-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 2px}.admin-home-head h2{margin:0;display:inline-flex;align-items:center;gap:6px;color:var(--green-dark);font-size:14px;line-height:1.45}.admin-home-head-icon{width:16px;height:16px;display:inline-block;flex:0 0 16px;background:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h7v7H3z'/%3E%3Cpath d='M14 3h7v7h-7z'/%3E%3Cpath d='M14 14h7v7h-7z'/%3E%3Cpath d='M3 14h7v7H3z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3h7v7H3z'/%3E%3Cpath d='M14 3h7v7h-7z'/%3E%3Cpath d='M14 14h7v7h-7z'/%3E%3Cpath d='M3 14h7v7H3z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:16px 16px;mask-repeat:no-repeat;mask-position:center;mask-size:16px 16px}.admin-home-year{min-width:118px;padding:6px 10px;border:1px solid #c9ddcf;border-radius:8px;background:#f5fbf7;text-align:center}.admin-home-year span{display:block;color:var(--muted);font-size:11px}.admin-home-year strong{display:block;color:var(--green-dark);font-size:14px;line-height:1.5}.admin-home-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:14px}.admin-home-card{min-height:144px;display:grid;grid-template-columns:50px minmax(0, 1fr);align-items:center;gap:13px;padding:16px;border:1px solid #ddd7ca;border-radius:8px;background:#fff;box-shadow:var(--shadow);transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease}.admin-home-card:hover{transform:translateY(-2px);border-color:rgba(31, 107, 87, .32);box-shadow:0 16px 34px rgba(23, 33, 29, .11)}.admin-home-card:active{transform:translateY(0)}.admin-home-icon{width:50px;height:50px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;background:var(--green);box-shadow:0 12px 24px rgba(23, 33, 29, .14)}.admin-home-icon::before{content:"";width:26px;height:26px;display:block;background:currentColor;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:26px 26px;mask-repeat:no-repeat;mask-position:center;mask-size:26px 26px}.admin-home-card-text{display:grid;gap:4px;min-width:0}.admin-home-card-text strong{color:var(--ink);font-size:16px;line-height:1.55}.admin-home-card-text span{color:#66736d;font-size:12px;line-height:1.8}.admin-home-card-text .admin-home-stats{width:fit-content;max-width:100%;margin-top:3px;padding:3px 8px;border:1px solid rgba(221, 215, 202, .9);border-radius:999px;color:#42504a;background:#fbfaf6;font-size:11px;font-weight:700}.admin-home-card-records .admin-home-icon{background:#1f6b57}.admin-home-card-absence .admin-home-icon{background:#315f8f}.admin-home-card-study .admin-home-icon{background:#b7791f}.admin-home-card-year .admin-home-icon{background:#6b5b95}.admin-home-card-security .admin-home-icon{background:#8a4b79}.admin-home-card-password .admin-home-icon{background:#2f7d78}.admin-home-card-logout .admin-home-icon{background:#9d3f4f}.admin-home-icon-records::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/g%3E%3C/svg%3E")}.admin-home-icon-absence::before, .admin-home-icon-year::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.admin-home-icon-study::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E")}.admin-home-icon-security::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.8a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V5a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.4a1.4 1.4 0 0 1 1.6 0C14.5 2.8 17 4 19 4a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.7 8.8a1 1 0 0 1-.6 0C7.5 20.5 4 18 4 13V5a1 1 0 0 1 1-1c2 0 4.5-1.2 6.2-2.4a1.4 1.4 0 0 1 1.6 0C14.5 2.8 17 4 19 4a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.admin-home-icon-password::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E")}.admin-home-icon-logout::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/g%3E%3C/svg%3E")}.home-card-icon{width:42px;height:42px;grid-row:span 2;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;background:var(--green);box-shadow:0 10px 22px rgba(31, 107, 87, .18)}.home-card-icon::before{content:"";width:24px;height:24px;display:block;background:currentColor;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:24px 24px;mask-repeat:no-repeat;mask-position:center;mask-size:24px 24px}.home-icon-attendance{background:#1f6b57}.home-icon-students{background:#2f6f91}.home-icon-progress{background:#b7791f}.home-icon-grades{background:#8a4b79}.home-icon-password{background:#2f7d78}.home-icon-logout{background:#9d3f4f}.home-icon-attendance::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.home-icon-students::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.2a4 4 0 0 1 0 7.6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.2a4 4 0 0 1 0 7.6'/%3E%3C/g%3E%3C/svg%3E")}.home-icon-progress::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3C/g%3E%3C/svg%3E")}.home-icon-grades::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E")}.home-icon-password::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E")}.home-icon-logout::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M21 3v18'/%3E%3C/g%3E%3C/svg%3E")}.teacher-halaqah-panel{display:grid;grid-template-columns:minmax(0, 1fr);align-items:center;justify-items:center;min-height:76px;margin:0 0 14px;padding:15px 17px;border:1px solid rgba(31, 107, 87, .18);border-radius:8px;background:linear-gradient(135deg, #ffffff 0%, #f2faf6 100%);box-shadow:0 10px 26px rgba(23, 78, 65, .08);text-align:center}.teacher-halaqah-panel::before{display:none}.teacher-halaqah-panel strong{display:block;min-width:0;color:var(--green-dark);font-size:16px;font-weight:900;line-height:1.55;letter-spacing:0;overflow-wrap:anywhere}.teacher-account-card{min-height:104px;display:grid;grid-template-columns:auto minmax(0, 1fr);align-items:center;column-gap:12px;border-color:#d6e5de;background:#fffefb;text-align:start}.teacher-home-grid .teacher-account-card strong{margin-bottom:2px}.teacher-account-card>span:not(.home-card-icon){grid-column:2}.teacher-account-card-danger{border-color:#ead3d5;background:#fffbfb}.single-action{grid-template-columns:1fr;margin-top:18px;margin-bottom:0}.card-link strong{display:block;margin-bottom:8px;color:var(--ink)}.card-link span{color:var(--muted);font-size:13px}.section-card{display:grid;grid-template-columns:50px minmax(0, 1fr);align-items:center;gap:13px}.section-card-icon{width:50px;height:50px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;background:var(--green);box-shadow:0 12px 24px rgba(23, 33, 29, .13)}.card-link .section-card-icon{color:#fff}.section-card-icon::before{content:"";width:26px;height:26px;display:block;background:#fff;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:26px 26px;mask-repeat:no-repeat;mask-position:center;mask-size:26px 26px}.section-card-copy{min-width:0}.section-card-copy strong{margin-bottom:4px;font-size:16px;line-height:1.55}.section-card-copy span{display:block;color:#66736d;font-size:12px;line-height:1.85}.section-icon-teachers{background:#1f6b57}.section-icon-halaqahs{background:#b7791f}.section-icon-students{background:#315f8f}.section-icon-attendance-entry{background:#2f7d78}.section-icon-attendance-report{background:#315f8f}.section-icon-attendance-inventory{background:#8a4b79}.section-icon-progress{background:#1f6b57}.section-icon-grades{background:#8a4b79}.section-icon-certificates{background:#b7791f}.section-icon-terms{background:#315f8f}.section-icon-rollover{background:#6b5b95}.section-icon-accounts{background:#1f6b57}.section-icon-passwords{background:#8a4b79}.section-icon-my-password{background:#2f7d78}.section-icon-teachers::before, .section-icon-students::before, .section-icon-accounts::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.2a4 4 0 0 1 0 7.6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9.5' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.8'/%3E%3Cpath d='M16 3.2a4 4 0 0 1 0 7.6'/%3E%3C/g%3E%3C/svg%3E")}.section-icon-halaqahs::before, .section-icon-progress::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 12h2'/%3E%3Cpath d='M14 12h2'/%3E%3C/g%3E%3C/svg%3E")}.section-icon-attendance-entry::before, .section-icon-terms::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='m9 16 2 2 4-5'/%3E%3C/g%3E%3C/svg%3E")}.section-icon-attendance-report::before, .section-icon-attendance-inventory::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l2 2h3v16H4V5h3z'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h6'/%3E%3Cpath d='M7 12h.01'/%3E%3Cpath d='M7 16h.01'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l2 2h3v16H4V5h3z'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h6'/%3E%3Cpath d='M7 12h.01'/%3E%3Cpath d='M7 16h.01'/%3E%3C/g%3E%3C/svg%3E")}.section-icon-grades::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/g%3E%3C/svg%3E")}.section-icon-certificates::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 4h10v4a5 5 0 0 1-10 0z'/%3E%3Cpath d='M5 6H3a3 3 0 0 0 3 3'/%3E%3Cpath d='M19 6h2a3 3 0 0 1-3 3'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M7 4h10v4a5 5 0 0 1-10 0z'/%3E%3Cpath d='M5 6H3a3 3 0 0 0 3 3'/%3E%3Cpath d='M19 6h2a3 3 0 0 1-3 3'/%3E%3C/g%3E%3C/svg%3E")}.section-icon-rollover::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/g%3E%3C/svg%3E")}.section-icon-passwords::before, .section-icon-my-password::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3Cpath d='M12 15v2'/%3E%3C/g%3E%3C/svg%3E")}.teacher-home-grid .home-card-icon{color:#fff;font-size:0}.badge{display:inline-flex;align-items:center;min-height:26px;padding:2px 10px;border-radius:999px;background:#f7ecd8;color:var(--amber);font-size:12px}.notice{margin:0 0 16px;padding:10px 12px;border-radius:8px;border:1px solid #c7e4d7;color:#14513f;background:#eef8f3;font-size:13px}.notice-success{border-color:#c7e4d7;color:#14513f;background:#eef8f3}.notice-warning{border-color:#ead6a7;color:#8a5414;background:#fff8e6}.notice-error{border-color:#f3c4cc;color:#8a2132;background:#fff0f2}.account-card{width:min(520px, 100%)}.account-card .hint{margin-bottom:18px}.password-rules{display:grid;gap:7px;margin-top:6px;padding:12px;border:1px solid #d9ecdf;border-radius:8px;color:#426057;background:#f4fbf7;font-size:12px}.password-rules span{display:flex;align-items:center;gap:7px}.password-rules span::before{content:"";width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--green)}.filter-bar{display:grid;grid-template-columns:minmax(180px, 1fr) auto;gap:10px;align-items:end;margin-bottom:16px}.students-filter{grid-template-columns:minmax(160px, .7fr) minmax(190px, 1fr) auto}.halaqah-filter{grid-template-columns:minmax(170px, .7fr) auto}.attendance-report-panel{margin-bottom:16px;padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.attendance-report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #e6e1d7}.attendance-report-head strong, .student-absence-summary strong{display:block;color:var(--green-dark);font-size:17px;line-height:1.6}.attendance-report-head span, .student-absence-summary span{display:block;color:var(--muted);font-size:12px;line-height:1.7}.attendance-report-filter{grid-template-columns:minmax(130px, .65fr) minmax(130px, .65fr) minmax(160px, .8fr) minmax(210px, 1.1fr);margin-bottom:0}.attendance-report-filter .wide{grid-column:span 2}.attendance-report-actions{grid-column:span 4;display:grid;grid-template-columns:minmax(180px, 260px);justify-content:end;gap:8px}.attendance-report-actions .btn, .attendance-report-head .btn{width:100%}.attendance-report-metrics .metric strong, .attendance-inventory-metrics .metric strong, .grades-metrics .metric strong{color:var(--green-dark)}.student-absence-summary{margin-bottom:16px;padding:12px 14px;display:grid;grid-template-columns:minmax(220px, 1fr) repeat(3, auto);align-items:center;gap:10px 16px;border:1px solid #cfe2da;border-radius:8px;background:#f6fbf8}.admin-attendance-grid{min-width:980px}.admin-attendance-grid th:first-child, .admin-attendance-grid td:first-child{width:48px;text-align:center}.term-hidden-select{display:none !important}.term-lock{display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:7px 10px;align-items:end;min-width:0}.term-lock>span{grid-column:1 / -1;color:var(--muted);font-size:12px}.term-lock strong{min-height:42px;display:flex;align-items:center;min-width:0;padding:8px 12px;border:1px solid #bdd9cf;border-radius:8px;color:var(--green-dark);background:#f4fbf8;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.term-lock .btn{width:auto;min-height:42px;white-space:nowrap}.locked-field{min-height:42px;display:flex;align-items:center;padding:8px 12px;border:1px solid #bdd9cf;border-radius:8px;color:var(--green-dark);background:#f4fbf8;font-size:14px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.grid{width:100%;border-collapse:collapse;min-width:860px}.grid th, .grid td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:right;vertical-align:middle;font-size:14px;line-height:1.65}.grid th{color:#33413b;background:#f2efe7;font-weight:700}.grid tr:last-child td{border-bottom:0}.print-report-shell{display:none}.attendance-print-page{direction:rtl;color:#17211d;background:#fff}.attendance-print-header{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:14px;padding-bottom:12px;border-bottom:3px solid #174e41;text-align:center}.attendance-print-header img{width:58px;height:58px;object-fit:contain}.attendance-print-header h1, .attendance-print-header h2{margin:0;line-height:1.6}.attendance-print-header h1{color:#174e41;font-size:18px;font-weight:700}.attendance-print-header h2{color:#315f8f;font-size:15px}.attendance-print-meta, .attendance-print-summary{display:grid;gap:8px}.attendance-print-meta{grid-template-columns:repeat(4, minmax(0, 1fr));margin-bottom:10px}.attendance-print-summary{grid-template-columns:repeat(4, minmax(0, 1fr));margin-bottom:14px}.attendance-print-meta div, .attendance-print-summary div{padding:8px 10px;border:1px solid #cbd8d2;border-radius:6px;background:#f7fbf9}.attendance-print-meta span, .attendance-print-summary span{display:block;color:#69756f;font-size:11px;line-height:1.5}.attendance-print-meta strong, .attendance-print-summary strong{display:block;color:#17211d;font-size:14px;line-height:1.6}.attendance-print-summary strong{color:#174e41;font-size:20px}.attendance-print-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.attendance-print-table th, .attendance-print-table td{padding:8px 7px;border:1px solid #b8c9c1;text-align:right;vertical-align:top}.attendance-print-table th{color:#fff;background:#174e41;font-weight:700}.attendance-print-table th:first-child, .attendance-print-table td:first-child{width:36px;text-align:center}.attendance-print-table th:nth-child(3), .attendance-print-table td:nth-child(3), .attendance-print-table th:nth-child(4), .attendance-print-table td:nth-child(4){width:72px;text-align:center}.attendance-print-range-table th:first-child, .attendance-print-range-table td:first-child{width:34px}.attendance-print-range-table th:nth-child(2), .attendance-print-range-table td:nth-child(2){width:86px;text-align:center}.attendance-print-range-table th:nth-child(3), .attendance-print-range-table td:nth-child(3){width:58px;text-align:center}.attendance-print-range-table th:nth-child(4), .attendance-print-range-table td:nth-child(4){width:auto;text-align:right}.attendance-print-range-table th:nth-child(5), .attendance-print-range-table td:nth-child(5){width:112px}.attendance-print-range-table th:nth-child(6), .attendance-print-range-table td:nth-child(6){width:76px;text-align:center}.attendance-print-empty{padding:18px;border:1px dashed #b8c9c1;border-radius:8px;color:#174e41;background:#f7fbf9;text-align:center;font-weight:700}.grid-input{min-height:40px;padding:6px 10px;font-size:14px}.btn-sm{min-height:38px;padding:6px 12px;font-size:13px}.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.status-pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:999px;font-size:13px;font-weight:700;line-height:1.5;background:#edf7f2;color:#166247}.status-pill.off{background:#fff0f2;color:#8a2132}.muted{color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:12px;align-items:end;margin-bottom:16px}.form-grid .wide{grid-column:span 2}.action-panel{padding:16px;margin-bottom:16px}.admin-page-actions{display:flex;justify-content:flex-end;margin:0 0 16px}.admin-page-actions .btn{min-width:180px}.admin-form-modal-backdrop{position:fixed;inset:0;z-index:1360;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(23, 33, 29, .54);backdrop-filter:blur(12px)}.admin-form-modal-backdrop[hidden]{display:none}.admin-form-modal{width:min(720px, 100%);max-height:calc(100dvh - 36px);overflow-y:auto;display:grid;gap:18px;padding:22px;border:1px solid rgba(255, 255, 255, .58);border-radius:8px;background:rgba(255, 255, 255, .98);box-shadow:0 28px 90px rgba(23, 33, 29, .3)}.admin-form-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.admin-form-modal-head h3{margin:8px 0 4px;color:var(--green-dark);font-size:21px;line-height:1.5}.admin-form-modal-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.8}.modal-close-button{width:38px;height:38px;flex:0 0 38px;border:1px solid #d8e5de;border-radius:8px;color:var(--green-dark);background:#f4fbf8;cursor:pointer}.modal-close-button::before{content:"";width:18px;height:18px;display:block;margin:auto;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12'/%3E%3Cpath d='M18 6 6 18'/%3E%3C/g%3E%3C/svg%3E") center / 18px 18px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12'/%3E%3Cpath d='M18 6 6 18'/%3E%3C/g%3E%3C/svg%3E") center / 18px 18px no-repeat}.admin-form-modal-grid{grid-template-columns:repeat(2, minmax(0, 1fr));margin-bottom:0}.admin-student-modal-grid{grid-template-columns:repeat(2, minmax(0, 1fr));margin-bottom:0}.admin-student-modal{width:min(860px, 100%)}.birth-date-field{min-width:0}.birth-date-parts{display:grid;grid-template-columns:minmax(82px, .7fr) minmax(130px, 1.15fr) minmax(92px, .8fr);gap:8px}.birth-date-parts .input{width:100%;min-width:0}.admin-form-modal-actions{display:flex;justify-content:flex-end;gap:10px}.panel-title{margin:0 0 8px;color:var(--green-dark);font-size:17px}.hint{margin:0 0 14px;color:var(--muted);font-size:13px}.admin-year-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}.rollover-safety-note{margin-bottom:14px}.rollover-preview{display:grid;gap:14px;margin-top:4px;padding:14px;border:1px solid #ead6a7;border-radius:8px;background:#fffaf0}.rollover-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #ead6a7}.rollover-preview-head strong{color:var(--green-dark);font-size:17px;line-height:1.6}.rollover-preview-head span{color:#8a5414;font-size:13px;line-height:1.7}.rollover-preview-metrics{display:grid;grid-template-columns:repeat(5, minmax(0, 1fr));gap:10px}.rollover-preview-metrics>div, .rollover-impact, .rollover-confirm-box{padding:12px;border:1px solid #eadfc9;border-radius:8px;background:#fff}.rollover-preview-metrics span, .rollover-confirm-box label{display:block;color:var(--muted);font-size:12px;line-height:1.7}.rollover-preview-metrics strong{display:block;color:var(--green-dark);font-size:18px;line-height:1.5}.rollover-impact strong{display:block;margin-bottom:6px;color:var(--green-dark);font-size:14px}.rollover-impact ul{margin:0;padding:0 18px 0 0;color:#4c4031;font-size:13px;line-height:1.9}.rollover-confirm-box{display:grid;gap:7px}.rollover-confirm-box label strong{color:#b42335;font-size:14px}.rollover-final-actions{display:flex;justify-content:flex-end}.rollover-final-actions .btn{min-width:220px}.term-activation-panel{display:grid;gap:12px}.term-activation-list{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:10px}.term-manage-grid{grid-template-columns:repeat(2, minmax(0, 1fr));align-items:end;margin-bottom:0}.term-form-modal{width:min(740px, 100%)}.term-visible-check{min-height:42px;padding:8px 10px;border:1px solid #d8e5de;border-radius:8px;background:#f8fbf9;color:var(--green-dark);font-weight:700}.term-activation-card{min-width:0;display:grid;grid-template-columns:minmax(0, 1fr) auto auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.term-activation-card.is-active{border-color:#bdd9cf;background:#f4fbf8}.term-activation-card strong{display:block;color:var(--green-dark);font-size:16px;line-height:1.6}.term-activation-card span:not(.status-pill){display:block;color:var(--muted);font-size:12px;line-height:1.7}.term-card-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.admin-halaqah-add-grid{grid-template-columns:minmax(240px, 2fr) minmax(100px, .65fr) minmax(150px, .9fr) minmax(210px, 1.4fr) auto}.capacity-input{max-width:92px}.halaqah-grid{min-width:760px}.admin-students-filter{grid-template-columns:minmax(220px, 1fr) minmax(180px, .65fr) auto}.admin-teachers-filter{grid-template-columns:minmax(220px, 1fr) minmax(150px, .55fr) auto}.teacher-link-overview{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;margin:14px 0 18px}.admin-link-overview{grid-template-columns:minmax(0, 1fr)}.teacher-link-card{position:relative;overflow:hidden;border:1px solid rgba(0, 117, 93, .22);border-radius:8px;background:linear-gradient(135deg, #f4fbf7 0%, #ffffff 100%);padding:14px;box-shadow:0 10px 28px rgba(17, 84, 70, .08)}.teacher-link-card::before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:5px;background:var(--green)}.teacher-link-card-warning{border-color:rgba(177, 112, 19, .25);background:linear-gradient(135deg, #fff8e8 0%, #ffffff 100%)}.teacher-link-card-warning::before{background:#b17013}.teacher-link-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding-inline-start:2px}.teacher-link-card-head span{color:var(--green-dark);font-weight:900;font-size:16px;line-height:1.45}.teacher-link-card-head strong{min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;color:var(--green-dark);border:1px solid rgba(0, 117, 93, .18);font-size:16px;box-shadow:0 5px 16px rgba(17, 84, 70, .08)}.teacher-link-list{list-style:none;margin:0;padding:0;display:grid;gap:10px;max-height:240px;overflow:auto}.teacher-link-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;border-radius:8px;background:rgba(255, 255, 255, .92);border:1px solid rgba(26, 37, 33, .09)}.teacher-link-list span{color:var(--text);font-size:14px;font-weight:800;line-height:1.55}.teacher-link-list small, .teacher-link-empty{color:var(--muted);font-size:13px;line-height:1.6}.admin-passwords-filter{grid-template-columns:minmax(220px, 1fr) auto}.admin-accounts-filter{grid-template-columns:minmax(220px, 1fr) auto}.admin-students-grid{min-width:620px}.admin-accounts-grid{min-width:760px}.permission-user-card{display:grid;grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));gap:10px;padding:14px;margin-bottom:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px rgba(23, 33, 29, .06)}.permission-user-card div{display:grid;gap:4px}.permission-user-card span{color:var(--muted);font-size:12px}.permission-user-card strong{color:var(--text);font-size:15px;line-height:1.6}.permission-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.permission-group{display:grid;gap:10px;margin-bottom:14px}.permission-group-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 2px 6px;border-bottom:1px solid rgba(17, 111, 89, .16)}.permission-group-head h3{margin:0;color:var(--green-dark);font-size:17px;line-height:1.5}.permission-group-head p{margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.7}.permission-group-head>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;color:var(--green-dark);background:#edf7f2;font-size:11px;font-weight:800;line-height:1}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));gap:10px}.permission-tile{position:relative;display:grid;grid-template-columns:auto minmax(0, 1fr);gap:10px;align-items:start;min-height:104px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);cursor:pointer}.permission-tile input{margin-top:4px;transform:scale(1.05);accent-color:var(--green)}.permission-tile-copy{display:grid;gap:4px}.permission-tile-copy strong{color:var(--text);font-size:14px;line-height:1.5}.permission-tile-copy small{color:var(--muted);font-size:12px;line-height:1.7}.permission-tile-copy em{color:#8a6420;font-size:11px;font-style:normal;font-weight:700;line-height:1.7}.permission-group-locked .permission-group-head>span{color:#7f1d1d;background:#fff1f2}.permission-tile.is-locked{cursor:default;background:#fbfaf7}.permission-lock-mark{width:18px;height:18px;margin-top:2px;border-radius:999px;background:#a16207}.permission-lock-mark::before{content:"";display:block;width:8px;height:6px;margin:5px auto 0;border:2px solid #fff;border-bottom:0;border-radius:8px 8px 0 0}.account-login-select.is-stopped{border-color:rgba(167, 46, 59, .45);background:#fff4f4;color:#9f2435;font-weight:800}.admin-teachers-grid{min-width:600px}.admin-passwords-grid{min-width:520px}.admin-teachers-grid th:first-child, .admin-teachers-grid td:first-child{width:54px;text-align:center}.grid-locked-field{min-height:40px;display:inline-flex;align-items:center;width:100%}.modal-checkbox-line{min-height:42px;padding:8px 0}.admin-students-grid th:first-child, .admin-students-grid td:first-child{width:54px;text-align:center}.student-row-number{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;color:var(--green-dark);background:#edf7f2;font-weight:700;line-height:1}.student-identity, .student-term-stack{display:grid;gap:2px;min-width:0}.student-name{color:#1f2f2a;font-weight:800;overflow-wrap:anywhere}.student-edit-link{color:#1f2f2a;font-weight:800;text-decoration:none;overflow-wrap:anywhere}.student-edit-link:hover, .student-edit-link:focus{color:var(--green-dark);text-decoration:underline}.student-meta, .student-contact{color:var(--muted);font-size:12px;line-height:1.6}.student-active-state{color:#273b35;font-weight:700}.student-active-state.off{color:#b42336}.metric-row{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:12px;margin-bottom:16px}.metric{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.metric strong{display:block;font-size:22px;line-height:1.4}.metric span{color:var(--muted);font-size:13px;line-height:1.6}.checkbox-line{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.progress-wrap{display:grid;gap:12px}.progress-card{padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.progress-card-head{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e9eee9}.progress-card-head h3{margin:0;color:var(--green-dark);font-size:16px;line-height:1.6}.progress-fields{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:10px}.progress-field{min-width:0}.progress-field-save label{color:var(--green-dark);font-weight:700}.progress-field-review label{color:var(--blue);font-weight:700}.progress-field-save .surah-picker-button{border-color:#b8d8cc;background:#f8fcfa}.progress-field-review .surah-picker-button{border-color:#bfd1ee;background:#f8faff}.progress-field label{display:block;margin-bottom:6px;color:var(--muted);font-size:12px}.empty-panel{padding:18px;color:var(--muted)}.attendance-wrap{display:grid;gap:12px}.attendance-card{padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.attendance-card.is-absent{border-color:#efc9d0;background:#fffafa}.attendance-card-head{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e9eee9}.attendance-card-head h3{margin:0;color:var(--green-dark);font-size:16px;line-height:1.6}.attendance-options{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:10px;margin-bottom:12px}.toggle-check{min-height:48px;display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fbfaf6;color:var(--ink);cursor:pointer;transition:border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease}.toggle-check:hover{border-color:#b8d8cc;background:#f8fcfa}.toggle-check input{width:20px;height:20px;margin:0;accent-color:var(--green)}.toggle-check label{flex:1;cursor:pointer;font-weight:700}.attendance-card.is-absent .absent-check{color:#7f1d2d;background:#fff0f2;border-color:#f3c4cc;box-shadow:inset 0 0 0 1px #f3c4cc}.attendance-card.is-excused .excuse-check{color:#315f8f;background:#eef6ff;border-color:#c4daf2;box-shadow:inset 0 0 0 1px #c4daf2}.excuse-check[hidden]{display:none}.attendance-reason label{display:block;margin-bottom:6px;color:var(--muted);font-size:12px}.attendance-reason input:disabled{background:#f4f1ea;color:#9b9184}.grades-wrap{display:grid;gap:12px}.grade-card{padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.grade-card.is-missing-materials{border-color:#efd39f;background:#fffaf0}.grade-card-head{margin-bottom:12px;padding-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eee9}.grade-card-head h3{margin:0;color:var(--green-dark);font-size:16px;line-height:1.6}.grade-total{min-width:44px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:2px 10px;border-radius:8px;color:#fff;background:var(--blue);font-weight:700}.grade-prereq{margin:-2px 0 12px;padding:8px 10px;border-radius:8px;color:#14513f;background:#eef8f3;font-size:12px}.grade-card.is-missing-materials .grade-prereq{color:#82520d;background:#fff3d9}.grade-card.is-missing-materials .grade-total{background:#9b9184}.score-grid{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:10px}.score-field{min-width:0}.score-field label{display:block;margin-bottom:6px;color:var(--muted);font-size:12px}.score-input{text-align:center;font-weight:700}.score-input.is-invalid{color:#8a2132;background:#fff0f2;border-color:#d84c66;box-shadow:0 0 0 3px rgba(216, 76, 102, .12)}.score-input:disabled{background:#f4f1ea;color:#9b9184}.score-error{min-height:20px;display:block;margin-top:5px;color:#8a2132;font-size:11px;line-height:1.5}.grade-card.has-score-error{border-color:#efc9d0}.grade-progress-link{display:none;margin-top:12px}.grade-card.is-missing-materials .grade-progress-link{display:inline-flex}.student-cards{display:grid;gap:12px}.student-card{padding:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.student-card h3{margin:0 0 12px;display:flex;align-items:center;gap:9px;color:var(--green-dark);font-size:16px;line-height:1.6}.student-seq{min-width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;border-radius:8px;color:#fff;background:var(--green);font-size:13px;line-height:1}.student-card-grid{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:10px}.teacher-student-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}.student-info-box{min-width:0;min-height:66px;padding:9px 10px;display:grid;align-content:center;border-radius:8px;border:1px solid var(--line);background:#fbfaf6;box-shadow:0 6px 14px rgba(23, 33, 29, .035)}.student-card-grid span{display:block;color:var(--muted);font-size:11px;font-weight:700;line-height:1.5}.student-card-grid strong{display:block;margin-top:3px;color:var(--ink);font-size:12px;line-height:1.7;word-break:break-word}.student-info-box.is-save{background:#f1faed;border-color:#c9e6cc}.student-info-box.is-review{background:#eef7ff;border-color:#c6daf1}.student-info-box.is-absence{background:#fff7e9;border-color:#ead7a8}.student-info-box.is-grade{background:#f6f0ff;border-color:#dbcdf2}.student-info-box.is-save span, .student-info-box.is-save strong{color:#22613f}.student-info-box.is-review span, .student-info-box.is-review strong{color:#235f8d}.student-info-box.is-absence span, .student-info-box.is-absence strong{color:#8a5a12}.student-info-box.is-grade span, .student-info-box.is-grade strong{color:#66459c}.student-transfer-note{width:fit-content;margin-top:5px;display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border:1px solid #ead7a8;border-radius:999px;color:#7a4f10;background:#fffdf5;font-family:inherit;font-size:10px;font-weight:700;line-height:1.5;cursor:pointer}.student-transfer-note:hover, .student-transfer-note:focus{border-color:#d6b66c;background:#fff8e6;outline:none}.surah-select{min-width:170px}.surah-picker-button{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid #b8d8cc;border-radius:8px;color:var(--ink);background:#f8fcfa;font-family:inherit;font-size:14px;cursor:pointer}.surah-picker-button::after{content:"\2304";color:var(--green);font-size:16px}.surah-picker-button:disabled, .surah-picker-button.is-disabled{cursor:default;color:var(--muted);background:#f3f6f5;border-color:var(--line)}.native-surah-select{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.surah-picker-backdrop{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(15, 32, 27, .46);backdrop-filter:blur(6px)}.surah-picker-backdrop.open{display:flex}.surah-picker-sheet{position:relative;width:min(460px, calc(100% - 24px));max-height:min(80vh, 680px);max-height:min(80dvh, 680px);display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(31, 107, 87, .14);border-radius:18px;background:linear-gradient(180deg, #ffffff 0%, #f8fcfa 100%);box-shadow:0 28px 90px rgba(10, 29, 24, .28)}.surah-picker-sheet::before{content:"";position:absolute;top:10px;left:50%;width:46px;height:4px;transform:translateX(-50%);border-radius:999px;background:#c9dcd5}.surah-picker-head{position:sticky;top:0;z-index:1;padding:20px 16px 14px;display:grid;gap:12px;border-bottom:1px solid #dfeae5;background:rgba(255, 255, 255, .94);backdrop-filter:blur(10px)}.surah-picker-title{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--green-dark);font-size:16px;font-weight:900;line-height:1.5}.surah-picker-close{width:38px;min-height:38px;padding:0;border:1px solid #d4e3dc;border-radius:8px;background:#f7fbf9;color:var(--green-dark);font-family:inherit;font-size:20px;font-weight:900;line-height:1;cursor:pointer}.surah-picker-search{width:100%;min-height:50px;padding:10px 40px 10px 12px;border:1.5px solid #b9d8cc;border-radius:8px;color:#102d27;background:#f8fcfa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231f6b57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/g%3E%3C/svg%3E") right 13px center / 18px 18px no-repeat;font-family:inherit;font-size:16px;font-weight:800;box-shadow:inset 0 1px 0 rgba(255, 255, 255, .8)}.surah-picker-search:focus{outline:3px solid rgba(31, 107, 87, .14);border-color:var(--green);background-color:#fff}.surah-picker-list{margin:0;padding:8px;overflow-y:auto;overscroll-behavior:contain;list-style:none}.surah-picker-option{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;padding:10px 12px;border:1px solid #e3ede8;border-radius:8px;color:#142e28;background:#fff;font-size:14px;font-weight:800;line-height:1.55;cursor:pointer}.surah-picker-option::after{content:"\2713";width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;border-radius:999px;color:#fff;background:rgba(255, 255, 255, .18);font-size:14px;opacity:0}.surah-picker-option:hover{border-color:#b9d8cc;background:#f2faf6}.surah-picker-option.selected{color:#fff;border-color:var(--green);background:var(--green)}.surah-picker-option.selected::after{opacity:1}.surah-picker-option.empty{color:var(--muted);border-color:#eadfc5;background:#fff9ec}.surah-picker-option.empty.selected{color:#fff;background:var(--amber)}@media (max-width:860px){.topbar{padding:14px 16px;align-items:flex-start;flex-direction:column}.hero{grid-template-columns:1fr;margin-top:18px}.hero-main{min-height:300px;padding:28px}.hero h1{font-size:26px}.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:14px 14px 12px}.sidebar .brand{margin-bottom:12px}.nav-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.nav-link{flex:0 0 auto;white-space:nowrap;background:rgba(255, 255, 255, .08)}.page-head{min-height:0;padding:14px 16px;align-items:flex-start;flex-direction:column}.page-head h1{font-size:18px}.head-actions{width:100%;justify-content:space-between}.content{width:min(100% - 20px, 720px);margin:14px auto 28px}.quick-strip{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.admin-home-head{align-items:center;flex-direction:row;padding:0}.admin-home-head h2{font-size:13px}.admin-home-head-icon{width:15px;height:15px;flex-basis:15px;-webkit-mask-size:15px 15px;mask-size:15px 15px}.admin-home-year{min-width:0;text-align:center;padding:5px 8px}.admin-home-year strong{font-size:12px}.admin-home-grid{grid-template-columns:repeat(3, minmax(0, 1fr));gap:10px}.admin-center-cards{grid-template-columns:repeat(3, minmax(0, 1fr));gap:10px}.year-section-links{grid-template-columns:repeat(2, minmax(0, 1fr));gap:10px}.admin-home-card{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 10px;text-align:center}.admin-home-icon{width:36px;height:36px}.admin-home-icon::before{width:21px;height:21px;-webkit-mask-size:21px 21px;mask-size:21px 21px}.admin-home-card-text strong{font-size:13px;line-height:1.55}.admin-home-card-text>span, .admin-home-card-text .admin-home-stats{display:none}.teacher-home-grid{grid-template-columns:repeat(3, minmax(0, 1fr));gap:10px}.card-link{min-height:112px;padding:16px}.section-page-head{gap:10px;margin-bottom:12px}.section-back-button{width:auto;min-width:68px;min-height:44px;padding-inline:10px;font-size:11px}.section-back-button::before{width:16px;height:16px;-webkit-mask-size:16px 16px;mask-size:16px 16px}.section-heading{padding:0;gap:5px;font-size:12px;line-height:1.55}.section-heading-icon{width:15px;height:15px;flex-basis:15px}.section-heading-icon::before{width:15px;height:15px;-webkit-mask-size:15px 15px;mask-size:15px 15px}.section-card{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 10px;text-align:center}.section-card-icon{width:36px;height:36px}.section-card-icon::before{width:21px;height:21px;-webkit-mask-size:21px 21px;mask-size:21px 21px}.section-card-copy strong{margin-bottom:0;font-size:13px;line-height:1.55}.section-card-copy span{display:none}.teacher-home-grid .card-link{min-height:92px;padding:12px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.teacher-home-grid .home-card-icon{width:36px;height:36px;grid-row:auto}.teacher-home-grid .home-card-icon::before{width:21px;height:21px;-webkit-mask-size:21px 21px;mask-size:21px 21px}.teacher-home-grid .card-link strong{margin-bottom:0;font-size:14px;line-height:1.55}.teacher-home-grid .card-link>span:not(.home-card-icon){display:none}.teacher-account-card{min-height:92px;padding:12px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.teacher-home-grid .teacher-account-card strong{margin-bottom:0;font-size:13px;line-height:1.55}.teacher-account-card>span:not(.home-card-icon){display:none}.filter-bar{grid-template-columns:1fr}.form-grid, .metric-row{grid-template-columns:1fr}.rollover-preview-head, .rollover-preview-metrics{grid-template-columns:1fr}.rollover-preview-head{display:grid}.rollover-final-actions{display:block}.term-activation-list, .term-manage-grid, .term-activation-card{grid-template-columns:1fr}.term-card-actions{justify-content:stretch}.attendance-report-head, .student-absence-summary{grid-template-columns:1fr}.attendance-report-head{display:grid}.attendance-report-filter, .attendance-report-filter .wide, .attendance-report-actions{grid-column:auto;grid-template-columns:1fr}.admin-form-modal-grid{grid-template-columns:1fr}.admin-student-modal-grid{grid-template-columns:1fr}.birth-date-parts{grid-template-columns:minmax(72px, .7fr) minmax(118px, 1.15fr) minmax(82px, .75fr);gap:7px}.form-grid .wide{grid-column:auto}.btn{width:100%;min-height:46px}.form-row label, .form-grid label, .filter-bar label, .progress-field label, .score-field label{color:#123f35;font-size:13px;font-weight:900}.input, .grid-input, .surah-picker-button{min-height:52px;padding:10px 13px;border-color:#98cbbb;border-width:1.5px;color:#102d27;background:#fff;font-size:16px;font-weight:800;box-shadow:0 6px 16px rgba(23, 78, 65, .07), inset 0 1px 0 rgba(255, 255, 255, .75)}.input::placeholder{color:#7d8a85;font-weight:700;opacity:1}.input:focus, .grid-input:focus, .surah-picker-button:focus{outline:3px solid rgba(31, 107, 87, .18);border-color:#1f6b57;box-shadow:0 0 0 4px rgba(31, 107, 87, .09), 0 8px 20px rgba(23, 78, 65, .1)}.btn{min-height:52px;padding:10px 16px;font-size:15px;font-weight:900;box-shadow:0 8px 18px rgba(23, 78, 65, .12)}.btn-primary{background:#0f5d4d;border-color:#0f5d4d}.btn-secondary{color:#083f35;background:#e8f8f1;border-color:#77bca7;box-shadow:0 8px 18px rgba(15, 93, 77, .12), inset 0 0 0 1px rgba(255, 255, 255, .72)}.btn-secondary:hover, .btn-secondary:focus{color:#fff;background:#14725f;border-color:#14725f}.form-grid, .filter-bar, .quick-strip{gap:12px}.term-lock{grid-template-columns:1fr}.term-lock .btn{width:100%}.top-actions .btn, .row-actions .btn, .nav-list .btn{width:auto}.progress-grid{display:block;min-width:0;border-collapse:separate;border-spacing:0 12px;background:transparent}.progress-grid tbody{display:block}.progress-grid tr:first-child{display:none}.progress-grid tr{display:block;margin-bottom:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.progress-grid td{display:grid;grid-template-columns:96px minmax(0, 1fr);align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #eee8dd;font-size:13px}.progress-grid td:first-child{display:block;padding:0 0 10px;border-bottom:1px solid #e9eee9;color:var(--green-dark);font-size:15px;font-weight:700}.progress-grid td:first-child::before{display:none}.progress-grid td:last-child{border-bottom:0}.progress-grid td::before{color:var(--muted);font-size:12px}.progress-grid td:nth-child(1)::before{content:"\0627\0644\0637\0627\0644\0628\0629"}.progress-grid td:nth-child(2)::before{content:"\0627\0644\062D\0641\0638\0020\0645\0646"}.progress-grid td:nth-child(3)::before{content:"\0627\0644\062D\0641\0638\0020\0625\0644\0649"}.progress-grid td:nth-child(4)::before{content:"\0627\0644\0645\0631\0627\062C\0639\0629\0020\0645\0646"}.progress-grid td:nth-child(5)::before{content:"\0627\0644\0645\0631\0627\062C\0639\0629\0020\0625\0644\0649"}.progress-grid .surah-select{min-width:0;width:100%}.progress-grid .surah-picker-button{min-height:48px;padding-inline:12px;font-size:14px}.halaqah-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.halaqah-grid{min-width:0 !important;display:block;border-collapse:separate;background:transparent}.halaqah-grid tbody{display:grid;gap:10px}.halaqah-grid tr:first-child{display:none}.halaqah-grid tr{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px rgba(23, 33, 29, .07)}.halaqah-grid td{display:grid;grid-template-columns:88px minmax(0, 1fr);gap:8px;align-items:center;padding:0;border:0}.halaqah-grid td::before{color:var(--muted);font-size:11px;line-height:1.5}.halaqah-grid td:nth-child(1)::before{content:"\0627\0644\062D\0644\0642\0629"}.halaqah-grid td:nth-child(2)::before{content:"\0627\0644\0645\0639\0644\0645\0629"}.halaqah-grid td:nth-child(3)::before{content:"\0627\0644\0633\0639\0629"}.halaqah-grid td:nth-child(4)::before{content:"\0627\0644\062D\0627\0644\0629"}.halaqah-grid td:nth-child(5)::before{content:"\0627\0644\0637\0627\0644\0628\0627\062A"}.halaqah-grid td:nth-child(6){grid-template-columns:1fr}.halaqah-grid td:nth-child(6)::before{display:none}.halaqah-grid .input, .halaqah-grid .grid-input, .halaqah-grid .capacity-input{width:100%;max-width:none;min-width:0}.halaqah-grid .row-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(112px, 1fr))}.halaqah-grid .btn{width:100%}.admin-students-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.admin-students-grid{min-width:0 !important;display:block;border-collapse:separate;background:transparent}.admin-students-grid tbody{display:grid;gap:10px}.admin-students-grid tr:first-child{display:none}.admin-students-grid tr{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px rgba(23, 33, 29, .07)}.admin-students-grid td{display:grid;grid-template-columns:88px minmax(0, 1fr);gap:8px;align-items:center;padding:0;border:0}.admin-students-grid td::before{color:var(--muted);font-size:12px;line-height:1.5}.admin-students-grid td:nth-child(1)::before{content:"#"}.admin-students-grid td:nth-child(2)::before{content:"\0627\0633\0645\0020\0627\0644\0637\0627\0644\0628\0629"}.admin-students-grid td:nth-child(3)::before{content:"\0633\062C\0644\0647\0627"}.admin-students-grid td:nth-child(4)::before{content:"\0627\0644\062D\0644\0642\0629"}.admin-students-grid td:nth-child(5)::before{content:"\0627\0644\062A\0641\0639\064A\0644"}.admin-students-grid td:nth-child(6){grid-template-columns:1fr}.admin-students-grid td:nth-child(6)::before{display:none}.admin-students-grid .input, .admin-students-grid .grid-input{width:100%;max-width:none;min-width:0}.admin-students-grid .muted{display:block;margin-top:4px;font-size:12px;line-height:1.5}.admin-students-grid .row-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(112px, 1fr))}.admin-students-grid .btn{width:100%}.admin-accounts-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.admin-accounts-grid{min-width:0 !important;display:block;border-collapse:separate;background:transparent}.admin-accounts-grid tbody{display:grid;gap:10px}.admin-accounts-grid tr:first-child{display:none}.admin-accounts-grid tr{display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px rgba(23, 33, 29, .07)}.admin-accounts-grid td{display:grid;grid-template-columns:94px minmax(0, 1fr);gap:8px;align-items:center;padding:0;border:0}.admin-accounts-grid td::before{color:var(--muted);font-size:12px;line-height:1.5}.admin-accounts-grid td:nth-child(1)::before{content:"\0627\0644\0645\0633\062A\062E\062F\0645"}.admin-accounts-grid td:nth-child(2)::before{content:"\0627\0644\062F\062E\0648\0644"}.admin-accounts-grid td:nth-child(3){grid-template-columns:1fr}.admin-accounts-grid td:nth-child(3)::before{display:none}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(2)::before{content:"\0627\0644\0635\0644\0627\062D\064A\0629"}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(3){grid-template-columns:94px minmax(0, 1fr)}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(3)::before{display:block;content:"\0627\0644\062A\0641\0635\064A\0644"}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(4)::before{content:"\0627\0644\062F\062E\0648\0644"}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(5){grid-template-columns:94px minmax(0, 1fr)}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(5)::before{display:block;content:"\0623\062E\0637\0627\0621\0020\0627\0644\062F\062E\0648\0644"}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(6){grid-template-columns:1fr}.admin-accounts-grid.admin-accounts-grid-with-role td:nth-child(6)::before{display:none}.admin-accounts-grid .input, .admin-accounts-grid .grid-input{width:100%;max-width:none;min-width:0}.admin-accounts-grid .muted{display:block;margin-top:4px;font-size:12px;line-height:1.5}.admin-accounts-grid .row-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(118px, 1fr))}.admin-accounts-grid .btn{width:100%}.admin-passwords-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.admin-passwords-grid{min-width:0 !important;display:block;border-collapse:separate;background:transparent}.admin-passwords-grid tbody{display:grid;gap:10px}.admin-passwords-grid tr:first-child{display:none}.admin-passwords-grid tr{display:grid;gap:9px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px rgba(23, 33, 29, .07)}.admin-passwords-grid td{display:grid;grid-template-columns:92px minmax(0, 1fr);gap:8px;align-items:center;padding:0;border:0}.admin-passwords-grid td::before{color:var(--muted);font-size:12px;line-height:1.5}.admin-passwords-grid td:nth-child(1)::before{content:"\0627\0644\0645\0648\0638\0641"}.admin-passwords-grid td:nth-child(2)::before{content:"\0627\0644\062F\062E\0648\0644"}.admin-passwords-grid td:nth-child(3){grid-template-columns:1fr}.admin-passwords-grid td:nth-child(3)::before{display:none}.admin-passwords-grid .muted{display:block;margin-top:4px;font-size:12px;line-height:1.5}.admin-passwords-grid .btn{width:100%}.admin-teachers-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.teacher-link-overview{grid-template-columns:1fr}.teacher-link-list li{align-items:flex-start;flex-direction:column;gap:3px}.admin-teachers-grid{min-width:0 !important;display:block;border-collapse:separate;background:transparent}.admin-teachers-grid tbody{display:grid;gap:10px}.admin-teachers-grid tr:first-child{display:none}.admin-teachers-grid tr{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px rgba(23, 33, 29, .07)}.admin-teachers-grid td{display:grid;grid-template-columns:88px minmax(0, 1fr);gap:8px;align-items:center;padding:0;border:0}.admin-teachers-grid td::before{color:var(--muted);font-size:12px;line-height:1.5}.admin-teachers-grid td:nth-child(1)::before{content:"#"}.admin-teachers-grid td:nth-child(2)::before{content:"\0627\0633\0645\0020\0627\0644\0645\0639\0644\0645\0629"}.admin-teachers-grid td:nth-child(3)::before{content:"\062D\0644\0642\062A\0647\0627"}.admin-teachers-grid td:nth-child(4)::before{content:"\0627\0644\062C\0648\0627\0644"}.admin-teachers-grid td:nth-child(5){grid-template-columns:1fr}.admin-teachers-grid td:nth-child(5)::before{display:none}.admin-teachers-grid .muted{display:block;margin-top:4px;font-size:12px;line-height:1.5}.admin-teachers-grid .row-actions{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(126px, 1fr))}.admin-teachers-grid .btn{width:100%}.attendance-report-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.admin-attendance-grid{min-width:0 !important;display:block;border-collapse:separate;background:transparent}.admin-attendance-grid tbody{display:grid;gap:10px}.admin-attendance-grid tr:first-child{display:none}.admin-attendance-grid tr{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px rgba(23, 33, 29, .07)}.admin-attendance-grid td{display:grid;grid-template-columns:92px minmax(0, 1fr);gap:8px;align-items:start;padding:0;border:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.admin-attendance-grid td::before{color:var(--muted);font-size:12px;line-height:1.6}.admin-attendance-grid td:nth-child(1)::before{content:"#"}.admin-attendance-grid td:nth-child(2)::before{content:"\0627\0644\062A\0627\0631\064A\062E"}.admin-attendance-grid td:nth-child(3)::before{content:"\0627\0644\064A\0648\0645"}.admin-attendance-grid td:nth-child(4)::before{content:"\0627\0644\0637\0627\0644\0628\0629"}.admin-attendance-grid td:nth-child(5)::before{content:"\0627\0644\062D\0644\0642\0629"}.admin-attendance-grid td:nth-child(6)::before{content:"\0646\0648\0639\0020\0627\0644\063A\064A\0627\0628"}.admin-attendance-grid td:nth-child(7)::before{content:"\0627\0644\0633\0628\0628"}.admin-attendance-grid td:nth-child(4){padding-top:2px;color:var(--green-dark);font-weight:800}.admin-attendance-grid td:nth-child(7){padding-top:8px;border-top:1px solid #eee8dd}.progress-card{padding:14px;box-shadow:0 8px 20px rgba(23, 33, 29, .07)}.progress-fields{grid-template-columns:repeat(2, minmax(0, 1fr));gap:9px}.progress-field label{margin-bottom:5px}.progress-field .input, .progress-field .surah-picker-button{min-height:48px;font-size:15px}.attendance-toolbar{gap:8px}.attendance-card{padding:14px;box-shadow:0 8px 20px rgba(23, 33, 29, .07)}.attendance-options{gap:8px}.toggle-check{min-height:52px;padding:10px 12px}.attendance-reason .input{min-height:48px;font-size:15px}.grades-toolbar{gap:8px}.grade-card{padding:14px;box-shadow:0 8px 20px rgba(23, 33, 29, .07)}.grade-card-head{align-items:flex-start}.score-grid{grid-template-columns:repeat(3, minmax(0, 1fr));gap:7px}.score-field .input{min-height:48px;font-size:16px}.student-card{padding:14px;box-shadow:0 8px 20px rgba(23, 33, 29, .07)}.student-card-grid{grid-template-columns:repeat(2, minmax(0, 1fr));gap:8px}.student-info-box{min-height:62px;padding:8px 9px}.surah-picker-backdrop{align-items:flex-end;padding:0}.surah-picker-sheet{width:100%;max-height:82vh;max-height:min(88dvh, 720px);border-right:0;border-bottom:0;border-left:0;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}.surah-picker-head{padding:24px 14px 12px;gap:11px}.surah-picker-title{font-size:15px}.surah-picker-close{width:42px;min-height:42px}.surah-picker-search{min-height:52px;padding-right:42px}.surah-picker-list{padding:8px 10px calc(12px + env(safe-area-inset-bottom))}.surah-picker-option{min-height:50px;padding:11px 12px;font-size:14.5px}}@media (min-width:861px) and (max-width:1024px){.hero{grid-template-columns:1fr;width:min(760px, calc(100% - 32px))}.cards{grid-template-columns:repeat(2, minmax(0, 1fr))}.admin-home-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}.admin-center-cards{grid-template-columns:repeat(3, minmax(0, 1fr))}.year-section-links{grid-template-columns:repeat(2, minmax(0, 1fr))}.progress-fields{grid-template-columns:repeat(2, minmax(0, 1fr))}.teacher-student-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (max-width:1024px){body{background:#f3f7f5}.app-shell{display:block;min-height:100dvh;padding-bottom:0}.app-shell::after{content:"";display:block;height:calc(72px + env(safe-area-inset-bottom))}.main-area{min-height:100dvh;padding-bottom:0}.form-row label, .form-grid label, .filter-bar label, .progress-field label, .score-field label{color:#123f35;font-weight:900}.input, .grid-input, .surah-picker-button{min-height:52px;padding:10px 13px;border-color:#98cbbb;border-width:1.5px;color:#102d27;background:#fff;font-size:16px;font-weight:800;box-shadow:0 6px 16px rgba(23, 78, 65, .07), inset 0 1px 0 rgba(255, 255, 255, .75)}select.input{padding-inline-end:38px}.input::placeholder{color:#7d8a85;font-weight:700;opacity:1}.input:focus, .grid-input:focus, .surah-picker-button:focus{outline:3px solid rgba(31, 107, 87, .18);border-color:#1f6b57;box-shadow:0 0 0 4px rgba(31, 107, 87, .09), 0 8px 20px rgba(23, 78, 65, .1)}.btn{min-height:52px;padding:10px 16px;font-size:15px;font-weight:900;box-shadow:0 8px 18px rgba(23, 78, 65, .12)}.btn-primary{background:#0f5d4d;border-color:#0f5d4d}.btn-secondary{color:#083f35;background:#e8f8f1;border-color:#77bca7;box-shadow:0 8px 18px rgba(15, 93, 77, .12), inset 0 0 0 1px rgba(255, 255, 255, .72)}.btn-secondary:hover, .btn-secondary:focus{color:#fff;background:#14725f;border-color:#14725f}.form-grid, .filter-bar, .quick-strip{gap:12px}.page-head{position:sticky;top:0;z-index:50;min-height:62px;padding:calc(7px + env(safe-area-inset-top)) 12px 7px;background:radial-gradient(circle at 95% 10%, rgba(234, 214, 167, .2), transparent 32%), linear-gradient(135deg, rgba(18, 63, 53, .98), rgba(31, 107, 87, .98));backdrop-filter:blur(12px);box-shadow:0 10px 28px rgba(23, 33, 29, .18)}.page-head-logo{width:36px;height:36px;flex-basis:36px}.page-title-block{gap:8px}.page-title-text{gap:0}.page-brand-name{display:block;max-width:66vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.35}.page-head h1{max-width:66vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.35}.page-head .head-actions{align-items:flex-end;gap:4px;color:rgba(255, 255, 255, .78);font-size:11px;text-align:left}.page-head .badge{min-height:24px;padding-inline:8px;font-size:10px}.session-name-featured{max-width:42vw;min-height:28px;padding-inline:8px;font-size:10px}.sidebar{position:fixed;right:0;bottom:0;left:0;top:auto;z-index:80;height:auto;padding:8px 10px calc(8px + env(safe-area-inset-bottom));color:rgba(255, 255, 255, .82);background:radial-gradient(circle at 8% 0, rgba(234, 214, 167, .16), transparent 34%), linear-gradient(180deg, rgba(23, 78, 65, .98), rgba(15, 52, 45, .98));border-top:1px solid rgba(234, 214, 167, .22);backdrop-filter:blur(16px);box-shadow:0 -14px 40px rgba(23, 33, 29, .28)}.sidebar .brand{display:none}.nav-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(64px, 1fr);gap:6px;overflow-x:auto;padding:0;scroll-snap-type:x proximity;scrollbar-width:none}.nav-list::-webkit-scrollbar{display:none}.nav-link{flex:0 0 auto;min-width:64px;min-height:58px;display:flex;flex-direction:column;gap:3px;justify-content:center;align-items:center;text-align:center;padding:6px 7px;white-space:nowrap;scroll-snap-align:start;color:rgba(255, 255, 255, .78);background:transparent;font-size:11px;line-height:1.5}.nav-link:hover, .nav-link.is-active{color:#fff;background:rgba(234, 214, 167, .14)}.nav-link.is-active{box-shadow:inset 0 0 0 1px rgba(234, 214, 167, .34)}.nav-logout{color:#f2c8d0}.nav-logout:hover, .nav-logout.is-active{color:#fff;background:rgba(157, 63, 79, .35);box-shadow:inset 0 0 0 1px rgba(242, 200, 208, .32)}.nav-icon{width:24px;height:24px;flex-basis:24px}.nav-icon::before{width:22px;height:22px;-webkit-mask-size:22px 22px;mask-size:22px 22px}.nav-list{grid-auto-columns:minmax(58px, 1fr);gap:4px}.nav-link{min-width:58px;min-height:62px;gap:2px;padding:6px 5px 7px;line-height:1.25}.nav-label{display:block;max-width:100%;overflow:visible;text-overflow:clip;white-space:normal;font-size:0;line-height:0}.nav-label::after{content:attr(data-short-label);display:block;color:inherit;font-size:10.5px;font-weight:800;line-height:1.25;white-space:normal;overflow-wrap:anywhere}.content{width:min(100% - 20px, 900px);margin:14px auto 0;padding-bottom:calc(96px + env(safe-area-inset-bottom))}.content::after{content:"";display:block;height:calc(56px + env(safe-area-inset-bottom))}.app-action-bar{position:static;z-index:60;padding:8px;grid-template-columns:1fr 1fr;background:rgba(255, 255, 255, .94);border:1px solid rgba(31, 107, 87, .13);border-radius:8px;backdrop-filter:blur(14px);box-shadow:0 12px 34px rgba(23, 33, 29, .14)}.app-action-bar .btn-primary{grid-column:1 / -1}.table-wrap{box-shadow:none;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.table-wrap .grid{min-width:720px}.table-wrap .input, .table-wrap .grid-input{min-width:120px}.progress-wrap{overflow:visible;border:0;background:transparent}.public-shell{min-height:100dvh}.topbar{position:sticky;top:0;z-index:50;padding-top:calc(12px + env(safe-area-inset-top));background:radial-gradient(circle at 94% 10%, rgba(234, 214, 167, .2), transparent 32%), linear-gradient(135deg, rgba(18, 63, 53, .98), rgba(31, 107, 87, .98));backdrop-filter:blur(12px)}}@media (max-width:840px){.public-home-page .topbar{position:sticky;min-height:66px;flex-direction:row;align-items:center;padding:calc(12px + env(safe-area-inset-top)) 16px 10px;background:#0f5d4d;backdrop-filter:blur(12px)}.public-home-page .topbar .brand-logo{width:42px;height:42px;flex-basis:42px}.public-home-page .topbar .brand-name{font-size:12px;line-height:1.6}.home-landing{min-height:auto;padding-bottom:26px}.home-hero{min-height:470px;padding:38px 20px 34px}.home-hero-logo{width:112px;height:112px;margin-bottom:14px}.home-hero h1{font-size:30px;line-height:1.75}.home-hero p{font-size:15px;line-height:1.95}.home-service-row{width:min(720px, calc(100% - 22px));grid-template-columns:repeat(2, minmax(0, 1fr));margin-top:0}.login-wrap{min-height:auto;padding:22px 0 32px;grid-template-columns:1fr;align-items:stretch}.login-identity{min-height:240px}}@media (max-width:520px){.public-home-page .topbar{display:none}.login-simple-wrap{width:calc(100% - 22px);padding:24px 0;align-items:center}.login-simple-card{padding:18px 0}.login-simple-logo{width:94px;height:94px}.login-simple-org{font-size:14px}.login-simple-card h1{font-size:22px}.login-simple-subtitle{font-size:14px}.home-landing{width:100%;padding:0 0 22px}.home-hero{min-height:430px;padding:30px 16px 26px;width:100%;max-width:100vw}.home-kicker{min-height:25px;margin-bottom:10px;padding-inline:9px;font-size:11px}.home-hero-copy{width:100%;max-width:312px}.home-hero h1{margin-bottom:10px;max-width:312px;font-size:19px;line-height:1.85;overflow-wrap:anywhere}.home-hero p{max-width:312px;font-size:13px;line-height:1.85;overflow-wrap:anywhere}.home-actions{display:grid;grid-template-columns:1fr;width:min(260px, calc(100vw - 32px));max-width:260px;margin-top:18px;margin-left:auto;margin-right:auto}.home-actions .btn{width:100%}.home-login-button{min-width:0}.home-hero-logo{width:82px;height:82px}.home-blessing-line{max-width:300px;margin-inline:auto;margin-top:16px;font-size:12px}.home-service-row{width:calc(100% - 20px);grid-template-columns:1fr;gap:8px;margin-top:0}.home-service-row span{min-height:58px;justify-content:center;padding-inline:16px;font-size:12px;overflow-wrap:anywhere}.hero{width:calc(100% - 20px)}.hero-main{min-height:260px;padding:24px;background-size:150px}.hero h1{font-size:23px}.entry-panel, .form-card{padding:20px}.login-wrap{width:calc(100% - 20px);min-height:auto;margin:0 auto;padding:14px 0 28px;grid-template-columns:1fr;gap:10px}.login-identity{min-height:170px;padding:18px;gap:14px}.login-identity::after{width:140px;left:12px;bottom:6px}.login-identity-head{gap:11px;align-items:flex-start}.login-identity-logo{width:58px;height:58px;flex-basis:58px;padding:6px}.login-kicker{margin-bottom:4px;font-size:11px}.login-identity h1{font-size:16px;line-height:1.65}.login-identity p{font-size:12px;line-height:1.75}.login-card{padding:20px}.login-card-head{gap:10px;margin-bottom:18px}.login-lock-icon{width:40px;height:40px;flex-basis:40px}.form-card h1, .form-card h2{font-size:20px}.error-shell{width:calc(100% - 20px);min-height:calc(100dvh - 96px);padding:18px 0 28px;align-items:flex-start}.error-card{padding:22px 18px;gap:10px}.error-mark{width:46px;height:46px}.error-card h1{font-size:19px}.error-card p{font-size:13px}.error-actions{grid-template-columns:1fr}.page-head h1{font-size:17px}.app-modal-backdrop{align-items:center;justify-content:center;padding:16px}.app-modal{padding:18px;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));margin:0;overflow-y:auto}.app-modal-actions{display:grid;grid-template-columns:1fr}.app-modal-actions .btn{width:100%}.app-modal-actions .btn-ghost{order:2}.admin-form-modal-backdrop{align-items:stretch;padding:12px}.admin-form-modal{max-height:calc(100dvh - 24px);padding:18px;align-self:center}.admin-form-modal-head{gap:10px}.admin-form-modal-actions{display:grid;grid-template-columns:1fr}.admin-form-modal-actions .btn-ghost{order:2}}@media (max-width:360px){.surah-picker-sheet{max-height:90vh;max-height:90dvh}.surah-picker-search{min-height:48px;font-size:14px}.surah-picker-option{min-height:48px;margin-bottom:5px;padding:10px;font-size:13.5px}.score-grid{gap:6px}.score-field label{font-size:10.5px;line-height:1.45;text-align:center}.score-field .input{min-height:44px;padding-inline:6px;font-size:15px}.progress-fields{gap:7px}.progress-field .surah-picker-button{min-height:46px;padding-inline:8px;font-size:13px}.admin-home-grid, .admin-center-cards, .teacher-home-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}.nav-list{grid-auto-columns:minmax(56px, 1fr);gap:3px}.nav-link{min-width:56px;padding-inline:4px}.nav-label::after{font-size:10px}}@media (max-width:860px){.section-page-head .section-back-button{width:auto;min-width:68px;flex:0 0 auto}.section-page-head .section-heading{max-width:calc(100% - 82px);flex:1 1 auto}}.public-home-page .topbar{display:none}.public-home-page{background:linear-gradient(180deg, #fbfaf5 0%, #f3f8f5 100%);overflow-x:hidden}.public-home-page .topbar{display:none}.home-noor{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:32px 18px;overflow-x:hidden;color:#123f35;background:radial-gradient(circle at 18% 18%, rgba(194, 138, 38, .16), transparent 28%), radial-gradient(circle at 86% 74%, rgba(15, 93, 77, .12), transparent 32%), linear-gradient(180deg, #fbfaf5 0%, #eef7f3 100%)}.home-noor-shell{position:relative;width:min(760px, 100%);min-height:min(560px, calc(100dvh - 64px));display:grid;grid-template-columns:1fr;grid-template-rows:auto auto;align-content:center;justify-items:center;justify-content:center;row-gap:24px;text-align:center}.home-noor-copy{width:min(620px, 100%);min-width:0;max-width:100%;justify-self:center;display:grid;justify-items:center}.home-noor-logo{width:108px;height:108px;object-fit:contain;margin-bottom:12px;filter:drop-shadow(0 14px 22px rgba(15, 93, 77, .13))}.home-noor-heading{display:grid;justify-items:center;max-width:100%;margin-bottom:14px;direction:rtl}.home-noor-kicker{display:inline-flex;min-height:30px;align-items:center;justify-content:center;padding:3px 14px;color:#7a5a17;background:rgba(255, 255, 255, .72);border:1px solid rgba(194, 138, 38, .36);border-radius:999px;font-size:13px;font-weight:900;line-height:1.5;margin-bottom:12px}.home-noor-copy h1{margin:0;min-width:0;max-width:min(540px, 100%);display:grid;gap:2px;justify-items:center;color:#113e34;font-size:30px;font-weight:900;line-height:1.62;letter-spacing:0;text-align:center}.home-noor-copy h1 span{display:block;min-width:0;max-width:100%;overflow-wrap:break-word}.home-noor-copy h1 span:last-child{color:#0f5d4d;font-size:.72em}.home-noor-copy p{margin:16px auto 0;max-width:min(520px, 100%);color:#6f4f18;font-size:15px;font-weight:800;line-height:1.9;text-align:center}.home-noor-actions{position:relative;z-index:5;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:0}.home-noor-button{box-sizing:border-box;min-width:158px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px;border-radius:8px;border:1px solid rgba(15, 93, 77, .24);font:inherit;font-size:15px;font-weight:900;line-height:1.4;text-decoration:none;cursor:pointer;transition:transform .16s ease, box-shadow .16s ease, background-color .16s ease}.home-noor-button::before{content:"";width:19px;height:19px;flex:0 0 19px;background:currentColor;-webkit-mask:center / contain no-repeat;mask:center / contain no-repeat}.home-noor-login::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/g%3E%3C/svg%3E")}.home-noor-quran::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 8h2'/%3E%3Cpath d='M16 8h2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4h6a4 4 0 0 1 4 4v13a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 4h-6a4 4 0 0 0-4 4v13a3 3 0 0 1 3-3h7z'/%3E%3Cpath d='M8 8h2'/%3E%3Cpath d='M16 8h2'/%3E%3C/g%3E%3C/svg%3E")}.home-noor-about::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/g%3E%3C/svg%3E")}.home-noor-install::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3' width='12' height='18' rx='2'/%3E%3Cpath d='M12 7v7'/%3E%3Cpath d='m9 11 3 3 3-3'/%3E%3Cpath d='M10 18h4'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3' width='12' height='18' rx='2'/%3E%3Cpath d='M12 7v7'/%3E%3Cpath d='m9 11 3 3 3-3'/%3E%3Cpath d='M10 18h4'/%3E%3C/g%3E%3C/svg%3E")}.home-noor-button:hover, .home-noor-button:focus-visible{transform:translateY(-1px);outline:none}.home-noor-login{color:#fff;background:#0f5d4d;border-color:#0f5d4d;box-shadow:0 14px 28px rgba(15, 93, 77, .2)}.home-noor-login:hover, .home-noor-login:focus-visible{color:#fff;background:#0b4f42}.home-noor-about, .home-noor-quran, .home-noor-install{color:#123f35;background:rgba(255, 255, 255, .78);border-color:rgba(194, 138, 38, .45)}.home-noor-quran{color:#7a5a17;background:rgba(255, 250, 240, .86)}.home-noor-install:not([hidden]){color:#0f5d4d;background:rgba(236, 248, 244, .92);border-color:rgba(15, 93, 77, .28);box-shadow:0 10px 22px rgba(15, 93, 77, .08)}.home-noor-install:not([hidden])::before{width:19px;height:19px;flex-basis:19px}.home-noor-install:not([hidden]):hover, .home-noor-install:not([hidden]):focus-visible{color:#0b4f42;background:rgba(226, 244, 238, .98);box-shadow:0 12px 24px rgba(15, 93, 77, .1)}.home-noor-about:hover, .home-noor-about:focus-visible, .home-noor-quran:hover, .home-noor-quran:focus-visible, .home-noor-install:hover, .home-noor-install:focus-visible{color:#123f35;background:#fff;box-shadow:0 12px 24px rgba(80, 56, 22, .1)}.home-noor-install[hidden]{display:none}.home-about-app-dialog{position:relative;width:min(520px, calc(100vw - 28px));padding:0;gap:0;overflow:hidden;border:1px solid rgba(197, 154, 56, .28);border-radius:8px;background:linear-gradient(180deg, rgba(255, 255, 255, .99) 0%, rgba(248, 252, 250, .99) 100%);box-shadow:0 26px 70px rgba(14, 42, 36, .24), 0 0 0 1px rgba(255, 255, 255, .82) inset}.home-about-app-dialog::before{content:"";grid-column:1 / -1;height:8px;background:linear-gradient(90deg, #0f5d4d, #c59a38, #0f5d4d)}.home-about-app-dialog .app-modal-mark{width:88px;height:88px;justify-self:center;margin-top:22px;border:0;border-radius:8px;background:transparent;filter:drop-shadow(0 14px 22px rgba(15, 93, 77, .14))}.home-about-app-dialog.app-modal.is-info .app-modal-mark, .home-about-app-dialog .app-modal-mark.has-custom-icon{background:transparent !important;box-shadow:none}.home-about-app-dialog .app-modal-mark.has-custom-icon img{padding:0}.home-about-app-dialog .app-modal-content{min-width:0;padding:14px 24px 8px;text-align:center}.home-about-app-dialog .app-modal-content h2{margin:0 0 12px;color:#123f35;font-size:21px;font-weight:900;line-height:1.65}.home-about-app-dialog .app-modal-body{color:#33483f;font-size:14px;line-height:2.05;text-align:right}.home-about-app-dialog .app-modal-body p{padding:15px 16px;border:1px solid rgba(197, 154, 56, .22);border-radius:8px;background:linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 251, 249, .96));box-shadow:0 12px 26px rgba(15, 93, 77, .06)}.home-about-meta{display:grid;gap:8px;margin-top:12px}.home-about-meta span{min-height:40px;display:flex;align-items:center;justify-content:center;padding:8px 12px;border:1px solid rgba(15, 93, 77, .16);border-radius:8px;color:#123f35;background:#f3faf7;font-size:13px;font-weight:900;line-height:1.7}.home-about-app-dialog .app-modal-actions{grid-column:1 / -1;justify-content:center;padding:14px 24px 22px;background:transparent}.home-about-app-dialog .app-modal-actions .btn{width:min(220px, 100%);min-height:44px;border-radius:6px;font-size:14px;font-weight:900}@media (max-width:900px){.home-noor{align-items:flex-start;padding-block:22px}.home-noor-shell{min-height:calc(100dvh - 44px);grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-content:center;justify-items:center;row-gap:18px}.home-noor-copy{width:min(680px, 100%);justify-self:center}.home-noor-heading{justify-content:center}.home-noor-copy h1{font-size:26px}}@media (max-width:560px){.home-noor{padding:14px 12px;align-items:flex-start}.home-noor-shell{min-height:calc(100dvh - 44px);grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-content:center;justify-items:center;row-gap:10px}.home-noor-logo{width:74px;height:74px;margin-bottom:10px}.home-noor-heading{width:min(330px, 100%);justify-items:center;margin-bottom:10px}.home-noor-kicker{min-height:28px;padding-block:2px;font-size:11px;margin-bottom:8px}.home-noor-copy h1{max-width:250px;font-size:18px;line-height:1.62;text-align:center}.home-noor-copy h1 span:last-child{font-size:.74em}.home-noor-copy p{max-width:320px;margin-top:8px;font-size:12px;line-height:1.8}}.form-row label, .form-grid label, .filter-bar label, .progress-field label, .score-field label{color:#123f35;font-size:14px;font-weight:900;line-height:1.6}.metric span{color:#123f35;font-size:14px;font-weight:800}@media (max-width:1024px){.form-row label, .form-grid label, .filter-bar label, .progress-field label, .score-field label{font-size:14.5px}.metric span{font-size:14.5px}}@media (max-width:860px){.teacher-halaqah-panel{grid-template-columns:minmax(0, 1fr);min-height:70px;padding:13px 14px}.teacher-halaqah-panel strong{font-size:16px;line-height:1.55}.attendance-report-metrics, .attendance-inventory-metrics, .grades-metrics{grid-template-columns:repeat(2, minmax(0, 1fr));gap:8px}.attendance-report-metrics .metric, .attendance-inventory-metrics .metric, .grades-metrics .metric{min-width:0;padding:10px 8px;text-align:center}.attendance-report-metrics .metric strong, .attendance-inventory-metrics .metric strong, .grades-metrics .metric strong{font-size:18px;line-height:1.35}.attendance-report-metrics .metric span, .attendance-inventory-metrics .metric span, .grades-metrics .metric span{font-size:12px;line-height:1.55;overflow-wrap:anywhere}.halaqah-metric-row{grid-template-columns:repeat(3, minmax(0, 1fr));gap:8px}.halaqah-metric-row .metric{min-width:0;padding:10px 7px;text-align:center}.halaqah-metric-row .metric strong{font-size:18px;line-height:1.35}.halaqah-metric-row .metric span{font-size:12px;line-height:1.55;overflow-wrap:anywhere}.halaqah-grid tr{gap:10px;padding:14px}.halaqah-grid td{grid-template-columns:104px minmax(0, 1fr);gap:10px}.progress-grid td::before, .halaqah-grid td::before, .admin-students-grid td::before, .admin-accounts-grid td::before, .admin-passwords-grid td::before, .admin-teachers-grid td::before, .admin-attendance-grid td::before{color:#123f35;font-size:13.5px;font-weight:900;line-height:1.55}.halaqah-grid td::before{display:inline-flex;min-height:32px;align-items:center;padding:4px 8px;border:1px solid rgba(31, 107, 87, .16);border-radius:6px;background:#f2faf6;font-size:14px}}@media (max-width:360px){.teacher-halaqah-panel{grid-template-columns:minmax(0, 1fr);padding:12px}.teacher-halaqah-panel strong{font-size:16px}.attendance-report-metrics, .attendance-inventory-metrics, .grades-metrics{gap:6px}.attendance-report-metrics .metric, .attendance-inventory-metrics .metric, .grades-metrics .metric{padding:9px 5px}.attendance-report-metrics .metric strong, .attendance-inventory-metrics .metric strong, .grades-metrics .metric strong{font-size:17px}.attendance-report-metrics .metric span, .attendance-inventory-metrics .metric span, .grades-metrics .metric span{font-size:11px}.halaqah-metric-row{gap:6px}.halaqah-metric-row .metric{padding:9px 5px}.halaqah-metric-row .metric strong{font-size:17px}.halaqah-metric-row .metric span{font-size:11px}}@media print{@page{size:A4 portrait;margin:10mm}*, *::before, *::after{box-shadow:none !important;text-shadow:none !important}html, body{width:auto;min-height:auto;color:#17211d;background:#fff !important}body{font-size:12px;line-height:1.6}.sidebar, .page-head, .section-page-head, .section-title, .attendance-report-panel, .form-grid, .filter-bar, .metric-row, .student-absence-summary, .table-wrap, .notice, .app-modal-backdrop, .app-loader-backdrop{display:none !important;visibility:hidden !important}.app-shell, .main-area, .content{display:block !important;width:auto !important;min-height:0 !important;margin:0 !important;padding:0 !important;background:#fff !important;overflow:visible !important}.print-report-shell{display:block !important;width:100% !important;margin:0 !important;padding:0 !important;background:#fff !important;visibility:visible !important}.attendance-print-page{min-height:267mm;padding:0;page-break-after:always;break-after:page;visibility:visible !important}.attendance-print-page:last-child{page-break-after:auto;break-after:auto}.attendance-print-header{margin-bottom:10mm}.attendance-print-meta, .attendance-print-summary{gap:5mm}.attendance-print-meta div, .attendance-print-summary div, .attendance-print-empty{background:#fff !important}.attendance-print-table{page-break-inside:auto}.attendance-print-table tr{page-break-inside:avoid;break-inside:avoid}.attendance-print-table th{color:#fff !important;background:#174e41 !important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}