/* Version 2. Native components; no legacy cascade or per-page visual overrides. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
html:has(dialog[open]) { overflow: hidden; }
body { margin: 0; font: 400 var(--type-body)/var(--leading-body) var(--font-body); color: var(--text); background: transparent; -webkit-text-size-adjust: 100%; }
.v2-foundation { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 100% 0,#eaf3f8,transparent 52%),#fff; }
.v2-foundation img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--ink); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
::selection { background: #ffe4bc; color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: var(--leading-heading); letter-spacing: -.035em; margin: 0 0 20px; font-weight: 750; text-wrap: pretty; }
h1 { font-size: var(--type-title); }
h2 { font-size: var(--type-section); }
h3 { font-size: var(--type-subheading); }
p { margin: 0 0 18px; }
fieldset { padding: 0; border: 0; min-width: 0; }
iframe { width: 100%; border: 0; }
svg { flex: 0 0 auto; }
.v2-icon { width: 22px; height: 22px; vertical-align: middle; }
.v2-container { width: min(var(--content-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.v2-section { padding-block: var(--section-space); }
.v2-section-head { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 28px; }
.v2-section-head h2 { margin: 0; }
.v2-section-head p { margin: 10px 0 0; max-width: 55em; color: var(--muted); font-size: var(--type-control); }
.v2-section-head > a { flex-shrink: 0; min-width: 176px; }
.v2-action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-block: 24px 0; }
.v2-action-row > [data-ui=action] { margin: 0; min-width: 176px; }
.v2-eyebrow { color: var(--muted); font-size: var(--type-caption); font-weight: 600; letter-spacing: .035em; }
.v2-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.v2-skip { position: fixed; z-index: 100000; top: 8px; left: 8px; padding: 12px 20px; background: var(--surface); transform: translateY(-160%); }
.v2-skip:focus { transform: none; }

/* One action vocabulary. The primary ink remains legible on the orange fill. */
[data-ui=action], .v2-button, .local-donate-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--control-height); padding: 12px 20px; border: 1px solid var(--line-control); border-radius: var(--radius-control); color: var(--ink); background: var(--surface); font: 600 var(--type-control)/1.35 var(--font-body); text-decoration: none; text-align: center; transition: background-color var(--duration-feedback) var(--ease-feedback), color var(--duration-feedback) var(--ease-feedback), border-color var(--duration-feedback) var(--ease-feedback), box-shadow 200ms var(--ease-feedback), transform 200ms var(--ease-feedback); }
[data-variant=primary], .v2-button--primary, .local-donate-submit { background: var(--action-fill); color: var(--text-on-accent); border-color: transparent; box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 4px 12px rgb(8 46 82 / .14); }
:is([data-ui=action],.v2-button,.local-donate-submit):is(:hover,:focus-visible) { color: var(--action-hover-text); background: var(--action-hover-fill); border-color: var(--action-hover-fill); box-shadow: 0 5px 16px rgb(8 46 82 / .16); text-decoration: none; }
[data-ui=action] > .v2-icon, .v2-button > .v2-icon { transition: transform 200ms var(--ease-feedback); }
.v2-button--secondary:is(:hover,:focus-visible) > .v2-icon, .local-child-story:is(:hover,:focus-visible) > .v2-icon { transform: translateX(3px); }
.local-child-help > .v2-icon { transform-origin: center; }
.local-child-help:is(:hover,:focus-visible) > .v2-icon { animation: heart-response 650ms var(--ease-feedback); }
.local-child-help:is(:hover,:focus-visible) > .v2-icon path { stroke-dasharray: 1; animation: heart-outline 700ms var(--ease-feedback); }
@keyframes heart-response { 0%,100% { transform: scale(1); } 35% { transform: scale(1.15); } 65% { transform: scale(1.04); } }
@keyframes heart-outline { from { stroke-dashoffset: 1; stroke: var(--icon-accent); } to { stroke-dashoffset: 0; stroke: currentColor; } }
[data-ui=action]:active, .v2-button:active, .local-donate-submit:active, .v2-menu-button:active { transform: scale(.96); transition-duration: 100ms; }
.v2-text-link { display: inline-flex; align-items: center; gap: 8px; font-size: var(--type-small); font-weight: 550; text-decoration: underline; text-decoration-color: var(--line-control); }
.v2-text-link:hover { text-decoration-color: currentColor; }

/* Functional glass: the shared navigation and mobile sheet. */
.v2-header { position: sticky; top: 14px; z-index: 100; width: min(var(--content-width),calc(100% - 2 * var(--page-gutter))); margin: 14px auto var(--page-entry-gap); border-radius: 24px; background: rgb(255 255 255 / .87); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); border: 1px solid rgb(255 255 255 / .95); box-shadow: inset 0 1px 0 #fff,0 2px 4px rgb(8 46 82 / .025),0 14px 36px -14px rgb(8 46 82 / .16); }
.v2-header .v2-container { width: calc(100% - 36px); }
.v2-nav { display: flex; align-items: center; gap: 22px; min-height: var(--header-height); }
.v2-brand { display: block; flex-shrink: 0; }
.v2-brand img { width: var(--brand-menu-width,205px); height: 70px; object-fit: contain; object-position: left center; }
.v2-nav__links { display: flex; align-items: center; justify-content: center; gap: 4px; margin-left: auto; }
.v2-nav__links > a { min-height: 44px; display: flex; align-items: center; padding: 8px 10px; color: var(--ink); font-size: var(--type-control); font-weight: 600; text-decoration: none; border-radius: var(--radius-detail); transition: background-color 150ms var(--ease-feedback); }
.v2-nav__links > a:hover, .v2-nav__links > a[aria-current] { background: var(--blue); }
.v2-nav__donate { padding-inline: 18px; white-space: nowrap; }
.v2-menu-button { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-control); transition: background-color 150ms var(--ease-feedback),transform 150ms var(--ease-feedback); }
.v2-menu-button:hover { background: var(--blue); }
.v2-menu { position: fixed; inset: 20px 20px auto auto; width: min(420px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px); padding: 28px; margin: 0; border: 1px solid rgb(255 255 255 / .9); border-radius: 24px; background: rgb(255 255 255 / .96); box-shadow: var(--shadow-floating); color: var(--ink); }
.v2-menu::backdrop, .local-dialog::backdrop { background: rgb(8 30 48 / .42); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.v2-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.v2-menu__head h2 { margin: 0; font-size: var(--type-panel-title); }
.v2-menu__head button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }
.v2-menu nav { display: grid; }
.v2-menu nav a { padding: 12px 14px; min-height: 48px; border-radius: 10px; font-weight: 550; text-decoration: none; }
.v2-menu nav a:hover, .v2-menu nav a[aria-current] { background: var(--blue); }
.v2-menu__bottom { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.v2-menu__bottom a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: var(--type-small); }

