/* Accessibility corrections preserve the theme's typography and compact badges. */
body .legal-page__content a,
body .rm-post__body a,
body .rm-asso__story p a,
body .rm-asso__story li a,
body .login__privacy a,
body .volunteer-app-form__privacy a,
body .unicipal-privacy-notice a {
  text-decoration: underline !important;
  text-decoration-thickness: .08em !important;
  text-underline-offset: .18em;
}
body :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
body.unicipal-console-body :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
body.unicipal-console-body.unicipal-console-workspace :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #102a43 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #102a43 !important;
}
body .unicipal-pagination__status,
body.unicipal-console-body .console-empty p,
body.unicipal-console-body .console-master-panel__placeholder p { color: #52675d; }
.welcome__hero-controls .welcome__hero-pause { color: #fff; }
.welcome__hero-controls .welcome__hero-pause::before { content: none; }
.welcome__hero-controls .welcome__hero-pause svg { width: 1rem; height: 1rem; fill: currentColor; }
.welcome__hero-pause .welcome__hero-play-icon,
.welcome__hero-pause[aria-pressed="true"] .welcome__hero-pause-icon { display: none; }
.welcome__hero-pause[aria-pressed="true"] .welcome__hero-play-icon { display: block; }
.welcome__hero-controls .welcome__hero-pause[hidden] { display: none; }
.desktop-required__action:is(button) { font-family: inherit; cursor: pointer; }

/* Zoomed desktop users keep their workspace; touch users can explicitly open it. */
@media (max-width: 1023px) {
  body.unicipal-console-workspace.is-full-workspace { height: auto; min-height: 100dvh; overflow: auto; }
  body.unicipal-console-workspace.is-full-workspace > .admin-shell { display: flex; height: auto; min-height: 100dvh; overflow: visible; }
  body.unicipal-console-workspace.is-full-workspace > .desktop-required,
  body.unicipal-console-workspace.is-full-workspace > .console-mobile-skip { display: none; }
  body.unicipal-console-workspace.is-full-workspace > .console-workspace-skip { display: block; }
  .is-full-workspace .console-form-grid { grid-template-columns: minmax(0, 1fr); }
  .is-full-workspace .console-dialog { width: min(100% - 1rem, 64rem); max-width: calc(100vw - 1rem); }
  .is-full-workspace .console-dialog__body { min-width: 0; }
  .is-full-workspace .console-dialog__header,
  .is-full-workspace .console-dialog__footer { flex-wrap: wrap; }
  .is-full-workspace :is(.sports-sheet-scroll, .console-table-wrap) { max-width: 100%; overflow-x: auto; }
}
@media (forced-colors: active) {
  body :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
  body.unicipal-console-body :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
  body.unicipal-console-body.unicipal-console-workspace :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
  body.unicipal-console-body.unicipal-console-workspace :is(.manager-sidebar, .manager-topbar) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid Highlight !important;
    box-shadow: none !important;
  }
}

.public-footer__links--accessibility { margin-top: .35rem; }

body.unicipal-console-body .master-detail-panel__empty { color: #52675d; }
.unicipal-privacy-notice { margin: .9rem 0; font-size: .875rem; line-height: 1.55; color: #52675d; }
body :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="color"]):not([type="submit"]):not([type="button"]) { border-color: #6b7d73 !important; }

.subsidy-html__help { color: #52675d; font-size: .875rem; line-height: 1.6; }
.subsidy-html__instructions, .subsidy-html__model { margin-block: 1rem; padding: .75rem; border: 1px solid #82948a; border-radius: .5rem; background: #fffdf8; color: #23384c; }
.subsidy-html__instructions summary, .subsidy-html__model summary { min-height: 2.75rem; padding-block: .65rem; cursor: pointer; font-weight: 650; }
.subsidy-html__instructions p, .subsidy-html__source-page p { font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.subsidy-html__source-page { margin-block: 1.25rem; }
