/* ==========================================================================
   Heroic Hearts Crowdfunding — front-end components
   Themes can restyle by overriding the --hhcf-* variables.
   ========================================================================== */
:root {
	--hhcf-primary: #10899e;
	--hhcf-primary-dark: #0b6a7c;
	--hhcf-primary-soft: #e3f4f7;
	--hhcf-accent: #c98a1b;
	--hhcf-accent-soft: #fbf1dc;
	--hhcf-danger: #c2412d;
	--hhcf-ink: #101840;
	--hhcf-muted: #596079;
	--hhcf-line: #e1e6ef;
	--hhcf-surface: #ffffff;
	--hhcf-bg: #f4f6fa;
	--hhcf-radius: 18px;
	--hhcf-radius-sm: 12px;
	--hhcf-shadow: 0 1px 2px rgba(16, 24, 64, .05), 0 8px 28px rgba(16, 24, 64, .07);
	--hhcf-shadow-lg: 0 24px 64px rgba(16, 24, 64, .18);
	--hhcf-font-display: inherit;
}

.hhcf-campaign, .hhcf-campaign__main { min-width: 0; }
.hhcf-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px 80px; }
.hhcf-archive-title { font-family: var(--hhcf-font-display); }
.hhcf-ic { flex: none; vertical-align: middle; }
[class*="hhcf-"][hidden], .hhcf-give [hidden], .hhcf-wizard [hidden] { display: none !important; }
.hhcf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.hhcf-muted { color: var(--hhcf-muted); }
.hhcf-h1 { font-family: var(--hhcf-font-display); font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.02em; }
.hhcf-h2 { font-family: var(--hhcf-font-display); font-size: clamp(22px, 3vw, 30px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -.01em; }
.hhcf-h3 { font-family: var(--hhcf-font-display); font-size: 20px; line-height: 1.25; margin: 0 0 14px; }
.hhcf-lede { font-size: 18px; color: var(--hhcf-muted); max-width: 640px; margin: 0 auto; }

/* Buttons ------------------------------------------------------------- */
.hhcf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font: inherit; font-weight: 650; font-size: 15px; line-height: 1.2; text-decoration: none !important;
	cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s;
	white-space: nowrap;
}
.hhcf-btn:active { transform: translateY(1px); }
.hhcf-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--hhcf-primary) 35%, transparent); outline-offset: 2px; }
.hhcf-btn--primary { background: var(--hhcf-primary); color: #fff !important; box-shadow: 0 6px 18px color-mix(in srgb, var(--hhcf-primary) 30%, transparent); }
.hhcf-btn--primary:hover { background: var(--hhcf-primary-dark); }
.hhcf-btn--ghost { background: transparent; color: var(--hhcf-ink) !important; border-color: var(--hhcf-line); }
.hhcf-btn--ghost:hover { border-color: var(--hhcf-ink); }
.hhcf-btn--soft { background: var(--hhcf-primary-soft); color: var(--hhcf-primary-dark) !important; }
.hhcf-btn--soft:hover { background: color-mix(in srgb, var(--hhcf-primary-soft) 70%, var(--hhcf-primary) 12%); }
.hhcf-btn--link { background: none; border: 0; padding: 6px 4px; color: var(--hhcf-muted) !important; text-decoration: underline !important; font-weight: 500; }
.hhcf-btn--lg { padding: 16px 26px; font-size: 17px; }
.hhcf-btn--sm { padding: 8px 14px; font-size: 13px; }
.hhcf-btn--block { width: 100%; }
.hhcf-btn--icon { padding: 12px; }
.hhcf-btn[disabled], .hhcf-btn.is-loading { opacity: .65; pointer-events: none; }
.hhcf-btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: hhcf-spin .7s linear infinite; }
@keyframes hhcf-spin { to { transform: rotate(360deg); } }

/* Pills, chips, badges ------------------------------------------------ */
.hhcf-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e6ece9; color: var(--hhcf-muted); font-size: 12px; font-weight: 600; }
.hhcf-pill--ok { background: var(--hhcf-primary-soft); color: var(--hhcf-primary-dark); }
.hhcf-pill--warn { background: var(--hhcf-accent-soft); color: #8a5d0c; }
.hhcf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--hhcf-surface); border: 1px solid var(--hhcf-line); font-size: 13px; font-weight: 600; color: var(--hhcf-ink); }
.hhcf-chip .hhcf-ic { width: 15px; height: 15px; }
.hhcf-chip--verified { background: var(--hhcf-primary-soft); border-color: transparent; color: var(--hhcf-primary-dark); }
.hhcf-chip--urgent { background: #fdebe7; border-color: transparent; color: var(--hhcf-danger); }
.hhcf-chip--zakat { background: var(--hhcf-accent-soft); border-color: transparent; color: #7c540c; }
.hhcf-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--hhcf-ink); font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.hhcf-badge .hhcf-ic { width: 13px; height: 13px; }
.hhcf-badge--urgent { color: var(--hhcf-danger); }
.hhcf-badge--zakat { color: #7c540c; }
.hhcf-count { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #e6ece9; font-size: 12px; font-weight: 700; color: var(--hhcf-muted); }

/* Progress ------------------------------------------------------------ */
.hhcf-progress { height: 8px; background: #e1e8e5; border-radius: 999px; overflow: hidden; }
.hhcf-progress span { display: block; height: 100%; width: var(--p); max-width: 100%; background: linear-gradient(90deg, var(--hhcf-primary), color-mix(in srgb, var(--hhcf-primary) 70%, #5cc7da)); border-radius: inherit; transform-origin: left; animation: hhcf-grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hhcf-progress--lg { height: 12px; }
.hhcf-progress--thin { height: 5px; }
@keyframes hhcf-grow { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .hhcf-progress span { animation: none; } }

/* Grid & cards -------------------------------------------------------- */
.hhcf-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 900px) { .hhcf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hhcf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hhcf-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.hhcf-grid--4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.hhcf-card { position: relative; display: flex; flex-direction: column; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.hhcf-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(19,35,31,.05), 0 18px 40px rgba(19,35,31,.12); }
.hhcf-card__media { position: relative; display: block; aspect-ratio: 16/10; background: var(--hhcf-primary-soft); overflow: hidden; }
.hhcf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hhcf-card:hover .hhcf-card__media img { transform: scale(1.04); }
.hhcf-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--hhcf-primary); }
.hhcf-card__placeholder .hhcf-ic { width: 48px; height: 48px; opacity: .4; }
.hhcf-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.hhcf-card__match { position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: var(--hhcf-accent); color: #fff; font-size: 12px; font-weight: 700; }
.hhcf-card__match .hhcf-ic { width: 13px; height: 13px; }
.hhcf-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.hhcf-card__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hhcf-muted); flex-wrap: wrap; }
.hhcf-verified { display: inline-flex; align-items: center; gap: 4px; color: var(--hhcf-primary); font-weight: 650; }
.hhcf-verified .hhcf-ic { width: 15px; height: 15px; }
.hhcf-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }
.hhcf-card__title { margin: 0; font-family: var(--hhcf-font-display); font-size: 19px; line-height: 1.3; letter-spacing: -.005em; }
.hhcf-card__title a { color: var(--hhcf-ink); text-decoration: none; }
.hhcf-card__title a::after { content: ""; position: absolute; inset: 0; }
.hhcf-card__excerpt { margin: 0; color: var(--hhcf-muted); font-size: 15px; }
.hhcf-card__for { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--hhcf-primary-dark); font-weight: 600; }
.hhcf-card__for .hhcf-ic { width: 14px; height: 14px; color: var(--hhcf-danger); }
.hhcf-card__progress { margin-top: auto; padding-top: 6px; }
.hhcf-card__nums { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: 14px; }
.hhcf-card__nums strong { font-size: 17px; color: var(--hhcf-ink); }
.hhcf-card__nums em { font-style: normal; color: var(--hhcf-muted); margin-left: 4px; }
.hhcf-card__pct { font-weight: 700; color: var(--hhcf-primary); }
.hhcf-card__meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--hhcf-line); font-size: 13px; color: var(--hhcf-muted); }
.hhcf-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.hhcf-card__meta .hhcf-ic { width: 15px; height: 15px; }
.hhcf-card.is-ended { opacity: .8; }
.hhcf-card--wide { flex-direction: row; }
.hhcf-card--wide .hhcf-card__media { flex: 0 0 46%; aspect-ratio: auto; min-height: 280px; }
.hhcf-card--wide .hhcf-card__body { padding: 28px; }
.hhcf-card--wide .hhcf-card__title { font-size: 26px; }
@media (max-width: 760px) { .hhcf-card--wide { flex-direction: column; } .hhcf-card--wide .hhcf-card__media { min-height: 0; aspect-ratio: 16/10; } }

