/* Phase 10G: layout and colors only; data, forms and permissions remain unchanged. */
:is(.v2-home,.v2-enroll,.v2-directory,.v2-profile,.v2-dash) :is(.nav,.v2-topnav) {
  background:#08264b; border-color:#173b67;
}
:is(.v2-home,.v2-enroll,.v2-directory,.v2-profile,.v2-dash) :is(.nav,.v2-topnav) :is(.logo-text,.v2-links a,.nav-links a,.mll-toolbar-auth,#dash-user-name) { color:#fff !important; }
:is(.v2-home,.v2-enroll,.v2-directory,.v2-profile,.v2-dash) :is(.nav,.v2-topnav) :is(.hamburger span:not(.mll-menu-icon),.mob-menu-btn span) { background:#fff !important; }
:is(.v2-home,.v2-enroll,.v2-directory,.v2-profile,.v2-dash) :is(.nav,.v2-topnav) :is(.btn-ghost,.v2-btn-ghost,.lang-btn:not(.active)) { color:#fff; }
:is(.v2-home,.v2-enroll,.v2-directory,.v2-profile,.v2-dash) :is(.nav,.v2-topnav) :is(.btn-ghost,.v2-btn-ghost):hover { color:#08264b; }
.v2-home .mll-v2-hero { min-height:450px; padding-top:48px; padding-bottom:32px; }
.v2-home .mll-v2-hero h1 { max-width:16ch; font-size:clamp(34px,3.6vw,54px); line-height:1.02; }
.v2-home .mll-v2-card { border-radius:14px; padding:24px; }
.v2-home .mll-v2-footer { padding-top:36px; padding-bottom:24px; }

.v2-enroll .enroll-page { padding-top:24px; }
.v2-enroll .wiz-layout { display:grid; width:min(1180px,100%); grid-template-columns:minmax(220px,.65fr) minmax(0,1.75fr); grid-template-areas:'title title' 'steps steps' 'preview form'; gap:16px 20px; }
.v2-enroll .wizard { display:contents; }
.v2-enroll .wizard > div:first-child { grid-area:title; text-align:left !important; margin-bottom:0 !important; }
.v2-enroll .wizard > div:first-child h1 { color:#08264b; font-size:clamp(25px,2.5vw,34px); line-height:1.15; margin:0 0 6px; }
.v2-enroll .wizard > div:first-child p { color:#345579; margin:0; }
.v2-enroll .v2-progress { grid-area:steps; margin:0; padding:12px 0; border-top:1px solid #d5e2ef; border-bottom:1px solid #d5e2ef; }
.v2-enroll .v2-progress-item { text-align:center; }
.v2-enroll .v2-progress-item span { display:grid; margin:0 auto 5px; background:#fff; }
.v2-enroll .v2-progress-item.is-on span { background:#0b63f6; border-color:#0b63f6; color:#fff; }
.v2-enroll .wizard-card { grid-area:form; border-radius:12px; box-shadow:0 8px 24px rgba(8,38,75,.07); }
.v2-enroll .wiz-preview { grid-area:preview; order:initial; min-height:360px; border-radius:12px; padding:16px; }
.v2-enroll .wiz-body { padding:24px 28px 18px; }
.v2-enroll .wiz-foot { padding:14px 28px; }
.v2-enroll .cat-item { padding:8px 5px; }
.v2-enroll .cat-ic { font-size:18px; margin-bottom:2px; }

.v2-dash .main { max-width:1600px; }
.v2-dash .dash-header { margin-bottom:16px; }
.v2-dash .dash-greeting { font-size:28px; color:#08264b; }
.v2-dash .kpi-row { gap:12px; margin-bottom:16px; }
.v2-dash .kpi { border-radius:12px; padding:18px; box-shadow:0 4px 16px rgba(8,38,75,.05); }
.v2-dash .kpi-lbl { text-transform:none; letter-spacing:0; color:#345579; }
.v2-dash .kpi-num { color:#08264b !important; }
.v2-dash #verification { background:#fff; border:1px solid #d8e5f1; border-radius:12px; color:#345579; padding:18px; }
.v2-dash .dash-card { border-radius:12px; }
.v2-dash .sidebar { background:#08264b; }
.v2-directory .v2-card,.v2-profile .biz-section { border-radius:12px; }

@media(max-width:800px) {
  .v2-enroll .enroll-page { padding:20px 14px 48px; }
  .v2-enroll .wiz-layout { grid-template-columns:minmax(0,1fr); grid-template-areas:'title' 'steps' 'form' 'preview'; gap:12px; }
  .v2-enroll .wiz-preview { min-height:220px; }
  .v2-enroll .wiz-body { padding:20px 16px; }
  .v2-enroll .wiz-foot { padding:12px 16px; }
  .v2-enroll .v2-progress-item { font-size:10px; }
  .v2-home .mll-v2-hero { padding-top:36px; min-height:0; }
  .v2-dash .dash-greeting { font-size:24px; }
}

/* Phase 10G injected directory nav */
@media (max-width:1360px) {
  .v2-directory .v2-topnav.has-mobile .v2-hamburger { display:flex; }
}

/* Phase 10G small enrollment header */
@media (max-width:560px) {
  .v2-enroll { padding-top:80px; }
  .v2-enroll .nav-inner { height:80px; padding:0 14px; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:46px 34px; gap:0 8px; }
  .v2-enroll .nav-actions { display:contents; }
  .v2-enroll .nav-actions .lang-toggle { grid-column:2; grid-row:1; margin:0; justify-self:end; }
  .v2-enroll .nav-actions .btn-ghost { grid-row:2; font-size:11px; padding:4px 0; white-space:nowrap; }
  .v2-enroll .nav-actions .btn-ghost:last-child { grid-column:2; justify-self:end; }
}
