:root{--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--safe-right: env(safe-area-inset-right, 0px)}@media(max-width:768px){html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{-webkit-overflow-scrolling:touch;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:contain}.app-layout,.elite-header,.app-content-scroll{padding-left:max(var(--safe-left),0px);padding-right:max(var(--safe-right),0px)}.elite-nav-item,.taskbar-action-btn-3d,.bottom-nav-item{-webkit-user-select:none;user-select:none}[style*=grid-template-columns]:not(.mobile-keep-layout),.premium-card [style*=grid-template-columns]:not(.mobile-keep-layout){grid-template-columns:1fr!important}[style*=min-width]:not(.mobile-keep-layout):not(input):not(select):not(textarea){min-width:0!important}[style*="width:"]:not(.mobile-keep-layout):not(img):not(svg):not(canvas):not(video):not(.dr-kpi-ic):not([class*=avatar]):not([class*=icon]){max-width:100%!important}[style*="display: flex"]:not(.mobile-keep-layout):not([style*="flex-wrap: nowrap"]),[style*="display:flex"]:not(.mobile-keep-layout):not([style*="flex-wrap:nowrap"]){flex-wrap:wrap!important}.app-layout *:not(.mobile-keep-layout){max-width:100%}.premium-table-wrapper,.premium-table-container,.table-wrapper,.table-scroll,.data-table-container,.table-responsive,.data-table-wrapper,.marks-matrix,.results-matrix,.payroll-matrix,.matrix-scroll-wrapper,.access-registry-table-wrap,.timetable-grid,.grid-scroll-area{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;margin-bottom:.65rem!important}table:not(.mobile-keep-layout){display:table!important;width:100%!important;min-width:max-content;border-collapse:collapse!important}table:not(.mobile-keep-layout) th,table:not(.mobile-keep-layout) td,.premium-table th,.premium-table td,.rc-table th,.rc-table td,.data-table th,.data-table td{padding:6px 8px!important;font-size:.78rem!important;line-height:1.3!important}table:not(.mobile-keep-layout) th,.premium-table th,.rc-table th{font-size:.7rem!important;font-weight:800!important;letter-spacing:.04em!important;white-space:nowrap!important;text-transform:uppercase!important}table:not(.mobile-keep-layout) .btn,table:not(.mobile-keep-layout) .btn-premium,table:not(.mobile-keep-layout) .status-badge,table:not(.mobile-keep-layout) .badge{padding:2px 6px!important;font-size:.7rem!important;min-height:26px!important;height:auto!important;border-radius:6px!important}[style*="overflow-x: auto"],[style*="overflow-x:auto"],.table-responsive{-webkit-overflow-scrolling:touch;scrollbar-width:thin}button,.btn,.btn-premium,a.btn,select,input[type=submit],input[type=button]{min-height:38px}button:not([class*=close]):not(.sqb-close){touch-action:manipulation}input,select,textarea{font-size:max(16px,1rem)!important;min-height:38px;padding:0 .65rem!important;border-radius:8px!important}textarea{min-height:72px;padding:.5rem .65rem!important}.diff-drawer,.dr-drawer,[class*=-drawer]:not(.mobile-keep-layout){width:100%!important;max-width:100%!important;left:0!important;right:0!important}.shulevora-confirm-box,.vibrant-modal,.conflict-modal-card{width:100%!important;max-width:100%!important;border-radius:20px 20px 0 0!important;margin-top:auto!important;margin-bottom:0!important;padding-bottom:calc(1.25rem + var(--safe-bottom))!important}.shulevora-dialog-overlay:not(.shulevora-alert-overlay):not(.sv-cred-overlay){align-items:flex-end!important;padding:0!important}.shulevora-alert-box,.sv-cred-box,.vibrant-modal-card,.modal-dialog,.modal-content,.tp-modal>div,.stream-architect-modal>div,.stream-student-subjects-modal>div,[id$=Modal]>div:not(.modal-backdrop):not([style*="display: none"]),.modal-overlay>div:not(.modal-backdrop){max-width:min(95vw,100%)!important;width:min(95vw,100%)!important;max-height:calc(100dvh - 32px)!important;box-sizing:border-box!important;overflow:hidden!important}.vibrant-modal-body,.modal-body,.shulevora-confirm-body,.sv-step,[class*=modal-body]{max-width:100%!important;box-sizing:border-box!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}.modal-field-grid,.vibrant-modal-card [style*=grid-template-columns],[id$=Modal] [style*=grid-template-columns]{grid-template-columns:1fr!important;gap:.65rem!important}.vibrant-modal-footer,.modal-footer,.modal-actions,.shulevora-confirm-actions{flex-wrap:wrap!important;gap:.5rem!important}@media(max-width:480px){.vibrant-modal-footer>button,.modal-footer>button,.modal-actions>button,.shulevora-confirm-actions>button{flex:1 1 100%!important;width:100%!important;min-height:42px!important}}h1,.dr-head h1,.phc-title,.admission-title{font-size:clamp(1.2rem,5vw,1.45rem)!important;line-height:1.2!important}h2{font-size:clamp(1.05rem,4.2vw,1.25rem)!important;line-height:1.25!important}h3{font-size:clamp(.95rem,3.8vw,1.1rem)!important}.app-content-scroll,.container,.main-content-flow,.main-content-wrapper,.page-content,#moduleContentPlaceholder,.parent-portal-content,.teacher-portal-content,.superadmin-content{padding-left:10px!important;padding-right:10px!important;padding-top:8px!important;max-width:100vw!important;box-sizing:border-box!important}.command-hero,.premium-header-card,.page-header,.admission-hero,.boarding-hero,.dr-head,.elite-header,.sa-hero-card,.hero-card,.dashboard-hero{padding:.75rem .85rem!important;margin-bottom:.65rem!important;border-radius:12px!important;gap:.45rem!important}.phc-subtitle,.admission-subtitle,.hero-subtitle{font-size:.75rem!important;line-height:1.3!important;margin-top:2px!important}.phc-actions,.dr-head-actions,.admission-hero-actions{gap:.4rem!important;margin-top:.35rem!important}.phc-actions .btn-premium,.phc-actions .btn,.dr-head-actions .btn{height:36px!important;min-height:36px!important;padding:0 .75rem!important;font-size:.8rem!important;border-radius:8px!important}.vibrant-card,.workspace-card,.premium-card,.glass-card,.glass-panel,.compact-card,.card,.arch-card,.panel,.content-card,.admission-card,.admission-side-card,.p-child-card,.tp-class-card,.tp-card,.stat-card,.sa-card,.detail-group,.info-cell,.dashboard-card,.summary-card,.hostel-card,.report-card-preview{padding:.75rem .85rem!important;border-radius:12px!important;margin-bottom:.65rem!important;gap:.5rem!important;box-shadow:0 2px 8px #0000000a!important}.card-header,.workspace-header,.panel-head,.card-section-header,.admission-card-header{padding:.35rem .5rem!important;margin-bottom:.45rem!important;gap:.4rem!important;font-size:.95rem!important}.app-content-scroll,#moduleContentPlaceholder{padding-bottom:calc(76px + var(--safe-bottom))!important}.dr-kpis,.kpi-grid,.sa-metric-grid,.metric-card-grid,[class*=metric-grid]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.45rem!important;margin-bottom:.65rem!important}.dr-kpi,.kpi-card,.metric-card,.sa-metric-card,.compact-stat,.stat-card,.analytics-metric-card{padding:.55rem .7rem!important;border-radius:10px!important}.kpi-value,.dr-kpi-val,.metric-value,.sa-metric-value{font-size:1.35rem!important;line-height:1.15!important}.kpi-label,.dr-kpi-lbl,.metric-label,.sa-metric-label{font-size:.68rem!important;letter-spacing:.04em!important}.dr-kpi-ic,.metric-icon-wrap,.kpi-icon{width:30px!important;height:30px!important;min-width:30px!important;border-radius:8px!important;font-size:.95rem!important}.dr-tabs,.attendance-tabs,.exam-nav-group,.sub-nav-tabs,.tab-cluster,[class*=-tabs]:not(.mobile-keep-layout){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:.35rem!important;padding:.2rem 0!important;margin-bottom:.65rem!important}[class*=-tabs]::-webkit-scrollbar{display:none}.tab-btn,.tab-chip,.tab-3d,.dr-tab{min-height:32px!important;height:32px!important;padding:0 .65rem!important;font-size:.75rem!important;border-radius:8px!important;white-space:nowrap!important}}@media(max-width:1024px){.app-topbar-3d{width:auto!important;max-width:calc(100% - 24px)!important;box-sizing:border-box!important}}.sidebar-workspace-switcher{display:none}@media(max-width:768px){.app-main-wrapper>div[style*=sticky],.app-main-wrapper>div[style*="position: sticky"]{position:static!important;border-bottom:none!important;background:transparent!important}.app-topbar-3d{display:none!important}.sidebar-workspace-switcher{display:block;padding:.6rem 1rem .2rem}.sidebar-workspace-switcher .header-workspace-pill{width:100%;box-sizing:border-box;justify-content:flex-start;gap:.6rem}.platform-announcement-banner,.subscription-status-banner,#impersonation-banner{padding:.55rem 1rem!important;font-size:.78rem!important;gap:.6rem!important}}@media(max-width:1024px){.mobile-top-bar{padding-top:max(env(safe-area-inset-top,0px),0px)!important;height:calc(60px + env(safe-area-inset-top,0px))!important;min-height:60px;background:var(--theme-hero-bg, linear-gradient(135deg, #16255b 0%, #1e3a8a 100%))!important;backdrop-filter:blur(20px) saturate(1.6)!important;-webkit-backdrop-filter:blur(20px) saturate(1.6)!important;padding-left:max(1.25rem,env(safe-area-inset-left,0px))!important;padding-right:max(1.25rem,env(safe-area-inset-right,0px))!important;box-shadow:0 1px #ffffff14,0 4px 16px #0000002e!important;z-index:900!important;position:sticky!important;top:0!important}.mobile-top-bar>div:first-child>button{min-width:44px!important;min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:12px!important;background:#ffffff14!important;border:1px solid rgba(255,255,255,.12)!important;transition:background .15s ease!important}.mobile-top-bar>div:first-child>button:active{background:#ffffff2e!important}.mobile-top-bar>div:first-child>button i{font-size:1.35rem!important;color:#fff!important}#mobile-page-title{position:absolute!important;left:50%!important;transform:translate(-50%)!important;font-size:.96rem!important;font-weight:800!important;color:#fff!important;letter-spacing:-.01em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:55vw!important;pointer-events:none!important}.mobile-role-tabs-wrap{display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;min-width:0!important;padding:0 .25rem!important;pointer-events:auto!important;z-index:10!important}.mobile-role-tabs-wrap .header-role-tabs-container{background:#ffffff29!important;border:1px solid rgba(255,255,255,.25)!important;padding:2px!important;gap:2px!important;max-width:100%!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;box-shadow:0 2px 8px #0003!important}.mobile-role-tabs-wrap .header-role-tab-btn{padding:.28rem .6rem!important;font-size:.72rem!important;color:#ffffffe6!important;border-radius:999px!important;pointer-events:auto!important}.mobile-role-tabs-wrap .header-role-tab-btn.active{background:#fff!important;color:#1e3a8a!important;font-weight:900!important;box-shadow:0 2px 8px #0000004d!important}.mobile-role-tabs-wrap .header-role-tab-btn.active i{color:#1e3a8a!important}.mobile-role-tabs-wrap .header-role-tab-btn:not(.active) i{color:#ffffffd9!important}.mobile-top-bar>div:last-child{width:38px!important;height:38px!important;border-radius:50%!important;flex-shrink:0!important;box-shadow:0 0 0 2px #ffffff40,0 4px 12px #0000004d!important}}@media(max-width:480px){.app-content-scroll,.container,.main-content-flow,.main-content-wrapper,.page-content,#moduleContentPlaceholder{padding-left:8px!important;padding-right:8px!important;padding-top:6px!important}.vibrant-card,.workspace-card,.premium-card,.glass-card,.glass-panel,.compact-card,.card,.arch-card,.panel,.content-card,.admission-card,.p-child-card,.tp-class-card{padding:.65rem .75rem!important;border-radius:10px!important;margin-bottom:.5rem!important}.dr-kpis,.sa-metric-grid,.metric-card-grid,[class*=metric-grid]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.35rem!important}.kpi-value,.dr-kpi-val,.metric-value{font-size:1.2rem!important}.dr-toolbar>*,.dr-head-actions>*{flex:1 1 100%!important}table:not(.mobile-keep-layout) th,table:not(.mobile-keep-layout) td,.premium-table th,.premium-table td,.rc-table th,.rc-table td{padding:5px 6px!important;font-size:.75rem!important}}@media(max-width:900px)and (orientation:landscape)and (max-height:500px){.elite-header{position:static!important}.app-content-scroll{padding-bottom:60px!important}.mobile-top-bar{height:50px!important;min-height:50px!important;padding-top:0!important}}@media(max-width:768px){.mobile-bottom-nav{height:calc(64px + env(safe-area-inset-bottom,0px))!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;padding-left:env(safe-area-inset-left,0px)!important;padding-right:env(safe-area-inset-right,0px)!important;background:#ffffffe0!important;backdrop-filter:blur(24px) saturate(1.8)!important;-webkit-backdrop-filter:blur(24px) saturate(1.8)!important;border-top:1px solid rgba(0,0,0,.06)!important;box-shadow:0 -4px 24px #00000012!important;z-index:9997!important}.mobile-bottom-nav .bn-item{flex:1!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;padding:8px 4px!important;border-radius:0!important;position:relative!important;background:none!important;border:none!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;transition:transform .12s ease!important;color:#64748b!important}.mobile-bottom-nav .bn-item:active{transform:scale(.88)!important}.mobile-bottom-nav .bn-item i{font-size:1.45rem!important;line-height:1!important;transition:transform .2s cubic-bezier(.34,1.56,.64,1)!important}.mobile-bottom-nav .bn-item span{font-size:.6rem!important;font-weight:700!important;letter-spacing:.01em!important;text-transform:none!important;line-height:1!important}.mobile-bottom-nav .bn-item.active{color:var(--primary, #2563EB)!important}.mobile-bottom-nav .bn-item.active i{transform:translateY(-1px) scale(1.08)!important;color:var(--primary, #2563EB)!important}.mobile-bottom-nav .bn-item.active span{color:var(--primary, #2563EB)!important;font-weight:800!important}.mobile-bottom-nav .bn-item.active:before{content:""!important;position:absolute!important;top:6px!important;left:50%!important;transform:translate(-50%)!important;width:56px!important;height:32px!important;background:color-mix(in srgb,var(--primary, #2563EB) 14%,transparent)!important;border-radius:999px!important;z-index:-1!important}#moduleContentPlaceholder,.app-content-scroll,.main-content-wrapper{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}}[data-theme=dark] .mobile-bottom-nav,.dark .mobile-bottom-nav{background:#0f172aeb!important;border-top:1px solid rgba(255,255,255,.07)!important;box-shadow:0 -4px 24px #0006!important}[data-theme=dark] .mobile-bottom-nav .bn-item,.dark .mobile-bottom-nav .bn-item{color:#94a3b8!important}[data-theme=dark] .mobile-bottom-nav .bn-item.active,.dark .mobile-bottom-nav .bn-item.active,[data-theme=dark] .mobile-bottom-nav .bn-item.active i,.dark .mobile-bottom-nav .bn-item.active i,[data-theme=dark] .mobile-bottom-nav .bn-item.active span,.dark .mobile-bottom-nav .bn-item.active span{color:#60a5fa!important}[data-theme=dark] .mobile-bottom-nav .bn-item.active:before,.dark .mobile-bottom-nav .bn-item.active:before{background:#60a5fa24!important}@media(max-width:1024px){.elite-sidebar{border-radius:0 20px 20px 0!important;padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;box-shadow:4px 0 40px #00000073!important;background:var(--bg-sidebar, #0f172a)!important;border-right:1px solid rgba(255,255,255,.08)!important;color:var(--sidebar-text, #f8fafc)!important}.elite-sidebar .elite-brand-name{color:#fff!important}.elite-sidebar .elite-brand-tag{color:#38bdf8!important;opacity:1!important;font-weight:850!important}.elite-sidebar .elite-group-header{color:#38bdf8!important;opacity:1!important;font-size:.65rem!important;font-weight:850!important;letter-spacing:.08em!important;padding:.4rem 0 .15rem .5rem!important;margin-top:.2rem!important}.elite-sidebar .elite-nav-item{color:#fff!important;opacity:1!important;padding:.4rem .65rem!important;min-height:38px!important;margin-bottom:2px!important}.elite-sidebar .elite-nav-item .eni-label{color:#fff!important;font-weight:700!important}.elite-sidebar .elite-nav-item .eni-icon-wrapper{color:#e2e8f0!important}.elite-sidebar .elite-nav-item:hover{background:#ffffff1a!important;color:#fff!important}.elite-sidebar .elite-nav-item.active{background:linear-gradient(180deg,#ffffff2e,#fff0),#fff!important;color:#0f172a!important;border:1px solid rgba(255,255,255,.92)!important}.elite-sidebar .elite-nav-item.active .eni-label,.elite-sidebar .elite-nav-item.active .eni-icon-wrapper{color:#0f172a!important}.elite-sidebar #sidebarSearchInput{color:#fff!important;background:#ffffff0f!important}.elite-sidebar .esb-icon{color:#fff6!important}.drawer-overlay{background:#00000085!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important}.eni-icon-wrapper{width:28px!important;height:28px!important;font-size:1.2rem!important}.eni-label{font-size:.9rem!important}}@media(max-width:768px){.app-layout{flex-direction:column!important}.app-main-wrapper{width:100%!important;flex:1!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.app-main-wrapper>main{flex:1!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important}.main-content-wrapper{padding:1rem!important}}.pwa-install-banner{position:fixed;bottom:24px;left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:620px;background:#0f172af2;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:1rem 1.25rem;box-shadow:0 20px 40px -10px #0009,0 0 25px #2563eb40;z-index:999990;transition:all .35s cubic-bezier(.16,1,.3,1);animation:pwaSlideUp .4s ease-out}.pwa-banner-hiding{opacity:0;transform:translate(-50%,20px) scale(.95);pointer-events:none}@keyframes pwaSlideUp{0%{opacity:0;transform:translate(-50%,30px)}to{opacity:1;transform:translate(-50%)}}.pwa-banner-content{display:flex;align-items:center;gap:1rem}.pwa-banner-logo{flex-shrink:0;width:48px;height:48px;border-radius:12px;background:#ffffff0f;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.1)}.pwa-banner-text{flex:1;min-width:0}.pwa-banner-title{font-size:1rem;font-weight:700;color:#fff;letter-spacing:-.02em;margin-bottom:.2rem}.pwa-banner-sub{font-size:.825rem;color:#94a3b8;line-height:1.35}.pwa-banner-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.pwa-btn{padding:.55rem 1.1rem;border-radius:10px;font-weight:600;font-size:.875rem;cursor:pointer;border:none;transition:all .2s ease;display:inline-flex;align-items:center;gap:.4rem}.pwa-btn-primary{background:linear-gradient(135deg,#2563eb,#3b82f6);color:#fff;box-shadow:0 4px 12px #2563eb59}.pwa-btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#2563eb);transform:translateY(-1px)}.pwa-btn-ghost{background:transparent;color:#94a3b8}.pwa-btn-ghost:hover{color:#fff;background:#ffffff14}.pwa-update-banner{position:fixed;top:16px;left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:580px;background:#0f172af5;backdrop-filter:blur(16px);border:1px solid rgba(56,189,248,.3);border-radius:16px;padding:.85rem 1.15rem;box-shadow:0 12px 30px #0006;z-index:999995;animation:pwaSlideDown .35s ease-out}@keyframes pwaSlideDown{0%{opacity:0;transform:translate(-50%,-20px)}to{opacity:1;transform:translate(-50%)}}.pwa-update-content{display:flex;align-items:center;gap:.85rem}.pwa-update-text{flex:1;font-size:.875rem;color:#e2e8f0;display:flex;flex-direction:column}.pwa-update-text strong{color:#fff;font-weight:600}.pwa-update-text span{font-size:.8rem;color:#94a3b8}.pwa-btn-accent{background:#0ea5e9;color:#fff}.pwa-btn-accent:hover{background:#0284c7}.pwa-btn-ghost-dark{background:#ffffff0f;color:#cbd5e1}.pwa-btn-ghost-dark:hover{background:#ffffff1f;color:#fff}.pwa-offline-toast,.pwa-online-toast{position:fixed;bottom:20px;right:20px;z-index:999999;animation:pwaToastIn .3s ease-out}@keyframes pwaToastIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.pwa-toast-inner{display:flex;align-items:center;gap:.65rem;padding:.75rem 1.1rem;border-radius:12px;font-size:.875rem;font-weight:500;box-shadow:0 10px 25px #0000004d}.pwa-toast-inner.offline{background:#7f1d1d;color:#fee2e2;border:1px solid #991B1B}.pwa-toast-inner.online{background:#065f46;color:#d1fae5;border:1px solid #047857}@media(display-mode:standalone){body{-webkit-user-select:none;user-select:none}.titlebar-area{position:fixed;left:env(titlebar-area-x,0);top:env(titlebar-area-y,0);width:env(titlebar-area-width,100%);height:env(titlebar-area-height,32px);-webkit-app-region:drag;app-region:drag;z-index:9999}.titlebar-no-drag{-webkit-app-region:no-drag;app-region:no-drag}}