/* Filters -------------------------------------------------------------- */
.hhcf-filters { display: flex; flex-direction: column; gap: 14px; margin: 0 0 28px; }
.hhcf-filters__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hhcf-filters__tabs label { padding: 9px 16px; border-radius: 999px; background: var(--hhcf-surface); border: 1px solid var(--hhcf-line); font-weight: 600; font-size: 14px; cursor: pointer; }
.hhcf-filters__tabs label.is-active { background: var(--hhcf-ink); border-color: var(--hhcf-ink); color: #fff; }
.hhcf-filters__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.hhcf-filters__row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hhcf-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--hhcf-surface); border: 1px solid var(--hhcf-line); border-radius: 999px; color: var(--hhcf-muted); }
.hhcf-search input { flex: 1; border: 0 !important; background: none !important; padding: 12px 0 !important; font: inherit; outline: none; box-shadow: none !important; }
.hhcf-filters select { padding: 11px 36px 11px 16px; border-radius: 999px; border: 1px solid var(--hhcf-line); background: var(--hhcf-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6b67' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font: inherit; font-size: 14px; }
.hhcf-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.hhcf-toggle input { position: absolute; opacity: 0; }
.hhcf-toggle span { width: 38px; height: 22px; border-radius: 999px; background: #c9d3cf; position: relative; transition: background .2s; }
.hhcf-toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.hhcf-toggle input:checked + span { background: var(--hhcf-primary); }
.hhcf-toggle input:checked + span::after { transform: translateX(16px); }
.hhcf-toggle input:focus-visible + span { outline: 2px solid var(--hhcf-primary); outline-offset: 2px; }
.hhcf-pagination { margin-top: 36px; display: flex; justify-content: center; gap: 6px; }
.hhcf-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; background: var(--hhcf-surface); border: 1px solid var(--hhcf-line); text-decoration: none; color: var(--hhcf-ink); font-weight: 600; }
.hhcf-pagination .current { background: var(--hhcf-ink); color: #fff; border-color: var(--hhcf-ink); }
.hhcf-empty, .hhcf-empty-state p { color: var(--hhcf-muted); }
.hhcf-empty-state { text-align: center; padding: 48px 20px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); border: 1px dashed var(--hhcf-line); }

/* Notices -------------------------------------------------------------- */
.hhcf-notice { padding: 14px 18px; border-radius: var(--hhcf-radius-sm); margin: 0 0 20px; font-weight: 500; border: 1px solid; }
.hhcf-notice ul { margin: 0; padding-left: 18px; }
.hhcf-notice--success { background: var(--hhcf-primary-soft); border-color: color-mix(in srgb, var(--hhcf-primary) 25%, transparent); color: var(--hhcf-primary-dark); }
.hhcf-notice--error { background: #fdecea; border-color: #f3c3bb; color: #8f2617; }
.hhcf-notice--info { background: var(--hhcf-accent-soft); border-color: #efd9a8; color: #6d4a08; }
.hhcf-notice--action { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* Single campaign ------------------------------------------------------ */
.hhcf-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--hhcf-muted); margin-bottom: 16px; }
.hhcf-crumbs a { color: inherit; text-decoration: none; }
.hhcf-crumbs a:hover { color: var(--hhcf-primary); }
.hhcf-campaign__head { margin-bottom: 24px; max-width: 860px; }
.hhcf-campaign__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.hhcf-campaign__title { font-family: var(--hhcf-font-display); font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; color: var(--hhcf-ink); }
.hhcf-campaign__lede { font-size: 19px; color: var(--hhcf-muted); margin: 0; }
.hhcf-campaign__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.hhcf-campaign__media { margin: 0 0 24px; border-radius: var(--hhcf-radius); overflow: hidden; background: var(--hhcf-primary-soft); }
.hhcf-campaign__media img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.hhcf-player { position: relative; aspect-ratio: 16/9; background: #000; }
.hhcf-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hhcf-organizer { display: flex; gap: 14px; align-items: center; padding: 16px 0 22px; border-bottom: 1px solid var(--hhcf-line); margin-bottom: 8px; }
.hhcf-organizer__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.hhcf-organizer__avatar--org { display: grid; place-items: center; background: var(--hhcf-primary-soft); color: #d6404b; overflow: hidden; }
.hhcf-organizer__avatar--org img { width: 100%; height: 100%; object-fit: cover; }
.hhcf-organizer__avatar--org .hhcf-ic { width: 24px; height: 24px; }
.hhcf-organizer__for { display: block; font-size: 14px; color: var(--hhcf-muted); margin-top: 2px; }
.hhcf-organizer__for a { color: var(--hhcf-primary); font-weight: 600; }

.hhcf-tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--hhcf-line); margin-bottom: 28px; overflow-x: auto; position: sticky; top: var(--hhcf-sticky-top, 0px); background: var(--hhcf-bg); z-index: 5; scrollbar-width: none; }
.hhcf-tabs__list button { display: inline-flex; gap: 6px; align-items: center; padding: 16px 14px; border: 0; background: none; font: inherit; font-weight: 650; color: var(--hhcf-muted); cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.hhcf-tabs__list button[aria-selected="true"] { color: var(--hhcf-ink); border-color: var(--hhcf-primary); }
.hhcf-story { font-size: 17px; line-height: 1.75; color: #24342f; }
.hhcf-story img { border-radius: var(--hhcf-radius-sm); }
.hhcf-story.is-collapsed { max-height: 520px; overflow: hidden; position: relative; }
.hhcf-story.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, var(--hhcf-bg)); }
.hhcf-readmore { margin: 8px 0 24px; }

.hhcf-impact { margin-bottom: 32px; }
.hhcf-impact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.hhcf-impact__tier { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 18px; border-radius: var(--hhcf-radius-sm); background: var(--hhcf-surface); border: 1.5px solid var(--hhcf-line); cursor: pointer; font: inherit; color: var(--hhcf-ink); transition: border-color .15s, transform .15s; }
.hhcf-impact__tier:hover { border-color: var(--hhcf-primary); transform: translateY(-2px); }
.hhcf-impact__tier strong { font-size: 22px; font-family: var(--hhcf-font-display); color: var(--hhcf-primary-dark); }
.hhcf-impact__tier span { font-size: 14px; color: var(--hhcf-muted); line-height: 1.45; }
.hhcf-impact__tier em { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--hhcf-primary); }
.hhcf-impact__tier em .hhcf-ic { width: 14px; height: 14px; }

.hhcf-words { margin-top: 40px; display: grid; gap: 14px; }
.hhcf-word { display: flex; gap: 14px; margin: 0; padding: 18px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius-sm); }
.hhcf-word figcaption { font-size: 14px; color: var(--hhcf-muted); }
.hhcf-word figcaption strong { color: var(--hhcf-ink); }
.hhcf-word blockquote { margin: 6px 0 0; padding: 0; border: 0; font-size: 16px; font-style: normal; color: var(--hhcf-ink); }

.hhcf-avatar { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 14px; color: #fff; background: var(--hhcf-primary); }
.hhcf-avatar--0 { background: #0b6b5a; } .hhcf-avatar--1 { background: #c98a1b; } .hhcf-avatar--2 { background: #3a6ea5; }
.hhcf-avatar--3 { background: #b4533f; } .hhcf-avatar--4 { background: #6a5aa8; } .hhcf-avatar--5 { background: #10899e; }

.hhcf-timeline { list-style: none; margin: 0 0 24px; padding: 0 0 0 22px; border-left: 2px solid var(--hhcf-line); }
.hhcf-timeline__item { position: relative; padding: 0 0 28px 8px; }
.hhcf-timeline__item::before { content: ""; position: absolute; left: -31px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--hhcf-primary); box-shadow: 0 0 0 4px var(--hhcf-bg); }
.hhcf-timeline__item time { font-size: 13px; color: var(--hhcf-muted); font-weight: 600; }
.hhcf-timeline__item h3 { margin: 4px 0 8px; font-family: var(--hhcf-font-display); }

.hhcf-supporters { list-style: none; margin: 0 0 16px; padding: 0; }
.hhcf-supporters li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hhcf-line); }
.hhcf-supporters__name { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hhcf-supporters__name small { color: var(--hhcf-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.hhcf-supporters__amt { font-weight: 700; }

.hhcf-p2p { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 24px; border-radius: var(--hhcf-radius); background: linear-gradient(120deg, var(--hhcf-primary-soft), var(--hhcf-accent-soft)); margin-bottom: 24px; flex-wrap: wrap; }
.hhcf-p2p p { margin: 0; color: var(--hhcf-muted); max-width: 520px; }
.hhcf-p2p--soft { background: var(--hhcf-bg); margin-top: 24px; }
.hhcf-p2p--soft > div { display: flex; flex-direction: column; gap: 2px; }
.hhcf-p2p--soft span { color: var(--hhcf-muted); font-size: 14px; }
.hhcf-leaderboard { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hhcf-leaderboard li { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius-sm); }
.hhcf-leaderboard__rank { width: 22px; font-weight: 800; color: var(--hhcf-muted); text-align: center; }
.hhcf-leaderboard__body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hhcf-leaderboard__body a { font-weight: 700; color: var(--hhcf-ink); text-decoration: none; }
.hhcf-leaderboard__body small { color: var(--hhcf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hhcf-report { margin-top: 40px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hhcf-muted); }
.hhcf-report a { color: inherit; }
.hhcf-report .hhcf-ic { width: 14px; height: 14px; }

/* Give box ------------------------------------------------------------- */
.hhcf-campaign__aside { position: sticky; top: calc(var(--hhcf-sticky-top, 0px) + 20px); display: grid; gap: 16px; }
.hhcf-givebox { padding: 26px; background: var(--hhcf-surface); border-radius: calc(var(--hhcf-radius) + 4px); box-shadow: var(--hhcf-shadow); display: grid; gap: 18px; }
.hhcf-givebox__top { display: flex; align-items: center; gap: 16px; }
.hhcf-givebox__raised { font-family: var(--hhcf-font-display); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--hhcf-ink); }
.hhcf-givebox__goal { color: var(--hhcf-muted); font-size: 15px; margin-top: 6px; }
.hhcf-ring { position: relative; width: 68px; height: 68px; flex: none; }
.hhcf-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hhcf-ring circle { fill: none; stroke-width: 3.4; }
.hhcf-ring__bg { stroke: #e1e8e5; }
.hhcf-ring__fg { stroke: var(--hhcf-primary); stroke-linecap: round; stroke-dasharray: calc(var(--p) * 1) 100; transition: stroke-dasharray 1s ease; }
.hhcf-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: var(--hhcf-primary-dark); }
.hhcf-givebox__stats { display: flex; gap: 0; border-top: 1px solid var(--hhcf-line); border-bottom: 1px solid var(--hhcf-line); }
.hhcf-givebox__stats > div { flex: 1; padding: 12px 0; text-align: center; display: flex; flex-direction: column; }
.hhcf-givebox__stats > div + div { border-left: 1px solid var(--hhcf-line); }
.hhcf-givebox__stats strong { font-size: 20px; }
.hhcf-givebox__stats span { font-size: 13px; color: var(--hhcf-muted); }
.hhcf-givebox__actions { display: grid; gap: 10px; }
.hhcf-givebox__recent { display: grid; gap: 10px; }
.hhcf-mini-gift { display: flex; align-items: center; gap: 10px; }
.hhcf-mini-gift .hhcf-avatar { width: 34px; height: 34px; font-size: 12px; }
.hhcf-mini-gift > span:last-child { display: flex; flex-direction: column; font-size: 14px; }
.hhcf-mini-gift small { color: var(--hhcf-muted); }
.hhcf-givebox__trust { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 12.5px; color: var(--hhcf-muted); }
.hhcf-givebox__trust .hhcf-ic { width: 15px; height: 15px; color: var(--hhcf-primary); }
.hhcf-closed { padding: 14px; border-radius: var(--hhcf-radius-sm); background: #eaf0ed; font-size: 14px; color: var(--hhcf-muted); }
.hhcf-match { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--hhcf-radius-sm); background: var(--hhcf-accent-soft); color: #6d4a08; font-size: 14px; }
.hhcf-match .hhcf-ic { color: var(--hhcf-accent); width: 22px; height: 22px; }
.hhcf-match div { display: flex; flex-direction: column; gap: 2px; }
.hhcf-match--inline { display: inline-flex; align-items: center; margin-top: 16px; }
.hhcf-parent-card { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); text-decoration: none; color: var(--hhcf-ink); }
.hhcf-parent-card img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.hhcf-parent-card span { display: flex; flex-direction: column; }
.hhcf-parent-card small { color: var(--hhcf-muted); }
.hhcf-parent-card em { font-style: normal; font-size: 13px; color: var(--hhcf-primary); font-weight: 600; }

.hhcf-sticky-give { display: none; }
@media (max-width: 980px) {
	.hhcf-campaign__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.hhcf-campaign__aside { position: static; order: -1; }
	.hhcf-campaign__main { order: 1; }
	.hhcf-sticky-give { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--hhcf-surface); box-shadow: 0 -8px 24px rgba(19,35,31,.12); transform: translateY(110%); transition: transform .25s ease; }
	.hhcf-sticky-give.is-visible { transform: none; }
	.hhcf-sticky-give > div { flex: 1; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: baseline; }
	.hhcf-sticky-give > div .hhcf-progress { grid-column: 1 / -1; }
	.hhcf-sticky-give span { color: var(--hhcf-muted); font-size: 13px; }
	.hhcf-sticky-give .hhcf-btn--primary { padding: 13px 26px; }
}

/* Modal ---------------------------------------------------------------- */
.hhcf-modal { width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; background: var(--hhcf-surface); color: var(--hhcf-ink); box-shadow: var(--hhcf-shadow-lg); overflow: auto; }
.hhcf-modal::backdrop { background: rgba(10, 22, 19, .55); backdrop-filter: blur(3px); }
.hhcf-modal[open] { animation: hhcf-pop .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes hhcf-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 560px) {
	.hhcf-modal { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
	.hhcf-modal[open] { animation: hhcf-up .3s cubic-bezier(.2,.9,.3,1); }
	@keyframes hhcf-up { from { transform: translateY(40%); } }
}
.hhcf-give, .hhcf-share { padding: 22px 24px 26px; }
.hhcf-give__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hhcf-give__head img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.hhcf-give__head > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hhcf-give__head small { color: var(--hhcf-muted); font-size: 13px; }
.hhcf-give__head strong { font-size: 16px; line-height: 1.3; }
.hhcf-give__close { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #eaf0ed; cursor: pointer; color: var(--hhcf-ink); flex: none; }
.hhcf-give__steps { display: flex; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; counter-reset: s; }
.hhcf-give__steps li { flex: 1; font-size: 12px; font-weight: 700; color: var(--hhcf-muted); padding-top: 8px; border-top: 3px solid #e1e8e5; }
.hhcf-give__steps li.is-active, .hhcf-give__steps li.is-done { color: var(--hhcf-ink); border-color: var(--hhcf-primary); }
.hhcf-give__step { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.hhcf-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; background: #eaf0ed; border-radius: 999px; }
.hhcf-seg label { position: relative; cursor: pointer; }
.hhcf-seg input { position: absolute; opacity: 0; }
.hhcf-seg span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 999px; font-weight: 650; font-size: 15px; color: var(--hhcf-muted); transition: background .15s, color .15s; }
.hhcf-seg span .hhcf-ic { width: 16px; height: 16px; }
.hhcf-seg input:checked + span { background: var(--hhcf-surface); color: var(--hhcf-ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.hhcf-seg input:focus-visible + span { outline: 2px solid var(--hhcf-primary); }
.hhcf-seg--sm span { padding: 7px; font-size: 13px; }
.hhcf-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hhcf-amount { padding: 16px 8px; border-radius: 14px; border: 1.5px solid var(--hhcf-line); background: var(--hhcf-surface); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; color: var(--hhcf-ink); transition: all .12s; }
.hhcf-amount:hover { border-color: var(--hhcf-ink); }
.hhcf-amount.is-selected { border-color: var(--hhcf-primary); background: var(--hhcf-primary-soft); color: var(--hhcf-primary-dark); box-shadow: inset 0 0 0 1px var(--hhcf-primary); }
.hhcf-custom-amount { display: flex; align-items: center; gap: 6px; padding: 0 16px; border: 1.5px solid var(--hhcf-line); border-radius: 14px; background: var(--hhcf-surface); }
.hhcf-custom-amount:focus-within { border-color: var(--hhcf-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hhcf-primary) 15%, transparent); }
.hhcf-custom-amount__sym { font-size: 22px; font-weight: 700; color: var(--hhcf-muted); }
.hhcf-custom-amount input { flex: 1; min-width: 0; border: 0 !important; background: none !important; padding: 14px 0 !important; font: inherit; font-size: 22px; font-weight: 700; outline: none; box-shadow: none !important; color: var(--hhcf-ink); }
.hhcf-custom-amount__cur { font-size: 13px; font-weight: 700; color: var(--hhcf-muted); }
.hhcf-impact-line { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--hhcf-primary-soft); color: var(--hhcf-primary-dark); font-size: 14px; font-weight: 600; }
.hhcf-monthly-nudge { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13.5px; color: var(--hhcf-muted); }
.hhcf-monthly-nudge .hhcf-ic { width: 15px; height: 15px; color: var(--hhcf-accent); }
.hhcf-monthly-nudge button { font: inherit; background: none; border: 0; color: var(--hhcf-primary); font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; }
.hhcf-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.hhcf-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--hhcf-primary); flex: none; }
.hhcf-check span { display: flex; flex-direction: column; }
.hhcf-check small { color: var(--hhcf-muted); font-size: 13px; }
.hhcf-check--card { padding: 14px; border-radius: 14px; border: 1px solid var(--hhcf-line); background: var(--hhcf-bg); }
.hhcf-check--card span { display: block; }
.hhcf-check--card small { display: block; }
.hhcf-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; margin: 0; }
.hhcf-field > span { color: var(--hhcf-ink); }
.hhcf-field input, .hhcf-field textarea, .hhcf-field select {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--hhcf-line); border-radius: 12px; background: var(--hhcf-surface);
	font: inherit; font-weight: 400; font-size: 16px; color: var(--hhcf-ink); box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.hhcf-field input:focus, .hhcf-field textarea:focus, .hhcf-field select:focus { outline: none; border-color: var(--hhcf-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hhcf-primary) 15%, transparent); }
.hhcf-field.has-error input, .hhcf-field.has-error textarea { border-color: var(--hhcf-danger); }
.hhcf-help { font-weight: 400; color: var(--hhcf-muted); font-size: 13px; }
.hhcf-options { display: grid; gap: 12px; }
.hhcf-options__title { font-size: 14px; font-weight: 600; color: var(--hhcf-ink); }
.hhcf-options .hhcf-check strong { font-weight: 600; }
.hhcf-help--note { color: var(--hhcf-primary); font-weight: 500; margin-top: 4px; }
.hhcf-help--note[hidden] { display: none; }
.hhcf-check input:disabled + span { opacity: .85; }
.hhcf-directlink { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; }
.hhcf-directlink label { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--hhcf-muted); }
.hhcf-directlink input { width: 100%; padding: 9px 11px; border: 1px solid var(--hhcf-line, #e3e6e4); border-radius: 8px; font-size: 14px; background: #fafbfa; }
.hhcf-pill--link, .hhcf-tag--link { background: #eef1ef; color: #50575e; }
.hhcf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .hhcf-row { grid-template-columns: 1fr; } }
.hhcf-dedicate { border: 1px solid var(--hhcf-line); border-radius: 14px; padding: 12px 14px; }
.hhcf-dedicate summary { cursor: pointer; font-weight: 650; font-size: 15px; }
.hhcf-dedicate[open] { display: grid; gap: 12px; }
.hhcf-summary { padding: 14px; border-radius: 14px; background: var(--hhcf-bg); font-size: 14px; display: grid; gap: 6px; }
.hhcf-summary div { display: flex; justify-content: space-between; }
.hhcf-summary .is-total { padding-top: 8px; border-top: 1px dashed var(--hhcf-line); font-size: 16px; font-weight: 800; }
.hhcf-give__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #8f2617; font-size: 14px; font-weight: 600; }
.hhcf-give__nav { display: flex; gap: 10px; }
.hhcf-give__nav [data-hhcf-submit] { flex: 1; }
.hhcf-give__legal { margin: 0; font-size: 12.5px; color: var(--hhcf-muted); text-align: center; }
.hhcf-tip select { font-size: 15px; }

/* Share ---------------------------------------------------------------- */
.hhcf-share__nets { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-bottom: 16px; }
.hhcf-share__net { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; border-radius: 14px; background: var(--hhcf-bg); text-decoration: none; color: var(--hhcf-ink); font-size: 13px; font-weight: 650; transition: transform .15s; }
.hhcf-share__net:hover { transform: translateY(-2px); }
.hhcf-share__net span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 17px; }
.hhcf-share__net--whatsapp span { background: #25d366; }
.hhcf-share__net--facebook span { background: #1877f2; }
.hhcf-share__net--x span { background: #111; }
.hhcf-share__net--linkedin span { background: #0a66c2; }
.hhcf-share__net--email span { background: #6b726f; }
.hhcf-copy { display: flex; gap: 8px; padding: 6px; border: 1.5px solid var(--hhcf-line); border-radius: 999px; }
.hhcf-copy input { flex: 1; min-width: 0; border: 0 !important; background: none !important; padding: 8px 12px !important; font: inherit; font-size: 14px; outline: none; box-shadow: none !important; }

/* Create wizard -------------------------------------------------------- */
.hhcf-create { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.hhcf-create > .hhcf-notice { grid-column: 1 / -1; }
@media (max-width: 900px) { .hhcf-create { grid-template-columns: 1fr; } }
.hhcf-wizard { background: var(--hhcf-surface); border-radius: calc(var(--hhcf-radius) + 4px); box-shadow: var(--hhcf-shadow); padding: clamp(20px, 4vw, 40px); }
.hhcf-wizard__progress { display: flex; gap: 8px; list-style: none; margin: 0 0 32px; padding: 0; }
.hhcf-wizard__progress li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--hhcf-muted); padding-bottom: 12px; border-bottom: 3px solid #e1e8e5; cursor: pointer; }
.hhcf-wizard__progress li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #e1e8e5; font-size: 13px; }
.hhcf-wizard__progress li.is-active, .hhcf-wizard__progress li.is-done { color: var(--hhcf-ink); border-color: var(--hhcf-primary); }
.hhcf-wizard__progress li.is-active span, .hhcf-wizard__progress li.is-done span { background: var(--hhcf-primary); color: #fff; }
@media (max-width: 600px) { .hhcf-wizard__progress li { font-size: 0; gap: 0; } .hhcf-wizard__progress li span { font-size: 13px; } }
.hhcf-wizard__step { display: grid; gap: 18px; }
.hhcf-wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hhcf-line); }
.hhcf-wizard__nav [data-wiz-next], .hhcf-wizard__nav [data-wiz-submit] { margin-left: auto; }
.hhcf-cause-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.hhcf-cause-option { position: relative; display: flex; flex-direction: column; border: 2px solid var(--hhcf-line); border-radius: 16px; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; }
.hhcf-cause-option:hover { transform: translateY(-2px); }
.hhcf-cause-option input { position: absolute; opacity: 0; }
.hhcf-cause-option__img { display: block; height: 128px; background: var(--hhcf-primary-soft); overflow: hidden; }
.hhcf-cause-option__img img { width: 100%; height: 100%; object-fit: cover; }
.hhcf-cause-option__body { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.hhcf-cause-option__body small { color: var(--hhcf-muted); font-size: 13px; line-height: 1.4; }
.hhcf-cause-option__tick { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: transparent; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.hhcf-cause-option:has(input:checked) { border-color: var(--hhcf-primary); }
.hhcf-cause-option:has(input:checked) .hhcf-cause-option__tick { background: var(--hhcf-primary); color: #fff; }
.hhcf-cause-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--hhcf-primary) 35%, transparent); }
.hhcf-goal-input { display: flex; align-items: center; gap: 6px; padding: 0 20px; border: 2px solid var(--hhcf-line); border-radius: 18px; }
.hhcf-goal-input:focus-within { border-color: var(--hhcf-primary); }
.hhcf-goal-input span { font-size: 36px; font-weight: 700; color: var(--hhcf-muted); }
.hhcf-goal-input input { flex: 1; min-width: 0; border: 0 !important; background: none !important; padding: 18px 0 !important; font: inherit; font-size: 40px; font-weight: 800; outline: none; box-shadow: none !important; letter-spacing: -.02em; }
.hhcf-chips-row { display: flex; gap: 8px; flex-wrap: wrap; }
.hhcf-chip-btn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hhcf-line); background: var(--hhcf-surface); font: inherit; font-weight: 650; font-size: 14px; cursor: pointer; }
.hhcf-chip-btn:hover { border-color: var(--hhcf-primary); color: var(--hhcf-primary); }
.hhcf-upload { position: relative; display: flex; gap: 16px; align-items: center; padding: 16px; border: 2px dashed var(--hhcf-line); border-radius: 16px; cursor: pointer; }
.hhcf-upload:hover { border-color: var(--hhcf-primary); }
.hhcf-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hhcf-upload__preview { width: 120px; aspect-ratio: 16/10; border-radius: 10px; background: var(--hhcf-primary-soft) center/cover; flex: none; }
.hhcf-upload__text { display: flex; flex-direction: column; }
.hhcf-upload__text small { color: var(--hhcf-muted); }
.hhcf-review { display: grid; gap: 0; border: 1px solid var(--hhcf-line); border-radius: 16px; overflow: hidden; }
.hhcf-review div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--hhcf-line); font-size: 15px; }
.hhcf-review div:last-child { border-bottom: 0; }
.hhcf-review dt { color: var(--hhcf-muted); }
.hhcf-review dd { margin: 0; font-weight: 650; text-align: right; }
.hhcf-create__tips { position: sticky; top: 100px; padding: 24px; border-radius: var(--hhcf-radius); background: var(--hhcf-primary-soft); }
.hhcf-create__tips h3 { margin: 0 0 14px; font-family: var(--hhcf-font-display); }
.hhcf-create__tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hhcf-create__tips li { display: flex; gap: 10px; font-size: 15px; }
.hhcf-create__tips .hhcf-ic { color: var(--hhcf-primary); width: 18px; height: 18px; margin-top: 2px; }

/* Dashboard ------------------------------------------------------------ */
.hhcf-dash__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.hhcf-dash__head img { border-radius: 50%; }
.hhcf-dash__head > div { flex: 1; }
.hhcf-dash__head p { margin: 0; }
.hhcf-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 28px; }
.hhcf-kpi { padding: 18px 20px; border-radius: var(--hhcf-radius); background: var(--hhcf-surface); box-shadow: var(--hhcf-shadow); display: flex; flex-direction: column; gap: 4px; }
.hhcf-kpi span { font-size: 13px; color: var(--hhcf-muted); font-weight: 600; }
.hhcf-kpi strong { font-family: var(--hhcf-font-display); font-size: 28px; letter-spacing: -.02em; }
.hhcf-dash__tabs { display: flex; gap: 4px; margin-bottom: 24px; border-bottom: 1px solid var(--hhcf-line); overflow-x: auto; }
.hhcf-dash__tabs a { padding: 12px 14px; font-weight: 650; color: var(--hhcf-muted); text-decoration: none; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.hhcf-dash__tabs a.is-active { color: var(--hhcf-ink); border-color: var(--hhcf-primary); }
.hhcf-mine { display: grid; gap: 16px; }
.hhcf-mine__item { display: flex; gap: 20px; padding: 16px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); }
.hhcf-mine__img { flex: 0 0 200px; border-radius: 12px; overflow: hidden; background: var(--hhcf-primary-soft); aspect-ratio: 16/11; }
.hhcf-mine__img img { width: 100%; height: 100%; object-fit: cover; }
.hhcf-mine__body { flex: 1; min-width: 0; display: grid; gap: 8px; align-content: start; }
.hhcf-mine__body h3 { margin: 0; font-size: 19px; font-family: var(--hhcf-font-display); }
.hhcf-mine__body h3 a { color: var(--hhcf-ink); text-decoration: none; }
.hhcf-mine__nums { margin: 0; font-size: 14px; color: var(--hhcf-muted); }
.hhcf-mine__nums strong { color: var(--hhcf-ink); }
.hhcf-mine__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.hhcf-mine__sup summary { cursor: pointer; font-size: 14px; font-weight: 650; color: var(--hhcf-primary); }
.hhcf-inline { display: inline; margin: 0; }
@media (max-width: 640px) { .hhcf-mine__item { flex-direction: column; } .hhcf-mine__img { flex: none; } }
.hhcf-table-wrap { overflow-x: auto; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); }
.hhcf-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hhcf-table th { text-align: left; padding: 14px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--hhcf-muted); border-bottom: 1px solid var(--hhcf-line); }
.hhcf-table td { padding: 14px 16px; border-bottom: 1px solid var(--hhcf-line); }
.hhcf-table tr:last-child td { border-bottom: 0; }
.hhcf-table a { color: var(--hhcf-primary); }
.hhcf-subs { display: grid; gap: 12px; }
.hhcf-sub { display: flex; gap: 16px; align-items: center; padding: 18px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); flex-wrap: wrap; }
.hhcf-sub > div:first-child { flex: 1; display: flex; flex-direction: column; }
.hhcf-sub small { color: var(--hhcf-muted); }
.hhcf-sub__actions { display: flex; gap: 6px; }
.hhcf-auth { display: grid; place-items: center; padding: 20px 0; }
.hhcf-auth__card { width: min(460px, 100%); padding: 32px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); }
.hhcf-auth__card form p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.hhcf-auth__card form p.login-remember { flex-direction: row; align-items: center; }
.hhcf-auth__card input[type=text], .hhcf-auth__card input[type=password] { padding: 12px 14px; border: 1.5px solid var(--hhcf-line); border-radius: 12px; font: inherit; font-size: 16px; }
.hhcf-auth__card input[type=submit] { width: 100%; padding: 14px; border: 0; border-radius: 999px; background: var(--hhcf-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.hhcf-inline-form { margin-top: 12px; }
.hhcf-inline-form summary { list-style: none; display: inline-flex; }
.hhcf-inline-form[open] form { display: grid; gap: 14px; margin-top: 16px; padding: 20px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); }

/* Thank you ------------------------------------------------------------ */
.hhcf-thanks__hero { text-align: center; padding: 20px 0 40px; }
.hhcf-thanks__icon { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--hhcf-primary); color: #fff; box-shadow: 0 0 0 12px var(--hhcf-primary-soft); animation: hhcf-pop .5s cubic-bezier(.2,.9,.3,1.4); }
.hhcf-thanks__icon .hhcf-ic { width: 40px; height: 40px; }
.hhcf-thanks__icon.is-pending { background: var(--hhcf-accent); box-shadow: 0 0 0 12px var(--hhcf-accent-soft); }
.hhcf-thanks__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .hhcf-thanks__grid { grid-template-columns: 1fr; } }
.hhcf-thanks__share, .hhcf-receipt { padding: 28px; background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); }
.hhcf-receipt header { display: flex; justify-content: space-between; align-items: center; }
.hhcf-receipt header h2 { margin: 0; }
.hhcf-receipt__foot { font-size: 12.5px; color: var(--hhcf-muted); margin: 0; }
.hhcf-thanks--plain { text-align: center; padding: 40px 0; }
@media print {
	body * { visibility: hidden; }
	.hhcf-receipt, .hhcf-receipt * { visibility: visible; }
	.hhcf-receipt { position: absolute; left: 0; top: 0; width: 100%; box-shadow: none; }
	.hhcf-receipt button { display: none; }
}

