/* ============================================================
   HomeSchool Pod — NewPod Design System
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --pod-navy:      #1e3a5f;
  --pod-navy-dark: #132847;
  --pod-teal:      #0d9488;
  --pod-teal-lt:   #ccfbf1;
  --pod-slate:     #f1f5f9;
  --pod-white:     #ffffff;
  --pod-border:    #e2e8f0;
  --pod-text:      #0f172a;
  --pod-muted:     #64748b;
  --pod-muted-lt:  #94a3b8;

  --pod-green:     #16a34a;
  --pod-green-lt:  #dcfce7;
  --pod-amber:     #d97706;
  --pod-amber-lt:  #fef3c7;
  --pod-red:       #dc2626;
  --pod-red-lt:    #fee2e2;
  --pod-blue:      #2563eb;
  --pod-blue-lt:   #dbeafe;
  --pod-grey:      #94a3b8;
  --pod-grey-lt:   #f1f5f9;

  --sidebar-w:     240px;
  --topbar-h:      56px;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 12px rgba(0,0,0,.10);
}

/* ── Reset / Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--pod-text);
  background: var(--pod-slate);
  margin: 0;
  padding: 0;
}

a { color: var(--pod-teal); text-decoration: none; }
a:hover { color: var(--pod-navy); text-decoration: underline; }

/* ── Impersonation Banner ─────────────────────────────────── */
.impersonation-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: #fbbf24;
  color: #1c1917;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}
.impersonation-banner + .pod-topbar { top: 40px; }
.impersonation-banner ~ .pod-sidebar { top: 96px; }
.impersonation-banner ~ .pod-main   { padding-top: calc(var(--topbar-h) + 40px); }

/* ── Top Bar ───────────────────────────────────────────────── */
.pod-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--pod-navy);
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1100;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.pod-topbar__toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color .15s, background .15s;
}
.pod-topbar__toggle:hover { color: #fff; background: rgba(255,255,255,.1); }
.pod-topbar__toggle svg { width: 20px; height: 20px; }

.pod-topbar__brand {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.pod-topbar__brand:hover { color: rgba(255,255,255,.85); text-decoration: none; }
.pod-topbar__brand span { color: var(--pod-teal); }

.pod-topbar__spacer { flex: 1; }

/* Year selector in topbar */
.pod-year-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pod-year-selector label {
  color: rgba(255,255,255,.6);
  font-size: 12px;
  white-space: nowrap;
}
.pod-year-selector select {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  outline: none;
  max-width: 180px;
}
.pod-year-selector select option { background: var(--pod-navy); color: #fff; }
.pod-year-selector select:hover { border-color: rgba(255,255,255,.4); }

/* Topbar right actions */
.pod-topbar__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pod-topbar__icon-btn {
  position: relative;
  background: none;
  border: none;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  padding: 7px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.pod-topbar__icon-btn:hover { color: #fff; background: rgba(255,255,255,.1); }
.pod-topbar__icon-btn svg { width: 20px; height: 20px; }

.pod-topbar__badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--pod-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* User dropdown */
.pod-user-menu { position: relative; }
.pod-user-menu__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
}
.pod-user-menu__trigger:hover { background: rgba(255,255,255,.1); }
.pod-user-menu__avatar {
  width: 30px; height: 30px;
  background: var(--pod-teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.pod-user-menu__dropdown {
  position: absolute;
  right: 0; top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--pod-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 180px;
  z-index: 1200;
  display: none;
}
.pod-user-menu__dropdown.open { display: block; }
.pod-user-menu__dropdown a,
.pod-user-menu__dropdown button {
  display: block;
  width: 100%;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--pod-text);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  transition: background .1s;
}
.pod-user-menu__dropdown a:hover,
.pod-user-menu__dropdown button:hover { background: var(--pod-slate); }
.pod-user-menu__role {
  padding: 10px 16px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--pod-muted);
  font-weight: 600;
}
.pod-user-menu__divider {
  border: none;
  border-top: 1px solid var(--pod-border);
  margin: 4px 0;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.pod-sidebar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: #fff;
  border-right: 1px solid var(--pod-border);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1050;
  transition: width .2s ease, transform .2s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--pod-border) transparent;
}
.pod-sidebar::-webkit-scrollbar { width: 4px; }
.pod-sidebar::-webkit-scrollbar-thumb { background: var(--pod-border); border-radius: 4px; }

/* Collapsed state */
body.sidebar-collapsed .pod-sidebar { width: 64px; }
body.sidebar-collapsed .pod-sidebar .nav-section-label,
body.sidebar-collapsed .pod-sidebar .pod-nav__section-label { display: none; }
body.sidebar-collapsed .pod-sidebar .pod-nav__item a { justify-content: center; padding: 10px; position: relative; }
body.sidebar-collapsed .pod-sidebar .pod-nav__item a .nav-icon { margin: 0; width: 20px; height: 20px; opacity: 1; }

/* Collapsed: hide label (JS tooltip renders on body instead) */
body.sidebar-collapsed .pod-sidebar .pod-nav__item a .nav-label { display: none; }

/* JS-driven sidebar tooltip */
.pod-sidebar-tip {
  position: fixed;
  background: var(--pod-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: opacity .12s;
}
.pod-sidebar-tip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--pod-navy);
}

/* Mobile: sidebar slides in as overlay */
@media (max-width: 768px) {
  .pod-sidebar { transform: translateX(-100%); box-shadow: var(--shadow-md); }
  body.sidebar-open .pod-sidebar { transform: translateX(0); }
}

/* Sidebar nav */
.pod-nav { padding: 12px 0; }

.pod-nav__section { margin-top: 4px; }

.pod-nav__section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--pod-muted-lt);
  padding: 10px 16px 4px;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity .2s;
}

