/**
 * Munispan light theme. Overrides Carbon Bay hard-coded dark surfaces
 * so ink is never on a dark field.
 */
body.theme-munispan {
  --pf-bg: #f4efe6;
  --pf-surface: #fffdf8;
  --pf-ink: #1c1a17;
  --pf-muted: #5c564e;
  --pf-border: #d4cbbd;
  --pf-primary: #e7e0d4;
  --pf-primary-strong: #d9d0c3;
  --pf-action: #1f4d3a;
  --pf-action-ink: #fffdf8;
  --pf-danger: #a33b2b;
  --pf-focus: #1f4d3a;
  --pf-company-accent: #1f4d3a;
  --pf-accent: #1f4d3a;
  --pf-shadow: 0 1px 2px rgb(28 26 23 / 8%);
  --pf-font-display: "Source Sans 3", "Segoe UI", sans-serif;
  --pf-font-body: "Source Sans 3", "Segoe UI", sans-serif;
  color-scheme: light;
  background: #f4efe6 !important;
  color: #1c1a17 !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  letter-spacing: 0;
}

html:has(body.theme-munispan) { font-size: 18px; }
body.theme-munispan.pf-staff-body {
  color-scheme: light;
  background: #f4efe6 !important;
  --pf-sidebar-width: 280px;
  font-size: 1.125rem;
  line-height: 1.6;
}
body.theme-munispan h1,
body.theme-munispan h2,
body.theme-munispan h3,
body.theme-munispan .pf-display,
body.theme-munispan .pf-brand-title,
body.theme-munispan .pf-sidebar-title,
body.theme-munispan .pf-staff-topbar-company,
body.theme-munispan .erp-ops-head h1,
body.theme-munispan .erp-home-hero h1,
body.theme-munispan .erp-home-tile strong,
body.theme-munispan .font-display {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}
body.theme-munispan .erp-ops-head h1,
body.theme-munispan .erp-home-hero h1 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.2;
}
body.theme-munispan .pf-nav-group-toggle,
body.theme-munispan .erp-ops-kicker,
body.theme-munispan .erp-ops-stat-label,
body.theme-munispan .pf-table th,
body.theme-munispan th {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: .95rem;
}
body.theme-munispan .pf-nav-link,
body.theme-munispan .pf-nav-button,
body.theme-munispan .pf-nav-link .pf-nav-text {
  font-size: 1.05rem;
}
body.theme-munispan .pf-nav-child {
  font-size: .98rem;
}
body.theme-munispan .pf-btn,
body.theme-munispan .pf-input,
body.theme-munispan .pf-select,
body.theme-munispan .pf-textarea,
body.theme-munispan .pf-label,
body.theme-munispan .pf-table th,
body.theme-munispan .pf-table td {
  font-size: 1.05rem;
}
body.theme-munispan .pf-muted {
  font-size: 1.05rem;
  line-height: 1.55;
}