/* A real photograph carries the opening, with a separate mobile composition. */
.v2-hero { position: relative; isolation: isolate; width: min(var(--content-width),calc(100% - 2 * var(--page-gutter))); margin-inline: auto; overflow: clip; border-radius: 24px; background: var(--surface-subtle); }
.v2-hero__picture { position: absolute; inset: 0; z-index: -2; }
.v2-hero__picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.v2-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgb(252 250 246 / .97),rgb(252 250 246 / .76) 32%,rgb(252 250 246 / .08) 62%,transparent 75%); }
.v2-hero__inner { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; width: calc(100% - 64px); min-height: 530px; margin-inline: auto; }
.v2-hero__copy { grid-column: 1 / 7; max-width: 590px; align-self: start; padding-block: var(--page-entry-inset) 24px; }
.v2-hero .v2-eyebrow { font-size: var(--type-micro); margin-bottom: 18px; max-width: 31em; }
.v2-hero h1 { max-width: 10.6em; font-size: var(--type-hero); line-height: 1.04; font-weight: 800; letter-spacing: -.045em; margin-bottom: 22px; }
.v2-hero h1 em { display: block; color: var(--accent-ink); font-style: normal; }
.v2-hero h1 em > span { background: linear-gradient(transparent 78%,var(--hero-highlight) 78%,var(--hero-highlight) 94%,transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.v2-lead { font-size: var(--type-reading); line-height: 1.5; max-width: 28em; margin-bottom: 26px; }
.v2-hero .v2-actions { gap: 12px; }
.v2-hero__trust { display: flex; align-items: center; gap: 8px; margin: -8px 0 18px; color: var(--ink); font-size: var(--type-small); line-height: 1.45; }
.v2-hero__trust strong { font-weight: 600; }
.v2-hero__trust > .v2-icon { width: 24px; height: 24px; }
.v2-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding-top: 26px; }
.v2-benefit { display: flex; align-items: flex-start; gap: 14px; padding: 20px 16px; border-radius: var(--radius-panel); background: var(--surface-subtle); text-decoration: none; transition: background-color 150ms var(--ease-feedback),transform 200ms var(--ease-feedback); }
.v2-benefit:hover { background: var(--blue); transform: translateY(-2px); text-decoration: none; }
.v2-symbol { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; border: 1px solid #fff; background: linear-gradient(145deg,#fff,var(--icon-fill)); color: var(--icon-ink); box-shadow: inset 0 1px #fff,0 3px 8px rgb(8 46 82 / .045); }
.v2-symbol .v2-icon { width: 30px; height: 30px; }
.v2-benefit-icon { width: 42px; height: 42px; color: var(--icon-ink); }
.v2-benefit strong { display: block; font-size: var(--type-small); line-height: 1.3; margin-bottom: 5px; }
.v2-benefit small { display: block; font-size: var(--type-caption); color: var(--muted); line-height: 1.45; }

/* Fundraising cards share their DOM and scale in every collection. */
.v2-fund-grid { display: grid; grid-template-columns: repeat(var(--card-count,3),minmax(0,1fr)); gap: 24px; align-items: stretch; }
.v2-fund-grid:has(> :only-child) { max-width: 390px; }
.v2-fund-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: clip; background: var(--surface); box-shadow: 0 2px 5px rgb(8 46 82 / .025); transition: box-shadow 220ms var(--ease-feedback), transform 220ms var(--ease-feedback); }
.v2-fund-card:hover { box-shadow: 0 10px 30px rgb(8 46 82 / .08); transform: translateY(-3px); }
:is(.dv26-child__media,.dvu-child__media) { position: relative; }
:is(.dv26-child__photo,.dvu-child__photo) { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue); outline: 1px solid rgb(0 0 0 / .1); outline-offset: -1px; }
:is(.dv26-child__photo,.dvu-child__photo) img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
[data-fund-status=active] { --status-fill: var(--campaign-active); --status-text: var(--campaign-on-active,var(--campaign-on-color)); }
[data-fund-status=urgent] { --status-fill: var(--campaign-urgent); --status-text: var(--campaign-on-urgent,var(--campaign-on-color)); }
[data-fund-status=rehabilitation] { --status-fill: var(--campaign-rehabilitation); --status-text: var(--campaign-on-rehabilitation,var(--campaign-on-color)); }
[data-fund-status=treatment] { --status-fill: var(--campaign-treatment); --status-text: var(--campaign-on-treatment,var(--campaign-on-color)); }
[data-fund-status=closed] { --status-fill: var(--campaign-closed); --status-text: var(--campaign-on-closed); }
:is(.dv26-child__status,.dvu-child__status) { position: absolute; inset: 12px 12px auto auto; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 24px); padding: 6px 10px; border: 1px solid rgb(0 0 0 / .06); border-radius: 8px; background: var(--status-fill); color: var(--status-text); font-size: var(--type-micro); font-weight: 600; box-shadow: 0 2px 5px rgb(0 0 0 / .06); }
:is(.dv26-child__body,.dv32-child-body) { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.v2-fund-card :is(h2,h3) { font-size: var(--type-card); line-height: 1.25; margin-bottom: 5px; }
.v2-fund-card :is(h2,h3) a { color: var(--ink); text-decoration: none; }
:is(.dv26-child__meta,.dvu-child__meta,.local-child-diagnosis) { color: var(--muted); font-size: var(--type-small); line-height: 1.5; margin: 0 0 12px; }
.local-child-diagnosis { color: var(--text); }
.local-child-diagnosis > span { display: inline; font: inherit; color: var(--muted); margin-right: 6px; }
:is(.dv26-child__funding,.dvu-child__funding) { margin-top: auto; padding-top: 12px; }
:is(.dv26-progress,.dvu-progress,.dv-child-page__bar) { height: 7px; border-radius: 20px; background: var(--blue); overflow: hidden; }
:is(.dv26-progress,.dvu-progress,.dv-child-page__bar) > span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
[data-fund-status=closed] :is(.dv26-progress,.dvu-progress) > span, .is-closed .dv-child-page__bar > span { background: var(--closed-text); }
:is(.dv26-money,.dvu-money) { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 8px; margin-top: 10px; font-variant-numeric: tabular-nums; }
:is(.dv26-money,.dvu-money) b { font-size: var(--type-body); font-weight: 700; color: var(--ink); }
:is(.dv26-money,.dvu-money) > span { color: var(--muted); font-size: var(--type-small); }
.local-child-actions { display: grid; gap: 8px; margin-top: 14px; }
.v2-fund-card :is(.local-child-help,.local-child-story) { width: 100%; }
.local-child-story { background: var(--blue); border-color: var(--line-control); color: var(--ink); font-size: var(--type-control); min-height: var(--control-height); box-shadow: inset 0 1px #fff; }
.local-child-story .v2-icon { order: 2; width: 18px; height: 18px; }
.v2-section-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; margin-top: 24px; border: 1px solid var(--line-control); border-radius: var(--radius-panel); background: var(--blue); }
.v2-section-end h3 { margin: 0 0 6px; font-size: var(--type-subheading); }
.v2-section-end p { margin: 0; color: var(--text); font-size: var(--type-control); }
.v2-section-end > .v2-button { flex-shrink: 0; min-width: 210px; }

/* Recurring giving has one editable form and a calm, substantial glass surface. */
.v2-monthly { position: relative; isolation: isolate; overflow: clip; width: min(var(--content-width),calc(100% - 2 * var(--page-gutter))); margin-inline: auto; padding-block: 42px 24px; border-radius: 24px; background: var(--surface); }
.v2-monthly > .v2-container { width: calc(100% - 64px); }
.v2-monthly__background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.v2-monthly::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,rgb(255 255 255 / .98),rgb(255 255 255 / .88) 35%,rgb(255 255 255 / .3) 70%,transparent); }
.v2-monthly__inner { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: center; }
.v2-monthly__copy { grid-column: 1 / 7; max-width: 500px; padding-bottom: 130px; }
.v2-monthly__copy h2 { max-width: 14em; font-size: var(--type-section); }
.v2-monthly__copy p:not(.v2-eyebrow) { max-width: 29em; font-size: var(--type-control); }
.v2-monthly__visual { display: none; height: 230px; margin: 24px 0 0; border-radius: var(--radius-panel); overflow: hidden; }
.v2-monthly__visual img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.v2-monthly__panel { grid-column: 8 / 13; padding: 26px; border: 1px solid var(--line-control); border-radius: 24px; background: var(--card-surface); box-shadow: inset 0 1px #fff,var(--shadow-panel); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.v2-recurring-label { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; margin-bottom: 22px; background: var(--surface-brand); color: var(--text-on-brand); border-radius: var(--radius-control); font-size: var(--type-small); font-weight: 600; }
.local-donate-picker { margin: 0; }
.local-donate-picker fieldset { margin: 0 0 16px; }
.local-donate-picker legend { margin-bottom: 12px; font-size: var(--type-caption); font-weight: 550; }
.local-donate-amounts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.local-donate-amounts button { min-height: 48px; padding: 10px 8px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); color: var(--ink); font-size: var(--type-small); font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color 150ms var(--ease-feedback),background-color 150ms var(--ease-feedback); }
.local-donate-amounts button:hover { background: var(--surface-subtle); }
.local-donate-amounts button[aria-pressed=true] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--blue); color: var(--ink); }
.local-donate-submit { width: 100%; margin-top: 4px; }
.local-donate-caption { margin: 14px 0 0; font-size: var(--type-micro); line-height: 1.5; color: var(--muted); }
#local-donate-custom { display: grid; gap: 6px; margin-bottom: 12px; font-size: var(--type-small); }
.v2-monthly__instructions { padding-top: 24px; }
.local-recurring-footer { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 20px; }
.v2-recurring-explainer { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px,280px); align-items: start; gap: 12px 32px; width: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.v2-recurring-explainer h3 { margin: 0 0 8px; font-size: var(--type-subheading); }
.v2-recurring-explainer .dv28-monthly__instructions { grid-column: 1; }
.v2-recurring-explainer ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: recurring-step; font-size: var(--type-control); line-height: 1.5; }
.v2-recurring-explainer li { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 12px; counter-increment: recurring-step; }
.v2-recurring-explainer li::before { content: counter(recurring-step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: var(--ink); font-size: var(--type-small); font-weight: 650; }
.v2-recurring-explainer .dv28-monthly__fineprint { grid-column: 1; margin: 8px 0 0; font-size: var(--type-caption); color: var(--muted); }
.v2-recurring-explainer .local-recurring-photo { grid-column: 2; grid-row: 1/4; margin: 0; }
.v2-recurring-explainer .local-recurring-photo img { aspect-ratio: 4/3; object-fit: cover; }
.v2-recurring-explainer figcaption { margin-top: 8px; font-size: var(--type-micro); line-height: 1.5; color: var(--muted); }
.local-recurring-footer .dv28-actions { display: none; }
.local-recurring-photo { margin: 16px 0 0; }
.local-recurring-photo img { width: 100%; max-width: min(420px,100%); border-radius: var(--radius-image); }
.local-recurring-photo figcaption { font-size: var(--type-caption); margin-top: 8px; }
.v2-statistics:empty { display: none; }
.v2-statistics { padding-top: 42px; }
#fund-statistics { padding: 0; }

/* Editorial cards and institutional information share the same scale. */
.v2-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.local-news-card { min-width: 0; }
.local-news-card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line-control); border-radius: var(--radius-panel); overflow: hidden; background: var(--card-surface); backdrop-filter: blur(var(--card-blur)); -webkit-backdrop-filter: blur(var(--card-blur)); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-panel); transition: box-shadow 200ms var(--ease-feedback),transform 200ms var(--ease-feedback); }
.local-news-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-floating); text-decoration: none; }
.local-news-card__photo { aspect-ratio: 16/10; overflow: hidden; }
.local-news-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.local-news-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.local-news-card__eyebrow { font-size: var(--type-micro); color: var(--muted); margin: 0 0 8px; }
.local-news-card h3 { margin: 0 0 16px; font-size: var(--type-subheading); letter-spacing: -.025em; }
.local-news-card__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--control-height); margin-top: auto; padding: 10px 16px; border: 1px solid var(--line-control); border-radius: var(--radius-control); background: var(--blue); color: var(--ink); font-size: var(--type-control); font-weight: 600; transition: background-color 150ms var(--ease-feedback),color 150ms var(--ease-feedback); }
.local-news-card__cta::after { content: "→"; font-size: 20px; line-height: 1; }
.local-news-card__link:is(:hover,:focus-visible) .local-news-card__cta { background: var(--action-hover-fill); border-color: var(--action-hover-fill); color: var(--text-on-brand); }
:where(.dv26-docs__list,.dva-doc-grid,#dvu-documents) { display: grid; grid-template-columns: repeat(var(--document-columns),minmax(0,1fr)); gap: 18px; }
.dvu-row { min-width: 0; display: flex; flex-direction: column; align-items: start; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.dvu-row :is(h2,h3) { font-size: var(--type-control); letter-spacing: -.015em; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.dvu-row a { margin-top: auto; min-height: 44px; }
.dvu-row .v2-symbol { flex-basis: 46px; }
.v2-document-card { padding: 14px; gap: 16px; }
.v2-document-preview { position: relative; display: block; flex: none; width: 100%; margin: 0 !important; padding: 8px; aspect-ratio: 210/250; border-radius: var(--radius-detail); overflow: hidden; }
.v2-document-preview img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 3px 5px rgb(8 46 82 / .08)); transition: transform 400ms var(--ease-feedback); }
.v2-document-preview span { position: absolute; inset: auto 8px 8px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 5px; border: 1px solid #fff; border-radius: 8px; background: rgb(255 255 255 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); font-size: var(--type-micro); opacity: 0; transform: translateY(5px); transition: opacity 200ms var(--ease-feedback),transform 200ms var(--ease-feedback); }
.v2-document-preview:hover img, .v2-document-preview:focus-visible img { transform: scale(1.025); }
.v2-document-preview:hover span, .v2-document-preview:focus-visible span { opacity: 1; transform: none; }
.v2-document-card :is(h2,h3) { padding-inline: 4px; }
.dvu-row > .v2-document-open { align-self: stretch; justify-content: space-between; width: 100%; margin-inline: 0; }
.dvu-row > .v2-document-open { background: var(--surface); border-color: var(--line); box-shadow: none; font-weight: 550; }
.v2-document-open .v2-icon { width: 20px; height: 20px; }
.dvu-pending { color: var(--muted); font-size: var(--type-caption); }
.dv26-partners__logos { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: stretch; gap: 18px; }
.dv26-partners__logos > :is(a,span) { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 100px; padding: 18px 10px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); }
.dv26-partners__logos img { width: auto; max-width: 100%; max-height: 60px; object-fit: contain; }
.dv26-partners__logos > a:hover { box-shadow: var(--shadow-panel); }
.v2-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-block: 28px 58px; padding: 36px 40px; border-radius: 24px; background: var(--surface-brand); color: var(--text-on-brand); }
.v2-final-cta > div { display: grid; grid-template-columns: 56px 1fr; gap: 6px 24px; align-items: center; }
.v2-final-cta h2 { margin: 0; color: inherit; font-size: var(--type-section); }
.v2-final-cta p { grid-column: 2; margin: 0; font-size: var(--type-control); color: #d2e2ef; }
.v2-final-cta__icon { grid-row: span 2; color: var(--gold); }
.v2-final-cta__icon .v2-icon { width: 54px; height: 54px; stroke-width: 1.3; }
.v2-final-cta .v2-button { flex-shrink: 0; color: var(--ink); background: var(--surface); }
.v2-final-cta .v2-button:is(:hover,:focus-visible) { background: var(--blue); color: var(--ink); border-color: transparent; }

/* Interior pages are composed from the same editable CMS blocks. */
.v2-interior { padding-top: var(--page-entry-inset); }
.v2-interior > .v2-final-cta { width: 100%; }
.v2-interior > .t-rec { padding: 0; margin: 0; }
.v2-page-head { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; padding-block: 0 36px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.v2-page-head h1 { margin: 0; max-width: 17em; }
.v2-page-head__copy p { margin: 0 0 16px; font-size: var(--type-reading); }
.v2-page-head__copy .v2-actions { gap: 10px; }
.v2-page-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-column: 1/-1; gap: 16px; }
.v2-page-shortcut { display: grid; gap: 4px; min-height: 72px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-control); background: rgb(255 255 255 / .8); color: var(--ink); text-decoration: none; transition: background-color 150ms var(--ease-feedback),border-color 150ms var(--ease-feedback); }
.v2-page-shortcut > b { font-size: var(--type-control); font-weight: 650; }
.v2-page-shortcut > span { font-size: var(--type-caption); color: var(--muted); }
.v2-page-shortcut:hover { background: var(--blue); border-color: var(--line-control); text-decoration: none; }
.v2-interior :is(.dvu-section,.dva-section,.local-requisites,.local-child-story-content) { margin-block: 40px; }
.v2-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.v2-interior :is(.dvu-eyebrow,.dvc-eyebrow,.dv-child-page__eyebrow,.dv-legal__eyebrow,.dva-kicker) { font-size: var(--type-caption); font-weight: 550; color: var(--muted); letter-spacing: .03em; }
.v2-interior :is(.dvu-section-head,.dva-section-head) { margin-bottom: 24px; }
.v2-interior :is(.dvu-section-head,.dva-section-head) h2 { margin-bottom: 12px; }
.v2-interior :is(.dvu-lead,.dvc-lead,.dva-lead) { color: var(--muted); font-size: var(--type-reading); }
.v2-interior :is(.dvu-actions,.dvc-actions,.dva-shortcuts) { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.v2-interior :is(.dv32-online,.dv32-reports-note) { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface-subtle); }
.dva-intro p { max-width: 65em; }
.dva-intro { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,4fr); gap: 36px; align-items: center; }
.dva-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dva-founder { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.dva-founder h3 { font-size: var(--type-prose-heading); margin-block: 14px; }
.dva-founder > :first-child { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; background: var(--blue); color: var(--ink); font-size: var(--type-panel-title); font-weight: 650; }
.dva-founder p { font-size: var(--type-small); }
:is(.dva-team,.dva-team-grid,.dvu-team,.dvu-team-grid) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
:is(.dva-person,.dvu-person) { padding: 24px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-panel); }
:is(.dva-person,.dvu-person) h3 { font-size: var(--type-subheading); margin: 12px 0 8px; }
:is(.dva-person,.dvu-person) p { margin: 0; font-size: var(--type-small); }
:is(.dva-avatar,.dvu-avatar,.dva-person__avatar) { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--ink); font-weight: 650; }
#dvu-report-files { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.dv32-report-year { padding: 24px; }
.dv32-report-year h2 { font-size: var(--type-prose-heading); margin-bottom: 18px; }
.dv32-report-year .dvu-row { padding: 16px 0; border-width: 1px 0 0; border-radius: 0; flex-direction: row; align-items: center; }
.dv32-report-year .dvu-row h3 { flex: 1; }
.local-mixplat-reports { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-panel); margin-block: 20px; }
.dvc-window { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.dvc-window__info { display: grid; align-content: start; gap: 22px; }
.dvc-window a { overflow-wrap: anywhere; }
.dvc-window :is(.dvc-window__label,.dvc-window__city p) { margin-bottom: 8px; font-size: var(--type-small); color: var(--muted); }
.dvc-window__map iframe { height: 330px; border-radius: var(--radius-image); background: var(--blue); }
.dvc-window__map a { display: block; margin-top: 10px; font-size: var(--type-small); }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: minmax(150px,1fr) minmax(0,2fr); gap: 20px; padding-block: 13px; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: var(--type-small); }
dd { margin: 0; overflow-wrap: anywhere; }
.local-requisites > a { margin-top: 20px; width: auto; }
.local-payment-info { padding-block: 30px; }
.local-payment-info h2 { margin-bottom: 14px; }
.local-payment-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-block: 20px; }
.local-payment-manage { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 26px; margin-block: 24px; border-radius: var(--radius-panel); background: var(--blue); }
.local-payment-manage h3 { flex-basis: 100%; margin: 0; }
.local-payment-details { display: grid; gap: 12px; }
.local-disclosure { padding: 0; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--surface); }
.local-disclosure__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 20px; list-style: none; font-weight: 600; color: var(--ink); }
.local-disclosure__summary::-webkit-details-marker { display: none; }
.local-disclosure__state { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 8px 10px; border-radius: 8px; background: var(--blue); font-size: var(--type-caption); }
.local-disclosure__opened, details[open] > summary .local-disclosure__closed { display: none; }
details[open] > summary .local-disclosure__opened { display: inline; }
.local-disclosure__icon::before { content: "+"; font-size: 22px; line-height: 1; }
details[open] > summary .local-disclosure__icon::before { content: "−"; }
.local-disclosure__body { padding: 4px 22px 22px; }
.local-disclosure__body ol { margin: 0; padding-left: 24px; }
.local-disclosure__body li { padding-block: 5px; }
.local-payment-copy { font-size: var(--type-control); }
.local-payment-copy h3 { font-size: var(--type-subheading); margin-top: 24px; }
.local-payment-operators { display: flex; flex-wrap: wrap; gap: 10px; }
.local-payment-operators a { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.dv-bank-window__body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 30px; }
.dv-bank-window__brand svg { width: 56px; height: 56px; }
.dv-bank-window__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.dv-legal { max-width: 100%; }
.dv-legal__paper { padding-block: 0 12px; }
.dv-legal__paper > h1 { max-width: 25em; }
.dv-legal h1 { overflow-wrap: anywhere; hyphens: auto; }
.dv-legal__paper section { margin-block: 32px; scroll-margin-top: 110px; }
.dv-legal__paper section h2 { font-size: var(--type-legal-section); margin-bottom: 18px; }
.dv-legal__paper p, .dv-legal__paper li { font-size: var(--type-body); line-height: 1.7; }
.dv-legal__facts { padding: 20px; border-radius: var(--radius-panel); background: var(--surface-subtle); margin-block: 20px; }

