*{box-sizing:border-box;margin:0;padding:0;font-family:Arial,Helvetica,sans-serif}html,body,#root{width:100%;min-height:100%}body{background:var(--background);color:var(--text);transition:background .3s,color .3s}button,input,select{font-family:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}:root{--background:#0b0b0f;--background-secondary:#111116;--background-tertiary:#18181b;--text:#fff;--text-secondary:#a1a1aa;--border:#27272a;--input-background:#27272a;--input-focus:#2f2f34;--hover:#18181b;--purple:#7c3aed;--purple-dark:#5b21b6;--purple-light:#a78bfa;--card:#111116}body.dark-mode{--background:#0b0b0f;--background-secondary:#111116;--background-tertiary:#18181b;--text:#fff;--text-secondary:#a1a1aa;--border:#27272a;--input-background:#27272a;--input-focus:#2f2f34;--hover:#18181b;--card:#111116}body:not(.dark-mode){--background:#f5f5f7;--background-secondary:#fff;--background-tertiary:#eeeef2;--text:#18181b;--text-secondary:#66666f;--border:#dddde3;--input-background:#fff;--input-focus:#f0f0f3;--hover:#eeeef2;--card:#fff}.app-container{background:var(--background);width:100%;min-height:100vh;color:var(--text);transition:background .3s,color .3s}.topbar{background:linear-gradient(to right, var(--background), var(--background-secondary));border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;width:100%;height:86px;padding:0 22px;transition:background .3s,border-color .3s;display:flex}.logo{align-items:center;gap:12px;display:flex}.logo-circle{color:#fff;background:linear-gradient(135deg,#7c3aed,#4c1d95);border-radius:50%;justify-content:center;align-items:center;width:54px;height:54px;font-size:2rem;font-weight:800;display:flex;box-shadow:0 8px 20px #7c3aed40}.logo-text{color:#a78bfa;letter-spacing:1px;font-size:2rem;font-weight:800}.content-area{width:100%;min-height:calc(100vh - 86px);display:flex}.mobile-navigation-toggle{display:none}.sidebar{background:var(--background);border-right:1px solid var(--border);flex-shrink:0;width:255px;padding-top:18px;transition:background .3s,border-color .3s}.sidebar-nav{flex-direction:column;width:100%;display:flex}.menu-item{width:100%;color:var(--text);border-left:3px solid #0000;align-items:center;gap:16px;padding:18px 20px;font-size:1.05rem;font-weight:700;transition:background .2s,color .2s,border-color .2s;display:flex}.menu-item:hover{background:var(--hover);color:var(--purple-light)}.menu-item.active{color:var(--purple-light);border-left-color:var(--purple);background:linear-gradient(90deg,#7c3aed2e,#7c3aed0a)}.menu-icon{justify-content:center;align-items:center;width:28px;font-size:1.7rem;display:flex}.main-content{background:var(--background);min-width:0;min-height:calc(100vh - 86px);color:var(--text);flex:1;padding:20px;transition:background .3s,color .3s}.settings-container{position:relative}.settings-btn{background:var(--background-secondary);border:1px solid var(--border);width:46px;height:46px;color:var(--text-secondary);border-radius:13px;justify-content:center;align-items:center;font-size:1.25rem;transition:background .2s,border-color .2s,color .2s,transform .2s,box-shadow .2s;display:flex}.settings-btn:hover,.settings-btn.active{color:var(--purple-light);background:#7c3aed21;border-color:#7c3aed6b;box-shadow:0 8px 22px #7c3aed21}.settings-btn:hover svg{transform:rotate(28deg)}.settings-btn svg{transition:transform .25s}.settings-menu{background:color-mix(in srgb, var(--background-secondary) 96%, transparent);border:1px solid var(--border);z-index:1200;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:18px;width:290px;padding:10px;animation:.18s ease-out settingsMenuIn;position:absolute;top:58px;right:0;box-shadow:0 22px 55px #00000047,0 0 0 1px #7c3aed0a}@keyframes settingsMenuIn{0%{opacity:0;transform:translateY(-8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.settings-menu-header{padding:10px 11px 9px}.settings-menu-header div{flex-direction:column;gap:4px;min-width:0;display:flex}.settings-menu-header strong{color:var(--text);font-size:.96rem;font-weight:750}.settings-menu-header span{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.settings-divider{background:var(--border);height:1px;margin:5px 4px}.settings-option,.theme-option{width:100%;min-height:58px;color:var(--text);text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:11px;padding:9px 10px;transition:background .18s,border-color .18s,transform .18s;display:flex}.settings-option{justify-content:flex-start}.theme-option{justify-content:space-between}.settings-option:hover{background:#7c3aed17;border-color:#7c3aed29}.settings-option-content{align-items:center;gap:11px;min-width:0;display:flex}.settings-option-icon{width:36px;height:36px;color:var(--purple-light);background:#7c3aed1a;border:1px solid #7c3aed2e;border-radius:10px;flex:0 0 36px;justify-content:center;align-items:center;font-size:1rem;display:flex}.settings-option-text{flex-direction:column;gap:3px;min-width:0;display:flex}.settings-option-text strong{color:var(--text);font-size:.88rem;font-weight:700}.settings-option-text span{color:var(--text-secondary);font-size:.73rem;font-weight:500}.logout-option:hover{background:#ef444414;border-color:#ef44442e}.logout-option .settings-option-icon{color:#ef4444;background:#ef444417;border-color:#ef444429}.logout-option .settings-option-text strong{color:#ef4444}.theme-switch{border:1px solid var(--border);background:var(--background-tertiary);border-radius:999px;flex:0 0 44px;align-items:center;width:44px;height:25px;padding:3px;transition:background .22s,border-color .22s;display:flex}.theme-switch-ball{background:var(--text-secondary);border-radius:50%;width:17px;height:17px;transition:transform .22s,background .22s;transform:translate(0)}.theme-switch.active{background:var(--purple);border-color:var(--purple)}.theme-switch.active .theme-switch-ball{background:#fff;transform:translate(19px)}.toast-container{z-index:5000;pointer-events:none;flex-direction:column;gap:10px;width:min(440px,100vw - 30px);display:flex;position:fixed;top:22px;left:50%;transform:translate(-50%)}.app-toast{border:1px solid var(--border);background:color-mix(in srgb, var(--background-secondary) 96%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);pointer-events:auto;border-radius:16px;grid-template-columns:42px 1fr 32px;align-items:center;gap:11px;width:100%;min-height:72px;padding:12px 12px 12px 14px;animation:.24s ease-out toastIn;display:grid;box-shadow:0 18px 48px #00000047}.app-toast.success{border-color:#22c55e47}.app-toast.error{border-color:#ef44444d}@keyframes toastIn{0%{opacity:0;transform:translateY(-12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.toast-icon{border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;font-size:1.25rem;display:flex}.app-toast.success .toast-icon{color:#22c55e;background:#22c55e1f}.app-toast.error .toast-icon{color:#ef4444;background:#ef44441c}.toast-content{flex-direction:column;gap:3px;min-width:0;display:flex}.toast-content strong{color:var(--text);font-size:.9rem}.toast-content span{color:var(--text-secondary);font-size:.8rem;line-height:1.35}.toast-close{width:30px;height:30px;color:var(--text-secondary);background:0 0;border:none;border-radius:9px;justify-content:center;align-items:center;font-size:1.05rem;transition:all .18s;display:flex}.toast-close:hover{background:var(--hover);color:var(--text)}.confirm-overlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:4900;background:#040408ad;justify-content:center;align-items:center;padding:22px;animation:.18s ease-out confirmOverlayIn;display:flex;position:fixed;inset:0}@keyframes confirmOverlayIn{0%{opacity:0}to{opacity:1}}.confirm-dialog{border:1px solid var(--border);background:var(--background-secondary);text-align:center;border-radius:22px;flex-direction:column;align-items:center;width:min(440px,100%);padding:28px;animation:.2s ease-out confirmDialogIn;display:flex;box-shadow:0 30px 80px #0000006b,0 0 35px #7c3aed14}@keyframes confirmDialogIn{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.confirm-icon{width:58px;height:58px;color:var(--purple-light);background:#7c3aed1c;border:1px solid #7c3aed38;border-radius:18px;justify-content:center;align-items:center;margin-bottom:17px;font-size:1.65rem;display:flex}.confirm-icon.danger{color:#ef4444;background:#ef44441a;border-color:#ef44443d}.confirm-copy h2{color:var(--text);margin:0 0 9px;font-size:1.2rem}.confirm-copy p{max-width:355px;color:var(--text-secondary);margin:0;font-size:.88rem;line-height:1.55}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:25px;display:grid}.confirm-actions button{border-radius:12px;min-height:44px;padding:0 16px;font-size:.86rem;font-weight:700;transition:all .18s}.confirm-cancel-button{border:1px solid var(--border);background:var(--background-tertiary);color:var(--text)}.confirm-cancel-button:hover{background:var(--hover);border-color:#7c3aed4d}.confirm-primary-button{border:1px solid var(--purple);background:var(--purple);color:#fff;box-shadow:0 8px 22px #7c3aed38}.confirm-primary-button:hover{background:var(--purple-dark);border-color:var(--purple-dark);transform:translateY(-1px)}.confirm-primary-button.danger{background:#dc2626;border-color:#dc2626;box-shadow:0 8px 22px #dc26262e}.confirm-primary-button.danger:hover{background:#b91c1c;border-color:#b91c1c}.home-page{background:radial-gradient(circle at top right, #7c3aed1a, transparent 35%), var(--background);width:100%;min-height:calc(100vh - 86px);color:var(--text);padding:30px}.home-dashboard{width:100%;max-width:1400px;margin:0 auto}.home-header{justify-content:space-between;align-items:center;margin-bottom:30px;display:flex}.home-header h1{color:var(--text);font-size:2rem;font-weight:800}.home-header p{color:var(--text-secondary);margin-top:6px;font-size:.95rem}.home-header-logo{color:#fff;background:linear-gradient(135deg,#7c3aed,#4c1d95);border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;font-size:2rem;font-weight:900;display:flex;box-shadow:0 10px 30px #7c3aed4d}.home-cards{grid-template-columns:repeat(4,1fr);gap:18px;width:100%;margin-bottom:30px;display:grid}.home-card{background:var(--card);border:1px solid var(--border);border-radius:16px;align-items:center;gap:16px;min-height:130px;padding:22px;transition:transform .2s,border-color .2s,box-shadow .2s;display:flex}.home-card:hover{border-color:#7c3aed66;transform:translateY(-3px);box-shadow:0 10px 30px #0000001f}.home-card-icon{width:52px;height:52px;color:var(--purple-light);background:#7c3aed24;border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;font-size:1.5rem;display:flex}.home-card span{color:var(--text-secondary);margin-bottom:5px;font-size:.9rem;display:block}.home-card strong{color:var(--text);font-size:1.7rem;font-weight:800;display:block}.home-admin-section,.home-teacher-section{background:var(--card);border:1px solid var(--border);border-radius:18px;width:100%;padding:25px}.home-section-header{margin-bottom:20px}.home-section-header h2,.home-teacher-section h2{color:var(--text);font-size:1.3rem;font-weight:800}.home-section-header p,.home-teacher-section p{color:var(--text-secondary);margin-top:5px;font-size:.85rem}.home-admin-grid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.home-info-card{background:var(--background-tertiary);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:6px;padding:20px;display:flex}.home-info-label{color:var(--text-secondary);font-size:.85rem}.home-info-card strong{color:var(--text);font-size:1.8rem;font-weight:800}.home-info-card small{color:var(--text-secondary);font-size:.75rem}.home-teacher-section{padding:30px}.home-teacher-section p{margin-top:8px;line-height:1.6}.lavn-login{background:radial-gradient(circle at 15% 50%, #7c3aed2e, transparent 38%), linear-gradient(110deg, var(--background), var(--background-secondary));width:100%;min-height:100vh;color:var(--text);display:flex;overflow:hidden}.lavn-password-wrapper{width:100%;position:relative}.lavn-password-wrapper input{width:100%;padding-right:45px}.lavn-password-eye{color:#888;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0;font-size:20px;transition:all .2s;display:flex;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.lavn-password-eye:hover{color:#6c2bd9}.lavn-login-visual{justify-content:center;align-items:center;width:58%;min-height:100vh;display:flex;position:relative;overflow:hidden}.lavn-visual-content{z-index:2;text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;padding:40px;display:flex;position:relative}.lavn-visual-logo{color:#fff;background:linear-gradient(135deg,#7c3aed,#4c1d95);border-radius:50%;justify-content:center;align-items:center;width:78px;height:78px;margin-bottom:16px;font-size:2.8rem;font-weight:900;display:flex;box-shadow:0 12px 35px #7c3aed66}.lavn-visual-content h1{color:#a78bfa;letter-spacing:3px;margin-bottom:8px;font-size:3rem;font-weight:900}.lavn-visual-content p{color:var(--text-secondary);margin-bottom:25px;font-size:1.05rem}.lavn-login-image{object-fit:contain;filter:drop-shadow(0 20px 35px #00000073)drop-shadow(0 0 30px #7c3aed1f);width:100%;max-width:650px;height:auto;max-height:500px;margin:0 auto;display:block}.lavn-glow{pointer-events:none;border-radius:50%;position:absolute}.lavn-glow-one{filter:blur(10px);background:#7c3aed1f;width:350px;height:350px;top:25%;left:-150px}.lavn-glow-two{filter:blur(10px);background:#5b21b61a;width:300px;height:300px;bottom:-100px;right:-150px}.lavn-login-form-area{justify-content:center;align-items:center;width:42%;min-height:100vh;padding:40px 60px;display:flex}.lavn-login-form{background:var(--card);border:1px solid #7c3aed33;border-radius:26px;flex-direction:column;gap:20px;width:100%;max-width:460px;padding:40px;display:flex;box-shadow:0 25px 60px #00000047,0 0 40px #7c3aed0f}.lavn-form-header{align-items:center;gap:15px;margin-bottom:8px;display:flex}.lavn-form-logo{color:#fff;background:linear-gradient(135deg,#7c3aed,#4c1d95);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:58px;height:58px;font-size:2rem;font-weight:900;display:flex}.lavn-form-header h2{color:var(--text);margin-bottom:5px;font-size:1.8rem}.lavn-form-header p{color:var(--text-secondary);font-size:.9rem}.lavn-login-error{color:#c4b5fd;text-align:center;background:#7c3aed1a;border:1px solid #a78bfa59;border-radius:10px;width:100%;padding:12px 14px;font-size:.9rem;font-weight:600}.lavn-field{flex-direction:column;gap:8px;width:100%;display:flex}.lavn-field label{color:var(--text);font-size:.9rem;font-weight:700}.lavn-field input{border:1px solid var(--border);background:var(--input-background);width:100%;height:56px;color:var(--text);border-radius:13px;outline:none;padding:0 16px;font-size:.95rem;transition:all .2s}.lavn-field input::placeholder{color:var(--text-secondary)}.lavn-field input:focus{background:var(--input-focus);border-color:var(--purple);box-shadow:0 0 0 3px #7c3aed21}.lavn-login-button{color:#fff;letter-spacing:.8px;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;border-radius:13px;width:100%;height:56px;margin-top:5px;font-size:1rem;font-weight:800;transition:all .2s;box-shadow:0 8px 22px #7c3aed38}.lavn-login-button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 12px 28px #7c3aed59}.lavn-login-button:active{transform:translateY(0)}.lavn-login-footer{color:var(--text-secondary);text-align:center;justify-content:center;align-items:center;gap:8px;padding-top:5px;font-size:.75rem;display:flex}.lavn-login-footer span:first-child{color:var(--purple-light);font-weight:800}.login-theme-control{z-index:9999;align-items:center;gap:10px;display:flex;position:fixed;top:25px;right:30px}.login-theme-icon{width:28px;height:28px;color:var(--text);justify-content:center;align-items:center;font-size:1.35rem;transition:color .3s;display:flex}.login-theme-toggle{cursor:pointer;background:#3f3f46;border:none;border-radius:30px;outline:none;align-items:center;width:54px;height:30px;padding:3px;transition:background .3s;display:flex}.login-theme-ball{background:#fff;border-radius:50%;width:24px;height:24px;transition:transform .3s;transform:translate(0);box-shadow:0 2px 5px #00000040}.login-theme-toggle.active{background:#7c3aed}.login-theme-toggle.active .login-theme-ball{transform:translate(24px)}.login-theme-toggle:hover{filter:brightness(1.1)}.login-theme-toggle:active .login-theme-ball{transform:scale(.9)}.login-theme-toggle.active:active .login-theme-ball{transform:translate(24px)scale(.9)}.students-page{width:100%;min-height:100%;padding:14px 14px 34px}.students-header{justify-content:space-between;align-items:center;gap:24px;width:100%;margin-bottom:26px;display:flex}.students-header h1{color:var(--text);letter-spacing:-.5px;font-size:2rem;font-weight:800}.students-subtitle{color:var(--text-secondary);margin-top:6px;font-size:.92rem}.students-actions{align-items:center;gap:10px;display:flex}.students-search{align-items:center;width:320px;height:46px;display:flex;position:relative}.students-search-icon{color:var(--text-secondary);z-index:2;pointer-events:none;font-size:15px;position:absolute;top:50%;left:15px;transform:translateY(-50%)}.search-input{border:1px solid var(--border);background:var(--card);width:100%;height:46px;color:var(--text);border-radius:12px;outline:none;padding:0 14px 0 43px;font-size:.92rem;transition:border-color .2s,box-shadow .2s,background .2s}.search-input::placeholder{color:var(--text-secondary)}.search-input:focus{background:var(--input-focus);border-color:var(--purple);box-shadow:0 0 0 3px #7c3aed1f}.add-button{background:linear-gradient(135deg, var(--purple), var(--purple-dark));color:#fff;border:none;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;font-size:1rem;transition:all .2s;display:flex;box-shadow:0 8px 20px #7c3aed38}.add-button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 12px 24px #7c3aed4d}.add-button:active{transform:translateY(0)}.students-list{flex-direction:column;gap:12px;width:100%;display:flex}.student-item{background:var(--card);border:1px solid var(--border);width:100%;min-height:82px;color:var(--text);cursor:pointer;border-radius:16px;justify-content:space-between;align-items:center;gap:20px;padding:14px 18px;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s;display:flex}.student-item:hover,.student-item:focus-visible{background:#7c3aed0e;border-color:#7c3aed5c;outline:none;transform:translateY(-2px);box-shadow:0 10px 28px #00000014}.student-main{align-items:center;gap:14px;min-width:0;display:flex}.student-avatar{width:48px;height:48px;color:var(--purple-light);background:linear-gradient(135deg,#7c3aed33,#5b21b66b);border:1px solid #a78bfa33;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;font-size:1.15rem;font-weight:800;display:flex}.student-info{flex-direction:column;gap:8px;min-width:0;display:flex}.student-name-row{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.student-info strong{color:var(--text);font-size:1rem;font-weight:750}.student-class-badge{color:var(--purple-light);background:#7c3aed1a;border:1px solid #7c3aed33;border-radius:999px;align-items:center;padding:4px 8px;font-size:.72rem;font-weight:700;display:inline-flex}.student-secondary-info{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.student-secondary-info span{color:var(--text-secondary);font-size:.82rem}.student-item-right,.student-actions{align-items:center;gap:8px;display:flex}.student-actions button{border:1px solid var(--border);background:var(--background-secondary);width:36px;height:36px;color:var(--text-secondary);border-radius:10px;justify-content:center;align-items:center;transition:all .2s;display:flex}.student-actions button:hover{color:var(--purple-light);background:#7c3aed14;border-color:#7c3aed59}.student-actions .student-delete-button:hover{color:#ef4444;background:#ef444414;border-color:#ef444452}.student-open-icon{color:var(--text-secondary);margin-left:4px;font-size:.8rem;transition:transform .2s,color .2s}.student-item:hover .student-open-icon{color:var(--purple-light);transform:translate(3px)}.students-empty{min-height:210px;color:var(--text-secondary);background:var(--card);border:1px dashed var(--border);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.students-empty svg{color:var(--purple-light);font-size:1.4rem}.student-details-page{width:100%;min-height:100%;padding:14px 14px 34px}.student-details-back{border:1px solid var(--border);background:var(--card);color:var(--text-secondary);border-radius:10px;align-items:center;gap:9px;margin-bottom:22px;padding:9px 12px;font-size:.86rem;font-weight:700;transition:all .2s;display:inline-flex}.student-details-back:hover{color:var(--purple-light);border-color:#7c3aed59;transform:translate(-2px)}.student-details-hero{border:1px solid var(--border);background:radial-gradient(circle at 88% 10%, #7c3aed2e, transparent 34%), var(--card);border-radius:20px;align-items:center;gap:20px;margin-bottom:20px;padding:28px;display:flex;position:relative;overflow:hidden}.student-details-avatar{background:linear-gradient(135deg, var(--purple), var(--purple-dark));color:#fff;border-radius:22px;flex-shrink:0;justify-content:center;align-items:center;width:78px;height:78px;font-size:2rem;font-weight:800;display:flex;box-shadow:0 12px 30px #7c3aed47}.student-details-heading{min-width:0}.student-details-label{color:var(--purple-light);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px;font-size:.76rem;font-weight:800;display:inline-block}.student-details-heading h1{color:var(--text);letter-spacing:-.5px;font-size:2rem;line-height:1.15}.student-details-meta{flex-wrap:wrap;gap:16px;margin-top:11px;display:flex}.student-details-meta span{color:var(--text-secondary);align-items:center;gap:7px;font-size:.84rem;display:inline-flex}.student-details-meta svg{color:var(--purple-light)}.student-details-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);gap:20px;display:grid}.student-details-card{border:1px solid var(--border);background:var(--card);border-radius:18px;padding:24px}.student-details-card-title{align-items:center;gap:12px;margin-bottom:22px;display:flex}.student-details-card-icon{width:42px;height:42px;color:var(--purple-light);background:#7c3aed1a;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.student-details-card-title h2{color:var(--text);font-size:1.02rem}.student-details-card-title p{color:var(--text-secondary);margin-top:3px;font-size:.78rem}.student-details-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.student-detail-field{border:1px solid var(--border);background:var(--background-secondary);border-radius:12px;min-width:0;padding:14px}.student-detail-field span,.student-details-contact span{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px;font-size:.72rem;font-weight:700;display:block}.student-detail-field strong,.student-details-contact strong{color:var(--text);overflow-wrap:anywhere;font-size:.9rem;font-weight:700}.student-details-contact-list{flex-direction:column;gap:11px;display:flex}.student-details-contact{border:1px solid var(--border);background:var(--background-secondary);border-radius:12px;align-items:flex-start;gap:12px;padding:14px;display:flex}.student-details-contact>svg{width:18px;color:var(--purple-light);flex-shrink:0;margin-top:2px}.student-details-state{min-height:340px;color:var(--text-secondary);border:1px dashed var(--border);background:var(--card);text-align:center;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.student-details-state>svg{color:var(--purple-light);font-size:2rem}.student-details-state h2{color:var(--text)}.student-details-loader{border:3px solid var(--border);border-top-color:var(--purple);border-radius:50%;width:30px;height:30px;animation:.75s linear infinite student-loader}@keyframes student-loader{to{transform:rotate(360deg)}}.attendance-modal::-webkit-scrollbar{width:8px}.attendance-modal::-webkit-scrollbar-track{background:#15151c;border-radius:10px}.attendance-modal::-webkit-scrollbar-thumb{background:#7c3aed;border-radius:10px}.attendance-modal::-webkit-scrollbar-thumb:hover{background:#8b5cf6}.attendance-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;background:#000000a6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.attendance-modal{background:var(--card);border:1px solid var(--border);border-radius:18px;width:100%;max-width:480px;max-height:calc(100vh - 40px);padding:26px;animation:.2s attendanceModalOpen;overflow-y:auto;box-shadow:0 25px 70px #0006}@keyframes attendanceModalOpen{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.attendance-modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.attendance-modal-header h2{color:var(--text);font-size:1.35rem;font-weight:800}.attendance-modal-header p{color:var(--text-secondary);margin-top:5px;font-size:.82rem}.attendance-close-button{width:34px;height:34px;color:var(--text-secondary);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;font-size:1.3rem;transition:all .2s;display:flex}.attendance-close-button:hover{background:var(--hover);color:var(--text)}.attendance-form{flex-direction:column;gap:17px;display:flex}.attendance-field{flex-direction:column;gap:7px;display:flex}.attendance-field label{color:var(--text);font-size:.85rem;font-weight:700}.attendance-field input,.attendance-field select{border:1px solid var(--border);background:var(--input-background);width:100%;height:44px;color:var(--text);border-radius:10px;outline:none;padding:0 13px;font-size:.9rem;transition:all .2s}.attendance-field input:focus,.attendance-field select:focus{border-color:var(--purple);box-shadow:0 0 0 3px #7c3aed1f}.attendance-time-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.attendance-modal-actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.attendance-cancel-button,.attendance-create-button{border-radius:9px;height:42px;padding:0 18px;font-size:.9rem;font-weight:700;transition:all .2s}.attendance-cancel-button{border:1px solid var(--border);color:var(--text);background:0 0}.attendance-cancel-button:hover{background:var(--hover)}.attendance-create-button{color:#fff;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;box-shadow:0 5px 15px #7c3aed33}.attendance-create-button:hover{filter:brightness(1.08);transform:translateY(-1px)}.classes-page{width:100%;min-height:100%;color:var(--text);padding:10px 10px 30px}.classes-header{justify-content:space-between;align-items:center;gap:20px;width:100%;margin-bottom:24px;display:flex}.classes-header h1{color:var(--text);font-size:1.9rem;font-weight:800}.classes-header p{color:var(--text-secondary);margin-top:5px;font-size:.9rem}.add-class-button{color:#fff;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;border-radius:10px;justify-content:center;align-items:center;height:44px;padding:0 18px;font-size:.9rem;font-weight:700;transition:all .2s;display:flex;box-shadow:0 5px 15px #7c3aed33}.add-class-button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 8px 20px #7c3aed4d}.classes-search{width:100%;margin-bottom:20px}.classes-search input{border:1px solid var(--border);background:var(--input-background);width:100%;max-width:450px;height:44px;color:var(--text);border-radius:10px;outline:none;padding:0 14px;font-size:.9rem}.classes-search input::placeholder{color:var(--text-secondary)}.classes-search input:focus{background:var(--input-focus);border-color:var(--purple);box-shadow:0 0 0 3px #7c3aed1f}.classes-list{flex-direction:column;gap:12px;width:100%;display:flex}.class-card{background:var(--background-tertiary);border:1px solid var(--border);border-radius:12px;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:80px;padding:16px 20px;transition:all .2s;display:flex}.class-card:hover{background:#7c3aed0f;border-color:#7c3aed4d;transform:translateY(-1px)}.class-info{flex:1}.class-info h2{color:var(--text);margin:0 0 8px;font-size:1.05rem}.class-info p{color:var(--text-secondary);margin:4px 0;font-size:.85rem}.class-info strong{color:var(--text)}.class-actions{align-items:center;gap:8px;display:flex}.class-actions button{border-radius:8px;height:38px;padding:0 14px;font-size:.82rem;font-weight:700}.edit-button{border:1px solid var(--purple);color:var(--purple-light);background:#7c3aed14}.edit-button:hover{background:var(--purple);color:#fff}.delete-button{color:#ef4444;background:#ef444414;border:1px solid #ef4444}.delete-button:hover{color:#fff;background:#ef4444}.no-classes{border:1px dashed var(--border);background:var(--card);width:100%;min-height:160px;color:var(--text-secondary);text-align:center;border-radius:12px;justify-content:center;align-items:center;padding:30px;display:flex}.timetable-page{width:100%;min-height:100%;color:var(--text);padding:10px 10px 30px}.timetable-header{justify-content:space-between;align-items:center;gap:20px;width:100%;margin-bottom:20px;display:flex}.timetable-header h1{color:var(--text);margin:0;font-size:1.9rem;font-weight:800}.timetable-header p{color:var(--text-secondary);margin-top:5px;font-size:.9rem}.timetable-add-button{color:#fff;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;border-radius:10px;justify-content:center;align-items:center;gap:9px;height:44px;padding:0 17px;font-size:.9rem;font-weight:700;transition:all .2s;display:flex;box-shadow:0 5px 15px #7c3aed33}.timetable-add-button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 8px 20px #7c3aed4d}.timetable-add-button:active{transform:translateY(0)}.timetable-controls{justify-content:center;align-items:center;gap:14px;width:100%;margin-bottom:22px;display:flex}.week-button{border:1px solid var(--border);background:var(--card);width:40px;height:40px;color:var(--text-secondary);border-radius:10px;justify-content:center;align-items:center;font-size:.9rem;transition:all .2s;display:flex}.week-button:hover{border-color:var(--purple);color:var(--purple-light);background:#7c3aed1f;transform:translateY(-1px)}.current-week{border:1px solid var(--border);background:var(--card);min-width:220px;height:40px;color:var(--text);border-radius:10px;justify-content:center;align-items:center;gap:9px;padding:0 18px;font-size:.88rem;font-weight:700;display:flex;box-shadow:0 4px 15px #0000000d}.current-week svg{color:var(--purple-light);font-size:.85rem}.timetable-wrapper{border:1px solid var(--border);background:var(--card);border-radius:16px;width:100%;overflow-x:auto;box-shadow:0 10px 30px #00000014}.timetable-grid{background:var(--card);width:100%;min-width:900px}.timetable-grid-header,.timetable-grid-body{grid-template-columns:95px repeat(5,minmax(150px,1fr));display:grid}.timetable-grid-header{z-index:12;background:var(--background-tertiary);position:relative}.timetable-grid-body{position:relative}.timetable-corner{background:var(--background-tertiary);border-right:1px solid var(--border);border-bottom:1px solid var(--border);min-height:70px;color:var(--purple-light);text-align:center;justify-content:center;align-items:center;padding:10px;font-size:.8rem;font-weight:800;display:flex}.timetable-day{background:var(--background-tertiary);border-right:1px solid var(--border);border-bottom:1px solid var(--border);min-height:70px;color:var(--text);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:8px;font-size:.9rem;font-weight:800;display:flex}.timetable-day:last-child{border-right:none}.timetable-time-axis,.timetable-day-column{border-right:1px solid var(--border);border-bottom:1px solid var(--border);background-color:var(--card);background-image:repeating-linear-gradient(to bottom, transparent 0, transparent 95px, var(--border) 95px, var(--border) 96px);height:100%;min-height:100%;position:relative}.timetable-time-axis{z-index:2;background-color:var(--background-tertiary)}.timetable-day-column:last-child{border-right:none}.timetable-time-label{z-index:4;background:var(--background-tertiary);color:var(--text-secondary);white-space:nowrap;border-radius:5px;padding:2px 5px;font-size:.78rem;font-weight:700;line-height:1;position:absolute;right:14px;transform:translateY(-50%)}.timetable-time-label.is-first{transform:translateY(0)}.timetable-time-label.is-last{transform:translateY(-100%)}.timetable-day-column:hover{background-color:#7c3aed06}.timetable-class{border:1px solid #7c3aed40;border-left:4px solid var(--purple);z-index:8;background:#7c3aed1a;border-radius:9px;flex-direction:column;justify-content:flex-start;gap:2px;min-height:40px;padding:7px 8px;transition:all .2s;display:flex;position:absolute;overflow:hidden;box-shadow:0 6px 18px #00000014}.timetable-class:hover{background:#7c3aed29;border-color:#7c3aed73;transform:translateY(-2px)}.timetable-class strong{color:var(--text);text-overflow:ellipsis;font-size:.82rem;font-weight:800;line-height:1.2;display:block;overflow:hidden}.timetable-class span{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:.72rem;display:block;overflow:hidden}.timetable-class small{color:var(--purple-light);white-space:nowrap;text-overflow:ellipsis;font-size:.68rem;font-weight:600;display:block;overflow:hidden}.timetable-class-origin{opacity:.8;margin-top:2px}.timetable-modal-overlay{z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000a6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.timetable-modal{background:var(--card);border:1px solid var(--border);border-radius:18px;width:100%;max-width:500px;max-height:90vh;padding:26px;animation:.2s timetableModalOpen;overflow-y:auto;box-shadow:0 25px 70px #0006}@keyframes timetableModalOpen{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.timetable-modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.timetable-modal-header h2{color:var(--text);font-size:1.35rem;font-weight:800}.timetable-modal-header p{color:var(--text-secondary);margin-top:5px;font-size:.82rem}.timetable-close-button{width:34px;height:34px;color:var(--text-secondary);background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;font-size:1.3rem;transition:all .2s;display:flex}.timetable-close-button:hover{background:var(--hover);color:var(--text)}.timetable-form{flex-direction:column;gap:17px;display:flex}.timetable-field{flex-direction:column;gap:7px;display:flex}.timetable-field label{color:var(--text);font-size:.85rem;font-weight:700}.timetable-field input,.timetable-field select{border:1px solid var(--border);background:var(--input-background);width:100%;height:44px;color:var(--text);border-radius:10px;outline:none;padding:0 13px;font-size:.9rem;transition:all .2s}.timetable-field input::placeholder{color:var(--text-secondary)}.timetable-field input:focus,.timetable-field select:focus{border-color:var(--purple);box-shadow:0 0 0 3px #7c3aed1f}.timetable-time-fields{grid-template-columns:1fr 1fr;gap:14px;display:grid}.timetable-modal-actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.timetable-cancel-button,.timetable-create-button{border-radius:9px;height:42px;padding:0 18px;font-size:.9rem;font-weight:700;transition:all .2s}.timetable-cancel-button{border:1px solid var(--border);color:var(--text);background:0 0}.timetable-cancel-button:hover{background:var(--hover)}.timetable-create-button{color:#fff;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;box-shadow:0 5px 15px #7c3aed33}.timetable-create-button:hover{filter:brightness(1.08);transform:translateY(-1px)}@media (width<=1100px){.home-cards,.home-admin-grid{grid-template-columns:repeat(2,1fr)}.lavn-login{flex-direction:column}.lavn-login-visual{width:100%;min-height:450px}.lavn-login-form-area{width:100%;min-height:auto}}@media (width<=900px){.timetable-grid{min-width:850px}}@media (width<=700px){.topbar{height:72px;padding:0 14px}.logo-circle{width:44px;height:44px;font-size:1.5rem}.logo-text{font-size:1.5rem}.content-area{flex-direction:column;min-height:calc(100vh - 72px)}.sidebar{border-right:0;border-bottom:1px solid var(--border);width:100%;padding:8px 0;display:none}.sidebar.sidebar-open{display:block}.mobile-navigation-toggle{border:1px solid var(--border);width:44px;height:44px;color:var(--text);background:var(--card);cursor:pointer;border-radius:10px;flex-shrink:0;place-items:center;font-size:1.25rem;display:grid}.mobile-navigation-toggle:focus-visible{outline:2px solid var(--purple-light);outline-offset:3px}.menu-item{justify-content:flex-start;padding:12px 20px}.menu-item span:not(.menu-icon){display:inline}.main-content{padding:12px}.home-page{padding:10px}.home-cards{grid-template-columns:1fr;gap:12px}.home-card{min-height:100px;padding:18px}.home-admin-grid{grid-template-columns:1fr}.students-page,.attendances-page,.classes-page,.timetable-page{padding:10px}.students-header,.classes-header{flex-direction:column;align-items:stretch}.students-actions{width:100%}.students-search{flex:1;width:auto}.search-input{width:100%}.attendance-item{grid-template-columns:1fr;align-items:flex-start;gap:5px;padding:14px 16px}.attendance-item span,.attendance-item .attendance-time{text-align:left}.attendance-time-fields,.timetable-time-fields{grid-template-columns:1fr}.add-class-button{width:100%}.classes-search input{max-width:none}.class-card{flex-direction:column;align-items:stretch;gap:15px}.class-actions{width:100%}.class-actions button{flex:1}.lavn-login{flex-direction:column;overflow-y:auto}.lavn-login-visual{min-height:auto}.lavn-visual-content{padding:30px 20px}.lavn-visual-content h1{font-size:2.3rem}.lavn-login-image{max-width:420px;max-height:300px}.lavn-login-form{padding:28px 22px}.settings-menu{width:280px;right:-5px}.timetable-header{align-items:flex-start}.timetable-header h1{font-size:1.6rem}.timetable-add-button{width:44px;padding:0}.timetable-add-button span{display:none}.timetable-controls{justify-content:center;gap:8px}.current-week{min-width:190px;font-size:.8rem}.timetable-grid{min-width:850px}.timetable-modal{max-width:460px}}@media (width<=500px){.home-page{padding:15px 10px}.home-header h1{font-size:1.3rem}.home-header p{font-size:.8rem}.home-header-logo{width:42px;height:42px;font-size:1.4rem}.home-card-icon{width:46px;height:46px;font-size:1.3rem}.home-card strong{font-size:1.5rem}.students-actions{align-items:stretch}.students-search,.search-input{width:100%}.student-item{flex-direction:column;align-items:flex-start;gap:5px;padding:12px 14px}.lavn-login-form-area{padding:20px 14px 30px}.lavn-login-form{border-radius:20px;padding:25px 18px}.lavn-visual-content h1{font-size:2rem}.lavn-visual-logo{width:62px;height:62px;font-size:2.2rem}.class-actions{flex-direction:column}.class-actions button{width:100%}.settings-menu{width:min(280px,100vw - 28px)}.timetable-header{flex-direction:column;align-items:stretch}.timetable-add-button{width:100%;height:44px}.timetable-add-button span{display:inline}.timetable-controls{gap:6px}.week-button{width:36px;height:36px}.current-week{min-width:170px;padding:0 10px;font-size:.75rem}.timetable-grid{min-width:850px}.timetable-modal-overlay{padding:12px}.timetable-modal{border-radius:16px;padding:22px 18px}.timetable-modal-actions{flex-direction:column-reverse}.timetable-cancel-button,.timetable-create-button{width:100%}}.profile-page{background:radial-gradient(circle at top right, #7c3aed14, transparent 35%), var(--background);width:100%;min-height:100%;color:var(--text);padding:30px 40px}.profile-top{width:100%;max-width:1000px;margin-bottom:28px}.profile-back-button{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;padding:8px 0;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.profile-back-button:hover{color:var(--purple-light);transform:translate(-2px)}.profile-page-title{align-items:center;gap:15px;margin-bottom:25px;display:flex}.profile-page-title-icon{width:48px;height:48px;color:var(--purple-light);background:#7c3aed24;border:1px solid #7c3aed38;border-radius:13px;justify-content:center;align-items:center;font-size:1.35rem;display:flex;box-shadow:0 8px 22px #7c3aed1a}.profile-page-title h1{color:var(--text);letter-spacing:-.5px;margin:0;font-size:2rem;font-weight:850}.profile-page-title p{color:var(--text-secondary);margin-top:4px;font-size:.88rem}.profile-main-card{background:var(--card);border:1px solid var(--border);border-radius:18px;align-items:center;gap:22px;width:100%;max-width:1000px;margin-bottom:25px;padding:28px 30px;transition:border-color .2s,box-shadow .2s,transform .2s;display:flex;box-shadow:0 10px 30px #00000014}.profile-main-card:hover{border-color:#7c3aed47;box-shadow:0 14px 35px #0000001a,0 0 25px #7c3aed0a}.profile-avatar-large{color:#fff;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:3px solid #a78bfa2e;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:82px;height:82px;font-size:32px;font-weight:800;display:flex;box-shadow:0 8px 25px #7c3aed47}.profile-main-info{flex:1;min-width:0}.profile-name-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.profile-name-row h2,.profile-name-row h1{color:var(--text);letter-spacing:-.3px;margin:0;font-size:1.65rem;font-weight:800}.profile-badge{color:var(--purple-light);text-transform:capitalize;background:#7c3aed21;border:1px solid #7c3aed33;border-radius:20px;align-items:center;padding:5px 12px;font-size:12px;font-weight:700;display:inline-flex}.profile-email{color:var(--text-secondary);align-items:center;gap:8px;margin:9px 0 0;font-size:14px;display:flex}.profile-email svg{color:var(--purple-light)}.profile-section{background:var(--card);border:1px solid var(--border);border-radius:18px;width:100%;max-width:1000px;margin-bottom:25px;padding:27px 30px;box-shadow:0 8px 25px #0000000f}.profile-section-title{align-items:center;gap:14px;margin-bottom:25px;display:flex}.profile-section-icon{width:42px;height:42px;color:var(--purple-light);background:#7c3aed24;border:1px solid #7c3aed2e;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;font-size:16px;display:flex}.profile-section-title h2{color:var(--text);margin:0 0 4px;font-size:18px;font-weight:800}.profile-section-title p{color:var(--text-secondary);margin:0;font-size:13px}.profile-details{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.profile-detail{background:var(--background-tertiary);border:1px solid var(--border);border-radius:12px;padding:18px;transition:border-color .2s,background .2s,transform .2s}.profile-detail:hover{background:#7c3aed0f;border-color:#7c3aed40;transform:translateY(-2px)}.profile-detail span{color:var(--text-secondary);margin-bottom:7px;font-size:12px;display:block}.profile-detail strong{color:var(--text);word-break:break-word;font-size:14px}.profile-type{text-transform:capitalize;align-items:center;gap:7px;display:flex;color:var(--purple-light)!important}.security-option{background:var(--background-tertiary);border:1px solid var(--border);border-radius:13px;justify-content:space-between;align-items:center;gap:20px;padding:18px;transition:border-color .2s,background .2s;display:flex}.security-option:hover{background:#7c3aed0d;border-color:#7c3aed38}.security-option-left{align-items:center;gap:14px;display:flex}.security-key-icon{width:43px;height:43px;color:var(--purple-light);background:#7c3aed24;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.security-option strong{color:var(--text);margin-bottom:4px;font-size:14px;display:block}.security-option p{color:var(--text-secondary);margin:0;font-size:12px}.change-password-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;border-radius:9px;align-items:center;gap:8px;padding:10px 16px;font-size:13px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 5px 15px #7c3aed2e}.change-password-button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 8px 20px #7c3aed47}.change-password-button:active{transform:translateY(0)}.password-form{background:var(--background-tertiary);border:1px solid var(--border);border-radius:13px;padding:20px}.password-form-header{align-items:center;gap:13px;margin-bottom:23px;display:flex}.password-form-icon{width:42px;height:42px;color:var(--purple-light);background:#7c3aed24;border-radius:10px;justify-content:center;align-items:center;display:flex}.password-form-header h3{color:var(--text);margin:0 0 4px;font-size:16px}.password-form-header p{color:var(--text-secondary);margin:0;font-size:12px}.password-field{margin-bottom:17px}.password-field label{color:var(--text-secondary);margin-bottom:7px;font-size:12px;font-weight:600;display:block}.password-input{background:var(--card);border:1px solid var(--border);border-radius:9px;align-items:center;gap:10px;width:100%;height:45px;padding:0 12px;transition:all .2s;display:flex}.password-input:focus-within{border-color:var(--purple);box-shadow:0 0 0 3px #7c3aed1f}.password-input>svg{color:var(--text-secondary);font-size:14px}.password-input input{width:100%;color:var(--text);background:0 0;border:none;outline:none;flex:1;font-size:13px}.password-input input::placeholder{color:var(--text-secondary)}.password-input button{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;font-size:14px;display:flex}.password-input button:hover{color:var(--purple-light)}.password-message{border-radius:8px;margin-top:5px;margin-bottom:18px;padding:12px 14px;font-size:13px}.password-message.error{color:#ef4444;background:#ef44441a;border:1px solid #ef444440}.password-message.success{color:#22c55e;background:#22c55e1a;border:1px solid #22c55e40}.password-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.cancel-password-button,.save-password-button{cursor:pointer;border-radius:8px;height:40px;padding:0 16px;font-size:13px;font-weight:600;transition:all .2s}.cancel-password-button{border:1px solid var(--border);color:var(--text-secondary);background:0 0}.cancel-password-button:hover{background:var(--hover);color:var(--text)}.save-password-button{color:#fff;background:linear-gradient(135deg,#7c3aed,#5b21b6);border:none;align-items:center;gap:8px;display:flex;box-shadow:0 5px 15px #7c3aed2e}.save-password-button:hover{background:linear-gradient(135deg,#8b5cf6,#6d28d9);transform:translateY(-1px)}.profile-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;width:100%;min-height:350px;display:flex}.profile-empty-icon{color:var(--purple-light);margin-bottom:15px;font-size:45px}.profile-empty h1{color:var(--text);margin:0 0 8px}.profile-empty p{color:var(--text-secondary);margin:0}@media (width<=800px){.profile-page{padding:25px 20px}.profile-details{grid-template-columns:1fr}.security-option{flex-direction:column;align-items:flex-start}.change-password-button{justify-content:center;width:100%}}@media (width<=550px){.profile-page{padding:20px 14px}.profile-page-title{gap:12px}.profile-page-title-icon{width:42px;height:42px;font-size:1.15rem}.profile-page-title h1{font-size:1.65rem}.profile-main-card{flex-direction:column;align-items:flex-start;padding:22px}.profile-avatar-large{width:70px;height:70px;font-size:27px}.profile-name-row h1,.profile-name-row h2{font-size:23px}.profile-section{padding:22px}.password-actions{flex-direction:column}.cancel-password-button,.save-password-button{justify-content:center;width:100%}}body.dark-mode .profile-page{color:#fff;background:#0b0b0f}body.dark-mode .profile-main-card,body.dark-mode .profile-section{background:#15151b;border-color:#292932}body.dark-mode .profile-name-row h1,body.dark-mode .profile-section-title h2,body.dark-mode .profile-detail strong,body.dark-mode .security-option strong,body.dark-mode .password-form-header h3{color:#fff}body.dark-mode .profile-email,body.dark-mode .profile-section-title p,body.dark-mode .profile-detail span,body.dark-mode .security-option p,body.dark-mode .password-form-header p{color:#9999a3}body.dark-mode .profile-detail,body.dark-mode .security-option,body.dark-mode .password-form{background:#101015;border-color:#292932}body.dark-mode .password-input{background:#15151b;border-color:#363640}body.dark-mode .password-input input{color:#fff}body.dark-mode .password-input input::placeholder{color:#777780}body.dark-mode .password-field label{color:#aaaab3}body.dark-mode .cancel-password-button{color:#bbbbc3;background:#1b1b22;border-color:#363640}body.dark-mode .cancel-password-button:hover{background:#24242c}body.dark-mode .profile-back-button{color:#9999a3}body.dark-mode .profile-back-button:hover{color:#a98cff}body.dark-mode .profile-badge,body.dark-mode .profile-section-icon,body.dark-mode .security-key-icon,body.dark-mode .password-form-icon{color:#aa8cff;background:#6c2bd933}@media (width<=800px){.profile-page{padding:25px 20px}.profile-details{grid-template-columns:1fr}.security-option{flex-direction:column;align-items:flex-start}.change-password-button{justify-content:center;width:100%}}@media (width<=550px){.profile-main-card{flex-direction:column;align-items:flex-start;padding:22px}.profile-avatar-large{width:70px;height:70px;font-size:27px}.profile-name-row h1{font-size:23px}.profile-section{padding:22px}.password-actions{flex-direction:column}.cancel-password-button,.save-password-button{justify-content:center;width:100%}}.lavn-recovery-input{align-items:center;gap:10px;width:100%;display:flex;position:relative}.lavn-recovery-input>svg{color:#888;pointer-events:none;font-size:18px;position:absolute;left:13px}.lavn-recovery-input input{width:100%;padding-left:42px}.lavn-recovery-success{color:#26843b;background:#eefaf1;border:1px solid #c9efd2;border-radius:9px;width:100%;margin-bottom:20px;padding:13px 15px;font-size:13px;line-height:1.5}.lavn-back-login{color:#777780;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;gap:7px;width:100%;margin-top:16px;padding:10px;font-size:13px;transition:all .2s;display:flex}.lavn-back-login:hover{color:#6c2bd9}body.dark-mode .lavn-recovery-success{color:#70d687;background:#26843b1f;border-color:#26843b4d}body.dark-mode .lavn-back-login{color:#9999a3}body.dark-mode .lavn-back-login:hover{color:#a98cff}.lavn-forgot-password{color:#6c2bd9;text-align:right;cursor:pointer;background:0 0;border:none;width:100%;margin-top:-5px;margin-bottom:18px;padding:0;font-size:12px;font-weight:600;transition:all .2s;display:block}.lavn-forgot-password:hover{color:#5920bd;text-decoration:underline}.attendances-page{width:100%;min-height:100%;color:var(--text);padding:14px 14px 34px}.attendances-header{justify-content:space-between;align-items:flex-start;gap:24px;width:100%;margin-bottom:26px;display:flex}.attendances-header h1{color:var(--text);letter-spacing:-.5px;margin:0;font-size:2rem;font-weight:800}.attendances-subtitle{color:var(--text-secondary);margin-top:6px;font-size:.9rem}.attendances-subtitle strong{color:var(--text)}.attendances-actions{align-items:center;gap:10px;display:flex}.attendance-back-button{color:var(--text-secondary);background:0 0;border:none;align-items:center;gap:8px;margin-bottom:12px;padding:7px 0;font-size:.86rem;font-weight:700;transition:color .2s,transform .2s;display:inline-flex}.attendance-back-button:hover{color:var(--purple-light);transform:translate(-2px)}.attendance-counter{border:1px solid var(--border);background:var(--card);min-height:42px;color:var(--text-secondary);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:.82rem;font-weight:700;display:inline-flex}.attendance-counter svg{color:var(--purple-light)}.attendance-extra-badge{width:fit-content;color:var(--purple-light);background:#7c3aed1a;border:1px solid #7c3aed47;border-radius:999px;align-items:center;margin-top:8px;padding:4px 9px;font-size:.7rem;font-weight:800;display:inline-flex}.attendance-classes-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px;width:100%;display:grid}.attendance-class-card{border:1px solid var(--border);background:var(--card);width:100%;min-height:118px;color:var(--text);text-align:left;border-radius:16px;grid-template-columns:68px minmax(0,1fr) auto 18px;align-items:center;gap:16px;padding:16px;transition:border-color .2s,background .2s,transform .2s,box-shadow .2s;display:grid}.attendance-class-card:hover{background:#7c3aed0b;border-color:#7c3aed61;transform:translateY(-2px);box-shadow:0 10px 28px #0000001a}.attendance-class-time{width:68px;height:68px;color:var(--purple-light);background:#7c3aed1a;border:1px solid #7c3aed38;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:flex}.attendance-class-time strong{color:var(--text);font-size:.92rem;font-weight:800}.attendance-class-info{min-width:0}.attendance-class-info h2{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0 0 7px;font-size:1rem;font-weight:800;overflow:hidden}.attendance-class-info p{color:var(--text-secondary);align-items:center;gap:6px;margin:4px 0;font-size:.78rem;display:flex}.attendance-class-info p svg{color:var(--purple-light);flex-shrink:0}.attendance-class-students{border:1px solid var(--border);background:var(--background-tertiary);color:var(--text-secondary);white-space:nowrap;border-radius:9px;align-items:center;gap:7px;padding:8px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.attendance-class-students svg{color:var(--purple-light)}.attendance-class-arrow{color:var(--text-secondary);font-size:1.1rem;transition:color .2s,transform .2s}.attendance-class-card:hover .attendance-class-arrow{color:var(--purple-light);transform:translate(2px)}.attendance-message{border-radius:10px;width:100%;margin-bottom:18px;padding:12px 14px;font-size:.82rem;font-weight:700}.attendance-message.error{color:#ef4444;background:#ef444414;border:1px solid #ef444440}.attendance-message.success{color:#22c55e;background:#22c55e14;border:1px solid #22c55e40}.attendance-loading,.attendance-empty{border:1px dashed var(--border);background:var(--card);width:100%;min-height:190px;color:var(--text-secondary);text-align:center;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px;display:flex}.attendance-empty>svg{color:var(--purple-light);margin-bottom:4px;font-size:2rem}.attendance-empty h3{color:var(--text);font-size:1rem}.attendance-empty p{max-width:420px;color:var(--text-secondary);font-size:.82rem;line-height:1.5}.attendance-summary{grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0;display:grid}.attendance-summary-card{border:1px solid var(--border);background:var(--card);border-radius:14px;flex-direction:column;justify-content:center;min-height:82px;padding:16px 18px;display:flex}.attendance-summary-card span{color:var(--text-secondary);margin-bottom:5px;font-size:.78rem}.attendance-summary-card strong{color:var(--text);font-size:1.45rem;font-weight:800}.attendance-students-list{flex-direction:column;gap:10px;display:flex}.attendance-student-card{border:1px solid var(--border);background:var(--card);border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;width:100%;padding:14px 16px;transition:border-color .2s,background .2s;display:grid}.attendance-student-card:hover{background:#7c3aed09;border-color:#7c3aed4d}.attendance-student-info{cursor:pointer;align-items:center;gap:12px;min-width:0;display:flex}.attendance-student-avatar{background:linear-gradient(135deg, var(--purple), var(--purple-dark));color:#fff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:.88rem;font-weight:800;display:flex}.attendance-student-info>div:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.attendance-student-info strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.attendance-student-info span{color:var(--text-secondary);font-size:.74rem}.attendance-student-info>svg{color:var(--text-secondary);margin-left:auto}.attendance-status-buttons{align-items:center;gap:7px;display:flex}.attendance-status{border:1px solid var(--border);background:var(--background-tertiary);min-width:96px;height:38px;color:var(--text-secondary);border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:.76rem;font-weight:700;transition:background .2s,border-color .2s,color .2s;display:inline-flex}.attendance-status:hover{border-color:#7c3aed59}.attendance-status.active-present{color:#22c55e;background:#22c55e17;border-color:#22c55e52}.attendance-status.active-absent{color:#ef4444;background:#ef444417;border-color:#ef44444d}.attendance-observation-container{grid-column:1/-1;padding-top:2px}.attendance-observation{resize:vertical;border:1px solid var(--border);background:var(--input-background);width:100%;min-height:72px;color:var(--text);border-radius:10px;outline:none;padding:11px 12px;font-size:.82rem;line-height:1.45;transition:border-color .2s,box-shadow .2s}.attendance-observation::placeholder{color:var(--text-secondary)}.attendance-observation:focus{border-color:var(--purple);box-shadow:0 0 0 3px #7c3aed1c}.attendance-save-container{justify-content:flex-end;margin-top:18px;display:flex}.attendance-save-button{background:linear-gradient(135deg, var(--purple), var(--purple-dark));color:#fff;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 18px;font-size:.82rem;font-weight:800;transition:transform .2s,filter .2s,box-shadow .2s;display:inline-flex;box-shadow:0 6px 18px #7c3aed2e}.attendance-save-button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 9px 22px #7c3aed42}.attendance-save-button:disabled{opacity:.55;cursor:not-allowed}@media (width<=900px){.attendance-classes-list{grid-template-columns:1fr}}@media (width<=700px){.attendances-header{flex-direction:column;align-items:stretch}.attendances-actions,.attendance-counter{width:100%}.attendance-class-card{grid-template-columns:60px minmax(0,1fr) 18px;gap:12px}.attendance-class-time{width:60px;height:62px}.attendance-class-students{display:none}.attendance-summary,.attendance-student-card{grid-template-columns:1fr}.attendance-status-buttons{width:100%}.attendance-status{flex:1}.attendance-save-button{width:100%}}@media (width<=520px){.attendances-page{padding:8px 8px 26px}.attendance-class-card{grid-template-columns:52px minmax(0,1fr) 16px;gap:9px;padding:12px}.attendance-class-time{width:52px;height:58px}}.employee-role-icon{width:40px;height:40px;color:var(--purple);background:#7c3aed1a;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;font-size:1.1rem;display:flex}.employee-item{cursor:default}.employee-item-right{flex-shrink:0;align-items:center;gap:10px;display:flex}.employee-secondary-info{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:12px;font-size:.8rem;display:flex}.employee-edit-button{min-height:38px;color:var(--purple-light);cursor:pointer;background:#7c3aed14;border:1px solid #7c3aed59;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-weight:750;transition:all .2s;display:inline-flex}.employee-edit-button:hover{background:var(--purple);border-color:var(--purple);color:#fff;transform:translateY(-1px)}.employee-password-hint{color:var(--text-secondary);background:#7c3aed0f;border:1px solid #7c3aed33;border-radius:9px;margin:-2px 0 0;padding:10px 12px;font-size:.8rem;line-height:1.4}.employee-modal{max-width:650px}.employee-form-grid{grid-template-columns:1fr 1fr;gap:17px 14px;display:grid}.employee-full-field{grid-column:1/-1}@media (width<=620px){.employee-form-grid{grid-template-columns:1fr}.employee-full-field{grid-column:auto}.employee-item{align-items:flex-start}.employee-item-right{flex-direction:column;align-items:flex-end}.employee-edit-button span{display:none}.employee-edit-button{width:40px;padding:0}}@media (width<=900px){.student-details-grid{grid-template-columns:1fr}}@media (width<=700px){.students-header{flex-direction:column;align-items:stretch}.students-actions{width:100%}.students-search{flex:1;width:auto}.student-secondary-info{gap:6px 12px}.student-details-hero{padding:22px}.student-details-heading h1{font-size:1.6rem}}@media (width<=520px){.students-page,.student-details-page{padding:8px 8px 26px}.student-item{flex-direction:row;align-items:center;padding:13px}.student-main{align-items:flex-start}.student-avatar{border-radius:12px;width:42px;height:42px}.student-secondary-info{flex-direction:column;align-items:flex-start}.student-actions{flex-direction:column;display:flex}.student-actions button{width:44px;height:44px}.student-item-right{flex-shrink:0}.student-details-hero{flex-direction:column;align-items:flex-start;padding:20px}.student-details-avatar{border-radius:18px;width:64px;height:64px;font-size:1.6rem}.student-details-meta{flex-direction:column;gap:7px}.student-details-card{padding:18px}.student-details-fields{grid-template-columns:1fr}}.students-page,.classes-page,.timetable-page,.attendances-page{padding:14px 14px 34px}.students-header,.classes-header,.timetable-header,.attendances-header{margin-bottom:26px}.students-header h1,.classes-header h1,.timetable-header h1,.attendances-header h1{letter-spacing:-.5px;font-size:2rem;font-weight:800}.add-class-button,.timetable-add-button,.timetable-extra-button{border-radius:11px;min-height:44px;font-weight:800}.class-card{background:var(--card);border-radius:16px;min-height:86px;padding:17px 19px}.class-card:hover{background:#7c3aed0b;border-color:#7c3aed57;transform:translateY(-2px);box-shadow:0 10px 28px #00000014}.class-actions button{border-radius:9px;min-width:72px}.timetable-header-actions{align-items:center;gap:10px;display:flex}.timetable-extra-button{color:var(--purple-light);background:#7c3aed14;border:1px solid #7c3aed61}.timetable-extra-button:hover{border-color:var(--purple);background:#7c3aed26}.timetable-class-actions{grid-template-columns:1fr 1fr;gap:5px;margin-top:auto;padding-top:3px;display:grid}.timetable-class-actions button{border-radius:7px;min-width:0;height:24px;padding:0 6px;font-size:.64rem;font-weight:700}.timetable-wrapper{scrollbar-width:thin;scrollbar-color:var(--purple) var(--background-tertiary)}.timetable-wrapper::-webkit-scrollbar{height:9px}.timetable-wrapper::-webkit-scrollbar-track{background:var(--background-tertiary)}.timetable-wrapper::-webkit-scrollbar-thumb{border:2px solid var(--background-tertiary);background:var(--purple);border-radius:999px}.attendance-modal,.timetable-modal{scrollbar-width:thin;scrollbar-color:var(--purple) var(--background-tertiary)}.attendance-modal::-webkit-scrollbar{width:8px}.timetable-modal::-webkit-scrollbar{width:8px}.attendance-modal::-webkit-scrollbar-track{background:var(--background-tertiary);border-radius:999px}.timetable-modal::-webkit-scrollbar-track{background:var(--background-tertiary);border-radius:999px}.attendance-modal::-webkit-scrollbar-thumb{background:var(--purple);border-radius:999px}.timetable-modal::-webkit-scrollbar-thumb{background:var(--purple);border-radius:999px}.attendance-header-icon{border:1px solid var(--border);background:var(--card);width:42px;height:42px;color:var(--purple-light);border-radius:11px;padding:10px}.profile-empty-icon-wrapper{width:70px;height:70px;color:var(--purple-light);background:#7c3aed1a;border:1px solid #7c3aed33;border-radius:50%;justify-content:center;align-items:center;margin-bottom:18px;display:flex}.profile-empty-back{background:linear-gradient(135deg, var(--purple), var(--purple-dark));color:#fff;border:none;border-radius:10px;min-height:42px;padding:0 17px;font-size:.82rem;font-weight:800;transition:transform .2s,filter .2s}.profile-empty-back:hover{filter:brightness(1.08);transform:translateY(-1px)}.security-icon{color:var(--purple-light)}.password-eye-button{width:30px;height:30px;color:var(--text-secondary);background:0 0;border:none;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;padding:0;transition:background .2s,color .2s;display:flex}.password-eye-button:hover{color:var(--purple-light);background:#7c3aed17}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--purple-light);outline-offset:2px}@media (width<=760px){.classes-header,.timetable-header{flex-direction:column;align-items:stretch}.add-class-button{width:100%}.timetable-header-actions{flex-wrap:wrap;width:100%}.timetable-extra-button,.timetable-add-button{flex:1;min-width:145px}}@media (width<=520px){.students-page,.classes-page,.timetable-page,.attendances-page{padding:8px 8px 26px}.class-card{flex-direction:column;align-items:flex-start}.class-actions{width:100%}.class-actions button{flex:1}}.today-lessons{border:1px solid var(--border);background:var(--card);border-radius:20px;max-width:480px;margin:30px 0;padding:28px}.today-lessons-wide{max-width:none}.today-lessons-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.today-lessons-heading h2{margin:0 0 8px;font-size:1.35rem}.today-lessons-heading p,.today-lesson-card p{color:var(--text-secondary);font-size:.9rem}.today-lessons-count,.today-lesson-time{color:var(--purple-light);background:var(--background-tertiary);white-space:nowrap;border-radius:8px;padding:7px 12px;font-weight:600}.today-lessons-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.today-lessons-wide .today-lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.today-lesson-card{border:1px solid var(--border);border-top:3px solid var(--purple);background:var(--background-secondary);overflow-wrap:anywhere;border-radius:12px;min-height:185px;padding:20px}.today-lesson-time{font-size:.8rem;display:inline-block}.today-lesson-card h4{margin:0 0 12px;font-size:1.3rem}.today-lesson-teacher{color:var(--text-secondary);align-items:center;gap:9px;margin-top:20px;font-size:.85rem;display:flex}.today-lesson-teacher svg{flex-shrink:0}.today-lessons-empty{text-align:center;color:var(--text-secondary);padding:32px 16px}.today-lessons-empty svg{margin-bottom:12px;font-size:1.8rem}.today-lessons button{background:var(--purple);color:#fff;cursor:pointer;border:0;border-radius:8px;margin-top:14px;padding:10px 16px}@media (width<=1200px){.today-lessons-wide .today-lessons-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.today-lessons{padding:18px}.today-lessons-heading{flex-direction:column;align-items:flex-start}.today-lessons-grid,.today-lessons-wide .today-lessons-grid{grid-template-columns:1fr}}.today-lesson-card>p{text-align:right;margin-bottom:8px}.today-lesson-time{width:fit-content;margin-left:auto;display:block}.today-lesson-card>small{color:var(--text-secondary);margin-top:12px;display:block}.timetable-recurrences{border:1px solid var(--border);background:var(--card);border-radius:12px;margin:20px 0;padding:18px}.timetable-recurrences summary{cursor:pointer;font-weight:600}.timetable-recurrences>p{color:var(--text-secondary);margin:12px 0}.timetable-recurrence{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:12px 0;display:flex}.attendance-history-filters{background:var(--card);border:1px solid var(--border);border-radius:14px;margin-bottom:24px;padding:20px}.attendance-history-shortcuts,.attendance-history-pagination{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.attendance-history-shortcuts button,.attendance-history-pagination button{border:1px solid var(--border);background:var(--background-secondary);color:var(--text);cursor:pointer;border-radius:8px;padding:10px 14px}.attendance-history-shortcuts button:hover,.attendance-history-pagination button:hover:not(:disabled){border-color:var(--purple)}.attendance-history-shortcuts button.active{border-color:var(--purple);color:var(--purple-light);background:#7c3aed2e;box-shadow:0 0 0 1px #7c3aed29}.attendance-history-pagination button:disabled{opacity:.45;cursor:default}.attendance-history-fields{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-top:18px;display:grid}.attendance-history-fields label{min-width:0;color:var(--text-secondary);flex-direction:column;gap:8px;font-size:.9rem;display:flex}.attendance-history-fields input,.attendance-history-fields select{border:1px solid var(--border);background:var(--input-background);width:100%;min-width:0;color:var(--text);font:inherit;border-radius:8px;padding:10px}.attendance-history-filters>p{color:var(--text-secondary);margin-top:14px;font-size:.9rem}.attendance-history-date{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.attendance-history-status{border:1px solid var(--border);color:var(--text-secondary);border-radius:6px;align-self:flex-start;padding:4px 8px;font-size:.75rem}.attendance-history-status.complete{color:var(--text);background:var(--background-tertiary)}.attendance-history-pagination{justify-content:center;margin-top:24px}@media (width<=900px){.attendance-history-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.attendance-history-fields{grid-template-columns:1fr}.attendance-history-date{flex-flow:wrap;align-items:center}}.attendance-class-info .attendance-history-date{flex-flow:wrap;align-items:center;margin-bottom:10px;font-size:.8rem}.students-pagination{color:var(--text-secondary);flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:22px 0 8px;font-size:.9rem;display:flex}.students-pagination button{border:1px solid var(--border);background:var(--card);color:var(--text);cursor:pointer;border-radius:8px;padding:9px 14px}.students-pagination button:hover:not(:disabled){border-color:var(--purple);color:var(--purple-light)}.students-pagination button:disabled{opacity:.45;cursor:default}@media (width<=600px){.students-pagination{gap:9px;font-size:.78rem}.students-pagination button{padding:8px 10px}}.student-photo-section{border:1px solid var(--border);background:var(--background-secondary);border-radius:14px;align-items:center;gap:22px;padding:20px;display:flex}.student-photo-placeholder{border:1px dashed var(--purple-light);width:96px;height:96px;color:var(--purple-light);background:#7c3aed14;border-radius:50%;flex:0 0 96px;place-items:center;font-size:36px;display:grid;position:relative}.student-photo-camera{border:2px solid var(--background-secondary);background:var(--purple);color:#fff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:12px;display:grid;position:absolute;bottom:0;right:-2px}.student-photo-content{min-width:0}.student-photo-heading{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.student-photo-heading h3{color:var(--text);font-size:.95rem}.student-photo-badge{background:var(--background-tertiary);color:var(--text-secondary);border-radius:20px;padding:4px 8px;font-size:.7rem;font-weight:600}.student-photo-content p,.student-photo-content small{color:var(--text-secondary);line-height:1.5}.student-photo-content p{margin:8px 0 12px;font-size:.82rem}.student-photo-content small{margin-top:7px;font-size:.74rem;display:block}.student-photo-button{border:1px solid var(--border);background:var(--background-tertiary);color:var(--text-secondary);cursor:not-allowed;border-radius:8px;align-items:center;gap:8px;padding:9px 12px;font-size:.8rem;display:inline-flex}@media (width<=420px){.student-photo-section{text-align:center;flex-direction:column;padding:18px 14px}.student-photo-heading{justify-content:center}}.student-details-photo{flex-direction:column;flex:none;align-items:center;gap:10px;margin:0;display:flex}.student-details-photo figcaption{color:var(--text-secondary);font-size:.75rem;line-height:1.4}.student-details-photo .student-photo-placeholder{flex-basis:144px;width:144px;height:144px;font-size:54px}.student-details-photo .student-photo-camera{width:36px;height:36px;font-size:15px}@media (width<=480px){.student-details-photo .student-photo-placeholder{flex-basis:120px;width:120px;height:120px;font-size:46px}}.class-schedules{gap:16px;display:grid}.class-schedules h3{color:var(--text);font-size:1rem}.class-schedules p,.class-schedules-help{color:var(--text-secondary);font-size:.84rem;line-height:1.5}.class-schedules p{margin-top:6px}.class-schedule-row{border:1px solid var(--border);border-radius:12px;min-width:0;padding:16px}.class-schedule-row legend{color:var(--text-secondary);padding:0 6px;font-size:.85rem}.class-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px;display:grid}.class-schedule-grid label{color:var(--text-secondary);font-size:.85rem}.class-schedules-help a{color:var(--purple-light);text-decoration:underline}@media (width<=480px){.class-schedule-grid{grid-template-columns:1fr}}.class-details-page{width:100%;padding:14px 14px 34px}.class-details-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.class-details-heading h1{overflow-wrap:anywhere;font-size:2rem}.class-details-count{background:var(--background-tertiary);border:1px solid var(--border);white-space:nowrap;color:var(--text-secondary);border-radius:20px;padding:9px 14px;font-size:.85rem}.class-details-link{color:inherit;align-items:center;gap:12px;display:inline-flex}.class-details-link:hover{color:var(--purple-light)}.class-details-link:focus-visible,.class-office-students a:focus-visible{outline:2px solid var(--purple-light);outline-offset:4px;border-radius:5px}.class-office-panel{background:var(--card);border:1px solid var(--border);border-radius:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;padding:26px;display:grid}.class-office-left{align-content:start;gap:30px;min-width:0;display:grid}.class-office-panel h2{margin:0 0 18px;font-size:1.1rem}.class-office-panel h2 span{color:var(--text-secondary);font-size:.9rem}.class-office-info{gap:10px;display:grid}.class-office-info>div{grid-template-columns:85px minmax(0,1fr);align-items:center;gap:12px;display:grid}.class-office-info dt{color:var(--text-secondary);font-size:.86rem}.class-office-info dd{background:var(--background-tertiary);overflow-wrap:anywhere;border-radius:9px;margin:0;padding:11px 14px;font-size:.9rem}.class-office-subtitle{margin:22px 0 12px;font-size:.9rem}.class-office-schedules,.class-office-students{margin:0;padding:0;list-style:none}.class-office-schedules{gap:8px;display:grid}.class-office-schedules li{background:var(--background-tertiary);overflow-wrap:anywhere;border-radius:9px;gap:6px;padding:12px 14px;font-size:.84rem;display:grid}.class-office-schedules span{color:var(--text-secondary)}.class-office-students li+li{border-top:1px solid var(--border)}.class-office-students a{color:var(--text);align-items:center;gap:12px;padding:12px 4px;display:flex}.class-office-students a:hover{color:var(--purple-light);background:var(--hover)}.class-office-students a>span:nth-child(2){overflow-wrap:anywhere;flex:1;min-width:0}.class-office-students svg{color:var(--text-secondary);flex-shrink:0;font-size:.8rem}.class-office-avatar{height:34px;color:var(--purple-light);background:#7c3aed1f;border-radius:50%;flex:0 0 34px;place-items:center;font-size:.85rem;font-weight:700;display:grid}.class-office-notes{border:1px solid var(--border);background:var(--background-secondary);border-radius:14px;align-self:start;min-width:0;padding:22px}.class-office-notes h2{margin-bottom:8px}.class-office-description,.class-office-empty{color:var(--text-secondary);font-size:.85rem;line-height:1.6}.class-office-note-list{gap:14px;max-height:500px;margin:20px 0;display:grid;overflow-y:auto}.class-office-note{border:1px solid var(--border);background:var(--card);border-radius:10px;padding:15px}.class-office-note-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.class-office-note-heading h3{color:var(--text-secondary);font-size:.8rem}.class-office-note-heading>div{gap:12px;display:flex}.class-office-note-heading button{color:var(--purple-light);background:0 0;border:0;padding:4px 0;font-size:.78rem}.class-office-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem;line-height:1.65}.class-office-note-form{border-top:1px solid var(--border);gap:10px;padding-top:18px;display:grid}.class-office-note-form label{font-size:.88rem;font-weight:700}.class-office-note-form textarea{resize:vertical;border:1px solid var(--border);background:var(--input-background);width:100%;min-height:130px;color:var(--text);font:inherit;border-radius:10px;padding:12px;font-size:.9rem;line-height:1.5}.class-office-note-form textarea:focus{outline:2px solid var(--purple);outline-offset:2px}.class-office-notes button:disabled{opacity:.5;cursor:default}.class-office-notes .password-message button{margin-top:10px;display:block}.class-sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width<=900px){.class-office-panel{grid-template-columns:minmax(0,1fr)}}@media (width<=480px){.class-details-page{padding:8px 0 24px}.class-office-panel{gap:22px;padding:16px}.class-office-notes{padding:15px}.class-details-heading{align-items:flex-start}.class-details-heading h1{font-size:1.5rem}}.class-office-inline-editor{border-top:0;padding-top:0}.class-office-autosave{margin-top:18px}.class-office-autosave textarea{resize:vertical;border:1px solid var(--border);background:var(--input-background);width:100%;min-height:390px;color:var(--text);font:inherit;border-radius:12px;padding:16px;font-size:.95rem;line-height:1.7;display:block}.class-office-autosave textarea:focus{outline:2px solid var(--purple);outline-offset:2px}.class-office-save-status{color:var(--text-secondary);margin-top:10px;font-size:.78rem;line-height:1.5}.class-office-save-status.error{color:#ef4444}@media (width<=480px){.class-office-autosave textarea{min-height:280px}}.student-notes-section{margin-top:20px}.student-notes-section .class-office-autosave textarea{min-height:260px}@media (width<=700px){.class-office-autosave textarea,.student-notes-section .class-office-autosave textarea{height:220px;min-height:160px}}.home-teacher-layout{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:stretch;gap:26px;display:grid}.home-teacher-layout .home-summary-column{min-width:0}.home-overview-status{color:var(--text-secondary);margin-bottom:14px;font-size:.85rem}.home-overview-error{border:1px solid var(--border);background:var(--card);border-radius:12px;margin-bottom:18px;padding:16px}.home-overview-error p{color:var(--text-secondary);margin-bottom:12px;font-size:.85rem;line-height:1.5}.home-teacher-layout .home-cards{grid-template-columns:minmax(0,1fr);margin-bottom:0}.home-teacher-layout .today-lessons{contain:size;width:100%;max-width:none;min-height:0;margin:0;overflow-y:auto}.home-teacher-layout .today-lessons-heading{z-index:1;background:var(--card);padding:2px 0 18px;position:sticky;top:-28px}.home-teacher-layout .today-lessons-grid{grid-template-columns:minmax(0,1fr)}.home-teacher-layout .home-teacher-section{margin:0}.home-teacher-layout .home-card{gap:20px;min-width:0;min-height:165px;padding:28px}.home-teacher-layout .home-card-icon{width:58px;height:58px;font-size:1.55rem}.home-teacher-layout .home-card span{font-size:1rem}.home-teacher-layout .home-card strong{font-size:2.35rem}@media (width<=1100px){.home-teacher-layout{grid-template-columns:minmax(0,1fr)}.home-teacher-layout .today-lessons{contain:none;height:620px}}.class-info,.class-details-heading>div,.student-details-contact>div,.student-detail-field{min-width:0}.class-info,.class-details-link,.student-details-heading h1,.student-details-contact strong,.student-detail-field strong,.attendance-class-info{overflow-wrap:anywhere}.class-details-link>span,.attendance-student-info>svg,.home-card-icon{flex-shrink:0}.attendance-modal,.timetable-modal{overscroll-behavior:contain;max-height:calc(100dvh - 40px)}.attendance-field input,.attendance-field select,.class-office-autosave textarea{min-width:0;max-width:100%}@media (width<=600px){.class-details-heading{flex-wrap:wrap}.class-office-info>div{grid-template-columns:minmax(0,1fr);gap:6px}.attendance-modal-overlay{padding:12px}.attendance-modal,.timetable-modal{max-height:calc(100dvh - 24px);padding:18px}.attendance-modal-actions{flex-wrap:wrap}.attendance-modal-actions>button{flex:130px;min-height:44px}.class-actions button,.attendance-status,.students-pagination button{min-height:44px}.attendance-student-info strong{white-space:normal;overflow-wrap:anywhere}.attendance-field input,.attendance-field select,.class-office-autosave textarea{font-size:1rem}.today-lessons-heading{overflow-wrap:anywhere}.home-teacher-layout .today-lessons-heading{top:-18px}.home-teacher-layout .today-lessons{height:min(620px,80dvh)}}
