/* v0.51 final presentation layer. Donate, clinical/destructive states, disabled
   controls and selected filters retain their established meaning. No text changes. */
:root{
 --v51-utility-ink:#0758BC;--v51-utility-border:#1669D8;
 --v51-magenta-start:#86115F;--v51-magenta-end:#A51974;
 --v51-magenta-hover-start:#95166B;--v51-magenta-hover-end:#B32282;
 --v51-magenta-border:#DF74C2;
}
@media screen and (forced-colors:none){
 html[data-theme="light"] body :is(.ux-page-tools>details,[data-print],.social-share-actions>.button,.purpose-search-actions>.button,.purpose-query-clear,
  form[role="search"] .button,#catalogue-clear,#clear-filters,[data-cg-clear],#nurse-clear,#clear-search,#search-clear,.v08-clear-search,[data-search-clear],.button[type="reset"]):not(.danger):not(.donate-nav-button):not(.donate-mobile):not(:disabled):not([aria-disabled="true"]){
  background:#FFFFFF!important;background-image:none!important;color:var(--v51-utility-ink)!important;
  border:1.5px solid var(--v51-utility-border)!important;box-shadow:none!important;text-shadow:none;transform:none;filter:none;
 }
 html[data-theme="light"] body .ux-page-tools>details>summary{color:var(--v51-utility-ink)!important;background:transparent!important}
 html[data-theme="light"] body :is(.ux-page-tools>details:not([open]),[data-print],.social-share-actions>.button,.purpose-search-actions>.button,.purpose-query-clear,
  form[role="search"] .button,#catalogue-clear,#clear-filters,[data-cg-clear],#nurse-clear,#clear-search,#search-clear,.v08-clear-search,[data-search-clear],.button[type="reset"]):not(:disabled):not([aria-disabled="true"]):hover{
  background:#EDF5FF!important;background-image:none!important;color:var(--v51-utility-ink)!important;box-shadow:none!important;transform:none
 }
 /* Ordinary dark actions form one family. Page-tool disclosures stay white/navy;
    the Explore action intentionally differs, including on Education routes. */
 html[data-theme="dark"] body :is(.button,.outline-links .card-links>a,.contact-band>a):not(.danger):not(.warning):not(.critical):not(.donate-nav-button):not(.donate-mobile):not([data-tone="danger"]):not([data-variant="danger"]):not(:disabled):not([aria-disabled="true"]):not([aria-pressed="true"]):not([aria-selected="true"]):not([data-print]),
 html[data-theme="dark"] body #main:has(>.hero.education) .ux-page-tools>.button.exp-map-button:not(:disabled):not([aria-disabled="true"]){
  background:linear-gradient(115deg,var(--v51-magenta-start),var(--v51-magenta-end))!important;
  color:#FFFFFF!important;border:1.5px solid var(--v51-magenta-border)!important;
  box-shadow:none!important;text-shadow:none;filter:none;transform:none;
  transition:background-color 150ms ease,border-color 150ms ease;
 }
 html[data-theme="dark"] body :is(.button,.outline-links .card-links>a,.contact-band>a):not(.danger):not(.warning):not(.critical):not(.donate-nav-button):not(.donate-mobile):not([data-tone="danger"]):not([data-variant="danger"]):not(:disabled):not([aria-disabled="true"]):not([aria-pressed="true"]):not([aria-selected="true"]):not([data-print]):hover,
 html[data-theme="dark"] body #main:has(>.hero.education) .ux-page-tools>.button.exp-map-button:not(:disabled):not([aria-disabled="true"]):hover{
  background:linear-gradient(115deg,var(--v51-magenta-hover-start),var(--v51-magenta-hover-end))!important;
  color:#FFFFFF!important;border-color:#F4A5D8!important;box-shadow:none!important;filter:none;transform:none
 }
 html[data-theme="dark"] body :is(.button,.contact-band>a):not(.donate-nav-button):not(.donate-mobile):focus-visible{outline:3px solid #FFB1E4;outline-offset:3px}
 html[data-theme="light"] body :is(.button,.purpose-search-help>summary):focus-visible{outline:3px solid #0758BC;outline-offset:3px}
 html[data-theme="dark"] body .outreach-kicker{color:#9BC9FF!important}
 html[data-theme="light"] body .outreach-kicker{color:#0758BC!important}
}
/* One action row below the search field: actions left, optional help right.
   The DOM order matches the visual order for keyboard and screen-reader users. */
.purpose-field-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:.5rem!important}
.purpose-field-row>label{width:100%;min-width:0}
.purpose-search-assist{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem 1rem;align-items:start;margin:.65rem 0 1rem}
.purpose-search-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;min-width:0}
.purpose-search-actions>.button{min-height:44px;white-space:normal}
.purpose-search-help{min-width:0;max-width:34rem;justify-self:end;font-size:.83rem}
.purpose-search-help>summary{min-height:44px;padding:.7rem .45rem;cursor:pointer;text-align:right;color:var(--muted)}
.purpose-search-help[open]{width:min(100%,34rem)}
.purpose-search-help p{padding:.7rem .85rem;border:1px solid var(--border);border-radius:10px;background:var(--panel,#fff);margin:.2rem 0;line-height:1.65}
.purpose-search-error{grid-column:1/-1}
/* Platform links are navigations, not embedded feeds or official-account claims. */
.outreach-destination{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:inherit;text-decoration:none!important;min-width:0;border-radius:12px;padding:8px 3px}
.outreach-destination:focus-visible{outline:3px solid var(--theme-focus,#146bfa);outline-offset:4px}
.outreach-destination:hover .outreach-circle{border-color:#6CA7FF;box-shadow:0 0 0 2px rgba(81,141,229,.18)}
.outreach-link-kind{font-size:.69rem;line-height:1.45;color:var(--muted);text-align:center}
.social-outreach .outreach-disclosure{font-size:.77rem;max-width:66ch}
.social-outreach .outreach-circle{transition:border-color 160ms ease,box-shadow 160ms ease}
/* The Alpine motion study is secondary to task entry and never autoplays. */
.alpine-story{margin:1.5rem 0 2rem;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(17rem,.85fr);border:1px solid var(--border);border-radius:20px;overflow:hidden;background:var(--panel,#fff);isolation:isolate}
.alpine-scene{position:relative;min-height:310px;overflow:hidden;background:#0D1B2F;display:grid;align-items:stretch}
.alpine-scene svg{width:100%;height:100%;min-height:310px;display:block;object-fit:cover}
.alpine-scene-label{position:absolute;left:22px;top:18px;color:#DFECFB;font-size:.65rem;letter-spacing:.19em;text-transform:uppercase;font-weight:700;z-index:1}
.alpine-scene-caption{position:absolute;left:22px;bottom:18px;color:#fff;max-width:34ch;font-size:.8rem;line-height:1.5;z-index:1;text-shadow:0 1px 4px #081426}
.alpine-copy{padding:clamp(22px,3vw,40px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.alpine-eyebrow{color:#0758BC;font-size:.7rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;margin:0 0 .7rem}
.alpine-copy h2{font-size:clamp(1.4rem,2.4vw,2rem);line-height:1.18;margin:0 0 .8rem;max-width:18ch;letter-spacing:-.025em}
.alpine-copy>p{font-size:.9rem;line-height:1.7}
.alpine-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.7rem 0}
.alpine-actions>.button{min-height:44px}
.alpine-progress{width:100%;height:4px;border:0;border-radius:4px;accent-color:#AD3984;margin:.6rem 0}
.alpine-progress::-webkit-progress-bar{background:#DDE7F3;border-radius:4px}
.alpine-progress::-webkit-progress-value{background:#A51974;border-radius:4px}
.alpine-status{font-size:.76rem!important;min-height:1.4em;margin:.25rem 0;color:var(--muted)}
.alpine-about{font-size:.78rem;line-height:1.65;margin-top:.4rem;color:var(--muted)}
.alpine-about summary{cursor:pointer;min-height:44px;padding:.7rem 0;font-weight:600}
.alpine-about p{margin:.3rem 0}
html[data-theme="dark"] .alpine-story{background:#101C2D;border-color:#304259}
html[data-theme="dark"] .alpine-eyebrow{color:#9BC9FF}
html[data-theme="dark"] .alpine-progress::-webkit-progress-bar{background:#25384D}
html[data-theme="dark"] .alpine-progress::-webkit-progress-value{background:#DF74C2}
@media(max-width:860px){.alpine-story{grid-template-columns:1fr}.alpine-scene,.alpine-scene svg{min-height:0;height:auto;aspect-ratio:2/1}.alpine-copy{padding:24px}.alpine-copy h2{max-width:none}}
@media(max-width:600px){.purpose-search-assist{grid-template-columns:minmax(0,1fr)}.purpose-search-help{justify-self:stretch;max-width:none}.purpose-search-help>summary{text-align:left}.purpose-search-actions{gap:.45rem}.purpose-search-help[open]{width:100%}.alpine-scene-caption{font-size:.7rem;bottom:12px}.alpine-scene-label{font-size:.55rem;top:12px}.alpine-copy{padding:20px}.alpine-story{border-radius:16px}.outreach-link-kind{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){.alpine-story *,.outreach-destination *{animation:none!important;transition:none!important}}
html[data-motion="reduced"] .alpine-story *,html[data-motion="reduced"] .outreach-destination *{animation:none!important;transition:none!important}
@media(forced-colors:active){.alpine-story{border:1px solid CanvasText;background:Canvas}.alpine-actions .button,.purpose-search-actions .button{background:ButtonFace;color:ButtonText;border:1px solid ButtonText;box-shadow:none}.alpine-scene{forced-color-adjust:none}.outreach-destination{border:1px solid LinkText}.outreach-circle{forced-color-adjust:none}.outreach-kicker,.alpine-eyebrow{color:CanvasText!important}}
@media print{.alpine-story{display:none}.outreach-link-kind{color:#222}.purpose-search-assist{display:none}}
@media(min-width:961px){.social-outreach{grid-template-columns:minmax(0,.95fr) minmax(0,1.55fr)}.social-outreach .outreach-platforms{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.social-outreach .outreach-platform{min-width:0}.social-outreach .outreach-circle{width:54px;height:54px}.social-outreach .outreach-link-kind{font-size:.64rem}}
