/* Colours and typography retained from the supplied EduNova dashboard HTML. */
body.edunova-file-theme{--bg:#f6f8fb;--panel:#fff;--ink:#1e293b;--mute:#64748b;--line:#e5eaf1;--side:#fff;--sidetx:#475569;--accent:#2563eb;--gold:#d97706;--green:#16a34a;--red:#dc2626;--soft:#eef3fd;--goldsoft:#fef3c7;--redsoft:#fee2e2}
.dark body.edunova-file-theme{--bg:#0f172a;--panel:#1e293b;--ink:#f1f5f9;--mute:#94a3b8;--line:#334155;--side:#111c33;--sidetx:#b4c0d3;--accent:#6b9bff;--soft:#22304f}

@media (prefers-color-scheme:dark){}
#tab-dashboard.edunova-file-dashboard h1,#tab-dashboard.edunova-file-dashboard h2,#tab-dashboard.edunova-file-dashboard h3,#tab-dashboard.edunova-file-dashboard .big{font-family:"Bricolage Grotesque","Hanken Grotesk",sans-serif;letter-spacing:-.02em}
#tab-dashboard.edunova-file-dashboard .brand{display:flex;gap:10px;align-items:center;color:var(--ink);font:800 20px "Bricolage Grotesque",sans-serif;padding:0 8px 22px}
#tab-dashboard.edunova-file-dashboard .brand i{width:34px;height:34px;border-radius:10px;background:var(--accent);display:grid;place-items:center;color:#fff;font-style:normal}
#tab-dashboard.edunova-file-dashboard .search{flex:1;min-width:200px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px 14px;color:var(--mute)}
#tab-dashboard.edunova-file-dashboard .btn{background:var(--accent);color:#fff;border:0;border-radius:12px;padding:10px 16px;font:600 14px inherit;font-family:inherit;cursor:pointer}
#tab-dashboard.edunova-file-dashboard .btn.alt{background:var(--panel);color:var(--ink);border:1px solid var(--line)}
#tab-dashboard.edunova-file-dashboard .btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
#tab-dashboard.edunova-file-dashboard .who{text-align:right;font-size:13px;color:var(--mute);line-height:1.3}#tab-dashboard.edunova-file-dashboard .who b{color:var(--ink);display:block;font-size:14px}
#tab-dashboard.edunova-file-dashboard h1{font-size:30px;font-weight:800}
#tab-dashboard.edunova-file-dashboard .sub{color:var(--mute);margin:2px 0 20px}
#tab-dashboard.edunova-file-dashboard .grid{display:grid;gap:16px}
#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1.5fr 1fr}
#tab-dashboard.edunova-file-dashboard .card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px}
#tab-dashboard.edunova-file-dashboard .fee{background:var(--soft);color:var(--ink);position:relative;overflow:hidden}
#tab-dashboard.edunova-file-dashboard .fee .lbl{color:var(--mute);font-size:14px}
#tab-dashboard.edunova-file-dashboard .big{font-size:52px;font-weight:800;line-height:1.1;margin:6px 0 4px}
#tab-dashboard.edunova-file-dashboard .bar{height:14px;border-radius:99px;background:var(--panel);margin:18px 0 8px;overflow:hidden}
#tab-dashboard.edunova-file-dashboard .bar span{display:block;height:100%;width:42%;background:var(--accent);border-radius:99px}
#tab-dashboard.edunova-file-dashboard .row{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px}
#tab-dashboard.edunova-file-dashboard .fee .btn{margin-top:18px}
#tab-dashboard.edunova-file-dashboard .att{display:flex;flex-direction:column;gap:12px}
#tab-dashboard.edunova-file-dashboard .file-attendance-layout{display:flex;gap:18px;align-items:center}
#tab-dashboard.edunova-file-dashboard .file-attendance-layout svg{width:110px;height:110px;flex-shrink:0}
#tab-dashboard.edunova-file-dashboard .stats{grid-template-columns:repeat(4,1fr);margin-top:16px}
#tab-dashboard.edunova-file-dashboard .stat .lbl{color:var(--mute);font-size:13px}
#tab-dashboard.edunova-file-dashboard .stat .n{font:800 32px "Bricolage Grotesque",sans-serif;margin-top:4px}
#tab-dashboard.edunova-file-dashboard .stat .n.g{color:var(--green)}#tab-dashboard.edunova-file-dashboard .stat .n.r{color:var(--red)}#tab-dashboard.edunova-file-dashboard .stat .n.o{color:#b9780f}
#tab-dashboard.edunova-file-dashboard .stat p{font-size:13px;color:var(--mute)}
#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1.6fr 1fr;margin-top:16px}
#tab-dashboard.edunova-file-dashboard h2{font-size:19px;margin-bottom:2px}
#tab-dashboard.edunova-file-dashboard .chart{width:100%;height:auto;margin-top:10px}
#tab-dashboard.edunova-file-dashboard .chart text{fill:var(--mute);font-size:11px;font-family:inherit}
#tab-dashboard.edunova-file-dashboard .act{list-style:none;padding:0;margin-top:12px;display:flex;flex-direction:column;gap:14px}
#tab-dashboard.edunova-file-dashboard .act li{display:flex;gap:12px}
#tab-dashboard.edunova-file-dashboard .dot{width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--green);flex-shrink:0}
#tab-dashboard.edunova-file-dashboard .act small{color:var(--mute)}
#tab-dashboard.edunova-file-dashboard .quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
#tab-dashboard.edunova-file-dashboard .quick .btn{background:var(--soft);color:var(--ink);text-align:left}
#tab-dashboard.edunova-file-dashboard .pill{display:inline-block;padding:2px 10px;border-radius:99px;font-size:12px;font-weight:600}
@media(max-width:1000px){#tab-dashboard.edunova-file-dashboard .top,#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1fr}#tab-dashboard.edunova-file-dashboard .stats{grid-template-columns:1fr 1fr}}
@media(max-width:760px){#tab-dashboard.edunova-file-dashboard .big{font-size:42px}}
/* Existing EduNova shell uses the exact palette supplied above. */
body.edunova-file-theme{background:var(--bg);color:var(--ink);font-family:'Hanken Grotesk',system-ui,sans-serif;font-size:15px;line-height:1.5}
body.edunova-file-theme main{max-width:none;margin-left:0;margin-right:0;padding:28px 28px 40px}
#tab-dashboard.edunova-file-dashboard .grid>*{min-width:0}
#tab-dashboard.edunova-file-dashboard{margin-top:0!important;min-width:0}
body.edunova-file-theme #sidebar{width:232px!important;background:var(--side)!important;border-color:var(--line)!important;color:var(--sidetx)}
body.edunova-file-theme #sidebar .nav-item{color:var(--sidetx);font-size:14px;font-weight:500;border-radius:10px;padding:10px 12px;gap:12px}
body.edunova-file-theme #sidebar .nav-item i{color:var(--sidetx);background:none;border-radius:0;font-size:16px;min-width:20px}
body.edunova-file-theme #sidebar .nav-item:hover,body.edunova-file-theme #sidebar .nav-item:focus-visible{background:var(--soft)}
body.edunova-file-theme #sidebar .nav-item.nav-active{background:var(--soft)!important;color:var(--accent)!important;border:0!important;font-weight:600;box-shadow:none}
body.edunova-file-theme #sidebar .nav-item.nav-active i{color:var(--accent)}
body.edunova-file-theme #sidebar div.uppercase{color:var(--mute);font-size:12px}
body.edunova-file-theme #school-sidebar-logout{background:var(--soft);border-color:var(--line);color:var(--accent)}
body.edunova-file-theme>header{background:var(--panel);border-color:var(--line);box-shadow:none}
body.edunova-file-theme>header a[href='#']>div:first-child{background:var(--accent);box-shadow:none;border-radius:10px}
body.edunova-file-theme>header a[href='#'] span:first-child{background:none;color:var(--ink);font-family:'Bricolage Grotesque',sans-serif}
body.edunova-file-theme>header [onclick*='addStudentModal']{background:var(--accent);color:#fff;box-shadow:none;border-radius:12px}
body.edunova-file-theme #globalSearch{background:var(--panel);border-color:var(--line);color:var(--ink)}
#tab-dashboard.edunova-file-dashboard .btn{font-size:14px;font-weight:600;min-height:42px;box-shadow:none}
#tab-dashboard.edunova-file-dashboard [data-metric]{cursor:pointer}
#tab-dashboard.edunova-file-dashboard [data-metric]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
#tab-dashboard.edunova-file-dashboard .file-revenue-chart{position:relative;width:100%;height:220px;margin-top:10px}
#tab-dashboard.edunova-file-dashboard .school-chart-fallback{height:100%;overflow:auto}
#tab-dashboard.edunova-file-dashboard .school-chart-fallback table{min-width:0;width:100%;font-size:11px}
#tab-dashboard.edunova-file-dashboard .school-chart-fallback td:last-child{min-width:0}
#tab-dashboard.edunova-file-dashboard .school-chart-fallback td,#tab-dashboard.edunova-file-dashboard .school-chart-fallback th{padding:7px}
#tab-dashboard.edunova-file-dashboard #file-attendance-text span{color:var(--mute)}
#tab-dashboard.edunova-file-dashboard .big{overflow-wrap:anywhere}
@media(max-width:760px){body.edunova-file-theme main{padding:16px!important}#tab-dashboard.edunova-file-dashboard .file-attendance-layout{gap:14px}#tab-dashboard.edunova-file-dashboard h1{font-size:26px}#tab-dashboard.edunova-file-dashboard .quick{grid-template-columns:1fr}}
@media(max-width:390px){#tab-dashboard.edunova-file-dashboard .file-attendance-layout{align-items:flex-start;flex-direction:column}#tab-dashboard.edunova-file-dashboard .card{padding:16px}}
body.edunova-file-theme #sidebar>div[class*='bg-gradient-to-br']{background:var(--soft);color:var(--ink);box-shadow:none;border:1px solid var(--line)}
body.edunova-file-theme #sidebar>div[class*='bg-gradient-to-br']>.absolute{display:none}
body.edunova-file-theme #sidebar>div[class*='bg-gradient-to-br'] p{color:var(--mute)}
body.edunova-file-theme #sidebar>div[class*='bg-gradient-to-br'] button{background:var(--panel);border-color:var(--line);color:var(--ink)}
#tab-dashboard.edunova-file-dashboard .school-chart-fallback th{background:var(--bg);color:var(--mute)}
#tab-dashboard.edunova-file-dashboard .school-chart-fallback td{color:var(--ink);border-color:var(--line)}

/* Reference layout: summary row, compact action tiles, paired charts. */
#tab-dashboard.edunova-file-dashboard h1{font-size:26px}
#tab-dashboard.edunova-file-dashboard .sub{margin-bottom:18px}
#tab-dashboard.edunova-file-dashboard .stats{margin:0 0 18px;gap:16px}
#tab-dashboard.edunova-file-dashboard .stat{position:relative;padding:18px 20px 18px 68px;min-height:112px}
#tab-dashboard.edunova-file-dashboard .stat:before{position:absolute;left:18px;top:22px;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--soft);color:var(--accent);font-size:20px;content:'♟'}
#tab-dashboard.edunova-file-dashboard [data-metric=pending]:before{content:'₨';color:var(--gold);background:var(--goldsoft)}
#tab-dashboard.edunova-file-dashboard [data-metric=absent]:before{content:'◷';color:var(--red);background:var(--redsoft)}
#tab-dashboard.edunova-file-dashboard [data-metric=staff]:before{content:'♟';color:var(--green)}
#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1.25fr 1fr .8fr;gap:18px}
#tab-dashboard.edunova-file-dashboard .fee{border-top:4px solid var(--accent)}
#tab-dashboard.edunova-file-dashboard .att{border-top:4px solid var(--green)}
#tab-dashboard.edunova-file-dashboard .dashboard-actions{border-top:4px solid var(--gold);background:var(--goldsoft);display:flex;flex-direction:column;gap:10px}
#tab-dashboard.edunova-file-dashboard .dashboard-actions p,#tab-dashboard.edunova-file-dashboard .dashboard-chart-note{color:var(--mute);font-size:13px}
#tab-dashboard.edunova-file-dashboard .big{font-size:38px}
#tab-dashboard.edunova-file-dashboard .file-attendance-layout svg{width:90px;height:90px}
#tab-dashboard.edunova-file-dashboard .att>.btn{margin-top:auto}
#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1.6fr 1fr;margin-top:18px;gap:18px}
#tab-dashboard.edunova-file-dashboard .file-revenue-chart{height:260px}
#tab-dashboard.edunova-file-dashboard .dashboard-bottom{margin-top:18px}
#tab-dashboard.edunova-file-dashboard .act{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#tab-dashboard.edunova-file-dashboard .quick{max-width:440px}
@media(max-width:1100px){#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr 1fr}#tab-dashboard.edunova-file-dashboard .dashboard-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}#tab-dashboard.edunova-file-dashboard .dashboard-actions h2,#tab-dashboard.edunova-file-dashboard .dashboard-actions p{grid-column:1/-1}#tab-dashboard.edunova-file-dashboard .act{grid-template-columns:1fr 1fr}}
@media(max-width:760px){#tab-dashboard.edunova-file-dashboard .top,#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1fr}#tab-dashboard.edunova-file-dashboard .stats{grid-template-columns:1fr 1fr}#tab-dashboard.edunova-file-dashboard .stat{padding:16px;min-height:110px}#tab-dashboard.edunova-file-dashboard .stat:before{display:none}#tab-dashboard.edunova-file-dashboard .dashboard-actions,#tab-dashboard.edunova-file-dashboard .act{display:flex;flex-direction:column}#tab-dashboard.edunova-file-dashboard .file-revenue-chart{height:230px}}
/* Approved image reference: navy navigation and saturated overview tiles. */
body.edunova-file-theme{--bg:#f1f3fa;--side:#202c64;--sidetx:#dce3ff;background:var(--bg)}
body.edunova-file-theme main{background:var(--bg);padding:24px}
body.edunova-file-theme #sidebar{background:linear-gradient(180deg,#25336f,#19234f)!important;border-color:#26366f!important;color:#dce3ff}
body.edunova-file-theme #sidebar .nav-item,body.edunova-file-theme #sidebar .nav-item i{color:#dce3ff}
body.edunova-file-theme #sidebar .nav-item{border-radius:7px;padding:12px;font-weight:500}
body.edunova-file-theme #sidebar .nav-item:hover,body.edunova-file-theme #sidebar .nav-item:focus-visible{background:#344781}
body.edunova-file-theme #sidebar .nav-item.nav-active{background:#3a4f94!important;color:#fff!important;box-shadow:inset 3px 0 #70c3ff}
body.edunova-file-theme #sidebar .nav-item.nav-active i{color:#fff}
body.edunova-file-theme #sidebar div.uppercase{color:#9faedb}
body.edunova-file-theme #sidebar>div[class*='bg-gradient-to-br']{background:#29386b;color:#fff;border-color:#3c4e83}
body.edunova-file-theme #sidebar>div[class*='bg-gradient-to-br'] p{color:#c6d2ef}
body.edunova-file-theme #sidebar>div[class*='bg-gradient-to-br'] button,body.edunova-file-theme #school-sidebar-logout{background:#34477f;color:#fff;border-color:#485b90}
#tab-dashboard.edunova-file-dashboard h1{font-size:24px}
#tab-dashboard.edunova-file-dashboard .card{border-radius:9px;border-color:#e1e6f1;box-shadow:0 3px 12px #283b6810}
#tab-dashboard.edunova-file-dashboard .stats{gap:14px;margin-bottom:18px}
#tab-dashboard.edunova-file-dashboard .stat{min-height:104px;background:#fff}
#tab-dashboard.edunova-file-dashboard .stat .n{font-size:30px}
#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1.2fr 1fr .85fr;gap:16px}
#tab-dashboard.edunova-file-dashboard .fee{background:linear-gradient(115deg,#209bd7,#35b8e9);border:0;color:#fff}
#tab-dashboard.edunova-file-dashboard .fee .lbl,#tab-dashboard.edunova-file-dashboard .fee .row{color:#fff}
#tab-dashboard.edunova-file-dashboard #file-fee-pending{color:#fff!important}
#tab-dashboard.edunova-file-dashboard .fee .bar{background:#ffffff50}
#tab-dashboard.edunova-file-dashboard .fee .bar span{background:#fff}
#tab-dashboard.edunova-file-dashboard .fee .btn{background:#1475ac;color:#fff;border:1px solid #ffffff65}
#tab-dashboard.edunova-file-dashboard .att{background:linear-gradient(115deg,#138ba6,#14b9ae);border:0;color:#fff}
#tab-dashboard.edunova-file-dashboard .att h2,#tab-dashboard.edunova-file-dashboard #file-attendance-text span{color:#fff}
#tab-dashboard.edunova-file-dashboard #file-attendance-ring circle:first-child{stroke:#ffffff50}
#tab-dashboard.edunova-file-dashboard #file-attendance-stroke{stroke:#fff}
#tab-dashboard.edunova-file-dashboard #file-attendance-percent{fill:#fff}
#tab-dashboard.edunova-file-dashboard .att>.btn{background:#087c87;color:#fff;border-color:#ffffff65}
#tab-dashboard.edunova-file-dashboard .dashboard-actions{background:linear-gradient(115deg,#f7ac12,#f9c741);border:0;color:#402c05}
#tab-dashboard.edunova-file-dashboard .dashboard-actions p{color:#58420d}
#tab-dashboard.edunova-file-dashboard .dashboard-actions .btn{background:#fff9e8;color:#61420b;border:1px solid #ffffff80}
#tab-dashboard.edunova-file-dashboard .dashboard-actions .btn:first-of-type{background:#c78108;color:#fff}
#tab-dashboard.edunova-file-dashboard .big{font-size:36px}
#tab-dashboard.edunova-file-dashboard .low{gap:16px;margin-top:18px}
#tab-dashboard.edunova-file-dashboard .file-revenue-chart{height:240px}
#tab-dashboard.edunova-file-dashboard .dashboard-bottom .act{font-size:13px}
@media(max-width:1100px){#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr 1fr}}
@media(max-width:760px){body.edunova-file-theme main{padding:16px}#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr}#tab-dashboard.edunova-file-dashboard .big{font-size:32px}}

/* Layout proportions matched to the supplied full-size reference. */
body.edunova-file-theme{--bg:#edeef7}
body.edunova-file-theme main{padding:18px 22px}
body.edunova-file-theme #sidebar{background:#1d285e!important}
#tab-dashboard.edunova-file-dashboard h1{font-size:20px;margin-bottom:14px}
#tab-dashboard.edunova-file-dashboard>.sub{display:none}
#tab-dashboard.edunova-file-dashboard .stats{gap:18px}
#tab-dashboard.edunova-file-dashboard .stat{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-content:center;padding:18px;min-height:96px}
#tab-dashboard.edunova-file-dashboard .stat:before{display:none}
#tab-dashboard.edunova-file-dashboard .stat .n{grid-row:1/3;grid-column:1;font-size:40px;margin:0;color:var(--ink);line-height:1.2}
#tab-dashboard.edunova-file-dashboard .stat .lbl{grid-column:2;align-self:end;font-size:15px;color:var(--ink)}
#tab-dashboard.edunova-file-dashboard .stat p{grid-column:2;font-size:11px}
#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1.15fr 1.15fr 1.15fr .42fr;gap:14px;background:var(--panel);padding:16px;border-radius:12px}
#tab-dashboard.edunova-file-dashboard .top>.card{border-radius:9px;padding:14px;min-height:136px;position:relative}
#tab-dashboard.edunova-file-dashboard .top h2,#tab-dashboard.edunova-file-dashboard .fee .lbl{font-size:14px;font-weight:500}
#tab-dashboard.edunova-file-dashboard .big{font-size:28px;margin:6px 0}
#tab-dashboard.edunova-file-dashboard .fee{background:linear-gradient(120deg,#32bbdf,#3487ed)}
#tab-dashboard.edunova-file-dashboard .att{background:linear-gradient(110deg,#13bba7,#177c9c);gap:4px}
#tab-dashboard.edunova-file-dashboard .fee .bar,#tab-dashboard.edunova-file-dashboard #file-fee-target,#tab-dashboard.edunova-file-dashboard .fee .row{display:none}
#tab-dashboard.edunova-file-dashboard .file-attendance-layout{gap:12px;font-size:12px}
#tab-dashboard.edunova-file-dashboard .file-attendance-layout svg{width:52px;height:52px}
#tab-dashboard.edunova-file-dashboard .top .btn{margin-top:auto;min-height:28px;padding:4px 9px;font-size:11px;align-self:flex-start;background:#ffffff24;color:#fff;border:1px solid #ffffff55;border-radius:5px}
#tab-dashboard.edunova-file-dashboard .fee .btn{margin-top:7px}
#tab-dashboard.edunova-file-dashboard .dashboard-actions{background:linear-gradient(120deg,#f8b61d,#f69d00);color:#fff;gap:0}
#tab-dashboard.edunova-file-dashboard .dashboard-pending{background:#ec8eb0;color:#fff;display:flex;flex-direction:column}
#tab-dashboard.edunova-file-dashboard .dashboard-pending h2{font-size:12px}
#tab-dashboard.edunova-file-dashboard .dashboard-pending .btn{padding:3px;font-size:10px}
#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1.3fr 1fr}
#tab-dashboard.edunova-file-dashboard .low h2{font-size:17px;font-weight:700}
#tab-dashboard.edunova-file-dashboard .file-revenue-chart{height:240px}
#tab-dashboard.edunova-file-dashboard .dashboard-bottom>.card{padding:18px}
#tab-dashboard.edunova-file-dashboard .act{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1100px){#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr 1fr}#tab-dashboard.edunova-file-dashboard .dashboard-actions{grid-column:auto;display:flex}#tab-dashboard.edunova-file-dashboard .dashboard-pending{grid-column:auto}}
@media(max-width:760px){#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr 1fr}#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1fr}#tab-dashboard.edunova-file-dashboard .stat{padding:12px;column-gap:8px}#tab-dashboard.edunova-file-dashboard .stat .n{font-size:30px}#tab-dashboard.edunova-file-dashboard .stat .lbl{font-size:12px}#tab-dashboard.edunova-file-dashboard .act{display:flex}}
@media(max-width:420px){#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr}}
/* Balanced card sizing and clear interactive states. */
#tab-dashboard.edunova-file-dashboard{width:100%;max-width:1480px;margin-inline:auto}
#tab-dashboard.edunova-file-dashboard .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#tab-dashboard.edunova-file-dashboard .stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:130px;padding:20px 24px;gap:3px}
#tab-dashboard.edunova-file-dashboard .stat .n{font-size:34px;order:-1;line-height:1.15}
#tab-dashboard.edunova-file-dashboard .stat .lbl{align-self:auto;font-size:14px;font-weight:600}
#tab-dashboard.edunova-file-dashboard .stat p{font-size:12px}
#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0;background:transparent}
#tab-dashboard.edunova-file-dashboard .top>.card{min-height:174px;padding:20px;display:flex;flex-direction:column;gap:7px}
#tab-dashboard.edunova-file-dashboard .top .big{font-size:30px;margin:3px 0}
#tab-dashboard.edunova-file-dashboard .top .btn{margin-top:auto;min-height:32px;padding:6px 12px;font-size:12px}
#tab-dashboard.edunova-file-dashboard .file-attendance-layout{font-size:12px;gap:10px;flex:1}
#tab-dashboard.edunova-file-dashboard .file-attendance-layout svg{width:58px;height:58px}
#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1.25fr 1fr;gap:18px;margin-top:20px}
#tab-dashboard.edunova-file-dashboard .low>.card{padding:20px}
#tab-dashboard.edunova-file-dashboard .file-revenue-chart{height:220px}
#tab-dashboard.edunova-file-dashboard .card{transition:background-color .2s,color .2s,box-shadow .2s,transform .2s;border-radius:12px}
#tab-dashboard.edunova-file-dashboard .stat:nth-child(1){--hover-color:#2563eb}
#tab-dashboard.edunova-file-dashboard .stat:nth-child(2){--hover-color:#b77908}
#tab-dashboard.edunova-file-dashboard .stat:nth-child(3){--hover-color:#d84468}
#tab-dashboard.edunova-file-dashboard .stat:nth-child(4){--hover-color:#088b85}
#tab-dashboard.edunova-file-dashboard .stat:is(:hover,:focus-visible){background:var(--hover-color);color:#fff;border-color:var(--hover-color);transform:translateY(-3px);box-shadow:0 10px 22px #20346625}
#tab-dashboard.edunova-file-dashboard .stat:is(:hover,:focus-visible) :is(.n,.lbl,p){color:#fff}
#tab-dashboard.edunova-file-dashboard .top>.card:hover{transform:translateY(-3px);filter:saturate(1.12);box-shadow:0 10px 22px #20346625}
#tab-dashboard.edunova-file-dashboard .low>.card:hover,#tab-dashboard.edunova-file-dashboard .dashboard-bottom>.card:hover{background:#f1f6ff;border-color:#a4c1f8}
#tab-dashboard.edunova-file-dashboard .btn:hover{filter:brightness(1.1);box-shadow:0 3px 9px #172b4d20}
@media(max-width:1100px){#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:repeat(2,minmax(0,1fr))}#tab-dashboard.edunova-file-dashboard .stat{padding:18px}#tab-dashboard.edunova-file-dashboard .stat .n{font-size:28px}}
@media(max-width:760px){#tab-dashboard.edunova-file-dashboard .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#tab-dashboard.edunova-file-dashboard .low{grid-template-columns:1fr}#tab-dashboard.edunova-file-dashboard .top>.card{padding:16px;min-height:168px}}
@media(max-width:480px){#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#tab-dashboard.edunova-file-dashboard .card{transition:none}#tab-dashboard.edunova-file-dashboard .card:hover{transform:none}}

/* Independent scrolling: fixed header, sidebar navigation and page content. */
@media (min-width:768px){
 body.edunova-file-theme{height:100dvh;min-height:0;overflow:hidden}
 body.edunova-file-theme>div.flex.flex-1.pt-16.min-h-screen{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden;flex:1 1 auto;align-items:stretch}
 body.edunova-file-theme #sidebar{position:relative!important;top:auto!important;bottom:auto!important;inset:auto!important;flex:0 0 auto;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto!important;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#7387b0 transparent}
 body.edunova-file-theme main{height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);min-height:0;min-width:0;flex:1 1 0%;width:0;overflow-y:auto!important;overflow-x:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b7c3d5 transparent}
}
@media (max-width:767px){
 body.edunova-file-theme{min-height:0;height:100dvh;overflow:hidden}
 body.edunova-file-theme>div.flex.flex-1.pt-16.min-h-screen{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden;flex:1 1 auto}
 body.edunova-file-theme #sidebar{position:fixed!important;top:64px!important;bottom:0!important;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto!important;overscroll-behavior-y:contain}
 body.edunova-file-theme main{height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);min-height:0;min-width:0;flex:1 1 auto;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
}


/* Expenses metric: stable high-contrast tile in normal, hover and keyboard focus states. */
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses,
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:hover,
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:focus-visible{
 background:linear-gradient(115deg,#0f766e,#0d9488)!important;
 border:1px solid #0f766e!important;
 color:#fff!important;
 cursor:pointer;
}
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses .lbl,
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses .n,
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses p,
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:hover .lbl,
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:hover .n,
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:hover p{
 color:#fff!important;
}
#tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:focus-visible{
 outline:3px solid #fbbf24;
 outline-offset:3px;
}


/* Expense dashboard tile: solid indigo, no white hover flash. */
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:hover,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:focus,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:active{
 background:#4338ca!important;
 background-image:none!important;
 border-color:#3730a3!important;
 color:#fff!important;
 box-shadow:0 5px 15px rgba(49,46,129,.2)!important;
}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses :is(.lbl,.n,p),
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:hover :is(.lbl,.n,p){
 color:#fff!important;
}


/* Net Profit/Loss: always readable on hover; amber for profit, rose for loss. */
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit:hover,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit:focus-visible{
 background:#b45309!important;background-image:none!important;border-color:#92400e!important;color:#fff!important;cursor:pointer;
}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit.is-loss,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit.is-loss:hover{
 background:#be123c!important;border-color:#9f1239!important;
}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit :is(.lbl,.n,p),
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit:hover :is(.lbl,.n,p){color:#fff!important}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}


/* Expenses and profit tiles stay neutral; vivid colors appear only on hover/focus. */
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit,
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit.is-loss{
 background:#fff!important;background-image:none!important;border:1px solid #e1e6f1!important;color:#1e293b!important;box-shadow:0 3px 12px #283b6810!important;
 transition:background-color .18s ease,color .18s ease,box-shadow .18s ease;
}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses :is(.lbl,.n,p),
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit :is(.lbl,.n,p){color:#1e293b!important}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:is(:hover,:focus-visible){
 background:#4338ca!important;border-color:#3730a3!important;color:#fff!important;box-shadow:0 8px 22px #4338ca40!important;
}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit:is(:hover,:focus-visible){
 background:#b45309!important;border-color:#92400e!important;color:#fff!important;box-shadow:0 8px 22px #b4530940!important;
}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit.is-loss:is(:hover,:focus-visible){
 background:#be123c!important;border-color:#9f1239!important;color:#fff!important;box-shadow:0 8px 22px #be123c40!important;
}
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-total-expenses:is(:hover,:focus-visible) :is(.lbl,.n,p),
body.edunova-file-theme #tab-dashboard.edunova-file-dashboard #dashboard-net-profit:is(:hover,:focus-visible) :is(.lbl,.n,p){color:#fff!important}

/* Eight compact dashboard statistics, four per row on desktop. */
#tab-dashboard.edunova-file-dashboard #school-live-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
#tab-dashboard.edunova-file-dashboard #school-live-summary .stat{min-width:0;min-height:112px}
#tab-dashboard.edunova-file-dashboard #school-live-summary .stat .n{font-size:clamp(24px,2.5vw,38px);overflow-wrap:anywhere}
#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:950px){#tab-dashboard.edunova-file-dashboard #school-live-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){#tab-dashboard.edunova-file-dashboard #school-live-summary{grid-template-columns:1fr!important}#tab-dashboard.edunova-file-dashboard .top{grid-template-columns:1fr!important}}


/* Dashboard: neutral white cards until hovered or keyboard-focused. */
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat{
 background:#fff!important;background-image:none!important;border:1px solid #e2e8f0!important;
 color:#1e293b!important;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat .lbl,
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat .n,
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat p{color:#1e293b!important}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="students"]:is(:hover,:focus-visible){--tile-hover:#2563eb}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="marked"]:is(:hover,:focus-visible){--tile-hover:#0d9488}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="present"]:is(:hover,:focus-visible){--tile-hover:#16a34a}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="absent"]:is(:hover,:focus-visible){--tile-hover:#dc2626}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="staff"]:is(:hover,:focus-visible){--tile-hover:#7c3aed}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="staff-present"]:is(:hover,:focus-visible){--tile-hover:#0891b2}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="collected"]:is(:hover,:focus-visible){--tile-hover:#15803d}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat[data-metric="pending"]:is(:hover,:focus-visible){--tile-hover:#b45309}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat:is(:hover,:focus-visible){
 background:var(--tile-hover,#2563eb)!important;background-image:none!important;
 border-color:var(--tile-hover,#2563eb)!important;box-shadow:0 10px 24px #0f172a26!important;transform:translateY(-2px);
}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat:is(:hover,:focus-visible) .lbl,
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat:is(:hover,:focus-visible) .n,
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat:is(:hover,:focus-visible) p{color:#fff!important}
@media(prefers-reduced-motion:reduce){#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat{transition:none!important}#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat:is(:hover,:focus-visible){transform:none}}


/* Coaching / Tuition — clean, responsive, independent financial workspace */
#tab-tuition.edunova-tuition-page{display:flex;flex-direction:column;gap:22px}
#tab-tuition.edunova-tuition-page.hidden{display:none!important}
#tab-tuition .tuition-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px 34px;border:1px solid #dce5f0;border-radius:22px;background:linear-gradient(120deg,#f7fbff 0%,#fff 72%);box-shadow:0 8px 25px #2034540b}
#tab-tuition .tuition-eyebrow{display:block;font-size:11px;letter-spacing:.13em;font-weight:800;color:#0f766e;margin-bottom:9px}
#tab-tuition .tuition-hero h2{font-size:clamp(23px,2.3vw,32px);font-weight:800;color:#15243a;line-height:1.2;margin:0 0 9px}
#tab-tuition .tuition-hero p{font-size:14px;color:#61718a;max-width:580px;line-height:1.65;margin:0}
#tab-tuition .tuition-hero-actions{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
#tab-tuition .tuition-month-label{display:flex;flex-direction:column;gap:7px;color:#475569;font-size:12px;font-weight:700}
#tab-tuition .tuition-month-label input{height:46px;border:1px solid #d2deeb;border-radius:11px;background:#fff;color:#1e293b;padding:0 12px;min-width:180px}
#tab-tuition .tuition-primary-action{background:#0f766e!important;border-color:#0f766e!important;color:#fff!important;min-height:46px!important;padding:0 20px!important;border-radius:11px!important;white-space:nowrap}
#tab-tuition .tuition-primary-action:hover{background:#115e59!important}
#tab-tuition .tuition-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#tab-tuition .tuition-stat{min-width:0;display:flex;flex-direction:column;gap:12px;padding:24px 26px;border:1px solid #dfe7f0;border-radius:18px;background:#fff;box-shadow:0 5px 18px #172c4a0b;transition:background .2s,color .2s,transform .2s}
#tab-tuition .tuition-stat-label{font-size:14px;font-weight:700;color:#334155}
#tab-tuition .tuition-stat-value{font-size:clamp(26px,2.6vw,38px);font-weight:800;color:#18253b;overflow-wrap:anywhere}
#tab-tuition .tuition-stat-caption{font-size:12px;color:#718096}
#tab-tuition .tuition-stat-students:hover{background:#2563eb}
#tab-tuition .tuition-stat-collected:hover{background:#0f766e}
#tab-tuition .tuition-stat-pending:hover{background:#b45309}
#tab-tuition .tuition-stat:hover{transform:translateY(-3px);border-color:transparent;box-shadow:0 12px 24px #1e293b20}
#tab-tuition .tuition-stat:hover :is(.tuition-stat-label,.tuition-stat-value,.tuition-stat-caption){color:#fff}
#tab-tuition .tuition-list-card,#tab-tuition .tuition-history-card{border-radius:20px!important}
#tab-tuition .tuition-list-controls{display:flex;margin:18px 0}
#tab-tuition .tuition-list-controls input{width:min(100%,410px);border:1px solid #d2deeb;border-radius:12px;padding:12px 16px;background:#f8fafc;color:#17233a;outline-offset:2px}
#tab-tuition .school-table-wrap{overflow-x:auto}
@media(max-width:950px){#tab-tuition .tuition-hero{flex-direction:column;align-items:stretch}#tab-tuition .tuition-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#tab-tuition .tuition-hero{padding:22px 18px}#tab-tuition .tuition-stats{grid-template-columns:1fr}#tab-tuition .tuition-hero-actions{flex-direction:column;align-items:stretch}#tab-tuition .tuition-month-label input,#tab-tuition .tuition-primary-action{width:100%}}


/* Attendance: roomier summary tiles and two date filters. */
#tab-attendance .edu-attendance-panel{padding:32px!important;border-radius:24px!important}
#tab-attendance .edu-attendance-filters{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;align-items:end}
#tab-attendance .edu-attendance-field{min-width:0}
#tab-attendance .edu-attendance-field :is(input,select){min-height:52px!important;width:100%;border-radius:12px!important}
#tab-attendance .edu-attendance-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important}
#tab-attendance .edu-attendance-stat{min-height:90px!important;padding:20px!important;border-radius:15px!important;display:flex;align-items:center;justify-content:space-between}
#tab-attendance .edu-attendance-stat strong{font-size:28px!important}
#tab-attendance .edu-attendance-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
@media(max-width:1100px){#tab-attendance .edu-attendance-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}#tab-attendance .edu-attendance-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:680px){#tab-attendance .edu-attendance-panel{padding:18px!important}#tab-attendance .edu-attendance-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}#tab-attendance .edu-attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}#tab-attendance .edu-attendance-stat{padding:15px!important}}


/* Student profile — concise identity card above the existing fee history. */
.edu-student-profile-dialog{padding:28px!important;border-radius:22px!important;box-shadow:0 22px 70px #0f172a36!important}
.edu-student-profile-summary{padding:24px 26px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px}
.edu-student-profile-heading{margin-bottom:20px}
.edu-student-profile-heading>span{display:block;color:#0f766e;font-size:11px;letter-spacing:.12em;font-weight:800;margin-bottom:7px}
.edu-student-profile-heading h2{font-size:27px;font-weight:800;color:#14243a;line-height:1.2;margin:0}
.edu-student-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 26px}
.edu-student-profile-detail{min-width:0;display:flex;flex-direction:column;gap:6px;padding-bottom:12px;border-bottom:1px solid #e2e8f0}
.edu-student-profile-detail span{font-size:12px;font-weight:700;color:#64748b}
.edu-student-profile-detail strong{font-size:16px;font-weight:700;color:#17243b;overflow-wrap:anywhere}
@media(max-width:600px){.edu-student-profile-dialog{padding:16px!important}.edu-student-profile-summary{padding:18px}.edu-student-profile-details{grid-template-columns:1fr}.edu-student-profile-heading h2{font-size:23px}}


/* Compact student profile: preserve five fields and the fee history. */
.edu-student-profile-dialog{max-width:min(760px,94vw)!important;width:94%!important;padding:18px!important}
.edu-student-profile-summary{padding:16px 20px!important;border-radius:14px!important}
.edu-student-profile-heading{margin-bottom:12px!important}
.edu-student-profile-heading>span{font-size:10px!important;margin-bottom:4px!important}
.edu-student-profile-heading h2{font-size:22px!important}
.edu-student-profile-details{gap:8px 18px!important}
.edu-student-profile-detail{gap:3px!important;padding-bottom:7px!important}
.edu-student-profile-detail span{font-size:11px!important}
.edu-student-profile-detail strong{font-size:14px!important}
@media(max-width:600px){.edu-student-profile-dialog{width:96%!important;padding:12px!important}.edu-student-profile-summary{padding:14px!important}.edu-student-profile-details{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}}


/* Small student profile panel; history remains scrollable below. */
dialog.edu-student-profile-dialog{width:min(520px,95vw)!important;max-width:520px!important;max-height:85vh!important;padding:12px!important;border-radius:14px!important}
.edu-student-profile-dialog .edu-student-profile-summary{padding:12px 14px!important;border-radius:10px!important}
.edu-student-profile-dialog .edu-student-profile-heading{margin-bottom:8px!important}
.edu-student-profile-dialog .edu-student-profile-heading h2{font-size:19px!important}
.edu-student-profile-dialog .edu-student-profile-details{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px 14px!important}
.edu-student-profile-dialog .edu-student-profile-detail{padding-bottom:5px!important;gap:2px!important}
.edu-student-profile-dialog .edu-student-profile-detail span{font-size:10px!important}
.edu-student-profile-dialog .edu-student-profile-detail strong{font-size:13px!important}
@media(max-width:540px){dialog.edu-student-profile-dialog{width:95vw!important;max-width:95vw!important;padding:10px!important}.edu-student-profile-dialog .edu-student-profile-summary{padding:10px!important}}


/* Consistent sidebar navigation alignment across desktop and mobile. */
body.edunova-file-theme #sidebar .nav-item{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 gap:14px!important;width:100%;min-height:52px;text-align:left!important;
 padding:12px 16px!important;line-height:1.35!important;white-space:normal;
}
body.edunova-file-theme #sidebar .nav-item>div:first-child{
 display:flex;align-items:center;gap:14px;min-width:0;flex:1;margin:0!important;
}
body.edunova-file-theme #sidebar .nav-item i{
 flex:0 0 24px!important;width:24px!important;min-width:24px!important;
 margin:0!important;text-align:center!important;font-size:17px!important;
}
body.edunova-file-theme #sidebar .nav-item>span:not(.rounded-full),
body.edunova-file-theme #sidebar .nav-item>div:first-child>span:not(.rounded-full){
 flex:1;min-width:0;text-align:left!important;margin:0!important;
 font-size:14px!important;font-weight:600;letter-spacing:0!important;
}
body.edunova-file-theme #sidebar .nav-item>span.rounded-full{
 margin-left:auto!important;flex-shrink:0;
}
#profileDropdown button[data-school-logout]{display:none!important}


/* School Admin: one visible logout action in the profile menu, even if legacy scripts inject another. */
#profileDropdown > button:not(#edunova-static-signout),
#profileDropdown > [data-school-logout],
#profileDropdown > div.border-t:last-child{display:none!important}

/* A little more room for readable, consistently aligned sidebar labels. */
body.edunova-file-theme #sidebar{width:282px!important;flex:0 0 282px!important}
body.edunova-file-theme #sidebar .nav-item{min-height:48px!important;padding:10px 13px!important;gap:12px!important}
body.edunova-file-theme #sidebar .nav-item>div:first-child{gap:12px!important}
body.edunova-file-theme #sidebar .nav-item i{flex-basis:24px!important}
body.edunova-file-theme #sidebar .nav-item>span:not(.rounded-full),
body.edunova-file-theme #sidebar .nav-item>div:first-child>span:not(.rounded-full){font-size:14px!important}
@media(max-width:767px){
 body.edunova-file-theme #sidebar{width:min(282px,85vw)!important;flex-basis:auto!important}
}

/* Compact dashboard KPI cards, including on phones. */
#tab-dashboard.edunova-file-dashboard #school-live-summary{gap:12px!important;margin-top:12px!important}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat{
 min-height:0!important;height:auto!important;padding:14px 16px!important;
 border-radius:12px!important;box-shadow:0 3px 10px #243b6210!important;
}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat .n{
 font-size:26px!important;line-height:1.15!important;margin:5px 0!important;overflow-wrap:anywhere;
}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat .lbl{font-size:12px!important}
#tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat p{
 font-size:11px!important;margin:4px 0 0!important;line-height:1.3!important;
}
@media(max-width:600px){
 #tab-dashboard.edunova-file-dashboard #school-live-summary{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
 }
 #tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat{padding:12px!important}
 #tab-dashboard.edunova-file-dashboard #school-live-summary .card.stat .n{font-size:22px!important}
}
@media(max-width:350px){
 #tab-dashboard.edunova-file-dashboard #school-live-summary{grid-template-columns:1fr!important}
}

/* Disabled school modules must remain hidden even with sidebar flex rules. */
body.edunova-file-theme #sidebar .nav-item[hidden]{display:none!important}