/* Misc widgets --------------------------------------------------------- */
.hhcf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hhcf-stat { display: flex; flex-direction: column; gap: 4px; }
.hhcf-stat strong { font-family: var(--hhcf-font-display); font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -.03em; }
.hhcf-stat span { color: var(--hhcf-muted); font-size: 15px; }
@media (max-width: 600px) { .hhcf-stats { gap: 10px; } .hhcf-stat strong { font-size: 26px; } .hhcf-stat span { font-size: 13px; line-height: 1.3; } }
.hhcf-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hhcf-feed li { display: flex; gap: 12px; align-items: center; font-size: 14.5px; }
.hhcf-feed li > span:last-child { display: block; min-width: 0; }
.hhcf-feed small { display: block; }
.hhcf-feed small { color: var(--hhcf-muted); }
.hhcf-feed a { color: var(--hhcf-primary); text-decoration: none; font-weight: 600; }
.hhcf-progress-block__nums strong { font-size: 24px; }
.hhcf-progress-block__nums span { color: var(--hhcf-muted); }
.hhcf-progress-block__meta { margin-top: 8px; font-size: 14px; color: var(--hhcf-muted); }
.hhcf-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100000; transform: translateX(-50%) translateY(20px); padding: 12px 20px; border-radius: 999px; background: var(--hhcf-ink); color: #fff; font-weight: 600; opacity: 0; transition: all .25s; pointer-events: none; }
.hhcf-toast.is-on { opacity: 1; transform: translateX(-50%); }

