/* Opt-in native shell structure. Site identity/colors retain their canonical owners. */
body[data-site-presentation="municipal-classic"] {
  --presentation-content-width: 1200px;
  --presentation-gutter: clamp(16px, 4vw, 64px);
}
body[data-site-presentation="municipal-classic"] .tt-container {
  width: 100%;
  max-width: var(--presentation-content-width);
  margin-inline: auto;
  padding-inline: var(--presentation-gutter);
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar {
  background: var(--primary-700, #0c3d6b);
  color: var(--presentation-utility-ink, #fff);
  font-size: 14px;
}
body[data-site-presentation="municipal-classic"] .tt-header__main {
  background: var(--primary-600, #0f4c81);
  color: #fff;
}
body[data-site-presentation="municipal-classic"] .tt-header__org-name,
body[data-site-presentation="municipal-classic"] .tt-header__org-sub {
  color: inherit;
  overflow-wrap: anywhere;
}
body[data-site-presentation="municipal-classic"] .tt-header__masthead {
  min-height: 126px;
}
body[data-site-presentation="municipal-classic"] .tt-header__logo {
  width: var(--presentation-logo-size, 88px);
  height: var(--presentation-logo-size, 88px);
  flex: 0 0 var(--presentation-logo-size, 88px);
}
body[data-site-presentation="municipal-classic"] .tt-header__brand {
  min-width: 0;
}
body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-nav--inline {
  /* Existing shell declares its transparent nav background important. */
  background: var(--presentation-nav-surface, #fff) !important;
  color: #222;
  border-top: 0;
}
body[data-site-presentation="municipal-classic"] .municipal-menu-group {
  position: relative;
}
body[data-site-presentation="municipal-classic"] .municipal-menu-group > summary,
body[data-site-presentation="municipal-classic"] .municipal-menu-link {
  display: block;
  padding: 12px;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}
body[data-site-presentation="municipal-classic"] .municipal-menu-group__links {
  padding: 12px;
  background: #fff;
  color: #222;
  border: 1px solid #cbd5e1;
}
body[data-site-presentation="municipal-classic"] .municipal-menu-group__links > a {
  display: block;
  padding: 10px;
  color: inherit;
  overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__main {
    background: var(--presentation-nav-surface, #fff);
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__main-inner {
    display: grid;
    grid-template-columns: minmax(280px, 32%) minmax(0, 1fr);
    max-width: none;
    padding: 0;
    gap: 0;
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__masthead {
    min-height: 120px;
    padding: var(--presentation-masthead-pad, 16px) 24px;
    background: var(--primary-600, #0f4c81);
    border-radius: 0 0 var(--presentation-brand-curve, 80px) 0;
    border-bottom: 4px solid var(--civic-shell-gold, #c9992e);
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-name {
    font-size: var(--presentation-org-name-size, 20px);
    line-height: 1.35;
    font-weight: var(--presentation-org-name-weight, 700);
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-sub {
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--presentation-utility-ink, inherit);
  }
  body[data-site-presentation="municipal-classic"] .tt-header__actions {
    display: none;
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-nav__inner {
    justify-content: space-evenly;
    align-items: center;
    min-height: 120px;
    padding: 0 16px;
    gap: 0;
  }
  body[data-site-presentation="municipal-classic"] .municipal-menu-group > summary,
  body[data-site-presentation="municipal-classic"] .municipal-menu-link {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 8px;
  }
  body[data-site-presentation="municipal-classic"] .tt-nav--desktop .municipal-menu-group__links {
    position: absolute;
    z-index: 100;
    min-width: 240px;
    max-width: min(400px, 80vw);
  }
  body[data-site-presentation="municipal-classic"] .tt-nav--desktop .municipal-menu-group__links .municipal-menu-group__links {
    position: static;
    min-width: 0;
  }
}
body[data-site-presentation="municipal-classic"] .municipal-menu-group > summary:focus-visible,
body[data-site-presentation="municipal-classic"] .municipal-menu-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
body[data-site-presentation="municipal-classic"] .public-inner-shell {
  max-width: var(--presentation-content-width);
  padding: 40px var(--presentation-gutter);
}
body[data-site-presentation="municipal-classic"] .public-inner-shell > div {
  min-width: 0;
  padding-block: 0;
}
body[data-site-presentation="municipal-classic"] .public-inner-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body[data-site-presentation="municipal-classic"] .public-inner-card > div {
  padding: 0;
}
body[data-site-presentation="municipal-classic"] .site-listing-title,
body[data-site-presentation="municipal-classic"] .site-detail-title {
  font-size: 32px;
  line-height: 1.4;
  color: var(--primary-600, #0f4c81);
}
body[data-site-presentation="municipal-classic"] .public-inner-card :is(h2, h3) {
  color: var(--primary-600, #0f4c81);
}
/* The civic inner surface forces navy on primary text; this presentation keeps the site primary. */
body[data-site-presentation="municipal-classic"] .site-child-link,
body[data-site-presentation="municipal-classic"] a.site-child-link.rounded-xl.border.bg-white {
  color: var(--primary-600, #0f4c81) !important;
  border-color: var(--presentation-child-link-border, #e2e8f0) !important;
}
/* Personnel org chart: equal portrait cards, at most three per row in every tier. */
body[data-site-presentation="municipal-classic"] .org-tier {
  gap: 24px;
}
body[data-site-presentation="municipal-classic"] .org-tier > .org-node {
  width: calc((100% - 48px) / 3);
  max-width: 300px;
  min-width: 0;
  border: 0;
  border-radius: 16px;
  background: var(--presentation-card-surface, #fff);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
body[data-site-presentation="municipal-classic"] .org-tier-heading {
  color: var(--primary-600, #0f4c81);
}
body[data-site-presentation="municipal-classic"] .org-node img {
  object-position: 50% 20%;
}
body[data-site-presentation="municipal-classic"] .org-node > div:last-child {
  text-align: start;
  padding: 16px;
}
body[data-site-presentation="municipal-classic"] .org-node > div:last-child > p:first-child {
  font-size: 18px;
  color: var(--primary-600, #0f4c81);
}
body[data-site-presentation="municipal-classic"] .org-node > div:last-child > p + p {
  font-size: 15px;
}
/* Site theme bundles may set one reading typeface for the whole presentation. */
body[data-site-presentation="municipal-classic"] main {
  font-family: var(--presentation-body-font, inherit);
}
body[data-site-presentation="municipal-classic"] .site-listing-head + ul[role="list"] {
  list-style: none;
  padding: 0;
  margin-inline: 0;
}
body[data-site-presentation="municipal-classic"] .site-footer--surface {
  background: var(--primary-700, #0c3d6b);
  color: #fff;
}
body[data-site-presentation="municipal-classic"] .site-footer__brand,
body[data-site-presentation="municipal-classic"] .site-footer__heading,
body[data-site-presentation="municipal-classic"] .site-footer__link,
body[data-site-presentation="municipal-classic"] .site-footer__copy {
  color: inherit;
}
/* Phone and email sit on the brand surface; keep them at full contrast. */
body[data-site-presentation="municipal-classic"] .site-footer--surface .site-footer__link--strong {
  color: #fff;
}
@media (max-width: 767px) {
  body[data-site-presentation="municipal-classic"] .org-tier > .org-node {
    width: calc((100% - 24px) / 2);
  }
  body[data-site-presentation="municipal-classic"] .site-listing-title,
  body[data-site-presentation="municipal-classic"] .site-detail-title {
    font-size: 26px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__masthead {
    min-height: 88px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
  body[data-site-presentation="municipal-classic"] .public-inner-shell {
    padding-block: 24px;
  }
}

/* ---- Round 2 shell parity: utility bar, identity, footer mark, contact rail ----
   Presentation-scoped only. Colours come from the site primary/gold tokens; sizes follow the
   municipal reference (readable 15px utility text, large circular emblem, cream contact cards). */
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.4;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  flex-wrap: wrap;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
  margin-left: auto;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-shortcuts {
  display: flex;
  align-items: center;
  gap: 4px 18px;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--presentation-utility-ink, #fbe7b5);
  text-decoration: none;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-link--shortcut.is-current {
  color: #fff;
  border-bottom: 2px solid var(--civic-shell-gold, #e6be5a);
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-link:focus-visible,
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__btn:focus-visible,
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__lang-select:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
body[data-site-presentation="municipal-classic"] .tt-tools--utility {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  gap: 6px;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__btn {
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  background: transparent;
  color: var(--presentation-utility-ink, #fbe7b5);
  border: 1px solid rgba(246, 220, 154, 0.6);
  border-radius: 8px;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__btn:hover,
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__btn.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__label {
  font-size: 15px;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__sep {
  display: none;
}
/* The language picker inherited white text on a white field; make it a readable outlined pill. */
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__lang-select {
  min-height: 36px;
  padding: 0 12px;
  font-size: 15px;
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(246, 220, 154, 0.6);
  border-radius: 999px;
}
body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__lang-select option {
  color: #222;
  background: #fff;
}
/* Identity: large circular emblem without the white square, bilingual name. The emblem file is
   usually a round seal on a white square, so the circle clip + crop hides the square's corners. */
body[data-site-presentation="municipal-classic"] .tt-header__logo {
  --presentation-logo-crop: 111.2%;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  width: var(--presentation-logo-size, clamp(76px, 7.5vw, 108px));
  height: var(--presentation-logo-size, clamp(76px, 7.5vw, 108px));
  flex: 0 0 var(--presentation-logo-size, clamp(76px, 7.5vw, 108px));
}
body[data-site-presentation="municipal-classic"] .tt-header__logo img,
body[data-site-presentation="municipal-classic"] .site-footer--surface .site-footer__brandrow .site-footer__brandmark img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--presentation-logo-crop, 111.2%);
  height: var(--presentation-logo-crop, 111.2%);
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
}
body[data-site-presentation="municipal-classic"] .tt-header__brand {
  gap: 14px;
}
body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-name {
  font-size: var(--presentation-org-name-size, clamp(18px, 1.6vw, 23px));
}
body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-sub {
  font-size: 13px;
  color: var(--presentation-utility-ink, #fbe7b5);
  letter-spacing: 0.01em;
}
body[data-site-presentation="municipal-classic"] .site-footer--surface .site-footer__brandrow .site-footer__brandmark {
  position: relative;
  overflow: hidden;
  flex: none;
  width: clamp(68px, 6.1vw, 88px);
  height: clamp(68px, 6.1vw, 88px);
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body[data-site-presentation="municipal-classic"] .site-footer__subtitle {
  color: var(--presentation-utility-ink, #fbe7b5);
}
/* Floating contact rail: cream cards with a gold edge and a primary accent, red lead action. */
body[data-site-presentation="municipal-classic"] .sila-contact-rail {
  top: auto;
  bottom: 24px;
  right: 14px;
  transform: none;
  align-items: flex-end;
  gap: 10px;
  font-size: 15px;
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__list {
  gap: 10px;
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__link,
body[data-site-presentation="municipal-classic"] .sila-contact-rail__toggle {
  min-height: 56px;
  padding: 8px 18px 8px 10px;
  gap: 10px;
  border: 1px solid #d4b474;
  border-left: 4px solid var(--primary-600, #a71925);
  border-radius: 18px;
  background: #fffdf7;
  color: var(--primary-700, #7a1214);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(76, 17, 20, 0.16);
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__link:hover,
body[data-site-presentation="municipal-classic"] .sila-contact-rail__toggle:hover {
  filter: none;
  background: #fcebc4;
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__icon {
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: var(--primary-600, #a71925);
  color: #fff;
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__link--messenger {
  border: 1px solid #d6ad50;
  border-radius: 23px 23px 7px 23px;
  background: linear-gradient(125deg, var(--primary-700, #a8121b), var(--primary-600, #cf2524));
  color: #fff;
  box-shadow: 0 9px 30px rgba(128, 23, 29, 0.25), 0 0 0 4px rgba(255, 247, 234, 0.8);
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__link--messenger:hover {
  background: linear-gradient(125deg, var(--primary-700, #a8121b), var(--primary-600, #cf2524));
  box-shadow: 0 12px 35px rgba(128, 23, 29, 0.32), 0 0 0 4px rgba(255, 247, 234, 0.9);
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__link--messenger .sila-contact-rail__icon {
  background: rgba(255, 255, 255, 0.2);
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__toggle {
  min-height: 44px;
  padding: 8px 14px;
  border-left-width: 1px;
  border-radius: 24px;
  font-size: 14px;
}
body[data-site-presentation="municipal-classic"] .sila-contact-rail__link:focus-visible,
body[data-site-presentation="municipal-classic"] .sila-contact-rail__toggle:focus-visible {
  outline: 3px solid #b88b32;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  body[data-site-presentation="municipal-classic"] .sila-contact-rail {
    right: 8px;
    bottom: 12px;
    font-size: 14px;
  }
  body[data-site-presentation="municipal-classic"] .sila-contact-rail__link {
    min-height: 48px;
    padding: 6px 14px 6px 8px;
    font-size: 14px;
  }
  body[data-site-presentation="municipal-classic"] .sila-contact-rail__icon {
    width: 32px;
    height: 32px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-bar {
    font-size: 14px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-bar-inner {
    justify-content: flex-end;
    padding-block: 4px;
  }
  /* Shortcuts and the login link share the first row; the tools take their own row beneath. */
  body[data-site-presentation="municipal-classic"] .tt-header__utility-right {
    width: 100%;
    justify-content: space-between;
    gap: 2px 12px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-shortcuts {
    order: 1;
    gap: 2px 14px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-right > .tt-header__utility-link,
  body[data-site-presentation="municipal-classic"] .tt-header__utility-right > form {
    order: 2;
    margin-left: auto;
  }
  body[data-site-presentation="municipal-classic"] .tt-tools--utility {
    order: 3;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    gap: 4px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-link {
    font-size: 14px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__btn {
    min-width: 32px;
    min-height: 32px;
    padding: 0 6px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__label {
    font-size: 14px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__lang {
    flex: 1 1 auto;
    min-width: 0;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__utility-bar .tt-tools__lang-select {
    width: 100%;
    max-width: 150px;
    min-height: 32px;
    font-size: 14px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__logo {
    --presentation-logo-size: 72px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-name,
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-sub {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-name {
    font-size: var(--presentation-org-name-size, 18px);
  }
  body[data-site-presentation="municipal-classic"] .tt-header--municipal .tt-header__org-sub {
    font-size: 12px;
  }
}
@media (max-width: 359px) {
  body[data-site-presentation="municipal-classic"] .tt-header__logo {
    --presentation-logo-size: 60px;
  }
  body[data-site-presentation="municipal-classic"] .tt-header__brand {
    gap: 10px;
  }
}
/* Drawer language picker: white field, so keep the text dark. */
body[data-site-presentation="municipal-classic"] .tt-drawer .tt-tools__lang-select {
  color: #1f2937;
  min-height: 40px;
  font-size: 15px;
}
/* Drawer follows the site primary (not the civic navy) and keeps the tools clear of the close button. */
body[data-site-presentation="municipal-classic"] .tt-drawer__panel {
  background: linear-gradient(180deg, var(--primary-600, #a8141b) 0%, var(--primary-700, #7a0f15) 100%);
}
body[data-site-presentation="municipal-classic"] .tt-drawer__tools {
  padding-top: 64px;
}
body[data-site-presentation="municipal-classic"] .tt-drawer__tools .tt-tools--access {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
