@charset "UTF-8";
/* Fichier développé par dms-tech.fr */
:root {
  --blue: #082f52;
  --orange: #f47a00;
  --orange-2: #ff9d2e;
  --blue-2: #0c416f;
  --ink: #152536;
  --muted: #5c6d7d;
  --line: #e1e8ef;
  --soft: #f6f9fc;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    16px/1.65 Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  background: #fff;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #08233b;
  border: 0;
  border-radius: 10px;
  padding: 12px 21px;
  font-weight: 750;
  cursor: pointer;
  display: inline-block;
}
button:hover,
.button:hover {
  background: #ff9d2e;
  text-decoration: none;
}
.button.secondary {
  background: #e9f0f7;
}
.link {
  background: none;
  color: var(--blue);
  padding: 0;
  font-weight: 500;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #a9b9c7;
  border-radius: 9px;
  padding: 11px 13px;
  background: white;
  color: var(--ink);
  margin-top: 7px;
}
input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-right: 10px;
}
textarea {
  resize: vertical;
}
label {
  font-weight: 600;
}
small,
.muted {
  color: var(--muted);
}
:focus-visible {
  outline: 3px solid #f47a00;
  outline-offset: 4px;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}
.topline {
  background: var(--blue);
  color: white;
  font-size: 12px;
  padding: 7px 0;
  letter-spacing: 0.03em;
}
.topline .wrap {
  display: flex;
  justify-content: space-between;
}
header {
  border-bottom: 1px solid var(--line);
  background: white;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 93px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 21px;
  font-weight: 850;
  white-space: nowrap;
  letter-spacing: -0.7px;
}
.brand b,
footer strong span {
  color: var(--orange);
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.2px;
  margin-top: -3px;
}
.brand img {
  object-fit: contain;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 13px;
  font-weight: 650;
}
.menu {
  display: none;
}
.staging {
  text-align: center;
  background: #fff5e8;
  color: #744100;
  font-size: 11px;
  padding: 4px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 58px 0 45px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  color: var(--orange);
}
.hero h1 {
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 16px 0 24px;
  color: var(--blue);
}
h1 span {
  color: var(--orange);
}
.lead {
  font-size: 18px;
  color: #485c6c;
  max-width: 590px;
}
h1,
h2,
h3 {
  line-height: 1.25;
  color: var(--blue);
}
h2 {
  font-size: 29px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 20px;
}
p {
  margin: 12px 0 20px;
}
.search-panel {
  margin-top: 25px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.search-panel form {
  display: flex;
  align-items: end;
  gap: 8px;
}
.search-panel label {
  flex: 1;
  font-size: 13px;
}
.search-panel button {
  white-space: nowrap;
}
.trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-top: 18px;
}
.trust span::first-letter {
  color: #178363;
}
.map-panel {
  background: var(--soft);
  border-radius: 26px;
  padding: 20px;
  position: relative;
  text-align: center;
  border: 1px solid var(--line);
}
.map-panel svg {
  width: 100%;
  height: auto;
  max-height: 435px;
}
.map-panel path {
  fill: #d8e5ef;
  stroke: #fff;
  stroke-width: 1;
  transition: fill 0.15s;
}
.map-panel a:hover path,
.map-panel a:focus path {
  fill: var(--orange);
}
.map-panel text {
  font-size: 6px;
  fill: #082f52;
  pointer-events: none;
}
.map-panel .legend {
  font-size: 11px;
  line-height: 1.4;
}
.overseas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 8px;
}
.overseas a {
  padding: 3px 7px;
  font-size: 11px;
  border: 1px solid #cbd8e2;
  border-radius: 5px;
}
.section {
  padding: 45px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.card h3 {
  margin: 6px 0 14px;
}
.card p {
  color: var(--muted);
}
.number {
  color: var(--orange);
  font-size: 30px;
  font-weight: 850;
}
.brand-story {
  background: var(--soft);
  border-radius: 24px;
  padding: 30px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 35px;
  align-items: center;
}
.brand-story img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}
.notice {
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  background: #fff7ed;
  border-radius: 5px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.full {
  grid-column: 1/-1;
}
.honeypot {
  position: absolute;
  left: -9999px;
}
.page-head {
  padding: 35px 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.page-head h1 {
  font-size: 35px;
}
.workspace-nav {
  display: flex;
  gap: 23px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.workspace-nav form {
  margin-left: auto;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 15px 0 30px;
}
.stats .card {
  padding: 20px;
}
.stats strong {
  font-size: 32px;
  display: block;
  color: var(--blue);
}
.table-scroll {
  overflow: auto;
  margin: 20px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
}
th {
  background: var(--soft);
  font-size: 12px;
  color: var(--muted);
}
tr:hover td {
  background: #fafcfe;
}
.pill {
  display: inline-block;
  border-radius: 30px;
  background: #edf3f9;
  color: var(--blue);
  padding: 4px 12px;
  font-size: 12px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}
.filters label {
  flex: 1;
  min-width: 130px;
  font-size: 12px;
}
.filters input,
.filters select {
  padding: 8px;
}
.admin-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 25px;
}
.admin-menu a {
  padding: 7px 14px;
  background: var(--soft);
  border-radius: 7px;
}
.timeline {
  padding-left: 22px;
  border-left: 2px solid var(--line);
}
.timeline p {
  font-size: 14px;
}
.empty {
  padding: 40px;
  text-align: center;
  background: var(--soft);
  border-radius: 15px;
}
.content {
  max-width: 900px;
  margin: 30px auto;
}
.content .container {
  width: 100%;
}
.content .section {
  padding: 20px 0;
}
.content .grid-2,
.content .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.content .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.content img {
  max-width: 100%;
}
.content .btn {
  display: inline-block;
  padding: 10px 16px;
  background: var(--orange);
  border-radius: 10px;
}
.content .list li {
  margin-bottom: 9px;
}
footer {
  background: var(--blue);
  color: #dce7f1;
  margin-top: 55px;
  padding: 38px 0 15px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 30px;
}
footer a {
  display: block;
  color: #dce7f1;
  margin-bottom: 8px;
}
footer strong {
  font-size: 24px;
  color: white;
}
.footnote {
  border-top: 1px solid #31516d;
  margin-top: 25px;
  padding-top: 18px;
  font-size: 11px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  padding: 8px;
  background: white;
  z-index: 99;
}
.skip:focus {
  top: 5px;
}
.errors {
  color: #a62626;
}
.department-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.department-list a {
  padding: 10px;
  background: var(--soft);
  border-radius: 7px;
  font-size: 13px;
}
.metric-bar {
  height: 9px;
  background: var(--orange);
  border-radius: 4px;
}
@media (max-width: 1050px) {
  .nav nav {
    gap: 11px;
    font-size: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .hero {
    gap: 30px;
  }
  .search-panel form {
    display: block;
  }
  .search-panel button {
    margin-top: 10px;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .nav {
    min-height: 76px;
  }
  .menu {
    display: block;
    padding: 8px 12px;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    background: white;
    z-index: 8;
    padding: 25px;
    box-shadow: 0 8px 20px #082f5230;
    flex-direction: column;
    align-items: stretch;
  }
  .nav nav.open {
    display: flex;
  }
  .topline span {
    display: none;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 35px;
    gap: 30px;
  }
  .hero h1 {
    font-size: 41px;
  }
  .map-panel {
    width: 100%;
  }
  .map-panel svg {
    max-height: 350px;
  }
  .grid-3,
  .grid-2,
  .form-grid,
  .footer-grid,
  .content .grid-2,
  .content .grid-3,
  .content .hero-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-story {
    grid-template-columns: 1fr;
  }
  .brand-story img {
    width: 180px;
    margin: auto;
  }
  .department-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-head,
  .section-heading {
    display: block;
  }
  .page-head h1 {
    font-size: 29px;
  }
  .workspace-nav {
    gap: 14px;
  }
  .workspace-nav form {
    margin: 0;
  }
  .card {
    padding: 20px;
  }
  .form-grid {
    gap: 16px;
  }
  .section {
    padding: 25px 0;
  }
  input,
  select,
  textarea {
    min-height: 46px;
  }
}
.map-panel .heat-0 path {
  fill: #e5edf3;
}
.map-panel .heat-1 path {
  fill: #ffd9b3;
}
.map-panel .heat-2 path {
  fill: #ffc185;
}
.map-panel .heat-3 path {
  fill: #ffa94d;
}
.map-panel .heat-4 path {
  fill: #f47a00;
}
.map-panel .heat-5 path {
  fill: #ac4700;
}
@media (max-width: 480px) {
  .nav {
    gap: 10px;
  }
  .brand {
    font-size: 15px;
    letter-spacing: -0.5px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .menu {
    padding: 8px 10px;
  }
  .form-grid > * {
    min-width: 0;
  }
  .hero h1 {
    font-size: 36px;
  }
}

/* Owner journey: same national palette and shared components. */
.entry-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.entry-actions a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid #d9e3ed;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}
.entry-actions a:first-child {
  background: #082f52;
  color: #fff;
}
.entry-actions span {
  font-size: 0.9rem;
}
.diagnostic-progress {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.diagnostic-progress li {
  padding: 10px 15px;
  background: #edf2f7;
  border-radius: 8px;
  font-size: 0.9rem;
}
.diagnostic-progress [aria-current] {
  background: #082f52;
  color: white;
}
.money-lines div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #e1e7ee;
}
.money-lines dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}
.money-result {
  font-size: 1.18rem;
  color: #082f52;
}
.urgency-critique,
.urgency-urgent {
  background: #fff0e4;
  color: #833800;
}
.owner-timeline {
  list-style: none;
  border-left: 3px solid #f47a00;
  margin-left: 8px;
  padding-left: 24px;
}
.owner-timeline li {
  margin: 24px 0;
}
.owner-timeline time {
  font-size: 0.85rem;
  color: #576778;
}
.access-code {
  font-size: 1.65rem;
  letter-spacing: 0.13em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
details > summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
}
.card + .card {
  margin-top: 16px;
}
.grid-3 > .card + .card,
.grid-2 > .card + .card,
.stats > .card + .card {
  margin-top: 0;
}
.form-grid small {
  font-weight: 400;
  color: #596b7b;
}
.nav nav {
  gap: 14px;
  font-size: 0.9rem;
}
input,
select,
textarea {
  max-width: 100%;
}
.card {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .entry-actions {
    grid-template-columns: 1fr;
  }
  .entry-actions a {
    padding: 16px;
  }
  .diagnostic-progress li {
    flex: 1 1 40%;
  }
  .money-lines div {
    flex-direction: column;
    gap: 6px;
  }
  .money-lines dd {
    text-align: left;
    white-space: normal;
  }
  .access-code {
    letter-spacing: 0.06em;
  }
}

@media (max-width: 1100px) {
  header {
    position: relative;
  }
  .menu {
    display: block;
    padding: 8px 12px;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    z-index: 8;
    padding: 25px;
    box-shadow: 0 8px 20px #082f5230;
    flex-direction: column;
    align-items: stretch;
  }
  .nav nav.open {
    display: flex;
  }
}

.privacy-dialog {
  width: min(850px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: white;
  box-shadow: 0 16px 70px #082f5240;
  overscroll-behavior: contain;
}
.privacy-dialog::backdrop {
  background: #082f5280;
}
.privacy-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 16px 24px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.privacy-dialog > .content {
  padding: 24px;
  margin: 0;
  max-width: none;
}
.privacy-dialog-bottom {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.privacy-dialog .page-hero {
  padding-top: 0;
}
.privacy-dialog h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}
.form-grid p > [data-privacy-dialog] {
  display: inline-block;
}

/* Shared form sizing, including native date controls on mobile Safari. */
input,
select,
textarea {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  min-inline-size: 0;
  width: 100%;
  max-width: 100%;
}
input::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: left;
}
input::-webkit-datetime-edit {
  min-width: 0;
  padding: 0;
}
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid > *,
.grid-2 > *,
.grid-3 > *,
.filters > *,
.page-head > *,
.section-heading > * {
  min-width: 0;
}
.form-grid label {
  display: block;
}
.form-grid label:has(> input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-grid input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
}
.filters label {
  flex: 1 1 160px;
  min-width: 0;
}
.filters input,
.filters select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.page-head,
.section-heading {
  flex-wrap: wrap;
}
button,
.button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
}
main {
  min-width: 0;
}
main h1,
main h2,
main h3,
main p,
main a {
  overflow-wrap: break-word;
}
.table-scroll {
  min-width: 0;
  max-width: 100%;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.push-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.push-actions > button {
  flex: 1 1 250px;
}
.push-settings .secondary {
  background: #e9f0f7;
  color: var(--blue);
  box-shadow: none;
}
.push-settings #push-status:empty {
  display: none;
}
@media (max-width: 800px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
    min-height: 46px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid .full {
    grid-column: 1/-1;
  }
  .form-grid {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  .filters label {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .filters input,
  .filters select {
    font-size: 16px;
    line-height: 1.5;
    min-height: 46px;
    padding: 10px 12px;
  }
  .filters > button,
  .push-actions > button {
    width: 100%;
  }
  .push-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .page-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .page-head h1 {
    font-size: clamp(24px, 6.5vw, 29px);
    margin: 0;
  }
  .page-head > .button {
    text-align: center;
    align-self: flex-start;
  }
  .form-grid .full > button {
    width: 100%;
  }
  .empty {
    padding: 24px 18px;
  }
  .actions {
    gap: 12px;
  }
  .actions > * {
    max-width: 100%;
  }
  .privacy-dialog-bar,
  .privacy-dialog > .content,
  .privacy-dialog-bottom,
  .privacy-dialog .reference-content {
    padding: 16px;
  }
}

/* Installation controls shared by public and professional footers. */
.pwa-install {
  box-sizing: border-box;
  width: 420px;
  max-width: calc(100% - 28px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--blue);
  background: white;
  box-shadow: 0 18px 60px #082f5233;
}
.pwa-install::backdrop {
  background: #082f5280;
}
.pwa-install > img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
}
.pwa-install h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.pwa-install p,
.pwa-install-help {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
  overflow-wrap: anywhere;
}
.pwa-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pwa-install-actions button {
  min-height: 44px;
  flex: 1;
  padding: 12px 16px;
  font-size: 16px;
}
.pwa-install-actions .secondary {
  background: #edf3f8;
  color: var(--blue);
}
.pwa-install [hidden] {
  display: none !important;
}
.pwa-install-help {
  padding-left: 22px;
}
.pwa-install-help li + li {
  margin-top: 12px;
}
.pwa-install-help.pwa-install-steps {
  padding: 0;
  list-style: none;
}
.pwa-install-steps li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
.pwa-install-steps li + li {
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.pwa-step-icon {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 12px;
  background: #edf3f8;
  color: var(--blue);
}
.pwa-step-add {
  font-size: 14px;
  font-weight: 700;
}
.pwa-install-steps strong,
.pwa-install-steps li > div > span {
  display: block;
}
.pwa-install-steps strong {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 5px;
}
.pwa-install-steps li > div > span {
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 420px) {
  .pwa-install {
    padding: 20px;
  }
  .pwa-install-steps li {
    gap: 10px;
  }
}
:is(.public-site, .admin-workspace) footer button.footer-install {
  display: block;
  background: none;
  box-shadow: none;
  color: inherit;
  border: 0;
  border-radius: 4px;
  padding: 8px 0;
  margin: 0;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  white-space: normal;
}
:is(.public-site, .admin-workspace) footer button.footer-install:hover {
  background: none;
  color: var(--orange);
}
.admin-workspace .workspace-footer button.footer-install {
  color: var(--blue);
}
footer button.footer-install[hidden] {
  display: none !important;
}

:is(.public-site, .admin-workspace) .pwa-install .pwa-install-actions button.secondary {
  background: #edf3f8;
  color: var(--blue);
  border-radius: 10px;
  box-shadow: none;
}
.local-profile {
  max-width: 980px;
}
.local-profile h3 {
  margin-top: 32px;
}
.local-profile li {
  margin: 10px 0;
}
.local-housing-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--blue);
  padding: 0 0 14px;
}
.local-housing-table th[scope="row"] {
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  width: 54%;
  font-size: 14px;
}
.local-housing-table td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.local-sources {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-top: 24px;
}
.local-sources summary {
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}
.local-sources p {
  font-size: 14px;
  margin: 16px 0 0;
}
.local-city-links {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.local-city-links a {
  padding: 16px;
  overflow-wrap: anywhere;
}
.local-city-links strong {
  font-size: 16px;
}
.local-housing-table:focus-visible {
  outline-offset: 1px;
}
@media (max-width: 480px) {
  .local-housing-table th,
  .local-housing-table td {
    padding: 10px 6px;
    font-size: 12px;
  }
  .local-housing-table th[scope="row"] {
    font-size: 12px;
    width: 48%;
  }
  .local-housing-table th[scope="col"] {
    overflow-wrap: anywhere;
  }
  .local-sources {
    padding: 14px;
  }
}

footer .footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 24px;
}
footer .footnote > span {
  flex: 1 1 420px;
}
footer a.footer-credit {
  margin: 0 0 0 auto;
  text-align: right;
  max-width: 100%;
}