/* Portal ----------------------------------------------------------------- */
.hhcf-portal { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--hhcf-surface); border-radius: 24px; box-shadow: var(--hhcf-shadow-lg); overflow: hidden; min-height: 560px; --portal-dark: var(--hht-night, #101840); }
.hhcf-portal__side { background: var(--portal-dark); color: rgba(255,255,255,.82); padding: 26px 18px 22px; display: flex; flex-direction: column; gap: 22px; }
.hhcf-portal__brand { display: flex; align-items: center; gap: 10px; font-family: var(--hhcf-font-display); font-weight: 800; font-size: 17px; color: #fff; padding: 0 8px; }
.hhcf-portal__dot { width: 9px; height: 9px; border-radius: 50%; background: #5cc7da; box-shadow: 0 0 0 4px rgba(61,220,151,.18); }
.hhcf-portal__nav { display: flex; flex-direction: column; gap: 2px; }
.hhcf-portal__nav a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.78); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background .15s, color .15s; }
.hhcf-portal__nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.hhcf-portal__nav a.is-active { background: var(--hhcf-primary); color: #fff; box-shadow: 0 4px 14px color-mix(in srgb, var(--hhcf-primary) 45%, transparent); }
.hhcf-portal__group { margin: 14px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.hhcf-portal__badge { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--hhcf-accent); color: #1d1503; font-size: 12px; text-align: center; }
.hhcf-portal__foot { margin-top: auto; padding: 16px 12px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: rgba(255,255,255,.5); }
.hhcf-portal__foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.hhcf-portal__intro h2 { color: #fff; font-family: var(--hhcf-font-display); font-size: 22px; margin: 0 0 8px; padding: 0 8px; }
.hhcf-portal__intro p { padding: 0 8px; margin: 0 0 16px; font-size: 14.5px; }
.hhcf-portal__points { list-style: none; margin: 0; padding: 0 8px; display: grid; gap: 10px; font-size: 14px; }
.hhcf-portal__points li { display: flex; gap: 8px; align-items: flex-start; }
.hhcf-portal__points .hhcf-ic { width: 16px; height: 16px; color: #5cc7da; margin-top: 2px; }
.hhcf-portal__main { padding: clamp(22px, 3vw, 36px); min-width: 0; }
.hhcf-portal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.hhcf-portal__title { font-family: var(--hhcf-font-display); font-size: 24px; margin: 0 0 4px; color: var(--hhcf-primary-dark); letter-spacing: -.01em; }
.hhcf-portal__meta { margin: 0; font-size: 14px; color: var(--hhcf-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hhcf-portal .hhcf-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hhcf-portal .hhcf-kpi { box-shadow: none; border: 1px solid var(--hhcf-line); }
.hhcf-portal .hhcf-kpi strong { font-size: 24px; }
.hhcf-portal__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hhcf-panelf { border: 1px solid var(--hhcf-line); border-radius: var(--hhcf-radius); padding: 18px 20px 20px; }
.hhcf-panelf > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hhcf-panelf > header h2 { font-family: var(--hhcf-font-display); font-size: 16px; margin: 0; color: var(--hhcf-primary-dark); }
.hhcf-panelf > header a { font-size: 13.5px; font-weight: 600; }
.hhcf-rows { list-style: none; margin: 0; padding: 0; }
.hhcf-rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hhcf-line); }
.hhcf-rows li:first-child { border-top: 0; padding-top: 4px; }
.hhcf-rows__thumb { flex: none; width: 56px; height: 44px; border-radius: 8px; background: var(--hhcf-primary-soft); overflow: hidden; }
.hhcf-rows__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hhcf-rows__body { flex: 1; min-width: 0; display: grid; gap: 5px; }
.hhcf-rows__title { font-weight: 650; color: var(--hhcf-ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; }
.hhcf-rows__body small { font-size: 12.5px; color: var(--hhcf-muted); }
.hhcf-rows--compact li { padding: 10px 0; }
.hhcf-rows--compact strong { font-size: 15px; }
.hhcf-empty-state--sm { padding: 28px 16px; }
.hhcf-stack { display: grid; gap: 14px; }
.hhcf-stack .hhcf-btn { justify-self: start; }
.hhcf-dl { margin: 0; display: grid; gap: 10px; }
.hhcf-dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--hhcf-line); font-size: 14.5px; }
.hhcf-dl dt { color: var(--hhcf-muted); }
.hhcf-dl dd { margin: 0; font-weight: 600; text-align: right; }
.hhcf-dl--inline { gap: 4px; margin: 6px 0 10px; }
.hhcf-dl--inline div { justify-content: flex-start; border: 0; padding: 0; }
.hhcf-dl--inline dt { min-width: 90px; }
.hhcf-dl--inline dd { text-align: left; font-weight: 500; }
.hhcf-approval__story { font-size: 14.5px; color: var(--hhcf-muted); margin: 0 0 12px; }
.hhcf-approval__actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.hhcf-approval__decline summary { list-style: none; }
.hhcf-approval__decline[open] form { margin-top: 12px; display: grid; gap: 10px; padding: 14px; border: 1px solid var(--hhcf-line); border-radius: 12px; min-width: min(420px, 100%); }
.hhcf-auth-card { max-width: 440px; margin: 10px auto; }
.hhcf-auth-form { display: grid; gap: 14px; margin-top: 18px; }
.hhcf-auth-form__row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.hhcf-auth-card__alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hhcf-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14.5px; color: var(--hhcf-muted); }
.hhcf-portal--auth .hhcf-portal__main { display: grid; align-content: center; }
.hhcf-portal .hhcf-mine__item, .hhcf-portal .hhcf-table-wrap, .hhcf-portal .hhcf-sub { box-shadow: none; border: 1px solid var(--hhcf-line); }
@media (max-width: 860px) {
	.hhcf-portal { grid-template-columns: 1fr; }
	.hhcf-portal__side { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px; }
	.hhcf-portal__brand { width: 100%; }
	.hhcf-portal__nav { flex-direction: row; flex-wrap: wrap; width: 100%; }
	.hhcf-portal__nav a { padding: 8px 12px; font-size: 13.5px; }
	.hhcf-portal__group { width: 100%; margin: 6px 4px 0; }
	.hhcf-portal__foot { width: 100%; flex-direction: row; justify-content: space-between; margin: 0; padding: 10px 4px 0; }
	.hhcf-portal__intro { display: none; }
	.hhcf-portal .hhcf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hhcf-portal__cols { grid-template-columns: 1fr; }
}
.hhcf-auth-card--center { text-align: center; }
.hhcf-auth-card__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--hhcf-primary-soft); color: var(--hhcf-primary); margin-bottom: 14px; }
.hhcf-portal__tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.hhcf-portal__tools p { margin: 0; }
.hhcf-table tr.is-unread td:first-child { box-shadow: inset 3px 0 0 var(--hhcf-primary); }
/* Website forms ---------------------------------------------------------- */
.hhcf-form { background: var(--hhcf-surface); border-radius: var(--hhcf-radius); box-shadow: var(--hhcf-shadow); padding: clamp(22px, 3vw, 32px); }
.hhcf-form__title { font-family: var(--hhcf-font-display); font-size: 24px; margin: 0 0 6px; }
.hhcf-form__intro { color: var(--hhcf-muted); margin: 0 0 20px; }
.hhcf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hhcf-form__grid .hhcf-field.is-full { grid-column: 1 / -1; }
.hhcf-form__grid .hhcf-field > span em { font-style: normal; color: var(--hhcf-danger); }
.hhcf-form__foot { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.hhcf-form__privacy { color: var(--hhcf-muted); font-size: 13px; }
.hhcf-form__done { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 20px 0; }
.hhcf-form__done strong { font-family: var(--hhcf-font-display); font-size: 22px; }
.hhcf-form__done span { color: var(--hhcf-muted); }
.hhcf-form__tick { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--hhcf-primary); color: #fff; margin-bottom: 8px; }
.hhcf-form--inline { padding: 0; background: none; box-shadow: none; }
.hhcf-form--inline .hhcf-form__grid { display: block; }
.hhcf-form--inline .hhcf-form__form { display: flex; gap: 8px; align-items: stretch; }
.hhcf-form--inline .hhcf-field { flex: 1; margin: 0; }
.hhcf-form--inline .hhcf-form__foot { margin: 0; }
.hhcf-form--inline .hhcf-form__done { padding: 8px 0; grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 12px; }
.hhcf-form--inline .hhcf-form__done span { grid-column: 2; }
.hhcf-form--inline .hhcf-form__tick { width: 36px; height: 36px; grid-row: span 2; margin: 0; }
@media (max-width: 560px) { .hhcf-form__grid { grid-template-columns: 1fr; } .hhcf-form--inline .hhcf-form__form { flex-direction: column; } }
.hhcf-mine__manage { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.hhcf-btn--danger { color: var(--hhcf-danger) !important; }
.hhcf-embed-wrap { margin: -4px -8px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--hhcf-line); background: #f3f6f4; }
.hhcf-embed { display: block; width: 100%; height: 760px; border: 0; }
.hhcf-portal__main:has(.hhcf-embed-wrap) { padding-bottom: 16px; }

.hhcf-portal--admin .hhcf-portal__main { padding: 18px 18px 18px; }
.hhcf-portal--admin .hhcf-portal__head { margin-bottom: 12px; }
.hhcf-portal--admin .hhcf-embed-wrap { margin: 0; }

.hhcf-tiers { display: grid; gap: 8px; margin: 8px 0 10px; }
.hhcf-tier { display: grid; grid-template-columns: 18px 110px 1fr; gap: 8px; align-items: center; }
.hhcf-tier span { font-weight: 700; color: var(--hhcf-muted); }
.hhcf-tier input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--hhcf-line); border-radius: 10px; font: inherit; font-size: 15px; }
.hhcf-inline-actions { display: inline-flex; gap: 8px; align-items: center; }
.hhcf-pill--err { background: #fdecea; color: #8f2617; }
.hhcf-portal__badge--err { background: #e4484f; color: #fff; }
.hhcf-review-note { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: #fdecea; border: 1px solid #f3c3bb; }
.hhcf-review-note strong { color: #8f2617; font-size: 14.5px; }
.hhcf-review-note blockquote, .hhcf-review-history blockquote { margin: 0; padding: 2px 0 2px 12px; border-left: 3px solid #e4484f; font-size: 15px; }
.hhcf-review-note small, .hhcf-review-history small { color: var(--hhcf-muted); }
.hhcf-review-note .hhcf-btn { justify-self: start; }
.hhcf-review-history { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.hhcf-mine__hint { margin: 0; font-size: 14px; color: var(--hhcf-muted); }
.entry-content .hhcf-review-note blockquote, .entry-content .hhcf-review-history blockquote { font-size: 15px; margin: 0; padding: 2px 0 2px 12px; border-left: 3px solid #e4484f; font-style: normal; }

/* Campaign video */
.hhcf-campaign__media .hhcf-video { display: block; width: 100%; max-height: 560px; background: #000; }
.hhcf-card__play { position: absolute; left: 14px; bottom: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--hhcf-primary-dark); box-shadow: 0 6px 18px rgba(0,0,0,.25); padding-left: 3px; }
.hhcf-card:hover .hhcf-card__play { background: var(--hhcf-primary); color: #fff; }

/* Volunteer form: three contact fields in a row, consent checkbox */
.hhcf-form--volunteer .hhcf-form__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hhcf-form--volunteer .hhcf-form__title { font-size: 20px; margin-bottom: 14px; }
.hhcf-field--check { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--hhcf-muted); }
.hhcf-field--check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--hhcf-primary); }
.hhcf-field--check a { color: var(--hhcf-ink); font-weight: 600; }
@media (max-width: 760px) { .hhcf-form--volunteer .hhcf-form__grid { grid-template-columns: 1fr; } }

/* Fundraiser wizard: reuse the cause's words and banner */
.hhcf-link-btn { background: none; border: 0; padding: 4px 0 0; color: var(--hhcf-primary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.hhcf-link-btn:hover { text-decoration: underline; }
.hhcf-usecause { display: grid; gap: 10px; justify-items: start; padding: 14px 16px; margin-bottom: 16px; border: 1px dashed var(--hhcf-border, #d6dde8); border-radius: 12px; background: var(--hhcf-mist, #f4f6fa); }

/* Gift levels inside the giving form (1.1.16) */
.hhcf-tiers { display: grid; gap: 8px; }
.hhcf-tiers__title { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hhcf-muted); }
.hhcf-tier { position: relative; display: grid; grid-template-columns: minmax(84px, auto) 1fr 22px; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--hhcf-line); background: var(--hhcf-surface); cursor: pointer; font: inherit; color: var(--hhcf-ink); transition: border-color .12s, background .12s, box-shadow .12s; }
.hhcf-tier:hover { border-color: var(--hhcf-primary); }
.hhcf-tier strong { font-family: var(--hhcf-font-display); font-size: 21px; line-height: 1.1; color: var(--hhcf-primary-dark); }
.hhcf-tier span { font-size: 14px; line-height: 1.4; color: var(--hhcf-muted); }
.hhcf-tier__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--hhcf-line); background: #fff; justify-self: end; box-sizing: border-box; }
.hhcf-tier.is-selected { border-color: var(--hhcf-primary); background: var(--hhcf-primary-soft); box-shadow: inset 0 0 0 1px var(--hhcf-primary); }
.hhcf-tier.is-selected .hhcf-tier__dot { border-color: var(--hhcf-primary); background: radial-gradient(circle, var(--hhcf-primary) 0 45%, #fff 50%); }
.hhcf-tier.is-selected span { color: var(--hhcf-ink); }
.hhcf-tiers__or { margin: 6px 0 -6px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hhcf-muted); }
@media (max-width: 480px) { .hhcf-tier { grid-template-columns: 1fr 22px; row-gap: 2px; } .hhcf-tier strong { grid-column: 1; } .hhcf-tier span { grid-column: 1; grid-row: 2; } .hhcf-tier__dot { grid-column: 2; grid-row: 1 / span 2; } }

/* Donor address on the giving form (1.1.17) */
.hhcf-address { display: grid; gap: 12px; padding: 14px 16px 16px; border: 1px solid var(--hhcf-line); border-radius: 14px; background: var(--hhcf-surface); }
.hhcf-address__title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hhcf-muted); }
.hhcf-address select { width: 100%; }
