:root {
  color-scheme: light;
  --ink: #1b2926;
  --muted: #63716d;
  --line: #dce3de;
  --paper: #f8f8f4;
  --white: #fff;
  --green: #166a52;
  --green-dark: #104e3d;
  --green-pale: #e8f1e9;
  --coral: #e86e51;
  --yellow: #f4c95d;
  --blue-pale: #eaf0f4;
  --display: "Newsreader", Georgia, serif;
  --body: "DM Sans", "Trebuchet MS", sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #df6a4d; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: rgba(248, 248, 244, .96); }
.header-inner, .main-shell, .footer-inner { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; position: relative; border-radius: 50%; background: var(--green); color: white; font-size: 16px; font-weight: 700; }
.brand-mark span { position: absolute; top: -4px; right: -5px; display: grid; place-items: center; width: 17px; height: 17px; border: 2px solid var(--paper); border-radius: 50%; background: var(--coral); color: white; font-size: 12px; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 0; }
.brand-name span { color: var(--green); }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 38px); }
.main-nav a { position: relative; padding-block: 30px; color: #465450; font-size: 13px; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green-dark); }
.main-nav a[aria-current="page"]::after { position: absolute; bottom: 19px; left: 0; width: 100%; height: 2px; background: var(--coral); content: ""; }
.header-cta { border: 1px solid var(--green); padding: 11px 14px; color: var(--green-dark); font-size: 12px; font-weight: 700; text-decoration: none; }
.header-cta span { padding-left: 8px; color: var(--coral); }
.main-shell { min-height: calc(100vh - 165px); padding-block: 50px 88px; }

.intro-row { display: flex; align-items: end; justify-content: space-between; gap: 38px; padding: 14px 0 40px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(232, 110, 81, .12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: 0; }
h1 { margin-bottom: 17px; font-size: clamp(44px, 5.3vw, 68px); line-height: .99; }
h1 span { color: var(--green); }
.intro-copy { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.intro-stamp { width: 210px; min-height: 146px; display: flex; flex-direction: column; justify-content: space-between; position: relative; flex: 0 0 auto; padding: 17px 19px; border: 1px solid #bdd2c1; background: var(--green-pale); color: var(--green-dark); font-size: 12px; font-weight: 600; line-height: 1.55; }
.stamp-number { font-family: var(--display); font-size: 32px; line-height: 1; }
.stamp-arrow { position: absolute; right: 18px; bottom: 15px; color: var(--coral); font-size: 26px; }

.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.quick-link { min-height: 114px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 8px; position: relative; padding: 17px 20px 16px 0; text-decoration: none; transition: background-color .2s ease, padding .2s ease; }
.quick-link + .quick-link { padding-left: 22px; border-left: 1px solid var(--line); }
.quick-link:hover { padding-top: 21px; background: rgba(232, 241, 233, .5); }
.quick-index { grid-column: 1 / -1; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.3px; }
.quick-title { font-family: var(--display); font-size: 25px; }
.quick-arrow { align-self: end; color: var(--coral); font-size: 22px; }
.quick-link-map { background: linear-gradient(110deg, transparent, rgba(234, 240, 244, .65)); }
.quick-link-associations { background: linear-gradient(110deg, transparent, rgba(232, 241, 233, .65)); }
.quick-link-contact { background: linear-gradient(110deg, transparent, rgba(249, 232, 218, .55)); }

.content-section { padding-top: 56px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 15px; }
.section-heading h2, .panel-heading h2, .results-header h2 { margin-bottom: 0; font-size: 34px; line-height: 1.05; }
.heading-rule { width: 32px; height: 1px; background: var(--coral); }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--green-dark); font-size: 12px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link span { color: var(--coral); }
.status-line { min-height: 22px; margin: 10px 0 15px; color: var(--muted); font-size: 12px; }
.status-line.is-error, .map-status.is-error { color: #a33d27; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.news-card { min-height: 280px; display: flex; flex-direction: column; align-items: flex-start; padding: 21px; background: var(--white); }
.news-card-featured { grid-column: span 2; background: #eff3ed; }
.news-image { width: 100%; height: 145px; display: block; margin: -21px -21px 18px; width: calc(100% + 42px); overflow: hidden; background: #e4ebe4; }
.news-card-featured .news-image { height: 210px; }
.news-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.news-meta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 24px; color: var(--muted); font-size: 10px; }
.source-pill { padding: 5px 8px; background: var(--green); color: white; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.source-pill[href] { text-decoration: none; }
.source-pill[href]:hover { background: var(--green-dark); }
.news-card h3 { margin-bottom: 12px; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.14; }
.news-card-featured h3 { max-width: 570px; font-size: 29px; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--green); }
.news-card > p { margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.card-link { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--green-dark); font-size: 11px; font-weight: 700; text-decoration: none; }
.card-link span { color: var(--coral); }
.source-note { margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.source-note a { color: var(--green-dark); text-underline-offset: 3px; }
.empty-state { grid-column: 1 / -1; padding: 24px; background: white; color: var(--muted); font-size: 13px; line-height: 1.6; }
.empty-state strong { color: var(--ink); }
.empty-state p { margin: 6px 0 12px; }
.empty-state-links { display: flex; flex-wrap: wrap; gap: 11px 17px; }
.empty-state-links .text-link { margin: 0; }
.online-portal-link { font-weight: 700; }

.page-intro { max-width: 670px; padding: 5px 0 34px; }
.page-intro .intro-copy { max-width: 500px; }
.page-intro h1 { font-size: clamp(44px, 5.1vw, 63px); }
.directory-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: start; gap: 26px; }
.map-panel, .results-panel { border-top: 2px solid var(--ink); background: white; }
.map-panel { padding: 23px 24px 20px; }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.panel-heading .eyebrow, .results-header .eyebrow { margin-bottom: 8px; }
.panel-heading h2, .results-header h2 { font-size: 26px; }
.map-key { display: flex; align-items: center; gap: 7px; padding-bottom: 3px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.map-key span { width: 11px; height: 11px; border: 1px solid var(--green); background: var(--green-pale); }
.map-wrap { position: relative; }
.map-status { margin: 0 0 5px; color: var(--muted); font-size: 11px; }
.france-map { display: block; width: 100%; max-height: 535px; overflow: visible; }
.department-shape { fill: #e8eee7; stroke: #fff; stroke-width: 1.15px; cursor: pointer; transition: fill .16s ease, stroke .16s ease; }
.department-shape:hover, .department-shape:focus { fill: #f4c95d; stroke: var(--green-dark); stroke-width: 1.7px; outline: none; }
.department-shape.is-selected { fill: var(--coral); stroke: #fff; stroke-width: 1.5px; }
.overseas-wrap { padding-top: 10px; border-top: 1px solid var(--line); }
.overseas-title { margin: 0 0 8px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }
.overseas-map { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.overseas-tile { min-height: 55px; display: flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid var(--line); background: white; color: var(--ink); cursor: pointer; text-align: left; }
.overseas-tile:hover, .overseas-tile.is-selected { border-color: var(--green); background: var(--green-pale); }
.overseas-tile svg { width: 47px; height: 34px; flex: 0 0 47px; }
.overseas-tile path { fill: #e8eee7; stroke: var(--green); stroke-width: 1.5; }
.overseas-tile.is-selected path { fill: var(--coral); }
.overseas-tile span { font-size: 9px; line-height: 1.25; }
.overseas-tile b { display: block; margin-bottom: 2px; font-size: 10px; }
.territories-title { margin-top: 14px; }
.territory-list { display: flex; flex-wrap: wrap; gap: 6px; }
.territory-chip { border: 1px solid var(--line); padding: 6px 8px; background: white; color: #41514b; cursor: pointer; font-size: 9px; text-align: left; }
.territory-chip:hover, .territory-chip.is-selected { border-color: var(--green); background: var(--green-pale); color: var(--green-dark); }

.results-panel { padding: 22px 22px 20px; }
.results-header { margin-bottom: 23px; }
.field-label { display: block; margin: 15px 0 7px; color: #42524d; font-size: 11px; font-weight: 700; }
.search-field { display: flex; align-items: center; gap: 8px; height: 43px; padding: 0 11px; border: 1px solid #cbd5ce; background: #fff; }
.search-field > span { color: var(--green); font-size: 21px; line-height: 1; }
.search-field input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: #83908a; }
.search-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px rgba(22, 106, 82, .12); }
.clear-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 21px; }
select { width: 100%; min-height: 42px; border: 1px solid #cbd5ce; border-radius: 0; padding: 0 10px; background: white; color: var(--ink); font-size: 12px; }
.result-list { display: grid; gap: 9px; }
.directory-card { padding: 15px; border: 1px solid var(--line); background: white; }
.directory-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.department-badge { min-width: 34px; padding: 5px 7px; background: var(--green); color: white; font-size: 10px; font-weight: 700; text-align: center; }
.official-mark, .association-mark { color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.association-mark { color: #8a5626; }
.directory-card h3 { margin-bottom: 6px; font-family: var(--display); font-size: 21px; font-weight: 500; line-height: 1.2; }
.address-line, .siren-line { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.siren-line { margin-bottom: 8px; font-size: 10px; }
.contact-lines { display: flex; flex-direction: column; gap: 7px; margin-block: 12px; }
.contact-lines a { display: flex; gap: 8px; align-items: center; color: var(--green-dark); font-size: 11px; text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover, .source-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-lines a span { width: 16px; color: var(--coral); font-size: 10px; font-weight: 700; text-align: center; }
.source-link { display: inline-block; margin-top: 5px; color: var(--green-dark); font-size: 10px; font-weight: 700; text-decoration: none; }
.load-more { width: 100%; margin-top: 10px; border: 1px solid var(--green); padding: 11px 14px; background: white; color: var(--green-dark); cursor: pointer; font-size: 11px; font-weight: 700; }
.load-more:hover { background: var(--green-pale); }
.load-more:disabled { cursor: wait; opacity: .65; }
.data-caveat { margin-top: 16px; padding: 13px; border-left: 3px solid var(--yellow); background: #fbf5e5; }
.data-caveat strong { font-size: 10px; text-transform: uppercase; letter-spacing: .7px; }
.data-caveat p { margin: 5px 0 0; color: #5c625b; font-size: 10px; line-height: 1.6; }

.simulator-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr); align-items: start; gap: 25px; }
.simulator-form, .simulator-results-wrap { border-top: 2px solid var(--ink); background: white; }
.simulator-form { padding: 9px 22px 18px; }
.simulator-step { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.simulator-step > span { color: var(--coral); font-family: var(--display); font-size: 20px; }
.simulator-step label { display: block; margin: 0 0 9px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.simulator-step input, .simulator-step select { width: 100%; min-height: 42px; border: 1px solid #cbd5ce; border-radius: 0; padding: 0 10px; background: white; color: var(--ink); font-size: 12px; }
.simulator-submit { margin-top: 18px; border: 0; cursor: pointer; }
.privacy-note { margin: 11px 0 0; color: var(--muted); font-size: 10px; }
.simulator-results-wrap { padding: 21px; }
.simulator-results-heading h2 { margin-bottom: 18px; font-size: 29px; }
.simulator-results { display: grid; gap: 9px; }
.right-result { padding: 15px; border: 1px solid var(--line); background: #fbfcf9; }
.right-result-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.right-result h3 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 500; }
.right-status { padding: 4px 7px; background: var(--green-pale); color: var(--green-dark); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.right-result p { margin: 9px 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.right-result a, .legal-warning a { color: var(--green-dark); font-size: 10px; font-weight: 700; text-underline-offset: 3px; }
.legal-warning { margin-top: 15px; padding: 15px; border-left: 3px solid var(--coral); background: #fbf0ec; }
.legal-warning strong { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.legal-warning p { margin: 7px 0 10px; color: #5c514d; font-size: 10px; line-height: 1.7; }
.online-application { margin-top: 14px; padding: 16px; border-left: 3px solid var(--green); background: var(--green-pale); }
.online-application .eyebrow { margin-bottom: 8px; }
.online-application h3 { margin: 0 0 7px; font-family: var(--display); font-size: 22px; font-weight: 500; }
.online-application p:not(.eyebrow) { margin: 0 0 12px; color: #465b50; font-size: 11px; line-height: 1.7; }
.online-application .button-primary { background: var(--green); color: white; }
.online-application .button-primary:hover { background: var(--green-dark); }
.online-application > a:not(.button-primary) { color: var(--green-dark); font-size: 11px; font-weight: 700; text-underline-offset: 3px; }

.account-page { min-height: 100vh; padding: 30px 16px; background: radial-gradient(circle at 80% 12%, rgba(244, 201, 93, .19), transparent 28%), var(--paper); }
.account-shell { width: min(900px, 100%); margin: 0 auto; padding: 32px; border-top: 3px solid var(--green); background: white; box-shadow: 0 18px 55px rgba(27, 41, 38, .07); }
.account-shell > .brand { margin-bottom: 38px; }
.account-shell > h1 { margin-bottom: 15px; font-size: 43px; }
.account-intro, .account-section > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.account-form { display: grid; gap: 9px; }
.account-form label { margin-top: 4px; color: #42524d; font-size: 11px; font-weight: 700; }
.account-form input, .account-form select, .account-form textarea, .inline-form textarea { width: 100%; min-height: 40px; border: 1px solid #cbd5ce; border-radius: 0; padding: 9px 10px; background: white; color: var(--ink); font: inherit; font-size: 12px; }
.account-form textarea, .inline-form textarea { resize: vertical; }
.account-form .button-primary { justify-self: start; margin-top: 9px; border: 0; cursor: pointer; }
.account-alert, .account-success { padding: 12px 14px; font-size: 12px; line-height: 1.6; }
.account-alert { border-left: 3px solid var(--coral); background: #fbf0ec; color: #743b2b; }
.account-success { border-left: 3px solid var(--green); background: var(--green-pale); color: var(--green-dark); }
.account-footnote { color: var(--muted); font-size: 11px; line-height: 1.7; }
.account-footnote a { color: var(--green-dark); text-underline-offset: 3px; }
.account-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.account-toolbar p { margin: 0; color: var(--muted); font-size: 11px; }
.account-toolbar form { margin: 0; }
.button-secondary { border: 1px solid var(--line); padding: 8px 10px; background: white; color: var(--green-dark); cursor: pointer; font-size: 10px; font-weight: 700; }
.internal-nav { display: flex; flex-wrap: wrap; gap: 14px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.internal-nav a { color: var(--green-dark); font-size: 11px; font-weight: 700; text-decoration: none; }
.internal-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-section { padding-top: 24px; }
.account-section > h2 { margin: 0 0 12px; font-family: var(--display); font-size: 28px; font-weight: 500; }
.admin-grid, .internal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-block: 18px; }
.compact-form { align-content: start; padding: 17px; border: 1px solid var(--line); background: #fbfcf9; }
.compact-form h3 { margin: 0 0 6px; font-family: var(--display); font-size: 21px; font-weight: 500; }
.compact-form p { margin: 0 0 9px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.internal-map-panel { display: block; margin-block: 16px; }
.scoped-map .france-map { max-height: 430px; }
.assigned-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 7px; }
.assigned-department { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid var(--line); color: var(--ink); font-size: 10px; text-decoration: none; }
.assigned-department span:first-child { padding: 4px 5px; background: #e87a4c; color: white; font-weight: 700; }
.assigned-department span:last-child { margin-left: auto; color: var(--coral); }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); }
.table-scroll table { width: 100%; border-collapse: collapse; background: white; font-size: 10px; }
.table-scroll th, .table-scroll td { min-width: 85px; padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.table-scroll th { background: #f0f3ed; color: #44534d; font-size: 9px; letter-spacing: .4px; text-transform: uppercase; }
.table-scroll td { color: var(--muted); }
.inline-form { display: grid; min-width: 190px; gap: 7px; }
.inline-form .button-primary { justify-self: start; border: 0; padding: 8px; cursor: pointer; font-size: 10px; }
.followup-status { display: inline-block; padding: 4px 6px; background: #f4eee2; color: #745d2b; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.status-done, .status-confirmed { background: var(--green-pale); color: var(--green-dark); }
.status-in_progress { background: var(--blue-pale); color: #3f5f73; }
.followup-form { max-width: 610px; margin-top: 18px; }
.date-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.date-pair > div { display: grid; gap: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.tool-upload-form { max-width: 670px; margin-block: 18px 24px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 17px; }
.tool-card { display: flex; flex-direction: column; align-items: flex-start; padding: 17px; border: 1px solid var(--line); background: #fff; }
.tool-card-archived { background: #f2f3f0; opacity: .76; }
.tool-card h3 { margin: 8px 0; font-family: var(--display); font-size: 22px; font-weight: 500; }
.tool-card > p { margin-bottom: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.tool-card .tool-meta { margin-top: auto; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.tool-card .button-primary { margin-top: 4px; background: var(--green); color: #fff; }
.tool-card .button-primary:hover { background: var(--green-dark); }
.archive-tool-form { margin-top: 10px; }
.wall-compose { max-width: 720px; margin-block: 18px 24px; }
.wall-feed { display: grid; gap: 14px; margin-top: 17px; }
.wall-post { padding: 18px; border: 1px solid var(--line); background: white; }
.wall-post-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.wall-post-header h3 { margin: 10px 0 0; font-family: var(--display); font-size: 25px; font-weight: 500; line-height: 1.2; }
.wall-post-header > p, .wall-departments { flex: 0 0 auto; color: var(--muted); font-size: 10px; line-height: 1.6; }
.wall-departments { margin: 9px 0 12px; }
.wall-post-body { color: #394943; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.wall-post > p > .text-link { margin-block: 6px; }
.wall-comments { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); }
.wall-comments h4 { margin: 0 0 8px; color: var(--green-dark); font-size: 10px; text-transform: uppercase; letter-spacing: .7px; }
.wall-comment { padding: 9px 0; border-top: 1px solid #edf0ed; }
.wall-comment-byline { margin: 0 0 4px; color: var(--muted); font-size: 9px; }
.wall-comment > p:last-child { margin-bottom: 0; color: #394943; font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }
.wall-comment-form { display: grid; justify-items: start; gap: 8px; margin-top: 10px; }
.wall-comment-form textarea { width: 100%; border: 1px solid #cbd5ce; border-radius: 0; padding: 9px 10px; font: inherit; font-size: 11px; resize: vertical; }
.wall-comment-form .button-secondary { background: var(--green); color: white; }

.contact-intro { max-width: 730px; padding-top: 18px; padding-bottom: 46px; }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.contact-address { display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; padding: 28px; background: var(--green); color: white; }
.contact-address .eyebrow { color: #d7eddf; }
.contact-email { margin: 20px 0 16px; font-family: var(--display); font-size: clamp(27px, 4vw, 45px); text-decoration-thickness: 1px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.contact-email span { color: var(--yellow); font-family: var(--body); font-size: 20px; }
.contact-address > p:not(.eyebrow) { max-width: 420px; margin-bottom: 26px; color: #e0eee5; font-size: 12px; line-height: 1.7; }
.button-primary { display: inline-flex; gap: 18px; align-items: center; padding: 12px 15px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; text-decoration: none; }
.button-primary:hover { background: #ffda74; }
.contact-note { position: relative; padding: 27px 27px 24px; border: 1px solid #d7ded8; background: var(--blue-pale); }
.note-mark { position: absolute; top: 14px; right: 18px; color: var(--coral); font-size: 36px; font-weight: 400; }
.contact-note h2 { max-width: 300px; margin: 24px 0 13px; font-size: 31px; line-height: 1.07; }
.contact-note p { margin-bottom: 21px; color: var(--muted); font-size: 12px; line-height: 1.75; }

.site-footer { border-top: 1px solid var(--line); background: #eef1ec; }
.footer-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand .brand-mark { width: 29px; height: 29px; font-size: 13px; }
.footer-brand .brand-name { font-size: 15px; }
.footer-inner > p, .footer-inner > a:not(.brand), .footer-copy { margin: 0; color: var(--muted); font-size: 10px; text-decoration: none; }
.footer-inner > a:not(.brand):hover { color: var(--green-dark); text-decoration: underline; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; }
.error-shell { width: min(560px, 100%); padding: 35px; border-top: 3px solid var(--green); background: white; box-shadow: 0 18px 55px rgba(27, 41, 38, .07); }
.error-shell > .brand { margin-bottom: 62px; }
.error-shell h1 { margin-bottom: 17px; }
.error-shell > p:not(.eyebrow) { max-width: 430px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.error-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.error-actions .text-link { margin: 0; }

@media (max-width: 900px) {
  .header-inner, .main-shell, .footer-inner { width: min(100% - 36px, 760px); }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 12px; }
  .header-cta { display: none; }
  .directory-layout { grid-template-columns: 1fr; }
  .simulator-layout { grid-template-columns: 1fr; }
  .admin-grid, .internal-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .map-panel { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(230px, .68fr); column-gap: 18px; }
  .panel-heading { grid-column: 1 / -1; }
  .map-wrap { grid-row: span 2; }
  .map-panel > .source-note { align-self: end; }
  .results-panel { max-width: none; }
}

@media (max-width: 620px) {
  .header-inner, .main-shell, .footer-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 70px; flex-wrap: wrap; justify-content: space-between; gap: 0; padding-top: 12px; }
  .brand-mark { width: 31px; height: 31px; }
  .brand-name { font-size: 17px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 8px; order: 2; }
  .main-nav a { padding: 13px 0 12px; font-size: 11px; }
  .main-nav a[aria-current="page"]::after { bottom: 5px; }
  .main-shell { min-height: calc(100vh - 210px); padding-block: 34px 58px; }
  .intro-row { align-items: flex-start; padding-top: 5px; padding-bottom: 27px; }
  .intro-stamp { display: none; }
  h1 { font-size: 48px; }
  .intro-copy { font-size: 13px; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-link { min-height: 80px; grid-template-columns: 1fr auto; align-items: center; padding: 12px 12px 12px 0; }
  .quick-link + .quick-link { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .quick-index { align-self: end; }
  .quick-title { grid-column: 1; font-size: 22px; }
  .quick-arrow { grid-column: 2; grid-row: 2; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-heading h2 { font-size: 30px; }
  .content-section { padding-top: 42px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card, .news-card-featured { grid-column: auto; min-height: 0; padding: 18px; }
  .news-card-featured h3 { font-size: 25px; }
  .news-meta { margin-bottom: 15px; }
  .page-intro { padding-bottom: 25px; }
  .page-intro h1 { font-size: 47px; }
  .map-panel { display: block; padding: 18px 13px 15px; }
  .panel-heading { align-items: flex-end; }
  .panel-heading h2 { font-size: 22px; }
  .map-key { font-size: 9px; }
  .france-map { max-height: none; }
  .overseas-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-panel { padding: 19px 15px; }
  .results-header h2 { font-size: 24px; }
  .contact-layout { grid-template-columns: 1fr; }
  .simulator-form { padding-inline: 15px; }
  .simulator-results-wrap { padding: 17px 15px; }
  .contact-address { min-height: 250px; padding: 22px; }
  .contact-email { font-size: 31px; }
  .contact-note { padding: 22px; }
  .contact-note h2 { font-size: 28px; }
  .error-shell { padding: 23px; }
  .error-shell > .brand { margin-bottom: 46px; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; justify-content: space-between; gap: 9px 16px; padding-block: 17px; }
  .footer-inner > p { width: 100%; order: 2; }
  .footer-copy { order: 3; }
  .account-shell { padding: 22px; }
  .account-shell > h1 { font-size: 36px; }
  .account-toolbar { align-items: flex-start; }
  .date-pair { grid-template-columns: 1fr; }
  .wall-post-header { flex-direction: column; gap: 7px; }
  .wall-post-header > p { margin-bottom: 0; }
  .header-cta { display: inline-block; order: 1; padding: 8px 9px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}