@font-face {
  font-family: Vazirmatn;
  src: url("./assets/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: Vazirmatn, Tahoma, sans-serif;
  color: #201e1e;
  background: #fff;
  --white: #fff;
  --surface: #f5f4f4;
  --red: #a10202;
  --red-deep: #7d0101;
  --red-tint: #f9eded;
  --ink: #262424;
  --muted: #625e5e;
  --line: #e9e7e5;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { text-decoration: none; color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
img { display: block; max-width: 100%; }
:where(button, a, input, select):focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 20; padding: 10px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
i[data-icon] { width: 20px; height: 20px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
i[data-icon] svg { width: 100%; height: 100%; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 4;
  border-block-end: 1px solid var(--line);
  background: var(--white);
  box-shadow: none;
}
.header-layout { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; justify-self: start; border-radius: 6px; }
.brand img { width: clamp(148px, 62.4px, 184px); height: auto; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.header-tools .header-help { color: var(--muted); font-weight: 500; }
.header-help[aria-current="page"] { color: var(--red); }
.app-frame {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  flex: 1;
}
.app-sidebar {
  position: sticky;
  inset-block-start: 86px;
  margin-block-start: 22px;
  padding: 4px 0;
  border: 0;
  background: var(--white);
}
.navigation { display: flex; flex-direction: column; gap: 3px; }
.navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding-inline: 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 650;
  white-space: nowrap;
  user-select: none;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.navigation a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 10px;
  width: 2px;
  border-radius: 4px;
  background: var(--red);
  opacity: 0;
  transition: opacity .16s var(--ease);
}
.navigation a[aria-current="page"] { color: var(--red); background: var(--red-tint); }
.navigation a[aria-current="page"]::after, .navigation a:focus-visible::after { opacity: 1; }
.navigation i[data-icon] { width: 18px; height: 18px; }
.sidebar-action { width: 100%; margin-block-start: 8px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 15px;
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1.45;
  font-size: .88rem;
  text-align: center;
  user-select: none;
  transition: background-color .18s var(--ease), color .18s var(--ease),
    border-color .18s var(--ease), box-shadow .22s var(--ease), transform .18s var(--ease);
}
.button-primary { background: var(--red); border-color: var(--red); color: var(--white); }
.button-outline { background: var(--white); border-color: #d7cecd; color: var(--ink); }
.button:active { transform: translateY(1px); box-shadow: none; }
.button i { width: 17px; height: 17px; }
.header-donate { display: none; }
.subtle-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-weight: 730;
  width: fit-content;
  font-size: .93rem;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color .18s var(--ease), color .18s var(--ease);
}
.subtle-link i { width: 16px; height: 16px; }

.main { min-width: 0; padding-block: 22px 33px; outline: none; }
.activity-record { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.activity-record strong, .activity-record span { display: block; }
.activity-record strong { font-size: 1rem; font-weight: 820; }
.activity-record span { color: var(--muted); overflow-wrap: anywhere; font-size: .8rem; }
.activity-record .button { min-height: 37px; padding-inline: 9px; font-size: .78rem; }
.activity-link { min-height: 34px; margin-block-start: auto; font-size: .86rem; }

.program-section { margin-block-start: 21px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-block-end: 15px; }
.section-heading h2 {
  width: fit-content;
  position: relative;
  padding-inline-start: 13px;
  font-size: clamp(1.33rem, 9.75px, 1.7rem);
  font-weight: 680;
  line-height: 1.45;
}
.section-heading h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: .16em;
  width: 3px;
  border-radius: 2px;
  background: var(--red);
}
.section-heading p { font-size: .93rem; color: var(--muted); margin-block-start: 4px; line-height: 1.75; }
.section-link { white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px #20130e07;
  transition: transform .24s var(--ease), box-shadow .26s var(--ease), border-color .22s var(--ease);
}
.program-photo { width: 100%; aspect-ratio: 2.35; background: #e7e0da; overflow: hidden; border-radius: 11px 11px 0 0; }
.program-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .46s var(--ease); }
.program-content { padding: 12px 14px 11px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.program-category { color: var(--red); font-size: .82rem; font-weight: 750; margin-block-end: 4px; }
.program-card h3 { font-size: 1.12rem; font-weight: 680; line-height: 1.55; }
.program-card h3 a { transition: color .18s var(--ease); }
.program-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.program-card h3 a:focus-visible { outline: none; }
.program-card h3 a:focus-visible::after { outline: 2px solid var(--red); outline-offset: 4px; }
.program-content p { color: var(--muted); line-height: 1.85; font-size: .9rem; margin-block: 4px 11px; }
.wish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.wish-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  transition: border-color .2s var(--ease), box-shadow .22s var(--ease), transform .2s var(--ease);
}
.wish-card-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.wish-illustration, .wish-detail-art { display: grid; place-items: center; background: #f8eaea; color: var(--red); }
.wish-illustration { width: 45px; height: 45px; border-radius: 8px; }
.wish-illustration i { width: 25px; height: 25px; }
.wish-illustration[data-category="experience"], .wish-detail-art[data-category="experience"] { background: #f4eddf; color: #755423; }
.bookmark-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 42px;
  min-height: 41px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.bookmark-button i { width: 17px; height: 17px; }
.bookmark-button[aria-pressed="true"] { background: var(--red-tint); color: var(--red); border-color: #e8b3b3; }
.bookmark-button[aria-pressed="true"] svg { fill: currentColor; }
.bookmark-labelled { padding-inline: 12px; font-size: .87rem; font-weight: 700; }
.wish-card-body { display: flex; flex: 1; flex-direction: column; align-items: start; }
.wish-category { display: inline-block; font-size: .76rem; color: var(--red); font-weight: 750; margin-block: 9px 3px; }
.wish-card h3 { font-size: 1.06rem; font-weight: 680; line-height: 1.55; }
.wish-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.wish-card h3 a:focus-visible { outline: none; }
.wish-card h3 a:focus-visible::after { outline: 2px solid var(--red); outline-offset: 3px; }
.wish-card p { color: var(--muted); margin-block: 4px 9px; font-size: .88rem; line-height: 1.75; }
.wish-card-action { font-size: .81rem; font-weight: 750; color: var(--red); margin-block-start: auto; }
.wish-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-end: 14px; }
.wish-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.wish-filters button { display: inline-flex; align-items: center; gap: 5px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; min-height: 39px; padding: 5px 10px; font-size: .84rem; font-weight: 720; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.wish-filters i { width: 15px; height: 15px; }
.wish-filters button[aria-pressed="true"] { background: var(--red-tint); border-color: #e1b5b5; color: var(--red); }
.wish-count { flex: none; color: var(--muted); font-size: .82rem; }
.wish-empty { grid-column: 1 / -1; }
.source-link { margin-block-start: 10px; }
.wish-detail { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 1.25fr); gap: 24px; align-items: center; padding: 16px; max-width: 800px; border: 1px solid var(--line); border-radius: 12px; }
.wish-detail-art { min-height: 212px; height: 100%; border-radius: 9px; }
.wish-detail-art i { width: 72px; height: 72px; }
.wish-detail-copy { padding: 8px 2px; }
.wish-detail-copy h1 { font-size: clamp(1.45rem, 11.7px, 2rem); line-height: 1.5; font-weight: 720; }
.wish-detail-copy p { margin-block: 6px 13px; line-height: 1.9; color: var(--muted); }
.wish-detail-actions { display: flex; flex-wrap: wrap; gap: 7px; }

.center-section { margin-block-start: 22px; }
.center-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.center-card { display: grid; grid-template-columns: 34% 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.center-card img { object-fit: cover; width: 100%; height: 100%; }
.center-card > div { padding: 11px 12px 5px; }
.center-card h3 { font-size: 1.03rem; font-weight: 680; }
.center-card p { color: var(--muted); font-size: .87rem; line-height: 1.8; margin-block-start: 4px; }
.center-card .subtle-link { font-size: .83rem; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq-list details + details { border-block-start: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 11px 13px; font-size: .9rem; font-weight: 720; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--red); font-size: 1.25rem; line-height: 1; }
.faq-list details[open] summary { background: var(--surface); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.faq-list p { max-width: 77ch; padding: 9px 13px 12px; color: var(--muted); font-size: .89rem; line-height: 1.85; }
.faq-list p a { color: var(--red); text-decoration: underline; }

.trust-band {
  margin-block-start: 35px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--red);
}
.trust-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 9px; color: var(--red); background: var(--red-tint); }
.trust-icon i { width: 22px; height: 22px; }
.trust-band h2 { font-size: 1.18rem; font-weight: 720; }
.trust-band p { color: var(--muted); font-size: .92rem; line-height: 1.8; }
.site-footer { margin-block-start: auto; padding-block: 11px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer-layout, .footer-layout nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { display: inline-flex; align-items: center; gap: 5px; }
.site-footer i[data-icon] { width: 14px; height: 14px; }

.inner-view { min-height: 55vh; }
.inner-heading { margin-block-end: 19px; }
.inner-heading h1, .detail-copy h1 { font-size: clamp(1.65rem, 13.65px, 2.2rem); line-height: 1.38; font-weight: 720; }
.report-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 18px; }
.info-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.info-card h2 { margin-block: 10px 5px; font-weight: 680; font-size: 1.17rem; }
.info-card p { margin-block-end: 12px; line-height: 1.9; color: var(--muted); }
.report-feature { background: var(--surface); border-block-start: 3px solid var(--red); }
.detail { display: grid; grid-template-columns: 1fr 1fr; margin-block-start: 10px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; border-radius: 12px; }
.detail-copy { padding: clamp(22px, 15.6px, 48px); align-self: center; }
.detail-copy .program-category { display: inline-block; margin-block-end: 11px; }
.detail-copy p { margin-block-start: 11px; color: var(--muted); line-height: 1.95; }
.detail-copy ul { padding-inline-start: 20px; line-height: 1.95; margin-block: 13px 19px; }
.detail-image { position: relative; min-height: 320px; background: #e7e0da; }
.detail-image img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.empty { text-align: center; padding: 36px 18px; max-width: 700px; }
.empty .trust-icon { margin-inline: auto; }
.record-list { display: grid; gap: 11px; max-width: 820px; }
.record { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.record strong, .record small { display: block; }
.record small { color: var(--muted); font-size: .84rem; }
.record .trust-icon { width: 39px; height: 39px; }
.record .trust-icon i { width: 18px; height: 18px; }

dialog {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 13px;
  width: min(505px, calc(100% - 32px));
  max-height: calc(100dvh - 26px);
  box-shadow: 0 24px 80px #231d1d45;
}
dialog[open] { animation: enter .23s var(--ease) both; }
dialog::backdrop { background: #231e20a1; backdrop-filter: blur(2px); }
dialog[open]::backdrop { animation: fade .2s var(--ease) both; }
.dialog-frame { position: relative; padding: 21px; }
.dialog-panel { animation: enter .19s var(--ease) both; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); transition: color .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease); }
.dialog-close { position: absolute; inset-inline-end: 17px; inset-block-start: 17px; z-index: 1; }
.dialog-frame h2 { font-size: 1.25rem; font-weight: 680; margin-block-start: 8px; padding-inline-end: 24px; outline: none; }
.dialog-frame p { color: var(--muted); line-height: 1.75; font-size: .94rem; margin-block: 4px 15px; }
.dialog-frame form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 750; font-size: .94rem; }
.field select, .amount-input { width: 100%; border: 1px solid #dcd4d2; color: var(--ink); border-radius: 8px; min-height: 46px; background-color: var(--white); padding: 8px 12px; transition: border-color .18s var(--ease); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #645c5b 50%), linear-gradient(135deg, #645c5b 50%, transparent 50%); background-position: left 14px center, left 9px center; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 30px; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amounts button { border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 8px; min-height: 43px; font-weight: 750; transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease); }
.amounts button[aria-pressed="true"], .amount-input[aria-invalid="true"] { border-color: var(--red); }
.amounts button[aria-pressed="true"] { color: var(--red); background: var(--red-tint); box-shadow: inset 0 0 0 1px var(--red); }
.amount-wrap { position: relative; }
.amount-wrap span { position: absolute; inset-inline-end: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .86rem; pointer-events: none; }
.amount-input { padding-inline-end: 60px; }
.error { color: var(--red); font-size: .86rem; font-weight: 700; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 13px 14px; display: grid; gap: 8px; margin-block: 15px; }
.summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .94rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 770; text-align: end; overflow-wrap: anywhere; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.receipt-mark { background: #e7f3eb; color: #225f40; }
.toast { position: fixed; z-index: 5; inset-inline: 16px; inset-block-end: 18px; width: max-content; max-width: calc(100% - 32px); margin-inline: auto; background: var(--ink); color: var(--white); padding: 8px 15px; border-radius: 8px; pointer-events: none; font-size: .86rem; }
.toast:empty { display: none; }
body:has(dialog[open]) { overflow: hidden; }

.view:not([hidden]) { animation: enter .23s var(--ease) both; }
@keyframes enter { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (hover: hover) and (pointer: fine) {
  .navigation a:hover { color: var(--red); background: var(--red-tint); }
  .button-primary:hover { background: var(--red-deep); border-color: var(--red-deep); box-shadow: 0 5px 13px #81000030; }
  .button-outline:hover, .icon-button:hover { background: var(--red-tint); border-color: #c97e7e; color: var(--red); }
  .subtle-link:hover, .program-card:hover .program-action { color: var(--red-deep); text-decoration-color: currentColor; }
  .program-card:hover { transform: translateY(-3px); border-color: #d3b4b1; box-shadow: 0 10px 23px #39272813; }
  .program-card:hover .program-photo img { transform: scale(1.045); }
  .program-card:hover h3 a, .site-footer a:hover { color: var(--red); }
  .amounts button:hover { border-color: #c97e7e; color: var(--red); background: var(--red-tint); }
  .wish-card:hover { border-color: #d3b4b1; transform: translateY(-2px); box-shadow: 0 7px 17px #39272813; }
  .wish-card:hover h3 a, .wish-card:focus-within h3 a { color: var(--red); }
}


  .shell { width: calc(100% - 56px); }
  .report-grid { grid-template-columns: 1fr 1fr; }
  .report-feature { grid-column: 1 / -1; }
  body { padding-block-end: calc(58px + env(safe-area-inset-bottom)); }
  .app-frame { display: block; }
  .app-sidebar { position: static; margin: 0; padding: 0; border: 0; }
  .navigation {
    position: fixed;
    z-index: 4;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 0 7px env(safe-area-inset-bottom);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -7px 26px #201e1e0a;
  }
  .navigation a { display: flex; flex-direction: column; justify-content: center; min-height: 55px; gap: 3px; font-size: clamp(.62rem, 11.505px, .71rem); padding: 5px 0 4px; }
  .navigation a[aria-current="page"] { background: var(--white); }
  .navigation a::after { inset-inline: 33%; inset-block: 0 auto; height: 2px; width: auto; }
  .toast { inset-block-end: calc(72px + env(safe-area-inset-bottom)); }



  .shell { width: calc(100% - 36px); }
  .header-layout { min-height: 53px; gap: 10px; }
  .brand img { width: clamp(137px, 167.7px, 165px); }
  .header-help { font-size: .8rem; }
  .main { padding-block: 12px 25px; }
  .section-heading { align-items: start; margin-block-end: 15px; }
  .section-heading h2 { font-size: 1.22rem; padding-inline-start: 9px; }
  .section-heading p { margin-block-start: 4px; font-size: .83rem; }
  .section-link { min-height: 37px; padding-inline: 7px; font-size: .74rem; }
  .card-grid { grid-template-columns: 1fr; gap: 8px; }
  .program-card { display: grid; grid-template-columns: minmax(86px, 31%) minmax(0, 1fr); overflow: hidden; }
  .program-card h3 a:focus-visible::after { outline-offset: -2px; }
  .program-photo { height: 100%; aspect-ratio: auto; border-radius: 0; }
  .program-content { padding: 8px 10px 6px; }
  .program-category { font-size: .71rem; margin-block-end: 2px; }
  .program-card h3 { font-size: .98rem; }
  .program-content p { font-size: .79rem; margin-block: 3px 5px; }
  .wish-grid { grid-template-columns: 1fr; gap: 9px; }
  .wish-card { padding: 9px; }
  .wish-illustration { width: 36px; height: 36px; }
  .wish-illustration i { width: 21px; height: 21px; }
  .bookmark-button { min-width: 35px; min-height: 36px; }
  .wish-card h3 { font-size: .91rem; }
  .wish-card p { font-size: .78rem; }
  .wish-filters { gap: 4px; }
  .wish-filters button { min-height: 36px; padding-inline: 7px; font-size: .75rem; }
  .wish-detail { gap: 11px; padding: 11px; grid-template-columns: 1fr; }
  .wish-detail-art { min-height: 137px; }
  .wish-detail-art i { width: 55px; height: 55px; }
  .center-section { margin-block-start: 20px; }
  .center-grid { grid-template-columns: 1fr; gap: 7px; }
  .trust-band { grid-template-columns: auto minmax(0, 1fr); margin-block-start: 23px; padding: 14px; gap: 10px; }
  .trust-band .button { grid-column: 2; justify-self: start; }
  .trust-icon { width: 41px; height: 41px; }
  .trust-icon i { width: 20px; height: 20px; }
  .site-footer { padding-block: 10px; font-size: .73rem; }
  .report-grid, .detail { grid-template-columns: 1fr; }
  .detail-image { min-height: 195px; order: -1; }
  .dialog-frame { padding: 20px; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}

.header-layout { min-height: 70px; }
.brand img { width: 146px; }
.header-tools { gap: 18px; }
.demo-label { color: var(--muted); font-size: .79rem; padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.app-frame { column-gap: clamp(32px, 19.5px, 72px); }
.app-sidebar { margin-block-start: 33px; }
.navigation { gap: 5px; }
.navigation a { font-size: .94rem; font-weight: 500; gap: 12px; min-height: 45px; }
.navigation a[aria-current="page"] { font-weight: 650; }
.navigation a::after { display: none; }
.main { padding-block: 34px 50px; }
.home-heading, .module-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.home-heading { margin-block-end: 20px; }
.home-heading h1, .inner-heading h1 { font-size: clamp(1.42rem, 11.7px, 1.8rem); line-height: 1.5; font-weight: 690; }
.home-heading time { color: var(--muted); font-size: .87rem; }
.fund { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); border-radius: 20px; overflow: hidden; background: #f5f4f1; }
.fund-copy { align-self: center; padding: clamp(24px, 11.7px, 42px); }
.fund-type { display: flex; align-items: center; gap: 7px; color: var(--red); font-size: .88rem; font-weight: 600; }
.fund-type i { width: 17px; height: 17px; }
.fund h2 { font-size: clamp(1.5rem, 10.53px, 2.12rem); font-weight: 700; line-height: 1.55; margin-block: 8px 3px; }
.fund p { font-size: .99rem; color: #565351; line-height: 1.9; }
.fund .button { margin-block-start: 20px; padding-inline: 21px; }
.fund-photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 52% 50%; }
.home-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 15.6px, 54px); margin-block-start: 35px; }
.module-heading { min-height: 44px; align-items: center; }
.module-heading h2 { font-size: 1.12rem; font-weight: 660; }
.module-heading a { color: var(--muted); font-size: .87rem; display: inline-flex; align-items: center; min-height: 44px; }
.home-list { border-block-start: 1px solid var(--line); }
.home-row { display: flex; align-items: center; gap: 12px; min-height: 62px; font-size: .97rem; font-weight: 520; transition: background .18s, color .18s; }
.home-row + .home-row { border-block-start: 1px solid var(--line); }
.row-icon { display: grid; place-items: center; width: 36px; aspect-ratio: 1; background: #f5f4f2; color: #534f4c; border-radius: 12px; }
.row-icon i { width: 20px; height: 20px; }
.recent { margin-block-start: 24px; }
.activity-record { border-block-start: 1px solid var(--line); padding-block: 12px; }
.foundation-links { margin-block-start: 15px; display: flex; flex-wrap: wrap; gap: 20px; }
.button, .amounts button { font-weight: 600; min-height: 44px; }
.section-heading h2 { padding: 0; }
.section-heading h2::before { display: none; }
.program-card, .info-card, .wish-card, .center-card { box-shadow: none; border-radius: 14px; }
.program-content { padding: 14px; }
.program-content p { margin-block-end: 0; }
.program-category, .wish-category { color: var(--muted); font-weight: 540; }
.trust-band, .report-feature { border: 0; background: var(--surface); }
.trust-icon { background: #f3f2f0; color: var(--ink); }
.wish-card { padding: 17px; }
.wish-card p { margin-block-end: 0; }
.wish-card-top .bookmark-button { background: transparent; border-color: transparent; }
.bookmark-button[aria-pressed="true"] { color: var(--red); }
.wish-filters button { min-height: 42px; border-radius: 20px; font-size: .87rem; padding-inline: 13px; font-weight: 520; }
.dialog-frame { padding: 28px; }
.dialog-frame h2 { padding-inline-end: 32px; }
.dialog-frame .trust-icon:not(.receipt-mark) { display: none; }
.receipt-mark { background: #e7f3eb; color: #225f40; }
.dialog-close { border: 0; background: var(--surface); border-radius: 50%; }
.dialog-frame form { gap: 18px; }
.dialog-frame p { margin-block-end: 20px; }
@media (hover: hover) and (pointer: fine) {
  .home-row:hover { color: var(--red); background: #faf9f8; }
  .module-heading a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
  .program-card:hover, .wish-card:hover { transform: none; box-shadow: none; }
}

  .navigation { gap: 0; box-shadow: none; }
  .navigation a { gap: 4px; min-height: 60px; font-size: .77rem; }
  .navigation a[aria-current="page"] { background: #fff; }
  .navigation a[aria-current="page"] i { color: var(--red); }
  .app-sidebar { margin: 0; }
  body { padding-block-end: calc(60px + env(safe-area-inset-bottom)); }


  .header-layout { min-height: 58px; }
  .brand img { width: 122px; }
  .header-tools { gap: 11px; }
  .demo-label { padding-inline-start: 11px; font-size: .75rem; }
  .main { padding-block: 22px 30px; }
  .home-heading { margin-block-end: 14px; }
  .home-heading time { font-size: .81rem; }
  .fund { grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr); border-radius: 15px; }
  .fund-copy { padding: 17px 14px; }
  .fund-type { font-size: .8rem; }
  .fund h2 { font-size: 1.28rem; margin-block: 5px 3px; }
  .fund p { font-size: .89rem; line-height: 1.75; }
  .fund .button { margin-block-start: 14px; padding-inline: 13px; }
  .home-columns { grid-template-columns: 1fr; gap: 17px; margin-block-start: 21px; }
  .home-row { min-height: 49px; }
  .module-heading h2 { font-size: 1.04rem; }
  .row-icon { width: 32px; border-radius: 10px; }
  .wish-toolbar { flex-wrap: wrap; }
  .wish-filters button { padding-inline: 10px; }
  .wish-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) 40px; align-items: center; gap: 9px; padding: 12px; }
  .wish-card-top { display: contents; }
  .wish-illustration { grid-column: 1; grid-row: 1; }
  .wish-card-top .bookmark-button { grid-column: 3; grid-row: 1; min-height: 44px; min-width: 40px; }
  .wish-card-body { grid-column: 2; grid-row: 1; }
  .wish-card h3 { font-size: 1rem; }
  .wish-category { margin: 0; }
  .wish-card p { font-size: .86rem; margin-block-start: 2px; }
  .dialog-frame { padding: 22px; }
  dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - 16px); margin: auto auto 0; border-radius: 19px 19px 0 0; padding-block-end: env(safe-area-inset-bottom); }


/* The workspace uses the same navigation on every route. */
:root{--surface:#f6f5f2;--ink:#282422;--muted:#65605d;--line:#e4e0db;background:#f8f7f5;color:var(--ink)}
body{min-height:100dvh}.shell{width:min(1370px,calc(100% - 72px))}
.header-layout{display:grid;grid-template-columns:180px 1fr auto;gap:32px;min-height:69px}.brand img{width:152px}.context{display:flex;align-items:center;gap:12px;font-size:.86rem;color:#68615d}.context strong{font-weight:600;color:var(--ink)}.context b{color:#bbb3af;font-weight:400}.header-tools{gap:10px}
.search-launch{border:1px solid var(--line);border-radius:10px;color:var(--muted);background:#faf9f7;display:flex;align-items:center;gap:8px;min-height:41px;padding:0 12px;font-size:.87rem}.search-launch i{width:16px}.quick-give{min-height:41px;background:#a10202}.site-header{border-color:var(--line)}
.app-frame{grid-template-columns:178px minmax(0,1fr);gap:30px}.main{padding-block:27px 60px}.app-sidebar{top:91px;margin:22px 0 0;padding:0;background:transparent}.navigation{gap:4px}.navigation a{padding:0 12px;min-height:43px;line-height:1.55}.navigation a[aria-current="page"]{background:#f1ddda;color:#8e191e}.navigation a[aria-current="page"] i{color:#991b24}.navigation .mobile-more{display:none}.side-extra[data-route="monthly"]{margin-top:15px}.side-note{margin-top:18px;border-top:1px solid var(--line);padding:16px 10px}.side-note a{display:flex;gap:9px;align-items:center;font-size:.88rem}.side-note small{display:block;color:var(--muted);font-size:.77rem;margin-top:16px}.side-note i{width:17px}
.page-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:12px}.page-intro h1,.inner-heading h1{font-size:clamp(1.45rem,8.19px,1.9rem);line-height:1.5;font-weight:730}.page-intro p{color:var(--muted);font-size:.95rem;line-height:1.8;margin-top:2px}.page-intro time{color:var(--muted);font-size:.83rem}
.lead-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(205px,.9fr);gap:16px}.wish-cover{display:flex;align-items:center;border-radius:20px;overflow:hidden;background:#5c0912 url("./assets/wish-bicycle.webp") center center/cover no-repeat;min-height:230px;color:white}.cover-copy{width:55%;padding:22px clamp(16px,9.75px,36px)}.cover-category{display:inline-flex;align-items:center;gap:6px;color:#ffddca;font-size:.86rem;font-weight:550}.cover-category i{width:16px}.cover-copy h2{font-size:clamp(1.45rem,10.53px,2.4rem);font-weight:750;margin:10px 0 3px;line-height:1.55}.cover-copy p{font-size:.93rem;color:#ffe5dc;line-height:1.75}.cover-button{margin-top:16px;color:#74141c;background:#fff9f0;font-weight:650;min-height:41px;padding-inline:16px}.cover-button:hover{background:#f3dfd1}
.ledger,.feature-paper,.circle-start,.volunteer-fields article,.services-directory,.gift-stage,.stats-strip,.record,.wish-card,.program-card{border:1px solid var(--line);background:#fff;border-radius:16px}.ledger{padding:16px 19px 0;display:flex;min-width:0;flex-direction:column}.ledger-title{display:flex;align-items:center;gap:9px}.ledger-title h2{font-size:1rem;font-weight:650}.ledger-symbol{display:grid;place-items:center;background:#f6ede6;color:#994126;width:32px;height:32px;border-radius:50%}.ledger-symbol i{width:17px}.ledger>p,.ledger-total span,.ledger-counts span{color:var(--muted);font-size:.8rem}.ledger>p{margin-top:12px}.ledger-total{display:flex;align-items:baseline;gap:7px}.ledger-total strong{font-size:1.9rem;font-weight:680;line-height:1.4;overflow-wrap:anywhere}.ledger-counts{display:flex;gap:15px;flex-wrap:wrap;margin:9px 0}.ledger-counts div{display:flex;align-items:center;gap:5px}.ledger-counts strong{font-size:.95rem}.ledger-link{display:block;color:var(--red);margin-top:auto;border-top:1px solid var(--line);padding:9px 0;font-weight:600;font-size:.84rem}
.toolbelt{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid var(--line);border-radius:16px;background:white;padding:10px 4px;margin:15px 0 24px}.toolbelt a,.toolbelt button{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:var(--ink);border:0;font:inherit;font-weight:600;font-size:.92rem;padding:3px;min-height:47px}.toolbelt>:not(:first-child){border-inline-start:1px solid var(--line)}.service-icon{width:35px;height:35px;border-radius:12px;display:inline-grid;place-items:center;flex:none}.service-icon i{width:20px;height:20px}.rose{background:#f6e5e3;color:#9b323d}.sage{background:#e2eee7;color:#35634e}.apricot{background:#f6ebd8;color:#825c30}.iris{background:#eae7f1;color:#635477}.blue{background:#e3edf3;color:#365d73}
.home-block{margin-top:22px}.module-heading{margin-bottom:7px;min-height:35px}.module-heading h2{font-size:1.23rem;font-weight:700}.module-heading a{color:#7d3935;font-weight:550;min-height:35px}.program-card{overflow:hidden}.program-photo{aspect-ratio:2.55;border-radius:0}.program-content{padding:12px 15px 14px}.program-category{color:#816657;margin-bottom:4px;font-size:.78rem}.program-content h3{font-size:1.07rem}.program-content p{font-size:.89rem;line-height:1.75}
.stories-grid,.volunteer-fields,.circle-list{display:grid;gap:13px}.stories-grid{grid-template-columns:1fr 1fr}.story{display:grid;grid-template-columns:90px minmax(0,1fr);gap:13px;align-items:center;padding:10px;background:white;border-radius:14px;border:1px solid var(--line)}.story img{width:90px;height:82px;border-radius:8px;object-fit:cover}.story h3{font-size:1.01rem;font-weight:660}.story p{font-size:.86rem;color:var(--muted);line-height:1.65;margin-top:4px}.recent,.local-note{font-size:.9rem}.recent .activity-record{background:white;border:1px solid var(--line);border-radius:12px;padding:12px 15px}
.feature-paper{padding:clamp(18px,10.53px,29px);max-width:760px}.feature-paper h2,.circle-start h2,.volunteer-cover h2,.volunteer-fields h3{font-size:1.19rem;line-height:1.65;font-weight:670}.feature-paper>.service-icon{margin-bottom:12px}.feature-paper p,.circle-start p,.volunteer-fields p,.volunteer-cover p{line-height:1.85;color:var(--muted);font-size:.96rem}.feature-paper .plan-amount{font-size:1.65rem;font-weight:700;color:var(--ink);margin:7px 0}.app-form,.app-form label,.find-label{display:grid;gap:9px}.app-form{gap:17px}.app-form label,.find-label span{font-size:.93rem;font-weight:600}.app-form input,.app-form select,.find-label input{width:100%;min-height:46px;padding:8px 11px;background:white;border:1px solid #cfc8c1;border-radius:9px;font:inherit;color:var(--ink)}.split-fields,.gift-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:15px}.app-form .action-row{margin-top:0}.text-btn{color:#81423f;background:transparent;border:0;padding:8px 10px;font:inherit;font-size:.9rem;min-height:44px}.local-note{display:flex;gap:8px;align-items:start;color:var(--muted);line-height:1.8;margin-top:15px}.local-note i{width:17px;margin-top:3px}
.circle-start,.volunteer-cover{display:flex;align-items:center;padding:20px;gap:16px}.circle-start>.button{margin-inline-start:auto;flex:none}.circle-list{margin-top:16px;grid-template-columns:repeat(2,minmax(0,1fr))}.circle-item small{color:var(--muted)}.goal-values{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:20px;flex-wrap:wrap}.goal-values strong{font-size:1.12rem}.goal-values span{font-size:.86rem;color:var(--muted)}progress{width:100%;height:8px;appearance:none;border:0;border-radius:20px;overflow:hidden;background:#eeeae6;accent-color:var(--red)}progress::-webkit-progress-bar{background:#eeeae6}progress::-webkit-progress-value{background:var(--red);border-radius:20px}progress::-moz-progress-bar{background:var(--red)}
.stats-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:0 0 16px}.tiny-stat{padding:16px}.tiny-stat+.tiny-stat{border-inline-start:1px solid var(--line)}.tiny-stat span,.tiny-stat strong{display:block}.tiny-stat span{font-size:.85rem;color:var(--muted)}.tiny-stat strong{margin-top:5px;font-size:1.19rem;font-weight:650;overflow-wrap:anywhere}.empty{max-width:none}.record-list{max-width:none}.volunteer-cover{background:#eeeae4;border-radius:16px;overflow:hidden;justify-content:space-between;padding:0;margin-bottom:20px}.volunteer-cover>div{padding:23px}.volunteer-cover p{margin:8px 0 14px;max-width:50ch}.volunteer-cover img{align-self:stretch;width:32%;max-height:225px;object-fit:cover;object-position:50% 36%}.volunteer-fields{grid-template-columns:repeat(3,1fr)}.volunteer-fields article{padding:17px}.volunteer-fields i{color:#6b5045;margin-bottom:9px}.volunteer-fields p{font-size:.88rem;margin-top:5px}
.services-directory{max-width:700px;padding:0 16px}.services-directory a{display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:14px 0}.services-directory a:last-child{border:0}.gift-stage{display:grid;align-content:center;gap:12px;padding:18px;background:#efece8}.gift-stage canvas{display:block;width:100%;box-shadow:0 6px 20px #40352918}.gift-stage p{font-size:.83rem;text-align:center;color:var(--muted)}.find-label{margin:16px 0 10px}.search-results{max-height:min(350px,50dvh);overflow-y:auto}.search-results a{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 3px;border-bottom:1px solid var(--line)}.search-results small{color:var(--muted)}.wish-detail-art[data-wish="bike"]{background:#78171e url("./assets/wish-bicycle.webp") 6% 50%/auto 100% no-repeat}.wish-detail-art[data-wish="bike"] i{display:none}
@media(hover:hover){.toolbelt a:hover,.toolbelt button:hover,.story:hover,.services-directory a:hover,.search-results a:hover,.circle-item:hover{background:#f8f4f0;color:var(--red)}.cover-category:hover,.ledger-link:hover{text-decoration:underline;text-underline-offset:4px}}


.shell{width:calc(100% - 40px)}.app-frame{display:block}.app-sidebar{margin:0}.navigation .side-extra,.side-note{display:none}.navigation .mobile-more{display:flex}.navigation{background:#fff;box-shadow:0 -4px 20px #3122140a}.navigation a{padding:4px 1px;min-height:61px;font-size:.77rem}.navigation a[aria-current="page"]{background:transparent}.navigation a[aria-current="page"] i{width:32px;background:#f6e5e2;border-radius:6px;padding:1px 5px}.header-layout{display:flex;justify-content:space-between;min-height:59px}.context{display:none}.brand img{width:130px}.main{padding-block:21px 34px}
.shell{width:calc(100% - 28px)}.search-launch{padding:0;width:38px;justify-content:center}.search-launch span{display:none}.quick-give{padding-inline:11px;font-size:.83rem}.header-tools{gap:6px}.page-intro{margin-bottom:12px}.page-intro h1{font-size:1.45rem}.page-intro p{font-size:.86rem}.page-intro time{font-size:.77rem}.lead-grid{display:flex;flex-direction:column;gap:10px}.wish-cover{min-height:171px;background-size:cover;background-position:34% center;border-radius:16px}.cover-copy{width:55%;padding:15px 12px 15px 5px}.cover-copy h2{font-size:1.38rem;margin:5px 0 2px}.cover-category,.cover-copy p{font-size:.79rem}.cover-button{font-size:.8rem;padding:7px 9px;margin-top:10px;min-height:39px}.ledger{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;padding:10px 13px;border-radius:13px}.ledger-title{gap:6px;grid-row:1;grid-column:1}.ledger-title h2{font-size:.93rem}.ledger-symbol{width:27px;height:27px}.ledger-counts,.ledger>p{display:none}.ledger-total{grid-row:2;grid-column:1;margin-inline-start:33px}.ledger-total strong{font-size:1.02rem}.ledger-total::before{content:"مجموع کمک‌ها";color:var(--muted);font-size:.76rem}.ledger-link{grid-column:2;grid-row:1/3;align-self:center;border:0;margin:0;font-size:.78rem;padding:7px 0}.toolbelt{margin:10px 0 19px;padding:6px 1px;border-radius:13px}.toolbelt a,.toolbelt button{flex-direction:column;gap:4px;font-size:clamp(.65rem,11.115px,.8rem);min-height:61px;white-space:nowrap}.toolbelt>:not(:first-child){border:0}.service-icon{width:31px;height:31px;border-radius:10px}.toolbelt i{width:17px;height:17px}.module-heading h2{font-size:1.08rem}.module-heading a{font-size:.8rem}.home-block{margin-top:18px}
.card-grid{grid-template-columns:1fr;gap:8px}.program-card{grid-template-columns:27% minmax(0,1fr);border-radius:12px}.program-photo{height:100%;aspect-ratio:auto}.program-content{padding:8px 11px}.program-content h3{font-size:.99rem}.program-content p{font-size:.84rem;margin:2px 0 0}.program-category{font-size:.75rem;margin:0}.stories-grid,.circle-list,.gift-grid{grid-template-columns:1fr}.story{grid-template-columns:68px 1fr;padding:7px;gap:11px}.story img{width:68px;height:64px}.circle-start{flex-wrap:wrap;padding:16px}.circle-start>div{flex:1;min-width:155px}.circle-start>.button{margin:0}.volunteer-cover>div{padding:14px}.volunteer-cover img{width:29%;max-height:240px}.volunteer-fields{grid-template-columns:1fr}.gift-stage{grid-row:1}.app-form{gap:12px}.welcome-tools{gap:6px}.tiny-stat{padding:10px 8px}.tiny-stat strong{font-size:.99rem}.tiny-stat span{font-size:.76rem}.goal-values{margin-top:12px}




/* Shared visual roles for the donor app */
:root{--canvas:#faf9f7;--paper:#fff;--ink:#221f1e;--muted:#615a56;--line:#dedad6;--red:#a10202;--focus:#13577a;--control:#88807b;--round:14px;--pad:clamp(16px,11.7px,34px);background:var(--canvas)}
body{color:var(--ink)}.shell{width:min(1140px,calc(100% - 64px))}.app-frame{display:block}.main{padding:32px 0 42px}.site-header{background:var(--paper)}.header-layout{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:74px}.brand img{width:148px}
.navigation{display:flex;position:static;flex-direction:row;align-items:center;gap:2px;background:transparent;box-shadow:none;border:0;padding:0}.navigation a{padding:0 12px;min-height:44px;font-size:.95rem;gap:6px;border-radius:8px;font-weight:510;color:#514b48}.navigation a[aria-current="page"]{color:var(--red);background:#f8eae7}.navigation i[data-icon]{width:17px;height:17px}.navigation a:focus-visible,.button:focus-visible,.route-action:focus-visible,:where(button,a,input,select):focus-visible{outline:3px solid var(--focus);outline-offset:3px}.search-launch{width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;background:#fff}.header-tools{gap:9px}.quick-give,.button{min-height:44px}.button-primary{background:var(--red);color:white;border-color:var(--red)}.quick-give{padding-inline:16px}
.discover-head{margin:0 0 19px}.discover-head h1{font-size:clamp(1.7rem,10.53px,2.28rem);letter-spacing:-.03em;line-height:1.55;font-weight:730}.discover-head p{font-size:1rem;color:var(--muted);line-height:1.85;margin-top:3px}.discover-tools{border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.discover-switch{display:flex;gap:20px}.discover-switch button{position:relative;font-size:.97rem;font-weight:550;min-height:48px;min-width:44px;padding:4px 2px;background:transparent;color:var(--muted);border:0}.discover-switch [aria-pressed=true]{color:var(--red);font-weight:690}.discover-switch [aria-pressed=true]::after{position:absolute;content:"";height:3px;border-radius:10px 10px 0 0;bottom:-1px;left:0;right:0;background:var(--red)}.discover-count{font-size:.84rem;color:var(--muted)}
.discovery{display:grid;gap:16px;align-items:stretch}.discovery.featured{grid-template-columns:1.12fr 1fr}.discovery.programs,.discovery.wishes{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-route{min-width:0;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--round);background:var(--paper);display:flex;flex-direction:column}.feature-photo{display:block;overflow:hidden;background:#e1dbd4}.feature-photo img{width:100%;height:clamp(158px,54.6px,212px);object-fit:cover;object-position:50% 46%;transition:transform .35s ease}.wish-feature .feature-photo{background:#680d16}.wish-feature img{object-fit:cover;object-position:center 55%}.feature-copy{padding:17px 21px 14px;flex:1;display:flex;flex-direction:column;align-items:start}.feature-copy>span:first-child,.support-category{font-size:.82rem;font-weight:600;color:#80524a}.feature-copy h2{font-size:clamp(1.15rem,7.02px,1.55rem);line-height:1.6;font-weight:720;margin:3px 0}.feature-copy h2 a::after{content:"";position:absolute;inset:0}.feature-copy:focus-within h2 a::after{outline:3px solid var(--focus);outline-offset:-3px;border-radius:var(--round)}.feature-copy p{font-size:.96rem;line-height:1.8;color:var(--muted);margin:0 0 10px}.route-action{font-size:.87rem;font-weight:650;color:var(--red);display:inline-flex;align-items:center;margin-top:auto;min-height:32px;border-bottom:1px solid #d5afa8}.service-section{margin:26px 0 0}.service-section h2{font-size:1.15rem;font-weight:670;margin-bottom:10px}.service-links{display:grid;grid-template-columns:repeat(4,1fr);background:var(--paper);border-block:1px solid var(--line)}.service-links a{display:flex;align-items:center;gap:12px;padding:12px;min-height:57px;font-size:.95rem;font-weight:560}.service-links i{color:#78534b}.home-meta,.support-sources{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:.83rem;color:var(--muted);margin-top:19px}.home-meta a,.support-sources a,.back-link{display:inline-flex;align-items:center;min-height:44px;gap:7px}.home-meta span{margin-inline-start:auto}.support-sources i{width:15px;height:15px}
.back-link{color:var(--muted);font-size:.91rem;margin-bottom:10px}.support-page{background:var(--paper);border:1px solid var(--line);border-radius:var(--round);overflow:hidden;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);min-height:345px}.support-visual{position:relative;min-height:250px;overflow:hidden;background:#eee8de}.support-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.support-visual .bike-detail{object-position:8% 50%}.support-body{padding:var(--pad);align-self:center;min-width:0}.support-body h1{font-weight:720;font-size:clamp(1.5rem,10.53px,2.12rem);line-height:1.5;margin:5px 0 10px}.support-description{font-size:1rem;line-height:1.95;color:var(--muted)}.support-needs{padding-inline-start:18px;line-height:1.9;margin:10px 0 0;color:var(--muted);font-size:.93rem}.main-support{margin-top:18px;padding-inline:20px}.support-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:4px 15px;padding-top:10px;margin-top:15px;border-top:1px solid var(--line)}.quiet-action,.support-secondary .bookmark-button{display:inline-flex;gap:6px;align-items:center;min-height:44px;color:#564844;font:inherit;font-size:.87rem;background:none;border:0;padding:3px 1px}.quiet-action i,.support-secondary .bookmark-button i{width:16px}.object-symbol{display:grid;place-items:center;width:100%;height:100%;color:#855e45;background:#ece3d4}.object-symbol i{width:92px;height:92px}
#view-history .stats-strip{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding-bottom:12px}.record-list{gap:0;border:1px solid var(--line);border-radius:var(--round);overflow:hidden}.record-list .record{border:0;border-radius:0;padding-block:16px}.record+.record{border-top:1px solid var(--line)}.record .button{color:var(--red)}
.dialog-frame{padding:27px}.flow-step{font-size:.84rem;font-weight:600;color:var(--muted);margin-bottom:5px}.destination-lock{background:#f5f2ee;display:grid;gap:2px;padding:12px 15px;border-radius:9px;margin:14px 0 19px}.destination-lock span{color:var(--muted);font-size:.81rem}.destination-lock strong{font-size:1.06rem;font-weight:640}.field small{font-weight:500;color:var(--muted)}.field input,.app-form input,.app-form select,.find-label input{border-color:var(--control)}.amount-wrap input{min-height:50px;font-weight:630}.amounts{margin-top:3px}.amounts button{min-height:44px;font-size:.9rem}.picked{display:none;margin-inline-end:4px}.amounts [aria-pressed=true] .picked{display:inline}.dialog-frame .payment-note{font-size:.86rem;color:var(--muted);line-height:1.8;margin:0 0 12px}.dialog-frame form .payment-note{margin:0}.dialog-frame h2{padding-inline-end:38px}.dialog-close{width:44px;height:44px}.dialog-panel .summary{border:0;background:#f5f2ee;padding:15px;gap:12px}.dialog-panel .summary div{flex-wrap:wrap}.dialog-panel .summary dd[dir=ltr]{unicode-bidi:isolate}.outcome-symbol{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--surface);margin-bottom:12px}.outcome-symbol.success{color:#285f43;background:#e4efe5}.outcome-symbol.failed{color:var(--red);background:#f7e5df}.outcome-symbol.pending{color:#76551f;background:#f1eadd}.cancel-gift{margin-top:5px}.dialog-frame [role=status]{min-height:1em}.demo-states{margin-top:18px}.demo-states summary{min-height:44px;cursor:pointer;font-size:.94rem}.demo-states button{margin:3px}
@media(hover:hover) and (pointer:fine){.feature-route:hover img{transform:scale(1.025)}.feature-route:hover .route-action,.back-link:hover,.quiet-action:hover,.home-meta a:hover,.support-sources a:hover{text-decoration:underline;text-underline-offset:4px}.discover-switch button:hover{color:var(--red)}.service-links a:hover{background:#f6eeeb;color:var(--red)}}
body{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.shell{width:min(850px,calc(100% - 40px))}.header-layout{min-height:62px}.brand img{width:132px}.navigation{position:fixed;inset:auto 0 0;z-index:6;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:4px 5px env(safe-area-inset-bottom);background:#fff;border-top:1px solid var(--line)}.navigation a{height:56px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:3px 1px;font-size:.8rem;border-radius:8px}.navigation a[aria-current="page"]{background:#fff}.navigation a[aria-current="page"] i,.navigation i[data-icon]{width:20px;height:20px;padding:0;background:transparent}.navigation a[aria-current="page"]::after{display:block;inset:auto 39% 0;width:auto;height:2px}.main{padding:24px 0 25px}.support-page{min-height:290px}
.shell{width:calc(100% - 32px)}.header-layout{min-height:58px}.brand img{width:119px}.quick-give{font-size:.88rem;padding-inline:12px}.search-launch{border:0}.main{padding:20px 0 14px}.discover-head{margin-bottom:10px}.discover-head h1{font-size:1.5rem}.discover-head p{font-size:.91rem;line-height:1.8}.discover-switch{gap:14px}.discover-tools{margin-bottom:12px}.discover-switch button{font-size:.88rem;min-height:44px}.discover-count{font-size:.75rem}.discovery.featured,.discovery.programs,.discovery.wishes{grid-template-columns:1fr;gap:10px}.feature-route{display:grid;grid-template-columns:minmax(86px,34%) minmax(0,1fr)}.feature-photo{min-height:158px}.feature-photo img{height:100%;width:100%;object-position:center}.wish-feature .feature-photo img{object-position:14% center}.feature-copy{padding:12px 13px}.feature-copy>span:first-child{font-size:.75rem}.feature-copy h2{font-size:1.13rem}.feature-copy p{font-size:.86rem;line-height:1.75;margin-bottom:3px}.route-action{font-size:.82rem;min-height:29px}.service-section{margin-top:19px}.service-section h2{font-size:1.06rem}.service-links{grid-template-columns:1fr 1fr}.service-links a{min-height:48px;padding:8px;gap:8px;font-size:.88rem}.service-links a:nth-child(n+3){border-top:1px solid var(--line)}.home-meta{gap:11px;margin-top:5px}.support-page{grid-template-columns:1fr;min-height:0}.support-visual{min-height:0;height:150px}.support-visual .bike-detail{object-position:left 50%;object-fit:cover}.support-body{padding:16px}.support-body h1{font-size:1.45rem;margin:4px 0}.support-description{font-size:.95rem}.main-support{width:100%;margin-top:13px}.support-secondary{justify-content:space-between;margin-top:10px;padding-top:4px;gap:2px 6px}.quiet-action,.support-secondary .bookmark-button{font-size:.82rem}.support-sources{gap:12px;margin-top:5px}.dialog-frame{padding:20px}.dialog-frame .amounts{gap:5px}.dialog-frame{overflow-wrap:anywhere}.dialog-frame .amounts button{font-size:.84rem}.dialog-close{inset-inline-end:12px;inset-block-start:12px}.support-needs{line-height:1.8}.home-meta span{font-size:.75rem}

@media(prefers-reduced-motion:reduce){.feature-photo img{transition:none}}



/* White canvas, ruby controls and original dimensional service artwork. */
:root{--canvas:#fff;--paper:#fff;--white:#fff;--surface:#fff5f4;--red:#a10202;--red-tint:#fff0ee;--ink:#262324;--muted:#675e60;--line:#eee5e5;background:#fff}html,body,.app-frame,.main{background:#fff}.shell{width:min(1140px,calc(100% - 64px))}.main{padding-top:27px}.site-header{border-bottom:1px solid #f1e7e7}.navigation a[aria-current="page"]{background:#fff0ee;color:#a10202}.header-tools .button,.button-primary,.button-outline,.banner-link{border-radius:100px}.search-launch,.help-tool{border:0;border-radius:50%;width:44px;height:44px;background:white;color:#9e252d;display:inline-grid;place-items:center}.help-tool i,.search-launch i{width:21px;height:21px}.quick-give{white-space:nowrap}.hub{display:grid;grid-template-columns:1.55fr 1fr;gap:clamp(22px,11.7px,44px);align-items:center}
.campaign-deck{position:relative;isolation:isolate;min-width:0;margin-bottom:8px}.campaign-deck::before{content:"";position:absolute;inset:10px 12px -7px;background:#f1a4a8;border-radius:20px;z-index:-1}.campaign-panel{display:flex;align-items:center;min-height:228px;border-radius:22px;color:white;background-color:#650619;overflow:hidden;background-repeat:no-repeat;background-size:cover;background-position:center}.campaign-ribbon{background-image:url("./assets/ayeh-ribbon.webp")}.campaign-bicycle{background-image:url("./assets/wish-bicycle.webp")}.campaign-care{background-image:linear-gradient(to left,#660319 5%,rgba(97,3,22,.94) 35%,transparent 80%),url("./assets/care.webp");background-position:center,center 45%}
.banner-copy{width:58%;padding:22px 27px 42px 8px}.banner-copy h1{color:white;font-size:clamp(1.48rem,9.36px,2.28rem);font-weight:730;line-height:1.5}.banner-copy p{color:#ffe6e3;font-size:.95rem;line-height:1.7;margin:4px 0 12px}.banner-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:5px 16px;background:#fff;color:#8f1324;font-weight:650;font-size:.89rem}.campaign-switch{position:absolute;bottom:3px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:0}.campaign-switch button{width:28px;height:36px;border:0;padding:0;display:grid;place-items:center;background:transparent}.campaign-switch button::after{content:"";width:6px;height:6px;border-radius:6px;background:#ffbebc;transition:width .18s ease}.campaign-switch [aria-pressed=true]::after{width:15px;background:white}.service-hub h2,.module-heading h2{font-size:1.17rem;font-weight:700}.service-hub h2{margin-bottom:13px}.art-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 5px}.art-grid a,.art-grid button{display:flex;flex-direction:column;align-items:center;justify-content:start;gap:5px;color:var(--ink);font:inherit;font-weight:550;font-size:.85rem;line-height:1.65;text-align:center;border:0;background:white;min-width:0;padding:0}.service-art,.wish-art{display:inline-block;position:relative;flex:none;isolation:isolate}.service-art{width:55px;aspect-ratio:1;border-radius:17px;background:#fff3f1}.service-art::before,.wish-art::before{content:"";position:absolute;inset:6%;background-repeat:no-repeat;mix-blend-mode:multiply;transition:transform .2s ease}.service-art::before{background-image:url("./assets/ayeh-services.webp");background-size:400% 200%;background-position:var(--x,0%) var(--y,0%)}.art-programs,.art-gift{--x:33.333%}.art-wishes,.art-volunteer{--x:66.667%}.art-monthly,.art-history{--x:100%}.art-circles,.art-gift,.art-volunteer,.art-history{--y:100%}.art-programs,.art-monthly,.art-circles,.art-history{background:#fff8f1}.wish-art{width:76px;aspect-ratio:1;border-radius:50%;background:#fff3f1}.wish-art::before{inset:12%;background-image:url("./assets/ayeh-wish-objects.webp");background-size:300% 200%;background-position:var(--wx,0%) var(--wy,0%)}.wish-art-cinema,.wish-art-laptop{--wx:50%}.wish-art-tablet,.wish-art-football{--wx:100%}.wish-art-park,.wish-art-laptop,.wish-art-football{--wy:100%}
.support-feed,.wish-feed{margin-top:24px}.module-heading{margin-bottom:10px}.module-heading a,.back-link{color:#9e2732}.feed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.feed-grid .program-card,.card-grid .program-card{border:0;border-radius:0;background:#fff;overflow:visible}.program-card .program-photo{border-radius:15px;overflow:hidden}.program-card .program-content{padding:10px 1px 5px}.feed-grid .program-photo{aspect-ratio:2.55}.program-card .program-category{color:#9e3540;font-size:.78rem}.program-card .program-content p{color:var(--muted);font-size:.89rem}.wish-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.wish-preview a{display:flex;align-items:center;gap:13px;min-width:0}.wish-preview strong,.wish-preview small,.directory-copy strong,.directory-copy small{display:block}.wish-preview small,.directory-copy small{font-size:.84rem;color:var(--muted);font-weight:430}.wish-preview strong{font-size:1rem;font-weight:640}.wish-preview .wish-art{width:58px}.home-meta{border-top:1px solid var(--line);margin-top:24px}
#wish-count{color:var(--muted)}.wish-filters{border-bottom:1px solid var(--line);gap:10px}.wish-filters button,.wish-filters button[aria-pressed=true]{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding-inline:8px}.wish-filters button[aria-pressed=true]{color:var(--red);border-bottom-color:var(--red)}.wish-grid{gap:20px 14px}.wish-grid .wish-card{display:flex;flex-direction:column;align-items:center;justify-content:start;padding:12px 7px;border:0;text-align:center;border-radius:12px}.wish-grid .wish-card-top{display:flex;justify-content:center;align-items:center}.wish-card-top .wish-art{width:clamp(80px,42.9px,120px)}.wish-card-top .bookmark-button{position:absolute;inset:5px auto auto 5px;min-width:36px;min-height:40px}.wish-card-body{align-items:center;margin-top:8px}.wish-card-body p{margin:2px 0;color:var(--muted)}.wish-category{color:#9c3442;margin:0}.support-visual.wish-object{background:#fff6f5;display:grid;place-items:center}.support-visual.wish-object .wish-art{width:min(240px,65%);background:transparent}.support-visual.wish-object .wish-art::before{inset:0}.support-page{border-color:var(--line);border-radius:20px}.main-support{border-radius:30px}
#view-history{max-width:820px;margin-inline:auto}.journal-cover{background:linear-gradient(135deg,#bd2639,#930817 62%,#76051b);color:white;border-radius:24px;padding:26px 24px 23px;text-align:center}.journal-cover h1{font-size:1.12rem;font-weight:600}.journal-cover p{color:#ffe6e6;font-size:.88rem;margin-block:4px}.journal-cover .journal-amount{display:block;font-weight:730;font-size:clamp(1.8rem,15.6px,2.5rem);line-height:1.6}.journal-actions{display:flex;justify-content:center;gap:27px;margin-top:16px}.journal-actions a,.journal-actions button{display:flex;flex-direction:column;align-items:center;gap:5px;background:none;border:0;color:white;font:inherit;font-size:.85rem;padding:0}.journal-actions i{background:#ffffff24;width:42px;height:42px;padding:10px;border-radius:50%}.journal-actions button i{background:#fff;color:var(--red)}.journal-list{background:#fff;border-radius:20px 20px 0 0;margin-top:-12px;padding:12px 0 0;position:relative}.journal-list .module-heading{margin:0}.journal-list .info-card.empty{border:0;border-radius:0}.record-list{border:0}.record-list .record{width:100%;text-align:start;font:inherit;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;color:var(--ink);border:0;border-bottom:1px solid var(--line);padding:14px 0}.record .trust-icon{color:#a32235;background:#fff0ef;border-radius:50%}.record .record-amount{font-weight:680;white-space:nowrap;font-size:.93rem}.journal-list>p{font-size:.84rem;color:var(--muted);margin:3px 0 7px}
.services-directory{border:0;background:white;padding:0}.services-directory a{padding:14px 0;gap:15px;border-color:var(--line)}.directory-copy strong{font-size:1.01rem;font-weight:620}.services-directory .service-art,.services-directory .service-icon{width:46px;height:46px}.services-directory .service-icon{background:#fff1f0;color:#a52a3c;border-radius:16px}.destination-lock,.dialog-panel .summary,.gift-stage,.trust-band,.volunteer-cover{background:#fff4f3}.field .amount-input{font-size:1.1rem}.dialog-close{background:#fff0ef}.button-outline{background:#fff;border-color:#d6bfc1}.dialog-frame .amounts button{border-radius:20px}.dialog-frame .amounts [aria-pressed=true]{color:#a10202;background:#fff1ee}.navigation a:active,.art-grid a:active,.art-grid button:active,.banner-link:active{transform:scale(.97)}
@media(hover:hover){.art-grid a:hover .service-art::before,.art-grid button:hover .service-art::before,.wish-preview a:hover .wish-art::before{transform:translateY(-3px) scale(1.04)}.banner-link:hover{background:#ffe5e1}.wish-card:hover,.program-card:hover{box-shadow:none}.record-list .record:hover{background:#fff9f9}}
.shell{width:calc(100% - 38px)}.hub{grid-template-columns:1.1fr 1fr;gap:20px}.campaign-panel{min-height:218px}.banner-copy{padding-inline:16px 3px}.navigation{border-top:1px solid #eee6e6}.navigation a[aria-current=page]{background:white}.navigation a[aria-current=page] i{background:#ffebeb;color:#ab1028;border-radius:9px;width:33px;padding:1px 5px}.navigation a::after{display:none!important}.navigation a{color:#746971}.main{padding-top:18px}
.shell{width:calc(100% - 32px)}.main{padding-block:14px 23px}.hub{display:block}.campaign-panel{min-height:150px;border-radius:17px;background-position:36% center}.campaign-deck::before{border-radius:16px;inset:9px 10px -5px}.banner-copy{width:58%;padding:14px 14px 26px 2px}.banner-copy h1{font-size:1.24rem}.banner-copy p{font-size:.81rem;margin:2px 0 7px}.banner-link{font-size:.8rem;min-height:36px;padding:4px 13px}.campaign-switch{bottom:-2px}.campaign-switch button{height:30px}.service-hub{margin-top:19px}.service-hub h2,.support-feed .module-heading h2,.wish-feed .module-heading h2{font-size:1.04rem}.service-hub h2{margin-bottom:9px}.art-grid{gap:10px 4px}.art-grid a,.art-grid button{font-size:.78rem;gap:4px}.service-art{width:clamp(43px,50.7px,56px);border-radius:15px}.support-feed,.wish-feed{margin-top:16px}.feed-grid{display:grid;grid-template-columns:repeat(3,minmax(155px,1fr));gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding:3px 1px 7px}.feed-grid .program-card{display:flex;flex-direction:column;scroll-snap-align:start}.feed-grid .program-photo{aspect-ratio:1.9;height:auto}.feed-grid .program-photo img{width:100%;height:100%;object-fit:cover}.feed-grid .program-content{padding:6px 1px 2px}.feed-grid .program-content p{display:none}.feed-grid .program-content h3{font-size:.95rem}.card-grid .program-card{border-bottom:1px solid var(--line);padding-block:8px;align-items:center;gap:12px}.card-grid .program-photo{aspect-ratio:1.15;height:auto}.card-grid .program-content{padding:0}.wish-preview{gap:9px}.wish-preview a{flex-direction:column;gap:5px;text-align:center}.wish-preview strong{font-size:.85rem}.wish-preview small{font-size:.76rem}.wish-preview .wish-art{width:60px}.wish-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wish-card-top .wish-art{width:84px}.wish-card-body h3{font-size:.96rem}.wish-card-body p{font-size:.8rem}.wish-grid .wish-card{padding:12px 4px}.wish-card-top .bookmark-button{inset:0 auto auto 0}.support-visual.wish-object .wish-art{height:120px;width:120px}.journal-cover{padding:19px 12px 23px;border-radius:19px}.journal-list{padding-top:10px}.journal-list .record-amount{font-size:.82rem}.dialog-frame::before{content:"";display:block;width:34px;height:4px;border-radius:4px;background:#d8bfc2;margin:-9px auto 13px}.dialog-frame{padding-top:21px}.home-meta{margin-top:16px}.quick-give{font-size:.8rem}.help-tool{width:38px}



/* One phone canvas shared by the shell, bottom bar and sheets. */
:root { --phone-width: 390px; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { width: min(100%, var(--phone-width)); margin-inline: auto; background: white; }
.shell { width: calc(100% - 32px); }
.site-header { border: 0; background: white; }
.header-layout { min-height: 60px; }
.header-tools { gap: 2px; }
.brand img { width: 124px; }
.navigation, dialog, .toast { max-width: var(--phone-width); margin-inline: auto; }
.navigation { width: min(100%, var(--phone-width)); box-shadow: none; }
dialog { width: min(100%, var(--phone-width)); }
dialog::backdrop { background: linear-gradient(#2c141952,#2c141952) center / min(100%, var(--phone-width)) 100% no-repeat; backdrop-filter: none; }
.main { padding-top: 4px; }
.art-grid { row-gap: 13px; }
.art-grid a, .art-grid button { font-size: .82rem; }
.art-grid .service-art { width: 65px; border-radius: 17px; }
.service-hub { margin-top: 23px; }
.service-hub h2 { margin-bottom: 12px; }
.support-feed, .wish-feed { margin-top: 23px; }
.campaign-bicycle { background-image: linear-gradient(to left,#6a071b 0%,rgba(106,7,27,.88) 45%,transparent 77%),url("./assets/wish-bicycle.webp"); }
.banner-copy h1 { line-height: 1.6; }
.feed-grid { grid-template-columns: repeat(3, 73%); scrollbar-width: none; }
.feed-grid .program-photo { aspect-ratio: 2.45; }
.feed-grid .program-content h3 { margin-top: 1px; }
.journal-cover h1, .journal-actions a { color: white; }
.journal-list { padding: 18px 4px 0; }
#journal-count { color: var(--muted); font-size: .85rem; }
.record-list .record .trust-icon { display: grid; place-items: center; }
.services-directory { display: flex; flex-direction: column; }
.services-directory a { display: flex; justify-content: flex-start; }
.wish-card-body { text-align: center; }
.wish-grid .wish-card-top { position: static; }

/* The five destinations share the same icon slot and label baseline. */
:root { --tab-height: 65px; }
body { padding-bottom: calc(var(--tab-height) + env(safe-area-inset-bottom) + 10px); }
.tab-bar {
  position: fixed; inset: auto 0 0; z-index: 8;
  width: min(100%, var(--phone-width)); margin-inline: auto;
  padding: 3px 4px env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  background: white; border-top: 1px solid #efe5e5;
}
.tab-bar a {
  height: calc(var(--tab-height) - 4px); min-width: 0;
  display: grid; justify-items: center; align-content: center;
  grid-template-rows: 28px 18px; row-gap: 3px; color: #665c5e;
  font-size: .79rem; font-weight: 500; border-radius: 12px;
}
.tab-symbol { display: grid; place-items: center; width: 43px; height: 28px; border-radius: 20px; }
.tab-symbol i[data-icon], .tab-symbol svg { display: block; width: 21px; height: 21px; }
.tab-label { line-height: 18px; white-space: nowrap; }
.tab-bar a[aria-current="page"] { color: #9c182a; font-weight: 690; }
.tab-bar a[aria-current="page"] .tab-symbol { background: #ffeaeb; }
.tab-bar a:active .tab-symbol { background: #fae5e5; }
.tab-bar a:focus-visible { outline-offset: -2px; }
.toast { z-index: 9; inset-block-end: calc(var(--tab-height) + 10px + env(safe-area-inset-bottom)); }

.art-reports::before, .art-help::before, .art-profile::before {
  background-image: url("./assets/companion-icons.webp"); background-size: 300% 100%;
}
.art-reports::before { background-position: left center; }
.art-help::before { background-position: center; }
.art-profile::before { background-position: right center; }
.profile-launch { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.profile-launch .art-profile { width: 35px; border-radius: 50%; background-color: #fff0ee; }
.profile-launch[aria-current] { outline: 1px solid #e8bec3; outline-offset: -3px; }
.member-card {
  display: grid; grid-template-columns: 63px minmax(0, 1fr); align-items: center; gap: 12px 14px;
  border: 1px solid #f0dbdc; border-radius: 21px; padding: 18px;
  background: linear-gradient(130deg, white, #fff4f3);
}
.member-card .art-profile { width: 63px; border-radius: 50%; background-color: #ffe4e5; }
.member-card small { color: #8d3743; font-size: .81rem; }
.member-card h2 { font-size: 1.24rem; }
.member-card dl { grid-column: 1/-1; display: flex; gap: 12px; margin: 0; border-top: 1px solid #f2dfe0; padding-top: 13px; }
.member-card dl div { flex: 1; }
.member-card dt { font-size: .82rem; color: var(--muted); }
.member-card dd { margin: 2px 0 0; text-align: right; font-weight: 620; }
.profile-links { margin-top: 16px; }
.wish-toolbar { display: block; }
.wish-filters { display: grid; grid-template-columns: auto auto auto 1fr; gap: 2px; }
.wish-filters button { justify-content: center; }

.program-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.program-tile { display: flex; flex-direction: column; min-width: 0; border-radius: 17px; overflow: hidden; background: #fff; border: 1px solid #ecdfe0; }
.program-tile > img { width: 100%; height: 107px; object-fit: cover; }
.tile-copy { padding: 11px 12px 13px; }
.tile-copy small { color: #963542; font-weight: 560; font-size: .77rem; }
.tile-copy h2 { margin: 2px 0 4px; font-size: 1rem; line-height: 1.6; }
.tile-copy p { font-size: .83rem; line-height: 1.8; color: var(--muted); }
.program-spotlight { grid-column: 1 / -1; position: relative; border: 0; background: #650c21; }
.program-spotlight > img { height: 157px; }
.program-spotlight .tile-copy { padding: 12px 16px 15px; color: white; }
.program-spotlight .tile-copy small { color: #ffd5db; }
.program-spotlight .tile-copy h2 { font-size: 1.32rem; margin-block: 0 4px; }
.program-spotlight .tile-copy p { color: #fff1f2; font-size: .87rem; }
.tile-action { position: absolute; inset-inline-end: 14px; bottom: 59px; border: 1px solid #e5afb8; border-radius: 20px; padding: 3px 12px; font-size: .8rem; }
.volunteer-shortcut { display: flex; gap: 11px; align-items: center; padding: 15px 2px 6px; margin-top: 4px; }
.volunteer-shortcut .service-art { width: 45px; }
.volunteer-shortcut strong, .volunteer-shortcut small { display: block; }
.volunteer-shortcut strong { font-size: .97rem; }
.volunteer-shortcut small { color: var(--muted); font-size: .84rem; }
.volunteer-shortcut > i { margin-inline-start: auto; transform: rotate(180deg); color: #99434c; }
@media (hover: hover) {
  .program-tile:hover { border-color: #ce929a; }
  .program-spotlight:hover .tile-action { background: white; color: #650c21; }
}
/* Mobile composition: let the phone set the measure. Larger displays keep a compact app. */
:root {
  --phone-width: 32rem;
  --gutter: clamp(12px, 4.1vw, 22px);
  --card-pad: clamp(14px, 4.1vw, 22px);
  --section-gap: clamp(18px, 5vw, 26px);
  --soft: #fff3f1;
  --ruby: #82132a;
}
body { container-type: inline-size; padding-top: env(safe-area-inset-top); }
.shell { width: auto; margin-inline: max(var(--gutter), env(safe-area-inset-right)) max(var(--gutter), env(safe-area-inset-left)); }
body, main, .view, .app-frame, .app-form, .app-form label, .split-fields > *, .gift-grid > *, .tile-copy { min-width: 0; }
.app-frame { align-self: stretch; }
.art-grid .service-art { width: clamp(51px, 16.65cqw, 74px); }
.campaign-panel { min-height: clamp(139px, 38.5cqw, 192px); }
.banner-copy h1 { font-size: clamp(1.13rem, 5.1cqw, 1.48rem); }
.tab-bar { padding-inline: max(4px, env(safe-area-inset-right)) max(4px, env(safe-area-inset-left)); }
.inner-view { padding-block-start: 4px; }
.inner-view :is(.page-intro,.section-heading,.service-intro) h1, .support-body h1 { font-size: clamp(1.22rem, 5.35cqw, 1.54rem); font-weight: 720; line-height: 1.55; }
.inner-view :is(.page-intro,.inner-heading) { margin: 0 0 15px; }
.page-intro p, .service-intro p { font-size: .9rem; line-height: 1.8; }
.service-intro, .report-cover {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center;
  border-radius: 20px; padding: var(--card-pad); margin-bottom: var(--section-gap);
  background: linear-gradient(118deg, #ffe5e1, #fff5f3 60%, #fffafa);
}
.service-intro h1, .report-cover h2 { color: #551529; }
.service-intro p, .report-cover p { color: #694d53; margin-top: 3px; }
.service-intro .service-art, .report-cover .service-art, .circle-start .service-art {
  width: clamp(61px,19cqw,91px); background: transparent;
}
.service-intro .service-art::before, .report-cover .service-art::before, .circle-start .service-art::before { inset: 0; }
.report-cover { margin-block: 0 22px; background: linear-gradient(120deg,#fbd4c8,#fff4ed 70%); }
.report-cover h2 { font-size: 1.2rem; }
.report-cover p { font-size: .9rem; }
.cover-link { display: inline-flex; gap: 5px; align-items: center; margin-top: 8px; color: var(--ruby); font-weight: 620; font-size: .85rem; }
.cover-link i, .center-links i { width: 14px; height: 14px; }
.center-section { margin-block: 0; }
.center-grid { display: grid; gap: 12px; }
.center-card { grid-template-columns: 31% minmax(0,1fr); border-radius: 17px; }
.center-card > div { padding: 12px; }
.center-card img { min-height: 100%; }
.center-card p { margin-block: 2px; }
.center-links { display: flex; flex-wrap: wrap; column-gap: 13px; }
.center-links a { display: inline-flex; align-items: center; gap: 3px; min-height: 40px; font-size: .82rem; color: var(--ruby); }
.center-links a:first-child { font-weight: 650; }
#services-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#services-directory a { display: grid; align-content: start; gap: 8px; padding: var(--card-pad); border: 1px solid var(--line); border-radius: 17px; background: #fff; }
#services-directory a:nth-last-child(-n+2) { grid-column: 1/-1; display: flex; align-items: center; }
#services-directory a .service-art { width: 51px; height: 51px; }
.directory-copy small { line-height: 1.7; }
.profile-links a { padding-block: 12px; }
.member-card { background: linear-gradient(120deg,#ffdfdb,#fff6f3 60%); }
.member-card dl { padding-top: 12px; }
.wish-grid { align-items: stretch; }
.wish-grid .wish-card { background: linear-gradient(#fff9f7,#fff 78%); border: 1px solid #f4e6e5; border-radius: 17px; padding: 16px 8px 11px; }
.wish-card-top .wish-art { width: clamp(68px,21cqw,100px); }
.wish-card-top .bookmark-button { inset: 2px auto auto 2px; }
.wish-card-body h3 { line-height: 1.55; }
.wish-card-body p { font-size: .84rem; line-height: 1.7; }
.wish-filters { grid-template-columns: repeat(3,minmax(0,1fr)) minmax(max-content,1.55fr); }
.wish-filters button { min-width: 0; min-height: 44px; padding-inline: 3px; }
.wish-empty { grid-column: 1/-1; }
.program-tile > img, .program-spotlight > img { height: auto; aspect-ratio: 1.6; }
.program-spotlight > img { aspect-ratio: 2.24; }
.program-spotlight .tile-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 0 8px; }
.program-spotlight .tile-copy small, .program-spotlight .tile-copy h2 { grid-column: 1; }
.program-spotlight .tile-copy p { grid-column: 1/-1; grid-row: 3; }
.program-spotlight .tile-action { position: static; grid-column: 2; grid-row: 1/3; justify-self: end; }
.support-visual, .support-visual.wish-object { height: auto; aspect-ratio: 2.05; }
.support-visual.wish-object { background: radial-gradient(ellipse at center,#fff 0%,#fff5ee 55%,#fce4dd 100%); }
.support-visual.wish-object .wish-art { width: clamp(105px,32cqw,160px); height: auto; }
.support-body { padding: var(--card-pad); }
.support-secondary, .support-sources { flex-wrap: wrap; }
.support-needs { display: grid; gap: 5px; }
.support-sources a { min-height: 44px; display: inline-flex; align-items: center; }
.journal-cover { padding: var(--card-pad) var(--card-pad) 25px; }
.journal-actions { gap: clamp(14px,6cqw,30px); }
.record-list .record { gap: 8px; }
.record .record-amount, .goal-values strong { overflow-wrap: anywhere; white-space: normal; }
.journal-list .info-card.empty { background: #fff9f7; border-radius: 17px; padding: var(--card-pad); }
.feature-paper, .app-form, .circle-start { border-color: var(--line); border-radius: 19px; padding: var(--card-pad); }
.app-form { gap: 14px; }
.app-form h2, .feature-paper h2, .circle-start h2, .dialog-panel h2 { line-height: 1.55; font-size: 1.15rem; overflow-wrap: anywhere; }
.app-form label { gap: 6px; font-size: .87rem; }
.app-form :is(input,select), .dialog-panel input { width: 100%; max-width: 100%; min-width: 0; font-size: max(1rem,16px); min-height: 46px; }
.app-form :is(input,select) { background-color: #fffcfb; border-color: #e8dbdc; border-radius: 12px; }
.app-form .action-row .button-primary, #gift-png { flex: 1; }
.split-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.local-note { align-items: flex-start; line-height: 1.8; }
.circle-start { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; background: linear-gradient(120deg,#ffe1d8,#fff7f4 66%); gap: 6px 12px; }
.circle-start .service-art { grid-column: 2; grid-row: 1/3; }
.circle-start > div { min-width: 0; grid-column: 1; grid-row: 1; }
.circle-start > .button { justify-self: start; grid-row: 2; margin-top: 6px; }
.circle-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 10px; }
.feature-paper:has(progress) { background: #fffaf8; }
.goal-values { display: flex; flex-wrap: wrap; gap: 5px 12px; }
.action-row { flex-wrap: wrap; }
.gift-stage { background: #fff4f1; padding: clamp(12px,4cqw,20px); border-radius: 18px; border: 0; }
.gift-stage canvas { max-width: 100%; height: auto; border-radius: 10px; }
.volunteer-cover { flex-direction: column-reverse; gap: 0; align-items: stretch; background: #fff4f1; }
.volunteer-cover > img { width: 100%; height: auto; aspect-ratio: 2.35; object-position: center 36%; }
.volunteer-cover > div { padding: var(--card-pad); }
.volunteer-fields { gap: 0; }
.volunteer-fields article { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 2px 12px; align-items: center; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.volunteer-fields article i { grid-row: 1/3; background: var(--soft); border-radius: 12px; padding: 9px; width: 40px; height: 40px; margin: 0; color: var(--ruby); }
.volunteer-fields h3, .volunteer-fields p { margin: 0; }
.volunteer-fields h3 { font-size: 1rem; }
.faq-list { border-radius: 17px; }
.faq-list summary { min-height: 53px; font-weight: 600; }
.demo-states button { margin: 4px 0; }
.dialog-frame { padding-inline: var(--card-pad); }
.dialog-panel .destination-lock { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-radius: 15px; }
.destination-lock .service-art { width: 45px; flex: none; }
.dialog-panel .destination-lock .service-art { display: block; }
.dialog-panel .dialog-actions > *, .dialog-panel .amounts > * { min-width: 0; }
dialog { max-height: calc(100dvh - env(safe-area-inset-top) - 8px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 359px) {
  .split-fields { grid-template-columns: 1fr; }
  .art-grid a,.art-grid button { font-size: .77rem; }
  .wish-filters button { font-size: .79rem; }
  .journal-actions { gap: 13px; }
  .record .trust-icon { width: 30px; height: 30px; }
  .dialog-actions { grid-template-columns: 1fr; }
}
@media (min-width: 430px) {
  .inner-view .wish-grid { gap: 14px; }
  .program-library { gap: 16px; }
}
@media (orientation: landscape) and (max-height: 520px) and (min-width: 590px) and (max-width: 980px) {
  :root { --phone-width: 100%; --tab-height: 54px; }
  .site-header { position: static; }
  .header-layout { min-height: 48px; }
  .hub, .gift-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--section-gap); }
  .hub .service-hub { margin-top: 0; }
  .hub .art-grid .service-art { width: 43px; }
  .gift-stage { grid-row: auto; align-self: start; }
  .feed-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .wish-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .center-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .program-library { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .program-spotlight { grid-column: auto; }
  .program-spotlight > img { aspect-ratio: 1.6; }
  .program-spotlight .tile-action { display: none; }
  dialog { max-width: 36rem; }
}
.service-intro > .service-art, .report-cover > .service-art, .circle-start > .service-art,
.support-visual.wish-object > .wish-art { mix-blend-mode: multiply; }
.dialog-panel .destination-lock > div { display: grid; gap: 2px; min-width: 0; }
.view h1[tabindex="-1"]:focus { outline: none; }
/* Campaign details keep the purpose, action and secondary tools together. */
.support-page { border: 0; overflow: visible; border-radius: 0; }
.support-visual { border-radius: 19px; overflow: hidden; aspect-ratio: 1.98; }
.support-body { padding: 14px 2px 0; min-width: 0; }
.support-category { display: inline-flex; background: #fff0ed; color: #842737; border-radius: 6px; padding: 2px 9px; font-size: .79rem; }
.support-body h1 { margin: 6px 0 2px; }
.support-description { margin-top: 5px; }
.needs-heading { font-size: .94rem; font-weight: 650; margin: 18px 0 7px; }
.support-needs { list-style: none; padding: 0; margin: 0; gap: 5px; }
.support-needs li { display: flex; align-items: baseline; gap: 9px; font-size: .88rem; }
.support-needs li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; align-self: flex-start; margin-top: .65em; background: #ce8490; }
.support-body .main-support { min-height: 46px; }
.support-body .support-secondary { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; padding: 0; border: 0; margin-top: 8px; }
.support-secondary :is(.quiet-action,.bookmark-button) { justify-content: center; gap: 5px; min-height: 42px; margin: 0; background: #fff6f4; border: 0; border-radius: 12px; color: #813341; font-size: .82rem; }
.support-secondary i[data-icon] { width: 15px; height: 15px; }
.support-sources { border-top: 1px solid var(--line); margin-block: 15px 0; }
#view-circles .module-heading { margin-top: 22px; }
.circle-poster {
  min-height: clamp(154px,42cqw,208px); display: flex; align-items: center;
  background: #590a1c url("./assets/circle-paper.webp") 15% center/cover no-repeat;
  border-radius: 19px; color: white; padding: 15px var(--card-pad);
}
.circle-poster > div { width: 57%; }
.circle-poster h2 { font-size: clamp(1.13rem,5cqw,1.52rem); color: white; }
.circle-poster p { color: #ffeaeb; font-size: .86rem; line-height: 1.8; margin: 3px 0 8px; }
.circle-poster .button { min-height: 38px; background: white; color: #7e152b; padding-inline: 16px; }
.circle-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.circle-choice { font-size: .82rem; font-weight: 600; line-height: 1.6; }
.circle-choice img { width: 100%; aspect-ratio: 1.25; object-fit: cover; border-radius: 13px; margin-bottom: 6px; }
.circle-item { display: block; min-width: 0; }
.circle-item h2 { margin: 4px 0 9px; }
#view-circle .feature-paper { background: linear-gradient(130deg,#fff1eb,#fffaf8); }
#view-circle .feature-paper > .service-art { float: inline-end; width: 49px; }
#view-circle .goal-values { clear: both; padding-top: 8px; }
#view-circle .action-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
#view-circle .action-row > .button-primary { grid-column: 1/-1; }
#view-circle progress, .circle-item progress { accent-color: var(--red); }
.find-box { display: flex; align-items: center; gap: 9px; padding-inline: 12px; background: #fff9f7; border: 1px solid #d5b9bc; border-radius: 13px; margin-block: 14px; }
.find-box > i { color: #8d4652; }
.find-box:focus-within { outline: 2px solid #974050; outline-offset: 1px; }
.dialog-panel .find-box input { flex: 1; background: transparent; padding: 0; border: 0; outline: 0; }
.search-results { max-height: min(45dvh,350px); }
.search-results h3 { font-size: .88rem; margin-bottom: 8px; }
.find-shortcuts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.search-results .find-shortcuts a { display: flex; flex-direction: column; justify-content: flex-start; padding: 4px 0; border: 0; gap: 6px; text-align: center; font-size: .79rem; }
.find-shortcuts .service-art { width: 46px; }
.search-results .find-hit { justify-content: flex-start; gap: 11px; }
.find-hit :is(.wish-art,.service-art) { width: 39px; }
.find-hit strong,.find-hit small { display: block; }
.find-hit strong { font-size: .95rem; font-weight: 610; }
.find-hit small,.find-empty p { font-size: .81rem; }
.find-empty { padding: 17px 0; }
.flow-step { display: inline-flex; gap: 8px; align-items: center; color: #803545; }
.flow-step::before { content: ""; width: 36px; height: 4px; border-radius: 3px; background: linear-gradient(to left,#a32439 46%,transparent 46% 54%,#eddbdc 54%); }
.flow-step[data-step="2"]::before { background: linear-gradient(to left,#a32439 46%,transparent 46% 54%,#a32439 54%); }
.payment-ticket { background: #fff8f5; border: 1px solid #efdad7; border-radius: 18px; margin: 14px 0; }
.ticket-head { display: flex; align-items: center; gap: 12px; padding: 17px var(--card-pad); border-bottom: 1px dashed #dbaeb4; }
.ticket-head .service-art { width: 49px; background: transparent; mix-blend-mode: multiply; }
.ticket-head span:not(.service-art) { display: block; color: #775761; font-size: .82rem; }
.ticket-head strong { display: block; color: #6b1830; font-size: clamp(1.3rem,5.6cqw,1.65rem); line-height: 1.4; overflow-wrap: anywhere; }
.ticket-head small { font-size: .82rem; font-weight: 510; }
.dialog-panel .payment-ticket .summary { border: 0; background: transparent; margin: 0; padding: 12px var(--card-pad); gap: 9px; }
.payment-ticket .summary div { gap: 3px 10px; }
.payment-ticket .summary dd { font-weight: 610; }
dialog .dialog-frame .dialog-panel { animation: none; }
@media (max-width: 359px) {
  .support-secondary :is(.quiet-action,.bookmark-button) { font-size: .75rem; }
  .circle-choices { gap: 7px; }
  .find-shortcuts .service-art { width: 40px; }
}
