:root {
  --m3-primary: #6b1a2a;
  --m3-on-primary: #ffffff;
  --m3-secondary: #b8943a;
  --m3-surface: #fffaf4;
  --m3-surface-alt: #f3ebe0;
  --m3-text: #26191d;
  --m3-muted: #6f5a61;
  --m3-line: rgba(75, 16, 32, .14);
  --shadow: 0 18px 50px rgba(74, 16, 32, .12);
  --radius: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--m3-text);
  background: var(--m3-surface);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 1000; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(74, 16, 32, .96);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 74px; height: 44px; object-fit: contain; }
.brand strong { display: block; line-height: 1.1; }
.brand small { display: block; color: #e5c775; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.nav-menu { display: flex; align-items: center; gap: 20px; color: rgba(255,255,255,.86); font-size: 15px; }
.nav-menu a,
.nav-menu button { text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 14px;
}
.nav-dropdown > button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-transform: inherit;
  letter-spacing: inherit;
}
.nav-dropdown > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .75; }
.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  min-width: 220px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(74,16,32,.98);
  box-shadow: 0 18px 42px rgba(35,14,22,.32);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-submenu a { padding: 10px 12px; border-radius: 7px; color: rgba(255,255,255,.9); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 750; white-space: nowrap; }
.nav-submenu a:hover,
.nav-submenu a:focus-visible { background: rgba(255,255,255,.1); color: #fff; outline: 0; }
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dropdown.is-open > button::after { transform: translateY(2px) rotate(225deg); }
.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--m3-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--m3-primary);
  cursor: pointer;
}
.nav-toggle { display: none; background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; margin: auto; background: currentColor; content: "";
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 10px 18px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button-filled { background: var(--m3-secondary); color: #fff; }
.button-outlined { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.12); }
.button-tonal { background: var(--m3-secondary); color: #fff; }
.button-ghost { background: #fff; border-color: var(--m3-line); color: var(--m3-text); }
.admin-area .button.button-filled {
  border-color: var(--m3-secondary);
  background: #fffaf4;
  color: #765a18;
  font-size: 14px;
  font-weight: 400;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.admin-area .button.button-filled:hover { border-color: var(--m3-secondary); background: var(--m3-secondary); color: var(--bx3); }
.admin-area .button.button-filled:disabled { opacity: .5; cursor: not-allowed; }
/* Barres d'actions : « Annuler » à gauche, action principale à droite et en plus grand. */
.admin-area .admin-form-actions .button { font-size: 14px; }
.admin-area .admin-form-actions .button.button-filled,
.admin-area .admin-confirm-actions .button[data-admin-confirm-submit] { font-size: 16px; font-weight: 700; }

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: min(10vw, 96px) 20px 72px;
  background: #3a0c18;
}
.hero-media {
  position: absolute;
  inset: -12% 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.48)),
    linear-gradient(135deg, #335c46 0%, #846d36 42%, #6b1a2a 100%);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: repeating-linear-gradient(168deg, rgba(255,255,255,.12) 0 2px, transparent 2px 32px);
}
.hero-content {
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
}
.eyebrow { color: var(--m3-secondary); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; margin: 0 0 10px; }
.hero h1, .page-heading h1, .section-grid h2, .service-band h2, .admin-topbar h1 {
  margin: 0;
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(50px, 9vw, 96px); max-width: 850px; }
.hero p:not(.eyebrow) { max-width: 680px; font-size: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.quick-access {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--m3-line);
}
.quick-access a {
  background: #4a1020;
  color: #fff;
  text-align: center;
  padding: 18px 10px;
  text-decoration: none;
  font-weight: 700;
}
.section-grid, .service-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 20px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
}
.cards, .service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card, .service-list article, .form-panel, .content-panel, .admin-panel, .list-item {
  background: #fff;
  border: 1px solid var(--m3-line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 20px rgba(74,16,32,.06);
}
.card span, .service-list span { color: var(--m3-primary); font-weight: 800; font-size: 14px; }
.card-accent { background: #fff5d8; }
.service-band { background: var(--m3-surface-alt); max-width: none; padding-inline: max(20px, calc((100vw - 1180px) / 2)); }
.page-heading { max-width: 860px; margin: 0 auto; padding: 72px 20px 28px; }
.page-heading h1 { font-size: clamp(42px, 7vw, 72px); }
.compact { min-height: 50vh; display: grid; align-content: center; }
.form-panel, .content-panel { width: calc(100% - 40px); max-width: 760px; min-width: 0; margin: 0 auto 72px; display: grid; gap: 14px; }
.content-panel > * { min-width: 0; }
.content-panel p, .content-panel a { overflow-wrap: anywhere; }
.contact-details { max-width: 760px; margin: 0 auto 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--m3-line); }
.contact-details > div { padding: 22px 0; }
.contact-details > div + div { padding-left: 32px; border-left: 1px solid var(--m3-line); }
.contact-details .eyebrow { margin: 0 0 6px; }
.contact-details address { color: var(--m3-text); font-style: normal; line-height: 1.5; }
.contact-details a { color: var(--m3-primary); font-size: 22px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 6px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--m3-line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}
small, .alert { color: #9d1b1b; }
.hp { position: absolute; left: -9999px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; color: var(--m3-muted); font-size: 15px; line-height: 1.45; }
.checkbox-field input { width: 18px; min-width: 18px; height: 18px; margin-top: 2px; padding: 0; accent-color: var(--m3-primary); }
.turnstile-placeholder, .privacy-note { color: var(--m3-muted); font-size: 15px; }

.pwa-shell {
  max-width: 430px;
  min-height: calc(100vh - 76px);
  margin: 24px auto;
  border: 10px solid #2b0711;
  border-radius: 28px;
  overflow: hidden;
  background: #fbf5ec;
  box-shadow: var(--shadow);
}
.pwa-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 18px; background: var(--m3-primary); color: #fff; }
.pwa-header strong { display: block; font-size: 24px; }
.pwa-header span { color: #eed28e; }
.pwa-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--m3-line); }
.pwa-tabs button { border: 0; background: #fff; padding: 12px 6px; font-weight: 800; }
.pwa-tabs .active { background: #f1dfb3; color: var(--m3-primary); }
.pwa-panels { padding: 18px; }
.pwa-panels h1 { font-size: 30px; margin: 0 0 14px; }
.pwa-panels h2 { font-size: 18px; margin-top: 20px; }
.list-item { box-shadow: none; margin-bottom: 12px; }
.list-item strong, .list-item span { display: block; }
.list-item span { color: var(--m3-muted); font-size: 15px; }
.mini-form { display: grid; gap: 12px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery-grid span { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(135deg, #6b1a2a, #b8943a); }

.admin-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.admin-sidebar { background: #4a1020; padding: 18px; color: #fff; }
.admin-sidebar img { width: 130px; margin-bottom: 18px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar button, .admin-sidebar a { border: 0; border-radius: var(--radius); padding: 10px 12px; text-align: left; color: #fff; background: transparent; font: inherit; cursor: pointer; text-decoration: none; }
.admin-sidebar .active, .admin-sidebar button:hover, .admin-sidebar a:hover { background: rgba(255,255,255,.12); }
.admin-content { padding: 28px; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
.admin-topbar-simple { display: block; margin-bottom: 28px; }
.admin-topbar-simple .eyebrow { margin: 0; font-size: 15px; }
.admin-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.admin-kpis article { background: #fff; border: 1px solid var(--m3-line); border-radius: var(--radius); padding: 16px; }
.admin-kpis strong { display: block; font-size: 34px; color: var(--m3-primary); }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--m3-line); padding: 12px; text-align: left; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr;
  gap: 34px;
  background: #2f0712;
  color: #fff;
  padding: 54px max(20px, calc((100vw - 1180px) / 2)) 26px;
}
.footer-logo { width: 180px; height: auto; object-fit: contain; margin-bottom: 14px; }
.footer-brand strong { display: block; font-family: Georgia, serif; font-size: 28px; }
.site-footer nav { display: grid; align-content: start; gap: 8px; justify-items: start; }
.site-footer nav h2 { margin: 0 0 8px; color: var(--orl); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.site-footer nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 15px; }
.hosting { grid-column: 1 / -1; color: #fff; margin: 16px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.hosting p { margin: 0; }
.hosting a { color: #fff; }
.scroll-to-top {
  position: fixed;
  right: 14px;
  bottom: 15%;
  z-index: 60;
  width: 92px;
  height: 122px;
  display: grid;
  grid-template-rows: 26px 72px auto;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.82);
  transition: opacity .24s ease, transform .24s ease, visibility .24s;
  cursor: pointer;
}
.scroll-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-to-top.is-visible:hover { transform: translateY(-3px) scale(1.05); }
.scroll-to-top-label { font-size: 12px; font-weight: 900; line-height: 1; letter-spacing: 0; text-shadow: 0 1px 5px rgba(20,6,10,.95), 0 0 2px rgba(20,6,10,.95); }
.scroll-to-top svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgba(20,6,10,.95)); }
.scroll-to-top-grape { width: 72px; height: 72px; display: block; filter: drop-shadow(0 7px 10px rgba(47,7,18,.3)); }
.scroll-to-top-grape img { width: 100%; height: 100%; object-fit: contain; }
.scroll-to-top.is-visible svg { animation: scroll-top-arrow 2.8s ease-in-out infinite; }
.scroll-to-top.is-visible .scroll-to-top-grape { animation: scroll-top-grape 4.8s ease-in-out infinite; }
.scroll-to-top.is-visible .scroll-to-top-label { animation: scroll-top-label 2.8s ease-in-out infinite; }

@keyframes scroll-top-arrow {
  0%, 100% { transform: translateY(1px); }
  50% { transform: translateY(-3px); }
}
@keyframes scroll-top-grape {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}
@keyframes scroll-top-label {
  0%, 100% { opacity: .72; }
  50% { opacity: 1; }
}
.cookie-banner {
  position: fixed;
  left: max(18px, calc((100vw - 1180px) / 2));
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  max-width: 980px;
  margin-inline: auto;
  background: rgba(255,250,244,.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  border: 1px solid rgba(107,26,42,.18);
  border-left: 6px solid var(--m3-secondary);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(74,16,32,.18);
  padding: 16px 18px 16px 20px;
  z-index: 70;
}
.cookie-banner[hidden] { display: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cookie-banner { background: rgba(255,250,244,.96); }
}
.cookie-content {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding-left: 36px;
  position: relative;
}
.cookie-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 2px, transparent 3px), var(--m3-primary);
  box-shadow: inset -5px -4px 0 rgba(0,0,0,.1);
}
.cookie-content strong {
  color: var(--m3-primary);
  font-size: 16px;
  line-height: 1.2;
}
.cookie-content p {
  max-width: 680px;
  margin: 0;
  color: var(--m3-muted);
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-actions .button { min-height: 40px; padding: 8px 15px; font-size: 15px; }

.app-install-nudge { display: none; }
.app-install-nudge[hidden] { display: none; }

@media (max-width: 840px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    inset: 76px 0 auto;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 20px;
    background: #4a1020;
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-dropdown { width: min(320px, 100%); display: grid; justify-items: stretch; }
  .nav-dropdown::after { content: none; }
  .nav-dropdown > button { width: 100%; justify-content: center; }
  .nav-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  .nav-dropdown.is-open .nav-submenu { display: grid; transform: none; }
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu { transform: none; }
  .nav-submenu a { text-align: center; background: rgba(255,255,255,.06); }
  .contact-details { grid-template-columns: 1fr; margin-inline: 20px; }
  .contact-details > div + div { padding-left: 0; border-top: 1px solid var(--m3-line); border-left: 0; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .quick-access { grid-template-columns: repeat(2, 1fr); }
  .section-grid, .service-band, .site-footer, .admin-shell { grid-template-columns: 1fr; }
  .cards, .service-list, .admin-kpis { grid-template-columns: 1fr; }
  .home-service-action { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .home-service-action-link { grid-column: 2; white-space: normal; }
  .home-service-townhall { grid-template-columns: 1fr; }
  .site-footer, .site-footer nav { text-align: center; justify-items: center; }
  .admin-sidebar { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .cookie-banner, .app-install-nudge, .scroll-to-top, .pwa-tabs, .admin-sidebar { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Maquette Bayon fidelity layer */
:root {
  --bx: #6b1a2a;
  --bx2: #8b2235;
  --bx3: #4a1020;
  --bxl: #c4697a;
  --or: #b8943a;
  --orl: #d4b060;
  --creme: #faf6f0;
  --sable: #f0e8d8;
  --text: #2a1a1e;
  --muted: #7a5a62;
}

body { background: var(--creme); color: var(--text); font-size: 19px; }
.site-header { background: rgba(74, 16, 32, .97); backdrop-filter: blur(12px); border-bottom: 2px solid rgba(184,148,58,.35); }
.nav { max-width: none; height: 88px; padding: 0 48px; }
.brand img { width: auto; height: 62px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.28)); }
.nav-menu { gap: 28px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }

.hero { min-height: calc(100vh - 88px); grid-template-rows: auto minmax(32px, 1fr) auto; align-items: stretch; padding: 44px 80px 88px; }
.hero-media {
  background: #3a0c18;
  isolation: isolate;
  transform: translate3d(0, var(--hero-parallax-y, 0), 0);
  will-change: transform;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}
.hero-media::after {
  z-index: 2;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(28,8,14,.34) 0%, rgba(28,8,14,.08) 58%, rgba(28,8,14,.2) 100%),
    linear-gradient(180deg, rgba(16,6,9,.08) 0%, rgba(16,6,9,.05) 44%, rgba(16,6,9,.48) 100%);
}
.hero-title {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1180px;
  align-self: start;
  color: #fff;
  text-shadow: 0 3px 18px rgba(20, 6, 10, .72);
}
.hero-content {
  z-index: 3;
  grid-row: 3;
  max-width: 920px;
  margin: 0 0 24px;
  justify-self: end;
  text-align: right;
  color: #fff;
  text-shadow: 0 2px 14px rgba(20, 6, 10, .82);
}
.hero-content .eyebrow, .app-banner .eyebrow { color: #f0dba0; }
.hero h1 { font-size: clamp(44px, 5.5vw, 72px); }
.hero h1 em { color: var(--orl); font-style: italic; font-weight: 400; }
.hero p:not(.eyebrow) { max-width: 920px; color: rgba(255,255,255,.96); font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 21px; font-style: italic; font-weight: 600; line-height: 1.62; letter-spacing: 0; }
.hero-scroll { position: absolute; bottom: 18px; left: 50%; display: grid; justify-items: center; gap: 10px; transform: translateX(-50%); color: rgba(255,255,255,.88); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; text-shadow: 0 2px 10px rgba(20,6,10,.9); animation: hero-scroll-label 1.8s ease-in-out infinite; }
.hero-scroll::after { content: ""; width: 3px; height: 44px; border-radius: 3px; background: linear-gradient(180deg, rgba(255,255,255,.5), var(--orl)); box-shadow: 0 0 10px rgba(229,199,117,.55); transform-origin: top; animation: hero-scroll-line 1.6s cubic-bezier(.4, 0, .2, 1) infinite; }

@keyframes hero-scroll-label {
  0%, 100% { color: rgba(255,255,255,.72); text-shadow: 0 2px 10px rgba(20,6,10,.78); }
  50% { color: #fff; text-shadow: 0 2px 12px rgba(20,6,10,.95), 0 0 12px rgba(229,199,117,.5); }
}
@keyframes hero-scroll-line {
  0% { opacity: 0; transform: scaleY(.2) translateY(-5px); }
  35% { opacity: 1; }
  75% { opacity: .9; transform: scaleY(1) translateY(3px); }
  100% { opacity: 0; transform: scaleY(.45) translateY(12px); }
}

.public-site.scroll-motion-ready .scroll-reveal {
  opacity: 0;
  filter: blur(3px);
  clip-path: inset(0 0 10% 0 round 2px);
  transform: translateY(28px);
  transition:
    opacity .58s ease-out var(--reveal-delay, 0ms),
    filter .58s ease-out var(--reveal-delay, 0ms),
    clip-path .72s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms),
    transform .72s cubic-bezier(.16, 1, .3, 1) var(--reveal-delay, 0ms);
}
.public-site.scroll-motion-ready .scroll-reveal.scroll-reveal-item {
  clip-path: inset(0 0 7% 0 round 2px);
  transform: translateY(20px);
}
.public-site.scroll-motion-ready .scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(0 0 0 0 round 2px);
  transform: translateY(0);
}
.public-site.scroll-motion-ready .gazette-wrap.scroll-reveal.is-visible { clip-path: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-media { inset: 0; transform: none; will-change: auto; }
  .hero-scroll,
  .hero-scroll::after { animation: none; }
  .phone-mockup-scene,
  .phone-mockup-scene::after { animation: none; }
  .public-site.scroll-motion-ready .scroll-reveal {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
    transition: none;
  }
}

.quick-access { grid-template-columns: repeat(11, 1fr); padding: 0 80px; background: var(--bx3); border-top: 2px solid rgba(184,148,58,.3); }
.quick-access .qa-item { min-height: 126px; display: grid; grid-template-rows: 56px auto; align-content: start; justify-items: center; gap: 12px; padding: 14px 10px 12px; border-right: 1px solid rgba(255,255,255,.07); background: transparent; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.15; text-transform: uppercase; letter-spacing: .04em; }
.quick-access .qa-item:first-child { border-left: 1px solid rgba(255,255,255,.07); }
.qa-icon { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.qa-icon svg { width: 42px; height: 42px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.quick-access .qa-item > span:last-child { min-width: 0; min-height: 30px; display: flex; align-items: flex-start; justify-content: center; text-align: center; }
.qa-item:hover { background: rgba(184,148,58,.12); color: var(--orl); }

.dicrim-admin-form { max-width: 900px; gap: 28px; }
.dicrim-admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dicrim-admin-heading h2, .dicrim-upload-block h3 { margin: 0 0 6px; color: var(--m3-primary); }
.dicrim-admin-heading p, .dicrim-upload-block p { margin: 0; color: var(--m3-muted); }
.dicrim-admin-icon { width: 58px; height: 58px; flex: 0 0 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--m3-primary); color: #fff; }
.dicrim-admin-icon svg { width: 30px; height: 30px; }
.dicrim-current-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(45, 20, 29, .08); }
.dicrim-current-file > div { min-width: 0; display: grid; gap: 4px; }
.dicrim-current-file strong { overflow-wrap: anywhere; color: var(--m3-primary); }
.dicrim-current-file small { color: var(--m3-muted); }
.dicrim-file-icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; color: var(--m3-primary); }
.dicrim-file-icon svg { width: 36px; height: 36px; }
.dicrim-upload-block { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.2fr); gap: 28px; align-items: start; padding-top: 4px; }

@media (max-width: 760px) {
  .dicrim-current-file { grid-template-columns: auto minmax(0, 1fr); }
  .dicrim-current-file .button { grid-column: 1 / -1; justify-content: center; }
  .dicrim-upload-block { grid-template-columns: 1fr; gap: 16px; }
}

.collecte-strip { display: flex; align-items: center; gap: 20px; padding: 13px 80px; border-radius: 0; background: linear-gradient(90deg, var(--bx2), var(--bx)); color: #fff; border-bottom: 1px solid rgba(184,148,58,.2); }
.collecte-strip p { margin: 0; flex: 1; font-size: 17px; }
.collecte-strip a { color: var(--orl); text-decoration: none; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.exceptional-event-banner { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px max(20px, calc((100vw - 1180px) / 2)); border-block: 1px solid rgba(107,26,42,.15); background: rgba(241,223,179,.56); color: var(--bx3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.home-hero-stack { position: relative; }
.home-hero-stack > .exceptional-event-banner:not(.is-compact) { position: absolute; inset: 0 0 auto; z-index: 8; }
.home-hero-stack.has-exceptional-event .hero-title { margin-top: 72px; }
.exceptional-event-banner:not(.is-compact) { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding-block: 11px; padding-right: 0; overflow: hidden; }
.exceptional-event-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(74,16,32,.18); border-radius: 50%; background: rgba(255,250,244,.58); color: var(--bx3); box-shadow: 0 8px 20px rgba(74,16,32,.1); }
.exceptional-event-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.exceptional-event-banner:not(.is-compact) .exceptional-event-icon { position: relative; z-index: 1; width: 32px; height: 44px; border: 0; border-radius: 0; background: transparent; color: var(--bx3); box-shadow: none; }
.exceptional-event-copy { min-width: 0; }
.exceptional-event-copy strong { display: block; margin-bottom: 3px; color: var(--bx3); font-size: 13px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.exceptional-event-copy p { max-width: 75ch; margin: 0; color: #48151f; font-size: 17px; font-weight: 750; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.exceptional-event-marquee { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.exceptional-event-marquee-label { color: var(--bx3); font-size: 12px; font-weight: 950; letter-spacing: .09em; line-height: 1.05; text-transform: uppercase; }
.exceptional-event-marquee-viewport { min-width: 0; overflow: hidden; }
.exceptional-event-marquee-track { width: max-content; display: flex; align-items: center; animation: exceptional-event-scroll 24s linear infinite; will-change: transform; }
.exceptional-event-marquee-item { min-width: calc(100vw - 290px); display: inline-flex; align-items: center; margin: 0; padding-right: 80px; color: #48151f; font-size: clamp(21px, 2vw, 28px); font-weight: 800; line-height: 1.25; white-space: nowrap; }
@keyframes exceptional-event-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .exceptional-event-marquee-track { width: auto; }
  .exceptional-event-marquee-item { min-width: 0; white-space: normal; }
  .exceptional-event-marquee-item[aria-hidden="true"] { display: none; }
}
.collecte-icon { width: 54px; height: 54px; flex: 0 0 54px; display: inline-flex; align-items: center; justify-content: center; color: #78cf72; }
.collecte-icon svg { width: 46px; height: 46px; stroke-width: 2.2; }

.agenda-section, .info-section, .association-section, .gazette-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 20px;
}
.map-highlight {
  position: relative;
  scroll-margin-top: 88px;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border-block: 1px solid rgba(229,199,117,.24);
  background: #214c42;
  color: #fff;
  isolation: isolate;
}
.map-highlight-inner { position: relative; min-height: 390px; max-width: 1180px; display: flex; align-items: center; margin: 0 auto; padding: 72px 20px; }
.map-highlight-copy { position: relative; z-index: 2; max-width: 680px; }
.map-highlight h2 { max-width: 12ch; margin: 0 0 22px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 56px; line-height: 1.02; }
.map-highlight-copy > p { max-width: 62ch; margin: 0; color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.65; }
.map-highlight-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 30px; }
.map-highlight-cta { min-height: 52px; padding: 12px 20px; border-color: #e5c775; background: #e5c775; color: #2f321f; box-shadow: 0 12px 28px rgba(10,35,29,.24); transition: background .2s ease, transform .2s ease; }
.map-highlight-cta:hover { background: #f0d991; transform: translateY(-2px); }
.map-highlight-cta svg { width: 22px; height: 22px; stroke-width: 2; }
.map-highlight-count { color: rgba(255,255,255,.7); font-size: 14px; }
.map-highlight-count strong { margin-right: 4px; color: #f0d991; font-size: 20px; }
.map-highlight-art { position: absolute; top: 50%; right: -34px; z-index: 1; width: min(49vw, 620px); height: auto; overflow: visible; opacity: .72; transform: translateY(-50%); }
.map-highlight-boundary-glow { fill: none; stroke: rgba(229,199,117,.14); stroke-width: 14; stroke-linejoin: round; }
.map-highlight-water { fill: #4d8583; fill-rule: evenodd; stroke: #4d8583; stroke-width: 2.4; stroke-linejoin: round; paint-order: stroke fill; }
.map-highlight-water-main { fill: #4d8583; }
.map-highlight-water-seam { fill: none; stroke: #4d8583; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map-highlight-boundary { fill: rgba(229,199,117,.08); stroke: rgba(229,199,117,.82); stroke-width: 2.4; stroke-linejoin: round; }
.agenda-section h2, .info-section h2, .association-section h2, .app-banner h2, .gazette-wrap h2 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; margin: 0 0 14px; color: var(--bx3); }
.map-dot svg { display: block; width: 12px; height: 12px; }
.map-modal[hidden] { display: none; }
.map-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(8px, 1.4vw, 20px); background: rgba(13, 31, 27, .82); backdrop-filter: blur(8px); }
.map-modal-panel { position: relative; width: min(1540px, 100%); height: min(94dvh, 980px); overflow: hidden; border-radius: 8px; background: #dfe9e2; box-shadow: 0 30px 90px rgba(4, 20, 16, .38); }
.map-modal-map { position: absolute; inset: 0; min-height: 0; background: #dfe9e2; }
#commune-map { width: 100%; height: 100%; min-height: inherit; font: inherit; }
.map-modal-sidebar { position: absolute; top: 16px; right: 16px; z-index: 1000; width: 260px; display: grid; align-content: start; gap: 12px; padding: 16px; border-radius: 8px; background: rgba(255, 250, 245, .94); box-shadow: 0 16px 44px rgba(17, 43, 36, .2); backdrop-filter: blur(12px); }
.map-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.map-modal-label { color: var(--bx3); font-size: 14px; line-height: 1.2; text-transform: uppercase; }
.map-legend { display: grid; padding: 0; margin: 0; list-style: none; }
.map-legend li { min-height: 36px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(107,26,42,.1); color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.25; }
.map-marker { border: 4px solid rgba(255,255,255,.9); border-radius: 999px; box-shadow: 0 8px 18px rgba(35,14,22,.2); }
.map-marker span { display: block; width: 100%; height: 100%; border-radius: inherit; }
.map-marker svg { display: block; width: 100%; height: 100%; }
.map-marker-primary span { background: #6b1a2a; }
.map-marker-gold span { background: #b8943a; }
.map-marker-clay span { background: #c46a3d; }
.map-marker-blue span { background: #345e8a; }
.map-marker-draft span { background: #1e7a67; }
.leaflet-popup-content-wrapper { border-radius: 8px; color: var(--text); box-shadow: 0 12px 34px rgba(35,14,22,.22); }
.leaflet-popup-content { margin: 12px 14px; font: 14px/1.45 var(--font-sans); }
.leaflet-popup-content strong { display: block; margin-bottom: 2px; color: var(--bx3); }
.leaflet-popup-content span { display: block; color: var(--muted); }
.map-point-popup.leaflet-popup { margin: 0; }
.map-point-popup .leaflet-popup-content-wrapper { overflow: hidden; border-radius: 14px; background: transparent; }
.map-point-popup .leaflet-popup-content { width: min(440px, calc(100vw - 48px)) !important; overflow: hidden; margin: 0; border-radius: 14px; }
.map-point-popup.map-point-popup-portrait .leaflet-popup-content { width: min(var(--map-point-popup-width, 320px), calc(100vw - 48px)) !important; }
.map-point-popup .leaflet-popup-tip-container { display: none; }
.map-point-popup-card { position: relative; min-height: 260px; height: clamp(280px, 38dvh, 360px); overflow: hidden; border-radius: 14px; background: var(--bx3); }
.map-point-popup.map-point-popup-portrait .map-point-popup-card { height: clamp(360px, 52dvh, 480px); }
.map-point-popup-card.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(25,8,13,.04) 18%, rgba(25,8,13,.2) 48%, rgba(25,8,13,.94) 100%); pointer-events: none; }
.map-point-popup-card.without-photo { height: 260px; background: var(--bx3); }
.map-point-popup-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; image-orientation: from-image; }
.map-point-popup-copy { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; padding: 54px 52px 22px 22px; text-align: left; }
.map-point-popup-copy strong { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 3vw, 28px); line-height: 1.08; text-shadow: 0 2px 14px rgba(17,4,8,.55); overflow-wrap: anywhere; }
.map-point-popup-copy span { display: -webkit-box; overflow: hidden; margin-top: 8px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.45; text-shadow: 0 1px 8px rgba(17,4,8,.7); -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.leaflet-container .map-point-popup a.leaflet-popup-close-button { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(35,14,22,.68); color: #fff; font-size: 0; line-height: 0; box-shadow: 0 6px 18px rgba(17,4,8,.24); backdrop-filter: blur(8px); }
.leaflet-container .map-point-popup a.leaflet-popup-close-button::before,
.leaflet-container .map-point-popup a.leaflet-popup-close-button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 999px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.leaflet-container .map-point-popup a.leaflet-popup-close-button::after { transform: translate(-50%, -50%) rotate(-45deg); }
.leaflet-container .map-point-popup a.leaflet-popup-close-button:hover,
.leaflet-container .map-point-popup a.leaflet-popup-close-button:focus { background: #fff; color: var(--bx3); }
.leaflet-control-attribution { font-size: 11px; }

.section-grid { padding-top: 72px; }
.section-link { color: var(--bx); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; text-decoration: none; }
.home-news-section { max-width: none; grid-template-columns: 1fr; gap: 34px; padding: 86px max(20px, calc((100vw - 1180px) / 2)); background: #fff; }
.home-news-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 25px; border-bottom: 1px solid rgba(107,26,42,.2); }
.home-news-header h2 { margin: 0; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 62px); line-height: 1; }
.home-news-header p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.home-news-all { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 5px; color: var(--bx); font-size: 14px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.home-news-all svg { width: 19px; height: 19px; transition: transform .2s ease; }
.home-news-all:hover svg { transform: translate(3px, -3px); }
.home-news-all:focus-visible { outline: 3px solid var(--or); outline-offset: 5px; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; }
.news-card { min-width: 0; overflow: hidden; border: 1px solid rgba(107,26,42,.13); border-radius: 6px; background: #fff; }
.news-card > a { min-height: 100%; color: inherit; text-decoration: none; }
.news-card:not(.news-card-featured) > a { display: grid; grid-template-columns: 140px minmax(0, 1fr); }
.news-card-featured { grid-row: 1 / 3; height: 580px; min-height: 0; background: var(--bx3); }
.news-card-featured > a { position: relative; display: grid; height: 100%; overflow: hidden; }
.news-card-featured .news-visual,
.news-card-featured .news-card-copy { grid-area: 1 / 1; }
.news-card-featured .news-visual { height: 100%; min-height: 0; }
.news-card-featured .news-card-copy { position: relative; z-index: 2; align-self: end; max-width: 690px; padding: 150px 34px 34px; color: #fff; }
.news-card:not(.news-card-featured) .news-visual { min-height: 100%; }
.news-card:not(.news-card-featured) .news-card-copy { display: grid; align-content: center; padding: 20px; }
.news-card small { display: block; margin: 0; color: var(--or); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.news-card h3 { margin: 8px 0 10px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.08; }
.news-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.news-card:not(.news-card-featured) p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.news-card-read { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 16px; color: var(--bx); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.news-card.news-card-featured small,
.news-card.news-card-featured .news-card-read { color: #f0d991; }
.news-card.news-card-featured h3 { max-width: 14ch; margin: 10px 0 14px; color: #fff; font-size: clamp(34px, 4vw, 50px); }
.news-card.news-card-featured p { max-width: 52ch; margin: 0; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.55; }
.news-card-read svg { width: 17px; height: 17px; transition: transform .2s ease; }
.news-card a:hover .news-card-read svg { transform: translateX(4px); }
.news-card a:focus-visible { outline: 3px solid var(--or); outline-offset: -4px; }
.news-visual { position: relative; min-width: 0; background: linear-gradient(135deg, var(--bx3), var(--bx)); overflow: hidden; }
.news-visual::before { content: ""; position: absolute; inset: 16px; z-index: 1; border: 1px solid rgba(255,255,255,.13); border-radius: 4px; }
.news-visual::after { content: ""; position: absolute; inset: auto -20px 0; height: 110px; z-index: 1; background: repeating-linear-gradient(165deg, rgba(255,255,255,.16) 0 2px, transparent 2px 22px); }
.visual-2 { background: linear-gradient(135deg, #5f8a51, #c0a354); }
.visual-3 { background: linear-gradient(135deg, #345e8a, #b8943a); }
.news-visual span { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 7px 11px; border-radius: 999px; background: rgba(74,16,32,.92); color: #fff; font-size: 12px; font-weight: 800; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover::before { z-index: 1; }
.news-cover::after,
.news-card-featured .news-visual::after { inset: 0; height: auto; background: linear-gradient(180deg, rgba(28,8,14,.04) 20%, rgba(45,9,20,.92) 100%); }

.section-header { max-width: 1180px; margin: 0 auto 28px; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.agenda-section { max-width: none; padding: 80px max(20px, calc((100vw - 1180px) / 2)); background: var(--sable); }
.home-agenda-layout { display: grid; grid-template-columns: 1fr; gap: 34px; max-width: 1180px; margin: 0 auto; align-items: start; }
.home-agenda-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 30px; align-items: center; }
.home-agenda-heading h2 { max-width: none; margin: 0; color: var(--bx3); font-size: clamp(38px, 4vw, 56px); line-height: 1; text-wrap: balance; }
.home-agenda-heading p { grid-column: 1; margin: 0; max-width: none; color: var(--muted); font-size: 16px; line-height: 1.6; }
.home-agenda-link { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--bx); text-underline-offset: 6px; }
.home-agenda-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-agenda-list { border-top: 1px solid rgba(107,26,42,.22); }
.home-agenda-event { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(107,26,42,.14); }
.home-agenda-date { display: grid; justify-items: center; gap: 3px; padding: 12px 5px; border-radius: 8px; background: var(--bx3); color: #fff; }
.home-agenda-date strong { font-family: inherit; font-size: 36px; color: var(--orl); font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.home-agenda-date span { color: #fff; font-size: 12px; font-weight: 700; }
.home-agenda-date small { color: #e6d5d9; font-size: 12px; }
.home-agenda-copy { min-width: 0; }
.home-agenda-copy h3 { margin: 0 0 12px; color: var(--bx3); font-size: clamp(19px, 2vw, 23px); font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.home-agenda-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.home-agenda-meta span { display: inline-flex; align-items: start; gap: 7px; overflow-wrap: anywhere; min-width: 0; }
.home-agenda-meta svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: var(--bx); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.home-agenda-empty { margin: 0; padding: 24px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) {
  .home-agenda-layout { grid-template-columns: 1fr; gap: 30px; }
  .home-agenda-heading h2 { max-width: none; }
  .home-agenda-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  .home-agenda-heading p { grid-column: 1; }
  .home-agenda-link { grid-column: 2; grid-row: 1 / span 2; }
  .home-agenda-heading p { max-width: none; margin-bottom: 18px; }
}
@media (max-width: 600px) {
  .agenda-section { padding-block: 56px; }
  .home-agenda-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
  .home-agenda-heading h2 { font-size: 44px; }
  .home-agenda-event { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding-block: 22px; }
  .home-agenda-date strong { font-size: 32px; }
  .home-agenda-copy h3 { font-size: 18px; }
  .home-agenda-meta { flex-direction: column; gap: 6px; }
}
.home-agenda-link:focus-visible { outline: 2px solid var(--bx); outline-offset: 5px; }
.agenda-section ::selection { background: var(--orl); color: var(--bx3); }

.info-section { max-width: none; padding: 86px max(20px, calc((100vw - 1180px) / 2)); }
.home-info-layout { display: grid; grid-template-columns: 420px minmax(0, 660px); gap: clamp(56px, 7vw, 104px); align-items: start; justify-content: space-between; max-width: 1180px; margin: 0 auto; }
.home-info-heading h2 { margin: 0; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 4.7vw, 60px); line-height: .98; }
.home-info-heading p { margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.info-grid { display: grid; border-top: 1px solid rgba(107,26,42,.22); }
.info-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(150px, 180px); gap: 20px; align-items: center; min-width: 0; padding: 27px 0; border-bottom: 1px solid rgba(107,26,42,.22); }
.info-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--bx3); color: #fff; }
.info-card.gold .info-icon { background: #e5c775; color: var(--bx3); }
.info-icon svg { width: 25px; height: 25px; stroke-width: 1.9; }
.info-card-copy { min-width: 0; }
.info-card h3 { margin: 0 0 7px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.1; }
.info-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.info-card-detail { display: grid; justify-items: end; gap: 13px; text-align: right; }
.info-card small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.info-card a { display: inline-flex; align-items: center; gap: 8px; color: var(--bx); font-size: 14px; font-weight: 800; text-decoration: none; }
.info-card a svg { width: 18px; height: 18px; transition: transform .2s ease; }
.info-card a:hover svg { transform: translateX(4px); }
.info-card a:focus-visible { outline: 3px solid var(--or); outline-offset: 4px; }

.association-section { max-width: none; padding: 96px max(20px, calc((100vw - 1180px) / 2)); background: var(--sable); color: var(--text); }
.association-layout { max-width: 1180px; margin: 0 auto; }
.association-intro { min-width: 0; display: grid; grid-template-columns: minmax(340px, 1.25fr) minmax(270px, .75fr) auto; gap: clamp(36px, 6vw, 82px); align-items: end; padding-bottom: 58px; }
.association-title-lockup { min-width: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 22px; align-items: start; }
.association-symbol { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(229,199,117,.48); border-radius: 6px; background: var(--or); color: var(--bx3); }
.association-symbol svg { width: 25px; height: 25px; stroke-width: 1.8; }
.association-section .association-intro h2 { max-width: 10ch; margin: 0; color: var(--bx3); font-size: clamp(48px, 5vw, 66px); line-height: .94; }
.association-intro-copy { align-self: end; padding-bottom: 3px; }
.association-intro-copy p { max-width: 36ch; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.association-directory-link { min-height: 42px; display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 0; border: 0; border-bottom: 1px solid rgba(107,26,42,.45); color: var(--bx); font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; transition: color .2s ease-out, border-color .2s ease-out; }
.association-directory-link svg { width: 19px; height: 19px; transition: transform .2s ease-out; }
.association-directory-link:hover { border-color: var(--or); color: var(--bx3); }
.association-directory-link:hover svg { transform: translateX(4px); }
.association-directory-link:focus-visible { outline: 3px solid var(--or); outline-offset: 5px; }
.association-total { min-width: 150px; display: grid; grid-template-columns: auto auto; gap: 14px; align-items: end; padding-left: 30px; border-left: 1px solid rgba(107,26,42,.24); }
.association-total strong { color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 76px; font-weight: 600; line-height: .76; }
.association-total span { color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.association-index { border-top: 1px solid rgba(107,26,42,.34); border-bottom: 1px solid rgba(107,26,42,.22); }
.association-index-head { min-height: 60px; display: flex; align-items: center; gap: 10px; color: var(--bx); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.association-index-head svg { width: 16px; height: 16px; }
.association-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.association-index-item { min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) 22px; gap: 20px; align-items: center; min-height: 142px; padding: 28px 30px 28px 0; border-top: 1px solid rgba(107,26,42,.12); color: var(--text); text-decoration: none; transition: background .25s ease-out; }
.association-index-item:nth-child(even) { padding-left: 30px; border-left: 1px solid rgba(107,26,42,.12); }
.association-index-item:hover { background: rgba(107,26,42,.045); }
.association-index-item:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--orl); outline-offset: -5px; }
.association-index-logo { width: 64px; height: 64px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: #fffaf4; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 800; transition: transform .25s ease-out; }
.association-index-item:hover .association-index-logo { transform: translateY(-3px); }
.association-index-logo img { display: block; width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.association-index-copy { min-width: 0; display: grid; gap: 7px; }
.association-index-copy strong { color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.14; }
.association-index-copy > span { overflow: hidden; display: -webkit-box; color: var(--muted); font-size: 14px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.association-index-item > svg { width: 21px; height: 21px; color: var(--bx); transition: transform .2s ease-out; }
.association-index-item:hover > svg { transform: translate(3px, -3px); }
.association-index-empty { min-height: 240px; display: grid; place-items: center; align-content: center; gap: 16px; padding: 40px; color: var(--muted); text-align: center; }
.association-index-empty svg { width: 38px; height: 38px; color: var(--bx); }
.association-index-empty p { max-width: 32ch; margin: 0; line-height: 1.55; }

.app-banner {
  scroll-margin-top: 92px;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: center;
  padding: 72px max(20px, calc((100vw - 1180px) / 2));
  background: radial-gradient(circle at 80% 20%, rgba(212,176,96,.22), transparent 28%), linear-gradient(135deg, var(--bx3), var(--bx));
  color: #fff;
}
.app-banner h2 { color: #fff; font-size: clamp(44px, 6vw, 78px); }
.app-banner p:not(.eyebrow) { color: rgba(255,255,255,.82); max-width: 650px; }
.app-install-note { margin-top: 26px; font-size: 19px; font-weight: 800; }
.app-install-help { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(240,219,160,.72); text-underline-offset: 5px; cursor: pointer; }
.app-install-help svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease-out; }
.app-install-help:hover svg { transform: translateX(4px); }
.app-install-help:focus-visible { outline: 3px solid #f0dba0; outline-offset: 5px; }
.app-mobile-actions { display: none; }
.app-btn { min-height: 68px; display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; }
.app-btn span { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); }
.phone-mockup-scene { position: relative; width: min(100%, 290px); justify-self: center; animation: phone-float 7s cubic-bezier(.45, 0, .55, 1) infinite paused; transform-origin: 50% 78%; }
.phone-mockup-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 34%, rgba(255,255,255,.28) 46%, rgba(255,255,255,.08) 52%, transparent 64%); background-size: 240% 100%; background-position: 160% 0; -webkit-mask: url("/assets/img/app/phone-mockup.webp") center / contain no-repeat; mask: url("/assets/img/app/phone-mockup.webp") center / contain no-repeat; animation: phone-shine 9s ease-in-out infinite paused; }
.phone-mockup-scene.is-animated,
.phone-mockup-scene.is-animated::after { animation-play-state: running; }
.phone-mockup { display: block; width: 100%; height: auto; max-height: 470px; object-fit: contain; }
.app-install-guide[hidden] { display: none; }
.app-install-guide { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 24px; background: rgba(28,5,11,.72); }
.app-install-guide-panel { width: min(1080px, 100%); max-height: min(92vh, 920px); overflow: auto; padding: 30px; border-radius: 16px; background: #fffaf4; color: var(--text); box-shadow: 0 30px 90px rgba(20,3,8,.4); }
.app-install-guide-head { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; align-items: center; gap: 24px; margin-bottom: 26px; }
.app-install-guide-head h2 { margin: 0 0 8px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.app-install-guide-head p { margin: 0; color: var(--muted); font-size: 17px; }
.app-install-guide-qr { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 26px; padding: 14px 18px; border: 1px solid rgba(107,26,42,.12); border-radius: 12px; background: #f3eadd; }
.app-install-guide-qr-code { width: 92px; height: 92px; display: grid; place-items: center; padding: 7px; border-radius: 8px; background: #fff; }
.app-install-guide-qr-code svg { display: block; width: 100%; height: 100%; }
.app-install-guide-qr strong { display: block; margin-bottom: 5px; color: var(--bx3); font-size: 17px; }
.app-install-guide-qr p { max-width: 700px; margin: 0 0 7px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.app-install-guide-qr a { color: var(--bx); font-size: 14px; font-weight: 900; text-underline-offset: 4px; }
.app-install-guide-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 34px); }
.app-install-guide-steps[hidden] { display: none; }
.app-install-guide-steps figure { min-width: 0; margin: 0; }
.app-install-guide-steps figcaption { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; align-items: start; max-width: 300px; margin: 16px auto 0; color: var(--text); font-size: 15px; line-height: 1.45; }
.app-install-guide-steps figcaption strong { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--or); color: var(--bx3); font-size: 14px; }
body.app-install-guide-open { overflow: hidden; }

@keyframes phone-float {
  0%, 100% { transform: translate3d(-3px, 3px, 0) rotate(-1.2deg); }
  50% { transform: translate3d(3px, -9px, 0) rotate(1.2deg); }
}
@keyframes phone-shine {
  0%, 28% { background-position: 160% 0; opacity: 0; }
  38% { opacity: .8; }
  55% { background-position: -70% 0; opacity: 0; }
  100% { background-position: -70% 0; opacity: 0; }
}

.gazette-wrap { position: relative; isolation: isolate; max-width: none; margin: 0; overflow: clip; padding: clamp(78px, 8vw, 112px) max(20px, calc((100vw - 1180px) / 2)); border-block: 1px solid rgba(229,199,117,.26); background: #214c42; color: #fff; }
.gazette-wrap::before { content: ""; position: absolute; z-index: -1; top: 50%; right: max(-180px, calc((100vw - 1500px) / 2)); width: min(68vw, 900px); aspect-ratio: 3 / 2; background: url("/assets/img/contour-eglise-bayon.png") center / contain no-repeat; opacity: .06; transform: translateY(-50%); pointer-events: none; }
.gazette-layout { position: relative; display: grid; grid-template-columns: minmax(300px, 390px) minmax(0, 1fr); gap: clamp(72px, 9vw, 132px); align-items: center; max-width: 1180px; margin: 0 auto; }
.gazette-visual { display: grid; place-items: center; min-width: 0; padding-block: 10px; }
.gazette-cover { width: min(100%, 370px); min-height: 430px; display: grid; align-content: space-between; padding: 30px; border-radius: 4px; background: var(--bx3); color: #fff; box-shadow: 0 30px 68px rgba(5,27,22,.38); transform: rotate(-2.2deg); }
.gazette-cover-image { position: relative; isolation: isolate; width: min(100%, 370px); min-height: 0; aspect-ratio: 560 / 792; display: block; padding: 0; overflow: visible; border-radius: 0; background: #fff; box-shadow: 0 30px 68px rgba(5,27,22,.38); color: inherit; text-decoration: none; cursor: pointer; }
.gazette-cover-image > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .16s ease-out; }
.gazette-page-flip { position: absolute; inset: 0; display: block; opacity: 0; pointer-events: none; }
.gazette-cover-image.is-page-flip-ready > img { opacity: 0; }
.gazette-cover-image.is-page-flip-ready .gazette-page-flip { opacity: 1; }
.gazette-cover-image .gazette-page-flip.stf__parent { position: absolute; inset: 0; width: 100% !important; height: 100% !important; min-width: 0 !important; min-height: 0 !important; max-width: none !important; }
.gazette-cover-image .gazette-page-flip .stf__wrapper { width: 100%; height: 100%; }
.gazette-flip-page { overflow: hidden; background: #fff; }
.gazette-flip-page img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.gazette-flip-back { display: none !important; }
.gazette-page-flip .stf__block > .gazette-flip-cover:last-child .gazette-flip-front { display: none; }
.gazette-page-flip .stf__block > .gazette-flip-cover:last-child .gazette-flip-back { display: block !important; }
.gazette-cover-image:focus-visible { outline: 3px solid #e5c775; outline-offset: 10px; }
.gazette-cover span { color: var(--orl); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.gazette-cover strong { font-family: Georgia, serif; font-size: 38px; line-height: 1.05; }
.gazette-copy { max-width: 620px; min-width: 0; }
.gazette-wrap .gazette-copy h2 { max-width: 9ch; margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 6vw, 78px); line-height: .94; }
.gazette-copy h2 em { display: block; color: #e5c775; font-weight: 400; }
.gazette-intro { max-width: 580px; margin: 28px 0 34px; color: rgba(255,255,255,.8); font-size: 19px; line-height: 1.65; }
.gazette-edition { display: grid; grid-template-columns: minmax(120px, .55fr) minmax(0, 1fr); gap: 28px; align-items: center; max-width: 590px; padding: 22px 0; border-block: 1px solid rgba(229,199,117,.32); }
.gazette-edition span { color: #e5c775; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gazette-edition strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; line-height: 1; }
.gazette-edition-empty { max-width: 560px; margin: 0; color: rgba(255,255,255,.8); font-size: 18px; line-height: 1.6; }
.gazette-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.gazette-actions .button { min-height: 52px; padding: 12px 20px; border-radius: 6px; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.gazette-actions .button:hover { transform: translateY(-2px); }
.gazette-actions .button:focus-visible { outline: 3px solid #e5c775; outline-offset: 3px; }
.gazette-actions svg { width: 20px; height: 20px; stroke-width: 2; }
.gazette-action-primary { border-color: #e5c775; background: #e5c775; color: #243b32; }
.gazette-action-primary:hover { border-color: #f0d991; background: #f0d991; }
.gazette-action-secondary { border-color: rgba(255,255,255,.42); background: transparent; color: #fff; }
.gazette-action-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.service-list article { border-radius: 20px; box-shadow: 0 14px 32px rgba(74,16,32,.08); }
.service-band-heading { min-width: 0; align-self: start; }
.service-band-heading h2 { max-width: 100%; color: var(--bx3); font-size: clamp(36px, 4vw, 48px); overflow-wrap: break-word; }
.service-band-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.home-services-content { display: grid; gap: 20px; min-width: 0; }
.home-service-actions { display: grid; border-top: 1px solid rgba(107,26,42,.18); }
.home-service-action { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 104px; padding: 20px 4px; border-bottom: 1px solid rgba(107,26,42,.18); color: var(--text); text-decoration: none; transition: color .2s ease, padding .2s ease; }
.home-service-action:hover { padding-left: 10px; color: var(--bx); }
.home-service-action:focus-visible { outline: 3px solid var(--or); outline-offset: 4px; }
.home-service-action-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--bx3); color: #fff; }
.home-service-action-icon svg,
.home-service-townhall-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-service-action-copy { min-width: 0; }
.home-service-action-copy strong { display: block; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.15; }
.home-service-action-copy small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.home-service-action-link { color: var(--bx); font-size: 14px; font-weight: 800; white-space: nowrap; }
.home-service-action-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.home-service-action:hover .home-service-action-link span { transform: translateX(3px); }
.home-service-townhall { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px; border: 1px solid rgba(107,26,42,.14); border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(74,16,32,.08); }
.home-service-townhall-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(184,148,58,.2); color: var(--bx3); }
.home-service-townhall h3 { margin: 0 0 8px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.15; }
.home-service-townhall p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.55; }
.home-service-townhall address { margin: 16px 0 4px; color: var(--text); font-style: normal; font-weight: 800; }
.home-service-townhall .home-service-hours { font-size: 14px; }
.home-service-townhall .home-service-hours strong { color: var(--bx3); }

.phone-shell { max-width: 430px; margin: 32px auto 56px; padding: 16px; border-radius: 42px; background: linear-gradient(180deg, #2e0913, #160307); box-shadow: 0 34px 90px rgba(51,12,22,.28); }
.pwa-body { min-height: 100dvh; margin: 0; background: linear-gradient(180deg, #fdfaf5, #f7efe4); overscroll-behavior-y: contain; }
.pwa-main { min-height: 100dvh; }
.mobile-app { min-height: 100dvh; overflow: visible; border-radius: 0; background: linear-gradient(180deg, #fdfaf5, #f7efe4); border: 0; }
.pwa-pull-refresh { --pull-distance: 0px; position: fixed; left: 50%; top: max(12px, env(safe-area-inset-top)); z-index: 70; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 9px 14px; border-radius: 999px; background: rgba(74,16,32,.94); color: #fff; box-shadow: 0 14px 34px rgba(28,5,11,.24); opacity: 0; pointer-events: none; transform: translate(-50%, calc(-68px + var(--pull-distance))); transition: opacity .14s ease, transform .16s ease; }
.pwa-pull-refresh[hidden] { display: none; }
.pwa-pull-refresh.is-visible { opacity: 1; }
.pwa-pull-refresh span { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.36); border-top-color: #fff; border-radius: 999px; }
.pwa-pull-refresh strong { color: #fff; font-size: 13px; line-height: 1; white-space: nowrap; }
.pwa-pull-refresh.is-ready span,
.pwa-pull-refresh.is-refreshing span { animation: pwa-refresh-spin .72s linear infinite; }
.statusbar { height: 34px; padding: 10px 18px 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--bx3); font-weight: 800; }
.app-header { position: sticky; top: 0; z-index: 20; padding: max(5px, env(safe-area-inset-top)) 20px 0; background: url("/assets/img/app/header-pwa.webp") center 38% / cover no-repeat; color: #fff; box-shadow: 0 8px 24px rgba(28,5,11,.18); }
.app-header-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.app-brand { min-width: 0; align-self: flex-start; }
.app-brand img { width: 100px; height: 50px; object-fit: contain; object-position: left top; filter: drop-shadow(0 2px 5px rgba(28,5,11,.36)); }
.app-header-section { min-height: 30px; display: flex; align-items: center; margin: 34px -20px 0; padding: 3px 20px; background: var(--bx3); }
.app-header-section h1 { margin: 0; color: #fff; font-size: 14px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.header-chip { border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.12); color: #fff; padding: 10px 12px; text-align: right; }
.header-chip[hidden] { display: none; }
.header-chip span, .header-chip strong { display: block; font-size: 12px; }
.pwa-bell-button { position: relative; width: 48px; height: 48px; flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(107,26,42,.18); border-radius: 999px; background: rgba(255,255,255,.66); color: var(--bx3); box-shadow: 0 12px 24px rgba(28,5,11,.16); cursor: pointer; }
.pwa-bell-button[hidden] { display: none; }
.pwa-bell-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.pwa-bell-button span { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; border: 2px solid var(--bx3); border-radius: 999px; background: var(--or); color: var(--bx3); font-size: 11px; font-weight: 900; line-height: 1; }
.pwa-bell-button span[hidden] { display: none; }
.pwa-install-screen { min-height: calc(100dvh - 86px); max-width: 620px; margin: 0 auto; padding: 42px 22px max(32px, env(safe-area-inset-bottom)); display: grid; align-content: center; gap: 20px; text-align: center; }
.pwa-install-screen[hidden] { display: none; }
.pwa-install-screen > div:first-child { padding: 24px; border: 1px solid rgba(107,26,42,.12); border-radius: 28px; background: rgba(255,255,255,.84); box-shadow: 0 18px 44px rgba(74,16,32,.12); backdrop-filter: blur(14px); }
.pwa-install-screen span { display: block; margin-bottom: 8px; color: var(--or); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pwa-install-screen strong { display: block; color: var(--bx3); font-family: Georgia, serif; font-size: clamp(34px, 9vw, 54px); line-height: .95; }
.pwa-install-screen p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.pwa-ios-install-guide { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pwa-ios-install-guide[hidden] { display: none; }
.pwa-ios-install-guide div { min-height: 86px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 10px 8px; border: 1px solid rgba(107,26,42,.12); border-radius: 16px; background: rgba(248,239,228,.78); text-align: center; }
.pwa-ios-install-guide strong { font-family: inherit; font-size: 12px; line-height: 1.15; color: var(--bx3); }
.pwa-ios-guide-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; margin: 0; border-radius: 999px; background: #fff; color: var(--bx2); box-shadow: 0 8px 18px rgba(74,16,32,.08); }
.pwa-ios-guide-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-install-screen.is-guiding > div:first-child { animation: pwa-guide-pulse 1.2s ease 2; }
.pwa-install-actions { display: flex; justify-content: center; gap: 8px; align-items: center; }
.pwa-install-actions .button { min-height: 52px; padding: 12px 22px; }
.pwa-ios-share-coach { position: fixed; left: 50%; bottom: max(88px, calc(env(safe-area-inset-bottom) + 88px)); z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 999px; background: rgba(74,16,32,.95); color: #fff; box-shadow: 0 16px 38px rgba(28,5,11,.28); transform: translateX(-50%); animation: pwa-coach-bounce 1s ease infinite; }
.pwa-ios-share-coach[hidden] { display: none; }
.pwa-ios-share-coach span { white-space: nowrap; font-size: 13px; font-weight: 900; }
.pwa-ios-share-coach svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-menu-button { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; width: 62px; height: 62px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: linear-gradient(145deg, var(--bx2), var(--bx3)); color: #fff; box-shadow: 0 18px 40px rgba(74,16,32,.28); transform: translateX(-50%); cursor: pointer; }
.app-header[hidden], .pwa-menu-button[hidden], .mobile-app .pwa-tabs[hidden], .pwa-panels[hidden] { display: none; }
.pwa-menu-button span { width: 22px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.pwa-menu-button.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.pwa-menu-button.is-open span:nth-child(2) { opacity: 0; }
.pwa-menu-button.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-app .pwa-tabs { position: fixed; left: max(14px, env(safe-area-inset-left)); right: max(14px, env(safe-area-inset-right)); bottom: max(92px, calc(env(safe-area-inset-bottom) + 92px)); z-index: 40; max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-height: 0; padding: 10px; border-radius: 24px; background: rgba(74,16,32,.94); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); box-shadow: 0 16px 40px rgba(28,5,11,.24); opacity: 0; pointer-events: none; transform: translateY(14px) scale(.96); transform-origin: bottom center; transition: opacity .18s ease, transform .18s ease; }
.mobile-app .pwa-tabs.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.mobile-app .pwa-tabs button { min-height: 44px; display: grid; align-content: center; justify-content: center; justify-items: center; gap: 5px; padding: 10px 6px; border: 0; border-radius: 18px; background: transparent; color: rgba(255,255,255,.72); text-align: center; font: inherit; cursor: pointer; }
.mobile-app .pwa-tabs .active { background: rgba(255,255,255,.12); color: #fff; }
.pwa-tab-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; line-height: 1; }
.pwa-tab-icon svg { display: block; width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pwa-tab-label { font-size: 12px; font-weight: 800; letter-spacing: 0; }
.pwa-panels { max-width: 780px; margin: 0 auto; padding: 18px 18px max(96px, calc(env(safe-area-inset-bottom) + 96px)); }
.screen-title { display: grid; gap: 8px; margin-bottom: 16px; }
.mobile-app .screen-title > div { display: none; }
.screen-title p { color: var(--muted); margin: 0; font-size: 15px; }
.hero-card, .gazette-mini, .pro-card, .booking-card, .confidential-box { background: #fff; border: 1px solid rgba(107,26,42,.1); border-radius: 20px; padding: 18px; box-shadow: 0 12px 30px rgba(74,16,32,.08); margin-bottom: 12px; }
.hero-card { background: linear-gradient(135deg, var(--bx), var(--bx3)); color: #fff; }
.hero-card small { color: var(--orl); text-transform: uppercase; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.stats-grid article { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(107,26,42,.1); }
.stats-grid strong { display: block; color: var(--bx); font-size: 30px; line-height: 1; }
.stats-grid span { color: var(--muted); font-size: 13px; }
.pwa-news-list { margin-bottom: 18px; border-top: 1px solid rgba(107,26,42,.14); }
.pwa-news-item { border-bottom: 1px solid rgba(107,26,42,.14); }
.pwa-news-link { width: 100%; min-height: 82px; display: grid; align-content: center; gap: 7px; padding: 15px 2px; border: 0; border-radius: 8px; background: transparent; color: var(--bx3); font: inherit; text-align: left; cursor: pointer; transition: color .16s ease, background-color .16s ease, padding .16s ease; }
.pwa-news-link strong { font-family: Georgia, serif; font-size: 21px; line-height: 1.15; }
.pwa-news-link time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.pwa-news-link:hover { padding-inline: 10px; background: rgba(255,255,255,.58); color: var(--bx); }
.pwa-news-link:focus-visible { outline: 3px solid rgba(176,124,34,.72); outline-offset: 3px; }
.pwa-news-empty { margin: 0; padding: 24px 2px; border-bottom: 1px solid rgba(107,26,42,.14); color: var(--muted); }
.pwa-waste-reminder { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 10px; padding: 7px 10px; border-radius: 12px; background: rgba(107,26,42,.055); color: var(--muted); font-size: 11px; line-height: 1; }
.pwa-waste-reminder > strong { color: var(--bx3); font-size: 11px; white-space: nowrap; }
.pwa-school-menu-link { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 12px; padding: 8px 12px; border: 1px solid rgba(107,26,42,.14); border-radius: 12px; background: rgba(255,255,255,.48); color: var(--bx3); font-size: 12px; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.pwa-school-menu-link svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pwa-school-menu-link:hover { border-color: rgba(107,26,42,.26); background: rgba(255,255,255,.8); }
.pwa-school-menu-link:focus-visible { outline: 3px solid rgba(176,124,34,.72); outline-offset: 3px; }
.exceptional-event-banner.is-compact { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; margin: 0 0 12px; padding: 11px 2px; border: 0; border-block: 1px solid rgba(107,26,42,.14); border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.exceptional-event-banner.is-compact .exceptional-event-icon { width: 28px; height: 40px; border: 0; border-radius: 0; background: transparent; color: var(--bx3); box-shadow: none; }
.exceptional-event-banner.is-compact .exceptional-event-icon svg { width: 21px; height: 21px; }
.exceptional-event-banner.is-compact .exceptional-event-copy strong { margin-bottom: 2px; font-size: 10px; }
.exceptional-event-banner.is-compact .exceptional-event-copy p { font-size: 14px; line-height: 1.4; }
.pwa-waste-dates,
.pwa-waste-date { display: inline-flex; align-items: center; }
.pwa-waste-dates { gap: 10px; }
.pwa-waste-date { gap: 4px; color: var(--bx3); font-weight: 900; font-variant-numeric: tabular-nums; }
.pwa-waste-bin { width: 16px; height: 17px; flex: 0 0 16px; background: currentColor; -webkit-mask: url("/assets/icons/trash-filled.svg") center / contain no-repeat; mask: url("/assets/icons/trash-filled.svg") center / contain no-repeat; }
.pwa-waste-bin.is-household { color: #795548; }
.pwa-waste-bin.is-recycling { color: #d9a70f; }
.pwa-news-modal { position: fixed; inset: 0; z-index: 75; display: grid; align-items: end; padding: 18px 14px max(18px, env(safe-area-inset-bottom)); background: rgba(28,5,11,.36); backdrop-filter: blur(12px); }
.pwa-news-modal[hidden] { display: none; }
.pwa-news-modal-panel { max-width: 720px; width: 100%; max-height: min(82vh, 720px); margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: rgba(255,250,244,.98); box-shadow: 0 22px 60px rgba(28,5,11,.28); }
.pwa-news-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px; border-bottom: 1px solid rgba(107,26,42,.12); }
.pwa-news-modal-head h1 { margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 27px; line-height: 1.05; }
.pwa-news-modal-head time { display: block; margin-top: 8px; color: var(--or); font-size: 13px; font-weight: 900; }
.pwa-news-modal-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px; color: var(--text); font-size: 16px; line-height: 1.55; }
.pwa-news-modal-body > :first-child { margin-top: 0; }
.pwa-news-modal-body img { width: auto; max-width: 100%; max-height: 340px; margin: 18px auto; border-radius: 14px; }
.pwa-news-modal-body a { color: var(--bx); font-weight: 900; }
body.pwa-modal-open { overflow: hidden; }
.pwa-alert-list { display: grid; gap: 12px; margin-bottom: 12px; }
.pwa-alert-card { overflow: hidden; border-radius: 22px; background: #fff; border: 1px solid rgba(107,26,42,.14); box-shadow: 0 14px 34px rgba(74,16,32,.12); }
.pwa-alert-card img { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.pwa-alert-card div { padding: 16px; }
.pwa-alert-card small { display: block; color: var(--or); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pwa-alert-card strong { display: block; margin-top: 5px; color: var(--bx3); font-size: 21px; line-height: 1.1; }
.pwa-alert-card p { margin: 8px 0; color: var(--text); font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.pwa-alert-card time { color: var(--muted); font-size: 12px; font-weight: 800; }
.pwa-notification-sheet { position: fixed; top: calc(max(18px, env(safe-area-inset-top)) + 58px); right: max(14px, env(safe-area-inset-right)); z-index: 70; width: min(392px, calc(100vw - 28px)); max-height: min(68vh, 620px); display: flex; flex-direction: column; padding: 16px; border: 1px solid rgba(255,255,255,.7); border-radius: 26px; background: rgba(255,250,244,.96); color: var(--text); box-shadow: 0 18px 46px rgba(28,5,11,.26); backdrop-filter: blur(18px); transform: translateY(0); transition: transform .22s ease, opacity .22s ease; }
.pwa-notification-sheet[hidden] { display: none; }
.pwa-notification-sheet::before { content: ""; position: absolute; top: -9px; right: 21px; width: 18px; height: 18px; border-left: 1px solid rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.7); background: rgba(255,250,244,.96); transform: rotate(45deg); backdrop-filter: blur(18px); }
.pwa-notification-sheet-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(107,26,42,.12); }
.pwa-notification-sheet-head h1 { margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 25px; line-height: 1; }
.pwa-sheet-text-button { min-height: 38px; padding: 4px 0; border: 0; background: transparent; color: var(--bx); font: inherit; font-size: 15px; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pwa-notification-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 0; }
.pwa-notification-actions[hidden] { display: none; }
.pwa-notification-sheet .pwa-mark-read-button,
.pwa-notification-sheet .pwa-clear-notifications-button { width: auto; min-height: 32px; margin: 0; font-size: 14px; }
.pwa-notification-sheet .pwa-clear-notifications-button { color: var(--muted); }
.pwa-notification-empty { margin: 12px 0 4px; color: var(--muted); font-size: 14px; font-weight: 700; text-align: center; }
.pwa-notification-empty[hidden] { display: none; }
.pwa-notification-list { display: grid; gap: 10px; margin-bottom: 12px; }
.pwa-notification-sheet .pwa-notification-list { flex: 1; margin: 0 -4px; padding: 0 4px 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pwa-notification-item { display: grid; gap: 9px; padding: 16px; border: 1px solid rgba(107,26,42,.1); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(74,16,32,.07); cursor: pointer; }
.pwa-notification-item div { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.pwa-notification-item strong { color: var(--bx3); font-size: 17px; font-weight: 700; }
.pwa-notification-item time { flex-shrink: 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.pwa-notification-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.pwa-notification-item img { display: block; width: 100%; max-height: 180px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(107,26,42,.1); }
.pwa-notification-item.is-unread { border-color: rgba(107,26,42,.24); background: #fffaf4; }
.pwa-notification-item.is-unread strong,
.pwa-notification-item.is-unread p,
.pwa-notification-item.is-unread time { color: var(--text); font-weight: 900; }
.pwa-notification-item.is-important { border-color: rgba(155,34,34,.48); background: #fff1ee; box-shadow: 0 14px 34px rgba(155,34,34,.18); }
.pwa-notification-item.is-important strong { color: #761919; font-weight: 900; }
.pwa-notification-item.is-important p { color: #4d2020; }
.pwa-important-label { width: fit-content; display: inline-flex; align-items: center; min-height: 25px; padding: 3px 9px; border-radius: 999px; background: #9b2222; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.pwa-mark-read-button { min-height: 44px; }
.content-tabs.pwa-feed-tabs > button { gap: 7px; padding-inline: 8px; font-size: 14px; }
.pwa-gazette-list { display: grid; gap: 20px; width: 100%; }
.pwa-gazette-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid rgba(107,26,42,.12); }
.pwa-gazette-item > img,
.pwa-gazette-placeholder { width: 88px; aspect-ratio: 210 / 297; object-fit: cover; border-radius: 8px; background: #fff; }
.pwa-gazette-item > img { height: auto; }
.pwa-gazette-placeholder { display: grid; align-content: center; gap: 5px; padding: 9px; color: var(--bx3); }
.pwa-gazette-placeholder span { font-size: 8px; font-weight: 900; text-transform: uppercase; }
.pwa-gazette-placeholder strong { font-family: Georgia, serif; font-size: 13px; line-height: 1.05; }
.pwa-gazette-item > div:last-child { min-width: 0; }
.pwa-gazette-item > div > strong { display: block; color: var(--bx3); font-family: Georgia, serif; font-size: 20px; line-height: 1.1; }
.pwa-gazette-item > div > span { display: block; margin: 5px 0 12px; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pwa-gazette-item a { color: var(--bx); font-size: 14px; font-weight: 900; text-underline-offset: 4px; }
.pwa-gazette-empty { padding: 48px 18px; text-align: center; }
.pwa-gazette-empty strong { color: var(--bx3); font-family: Georgia, serif; font-size: 22px; }
.pwa-gazette-empty p { margin: 8px 0 0; color: var(--muted); }
.chip-row { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; }
.chip-row button { min-height: 38px; flex: 0 0 auto; white-space: nowrap; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(107,26,42,.1); color: var(--bx); font: inherit; font-weight: 800; font-size: 13px; cursor: pointer; }
.chip-row button.active { border-color: var(--bx3); background: var(--bx3); color: #fff; }
.chip-row button:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
[data-pwa-directory-entry][hidden] { display: none; }
.photo-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-mosaic article { min-height: 150px; display: grid; align-content: end; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, #345e8a, #b8943a); color: #fff; }
.photo-mosaic .tall { grid-row: span 2; min-height: 312px; background: linear-gradient(135deg, #6b1a2a, #2f6f62); }
.pwa-gallery-masonry { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 -6px; }
.pwa-gallery-card { width: calc(50% - 12px); margin: 0 6px 12px; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.9); color: var(--pwa-ink); box-shadow: 0 14px 30px rgba(74,16,32,.08); }
.pwa-gallery-card img { width: 100%; height: auto; object-fit: cover; }
.pwa-gallery-cover { display: block; }
.pwa-gallery-cover:focus-visible, .masonry-gallery-photo:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.glightbox-container .gclose, .glightbox-container .gprev, .glightbox-container .gnext { width: 48px; height: 48px; border-radius: 50%; }
.glightbox-container button:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.gallery-lightbox-counter { position: absolute; top: max(24px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); color: #fff; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.pwa-gallery-card div { padding: 14px; }
.pwa-gallery-card strong { display: block; color: var(--pwa-burgundy); font-size: 17px; line-height: 1.15; }
.pwa-gallery-card span { display: block; margin-top: 4px; color: var(--pwa-muted); font-size: 13px; font-weight: 900; }
.pwa-gallery-card p { margin: 9px 0 0; color: var(--pwa-muted); font-size: 14px; line-height: 1.42; }
.report-new-button { width: 100%; margin-bottom: 12px; }
.report-list { display: grid; gap: 12px; }
.report-list-private { margin-bottom: 24px; }
.report-list-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 2px 12px; }
.report-list-heading strong { color: var(--bx3); font-family: var(--serif); font-size: 20px; }
.report-list-heading span { color: var(--muted); font-size: 12px; font-weight: 800; text-align: right; }
.report-card,
.report-empty { padding: 16px; border-radius: 20px; background: #fff; border: 1px solid rgba(107,26,42,.1); box-shadow: 0 12px 30px rgba(74,16,32,.08); }
.report-card { display: grid; gap: 10px; }
.report-card > div { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.report-card strong { color: var(--bx3); font-size: 17px; }
.report-card span { flex-shrink: 0; padding: 5px 9px; border-radius: 999px; background: #f1dfb3; color: var(--bx3); font-size: 12px; font-weight: 900; }
.report-card p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.5; }
.report-card small { color: var(--muted); font-weight: 800; }
.report-card img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 14px; border: 1px solid rgba(107,26,42,.1); }
.report-card em { display: grid; gap: 3px; padding: 10px 12px; border-radius: 14px; background: #f7f2ec; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.45; }
.report-card em strong { color: var(--bx3); font-family: var(--sans); font-size: 12px; text-transform: uppercase; }
.report-empty { color: var(--muted); font-weight: 800; text-align: center; }
.mini-form { display: grid; gap: 12px; }
.report-flow fieldset { display: grid; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.report-flow fieldset[hidden] { display: none; }
.report-location-map { height: 240px; width: 100%; border-radius: 12px; background: #f1e8de; z-index: 0; }
.report-location-map[hidden], [data-report-address-fields][hidden] { display: none; }
.report-detail-map { height: 260px; min-height: 260px; width: 100%; border-radius: 12px; z-index: 0; }
.report-detail-map[hidden] { display: none; }
.report-success { display: grid; justify-items: center; gap: 18px; padding: 36px 0; text-align: center; }
.report-success[hidden] { display: none; }
.report-success-icon { width: 52px; height: 52px; fill: none; stroke: var(--bx); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.report-success h2 { max-width: 420px; margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 28px; line-height: 1.2; }
.report-success p { max-width: 440px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.report-success .button { margin-top: 8px; min-height: 44px; }
.report-progress { height: 7px; overflow: hidden; border-radius: 999px; background: rgba(107,26,42,.12); }
.report-progress span { display: block; width: 33.333%; height: 100%; border-radius: inherit; background: var(--or); transition: width .2s ease; }
.report-flow-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.report-flow-actions .button:first-child { grid-column: 1 / -1; }
.report-flow-actions:has([data-report-prev][hidden]) .button:first-child { grid-column: auto; }
.report-flow-actions .button[hidden] { display: none; }
.report-location-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; border: 1px solid rgba(107,26,42,.1); border-radius: 16px; background: rgba(255,255,255,.68); }
.report-location-choice button { min-height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: inherit; font-weight: 900; cursor: pointer; }
.report-location-choice button.active { background: var(--bx3); color: #fff; }
.report-location-status { margin: 0; padding: 10px 12px; border-radius: 14px; background: #f7dede; color: #9b2222; font-size: 13px; font-weight: 800; }
.report-location-status.success { background: #e7f4ec; color: #2e7d58; }
.report-photo-picker { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid rgba(107,26,42,.1); box-shadow: 0 12px 30px rgba(74,16,32,.08); }
.report-photo-picker > span { color: var(--bx3); font-weight: 900; }
.report-photo-picker > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report-photo-picker .button { min-height: 42px; padding-inline: 10px; font-size: 13px; }
.report-photo-picker small { color: var(--muted); font-weight: 800; overflow-wrap: anywhere; }
.pwa-form-message { margin: 0; padding: 12px 14px; border-radius: 14px; background: #f7dede; color: #9b2222; font-size: 14px; font-weight: 800; }
.pwa-form-message.success { background: #e7f4ec; color: #2e7d58; }
.pwa-service-shell { min-height: 0; display: flex; flex-direction: column; overflow: visible; }
.pwa-service-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.pwa-service-head h1 { display: none; }
.pwa-service-head p { margin: 0; color: var(--muted); font-size: 13px; }
.pwa-service-head > span { flex: 0 0 auto; color: var(--bx); font-size: 12px; font-weight: 900; }
.pwa-service-progress { height: 5px; flex: 0 0 auto; margin: 13px 0 15px; overflow: hidden; border-radius: 999px; background: rgba(107,26,42,.1); }
.pwa-service-progress[hidden] { display: none; }
.pwa-service-progress span { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--or); transform: scaleX(.2); transform-origin: left center; transition: transform .2s ease-out; }
.pwa-service-form { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.pwa-service-form[hidden] { display: none; }
.pwa-service-requests { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pwa-service-requests[hidden] { display: none; }
.pwa-service-requests-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pwa-service-requests-head > div { display: grid; gap: 2px; }
.pwa-service-requests-head strong { color: var(--bx3); font-size: 16px; }
.pwa-service-requests-head span { color: var(--muted); font-size: 11px; font-weight: 800; }
.pwa-service-requests-head button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(107,26,42,.14); border-radius: 10px; background: #fbf7f1; color: var(--bx3); cursor: pointer; }
.pwa-service-requests-head button:disabled { opacity: .45; }
.pwa-service-requests-head svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-service-request-list { min-height: 0; flex: 1; display: grid; gap: 8px; align-content: start; overflow: visible; }
.pwa-service-request-card { display: grid; gap: 7px; padding: 12px 13px; border: 1px solid rgba(107,26,42,.1); border-radius: 12px; background: #fbf7f1; }
.pwa-service-request-card > div:first-child { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.pwa-service-request-card strong { min-width: 0; color: var(--bx3); font-size: 15px; line-height: 1.2; }
.pwa-service-request-card .status { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.pwa-service-request-card .status-pending { background: #f5e8bd; color: #603d12; }
.pwa-service-request-card .status-confirmed { background: #e5f3eb; color: #236243; }
.pwa-service-request-card .status-refused { background: #f8e4e4; color: #8d2020; }
.pwa-service-request-card .status-closed { background: #ece8e4; color: #685c5f; }
.pwa-service-request-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 11px; font-weight: 800; }
.pwa-service-request-response { margin: 0; padding: 8px 10px; border-left: 3px solid var(--or); border-radius: 6px; background: #f8f2df; color: var(--text); font-size: 12px; line-height: 1.4; }
.pwa-service-request-empty { align-self: center; margin: 32px 12px; color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }
.pwa-service-requests > .button { min-height: 42px; flex: 0 0 auto; }
.pwa-service-requests > [data-service-new-request] { font-size: 16px; }
.pwa-service-step { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pwa-service-step[hidden] { display: none; }
.pwa-service-step-title h2 { margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 22px; line-height: 1.1; }
.pwa-service-step-title p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.pwa-service-choices { display: grid; gap: 8px; }
.pwa-service-choices button { min-height: 72px; display: grid; gap: 4px; align-content: center; padding: 12px 14px; border: 1px solid rgba(107,26,42,.12); border-radius: 12px; background: #fbf7f1; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.pwa-service-choices button.selected { border-color: var(--bx3); background: #f1dfb3; }
.pwa-service-choices strong { color: var(--bx3); font-size: 16px; }
.pwa-service-choices span { color: var(--muted); font-size: 12px; line-height: 1.3; }
.pwa-service-townhall-link { align-self: flex-start; padding: 4px 0; border: 0; background: transparent; color: var(--bx); font: inherit; font-size: 13px; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.pwa-service-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 8px; }
.pwa-service-actions.one { grid-template-columns: 1fr; }
.pwa-service-actions .button { min-height: 42px; padding: 9px 10px; }
.pwa-service-actions .button:disabled { opacity: .4; cursor: not-allowed; }
.pwa-service-days { min-height: 78px; display: flex; gap: 7px; align-items: flex-start; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.pwa-service-days::-webkit-scrollbar { display: none; }
.pwa-service-days button { min-width: 0; height: 64px; flex: 0 0 calc((100% - 21px) / 4); display: grid; place-items: center; align-content: center; gap: 1px; padding: 5px; border: 1px solid rgba(46,125,88,.2); border-radius: 11px; background: #edf7f1; color: #246346; font: inherit; cursor: pointer; }
.pwa-service-days button:nth-child(4n + 1) { scroll-snap-align: start; }
.pwa-service-days button.unavailable { border-color: rgba(155,34,34,.12); background: #f8e4e4; color: #9b2222; cursor: not-allowed; opacity: .72; }
.pwa-service-days button.selected { border-color: var(--bx3); background: var(--bx3); color: #fff; }
.pwa-service-days span { font-size: 11px; font-weight: 900; text-transform: capitalize; }
.pwa-service-days strong { font-size: 19px; line-height: 1; }
.pwa-service-days small { color: inherit; font-size: 9px; font-weight: 800; }
.pwa-service-loading { flex: 0 0 100%; align-self: center; margin: 28px 0 0; color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }
.pwa-service-loading.error { color: #9b2222; }
.pwa-service-dates-empty { flex: 0 0 100%; align-self: center; margin: 28px 0; color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }
.pwa-service-legend { display: flex; gap: 16px; color: var(--muted); font-size: 11px; font-weight: 800; }
.pwa-service-legend span { display: inline-flex; align-items: center; gap: 5px; }
.pwa-service-legend i { width: 9px; height: 9px; border-radius: 50%; background: #4e9a6f; }
.pwa-service-legend span:last-child i { background: #c56a6a; }
.pwa-service-step > label,
.pwa-service-contact-row label { display: grid; gap: 4px; color: var(--bx3); font-size: 13px; font-weight: 900; }
.pwa-service-step label small { color: var(--muted); font-size: 11px; font-weight: 700; }
.pwa-service-step input,
.pwa-service-step textarea { min-height: 42px; border-radius: 10px; background: #fffdf9; font-size: 16px; }
.pwa-service-step textarea { min-height: 62px; resize: none; }
.pwa-service-contact-row { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 8px; }
.pwa-service-summary { display: grid; gap: 5px; margin: 0; padding: 10px 12px; border-radius: 12px; background: #fbf7f1; }
.pwa-service-summary div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
.pwa-service-summary dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.pwa-service-summary dd { margin: 0; overflow: hidden; color: var(--bx3); font-size: 12px; font-weight: 900; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.pwa-service-step .pwa-form-message { padding: 8px 10px; font-size: 12px; }
.pwa-service-success { flex: 1; display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; }
.pwa-service-success[hidden],
.pwa-service-townhall[hidden] { display: none; }
.pwa-service-success > span { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e7f4ec; color: #2e7d58; }
.pwa-service-success svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-service-success h2 { margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 25px; }
.pwa-service-success p { max-width: 300px; margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.pwa-service-success-actions { width: min(100%, 300px); display: grid; gap: 8px; }
.pwa-service-townhall { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pwa-service-townhall > div:nth-child(2) { display: grid; gap: 7px; }
.pwa-service-townhall article { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #fbf7f1; }
.pwa-service-townhall article strong { color: var(--bx3); font-size: 14px; }
.pwa-service-townhall article span { overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pwa-service-townhall .button { text-decoration: none; }
@media (max-height: 720px) {
  .pwa-service-head h1 { font-size: 26px; }
  .pwa-service-head p { margin-top: 0; }
  .pwa-service-progress { margin: 8px 0 9px; }
  .pwa-service-step { gap: 7px; }
  .pwa-service-step-title h2 { font-size: 20px; }
  .pwa-service-step-title p { margin-top: 2px; }
  .pwa-service-choices { gap: 6px; }
  .pwa-service-choices button { min-height: 60px; padding: 8px 12px; }
  .pwa-service-actions { padding-top: 3px; }
  .pwa-service-days { min-height: 64px; }
  .pwa-service-days { gap: 5px; }
  .pwa-service-days button { height: 55px; }
  .pwa-service-summary { gap: 3px; padding: 8px 10px; }
  .pwa-service-step textarea { min-height: 52px; }
}
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pro-card { display: flex; justify-content: space-between; gap: 12px; }
.pro-card strong, .pro-card span { display: block; }
.pro-card span { color: var(--muted); font-size: 14px; }
.pro-card em, .booking-card small { font-style: normal; color: var(--bx); font-weight: 800; font-size: 12px; }
.pwa-info-dashboard { display: grid; gap: 10px; }
.pwa-info-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 112px; padding: 18px; border-radius: 16px; background: linear-gradient(140deg, var(--bx3), var(--bx)); color: #fff; box-shadow: 0 14px 36px rgba(74,16,32,.16); }
.pwa-info-hero::after { content: ""; position: absolute; z-index: -1; inset: -28% -4% -45% 54%; background: url("/assets/img/contour-eglise-bayon.png") center / contain no-repeat; opacity: .08; transform: rotate(-5deg); pointer-events: none; }
.pwa-info-location-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; background: rgba(255,255,255,.12); color: var(--orl); }
.pwa-info-location-icon svg,
.pwa-info-hero a svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-info-location-copy { min-width: 0; }
.pwa-info-location-copy strong { display: block; font-family: Georgia, serif; font-size: 22px; line-height: 1.05; }
.pwa-info-location-copy address { margin-top: 6px; color: rgba(255,255,255,.76); font-size: 12px; font-style: normal; line-height: 1.35; }
.pwa-info-hero a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 12px; border-radius: 12px; background: var(--or); color: #fff; font-size: 13px; font-weight: 900; text-decoration: none; transition: background-color .18s ease, transform .18s ease; }
.pwa-info-hero a:hover { background: #c39532; transform: translateY(-1px); }
.pwa-info-hero a:focus-visible,
.pwa-contact-actions a:focus-visible { outline: 3px solid var(--orl); outline-offset: 3px; }
.pwa-info-card { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(74,16,32,.08); }
.pwa-info-card-head { display: flex; align-items: center; gap: 11px; padding-bottom: 4px; }
.pwa-info-card-icon { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #f1dfb3; color: var(--bx3); }
.pwa-info-card-icon svg,
.pwa-contact-actions svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pwa-info-card-head h2 { margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 21px; line-height: 1.05; }
.pwa-info-card-head p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.pwa-hours-caption,
.pwa-hours-list div { display: grid; grid-template-columns: minmax(78px, .9fr) repeat(2, minmax(82px, 1fr)); gap: 8px; align-items: center; }
.pwa-hours-caption { padding: 0 10px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.pwa-hours-list { display: grid; gap: 2px; margin: 0; overflow: hidden; border-radius: 12px; background: #fbf7f1; }
.pwa-hours-list div { min-height: 38px; padding: 7px 10px; border-bottom: 1px solid rgba(107,26,42,.08); }
.pwa-hours-list div:last-child { border-bottom: 0; }
.pwa-hours-list dt { color: var(--bx3); font-size: 13px; font-weight: 900; }
.pwa-hours-list dd { margin: 0; color: var(--text); font-size: 12px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pwa-hours-list .is-closed { color: var(--muted); font-weight: 600; }
.pwa-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pwa-contact-actions a { min-width: 0; min-height: 64px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; color: var(--bx3); text-decoration: none; box-shadow: 0 10px 24px rgba(74,16,32,.07); transition: color .18s ease, transform .18s ease; }
.pwa-contact-actions a:hover { color: var(--bx); transform: translateY(-1px); }
.pwa-contact-actions a > span:first-child { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; background: rgba(184,148,58,.18); color: var(--bx); }
.pwa-contact-actions .pwa-contact-copy { min-width: 0; display: block; }
.pwa-contact-actions small { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pwa-contact-actions strong { display: block; margin-top: 2px; font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
.pwa-legal-links { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px rgba(74,16,32,.07); }
.pwa-legal-links-title { display: block; padding: 10px 14px 7px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pwa-legal-links a { min-height: 50px; display: grid; grid-template-columns: 30px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 8px 14px; border-top: 1px solid rgba(107,26,42,.09); color: var(--bx3); text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.pwa-legal-links a:hover { background: #fbf7f1; color: var(--bx); }
.pwa-legal-links a:focus-visible { position: relative; outline: 3px solid var(--or); outline-offset: -3px; }
.pwa-legal-links a strong { font-size: 13px; line-height: 1.25; }
.pwa-legal-link-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(184,148,58,.16); color: var(--bx); }
.pwa-legal-link-icon svg { width: 17px; height: 17px; }
.pwa-legal-link-arrow { width: 17px; height: 17px; color: var(--muted); }
.pwa-legal-links svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.directory-card em { display: block; margin-top: 6px; }
.calendar { background: #fff; border-radius: 20px; padding: 16px; border: 1px solid rgba(107,26,42,.1); margin-bottom: 12px; }
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-days button { min-height: 52px; border-radius: 12px; border: 1px solid rgba(107,26,42,.1); background: #fbf7f1; }
.calendar-days .free { background: #e8f3e7; color: #2e7d58; }
.calendar-days .booked { background: #f7dede; color: #9b2222; }

@keyframes pwa-guide-pulse {
  0%, 100% { box-shadow: 0 16px 38px rgba(74,16,32,.1); }
  50% { box-shadow: 0 18px 44px rgba(185,145,48,.26); }
}
@keyframes pwa-coach-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -7px); }
}
@keyframes pwa-refresh-spin {
  to { transform: rotate(360deg); }
}

.mock-admin.admin-shell { grid-template-columns: 290px 1fr; background: radial-gradient(circle at top right, rgba(196,105,122,.12), transparent 24%), linear-gradient(180deg, #fbf8f4, #f4ede4); transition: grid-template-columns .22s ease; }
.mock-admin.admin-shell.sidebar-collapsed { grid-template-columns: 84px 1fr; }
.mock-admin .admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; overflow: hidden; padding: 18px 16px 16px; background: linear-gradient(180deg, rgba(74,16,32,.98), rgba(56,11,24,.98)), var(--bx3); color: rgba(255,255,255,.74); border-right: 1px solid rgba(255,255,255,.08); }
.mock-admin .admin-sidebar::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/contour-eglise-bayon.png") center / 300% auto no-repeat; opacity: .045; mix-blend-mode: screen; pointer-events: none; filter: blur(.35px); }
.sidebar-top { position: relative; z-index: 1; width: 100%; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.admin-sidebar-head { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 12px; align-items: start; }
.sidebar-collapse-toggle { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; align-self: start; padding: 0; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.86); font: inherit; font-size: 30px; line-height: 1; cursor: pointer; transition: background .22s ease, color .22s ease, transform .22s ease; }
.sidebar-collapse-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }
.sidebar-collapsed .admin-sidebar-head { grid-template-columns: 1fr; justify-items: center; }
.sidebar-collapsed .sidebar-collapse-toggle { align-self: center; transform: rotate(180deg); }
.admin-brand { display: flex; align-items: center; gap: 14px; padding: 0; border-radius: 0; background: transparent; border: 0; }
.admin-brand img { width: 52px; height: 52px; object-fit: contain; border-radius: 14px; background: rgba(255,255,255,.05); padding: 6px; margin: 0; }
.admin-brand strong { display: block; color: #fff; font-size: 17px; line-height: 1.1; }
.admin-brand span { display: block; color: var(--orl); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; }
.sidebar-collapsed .admin-brand { display: none; justify-content: center; padding: 10px 0; border-color: transparent; background: transparent; }
.sidebar-collapsed .admin-brand img { width: 42px; height: 42px; padding: 6px; }
.sidebar-collapsed .admin-brand div { display: none; }
.mock-admin .admin-sidebar nav, .sidebar-nav { width: 100%; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 0; padding-top: 4px; }
.mock-admin .sidebar-nav button, .mock-admin .sidebar-nav a { width: 100%; min-width: 0; max-width: 100%; min-height: 36px; display: flex; align-items: center; gap: 10px; padding: 4px 10px; border: 0; border-radius: 12px; color: rgba(255,255,255,.72); transition: background .22s ease, color .22s ease, transform .22s ease; }
.mock-admin .sidebar-nav button:hover, .mock-admin .sidebar-nav a:hover { background: rgba(255,255,255,.06); color: #fff; transform: translateX(2px); }
.mock-admin .admin-sidebar .icon { width: 28px; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; color: var(--orl); font-size: 21px; line-height: 1; }
.mock-admin .sidebar-nav button > span:not(.icon), .mock-admin .sidebar-nav a > span:not(.icon) { display: block; min-width: 0; flex: 1; }
.mock-admin .sidebar-nav button strong, .mock-admin .sidebar-nav a strong { display: block; overflow: hidden; color: inherit; font-size: 16px; font-weight: 600; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.mock-admin .sidebar-nav button small, .mock-admin .sidebar-nav a small { display: none; }
.mock-admin .sidebar-nav a > span.sidebar-count { min-width: 24px; width: auto; height: 24px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--bx3); font-size: 12px; font-weight: 900; line-height: 1; }
.mock-admin .sidebar-nav button.active, .mock-admin .sidebar-nav a.active { background: linear-gradient(135deg, rgba(212,176,96,.18), rgba(255,255,255,.08)); border: 1px solid rgba(212,176,96,.2); color: #fff; }
.sidebar-collapsed .sidebar-nav button, .sidebar-collapsed .sidebar-nav a { position: relative; justify-content: center; min-height: 40px; padding: 6px 0; }
.sidebar-collapsed .sidebar-nav button:hover, .sidebar-collapsed .sidebar-nav a:hover { transform: none; }
.sidebar-collapsed .admin-sidebar .icon { width: 42px; font-size: 26px; }
.sidebar-collapsed .sidebar-nav button > span:not(.icon), .sidebar-collapsed .sidebar-nav a > span:not(.icon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.sidebar-collapsed .sidebar-nav a > span.sidebar-count { position: absolute; top: 2px; right: 3px; width: auto; min-width: 20px; height: 20px; padding: 0 5px; overflow: visible; clip: auto; font-size: 10px; }
.sidebar-footer { position: relative; z-index: 1; margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.sidebar-footer .admin-profile-link { display: flex; min-width: 0; flex: 1; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; color: inherit; text-decoration: none; }
.sidebar-footer .admin-profile-link:hover { background: transparent; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--or), var(--bxl)); color: var(--bx3); font-weight: 800; }
.mock-admin .admin-sidebar .avatar-image { width: 36px; height: 36px; margin: 0; padding: 0; object-fit: cover; background: transparent; }
.sidebar-footer strong { display: block; color: #fff; font-size: 14px; line-height: 1.15; }
.sidebar-footer small { display: block; overflow: hidden; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-collapsed .sidebar-footer { display: none; }
/* Le menu conserve son espace propre au-dessus du profil, même en faible hauteur. */
@media (min-width: 901px) {
  .mock-admin .sidebar-top { flex: 1; overflow: hidden; }
  .mock-admin .sidebar-nav { min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
  .mock-admin .admin-sidebar-head, .mock-admin .sidebar-nav > *, .mock-admin .sidebar-footer { flex-shrink: 0; }
}
@media (min-width: 901px) and (max-height: 850px) {
  .mock-admin .admin-sidebar { gap: 12px; padding-block: 12px; }
  .mock-admin .sidebar-top { gap: 10px; }
  .mock-admin .sidebar-nav :is(a, button) { min-height: 30px; padding-block: 3px; }
  .mock-admin .sidebar-nav :is(a, button) strong { font-size: 14px; }
  .mock-admin .admin-sidebar .icon { font-size: 19px; }
  .mock-admin .sidebar-nav a > span.sidebar-count { min-width: 20px; height: 20px; font-size: 11px; }
  .mock-admin .sidebar-footer { padding: 8px; }
}
.admin-user { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); color: #fff; }
.admin-user > span { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--or), var(--bxl)); color: var(--bx3); font-weight: 800; }
.admin-user small { display: block; color: rgba(255,255,255,.52); }
.mock-admin .admin-content { padding: 28px; }
.mock-admin .admin-topbar { align-items: end; }
.mock-admin .admin-topbar-simple { align-items: initial; }
.mock-admin .admin-topbar h1 { font-size: clamp(38px, 4vw, 58px); }
.mock-admin .admin-panel { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.topbar-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.grid-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.grid-stats article { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.78); border: 1px solid rgba(74,16,32,.1); box-shadow: 0 18px 48px rgba(74,16,32,.1); }
.grid-stats span { color: var(--muted); font-size: 14px; font-weight: 800; }
.grid-stats strong { display: block; color: var(--bx3); font-size: 42px; line-height: 1; margin: 10px 0; }
.grid-stats p { margin: 0; color: var(--muted); font-size: 14px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 18px; margin-bottom: 20px; }
.dashboard-home { min-width: 0; }
.dashboard-home-intro { margin: 18px 0 36px; }
.dashboard-home-intro h1 { max-width: 760px; margin: 0; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: 0; }
.dashboard-home-intro p { margin: 10px 0 0; color: var(--muted); font-size: 18px; }
.dashboard-action-section { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: 30px; padding: 30px 0 38px; border-top: 1px solid rgba(107,26,42,.14); }
.dashboard-home-intro + .dashboard-action-section { padding-top: 0; border-top: 0; }
.dashboard-section-heading { display: flex; gap: 14px; align-items: flex-start; }
.dashboard-section-heading h2 { margin: 0; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.12; }
.dashboard-section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.dashboard-tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dashboard-tile { position: relative; min-width: 0; min-height: 174px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 18px 14px; align-items: start; padding: 22px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,255,255,.8); color: var(--text); text-decoration: none; box-shadow: 0 14px 34px rgba(74,16,32,.07); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dashboard-tile:hover { transform: translateY(-3px); border-color: rgba(107,26,42,.28); box-shadow: 0 20px 42px rgba(74,16,32,.12); }
.dashboard-tile:focus-visible { outline-offset: 4px; }
.dashboard-tile-icon { width: 48px; height: 48px; display: inline-flex; align-items: flex-start; justify-content: flex-start; grid-row: 1 / span 2; font-size: 29px; line-height: 1; }
.dashboard-tile-copy { min-width: 0; display: grid; align-content: start; gap: 8px; }
.dashboard-tile-copy strong { color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.08; }
.dashboard-tile-copy small { color: var(--muted); font-size: 14px; line-height: 1.45; }
.dashboard-tile-arrow { align-self: center; color: var(--bx); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.dashboard-tile:hover .dashboard-tile-arrow { transform: translateX(3px); }
.dashboard-process-tile { min-height: 154px; grid-template-columns: 48px minmax(0, 1fr); padding-right: 64px; }
.dashboard-process-tile.has-pending { border-color: rgba(155,34,34,.28); background: #fffaf8; }
.dashboard-tile-count { position: absolute; top: 20px; right: 20px; min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border-radius: 999px; background: #ede4d7; color: var(--muted); font-size: 14px; font-weight: 900; }
.dashboard-process-tile .dashboard-tile-arrow { position: absolute; right: 22px; bottom: 20px; }
.dashboard-process-tile.has-pending .dashboard-tile-count { background: #9b2222; color: #fff; }
.admin-panel { border-radius: 22px; background: rgba(255,255,255,.82); border: 1px solid rgba(74,16,32,.1); box-shadow: 0 18px 48px rgba(74,16,32,.1); }
.panel-head { display: flex; justify-content: space-between; gap: 14px; align-items: start; margin-bottom: 18px; }
.panel-head h2 { margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 26px; }
.panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.panel-head > span { padding: 7px 12px; border-radius: 999px; background: rgba(184,148,58,.18); color: var(--bx3); font-weight: 800; font-size: 12px; }
.timeline { display: grid; gap: 16px; }
.timeline article { display: grid; grid-template-columns: 66px 1fr; gap: 16px; padding: 16px; border-radius: 18px; background: rgba(250,246,240,.7); border: 1px solid rgba(74,16,32,.08); }
.timeline time { display: grid; justify-items: center; align-content: center; border-radius: 14px; background: var(--bx3); color: #fff; }
.timeline time strong { color: var(--orl); font-size: 27px; line-height: 1; }
.timeline h3 { margin: 0; color: var(--bx3); }
.timeline p { margin: 5px 0; color: var(--muted); }
.timeline small { color: var(--or); font-weight: 800; }
.side-panels { display: grid; gap: 18px; }
.mini-list { display: grid; gap: 10px; }
.mini-list div { padding: 14px; border-radius: 16px; background: rgba(250,246,240,.72); border: 1px solid rgba(74,16,32,.08); }
.mini-list strong, .mini-list span { display: block; }
.mini-list span { color: var(--muted); font-size: 14px; }
.status.live { padding: 6px 10px; border-radius: 999px; background: #e7f4ec; color: #2e7d58; font-weight: 800; font-size: 12px; }
.mock-admin table span { color: var(--muted); font-size: 14px; }

.news-index-heading { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(48px, 9vw, 128px); align-items: end; padding: 76px 20px 42px; border-bottom: 1px solid rgba(107,26,42,.2); }
.news-index-heading h1 { margin: 0; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(54px, 6vw, 78px); font-weight: 700; line-height: .96; }
.news-index-heading > p { max-width: 40ch; margin: 0 0 4px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.news-index-page { max-width: 1180px; margin: 0 auto; padding: 34px 20px 96px; }
.news-index-grid { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 24px; }
.news-index-grid.is-masonry-ready { display: block; }
.news-index-sizer { position: absolute; width: calc(50% - 12px); height: 0; visibility: hidden; }
.news-index-card { width: calc(50% - 12px); margin-bottom: 24px; }
.news-index-card { min-width: 0; overflow: hidden; border: 1px solid rgba(107,26,42,.14); border-radius: 6px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.news-index-card > a { height: 100%; display: grid; grid-template-rows: auto 1fr; color: inherit; text-decoration: none; }
.news-index-card:hover { border-color: rgba(107,26,42,.3); box-shadow: 0 18px 42px rgba(74,16,32,.1); }
.news-index-card > a:focus-visible { outline: 3px solid var(--or); outline-offset: -5px; }
.news-index-card-featured { width: 100%; }
.news-index-card-featured > a { grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); grid-template-rows: minmax(430px, auto); }
.news-index-visual { position: relative; min-height: 270px; overflow: hidden; background: var(--bx3); }
.news-index-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.news-index-card:hover .news-index-visual img { transform: scale(1.025); }
.news-index-visual span { position: absolute; top: 18px; left: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(74,16,32,.94); color: #fff; font-size: 12px; font-weight: 800; }
.news-index-placeholder { display: grid; place-items: center; background: var(--bx3); }
.news-index-placeholder-2 { background: #436d5e; }
.news-index-placeholder-3 { background: #365a72; }
.news-index-placeholder b { color: rgba(255,255,255,.12); font-family: Georgia, "Times New Roman", serif; font-size: clamp(120px, 17vw, 230px); font-weight: 400; line-height: .75; }
.news-index-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 30px 30px; }
.news-index-copy time { color: var(--or); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.news-index-copy h2 { margin: 10px 0 13px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 2vw, 29px); line-height: 1.15; overflow-wrap: anywhere; }
.news-index-copy p { overflow: hidden; display: -webkit-box; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-index-read { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 24px; color: var(--bx); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.news-index-read svg { width: 18px; height: 18px; transition: transform .2s ease; }
.news-index-card:hover .news-index-read svg { transform: translateX(4px); }
.news-index-card-featured .news-index-copy { justify-content: center; padding: 42px; background: #fff; }
.news-index-card-featured .news-index-copy h2 { font-size: clamp(30px, 3vw, 40px); }
.news-index-card-featured .news-index-copy p { font-size: 18px; -webkit-line-clamp: 5; }
.breadcrumb { max-width: 860px; margin: 0 auto 24px; display: flex; gap: 8px; color: var(--m3-muted); font-size: 15px; }
.breadcrumb a { color: var(--m3-primary); text-decoration: none; font-weight: 800; }
/* Editorial article view: a compact information rail and one continuous reading axis. */
.news-detail { --news-rail: 168px; --news-gap: clamp(36px, 5vw, 72px); max-width: 1180px; margin: 0 auto; padding: 44px 32px 104px; }
.news-detail .breadcrumb { max-width: none; margin: 0 0 56px calc(var(--news-rail) + var(--news-gap)); flex-wrap: wrap; }
.news-detail-header { display: grid; grid-template-columns: var(--news-rail) minmax(0, 1fr); gap: var(--news-gap); align-items: start; margin-bottom: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--m3-line); }
.news-detail h1 { max-width: 18ch; margin: -9px 0 0; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.news-detail-meta { display: grid; gap: 11px; padding-top: 3px; font-size: 13px; line-height: 1.4; }
.news-detail-meta span { color: var(--bx); font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.news-detail-meta time { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-body { max-width: 740px; margin: 0 0 0 calc(var(--news-rail) + var(--news-gap)); color: var(--text); font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.news-body > :first-child { margin-top: 0; }
.news-body > :last-child { margin-bottom: 0; }
.news-body p, .news-body ul, .news-body ol { margin-block: 0 28px; }
.news-body h2, .news-body h3 { margin: 48px 0 20px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; line-height: 1.2; text-wrap: balance; }
.news-body h2 { font-size: clamp(28px, 3vw, 36px); }
.news-body h3 { font-size: 26px; }
.news-body li + li { margin-top: 12px; }
.news-body img { width: auto; max-width: 100%; height: auto; margin: 40px auto; border-radius: 0; }
.news-body > :first-child img { margin-top: 0; }
.news-body figure { margin: 40px 0; }
.news-body figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.news-body a { color: var(--bx); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.news-body a:hover { text-decoration-thickness: 2px; }
.news-detail-footer { max-width: 740px; margin: 64px 0 0 calc(var(--news-rail) + var(--news-gap)); padding-top: 28px; border-top: 1px solid var(--m3-line); }
.news-detail-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--bx); font-size: 15px; font-weight: 700; text-decoration: none; }
.news-detail-back svg { width: 20px; height: 20px; }
.news-detail-back:hover { text-decoration: underline; text-underline-offset: .2em; }
.news-detail :focus-visible { outline-color: var(--bx); }
.news-detail ::selection { color: #fff; background: var(--bx); }
@media (max-width: 820px) {
  .news-detail { padding: 32px 20px 72px; }
  .news-detail .breadcrumb { margin: 0 0 36px; font-size: 14px; }
  .news-detail-header { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; padding-bottom: 32px; }
  .news-detail h1 { grid-row: 1; margin-top: 0; font-size: clamp(38px, 10vw, 58px); }
  .news-detail-meta { grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 0; }
  .news-body, .news-detail-footer { margin-left: 0; }
  .news-body { font-size: 17px; line-height: 1.8; }
  .news-body img { margin-block: 28px; }
  .news-detail-footer { margin-top: 48px; }
}

.elected-page { --elected-photo-width: 150px; max-width: 1180px; margin: 0 auto; padding: 0 20px 88px; }
.elected-section { margin-top: 34px; }
.elected-section h2 { margin: 0 0 18px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; text-align: center; }
.elected-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 216px)); justify-content: center; gap: 20px; }
.elected-grid-featured { grid-template-columns: minmax(0, 640px); }
.elected-grid-deputies { grid-template-columns: repeat(4, minmax(0, 216px)); }
.elected-grid-compact { grid-template-columns: repeat(5, minmax(0, 216px)); }
.elected-card { min-width: 0; display: grid; gap: 14px; align-content: start; padding: 18px; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(74,16,32,.08); }
.elected-grid-featured .elected-card { grid-template-columns: var(--elected-photo-width) minmax(0, 1fr); align-items: center; }
.elected-card img,
.elected-photo-placeholder { width: var(--elected-photo-width); max-width: 100%; aspect-ratio: 4 / 5; justify-self: center; object-fit: cover; border-radius: 8px; background: #f2ede6; border: 1px solid var(--m3-line); }
.elected-photo-placeholder { display: grid; place-items: center; color: var(--m3-primary); font-size: 34px; font-weight: 900; }
.elected-role { display: inline-block; max-width: 100%; color: var(--m3-secondary); font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.elected-card h3 { margin: 5px 0 0; color: var(--m3-primary); font-size: 21px; line-height: 1.12; }
.elected-card h3 span { display: block; }
.elected-card p { margin: 8px 0 0; color: var(--m3-muted); line-height: 1.55; }
.commissions-page { max-width: 1180px; margin: 0 auto; padding: 0 20px 88px; }
.commission-section { margin-top: 36px; }
.commission-section h2 { margin: 0 0 18px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; text-align: center; }
.commission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.commission-card,
.delegation-item { min-width: 0; padding: 22px; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(74,16,32,.08); }
.commission-card h3,
.delegation-item h3 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.12; }
.commission-lead { margin: 12px 0 0; color: var(--m3-muted); }
.commission-body { margin-top: 14px; color: var(--m3-text); line-height: 1.65; }
.commission-body p { margin: 0 0 8px; }
.commission-body ul { margin: 0; padding-left: 20px; }
.commission-body li + li { margin-top: 4px; }
.delegation-list { display: grid; gap: 14px; }
.delegation-item { box-shadow: none; }
.gallery-page { max-width: 1240px; margin: 0 auto; padding: 0 20px 88px; }
.gallery-group + .gallery-group { margin-top: 56px; }
.gallery-group-head { display: grid; grid-template-columns: minmax(260px, .38fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 22px; }
.gallery-group-head time { display: block; margin-bottom: 8px; color: var(--m3-secondary); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.gallery-group-head h2 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.gallery-group-head div:last-child { color: var(--m3-muted); font-size: 18px; line-height: 1.65; }
.gallery-group-head p { margin: 0 0 10px; }
.masonry-gallery { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 -9px; }
.masonry-gallery.is-masonry-ready, .pwa-gallery-masonry.is-masonry-ready { display: block; }
.masonry-gallery-photo { width: calc(33.333% - 18px); min-width: 0; display: block; margin: 0 9px 18px; overflow: hidden; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: #f2ede6; box-shadow: 0 16px 38px rgba(74,16,32,.08); }
.masonry-gallery-photo img { width: 100%; height: auto; object-fit: cover; transition: transform .22s ease; }
.masonry-gallery-photo:hover img { transform: scale(1.025); }
.empty-state { max-width: 720px; margin: 0 auto; padding: 28px; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: #fff; text-align: center; box-shadow: 0 16px 38px rgba(74,16,32,.08); }
.empty-state h2 { margin: 0 0 8px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.12; }
.empty-state p { margin: 0; color: var(--m3-muted); }
.council-meetings-page { max-width: 1100px; margin: 0 auto; padding: 0 20px 88px; }
.council-year-section { margin-top: 38px; }
.council-year-section h2 { margin: 0 0 18px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; text-align: center; }
.council-meeting-list { display: grid; gap: 14px; }
.council-meeting-item { display: grid; grid-template-columns: minmax(230px, .35fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 22px; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(74,16,32,.08); }
.council-meeting-item time { display: inline-flex; margin-bottom: 8px; color: var(--m3-secondary); font-weight: 900; }
.council-meeting-item h3 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.12; }
.council-document-list { display: grid; gap: 9px; }
.council-document-list a { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 10px; color: var(--m3-primary); font-weight: 800; text-decoration: none; }
.council-document-list a:hover { text-decoration: underline; }
.council-document-list span { flex: 0 0 auto; padding: 3px 6px; border-radius: 4px; background: #f7dede; color: #9b2222; font-size: 11px; font-weight: 900; }
.school-page { max-width: 1100px; margin: 0 auto; padding: 0 20px 88px; }
.school-content { display: grid; gap: 28px; }
.school-slideshow { position: relative; aspect-ratio: 16 / 6.4; min-height: 280px; margin: 0; overflow: hidden; border-radius: 8px; border: 1px solid rgba(107,26,42,.1); background: #fff; box-shadow: 0 16px 38px rgba(74,16,32,.08); }
.school-slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.school-slideshow img.is-active { opacity: 1; }
.school-body { color: var(--m3-text); font-size: 18px; line-height: 1.7; }
.school-body h2 { margin: 34px 0 16px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.school-body h3 { margin: 28px 0 12px; color: var(--m3-primary); font-size: 24px; line-height: 1.16; }
.school-body p { margin: 0 0 14px; }
.school-body ul { margin: 0 0 22px; padding-left: 22px; }
.school-body li + li { margin-top: 7px; }
.school-body a { color: var(--m3-primary); font-weight: 900; }
.school-document-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 28px; padding: 0; list-style: none; }
.school-document-list a { display: flex; min-height: 58px; align-items: center; justify-content: center; padding: 12px 14px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: #fff; text-align: center; text-decoration: none; box-shadow: 0 12px 28px rgba(74,16,32,.07); }
.urbanism-page { max-width: 1180px; margin: 0 auto; padding: 0 20px 88px; }
.urbanism-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .44fr); gap: 28px; align-items: start; }
.urbanism-content,
.urbanism-side { min-width: 0; }
.urbanism-body { color: var(--m3-text); font-size: 18px; line-height: 1.7; }
.urbanism-body h2 { margin: 0 0 18px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.urbanism-body p { margin: 0 0 16px; }
.urbanism-body a { color: var(--m3-primary); font-weight: 900; }
.urbanism-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 18px; border-radius: 8px; background: var(--m3-secondary); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 14px 32px rgba(184,148,58,.22); }
.urbanism-action { width: 100%; min-height: 76px; background: var(--m3-primary); color: #fff; }
.urbanism-action span { font-size: 28px; line-height: 1; }
.urbanism-video { margin-top: 22px; }
.urbanism-video h2 { margin: 0 0 12px; color: var(--m3-primary); font-size: 24px; line-height: 1.1; }
.video-embed { overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: #17070c; box-shadow: 0 16px 38px rgba(74,16,32,.08); }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-preview { position: relative; }
.video-preview-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-preview button { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: rgba(23,7,12,.08); color: #fff; cursor: pointer; transition: background .2s ease; }
.video-preview button:hover, .video-preview button:focus-visible { background: rgba(23,7,12,.24); }
.video-preview button span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--m3-primary); box-shadow: 0 12px 32px rgba(0,0,0,.32); }
.video-preview button svg { width: 25px; height: 25px; fill: currentColor; stroke-width: 1.8; transform: translateX(2px); }
.video-modal[hidden] { display: none; }
.video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; overflow: auto; overscroll-behavior: contain; background: rgba(23,7,12,.82); backdrop-filter: blur(8px); }
.video-modal-panel { position: relative; width: min(1120px, calc(100vw - 48px), calc(160dvh - 64px)); max-width: 100%; }
.video-modal-panel .video-embed { width: 100%; border-color: rgba(255,255,255,.2); box-shadow: 0 28px 90px rgba(0,0,0,.42); }
.video-modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
@media (max-width: 640px) {
  .video-modal { padding: 12px; }
  .video-modal-panel { width: min(100%, calc(170dvh - 32px)); }
  .video-modal-close { top: 8px; right: 8px; }
}
.council-editor-form { width: min(100%, 1180px); max-width: none; gap: 14px; }
.council-editor-form .admin-form-grid { gap: 14px; }
.council-editor-form > label,
.council-editor-form .admin-form-grid > label,
.council-editor-form .document-editor-row label,
.council-editor-form .admin-upload-field { gap: 5px; font-size: 13px; line-height: 1.35; }
.council-editor-form :is(input, select) { min-height: 42px; padding: 9px 11px; font-size: 14px; }
.council-editor-form .admin-check { margin-block: 0 4px; }
.document-editor-list { display: grid; gap: 8px; margin-top: 4px; }
.document-editor-list > .panel-head { margin-bottom: 2px; }
.document-editor-list > .panel-head h2 { font-size: 25px; }
.document-editor-list > .panel-head p { margin-top: 4px; font-size: 13px; }
.document-editor-row { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 12px; align-items: end; padding: 10px 12px; border-bottom: 1px solid rgba(107,26,42,.12); background: rgba(255,250,244,.38); }
.document-editor-row-new { grid-template-columns: minmax(240px, 1fr) minmax(250px, .72fr) auto; }
.document-editor-actions { display: flex; align-items: center; gap: 8px; }
.document-editor-actions .button { min-height: 38px; padding: 7px 12px; font-size: 13px; }
.document-order-actions { display: inline-flex; align-items: center; gap: 2px; }
.document-order-actions button { width: 38px; height: 38px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--m3-line); border-radius: 7px; background: #fff; color: var(--m3-primary); cursor: pointer; transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.document-order-actions button:hover { border-color: var(--m3-primary); background: var(--m3-primary); color: #fff; }
.document-order-actions button:focus-visible { outline: 2px solid var(--m3-secondary); outline-offset: 2px; }
.document-order-actions button:disabled { opacity: .3; cursor: default; }
.document-order-actions button:disabled:hover { border-color: var(--m3-line); background: #fff; color: var(--m3-primary); }
.document-order-actions svg { width: 17px; height: 17px; }
.document-editor-row .filepond--root { min-height: 56px; }
.document-editor-row .filepond--drop-label { min-height: 56px; }
.document-editor-row .filepond--drop-label label { padding: 8px 12px; font-size: 12px; }
@media (max-width: 760px) {
  .document-editor-row,
  .document-editor-row-new { grid-template-columns: minmax(0, 1fr); }
  .document-editor-actions { justify-content: space-between; }
  .document-editor-row-new .document-order-actions { justify-self: end; }
}
.site-page-gallery-editor { display: grid; gap: 16px; padding: 18px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,250,244,.58); }
.site-page-gallery-editor h2 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 28px; line-height: 1.12; }
.site-page-gallery-editor p { margin: 4px 0 0; color: var(--m3-muted); font-weight: 800; }
.site-page-gallery-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.site-page-gallery-item { min-width: 0; display: grid; gap: 8px; padding: 10px; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: #fff; }
.site-page-gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.site-page-gallery-item span { display: flex; align-items: center; gap: 8px; color: var(--m3-muted); font-size: 14px; font-weight: 800; }
.site-page-current-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 13px 14px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: #fff; }
.site-page-current-file a { color: var(--m3-primary); font-weight: 900; }
.site-page-current-file label { width: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--m3-muted); font-size: 14px; font-weight: 800; }
.site-page-gallery-drop { position: relative; min-height: 178px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 24px; overflow: hidden; border: 1.5px dashed rgba(107,26,42,.32); border-radius: 8px; background: rgba(255,250,244,.84); color: var(--m3-muted); text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.site-page-gallery-drop:hover,
.site-page-gallery-drop.is-dragging { border-color: var(--m3-primary); background: rgba(241,223,179,.42); color: var(--m3-primary); box-shadow: 0 12px 32px rgba(74,16,32,.08); }
.site-page-gallery-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.site-page-gallery-drop-icon { font-size: 34px; line-height: 1; }
.site-page-gallery-drop strong { color: var(--m3-primary); font-size: 18px; line-height: 1.2; }
.site-page-gallery-drop em { max-width: 420px; font-style: normal; font-weight: 800; line-height: 1.4; }
.site-page-gallery-drop small { color: inherit; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.admin-table-wrap { width: 100%; overflow-x: auto; }
.admin-table-wrap table { min-width: 760px; }
.admin-table-wrap th,
.admin-table-wrap td { white-space: nowrap; vertical-align: middle; }
.admin-table-wrap td { max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
.admin-table-muted { color: var(--muted); font-size: 14px; font-weight: 700; }
.admin-table-actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.admin-table-actions form { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.admin-table-actions select { min-height: 38px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); font: inherit; font-size: 14px; }
.admin-icon-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border-radius: 999px; font-size: 25px; line-height: 1; }
.admin-icon-button span,
.mock-admin table .admin-icon-button span { display: inline-flex; align-items: center; justify-content: center; color: inherit; font-size: inherit; line-height: 1; transform: translateY(-1px); }
.admin-icon-button svg,
.admin-row-handle svg { width: 20px; height: 20px; display: block; flex: 0 0 auto; stroke: currentColor; }
.admin-table-actions .button-tonal.admin-icon-button,
.map-category-actions .button-tonal.admin-icon-button { color: #fff; }
.admin-row-handle { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: #fffaf4; color: var(--m3-primary); font: inherit; font-size: 20px; line-height: 1; cursor: grab; touch-action: none; }
.admin-reorder-cell { text-align: center; }
.admin-row-handle:active { cursor: grabbing; }
tr.is-dragging { opacity: .55; }
table.is-reordering { opacity: .72; pointer-events: none; }
.admin-panel.loading .admin-table-wrap { opacity: .58; pointer-events: none; }
.admin-pagination { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.admin-pagination-top .admin-pagination { margin: 0 0 14px; }
.admin-pagination-bottom .admin-pagination { margin-top: 18px; }
.admin-page-link { min-width: 38px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--m3-primary); font-size: 14px; font-weight: 800; text-decoration: none; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.admin-page-link:hover { border-color: rgba(107,26,42,.34); background: #f9eddc; transform: translateY(-1px); }
.admin-page-link.active { border-color: var(--m3-primary); background: var(--m3-primary); color: #fff; }
.admin-page-link.disabled { opacity: .45; pointer-events: none; }
.directory-panel { container-type: inline-size; }
.directory-panel [role="tabpanel"][hidden] { display: none; }
.admin-directory-logo { width: 44px; height: 44px; display: block; object-fit: contain; border-radius: 8px; border: 1px solid rgba(107,26,42,.12); background: #fff; }
@container (max-width: 780px) {
  .directory-panel .admin-table-wrap { overflow: visible; }
  .directory-panel .admin-table-wrap table { min-width: 0; display: block; }
  .directory-panel .admin-table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .directory-panel .admin-table-wrap tbody { display: grid; gap: 12px; }
  .directory-panel .admin-table-wrap tbody tr { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px 14px; align-items: start; padding: 14px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,250,244,.72); }
  .directory-panel .admin-table-wrap tbody td { width: auto !important; max-width: none; height: auto; min-width: 0; padding: 0; border: 0; overflow: visible; white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }
  .directory-panel .admin-table-wrap tbody td::before { display: block; margin-bottom: 2px; color: var(--m3-muted); content: attr(data-label); font-size: 10px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
  .directory-panel .admin-table-wrap tbody td:nth-child(1) { grid-column: 1; grid-row: 1 / span 3; }
  .directory-panel .admin-table-wrap tbody td:nth-child(1)::before,
  .directory-panel .admin-table-wrap tbody td:nth-child(2)::before,
  .directory-panel .admin-table-wrap tbody td:nth-child(5)::before,
  .directory-panel .admin-table-wrap tbody td:nth-child(6)::before { display: none; }
  .directory-panel .admin-table-wrap tbody td:nth-child(2) { grid-column: 2; grid-row: 1; align-self: center; }
  .directory-panel .admin-table-wrap tbody td:nth-child(3) { grid-column: 2; grid-row: 2; }
  .directory-panel .admin-table-wrap tbody td:nth-child(4) { grid-column: 2; grid-row: 3; }
  .directory-panel .admin-table-wrap tbody td:nth-child(5) { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; }
  .directory-panel .admin-table-wrap tbody td:nth-child(6) { grid-column: 3; grid-row: 2 / span 2; justify-self: end; align-self: end; }
  .directory-panel .admin-directory-logo { width: 52px; height: 52px; }
  .directory-panel .admin-table-actions { flex-direction: column; }
}
.directory-logo-editor { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: rgba(250,246,240,.62); }
.directory-logo-editor > div:first-child { width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: #fff; }
.directory-logo-editor img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.directory-logo-editor > div:first-child > span { font-size: 38px; line-height: 1; }
.directory-logo-editor .admin-check { grid-column: 2; margin: 0; }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 22px; }
.system-tab-panel[hidden] { display: none; }
.system-mail-test { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--m3-line); }
.system-mail-test label { min-width: 0; display: grid; gap: 6px; color: var(--m3-primary); font-size: 13px; font-weight: 850; }
.system-mail-test input { min-width: 0; height: 42px; }
.system-mail-test .button { min-height: 42px; white-space: nowrap; }
.system-email-log-panel { margin-top: 22px; }
.system-email-log-panel code { color: var(--m3-primary); font-size: 12px; }
.system-email-log-error { max-width: 280px; overflow-wrap: anywhere; color: var(--m3-muted); font-size: 12px; }
.system-users-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.system-user-form { width: 100%; max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 14px 22px; }
.system-user-form-heading { grid-column: 1 / -1; }
.system-user-fields { min-width: 0; display: grid; gap: 14px; align-content: start; }
.system-user-fields label,
.system-user-fields input,
.system-user-fields select { min-width: 0; width: 100%; }
.system-user-form h2 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 27px; }
.system-user-form p { margin: 5px 0 0; color: var(--m3-muted); font-size: 14px; }
.system-user-form .field-help { color: var(--m3-muted); font-size: 13px; font-weight: 700; }
.system-user-create-actions { grid-column: 1 / -1; justify-content: flex-end; }
.system-users-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.system-users-heading .button { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.system-users-heading .button svg { width: 18px; height: 18px; }
.system-user-create-modal { opacity: 0; transition: opacity .18s ease-out; }
.system-user-create-modal.is-open { opacity: 1; }
.admin-modal .system-user-create-panel { width: min(1100px, 100%); max-height: calc(100dvh - 48px); padding: 28px 32px; overflow-x: hidden; transform: translateY(10px); transition: transform .18s ease-out; }
.system-user-create-panel .system-user-form-heading { padding-right: 44px; }
.system-user-create-panel .system-user-form h2 { font-size: 25px; }
.system-user-create-panel .system-user-form p { margin-top: 3px; }
.system-user-create-modal.is-open .system-user-create-panel { transform: translateY(0); }
.system-permissions-fieldset { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--m3-line); border-radius: 8px; }
.system-permissions-fieldset legend { padding: 0 6px; color: var(--m3-primary); font-size: 13px; font-weight: 700; }
.system-permissions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.system-permissions-grid label { min-width: 0; display: flex; align-items: center; gap: 8px; color: var(--m3-text); font-size: 13px; font-weight: 400; line-height: 1.25; }
.system-permissions-grid span { min-width: 0; overflow-wrap: anywhere; }
.system-permissions-grid input { width: auto; min-height: 0; flex: 0 0 auto; }
.system-user-access { margin-top: 10px; }
.system-user-access summary { color: var(--m3-primary); font-size: 12px; font-weight: 700; cursor: pointer; }
.system-user-access[open] { position: fixed; inset: 0; z-index: 420; display: grid; place-items: center; margin: 0; padding: 24px; overflow: auto; background: rgba(38,12,20,.62); backdrop-filter: blur(5px); }
.system-user-access[open] > summary { display: none; }
.system-user-access > form { width: min(720px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); display: grid; gap: 16px; margin: 0; padding: 22px; overflow: auto; border: 1px solid var(--m3-line); border-radius: 10px; background: #fffaf4; box-shadow: 0 28px 80px rgba(35,7,15,.32); }
.system-user-access-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--m3-line); }
.system-user-access-heading .eyebrow { margin: 0 0 3px; font-size: 11px; }
.system-user-access-heading h3 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.15; }
.system-user-access-heading button { width: 38px; height: 38px; display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--m3-line); border-radius: 50%; background: #fff; color: var(--m3-primary); cursor: pointer; }
.system-user-access-heading svg { width: 18px; height: 18px; }
.system-user-access > form > label { gap: 5px; font-size: 13px; }
.system-user-access .button { justify-self: start; }
.system-users-list { min-width: 0; }
.system-users-list .admin-table-muted { display: block; margin-top: 3px; }
.system-user-identity { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.system-user-identity > div { min-width: 0; }
.system-user-avatar { width: 44px; height: 44px; display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid var(--m3-line); border-radius: 50%; object-fit: cover; }
.system-user-avatar-placeholder { background: linear-gradient(135deg, var(--or), var(--bxl)); color: var(--bx3); font-size: 14px; font-weight: 900; }
.system-users-list .button { min-height: 38px; padding: 7px 12px; font-size: 13px; }
.system-users-list .button:disabled { cursor: not-allowed; opacity: .42; }
.system-log-heading { align-items: end; }
.system-log-table .dt-layout-row { gap: 12px; margin: 0 0 14px; }
.system-log-table .dt-search input,
.system-log-table .dt-length select { min-height: 42px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); }
.system-log-table .dt-paging-button { min-width: 38px; min-height: 38px; border: 1px solid var(--m3-line) !important; border-radius: 8px !important; background: #fffaf4 !important; color: var(--m3-primary) !important; font-weight: 800; }
.system-log-table .dt-paging-button.current { background: var(--m3-primary) !important; color: #fff !important; }
.system-log-table code { color: var(--m3-primary); font-size: 13px; overflow-wrap: anywhere; }
.system-panel { min-width: 0; }
.system-list { display: grid; gap: 10px; margin: 0; }
.system-list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid rgba(107,26,42,.08); }
.system-list div:last-child { border-bottom: 0; }
.system-list dt { color: var(--m3-muted); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.system-list dd { min-width: 0; margin: 0; color: var(--m3-text); overflow-wrap: anywhere; }
.system-cron-badge { width: auto; max-width: 100%; height: 20px; display: block; }
.system-list-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.system-list-inline div { grid-template-columns: 130px minmax(0, 1fr); }
.system-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.button-danger { background: #f7dede; color: #9b2222; border-color: #efb7b7; }
.status { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: 12px; background: #ede4d7; color: var(--m3-text); }
.status-published { background: #e7f4ec; color: #2e7d58; }
.status-draft { background: #f2ede6; color: #725c48; }
.status-scheduled { background: #e8eef7; color: #345e8a; }
.status-archived { background: #f7dede; color: #9b2222; }
.status-household { background: #f2ede6; color: #6f4530; }
.status-recycling { background: #fff5bf; color: #7b6500; }
.status-report-new { background: #fff5bf; color: #7b6500; }
.status-report-in_progress { background: #f1dfb3; color: #6b1a2a; }
.status-report-closed { background: #e7f4ec; color: #2e7d58; }
.status-report-duplicate { background: #f2ede6; color: #725c48; }
.status-listing-pending { background: #fff5bf; color: #7b6500; }
.status-listing-published { background: #e7f4ec; color: #2e7d58; }
.status-listing-refused { background: #f7dede; color: #9b2222; }
.status-listing-archived { background: #f2ede6; color: #725c48; }
.status-service-pending { background: #fff5bf; color: #7b6500; }
.status-service-confirmed { background: #e7f4ec; color: #2e7d58; }
.status-service-refused { background: #f7dede; color: #9b2222; }
.status-service-closed { background: #f2ede6; color: #725c48; }
.admin-form { display: grid; gap: 18px; max-width: 980px; }
.directory-editor-form { width: min(100%, 1440px); max-width: none; gap: 14px; }
.directory-editor-form > label,
.directory-editor-grid > label,
.directory-editor-form .admin-upload-field { gap: 5px; color: var(--m3-primary); font-size: 14px; line-height: 1.35; }
.directory-editor-form :is(input, select, textarea) { min-height: 44px; padding: 10px 12px; font-size: 15px; }
.directory-editor-form textarea { min-height: 116px; height: 116px; resize: vertical; }
.directory-editor-form label > small { font-size: 12px; line-height: 1.35; }
.directory-editor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.directory-editor-form .directory-logo-editor { grid-template-columns: 70px minmax(0, 1fr); gap: 12px 16px; padding: 12px; }
.directory-editor-form .directory-logo-editor > div:first-child { width: 70px; height: 70px; }
.directory-editor-form .directory-logo-editor .admin-check { font-size: 14px; }
.directory-editor-form .admin-form-actions { margin-top: 2px; }
@media (max-width: 1180px) {
  .directory-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-editor-identity label:last-child,
  .directory-editor-contact label:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .directory-editor-grid { grid-template-columns: 1fr; }
  .directory-editor-identity label:last-child,
  .directory-editor-contact label:last-child { grid-column: auto; }
  .directory-editor-form .directory-logo-editor { grid-template-columns: 56px minmax(0, 1fr); }
  .directory-editor-form .directory-logo-editor > div:first-child { width: 56px; height: 56px; }
}
.field-optional { color: var(--m3-muted); font-size: 13px; font-weight: 700; }
.site-page-editor-form-wide { max-width: none; width: 100%; }
.school-admin-workspace { width: min(100%, 1160px); }
.school-admin-tabs { margin: 0 0 20px; }
[data-school-admin-panel][hidden] { display: none; }
.school-admin-panel,
.school-admin-content-panel { display: grid; gap: 20px; }
.school-menu-editor { display: grid; gap: 22px; padding: 24px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,250,244,.58); }
.school-admin-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(107,26,42,.12); }
.school-admin-panel-heading h2 { margin: 0 0 5px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.15; }
.school-admin-panel-heading p { max-width: 62ch; margin: 0; color: var(--m3-muted); font-size: 15px; font-weight: 700; line-height: 1.45; }
.school-admin-panel-icon { width: 44px; height: 44px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; background: rgba(184,148,58,.15); color: #8a691b; }
.school-admin-panel-icon svg { width: 22px; height: 22px; }
.school-menu-current-file { display: grid; grid-template-columns: 46px minmax(0, 1fr) minmax(250px, auto); gap: 14px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.school-menu-file-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: rgba(107,26,42,.09); color: var(--m3-primary); }
.school-menu-file-icon svg { width: 22px; height: 22px; }
.school-menu-file-copy { min-width: 0; display: grid; align-content: center; gap: 2px; }
.school-menu-file-copy > strong { color: var(--m3-text); font-size: 15px; line-height: 1.3; }
.school-menu-file-copy a { width: fit-content; display: inline-flex; align-items: center; gap: 5px; color: var(--m3-primary); font-size: 14px; font-weight: 850; text-underline-offset: 3px; }
.school-menu-file-copy a svg { width: 14px; height: 14px; }
.site-page-current-file .school-menu-remove { width: auto; min-width: 0; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; padding-left: 18px; border-left: 1px solid rgba(107,26,42,.12); color: var(--m3-text); }
.school-menu-remove input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--m3-primary); }
.school-menu-remove span { display: grid; gap: 2px; }
.school-menu-remove strong { font-size: 14px; line-height: 1.3; }
.school-menu-remove small { color: var(--m3-muted); font-size: 12px; font-weight: 700; line-height: 1.35; }
.school-menu-empty { display: flex; align-items: center; gap: 12px; color: var(--m3-muted); }
.school-menu-empty > svg { width: 28px; height: 28px; color: var(--m3-primary); }
.school-menu-empty span { display: grid; gap: 2px; }
.school-menu-empty strong { color: var(--m3-text); font-size: 15px; }
.school-menu-empty small { font-size: 13px; font-weight: 700; }
.school-menu-upload-group { display: grid; grid-template-columns: minmax(190px, .42fr) minmax(420px, 1fr); align-items: center; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(107,26,42,.12); }
.school-menu-upload-group h3 { margin: 0 0 5px; color: var(--m3-primary); font-size: 17px; line-height: 1.25; }
.school-menu-upload-group > div > p { margin: 0; color: var(--m3-muted); font-size: 13px; font-weight: 700; line-height: 1.45; }
.school-menu-drop { min-height: 108px; grid-template-columns: 44px minmax(0, 1fr); align-content: center; justify-items: stretch; gap: 14px; padding: 18px 20px; text-align: left; }
.school-menu-drop .site-page-gallery-drop-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: rgba(107,26,42,.08); color: var(--m3-primary); }
.school-menu-drop .site-page-gallery-drop-icon svg { width: 22px; height: 22px; }
.school-menu-drop-copy { min-width: 0; display: grid; gap: 3px; }
.school-menu-drop-copy strong { color: var(--m3-primary); font-size: 16px; line-height: 1.3; }
.school-menu-drop-copy em { max-width: none; overflow: hidden; color: var(--m3-muted); font-size: 13px; font-style: normal; font-weight: 750; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.school-menu-drop-copy small { color: var(--m3-muted); font-size: 12px; font-weight: 700; }
.school-admin-actions { padding-top: 2px; }
.school-admin-actions .button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.school-admin-actions .button svg { width: 17px; height: 17px; }
@media (max-width: 760px) {
  .system-permissions-grid { grid-template-columns: 1fr; }
  .system-user-access > form { min-width: 0; }
  .school-admin-tabs { width: 100%; }
  .school-admin-tabs button { flex: 1; }
  .school-menu-editor { padding: 18px; }
  .school-menu-current-file { grid-template-columns: 42px minmax(0, 1fr); }
  .school-menu-file-icon { width: 42px; height: 42px; }
  .site-page-current-file .school-menu-remove { grid-column: 1 / -1; padding: 14px 0 0; border-top: 1px solid rgba(107,26,42,.12); border-left: 0; }
  .school-menu-upload-group { grid-template-columns: 1fr; gap: 12px; }
  .school-menu-drop { min-height: 104px; }
  .school-admin-actions .button { flex: 1; justify-content: center; }
}
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-check { display: flex; align-items: center; gap: 10px; }
.admin-check input { width: auto; }
.admin-form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-editor-form { gap: 24px; }
.gallery-editor-form .gallery-photo-editor { padding: 0; border: 0; background: transparent; }
.gallery-photo-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.gallery-editor-form .gallery-photo-heading h2 { font-family: inherit; font-size: 18px; line-height: 1.4; }
.gallery-editor-form .gallery-photo-heading p { margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.gallery-photo-count { flex-shrink: 0; color: var(--m3-primary); font-size: 13px; font-weight: 600; }
.gallery-editor-form .site-page-gallery-drop { min-height: 160px; padding: 20px; gap: 6px; background: var(--m3-surface, #fff); box-shadow: none; }
.gallery-editor-form .site-page-gallery-drop:focus-within { outline: 2px solid var(--m3-primary); outline-offset: 3px; }
.gallery-editor-form .site-page-gallery-drop.is-dragging { background: var(--m3-primary-container, #f1dfb3); }
.gallery-editor-form .site-page-gallery-drop-icon svg { width: 28px; height: 28px; }
.gallery-editor-form .site-page-gallery-drop em,
.gallery-editor-form .site-page-gallery-drop small { font-weight: 400; }
.gallery-editor-form .gallery-pending-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.gallery-editor-form .gallery-pending-list[hidden], .gallery-upload-error[hidden] { display: none; }
.gallery-upload-preview { display: grid; gap: 8px; min-width: 0; align-content: start; }
.gallery-upload-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--m3-surface, #fff); }
.gallery-upload-preview strong { display: block; overflow-wrap: anywhere; color: var(--m3-primary); font-size: 13px; line-height: 1.4; }
.gallery-upload-preview span { display: block; margin-top: 3px; color: var(--m3-muted); font-size: 12px; }
.gallery-upload-preview .button { justify-self: start; min-height: 40px; padding: 8px 12px; font-size: 13px; }
.gallery-editor-form .gallery-upload-error { margin: 0; color: var(--m3-error, #9b2222); font-size: 14px; font-weight: 400; }
.gallery-editor-form .site-page-gallery-item:has(input:checked) img { opacity: .4; }
.gallery-editor-actions { align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--m3-line); }
.gallery-save-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.gallery-editor-actions .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.gallery-editor-actions svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 600px) {
  .gallery-photo-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .gallery-editor-form .gallery-pending-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery-editor-actions, .gallery-save-actions { width: 100%; }
  .gallery-save-actions { display: grid; grid-template-columns: 1fr; }
  .gallery-editor-actions .gallery-public-link { padding-left: 0; }
}
.admin-current-files { display: grid; gap: 8px; padding: 14px; border-radius: 8px; background: #f7f2ec; border: 1px solid var(--m3-line); }
.admin-current-files p { margin: 0; overflow-wrap: anywhere; }
.gazette-file-grid { align-items: stretch; }
.gazette-file-drop {
  position: relative;
  min-height: 210px;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  overflow: hidden;
  border: 1.5px dashed rgba(107,26,42,.32);
  border-radius: 8px;
  background: rgba(255,250,244,.76);
  color: var(--m3-muted);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.gazette-file-drop:hover,
.gazette-file-drop.is-dragging {
  border-color: var(--m3-primary);
  background: rgba(241,223,179,.42);
  color: var(--m3-primary);
  box-shadow: 0 12px 32px rgba(74,16,32,.08);
}
.gazette-file-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.gazette-file-drop-body {
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(107,26,42,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  text-align: center;
}
.gazette-file-icon {
  min-width: 46px;
  display: inline-flex;
  justify-content: center;
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--m3-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
}
.gazette-file-drop strong { color: var(--m3-primary); font-size: 18px; line-height: 1.2; }
.gazette-file-drop em { max-width: 100%; font-style: normal; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.gazette-file-drop small { color: inherit; font-size: 13px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.gazette-form-actions { align-items: center; margin-top: 18px; }
.gazette-thumbnail-inline-form { display: contents; }
.news-editor-form,
.commission-editor-form { max-width: 980px; }
.news-editor-form .tox-tinymce,
.commission-editor-form .tox-tinymce { border: 1px solid rgba(107,26,42,.16); border-radius: 8px; overflow: hidden; }
.news-editor-form .tox .tox-toolbar,
.news-editor-form .tox .tox-toolbar__overflow,
.news-editor-form .tox .tox-toolbar__primary,
.commission-editor-form .tox .tox-toolbar,
.commission-editor-form .tox .tox-toolbar__overflow,
.commission-editor-form .tox .tox-toolbar__primary { background: #fffaf4; }
.news-editor-form .tox .tox-edit-area::before,
.commission-editor-form .tox .tox-edit-area::before { border-color: rgba(184,148,58,.52); }
.directory-map-editor { display: grid; gap: 16px; padding: 18px; border: 1px solid rgba(74,16,32,.1); border-radius: 14px; background: rgba(250,246,240,.72); }
.directory-map-editor .panel-head { margin-bottom: 0; align-items: center; }
.directory-map-editor .admin-alert { margin: 0; }
.directory-map { min-height: 420px; overflow: hidden; border: 1px solid rgba(107,26,42,.16); border-radius: 12px; background: #e8efe8; }
.directory-map .leaflet-control-attribution { font-size: 11px; }
.directory-card { display: grid; gap: 14px; }
.directory-card-head { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; align-items: start; }
.directory-card-head > div:last-child { min-width: 0; overflow-wrap: anywhere; }
.directory-card-logo { width: 88px; height: 88px; display: grid; place-items: center; }
.directory-card-logo img { width: 100%; height: 100%; object-fit: contain; }
.directory-monogram { clip-path: circle(41.5% at 50% 50%); }
.directory-card-logo img[src$="/treteaux-enfance.png"],
.public-directory-logo img[src$="/treteaux-enfance.png"],
.association-index-logo img[src$="/treteaux-enfance.png"] { border-radius: 50%; background: var(--bx3); }
.association-index-logo:has(.directory-monogram) { background: transparent; }
.directory-card-logo span { font-size: 28px; line-height: 1; }
.directory-card-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.directory-card-actions a,
.directory-card-actions .disabled { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 10px; border: 1px solid rgba(107,26,42,.16); border-radius: 14px; background: #f7efe5; color: var(--bx3); text-decoration: none; }
.directory-card-actions .disabled { opacity: .32; }
.directory-card-actions svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.map-points-workspace { display: grid; grid-template-columns: minmax(420px, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: start; }
.map-points-map-panel,
.map-points-list-panel { min-width: 0; }
.map-points-map-panel { position: sticky; top: 20px; }
.admin-map-points { min-height: calc(100vh - 205px); overflow: hidden; border: 1px solid rgba(107,26,42,.16); border-radius: 8px; background: #e8efe8; box-shadow: 0 18px 42px rgba(74,16,32,.08); }
.admin-map-points.is-drop-target { outline: 2px dashed rgba(30,122,103,.44); outline-offset: 5px; }
.admin-map-points.is-drag-over { outline-color: #1e7a67; box-shadow: 0 0 0 5px rgba(30,122,103,.12), 0 18px 42px rgba(74,16,32,.08); }
.map-point-drop-tool { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 12px; border: 1px solid rgba(107,26,42,.12); border-radius: 999px; background: rgba(255,250,244,.74); color: var(--m3-muted); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.map-point-drag-pin { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(107,26,42,.16); border-radius: 999px; background: #fff; box-shadow: 0 10px 22px rgba(74,16,32,.12); cursor: grab; font-size: 27px; line-height: 1; }
.map-point-drag-pin:active { cursor: grabbing; transform: translateY(1px); }
.map-points-list-panel .admin-table-wrap { overflow: visible; }
.map-points-list-panel .admin-table-wrap table { width: 100% !important; min-width: 0; table-layout: fixed; }
.map-points-list-panel table :is(th, td):last-child { width: 124px; }
.map-points-list-panel .map-point-title-cell { white-space: normal; overflow-wrap: anywhere; }
.map-points-list-panel .dt-layout-row { flex-wrap: wrap; }
.map-points-list-panel .dt-search input { max-width: 100%; }
.map-points-list-panel .dt-container { color: var(--text); font: inherit; }
.map-points-list-panel .dt-layout-row { margin: 0 0 12px; gap: 12px; }
.map-points-list-panel .dt-search input, .map-points-list-panel .dt-length select { min-height: 38px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); }
.map-points-list-panel .dt-paging-button { min-width: 38px; min-height: 38px; border: 1px solid var(--m3-line) !important; border-radius: 8px !important; background: #fffaf4 !important; color: var(--m3-primary) !important; font-weight: 800; }
.map-points-list-panel .dt-paging-button.current { background: var(--m3-primary) !important; color: #fff !important; }
.map-points-list-panel table tbody tr { cursor: pointer; }
.map-points-list-panel table tbody tr:hover td { background: rgba(184,148,58,.08); }
.map-points-list-panel table tbody tr.is-selected td { background: rgba(184,148,58,.16); }
.map-point-title-cell strong,
.map-point-title-cell .admin-table-muted { display: block; }
.map-point-title-cell strong { margin-bottom: 4px; color: var(--m3-primary); }
.map-point-title-cell .admin-table-muted { max-width: 38ch; overflow: hidden; text-overflow: ellipsis; }
.map-marker.is-highlighted { filter: drop-shadow(0 0 7px rgba(107,26,42,.72)); }
.map-marker.is-highlighted svg circle { stroke: #fff; stroke-width: 3px; }
.reports-panel .admin-table-wrap,
.found-listings-panel .admin-table-wrap { overflow: visible; }
.reports-panel .dt-container,
.found-listings-panel .dt-container { color: var(--text); font: inherit; }
.reports-panel .dt-layout-row,
.found-listings-panel .dt-layout-row { margin: 0 0 12px; gap: 12px; }
.reports-panel .dt-search input,
.reports-panel .dt-length select,
.found-listings-panel .dt-search input,
.found-listings-panel .dt-length select { min-height: 38px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); }
.reports-panel .dt-paging-button,
.found-listings-panel .dt-paging-button { min-width: 38px; min-height: 38px; border: 1px solid var(--m3-line) !important; border-radius: 8px !important; background: #fffaf4 !important; color: var(--m3-primary) !important; font-weight: 800; }
.reports-panel .dt-paging-button.current,
.found-listings-panel .dt-paging-button.current { background: var(--m3-primary) !important; color: #fff !important; }
.reports-panel table tbody tr { cursor: pointer; }
.reports-panel table tbody tr:hover td,
.found-listings-panel table tbody tr:hover td { background: rgba(184,148,58,.08); }
.alert-admin-topline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 18px; }
.alert-search-slot { flex: 1 1 240px; max-width: 360px; margin-left: auto; }
.alert-search-slot[hidden] { display: none; }
.alert-search-slot .dt-search,
.alert-search-slot .dt-search label,
.alert-search-slot .dt-search input { width: 100%; }
.alert-search-slot .dt-search input { min-height: 44px; margin: 0; padding: 0 13px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); font: inherit; font-size: 15px; }
.alert-search-slot .dt-search input:focus { border-color: var(--m3-primary); outline: 3px solid rgba(107,26,42,.14); outline-offset: 1px; }
.alert-device-summary { min-height: 44px; display: inline-grid; grid-template-columns: auto auto; gap: 2px 10px; align-items: center; padding: 8px 12px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,250,244,.72); }
.alert-device-summary span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.alert-device-summary strong { grid-row: span 2; color: var(--wine); font-size: 31px; line-height: 1; }
.alert-device-summary em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 800; }
.alert-form { max-width: 760px; }
.alert-important-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid rgba(155,34,34,.24); border-radius: 8px; background: #fff6f3; cursor: pointer; }
.alert-important-option input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #9b2222; }
.alert-important-option span { display: grid; gap: 3px; }
.alert-important-option strong { color: #761919; font-size: 16px; }
.alert-important-option small { color: var(--m3-muted); font-size: 13px; line-height: 1.4; }
.alert-tab-panel[hidden] { display: none; }
.field-label { display: inline-flex; align-items: flex-start; gap: 4px; width: fit-content; }
.required-mark { color: #9b2222; font-size: .78em; font-weight: 900; line-height: 1; vertical-align: super; }
.alert-file-drop {
  position: relative;
  min-height: 170px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  overflow: hidden;
  border: 1.5px dashed rgba(107,26,42,.34);
  border-radius: 8px;
  background: rgba(255,250,244,.76);
  color: var(--m3-muted);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.alert-file-drop:hover,
.alert-file-drop.is-dragging {
  border-color: var(--m3-primary);
  background: rgba(241,223,179,.42);
  color: var(--m3-primary);
  box-shadow: 0 12px 32px rgba(74,16,32,.08);
}
.alert-file-drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.alert-file-icon { font-size: 36px; line-height: 1; }
.alert-file-drop strong { color: var(--m3-primary); font-size: 18px; line-height: 1.2; }
.alert-file-drop em { max-width: 420px; font-style: normal; font-weight: 800; line-height: 1.4; }
.alert-file-drop small { color: inherit; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.notification-history .dt-container { color: var(--text); font: inherit; }
.notification-history .dt-layout-row { margin: 0 0 12px; gap: 12px; }
.notification-history .dt-layout-row-empty { display: none; }
.notification-history .dt-search input,
.notification-history .dt-length select { min-height: 38px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); }
.notification-history .dt-paging-button { min-width: 38px; min-height: 38px; border: 1px solid var(--m3-line) !important; border-radius: 8px !important; background: #fffaf4 !important; color: var(--m3-primary) !important; font-weight: 800; }
.notification-history .dt-paging-button.current { background: var(--m3-primary) !important; color: #fff !important; }
.notification-history table small { display: block; margin-top: 6px; color: #9b2222; font-weight: 700; white-space: pre-line; }
.notification-alert-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 3px; }
.notification-important-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 8px; border: 1px solid #d89191; border-radius: 7px; background: #fff0f0; color: #7f1717; font-size: 11px; font-weight: 900; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.notification-important-badge svg { width: 14px; height: 14px; flex: 0 0 14px; stroke-width: 2.4; }
.notification-alert-body { display: block; line-height: 1.35; }
.service-admin-tabs { margin: 0 0 18px; }
[data-service-admin-panel][hidden] { display: none; }
.service-availability-panel { margin-bottom: 0; padding: 14px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,250,244,.72); }
.service-unavailability-form { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(220px, 1.2fr) auto auto; gap: 8px 12px; align-items: end; margin-bottom: 10px; padding: 0 0 10px; border-bottom: 1px solid rgba(107,26,42,.12); }
.service-unavailability-form label { min-width: 0; display: grid; gap: 5px; color: var(--m3-primary); font-size: 12px; font-weight: 900; }
.service-unavailability-form label small { color: var(--m3-muted); font-weight: 700; }
.service-unavailability-form select,
.service-unavailability-form input { width: 100%; height: 44px; min-height: 44px; padding-block: 0; border: 1px solid rgba(107,26,42,.18); border-radius: 7px; background: #fff; color: var(--m3-text); font: inherit; }
.service-unavailability-form [data-service-selected-inputs] { display: none; }
.service-selection-summary { min-width: 154px; height: 44px; min-height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.service-selection-summary strong { color: var(--m3-muted); font-size: 12px; text-align: right; }
.service-selection-summary button { padding: 3px 0; border: 0; background: transparent; color: var(--m3-primary); font: inherit; font-size: 12px; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.service-unavailability-form > .button { height: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; white-space: nowrap; }
.service-unavailability-form > .button svg { width: 17px; height: 17px; }
.service-unavailability-form > .button:disabled { opacity: .42; cursor: not-allowed; }
.service-admin-calendar { min-width: 0; }
.services-calendar { min-width: 0; padding: 16px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,250,244,.72); }
.service-admin-calendar .service-calendar-toolbar { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.service-admin-calendar .service-calendar-title { color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; line-height: 1.1; text-transform: capitalize; }
.service-admin-calendar .service-calendar-toolbar-end { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid rgba(107,26,42,.16); border-radius: 10px; background: rgba(255,250,244,.78); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 16px rgba(74,16,32,.06); -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25); }
.service-admin-calendar .service-calendar-button-group { display: inline-flex; gap: 3px; }
.service-admin-calendar .service-calendar-nav { min-width: 32px; min-height: 30px; display: inline-flex; align-items: center; justify-content: center; margin: 0; padding: 4px 8px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--m3-primary); font: inherit; font-size: 11px; font-weight: 900; line-height: 1; text-transform: none; cursor: pointer; transition: background-color .16s ease, color .16s ease, box-shadow .16s ease; }
.service-admin-calendar .service-calendar-nav-prev,
.service-admin-calendar .service-calendar-nav-next { width: 32px; padding: 4px; font-size: 0; }
.service-admin-calendar .service-calendar-nav-prev::before,
.service-admin-calendar .service-calendar-nav-next::before { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.service-admin-calendar .service-calendar-nav-prev::before { transform: rotate(-135deg); }
.service-admin-calendar .service-calendar-nav-next::before { transform: rotate(45deg); }
.service-admin-calendar .service-calendar-nav:hover:not(:disabled) { background: #f1dfb3; color: var(--m3-primary); }
.service-admin-calendar .service-calendar-nav:active:not(:disabled) { background: var(--m3-primary); color: #fff; }
.service-admin-calendar .service-calendar-nav:focus-visible { outline: 2px solid rgba(184,148,58,.78); outline-offset: 2px; box-shadow: none; }
.service-admin-calendar .service-calendar-nav:disabled { opacity: .4; cursor: not-allowed; }
.service-admin-calendar .service-calendar-grid { overflow: hidden; border-radius: 7px; background: #fff; }
.service-admin-calendar .service-calendar-weekday { padding: 5px 3px; background: #f5eee5; color: var(--m3-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.service-admin-calendar .service-calendar-weekday-label { color: inherit; text-decoration: none; }
.service-admin-calendar .service-calendar-day { position: relative; min-height: 44px; padding: 2px; isolation: isolate; transition: background-color .16s ease, box-shadow .16s ease; }
.service-admin-calendar .service-calendar-day-number { position: relative; z-index: 2; padding: 2px 3px; color: var(--m3-text); font-size: 12px; font-weight: 900; line-height: 1; text-decoration: none; pointer-events: none; }
.service-day-picker { position: absolute; inset: 0; z-index: 1; width: 100%; padding: 0; border: 0; background: transparent; color: var(--m3-primary); cursor: pointer; }
.service-day-picker::before { content: ""; position: absolute; top: 5px; right: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--m3-primary); box-shadow: 0 3px 8px rgba(74,16,32,.18); opacity: 0; transform: scale(.72); transition: opacity .16s ease, transform .16s ease; }
.service-day-picker::after { content: ""; position: absolute; top: 10px; right: 10px; width: 6px; height: 3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; opacity: 0; transform: rotate(-45deg) scale(.72); transition: opacity .16s ease, transform .16s ease; }
.service-day-picker:focus-visible { outline: 3px solid rgba(184,148,58,.78); outline-offset: -3px; }
.service-admin-calendar .service-calendar-day-events,
.service-admin-calendar .service-calendar-day-bottom { position: relative; z-index: 3; pointer-events: none; }
.service-admin-calendar .service-calendar-event,
.service-admin-calendar .service-calendar-more-link { display: none; }
.service-admin-calendar .service-calendar-day:not(.is-past) { cursor: pointer; }
.service-admin-calendar .service-calendar-day:not(.is-past):hover { background: #faf1e5; }
.service-admin-calendar .service-calendar-day.is-past { background: rgba(236,231,225,.5); }
.service-admin-calendar .service-calendar-day.is-past .service-calendar-day-number { color: #8c8184; }
.service-admin-calendar .service-calendar-day.has-pending-request { background: #fff4d6; }
.service-admin-calendar .service-calendar-day.has-confirmed-request { background: #e4f3ea; }
.service-admin-calendar .service-calendar-day.has-unavailability { background: #f8e1e1; }
.service-admin-calendar .service-calendar-day.has-mixed-states { background: #f1e8df; }
.service-admin-calendar .service-calendar-day.has-pending-request:hover { background: #ffedbd; }
.service-admin-calendar .service-calendar-day.has-confirmed-request:hover { background: #d7eddf; }
.service-admin-calendar .service-calendar-day.has-unavailability:hover { background: #f4d2d2; }
.service-admin-calendar .service-calendar-day.has-mixed-states:hover { background: #eaded2; }
.service-admin-calendar .service-calendar-day.is-bulk-selected { background: rgba(241,223,179,.56); box-shadow: inset 0 0 0 1px rgba(184,148,58,.72); }
.service-admin-calendar .service-calendar-day.is-bulk-selected .service-calendar-day-number { color: var(--m3-primary); }
.service-admin-calendar .service-calendar-day.is-bulk-selected .service-day-picker::before,
.service-admin-calendar .service-calendar-day.is-bulk-selected .service-day-picker::after { opacity: 1; transform: rotate(-45deg) scale(1); }
.service-admin-calendar .service-calendar-day.is-bulk-selected .service-day-picker::before { transform: scale(1); }
.service-admin-calendar .service-calendar-day-events { min-height: 0 !important; margin: 0 !important; }
.service-calendar-day-statuses { position: absolute; inset: 22px 4px 4px; z-index: 4; display: flex; flex-direction: column; justify-content: flex-start; gap: 3px; pointer-events: none; }
.service-calendar-day-status { width: 100%; min-width: 0; display: grid; gap: 2px; padding: 3px 4px; border: 0; border-radius: 0; background: transparent !important; box-shadow: none; color: var(--m3-primary); font: inherit; text-align: left; cursor: pointer; pointer-events: auto; }
.service-calendar-day-status:hover strong { text-decoration: underline; text-underline-offset: 2px; }
.service-calendar-day-status:focus-visible { outline: 2px solid var(--m3-primary); outline-offset: 1px; }
.service-calendar-day-status strong,
.service-calendar-day-status small { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.service-calendar-day-status strong { font-size: 10px; font-weight: 950; line-height: 1.12; white-space: normal; }
.service-calendar-day-status small { font-size: 9px; font-weight: 750; line-height: 1.05; white-space: nowrap; opacity: .82; }
.service-calendar-day-status.is-confirmed { color: #246748; }
.service-calendar-day-status.is-unavailable { color: #8a1f1f; }
.service-calendar-day-more { padding: 0 5px; color: var(--m3-muted); font-size: 9px; font-weight: 900; line-height: 1.1; }
.service-admin-calendar .service-event-unavailability { cursor: pointer; }
.service-admin-calendar .service-calendar-more-link { color: var(--m3-primary); font-size: 9px; font-weight: 900; line-height: 11px; }
.service-requests-toolbar { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.service-requests-toolbar p { margin: 0; color: var(--m3-muted); font-size: 13px; font-weight: 800; }
.service-requests-toolbar p strong { color: var(--m3-primary); font-size: 18px; }
.service-request-list-actions { width: min(320px, 42vw); }
.service-request-list-actions .dt-search,
.service-request-list-actions .dt-search label { width: 100%; display: block; margin: 0; }
.service-request-list-actions .dt-search input { width: 100%; min-height: 38px; margin: 0; padding: 7px 11px; border: 1px solid rgba(107,26,42,.18); border-radius: 7px; background: #fff; color: var(--m3-text); font: inherit; font-size: 13px; }
.service-requests-panel .dt-layout-row-empty { display: none; }
.service-requests-table-wrap { overflow-x: auto; }
.service-requests-table { min-width: 940px !important; table-layout: fixed; }
.service-requests-table th:nth-child(1) { width: 92px !important; }
.service-requests-table th:nth-child(2) { width: 170px !important; }
.service-requests-table th:nth-child(3) { width: 245px !important; }
.service-requests-table th:nth-child(4) { width: 92px !important; }
.service-requests-table th:nth-child(5) { width: 105px !important; }
.service-requests-table th:nth-child(6) { width: 340px !important; }
.service-request-created strong,
.service-request-created span,
.service-request-person strong,
.service-request-person .admin-table-muted { display: block; }
.service-request-created strong { margin-bottom: 2px; font-size: 12px; font-variant-numeric: tabular-nums; }
.mock-admin .service-request-created span { color: var(--m3-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.service-request-service strong,
.service-request-person strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; }
.service-request-person .admin-table-muted { margin-top: 2px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; }
.service-request-date { font-size: 12px !important; font-variant-numeric: tabular-nums; }
.service-requests-table .status { padding: 5px 8px; font-size: 10px; }
.service-request-decision { display: grid; grid-template-columns: 112px minmax(130px, 1fr) 34px; gap: 5px; align-items: center; }
.service-request-decision select,
.service-request-decision input { width: 100%; min-width: 0; min-height: 34px; padding: 5px 7px; border: 1px solid rgba(107,26,42,.16); border-radius: 6px; background: #fff; color: var(--m3-text); font: inherit; font-size: 11px; }
.service-request-decision .admin-icon-button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
.service-request-decision .admin-icon-button svg { width: 16px; height: 16px; }
.service-event-request { background: #fff1c9 !important; color: #6b1a2a !important; }
.service-event-confirmed { background: #dff1e7 !important; color: #246748 !important; }
.service-event-unavailability,
.service-event-unavailable { background: #f7dede !important; color: #8a1f1f !important; }
.service-request-modal-panel { width: min(680px, 100%); }
.service-request-modal-heading { margin: 0 44px 22px 0; padding-bottom: 16px; border-bottom: 1px solid rgba(107,26,42,.14); }
.service-request-modal-heading h2 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.08; }
.service-request-modal-heading p { margin: 6px 0 0; color: var(--m3-muted); font-size: 14px; font-weight: 800; text-transform: capitalize; }
.service-request-modal-list { display: grid; gap: 22px; }
.service-request-modal-list article + article { padding-top: 22px; border-top: 1px solid rgba(107,26,42,.14); }
.service-request-modal-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.service-request-modal-item-heading h3 { margin: 0; color: var(--m3-text); font-size: 20px; line-height: 1.15; }
.service-request-modal-item-heading .status { flex: 0 0 auto; }
.service-request-modal-list dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 9px 18px; margin: 0; }
.service-request-modal-list dt { color: var(--m3-muted); font-size: 12px; font-weight: 900; }
.service-request-modal-list dd { min-width: 0; margin: 0; color: var(--m3-text); font-size: 14px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-line; }
.service-request-modal-list a { color: var(--m3-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.services-heading { width: min(100%, 1220px); margin: 0 auto; padding: 52px 20px 30px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 48px; align-items: end; }
.services-heading h1 { max-width: 760px; margin: 0; color: var(--m3-text); font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5.6vw, 68px); line-height: .98; letter-spacing: 0; text-wrap: balance; }
.services-heading p { max-width: 500px; margin: 0 0 4px; color: var(--m3-muted); font-size: 18px; line-height: 1.55; }
.services-page { width: min(100%, 1220px); margin: 0 auto 0; padding: 0 20px 56px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr); gap: 0; align-items: stretch; }
.services-calendar-panel { min-width: 0; padding: 24px; border: 1px solid rgba(107,26,42,.14); border-right: 0; border-radius: 8px 0 0 8px; background: #fff; }
.services-calendar-toolbar { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.services-calendar-toolbar span { display: block; margin-bottom: 2px; color: var(--m3-secondary); font-size: 12px; font-weight: 900; line-height: 1.2; text-transform: uppercase; letter-spacing: .1em; }
.services-calendar-toolbar h2 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.1; }
.services-availability-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.services-calendar-toolbar .services-availability-legend span { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--m3-muted); font-size: 11px; font-weight: 750; text-transform: none; letter-spacing: 0; }
.services-availability-legend i { width: 9px; height: 9px; border-radius: 50%; background: #dff1e7; box-shadow: inset 0 0 0 1px rgba(46,125,88,.34); }
.services-availability-legend i.is-unavailable { background: #f7dede; box-shadow: inset 0 0 0 1px rgba(155,34,34,.28); }
.services-calendar-actions { display: flex; align-items: center; gap: 6px; }
.services-calendar-actions button { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; border: 1px solid rgba(107,26,42,.16); border-radius: 7px; background: var(--m3-surface); color: var(--m3-primary); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.services-calendar-actions button:hover { border-color: var(--m3-primary); background: var(--m3-primary); color: #fff; transform: translateY(-1px); }
.services-calendar-actions button:active { transform: translateY(0); }
.services-calendar-actions svg { width: 19px; height: 19px; }
.services-calendar { min-width: 0; max-width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; }
.services-request-panel { min-width: 0; padding: 26px; border: 0; border-radius: 0 8px 8px 0; background: var(--m3-primary); color: #fff; }
.services-request-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.2); }
.services-request-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--m3-secondary); color: #fff; }
.services-request-icon svg { width: 21px; height: 21px; }
.services-request-panel .services-request-heading h2 { margin: 0; color: #fff; font-size: 29px; }
.services-request-heading p { margin: 4px 0 0; color: #f1dfb3; font-size: 14px; line-height: 1.4; }
.public-service-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 12px; }
.public-service-form label { min-width: 0; gap: 5px; color: #fff; font-size: 14px; line-height: 1.25; }
.public-service-form input,
.public-service-form select,
.public-service-form textarea { min-height: 44px; border-color: rgba(255,255,255,.32); border-radius: 7px; background: #fffaf4; color: var(--m3-text); font-size: 16px; }
.public-service-form textarea { min-height: 78px; resize: vertical; }
.public-service-form input:focus,
.public-service-form select:focus,
.public-service-form textarea:focus { border-color: #e5c775; outline: 3px solid rgba(229,199,117,.28); outline-offset: 1px; }
.service-form-wide,
.service-form-message,
.service-form-feedback,
.service-form-submit { grid-column: 1 / -1; }
.service-form-submit { width: 100%; margin-top: 2px; background: var(--m3-secondary); color: #fff; }
.service-form-submit:hover { background: #d0a83c; }
.service-form-submit svg { width: 18px; height: 18px; }
.services-townhall-band { max-width: none; margin: 0; padding: 48px max(20px, calc((100vw - 1180px) / 2)); display: block; background: var(--m3-surface-alt); }
.services-townhall-inner { width: 100%; }
.services-townhall-band .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.services-townhall-band .service-list article { min-width: 0; display: flex; flex-direction: column; padding: 18px 0 0; border: 0; border-top: 1px solid rgba(107,26,42,.3); border-radius: 0; background: transparent; box-shadow: none; }
.services-townhall-band .service-list h3 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.15; }
.services-townhall-band .service-list p { margin: 10px 0 16px; color: var(--m3-muted); font-size: 15px; line-height: 1.5; }
.services-townhall-band .service-list span { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--m3-primary); font-size: 13px; }
.services-townhall-band .service-list svg { width: 16px; height: 16px; }
.public-waste-heading { width: min(100%, 1180px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin: 0 auto; padding: 52px 20px 38px; }
.public-waste-heading .eyebrow { margin: 0 0 10px; color: var(--m3-secondary); letter-spacing: 0; }
.public-waste-heading h1 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 58px; line-height: 1; letter-spacing: 0; }
.public-waste-heading div > p:last-child { max-width: 720px; margin: 18px 0 0; color: var(--m3-muted); font-size: 18px; line-height: 1.55; }
.public-waste-subscribe { min-height: 44px; gap: 8px; white-space: nowrap; }
.public-waste-subscribe svg { width: 18px; height: 18px; }
.public-waste-section { padding: 0 max(20px, calc((100vw - 1180px) / 2)) 72px; }
.public-waste-inner { padding-top: 24px; border-top: 1px solid rgba(107,26,42,.2); }
.public-waste-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.public-waste-toolbar > div:first-child > span { color: var(--m3-secondary); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.public-waste-toolbar h2 { margin: 5px 0 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1.05; text-transform: capitalize; }
.public-waste-navigation { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(107,26,42,.16); border-radius: 8px; background: #fffaf4; }
.public-waste-navigation button { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 0; border-radius: 5px; background: transparent; color: var(--m3-primary); font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.public-waste-navigation button:hover { background: rgba(107,26,42,.08); }
.public-waste-navigation button:focus-visible { outline: 2px solid var(--m3-secondary); outline-offset: 1px; }
.public-waste-navigation svg { width: 18px; height: 18px; }
.public-waste-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 18px; color: var(--m3-muted); font-size: 13px; font-weight: 800; }
.public-waste-legend span,
.public-waste-event-content { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.public-waste-marker { width: 10px; height: 10px; flex: 0 0 10px; display: inline-block; border-radius: 50%; background: var(--waste-marker-color); }
.public-waste-marker.is-household { --waste-marker-color: #795548; }
.public-waste-marker.is-recycling { --waste-marker-color: #d9a70f; }
.public-waste-calendar { width: min(100%, 1040px); margin-inline: auto; color: var(--m3-text); font: inherit; }
.public-waste-table { overflow: hidden; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(107,26,42,.08); box-shadow: 0 14px 34px rgba(74,16,32,.08); }
.public-waste-table-header,
.public-waste-table-body { background: rgba(107,26,42,.08); }
.public-waste-weekday,
.public-waste-day-cell { border-right: 1px solid rgba(107,26,42,.08); border-bottom: 1px solid rgba(107,26,42,.08); background: #fff; }
.public-waste-table-header { background: #f2e9e3; }
.public-waste-weekday { padding: 11px 4px; border-color: rgba(107,26,42,.08); background: #f2e9e3; color: var(--m3-primary); font-size: 12px; font-weight: 850; text-align: center; text-transform: capitalize; }
.public-waste-weekday a,
.public-waste-day-number { color: inherit; text-decoration: none; }
.public-waste-divider { height: 1px; background: rgba(107,26,42,.14); }
.public-waste-day-top { min-height: 28px; display: flex; justify-content: flex-end; padding: 6px 8px 2px; background: #fff; }
.public-waste-day-cell-inner { position: relative; min-height: 52px; padding: 2px 6px 7px; background: #fff; }
.public-waste-day-number { color: var(--m3-text); font-size: 13px; font-weight: 900; line-height: 1; }
.public-waste-day-cell.is-public-waste-other .public-waste-day-top,
.public-waste-day-cell.is-public-waste-other .public-waste-day-cell-inner { background: #faf7f2; opacity: .52; }
.public-waste-day-cell.is-public-waste-today { position: relative; z-index: 1; background: #fff6dc; }
.public-waste-day-cell.is-public-waste-today .public-waste-day-top,
.public-waste-day-cell.is-public-waste-today .public-waste-day-cell-inner { background: transparent; }
.public-waste-day-cell.is-public-waste-today .public-waste-day-number { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--m3-primary); color: #fff; }
.public-waste-day-collections { width: 100%; display: grid; gap: 4px; }
.public-waste-collection-row { width: 100%; min-width: 0; min-height: 25px; display: flex; align-items: center; padding: 5px 7px; overflow: hidden; border-left: 3px solid var(--collection-accent); border-radius: 4px; background: var(--collection-background); color: var(--collection-text); font-size: 12px; font-weight: 850; line-height: 1.2; }
.public-waste-collection-row.is-household { --collection-accent: #795548; --collection-background: #f1e8e3; --collection-text: #4f332b; }
.public-waste-collection-row.is-recycling { --collection-accent: #d9a70f; --collection-background: #fff1b8; --collection-text: #594400; }
.public-waste-collection-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.public-waste-error { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid #9b2222; background: #fff3f1; color: #761919; font-weight: 800; }
.public-found-heading { width: min(100%, 1180px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin: 0 auto; padding: 52px 20px 38px; }
.public-found-heading .eyebrow { margin: 0 0 10px; color: var(--m3-secondary); letter-spacing: 0; }
.public-found-heading h1 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 58px; line-height: 1; letter-spacing: 0; }
.public-found-heading div > p:last-child { max-width: 700px; margin: 18px 0 0; color: var(--m3-muted); font-size: 18px; line-height: 1.55; }
.public-found-contact { min-height: 44px; gap: 8px; white-space: nowrap; }
.public-found-contact svg { width: 18px; height: 18px; }
.public-found-page { width: min(100%, 1180px); margin: 0 auto; padding: 0 20px 80px; }
.public-found-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid rgba(107,26,42,.18); border-bottom: 1px solid rgba(107,26,42,.18); color: var(--m3-muted); font-size: 14px; }
.public-found-summary p { margin: 0; font-weight: 800; }
.public-found-summary strong { margin-right: 4px; color: var(--m3-primary); font-size: 22px; }
.public-found-summary > span { text-align: right; }
.public-found-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.public-found-item { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-bottom: 1px solid rgba(107,26,42,.14); }
.public-found-item-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #f3e8de; color: var(--m3-primary); }
.public-found-item-icon svg { width: 23px; height: 23px; }
.public-found-item-copy { min-width: 0; }
.public-found-item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin-bottom: 7px; color: var(--m3-muted); font-size: 11px; font-weight: 850; }
.public-found-item-meta span { padding: 3px 7px; border-radius: 4px; background: #edf5ee; color: #2e6d4e; }
.public-found-item h2 { margin: 0; color: var(--m3-primary); font-size: 22px; line-height: 1.15; }
.public-found-item p { margin: 9px 0 0; color: var(--m3-muted); font-size: 15px; line-height: 1.55; white-space: pre-line; }
.public-found-empty { display: grid; justify-items: center; padding: 72px 20px; color: var(--m3-muted); text-align: center; }
.public-found-empty > svg { width: 38px; height: 38px; margin-bottom: 14px; color: var(--m3-secondary); }
.public-found-empty h2 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 32px; }
.public-found-empty p { max-width: 540px; margin: 10px 0 0; line-height: 1.55; }
.services-calendar,
.service-admin-calendar .fc { color: var(--text); font: inherit; }
.services-calendar .fc-button,
.service-admin-calendar .fc-button { border: 1px solid rgba(107,26,42,.16) !important; border-radius: 8px !important; background: #fffaf4 !important; color: var(--m3-primary) !important; box-shadow: none !important; font-weight: 800 !important; }
.services-calendar .fc-button-active,
.service-admin-calendar .fc-button-active,
.services-calendar .fc-button:hover,
.service-admin-calendar .fc-button:hover { background: var(--m3-primary) !important; color: #fff !important; }
.services-calendar .fc-toolbar-title,
.service-admin-calendar .fc-toolbar-title { color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.services-calendar .fc-theme-standard td,
.services-calendar .fc-theme-standard th,
.service-admin-calendar .fc-theme-standard td,
.service-admin-calendar .fc-theme-standard th { border-color: rgba(107,26,42,.16); }
.services-calendar [role="gridcell"] { cursor: pointer; transition: background .16s ease, color .16s ease, opacity .16s ease; }
.services-calendar [role="gridcell"].is-available { background: #edf7f1; }
.services-calendar [role="gridcell"].is-available:hover { background: #dff1e7; }
.services-calendar [role="gridcell"].is-unavailable { background: #f8e4e4; cursor: not-allowed; }
.services-calendar [role="gridcell"].is-past { opacity: .38; cursor: not-allowed; }
.services-calendar [role="gridcell"].is-selected { background: var(--m3-primary); color: #fff; }
.services-calendar .service-event-request,
.services-calendar .service-event-confirmed,
.services-calendar .service-event-unavailability,
.services-calendar .service-event-unavailable { display: none !important; }
.admin-modal[hidden] { display: none; }
.admin-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 24px; background: rgba(35,14,22,.58); backdrop-filter: blur(10px); }
.admin-modal-drawer { display: flex; align-items: stretch; justify-content: flex-end; padding: 0; opacity: 0; transition: opacity .24s ease; }
.admin-modal-drawer.is-open { opacity: 1; }
.admin-modal-panel { position: relative; width: min(620px, 100%); max-height: min(88vh, 760px); overflow: auto; padding: 28px; border: 1px solid rgba(255,255,255,.24); border-radius: 8px; background: rgba(255,250,244,.96); box-shadow: 0 28px 90px rgba(35,14,22,.35); }
.admin-modal-panel-wide { width: min(980px, 100%); }
.admin-modal-panel-drawer { width: min(860px, 100%); height: 100vh; max-height: none; border-radius: 14px 0 0 14px; transform: translateX(100%); transition: transform .24s ease; }
.admin-modal-drawer.is-open .admin-modal-panel-drawer { transform: translateX(0); }
.admin-modal-close { position: absolute; top: 14px; right: 14px; }
body.admin-modal-open { overflow: hidden; }
.admin-confirm-modal { opacity: 0; transition: opacity .18s ease-out; }
.admin-confirm-modal.is-open { opacity: 1; }
.admin-confirm-panel { width: min(520px, 100%); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; overflow: visible; transform: translateY(10px); transition: transform .18s ease-out; }
.admin-confirm-modal.is-open .admin-confirm-panel { transform: translateY(0); }
.admin-confirm-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(155,34,34,.1); color: #9b2222; }
.admin-confirm-icon svg { width: 24px; height: 24px; stroke: currentColor; }
.admin-confirm-panel h2 { margin: 2px 44px 8px 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 30px; line-height: 1.08; }
.admin-confirm-panel p { max-width: 46ch; margin: 0; color: var(--m3-muted); font-weight: 700; line-height: 1.55; }
.admin-confirm-panel .admin-confirm-target { max-width: none; display: grid; gap: 3px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; }
.admin-confirm-target[hidden] { display: none; }
.admin-confirm-target span { color: var(--m3-muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.admin-confirm-target strong { color: var(--m3-primary); font-size: 16px; overflow-wrap: anywhere; }
.admin-confirm-actions { grid-column: 1 / -1; justify-content: flex-end; margin-top: 8px; }
.map-point-modal-panel { width: min(940px, 100%); max-height: min(94dvh, 720px); overflow: hidden; padding: 24px; }
.map-point-modal-form { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 14px 22px; }
.map-point-modal-heading { grid-column: 1 / -1; min-width: 0; padding-right: 52px; }
.map-point-modal-form h2 { margin: 4px 0 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.08; }
.map-point-modal-form [data-map-point-modal-coordinates] { margin: 5px 0 0; color: var(--m3-muted); font-size: 13px; font-weight: 800; }
.map-point-modal-form > label :is(input, select, textarea) { min-height: 44px; }
.map-point-description-field textarea { min-height: 156px; height: 156px; resize: none; }
.map-point-photo-field { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; align-items: start; }
.map-point-modal-form .map-point-photo-field { align-self: end; }
.map-point-modal-form .admin-upload-field { align-self: stretch; }
.map-point-modal-form .admin-upload-field > small { line-height: 1.35; }
.map-point-modal-form .filepond--root { min-height: 112px; }
.map-point-photo-drop { position: relative; min-height: 172px; display: grid; align-content: center; justify-items: center; gap: 7px; padding: 20px; overflow: hidden; border: 1.5px dashed rgba(107,26,42,.34); border-radius: 8px; background: rgba(255,250,244,.76); color: var(--m3-muted); text-align: center; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.map-point-photo-field:not(:has(.map-point-photo-preview:not([hidden]))) .map-point-photo-drop { grid-column: 1 / -1; }
.map-point-photo-drop:hover,
.map-point-photo-drop.is-dragging { border-color: var(--m3-primary); background: rgba(241,223,179,.42); color: var(--m3-primary); box-shadow: 0 12px 32px rgba(74,16,32,.08); }
.map-point-photo-drop:focus-within { outline: 3px solid var(--or); outline-offset: 3px; }
.map-point-photo-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.map-point-photo-drop-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--m3-primary); color: #fff; }
.map-point-photo-drop-icon svg { width: 23px; height: 23px; stroke-width: 2; }
.map-point-photo-drop strong { color: var(--m3-primary); font-size: 18px; line-height: 1.2; }
.map-point-photo-drop em { max-width: 38ch; font-style: normal; font-size: 14px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.map-point-photo-drop small { color: inherit; font-size: 12px; font-weight: 700; line-height: 1.35; }
.map-point-photo-preview { width: 150px; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; border: 1px solid var(--m3-line); border-radius: 8px; background: var(--m3-surface-alt); }
.map-point-photo-preview[hidden] { display: none; }
.map-point-photo-preview img { display: block; width: 100%; height: 100%; object-fit: cover; image-orientation: from-image; }
.map-point-photo-remove { grid-column: 1 / -1; }
.map-point-modal-actions { grid-column: 1 / -1; align-items: center; justify-content: flex-end; padding-top: 14px; border-top: 1px solid var(--m3-line); }
.map-point-modal-actions .button-danger { margin-right: auto; }
.map-categories-editor h2 { margin: 4px 0 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.08; }
.map-categories-editor > div > p:not(.eyebrow) { margin: 8px 0 0; color: var(--m3-muted); font-size: 15px; }
.map-categories-editor .admin-table-wrap { overflow: visible; }
.map-categories-editor .dt-container { color: var(--text); font: inherit; }
.map-categories-editor .dt-layout-row { margin: 0 0 12px; gap: 12px; }
.map-categories-editor .dt-search input, .map-categories-editor .dt-length select { min-height: 38px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); }
.map-categories-editor .dt-paging-button { min-width: 38px; min-height: 38px; border: 1px solid var(--m3-line) !important; border-radius: 8px !important; background: #fffaf4 !important; color: var(--m3-primary) !important; font-weight: 800; }
.map-categories-editor .dt-paging-button.current { background: var(--m3-primary) !important; color: #fff !important; }
.map-categories-editor table input { width: 100%; min-height: 38px; }
.map-categories-editor table input[type="color"] { min-width: 58px; padding: 3px; }
.map-category-row-new { display: grid; grid-template-columns: minmax(170px, 1fr) 86px auto; gap: 10px; align-items: end; padding: 14px; border: 1px dashed rgba(107,26,42,.18); border-radius: 8px; background: rgba(184,148,58,.08); }
.map-category-row-new label { gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.map-category-row-new input { min-height: 38px; }
.map-category-row-new input[type="color"] { padding: 3px; }
.map-category-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.report-modal-panel { width: min(720px, 100%); }
.report-modal-form { gap: 16px; }
.report-modal-form h2 { margin: 4px 0 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.08; }
.report-modal-meta { margin: 8px 0 0; color: var(--m3-muted); font-size: 14px; font-weight: 800; }
.report-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.report-detail-grid article,
.report-description,
.report-photo,
.report-contact { padding: 14px; border: 1px solid rgba(107,26,42,.1); border-radius: 8px; background: rgba(250,246,240,.72); }
.report-detail-grid span,
.report-description span,
.report-photo span { display: block; margin-bottom: 5px; color: var(--m3-secondary); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.report-detail-grid strong { display: block; color: var(--m3-primary); overflow-wrap: anywhere; }
.report-description p { margin: 0; color: var(--m3-text); line-height: 1.6; white-space: pre-wrap; }
.report-photo img { display: block; width: 100%; max-height: 300px; object-fit: cover; border-radius: 8px; border: 1px solid var(--m3-line); }
.report-contact { color: var(--m3-muted); font-weight: 800; }
.admin-thumb { width: 58px; height: 78px; object-fit: cover; border-radius: 6px; border: 1px solid var(--m3-line); box-shadow: 0 8px 18px rgba(74,16,32,.12); }
.admin-thumb-placeholder { width: 58px; height: 78px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: #f2ede6; color: var(--m3-muted); font-size: 12px; font-weight: 800; }
.admin-avatar-thumb,
.admin-avatar-placeholder { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--m3-line); background: #f2ede6; color: var(--m3-primary); font-size: 15px; font-weight: 900; object-fit: cover; }
.elected-photo-input { position: relative; gap: 10px; padding: 16px; border: 1px dashed rgba(107,26,42,.22); border-radius: 8px; background: rgba(255,250,244,.7); cursor: pointer; }
.elected-photo-input > span { color: var(--text); font-weight: 900; }
.elected-photo-input img { width: 116px; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--m3-line); border-radius: 8px; }
.gazette-admin-previews { display: flex; flex-wrap: wrap; gap: 18px; }
.gazette-admin-previews figure { margin: 0; }
.gazette-admin-previews figcaption { margin-top: 6px; color: var(--m3-muted); font-size: 13px; font-weight: 800; text-align: center; }
.gazette-admin-preview { width: 120px; max-width: 100%; display: block; border-radius: 8px; border: 1px solid var(--m3-line); box-shadow: 0 10px 24px rgba(74,16,32,.12); }
.admin-list-panel .panel-head,
.found-listings-panel .panel-head { display: grid; grid-template-columns: minmax(220px, 1fr) auto; align-items: end; gap: 22px; }
.news-admin-list-panel .panel-head { align-items: center; }
.admin-list-actions,
.found-listings-actions { display: flex; flex-wrap: nowrap; align-items: end; justify-content: flex-end; gap: 12px; }
.news-admin-list-actions { align-items: center; }
.news-admin-list-actions > .button,
.news-admin-list-actions .dt-search input { box-sizing: border-box; height: 46px; min-height: 46px; max-height: 46px; }
.news-admin-list-actions > .button { padding-block: 0; font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1; }
.exceptional-event-admin-button { gap: 9px; }
.exceptional-event-state { width: 10px; height: 10px; flex: 0 0 10px; border: 2px solid #fffaf4; border-radius: 50%; background: #8b8581; box-shadow: 0 0 0 1px rgba(74,16,32,.25); }
.exceptional-event-admin-button.is-active .exceptional-event-state { background: #238355; box-shadow: 0 0 0 1px #17653f; }
.exceptional-event-admin-modal { opacity: 0; transition: opacity .18s ease-out; }
.exceptional-event-admin-modal.is-open { opacity: 1; }
.exceptional-event-admin-panel { width: min(620px, 100%); transform: translateY(10px); transition: transform .18s ease-out; }
.exceptional-event-admin-modal.is-open .exceptional-event-admin-panel { transform: translateY(0); }
.exceptional-event-admin-form { gap: 12px; }
.exceptional-event-admin-form > header { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding-right: 42px; }
.exceptional-event-admin-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #f1dfb3; color: var(--bx3); }
.exceptional-event-admin-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.exceptional-event-admin-form h2 { margin: 1px 0 6px; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: 32px; line-height: 1.08; }
.exceptional-event-admin-form header p { margin: 0; color: var(--m3-muted); font-size: 14px; line-height: 1.45; }
.exceptional-event-toggle { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0; padding: 14px; border: 1px solid rgba(107,26,42,.16); border-radius: 8px; background: rgba(241,223,179,.28); cursor: pointer; }
.exceptional-event-toggle input { width: 20px; height: 20px; flex: 0 0 20px; margin: 2px 0 0; accent-color: var(--m3-primary); }
.exceptional-event-toggle span { display: grid; gap: 3px; }
.exceptional-event-toggle strong { color: var(--m3-primary); font-size: 15px; }
.exceptional-event-toggle small { color: var(--m3-muted); font-size: 13px; line-height: 1.4; }
.exceptional-event-admin-form textarea { min-height: 132px; resize: vertical; }
.exceptional-event-character-count { margin-top: -7px; color: var(--m3-muted); font-size: 12px; font-weight: 800; text-align: right; }
.exceptional-event-expiration-help { margin-top: -7px; color: var(--m3-muted); font-size: 12px; line-height: 1.45; }
.exceptional-event-feedback { margin: 2px 0; padding: 10px 12px; border: 1px solid; border-radius: 8px; font-size: 14px; font-weight: 800; }
.exceptional-event-feedback.is-success { border-color: #96c5aa; background: #edf7f1; color: #17653f; }
.exceptional-event-feedback.is-error { border-color: #d89191; background: #fff0f0; color: #761919; }
.admin-list-actions .dt-search,
.admin-list-actions .button { order: 3; white-space: nowrap; }
.news-admin-list-pagination { order: 2; display: flex; align-items: flex-end; }
.news-admin-list-pagination .admin-pagination { margin: 0; flex-wrap: nowrap; }
.news-admin-list-pagination .admin-page-link { min-width: 46px; min-height: 46px; }
.found-listings-actions .dt-length { order: 1; display: grid; gap: 6px; }
.found-listings-actions .dt-paging { order: 3; display: flex; align-items: flex-end; }
.found-listings-actions .dt-paging nav { display: flex; flex-wrap: nowrap; gap: 8px; }
.admin-list-actions .dt-search label,
.found-listings-actions .dt-length label { display: grid; gap: 6px; color: var(--text); font-size: 16px; font-weight: 900; }
.news-admin-list-actions .dt-search label { display: block; }
.admin-list-actions .dt-search input,
.found-listings-actions .dt-length select { width: 100%; min-height: 42px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); font: inherit; }
.admin-list-actions { align-items: center; }
.admin-list-actions .dt-search { height: 46px; display: flex; align-items: center; gap: 0; }
.admin-list-actions .dt-search label { width: 100%; height: 46px; display: flex; align-items: center; margin: 0; }
.admin-list-actions .dt-search input,
.admin-list-actions > .button { height: 46px; min-height: 46px; margin: 0; padding-block: 0; }
.admin-list-actions .dt-search input { display: block; }
.directory-admin-list-actions .dt-search { order: 1; width: min(240px, 32vw); }
.directory-admin-list-actions .dt-search[hidden] { display: none; }
.directory-admin-list-actions > .button { order: 2; }
.found-listings-actions .dt-length select { min-width: 82px; }
.found-listings-panel .panel-head { align-items: center; }
.found-listings-actions { align-items: center; }
.found-listings-actions > .button { order: 0; min-height: 44px; white-space: nowrap; }
.found-listings-actions .dt-length { display: flex; align-items: center; }
.found-listings-actions .dt-length label { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.found-listings-actions .dt-length select { width: 88px; min-height: 44px; }
.found-listings-actions .dt-paging { align-items: center; }
.found-listings-actions .dt-paging-button { min-width: 44px; min-height: 44px; margin: 0 !important; }
.admin-list-panel .dt-layout-row-empty,
.found-listings-panel .dt-layout-row-empty { display: none; }
.found-listings-panel { width: min(100%, 1080px); padding-top: 18px; }
.found-listings-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.found-listings-toolbar > p { margin: 0; color: var(--m3-muted); font-size: 14px; font-weight: 800; }
.found-listings-toolbar > p strong { color: var(--m3-primary); font-size: 20px; }
.found-listings-actions { gap: 8px; }
.found-listings-actions > .button { height: 38px; min-height: 38px; gap: 7px; padding: 0 13px; font-size: 13px; }
.found-listings-actions > .button svg { width: 17px; height: 17px; }
.found-listings-table-wrap { overflow-x: auto !important; }
.found-listings-table { width: 100% !important; min-width: 0 !important; table-layout: fixed; }
.found-listings-table th:nth-child(1) { width: 92px; }
.found-listings-table th:last-child { width: 86px; }
.found-listing-date strong,
.found-listing-date span,
.found-listing-object strong,
.found-listing-object span { display: block; }
.found-listing-date { text-align: right; }
.found-listing-date strong { color: var(--text); line-height: 1.15; }
.found-listing-date span { margin-top: 2px; color: var(--m3-muted); font-size: 11px; }
.found-listing-object strong { overflow: hidden; color: var(--text); line-height: 1.2; text-overflow: ellipsis; }
.found-listing-object span { margin-top: 2px; overflow: hidden; color: var(--m3-muted); font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.found-listings-table .admin-table-actions,
.found-listings-table .admin-table-actions form { flex-wrap: nowrap; gap: 4px; }
.found-listings-table .admin-icon-button { width: 34px; height: 34px; min-height: 34px; padding: 0; }
.found-listings-table .admin-icon-button svg { width: 15px; height: 15px; }
.reports-panel { padding-top: 18px; }
.reports-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.reports-toolbar > p { margin: 0; color: var(--m3-muted); font-size: 14px; font-weight: 800; }
.reports-toolbar > p strong { color: var(--m3-primary); font-size: 20px; }
.reports-actions { display: flex; align-items: center; justify-content: flex-end; }
.reports-actions .dt-search { width: min(28vw, 300px); }
.reports-actions .dt-search label,
.reports-actions .dt-search input { width: 100%; height: 38px; min-height: 38px; }
.reports-actions .dt-search input { margin: 0; padding: 0 12px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fffaf4; color: var(--text); font: inherit; font-size: 14px; }
.reports-panel .dt-layout-row-empty { display: none; }
.reports-table-wrap { overflow-x: auto !important; }
.reports-table { min-width: 840px !important; table-layout: fixed; }
.reports-table th:nth-child(1) { width: 92px; }
.reports-table th:nth-child(2) { width: 29%; }
.reports-table th:nth-child(3) { width: 20%; }
.reports-table th:nth-child(4) { width: 24%; }
.reports-table th:nth-child(5) { width: 110px; }
.reports-table th:nth-child(6) { width: 58px; }
.report-list-date strong,
.report-list-date span,
.report-list-summary strong,
.report-list-summary span,
.report-list-summary small,
.report-list-contact strong,
.report-list-contact span { display: block; }
.report-list-date { text-align: right; }
.report-list-date strong { color: var(--text); line-height: 1.15; }
.report-list-date span { margin-top: 2px; color: var(--m3-muted); font-size: 11px; }
.report-list-summary strong,
.report-list-contact strong { overflow: hidden; color: var(--text); line-height: 1.2; text-overflow: ellipsis; }
.report-list-summary span,
.report-list-contact span,
.report-list-summary small { margin-top: 2px; overflow: hidden; color: var(--m3-muted); font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.report-list-summary small { color: #9b2222; font-weight: 800; }
.report-list-location { overflow: hidden; color: var(--m3-muted); font-size: 12px !important; text-overflow: ellipsis; }
.reports-table .status { padding: 5px 8px; font-size: 10px; white-space: nowrap; }
.reports-table .admin-table-actions { justify-content: center; gap: 4px; }
.reports-table .admin-icon-button { width: 34px; height: 34px; min-height: 34px; padding: 0; }
.reports-table .admin-icon-button svg { width: 15px; height: 15px; }
.dt-container .dt-paging nav { display: flex; align-items: center; gap: 2px; }
.dt-container .dt-paging .dt-paging-button {
  min-width: auto;
  min-height: 40px;
  margin: 0 !important;
  padding: 7px 10px !important;
  border: 1px solid transparent !important;
  border-radius: 2px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--m3-muted) !important;
  font-size: 14px;
  font-weight: 700;
}
.dt-container .dt-paging .dt-paging-button:not(.disabled):not(.current):hover {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--m3-primary) !important;
}
.dt-container .dt-paging .dt-paging-button.current,
.dt-container .dt-paging .dt-paging-button.current:hover {
  min-width: 40px;
  border-color: rgba(62,57,57,.48) !important;
  background: transparent !important;
  color: var(--m3-text) !important;
  font-weight: 500;
}
.dt-container .dt-paging .dt-paging-button.disabled { opacity: .42; cursor: default !important; }
.gazette-archive-header { padding: 72px max(20px, calc((100vw - 1180px) / 2)) 64px; background: var(--bx3); color: #fff; }
.gazette-archive-header > div { max-width: 780px; }
.gazette-archive-header h1 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 7vw, 76px); line-height: 1; }
.gazette-archive-header p { max-width: 680px; margin: 0; color: rgba(255,255,255,.78); font-size: 20px; line-height: 1.6; }
.gazette-archive { max-width: 1180px; margin: 0 auto; padding: 64px 20px 92px; }
.gazette-featured { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: clamp(40px, 7vw, 88px); align-items: center; padding-bottom: 72px; border-bottom: 1px solid var(--m3-line); }
.gazette-featured-cover { display: block; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 8px; background: var(--sable); box-shadow: 0 24px 56px rgba(35,14,22,.2); transform: rotate(-1.5deg); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease-out; }
.gazette-featured-cover:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 30px 68px rgba(35,14,22,.25); }
.gazette-featured-cover img,
.gazette-issue-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gazette-featured-cover > span,
.gazette-issue-cover > span { width: 100%; height: 100%; display: grid; align-content: space-between; padding: 28px; background: var(--bx); color: #fff; }
.gazette-featured-cover small,
.gazette-issue-cover small { font-weight: 800; text-transform: uppercase; }
.gazette-featured-cover strong,
.gazette-issue-cover strong { font-family: Georgia, "Times New Roman", serif; font-size: 34px; }
.gazette-featured-copy > p:first-child { margin: 0 0 12px; color: var(--or); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.gazette-featured-copy h2 { margin: 0 0 18px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 6vw, 70px); line-height: 1; text-transform: capitalize; }
.gazette-featured-copy > p:not(:first-child) { max-width: 600px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.gazette-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gazette-library { padding-top: 64px; }
.gazette-library-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.gazette-library-heading h2 { margin: 0 0 8px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.gazette-library-heading p { margin: 0; color: var(--muted); }
.gazette-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 26px; }
.gazette-issue { min-width: 0; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 12px 34px rgba(74,16,32,.1); }
.gazette-issue-cover { display: block; aspect-ratio: 210 / 297; overflow: hidden; background: var(--sable); }
.gazette-issue-copy { padding: 18px; }
.gazette-issue-copy h3 { margin: 0 0 14px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.1; text-transform: capitalize; }
.gazette-issue-actions { display: flex; align-items: center; gap: 18px; }
.gazette-issue-actions a { color: var(--bx); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.gazette-empty { max-width: 720px; padding: 36px 0; }
.gazette-empty h2 { margin: 0 0 10px; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 38px; }
.gazette-empty p { color: var(--muted); }
.orders-page { max-width: 1180px; margin: 0 auto; padding: 0 20px 88px; }
.orders-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.orders-count { display: inline-flex; align-items: center; gap: 10px; min-height: 34px; padding: 6px 14px; border-radius: 999px; background: #efefef; color: #4d4547; font-size: 15px; font-weight: 700; }
.orders-embed { overflow: hidden; border: 1px solid var(--m3-line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.orders-embed iframe { display: block; width: 100%; height: clamp(760px, 72vh, 980px); border: 0; background: #fff; }
.cadastre-page { max-width: 1180px; margin: 0 auto; padding: 0 20px 88px; }
.cadastre-embed { overflow: hidden; border: 1px solid var(--m3-line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.cadastre-embed iframe { display: block; width: 100%; height: clamp(760px, 76vh, 1040px); border: 0; background: #fff; }
.cadastre-credit { margin: 12px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.cadastre-credit a { color: var(--bx); font-weight: 700; }
.pluih-page { max-width: 1380px; margin: 0 auto; padding: 0 20px 88px; }
.pluih-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; color: var(--muted); }
.pluih-toolbar p { margin: 0; font-size: 15px; line-height: 1.5; }
.pluih-toolbar a { flex: 0 0 auto; color: var(--bx); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.pluih-directory { overflow: hidden; border: 1px solid var(--m3-line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.pluih-directory a { display: grid; grid-template-columns: 54px minmax(0, 1fr) 24px; gap: 18px; align-items: center; min-height: 76px; padding: 14px 22px; color: var(--text); text-decoration: none; transition: background .2s ease, color .2s ease; }
.pluih-directory a + a { border-top: 1px solid var(--m3-line); }
.pluih-directory a:hover { background: #fff7f2; color: var(--bx); }
.pluih-directory a:focus-visible { position: relative; outline: 3px solid var(--or); outline-offset: -3px; }
.pluih-directory a span:first-child { color: var(--or); font-size: 14px; font-weight: 800; }
.pluih-directory a strong { font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.25; }
.pluih-directory a span:last-child { color: var(--bx); font-size: 20px; text-align: right; }
.directory-heading { max-width: 1180px; }
.directory-heading h1, .public-directory-entry h2 { overflow-wrap: anywhere; }
.directory-heading > p:last-child { max-width: 720px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.public-directory { max-width: 1180px; margin: 0 auto; padding: 20px 20px 92px; }
.public-directory-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--m3-line); }
.public-directory-toolbar label { width: min(520px, 100%); color: var(--bx3); font-size: 14px; }
.public-directory-search { position: relative; display: block; }
.public-directory-search svg { position: absolute; top: 50%; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; transform: translateY(-50%); pointer-events: none; }
.public-directory-search input { min-height: 48px; padding-left: 44px; border-radius: 8px; background: #fff; }
.public-directory-toolbar > p { flex: 0 0 auto; margin: 0 0 13px; color: var(--muted); font-size: 14px; font-weight: 800; }
.public-directory-filters { margin-bottom: 26px; padding: 4px; margin-inline: -4px; }
@media (min-width: 768px) { .public-directory-filters { flex-wrap: wrap; overflow: visible; } }
.public-directory-grid { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 18px; }
.public-directory-grid.is-masonry-ready { display: block; }
.public-directory-sizer { position: absolute; width: calc(50% - 9px); height: 0; visibility: hidden; }
.public-directory-grid .public-directory-entry { width: calc(50% - 9px); margin-bottom: 18px; }
.public-directory-entry { min-width: 0; display: flex; flex-direction: column; scroll-margin-top: 110px; padding: 22px; border: 1px solid var(--m3-line); border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(74,16,32,.07); }
.public-directory-entry[hidden] { display: none; }
.public-directory-entry-head { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; }
.public-directory-logo { width: 104px; height: 104px; display: inline-flex; align-items: center; justify-content: center; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 800; }
.public-directory-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.public-directory-entry h2 { margin: 0; color: var(--bx3); font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.15; }
.public-directory-entry > p { flex: 1; margin: 18px 0; color: var(--muted); line-height: 1.55; }
.public-directory-address { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 11px; align-items: start; margin: 0 0 18px; padding: 13px 14px; border-left: 3px solid var(--or); background: rgba(184,148,58,.1); color: var(--bx3); font-style: normal; }
.public-directory-address svg { width: 22px; height: 22px; fill: none; stroke: var(--or); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-directory-address span { min-width: 0; display: grid; gap: 2px; }
.public-directory-address strong { font-size: 14px; line-height: 1.35; }
.public-directory-address small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.public-directory-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--m3-line); }
.public-directory-actions a { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(107,26,42,.14); border-radius: 7px; color: var(--bx); font-size: 13px; font-weight: 800; text-decoration: none; }
.public-directory-actions a:hover { border-color: var(--bx); background: #fff7f2; }
.public-directory-actions a:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
.public-directory-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.public-directory-empty { margin: 0; padding: 44px 20px; border-block: 1px solid var(--m3-line); color: var(--muted); text-align: center; }
.admin-alert { max-width: 980px; padding: 12px 16px; border-radius: 8px; background: #f7dede; color: #9b2222; font-weight: 800; }
.admin-alert.success { background: #e7f4ec; color: #2e7d58; }
.admin-toast-region { position: fixed; right: 24px; bottom: 24px; z-index: 1000; display: grid; gap: 10px; width: min(520px, calc(100vw - 32px)); pointer-events: none; }
.admin-toast { transform: translateY(12px); opacity: 0; padding: 14px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(68,18,34,.94); color: #fff; box-shadow: 0 18px 42px rgba(55,11,24,.28); font-size: 15px; font-weight: 800; line-height: 1.35; transition: opacity .22s ease, transform .22s ease; }
.admin-toast.visible { transform: translateY(0); opacity: 1; }
.admin-toast-success { background: rgba(44,109,78,.94); }
.admin-toast-error { background: rgba(141,34,34,.94); }
.admin-logout { margin-top: auto; }
.sidebar-footer .admin-logout { margin: 0; flex-shrink: 0; }
.admin-logout button { margin-left: auto; width: 32px; height: 32px; min-height: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.68); font-size: 19px; line-height: 1; transition: background .22s ease, color .22s ease; }
.admin-logout button:hover { background: rgba(255,255,255,.1); color: #fff; }
.profile-form { max-width: 860px; }
.profile-avatar-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.profile-avatar-preview { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 1px solid var(--m3-line); box-shadow: 0 14px 28px rgba(74,16,32,.14); }
.profile-avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--or), var(--bxl)); color: var(--bx3); font-size: 32px; font-weight: 800; }
.profile-password-fields { display: grid; gap: 16px; padding-top: 12px; border-top: 1px solid var(--m3-line); }
.profile-password-fields h2 { margin: 0; color: var(--m3-primary); font-size: 24px; }
.waste-calendar-panel { overflow: hidden; }
.waste-legend { display: flex; flex-wrap: wrap; gap: 10px; color: var(--m3-muted); font-size: 14px; font-weight: 700; }
.waste-legend span { display: inline-flex; align-items: center; gap: 6px; }
.waste-dot { width: 10px; height: 10px; border-radius: 50%; }
.waste-dot-household { background: #795548; }
.waste-dot-recycling { background: #d9a70f; }
.waste-panel-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 14px; align-items: center; }
.waste-fullcalendar { --fc-border-color: rgba(107,26,42,.34); --fc-neutral-bg-color: #fff; --fc-page-bg-color: #fff; }
.waste-fc-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-bottom: 20px; padding: 10px; border: 1px solid rgba(107,26,42,.12); border-radius: 8px; background: rgba(255,250,244,.76); }
.waste-fc-toolbar-section { display: flex; align-items: center; gap: 8px; }
.waste-fc-toolbar-center { justify-content: center; min-width: 0; }
.waste-fc-toolbar-end { justify-content: flex-end; }
.waste-fc-title { color: var(--m3-primary); font-size: 24px; font-weight: 900; line-height: 1.1; text-align: center; }
.waste-fc-button-group { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid rgba(107,26,42,.17); border-radius: 14px; background: rgba(255,250,244,.68); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(74,16,32,.07); -webkit-backdrop-filter: blur(16px) saturate(1.35); backdrop-filter: blur(16px) saturate(1.35); }
.waste-fc-button { min-height: 36px; padding: 6px 12px; border: 1px solid rgba(107,26,42,.2); border-radius: 8px; background: #fffaf4; color: var(--m3-primary); box-shadow: none; font: inherit; font-size: 14px; font-weight: 850; text-transform: none; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.waste-fc-button-group > .waste-fc-button { border-color: transparent; border-radius: 10px; background: transparent; }
.waste-fc-button:hover,
.waste-fc-button:focus { border-color: rgba(107,26,42,.38); background: #f9eddc; color: var(--m3-primary); transform: translateY(-1px); }
.waste-fc-button:focus-visible { outline: 2px solid rgba(217,167,15,.75); outline-offset: 2px; box-shadow: none; }
.waste-fc-button.active,
.waste-fc-button[aria-selected="true"] { border-color: rgba(255,255,255,.16); background: rgba(107,26,42,.96); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 5px 13px rgba(74,16,32,.18); }
.waste-fc-button:disabled { opacity: .48; transform: none; }
.waste-fullcalendar .fc-multimonth { display: flex; flex-wrap: wrap; gap: 18px; border: 0; background: transparent; }
.waste-fc-month { box-sizing: border-box; margin: 0 12px 24px; border: 0; border-radius: 0; background: transparent; }
.waste-fc-month-header { border: 0; background: transparent; }
.waste-fc-month-title { display: block; padding: 0 0 10px; color: var(--m3-primary); font-size: 22px; font-weight: 800; text-align: left; }
.waste-fc-table { overflow: hidden; border-top: 1px solid rgba(107,26,42,.28); border-left: 1px solid rgba(107,26,42,.28); background: rgba(107,26,42,.28); }
.waste-fc-table-header,
.waste-fc-table-body { background: rgba(107,26,42,.28); }
.waste-fc-weekday,
.waste-fc-day-cell { position: relative; border-right: 1px solid rgba(107,26,42,.28); border-bottom: 1px solid rgba(107,26,42,.28); background: #fff; }
.waste-fullcalendar [role="columnheader"],
.waste-fullcalendar [role="gridcell"] { box-shadow: inset -1px 0 0 rgba(107,26,42,.3), inset 0 -1px 0 rgba(107,26,42,.3); }
.waste-fullcalendar [role="row"] { box-shadow: inset 0 -1px 0 rgba(107,26,42,.3); }
.waste-fc-weekday,
.waste-fullcalendar .fc-col-header-cell { padding: 7px 4px; background: #fff; color: var(--m3-muted); font-size: 13px; font-weight: 900; text-align: center; text-transform: uppercase; }
.waste-fullcalendar .fc-col-header-cell-cushion { display: block; width: 100%; color: inherit; text-align: center; text-decoration: none; }
.waste-fc-divider { height: 1px; background: rgba(107,26,42,.28); }
.waste-fc-day-cell-inner,
.waste-fullcalendar .fc-daygrid-day-frame { position: relative; min-height: 54px; display: grid; align-content: space-between; gap: 4px; padding: 5px; }
.waste-fc-day-number,
.waste-fullcalendar .fc-daygrid-day-number { color: var(--m3-text); font-size: 16px; font-weight: 900; line-height: 1; text-decoration: none; }
.waste-fullcalendar .fc-day-other .fc-daygrid-day-frame { opacity: .35; }
.waste-fullcalendar .fc-scrollgrid,
.waste-fullcalendar .fc-theme-standard td,
.waste-fullcalendar .fc-theme-standard th,
.waste-fullcalendar .fc-daygrid-day,
.waste-fullcalendar .fc-daygrid-day-frame { background: #fff; }
.waste-fullcalendar .fc-day-today .fc-daygrid-day-frame { background: #fff; }
.waste-day-actions { display: flex; justify-content: center; gap: 5px; }
.waste-toggle { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--waste-muted-color); cursor: pointer; transition: color .18s ease, opacity .18s ease, transform .18s ease; }
.waste-toggle::before { content: ""; width: 23px; height: 23px; display: block; background: currentColor; -webkit-mask: url("/assets/icons/trash-outline.svg") center / contain no-repeat; mask: url("/assets/icons/trash-outline.svg") center / contain no-repeat; }
.waste-toggle:hover { opacity: .8; transform: translateY(-1px); }
.waste-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.waste-toggle:disabled { cursor: wait; opacity: .45; transform: none; }
.waste-toggle.active { color: var(--waste-color); }
.waste-toggle.active::before { -webkit-mask-image: url("/assets/icons/trash-filled.svg"); mask-image: url("/assets/icons/trash-filled.svg"); }
.waste-toggle-household { --waste-color: #795548; --waste-muted-color: #d8c9c3; }
.waste-toggle-recycling { --waste-color: #d9a70f; --waste-muted-color: #efd98b; }
.waste-notification-bell { position: absolute; top: 3px; right: 4px; color: var(--m3-primary); font-size: 12px; line-height: 1; filter: drop-shadow(0 1px 1px rgba(255,255,255,.9)); cursor: help; }
.login-shell { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 440px); gap: 40px; align-items: center; overflow: hidden; padding: 64px max(20px, calc((100vw - 1080px) / 2)); background: var(--m3-surface); }
.login-shell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/assets/img/contour-eglise-bayon.png") center / cover no-repeat; filter: brightness(0) saturate(100%) invert(12%) sepia(40%) saturate(3131%) hue-rotate(314deg) brightness(77%) contrast(102%); opacity: .09; pointer-events: none; }
.login-brand { min-width: 0; }
.login-brand h1 { margin: 0; color: var(--m3-primary); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 72px); line-height: 1.04; letter-spacing: 0; }
.login-brand p:not(.eyebrow) { max-width: 520px; color: var(--m3-muted); font-size: 21px; overflow-wrap: anywhere; }
.login-panel { min-width: 0; width: 100%; display: grid; gap: 18px; padding: 28px; border-radius: 8px; background: #fff; border: 1px solid var(--m3-line); box-shadow: var(--shadow); }

@media (max-width: 1320px) {
  .dashboard-action-section { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .dashboard-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
  .home-info-layout { grid-template-columns: 1fr; gap: 42px; }
  .home-info-heading { max-width: 620px; }
}

@media (max-width: 980px) {
  .nav { padding: 0 20px; }
  .hero { min-height: 640px; padding: 32px 20px 72px; }
  .quick-access { grid-template-columns: repeat(3, 1fr); padding: 0; }
  .map-highlight-inner { min-height: 360px; padding-block: 64px; }
  .map-highlight h2 { font-size: 48px; }
  .map-highlight-art { right: -110px; width: 540px; opacity: .46; }
  .app-banner, .gazette-layout, .section-grid, .login-shell, .map-points-workspace, .urbanism-layout, .service-admin-layout, .services-page { grid-template-columns: 1fr; }
  .services-heading { grid-template-columns: 1fr; gap: 18px; padding-top: 42px; }
  .public-waste-heading { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .public-waste-subscribe { justify-self: start; }
  .public-found-heading { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .public-found-contact { justify-self: start; }
  .services-heading p { max-width: 680px; }
  .services-calendar-panel { border-right: 1px solid rgba(107,26,42,.14); border-radius: 8px 8px 0 0; }
  .services-request-panel { border-radius: 0 0 8px 8px; }
  .service-unavailability-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-selection-summary { justify-content: flex-start; }
  .home-info-layout { grid-template-columns: 1fr; gap: 42px; }
  .home-info-heading { max-width: 620px; }
  .association-intro { grid-template-columns: minmax(0, 1fr) 170px; gap: 26px 54px; }
  .association-title-lockup, .association-intro-copy { grid-column: 1; }
  .association-total { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .association-section .association-intro h2 { max-width: 12ch; }
  .home-news-section .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .home-news-section .news-card-featured { grid-column: 1 / -1; grid-row: auto; height: 480px; min-height: 0; }
  .home-news-section .news-card-featured .news-visual { min-height: 0; }
  .home-news-section .news-card:not(.news-card-featured) > a { grid-template-columns: 140px minmax(0, 1fr); }
  .news-index-heading { gap: 36px; }
  .news-index-card-featured > a { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .news-index-card-featured .news-index-visual { min-height: 0; aspect-ratio: 16 / 8; }
  .news-index-card-featured .news-index-copy { padding: 34px; }
  .gazette-wrap { padding-block: 88px; }
  .gazette-layout { gap: 70px; }
  .gazette-copy { max-width: 680px; }
  .gazette-wrap::before { top: auto; right: -180px; bottom: -80px; width: 820px; transform: none; }
  .system-users-layout { grid-template-columns: 1fr; }
  .system-user-form { grid-template-columns: 1fr; }
  .dashboard-action-section { grid-template-columns: 1fr; }
  .login-shell { gap: 28px; align-content: center; padding: 48px 20px; }
  .login-brand p:not(.eyebrow) { font-size: 17px; }
  .login-panel { padding: 24px; }
  .app-install-note { display: none; }
  .app-mobile-actions { display: flex; }
  .app-install-guide-steps { gap: 18px; }
  .gallery-group-head { grid-template-columns: 1fr; }
  .masonry-gallery-photo { width: calc(50% - 18px); }
  .news-grid, .news-list, .info-grid, .grid-stats, .dashboard-grid, .admin-form-grid, .system-grid, .system-list-inline, .notification-grid, .elected-grid, .elected-grid-featured, .elected-grid-compact, .commission-grid, .council-meeting-item, .school-document-list, .site-page-gallery-list, .document-editor-row, .document-editor-row-new, .service-request-decision { grid-template-columns: 1fr; }
  .gazette-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-directory-sizer, .public-directory-grid .public-directory-entry { width: 100%; }
  .mock-admin.admin-shell { grid-template-columns: 1fr; }
  .mock-admin .admin-sidebar { position: static; height: auto; }
  .orders-toolbar { flex-direction: column; align-items: stretch; }
  .map-points-map-panel { position: static; }
  .admin-map-points { min-height: 420px; }
  .map-category-row-new { grid-template-columns: 1fr 1fr; }
  .map-category-actions { justify-content: flex-start; }
  .waste-fc-toolbar { grid-template-columns: 1fr; }
  .waste-fc-toolbar-section,
  .waste-fc-toolbar-center,
  .waste-fc-toolbar-end { justify-content: center; }
.admin-list-panel .panel-head,
.found-listings-panel .panel-head { grid-template-columns: 1fr; }
.admin-list-actions,
.found-listings-actions { justify-content: flex-start; }
.admin-list-actions .dt-search,
.news-admin-list-actions { flex-wrap: wrap; }
.news-admin-list-pagination { order: 3; }
.news-admin-list-actions .button { order: 2; }
  .found-listings-actions { flex-wrap: wrap; }
  .found-listings-actions .dt-paging { flex: 1 1 100%; overflow-x: auto; }
}

@media (max-width: 640px) {
  .public-waste-heading { padding: 38px 16px 28px; }
  .public-waste-heading h1 { font-size: 42px; }
  .public-waste-heading div > p:last-child { font-size: 16px; }
  .public-waste-section { padding: 0 10px 52px; }
  .public-waste-toolbar { flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  .public-waste-toolbar h2 { font-size: 27px; }
  .public-waste-navigation button { min-width: 34px; height: 34px; padding: 0 8px; }
  .public-waste-navigation button:nth-child(2) { font-size: 0; }
  .public-waste-navigation button:nth-child(2)::before { content: "Auj."; font-size: 12px; }
  .public-waste-weekday { padding-inline: 1px; font-size: 10px; }
  .public-waste-day-top { min-height: 24px; padding: 4px 4px 1px; }
  .public-waste-day-cell-inner { min-height: 44px; padding: 2px 3px 4px; }
  .public-waste-day-number { font-size: 12px; }
  .public-waste-collection-row { min-height: 18px; padding: 3px 4px; font-size: 0; }
  .public-waste-collection-row span::after { content: attr(data-short-label); font-size: 8px; }
  .public-found-heading { padding: 38px 16px 28px; }
  .public-found-heading h1 { font-size: 42px; }
  .public-found-heading div > p:last-child { font-size: 16px; }
  .public-found-page { padding: 0 16px 56px; }
  .public-found-summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .public-found-summary > span { text-align: left; }
  .public-found-list { grid-template-columns: 1fr; }
  .public-found-item { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding: 22px 0; }
  .public-found-item-icon { width: 42px; height: 42px; }
  .reports-toolbar { align-items: stretch; }
  .reports-actions,
  .reports-actions .dt-search { width: 100%; }
  .service-availability-panel { padding: 14px 10px; }
  .service-unavailability-form { grid-template-columns: 1fr; }
  .service-selection-summary { justify-content: space-between; }
  .service-unavailability-form > .button { width: 100%; }
  .service-admin-calendar .service-calendar-toolbar { align-items: flex-start; }
  .service-admin-calendar .service-calendar-title { font-size: 18px; }
  .service-admin-calendar .service-calendar-nav { min-height: 30px; padding-inline: 7px; }
  .service-admin-calendar .service-calendar-day { min-height: 40px; }
  .service-request-modal-list dl { grid-template-columns: 1fr; gap: 3px; }
  .service-request-modal-list dd + dt { margin-top: 8px; }
  .map-point-modal-panel { max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; }
  .map-point-modal-form { grid-template-columns: 1fr; }
  .map-point-modal-heading,
  .map-point-modal-actions { grid-column: auto; }
  .map-point-photo-field { grid-template-columns: 1fr; }
  .map-point-photo-preview { width: min(100%, 280px); }
  .map-point-photo-remove { grid-column: auto; }
  .news-index-heading { grid-template-columns: 1fr; gap: 20px; padding: 48px 20px 30px; }
  .news-index-heading h1 { font-size: 48px; }
  .news-index-heading > p { font-size: 16px; }
  .news-index-page { padding: 22px 14px 72px; }
  .news-index-sizer, .news-index-card { width: 100%; }
  .news-index-card { margin-bottom: 16px; }
  .news-index-card-featured { grid-column: auto; }
  .news-index-card-featured .news-index-visual,
  .news-index-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .news-index-copy,
  .news-index-card-featured .news-index-copy { padding: 22px 20px 24px; }
  .news-index-copy h2,
  .news-index-card-featured .news-index-copy h2 { font-size: 24px; }
  .news-index-copy p,
  .news-index-card-featured .news-index-copy p { font-size: 16px; -webkit-line-clamp: 3; }
  .news-index-read { padding-top: 20px; }
  .services-heading { width: 100%; gap: 14px; padding: 36px 20px 24px; }
  .services-heading h1 { font-size: 42px; line-height: 1; overflow-wrap: anywhere; }
  .services-heading p { font-size: 16px; line-height: 1.5; }
  .services-page { width: 100%; padding: 0 12px 42px; }
  .services-calendar-panel { padding: 18px 10px 14px; }
  .services-calendar-toolbar { align-items: flex-end; gap: 12px; margin-bottom: 14px; padding-inline: 4px; }
  .services-calendar-toolbar h2 { font-size: 24px; }
  .services-calendar-actions { gap: 4px; }
  .services-calendar-actions button { min-width: 38px; min-height: 38px; padding: 7px; }
  .services-calendar-actions [data-service-calendar-today] { position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .services-request-panel { padding: 22px 18px; }
  .services-request-heading { margin-bottom: 18px; padding-bottom: 17px; }
  .services-request-panel .services-request-heading h2 { font-size: 26px; }
  .public-service-form { grid-template-columns: 1fr; gap: 12px; }
  .service-form-wide,
  .service-form-message,
  .service-form-feedback,
  .service-form-submit { grid-column: auto; }
  .services-townhall-band { padding-block: 40px; }
  .services-townhall-band .service-list { grid-template-columns: 1fr; gap: 24px; }
  .scroll-to-top { right: 10px; bottom: 15%; width: 82px; height: 110px; grid-template-rows: 24px 64px auto; }
  .scroll-to-top-label { font-size: 11px; }
  .scroll-to-top svg { width: 25px; height: 25px; }
  .scroll-to-top-grape { width: 64px; height: 64px; }
  .map-highlight-inner { min-height: 470px; align-items: flex-start; padding-block: 54px 150px; }
  .map-highlight h2 { max-width: 11ch; margin-bottom: 18px; font-size: 40px; }
  .map-highlight-copy > p { font-size: 17px; line-height: 1.58; }
  .map-highlight-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 26px; }
  .map-highlight-cta { width: min(100%, 320px); }
  .map-highlight-art { top: auto; right: -82px; bottom: 12px; width: 390px; opacity: .5; transform: none; }
  .app-install-guide { align-items: end; padding: 12px; }
  .app-install-guide-panel { max-height: 92dvh; padding: 22px 18px 28px; border-radius: 14px; }
  .app-install-guide-head { grid-template-columns: minmax(0, 1fr) 34px; gap: 12px; margin-bottom: 22px; }
  .app-install-guide-head h2 { font-size: 32px; }
  .app-install-guide-head p { font-size: 15px; }
  .app-install-guide-tabs { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .app-install-guide-close { grid-column: 2; grid-row: 1; }
  .app-install-guide-qr { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .app-install-guide-qr-code { width: 78px; height: 78px; padding: 6px; }
  .app-install-guide-qr strong { font-size: 15px; }
  .app-install-guide-qr p { font-size: 13px; }
  .app-install-guide-steps { grid-template-columns: 1fr; gap: 32px; }
  .app-install-guide-steps figcaption { max-width: 300px; }
  .brand small { display: none; }
  .pluih-toolbar { align-items: flex-start; flex-direction: column; }
  .pluih-directory a { grid-template-columns: 38px minmax(0, 1fr) 20px; gap: 10px; min-height: 68px; padding: 12px 14px; }
  .pluih-directory a strong { font-size: 18px; }
  .public-directory { padding-top: 4px; padding-bottom: 72px; }
  .public-directory-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .public-directory-toolbar > p { margin: 0; }
  .public-directory-entry { padding: 18px; }
  .public-directory-entry-head { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .public-directory-logo { width: 88px; height: 88px; }
  .public-directory-entry h2 { font-size: 22px; }
  .public-directory-actions a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .public-directory-actions a { width: 40px; justify-content: center; padding: 8px; }
  .quick-access { grid-template-columns: repeat(2, 1fr); }
  .system-tabs { width: 100%; }
  .system-tabs a { flex: 1; padding-inline: 10px; }
  .system-mail-test { grid-template-columns: 1fr; }
  .system-mail-test .button { width: 100%; }
  .dashboard-home-intro { margin-bottom: 28px; }
  .dashboard-home-intro h1 { font-size: 38px; }
  .dashboard-tile-grid { grid-template-columns: 1fr; }
  .dashboard-tile, .dashboard-process-tile { min-height: 0; padding: 18px; }
  .collecte-strip { grid-template-columns: 1fr; flex-direction: column; align-items: start; padding-inline: 20px; }
  .exceptional-event-banner:not(.is-compact) { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 9px 0 9px 14px; }
  .exceptional-event-banner:not(.is-compact) .exceptional-event-icon { width: 28px; height: 38px; }
  .home-hero-stack.has-exceptional-event .hero-title { margin-top: 62px; }
  .exceptional-event-marquee { gap: 14px; }
  .exceptional-event-marquee-label { font-size: 10px; }
  .exceptional-event-marquee-item { min-width: calc(100vw - 205px); padding-right: 48px; font-size: 20px; }
  .exceptional-event-admin-panel { padding: 22px 18px; }
  .exceptional-event-admin-form > header { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .exceptional-event-admin-icon { width: 40px; height: 40px; border-radius: 10px; }
  .exceptional-event-admin-form h2 { font-size: 27px; }
  .hero-content { padding: 0; }
  .phone-mockup-scene { width: min(68vw, 240px); }
  .phone-mockup { max-height: 390px; }
  .info-section { padding: 64px 20px 72px; }
  .home-info-layout { gap: 34px; }
  .home-info-heading h2 { font-size: 43px; }
  .home-info-heading p { margin-top: 16px; font-size: 16px; }
  .association-section { padding: 64px 20px 72px; }
  .association-intro { grid-template-columns: 1fr; gap: 0; padding-bottom: 42px; }
  .association-title-lockup { grid-column: auto; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .association-symbol { width: 42px; height: 42px; }
  .association-symbol svg { width: 21px; height: 21px; }
  .association-section .association-intro h2 { font-size: 43px; }
  .association-intro-copy { grid-column: auto; margin-top: 26px; }
  .association-intro-copy p { font-size: 16px; }
  .association-directory-link { margin-top: 18px; }
  .association-total { grid-column: auto; grid-row: auto; justify-self: start; margin-top: 34px; padding: 20px 0 0; border-top: 1px solid rgba(107,26,42,.24); border-left: 0; }
  .association-total strong { font-size: 62px; }
  .association-index-head { min-height: 52px; }
  .association-index-grid { grid-template-columns: 1fr; }
  .association-index-item,
  .association-index-item:nth-child(even) { grid-template-columns: 52px minmax(0, 1fr) 20px; gap: 14px; min-height: 108px; padding: 20px 0; border-left: 0; }
  .association-index-logo { width: 52px; height: 52px; }
  .association-index-copy strong { font-size: 19px; }
  .association-index-copy > span { font-size: 13px; -webkit-line-clamp: 1; }
  .info-card { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 23px 0; }
  .info-icon { width: 48px; height: 48px; }
  .info-icon svg { width: 23px; height: 23px; }
  .info-card h3 { font-size: 25px; }
  .info-card-detail { grid-column: 2; justify-items: start; text-align: left; }
  .home-news-section { gap: 28px; padding: 64px 20px 72px; }
  .home-news-header { align-items: flex-start; flex-direction: column; gap: 20px; padding-bottom: 22px; }
  .home-news-header h2 { font-size: 43px; }
  .home-news-header p { font-size: 16px; }
  .home-news-section .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .home-news-section .news-card-featured { grid-column: auto; height: 470px; min-height: 0; }
  .home-news-section .news-card-featured .news-visual { min-height: 0; }
  .home-news-section .news-card-featured .news-card-copy { padding: 130px 24px 26px; }
  .home-news-section .news-card-featured h3 { font-size: 38px; }
  .home-news-section .news-card-featured p { font-size: 16px; }
  .home-news-section .news-card:not(.news-card-featured) > a { grid-template-columns: 118px minmax(0, 1fr); }
  .home-news-section .news-card:not(.news-card-featured) .news-card-copy { padding: 20px 18px; }
  .home-news-section .news-card:not(.news-card-featured) h3 { font-size: 23px; }
  .home-news-section .news-card:not(.news-card-featured) p { font-size: 15px; }
  .gazette-wrap { padding: 68px 20px 76px; }
  .gazette-layout { gap: 54px; }
  .gazette-visual { padding: 0; }
  .gazette-cover,
  .gazette-cover-image { width: min(82vw, 320px); }
  .gazette-wrap .gazette-copy h2 { max-width: none; font-size: 48px; }
  .gazette-intro { margin: 22px 0 28px; font-size: 17px; }
  .gazette-edition { grid-template-columns: 1fr; gap: 8px; padding-block: 18px; }
  .gazette-edition strong { font-size: 34px; }
  .gazette-actions { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .gazette-actions .button { width: 100%; }
.admin-list-actions,
.found-listings-actions { flex-wrap: wrap; }
.admin-list-actions .dt-search,
.news-admin-list-pagination { flex: 1 1 100%; overflow-x: auto; }
  .directory-admin-list-actions .dt-search { width: 100%; overflow: visible; }
  .hero h1 { font-size: 40px; }
  .gazette-archive-header { padding-top: 52px; padding-bottom: 48px; }
  .gazette-archive-header h1 { font-size: 46px; }
  .gazette-archive-header p { font-size: 17px; }
  .gazette-archive { padding-top: 44px; padding-bottom: 72px; }
  .gazette-featured { grid-template-columns: 1fr; gap: 36px; padding-bottom: 52px; }
  .gazette-featured-cover { width: min(78vw, 320px); justify-self: center; }
  .gazette-featured-copy h2 { font-size: 44px; }
  .gazette-library { padding-top: 48px; }
  .gazette-library-heading { margin-bottom: 24px; }
  .gazette-grid { grid-template-columns: 1fr; gap: 16px; }
  .gazette-issue { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: stretch; }
  .gazette-issue-copy { display: grid; align-content: center; padding: 16px; }
  .gazette-issue-copy h3 { font-size: 22px; }
  .gazette-issue-actions { flex-wrap: wrap; gap: 10px 16px; }
  .school-slideshow { aspect-ratio: 4 / 3; min-height: 220px; }
  .map-modal { padding: 0; }
  .map-modal-panel { width: 100%; height: 100dvh; border-radius: 0; }
  .map-modal-sidebar { top: 12px; right: 12px; left: 58px; width: auto; padding: 12px; }
  .map-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
  .map-legend li { min-width: 0; font-size: 12px; }
  .map-category-row-new { grid-template-columns: 1fr; }
  .phone-shell { margin: 16px 10px 38px; }
  .two-cols, .stats-grid { grid-template-columns: 1fr; }
  .system-list div, .system-list-inline div { grid-template-columns: 1fr; gap: 4px; }
  .pwa-install-screen { padding-inline: 14px; }
  .pwa-install-actions { justify-content: stretch; }
  .pwa-install-actions .button { flex: 1; }
  .mobile-app .pwa-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); left: 10px; right: 10px; bottom: max(90px, calc(env(safe-area-inset-bottom) + 90px)); gap: 6px; padding: 8px; }
  .mobile-app .pwa-tabs button { padding: 9px 4px; }
  .pwa-info-hero { grid-template-columns: 38px minmax(0, 1fr); min-height: 0; padding: 15px; }
  .pwa-info-location-icon { width: 38px; height: 38px; }
  .pwa-info-hero a { grid-column: 1 / -1; }
  .pwa-info-location-copy strong { font-size: 20px; }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }
  .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cookie-actions .button { width: 100%; }
  .app-install-nudge {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 65;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 12px;
    max-width: 420px;
    margin-inline: auto;
    padding: 12px;
    border: 1px solid rgba(107,26,42,.14);
    border-radius: 8px;
    background: #fffaf4;
    box-shadow: 0 18px 48px rgba(35,14,22,.22);
    opacity: 0;
    transform: translateY(calc(100% + 24px));
    transition: opacity .24s ease-out, transform .42s cubic-bezier(.16, 1, .3, 1);
  }
  .app-install-nudge.is-visible { opacity: 1; transform: translateY(0); }
  .app-install-nudge img { width: 48px; height: 48px; border-radius: 11px; }
  .app-install-nudge strong { display: block; margin-bottom: 3px; color: var(--bx3); font-size: 15px; line-height: 1.2; }
  .app-install-nudge a { color: var(--bx); font-size: 14px; font-weight: 800; text-underline-offset: 3px; }
  .app-install-nudge button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--bx3); cursor: pointer; }
  .app-install-nudge button:hover { background: rgba(107,26,42,.08); }
  .app-install-nudge button:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }
  .app-install-nudge svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
  .masonry-gallery-photo { width: calc(100% - 18px); }
  .pwa-gallery-card { width: calc(100% - 12px); }
}

.system-mail-dialog { width: min(860px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow: auto; border: 1px solid var(--m3-line); border-radius: 16px; background: var(--m3-surface, #fff); color: var(--m3-text); box-shadow: 0 24px 60px rgba(28,5,11,.24); }
.system-mail-dialog::backdrop { background: rgba(28,5,11,.6); }
.system-mail-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.system-mail-dialog-head h2 { margin: 0; color: var(--m3-primary); font-size: 22px; }
.system-mail-dialog [data-system-mail-status] { margin: 16px 0; font-size: 14px; }
.system-mail-console { min-height: 220px; max-height: 55dvh; margin: 0; padding: 16px; overflow: auto; border-radius: 10px; background: #220c13; color: #f5e8bd; font: 13px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; }
.system-mail-console:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.system-mail-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.system-mail-dialog-actions > span { font-size: 12px; color: var(--m3-text); }
@media (max-width: 600px) { .system-mail-dialog { padding: 16px; } .system-mail-dialog-head h2 { font-size: 18px; } }

/* PWA: actualités et agenda */
.mobile-app .screen-title[hidden] { display: none; }
.content-tabs { position: relative; display: grid; grid-template-columns: repeat(var(--tab-count, 2), minmax(0, 1fr)); margin-bottom: 24px; border-bottom: 1px solid rgba(107,26,42,.14); background: rgba(255,255,255,.55); }
.content-tabs::after { content: ""; position: absolute; bottom: -1px; left: 0; width: calc(100% / var(--tab-count, 2)); height: 3px; border-radius: 3px 3px 0 0; background: var(--bx); pointer-events: none; transition: transform .22s ease; }
.content-tabs:has(> :nth-child(3)) { --tab-count: 3; }
.content-tabs:has(> :nth-child(4)) { --tab-count: 4; }
.content-tabs:has(> :nth-child(2):is([aria-selected="true"], [aria-current="page"]))::after { transform: translateX(100%); }
.content-tabs:has(> :nth-child(3):is([aria-selected="true"], [aria-current="page"]))::after { transform: translateX(200%); }
.content-tabs:has(> :nth-child(4):is([aria-selected="true"], [aria-current="page"]))::after { transform: translateX(300%); }
.content-tabs > :is(button, a) { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; text-align: center; min-height: 54px; padding: 14px 16px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.content-tabs > :is(button, a) svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.content-tabs > :is(button, a):is([aria-selected="true"], [aria-current="page"]) { color: var(--bx); }
@media (hover: hover) { .content-tabs > :is(button, a):hover { background: rgba(107,26,42,.04); color: var(--bx); } }
@media (prefers-reduced-motion: reduce) { .content-tabs::after, .content-tabs > :is(button, a) { transition: none; } }
.content-tabs > :is(button, a):focus-visible { outline: 2px solid var(--bx); outline-offset: 2px; }
.pwa-service-mode { margin-top: 10px; }
.content-tabs[hidden] { display: none; }
[data-pwa-feed-panel][hidden] { display: none; }
.pwa-news-list { border-top: 0; }
.pwa-news-link { gap: 10px; padding: 22px 0; border-radius: 0; transition: color .16s ease, background-color .16s ease; }
.pwa-news-link:hover { padding-inline: 0; background: transparent; }
.pwa-news-link strong { font-family: inherit; font-size: 21px; font-weight: 750; line-height: 1.3; }
.pwa-news-link time { color: var(--muted); font-size: 12px; font-weight: 600; }
.pwa-news-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.55; }
.pwa-news-read { display: inline-flex; align-items: center; gap: 8px; color: var(--bx); font-size: 12px; font-weight: 700; }
.pwa-news-read svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pwa-agenda-month { margin: 28px 0 12px; color: var(--bx3); font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.pwa-agenda-month:first-child { margin-top: 0; }
.pwa-agenda-event { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(107,26,42,.14); }
.pwa-agenda-date { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 2px; color: var(--bx); }
.pwa-agenda-date span { font-size: 12px; }
.pwa-agenda-date strong { font-size: 30px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pwa-agenda-details h3 { margin: 0 0 8px; color: var(--bx3); font-size: 17px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pwa-agenda-time { margin: 0 0 4px; color: var(--bx); font-size: 13px; font-weight: 700; }
.pwa-agenda-location { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.pwa-feed-empty { padding: 36px 4px; }
.pwa-feed-empty h2 { margin: 0 0 10px; color: var(--bx3); font-size: 20px; }
.pwa-feed-empty p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 380px) { .pwa-service-mode button { gap: 6px; padding-inline: 8px; font-size: 14px; } }

/* Espacement des onglets selon leur contexte. */
.admin-segmented-tabs { width: fit-content; max-width: 100%; margin-bottom: 18px; }
.admin-segmented-tabs > button { padding-inline: 20px; }
.admin-segmented-tabs > button > span { color: inherit; font-size: 12px; font-variant-numeric: tabular-nums; }
.system-tabs { width: fit-content; max-width: 100%; margin: 18px 0 28px; }
.system-tabs > a { padding-inline: 24px; }
.app-install-guide-tabs { width: 100%; min-width: 240px; margin: 0; }
@media (max-width: 600px) {
  .admin-segmented-tabs, .system-tabs { width: 100%; }
  .admin-segmented-tabs > button, .system-tabs > a { padding-inline: 8px; font-size: 14px; }
  .app-install-guide-tabs { min-width: 0; }
}

/* Densité commune des tableaux de gestion (hors calendriers). */
.mock-admin .admin-table-wrap {
  --admin-table-text: 14px;
  --admin-table-secondary: 12px;
  --admin-table-row-height: 64px;
  --admin-table-control-size: 36px;
}
.mock-admin .admin-table-wrap table th,
.mock-admin .admin-table-wrap table td { box-sizing: border-box; padding: 10px 12px; vertical-align: middle; font-size: var(--admin-table-text); line-height: 1.4; }
.mock-admin .admin-table-wrap table th { height: 44px; font-size: 13px; font-weight: 700; }
.mock-admin .admin-table-wrap table td { height: var(--admin-table-row-height); }
.mock-admin .admin-table-wrap table td strong { font-size: var(--admin-table-text); line-height: 1.4; }
.mock-admin .admin-table-wrap table td span,
.mock-admin .admin-table-wrap table td small,
.mock-admin .admin-table-wrap table .admin-table-muted { font-size: var(--admin-table-secondary); line-height: 1.4; }
.mock-admin .admin-table-wrap table .status { padding: 5px 8px; font-size: var(--admin-table-secondary); line-height: 1.4; }
.mock-admin .admin-table-wrap table .admin-icon-button { width: var(--admin-table-control-size); min-width: var(--admin-table-control-size); height: var(--admin-table-control-size); min-height: var(--admin-table-control-size); padding: 0; }
.mock-admin .admin-table-wrap table .admin-icon-button svg { width: 18px; height: 18px; }
.mock-admin .admin-table-wrap table .admin-table-actions select,
.mock-admin .admin-table-wrap table .service-request-decision :is(select, input) { min-height: var(--admin-table-control-size); font-size: 13px; line-height: 1.4; }
.mock-admin .admin-table-wrap table :is(.admin-thumb, .admin-thumb-placeholder) { width: 40px; height: 44px; object-fit: cover; }
.mock-admin .admin-table-wrap table :is(.admin-avatar-thumb, .admin-avatar-placeholder) { width: 40px; height: 40px; }

/* Le dashboard s'adapte à son espace réel, menu ouvert ou réduit. */
.dashboard-home { container: dashboard / inline-size; }
@container dashboard (min-width: 641px) and (max-width: 1250px) {
  .dashboard-home-intro { margin: 10px 0 20px; }
  .dashboard-home-intro h1 { font-size: 36px; }
  .dashboard-home-intro p { margin-top: 6px; font-size: 15px; }
  .dashboard-action-section { gap: 16px; padding-block: 18px 22px; }
  .dashboard-section-heading h2 { font-size: 21px; }
  .dashboard-section-heading p { margin-top: 6px; font-size: 13px; }
  .dashboard-tile-grid { gap: 10px; }
  .dashboard-tile { min-height: 124px; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px 8px; padding: 14px; }
  .dashboard-tile-icon { width: 30px; height: 30px; font-size: 23px; }
  .dashboard-tile-copy { gap: 6px; }
  .dashboard-tile-copy strong { font-size: 18px; line-height: 1.15; }
  .dashboard-tile-copy small { font-size: 13px; }
  .dashboard-tile-arrow { font-size: 21px; }
  .dashboard-process-tile { min-height: 114px; grid-template-columns: 30px minmax(0, 1fr); padding-right: 50px; }
  .dashboard-tile-count { top: 14px; right: 14px; min-width: 30px; height: 30px; padding-inline: 7px; font-size: 13px; }
  .dashboard-process-tile .dashboard-tile-arrow { right: 16px; bottom: 16px; }
}
/* Une faible hauteur appelle aussi une présentation compacte sur desktop. */
@media (min-width: 901px) and (max-height: 800px) {
  .dashboard-home-intro { margin: 10px 0 20px; }
  .dashboard-home-intro h1 { font-size: 36px; }
  .dashboard-home-intro p { margin-top: 6px; font-size: 15px; }
  .dashboard-action-section { gap: 16px; padding-block: 18px 22px; }
  .dashboard-section-heading h2 { font-size: 21px; }
  .dashboard-section-heading p { margin-top: 6px; font-size: 13px; }
  .dashboard-tile-grid { gap: 10px; }
  .dashboard-tile { min-height: 124px; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px 8px; padding: 14px; }
  .dashboard-tile-icon { width: 30px; height: 30px; font-size: 23px; }
  .dashboard-tile-copy { gap: 6px; }
  .dashboard-tile-copy strong { font-size: 18px; line-height: 1.15; }
  .dashboard-tile-copy small { font-size: 13px; }
  .dashboard-tile-arrow { font-size: 21px; }
  .dashboard-process-tile { min-height: 114px; grid-template-columns: 30px minmax(0, 1fr); padding-right: 50px; }
  .dashboard-tile-count { top: 14px; right: 14px; min-width: 30px; height: 30px; padding-inline: 7px; font-size: 13px; }
  .dashboard-process-tile .dashboard-tile-arrow { right: 16px; bottom: 16px; }
}

.report-map-status { margin: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.contact-required-note { display: flex; align-items: baseline; gap: 7px; margin: 0 0 4px; color: var(--bx); font-size: 14px; font-weight: 600; }
.contact-form .field-label { color: var(--bx3); font-size: 14px; font-weight: 700; }
.contact-form [aria-invalid="true"] { border-color: #9b2222; }
.contact-form small[role="alert"] { color: #9b2222; }

/* Contact : coordonnées et formulaire dans une même composition. */
.contact-page { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 100px); max-width: 1180px; margin: 0 auto; padding: 64px 20px 88px; align-items: start; }
.contact-page-info { min-width: 0; }
.contact-page-heading h1 { margin: 0 0 24px; color: var(--bx3); font-family: Georgia, serif; font-size: clamp(44px, 5vw, 64px); font-weight: 400; line-height: 1.05; }
.contact-page-heading p { max-width: 35ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-page-details { margin-top: 36px; border-top: 1px solid var(--m3-line); }
.contact-page-detail { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--m3-line); }
.contact-page-detail > svg { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--bx); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-page-detail h2 { margin: 0 0 8px; color: var(--bx3); font-size: 15px; font-weight: 700; }
.contact-page-detail address { color: var(--muted); font-style: normal; font-size: 16px; line-height: 1.6; }
.contact-page-detail a { color: var(--bx); font-size: 21px; font-weight: 600; text-underline-offset: 5px; }
.contact-page-hours dl { display: grid; gap: 7px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.contact-page-hours dl > div { display: grid; grid-template-columns: minmax(76px, .8fr) minmax(64px, .7fr) minmax(118px, 1.25fr); gap: 10px; }
.contact-page-hours dt { color: var(--bx3); font-weight: 650; }
.contact-page-hours dd { margin: 0; }
.contact-page-privacy { max-width: 42ch; margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-page-privacy a { color: var(--bx); text-underline-offset: 3px; }
.contact-page .contact-form { width: 100%; max-width: none; margin: 0; padding: 24px 0 0; border: 0; border-top: 2px solid var(--bx); border-radius: 0; background: transparent; box-shadow: none; gap: 18px; min-width: 0; }
.contact-form-heading h2 { margin: 0 0 8px; color: var(--bx3); font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.contact-form-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-page .contact-form-grid { gap: 18px; }
.contact-page .contact-form :is(input:not([type="checkbox"]), textarea) { border-radius: 8px; background: #fff; min-width: 0; }
.contact-page .contact-form textarea { resize: vertical; min-height: 150px; }
.contact-page small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.contact-page .contact-form small[role="alert"] { color: #9b2222; }
.contact-page .contact-form .checkbox-field { font-size: 13px; font-weight: 400; line-height: 1.6; }
.contact-form-verification { display: grid; gap: 12px; min-width: 0; }
.contact-form-submit { display: flex; justify-content: flex-end; }
.contact-form-submit .button { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; }
.contact-form-submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 850px) {
  .contact-page { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 60px; }
  .contact-page-heading h1 br { display: none; }
  .contact-page-details { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-page-detail { padding-right: 16px; }
  .contact-page-hours { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .contact-page-details, .contact-page .contact-form-grid { grid-template-columns: 1fr; }
  .contact-page-heading h1 { font-size: 42px; }
  .contact-page-detail { padding-block: 20px; }
  .contact-form-submit .button { width: 100%; justify-content: center; }
}

/* News without cover images remain text-only on every breakpoint. */
.news-index-card-without-image > a { grid-template-columns: 1fr; grid-template-rows: auto; }
.home-news-section .news-card.news-card-without-image { height: auto; min-height: 0; align-self: start; background: #fff; grid-row: auto; }
.home-news-section .news-card.news-card-without-image > a { height: auto; grid-template-columns: 1fr; }
.home-news-section .news-card.news-card-without-image .news-card-copy { padding: 24px; color: var(--text); }
.home-news-section .news-card.news-card-without-image h3 { color: var(--bx3); }
.home-news-section .news-card.news-card-without-image p { color: var(--muted); }
.home-news-section .news-card.news-card-without-image small { color: var(--or); }
.home-news-section .news-card.news-card-without-image .news-card-read { color: var(--bx); }

/* Article images open the shared local lightbox. */
.news-image-link { display: block; cursor: zoom-in; }
.news-body .news-image-link, .pwa-news-modal-body .news-image-link { text-decoration: none; }
.news-image-link:focus-visible { outline: 3px solid var(--bx); outline-offset: 6px; }

/* Installation help shows stable browser controls, without a screenshot of the site. */
.install-interface { height: 240px; display: grid; align-items: center; padding: 16px 0; font-family: system-ui, sans-serif; font-size: 13px; line-height: 1.4; color: #29292e; }
.install-interface-menu { width: 100%; padding: 16px; border: 1px solid #e2ded8; border-radius: 12px; background: #fff; }
.install-interface-label { margin-bottom: 16px; color: #62626b; font-size: 12px; }
.install-interface-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; }
.install-interface svg { flex: 0 0 auto; width: 21px; height: 21px; stroke-width: 1.8; }
.install-interface-target { border: 1px solid var(--or); border-radius: 8px; background: #fcf4df; }
.install-interface-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.install-interface-action { display: inline-block; padding: 8px 12px; border: 1px solid var(--or); border-radius: 8px; background: #fcf4df; color: #1763ad; font-size: 13px; }
.install-interface-app { display: flex; align-items: center; gap: 12px; margin-block: 20px; }
.app-install-guide-steps .install-interface-app img { width: 40px; height: 40px; max-width: none; margin: 0; border-radius: 8px; box-shadow: none; }
.install-interface-setting { justify-content: space-between; gap: 8px; padding: 0; font-size: 12px; }
.install-interface-switch { flex: 0 0 36px; width: 36px; height: 22px; padding: 3px; border-radius: 20px; background: #24854a; }
.install-interface-switch::after { content: ''; display: block; width: 16px; height: 16px; margin-left: auto; border-radius: 50%; background: #fff; }
.install-interface-browser { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e2ded8; border-radius: 12px; background: #fff; }
.install-interface-address { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 12px; border-radius: 20px; background: #f2f2f4; color: #62626b; font-size: 12px; }
.install-interface-address svg { width: 14px; height: 14px; }
.install-interface-more { display: grid; place-items: center; width: 40px; height: 44px; }
.install-interface-confirm { display: flex; justify-content: flex-end; align-items: center; gap: 20px; color: #62626b; }
@media (max-width: 640px) {
  .app-install-guide-steps { gap: 24px; }
  .app-install-guide-steps figure { width: 100%; max-width: 360px; margin-inline: auto; }
  .install-interface { height: auto; padding: 0; }
  .app-install-guide-steps figcaption { max-width: none; margin-top: 12px; }
}

.app-install-guide-qr .app-install-guide-first-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.app-install-step-number { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--or); color: var(--bx3); font-size: 14px; }

.system-user-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.system-user-actions form { margin: 0; }
.password-change-account { overflow-wrap: anywhere; color: var(--muted); font-size: 16px; }
.password-change-help { margin: -8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.password-change-error { margin: 0; color: var(--bx); font-size: 14px; font-weight: 600; }
.password-change-logout { margin-top: 20px; }
@media (max-width: 680px) {
  .system-users-heading { align-items: flex-start; flex-direction: column; }
  .system-users-heading .button { width: 100%; justify-content: center; }
  .system-user-create-panel { padding: 20px; }
}
/* Personal profile: open sections, clear upload control and immediate photo preview. */
.profile-form { max-width: 1100px; gap: 36px; }
.profile-photo-section { display: flex; align-items: center; gap: 28px; padding-block: 8px 32px; border-bottom: 1px solid var(--m3-line); }
.profile-photo-preview { flex: 0 0 128px; }
.profile-photo-preview .profile-avatar-preview { width: 128px; height: 128px; border: 0; box-shadow: none; }
.profile-photo-preview .profile-avatar-placeholder { background: #eee2cb; color: var(--bx3); font-size: 38px; }
.profile-photo-preview [hidden], .profile-photo-actions [hidden] { display: none; }
.profile-photo-content { min-width: 0; }
.profile-photo-content h2, .profile-fields h2 { margin: 0; color: var(--bx3); font-family: Georgia, serif; font-size: 28px; line-height: 1.2; }
.profile-photo-content > p, .profile-fields header p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.profile-photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.profile-photo-actions .profile-photo-upload { position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; margin: 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.profile-photo-upload svg { width: 19px; height: 19px; }
.profile-photo-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.profile-photo-upload:focus-within { outline: 3px solid var(--bx); outline-offset: 3px; }
.profile-photo-content .profile-help, .profile-help { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.profile-photo-feedback:empty { display: none; }
.profile-photo-content .profile-photo-feedback { margin: 12px 0 0; color: var(--bx); font-size: 13px; overflow-wrap: anywhere; }
.profile-sections { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.profile-fields { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.profile-fields header { margin-bottom: 4px; }
.profile-fields label { gap: 8px; font-size: 14px; }
.profile-fields .profile-help { margin-top: -12px; }
.profile-fields input:disabled { background: #eee8e1; color: var(--muted); opacity: 1; }
.profile-form .profile-error { color: var(--bx); font-size: 13px; font-weight: 600; }
.profile-form-actions { padding-top: 28px; border-top: 1px solid var(--m3-line); }
@media (max-width: 1000px) { .profile-sections { grid-template-columns: 1fr; gap: 36px; } .profile-fields + .profile-fields { padding-top: 28px; border-top: 1px solid var(--m3-line); } }
@media (max-width: 600px) {
  .profile-photo-section { align-items: flex-start; gap: 20px; flex-direction: column; }
  .profile-photo-preview { flex-basis: auto; }
  .profile-photo-preview .profile-avatar-preview { width: 104px; height: 104px; }
  .profile-fields .admin-form-grid { grid-template-columns: 1fr; }
  .profile-form-actions { align-items: stretch; flex-direction: column; }
}

.public-found-item-photo { width: 120px; height: 120px; flex-shrink: 0; object-fit: contain; border-radius: 12px; }
.pwa-found-photo { display: block; width: 100%; max-height: 240px; object-fit: contain; margin-bottom: 12px; border-radius: 12px; }
.found-listing-thumbnail { float: left; width: 48px; height: 48px; object-fit: contain; margin-right: 12px; border-radius: 8px; }

/* Kit presse — public resources and administrative document management. */
.press-page { max-width: 1120px; margin: 0 auto; padding: 56px 24px 80px; }
.press-page-heading { max-width: 720px; margin-bottom: 32px; }
.press-page-heading h1 { margin: 0 0 16px; color: var(--bx3); font-family: Georgia, serif; font-size: clamp(38px, 5vw, 56px); line-height: 1.08; }
.press-page-heading p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.press-page > h2 { color: var(--bx3); font-family: Georgia, serif; font-size: 30px; }
.press-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 24px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.press-breadcrumbs a { color: var(--bx); text-underline-offset: 4px; }
.press-breadcrumbs [aria-current] { font-weight: 700; }
.press-folders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-bottom: 32px; }
.press-folder, .press-document { display: flex; align-items: center; gap: 18px; min-width: 0; padding: 22px 0; border-bottom: 1px solid var(--m3-line); text-decoration: none; color: var(--bx); }
.press-folder > svg, .press-document > svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--or); }
.press-folder > span, .press-document > span:first-of-type { min-width: 0; flex: 1; }
.press-folder strong, .press-document strong { display: block; overflow-wrap: anywhere; font-size: 18px; line-height: 1.4; }
.press-folder small, .press-document small { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }
.press-folder > svg:last-child { width: 18px; color: var(--bx); }
.press-download { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.press-download svg { width: 20px; height: 20px; }
.press-folder:focus-visible, .press-document:focus-visible { outline: 2px solid var(--bx); outline-offset: 4px; }
@media (hover: hover) { .press-folder:hover strong, .press-document:hover strong { text-decoration: underline; text-underline-offset: 4px; } }
.press-empty { padding: 48px 0; color: var(--muted); }
.press-empty > svg { width: 40px; height: 40px; color: var(--or); }
.press-empty h2 { color: var(--bx3); font-family: Georgia, serif; font-size: 26px; }
.press-upload-panel { margin-bottom: 24px; }
.press-storage-status, .press-upload-help { color: var(--muted); font-size: 14px; line-height: 1.6; }
.press-feedback { padding: 12px 16px; background: var(--sable); color: var(--bx); border-radius: 8px; overflow-wrap: anywhere; }
.press-feedback.is-error { background: #f7dede; color: #9b2222; }
.press-feedback[hidden] { display: none; }
.press-upload-panel .filepond--root { margin: 10px 0 0; font-family: inherit; }
.press-upload-panel .filepond--panel-root { background: var(--sable); border-radius: 12px; }
.press-upload-panel .filepond--drop-label { color: var(--bx); }
@media (max-width: 640px) {
  .press-page { padding: 36px 20px 56px; }
  .press-folders { grid-template-columns: 1fr; gap: 0; }
  .press-document { gap: 12px; }
  .press-download > span { display: none; }
}

.press-upload-panel [data-press-submit][hidden], .press-upload-panel [data-press-refresh][hidden] { display: none; }

/* Document explorer: navigation, files, and contextual actions. */
.press-drive { min-width: 0; }
.press-drive [hidden] { display: none !important; }
.press-drive-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.press-drive-heading h1 { margin: 0 0 8px; color: var(--bx3); font-family: Georgia, serif; font-size: 34px; line-height: 1.15; }
.press-drive-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.press-drive-heading .button, .press-drive-toolbar .button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.press-drive-heading .button svg, .press-drive-toolbar .button svg { width: 18px; height: 18px; }
.press-drive-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.press-drive-search { display: flex; align-items: center; gap: 8px; min-width: 220px; max-width: 360px; flex: 1; margin-left: auto; padding: 0 12px; min-height: 44px; border: 1px solid var(--m3-line); border-radius: 8px; background: rgba(255,255,255,.6); color: var(--muted); }
.press-drive-search svg { width: 18px; height: 18px; flex-shrink: 0; }
.press-drive-search input { width: 100%; min-width: 0; padding: 10px 0; border: 0; outline: 0; font: inherit; font-size: 14px; background: transparent; color: var(--text); }
.press-drive-search:focus-within { outline: 2px solid var(--bx); outline-offset: 2px; }
.press-drive-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 28px; }
.press-drive-sidebar { display: flex; flex-direction: column; gap: 5px; padding-right: 18px; border-right: 1px solid var(--m3-line); }
.press-drive-sidebar > a { display: flex; align-items: center; gap: 9px; padding: 11px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; text-decoration: none; min-width: 0; }
.press-drive-sidebar > a span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.press-drive-sidebar > a svg { width: 18px; height: 18px; flex-shrink: 0; }
.press-drive-sidebar > a[aria-current] { color: var(--bx); background: rgba(107,26,42,.07); font-weight: 700; }
.press-drive-sidebar > a { margin-left: calc(min(var(--folder-depth, 0), 4) * 10px); }
.press-drive-storage { display: flex; align-items: flex-start; gap: 8px; padding: 22px 10px 0; margin-top: 24px; border-top: 1px solid var(--m3-line); color: var(--muted); }
.press-drive-storage svg { width: 18px; height: 18px; flex-shrink: 0; }
.press-drive-storage strong { display: block; font-size: 12px; font-weight: 600; }
.press-drive .press-drive-storage small { color: var(--muted); display: block; margin-top: 5px; font-size: 11px; line-height: 1.4; }
.press-drive-browser { min-width: 0; border-radius: 12px; transition: background-color .15s ease; }
.press-drive-browser.is-dragging { outline: 2px dashed var(--or); outline-offset: 10px; background: rgba(184,148,53,.06); }
.press-drive-browser .press-breadcrumbs { gap: 7px; margin-bottom: 20px; align-items: center; font-size: 13px; }
.press-drive-browser .press-breadcrumbs svg { width: 14px; height: 14px; }
.press-drive-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.press-drive-section-title h2 { margin: 0; color: var(--bx3); font-size: 21px; font-weight: 650; overflow-wrap: anywhere; }
.press-drive-section-title > span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.press-drive-folders { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 30px; }
.press-drive-folder { position: relative; display: flex; align-items: center; min-width: 0; padding: 8px 10px 8px 0; border: 1px solid var(--m3-line); border-radius: 12px; background: rgba(255,255,255,.55); }
.press-drive-folder > a { display: flex; align-items: center; flex: 1; min-width: 0; gap: 12px; padding: 10px 12px; text-decoration: none; color: var(--bx); }
.press-drive-folder > a svg { width: 28px; height: 28px; color: var(--or); flex-shrink: 0; }
.press-drive-folder > a span { min-width: 0; }
.press-drive-folder strong { display: block; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.press-drive-folder small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.press-drive-files { margin-bottom: 24px; }
.press-drive-file, .press-drive-file-labels { display: grid; grid-template-columns: minmax(0, 1fr) 70px 80px 36px; gap: 14px; align-items: center; }
.press-drive-file-labels { padding: 12px 8px; color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--m3-line); }
.press-drive-file { position: relative; min-height: 74px; padding: 12px 8px; border-bottom: 1px solid var(--m3-line); }
.press-drive-file-name { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--bx); text-decoration: none; }
.press-drive-file-name > svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--or); }
.press-drive-file-name span { min-width: 0; }
.press-drive-file-name strong { display: block; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; line-height: 1.4; }
.press-drive-file-name small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.press-drive-file-format, .press-drive-file-size { color: var(--muted); font-size: 12px; }
.press-item-menu { position: relative; }
.press-item-menu > summary { display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; color: var(--muted); list-style: none; }
.press-item-menu > summary::-webkit-details-marker { display: none; }
.press-item-menu > summary svg { width: 20px; height: 20px; }
.press-item-menu[open] > summary { background: rgba(107,26,42,.07); color: var(--bx); }
.press-item-actions { position: absolute; z-index: 20; top: 42px; right: 0; width: 230px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(74,16,32,.15); }
.press-item-actions :is(a, button) { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--bx); font: inherit; font-size: 13px; text-align: left; cursor: pointer; text-decoration: none; }
.press-item-actions svg { width: 17px; height: 17px; flex-shrink: 0; }
.press-item-actions button.press-menu-danger { color: #9b2222; }
.press-drive-empty { padding: 52px 16px; text-align: center; color: var(--muted); }
.press-drive-empty > svg { width: 52px; height: 52px; color: var(--or); }
.press-drive-empty h3 { color: var(--bx3); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.press-drive-empty p { font-size: 14px; line-height: 1.6; }
.press-drive-drop-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.press-drive-drop-hint svg { width: 16px; height: 16px; flex-shrink: 0; }
.press-drive-no-results { padding: 32px 0; color: var(--muted); text-align: center; }
.press-drive .press-upload-panel { padding: 20px; margin-bottom: 28px; border-radius: 12px; background: rgba(255,255,255,.65); }
.press-upload-heading, .press-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.press-upload-heading strong { font-size: 15px; color: var(--bx); }
.press-close-button { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.press-close-button svg { width: 20px; height: 20px; }
.press-edit-dialog { width: min(480px, calc(100% - 32px)); padding: 28px; border: 0; border-radius: 16px; color: var(--text); background: #fdf8f1; box-shadow: 0 20px 64px rgba(74,16,32,.2); }
.press-edit-dialog::backdrop { background: rgba(35,14,21,.45); }
.press-dialog-heading h2 { margin: 0; color: var(--bx3); font-size: 23px; }
.press-edit-dialog p { margin: 0; color: var(--muted); font-size: 14px; }
.press-edit-dialog .admin-form-actions { margin-top: 8px; }
.press-drive :is(a, button, summary):focus-visible { outline: 2px solid var(--bx); outline-offset: 3px; }
@media (hover: hover) { .press-drive-sidebar > a:hover, .press-item-actions :is(a, button):hover, .press-item-menu > summary:hover { background: rgba(107,26,42,.05); } .press-drive-folder:hover, .press-drive-file:hover { background: rgba(255,255,255,.75); } }
@media (max-width: 1100px) { .press-drive-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 18px; } .press-drive-file, .press-drive-file-labels { grid-template-columns: minmax(0, 1fr) 65px 36px; gap: 10px; } .press-drive-file-format, .press-drive-file-labels > :nth-child(2) { display: none; } }
@media (max-width: 760px) { .press-drive-heading { align-items: flex-start; flex-direction: column; gap: 16px; } .press-drive-layout { grid-template-columns: minmax(0, 1fr); } .press-drive-sidebar { display: none; } .press-drive-search { flex-basis: 100%; max-width: none; margin-left: 0; } .press-drive-toolbar .button { flex: 1; padding-inline: 10px; font-size: 13px; } .press-drive-folders { grid-template-columns: minmax(0, 1fr); } .press-drive-drop-hint { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .press-drive-browser { transition: none; } }

/* Dépôts communs du backoffice : mêmes contrôles, mêmes retours visuels. */
.admin-upload-field { display: grid; gap: 8px; min-width: 0; }
.admin-upload-field > img { width: 116px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.admin-upload-field > small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.mock-admin .filepond--root, .admin-upload-dialog .filepond--root { min-width: 0; margin: 0; font-family: inherit; font-size: 14px; }
.mock-admin .filepond--panel-root, .admin-upload-dialog .filepond--panel-root { background: var(--m3-surface); border: 1px dashed var(--m3-line); border-radius: 12px; }
.mock-admin .filepond--drop-label, .admin-upload-dialog .filepond--drop-label { color: var(--bx); }
.mock-admin .filepond--drop-label label, .admin-upload-dialog .filepond--drop-label label { display: block; padding: 16px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.mock-admin .filepond--label-action, .admin-upload-dialog .filepond--label-action { color: var(--bx); text-underline-offset: 3px; }
.mock-admin .filepond--file-info, .mock-admin .filepond--file-status { color: #fff; }
.mock-admin .filepond--root button { min-height: 0; }
.mock-admin .filepond--root [hidden], .mock-admin [data-profile-crop-open][hidden] { display: none !important; }
.admin-upload-error { color: #9b2222; font-size: 14px; }
.profile-photo-picker { flex: 1 0 100%; min-width: 0; }
.profile-crop-dialog, .admin-upload-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid var(--m3-line); border-radius: 16px; background: var(--m3-surface); color: var(--text); }
.profile-crop-dialog::backdrop, .admin-upload-dialog::backdrop { background: rgba(38,12,22,.6); }
.profile-crop-dialog h2, .admin-upload-dialog h2 { margin: 0 0 8px; color: var(--bx); font-size: 24px; }
.profile-crop-dialog header p, .admin-upload-dialog > p { color: var(--muted); line-height: 1.5; }
.profile-crop-workspace { display: grid; grid-template-columns: minmax(0,1fr) 128px; gap: 24px; align-items: center; margin-block: 20px; }
.profile-crop-stage { height: min(360px, 45dvh); min-width: 0; background: #e9e1dc; }
.profile-crop-stage > img { display: block; max-width: 100%; }
.profile-crop-result { display: grid; gap: 12px; text-align: center; color: var(--muted); font-size: 12px; }
.profile-crop-result > div { width: 128px; height: 128px; overflow: hidden; border-radius: 50%; }
.profile-crop-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
@media (max-width: 600px) { .profile-crop-dialog, .admin-upload-dialog { padding: 16px; } .profile-crop-workspace { grid-template-columns: minmax(0,1fr); gap: 16px; } .profile-crop-result { justify-items: center; } .profile-crop-result > div { width: 80px; height: 80px; } }

/* Fermeture commune à toutes les modales publiques, PWA et backoffice. */
.modal-close-button { width: 34px; height: 34px; min-width: 34px; min-height: 34px; flex: 0 0 34px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(35,14,22,.68); color: #fff; box-shadow: 0 6px 18px rgba(17,4,8,.24); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 0; line-height: 0; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.modal-close-button:hover { background: #fff; color: var(--bx3); }
.modal-close-button:focus-visible { outline: 3px solid #e5c775; outline-offset: 3px; }
.modal-close-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.profile-crop-dialog > header { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 16px; align-items: start; }
.profile-crop-dialog > header p { margin-bottom: 0; }

/* Statistiques Google Analytics du backoffice */
.statistics-toolbar { display: grid; gap: 8px; margin-bottom: 20px; }
.statistics-toolbar .content-tabs { --tab-count: 3; margin-bottom: 0; }
.statistics-meta, .statistics-notice { margin: 0; font-size: .82rem; color: var(--m3-muted); }
.statistics-notice { margin-bottom: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(184,148,58,.12); }
.statistics-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.statistics-kpi { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.82); border: 1px solid rgba(74,16,32,.1); box-shadow: 0 12px 32px rgba(74,16,32,.08); }
.statistics-kpi span { font-size: .8rem; color: var(--m3-muted); }
.statistics-kpi strong { font-size: 1.6rem; line-height: 1.2; color: var(--bx3); }
.statistics-kpi small { font-size: .74rem; color: var(--m3-muted); }
.statistics-kpi small.is-up { color: #2f6b3a; }
.statistics-kpi small.is-down { color: #a3324a; }
.statistics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.statistics-panel { min-width: 0; padding: 20px; }
.statistics-panel-wide { grid-column: 1 / -1; }
.statistics-chart { position: relative; height: 280px; }
.statistics-chart-tall { height: 340px; }
.statistics-empty { padding: 24px; }
.statistics-empty h2 { margin-top: 0; }
@media (max-width: 860px) {
  .statistics-grid { grid-template-columns: minmax(0, 1fr); }
  .statistics-chart, .statistics-chart-tall { height: 260px; }
}
.pwa-turnstile { margin: 12px 0 4px; }