/* Child pages: generous photograph, precise facts, no frame around the story. */
.dv-child-page { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); align-items: start; gap: 40px; }
.v2-child-gallery { min-width: 0; }
.v2-child-info { min-width: 0; }
.dv-child-page__title { margin-bottom: 18px; font-size: var(--type-title); }
.dv-child-page__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 12px; }
.dv-child-page__meta > div { display: flex; align-items: baseline; gap: 8px; }
.dv-child-page__meta span, .dv-child-page__info span, .dv-child-page__money span { color: var(--muted); font-size: var(--type-small); }
.dv-child-page__meta b { color: var(--ink); font-size: var(--type-control); font-weight: 600; }
.local-history-date { font-size: var(--type-micro); color: var(--muted); margin-bottom: 24px; }
.dv-child-page__info { display: grid; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.dv-child-page__info p { margin: 4px 0 0; font-size: var(--type-body); }
.v2-child-funding { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); }
.dv-child-page__progress-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--type-small); color: var(--muted); }
.dv-child-page__money { display: flex; justify-content: space-between; gap: 20px; margin-block: 16px; font-variant-numeric: tabular-nums; }
.dv-child-page__money > div { display: grid; gap: 4px; }
.dv-child-page__money b { font-size: var(--type-panel-title); color: var(--ink); }
.dv-child-page__btn { width: 100%; margin-top: 20px; }
.local-child-gallery__stage { position: relative; }
[data-child-main] { display: block; border-radius: var(--radius-panel); background: var(--surface-subtle); overflow: hidden; }
[data-child-main] img { width: 100%; height: min(62vh,570px); object-fit: contain; }
.local-child-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: rgb(255 255 255 / .94); box-shadow: var(--shadow-control); }
.local-child-gallery__arrow--prev { left: 12px; }
.local-child-gallery__arrow--next { right: 12px; }
.local-child-gallery__arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; }
.local-child-gallery__count { position: absolute; right: 14px; bottom: 14px; background: var(--surface); padding: 5px 10px; border-radius: 20px; font-size: var(--type-micro); }
.local-child-gallery__zoom { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; background: var(--surface); font-size: var(--type-micro); }
.local-child-gallery__zoom svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.local-child-gallery__thumbs { display: flex; gap: 10px; min-width: 0; max-width: 100%; padding: 14px 4px 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
.local-child-gallery__thumbs > :first-child { margin-inline-start: auto; }
.local-child-gallery__thumbs > :last-child { margin-inline-end: auto; }
.local-child-gallery__thumbs button { flex: 0 0 80px; width: 80px; height: 72px; padding: 3px; border: 2px solid transparent; border-radius: var(--radius-control); background: var(--surface-subtle); scroll-snap-align: center; }
.local-child-gallery__thumbs:not(:has(> button:nth-child(6))) > button { flex-shrink: 1; min-width: 44px; min-height: 44px; height: auto; aspect-ratio: 10/9; }
.local-child-gallery__thumbs button[aria-pressed=true] { border-color: var(--accent-ink); }
.local-child-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.local-child-gallery__status { position: absolute; clip: rect(0,0,0,0); width: 1px; height: 1px; overflow: hidden; }
.local-child-story-content { border: 0; padding: 0; }
.local-prose { font-size: var(--type-reading); line-height: 1.75; }
.local-prose > * { max-width: 100%; }
.local-prose p { margin-bottom: 1.2em; }
.local-prose h2 { margin-top: 1.5em; }
.local-story-title { font-size: var(--type-section); }
.local-article { padding-top: 0; }
.local-article__header { margin-bottom: 32px; max-width: 900px; }
.local-back { display: inline-flex; min-height: 44px; font-size: var(--type-small); margin-bottom: 14px; align-items: center; }
.local-article__date { font-size: var(--type-small); color: var(--muted); }
.local-article__layout { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 40px; align-items: start; }
.local-news-gallery { display: grid; gap: 18px; }
.local-news-gallery img { border-radius: var(--radius-image); width: 100%; }
.local-article__footer { padding-top: 24px; }
.local-article__footer.v2-action-row { padding-top: 0; }
.local-article__footer > a { width: auto; }

/* Footer: institutional facts, functional payment marks and a settled age mark. */
.v2-footer { border-top: 1px solid var(--line); padding-block: 38px 24px; background: linear-gradient(180deg,var(--surface),#f9fbfd); }
.v2-footer__top { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: start; }
.v2-footer__identity { grid-column: span 4; display: grid; gap: 12px; padding-inline-end: 24px; }
.v2-footer .v2-brand { width: fit-content; }
.v2-footer .v2-brand img { width: var(--brand-footer-width,180px); max-width: min(100%,180px); height: auto; max-height: 76px; object-fit: contain; object-position: left top; }
.v2-footer h2 { font-size: var(--type-small); letter-spacing: 0; line-height: 1.4; margin-bottom: 8px; font-weight: 650; }
.v2-footer :is(p,address) { font-size: var(--type-caption); color: var(--muted); margin: 0; font-style: normal; line-height: 1.6; }
.v2-footer nav { grid-column: span 2; display: grid; align-content: start; gap: 4px; }
.v2-footer nav a { display: flex; align-items: center; min-height: 36px; font-size: var(--type-small); text-decoration: none; }
.v2-footer nav a:hover { text-decoration: underline; }
.v2-footer__contact { grid-column: span 4; display: grid; align-content: start; gap: 10px; }
.v2-footer__contact > a:not(.v2-button) { font-size: var(--type-small); font-weight: 550; text-decoration: none; overflow-wrap: anywhere; }
.v2-footer__contact a.v2-footer__phone { font-size: var(--type-subheading); font-weight: 650; }
.v2-footer__contact .v2-button { width: 100%; max-width: 280px; font-size: var(--type-small); padding: 12px 16px; margin-top: 4px; }
.v2-footer__contact .v2-manage-link { font-size: var(--type-small); font-weight: 600; text-decoration: none; }
.v2-footer__trust { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-block: 22px; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: var(--type-micro); color: var(--muted); }
.v2-footer__trust > :is(div,a) { display: grid; align-content: center; gap: 6px; min-width: 0; min-height: 76px; padding: 14px; border-radius: var(--radius-control); background: var(--surface-subtle); text-decoration: none; }
.v2-footer__trust b { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: var(--type-small); font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-footer__trust a:hover { background: var(--blue); }
.v2-footer__trust .v2-icon { width: 16px; height: 16px; }
.dv27-payments { padding-top: 24px; }
.dv27-payments__heading { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.dv27-payments__heading h3 { font-size: var(--type-caption); letter-spacing: 0; margin: 0; }
.dv27-payments__heading a, .dv27-payments p { font-size: var(--type-micro); color: var(--muted); }
.dv27-payments__list { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dv27-payments__item { display: flex; align-items: stretch; justify-content: center; min-width: 0; min-height: 54px; padding: 0; border-radius: var(--radius-detail); text-decoration: none; }
.dv27-payments__item > a { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; min-height: 54px; width: 100%; padding: 8px; border-radius: inherit; text-decoration: none; }
.dv27-payments__item > a:hover { background: var(--blue); }
.dv27-payments__name { font-size: 10px; color: var(--muted); line-height: 1.3; }
.dv27-payments__item img { width: auto; max-width: 80px; height: 24px; object-fit: contain; }
.dv27-payments__mark { display: flex; align-items: center; gap: 3px; max-width: 100%; font-size: var(--type-small); font-weight: 650; }
.dv27-payments__mark svg { max-width: 70px; max-height: 26px; }
.dv27-payments__item--alfa-pay .dv27-payments__mark { padding: 2px 4px; border-radius: 6px; background: var(--surface-brand); }
.dv27-payments__item--alfa-pay .dv27-payments__mark img { height: 20px; }
.dv27-payments__label { font-size: var(--type-micro); margin-top: 16px; }
.dv27-payments__note { margin-top: 12px; }
.v2-footer__bottom { display: grid; grid-template-columns: minmax(220px,1fr) minmax(0,1.6fr); align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; font-size: var(--type-micro); color: var(--muted); }
.v2-footer__copyright { margin: 0; max-width: 32em; }
.v2-footer .v2-footer__legal { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)) auto; gap: 8px; align-items: stretch; }
.v2-footer .v2-footer__legal a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-control); text-align: center; text-decoration: none; font-size: var(--type-micro); line-height: 1.4; }
.v2-footer__legal a:hover { background: var(--blue); color: var(--ink); }
.v2-footer__legal .v2-age { height: auto; min-height: 44px; align-self: stretch; }
.v2-age { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 28px; padding: 3px 7px; border-radius: 7px; background: var(--blue); color: var(--ink); font-weight: 600; }

/* Application flow and image viewer retain the audited transport controllers. */
.local-dialog { position: fixed; inset: 0; width: min(650px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; overflow: auto; padding: 28px; border: 1px solid var(--line); border-radius: 24px; color: var(--text); background: var(--surface); box-shadow: var(--shadow-floating); }
.local-dialog h2 { padding-right: 44px; font-size: var(--type-dialog-title); }
.local-subtitle { font-size: var(--type-small); color: var(--muted); }
.local-close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 28px; line-height: 1; }
.local-step { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.local-step label { display: grid; gap: 6px; font-size: var(--type-small); font-weight: 550; }
.local-step label:has(textarea), .local-photo-field, .local-consent { grid-column: 1/-1; }
input:not([type=checkbox]), textarea, select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-control); border-radius: 10px; color: var(--ink); background: var(--surface); font-size: var(--type-input); }
textarea { resize: vertical; }
.local-consent { display: flex !important; align-items: start; gap: 12px !important; font-size: var(--type-caption) !important; line-height: 1.6; }
.local-consent input { flex: 0 0 20px; width: 20px; height: 20px; accent-color: var(--ink); }
.local-honeypot { display: none !important; }
.local-form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
#local-step-count { margin-right: auto; color: var(--muted); font-size: var(--type-caption); }
#local-form-error { margin-block: 14px 0; font-size: var(--type-small); color: var(--danger-text); }
.local-photo-field p { font-size: var(--type-caption); color: var(--muted); margin-top: 10px; }
#local-photo-preview { display: flex; gap: 10px; }
#local-photo-preview img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.local-gallery { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 54px 70px; border: 0; margin: 0; background: #071b2bee; color: white; overflow: hidden; }
.local-gallery[open] { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 16px; align-items: center; }
.local-gallery > img { width: 100%; height: calc(100dvh - 140px); object-fit: contain; }
.local-gallery > button:not(.local-close) { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff50; color: white; background: #ffffff20; }
.local-gallery svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
#local-gallery-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; }
.local-cookie { position: fixed; bottom: max(20px,env(safe-area-inset-bottom)); left: 24px; z-index: 200; width: min(420px,calc(100% - 48px)); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); box-shadow: var(--shadow-floating); }
.local-cookie h2 { font-size: var(--type-control); margin-bottom: 10px; }
.local-cookie p { font-size: var(--type-caption); margin-bottom: 14px; }

/* Tablet is a two-column composition, not compressed desktop columns. */
@media(max-width:1100px) {
    :root { --document-columns: 2; }
    .v2-nav { gap: 14px; }
    .v2-nav__links { display: none; }
    .v2-nav__donate { margin-left: auto; }
    .v2-hero__copy { grid-column: 1/8; max-width: 520px; }
    .v2-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v2-fund-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v2-monthly__copy { grid-column: 1/7; }
    .v2-monthly__panel { grid-column: 7/13; }
    .dv26-partners__logos { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width:800px) {
    .v2-footer__top { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v2-footer__identity { grid-column: 1; grid-row: 1; }
    .v2-footer__contact { grid-column: 2; grid-row: 1; }
    .v2-footer__top > nav { grid-column: auto; grid-row: 2; }
    .v2-footer__bottom { grid-template-columns: minmax(0,1fr); }
    .dv27-payments__list { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .v2-section-head p { max-width: 35em; }
    .v2-hero__inner { min-height: 530px; }
    .v2-hero__copy { grid-column: 1/9; }
    .v2-hero::after { background: linear-gradient(90deg,#fcfaf6e8,#fcfaf6c4 40%,transparent 90%); }
    .v2-news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v2-news-grid > :last-child:nth-child(odd) { grid-column: 1/-1; max-width: calc(50% - 12px); }
    .v2-page-head { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .dv-child-page { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .v2-child-info { padding: 0; }
    .local-article__layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .local-article__photos { grid-row: 1; }
    .local-news-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .local-news-gallery > :only-child { grid-column: 1/-1; }
    .dvc-window { grid-template-columns: minmax(0,1fr); }
    #dvu-report-files { grid-template-columns: minmax(0,1fr); }
    .v2-final-cta { padding: 30px; flex-wrap: wrap; }
}

/* Phone: full-width photography, app-sized actions, native sheets and safe areas. */
@media(max-width:700px) {
    :root { --header-height: 76px; --document-columns: 1; --page-gutter: 16px; --page-entry-gap: 6px; --page-entry-inset: 10px; --section-space: 42px; --grid-gutter: 16px; --type-hero: clamp(2.25rem,9.5vw,3rem); --type-title: 2rem; --type-card: 1.25rem; --control-height: 50px; }
    .v2-nav { gap: 12px; }
    .v2-header { top: 10px; margin: 10px auto var(--page-entry-gap); border-radius: 20px; }
    .v2-header .v2-container { width: calc(100% - 24px); }
    .v2-brand img { width: var(--brand-mobile-width,176px); max-width: 55vw; height: 64px; }
    .v2-nav__donate { display: none; }
    .v2-menu-button { margin-left: auto; width: 48px; height: 48px; flex-basis: 48px; }
    .v2-hero { display: flex; flex-direction: column; border-radius: 20px; background: #fcfaf6; }
    .v2-hero::after { display: none; }
    .v2-hero__picture { position: relative; order: 2; z-index: auto; display: block; height: 350px; height: clamp(300px,90vw,440px); }
    .v2-hero__picture::before { content: ""; position: absolute; inset: 0 0 auto; height: 38px; background: linear-gradient(#fcfaf6,transparent); z-index: 1; }
    .v2-hero__picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
    .v2-hero__inner { display: block; order: 1; width: calc(100% - 36px); min-height: 0; }
    .v2-hero__copy { padding: var(--page-entry-inset) 0 18px; max-width: none; }
    .v2-hero .v2-eyebrow { font-size: 10px; margin-bottom: 10px; max-width: none; }
    .v2-hero h1 { max-width: 11em; margin-bottom: 16px; line-height: 1.06; }
    .v2-lead { font-size: var(--type-control); max-width: 29em; margin-bottom: 20px; }
    .v2-hero .v2-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
    .v2-hero .v2-actions > a { width: 100%; }
    .v2-hero .v2-actions > .v2-button--secondary { box-shadow: var(--shadow-control); }
    .v2-hero__trust { margin: -6px 0 16px; font-size: var(--type-small); }
    .v2-benefits { gap: 10px; padding-top: 18px; }
    .v2-benefit { flex-direction: column; gap: 10px; padding: 16px 14px; }
    .v2-benefit .v2-symbol { width: 38px; height: 38px; flex-basis: 38px; }
    .v2-benefit strong { font-size: var(--type-caption); }
    .v2-benefit small { font-size: var(--type-micro); }
    .v2-section-head { align-items: start; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
    .v2-section-head > a { width: 100%; min-width: 0; }
    .v2-section-head h2 { font-size: var(--type-section); }
    .v2-section-head p { font-size: var(--type-small); margin-top: 10px; }
    .v2-section-head > a { min-height: 44px; padding: 9px 14px; font-size: var(--type-small); }
    .v2-action-row { align-items: stretch; flex-direction: column; gap: 12px; margin-top: 24px; }
    .v2-action-row > [data-ui=action], .local-article__footer.v2-action-row > a { width: 100%; min-width: 0; justify-content: center; }
    .v2-fund-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
    .v2-fund-grid:has(> :only-child) { max-width: none; }
    :is(.dv26-child__photo,.dvu-child__photo) { aspect-ratio: 4/3; }
    :is(.dv26-child__body,.dv32-child-body) { padding: 20px; }
    .local-child-actions { gap: 6px; }
    .local-child-story { min-height: 48px; }
    .v2-section-end { align-items: stretch; flex-direction: column; gap: 16px; padding: 20px; }
    .v2-section-end > .v2-button { width: 100%; min-width: 0; }
    .v2-monthly { padding-block: 30px 0; border-radius: 0; overflow: visible; background: transparent; }
    .v2-monthly > .v2-container { width: 100%; }
    .v2-monthly__background, .v2-monthly::after { display: none; }
    .v2-monthly__visual { display: block; height: 220px; }
    .v2-monthly__inner { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
    .v2-monthly__copy { padding: 0; max-width: none; }
    .v2-monthly__copy h2 { max-width: 17em; }
    .v2-monthly__copy p:not(.v2-eyebrow) { max-width: none; background: transparent; }
    .v2-monthly__panel { padding: 20px; background: rgb(255 255 255 / .94); border-radius: 20px; }
    .local-donate-amounts { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v2-monthly__instructions { margin-top: 0; }
    .local-recurring-footer { display: block; }
    .v2-recurring-explainer { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 20px; }
    .v2-recurring-explainer .local-recurring-photo { grid-column: 1; grid-row: auto; margin-top: 8px; width: 100%; max-width: none; }
    .v2-statistics { padding-top: 28px; }
    .v2-news-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .v2-news-grid > :last-child:nth-child(odd) { max-width: none; grid-column: auto; }
    .local-news-card__photo { aspect-ratio: 16/10; }
    .local-news-card__body { padding: 18px 20px; }
    .dv26-docs__list, .dva-doc-grid, #dvu-documents { gap: 12px; }
    .dvu-row { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 6px 14px; padding: 18px; align-items: center; }
    .dvu-row .v2-symbol { grid-row: span 2; width: 42px; height: 42px; }
    .dvu-row :is(h2,h3) { font-size: var(--type-small); }
    .dvu-row > a { grid-column: 2; justify-self: start; margin: 0; padding: 8px 0; min-height: 44px; border: 0; background: transparent; }
    .v2-document-card { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 14px 16px; padding: 16px; }
    .v2-document-card .v2-document-preview { grid-column: 1; grid-row: 1; padding: 0; width: 100px; aspect-ratio: 210/280; }
    .v2-document-card > :is(h2,h3) { grid-column: 2; grid-row: 1; padding: 0; align-self: center; }
    .dvu-row > .v2-document-open { grid-column: 1/-1; justify-self: stretch; margin-top: 8px; padding: 10px 14px; border: 1px solid var(--line); background: var(--surface); min-height: 44px; }
    .dvu-row > .v2-document-open:is(:hover,:focus-visible) { background: var(--action-hover-fill); border-color: var(--action-hover-fill); color: var(--text-on-brand); }
    .v2-document-preview span { display: none; }
    .dv26-partners__logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .dv26-partners__logos > :is(a,span) { min-height: 92px; }
    .v2-final-cta { margin-block: 18px 36px; padding: 26px; gap: 24px; border-radius: 20px; }
    .v2-final-cta > div { display: block; }
    .v2-final-cta__icon { display: block; margin-bottom: 14px; }
    .v2-final-cta__icon .v2-icon { width: 36px; height: 36px; }
    .v2-final-cta h2 { font-size: var(--type-section); margin-bottom: 12px; }
    .v2-final-cta .v2-button { width: 100%; }
    .v2-footer { padding-top: 26px; }
    .v2-footer__top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 18px; }
    .v2-footer__identity { grid-column: 1/-1; grid-row: auto; padding: 0; }
    .v2-footer .v2-brand img { max-width: min(100%,160px); }
    .v2-footer__top > nav { grid-column: span 1; grid-row: auto; }
    .v2-footer__contact { grid-column: 1/-1; grid-row: auto; gap: 12px; padding-top: 10px; }
    .v2-footer nav a { min-height: 44px; font-size: var(--type-small); }
    .v2-footer__contact > a:not(.v2-button) { min-height: 32px; }
    .v2-footer__contact .v2-button { max-width: none; }
    .v2-footer__trust { gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .v2-footer__trust > :is(div,a) { min-height: 82px; padding: 12px; }
    .v2-footer__trust b { font-size: var(--type-micro); }
    .v2-footer__bottom { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .v2-footer .v2-footer__legal { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .dv27-payments__heading { display: block; }
    .dv27-payments__heading a { display: inline-block; margin-top: 10px; }
    .dv27-payments__list { gap: 6px; }
    .dv27-payments__item img { max-width: 60px; }
    .v2-page-head { padding-bottom: 24px; margin-bottom: 24px; }
    .v2-page-head__copy p { font-size: var(--type-body); }
    .v2-interior :is(.dvu-actions,.dvc-actions,.dva-cta-row,.dv-bank-window__actions,.dva-shortcuts,.v2-actions) > [data-ui=action] { width: 100%; min-width: 0; }
    .v2-page-shortcuts { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .v2-interior :is(.dvu-section,.dva-section,.local-requisites,.local-child-story-content) { margin-block: 30px; }
    .v2-panel, .v2-interior :is(.dv32-online,.dv32-reports-note) { padding: 20px; }
    :is(.dva-team,.dva-team-grid,.dvu-team,.dvu-team-grid) { grid-template-columns: minmax(0,1fr); }
    .dva-intro { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .dva-founder { padding: 20px; }
    .dv32-report-year .dvu-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
    .dv32-report-year .dvu-row > .v2-symbol { display: none; }
    .dv32-report-year .dvu-row > a { grid-column: 2; }
    .dvc-window { padding: 20px; gap: 24px; }
    dl > div { grid-template-columns: minmax(0,1fr); gap: 4px; }
    .dv-bank-window__body { grid-template-columns: minmax(0,1fr); gap: 20px; }
    .local-payment-manage { padding: 20px; }
    .local-disclosure__summary { padding: 14px; gap: 10px; font-size: var(--type-small); }
    .local-disclosure__state { font-size: 11px; padding: 8px; gap: 6px; }
    .local-disclosure__body { padding: 0 16px 18px; }
    .dv-child-page { display: flex; flex-direction: column; gap: 0; }
    .v2-child-gallery { width: 100%; order: 1; margin-bottom: 24px; }
    .v2-child-info { display: contents; }
    .v2-child-info > * { order: 2; width: 100%; }
    .v2-child-info > :is(.dv-child-page__eyebrow,.dv-child-page__title,.dv-child-page__meta,.local-history-date) { order: 0; }
    .v2-child-info > .dv-child-page__eyebrow { margin-bottom: 8px; }
    [data-child-main] img { height: auto; max-height: none; aspect-ratio: 4/5; object-fit: contain; }
    .local-child-gallery__thumbs button { flex-basis: 76px; width: 76px; height: 68px; }
    .dv-child-page__title { font-size: var(--type-title); }
    .dv-child-page__meta { gap: 18px; }
    .local-history-date { margin-bottom: 18px; }
    .local-news-gallery { grid-template-columns: minmax(0,1fr); }
    .local-dialog { padding: 24px 20px; border-radius: 20px; max-height: calc(100dvh - 24px); }
    .local-dialog h2 { font-size: 1.5rem; }
    .local-step { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .local-step textarea { max-height: 95px; }
    .local-form-actions { position: sticky; bottom: -24px; padding-bottom: max(10px,env(safe-area-inset-bottom)); background: var(--surface); }
    .local-form-actions [data-ui] { padding-inline: 16px; }
    .local-gallery { padding: 66px 6px 40px; }
    .local-gallery[open] { grid-template-columns: 38px minmax(0,1fr) 38px; gap: 2px; }
    .local-gallery > button:not(.local-close) { width: 38px; height: 44px; }
    .local-gallery > img { height: calc(100dvh - 140px); }
    .local-cookie { left: 18px; width: calc(100% - 36px); bottom: max(12px,env(safe-area-inset-bottom)); }
    .v2-menu { inset: auto 0 0; width: 100%; max-height: calc(100dvh - 30px); padding: 22px 22px max(24px,env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
}
@media(prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .v2-fund-card:hover, .local-news-card__link:hover, .v2-benefit:hover { transform: none; }
}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) {
    .v2-header, .v2-menu, .v2-monthly__panel, .local-news-card__link { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