body.theme-munispan a { color: #1f4d3a; }
body.theme-munispan .pf-stat { color: #1f4d3a; }
body.theme-munispan .pf-muted { color: #5c564e; }
body.theme-munispan .pf-card,
body.theme-munispan .pf-header,
body.theme-munispan .pf-sidebar,
body.theme-munispan .pf-staff-app {
  background: #fffdf8;
  color: #1c1a17;
  border-color: #d4cbbd;
}
body.theme-munispan .pf-nav a,
body.theme-munispan .pf-nav button {
  background: #e7e0d4;
  color: #1c1a17;
}
body.theme-munispan .pf-nav a.is-active,
body.theme-munispan .pf-nav a.pf-action-link {
  background: #1f4d3a;
  color: #fffdf8;
}
body.theme-munispan .pf-btn-primary {
  background: #1f4d3a;
  color: #fffdf8;
}
body.theme-munispan .pf-btn-secondary {
  background: #e7e0d4;
  color: #1c1a17;
  border-color: #d4cbbd;
}
body.theme-munispan .pf-input,
body.theme-munispan .pf-select,
body.theme-munispan .pf-textarea {
  background: #fffdf8;
  color: #1c1a17;
  border-color: #cfc6b6;
}
body.theme-munispan .pf-badge {
  background: #e7e0d4;
  color: #1c1a17;
  border-color: #d4cbbd;
}
body.theme-munispan .pf-badge-success { background: #e4efe8; color: #1f4d3a; border-color: #b7cfc0; }
body.theme-munispan .pf-badge-warn { background: #f5ecd4; color: #6a4f12; border-color: #e2d2a4; }
body.theme-munispan .pf-badge-danger { background: #f6e4e1; color: #a33b2b; border-color: #e2b8b2; }
body.theme-munispan .pf-flash,
body.theme-munispan .pf-flash-success,
body.theme-munispan .pf-flash-ok {
  background: #e4efe8;
  color: #1f4d3a;
  border-color: #b7cfc0;
}
body.theme-munispan .pf-flash-error,
body.theme-munispan .pf-flash-err {
  background: #f6e4e1;
  color: #a33b2b;
  border-color: #e2b8b2;
}
body.theme-munispan .pf-sidebar-logo,
body.theme-munispan .pf-sidebar-logo-lockup {
  width: auto;
  height: 36px;
  max-width: 150px;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
}
body.theme-munispan .pf-footer {
  background: #f4efe6;
  color: #5c564e;
  border-color: #d4cbbd;
}
body.theme-munispan .erp-home-hero,
body.theme-munispan .erp-ops-head {
  background: #fffdf8;
  border-color: #d4cbbd;
  color: #1c1a17;
}
body.theme-munispan .erp-home-hero h1,
body.theme-munispan .erp-ops-head h1 {
  color: #1c1a17;
}
body.theme-munispan .erp-home-hero .pf-muted,
body.theme-munispan .erp-ops-head .pf-muted,
body.theme-munispan .erp-ops-subtitle,
body.theme-munispan .erp-ops-meta {
  color: #5c564e;
}
body.theme-munispan .erp-ops-kicker,
body.theme-munispan .erp-home-hero [style*="color:var(--pf-action)"],
body.theme-munispan .erp-home-hero [style*="color: var(--pf-action)"] {
  color: #1f4d3a !important;
}
body.theme-munispan .erp-ops-stat {
  background: #fffdf8;
  border-color: #d4cbbd;
}
body.theme-munispan .erp-ops-stat-value { color: #1c1a17; }
body.theme-munispan .erp-ops-stat-label { color: #5c564e; }
body.theme-munispan .pf-creatable-menu,
body.theme-munispan .pf-creatable-option {
  background: #fffdf8 !important;
  background-color: #fffdf8 !important;
  color: #1c1a17 !important;
  border-color: #d4cbbd !important;
  box-shadow: 0 8px 20px rgb(28 26 23 / 10%);
}

body.theme-munispan .erp-mkt {
  --mkt-bg: #f4efe6;
  --mkt-surface: #fffdf8;
  --mkt-ink: #1c1a17;
  --mkt-muted: #5c564e;
  --mkt-line: #d4cbbd;
  --mkt-volt: #1f4d3a;
  --mkt-volt-ink: #fffdf8;
  --mkt-sky: #3d6b58;
  background: #f4efe6;
  color: #1c1a17;
}
body.theme-munispan .erp-mkt,
body.theme-munispan .erp-mkt h1,
body.theme-munispan .erp-mkt h2,
body.theme-munispan .erp-mkt h3,
body.theme-munispan .erp-hero h1,
body.theme-munispan .erp-sec h2,
body.theme-munispan .erp-close h2,
body.theme-munispan .erp-price-stat,
body.theme-munispan .erp-brand-mark {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
body.theme-munispan .erp-mkt a { color: #1f4d3a; }
body.theme-munispan .erp-nav {
  background: rgb(255 253 248 / 94%);
  border-bottom: 1px solid #d4cbbd;
}
body.theme-munispan .erp-nav-brand img,
body.theme-munispan .erp-nav-lockup {
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.theme-munispan .erp-brand-lockup-img {
  height: 56px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}
body.theme-munispan .erp-nav-brand-title { text-transform: none; letter-spacing: .02em; color: #1c1a17; }
body.theme-munispan .erp-nav-brand-title span { color: inherit; }
body.theme-munispan .erp-nav-links a { color: #1c1a17; }
body.theme-munispan .erp-nav-links a:hover { background: rgb(31 77 58 / 8%); }
body.theme-munispan .erp-nav-links a.is-active {
  background: #1f4d3a;
  color: #fffdf8;
}
body.theme-munispan .erp-hero-bg {
  background: linear-gradient(180deg, #f7f2e8 0%, #f4efe6 100%);
}
body.theme-munispan .erp-hero-bg::after { opacity: .25; }
body.theme-munispan .erp-brand-mark { text-transform: none; letter-spacing: .01em; color: #1c1a17; }
body.theme-munispan .erp-brand-mark span { color: inherit; }
body.theme-munispan .erp-hero h1,
body.theme-munispan .erp-sec h2,
body.theme-munispan .erp-close h2 { color: #1c1a17; }
body.theme-munispan .erp-lead,
body.theme-munispan .erp-sec-lead,
body.theme-munispan .erp-hero-panel-meta { color: #5c564e; }
body.theme-munispan .erp-btn-primary {
  background: #1f4d3a;
  color: #fffdf8 !important;
  box-shadow: none;
}
body.theme-munispan .erp-btn-ghost {
  background: #fffdf8;
  border-color: #d4cbbd;
  color: #1c1a17 !important;
}
body.theme-munispan .erp-hero-panel {
  background: #fffdf8;
  border: 1px solid #d4cbbd;
  color: #1c1a17;
  box-shadow: 0 8px 24px rgb(28 26 23 / 6%);
}
body.theme-munispan .erp-hero-panel-kicker,
body.theme-munispan .erp-hero-panel-price,
body.theme-munispan .erp-eyebrow,
body.theme-munispan .erp-price-stat { color: #1f4d3a; }

body.theme-munispan .erp-sec-alt { background: #ebe4d6; }
body.theme-munispan .erp-pillar,
body.theme-munispan .erp-module,
body.theme-munispan .erp-price-table-wrap,
body.theme-munispan .erp-price-card {
  background: #fffdf8;
  border: 1px solid #d4cbbd;
  color: #1c1a17;
}
body.theme-munispan .erp-pillar:hover,
body.theme-munispan .erp-module:hover {
  border-color: #1f4d3a;
  background: #fffdf8;
  transform: none;
}
body.theme-munispan .erp-pillar h3,
body.theme-munispan .erp-module h3,
body.theme-munispan .erp-price-card h3 { color: #1c1a17; }
body.theme-munispan .erp-pillar p,
body.theme-munispan .erp-module p,
body.theme-munispan .erp-price-note { color: #5c564e; }
body.theme-munispan .erp-price-table th {
  background: #efe8dc;
  color: #5c564e;
}
body.theme-munispan .erp-price-table td { color: #1c1a17; }
body.theme-munispan .erp-price-table-base td,
body.theme-munispan .erp-module-price { color: #1f4d3a; }
body.theme-munispan .erp-price-table tfoot td { background: #e4efe8; color: #1c1a17; }
body.theme-munispan .erp-checklist li { color: #1c1a17; }
body.theme-munispan .erp-checklist li::before { box-shadow: none; background: #1f4d3a; }
body.theme-munispan .erp-module-tag { color: #3d6b58; }

body.theme-munispan .erp-close {
  background: #ebe4d6;
  border-top: 1px solid #d4cbbd;
  color: #1c1a17;
}
body.theme-munispan .erp-close p { color: #5c564e; }
body.theme-munispan .erp-footer {
  background: #f4efe6;
  border-top: 1px solid #d4cbbd;
  color: #5c564e;
}
body.theme-munispan .erp-footer a { color: #1f4d3a; }
body.theme-munispan .erp-footer a:hover { color: #163828; }

body.theme-munispan .erp-price-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  body.theme-munispan .erp-price-cards { grid-template-columns: 1fr 1fr; }
}
body.theme-munispan .erp-price-card {
  border-radius: 14px;
  padding: 1.35rem 1.3rem 1.2rem;
}
body.theme-munispan .erp-price-card-fee {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #1f4d3a;
  margin: .15rem 0 .75rem;
  line-height: 1;
}
body.theme-munispan .erp-price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.theme-munispan .erp-price-chips li {
  padding: .3rem .55rem;
  border-radius: 999px;
  background: #efe8dc;
  color: #1c1a17;
  font-size: .85rem;
  font-weight: 600;
}
body.theme-munispan .erp-price-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: #fffdf8;
  border: 1px solid #d4cbbd;
}
body.theme-munispan .erp-price-hero .erp-price-stat { margin: 0; }
body.theme-munispan .erp-price-hero p { margin: 0; max-width: 36ch; color: #5c564e; }
body.theme-munispan .erp-hero-lockup {
  display: block;
  width: min(520px, 100%);
  height: auto;
  margin: 0 0 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
