:root{--sb-width:260px;--sb-bg:#0f172a;--sb-bg-soft:#1e293b;--sb-text:#cbd5e1;--sb-muted:#64748b;--sb-primary:#2563eb;--sb-hover:#ffffff12;--sb-border:#ffffff17}.sidebar{z-index:1100;width:var(--sb-width);background:var(--sb-bg);color:var(--sb-text);flex-direction:column;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;transition:transform .25s;display:flex;position:fixed;top:0;bottom:0;left:0;box-shadow:2px 0 12px #0000002e}.sidebar *,.sidebar :before,.sidebar :after{box-sizing:border-box}.sidebar-logo{border-bottom:1px solid var(--sb-border);flex-shrink:0;align-items:center;gap:12px;padding:18px 16px;display:flex}.logo-icon{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:20px;font-weight:800;display:flex}.logo-text{flex:1;min-width:0}.logo-text h2{color:#fff;margin:0;font-size:18px;font-weight:700;line-height:1.2}.logo-text span{color:var(--sb-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.sidebar-close{width:34px;height:34px;color:var(--sb-text);background:var(--sb-hover);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;display:none}.sidebar-close:hover{color:#fff;background:#ffffff26}.sidebar-menu{flex:1;min-height:0;padding:10px 10px 16px;overflow-y:auto}.sidebar-menu::-webkit-scrollbar{width:6px}.sidebar-menu::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:999px}.menu-section{margin-bottom:14px}.menu-title{letter-spacing:.1em;text-transform:uppercase;color:var(--sb-muted);padding:8px 12px 6px;font-size:11px;font-weight:700}.menu-link{text-align:left;width:100%;color:var(--sb-text);cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;margin-bottom:2px;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.menu-link span{white-space:nowrap;flex:1}.menu-icon{opacity:.85;flex-shrink:0}.menu-link:hover{color:#fff;background:var(--sb-hover)}.menu-link.active{color:#fff;background:var(--sb-primary);box-shadow:0 2px 8px #2563eb66}.menu-link.active .menu-icon{opacity:1}.student-menu{margin-bottom:2px}.student-menu-button{margin-bottom:0}.student-menu-text{flex:1}.student-chevron{flex-shrink:0;transition:transform .2s}.student-chevron.rotate{transform:rotate(180deg)}.student-submenu{border-left:1px solid var(--sb-border);flex-direction:column;gap:2px;margin:4px 0 6px 20px;padding-left:10px;display:flex}.student-submenu-item{text-align:left;width:100%;color:var(--sb-text);cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:10px;padding:8px 10px;font-family:inherit;font-size:13px;font-weight:500;transition:background .15s,color .15s;display:flex}.student-submenu-item svg{opacity:.8;flex-shrink:0}.student-submenu-item:hover{color:#fff;background:var(--sb-hover)}.student-submenu-item.active{color:#fff;background:#2563eb59}.sidebar-footer{border-top:1px solid var(--sb-border);flex-shrink:0;padding:12px 10px}.logout-button{color:#fca5a5;cursor:pointer;background:#ef44441a;border:none;border-radius:8px;align-items:center;gap:12px;width:100%;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:600;transition:background .15s,color .15s;display:flex}.logout-button:hover{color:#fff;background:#dc2626}@media (width<=900px){.sidebar{box-shadow:none;transform:translate(-100%)}.sidebar.open{transform:translate(0);box-shadow:4px 0 24px #00000059}.sidebar-close{display:inline-flex}}@media print{.sidebar{display:none!important}}.header{z-index:900;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:70px;padding:0 30px;display:flex;position:sticky;top:0}.header-left{align-items:center;gap:18px;min-width:0;display:flex}.mobile-menu-button{color:#334155;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;display:none}.mobile-menu-button:hover{color:#4f46e5;background:#f1f5f9}.header-search{align-items:center;width:320px;height:40px;display:flex;position:relative}.header-search input{color:#1e293b;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;outline:none;width:100%;height:100%;padding:0 38px 0 40px;font-size:13px;transition:border-color .2s,box-shadow .2s,background .2s}.header-search input::placeholder{color:#94a3b8}.header-search input:focus{background:#fff;border-color:#818cf8;box-shadow:0 0 0 3px #4f46e514}.search-icon{color:#64748b;pointer-events:none;z-index:1;position:absolute;left:14px}.search-clear{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:25px;height:25px;display:none;position:absolute;right:9px}.header-search input:not(:placeholder-shown)+.search-clear{display:flex}.search-clear:hover{color:#334155;background:#e2e8f0}.header-right{align-items:center;gap:18px;display:flex}.notification-wrapper{position:relative}.notification-button{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;transition:background .2s,color .2s;display:flex;position:relative}.notification-button:hover{color:#4f46e5;background:#f1f5f9}.notification-badge{color:#fff;background:#ef4444;border:2px solid #fff;border-radius:20px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-size:9px;font-weight:600;display:flex;position:absolute;top:3px;right:3px}.notification-dropdown{z-index:1100;background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:350px;position:absolute;top:calc(100% + 10px);right:-80px;overflow:hidden;box-shadow:0 10px 30px #0f172a1f}.dropdown-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:10px;padding:15px 16px;display:flex}.dropdown-header div{flex-direction:column;gap:3px;display:flex}.dropdown-header strong{color:#1e293b;font-size:14px}.dropdown-header span{color:#64748b;font-size:11px}.mark-read{color:#4f46e5;cursor:pointer;background:0 0;border:none;font-size:11px}.mark-read:hover{text-decoration:underline}.notification-list{max-height:330px;overflow-y:auto}.notification-item{cursor:pointer;border-bottom:1px solid #f1f5f9;gap:12px;padding:13px 16px;transition:background .2s;display:flex}.notification-item:hover{background:#f8fafc}.notification-item-icon{color:#4f46e5;background:#eef2ff;border-radius:8px;justify-content:center;align-items:center;width:35px;min-width:35px;height:35px;display:flex}.notification-content{min-width:0}.notification-content strong{color:#1e293b;margin-bottom:3px;font-size:12px;display:block}.notification-content p{color:#64748b;margin:0 0 4px;font-size:11px;line-height:1.4}.notification-content span{color:#94a3b8;font-size:10px}.view-notifications{color:#4f46e5;cursor:pointer;background:#fff;border:none;width:100%;padding:12px;font-size:12px;font-weight:500}.view-notifications:hover{background:#f8fafc}.profile-wrapper{position:relative}.profile-button{cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:4px;display:flex}.profile-button:hover{background:#f8fafc}.profile-avatar{color:#fff;background:#4f46e5;border-radius:50%;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;font-size:12px;font-weight:700;display:flex}.profile-avatar.large{width:42px;min-width:42px;height:42px;font-size:13px}.profile-info{text-align:left;min-width:100px}.profile-info strong{color:#1e293b;font-size:13px;line-height:1.3;display:block}.profile-info span{color:#64748b;margin-top:2px;font-size:11px;display:block}.profile-chevron{color:#64748b;transition:transform .2s}.profile-chevron.rotate{transform:rotate(180deg)}.profile-dropdown{z-index:1100;background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:240px;padding:8px;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 10px 30px #0f172a1f}.profile-dropdown-user{align-items:center;gap:10px;padding:8px;display:flex}.profile-dropdown-user strong{color:#1e293b;font-size:13px;display:block}.profile-dropdown-user span{color:#64748b;margin-top:3px;font-size:10px;display:block}.profile-dropdown-divider{background:#f1f5f9;height:1px;margin:7px 0}.profile-menu-item{color:#475569;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:7px;align-items:center;gap:10px;width:100%;padding:10px;font-size:12px;display:flex}.profile-menu-item:hover{color:#4f46e5;background:#f8fafc}.profile-menu-item.logout{color:#dc2626}.profile-menu-item.logout:hover{color:#b91c1c;background:#fef2f2}@media (width<=900px){.header{padding:0 20px}.header-search{width:260px}.profile-info{min-width:auto}}@media (width<=800px){.header{height:64px;padding:0 16px}.mobile-menu-button{display:flex}.header-search{display:none}.header-right{gap:8px}}@media (width<=500px){.header{padding:0 12px}.profile-info,.profile-chevron{display:none}.profile-button{gap:0}.notification-dropdown{width:auto;position:fixed;top:64px;left:10px;right:10px}.profile-dropdown{width:220px;right:0}}.app-layout{background:#f5f7fb;min-height:100vh;display:flex}.main-wrapper{flex-direction:column;width:calc(100% - 250px);min-width:0;min-height:100vh;margin-left:250px;display:flex}.dashboard-content{flex:1;min-width:0;padding:30px}.sidebar-overlay{z-index:999;opacity:0;background:#0f172a73;transition:opacity .3s;display:none;position:fixed;inset:0}.sidebar-overlay.open{opacity:1;display:block}@media (width<=1100px){.dashboard-content{padding:25px}}@media (width<=800px){.main-wrapper{width:100%;margin-left:0}.dashboard-content{padding:20px}}@media (width<=500px){.dashboard-content{padding:15px}}.login-page{--lg-navy:#0a1a4a;--lg-blue:#1d4ed8;--lg-indigo:#4338ca;--lg-sky:#38bdf8;--lg-text:#0f172a;--lg-muted:#64748b;--lg-border:#e2e8f0;--lg-danger:#dc2626;min-height:100vh;color:var(--lg-text);background:#f8fafc;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;display:flex}.login-page *,.login-page :before,.login-page :after{box-sizing:border-box}.login-brand{color:#fff;background:linear-gradient(135deg,#0a1a4a 0%,#1e3a8a 40%,#4338ca 75%,#1d4ed8 100%) 0 0/220% 220%;flex-direction:column;flex:1.1;justify-content:center;padding:56px 56px 80px;animation:16s ease-in-out infinite lg-gradient;display:flex;position:relative;overflow:hidden}@keyframes lg-gradient{0%,to{background-position:0%}50%{background-position:100%}}.brand-bg{pointer-events:none;position:absolute;inset:0}.brand-grid{background-image:linear-gradient(#ffffff0d 1px,#0000 1px),linear-gradient(90deg,#ffffff0d 1px,#0000 1px);background-size:44px 44px;position:absolute;inset:0;-webkit-mask-image:radial-gradient(#000 30%,#0000 75%);mask-image:radial-gradient(#000 30%,#0000 75%)}.orb{filter:blur(60px);opacity:.55;border-radius:50%;position:absolute}.orb-1{background:#3b82f6;width:360px;height:360px;animation:14s ease-in-out infinite lg-float-a;top:-120px;left:-100px}.orb-2{background:#6366f1;width:420px;height:420px;animation:18s ease-in-out infinite lg-float-b;bottom:10%;right:-140px}.orb-3{background:var(--lg-sky);opacity:.3;width:240px;height:240px;animation:20s ease-in-out infinite reverse lg-float-a;top:45%;left:40%}@keyframes lg-float-a{0%,to{transform:translate(0)scale(1)}50%{transform:translate(50px,40px)scale(1.12)}}@keyframes lg-float-b{0%,to{transform:translate(0)scale(1)}50%{transform:translate(-60px,-40px)scale(1.08)}}.bubble{bottom:-60px;left:var(--x);width:var(--s);height:var(--s);animation:lg-rise var(--d) linear var(--delay) infinite;background:#ffffff24;border:1px solid #ffffff40;border-radius:50%;position:absolute}@keyframes lg-rise{0%{opacity:0;transform:translateY(0)scale(.8)}10%{opacity:1}90%{opacity:.8}to{opacity:0;transform:translateY(-110vh)scale(1.2)}}.brand-content{z-index:1;max-width:520px;position:relative}.school-logo{background:#fff;border-radius:18px;justify-content:center;align-items:center;margin-bottom:34px;padding:16px 26px;animation:.8s both lg-fade-up,5s ease-in-out 1s infinite lg-bob;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 14px 40px #0000004d}.school-logo:after{content:"";background:linear-gradient(100deg,#0000,#ffffffd9,#0000);width:50%;height:100%;animation:5s ease-in-out 1.5s infinite lg-shine;position:absolute;top:0;left:-80%;transform:skew(-20deg)}@keyframes lg-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes lg-shine{0%{left:-80%}35%,to{left:150%}}.logo-img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:58px;display:block}.logo-fallback{letter-spacing:-.02em;color:#0f172a;font-size:28px;font-weight:800}.logo-fallback b{color:var(--lg-blue)}.login-brand h1{letter-spacing:-.02em;margin:0 0 14px;font-size:38px;font-weight:800;line-height:1.15;animation:.8s .15s both lg-fade-up}.login-brand h1 span{background:linear-gradient(90deg,#7dd3fc,#c4b5fd);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.login-brand p{color:#ffffffd1;margin:0 0 30px;font-size:16px;line-height:1.6;animation:.8s .3s both lg-fade-up}.brand-features{flex-direction:column;gap:12px;display:flex}.brand-features>div{color:#fffffff2;opacity:0;align-items:center;gap:12px;font-size:15px;font-weight:500;animation:.6s forwards lg-slide-in;display:flex}.brand-features>div:first-child{animation-delay:.5s}.brand-features>div:nth-child(2){animation-delay:.65s}.brand-features>div:nth-child(3){animation-delay:.8s}.brand-features>div:nth-child(4){animation-delay:.95s}.brand-features>div:nth-child(5){animation-delay:1.1s}.feature-icon{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff24;border:1px solid #ffffff38;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;transition:transform .2s,background .2s;display:flex}.brand-features>div:hover .feature-icon{background:#ffffff40;transform:scale(1.1)rotate(-4deg)}.brand-footer{z-index:1;color:#ffffffb3;align-items:center;gap:8px;font-size:13px;animation:.8s 1.3s both lg-fade-up;display:flex;position:absolute;bottom:28px;left:56px}@keyframes lg-fade-up{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes lg-slide-in{0%{opacity:0;transform:translate(-24px)}to{opacity:1;transform:translate(0)}}.login-section{background:radial-gradient(circle at 85% 10%,#6366f114,#0000 45%),radial-gradient(circle at 10% 90%,#38bdf81a,#0000 45%),#f8fafc;flex:1;justify-content:center;align-items:center;padding:32px 20px;display:flex;position:relative}.login-card{border:1px solid var(--lg-border);background:#fff;border-radius:20px;width:100%;max-width:440px;padding:38px 36px 28px;animation:.7s cubic-bezier(.2,.8,.2,1) both lg-card-in;box-shadow:0 20px 50px #0f172a1a}@keyframes lg-card-in{0%{opacity:0;transform:translateY(30px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.mobile-logo{justify-content:center;margin-bottom:22px;display:none}.mobile-logo .logo-img{max-height:52px}.login-header{margin-bottom:24px}.login-header h2{letter-spacing:-.01em;margin:0;font-size:26px;font-weight:800}.login-header p{color:var(--lg-muted);margin:6px 0 0;font-size:14px}.login-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:flex-start;gap:10px;margin-bottom:18px;padding:11px 14px;font-size:14px;animation:.45s lg-shake;display:flex}.login-error svg{flex-shrink:0;margin-top:1px}@keyframes lg-shake{0%,to{transform:translate(0)}20%{transform:translate(-8px)}40%{transform:translate(7px)}60%{transform:translate(-5px)}80%{transform:translate(3px)}}.input-group{margin-bottom:18px}.input-group label{color:#334155;margin-bottom:7px;font-size:13px;font-weight:600;display:block}.input-wrapper{position:relative}.input-icon{color:#94a3b8;pointer-events:none;transition:color .2s;display:flex;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.input-wrapper input{width:100%;height:48px;color:var(--lg-text);border:1.5px solid var(--lg-border);background:#f8fafc;border-radius:12px;outline:none;padding:0 46px 0 44px;font-family:inherit;font-size:15px;transition:border-color .2s,box-shadow .2s,background .2s}.input-wrapper input::placeholder{color:#94a3b8}.input-wrapper input:hover:not(:disabled){border-color:#cbd5e1}.input-wrapper input:focus{border-color:var(--lg-blue);background:#fff;box-shadow:0 0 0 4px #1d4ed81f}.input-wrapper:focus-within .input-icon{color:var(--lg-blue)}.input-wrapper input:disabled{opacity:.7;cursor:not-allowed}.password-toggle{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;transition:color .2s,background .2s;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle:hover{color:var(--lg-blue);background:#eff6ff}.login-options{justify-content:space-between;align-items:center;gap:10px;margin:4px 0 22px;display:flex}.remember-me{color:#475569;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:14px;display:inline-flex}.remember-me input{width:17px;height:17px;accent-color:var(--lg-blue);cursor:pointer}.forgot-password{color:var(--lg-blue);cursor:pointer;background:0 0;border:none;padding:0;font-family:inherit;font-size:14px;font-weight:600}.forgot-password:hover:not(:disabled){text-decoration:underline}.login-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#4338ca);border:none;border-radius:12px;justify-content:center;align-items:center;gap:10px;width:100%;height:50px;font-family:inherit;font-size:16px;font-weight:700;transition:transform .15s,box-shadow .15s,opacity .15s;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 20px #2563eb59}.login-button:after{content:"";background:linear-gradient(100deg,#0000,#ffffff59,#0000);width:50%;height:100%;position:absolute;top:0;left:-75%;transform:skew(-20deg)}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 26px #2563eb73}.login-button:hover:not(:disabled):after{animation:.8s lg-shine}.login-button:active:not(:disabled){transform:translateY(0)}.login-button:disabled{opacity:.8;cursor:wait}.login-button .arrow{transition:transform .2s}.login-button:hover:not(:disabled) .arrow{transform:translate(5px)}.spinner{border:2.5px solid #fff6;border-top-color:#fff;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite lg-spin}@keyframes lg-spin{to{transform:rotate(360deg)}}.login-footer{text-align:center;border-top:1px solid #f1f5f9;flex-direction:column;align-items:center;gap:6px;margin-top:26px;padding-top:18px;display:flex}.login-footer p{color:var(--lg-muted);margin:0;font-size:12px}.login-footer span{color:#16a34a;align-items:center;gap:5px;font-size:12px;font-weight:600;display:inline-flex}@media (width<=1100px){.login-brand{padding:48px 36px 76px}.login-brand h1{font-size:32px}.brand-footer{left:36px}}@media (width<=860px){.login-brand{display:none}.mobile-logo{display:flex}.login-section{background:radial-gradient(circle at 80% 0,#6366f12e,#0000 50%),radial-gradient(circle at 0 100%,#38bdf833,#0000 50%),#f1f5f9}}@media (width<=480px){.login-card{border-radius:16px;padding:28px 20px 22px}.login-header h2{font-size:23px}.login-options{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.login-page *,.login-page :before,.login-page :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.brand-features>div{opacity:1}}.notfound-page{box-sizing:border-box;background:linear-gradient(135deg,#f8fafc 0%,#eef4ff 50%,#f8fafc 100%);justify-content:center;align-items:center;width:100%;min-height:100vh;padding:20px;display:flex;position:relative;overflow:hidden}.notfound-shape{opacity:.5;pointer-events:none;border-radius:50%;position:absolute}.shape-one{background:#2563eb14;width:450px;height:450px;top:-180px;left:-150px}.shape-two{background:#6366f114;width:380px;height:380px;bottom:-180px;right:-120px}.notfound-container{text-align:center;z-index:2;background:#fff;border:1px solid #e5e7eb;border-radius:22px;width:100%;max-width:650px;padding:55px 45px;position:relative;box-shadow:0 20px 60px #0f172a1a}.maintenance-icon{width:95px;height:95px;margin:0 auto 25px;position:relative}.icon-circle{color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:50%;justify-content:center;align-items:center;width:82px;height:82px;margin:auto;display:flex}.small-icon{color:#fff;background:#2563eb;border:3px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:absolute;bottom:0;right:0}.error-code{letter-spacing:-3px;color:#2563eb;text-shadow:0 5px 20px #2563eb26;margin-bottom:18px;font-size:82px;font-weight:800;line-height:1}.notfound-container h1{color:#1f2937;margin:0;font-size:30px;font-weight:700}.notfound-container h2{color:#2563eb;margin:12px 0 0;font-size:16px;font-weight:600}.notfound-container p{color:#6b7280;max-width:510px;margin:18px auto 22px;font-size:14px;line-height:1.8}.maintenance-status{color:#4b5563;background:#f8fafc;border:1px solid #e5e7eb;border-radius:30px;align-items:center;gap:9px;margin-bottom:28px;padding:10px 16px;font-size:13px;font-weight:500;display:inline-flex}.status-dot{background:#22c55e;border-radius:50%;width:8px;height:8px;animation:1.5s infinite statusPulse}@keyframes statusPulse{0%{box-shadow:0 0 #22c55e80}70%{box-shadow:0 0 0 8px #22c55e00}to{box-shadow:0 0 #22c55e00}}.notfound-actions{justify-content:center;align-items:center;gap:12px;display:flex}.dashboard-button,.back-button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:9px;height:44px;padding:0 20px;font-size:14px;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.dashboard-button{color:#fff;background:#2563eb;border:1px solid #2563eb}.dashboard-button:hover{background:#1d4ed8;transform:translateY(-2px);box-shadow:0 7px 15px #2563eb40}.back-button{color:#374151;background:#fff;border:1px solid #d1d5db}.back-button:hover{background:#f9fafb;transform:translateY(-2px)}.notfound-footer{color:#9ca3af;border-top:1px solid #f0f0f0;margin-top:35px;padding-top:20px;font-size:12px}.notfound-footer span:first-child{color:#2563eb;font-weight:700}.footer-dot{margin:0 8px}@media (width<=600px){.notfound-container{padding:40px 22px}.error-code{font-size:65px}.notfound-container h1{font-size:24px}.notfound-container h2{font-size:14px}.notfound-actions{flex-direction:column}.dashboard-button,.back-button{width:100%}}@keyframes db-spin{to{transform:rotate(360deg)}}@media (width<=1100px){.db-kpis{grid-template-columns:repeat(2,1fr)}.db-col-4,.db-col-6,.db-col-8{grid-column:span 12}.db-attendance{flex-flow:wrap;justify-content:center}.db-legend{width:auto;min-width:180px}}@media (width<=640px){.db-page{padding:12px}.db-kpis{grid-template-columns:1fr}.db-header h1{font-size:20px}.db-chart{gap:6px;height:190px}.db-chart-value{font-size:9px}.db-mini-stats{grid-template-columns:repeat(2,1fr)}.db-low li{grid-template-columns:1fr 44px}.db-low-track{display:none}}.student-list-page{width:100%;max-width:1400px;margin:0 auto}.student-list-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.student-list-title{align-items:center;gap:14px;display:flex}.student-title-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.student-list-title h1{color:#1e293b;margin:0;font-size:26px;font-weight:700}.student-list-title p{color:#64748b;margin:5px 0 0;font-size:14px}.add-student-button{color:#fff;cursor:pointer;background:#4f46e5;border:1px solid #4f46e5;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:42px;padding:0 17px;font-size:14px;font-weight:600;display:inline-flex}.add-student-button:hover{background:#4338ca}.student-filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;margin-bottom:18px;padding:15px;display:flex}.student-search{flex:1;align-items:center;min-width:250px;display:flex;position:relative}.student-search svg{color:#94a3b8;position:absolute;left:12px}.student-search input{box-sizing:border-box;color:#1e293b;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;height:40px;padding:0 12px 0 38px;font-size:14px}.student-search input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.student-filter-card select{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;min-width:140px;height:40px;padding:0 12px}.student-filter-card select:focus{border-color:#4f46e5}.clear-filter-button,.refresh-button{cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:5px;height:40px;display:inline-flex}.clear-filter-button{color:#dc2626;background:#fff;border:1px solid #fecaca;padding:0 12px}.clear-filter-button:hover{background:#fef2f2}.refresh-button{color:#475569;background:#fff;border:1px solid #cbd5e1;flex-shrink:0;width:40px}.refresh-button:hover{background:#f8fafc}.refresh-spinning{animation:.8s linear infinite student-refresh-spin}@keyframes student-refresh-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.student-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden}.student-table-wrapper{width:100%;overflow-x:auto}.student-table{border-collapse:collapse;width:100%;min-width:1050px}.student-table th{color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;height:48px;padding:0 14px;font-size:12px;font-weight:700}.student-table td{color:#475569;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:13px 14px;font-size:13px}.student-table tbody tr:hover{background:#f8fafc}.student-table tbody tr:last-child td{border-bottom:0}.admission-number{color:#4f46e5;font-weight:600}.student-name-cell{align-items:center;gap:10px;display:flex}.student-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:13px;font-weight:700;display:flex}.student-name-cell div:last-child{flex-direction:column;gap:2px;display:flex}.student-name-cell strong{color:#1e293b;font-size:13px}.student-name-cell small{color:#94a3b8;font-size:11px}.class-badge{color:#475569;background:#f1f5f9;border-radius:5px;padding:4px 8px;font-size:12px;font-weight:600;display:inline-flex}.status-badge{border-radius:20px;padding:4px 9px;font-size:11px;font-weight:700;display:inline-flex}.status-badge.active{color:#15803d;background:#dcfce7}.status-badge.inactive{color:#b91c1c;background:#fee2e2}.student-actions{align-items:center;gap:5px;display:flex}.student-actions button{cursor:pointer;background:#fff;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.action-view{color:#2563eb;border:1px solid #bfdbfe}.action-view:hover{background:#eff6ff}.action-edit{color:#4f46e5;border:1px solid #c7d2fe}.action-edit:hover{background:#eef2ff}.action-delete{color:#dc2626;border:1px solid #fecaca}.action-delete:hover{background:#fef2f2}.table-message{height:180px;text-align:center!important;color:#94a3b8!important}.student-pagination{border-top:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:15px;padding:14px 16px;display:flex}.pagination-info{color:#64748b;font-size:13px}.pagination-info strong{color:#334155}.pagination-buttons{align-items:center;gap:5px;display:flex}.pagination-buttons button{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-width:34px;height:34px;padding:0 9px;font-size:12px;font-weight:600}.pagination-buttons button:hover:not(:disabled){background:#f8fafc}.pagination-buttons button.active{color:#fff;background:#4f46e5;border-color:#4f46e5}.pagination-buttons button:disabled{opacity:.45;cursor:not-allowed}.student-modal-overlay{z-index:2000;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.student-view-modal{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:650px;max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 20px 50px #0f172a33}.student-modal-header button{color:#475569;cursor:pointer;background:#f1f5f9;border:0;border-radius:6px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.student-profile{border-bottom:1px solid #e2e8f0;align-items:center;gap:14px;margin-bottom:20px;padding-bottom:20px;display:flex}.student-large-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:58px;height:58px;font-size:20px;font-weight:700;display:flex}.student-profile h3{color:#1e293b;margin:0 0 5px;font-size:18px}.student-profile span{color:#64748b;font-size:13px}.student-detail-grid div{flex-direction:column;gap:5px;display:flex}.student-detail-grid label{color:#94a3b8;text-transform:uppercase;font-size:11px;font-weight:600}.student-modal-footer button{cursor:pointer;border-radius:6px;align-items:center;gap:6px;height:38px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex}.modal-close-button{color:#475569;background:#fff;border:1px solid #cbd5e1}.modal-edit-button{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.modal-edit-button:hover{background:#4338ca}@media (width<=900px){.student-filter-card{flex-wrap:wrap}.student-search{flex-basis:100%}.student-filter-card select{flex:1}}@media (width<=600px){.student-list-header{flex-direction:column;align-items:flex-start}.add-student-button{width:100%}.student-filter-card{flex-direction:column;align-items:stretch}.student-search{min-width:0}.student-filter-card select,.clear-filter-button,.refresh-button{width:100%}.student-pagination{flex-direction:column;align-items:stretch}.pagination-buttons{flex-wrap:wrap;justify-content:center}.student-detail-grid{grid-template-columns:1fr}.student-modal-overlay{padding:10px}.student-view-modal{max-height:calc(100vh - 20px)}}.student-control-page{--sc-offset:0px;--sc-primary:#2563eb;--sc-primary-dark:#1d4ed8;--sc-soft:#eff6ff;--sc-text:#1f2937;--sc-muted:#6b7280;--sc-border:#e5e7eb;--sc-danger:#dc2626;height:calc(100vh - var(--sc-offset));height:calc(100dvh - var(--sc-offset));color:var(--sc-text);background:#f3f4f6;flex-direction:column;gap:10px;padding:12px 16px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;display:flex;overflow:hidden}.student-control-page *,.student-control-page :before,.student-control-page :after{box-sizing:border-box}.student-control-header{z-index:5;border:1px solid var(--sc-border);background:#fff;border-radius:12px;flex-shrink:0;align-items:center;gap:16px;padding:10px 14px;display:flex;position:relative;box-shadow:0 1px 3px #0000000d}.student-control-title{flex-shrink:0;align-items:center;gap:10px;display:flex}.student-control-icon{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:11px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.student-control-title h1{margin:0;font-size:18px;font-weight:700;line-height:1.2}.student-control-title p{color:var(--sc-muted);margin:1px 0 0;font-size:12px}.control-search-bar{flex:1;gap:12px;min-width:0;display:flex;position:relative}.control-search-box{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.control-search-box label{letter-spacing:.04em;text-transform:uppercase;color:var(--sc-muted);font-size:11px;font-weight:700}.control-search-row{display:flex}.control-search-row input{min-width:0;height:36px;color:var(--sc-text);background:#fff;border:1px solid #d1d5db;border-right:none;border-radius:8px 0 0 8px;outline:none;flex:1;padding:0 10px;font-family:inherit;font-size:14px}.control-search-row input:focus{border-color:var(--sc-primary);z-index:1;position:relative;box-shadow:0 0 0 3px #2563eb26}.control-search-row button{color:#fff;background:var(--sc-primary);border:1px solid var(--sc-primary);cursor:pointer;border-radius:0 8px 8px 0;align-items:center;gap:5px;height:36px;padding:0 14px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.control-search-row button:hover:not(:disabled){background:var(--sc-primary-dark)}.control-search-row button:disabled{opacity:.65;cursor:wait}.control-search-results{z-index:20;border:1px solid var(--sc-border);background:#fff;border-radius:10px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 14px 30px #0f172a2e}.control-search-msg{color:#374151;background:#f9fafb;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:13px;font-weight:600;display:flex}.control-search-msg.error{color:var(--sc-danger);background:#fef2f2}.control-search-msg button{color:inherit;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:3px;display:flex}.control-search-msg button:hover{background:#00000012}.control-search-results ul{max-height:250px;margin:0;padding:0;list-style:none;overflow-y:auto}.control-search-results li+li{border-top:1px solid #f1f5f9}.control-search-results li button{text-align:left;width:100%;color:var(--sc-primary);cursor:pointer;background:#fff;border:none;align-items:center;gap:10px;padding:9px 12px;display:flex}.control-search-results li button:hover{background:var(--sc-soft)}.control-search-results .who{flex-direction:column;min-width:0;display:flex}.control-search-results .who strong{color:var(--sc-text);font-size:14px}.control-search-results .who small{color:var(--sc-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.student-control-close-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;flex-shrink:0;align-items:center;gap:6px;height:36px;padding:0 14px;font-family:inherit;font-size:13px;font-weight:600;display:inline-flex}.student-control-close-button:hover{background:#f3f4f6}.student-control-form{flex-direction:column;flex:1;gap:10px;min-height:0;display:flex}.control-body{flex-direction:column;flex:1;gap:10px;min-height:0;padding-right:2px;display:flex;overflow-y:auto}.control-section{border:1px solid var(--sc-border);background:#fff;border-radius:12px;flex-shrink:0;box-shadow:0 1px 3px #0000000a}.control-section-title{color:var(--sc-primary);border-bottom:1px solid var(--sc-border);background:#f9fafb;border-radius:12px 12px 0 0;align-items:center;gap:8px;padding:8px 14px;display:flex}.control-section-title h2{color:var(--sc-text);margin:0;font-size:14px;font-weight:700}.control-form-grid{grid-template-columns:repeat(4,1fr);gap:10px 14px;padding:12px 14px 14px;display:grid}.control-field{flex-direction:column;gap:4px;min-width:0;display:flex}.control-field>label{color:#374151;font-size:12px;font-weight:600}.control-field>label span{color:var(--sc-danger);margin-left:2px}.control-field input[type=text],.control-field input[type=date],.control-field input[type=number],.control-field select{width:100%;height:36px;color:var(--sc-text);background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;padding:0 10px;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.control-field input::placeholder{color:#9ca3af}.control-field input:focus,.control-field select:focus{border-color:var(--sc-primary);box-shadow:0 0 0 3px #2563eb26}.control-field input:disabled,.control-field select:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.control-field input[readonly]{background:#f9fafb;font-weight:600}.concession-input-group{display:flex}.concession-input-group input{flex:1;min-width:0;border-radius:8px 0 0 8px!important}.Control-button{color:#fff;background:var(--sc-primary);border:1px solid var(--sc-primary);cursor:pointer;border-radius:0 8px 8px 0;width:42px;height:36px;font-size:16px;font-weight:700}.Control-button:hover{background:var(--sc-primary-dark)}.transport-options{align-items:center;gap:18px;height:36px;display:flex}.radio-option{cursor:pointer;align-items:center;gap:6px;font-size:14px;display:inline-flex}.radio-option input{width:16px;height:16px;accent-color:var(--sc-primary);cursor:pointer}.control-form-actions{border:1px solid var(--sc-border);background:#fff;border-radius:12px;flex-shrink:0;justify-content:flex-end;gap:10px;padding:10px 14px;display:flex}.control-reset-button,.control-save-button{cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;height:40px;padding:0 22px;font-family:inherit;font-size:14px;font-weight:600;display:inline-flex}.control-reset-button{color:#374151;background:#fff;border:1px solid #d1d5db}.control-reset-button:hover:not(:disabled){background:#f3f4f6}.control-save-button{color:#fff;background:var(--sc-primary);border:1px solid var(--sc-primary);box-shadow:0 2px 8px #2563eb4d}.control-save-button:hover:not(:disabled){background:var(--sc-primary-dark)}.control-reset-button:disabled,.control-save-button:disabled{opacity:.6;cursor:not-allowed}.concession-popup-overlay{z-index:1000;background:#1118278c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.concession-popup{background:#fff;border-radius:14px;flex-direction:column;width:100%;max-width:720px;max-height:88vh;display:flex;overflow:hidden;box-shadow:0 20px 45px #00000040}.concession-popup-header{border-bottom:1px solid var(--sc-border);background:#f9fafb;flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 18px;display:flex}.concession-popup-header h2{margin:0;font-size:17px}.concession-popup-header p{color:var(--sc-muted);margin:2px 0 0;font-size:12px}.concession-close{color:#6b7280;cursor:pointer;background:#f3f4f6;border:none;border-radius:50%;width:32px;height:32px;font-size:22px;line-height:1}.concession-close:hover{color:#111827;background:#e5e7eb}.concession-popup-body{flex:1;min-height:0;padding:14px 18px;overflow:auto}.concession-loading,.concession-empty{text-align:center;color:var(--sc-muted);background:#f9fafb;border:1px dashed #d1d5db;border-radius:10px;padding:30px 12px;font-size:14px}.concession-table{border-collapse:collapse;width:100%;font-size:14px}.concession-table th,.concession-table td{text-align:left;border-bottom:1px solid var(--sc-border);padding:8px 10px}.concession-table th{letter-spacing:.03em;text-transform:uppercase;color:var(--sc-muted);background:#f9fafb;font-size:12px;position:sticky;top:0}.concession-table td input{text-align:right;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;min-width:90px;height:34px;padding:0 8px;font-family:inherit;font-size:14px}.concession-table td input:focus{border-color:var(--sc-primary);box-shadow:0 0 0 3px #2563eb26}.concession-table tfoot td{background:#f9fafb;border-bottom:none}.concession-popup-footer{border-top:1px solid var(--sc-border);flex-shrink:0;justify-content:flex-end;gap:10px;padding:12px 18px;display:flex}.concession-cancel-button,.concession-save-button{cursor:pointer;border-radius:8px;height:38px;padding:0 20px;font-family:inherit;font-size:14px;font-weight:600}.concession-cancel-button{color:#374151;background:#fff;border:1px solid #d1d5db}.concession-cancel-button:hover{background:#f3f4f6}.concession-save-button{color:#fff;background:#16a34a;border:1px solid #16a34a}.concession-save-button:hover:not(:disabled){background:#15803d}.concession-save-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=1200px){.student-control-title p{display:none}}@media (width<=1000px){.control-form-grid{grid-template-columns:repeat(3,1fr)}.student-control-header{flex-wrap:wrap}.student-control-title{flex:1}.control-search-bar{flex-basis:100%;order:3}}@media (width<=700px){.student-control-page{padding:8px}.control-form-grid{grid-template-columns:repeat(2,1fr)}.control-search-bar{flex-direction:column;gap:8px}}@media (width<=480px){.control-form-grid{grid-template-columns:1fr}.control-reset-button,.control-save-button{flex:1;padding:0 10px}}.student-admission-page{--sa-primary:#2563eb;--sa-primary-dark:#1d4ed8;--sa-soft:#eff6ff;--sa-text:#1f2937;--sa-muted:#6b7280;--sa-border:#e5e7eb;--sa-danger:#dc2626;max-width:1100px;color:var(--sa-text);margin:0 auto;padding:20px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.student-admission-page *,.student-admission-page :before,.student-admission-page :after{box-sizing:border-box}.admission-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.admission-heading{align-items:center;gap:14px;display:flex}.admission-heading-icon{color:#fff;background:linear-gradient(135deg,#3b82f6,#1d4ed8);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:50px;height:50px;display:flex;box-shadow:0 4px 10px #2563eb4d}.admission-heading h1{margin:0;font-size:22px;font-weight:700}.admission-heading p{color:var(--sa-muted);margin:3px 0 0;font-size:14px}.back-student-button{color:var(--sa-primary);border:1px solid var(--sa-primary);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:9px 16px;font-size:14px;font-weight:600;transition:background .15s;display:inline-flex}.back-student-button:hover{background:var(--sa-soft)}.student-admission-form{flex-direction:column;gap:16px;display:flex}.admission-card{border:1px solid var(--sa-border);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px #0000000d}.admission-card-header{border-bottom:1px solid var(--sa-border);background:#f9fafb;align-items:center;gap:12px;padding:14px 20px;display:flex}.section-icon{width:38px;height:38px;color:var(--sa-primary);background:#dbeafe;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.admission-card-header h2{margin:0;font-size:16px;font-weight:700}.admission-card-header p{color:var(--sa-muted);margin:2px 0 0;font-size:12px}.admission-grid{grid-template-columns:repeat(3,1fr);gap:16px 18px;padding:20px;display:grid}.form-group{flex-direction:column;gap:6px;min-width:0;display:flex}.form-group-full{grid-column:1/-1}.form-group label span{color:var(--sa-danger);margin-left:2px}.form-group input,.form-group select,.form-group textarea{width:100%;color:var(--sa-text);background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;padding:10px 12px;font-family:inherit;font-size:14px;transition:border-color .15s,box-shadow .15s}.form-group input,.form-group select{height:42px}.form-group textarea{resize:vertical;min-height:84px}.form-group input::placeholder,.form-group textarea::placeholder{color:#9ca3af}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--sa-primary);box-shadow:0 0 0 3px #2563eb26}.form-group input[readonly]{color:var(--sa-primary-dark);cursor:not-allowed;background:#f3f4f6;font-weight:600}.form-group small{color:var(--sa-muted);font-size:12px}.admission-form-actions{justify-content:flex-end;gap:12px;padding:4px 0 8px;display:flex}.reset-admission-button,.registration-button{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-width:140px;height:44px;padding:0 24px;font-size:15px;font-weight:600;transition:background .15s,opacity .15s;display:inline-flex}.reset-admission-button{color:#374151;background:#fff;border:1px solid #d1d5db}.reset-admission-button:hover:not(:disabled){background:#f3f4f6}.registration-button{color:#fff;background:var(--sa-primary);border:1px solid var(--sa-primary);box-shadow:0 2px 8px #2563eb4d}.registration-button:hover:not(:disabled){background:var(--sa-primary-dark)}.reset-admission-button:disabled,.registration-button:disabled{opacity:.6;cursor:not-allowed}@media (width<=900px){.admission-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.student-admission-page{padding:12px}.admission-grid{grid-template-columns:1fr;padding:14px}.admission-heading h1{font-size:19px}.back-student-button{justify-content:center;width:100%}.admission-form-actions{flex-direction:column-reverse}.reset-admission-button,.registration-button{width:100%}}.class-change-page{width:100%;max-width:1450px;margin:0 auto;padding-bottom:25px}.class-change-header{justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;display:flex}.class-change-title{align-items:center;gap:10px;display:flex}.class-change-title-icon{color:#ea580c;background:#fff7ed;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.class-change-title h1{color:#172033;margin:0;font-size:22px;font-weight:700;line-height:1.2}.class-change-title p{color:#64748b;margin:3px 0 0;font-size:12px}.class-change-search-card{background:#fff;border:1px solid #e3e8ef;border-radius:8px;margin-bottom:12px;box-shadow:0 1px 2px #0f172a08}.class-change-search-grid{grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:12px;padding:14px 15px;display:grid}.class-change-search-field{flex-direction:column;min-width:0;display:flex}.class-change-search-field label{color:#475569;margin-bottom:4px;font-size:11.5px;font-weight:600}.class-change-search-input{box-sizing:border-box;color:#94a3b8;background:#fff;border:1px solid #d5dce5;border-radius:6px;align-items:center;gap:7px;height:35px;padding:0 9px;transition:border-color .15s,box-shadow .15s;display:flex}.class-change-search-input:hover{border-color:#b9c3d0}.class-change-search-input:focus-within{border-color:#6366f1;box-shadow:0 0 0 2px #6366f117}.class-change-search-input input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;height:100%;padding:0;font-family:inherit;font-size:12px}.class-change-search-input input::placeholder{color:#a0a9b6}.class-change-search-field select{box-sizing:border-box;color:#1e293b;cursor:pointer;background:#fff;border:1px solid #d5dce5;border-radius:6px;outline:none;width:100%;height:35px;padding:0 9px;font-family:inherit;font-size:12px;transition:border-color .15s,box-shadow .15s}.class-change-search-field select:hover{border-color:#b9c3d0}.class-change-search-field select:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f117}.class-change-search-actions{align-items:center;gap:6px;height:35px;display:flex}.class-change-search-button{color:#fff;cursor:pointer;background:#4f46e5;border:1px solid #4f46e5;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:35px;padding:0 14px;font-family:inherit;font-size:12px;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.class-change-search-button:hover{background:#4338ca;border-color:#4338ca}.class-change-reset-button{color:#64748b;cursor:pointer;background:#fff;border:1px solid #d5dce5;border-radius:6px;justify-content:center;align-items:center;width:35px;height:35px;padding:0;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.class-change-reset-button:hover{color:#334155;background:#f8fafc;border-color:#c5ced9}.class-change-list-card{background:#fff;border:1px solid #e3e8ef;border-radius:8px;overflow:hidden;box-shadow:0 1px 2px #0f172a08}.class-change-list-header{box-sizing:border-box;background:#fafbfd;border-bottom:1px solid #e9edf2;justify-content:space-between;align-items:center;min-height:52px;padding:9px 15px;display:flex}.class-change-list-header h2{color:#1e293b;margin:0;font-size:14px;font-weight:700}.class-change-list-header p{color:#94a3b8;margin:3px 0 0;font-size:11px}.class-change-result-count{box-sizing:border-box;color:#4f46e5;background:#eef2ff;border-radius:6px;justify-content:center;align-items:center;min-width:32px;height:30px;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.class-change-table-wrapper{width:100%;overflow-x:auto}.class-change-table{border-collapse:collapse;width:100%;min-width:850px}.class-change-table thead{background:#f8fafc}.class-change-table th{color:#64748b;text-align:left;white-space:nowrap;border-bottom:1px solid #e5eaf0;height:40px;padding:0 13px;font-size:10.5px;font-weight:700}.class-change-table td{color:#475569;white-space:nowrap;border-bottom:1px solid #edf1f5;height:54px;padding:7px 13px;font-size:12px}.class-change-table tbody tr{transition:background .15s}.class-change-table tbody tr:hover{background:#fafbff}.class-change-table tbody tr:last-child td{border-bottom:none}.student-id{color:#64748b;font-size:11px;font-weight:600}.class-change-student{align-items:center;gap:9px;display:flex}.class-change-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;justify-content:center;align-items:center;width:32px;min-width:32px;height:32px;font-size:12px;font-weight:700;display:flex}.class-change-student>div:last-child{flex-direction:column;gap:2px;min-width:0;display:flex}.class-change-student strong{color:#1e293b;font-size:12px;font-weight:600}.class-change-student small{color:#94a3b8;font-size:9.5px}.class-badge{color:#475569;background:#f1f5f9;border-radius:5px;align-items:center;padding:4px 8px;font-size:10.5px;font-weight:600;display:inline-flex}.roll-number{color:#334155;justify-content:center;align-items:center;min-width:28px;font-size:12px;font-weight:600;display:inline-flex}.section-badge{box-sizing:border-box;color:#4f46e5;background:#eef2ff;border-radius:5px;justify-content:center;align-items:center;min-width:25px;height:25px;padding:0 7px;font-size:10.5px;font-weight:700;display:inline-flex}.mobile-number{color:#64748b;font-size:11px}.class-change-action{color:#7c3aed;cursor:pointer;background:#fff;border:1px solid #ddd6fe;border-radius:5px;justify-content:center;align-items:center;gap:5px;height:30px;padding:0 10px;font-family:inherit;font-size:10.5px;font-weight:600;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.class-change-action:hover{color:#6d28d9;background:#f5f3ff;border-color:#c4b5fd}.class-change-empty{vertical-align:middle;text-align:center!important;color:#94a3b8!important;height:180px!important}.class-change-empty svg{color:#cbd5e1;margin:0 auto 8px;display:block}.class-change-empty strong{color:#64748b;margin-bottom:3px;font-size:12px;display:block}.class-change-empty span{color:#94a3b8;font-size:10.5px;display:block}.class-change-popup-overlay{z-index:3000;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.class-change-popup{background:#fff;border-radius:10px;flex-direction:column;width:100%;max-width:650px;max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 25px 60px #0f172a40}.class-change-popup-header{background:#fff;border-bottom:1px solid #e5eaf0;justify-content:space-between;align-items:center;min-height:62px;padding:12px 16px;display:flex}.class-change-popup-header h2{color:#1e293b;margin:0;font-size:16px;font-weight:700}.class-change-popup-header p{color:#94a3b8;margin:3px 0 0;font-size:11px}.class-change-popup-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:22px;line-height:1;display:flex}.class-change-popup-close:hover{color:#1e293b;background:#e2e8f0}.class-change-popup-body{padding:16px;overflow-y:auto}.popup-student-info{background:#f8fafc;border:1px solid #e5eaf0;border-radius:7px;align-items:center;gap:10px;margin-bottom:15px;padding:10px 12px;display:flex}.popup-student-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;font-size:14px;font-weight:700;display:flex}.popup-student-info>div:last-child{flex-direction:column;gap:3px;display:flex}.popup-student-info strong{color:#1e293b;font-size:13px}.popup-student-info span{color:#94a3b8;font-size:10.5px}.popup-section-title{color:#475569;text-transform:uppercase;letter-spacing:.5px;margin:15px 0 8px;font-size:11px;font-weight:700}.popup-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.popup-form-group{flex-direction:column;min-width:0;display:flex}.popup-form-group label{color:#64748b;margin-bottom:4px;font-size:10.5px;font-weight:600}.popup-form-group input,.popup-form-group select{box-sizing:border-box;color:#1e293b;background:#fff;border:1px solid #d5dce5;border-radius:6px;outline:none;width:100%;height:35px;padding:0 9px;font-family:inherit;font-size:11.5px}.popup-form-group input:focus,.popup-form-group select:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f114}.popup-form-group input[readonly]{color:#64748b;background:#f8fafc}.class-change-popup-footer{box-sizing:border-box;background:#fafbfd;border-top:1px solid #e5eaf0;justify-content:flex-end;align-items:center;gap:8px;min-height:58px;padding:10px 16px;display:flex}.popup-cancel-button,.popup-save-button{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 13px;font-family:inherit;font-size:11.5px;font-weight:600;display:inline-flex}.popup-cancel-button{color:#64748b;background:#fff;border:1px solid #d5dce5}.popup-cancel-button:hover{color:#334155;background:#f8fafc}.popup-save-button{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.popup-save-button:hover{background:#4338ca;border-color:#4338ca}@media (width<=600px){.class-change-popup-overlay{padding:10px}.class-change-popup{border-radius:8px;max-height:calc(100vh - 20px)}.class-change-popup-header{padding:11px 13px}.class-change-popup-header h2{font-size:14px}.class-change-popup-body{padding:13px}.popup-form-grid{grid-template-columns:1fr}.class-change-popup-footer{padding:9px 13px}.popup-cancel-button,.popup-save-button{flex:1}}@media (width<=1000px){.class-change-search-grid{grid-template-columns:minmax(220px,1.5fr) minmax(140px,1fr) minmax(140px,1fr) auto}}@media (width<=800px){.class-change-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.search-field{grid-column:1/-1}.class-change-search-actions{justify-content:flex-start}}@media (width<=600px){.class-change-page{padding-bottom:15px}.class-change-header{margin-bottom:12px}.class-change-title{align-items:flex-start}.class-change-title-icon{width:38px;height:38px}.class-change-title h1{font-size:19px}.class-change-title p{font-size:11px}.class-change-search-grid{grid-template-columns:1fr;gap:10px;padding:12px}.search-field{grid-column:auto}.class-change-search-actions{width:100%}.class-change-search-button{flex:1}.class-change-reset-button{width:35px;min-width:35px}.class-change-list-header{padding:9px 12px}}@media (width<=420px){.class-change-title-icon{width:36px;height:36px}.class-change-title h1{font-size:18px}.class-change-search-card,.class-change-list-card{border-radius:7px}.class-change-list-header h2{font-size:13px}}.student-list-page{box-sizing:border-box;background:#f1f5f9;min-height:100%;padding:20px}.student-list-loading{color:#475569;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:50vh;display:flex}.loading-spinner{color:#2563eb;animation:1s linear infinite student-spin}@keyframes student-spin{to{transform:rotate(360deg)}}.student-list-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.student-list-header-left{align-items:center;gap:12px;display:flex}.student-list-header h1{color:#0f172a;margin:0;font-size:1.35rem}.student-list-header p{color:#64748b;margin:2px 0 0;font-size:.85rem}.student-back-button{cursor:pointer;color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.student-back-button:hover{background:#f8fafc}.student-list-header-icon{color:#2563eb;background:#dbeafe;border-radius:12px;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex}.student-refresh-button{color:#fff;cursor:pointer;background:#2563eb;border:1px solid #2563eb;border-radius:10px;align-items:center;gap:6px;padding:9px 14px;font-size:.88rem;display:inline-flex}.student-refresh-button:disabled{opacity:.6;cursor:not-allowed}.student-error-box{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:10px 14px;font-size:.9rem;display:flex}.student-error-box button{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fca5a5;border-radius:8px;padding:5px 10px}.student-table-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px #0f172a14}.student-table-top{border-bottom:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.student-table-top h2{color:#0f172a;margin:0;font-size:1.05rem}.student-table-top p{color:#64748b;margin:2px 0 0;font-size:.82rem}.student-search-box{color:#64748b;background:#fff;border:1px solid #cbd5e1;border-radius:10px;align-items:center;gap:8px;min-width:240px;padding:0 10px;display:flex}.student-search-box input{color:#0f172a;background:0 0;border:0;outline:0;flex:1;padding:9px 0;font-size:.9rem}.student-search-box:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.student-table-wrapper{overflow-x:auto}.student-control-table{border-collapse:collapse;width:100%;font-size:.9rem}.student-control-table th{color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:10px 12px;font-weight:600}.student-control-table td{vertical-align:middle;color:#1e293b;border-bottom:1px solid #eef2f7;padding:10px 12px}.student-control-table tbody tr:hover{background:#f8fafc}.student-id-badge{color:#1d4ed8;background:#eff6ff;border-radius:999px;padding:2px 10px;font-size:.82rem;font-weight:600;display:inline-block}.student-control-table .student-name-cell{flex-direction:column;align-items:flex-start;gap:2px;min-width:170px;display:flex}.student-control-table .student-name-cell strong{color:#0f172a;font-size:.92rem;font-weight:600;line-height:1.25}.student-control-table .student-father-name{color:#64748b;font-size:.78rem;font-weight:400;line-height:1.2}.student-control-table .student-father-name:before{content:"S/o ";color:#94a3b8}.transport-badge{border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:600;display:inline-block}.transport-badge.yes{color:#15803d;background:#dcfce7}.transport-badge.no{color:#64748b;background:#f1f5f9}.concession-amount{color:#0f172a;white-space:nowrap;font-weight:600}.student-action-buttons{gap:6px;display:flex}.student-action-view,.student-action-edit{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.student-action-view{color:#2563eb;background:#eff6ff;border-color:#bfdbfe}.student-action-edit{color:#b45309;background:#fffbeb;border-color:#fcd34d}.student-action-view:hover{background:#dbeafe}.student-action-edit:hover{background:#fef3c7}.student-control-table td.student-empty-state{text-align:center;color:#64748b;padding:40px 12px}.student-empty-state h3{color:#334155;margin:8px 0 4px}.student-empty-state p{margin:0;font-size:.85rem}.student-pagination{color:#475569;border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;font-size:.85rem;display:flex}.student-pagination-controls{align-items:center;gap:8px;display:flex}.student-pagination-controls button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.student-pagination-controls button:disabled{opacity:.45;cursor:not-allowed}.student-page-size{background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:6px 8px;font-size:.85rem}.student-page-number{text-align:center;min-width:56px;font-weight:600}.student-details-overlay{z-index:1000;background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.student-details-modal{background:#fff;border-radius:14px;flex-direction:column;width:100%;max-width:720px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 50px #00000040}.student-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;padding:16px 20px;display:flex}.student-modal-header h2{color:#0f172a;margin:0;font-size:1.1rem}.student-modal-header p{color:#64748b;margin:2px 0 0;font-size:.82rem}.student-modal-close{cursor:pointer;color:#475569;background:0 0;border:0}.student-modal-body{padding:16px 20px;overflow-y:auto}.student-modal-profile{align-items:center;gap:14px;margin-bottom:14px;display:flex}.student-modal-avatar{color:#2563eb;background:#dbeafe;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;display:inline-flex}.student-modal-profile h3{color:#0f172a;margin:0;font-size:1.05rem}.student-modal-profile p{color:#64748b;margin:2px 0 0;font-size:.85rem}.student-detail-section{margin-top:14px}.student-detail-section h4{color:#334155;border-bottom:1px solid #e2e8f0;margin:0 0 8px;padding-bottom:4px;font-size:.9rem}.student-detail-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;display:grid}.student-detail-grid>div{background:#f8fafc;border-radius:8px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.student-detail-grid span{color:#64748b;font-size:.75rem}.student-detail-grid strong{color:#0f172a;font-size:.9rem}.detail-highlight{color:#15803d!important}.student-modal-footer{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:8px;padding:12px 20px;display:flex}.student-modal-cancel,.student-modal-edit{cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:.88rem;display:inline-flex}.student-modal-cancel{color:#334155;background:#fff;border:1px solid #cbd5e1}.student-modal-edit{color:#fff;background:#2563eb;border:1px solid #2563eb}@media (width<=768px){.student-list-page{padding:12px}.student-search-box{width:100%;min-width:0}.student-control-table .student-name-cell{min-width:140px}}.form-issue-page{box-sizing:border-box;color:#172033;background:#f4f7fb;min-height:100vh;padding:30px 20px;font-family:Arial,sans-serif}.form-issue-container{max-width:900px;margin:0 auto}.fi-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.fi-title{align-items:center;gap:10px;margin:0;font-size:26px;display:flex}.fi-subtitle{color:#647087;font-size:14px}.form-issue-card{background:#fff;border:1px solid #e1e7f0;border-radius:14px;padding:26px;box-shadow:0 8px 28px #192d500f}.fi-section-title{margin-top:0}.fi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px;display:grid}.fi-field{flex-direction:column;gap:8px;min-width:0;display:flex}.fi-date-field{margin-bottom:10px}.fi-label{color:#26334a;font-size:14px;font-weight:600}.fi-input{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #cbd4e1;border-radius:8px;width:100%;min-height:44px;padding:10px 12px;font-size:15px}.fi-input:disabled{cursor:not-allowed;opacity:.65}.fi-readonly-input{background:#f2f5f9}.fi-button{color:#26334a;cursor:pointer;background:#fff;border:1px solid #cbd4e1;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 16px;font-weight:600;text-decoration:none;display:inline-flex}.fi-button:hover{filter:brightness(.97)}.fi-button:disabled{cursor:not-allowed;opacity:.55}.fi-button-primary{color:#fff;background:#2457c5;border-color:#2457c5}.fi-form-actions{border-top:1px solid #e8edf4;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:28px;padding-top:22px;display:flex}.fi-error{color:#b42318;margin-top:18px}.fi-payment-overlay,.fi-list-overlay{z-index:1000;background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.fi-payment-popup{box-sizing:border-box;background:#fff;border-radius:14px;width:100%;max-width:540px;max-height:90vh;padding:22px;overflow-y:auto;box-shadow:0 20px 60px #00000040}.fi-popup-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.fi-popup-title{margin:0;font-size:20px}.fi-popup-close,.fi-icon-button{color:#475569;cursor:pointer;background:0 0;border:0}.fi-popup-close{font-size:28px;line-height:1}.fi-total-row{background:#f3f6fb;border-radius:8px;justify-content:space-between;gap:12px;margin-bottom:10px;padding:12px;display:flex}.fi-payment-error{color:#b42318;background:#fef2f2;border-radius:7px;margin:12px 0;padding:11px;font-size:14px}.fi-mode-heading,.fi-mode-row{grid-template-columns:1fr minmax(120px,160px);gap:12px;display:grid}.fi-mode-heading{color:#475569;border-bottom:1px solid #e2e8f0;padding:10px 0;font-size:13px;font-weight:700}.fi-mode-row{border-bottom:1px solid #edf0f5;align-items:center;padding:12px 0}.fi-mode-input{border-radius:7px;min-width:0;padding:10px;font-size:14px}.fi-balance-row{justify-content:space-between;gap:10px;margin-top:14px;font-size:13px;display:flex}.fi-balance-row.is-balanced{color:#15803d}.fi-balance-row.is-unbalanced{color:#b42318}.fi-popup-footer{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.fi-list-overlay{z-index:9999;background:#0000008c;padding:15px}.fi-list-modal{background:#fff;border-radius:10px;flex-direction:column;width:100%;max-width:1100px;max-height:90vh;display:flex;overflow:hidden}.fi-list-header{border-bottom:1px solid #ddd;justify-content:space-between;align-items:center;padding:15px 20px;display:flex}.fi-list-title{margin:0}.fi-icon-button{justify-content:center;align-items:center;display:inline-flex}.fi-list-content{padding:15px;overflow:auto}.fi-table-wrap{overflow-x:auto}.fi-list-table{border-collapse:collapse;width:100%;min-width:850px}.fi-list-table th,.fi-list-table td{white-space:nowrap;text-align:left;border:1px solid #ddd;padding:9px;font-size:13px}.fi-list-table th{background:#f1f5f9;padding:11px 9px}.fi-button-print{color:#fff;background:#16a34a;border:0;border-radius:5px;gap:5px;min-height:0;padding:6px 11px}.fi-list-footer{border-top:1px solid #ddd;justify-content:space-between;gap:10px;padding:12px 18px;display:flex}@media (width<=600px){.form-issue-page{padding:16px 10px}.form-issue-card{padding:18px 14px}.fi-title{font-size:22px}.fi-page-header{align-items:flex-start}.fi-list-modal{max-height:94vh}.fi-list-header,.fi-list-footer{padding:12px}.fi-list-content{padding:10px}}.fees-page{--fm-primary:#2563eb;--fm-primary-dark:#1e3a8a;--fm-sidebar-bg:#0f172a;--fm-sidebar-text:#cbd5e1;--fm-sidebar-hover:#ffffff14;--fm-sidebar-active:#2563eb;--fm-page-bg:#f3f4f6;background:var(--fm-page-bg);min-height:100vh;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.fees-page *,.fees-page :before,.fees-page :after{box-sizing:border-box}.fees-layout{align-items:stretch;min-height:100vh;display:flex}.fees-sidebar{background:var(--fm-sidebar-bg);width:250px;height:100vh;color:var(--fm-sidebar-text);flex-direction:column;flex-shrink:0;align-self:flex-start;display:flex;position:sticky;top:0;overflow-y:auto}.fees-sidebar-header{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;gap:10px;padding:18px 16px;display:flex}.fees-sidebar-title{letter-spacing:.1em;color:#fff;font-size:13px;font-weight:700}.dashboard-button{color:#fff;background:#ffffff1f;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:600;text-decoration:none;transition:background .15s;display:inline-flex}.dashboard-button:hover{background:#ffffff38}.fees-menu{flex-direction:column;gap:4px;padding:12px 10px 20px;display:flex}.fees-menu-item{color:var(--fm-sidebar-text);border-radius:8px;align-items:center;gap:12px;padding:11px 12px;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.fees-menu-item>span{white-space:nowrap;flex:1}.fees-menu-item svg{flex-shrink:0}.fees-menu-item .menu-arrow{opacity:0;transition:opacity .15s,transform .15s;transform:translate(-4px)}.fees-menu-item:hover{color:#fff;background:var(--fm-sidebar-hover)}.fees-menu-item:hover .menu-arrow{opacity:.7;transform:translate(0)}.fees-menu-item.active{color:#fff;background:var(--fm-sidebar-active);box-shadow:0 2px 8px #2563eb73}.fees-menu-item.active .menu-arrow{opacity:1;transform:translate(0)}.fees-content{flex:1;min-width:0;padding:20px;overflow-x:auto}@media (width<=860px){.fees-layout{flex-direction:column}.fees-sidebar{width:100%;height:auto;position:static;overflow:visible}.fees-sidebar-header{padding:12px 14px}.fees-menu{-webkit-overflow-scrolling:touch;flex-direction:row;gap:6px;padding:8px 10px 12px;overflow-x:auto}.fees-menu-item{border-radius:999px;flex-shrink:0;gap:8px;padding:9px 14px}.fees-menu-item .menu-arrow{display:none}.fees-content{padding:12px}}@media print{.fees-sidebar{display:none!important}.fees-content{padding:0}}.sl-page{--sl-primary:#4f46e5;--sl-primary-dark:#4338ca;--sl-accent:#0ea5e9;--sl-success:#059669;--sl-text:#1e293b;--sl-muted:#64748b;--sl-border:#e2e8f0;--sl-bg:#f1f5f9;background:var(--sl-bg);min-height:100%;color:var(--sl-text);flex-direction:column;gap:18px;padding:20px;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;display:flex}.sl-card{border:1px solid var(--sl-border);background:#fff;border-radius:14px;box-shadow:0 4px 16px #0f172a0f}.sl-search-card{border-top:4px solid var(--sl-primary);padding:20px}.sl-search-grid{grid-template-columns:minmax(240px,2fr) minmax(160px,1fr) minmax(140px,1fr) auto;align-items:end;gap:16px;display:grid}.sl-field label{letter-spacing:.4px;text-transform:uppercase;color:var(--sl-muted);margin-bottom:6px;font-size:12px;font-weight:600;display:block}.sl-input-wrap{align-items:center;display:flex;position:relative}.sl-input-wrap svg{color:var(--sl-primary);pointer-events:none;position:absolute;left:12px}.sl-input-wrap input,.sl-field select{border:1px solid var(--sl-border);width:100%;height:42px;color:var(--sl-text);box-sizing:border-box;background:#f8fafc;border-radius:10px;outline:none;font-size:14px;transition:all .2s}.sl-input-wrap input{padding:0 12px 0 40px}.sl-field select{cursor:pointer;padding:0 12px}.sl-input-wrap input:focus,.sl-field select:focus{border-color:var(--sl-primary);background:#fff;box-shadow:0 0 0 3px #4f46e526}.sl-actions{gap:10px;display:flex}.sl-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:10px;align-items:center;gap:7px;height:42px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.sl-btn-primary{background:linear-gradient(135deg, var(--sl-primary), var(--sl-accent));color:#fff;box-shadow:0 4px 10px #4f46e54d}.sl-btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 14px #4f46e566}.sl-btn-ghost{color:var(--sl-muted);border:1px solid var(--sl-border);background:#fff}.sl-btn-ghost:hover{color:var(--sl-text);background:#f1f5f9}.sl-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-top:14px;padding:10px 14px;font-size:13px}.sl-results-card{overflow:hidden}.sl-results-header{border-bottom:1px solid var(--sl-border);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.sl-results-header h3{margin:0;font-size:17px;font-weight:700}.sl-count{color:var(--sl-primary);background:#eef2ff;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700}.sl-table-wrap{max-height:70vh;overflow-x:auto}.sl-table{border-collapse:separate;border-spacing:0;table-layout:auto;width:100%;font-size:14px}.sl-table thead th{z-index:2;color:#fff;text-align:left;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap;background:linear-gradient(135deg,#4338ca,#0284c7);padding:13px 16px;font-size:12px;font-weight:600;position:sticky;top:0}.sl-table tbody td{vertical-align:middle;white-space:nowrap;border-bottom:1px solid #eef2f7;padding:12px 16px}.sl-table tbody tr:nth-child(2n){background:#f8fafc}.sl-table tbody tr{transition:background .15s}.sl-table tbody tr:hover{background:#eef2ff}.col-sno{width:1%;color:var(--sl-muted);font-weight:600;text-align:center!important}.col-action{width:1%;text-align:center!important}.sl-student{align-items:center;gap:12px;min-width:200px;display:flex}.sl-avatar{color:#fff;background:linear-gradient(135deg,#6366f1,#06b6d4);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:14px;font-weight:700;display:flex;box-shadow:0 2px 6px #6366f159}.sl-student-info{flex-direction:column;line-height:1.3;display:flex}.sl-student-name{color:var(--sl-text);font-size:14px;font-weight:700}.sl-father-name{color:var(--sl-muted);margin-top:2px;font-size:12px}.sl-pill{border-radius:999px;padding:4px 11px;font-size:12px;font-weight:600;display:inline-block}.sl-pill-id{color:#4338ca;background:#eef2ff}.sl-pill-class{color:#0369a1;background:#e0f2fe}.sl-pill-section{color:#b45309;background:#fef3c7}.sl-pill-adm{color:#047857;background:#dcfce7}.sl-collect-btn{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#059669,#10b981);border:none;border-radius:9px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 3px 8px #0596694d}.sl-collect-btn:hover{transform:translateY(-1px);box-shadow:0 5px 12px #05966966}.sl-loading{color:var(--sl-muted);flex-direction:column;align-items:center;gap:12px;padding:50px 20px;font-weight:500;display:flex}.sl-spinner{border:3px solid #e0e7ff;border-top-color:var(--sl-primary);border-radius:50%;width:34px;height:34px;animation:.8s linear infinite sl-spin}@keyframes sl-spin{to{transform:rotate(360deg)}}.sl-empty{text-align:center;color:var(--sl-muted);padding:50px 20px}.sl-empty svg{color:#c7d2fe}.sl-empty h3{color:var(--sl-text);margin:10px 0 4px}.sl-empty p{margin:0;font-size:14px}@media (width<=900px){.sl-search-grid{grid-template-columns:1fr 1fr}.sl-field-search,.sl-actions{grid-column:1/-1}}@media (width<=560px){.sl-page{padding:12px}.sl-search-grid{grid-template-columns:1fr}}.fees-collect-page{--fc-primary:#4f46e5;--fc-primary-dark:#4338ca;--fc-accent:#0ea5e9;--fc-success:#059669;--fc-danger:#dc2626;--fc-text:#1e293b;--fc-muted:#64748b;--fc-border:#e2e8f0;--fc-bg:#f1f5f9;background:var(--fc-bg);min-height:100%;color:var(--fc-text);flex-direction:column;gap:18px;padding:20px;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;display:flex}.fees-search-card,.student-single-card,.fee-bill-card{border:1px solid var(--fc-border);background:#fff;border-radius:14px;box-shadow:0 4px 16px #0f172a0f}.fees-search-card{border-top:4px solid var(--fc-primary);padding:20px}.fees-section-title{color:var(--fc-primary);align-items:center;gap:10px;margin-bottom:16px;display:flex}.fees-section-title h3{color:var(--fc-text);margin:0;font-size:17px;font-weight:700}.fees-search-form{flex-wrap:wrap;align-items:flex-end;gap:14px;display:flex}.fees-input-group{flex:260px;max-width:420px}.fees-input-group label{letter-spacing:.4px;text-transform:uppercase;color:var(--fc-muted);margin-bottom:6px;font-size:12px;font-weight:600;display:block}.fees-input-group input{border:1px solid var(--fc-border);width:100%;height:42px;color:var(--fc-text);box-sizing:border-box;background:#f8fafc;border-radius:10px;outline:none;padding:0 14px;font-size:14px;transition:all .2s}.fees-input-group input:focus{border-color:var(--fc-primary);background:#fff;box-shadow:0 0 0 3px #4f46e526}.fees-search-btn,.view-students-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:10px;align-items:center;gap:8px;height:42px;padding:0 20px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.fees-search-btn{background:linear-gradient(135deg, var(--fc-primary), var(--fc-accent));color:#fff;box-shadow:0 4px 10px #4f46e54d}.fees-search-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 14px #4f46e566}.fees-search-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.view-students-btn{color:var(--fc-primary-dark);background:#eef2ff;border:1px solid #c7d2fe}.view-students-btn:hover{background:#e0e7ff}.fees-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:8px;margin-top:14px;padding:10px 14px;font-size:13px;display:flex}.student-single-card{border-left:5px solid var(--fc-accent);flex-wrap:wrap;align-items:center;gap:24px;padding:18px 22px;display:flex}.student-single-left{align-items:center;gap:14px;min-width:240px;display:flex}.student-single-avatar{color:#fff;background:linear-gradient(135deg,#6366f1,#06b6d4);border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;font-size:19px;font-weight:700;display:flex;box-shadow:0 4px 10px #6366f159}.student-single-name span{letter-spacing:.5px;text-transform:uppercase;color:var(--fc-muted);font-size:11px;font-weight:600}.student-single-name h3{margin:2px 0;font-size:18px;font-weight:700}.student-single-name small{color:var(--fc-primary);font-weight:600}.student-single-info{flex:1;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.student-single-info>div{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:10px 14px}.student-single-info>div:first-child{border-left:3px solid #6366f1}.student-single-info>div:nth-child(2){border-left:3px solid #0ea5e9}.student-single-info>div:nth-child(3){border-left:3px solid #f59e0b}.student-single-info>div:nth-child(4){border-left:3px solid #ec4899}.student-single-info>div:nth-child(5){border-left:3px solid #10b981}.student-single-info>div:nth-child(6){border-left:3px solid #8b5cf6}.student-single-info span{letter-spacing:.4px;text-transform:uppercase;color:var(--fc-muted);font-size:11px;font-weight:600;display:block}.student-single-info strong{color:var(--fc-text);margin-top:3px;font-size:14px;display:block}.fee-bill-card{overflow:hidden}.fee-bill-header{color:#fff;background:linear-gradient(135deg,#4338ca,#0284c7);justify-content:space-between;align-items:center;padding:16px 22px;display:flex}.fee-bill-title{align-items:center;gap:10px;display:flex}.fee-bill-title h3{margin:0;font-size:17px;font-weight:700}.fee-history-btn{color:#fff;cursor:pointer;background:#ffffff26;border:1px solid #ffffff73;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.fee-history-btn:disabled{opacity:.6;cursor:not-allowed}.fee-bill-info{border-bottom:1px solid var(--fc-border);background:#f8fafc;flex-wrap:wrap;gap:12px;padding:14px 22px;display:flex}.fee-bill-info>div{border:1px solid var(--fc-border);color:var(--fc-muted);background:#fff;border-radius:999px;align-items:center;gap:8px;padding:7px 14px;font-size:13px;display:inline-flex}.fee-bill-info svg{color:var(--fc-primary)}.fee-bill-info strong{color:var(--fc-text)}.no-fees{color:var(--fc-muted);justify-content:center;align-items:center;gap:10px;padding:40px 20px;font-weight:500;display:flex}.fee-bill-table-wrapper{overflow-x:auto}.fee-bill-table{border-collapse:separate;border-spacing:0;table-layout:auto;width:100%;font-size:14px}.fee-bill-table thead th{color:var(--fc-primary-dark);text-align:left;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;background:#eef2ff;border-bottom:2px solid #c7d2fe;padding:13px 16px;font-size:12px;font-weight:700}.fee-bill-table tbody td{white-space:nowrap;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:11px 16px}.fee-bill-table tbody tr:nth-child(2n){background:#f8fafc}.fee-bill-table tbody tr:hover{background:#f1f5ff}.fee-bill-table .col-sno{text-align:center;width:1%;color:var(--fc-muted);font-weight:600}.fee-bill-table .col-num{text-align:right}.fee-name{font-weight:600}.fee-tag{color:#0369a1;background:#e0f2fe;border-radius:999px;margin-left:8px;padding:2px 9px;font-size:11px;font-weight:700}.muted{color:#94a3b8}.fee-bill-table select,.fee-bill-table input{border:1px solid var(--fc-border);height:36px;color:var(--fc-text);box-sizing:border-box;background:#fff;border-radius:8px;outline:none;padding:0 10px;font-size:14px;transition:all .2s}.fee-bill-table select{cursor:pointer;min-width:160px}.fee-bill-table input{text-align:right;width:130px}.fee-bill-table select:focus,.fee-bill-table input:focus{border-color:var(--fc-primary);box-shadow:0 0 0 3px #4f46e526}.fee-bill-table input.is-readonly{color:var(--fc-muted);background:#f1f5f9;font-weight:600}.fee-bill-total-section{justify-content:flex-end;padding:16px 22px 6px;display:flex}.total-received{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:1px solid #a7f3d0;border-radius:12px;align-items:center;gap:16px;padding:12px 20px;display:inline-flex}.total-received span{color:#047857;font-size:13px;font-weight:600}.total-received strong{color:#065f46;font-size:20px;font-weight:800}.fee-bill-footer{justify-content:flex-end;padding:12px 22px 22px;display:flex}.fee-save-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#059669,#10b981);border:none;border-radius:10px;align-items:center;gap:8px;height:44px;padding:0 26px;font-size:15px;font-weight:700;transition:all .2s;display:inline-flex;box-shadow:0 4px 12px #05966959}.fee-save-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #05966973}.fee-save-btn:disabled{opacity:.6;cursor:not-allowed}.fees-empty-state{text-align:center;color:var(--fc-muted);background:#fff;border:2px dashed #cbd5e1;border-radius:14px;padding:60px 20px}.fees-empty-state svg{color:#a5b4fc}.fees-empty-state h3{color:var(--fc-text);margin:12px 0 6px}.fees-empty-state p{margin:0;font-size:14px}.payment-popup-overlay,.student-list-popup-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.payment-popup{color:#1e293b;background:#fff;border-radius:16px;width:100%;max-width:520px;max-height:92vh;font-family:Inter,Segoe UI,system-ui,sans-serif;overflow-y:auto;box-shadow:0 20px 50px #0f172a59}.payment-popup-header{color:#fff;background:linear-gradient(135deg,#4338ca,#0284c7);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;padding:16px 22px;display:flex}.payment-popup-header h3{margin:0;font-size:17px}.payment-popup-header button{color:#fff;cursor:pointer;background:#fff3;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.payment-popup-header button:hover{background:#ffffff59}.payment-totals{grid-template-columns:1fr 1fr;gap:12px;padding:18px 22px 6px;display:grid}.payment-total{background:#eef2ff;border:1px solid #c7d2fe;border-radius:12px;padding:12px 14px}.payment-total span{letter-spacing:.4px;text-transform:uppercase;color:#64748b;font-size:11px;font-weight:600;display:block}.payment-total strong{color:#3730a3;margin-top:4px;font-size:19px;display:block}.payment-total.is-match{background:#ecfdf5;border-color:#a7f3d0}.payment-total.is-match strong{color:#047857}.payment-total.is-mismatch{background:#fffbeb;border-color:#fde68a}.payment-total.is-mismatch strong{color:#b45309}.payment-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:12px 22px 0;padding:10px 14px;font-size:13px}.payment-note{color:#64748b;padding:18px 22px}.payment-mode-table{border:1px solid #e2e8f0;border-radius:12px;margin:16px 22px 0;overflow:hidden}.payment-mode-row{border-bottom:1px solid #eef2f7;grid-template-columns:1fr 170px;align-items:center;gap:12px;padding:10px 14px;display:grid}.payment-mode-row:last-child{border-bottom:none}.payment-mode-heading{letter-spacing:.4px;text-transform:uppercase;color:#64748b;background:#f1f5f9;font-size:12px;font-weight:700}.payment-mode-name{font-weight:600}.payment-mode-row input{text-align:right;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:8px;outline:none;width:100%;height:38px;padding:0 10px;font-size:14px}.payment-mode-row input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e526}.payment-popup-footer{justify-content:flex-end;gap:12px;padding:18px 22px 22px;display:flex}.payment-popup-footer button{cursor:pointer;border-radius:10px;height:42px;padding:0 22px;font-size:14px;font-weight:700;transition:all .2s}.btn-confirm{color:#fff;background:linear-gradient(135deg,#059669,#10b981);border:none;box-shadow:0 4px 12px #05966959}.payment-popup-footer button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.student-list-popup-overlay{justify-content:stretch;align-items:stretch;padding:0}.student-list-popup-content{width:100vw;height:100dvh;max-height:none;box-shadow:none;background:#f1f5f9;border-radius:0;flex-direction:column;display:flex;overflow:hidden}.student-list-popup-header{color:#fff;background:linear-gradient(135deg,#4338ca,#0284c7);flex-shrink:0;justify-content:space-between;align-items:center;padding:0 2px;display:flex}.student-list-popup-header h3{margin:0;font-size:17px}.student-list-popup-header button{color:#fff;cursor:pointer;background:#ffffff26;border:1px solid #ffffff80;border-radius:8px;align-items:center;gap:6px;padding:7px 14px;font-size:13px;font-weight:600;display:inline-flex}.student-list-popup-header button:hover{background:#ffffff4d}.student-list-popup-body{flex:1;min-height:0;overflow:auto}.student-list-popup-body .sl-page{min-height:0;padding:16px}.student-list-popup-body .sl-table-wrap{max-height:calc(100dvh - 300px);overflow:auto}.student-list-popup-body .sl-table{width:max-content;min-width:100%}@media (width<=700px){.fees-collect-page{padding:12px}.payment-totals{grid-template-columns:1fr}.payment-mode-row{grid-template-columns:1fr 130px}.fee-bill-total-section,.fee-bill-footer{justify-content:stretch}.total-received,.fee-save-btn{justify-content:space-between;width:100%}}.fees-history-page{--fh-primary:#4f46e5;--fh-primary-dark:#3730a3;--fh-accent:#06b6d4;--fh-green:#059669;--fh-green-bg:#d1fae5;--fh-orange:#d97706;--fh-orange-bg:#fef3c7;--fh-red:#dc2626;--fh-red-bg:#fee2e2;--fh-ink:#0f172a;--fh-muted:#64748b;--fh-line:#e2e8f0;--fh-surface:#fff;--fh-bg:#f1f5f9;--fh-radius:14px;--fh-shadow:0 1px 2px #0f172a0d, 0 6px 20px #4f46e514;background:linear-gradient(180deg, #eef2ff 0%, var(--fh-bg) 220px);min-height:100%;color:var(--fh-ink);box-sizing:border-box;flex-direction:column;gap:18px;padding:20px;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;display:flex}.fees-history-page *,.fees-history-page :before,.fees-history-page :after{box-sizing:border-box}.fees-history-page h3,.fees-history-page h4,.fees-history-page p{margin:0}.fh-card{background:var(--fh-surface);border:1px solid var(--fh-line);border-radius:var(--fh-radius);box-shadow:var(--fh-shadow);padding:18px 20px}.fh-section-heading{color:var(--fh-primary-dark);align-items:center;gap:10px;margin-bottom:14px;display:flex}.fh-section-heading h4{font-size:16px;font-weight:700}.fh-section-heading small{color:var(--fh-muted);font-weight:500;display:block}.fh-section-heading svg{width:32px;height:32px;color:var(--fh-primary);background:#e0e7ff;border-radius:9px;padding:6px}.fh-title-row{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.fh-title{align-items:center;gap:10px;display:flex}.fh-title svg{color:#fff;background:linear-gradient(135deg, var(--fh-primary), var(--fh-accent));border-radius:11px;width:38px;height:38px;padding:8px;box-shadow:0 4px 12px #4f46e559}.fh-title h3{letter-spacing:-.01em;font-size:20px;font-weight:800}.fh-close-btn{border:1px solid var(--fh-line);color:var(--fh-muted);cursor:pointer;background:#fff;border-radius:10px;align-items:center;gap:6px;padding:8px 14px;font-weight:600;transition:all .15s;display:inline-flex}.fh-close-btn:hover{background:var(--fh-red-bg);color:var(--fh-red);border-color:#fecaca}.fh-search-form{gap:10px;display:flex}.fh-search-input{flex:1;align-items:center;display:flex;position:relative}.fh-search-input svg{color:var(--fh-muted);pointer-events:none;position:absolute;left:14px}.fh-search-input input{border:1.5px solid var(--fh-line);width:100%;height:46px;color:var(--fh-ink);background:#f8fafc;border-radius:12px;outline:none;padding:0 14px 0 42px;font-size:15px;transition:all .15s}.fh-search-input input:focus{border-color:var(--fh-primary);background:#fff;box-shadow:0 0 0 4px #4f46e524}.fh-search-btn{background:linear-gradient(135deg, var(--fh-primary), #7c3aed);color:#fff;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-width:120px;height:46px;padding:0 22px;font-size:15px;font-weight:700;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 6px 16px #4f46e559}.fh-search-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #4f46e56b}.fh-search-btn:disabled{opacity:.7;cursor:not-allowed}.fh-error{border:1px solid #fecaca;border-left:4px solid var(--fh-red);background:var(--fh-red-bg);color:#991b1b;border-radius:10px;align-items:center;gap:10px;margin-top:14px;padding:12px 14px;font-weight:600;display:flex}.fh-student{position:relative;overflow:hidden}.fh-student:before{content:"";background:linear-gradient(90deg, var(--fh-primary), var(--fh-accent), #10b981);height:5px;position:absolute;inset:0 0 auto}.fh-student-left{align-items:center;gap:14px;margin-bottom:16px;display:flex}.fh-avatar{background:linear-gradient(135deg, #f472b6, var(--fh-primary));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;font-size:20px;font-weight:800;display:flex;box-shadow:0 6px 16px #7c3aed59}.fh-student-left h3{font-size:19px;font-weight:800}.fh-student-left small{color:var(--fh-muted);font-weight:600}.fh-student-info{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.fh-student-info>div{border:1px solid var(--fh-line);background:linear-gradient(#fafaff,#f8fafc);border-radius:12px;padding:12px 14px}.fh-student-info span{color:var(--fh-muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:4px;font-size:12px;font-weight:600;display:block}.fh-student-info strong{font-size:15px;font-weight:700}.fh-summary{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;display:grid}.fh-summary-item{color:#fff;background:linear-gradient(135deg,#6366f1,#4338ca);border-radius:14px;flex-direction:column;gap:6px;padding:16px 18px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 20px #4338ca47}.fh-summary-item:after{content:"";background:#ffffff24;border-radius:50%;width:90px;height:90px;position:absolute;top:-24px;right:-24px}.fh-summary-item:nth-child(2),.fh-summary-item.is-paid{background:linear-gradient(135deg,#10b981,#047857);box-shadow:0 8px 20px #04785747}.fh-summary-item:nth-child(3){background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 8px 20px #d9770647}.fh-summary-item.is-due{background:linear-gradient(135deg,#f43f5e,#be123c);box-shadow:0 8px 20px #be123c47}.fh-summary-item svg{opacity:.9}.fh-summary-item span{opacity:.92;font-size:13px;font-weight:600}.fh-summary-item strong{letter-spacing:-.01em;font-size:24px;font-weight:800}.fh-voucher-card{border-left:5px solid var(--fh-primary);position:relative;overflow:hidden}.fh-voucher-card:nth-of-type(3n+1){border-left-color:#10b981}.fh-voucher-card:nth-of-type(3n+2){border-left-color:#f59e0b}.fh-fee-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.fh-fee-header .fh-section-heading{margin-bottom:0}.fh-fee-header h4{color:var(--fh-ink);font-size:17px;font-weight:800}.fh-fee-header small{color:var(--fh-muted)}.fh-voucher-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.fh-date-chip{color:#0369a1;background:#e0f2fe;border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:700;display:inline-flex}.fh-pay-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:999px;align-items:center;gap:8px;padding:8px 16px;font-size:13px;font-weight:700;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 4px 12px #05966952}.fh-pay-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px #05966966}.fh-pay-strip{color:#065f46;background:#ecfdf5;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding:10px 14px;font-size:13px;display:flex}.fh-table-wrapper{border:1px solid var(--fh-line);border-radius:12px;overflow-x:auto}.fh-table{border-collapse:collapse;width:100%;font-size:14px}.fh-table thead th{color:#fff;letter-spacing:.05em;text-align:left;text-transform:uppercase;white-space:nowrap;background:linear-gradient(135deg,#4f46e5,#6d28d9);padding:12px 14px;font-size:12px;font-weight:700}.fh-table tbody td{border-bottom:1px solid var(--fh-line);vertical-align:middle;padding:12px 14px}.fh-table tbody tr:nth-child(2n){background:#f8faff}.fh-table tbody tr:hover{background:#eef2ff}.fh-table tfoot td{color:var(--fh-primary-dark);background:#eef2ff;border-top:2px solid #c7d2fe;padding:13px 14px;font-weight:800}.col-sno{width:52px;color:var(--fh-muted);text-align:center!important}.col-num{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right!important}.is-paid{color:var(--fh-green)}.fh-badge{border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;display:inline-block}.fh-badge.is-paid{background:var(--fh-green-bg);color:#065f46}.fh-badge.is-partial{background:var(--fh-orange-bg);color:#92400e}.fh-badge.is-due{background:var(--fh-red-bg);color:#991b1b}.fh-mode-chip{color:#5b21b6;background:#ede9fe;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:700;display:inline-block}.fh-no-data{color:var(--fh-muted);background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:18px;font-weight:600;display:flex}.fh-empty-state{color:var(--fh-primary);text-align:center;background:#ffffffb3;border:2px dashed #c7d2fe;border-radius:18px;flex-direction:column;align-items:center;gap:10px;padding:56px 20px;display:flex}.fh-empty-state h3{color:var(--fh-ink);font-size:18px;font-weight:800}.fh-empty-state p{color:var(--fh-muted)}.fh-spin{animation:.9s linear infinite fh-spin}@keyframes fh-spin{to{transform:rotate(360deg)}}.fh-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a8c;justify-content:center;align-items:center;padding:20px;animation:.18s fh-fade;display:flex;position:fixed;inset:0}.fh-modal{background:#fff;border-radius:18px;flex-direction:column;width:100%;max-width:620px;max-height:90vh;animation:.22s cubic-bezier(.2,.9,.3,1.2) fh-pop;display:flex;overflow:hidden;box-shadow:0 30px 70px #0f172a66}.fh-modal-head{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed 60%,#06b6d4);justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;display:flex}.fh-modal-title{align-items:center;gap:12px;display:flex}.fh-modal-icon{background:#fff3;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.fh-modal-title h4{font-size:18px;font-weight:800}.fh-modal-title small{opacity:.9;font-weight:600}.fh-modal-close{color:#fff;cursor:pointer;background:#ffffff2e;border:none;border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;transition:background .15s;display:flex}.fh-modal-close:hover{background:#ffffff57}.fh-modal-body{padding:20px 22px;overflow-y:auto}.fh-modal-foot{color:#065f46;background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-top:1px solid #a7f3d0;justify-content:space-between;align-items:center;padding:16px 22px;font-weight:700;display:flex}.fh-modal-foot strong{font-size:22px;font-weight:800}@keyframes fh-fade{0%{opacity:0}to{opacity:1}}@keyframes fh-pop{0%{opacity:0;transform:translateY(14px)scale(.96)}to{opacity:1;transform:none}}.fh-popup-overlay{z-index:900;background:#0f172a99;justify-content:center;align-items:center;padding:20px;animation:.18s fh-fade;display:flex;position:fixed;inset:0}.fh-popup-content{background:#f1f5f9;border-radius:18px;width:100%;max-width:1100px;max-height:92vh;animation:.22s cubic-bezier(.2,.9,.3,1.2) fh-pop;overflow:auto;box-shadow:0 30px 70px #0f172a73}@media (width<=640px){.fh-popup-overlay{align-items:flex-end;padding:0}.fh-popup-content{border-radius:18px 18px 0 0;max-height:94vh}.fees-history-page{padding:12px}.fh-search-form{flex-direction:column}.fh-search-btn{width:100%}.fh-fee-header{flex-direction:column;align-items:flex-start}.fh-summary-item strong{font-size:21px}.fh-modal-overlay{align-items:flex-end;padding:0}.fh-modal{border-radius:18px 18px 0 0;max-width:none}}.rc-overlay{z-index:1000;background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.rc-overlay-inner{z-index:1100}.rc-modal{background:#fff;border-radius:12px;width:100%;max-width:980px;max-height:90vh;padding:18px 20px;overflow:auto;box-shadow:0 20px 50px #00000040}.rc-modal-edit{max-width:760px}.rc-modal-confirm{max-width:440px}.rc-modal-confirm p{color:#475569;line-height:1.5}.rc-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.rc-header h3{align-items:center;gap:8px;margin:0;font-size:1.1rem;display:flex}.rc-header small{color:#64748b;margin-left:8px;font-weight:400}.rc-icon-btn{cursor:pointer;color:#475569;background:0 0;border:0}.rc-filter{gap:8px;margin-bottom:12px;display:flex}.rc-filter input{border:1px solid #cbd5e1;border-radius:8px;flex:1;padding:8px 10px}.rc-table-wrap{overflow-x:auto}.rc-table{border-collapse:collapse;width:100%;font-size:.9rem}.rc-table th,.rc-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:8px 10px}.rc-table th{white-space:nowrap;background:#f8fafc;font-weight:600}.rc-table input{border:1px solid #cbd5e1;border-radius:6px;width:100%;padding:6px 8px}.rc-num{white-space:nowrap;text-align:right!important}.rc-table input[type=number]{text-align:right;min-width:100px}.rc-empty{color:#64748b;text-align:center!important;padding:24px!important}.rc-actions{white-space:nowrap;gap:6px;display:flex}.rc-actions-col{width:1%}.rc-chip{color:#1d4ed8;background:#eff6ff;border-radius:999px;margin:0 4px 4px 0;padding:2px 8px;font-size:.78rem;display:inline-block}.rc-btn{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:5px;padding:6px 10px;font-size:.85rem;display:inline-flex}.rc-btn:disabled{opacity:.55;cursor:not-allowed}.rc-btn-primary{color:#fff;background:#2563eb;border-color:#2563eb}.rc-btn-edit{color:#b45309;background:#fffbeb;border-color:#fcd34d}.rc-btn-danger{color:#b91c1c;background:#fef2f2;border-color:#fca5a5}.rc-btn-danger-solid{color:#fff;background:#dc2626;border-color:#dc2626}.rc-alert{border-radius:8px;align-items:center;gap:8px;margin:8px 0;padding:8px 12px;font-size:.88rem;display:flex}.rc-alert-error{color:#b91c1c;background:#fef2f2}.rc-alert-ok{color:#15803d;background:#f0fdf4}.rc-section-title{margin:14px 0 6px;font-weight:600}.rc-hint{color:#64748b;margin:6px 0 0;font-size:.8rem}.rc-pay-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;display:grid}.rc-pay-row{flex-direction:column;gap:4px;font-size:.85rem;display:flex}.rc-pay-row input{text-align:right;border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px}.rc-totals{gap:12px;margin:14px 0;display:flex}.rc-totals>div{background:#f8fafc;border-radius:8px;flex-direction:column;flex:1;padding:8px 12px;display:flex}.rc-totals span{color:#64748b;font-size:.78rem}.rc-totals .rc-match{color:#15803d;background:#f0fdf4}.rc-totals .rc-mismatch{color:#b91c1c;background:#fef2f2}.rc-footer{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.tc-page{color:#1f2937;box-sizing:border-box;background:#f5f7fb;min-height:100vh;padding:24px}.tc-container{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:100%;max-width:1000px;margin:0 auto;padding:24px;box-shadow:0 5px 20px #0f172a0f}.tc-container h2{margin:0 0 24px;font-size:24px;font-weight:700}.tc-field{flex-direction:column;gap:8px;margin-bottom:18px;display:flex}.tc-field label{color:#374151;font-size:14px;font-weight:600}.tc-field input,.tc-search-form input,.tc-amount-input input{color:#111827;width:100%;min-width:0;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;padding:11px 12px}.tc-field input:focus,.tc-search-form input:focus,.tc-amount-input input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.tc-search-form{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:24px;display:flex}.tc-search-form .tc-field{flex:1;min-width:180px;margin-bottom:0}.tc-container button,.tc-modal button,.tc-payment-modal button,.tc-student-page button{color:#fff;min-height:42px;font:inherit;cursor:pointer;background:#2563eb;border:1px solid #0000;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:600}.tc-container button:hover,.tc-modal button:hover,.tc-payment-modal button:hover{background:#1d4ed8}.tc-container button:disabled,.tc-modal button:disabled,.tc-payment-modal button:disabled{opacity:.55;cursor:not-allowed}.tc-container .tc-secondary-button,.tc-modal .tc-secondary-button,.tc-payment-modal .tc-secondary-button{color:#374151;background:#fff;border-color:#d1d5db}.tc-container .tc-secondary-button:hover,.tc-modal .tc-secondary-button:hover,.tc-payment-modal .tc-secondary-button:hover{background:#f3f4f6}.tc-student-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-top:20px;padding:22px}.tc-student-card h3{margin:0 0 18px;font-size:19px}.tc-student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin-bottom:22px;display:grid}.tc-student-grid p{overflow-wrap:anywhere;margin:0;padding:10px 0}.tc-alert{overflow-wrap:anywhere;border-radius:8px;margin-bottom:18px;padding:12px 14px;font-size:14px;line-height:1.5}.tc-alert-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.tc-alert-success{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.tc-modal-overlay{z-index:9999;box-sizing:border-box;background:#0f172a99;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0;overflow-y:auto}.tc-modal{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:100%;max-width:560px;max-height:calc(100vh - 36px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #00000040}.tc-student-modal{max-width:900px}.tc-modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px;display:flex}.tc-modal-header h3{margin:0;font-size:21px;font-weight:700}.tc-modal-subtitle{color:#6b7280;margin:6px 0 0;font-size:13px}.tc-modal .tc-close-button{color:#374151;background:#fff;border:1px solid #e5e7eb;border-radius:8px;flex:0 0 36px;justify-content:center;align-items:center;width:36px;min-height:36px;padding:0;font-size:25px;line-height:1;display:inline-flex}.tc-student-page-overlay{z-index:10000;box-sizing:border-box;background:#f3f6fb;width:100%;height:100dvh;position:fixed;inset:0;overflow-y:auto}.tc-student-page{box-sizing:border-box;background:#fff;width:100%;min-height:100dvh;padding:24px 32px}.tc-student-page-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;width:100%;max-width:1400px;margin:0 auto 24px;padding-bottom:18px;display:flex}.tc-student-page-header h2{color:#111827;margin:0;font-size:24px;font-weight:700}.tc-student-page-close{flex-shrink:0;color:#374151!important;background:#fff!important;border:1px solid #d1d5db!important}.tc-student-page-close:hover{background:#f3f4f6!important}.tc-student-page-content{box-sizing:border-box;width:100%;max-width:1400px;margin:0 auto}.tc-student-page-content>*{box-sizing:border-box;width:100%;max-width:100%}.tc-payment-modal-overlay{z-index:10001;box-sizing:border-box;background:#f3f6fb;width:100%;height:100dvh;position:fixed;inset:0;overflow-y:auto}.tc-payment-modal{width:100%;max-width:none;min-height:100dvh;max-height:none;box-shadow:none;box-sizing:border-box;background:#f3f6fb;border:none;border-radius:0;margin:0;padding:30px;overflow:visible}.tc-payment-modal .tc-modal-header,.tc-payment-modal .tc-payment-summary,.tc-payment-modal .tc-payment-modes,.tc-payment-modal .tc-payment-total,.tc-payment-modal .tc-total-status,.tc-payment-modal .tc-modal-actions{box-sizing:border-box;width:100%;max-width:900px;margin-left:auto;margin-right:auto}.tc-payment-modal .tc-modal-header{border-bottom:1px solid #dfe5ef;margin-bottom:28px;padding-bottom:18px}.tc-payment-modal .tc-payment-summary{color:#1e40af;background:#fff;border:1px solid #dbeafe;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px;padding:22px;display:flex}.tc-payment-summary strong{white-space:nowrap;font-size:22px;font-weight:750}.tc-payment-modal .tc-payment-modes{background:#fff;border:1px solid #e1e7f0;border-radius:12px;padding:24px}.tc-payment-modes h4{margin:0 0 14px;font-size:16px}.tc-payment-row{border-bottom:1px solid #f0f1f4;grid-template-columns:minmax(0,1fr) minmax(140px,200px);align-items:center;gap:16px;padding:12px 0;display:grid}.tc-payment-modal .tc-payment-row{grid-template-columns:minmax(0,1fr) minmax(180px,260px);padding:18px 0}.tc-payment-row label{overflow-wrap:anywhere;font-size:14px;font-weight:600}.tc-amount-input{position:relative}.tc-amount-input>span{color:#6b7280;pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.tc-amount-input input{text-align:right;padding-left:30px}.tc-payment-modal .tc-payment-total{background:#fff;border:1px solid #e1e7f0;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;padding:20px;display:flex}.tc-payment-total strong{white-space:nowrap;font-size:18px}.tc-payment-modal .tc-total-status{border-radius:8px;margin-top:14px;padding:10px 12px;font-size:13px;font-weight:600}.tc-total-matched{color:#166534;background:#f0fdf4}.tc-total-unmatched{color:#9a3412;background:#fff7ed}.tc-loading-text{color:#6b7280;text-align:center;padding:16px 0}.tc-payment-modal .tc-modal-actions{justify-content:flex-end;gap:12px;margin-top:28px;display:flex}@media (width<=640px){.tc-page{padding:12px}.tc-container{padding:16px}.tc-container h2{font-size:21px}.tc-search-form{flex-direction:column;align-items:stretch}.tc-search-form .tc-field,.tc-search-form button{width:100%}.tc-student-grid{grid-template-columns:1fr}.tc-modal-overlay{align-items:flex-start;padding:10px}.tc-modal{max-height:calc(100vh - 20px);margin:auto 0;padding:18px}.tc-modal-header h3{font-size:18px}.tc-student-page{padding:16px 12px}.tc-student-page-header h2{font-size:20px}.tc-student-page-header{align-items:flex-start}.tc-student-page-close{padding:9px 12px}.tc-payment-modal{padding:18px 14px}.tc-payment-modal .tc-payment-modes{padding:16px}.tc-payment-modal .tc-payment-row{grid-template-columns:1fr;gap:10px}.tc-amount-input{width:100%}.tc-payment-modal .tc-modal-actions{flex-direction:column-reverse}.tc-payment-modal .tc-modal-actions button{width:100%}.tc-payment-summary strong{font-size:19px}}.sie{color:#1f2937;max-width:960px;margin:0 auto;padding:16px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.sie *{box-sizing:border-box}.sie h2{margin:0 0 2px;font-size:22px}.sie-sub{color:#6b7280;margin:0 0 14px}.sie-h3{margin:26px 0 8px;font-size:17px}.sie-muted{color:#6b7280;font-size:13px}.sie-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:12px;padding:14px}.sie-card.nopad{padding:0}.sie-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:12px;display:grid}.sie-grid .wide{grid-column:1/-1}.sie label{color:#4b5563;flex-direction:column;gap:4px;font-size:13px;display:flex}.sie input{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;width:100%;padding:8px 10px;font-size:14px}.sie input:focus{border-color:#2563eb;outline:2px solid #2563eb33}.sie input:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.sie-student-empty{color:#6b7280;border:1px dashed #cbd5e1;border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:14px;display:flex}.sie-student-card{background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 12px;display:flex}.sie-avatar{color:#fff;background:#2563eb;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.sie-student-info{flex-direction:column;flex:1;min-width:150px;display:flex}.sie-student-info small{color:#6b7280}.sie-add{flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0;display:flex}.sie-chip{color:#2563eb;cursor:pointer;background:#fff;border:1px solid #2563eb;border-radius:999px;padding:6px 14px;font-size:14px}.sie-chip:disabled{opacity:.4;cursor:not-allowed}.sie-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.sie-head h3{margin:0;font-size:16px}.sie-head small{color:#6b7280;font-weight:400}.sie-link{color:#2563eb;cursor:pointer;background:0 0;border:none;align-items:center;gap:3px;padding:2px 6px;font-size:13px;display:inline-flex}.sie-link.red{color:#dc2626}.sie-sizetbl td{padding:4px 8px}.sie-sizetbl input.cell{text-align:center;width:90px;padding:6px 8px}.sie-sizetbl input.cell.over{background:#fef2f2;border-color:#dc2626}.sie-foot{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:12px;margin-top:12px;display:flex}.sie-tot{text-align:right;font-size:14px}.sie-bar{background:#f3f4f6;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.sie-actions{gap:8px;display:flex}.sie-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:6px;align-items:center;gap:6px;padding:9px 18px;font-size:14px;display:inline-flex}.sie-btn.ghost{color:#374151;background:#fff;border:1px solid #d1d5db}.sie-btn:disabled{opacity:.6;cursor:not-allowed}.sie-filters{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:10px;display:flex}.sie-filters .grow{flex:1;min-width:180px}.sie-ok{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:8px;margin-bottom:12px;padding:10px 12px}.sie-err{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:12px;padding:6px 12px}.sie-err ul{margin:4px 0;padding-left:18px}.sie-empty{color:#6b7280;text-align:center;border:1px dashed #d1d5db;border-radius:8px;margin-bottom:12px;padding:12px}.sie-scroll{overflow-x:auto}.sie table{border-collapse:collapse;width:100%;font-size:14px}.sie th,.sie td{text-align:center;white-space:nowrap;border:1px solid #e5e7eb;padding:7px 10px}.sie td.left{text-align:left;white-space:normal}.sie td.lbl{text-align:left;background:#f9fafb;font-weight:600}.sie th{background:#f9fafb}.sie tr.bal td{font-weight:700}.sie td.zero{color:#dc2626}.sie-none{color:#6b7280;padding:18px!important}.sie-detail td{white-space:normal;background:#f9fafb}.sie-detail table{background:#fff;margin-top:6px}.sie-remarks{text-align:left;color:#4b5563;margin:0 0 6px;font-size:13px}.sie-pop-overlay{z-index:1000;background:#1118278c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.sie-pop{background:#fff;border-radius:14px;flex-direction:column;width:100%;max-width:960px;max-height:88vh;display:flex;overflow:hidden;box-shadow:0 20px 45px #00000040}.sie-pop.small{max-width:540px}.sie-pop-head{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:14px 18px;display:flex}.sie-pop-head h3{margin:0;font-size:18px}.sie-pop-head button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:7px 16px;font-size:13px;font-weight:600}.sie-pop-head button:disabled{opacity:.6;cursor:not-allowed}.sie-pop-body{flex:1;min-height:0;overflow:auto}.sie-pop-body.pad{padding:16px 18px}.sie-pay-total{background:#f3f6fb;border-radius:8px;justify-content:space-between;gap:12px;margin-bottom:8px;padding:10px 12px;font-size:14px;display:flex}.sie-pay-err{color:#b42318;background:#fef2f2;border-radius:7px;margin:10px 0;padding:10px 12px;font-size:14px}.sie-pay-row{border-bottom:1px solid #edf0f5;grid-template-columns:1fr minmax(120px,160px);align-items:center;gap:12px;padding:10px 0;display:grid}.sie-pay-row.head{color:#475569;border-bottom:1px solid #e2e8f0;font-size:13px;font-weight:700}.sie-pay-row label{color:#1f2937;font-size:14px}.sie-pay-diff{justify-content:space-between;gap:10px;margin-top:12px;font-size:13px;display:flex}.sie-pay-diff.ok{color:#15803d}.sie-pay-diff.bad{color:#b42318}.sie-pay-foot{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.report-collection{box-sizing:border-box;color:#1f2937;background:#f8fafc;width:100%;max-width:1600px;min-height:100%;margin:0 auto;padding:24px;font-family:Arial,Helvetica,sans-serif}.report-collection *{box-sizing:border-box}.report-header{border-bottom:2px solid #e2e8f0;justify-content:space-between;align-items:center;margin-bottom:22px;padding-bottom:14px;display:flex}.report-header h1{color:#1e3a5f;margin:0;font-size:25px;font-weight:700}.report-filters{background:#fff;border:1px solid #e2e8f0;border-radius:12px;grid-template-columns:repeat(3,minmax(160px,1fr));align-items:end;gap:18px;margin-bottom:24px;padding:22px;display:grid;box-shadow:0 3px 12px #0f172a0d}.report-filters label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600;display:block}.report-filters input,.report-filters select{color:#1f2937;background-color:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;min-width:0;height:42px;padding:0 12px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s;display:block}.report-topbar{background:#f5f6f8;border-radius:6px;flex-wrap:wrap;gap:8px;margin-bottom:15px;padding:10px;display:flex}.report-topbar button{color:#333;cursor:pointer;background:#fff;border:1px solid #ccc;border-radius:5px;padding:9px 20px;font-size:14px;font-weight:600;transition:all .2s}.report-topbar button:hover{background:#e8f0fe;border-color:#4285f4}.report-topbar button.active{color:#fff;background:#2563eb;border-color:#2563eb}.report-header{margin-bottom:15px}.report-header h1{margin:0;font-size:22px}.report-filters input:focus,.report-filters select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.report-filters input:disabled,.report-filters select:disabled{cursor:not-allowed;color:#64748b;background:#f1f5f9}.report-filters button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;width:100%;height:42px;padding:0 22px;font-size:14px;font-weight:700;transition:background .2s,transform .15s}.report-filters button:hover:not(:disabled){background:#1d4ed8}.report-filters button:active:not(:disabled){transform:translateY(1px)}.report-filters button:disabled{opacity:.6;cursor:not-allowed}.report-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:12px;width:100%;margin-top:20px;padding:20px;overflow-x:auto;box-shadow:0 3px 12px #0f172a0d}.report-table-wrapper h3{color:#1e3a5f;margin:0 0 16px;font-size:19px}.report-table{border-collapse:collapse;background:#fff;width:100%;min-width:900px;font-size:13px}.report-table th,.report-table td{text-align:left;white-space:nowrap;border:1px solid #e2e8f0;padding:11px 12px}.report-table thead th{color:#fff;z-index:1;background:#1e3a5f;font-weight:700;position:sticky;top:0}.report-table tbody tr:nth-child(2n){background:#f8fafc}.report-table tbody tr:hover{background:#eff6ff}.report-table td{color:#374151}.report-table td:nth-child(8){text-align:right;font-variant-numeric:tabular-nums;font-weight:600}.report-empty{text-align:center;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:10px;margin-top:20px;padding:24px;font-size:14px}.report-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:16px 0;padding:12px 16px;font-size:14px}@media (width<=900px){.report-collection{padding:16px}.report-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.report-header h1{font-size:22px}.report-table-wrapper{padding:14px}}@media (width<=560px){.report-collection{padding:10px}.report-header{margin-bottom:16px}.report-header h1{font-size:20px}.report-filters{border-radius:9px;grid-template-columns:minmax(0,1fr);gap:13px;padding:14px}.report-filters input,.report-filters select,.report-filters button{height:44px}.report-table-wrapper{padding:10px}.report-table-wrapper h3{font-size:17px}.report-table th,.report-table td{padding:9px 10px;font-size:12px}}@media print{@page{size:A4 landscape;margin:10mm}body{background:#fff!important}.report-collection{color:#000;width:100%;max-width:none;margin:0;padding:0;background:#fff!important}.report-header{border-bottom:1px solid #000;margin-bottom:12px}.report-header h1{color:#000;font-size:18px}.report-filters,.report-empty,.report-error{display:none!important}.report-table-wrapper{box-shadow:none;border:none;margin:0;padding:0;overflow:visible}.report-table-wrapper h3{color:#000;font-size:15px}.report-table{border-collapse:collapse;width:100%;min-width:0;font-size:9px}.report-table th,.report-table td{color:#000;white-space:normal;border:1px solid #777;padding:5px}.report-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;position:static;color:#000!important;background:#e5e7eb!important}.report-table tbody tr{break-inside:avoid}}.fees-due-page{color:#102d59;box-sizing:border-box;background:#f0f6fd;min-height:100vh;padding:18px;font-family:Inter,Segoe UI,Arial,sans-serif}.fees-due-page *{box-sizing:border-box}.fees-due-heading{background:#fff;border:1px solid #dce8f8;border-radius:9px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px;padding:20px;display:flex}.fees-due-title{align-items:center;gap:15px;display:flex}.fees-due-title-icon{color:#fff;background:linear-gradient(135deg,#1677ff,#2452e8);border-radius:10px;place-items:center;width:56px;height:56px;font-size:31px;font-weight:700;display:grid}.fees-due-title h1{color:#102e60;margin:0 0 5px;font-size:27px;font-weight:750}.fees-due-title p{color:#607da9;margin:0;font-size:15px}.fees-due-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.btn{cursor:pointer;border:0;border-radius:7px;min-height:42px;padding:10px 16px;font-size:13px;font-weight:650;transition:background .2s,transform .2s}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn span{margin-right:5px;font-size:17px}.btn-export{color:#fff;background:#079653}.btn-export:hover{background:#087c46}.btn-print{color:#fff;background:#1769ef}.btn-print:hover{background:#1055c8}.btn-refresh{color:#fff;background:#536d91}.btn-refresh:hover{background:#405777}.fees-due-filters{background:#fff;border:1px solid #dce8f8;border-radius:9px;grid-template-columns:1fr 1fr 1fr 1.15fr auto;align-items:end;gap:15px;margin-bottom:18px;padding:19px;display:grid}.filter-field{flex-direction:column;gap:8px;min-width:0;display:flex}.filter-field label{color:#163969;font-size:13px;font-weight:700}.filter-field input,.filter-field select{color:#173765;background:#fff;border:1px solid #cbdcf2;border-radius:6px;outline:none;width:100%;min-width:0;height:42px;padding:0 12px;font-family:inherit;font-size:13px}.filter-field input:focus,.filter-field select:focus{border-color:#2875f0;box-shadow:0 0 0 3px #2875f01a}.filter-field input::placeholder{color:#8a9db8}.btn-clear{color:#285c9d;white-space:nowrap;background:#eaf2ff;border:1px solid #cbdcf7;height:42px}.btn-clear:hover{background:#dceaff}.fees-due-tabs{gap:0;margin:0 0 5px 9px;display:flex}.fees-due-tabs button{color:#21436f;cursor:pointer;background:#f0f5fc;border:1px solid #d3e1f5;min-width:155px;padding:12px 20px;font-size:13px;font-weight:700}.fees-due-tabs button:first-child{border-radius:7px 0 0 7px}.fees-due-tabs button:last-child{border-radius:0 7px 7px 0}.fees-due-tabs button.active{color:#fff;background:#2161ed;border-color:#2161ed}.fees-due-summary{background:#fff;border:1px solid #dce8f8;border-radius:9px 9px 0 0;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:16px;display:grid}.summary-card{border:1px solid;border-radius:8px;align-items:center;gap:12px;min-width:0;min-height:102px;padding:15px;display:flex}.summary-icon{color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:45px;height:45px;font-size:24px;font-weight:700;display:grid}.summary-card p{margin:0 0 8px;font-size:12px;line-height:1.4}.summary-card h2{overflow-wrap:anywhere;margin:0;font-size:clamp(15px,1.25vw,21px);font-weight:750}.summary-students{color:#0754ad;background:#e7f1ff;border-color:#b6d4ff}.summary-students .summary-icon{background:#3087f4}.summary-monthly{color:#086a55;background:#e3f8ef;border-color:#9fe8cb}.summary-monthly .summary-icon{background:#19b584}.summary-annual{color:#995300;background:#fff2dd;border-color:#ffdaa0}.summary-annual .summary-icon{background:#ffad36}.summary-other{color:#4423bd;background:#eeeaff;border-color:#c8baff}.summary-other .summary-icon{background:#7650fa}.summary-total{color:#bd1f32;background:#ffebee;border-color:#ffb6c0}.summary-total .summary-icon{background:#f34d64}.fees-due-table-card{background:#fff;border:1px solid #dce8f8;border-top:0;border-radius:0 0 9px 9px;padding:0 16px 15px}.fees-due-table-wrap{border:1px solid #dce8f8;border-radius:7px;width:100%;overflow-x:auto}.fees-due-table{border-collapse:collapse;width:100%;min-width:760px;font-size:13px}.fees-due-table th,.fees-due-table td{text-align:center;white-space:nowrap;border-bottom:1px solid #e0eafa;border-right:1px solid #e0eafa;padding:14px 12px}.fees-due-table th:last-child,.fees-due-table td:last-child{border-right:0}.fees-due-table thead th{color:#133a73;background:#edf4fc;font-weight:750}.fees-due-table tbody td{color:#193b6b;background:#fff}.fees-due-table tbody tr:nth-child(2n) td{background:#f8fbff}.fees-due-table tbody tr:hover td{background:#edf5ff}.fees-due-table tbody td:nth-child(2){text-align:left}.fees-due-table .amount-total{color:#164b99;font-weight:700}.fees-due-table tfoot td{color:#06459b;background:#eaf2ff;border-bottom:0;padding:15px 12px;font-weight:800}.fees-due-table tfoot td:first-child{text-align:left}.table-message{color:#71839d!important;text-align:center!important;padding:30px!important}.fees-due-error{color:#a61b2b;background:#fff0f1;border:1px solid #ffc6cc;border-radius:6px;margin:12px 0;padding:12px 15px;font-size:13px}.fees-due-footer{color:#71839d;padding-top:14px;font-size:12px}@media (width<=1200px){.fees-due-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.btn-clear{width:fit-content}.fees-due-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){.fees-due-page{padding:10px}.fees-due-heading{align-items:flex-start;padding:14px}.fees-due-title{align-items:flex-start;gap:10px}.fees-due-title-icon{width:44px;height:44px;font-size:24px}.fees-due-title h1{font-size:21px}.fees-due-title p{font-size:12px}.fees-due-actions{width:100%}.fees-due-actions .btn{flex:1;padding:9px 8px;font-size:11px}.fees-due-filters{grid-template-columns:1fr;padding:14px}.fees-due-tabs{margin-left:0}.fees-due-tabs button{flex:1;min-width:0;padding:11px 8px}.fees-due-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px}.summary-card{gap:8px;min-height:86px;padding:10px}.summary-icon{width:34px;height:34px;font-size:18px}.summary-card p{font-size:11px}.summary-card h2{font-size:14px}.fees-due-table-card{padding:0 10px 12px}.fees-due-table th,.fees-due-table td{padding:11px 10px}}@media print{@page{size:landscape;margin:10mm}body{background:#fff!important}.fees-due-page{background:#fff;padding:0}.fees-due-actions,.fees-due-filters,.fees-due-tabs{display:none!important}.fees-due-heading,.fees-due-summary,.fees-due-table-card{box-shadow:none;border-color:#ccc}.fees-due-summary{grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 0}.summary-card{min-height:75px;padding:8px}.fees-due-table-wrap{overflow:visible}.fees-due-table{min-width:0;font-size:10px}.fees-due-table th,.fees-due-table td{padding:8px 5px}.fees-due-table thead{display:table-header-group}.fees-due-table tr{break-inside:avoid}.fees-due-footer{display:none}}.due-page{color:#202b3c;box-sizing:border-box;background:#f4f6fa;min-height:100vh;padding:24px;font-family:Arial,Helvetica,sans-serif}.due-page *,.due-page :before,.due-page :after{box-sizing:border-box}.due-container{width:100%;max-width:1800px;margin:0 auto}.due-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.due-header h1{letter-spacing:-.5px;margin:0 0 8px;font-size:27px;font-weight:700}.due-header p,.due-table-heading p{color:#748094;margin:0;font-size:14px}.due-export-btn,.due-primary-btn,.due-reset-btn{cursor:pointer;border-radius:7px;min-height:40px;padding:10px 16px;font-size:13px;font-weight:600;transition:background .2s}.due-export-btn{color:#fff;background:#16744a;border:1px solid #16744a}.due-export-btn:hover:not(:disabled){background:#105c3a}.due-export-btn:disabled,.due-primary-btn:disabled{opacity:.55;cursor:not-allowed}.due-filter-panel,.due-table-panel{background:#fff;border:1px solid #e6eaf0;border-radius:11px;box-shadow:0 3px 12px #19284609}.due-filter-panel{margin-bottom:22px;padding:22px}.due-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.due-field{flex-direction:column;gap:8px;min-width:0;display:flex}.due-field label{color:#465368;font-size:13px;font-weight:600}.due-field input,.due-field select{color:#293448;background:#fff;border:1px solid #dce2eb;border-radius:7px;outline:none;width:100%;min-width:0;height:43px;padding:0 12px;font-size:13px}.due-field input:focus,.due-field select:focus{border-color:#4976dc;box-shadow:0 0 0 3px #4976dc1a}.due-filter-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px;display:flex}.due-primary-btn{color:#fff;background:#315fce;border:1px solid #315fce}.due-primary-btn:hover:not(:disabled){background:#254eae}.due-reset-btn{color:#465368;background:#fff;border:1px solid #dce2eb}.due-reset-btn:hover{background:#f4f6fa}.due-filter-count{color:#748094;margin-left:auto;font-size:13px}.due-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.due-summary-card{background:#fff;border:1px solid #e6eaf0;border-radius:10px;min-width:0;padding:20px;box-shadow:0 3px 12px #19284606}.due-summary-label{color:#748094;margin-bottom:13px;font-size:12px;font-weight:600;display:block}.due-summary-card strong{overflow-wrap:anywhere;color:#263348;font-size:clamp(17px,1.4vw,23px);font-weight:700;display:block}.due-summary-card small{color:#8993a4;margin-top:10px;font-size:11px;display:block}.monthly-card{border-top:3px solid #4776d0}.annual-card{border-top:3px solid #8b63cc}.other-card{border-top:3px solid #d49a32}.total-card{border-top:3px solid #df6262}.due-table-panel{overflow:hidden}.due-table-heading{border-bottom:1px solid #edf0f5;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;display:flex}.due-table-heading h2{margin:0 0 7px;font-size:18px}.due-loading{color:#315fce;font-size:13px}.due-table-scroll{width:100%;overflow-x:auto}.due-table{border-collapse:collapse;text-align:left;width:100%;min-width:1150px}.due-table th{color:#566277;text-transform:uppercase;letter-spacing:.3px;white-space:nowrap;background:#f8f9fc;border-bottom:1px solid #e6eaf0;padding:14px 13px;font-size:11px;font-weight:700}.due-table td{color:#465368;white-space:nowrap;border-bottom:1px solid #edf0f5;padding:14px 13px;font-size:12px}.due-table tbody tr:hover{background:#f7f9fd}.due-table tbody tr:last-child td{border-bottom:1px solid #e6eaf0}.due-table .due-student-name{color:#263348;font-weight:600}.due-table .amount-cell{text-align:right;font-variant-numeric:tabular-nums}.due-table .due-total-cell{color:#b42332;font-weight:700}.due-table tfoot td{color:#263348;background:#f8f9fc;border-top:1px solid #dce2eb;border-bottom:0;padding:16px 13px;font-weight:700}.due-empty{text-align:center;vertical-align:middle;height:110px;color:#8993a4!important;white-space:normal!important}.due-error{color:#a32d38;background:#fff5f5;border:1px solid #f0caca;border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px;padding:14px 16px;font-size:13px;display:flex}.due-error button{cursor:pointer;background:#fff;border:1px solid #e8b4b4;border-radius:5px;margin-left:auto;padding:6px 10px}.due-footer{color:#8993a4;padding:18px 2px;font-size:12px}@media (width<=1200px){.due-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.due-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.due-page{padding:14px}.due-header{align-items:flex-start}.due-header h1{font-size:22px}.due-filter-panel{padding:15px}.due-filter-grid{grid-template-columns:1fr;gap:14px}.due-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.due-summary-card{padding:14px}.due-summary-card strong{font-size:17px}.due-filter-count{width:100%;margin-left:0}.due-table-heading{padding:16px}}@media print{.due-page{background:#fff;padding:0}.due-filter-panel,.due-export-btn,.due-footer{display:none}.due-summary-grid{grid-template-columns:repeat(3,1fr)}.due-table-panel,.due-table-scroll{overflow:visible}.due-table{min-width:0}.due-table th,.due-table td{padding:6px;font-size:9px}}.item-stock-page{box-sizing:border-box;color:#1e293b;background:#f8fafc;width:100%;min-height:100vh;padding:20px}.stock-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.stock-page-header h4{color:#1e293b;margin:0;font-size:21px;font-weight:700}.stock-page-header small{color:#64748b;font-size:13px}.stock-export-btn{white-space:nowrap;border-radius:6px;min-height:40px;padding:8px 18px;font-size:14px;font-weight:600}.stock-export-btn:hover{background:#157347}.stock-export-btn:disabled{opacity:.5;cursor:not-allowed}.stock-filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:9px;width:100%;box-shadow:0 2px 8px #0f172a0a}.stock-filter-card .card-body{padding:14px}.stock-filter-row{flex-flow:row;align-items:flex-end;gap:12px;width:100%;display:flex}.stock-filter-date{flex:0 0 25%;min-width:0}.stock-filter-item{flex:auto;min-width:0}.stock-filter-action{flex:0 0 110px;min-width:0}.stock-filter-card .form-label{color:#475569;white-space:nowrap;margin-bottom:6px;font-size:13px;font-weight:600;display:block}.stock-filter-card .form-control,.stock-filter-card .form-select{color:#1e293b;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:6px;width:100%;min-width:0;height:40px;font-size:13px}.stock-refresh-btn{white-space:nowrap;border-radius:6px;width:100%;height:40px;padding:5px;font-size:13px;font-weight:600}@media (width<=767px){.stock-filter-card .card-body{padding:9px 6px}.stock-filter-row{gap:6px}.stock-filter-date{flex:0 0 32%}.stock-filter-action{flex:0 0 75px}.stock-filter-card .form-label{font-size:11px}.stock-filter-card .form-control,.stock-filter-card .form-select,.stock-refresh-btn{height:36px;font-size:11px}.stock-filter-card .form-select{padding-left:5px;padding-right:17px}}@media (width<=380px){.stock-filter-row{gap:4px}.stock-filter-date{flex:0 0 34%}.stock-filter-action{flex:0 0 42px}.stock-refresh-btn span{display:none}.stock-filter-card .form-label,.stock-filter-card .form-control,.stock-filter-card .form-select{font-size:10px}}.stock-summary-row{flex-wrap:nowrap;gap:0;display:flex}.stock-summary-row>div{flex:1 1 0;min-width:0}.stock-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:9px;height:100%;min-height:90px;padding:15px 18px;box-shadow:0 2px 8px #0f172a0a}.stock-summary-card span{color:#64748b;white-space:nowrap;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.stock-summary-card strong{color:#1e293b;font-size:23px;font-weight:700;display:block}.received-card{border-left:4px solid #2563eb}.issued-card{border-left:4px solid #ea580c}.balance-card{border-left:4px solid #16a34a}.stock-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:9px;overflow:hidden;box-shadow:0 2px 8px #0f172a0a}.stock-table-card .card-header{background:#fff;border-bottom:1px solid #e2e8f0;min-height:52px;padding:14px 18px}.stock-table-card .card-header strong{color:#1e293b;font-size:16px}.stock-table-wrapper{width:100%;overflow-x:auto}.stock-table{border-collapse:collapse;width:100%;min-width:650px;margin-bottom:0}.stock-table thead th{color:#475569;white-space:nowrap;vertical-align:middle;background:#f1f5f9;padding:12px 14px;font-size:13px;font-weight:700}.stock-table tbody td{color:#334155;vertical-align:middle;padding:11px 14px;font-size:14px}.stock-table tbody tr:hover{background:#f8fafc}.stock-balance{font-weight:700;color:#15803d!important}.stock-balance.negative{color:#dc2626!important}.stock-total-row td{color:#1e293b;background:#f1f5f9;border-top:2px solid #cbd5e1;padding:13px 14px;font-size:14px;font-weight:700}.stock-error{border-radius:7px;padding:12px 15px;font-size:13px}@media (width<=991px){.item-stock-page{padding:14px}.stock-summary-card{padding:13px}.stock-summary-card strong{font-size:20px}}@media (width<=767px){.item-stock-page{padding:10px}.stock-filter-card .card-body{padding:8px 5px}.stock-filter-card .row{align-items:end;margin-left:-4px;margin-right:-4px;display:flex;flex-wrap:nowrap!important}.stock-filter-card .row>div{min-width:0;padding-left:4px;padding-right:4px}.stock-filter-card .form-label{margin-bottom:5px;font-size:11px}.stock-filter-card .form-control,.stock-filter-card .form-select{height:36px;font-size:11px}.stock-filter-card .form-select{padding-left:5px;padding-right:18px}.stock-refresh-btn{height:36px;padding:4px;font-size:11px}.stock-summary-row{flex-wrap:nowrap;margin-left:-4px;margin-right:-4px;display:flex}.stock-summary-row>div{flex:1 1 0;width:33.333%;padding-left:4px;padding-right:4px}.stock-summary-card{min-height:75px;padding:10px 6px}.stock-summary-card span{white-space:normal;margin-bottom:6px;font-size:10px}.stock-summary-card strong{overflow-wrap:anywhere;font-size:17px}.stock-page-header h4{font-size:18px}.stock-export-btn{min-height:36px;font-size:12px}.stock-table-card .card-header{padding:12px}.stock-table thead th,.stock-table tbody td{padding:9px;font-size:12px}}@media (width<=380px){.stock-filter-card .form-label,.stock-filter-card .form-control,.stock-filter-card .form-select{font-size:10px}.stock-filter-card .refresh-text{display:none}.stock-summary-card{padding:8px 4px}.stock-summary-card span{font-size:9px}.stock-summary-card strong{font-size:15px}}.settings-page{box-sizing:border-box;color:#1e293b;background:#f6f8fc;width:100%;min-height:100vh;padding:18px 22px}.settings-header{border-bottom:1px solid #e5eaf1;align-items:center;gap:15px;width:100%;padding:4px 2px;display:flex}.settings-header-icon{color:#4f46e5;background:#eef2ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:50px;height:50px;display:flex}.settings-header h1{color:#111827;margin:0;font-size:25px;font-weight:700;line-height:1.2}.settings-header p{color:#64748b;margin:6px 0 0;font-size:13px;font-weight:400}.settings-layout{grid-template-columns:270px minmax(0,1fr);align-items:stretch;gap:22px;width:100%;margin-top:24px;display:grid}.settings-sidebar{box-sizing:border-box;background:#fff;border:1px solid #e3e8ef;border-radius:14px;width:100%;min-height:calc(100vh - 165px);padding:14px;overflow:hidden;box-shadow:0 2px 6px #0f172a08}.settings-sidebar-title{letter-spacing:.12em;color:#94a3b8;padding:9px 11px 13px;font-size:10px;font-weight:700}.settings-menu-item{box-sizing:border-box;color:#475569;background:0 0;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:58px;margin-bottom:5px;padding:10px 11px;text-decoration:none;transition:background .18s,color .18s,box-shadow .18s,transform .18s;display:flex;position:relative}.settings-menu-item:hover{color:#1e293b;background:#f8fafc}.settings-menu-item.active{color:#4338ca;background:#eef2ff;box-shadow:inset 0 0 0 1px #e0e7ff}.settings-menu-item.active:before{content:"";background:#4f46e5;border-radius:0 4px 4px 0;width:3px;position:absolute;top:10px;bottom:10px;left:0}.settings-menu-item>svg:first-child{color:#64748b;flex-shrink:0;transition:color .18s}.settings-menu-item:hover>svg:first-child{color:#475569}.settings-menu-item.active>svg:first-child{color:#4f46e5}.settings-menu-item span{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;font-weight:600;line-height:1.3;overflow:hidden}.menu-arrow{color:#cbd5e1;flex-shrink:0;transition:color .18s,transform .18s}.settings-menu-item:hover .menu-arrow{color:#64748b;transform:translate(2px)}.settings-menu-item.active .menu-arrow{color:#6366f1;transform:translate(2px)}.settings-content{box-sizing:border-box;background:#fff;border:1px solid #e3e8ef;border-radius:14px;width:100%;min-width:0;min-height:calc(100vh - 165px);padding:24px;overflow:hidden;box-shadow:0 2px 6px #0f172a08}.settings-content>*{box-sizing:border-box;width:100%}.settings-content h1,.settings-content h2,.settings-content h3{color:#111827}.settings-content button{font-family:inherit}.settings-sidebar::-webkit-scrollbar{width:6px}.settings-content::-webkit-scrollbar{width:6px}.settings-sidebar::-webkit-scrollbar-track{background:0 0}.settings-content::-webkit-scrollbar-track{background:0 0}.settings-sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.settings-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.settings-sidebar::-webkit-scrollbar-thumb:hover{background:#94a3b8}.settings-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (width<=1100px){.settings-page{padding:22px}.settings-layout{grid-template-columns:235px minmax(0,1fr);gap:18px}.settings-content{padding:20px}}@media (width<=768px){.settings-page{padding:16px}.settings-header{padding-bottom:18px}.settings-header-icon{width:44px;height:44px}.settings-header h1{font-size:21px}.settings-header p{font-size:12px}.settings-layout{flex-direction:column;gap:14px;margin-top:16px;display:flex}.settings-sidebar{min-height:auto;padding:10px}.settings-sidebar-title{padding:7px 8px 10px}.settings-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.settings-menu-item{min-height:52px;margin-bottom:0}.settings-menu-item span{font-size:12px}.settings-content{min-height:auto;padding:17px}}@media (width<=480px){.settings-page{padding:12px}.settings-header{gap:11px}.settings-header-icon{width:40px;height:40px}.settings-header h1{font-size:19px}.settings-header p{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.settings-menu{grid-template-columns:1fr}.settings-menu-item{min-height:54px}.settings-content{padding:14px}}.fee-structure-page{box-sizing:border-box;background:#f7f9fc;width:100%;min-height:100%;padding:24px}.fee-page-header{background:#fff;border:1px solid #e5e7eb;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:22px 24px;display:flex;box-shadow:0 2px 8px #0f172a0a}.fee-page-header h1{color:#172033;margin:0;font-size:25px;font-weight:700;line-height:1.3}.fee-page-header p{color:#6b7280;margin:6px 0 0;font-size:14px;line-height:1.5}.fee-header-icon{color:#2563eb;background:#eff6ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:54px;height:54px;display:flex}.fee-class-section{background:#fff;border:1px solid #e5e7eb;border-radius:14px;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px;padding:20px 24px;display:flex;box-shadow:0 2px 8px #0f172a0a}.form-group{flex-direction:column;gap:7px;width:320px;display:flex}.form-group label{color:#374151;font-size:13px;font-weight:600}.form-group select{color:#1f2937;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px;transition:all .2s}.form-group select:hover{border-color:#9ca3af}.form-group select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-group select:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.refresh-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:105px;height:42px;padding:0 16px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.refresh-button:hover{color:#2563eb;background:#eff6ff;border-color:#93c5fd}.refresh-button:active{transform:translateY(1px)}.refresh-button:disabled{opacity:.6;cursor:not-allowed}.fee-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:100%;overflow-x:auto;box-shadow:0 2px 8px #0f172a0a}.fee-table{border-collapse:collapse;border-spacing:0;width:100%;min-width:760px}.fee-table thead{background:#f8fafc}.fee-table th{text-align:left;white-space:nowrap;color:#475569;border-bottom:1px solid #e5e7eb;height:50px;padding:0 16px;font-size:13px;font-weight:700}.fee-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #eef0f3;padding:14px 16px;font-size:14px}.fee-table tbody tr{transition:background .15s}.fee-table tbody tr:hover{background:#f8fafc}.fee-table tbody tr:last-child td{border-bottom:none}.fee-table th:first-child,.fee-table td:first-child{text-align:center;width:60px}.fee-table th:nth-child(2),.fee-table td:nth-child(2){min-width:220px}.fee-table th:nth-child(3),.fee-table td:nth-child(3){width:130px}.fee-table th:nth-child(4),.fee-table td:nth-child(4),.fee-table th:nth-child(5),.fee-table td:nth-child(5){width:190px}.fee-type{color:#1f2937;font-size:14px;font-weight:600;display:inline-block}.fee-mode{color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:20px;align-items:center;padding:5px 11px;font-size:12px;font-weight:600;display:inline-flex}.fee-mode-monthly{color:#2563eb;background:#eff6ff}.fee-mode-quarterly{color:#7c3aed;background:#f5f3ff}.fee-mode-annually{color:#059669;background:#ecfdf5}.fee-mode-optional{color:#ea580c;background:#fff7ed}.currency-input{width:170px;position:relative}.currency-input span{color:#6b7280;pointer-events:none;font-size:14px;font-weight:500;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.currency-input input{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;height:40px;padding:0 10px 0 28px;font-size:14px;transition:all .2s}.currency-input input:hover{border-color:#9ca3af}.currency-input input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb17}.currency-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.currency-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.currency-input input[type=number]{appearance:textfield}.fee-table tfoot{background:#f8fafc}.fee-table tfoot td{color:#172033;border-top:1px solid #dbe1e8;border-bottom:none;padding:16px;font-size:14px;font-weight:700}.total-label{text-align:right!important}.total-amount{white-space:nowrap;font-size:15px!important}.fee-loading{color:#64748b;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:260px;display:flex}.fee-loading p{margin:12px 0 0;font-size:14px}.loading-icon{color:#2563eb;animation:1s linear infinite fee-loading-spin}@keyframes fee-loading-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fee-empty-state{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;min-height:260px;padding:40px 20px;display:flex;box-shadow:0 2px 8px #0f172a0a}.fee-table-wrapper .fee-empty-state{min-height:260px;box-shadow:none;border:none;border-radius:0}.fee-empty-state svg{color:#94a3b8;margin-bottom:14px}.fee-empty-state h3{color:#374151;margin:0 0 7px;font-size:17px;font-weight:700}.fee-empty-state p{color:#6b7280;max-width:420px;margin:0;font-size:14px;line-height:1.6}.fee-page-footer{justify-content:flex-end;align-items:center;margin-top:20px;padding:18px 0;display:flex}.save-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:180px;height:44px;padding:0 20px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.save-button:hover{background:#1d4ed8;box-shadow:0 4px 12px #2563eb33}.save-button:active{transform:translateY(1px)}.save-button:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}@media (width<=768px){.fee-structure-page{padding:16px}.fee-page-header{padding:18px}.fee-page-header h1{font-size:22px}.fee-class-section{flex-direction:column;align-items:stretch;padding:18px}.form-group,.refresh-button{width:100%}.fee-page-footer{padding:16px 0}.save-button{width:100%}}@media (width<=480px){.fee-structure-page{padding:12px}.fee-page-header{border-radius:10px;padding:16px}.fee-page-header h1{font-size:20px}.fee-page-header p{font-size:13px}.fee-header-icon{width:46px;height:46px}.fee-class-section{border-radius:10px;padding:15px}.fee-table-wrapper{border-radius:10px}.fee-table th,.fee-table td{padding:12px}.currency-input{width:150px}.fee-empty-state{padding:30px 15px}}.salary-structure-page{box-sizing:border-box;background:#f8fafc;width:100%;min-height:100%;padding:24px}.salary-structure-header{align-items:center;gap:14px;margin-bottom:24px;display:flex}.salary-structure-header-icon{color:#059669;background:#ecfdf5;border-radius:10px;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.salary-structure-header h2{color:#1e293b;margin:0;font-size:22px;font-weight:700}.salary-structure-header p{color:#64748b;margin:4px 0 0;font-size:13px}.salary-structure-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0f172a0d}.salary-teacher-section{background:#fff;border-bottom:1px solid #e2e8f0;padding:20px}.salary-section-title{color:#334155;margin:0 0 12px;font-size:14px;font-weight:700}.salary-teacher-select{max-width:450px}.salary-teacher-select label{color:#64748b;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.salary-teacher-select select{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.salary-teacher-select select:focus{border-color:#059669;box-shadow:0 0 0 3px #0596691a}.salary-body{padding:20px}.salary-section{margin-bottom:24px}.salary-section:last-child{margin-bottom:0}.salary-section-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.salary-section-header h3{color:#334155;margin:0;font-size:15px;font-weight:700}.salary-section-header span{color:#94a3b8;font-size:12px}.salary-form-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.salary-form-group{flex-direction:column;gap:6px;display:flex}.salary-form-group label{color:#64748b;font-size:12px;font-weight:600}.salary-form-group input,.salary-form-group select{box-sizing:border-box;color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;height:40px;padding:0 11px;font-size:13px}.salary-form-group input:focus,.salary-form-group select:focus{border-color:#059669;box-shadow:0 0 0 3px #0596691a}.salary-summary{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:24px;padding:20px}.salary-summary h3{color:#334155;margin:0 0 16px;font-size:15px}.salary-summary-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.salary-summary-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px}.salary-summary-label{color:#64748b;text-transform:uppercase;letter-spacing:.3px;margin-bottom:6px;font-size:11px;font-weight:600;display:block}.salary-summary-value{color:#1e293b;font-size:18px;font-weight:700}.salary-summary-item.gross .salary-summary-value{color:#2563eb}.salary-summary-item.deduction .salary-summary-value{color:#dc2626}.salary-summary-item.net{background:#ecfdf5;border-color:#a7f3d0}.salary-summary-item.net .salary-summary-value{color:#059669}.salary-actions{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:10px;padding:18px 20px;display:flex}.salary-btn{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:40px;padding:0 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.salary-btn-primary{color:#fff;background:#059669}.salary-btn-primary:hover{background:#047857}.salary-btn-secondary{color:#334155;background:#f1f5f9}.salary-btn-secondary:hover{background:#e2e8f0}.salary-btn:disabled{opacity:.6;cursor:not-allowed}.salary-empty-state{text-align:center;color:#64748b;padding:60px 20px}.salary-empty-state-icon{color:#94a3b8;background:#f1f5f9;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin:0 auto 14px;display:flex}.salary-empty-state h3{color:#334155;margin:0 0 6px;font-size:16px}.salary-empty-state p{margin:0;font-size:13px}.salary-loading{text-align:center;color:#64748b;padding:50px 20px;font-size:14px}@media (width<=1100px){.salary-form-grid,.salary-summary-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=650px){.salary-structure-page{padding:14px}.salary-form-grid,.salary-summary-grid{grid-template-columns:1fr}.salary-actions{flex-direction:column}.salary-btn{width:100%}}.late-fee-page{box-sizing:border-box;background:#f7f8fa;width:100%;min-height:100%;padding:24px}.late-fee-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.late-fee-header-left{align-items:center;gap:14px;display:flex}.late-fee-header-icon{color:#ea580c;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.late-fee-header h1{color:#1f2937;margin:0;font-size:24px;font-weight:700;line-height:1.3}.late-fee-header p{color:#6b7280;margin:5px 0 0;font-size:14px}.late-fee-refresh-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 15px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.late-fee-refresh-btn:hover{background:#f9fafb;border-color:#9ca3af}.late-fee-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.late-fee-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:100%;max-width:1100px;margin:0 auto;overflow:hidden;box-shadow:0 2px 8px #0f172a0d}.late-fee-section{border-bottom:1px solid #e5e7eb;padding:24px}.late-fee-section-header{justify-content:space-between;align-items:center;gap:20px;display:flex}.late-fee-section-header h2,.late-fee-section-title h2{color:#1f2937;margin:0;font-size:17px;font-weight:700}.late-fee-section-header p{color:#6b7280;margin:6px 0 0;font-size:13px}.late-fee-section-title{color:#374151;align-items:center;gap:9px;margin-bottom:22px;display:flex}.late-fee-switch{flex-shrink:0;width:50px;height:28px;display:inline-block;position:relative}.late-fee-switch input{opacity:0;width:0;height:0}.late-fee-slider{cursor:pointer;background:#d1d5db;border-radius:30px;transition:all .25s;position:absolute;inset:0}.late-fee-slider:before{content:"";background:#fff;border-radius:50%;width:22px;height:22px;transition:all .25s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0003}.late-fee-switch input:checked+.late-fee-slider{background:#16a34a}.late-fee-switch input:checked+.late-fee-slider:before{transform:translate(22px)}.late-fee-status{border-radius:8px;align-items:center;gap:9px;margin-top:18px;padding:11px 14px;font-size:13px;font-weight:600;display:flex}.late-fee-status.active{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0}.late-fee-status.inactive{color:#991b1b;background:#fef2f2;border:1px solid #fecaca}.late-fee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;display:grid}.late-fee-form-group{flex-direction:column;display:flex}.late-fee-form-group label{color:#374151;margin-bottom:8px;font-size:13px;font-weight:600}.late-fee-form-group label span{color:#dc2626;margin-left:3px}.late-fee-form-group input,.late-fee-form-group select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px;transition:border-color .2s,box-shadow .2s}.late-fee-form-group input:focus,.late-fee-form-group select:focus{border-color:#ea580c;box-shadow:0 0 0 3px #ea580c1a}.late-fee-form-group input:disabled,.late-fee-form-group select:disabled{color:#9ca3af;cursor:not-allowed;background:#f3f4f6}.late-fee-form-group small{color:#6b7280;margin-top:7px;font-size:11px;line-height:1.5}.late-fee-input-with-icon{align-items:center;display:flex;position:relative}.late-fee-input-with-icon svg{color:#6b7280;pointer-events:none;position:absolute;left:12px}.late-fee-input-with-icon input{padding-left:36px}.late-fee-percent{color:#6b7280;pointer-events:none;font-size:14px;font-weight:600;position:absolute;left:13px}.late-fee-input-with-icon input:has(+*){padding-left:36px}.late-fee-input-with-text{align-items:stretch;display:flex}.late-fee-input-with-text input{border-right:none;border-radius:8px 0 0 8px}.late-fee-input-with-text span{box-sizing:border-box;color:#6b7280;background:#f9fafb;border:1px solid #d1d5db;border-radius:0 8px 8px 0;justify-content:center;align-items:center;min-width:62px;height:42px;padding:0 10px;font-size:13px;display:flex}.late-fee-example{background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;margin:24px;padding:16px 18px}.late-fee-example-title{color:#c2410c;align-items:center;gap:8px;margin-bottom:7px;display:flex}.late-fee-example p{color:#7c2d12;margin:0;font-size:13px;line-height:1.6}.late-fee-footer{box-sizing:border-box;background:#fafafa;border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:15px;min-height:68px;padding:14px 24px;display:flex}.late-fee-footer-info{color:#6b7280;align-items:center;gap:4px;font-size:12px;display:flex}.late-fee-required{color:#dc2626}.late-fee-save-btn{color:#fff;cursor:pointer;background:#ea580c;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:42px;padding:0 18px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.late-fee-save-btn:hover{background:#c2410c}.late-fee-save-btn:disabled{opacity:.65;cursor:not-allowed}.late-fee-loading{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:400px;font-size:14px;display:flex}.late-fee-loading-icon{color:#ea580c;animation:1s linear infinite lateFeeSpin}.late-fee-spin{animation:1s linear infinite lateFeeSpin}@keyframes lateFeeSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=900px){.late-fee-page{padding:18px}.late-fee-form-grid{grid-template-columns:1fr}.late-fee-card{max-width:100%}}@media (width<=650px){.late-fee-page{padding:12px}.late-fee-header{flex-direction:column;align-items:flex-start}.late-fee-refresh-btn{width:100%}.late-fee-header h1{font-size:20px}.late-fee-section{padding:18px}.late-fee-section-header{align-items:flex-start}.late-fee-example{margin:18px}.late-fee-footer{flex-direction:column;align-items:stretch;padding:14px 18px}.late-fee-save-btn{width:100%}}.other-charges-page{box-sizing:border-box;background:#f8fafc;width:100%;min-height:100%;padding:24px}.other-charges-header{align-items:center;gap:14px;margin-bottom:24px;display:flex}.other-charges-header-icon{color:#ea580c;background:#fff7ed;border-radius:10px;justify-content:center;align-items:center;width:46px;height:46px;display:flex}.other-charges-header h2{color:#1e293b;margin:0;font-size:22px;font-weight:700}.other-charges-header p{color:#64748b;margin:4px 0 0;font-size:13px}.other-charges-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0f172a0d}.other-charges-toolbar{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:15px;padding:18px 20px;display:flex}.other-charges-toolbar-title{flex-direction:column;gap:4px;display:flex}.other-charges-toolbar-title h3{color:#334155;margin:0;font-size:15px;font-weight:700}.other-charges-toolbar-title span{color:#94a3b8;font-size:12px}.charge-btn{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:38px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex}.charge-btn:disabled{opacity:.6;cursor:not-allowed}.charge-btn-primary{color:#fff;background:#ea580c}.charge-btn-primary:hover{background:#c2410c}.charge-btn-secondary{color:#334155;background:#f1f5f9}.charge-btn-secondary:hover{background:#e2e8f0}.charge-btn-danger{color:#dc2626;background:#fee2e2}.charge-btn-danger:hover{background:#fecaca}.charge-btn-edit{color:#2563eb;background:#eff6ff}.charge-btn-edit:hover{background:#dbeafe}.other-charges-add{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:20px}.other-charges-add-title{color:#334155;margin:0 0 14px;font-size:14px;font-weight:700}.other-charges-form{grid-template-columns:1.5fr 1fr 1fr auto;align-items:end;gap:12px;display:grid}.charge-form-group{flex-direction:column;gap:6px;display:flex}.charge-form-group label{color:#64748b;font-size:12px;font-weight:600}.charge-form-group input,.charge-form-group select{box-sizing:border-box;color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:7px;outline:none;width:100%;height:40px;padding:0 11px;font-size:13px}.charge-form-group input:focus,.charge-form-group select:focus{border-color:#ea580c;box-shadow:0 0 0 3px #ea580c1a}.other-charges-table-wrapper{width:100%;overflow-x:auto}.other-charges-table{border-collapse:collapse;width:100%}.other-charges-table th{color:#475569;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:13px 16px;font-size:12px;font-weight:700}.other-charges-table td{color:#334155;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:12px 16px;font-size:13px}.other-charges-table tbody tr:hover{background:#f8fafc}.other-charges-table input,.other-charges-table select{box-sizing:border-box;color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;min-width:90px;height:36px;padding:0 9px;font-size:13px}.other-charges-table input:focus,.other-charges-table select:focus{border-color:#ea580c;box-shadow:0 0 0 3px #ea580c14}.charge-name{color:#1e293b;font-weight:600}.charge-amount{color:#334155;white-space:nowrap;font-weight:700}.charge-status{border-radius:20px;align-items:center;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.charge-status.active{color:#15803d;background:#dcfce7}.charge-status.inactive{color:#dc2626;background:#fee2e2}.charge-actions{align-items:center;gap:7px;display:flex}.charge-action-btn{cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.charge-action-edit{color:#2563eb;background:#eff6ff}.charge-action-edit:hover{background:#dbeafe}.charge-action-delete{color:#dc2626;background:#fef2f2}.charge-action-delete:hover{background:#fee2e2}.other-charges-summary{border-top:1px solid #e2e8f0;justify-content:flex-end;padding:18px 20px;display:flex}.other-charges-summary-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;min-width:280px;padding:14px 16px}.other-charges-summary-row{color:#64748b;justify-content:space-between;align-items:center;padding:5px 0;font-size:13px;display:flex}.other-charges-summary-row strong{color:#1e293b}.other-charges-total{color:#ea580c;border-top:1px solid #cbd5e1;margin-top:8px;padding-top:10px;font-size:16px;font-weight:700}.other-charges-footer{border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:10px;padding:18px 20px;display:flex}.other-charges-empty{text-align:center;color:#64748b;padding:55px 20px}.other-charges-empty-icon{color:#ea580c;background:#fff7ed;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin:0 auto 14px;display:flex}.other-charges-empty h3{color:#334155;margin:0 0 6px;font-size:16px;font-weight:700}.other-charges-empty p{color:#64748b;margin:0;font-size:13px}.other-charges-loading{text-align:center;color:#64748b;padding:55px 20px;font-size:14px}.other-charges-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;margin:15px 20px;padding:11px 14px;font-size:13px}@media (width<=1000px){.other-charges-form{grid-template-columns:1fr 1fr}.other-charges-form .charge-btn{width:100%}}@media (width<=650px){.other-charges-page{padding:14px}.other-charges-toolbar{flex-direction:column;align-items:stretch}.other-charges-form{grid-template-columns:1fr}.other-charges-footer{flex-direction:column}.other-charges-footer .charge-btn{width:100%}.other-charges-summary{justify-content:stretch}.other-charges-summary-box{box-sizing:border-box;width:100%;min-width:0}}.fees-master-page{box-sizing:border-box;background:#f6f8fb;width:100%;min-height:100%;padding:24px}.fees-master-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.fees-master-header h1{color:#172033;letter-spacing:-.3px;margin:0;font-size:26px;font-weight:700}.fees-master-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.btn-primary{color:#fff;cursor:pointer;background:#2563eb;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:42px;padding:0 17px;font-size:14px;font-weight:600;transition:background .2s,transform .2s,box-shadow .2s;display:inline-flex}.btn-primary:hover{background:#1d4ed8;box-shadow:0 5px 14px #2563eb2e}.btn-primary:active{transform:translateY(1px)}.fees-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;display:flex}.search-box{color:#6b7280;background:#fff;border:1px solid #dfe3ea;border-radius:8px;align-items:center;width:320px;height:42px;padding:0 12px;transition:border-color .2s,box-shadow .2s;display:flex;position:relative}.search-box:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb14}.search-box svg{flex-shrink:0}.search-box input{color:#172033;background:0 0;border:0;outline:none;width:100%;height:100%;padding:0 30px 0 9px;font-size:14px}.search-box input::placeholder{color:#9ca3af}.clear-search{color:#6b7280;cursor:pointer;background:0 0;border:0;border-radius:5px;justify-content:center;align-items:center;width:27px;height:27px;display:flex;position:absolute;right:8px}.clear-search:hover{color:#111827;background:#f1f3f6}.btn-refresh{color:#374151;cursor:pointer;background:#fff;border:1px solid #dfe3ea;border-radius:8px;justify-content:center;align-items:center;gap:7px;height:40px;padding:0 14px;font-size:14px;font-weight:500;transition:all .2s;display:inline-flex}.btn-refresh:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1}.btn-refresh:disabled{opacity:.6;cursor:not-allowed}.spin{animation:.8s linear infinite fees-master-spin}@keyframes fees-master-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fees-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;width:100%;overflow:hidden;box-shadow:0 2px 8px #0f172a0a}.table-wrapper{width:100%;overflow-x:auto}.fees-table{border-collapse:collapse;width:100%;min-width:900px}.fees-table thead{background:#f8fafc}.fees-table th{color:#475569;text-align:left;white-space:nowrap;text-transform:uppercase;letter-spacing:.35px;border-bottom:1px solid #e5e7eb;height:48px;padding:0 16px;font-size:12px;font-weight:700}.fees-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #edf0f3;height:64px;padding:10px 16px;font-size:14px}.fees-table tbody tr{transition:background .15s}.fees-table tbody tr:hover{background:#fafcff}.fees-table tbody tr:last-child td{border-bottom:0}.fee-name{color:#172033;font-size:14px;font-weight:600}.fee-id{color:#9ca3af;margin-top:3px;font-size:11px}.mode-badge{color:#2563eb;background:#eef4ff;border-radius:6px;align-items:center;min-height:27px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.status-active,.status-inactive{border-radius:6px;align-items:center;min-height:26px;padding:0 9px;font-size:12px;font-weight:600;display:inline-flex}.status-active{color:#15803d;background:#ecfdf3}.status-inactive{color:#dc2626;background:#fef2f2}.action-buttons{align-items:center;gap:7px;display:flex}.action-edit,.action-delete{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:inline-flex}.action-edit{color:#2563eb;background:#eff6ff;border-color:#dbeafe}.action-edit:hover{background:#dbeafe;border-color:#bfdbfe}.action-delete{color:#dc2626;background:#fef2f2;border-color:#fee2e2}.action-delete:hover{background:#fee2e2;border-color:#fecaca}.table-loading{color:#64748b;justify-content:center;align-items:center;min-height:220px;font-size:14px;display:flex}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;padding:30px;display:flex}.empty-state h3{color:#172033;margin:0;font-size:17px}.empty-state p{color:#6b7280;margin:7px 0 18px;font-size:14px}.fees-modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a7a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.fees-modal{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:calc(100vh - 40px);animation:.2s ease-out fees-modal-show;overflow-y:auto;box-shadow:0 20px 60px #0f172a33}@keyframes fees-modal-show{0%{opacity:0;transform:translateY(10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.fees-modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:15px;padding:20px 22px;display:flex}.fees-modal-header h2{color:#172033;margin:0;font-size:19px;font-weight:700}.fees-modal-header p{color:#6b7280;margin:5px 0 0;font-size:13px}.modal-close{color:#6b7280;cursor:pointer;background:#f3f4f6;border:0;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:flex}.modal-close:hover{color:#111827;background:#e5e7eb}.fees-form{padding:22px}.form-group{margin-bottom:18px}.form-group label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600;display:block}.form-group label span{color:#dc2626}.form-group input,.form-group select{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #dfe3ea;border-radius:7px;outline:none;width:100%;height:42px;padding:0 12px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-group input::placeholder{color:#9ca3af}.form-group input:focus,.form-group select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb14}.form-group select{cursor:pointer}.form-options{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;flex-wrap:wrap;gap:20px;margin:4px 0 22px;padding:15px;display:flex}.checkbox-label{color:#374151;cursor:pointer;align-items:center;gap:9px;font-size:13px;font-weight:500;display:inline-flex}.checkbox-label input{accent-color:#2563eb;cursor:pointer;width:16px;height:16px;margin:0}.form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;align-items:center;gap:10px;padding-top:18px;display:flex}.btn-cancel,.btn-save{cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:7px;height:40px;padding:0 16px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.btn-cancel{color:#475569;background:#fff;border:1px solid #dfe3ea}.btn-cancel:hover:not(:disabled){background:#f8fafc}.btn-save{color:#fff;background:#2563eb;border:1px solid #2563eb}.btn-save:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.btn-cancel:disabled,.btn-save:disabled{opacity:.6;cursor:not-allowed}.table-wrapper::-webkit-scrollbar{width:7px;height:7px}.fees-modal::-webkit-scrollbar{width:7px;height:7px}.table-wrapper::-webkit-scrollbar-track{background:#f1f5f9}.fees-modal::-webkit-scrollbar-track{background:#f1f5f9}.table-wrapper::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.fees-modal::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.table-wrapper::-webkit-scrollbar-thumb:hover{background:#94a3b8}.fees-modal::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (width<=768px){.fees-master-page{padding:16px}.fees-master-header{flex-direction:column;align-items:flex-start}.fees-master-header h1{font-size:23px}.fees-master-header .btn-primary{width:100%}.fees-toolbar{flex-direction:column;align-items:stretch}.search-box{box-sizing:border-box;width:100%}.btn-refresh{width:100%}.fees-table-card{border-radius:8px}.fees-modal-overlay{align-items:flex-end;padding:0}.fees-modal{border-radius:14px 14px 0 0;max-width:none;max-height:90vh}}@media (width<=480px){.fees-master-page{padding:12px}.fees-master-header{margin-bottom:18px}.fees-master-header h1{font-size:21px}.fees-master-header p{font-size:13px}.fees-modal-header,.fees-form{padding:17px}.form-options{flex-direction:column;gap:13px}.form-actions{flex-direction:column-reverse}.btn-cancel,.btn-save{width:100%}}.db-page{--db-text:#1f2937;--db-muted:#6b7280;--db-border:#e5e7eb;--db-card:#fff;--db-primary:#2563eb;--db-green:#16a34a;--db-amber:#f59e0b;--db-red:#dc2626;--db-purple:#7c3aed;max-width:1280px;color:var(--db-text);margin:0 auto;padding:20px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.db-page *,.db-page :before,.db-page :after{box-sizing:border-box}.db-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;display:flex}.db-header h1{margin:0;font-size:24px;font-weight:700}.db-header p{color:var(--db-muted);margin:4px 0 0;font-size:14px}.db-refresh{color:var(--db-primary);border:1px solid var(--db-primary);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:9px 16px;font-size:14px;font-weight:600;display:inline-flex}.db-refresh:hover:not(:disabled){background:#eff6ff}.db-refresh:disabled{opacity:.6;cursor:wait}.db-refresh .spin{animation:.9s linear infinite db-spin}.db-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;align-items:center;gap:8px;margin-bottom:16px;padding:10px 14px;font-size:14px;display:flex}.db-kpis{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:16px;display:grid}.db-kpi{background:var(--db-card);border:1px solid var(--db-border);border-radius:14px;align-items:center;gap:14px;padding:16px;display:flex;box-shadow:0 1px 3px #0000000a}.db-kpi-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.db-kpi-icon.blue{color:var(--db-primary);background:#dbeafe}.db-kpi-icon.green{color:var(--db-green);background:#dcfce7}.db-kpi-icon.amber{color:#b45309;background:#fef3c7}.db-kpi-icon.purple{color:var(--db-purple);background:#ede9fe}.db-kpi-body{flex-direction:column;min-width:0;display:flex}.db-kpi-label{color:var(--db-muted);font-size:13px}.db-kpi-body strong{margin:2px 0;font-size:24px;line-height:1.15}.db-kpi-change,.db-kpi-hint{color:var(--db-muted);align-items:center;gap:2px;font-size:12px;display:inline-flex}.db-kpi-change.up{color:var(--db-green)}.db-kpi-change.down{color:var(--db-red)}.db-grid{grid-template-columns:repeat(12,1fr);gap:16px;display:grid}.db-col-4{grid-column:span 4}.db-col-6{grid-column:span 6}.db-col-8{grid-column:span 8}.db-card{background:var(--db-card);border:1px solid var(--db-border);border-radius:14px;min-width:0;padding:18px;box-shadow:0 1px 3px #0000000a}.db-card-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px;display:flex}.db-card-head h2{margin:0;font-size:16px;font-weight:700}.db-card-head p{color:var(--db-muted);margin:2px 0 0;font-size:12px}.db-link{color:var(--db-primary);cursor:pointer;background:#eff6ff;border:none;border-radius:999px;flex-shrink:0;padding:5px 12px;font-size:12px;font-weight:600}.db-link:hover{background:#dbeafe}.db-na{color:var(--db-muted);background:#f9fafb;border:1px dashed #d1d5db;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:28px 12px;font-size:14px;display:flex}.db-ok{color:#166534;background:#f0fdf4;border-radius:8px;padding:12px;font-size:14px}.db-sub{letter-spacing:.04em;text-transform:uppercase;color:var(--db-muted);margin:16px 0 8px;font-size:13px;font-weight:700}.db-chart{grid-template-columns:repeat(6,1fr);align-items:end;gap:12px;height:220px;display:grid}.db-chart-col{flex-direction:column;align-items:center;gap:6px;min-width:0;height:100%;display:flex}.db-chart-value{color:var(--db-muted);white-space:nowrap;font-size:11px;font-weight:600}.db-chart-track{background:#f3f4f6;border-radius:8px;flex:1;align-items:flex-end;width:100%;max-width:54px;display:flex;overflow:hidden}.db-chart-bar{background:linear-gradient(#60a5fa,#2563eb);border-radius:8px 8px 0 0;width:100%;transition:height .4s}.db-chart-label{color:var(--db-muted);font-size:12px}.db-split{border-top:1px solid var(--db-border);flex-wrap:wrap;gap:24px;margin-top:16px;padding-top:14px;display:flex}.db-split div{flex-direction:column;gap:2px;display:flex}.db-split span{color:var(--db-muted);font-size:12px}.db-split strong{font-size:18px}.db-split strong.warn{color:var(--db-red)}.db-attendance{flex-direction:column;align-items:center;gap:18px;padding:6px 0;display:flex}.db-donut{background:#e5e7eb;border-radius:50%;justify-content:center;align-items:center;width:160px;height:160px;display:flex}.db-donut-inner{background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:118px;height:118px;display:flex}.db-donut-inner strong{font-size:26px}.db-donut-inner span{color:var(--db-muted);font-size:12px}.db-legend{flex-direction:column;gap:8px;width:100%;margin:0;padding:0;list-style:none;display:flex}.db-legend li{align-items:center;gap:8px;font-size:14px;display:flex}.db-legend b{margin-left:auto}.dot{border-radius:50%;width:10px;height:10px;display:inline-block}.dot.green{background:var(--db-green)}.dot.amber{background:var(--db-amber)}.dot.red{background:#ef4444}.db-mini-stats{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.db-mini-stats>div{color:var(--db-primary);border:1px solid var(--db-border);background:#f8fafc;border-radius:10px;flex-direction:column;gap:2px;padding:12px;display:flex}.db-mini-stats strong{color:var(--db-text);margin-top:4px;font-size:22px}.db-mini-stats span{color:var(--db-muted);font-size:12px}.db-mini-stats>div.alert{color:var(--db-red);background:#fef2f2;border-color:#fecaca}.db-mini-stats>div.alert strong{color:var(--db-red)}.db-low{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.db-low li{grid-template-columns:minmax(130px,200px) 1fr 44px;align-items:center;gap:12px;font-size:14px;display:grid}.db-low-name em{color:var(--db-muted);font-size:12px;font-style:normal}.db-low-track{background:#f3f4f6;border-radius:999px;height:8px;overflow:hidden}.db-low-bar{background:var(--db-amber);border-radius:999px;height:100%}.db-low-bar.zero{background:#ef4444}.db-low b{text-align:right}.db-low b.zero{color:var(--db-red)}.db-actions{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.db-action{color:var(--db-text);border:1px solid var(--db-border);cursor:pointer;background:#f8fafc;border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;font-size:13px;font-weight:600;transition:transform .12s,border-color .12s,background .12s;display:flex}.db-action:hover{background:#eff6ff;border-color:#93c5fd;transform:translateY(-1px)}.db-action-icon{color:#fff;background:var(--db-primary);border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.db-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.db-list li{border-bottom:1px solid var(--db-border);align-items:center;gap:12px;padding:11px 0;display:flex}.db-list li:last-child{border-bottom:none}.db-list-icon{width:36px;height:36px;color:var(--db-primary);background:#eff6ff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.db-list-icon.alt{color:var(--db-purple);background:#f5f3ff}.db-list-body{flex:1;min-width:0}.db-list-body h3{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:600;overflow:hidden}.db-list-body p{color:var(--db-muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:12px;overflow:hidden}.db-list time{color:var(--db-muted);flex-shrink:0;font-size:12px}@media (width<=1100px){.db-kpis{grid-template-columns:repeat(2,1fr)}.db-col-4,.db-col-6,.db-col-8{grid-column:span 12}.db-attendance{flex-flow:wrap;justify-content:center}.db-legend{width:auto;min-width:180px}}@media (width<=640px){.db-page{padding:12px}.db-kpis{grid-template-columns:1fr}.db-header h1{font-size:20px}.db-chart{gap:6px;height:190px}.db-chart-value{font-size:9px}.db-mini-stats{grid-template-columns:repeat(2,1fr)}.db-low li{grid-template-columns:1fr 44px}.db-low-track{display:none}}
