:root{--navy:#0b1530;--navy2:#111f42;--blue:#3559e0;--bg:#f4f7fb;--text:#18233b;--muted:#75809b;--border:#e4e9f2;--card:#fff;--danger:#dc3545}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text)}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:270px;background:linear-gradient(180deg,var(--navy),#081125);color:#fff;padding:22px 16px;display:flex;flex-direction:column;z-index:1040}.brand{display:flex;gap:12px;align-items:center;padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.09);margin-bottom:18px}.brand-mark{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#4768f3,#2944ae);display:grid;place-items:center;font-size:20px}.brand strong,.brand span{display:block}.brand strong{font-size:14px}.brand span{font-size:11px;color:#9eabc8;margin-top:2px}.sidebar .nav-link{color:#b8c3da;border-radius:10px;padding:10px 12px;margin:2px 0;font-weight:600;font-size:13px;display:flex;align-items:center;gap:11px}.sidebar .nav-link:hover,.sidebar .nav-link.active{background:rgba(73,103,239,.18);color:#fff}.sidebar .nav-link i{width:20px;text-align:center}.nav-section{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#64728f;margin:18px 12px 7px}.sidebar-user{margin-top:auto;border-top:1px solid rgba(255,255,255,.09);padding:18px 6px 0;display:flex;align-items:center;gap:10px}.sidebar-user .avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#2944ae;font-weight:800}.sidebar-user strong,.sidebar-user span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user strong{font-size:12px}.sidebar-user span{font-size:10px;color:#8794b1}.sidebar-user a{margin-left:auto;color:#9eabc8}.main{margin-left:270px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:82px;padding:0 28px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:14px;position:sticky;top:0;z-index:1010}.topbar h1{font-size:20px;margin:0;font-weight:800}.crumb{font-size:11px;color:var(--muted);margin-top:3px}.top-actions{margin-left:auto}.content{padding:26px;flex:1}.app-footer{padding:18px 28px;color:#98a2b7;font-size:11px}.card{border:1px solid var(--border);border-radius:15px;box-shadow:0 5px 20px rgba(20,35,70,.035)}.card-header{background:#fff;border-bottom:1px solid var(--border);padding:16px 18px;border-radius:15px 15px 0 0!important}.card-header h5{font-size:14px;font-weight:800;margin:0}.stat-card{padding:18px;position:relative;overflow:hidden}.stat-card .icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf1ff;color:#3559e0;font-size:19px}.stat-card .value{font-weight:800;font-size:26px;margin-top:16px}.stat-card .label{font-size:11px;color:var(--muted);font-weight:600}.table{font-size:12px}.table>:not(caption)>*>*{padding:.8rem .75rem;border-color:#edf0f5;vertical-align:middle}.table thead th{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#7b859b;background:#fafbfe}.btn{border-radius:9px;font-size:12px;font-weight:700}.btn-primary{background:#3559e0;border-color:#3559e0}.form-label{font-size:11px;font-weight:700;color:#4c5871}.form-control,.form-select{border-radius:9px;border-color:#dde3ed;font-size:12px;padding:.65rem .75rem}.section-title{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:#53607a;font-weight:800;margin:8px 0 15px;padding-bottom:8px;border-bottom:1px solid #edf0f5}.badge{font-size:10px;padding:.48em .65em}.profile-hero{background:linear-gradient(135deg,#0c1733,#162a58);color:#fff;border-radius:16px;padding:22px}.profile-hero .photo{width:72px;height:72px;border-radius:16px;background:rgba(255,255,255,.12);display:grid;place-items:center;font-size:28px;font-weight:800}.info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.info-item span{display:block;color:#7a859a;font-size:10px;text-transform:uppercase;letter-spacing:.05em}.info-item strong{font-size:12px;font-weight:700}.timeline{position:relative;margin-left:8px}.timeline:before{content:"";position:absolute;left:7px;top:4px;bottom:4px;width:2px;background:#e7ebf3}.timeline-item{position:relative;padding:0 0 17px 28px}.timeline-item:before{content:"";position:absolute;left:1px;top:3px;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #3559e0}.timeline-item strong{font-size:11px}.timeline-item div{font-size:10px;color:#7f899e}.login-page{min-height:100vh;background:radial-gradient(circle at 20% 10%,#203973 0,#0c1733 38%,#070d1e 100%);display:grid;place-items:center;padding:25px}.login-card{width:min(430px,100%);background:#fff;border-radius:20px;padding:32px;box-shadow:0 20px 60px rgba(0,0,0,.25)}.login-logo{width:54px;height:54px;border-radius:16px;background:#3559e0;color:#fff;display:grid;place-items:center;font-size:24px;margin-bottom:18px}.empty{padding:42px 15px;text-align:center;color:#8993a7}.mini-kpi{border-left:3px solid #3559e0;padding-left:12px}.searchbar{max-width:380px}.doc-expired{background:#fff7f7!important}.required-dot{color:#dc3545}.notes-box{white-space:pre-wrap}.nav-tabs .nav-link{font-size:11px;font-weight:700;color:#6d7890}.nav-tabs .nav-link.active{color:#3559e0}.progress{height:8px;border-radius:20px}@media(max-width:991px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.show{transform:translateX(0)}.main{margin-left:0}.content{padding:18px}.topbar{padding:0 18px}.new-student-btn span{display:none}.new-student-btn{width:44px;height:44px;padding:0;display:grid;place-items:center}.new-student-btn i{font-size:17px}.language-menu-btn{height:44px;padding:0 12px}.language-current{display:inline!important}.menu-button{width:44px;height:44px;padding:0}.topbar-title{min-width:0}.topbar-title h1,.topbar-title .crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:600px){.info-grid{grid-template-columns:1fr}.content{padding:12px}.topbar{height:72px;padding:0 12px;gap:10px}.topbar h1{font-size:16px}.crumb{font-size:10px}.top-actions{display:flex;align-items:center;gap:8px}.language-menu-btn{min-width:67px;padding:0 9px}.language-menu-btn .bi-globe2{font-size:15px}.language-current{font-size:11px;font-weight:800}.language-dropdown{min-width:190px}.new-student-btn{width:42px;height:42px}.menu-button{width:42px;height:42px}}
body{font-family:Inter,"Noto Sans KR",system-ui,-apple-system,"Segoe UI",sans-serif}.language-switch{white-space:nowrap}.country-select{min-width:0}
.brand-logo-mark{background:#fff;padding:3px;overflow:hidden}.brand-logo-mark img{width:100%;height:100%;object-fit:contain;border-radius:9px}.login-brand-logo{display:flex;justify-content:center;margin:-4px 0 18px}.login-brand-logo img{width:min(300px,90%);height:auto;display:block}.country-picker{display:grid;gap:6px}.country-search{background:#fbfcff}.country-search-hint{font-size:9px;color:#8a94a8;margin-top:-2px}.country-picker .form-select{margin-top:0}.language-switch .btn{min-width:44px}.sidebar .brand{min-height:66px}.sidebar .brand>div:last-child{min-width:0}.sidebar .brand strong,.sidebar .brand span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-card .form-text{font-size:10px}@media(max-width:600px){.login-brand-logo img{width:min(250px,88%)}}

/* v1.3: always-visible bilingual language controls */
.top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.language-menu-btn{display:flex;align-items:center;gap:7px;border:1px solid var(--border);background:#fff;color:var(--text);font-weight:800}.language-menu-btn:hover,.language-menu-btn:focus{background:#f7f9fc;border-color:#d6ddea;color:var(--text)}.language-current{line-height:1}.language-dropdown{padding:7px;border:1px solid var(--border);border-radius:12px;box-shadow:0 14px 35px rgba(20,35,70,.12)}.language-dropdown .dropdown-header{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800;padding:7px 10px}.language-dropdown .dropdown-item{border-radius:8px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;padding:9px 10px}.language-dropdown .dropdown-item.active{background:#edf1ff;color:#294fdd}.language-code{display:inline-grid;place-items:center;width:30px;height:24px;border-radius:7px;background:#f0f3f9;font-size:10px;font-weight:900}.language-dropdown .dropdown-item.active .language-code{background:#dfe6ff}.sidebar-language{margin-top:auto;border-top:1px solid rgba(255,255,255,.09);padding:15px 6px 0}.sidebar-language-label{display:flex;align-items:center;gap:8px;color:#9eabc8;font-size:10px;font-weight:700;margin:0 4px 9px}.sidebar-language .btn{font-size:10px;padding:6px 7px}.sidebar-language+.sidebar-user{margin-top:12px}.new-student-btn{display:flex;align-items:center;gap:7px;white-space:nowrap}


/* v1.4: non-clipping direct EN | 한국어 switch */
.header-language-switch{height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid var(--border);border-radius:10px;background:#fff;white-space:nowrap;flex:0 0 auto;min-width:142px;overflow:visible}.header-language-icon{font-size:14px;color:#53607a;flex:0 0 auto}.header-lang-option{font-size:11px;font-weight:800;line-height:1;text-decoration:none;color:#7a859a;display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:28px;padding:0 4px;border-radius:7px;white-space:nowrap}.header-lang-option:hover{color:#3559e0;background:#f2f5ff}.header-lang-option.active{color:#fff;background:#3559e0;padding-left:7px;padding-right:7px}.header-lang-divider{font-size:11px;color:#c2c9d5;line-height:1}.top-actions{flex:0 0 auto;min-width:max-content}.topbar-title{min-width:0;overflow:hidden}
@media(max-width:600px){.topbar{display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:1fr auto;height:auto;min-height:82px;align-items:center;padding:10px 12px;column-gap:9px;row-gap:6px}.menu-button{grid-column:1;grid-row:1;width:42px;height:42px}.topbar-title{grid-column:2;grid-row:1}.top-actions{grid-column:3;grid-row:1 / span 2;display:grid;grid-template-columns:auto 42px;align-items:center;gap:8px}.header-language-switch{grid-column:1;min-width:132px;height:42px;padding:0 8px;gap:5px}.new-student-btn{grid-column:2;width:42px;height:42px}.header-lang-option{font-size:10px;padding-left:3px;padding-right:3px}.header-lang-option.active{padding-left:6px;padding-right:6px}.header-language-icon{font-size:13px}}
@media(max-width:430px){.topbar{grid-template-columns:42px minmax(64px,1fr) 42px;grid-template-rows:42px 36px;padding-bottom:8px}.top-actions{grid-column:2 / 4;grid-row:2;display:flex;justify-content:flex-end;width:100%;gap:7px}.header-language-switch{height:34px;min-width:124px;padding:0 7px}.new-student-btn{position:absolute;right:12px;top:10px;width:42px;height:42px}.topbar-title{padding-right:4px}.crumb{display:none}.topbar h1{font-size:15px}.header-lang-option{min-height:24px}.header-language-icon{font-size:12px}}

/* v1.6 Professional ERP dashboard */
.dashboard-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;border-radius:20px;background:linear-gradient(120deg,#0b1530 0%,#132a5a 58%,#243f93 100%);color:#fff;box-shadow:0 16px 36px rgba(15,34,78,.16)}.dashboard-hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-70px;top:-110px;background:rgba(255,255,255,.08)}.dashboard-hero:before{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:160px;bottom:-120px;background:rgba(255,255,255,.05)}.dashboard-hero>div{position:relative;z-index:1}.dashboard-eyebrow{display:flex;align-items:center;gap:7px;font-size:10px;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:#aebeff;margin-bottom:8px}.dashboard-hero h2{font-size:25px;font-weight:800;letter-spacing:-.035em;margin:0 0 7px}.dashboard-hero p{margin:0;color:#c7d0e6;font-size:12px}.dashboard-hero-actions{display:flex;align-items:center;gap:9px;flex:0 0 auto}.dashboard-hero-actions .btn{height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 14px}.dashboard-hero-actions .btn-primary{background:#fff;color:#183dba;border-color:#fff}.dashboard-hero-actions .btn-primary:hover{background:#eef2ff;color:#1739a8;border-color:#eef2ff}
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-kpi{min-width:0;background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;align-items:center;gap:13px;color:var(--text);text-decoration:none;box-shadow:0 5px 18px rgba(20,35,70,.035);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.dashboard-kpi:hover{color:var(--text);transform:translateY(-2px);box-shadow:0 10px 26px rgba(20,35,70,.08);border-color:#d8e0f0}.kpi-icon{width:42px;height:42px;flex:0 0 42px;border-radius:13px;display:grid;place-items:center;background:#edf1ff;color:#3559e0;font-size:18px}.kpi-copy{min-width:0;display:grid}.kpi-copy small{font-size:10px;color:#737e95;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-copy strong{font-size:23px;line-height:1.15;font-weight:800;letter-spacing:-.03em;margin:2px 0}.kpi-copy em{font-style:normal;font-size:9px;color:#9aa3b6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-money{font-size:17px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kpi-attention .kpi-icon{background:#fff3e8;color:#d96c18}.dashboard-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-kicker{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.13em;color:#8b96ab;font-weight:800;margin-bottom:4px}.attention-kicker{color:#d96c18}.dashboard-card-head h5{font-size:13px}.dashboard-muted{font-size:9px;color:#98a2b5;font-weight:600}.dashboard-chart-card .card-body{padding:16px 18px}.chart-wrap{position:relative;width:100%}.chart-wrap-line{height:250px}.chart-wrap-donut{height:250px}.chart-wrap-bar{height:250px}
.pipeline-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.pipeline-step{min-width:0;position:relative;padding:13px 12px 12px;border-radius:13px;background:#f7f9fd;border:1px solid #edf0f5;text-decoration:none;color:var(--text);transition:.15s}.pipeline-step:hover{background:#f1f5ff;border-color:#dce4fb;color:var(--text);transform:translateY(-1px)}.pipeline-number{display:block;font-size:8px;color:#9aa4b6;font-weight:800;letter-spacing:.08em}.pipeline-step strong{display:block;margin:7px 0 3px;font-size:9px;color:#657089;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pipeline-step b{font-size:20px;font-weight:800}.pipeline-bar{display:block;height:4px;border-radius:10px;background:#e5e9f2;margin-top:10px;overflow:hidden}.pipeline-bar i{display:block;height:100%;border-radius:10px;background:#3559e0}.quick-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.quick-action-grid a{min-width:0;min-height:88px;border:1px solid #edf0f5;background:#f8faff;border-radius:13px;text-decoration:none;color:#49556d;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:9px;transition:.15s}.quick-action-grid a:hover{background:#eef3ff;color:#2549d3;border-color:#d9e2ff;transform:translateY(-1px)}.quick-action-grid i{font-size:19px;color:#3559e0}.quick-action-grid span{font-size:9px;font-weight:700;line-height:1.3}
.dashboard-list-body{padding:7px 16px 10px}.dashboard-list-item{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);padding:10px 2px;border-bottom:1px solid #eff2f7;min-height:58px}.dashboard-list-item:last-child{border-bottom:0}.dashboard-list-item:hover{color:#274ddb}.list-icon{width:36px;height:36px;border-radius:11px;flex:0 0 36px;background:#edf1ff;color:#3559e0;display:grid;place-items:center}.list-icon-warning{background:#fff2e8;color:#d86a17}.list-copy{min-width:0;display:grid;gap:2px;flex:1}.list-copy strong{font-size:10px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-copy small{font-size:9px;color:#8a95aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-meta{font-size:9px;color:#8c96aa;font-weight:700;white-space:nowrap}.calendar-chip{width:38px;height:42px;border-radius:10px;display:grid;place-content:center;text-align:center;background:#eef2ff;color:#3559e0;flex:0 0 38px}.calendar-chip b{font-size:14px;line-height:1}.calendar-chip em{font-size:7px;font-style:normal;font-weight:800;margin-top:2px}.dashboard-chevron{font-size:10px;color:#a6afc0}.dashboard-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#929db1}.dashboard-empty i{font-size:28px;color:#bcc5d6;margin-bottom:9px}.dashboard-empty strong{font-size:11px;color:#68748a}.dashboard-empty span{font-size:9px;margin-top:3px}.recent-students-card .table-person{display:flex;align-items:center;gap:9px}.table-person>span{width:31px;height:31px;border-radius:9px;background:#eef2ff;color:#3559e0;display:grid;place-items:center;font-weight:800;font-size:10px;flex:0 0 31px}.table-person>div{min-width:0}.table-person strong,.table-person small{display:block}.table-person small{font-size:9px;color:#8d97aa;margin-top:1px}.application-link{font-weight:750;text-decoration:none}
@media(max-width:1399px){.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.pipeline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991px){.dashboard-hero{padding:22px}.dashboard-hero h2{font-size:21px}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-wrap-line,.chart-wrap-donut,.chart-wrap-bar{height:230px}}
@media(max-width:600px){.dashboard-hero{display:block;padding:20px 18px;border-radius:16px}.dashboard-hero h2{font-size:19px}.dashboard-hero p{font-size:10px;line-height:1.5}.dashboard-hero-actions{margin-top:15px;display:grid;grid-template-columns:1fr 1fr}.dashboard-hero-actions .btn{justify-content:center;padding:0 8px;font-size:10px}.dashboard-kpis{gap:8px}.dashboard-kpi{padding:12px 10px;gap:9px;border-radius:13px}.kpi-icon{width:35px;height:35px;flex-basis:35px;border-radius:10px;font-size:15px}.kpi-copy small{font-size:9px}.kpi-copy strong{font-size:20px}.kpi-copy em{font-size:8px}.kpi-money{font-size:12px!important}.pipeline-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.quick-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-action-grid a{min-height:77px}.chart-wrap-line{height:210px}.chart-wrap-donut,.chart-wrap-bar{height:220px}.recent-students-card .table{min-width:720px}}

/* ======================================================================
   v1.7 — Matha Korea Premium Enterprise Soft-Glass Design System
   70% solid enterprise surfaces + 30% restrained glass accents.
   ====================================================================== */
:root{
  --mk-red:#df2638;
  --mk-red-dark:#bc1829;
  --mk-red-soft:#fff0f2;
  --mk-navy:#0c1627;
  --mk-navy-2:#111f34;
  --mk-navy-3:#172a46;
  --mk-ink:#172033;
  --mk-muted:#6f7b90;
  --mk-bg:#f5f6f8;
  --mk-surface:rgba(255,255,255,.94);
  --mk-surface-solid:#fff;
  --mk-line:#e7e9ee;
  --mk-line-strong:#dce0e7;
  --mk-shadow:0 12px 34px rgba(16,24,40,.055);
  --mk-shadow-hover:0 18px 44px rgba(16,24,40,.09);
  --mk-radius:18px;
  --mk-radius-sm:12px;
  --mk-success:#138a5b;
  --mk-warning:#b96715;
  --mk-danger:#c93645;
  --blue:#263e63;
  --navy:var(--mk-navy);
  --navy2:var(--mk-navy-2);
  --bg:var(--mk-bg);
  --text:var(--mk-ink);
  --muted:var(--mk-muted);
  --border:var(--mk-line);
  --card:#fff;
  --danger:var(--mk-danger);
}

html{background:var(--mk-bg)}
body{
  font-family:Inter,"Noto Sans KR",Pretendard,"Apple SD Gothic Neo","Malgun Gothic",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 82% 4%,rgba(223,38,56,.035),transparent 23rem),
    radial-gradient(circle at 18% 86%,rgba(20,39,67,.025),transparent 28rem),
    var(--mk-bg);
  color:var(--mk-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{transition:color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
::selection{background:rgba(223,38,56,.16);color:var(--mk-ink)}

/* Sidebar — deliberate Korean enterprise / premium operations feel */
.sidebar{
  width:272px;
  padding:20px 15px 18px;
  background:
    radial-gradient(circle at 18% 3%,rgba(223,38,56,.12),transparent 12rem),
    linear-gradient(180deg,#0b1423 0%,#0d192a 56%,#0a1320 100%);
  border-right:1px solid rgba(255,255,255,.055);
  box-shadow:14px 0 38px rgba(8,16,29,.08);
}
.main{margin-left:272px}
.brand{
  min-height:72px!important;
  gap:12px;
  padding:2px 8px 19px;
  margin-bottom:13px;
  border-bottom:1px solid rgba(255,255,255,.075);
}
.brand-mark.brand-logo-mark{
  width:44px;height:44px;border-radius:14px;
  padding:4px;
  background:rgba(255,255,255,.97);
  box-shadow:0 7px 22px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.55);
}
.brand strong{font-size:13px;letter-spacing:.01em;color:#fff;font-weight:750}
.brand span{font-size:9.5px;color:#8190a8;margin-top:3px;letter-spacing:.01em}
.sidebar .nav-link{
  position:relative;
  color:#9ba9bd;
  border:1px solid transparent;
  border-radius:12px;
  padding:10.5px 12px;
  margin:2px 0;
  font-size:12px;
  font-weight:650;
  letter-spacing:-.005em;
}
.sidebar .nav-link i{font-size:15px;color:#7f8da2;transition:color .16s ease,transform .16s ease}
.sidebar .nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.055);
  transform:translateX(1px);
}
.sidebar .nav-link:hover i{color:#dbe2ec}
.sidebar .nav-link.active{
  color:#fff;
  background:linear-gradient(90deg,rgba(255,255,255,.10),rgba(255,255,255,.045));
  border-color:rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 18px rgba(0,0,0,.08);
}
.sidebar .nav-link.active:before{
  content:"";
  position:absolute;
  left:-7px;top:9px;bottom:9px;width:3px;
  background:var(--mk-red);
  border-radius:0 4px 4px 0;
  box-shadow:0 0 12px rgba(223,38,56,.28);
}
.sidebar .nav-link.active i{color:#fff}
.nav-section{
  color:#56677f;
  font-size:8px;
  letter-spacing:.16em;
  font-weight:800;
  margin:19px 12px 7px;
}
.sidebar-language{border-color:rgba(255,255,255,.075);padding-top:13px}
.sidebar-language-label{color:#708198}
.sidebar-language .btn{
  border-color:rgba(255,255,255,.11);
  border-radius:9px;
  font-size:9px;
  font-weight:800;
}
.sidebar-language .btn-light{color:var(--mk-navy);background:#f9fafc;border-color:#f9fafc}
.sidebar-user{border-color:rgba(255,255,255,.075);padding-top:14px}
.sidebar-user .avatar{
  width:38px;height:38px;
  background:linear-gradient(145deg,#2a374b,#16243a);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
  color:#fff;
}
.sidebar-user strong{font-size:11.5px;color:#f4f7fb}
.sidebar-user span{font-size:9px;color:#708198}
.sidebar-user a{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;color:#7989a0}
.sidebar-user a:hover{background:rgba(223,38,56,.10);color:#ff7180}

/* Top bar — soft glass, mostly opaque for readability */
.topbar{
  height:80px;
  padding:0 28px;
  background:rgba(248,249,251,.82);
  border-bottom:1px solid rgba(218,222,229,.82);
  box-shadow:0 5px 18px rgba(21,31,48,.025);
  -webkit-backdrop-filter:blur(18px) saturate(135%);
  backdrop-filter:blur(18px) saturate(135%);
}
.topbar h1{font-size:19px;font-weight:760;letter-spacing:-.025em;color:#111827}
.crumb{font-size:10px;color:#8390a3;margin-top:4px;font-weight:520}
.content{padding:26px 28px 34px}
.app-footer{padding:20px 28px 24px;color:#99a2b1;font-size:10px}
.menu-button{
  border:1px solid var(--mk-line)!important;
  background:rgba(255,255,255,.86)!important;
  box-shadow:0 4px 14px rgba(16,24,40,.04);
}
.header-language-switch{
  height:42px;
  min-width:137px;
  border:1px solid rgba(218,222,229,.94);
  border-radius:12px;
  background:rgba(255,255,255,.75);
  box-shadow:0 5px 16px rgba(16,24,40,.025),inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.header-language-icon{color:#77859a}
.header-lang-option{color:#7c8798;font-size:10.5px;font-weight:780}
.header-lang-option:hover{color:var(--mk-red);background:var(--mk-red-soft)}
.header-lang-option.active{
  color:#fff;
  background:var(--mk-navy-2);
  box-shadow:0 4px 10px rgba(17,31,52,.14);
}
.header-lang-divider{color:#ccd1d9}

/* Buttons — Matha red is action, navy is secondary, no generic AI-blue */
.btn{
  border-radius:11px;
  font-size:11px;
  font-weight:720;
  letter-spacing:-.005em;
  min-height:36px;
  padding:.48rem .78rem;
  transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-primary{
  background:var(--mk-red);
  border-color:var(--mk-red);
  color:#fff;
  box-shadow:0 7px 16px rgba(223,38,56,.15);
}
.btn-primary:hover,.btn-primary:focus{
  background:var(--mk-red-dark);
  border-color:var(--mk-red-dark);
  color:#fff;
  box-shadow:0 9px 20px rgba(223,38,56,.20);
}
.btn-outline-primary{color:#263b5b;border-color:#cbd2dc;background:#fff}
.btn-outline-primary:hover{color:#fff;background:var(--mk-navy-2);border-color:var(--mk-navy-2)}
.btn-dark{background:var(--mk-navy-2);border-color:var(--mk-navy-2)}
.btn-light{background:#f7f8fa;border-color:#e8eaf0;color:#344054}
.btn-light:hover{background:#fff;border-color:#dcdfe6;color:#172033;box-shadow:0 6px 14px rgba(16,24,40,.05)}
.new-student-btn{box-shadow:0 7px 16px rgba(223,38,56,.14)}

/* Core surfaces — clean solid cards with a restrained glass edge */
.card{
  border:1px solid rgba(224,227,233,.92);
  border-radius:var(--mk-radius);
  background:var(--mk-surface);
  box-shadow:var(--mk-shadow);
  overflow:hidden;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.card-header{
  background:rgba(255,255,255,.86);
  border-bottom:1px solid rgba(228,231,236,.95);
  padding:15px 18px;
  border-radius:var(--mk-radius) var(--mk-radius) 0 0!important;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.card-header h5{font-size:13px;font-weight:760;letter-spacing:-.015em;color:#20293a}
.card-footer{border-top:1px solid var(--mk-line)!important;background:rgba(252,252,253,.9)!important}
.card:hover{border-color:#dde1e7}

/* Forms */
.form-label{
  font-size:10px;
  font-weight:720;
  color:#4b5669;
  margin-bottom:.42rem;
  letter-spacing:.005em;
}
.form-control,.form-select{
  min-height:40px;
  border-radius:11px;
  border:1px solid #dfe3e9;
  background:#fff;
  color:#1d2939;
  font-size:11.5px;
  padding:.62rem .76rem;
  box-shadow:0 1px 2px rgba(16,24,40,.018);
  transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease;
}
.form-control:hover,.form-select:hover{border-color:#cfd5de}
.form-control:focus,.form-select:focus{
  border-color:rgba(223,38,56,.58);
  box-shadow:0 0 0 3px rgba(223,38,56,.085);
  background:#fff;
}
.form-control::placeholder{color:#a6afbd}
.form-check-input:checked{background-color:var(--mk-red);border-color:var(--mk-red)}
.form-check-input:focus{border-color:rgba(223,38,56,.55);box-shadow:0 0 0 .2rem rgba(223,38,56,.10)}
.country-search{background:#fafbfc}
.country-search-hint{color:#97a0af}
.section-title{
  color:#39465a;
  font-size:9px;
  letter-spacing:.12em;
  border-color:#eceef2;
  font-weight:820;
}

/* Tables — calm, information-dense ERP look */
.table{font-size:11.3px;color:#273244}
.table>:not(caption)>*>*{padding:.83rem .78rem;border-color:#eef0f3;vertical-align:middle}
.table thead th{
  position:relative;
  background:#f8f9fb;
  color:#7d8796;
  font-size:8.5px;
  letter-spacing:.09em;
  font-weight:800;
  border-bottom:1px solid #e7e9ed;
}
.table tbody tr{transition:background-color .14s ease}
.table tbody tr:hover{background:#fbfbfc}
.table tbody td strong{color:#202939}
.table-responsive{scrollbar-width:thin;scrollbar-color:#cdd3dc transparent}
.table-responsive::-webkit-scrollbar{height:7px}.table-responsive::-webkit-scrollbar-thumb{background:#cfd5dd;border-radius:10px}
.table-person>span{
  background:linear-gradient(145deg,#f1f3f6,#e8ebf0)!important;
  color:#26364f!important;
  border:1px solid #e0e4ea;
}
.application-link{color:#223a5c!important;font-weight:780;text-decoration:none}
.application-link:hover{color:var(--mk-red)!important}

/* Status / badges */
.badge{
  border-radius:999px;
  font-size:9px;
  font-weight:760;
  padding:.52em .72em;
  letter-spacing:.005em;
}
.text-bg-primary{background:#263e63!important}.text-bg-success{background:#e9f6f0!important;color:#13704d!important;border:1px solid #d5eee4}.text-bg-warning{background:#fff4e7!important;color:#a05d17!important;border:1px solid #f4e2ca}.text-bg-danger{background:#fff0f2!important;color:#b92c3a!important;border:1px solid #f4d8dd}.text-bg-info{background:#eef5f8!important;color:#306979!important}.text-bg-secondary{background:#eef0f3!important;color:#5f6877!important}.text-bg-light{background:#f5f6f8!important;color:#657083!important;border:1px solid #e9ebef}

/* Tabs / navigation inside records */
.nav-tabs{border-bottom:1px solid #e5e8ed;gap:2px}
.nav-tabs .nav-link{
  color:#758093;
  font-size:10px;
  font-weight:720;
  border:0;
  border-bottom:2px solid transparent;
  border-radius:9px 9px 0 0;
  padding:.66rem .72rem;
}
.nav-tabs .nav-link:hover{color:#26364f;background:#f8f9fb}
.nav-tabs .nav-link.active{color:#202a3b;background:transparent;border-bottom-color:var(--mk-red)}

/* Profile / record hero */
.profile-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 12%,rgba(223,38,56,.20),transparent 16rem),
    linear-gradient(128deg,#0e192a 0%,#12233b 66%,#152a47 100%);
  border:1px solid rgba(255,255,255,.06);
  border-radius:20px;
  box-shadow:0 18px 38px rgba(12,22,39,.15);
}
.profile-hero:after{content:"";position:absolute;right:-34px;bottom:-62px;width:180px;height:180px;border:1px solid rgba(255,255,255,.06);border-radius:50%}
.profile-hero .photo{border-radius:17px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.info-item span{color:#8893a3;font-size:8.5px;letter-spacing:.08em}.info-item strong{font-size:11.5px;color:#273144}
.timeline:before{background:#e7e9ee}.timeline-item:before{border-color:var(--mk-red);box-shadow:0 0 0 3px #fff}

/* Pagination / alerts / modals / dropdowns */
.pagination{gap:4px}.page-link{border-radius:9px!important;border:1px solid #e2e5ea;color:#556174;font-size:10px;font-weight:700}.page-item.active .page-link{background:var(--mk-navy-2);border-color:var(--mk-navy-2)}
.alert{border-radius:13px;border-width:1px;font-size:11px;box-shadow:0 7px 20px rgba(16,24,40,.035)}
.modal-content{border:1px solid rgba(221,225,231,.95);border-radius:20px;box-shadow:0 30px 80px rgba(15,23,42,.20);overflow:hidden}.modal-header,.modal-footer{border-color:#e9ebef}.modal-header{background:#fafbfc}.modal-title{font-size:14px;font-weight:780}
.dropdown-menu{border:1px solid #e1e4e9;border-radius:13px;box-shadow:0 18px 42px rgba(16,24,40,.12);padding:7px}.dropdown-item{border-radius:8px;font-size:11px;padding:8px 10px}.dropdown-item:hover{background:#f6f7f9}.dropdown-item.active,.dropdown-item:active{background:var(--mk-navy-2)}

/* Dashboard — premium executive view, no flashy AI gradients */
.dashboard-hero{
  min-height:142px;
  padding:27px 29px;
  border-radius:22px;
  background:
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(0deg,rgba(255,255,255,.025) 1px,transparent 1px),
    radial-gradient(circle at 88% 24%,rgba(223,38,56,.28),transparent 15rem),
    linear-gradient(122deg,#0c1727 0%,#12223a 65%,#172a46 100%);
  background-size:28px 28px,28px 28px,auto,auto;
  border:1px solid rgba(255,255,255,.065);
  box-shadow:0 20px 45px rgba(12,23,39,.14);
}
.dashboard-hero:after{
  width:250px;height:250px;right:-95px;top:-132px;
  background:transparent;border:1px solid rgba(255,255,255,.075);
}
.dashboard-hero:before{
  width:156px;height:156px;right:115px;bottom:-122px;
  background:transparent;border:1px solid rgba(255,255,255,.05);
}
.dashboard-eyebrow{color:#a9b4c6;font-size:8.5px;letter-spacing:.16em;margin-bottom:10px}
.dashboard-eyebrow i{color:#ff6d7b}
.dashboard-hero h2{font-size:24px;font-weight:760;letter-spacing:-.035em;margin-bottom:8px}
.dashboard-hero p{font-size:11px;color:#aeb9c9;max-width:640px}
.dashboard-hero-actions .btn{height:40px;border-radius:11px}
.dashboard-hero-actions .btn-light{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.11);box-shadow:inset 0 1px 0 rgba(255,255,255,.04);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.dashboard-hero-actions .btn-light:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.16);color:#fff}
.dashboard-hero-actions .btn-primary{background:var(--mk-red);color:#fff;border-color:var(--mk-red);box-shadow:0 8px 22px rgba(223,38,56,.22)}
.dashboard-hero-actions .btn-primary:hover{background:#c91d30;color:#fff;border-color:#c91d30}
.dashboard-kpis{gap:13px}
.dashboard-kpi{
  min-height:104px;
  border:1px solid rgba(225,228,234,.96);
  border-radius:17px;
  background:rgba(255,255,255,.92);
  box-shadow:0 8px 24px rgba(16,24,40,.035);
  padding:15px 16px;
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.dashboard-kpi:after{content:"";position:absolute;inset:auto 16px 0 16px;height:1px;background:linear-gradient(90deg,transparent,#e7e9ee,transparent);opacity:0;transition:opacity .16s ease}.dashboard-kpi{position:relative}
.dashboard-kpi:hover{transform:translateY(-2px);border-color:#d9dde4;box-shadow:0 14px 32px rgba(16,24,40,.07)}.dashboard-kpi:hover:after{opacity:1}
.kpi-icon{
  width:40px;height:40px;flex-basis:40px;border-radius:12px;
  background:#f0f2f5;color:#293b57;
  border:1px solid #e6e9ee;
  font-size:16px;
}
.kpi-copy small{font-size:9px;color:#747f90;font-weight:720}.kpi-copy strong{font-size:22px;font-weight:780;color:#171f2d}.kpi-copy em{font-size:8.5px;color:#9ca4b1}.kpi-money{font-size:16px!important}
.kpi-attention .kpi-icon{background:#fff2e7;color:#b86617;border-color:#f4e1cd}
.dashboard-card-head .card-kicker{font-size:7.5px;color:#929baa;letter-spacing:.15em}.attention-kicker{color:#b5661c!important}.dashboard-card-head h5{font-size:12.5px;color:#252e3d}.dashboard-muted{color:#a0a7b3}
.dashboard-chart-card .card-body{padding:15px 17px 17px}
.chart-wrap-line,.chart-wrap-donut,.chart-wrap-bar{height:246px}
.pipeline-grid{gap:8px}.pipeline-step{border:1px solid #e7e9ed;background:#fbfbfc;border-radius:13px}.pipeline-step:hover{border-color:#d9dde4;background:#fff;box-shadow:0 8px 20px rgba(16,24,40,.045);transform:translateY(-1px)}.pipeline-number{background:#eef0f3;color:#647083}.pipeline-step b{color:#1b2535}.pipeline-bar{background:#ebedf1}.pipeline-bar i{background:linear-gradient(90deg,#263b5b,#df2638)}
.quick-action-grid a{border:1px solid #e5e8ed;background:#fbfbfc;border-radius:13px;color:#2d394b}.quick-action-grid a:hover{background:#fff;border-color:#d9dde4;color:var(--mk-red);box-shadow:0 9px 20px rgba(16,24,40,.05);transform:translateY(-1px)}.quick-action-grid a i{background:#eef0f3;color:#2e415e}.quick-action-grid a:hover i{background:var(--mk-red-soft);color:var(--mk-red)}
.dashboard-list-item{border-color:#eef0f3}.dashboard-list-item:hover{color:#1d2939;background:#fafbfc}.list-icon{background:#eef0f3;color:#2d4262;border:1px solid #e4e7ec}.list-icon-warning{background:#fff2e8;color:#b86617;border-color:#f3e0cd}.calendar-chip{background:#f3f4f6;color:#283952;border-color:#e4e7eb}.dashboard-empty i{color:#9ba5b3}.dashboard-empty strong{color:#485466}
.recent-students-card{box-shadow:0 12px 34px rgba(16,24,40,.045)}

/* Login — premium secure operations portal, not a generic SaaS template */
.login-page{
  position:relative;
  overflow-x:hidden;
  background:
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(0deg,rgba(255,255,255,.018) 1px,transparent 1px),
    radial-gradient(circle at 16% 16%,rgba(223,38,56,.20),transparent 22rem),
    radial-gradient(circle at 88% 84%,rgba(52,75,109,.22),transparent 24rem),
    linear-gradient(145deg,#09111e,#0d192a 58%,#101e31);
  background-size:34px 34px,34px 34px,auto,auto,auto;
  padding:32px 22px;
}
.login-page:before,.login-page:after{content:"";position:fixed;border:1px solid rgba(255,255,255,.055);border-radius:50%;pointer-events:none}.login-page:before{width:360px;height:360px;right:-160px;top:-145px}.login-page:after{width:260px;height:260px;left:-120px;bottom:-110px}
.login-card{
  position:relative;
  width:min(438px,100%);
  padding:31px 32px 28px;
  border-radius:22px;
  background:rgba(255,255,255,.955);
  border:1px solid rgba(255,255,255,.86);
  box-shadow:0 32px 90px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.96);
  -webkit-backdrop-filter:blur(20px) saturate(120%);
  backdrop-filter:blur(20px) saturate(120%);
}
.login-card:before{content:"";position:absolute;left:30px;right:30px;top:0;height:3px;background:linear-gradient(90deg,transparent,var(--mk-red),transparent);border-radius:0 0 4px 4px}
.login-brand-logo img{width:min(250px,78%);filter:drop-shadow(0 8px 18px rgba(17,24,39,.06))}
.login-card h3{font-size:18px;letter-spacing:-.02em;color:#172033}
.login-card .btn-primary{min-height:46px}
.login-page>.position-fixed .btn-group{padding:4px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:12px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.login-page>.position-fixed .btn{min-height:32px;border-radius:8px;color:#d3dae5;border-color:transparent;background:transparent}
.login-page>.position-fixed .btn-dark{background:#fff!important;color:#172033!important;box-shadow:0 5px 14px rgba(0,0,0,.12)}
.login-page>.position-fixed .btn-light{background:transparent;color:#c4cedd}

/* Focus, motion and accessibility */
:focus-visible{outline:2px solid rgba(223,38,56,.48);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Mobile / tablet refinements */
@media(max-width:1199px){
  .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:991px){
  .sidebar{width:278px;box-shadow:22px 0 55px rgba(7,13,24,.28)}
  .sidebar.show{transform:translateX(0)}
  .main{margin-left:0}
  body.sidebar-open{overflow:hidden}
  .sidebar-backdrop{position:fixed;inset:0;background:rgba(5,11,20,.42);z-index:1035;opacity:0;pointer-events:none;transition:opacity .2s ease;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
  body.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}
  .content{padding:20px 18px 28px}
  .topbar{padding:0 18px}
}
@media(max-width:767px){
  .dashboard-hero{padding:22px;align-items:flex-start;flex-direction:column;min-height:0}.dashboard-hero h2{font-size:20px}.dashboard-hero-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-hero-actions .btn{justify-content:center}
  .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dashboard-kpi{min-height:96px;padding:12px;gap:10px}.kpi-icon{width:36px;height:36px;flex-basis:36px}.kpi-copy strong{font-size:19px}.kpi-copy small{font-size:8px}.kpi-copy em{font-size:7.8px}.kpi-money{font-size:13px!important}
  .card{border-radius:16px}.card-header{border-radius:16px 16px 0 0!important}
}
@media(max-width:600px){
  .topbar{background:rgba(248,249,251,.91);padding:9px 11px;row-gap:7px;min-height:84px}
  .content{padding:13px 11px 24px}
  .topbar h1{font-size:15px}.crumb{font-size:8.5px}
  .header-language-switch{height:38px;min-width:130px;border-radius:10px}
  .new-student-btn{width:38px;height:38px;min-height:38px;border-radius:10px}.menu-button{width:38px;height:38px;min-height:38px;border-radius:10px}
  .dashboard-hero{border-radius:18px;padding:19px 17px}.dashboard-eyebrow{font-size:7.5px}.dashboard-hero h2{font-size:18px}.dashboard-hero p{font-size:10px;line-height:1.55}.dashboard-hero-actions{gap:7px}.dashboard-hero-actions .btn{font-size:9px;padding:0 8px;height:38px}
  .dashboard-kpi{padding:10px;min-height:88px;border-radius:14px}.kpi-icon{width:33px;height:33px;flex-basis:33px;border-radius:10px;font-size:14px}.kpi-copy strong{font-size:17px}.kpi-copy small{font-size:7.5px}.kpi-copy em{display:none}.kpi-money{font-size:11.5px!important}
  .table>:not(caption)>*>*{padding:.72rem .65rem}.table{font-size:10.5px}.table thead th{font-size:7.8px}
  .form-control,.form-select{font-size:11px;min-height:39px}.btn{font-size:10px}
  .login-page{padding:74px 14px 22px}.login-card{padding:27px 20px 23px;border-radius:19px}.login-brand-logo img{width:min(230px,82%)}
}

/* v1.7.1 account dock + always-visible logout hotfix */
.sidebar{
  height:100vh;
  height:100dvh;
  overflow:hidden;
}
.sidebar>nav.nav{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:4px;
  margin-right:-4px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.16) transparent;
}
.sidebar>nav.nav::-webkit-scrollbar{width:4px}
.sidebar>nav.nav::-webkit-scrollbar-track{background:transparent}
.sidebar>nav.nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.14);border-radius:999px}
.sidebar-bottom{
  flex:0 0 auto;
  position:relative;
  padding-top:10px;
  background:linear-gradient(180deg,rgba(8,17,37,0),#081125 18px);
}
.sidebar-bottom .sidebar-language{margin-top:0}
.sidebar-bottom .sidebar-user{
  margin-top:11px;
  padding:12px 4px 0;
  gap:10px;
}
.sidebar-logout-btn{
  min-height:39px;
  margin-top:10px;
  width:100%;
  padding:0 12px;
  border:1px solid rgba(255,99,113,.18);
  border-radius:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#ff9aa4;
  background:rgba(223,38,56,.075);
  text-decoration:none;
  font-size:10px;
  font-weight:800;
  letter-spacing:.01em;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.sidebar-logout-btn:hover{
  color:#fff;
  background:rgba(223,38,56,.18);
  border-color:rgba(255,99,113,.30);
  transform:translateY(-1px);
}
.sidebar-logout-btn i{font-size:14px}

.topbar-account{flex:0 0 auto}
.topbar-account-btn{
  min-height:44px;
  max-width:190px;
  padding:4px 9px 4px 5px;
  border:1px solid rgba(216,221,229,.95);
  border-radius:12px;
  background:rgba(255,255,255,.82);
  color:#1d2738;
  display:flex;
  align-items:center;
  gap:8px;
  box-shadow:0 4px 14px rgba(19,29,45,.035);
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease;
}
.topbar-account-btn:hover,.topbar-account-btn[aria-expanded="true"]{
  background:#fff;
  border-color:#cfd5de;
  box-shadow:0 7px 20px rgba(19,29,45,.07);
}
.topbar-avatar{
  width:34px;height:34px;flex:0 0 34px;
  border-radius:10px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#19273c,#0d182b);
  color:#fff;
  font-size:11px;
  font-weight:850;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.topbar-account-copy{min-width:0;display:block;text-align:left;line-height:1.1}
.topbar-account-copy strong,.topbar-account-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-account-copy strong{max-width:95px;font-size:10px;font-weight:800;color:#20293a}
.topbar-account-copy small{max-width:95px;margin-top:3px;font-size:8px;color:#8993a3;font-weight:650}
.topbar-account-chevron{font-size:9px;color:#929cab}
.topbar-account-menu{
  min-width:210px;
  padding:7px;
  margin-top:8px!important;
  border:1px solid #e0e4ea;
  border-radius:14px;
  box-shadow:0 18px 45px rgba(18,28,44,.14);
}
.topbar-account-summary{padding:9px 10px 7px;display:flex;flex-direction:column;gap:3px}
.topbar-account-summary strong{font-size:11px;color:#222b3b}
.topbar-account-summary span{font-size:9px;color:#8b95a5}
.topbar-account-menu .dropdown-divider{border-color:#eceff3;margin:5px 3px}
.topbar-logout-item{
  min-height:38px;
  border-radius:9px;
  display:flex;
  align-items:center;
  gap:9px;
  color:#c52738;
  font-size:10.5px;
  font-weight:780;
}
.topbar-logout-item:hover{background:#fff1f2;color:#b51f30}

@media(max-width:991px){
  .sidebar{height:100vh;height:100dvh}
}
@media(max-width:767px){
  .topbar-account-copy,.topbar-account-chevron{display:none}
  .topbar-account-btn{width:40px;height:40px;min-height:40px;padding:3px;border-radius:11px;justify-content:center}
  .topbar-avatar{width:32px;height:32px;flex-basis:32px;border-radius:9px}
}
@media(max-width:600px){
  .top-actions{grid-template-columns:auto 38px 40px;gap:7px}
  .topbar-account-btn{width:38px;height:38px;min-height:38px}
  .topbar-avatar{width:30px;height:30px;flex-basis:30px}
}
@media(max-width:430px){
  .top-actions{gap:6px}
  .topbar-account{margin-left:0}
}


/* v1.7.2 professional sidebar navigation hotfix */
.sidebar{
  width:278px;
  padding:18px 14px 16px;
}
.main{margin-left:278px}
.brand{
  padding:4px 10px 18px;
  margin-bottom:14px;
}
.brand strong{font-size:14px}
.brand span{font-size:10px;line-height:1.35}
.sidebar>nav.nav{
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  align-content:stretch!important;
  gap:4px;
  width:100%;
}
.sidebar .nav-link,
.sidebar .nav-section{
  width:100%;
  flex:0 0 auto;
}
.sidebar .nav-link{
  min-height:44px;
  padding:11px 13px;
  border-radius:13px;
  justify-content:flex-start;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar .nav-link i{
  width:18px;
  min-width:18px;
  text-align:center;
}
.sidebar .nav-link span,
.sidebar .nav-link{
  text-align:left;
}
.nav-section{
  margin:18px 10px 6px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.06);
}
.sidebar-bottom{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg,rgba(8,17,37,0),rgba(8,17,37,.78) 16px,#081125 100%);
}
.sidebar-language{
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.03);
  border-radius:14px;
  padding:12px;
}
.sidebar-language .btn-group{
  gap:0;
}
.sidebar-language .btn{
  min-height:34px;
}
.sidebar-user{
  padding:12px 6px 0;
}
.sidebar-logout-btn{
  min-height:42px;
  border-radius:12px;
}
@media(max-width:991px){
  .sidebar{width:272px;padding:18px 14px 16px}
  .main{margin-left:0}
}


/* ======================================================================
   v1.8 — Mobile-first ERP shell + bilingual navigation
   Research basis: compact persistent primary navigation on small screens,
   secondary modules in a drawer, and language switching outside the cramped toolbar.
   ====================================================================== */
.mobile-bottom-nav{display:none}
.mobile-account-language{display:none}

@media(max-width:991px){
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  .app-footer{padding-bottom:26px}
  .sidebar{
    width:min(310px,86vw);
    border-radius:0 24px 24px 0;
    box-shadow:24px 0 60px rgba(3,10,20,.30);
  }
  .topbar{
    min-height:68px;
    height:68px;
    padding:0 16px;
    gap:10px;
  }
  .topbar-title{flex:1 1 auto}
  .topbar-title h1{font-size:18px}
  .crumb{display:none}
  .top-actions{display:flex!important;align-items:center;gap:8px;margin-left:auto}
  .header-language-switch{display:none!important}
  .new-student-btn{width:40px;height:40px;min-height:40px;border-radius:12px}
  .topbar-account-btn{width:40px;height:40px;min-height:40px;border-radius:12px}
  .menu-button{width:40px;height:40px;min-height:40px;border-radius:12px}
  .mobile-account-language{display:block;padding:6px 8px 9px}
  .account-language-label{display:flex;align-items:center;gap:7px;color:#7b8595;font-size:9px;font-weight:800;margin:2px 3px 8px;text-transform:uppercase;letter-spacing:.06em}
  .account-language-switch{display:grid;grid-template-columns:1fr 1fr;padding:3px;background:#f1f3f6;border:1px solid #e6e8ed;border-radius:10px}
  .account-language-switch a{min-height:34px;display:flex;align-items:center;justify-content:center;border-radius:8px;text-decoration:none;color:#6f7a8c;font-size:10px;font-weight:850}
  .account-language-switch a.active{background:#fff;color:#111c2e;box-shadow:0 3px 10px rgba(16,24,40,.08)}
  .topbar-account-menu{min-width:220px}

  .mobile-bottom-nav{
    position:fixed;
    left:10px;right:10px;
    bottom:max(8px,env(safe-area-inset-bottom,0px));
    z-index:1032;
    min-height:62px;
    padding:6px 7px;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:center;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(218,222,229,.95);
    border-radius:19px;
    box-shadow:0 16px 42px rgba(15,23,42,.16),inset 0 1px 0 rgba(255,255,255,.88);
    -webkit-backdrop-filter:blur(18px) saturate(145%);
    backdrop-filter:blur(18px) saturate(145%);
  }
  .mobile-tab{
    position:relative;
    min-width:0;
    min-height:49px;
    border:0;
    border-radius:13px;
    padding:5px 2px 4px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    background:transparent;
    color:#7c8798;
    text-decoration:none;
    font-family:inherit;
    transition:background .15s ease,color .15s ease,transform .15s ease;
  }
  .mobile-tab i{font-size:17px;line-height:1}
  .mobile-tab span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-weight:760;letter-spacing:-.01em}
  .mobile-tab.active{color:#fff;background:linear-gradient(145deg,#e92b3f,#cf1d31);box-shadow:0 7px 16px rgba(223,38,56,.23)}
  .mobile-tab:not(.active):active{transform:scale(.96);background:#f2f4f7;color:#172033}
  .mobile-more-btn{cursor:pointer}

  .content{padding:18px 16px 24px}
  .dashboard-hero{margin-top:2px}
  .card,.dashboard-kpi{box-shadow:0 8px 24px rgba(16,24,40,.055)}
  .table-responsive{border-radius:14px}
  .form-control,.form-select,.btn{min-height:40px}
  .dropdown-item{min-height:40px;display:flex;align-items:center}
}

@media(max-width:600px){
  .topbar{
    display:flex!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    height:64px!important;
    min-height:64px!important;
    padding:0 12px!important;
    gap:9px!important;
  }
  .menu-button,.new-student-btn,.topbar-account-btn{width:40px!important;height:40px!important;min-height:40px!important;position:static!important}
  .topbar-title{padding:0!important;min-width:0}
  .topbar-title h1{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .top-actions{position:static!important;width:auto!important;grid-column:auto!important;grid-row:auto!important;display:flex!important;justify-content:flex-end!important;gap:7px!important}
  .header-language-switch{display:none!important}
  .content{padding:14px 12px 22px}
  .dashboard-hero{border-radius:18px;padding:18px 16px}
  .dashboard-hero h2{font-size:18px;line-height:1.25}
  .dashboard-hero p{font-size:10px}
  .dashboard-hero-actions{grid-template-columns:1fr 1fr;gap:8px}
  .dashboard-kpis{gap:10px}
  .dashboard-kpi{min-height:100px;padding:12px;border-radius:16px}
  .mobile-bottom-nav{left:8px;right:8px;bottom:max(7px,env(safe-area-inset-bottom,0px));border-radius:18px}
  .topbar-account-menu{position:fixed!important;left:12px!important;right:12px!important;top:68px!important;transform:none!important;width:auto!important;min-width:0!important;margin:0!important;border-radius:16px}
}

@media(max-width:380px){
  .new-student-btn{display:none!important}
  .mobile-tab span{font-size:7.5px}
  .mobile-bottom-nav{padding-left:5px;padding-right:5px}
}

html[lang="ko"] body{font-family:"Noto Sans KR",Inter,Pretendard,"Apple SD Gothic Neo","Malgun Gothic",sans-serif}
html[lang="ko"] .mobile-tab span,
html[lang="ko"] .sidebar .nav-link,
html[lang="ko"] .btn{letter-spacing:-.025em}

/* ======================================================================
   v1.9 — Matha Korea supplied visual integration
   Purpose-specific imagery: dashboard, analytics, login.
   ====================================================================== */
.dashboard-hero{
  min-height:220px;
  padding:32px 34px;
  background-image:
    linear-gradient(90deg,rgba(7,15,28,.92) 0%,rgba(7,15,28,.80) 34%,rgba(7,15,28,.50) 66%,rgba(7,15,28,.56) 100%),
    linear-gradient(0deg,rgba(223,38,56,.09),rgba(223,38,56,.01)),
    url('../img/dashboard-hero.webp');
  background-size:cover;
  background-position:center 48%;
  background-repeat:no-repeat;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 45px rgba(11,20,35,.16);
}
.dashboard-hero:before,.dashboard-hero:after{display:none!important}
.dashboard-hero>div{position:relative;z-index:1}
.dashboard-eyebrow{color:#d8dee8;text-shadow:0 1px 10px rgba(0,0,0,.35)}
.dashboard-hero h2{max-width:690px;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.42)}
.dashboard-hero p{max-width:650px;color:#d5dce6;text-shadow:0 1px 12px rgba(0,0,0,.38)}
.dashboard-hero-actions .btn-light{
  background:rgba(13,25,42,.58);
  border-color:rgba(255,255,255,.18);
  color:#fff;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)
}

.report-visual-hero{
  position:relative;
  min-height:205px;
  overflow:hidden;
  border-radius:20px;
  padding:28px 30px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  color:#fff;
  background-image:
    linear-gradient(90deg,rgba(8,18,31,.91) 0%,rgba(8,18,31,.73) 44%,rgba(8,18,31,.43) 100%),
    url('../img/reports-hero.webp');
  background-size:cover;
  background-position:center 48%;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 44px rgba(11,20,35,.14);
}
.report-visual-hero:after{
  content:"";position:absolute;inset:auto 0 0 0;height:3px;
  background:linear-gradient(90deg,transparent,var(--mk-red),transparent);opacity:.72
}
.report-visual-copy,.report-export-btn{position:relative;z-index:1}
.report-visual-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:9px;font-size:9px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#d5dce6}
.report-visual-copy h2{font-size:25px;line-height:1.15;font-weight:800;letter-spacing:-.035em;margin:0 0 8px;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.28)}
.report-visual-copy p{max-width:620px;margin:0;color:#cbd4df;font-size:11px;line-height:1.6}
.report-export-btn{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;background:rgba(255,255,255,.92);border-color:rgba(255,255,255,.86);color:#172033;box-shadow:0 8px 22px rgba(0,0,0,.12)}

.login-page{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:84px clamp(28px,7vw,120px) 42px 28px;
  background-image:
    linear-gradient(90deg,rgba(5,12,22,.12) 0%,rgba(5,12,22,.12) 42%,rgba(5,12,22,.52) 72%,rgba(5,12,22,.72) 100%),
    url('../img/login-bg.webp');
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.login-page:before,.login-page:after{display:none!important}
.login-card{
  margin:0;
  width:min(430px,100%);
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 26px 70px rgba(0,0,0,.28);
  -webkit-backdrop-filter:blur(18px) saturate(125%);backdrop-filter:blur(18px) saturate(125%);
}
.login-page>.position-fixed{z-index:5}

@media(max-width:991px){
  .dashboard-hero{min-height:205px;background-position:42% center;padding:24px}
  .report-visual-hero{min-height:190px;padding:24px;background-position:38% center}
  .login-page{justify-content:center;padding:86px 20px 30px;background-position:34% center;background-image:linear-gradient(rgba(5,12,22,.42),rgba(5,12,22,.58)),url('../img/login-bg.webp')}
}
@media(max-width:600px){
  .dashboard-hero{
    min-height:230px;
    padding:19px 17px;
    background-position:39% center;
    background-image:linear-gradient(90deg,rgba(6,14,27,.91),rgba(6,14,27,.70)),url('../img/dashboard-hero.webp');
  }
  .report-visual-hero{min-height:215px;padding:20px 18px;align-items:flex-start;flex-direction:column;justify-content:flex-end;background-position:35% center}
  .report-visual-copy h2{font-size:20px}.report-visual-copy p{font-size:10px}.report-export-btn{width:100%;justify-content:center}
  .login-page{padding:80px 14px 24px;background-position:31% center}
  .login-card{background:rgba(255,255,255,.95);box-shadow:0 20px 52px rgba(0,0,0,.34)}
}


/* ======================================================================
   v2.0 — Matha Korea Korean Enterprise ERP visual pass
   Objective: remove generic AI/SaaS styling; favor restrained, dense,
   durable business-software surfaces inspired by Korean enterprise portals.
   ====================================================================== */
:root{
  --erp-red:#d9273a;
  --erp-red-dark:#b91f30;
  --erp-navy:#0d1929;
  --erp-navy-2:#132236;
  --erp-bg:#f6f7f9;
  --erp-surface:#ffffff;
  --erp-line:#e1e5eb;
  --erp-line-strong:#d6dbe3;
  --erp-text:#172033;
  --erp-muted:#748094;
  --erp-radius:10px;
  --erp-radius-sm:8px;
}
html,body{background:var(--erp-bg)}
body{
  background:var(--erp-bg)!important;
  color:var(--erp-text);
}

/* Shell */
.sidebar{
  width:262px!important;
  padding:18px 14px 14px!important;
  background:var(--erp-navy)!important;
  border-right:1px solid #1b2a3e!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.main{margin-left:262px!important}
.brand{
  min-height:66px!important;
  padding:2px 8px 16px!important;
  margin-bottom:12px!important;
  border-bottom:1px solid rgba(255,255,255,.075)!important;
}
.brand-mark.brand-logo-mark{
  width:42px!important;height:42px!important;
  border-radius:10px!important;
  box-shadow:none!important;
  border:1px solid rgba(255,255,255,.12)!important;
}
.brand strong{font-size:13px!important;font-weight:760!important}
.brand span{font-size:9px!important;color:#7f8da1!important}
.sidebar>nav.nav{gap:1px!important;padding-right:0!important;margin-right:0!important}
.sidebar .nav-link{
  min-height:40px!important;
  padding:9px 10px!important;
  margin:1px 0!important;
  border-radius:7px!important;
  border:1px solid transparent!important;
  color:#9eabba!important;
  font-size:11.5px!important;
  font-weight:620!important;
  background:transparent!important;
  transform:none!important;
  box-shadow:none!important;
}
.sidebar .nav-link i{font-size:14px!important;color:#77869a!important}
.sidebar .nav-link:hover{
  color:#f7f9fc!important;
  background:#132238!important;
  border-color:#1b2d45!important;
  transform:none!important;
}
.sidebar .nav-link:hover i{color:#dfe5ed!important}
.sidebar .nav-link.active{
  color:#fff!important;
  background:#15263d!important;
  border-color:#20334c!important;
  box-shadow:none!important;
}
.sidebar .nav-link.active:before{
  left:-14px!important;
  top:8px!important;
  bottom:8px!important;
  width:3px!important;
  border-radius:0 2px 2px 0!important;
  background:var(--erp-red)!important;
  box-shadow:none!important;
}
.nav-section{
  margin:17px 9px 6px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(255,255,255,.055)!important;
  color:#56667b!important;
  font-size:7.5px!important;
  letter-spacing:.14em!important;
}
.sidebar-bottom{
  margin-top:10px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(255,255,255,.06)!important;
  background:var(--erp-navy)!important;
}
.sidebar-language{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;
}
.sidebar-language-label{margin:0 2px 7px!important;color:#68788e!important;font-size:8.5px!important}
.sidebar-language .btn{
  min-height:30px!important;
  border-radius:6px!important;
  font-size:8.5px!important;
  border-color:#26374f!important;
  box-shadow:none!important;
}
.sidebar-language .btn-light{background:#f4f6f8!important;color:#152136!important;border-color:#f4f6f8!important}
.sidebar-language .btn-outline-light{background:transparent!important;color:#96a3b5!important}
.sidebar-user{
  margin-top:9px!important;
  padding:10px 2px 0!important;
  border-top:1px solid rgba(255,255,255,.055)!important;
}
.sidebar-user .avatar{
  width:34px!important;height:34px!important;
  border-radius:8px!important;
  background:#182a42!important;
  border-color:#263a55!important;
  box-shadow:none!important;
}
.sidebar-user strong{font-size:10.5px!important}
.sidebar-user span{font-size:8px!important}
.sidebar-logout-btn{
  min-height:36px!important;
  margin-top:8px!important;
  border-radius:7px!important;
  border-color:#4a2630!important;
  background:transparent!important;
  color:#d98690!important;
  box-shadow:none!important;
  font-size:9.5px!important;
}
.sidebar-logout-btn:hover{background:#241923!important;border-color:#70313d!important;transform:none!important}

/* Topbar */
.topbar{
  height:72px!important;
  min-height:72px!important;
  padding:0 26px!important;
  background:#fff!important;
  border-bottom:1px solid var(--erp-line)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.topbar h1{font-size:18px!important;font-weight:760!important;color:#111827!important}
.crumb{font-size:9.5px!important;color:#8893a4!important;margin-top:2px!important}
.top-actions{gap:8px!important}
.header-language-switch{
  height:38px!important;
  min-width:126px!important;
  padding:0 8px!important;
  border-radius:8px!important;
  border-color:var(--erp-line-strong)!important;
  background:#fff!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.header-lang-option{min-height:26px!important;border-radius:6px!important;font-size:9.5px!important}
.header-lang-option.active{background:var(--erp-navy-2)!important;box-shadow:none!important}
.new-student-btn{
  min-height:38px!important;
  border-radius:8px!important;
  box-shadow:none!important;
  padding-left:12px!important;padding-right:12px!important;
}
.topbar-account-btn{
  min-height:38px!important;
  padding:3px 8px 3px 4px!important;
  border-radius:8px!important;
  background:#fff!important;
  border-color:var(--erp-line-strong)!important;
  box-shadow:none!important;
}
.topbar-account-btn:hover,.topbar-account-btn[aria-expanded="true"]{box-shadow:none!important;background:#f8f9fb!important}
.topbar-avatar{width:30px!important;height:30px!important;flex-basis:30px!important;border-radius:7px!important;box-shadow:none!important}
.topbar-account-menu{border-radius:9px!important;box-shadow:0 10px 30px rgba(20,30,45,.12)!important}

/* Content and core surfaces */
.content{padding:22px 26px 32px!important}
.card{
  border:1px solid var(--erp-line)!important;
  border-radius:var(--erp-radius)!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(16,24,40,.025)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.card:hover{border-color:var(--erp-line-strong)!important}
.card-header{
  padding:13px 15px!important;
  border-radius:var(--erp-radius) var(--erp-radius) 0 0!important;
  background:#fff!important;
  border-bottom:1px solid var(--erp-line)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.card-header h5{font-size:12px!important;font-weight:740!important}
.card-footer{background:#fafbfc!important}
.btn{
  border-radius:7px!important;
  box-shadow:none!important;
  font-weight:700!important;
}
.btn:hover{transform:none!important}
.btn-primary{background:var(--erp-red)!important;border-color:var(--erp-red)!important;box-shadow:none!important}
.btn-primary:hover{background:var(--erp-red-dark)!important;border-color:var(--erp-red-dark)!important;box-shadow:none!important}
.btn-light{background:#f7f8fa!important;border-color:#e2e6ec!important;box-shadow:none!important}
.form-control,.form-select{
  border-radius:7px!important;
  border-color:#d9dee7!important;
  box-shadow:none!important;
  background:#fff!important;
}
.form-control:focus,.form-select:focus{border-color:#8896aa!important;box-shadow:0 0 0 2px rgba(26,45,70,.06)!important}
.nav-tabs .nav-link{border-radius:6px 6px 0 0!important}
.badge{border-radius:5px!important;font-weight:700!important}

/* Dashboard: operational, compact, not showcase-like */
.dashboard-hero{
  min-height:176px!important;
  padding:24px 26px!important;
  border-radius:12px!important;
  border:1px solid #1e2d41!important;
  box-shadow:none!important;
  background-image:
    linear-gradient(90deg,rgba(8,17,30,.95) 0%,rgba(8,17,30,.89) 38%,rgba(8,17,30,.69) 70%,rgba(8,17,30,.72) 100%),
    url('../img/dashboard-hero.webp')!important;
  background-position:center 48%!important;
}
.dashboard-eyebrow{font-size:8px!important;letter-spacing:.12em!important;margin-bottom:7px!important;color:#b7c1cf!important;text-shadow:none!important}
.dashboard-hero h2{font-size:22px!important;font-weight:760!important;text-shadow:none!important;letter-spacing:-.025em!important}
.dashboard-hero p{font-size:10.5px!important;color:#bec8d5!important;text-shadow:none!important}
.dashboard-hero-actions{gap:8px!important}
.dashboard-hero-actions .btn{height:38px!important;border-radius:7px!important;font-size:10px!important}
.dashboard-hero-actions .btn-light{background:#16263a!important;border-color:#34445a!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
.dashboard-hero-actions .btn-light:hover{background:#1d3048!important}
.dashboard-hero-actions .btn-primary{box-shadow:none!important}

.dashboard-kpis{gap:10px!important}
.dashboard-kpi{
  min-height:94px!important;
  padding:13px 14px!important;
  gap:11px!important;
  border-radius:10px!important;
  border-color:var(--erp-line)!important;
  box-shadow:none!important;
  background:#fff!important;
}
.dashboard-kpi:after{display:none!important}
.dashboard-kpi:hover{transform:none!important;box-shadow:none!important;background:#fbfcfd!important;border-color:#cfd5de!important}
.kpi-icon{
  width:36px!important;height:36px!important;flex-basis:36px!important;
  border-radius:8px!important;
  background:#f1f3f6!important;
  color:#283d59!important;
  font-size:15px!important;
  border:1px solid #e0e4ea!important;
}
.kpi-attention .kpi-icon{background:#fff6ee!important;color:#b86118!important;border-color:#f1dbc5!important}
.kpi-copy small{font-size:8.8px!important;font-weight:700!important;color:#727e90!important}
.kpi-copy strong{font-size:20px!important;font-weight:760!important;margin:1px 0!important}
.kpi-copy em{font-size:8px!important;color:#9aa3af!important}
.kpi-money{font-size:14px!important}
.card-kicker{font-size:7px!important;letter-spacing:.12em!important;color:#9099a8!important}
.dashboard-card-head h5{font-size:11.5px!important}
.dashboard-chart-card .card-body{padding:14px 15px!important}
.pipeline-grid{gap:6px!important}
.pipeline-step{
  padding:11px 10px!important;
  border-radius:8px!important;
  background:#fafbfc!important;
  border-color:#e5e8ed!important;
  box-shadow:none!important;
}
.pipeline-step:hover{transform:none!important;box-shadow:none!important;background:#f6f8fa!important;border-color:#d8dde5!important}
.pipeline-step strong{font-size:8.5px!important}
.pipeline-step b{font-size:18px!important}
.pipeline-bar{height:3px!important}
.pipeline-bar i{background:var(--erp-red)!important}
.quick-action-grid{gap:6px!important}
.quick-action-grid a{
  min-height:70px!important;
  border-radius:8px!important;
  background:#fafbfc!important;
  border-color:#e5e8ed!important;
  gap:6px!important;
  box-shadow:none!important;
}
.quick-action-grid a:hover{transform:none!important;box-shadow:none!important;background:#f6f8fa!important;border-color:#d7dde5!important;color:#1e2f46!important}
.quick-action-grid a i{background:transparent!important;color:#344b68!important;font-size:16px!important}
.quick-action-grid span{font-size:8.5px!important}
.dashboard-list-item{border-radius:7px!important}

/* Tables: denser ERP data grid */
.table{font-size:11px!important}
.table>:not(caption)>*>*{padding:.64rem .7rem!important;border-color:#edf0f3!important}
.table thead th{
  font-size:8.5px!important;
  letter-spacing:.045em!important;
  color:#697588!important;
  background:#f7f8fa!important;
  border-bottom:1px solid #dfe4ea!important;
}
.table tbody tr:hover{background:#fafbfc!important}
.table-person>span{border-radius:6px!important;background:#f0f2f5!important;color:#32465f!important}

/* Reports hero: same restrained command-panel language */
.report-visual-hero{
  min-height:170px!important;
  border-radius:12px!important;
  padding:22px 24px!important;
  box-shadow:none!important;
  border-color:#26364a!important;
}
.report-visual-hero:after{height:2px!important;opacity:.5!important}
.report-visual-copy h2{font-size:21px!important;text-shadow:none!important}
.report-export-btn{border-radius:7px!important;box-shadow:none!important;background:#fff!important}

/* Login: keep imagery but remove glass-template look */
.login-card{
  border-radius:12px!important;
  background:#fff!important;
  border-color:#e2e5ea!important;
  box-shadow:0 18px 50px rgba(0,0,0,.22)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

/* Mobile: native-feeling business navigation, not a floating glass pill */
@media(max-width:991px){
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
  .sidebar{width:min(292px,84vw)!important;padding:16px 12px 12px!important;border-radius:0!important;box-shadow:10px 0 34px rgba(3,10,20,.24)!important}
  .main{margin-left:0!important}
  .topbar{height:62px!important;min-height:62px!important;padding:0 12px!important}
  .menu-button,.new-student-btn,.topbar-account-btn{width:38px!important;height:38px!important;min-height:38px!important;border-radius:7px!important}
  .topbar-title h1{font-size:16px!important}
  .content{padding:14px 12px 22px!important}
  .mobile-bottom-nav{
    left:0!important;right:0!important;bottom:0!important;
    min-height:58px!important;
    padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px))!important;
    border-radius:0!important;
    border:0!important;
    border-top:1px solid #dfe3e8!important;
    background:#fff!important;
    box-shadow:0 -4px 16px rgba(16,24,40,.045)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  .mobile-tab{
    min-height:48px!important;
    border-radius:6px!important;
    color:#758195!important;
    gap:2px!important;
  }
  .mobile-tab i{font-size:16px!important}
  .mobile-tab span{font-size:7.5px!important;font-weight:700!important}
  .mobile-tab.active{
    color:var(--erp-red)!important;
    background:#fff4f5!important;
    box-shadow:none!important;
  }
  .mobile-tab:not(.active):active{background:#f5f6f8!important;transform:none!important}
  .account-language-switch{border-radius:7px!important}
  .account-language-switch a{border-radius:5px!important}
  .dashboard-hero{min-height:196px!important;padding:18px 16px!important;border-radius:10px!important}
  .dashboard-hero h2{font-size:18px!important}
  .dashboard-hero-actions .btn{height:36px!important}
  .dashboard-kpis{gap:8px!important}
  .dashboard-kpi{min-height:88px!important;padding:10px!important;border-radius:8px!important}
  .card{border-radius:9px!important;box-shadow:none!important}
  .table-responsive{border-radius:8px!important}
}
@media(max-width:600px){
  .topbar{display:flex!important;height:60px!important;min-height:60px!important}
  .dashboard-hero{min-height:205px!important;background-position:40% center!important}
  .dashboard-hero-actions{gap:6px!important}
  .dashboard-kpi{min-height:84px!important}
  .kpi-icon{width:32px!important;height:32px!important;flex-basis:32px!important;font-size:13px!important}
  .kpi-copy strong{font-size:17px!important}
  .report-visual-hero{min-height:185px!important;border-radius:10px!important}
  .login-card{border-radius:10px!important}
}