.pod-nav__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  color: var(--pod-muted);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 0;
  text-decoration: none;
  transition: color .15s, background .15s;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.pod-nav__item a:hover {
  color: var(--pod-navy);
  background: var(--pod-slate);
  text-decoration: none;
}
.pod-nav__item a.active {
  color: var(--pod-teal);
  background: var(--pod-teal-lt);
  font-weight: 600;
}
.pod-nav__item a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--pod-teal);
  border-radius: 0 3px 3px 0;
}

.nav-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  opacity: .7;
}
.pod-nav__item a:hover .nav-icon,
.pod-nav__item a.active .nav-icon { opacity: 1; }

.nav-label { transition: opacity .2s; }

.nav-badge {
  margin-left: auto;
  background: var(--pod-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  flex-shrink: 0;
}

/* ── Main Content Area ─────────────────────────────────────── */
.pod-main {
  margin-left: var(--sidebar-w);
  padding-top: var(--topbar-h);
  min-height: 100vh;
  transition: margin-left .2s ease;
}
body.sidebar-collapsed .pod-main { margin-left: 64px; }
@media (max-width: 768px) {
  .pod-main { margin-left: 0; }
}

.pod-content {
  padding: 28px 32px;
  max-width: 1280px;
}
@media (max-width: 1024px) {
  .pod-content { padding: 20px 16px; }
}

/* ── Page Header ───────────────────────────────────────────── */
.pod-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pod-page-header__left h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--pod-navy);
  margin: 0 0 2px;
  line-height: 1.2;
}
.pod-page-header__left p {
  font-size: 13px;
  color: var(--pod-muted);
  margin: 0;
}
.pod-page-header__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Year Context Strip ────────────────────────────────────── */
.pod-year-strip {
  background: var(--pod-navy);
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .1px;
}
.pod-year-strip a { color: var(--pod-teal); font-weight: 600; }
.pod-year-strip a:hover { color: #fff; }

/* ── Cards ─────────────────────────────────────────────────── */
.pod-card {
  background: var(--pod-white);
  border: 1px solid var(--pod-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pod-card__header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--pod-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pod-card__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--pod-muted);
  margin: 0;
}
.pod-card__body { padding: 20px; }
.pod-card__footer {
  padding: 12px 20px;
  border-top: 1px solid var(--pod-border);
  background: var(--pod-slate);
}

/* ── Stat Cards ────────────────────────────────────────────── */
.pod-stat {
  background: var(--pod-white);
  border: 1px solid var(--pod-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.pod-stat__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pod-stat__icon svg { width: 24px; height: 24px; }
.pod-stat__icon--navy  { background: #e8eef5; color: var(--pod-navy); }
.pod-stat__icon--teal  { background: var(--pod-teal-lt); color: var(--pod-teal); }
.pod-stat__icon--green { background: var(--pod-green-lt); color: var(--pod-green); }
.pod-stat__icon--amber { background: var(--pod-amber-lt); color: var(--pod-amber); }
.pod-stat__icon--red   { background: var(--pod-red-lt); color: var(--pod-red); }
.pod-stat__icon--blue  { background: var(--pod-blue-lt); color: var(--pod-blue); }
.pod-stat__value {
  font-size: 28px;
  font-weight: 800;
  color: var(--pod-navy);
  line-height: 1;
}
.pod-stat__label {
  font-size: 12px;
  color: var(--pod-muted);
  margin-top: 3px;
  font-weight: 500;
}

/* ── Status Dots ───────────────────────────────────────────── */
.pod-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.pod-dot--green { background: var(--pod-green-lt); color: var(--pod-green); }
.pod-dot--amber { background: var(--pod-amber-lt); color: var(--pod-amber); }
.pod-dot--red   { background: var(--pod-red-lt);   color: var(--pod-red); }
.pod-dot--grey  { background: var(--pod-grey-lt);  color: var(--pod-grey); }

/* Status pills */
.pod-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pod-pill--green { background: var(--pod-green-lt); color: var(--pod-green); }
.pod-pill--amber { background: var(--pod-amber-lt); color: var(--pod-amber); }
.pod-pill--red   { background: var(--pod-red-lt);   color: var(--pod-red); }
.pod-pill--grey  { background: var(--pod-grey-lt);  color: var(--pod-muted); }
.pod-pill--navy  { background: #e8eef5; color: var(--pod-navy); }
.pod-pill--teal  { background: var(--pod-teal-lt);  color: var(--pod-teal); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-pod-primary {
  background: var(--pod-navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}
.btn-pod-primary:hover { background: var(--pod-navy-dark); color: #fff; text-decoration: none; }

.btn-pod-teal {
  background: var(--pod-teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background .15s;
}
.btn-pod-teal:hover { background: #0b8078; color: #fff; text-decoration: none; }

.btn-pod-ghost {
  background: transparent;
  color: var(--pod-muted);
  border: 1px solid var(--pod-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all .15s;
}
.btn-pod-ghost:hover { border-color: var(--pod-navy); color: var(--pod-navy); text-decoration: none; }

.btn-pod-danger {
  background: var(--pod-red-lt);
  color: var(--pod-red);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background .15s;
}
.btn-pod-danger:hover { background: #fca5a5; color: var(--pod-red); text-decoration: none; }

/* Button sizes */
.btn-sm { padding: 5px 12px !important; font-size: 12px !important; }
.btn-xs { padding: 3px 8px !important; font-size: 11px !important; }

/* ── Tables ────────────────────────────────────────────────── */
.pod-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.pod-table thead th {
  background: var(--pod-slate);
  color: var(--pod-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--pod-border);
  white-space: nowrap;
}
.pod-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--pod-border);
  vertical-align: middle;
}
.pod-table tbody tr:last-child td { border-bottom: none; }
.pod-table tbody tr:hover td { background: var(--pod-slate); }

/* Compliance grid table */
.pod-table--compliance th,
.pod-table--compliance td { text-align: center; }
.pod-table--compliance td:first-child,
.pod-table--compliance th:first-child { text-align: left; }

/* ── Forms ─────────────────────────────────────────────────── */
.pod-form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pod-muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 6px;
}
.pod-form-control {
  width: 100%;
  border: 1px solid var(--pod-border);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-size: 13.5px;
  color: var(--pod-text);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.pod-form-control:focus {
  border-color: var(--pod-teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}

/* ── Tabs ──────────────────────────────────────────────────── */
.pod-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--pod-border);
  margin-bottom: 24px;
}
.pod-tab {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pod-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  text-decoration: none;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.pod-tab:hover { color: var(--pod-navy); text-decoration: none; }
.pod-tab.active { color: var(--pod-teal); border-bottom-color: var(--pod-teal); }

/* ── Stepper (IHIP Workflow) ───────────────────────────────── */
.pod-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 0;
}
.pod-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 80px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
.pod-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 2px;
  background: var(--pod-border);
  z-index: 0;
}
.pod-step--done:not(:last-child)::after   { background: var(--pod-green); }
.pod-step--active:not(:last-child)::after { background: var(--pod-border); }

.pod-step__circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: var(--pod-grey-lt);
  color: var(--pod-grey);
  border: 2px solid var(--pod-border);
  z-index: 1;
  transition: all .2s;
}
.pod-step--done .pod-step__circle    { background: var(--pod-green-lt); color: var(--pod-green); border-color: var(--pod-green); }
.pod-step--active .pod-step__circle  { background: var(--pod-navy); color: #fff; border-color: var(--pod-navy); }
.pod-step--pending .pod-step__circle { background: var(--pod-amber-lt); color: var(--pod-amber); border-color: var(--pod-amber); }

.pod-step__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--pod-muted);
  text-align: center;
  line-height: 1.2;
}
.pod-step--done .pod-step__label   { color: var(--pod-green); }
.pod-step--active .pod-step__label { color: var(--pod-navy); }

/* ── Alerts ────────────────────────────────────────────────── */
.pod-alert {
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pod-alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.pod-alert--success { background: var(--pod-green-lt); color: #14532d; }
.pod-alert--warning { background: var(--pod-amber-lt); color: #78350f; }
.pod-alert--danger  { background: var(--pod-red-lt);   color: #7f1d1d; }
.pod-alert--info    { background: var(--pod-blue-lt);  color: #1e3a8a; }

/* ── Flash messages ────────────────────────────────────────── */
.pod-flash { position: relative; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.pod-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--pod-muted);
  margin-bottom: 4px;
}
.pod-breadcrumb a { color: var(--pod-muted); }
.pod-breadcrumb a:hover { color: var(--pod-navy); }
.pod-breadcrumb__sep { color: var(--pod-muted-lt); }

/* ── Empty state ───────────────────────────────────────────── */
.pod-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--pod-muted);
}
.pod-empty__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  opacity: .3;
}
.pod-empty h3 { font-size: 16px; font-weight: 600; color: var(--pod-navy); margin-bottom: 6px; }
.pod-empty p  { font-size: 13px; margin: 0; }

/* ── Modal overrides ───────────────────────────────────────── */
.modal-content { border-radius: var(--radius); border: 1px solid var(--pod-border); }
.modal-header  { border-bottom: 1px solid var(--pod-border); padding: 16px 20px; }
.modal-footer  { border-top: 1px solid var(--pod-border); padding: 12px 20px; background: var(--pod-slate); border-radius: 0 0 var(--radius) var(--radius); }
.modal-title   { font-size: 16px; font-weight: 700; color: var(--pod-navy); }

/* ── Quill editor overrides ────────────────────────────────── */
.ql-toolbar { border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important; border-color: var(--pod-border) !important; }
.ql-container { border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; border-color: var(--pod-border) !important; font-size: 14px !important; }

/* ── Auth Layout (login / setup) ───────────────────────────── */
.pod-auth-body {
  background: linear-gradient(135deg, var(--pod-navy) 0%, #2d5a8e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pod-auth-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}
.pod-auth-card__header {
  background: var(--pod-navy);
  padding: 28px 32px;
  text-align: center;
}
.pod-auth-card__logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.pod-auth-card__logo span { color: var(--pod-teal); }
.pod-auth-card__subtitle {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}
.pod-auth-card__body { padding: 32px; }

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .pod-sidebar,
  .pod-topbar,
  .pod-year-strip,
  .pod-page-header__actions,
  .no-print { display: none !important; }
  .pod-main { margin-left: 0 !important; padding-top: 0 !important; }
  .pod-content { padding: 0 !important; max-width: 100% !important; }
  .pod-card { box-shadow: none !important; border: none !important; }
  body { background: white !important; }
}

/* ── Utility helpers ───────────────────────────────────────── */
.text-navy  { color: var(--pod-navy) !important; }
.text-teal  { color: var(--pod-teal) !important; }
.text-muted { color: var(--pod-muted) !important; }
.fw-700 { font-weight: 700 !important; }
.fw-600 { font-weight: 600 !important; }
.fs-12  { font-size: 12px !important; }
.fs-13  { font-size: 13px !important; }
.gap-8  { gap: 8px !important; }

/* Compact table in cards */
.pod-card .pod-table thead th:first-child,
.pod-card .pod-table tbody td:first-child { padding-left: 20px; }
.pod-card .pod-table thead th:last-child,
.pod-card .pod-table tbody td:last-child  { padding-right: 20px; }

/* Bootstrap override — keep Bootstrap utilities available */
.d-flex   { display: flex !important; }
.d-grid   { display: grid !important; }
.d-none   { display: none !important; }
.d-block  { display: block !important; }
.w-100    { width: 100% !important; }
.h-100    { height: 100% !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.ms-auto { margin-left: auto !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
