/**
 * Snippet Name: RK: Donor Hub - styles
 * Generated: 2026-11-05 00:00:53
 * Source: Custom
 * AUTO-GENERATED FILE — DO NOT EDIT.
 */

/* RK: Donor Hub - styles. Scoped to .rk-hub and the confirmation block .rk-hub-cta. */
.rk-hub, .rk-hub-cta {
	--rk-ink: #0F172A;
	--rk-muted: #6F747F;
	--rk-brand: #1F6F98;
	--rk-brand-dark: #185A7C;
	--rk-tint: #EEF6FA;
	--rk-line: #DCE4E9;
	--rk-ok: #1E7A4C;
	--rk-warn: #A15C07;
	--rk-radius: 10px;
	font-family: 'Merriweather Sans', Helvetica, Arial, sans-serif;
	color: var(--rk-ink);
	line-height: 1.55;
}
.rk-hub { max-width: 1040px; margin: 0 auto; padding: 8px 16px 48px; box-sizing: border-box; }
.rk-hub *, .rk-hub-cta * { box-sizing: border-box; }
.rk-hub h1, .rk-hub h2, .rk-hub h3 { color: var(--rk-ink); font-family: inherit; letter-spacing: -0.01em; }
.rk-hub-title { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; margin: 0 0 8px; font-weight: 700; }
.rk-hub-h2 { font-size: 20px; margin: 32px 0 12px; font-weight: 700; }
.rk-hub-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rk-muted); margin: 0 0 6px; }
.rk-hub-head { margin: 8px 0 16px; }
.rk-hub-note { font-size: 14px; color: var(--rk-muted); }
.rk-hub-note.is-bad { color: var(--rk-warn); }
.rk-hub-empty { padding: 20px; border: 1px dashed var(--rk-line); border-radius: var(--rk-radius); color: var(--rk-muted); }
.rk-hub-ok, .rk-hub-warn { padding: 12px 16px; border-radius: 8px; margin: 12px 0; font-size: 15px; }
.rk-hub-ok { background: #E8F5EE; color: var(--rk-ok); }
.rk-hub-warn { background: #FDF3E4; color: var(--rk-warn); }

/* Tabs: scrollable pill row, sticky on phones. */
.rk-hub-tabs { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px 0 10px; margin: 0 0 16px; border-bottom: 1px solid var(--rk-line); position: sticky; top: 0; background: #fff; z-index: 5; }
.rk-hub-tabs::-webkit-scrollbar { display: none; }
.rk-hub-tab { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--rk-ink); text-decoration: none; background: var(--rk-tint); white-space: nowrap; }
.rk-hub-tab:hover { background: #DDEDF5; color: var(--rk-ink); }
.rk-hub-tab.is-on { background: var(--rk-brand); color: #fff; }
.rk-hub-count { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: #fff; color: var(--rk-brand); font-size: 12px; text-align: center; }
.rk-hub-tab:not(.is-on) .rk-hub-count { background: var(--rk-brand); color: #fff; }

/* Buttons. */
.rk-hub-btn, .rk-hub-cta__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 6px; border: 2px solid var(--rk-brand); background: var(--rk-brand); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; font-family: inherit; }
.rk-hub-btn:hover, .rk-hub-cta__btn:hover { background: var(--rk-brand-dark); border-color: var(--rk-brand-dark); }
.rk-hub-btn--ghost, .rk-hub-cta__ghost { background: #fff; color: var(--rk-brand) !important; }
.rk-hub-btn--ghost:hover { background: var(--rk-tint); }
.rk-hub-btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.rk-hub-btn[disabled], .rk-hub button[disabled] { opacity: 0.5; cursor: not-allowed; }
.rk-hub-link { background: none; border: 0; padding: 0; color: var(--rk-brand); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.rk-hub-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.rk-hub-inline { display: inline; margin: 0; }

/* Stats and cards. */
.rk-hub-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 20px; }
.rk-hub-stat { background: var(--rk-tint); border-radius: var(--rk-radius); padding: 16px; }
.rk-hub-stat__n { display: block; font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: var(--rk-brand); line-height: 1.1; }
.rk-hub-stat__l { display: block; font-size: 13px; color: var(--rk-muted); margin-top: 4px; }
.rk-hub-next, .rk-hub-banner, .rk-hub-statement { border: 1px solid var(--rk-line); border-left: 4px solid var(--rk-brand); border-radius: var(--rk-radius); padding: 18px 20px; margin: 0 0 20px; background: #fff; }
.rk-hub-next h3 { margin: 0 0 6px; font-size: 19px; }
.rk-hub-next p { margin: 0 0 4px; }
.rk-hub-banner { background: var(--rk-tint); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.rk-hub-banner p { margin: 0; font-weight: 600; }
.rk-hub-statement form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.rk-hub-statement p { margin: 0; }
.rk-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rk-hub-stack { display: grid; gap: 16px; }
.rk-hub-card { border: 1px solid var(--rk-line); border-radius: var(--rk-radius); padding: 18px; background: #fff; display: flex; flex-direction: column; }
.rk-hub-card__title { font-size: 18px; margin: 0 0 8px; line-height: 1.3; }
.rk-hub-card__meta { font-size: 14px; color: var(--rk-muted); margin: 0 0 8px; }
.rk-hub-card__update { font-size: 14px; margin: 0 0 4px; }
.rk-hub-card__update span { font-weight: 600; }
.rk-hub-card .rk-hub-actions { margin-top: auto; padding-top: 12px; }
.rk-hub-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--rk-tint); color: var(--rk-brand); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.rk-hub-match { font-size: 14px; color: var(--rk-ok); font-weight: 600; margin: 0 0 6px; }
.rk-hub-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.rk-hub-badge { padding: 6px 12px; border-radius: 999px; background: #FFF7E6; color: #8A5A00; font-size: 13px; font-weight: 600; }

/* Updates. */
.rk-hub-update { border: 1px solid var(--rk-line); border-radius: var(--rk-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.rk-hub-update__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.rk-hub-update__body { padding: 16px 18px 18px; }
.rk-hub-update__title { font-size: 17px; margin: 0 0 8px; }
.rk-hub-update__more summary { cursor: pointer; color: var(--rk-brand); margin-bottom: 8px; }
.rk-hub-stack .rk-hub-update { flex-direction: row; }
.rk-hub-stack .rk-hub-update__img { width: 240px; aspect-ratio: auto; }

/* Tables. */
.rk-hub-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; font-size: 14px; }
.rk-hub-toolbar a { padding: 4px 10px; border-radius: 999px; text-decoration: none; background: var(--rk-tint); color: var(--rk-ink); }
.rk-hub-toolbar a.is-on { background: var(--rk-brand); color: #fff; }
.rk-hub-table-wrap { overflow-x: auto; }
.rk-hub-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rk-hub-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rk-muted); padding: 8px; border-bottom: 2px solid var(--rk-line); }
.rk-hub-table td { padding: 10px 8px; border-bottom: 1px solid var(--rk-line); vertical-align: top; }
.rk-hub-status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.rk-hub-status--received { background: #E8F5EE; color: var(--rk-ok); }
.rk-hub-status--pledged { background: #FDF3E4; color: var(--rk-warn); }
.rk-hub-status--cancelled { background: #F1F3F5; color: var(--rk-muted); }

/* Lists, forms. */
.rk-hub-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rk-line); }
.rk-hub-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rk-line); }
.rk-hub-form { margin: 0; }
.rk-hub-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.rk-hub-label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.rk-hub-label input, .rk-hub-label select, .rk-hub-label textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #C5D0D8; border-radius: 6px; font: inherit; font-weight: 400; min-height: 44px; }
.rk-hub-check { display: flex; gap: 8px; align-items: center; font-size: 15px; margin: 0 0 10px; }
.rk-hub-num { max-width: 120px; display: inline-block !important; }
.rk-hub-manage { margin: 12px 0; border: 1px solid var(--rk-line); border-radius: var(--rk-radius); padding: 12px 16px; }
.rk-hub-manage > summary { cursor: pointer; font-weight: 600; color: var(--rk-brand); }
.rk-hub-manage[open] > summary { margin-bottom: 12px; }
.rk-hub-choices { border: 0; padding: 0; margin: 0 0 12px; }
.rk-hub-choices label { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 0; }
.rk-hub-choices select, .rk-hub-choices input[type=number] { padding: 6px 8px; border: 1px solid #C5D0D8; border-radius: 6px; font: inherit; }
.rk-hub-instructions { background: var(--rk-tint); border-radius: 8px; padding: 14px 16px; }
.rk-hub-step { margin: 12px 0 6px; }
.rk-hub-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; }
.rk-hub-copy__label { font-size: 13px; color: var(--rk-muted); min-width: 120px; }
.rk-hub-copy__value { background: #fff; padding: 4px 8px; border-radius: 4px; border: 1px solid var(--rk-line); font-size: 14px; }
.rk-hub-copy__btn { border: 1px solid var(--rk-brand); color: var(--rk-brand); background: #fff; border-radius: 4px; padding: 3px 10px; font-size: 13px; cursor: pointer; }

/* Portfolio. */
.rk-hub-split { list-style: none; padding: 0; margin: 8px 0 0; }
.rk-hub-split li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--rk-line); }
.rk-hub-split-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rk-line); border-radius: 8px; margin-bottom: 8px; }
.rk-hub-split-row.is-on { border-color: var(--rk-brand); background: var(--rk-tint); }
.rk-hub-split-row label { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.rk-hub-pct input { width: 72px; padding: 6px 8px; border: 1px solid #C5D0D8; border-radius: 6px; font: inherit; text-align: right; }
.rk-hub-bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; margin: 8px 0; }
.rk-hub-bar { flex: 1; background: var(--rk-brand); border-radius: 2px 2px 0 0; opacity: 0.85; }

/* Sign-in and join. */
.rk-hub-signin, .rk-hub-join { max-width: 560px; margin: 24px auto; padding: 28px; border: 1px solid var(--rk-line); border-radius: 14px; background: #fff; }
.rk-hub-signin__form { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.rk-hub-signin__form input[type=email] { flex: 1 1 240px; min-height: 48px; padding: 10px 14px; border: 1px solid #C5D0D8; border-radius: 6px; font: inherit; }
.rk-hub-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rk-hub-quote { margin: 16px 0; padding: 12px 16px; border-left: 3px solid var(--rk-brand); background: var(--rk-tint); border-radius: 0 8px 8px 0; }

/* Confirmation block on donation pages. */
.rk-hub-cta { margin: 20px 0 0; padding: 18px 20px; border-radius: var(--rk-radius); background: var(--rk-tint); }
.rk-hub-cta__text { margin: 0 0 12px; font-size: 15px; }
.rk-hub-cta__next { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rk-line); }
.rk-hub-cta__next p { margin: 0 0 10px; font-size: 15px; }
.rk-hub-cta__ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 6px; border: 2px solid var(--rk-brand); font-weight: 600; text-decoration: none; cursor: pointer; font-family: inherit; font-size: 15px; }

@media (max-width: 720px) {
	.rk-hub-stats { grid-template-columns: repeat(2, 1fr); }
	.rk-hub-stack .rk-hub-update { flex-direction: column; }
	.rk-hub-stack .rk-hub-update__img { width: 100%; aspect-ratio: 16 / 9; }
	.rk-hub-table thead { display: none; }
	.rk-hub-table, .rk-hub-table tbody, .rk-hub-table tr, .rk-hub-table td { display: block; width: 100%; }
	.rk-hub-table tr { border: 1px solid var(--rk-line); border-radius: 8px; margin-bottom: 10px; padding: 8px 12px; }
	.rk-hub-table td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; }
	.rk-hub-table td > span { text-align: right; }
	.rk-hub-table td::before { flex: 0 0 auto; content: attr(data-l); color: var(--rk-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
	.rk-hub-list li { flex-direction: column; align-items: flex-start; }
	.rk-hub-signin, .rk-hub-join { padding: 20px; margin: 12px auto; }
}
