/* The supporter account, /account/ (inc/portal.php), 26 October 2026. Design J with L's thumbnails:
   christshopeuk/website/design/sponsor-portal/DECISIONS.md. Only the account loads it. Colours and
   type are the theme's tokens (v3.css); the account's own type is a step smaller than the site's. */

.ch-account { font-size: 15px; line-height: 1.55; }
.ch-account .v3-h2 { font-size: 1.75rem; }
.ch-account .v3-lead { font-size: 1rem; }
.ch-account .v3-btn { font-size: 14.5px; padding: 11px 18px; }
.ch-account .v3-card { padding: 20px; }
.ch-account .v3-card:hover { transform: none; box-shadow: none; border-color: var(--v3-line); }
.ca-small { font-size: 13.5px; color: var(--v3-muted); }
.ca-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--v3-green-ink); text-decoration: none; }
.ca-more .ch-v3-icon { width: 18px; height: 18px; }
.ca-h4 { font: 600 13px/1.3 var(--v3-font-text); color: var(--v3-ink); margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.ca-page { padding-top: var(--v3-s4); padding-bottom: var(--v3-s6); max-width: 920px; }
.ca-head { margin-bottom: var(--v3-s4); } .ca-head .v3-eyebrow { margin: 0; } .ca-head .v3-h2 { margin: 4px 0 8px; } .ca-head .v3-lead { margin: 0; max-width: 60ch; }
.ca-preview { margin: 0; padding: 8px 24px; background: var(--v3-gold); color: var(--v3-ink); font: 600 13px/1.4 var(--v3-font-text); text-align: center; }
.ca-tick { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; font-size: 14px; } .ca-tick input { margin-top: 4px; }
.ca-prose p { margin: 0 0 12px; } .ca-prose p:last-child { margin: 0; }

/* the signed-in strip */
.ca-strip { background: var(--v3-bg-ink); color: #d9e2dd; font-size: 13.5px; }
.ca-strip .v3-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.ca-strip span { display: inline-flex; align-items: center; gap: 8px; }
.ca-strip .ch-v3-icon { width: 18px; height: 18px; color: var(--v3-gold); }
.ca-strip-links { gap: 20px; } .ca-strip-links a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* the tabs: big cards (design I) */
.ca-tabs-wrap { background: var(--v3-bg-soft); border-bottom: 1px solid var(--v3-line); position: sticky; top: 0; z-index: 20; }
.ca-tabs { display: flex; gap: 8px; padding-top: 14px; align-items: end; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ca-tabs::-webkit-scrollbar { display: none; }
.ca-tab { flex: 1 0 auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 100px; padding: 12px 10px 10px; margin: 0 0 -1px;
  border: 1px solid var(--v3-line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #eef3f0; color: var(--v3-ink-soft); font-weight: 600; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.ca-tab .ch-v3-icon { width: 22px; height: 22px; color: var(--v3-green-ink); }
.ca-tab:hover { background: #e4ebe7; color: var(--v3-ink); }
.ca-tab.is-on { background: #fff; color: var(--v3-ink); border-top: 5px solid var(--v3-green); padding-top: 9px; box-shadow: 0 -6px 18px rgba(20,32,27,.06); }
.ca-tab.is-on .ch-v3-icon { color: var(--v3-green); }
@media (max-width: 760px) { .ca-tab { min-width: 84px; font-size: 12.5px; } }

/* section bands (design J) */
.ca-band { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: var(--v3-s4) 0 14px; background: var(--v3-green-tint); border-left: 5px solid var(--v3-green); border-radius: 0 8px 8px 0; padding: 10px 14px; color: var(--v3-ink); }
.ca-band:first-child { margin-top: 0; }
.ca-band h2 { margin: 0; font-family: var(--v3-font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.ca-band > .ch-v3-icon { width: 20px; height: 20px; flex: none; color: var(--v3-green-ink); }
.ca-band time { font-size: 13px; color: var(--v3-ink-soft); }
.ca-band-right { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; }
.ca-band-right .v3-btn { padding: 8px 14px; font-size: 13.5px; }
.v3-card > .ca-band { margin-top: 0; }

/* cards */
.ch-account .ca-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 20px; background: #fff; border: 1px solid var(--v3-line); border-radius: var(--v3-r-card); text-decoration: none; color: var(--v3-ink-soft); }
.ch-account a.ca-card:hover { border-color: #9db3a7; box-shadow: var(--v3-shadow); }
.ca-card-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--v3-green-ink); } .ca-card-eyebrow .ch-v3-icon { width: 18px; height: 18px; }
.ca-card-title { font-family: var(--v3-font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; color: var(--v3-ink); }
.ca-card-text { font-size: 14px; }
.ca-card-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--v3-green-ink); font-size: 14px; margin-top: auto; } .ca-card-cta .ch-v3-icon { width: 18px; height: 18px; }
.ca-cards-3 { display: grid; gap: 16px; margin-top: var(--v3-s4); } @media (min-width: 720px) { .ca-cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* overview */
.ca-home-grid { display: grid; gap: 16px; margin-bottom: 16px; } @media (min-width: 860px) { .ca-home-grid { grid-template-columns: 1.1fr .9fr; } }
.ca-home-child { position: relative; display: flex; min-height: 320px; border-radius: 14px; overflow: hidden; text-decoration: none; background: var(--v3-bg-ink); }
.ca-home-child img, .ca-home-child .ca-photo-none { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.ca-photo-none { display: inline-flex; align-items: center; justify-content: center; background: #2a3a32; color: #8fa399; } .ca-photo-none .ch-v3-icon { width: 64px; height: 64px; }
.ca-home-child-over { position: relative; z-index: 1; margin-top: auto; padding: 90px 22px 22px; display: flex; flex-direction: column; gap: 4px; color: #e7ede9; width: 100%; background: linear-gradient(180deg, transparent, rgba(10,18,14,.88)); }
.ca-home-child-over .v3-eyebrow { color: var(--v3-gold); margin: 0; } .ca-home-child-over b { color: #fff; font-family: var(--v3-font-display); font-size: 1.8rem; line-height: 1.1; } .ca-home-child-over .ca-card-cta { color: #fff; margin-top: 6px; }
.ca-home-side { display: grid; gap: 16px; }
.ca-home-row { display: grid; gap: 16px; } @media (min-width: 720px) { .ca-home-row { grid-template-columns: repeat(3, 1fr); } }

/* the child */
.ca-switch { display: flex; gap: 8px; flex-wrap: wrap; margin: -16px 0 20px; } .ca-switch a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--v3-line); text-decoration: none; color: var(--v3-ink); font-weight: 600; font-size: 13.5px; } .ca-switch a.is-on { background: var(--v3-green); color: #fff; border-color: var(--v3-green); }
.ca-childtop { display: grid; gap: var(--v3-s3); margin-bottom: var(--v3-s3); } @media (min-width: 600px) { .ca-childtop { grid-template-columns: 220px 1fr; } }
.ca-childtop-photo, .ca-childtop .ca-photo-none { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: 14px; box-shadow: var(--v3-shadow-lg); }
.ca-childtop .ca-photo-none { position: static; display: flex; background: var(--v3-bg-soft); color: var(--v3-muted); }
.ca-child-line { font-family: var(--v3-font-display); font-size: 1.05rem; color: var(--v3-ink); margin: 0 0 10px; }
.ca-facts { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; } .ca-facts dt { color: var(--v3-muted); } .ca-facts dd { margin: 0; color: var(--v3-ink); }
.ca-years { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ca-years li { display: flex; gap: 12px; align-items: center; border: 1px solid var(--v3-line); border-radius: 10px; padding: 10px; font-size: 14px; } .ca-years li > span:last-child { display: flex; flex-direction: column; } .ca-years b { color: var(--v3-ink); } .ca-years li > span > span { color: var(--v3-muted); font-size: 13px; }
.ca-years img, .ca-years-ph, .ca-years .ca-photo-none { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; object-position: center 15%; flex: none; position: static; }
.ca-years-ph, .ca-years .ca-photo-none { display: inline-flex; align-items: center; justify-content: center; background: var(--v3-bg-soft); color: var(--v3-muted); border: 1px dashed #c9d3cd; } .ca-years .ca-photo-none .ch-v3-icon { width: 28px; height: 28px; }
.ca-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .ca-docs a { display: inline-flex; align-items: center; gap: 10px; color: var(--v3-green-ink); font-weight: 600; text-decoration: none; font-size: 14px; }
.ca-pray { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }

/* letters: the inbox */
.ca-inbox { display: grid; gap: 0; }
.ca-ib { display: grid; border: 1px solid var(--v3-line); border-radius: 10px; overflow: hidden; background: #fff; }
.ca-ib-empty { margin: 0; padding: 18px; font-size: 14px; color: var(--v3-muted); }
.ca-ib-row { display: grid; grid-template-columns: 56px 36px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 16px; text-decoration: none; color: var(--v3-ink-soft); border-top: 1px solid var(--v3-line); font-size: 14px; }
.ca-ib-row:first-child { border-top: 0; }
.ca-ib-row:hover { background: var(--v3-bg-soft); }
.ca-ib-row.is-on { background: var(--v3-green-tint); box-shadow: inset 4px 0 0 var(--v3-green); }
.ca-ib-thumb { width: 56px; height: 72px; object-fit: cover; object-position: top; border: 1px solid var(--v3-line); border-radius: 4px; background: #fff; }
.ca-ib-thumb-ph { display: inline-flex; align-items: center; justify-content: center; color: var(--v3-muted); background: var(--v3-bg-soft); } .ca-ib-thumb-ph .ch-v3-icon { width: 22px; height: 22px; }
.ca-ib-dir { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--v3-green-tint); color: var(--v3-green-ink); }
.ca-ib-out .ca-ib-dir { background: #fff6d6; color: var(--v3-gold-ink); } .ca-ib-dir .ch-v3-icon { width: 18px; height: 18px; }
.ca-ib-main { display: flex; flex-direction: column; min-width: 0; } .ca-ib-main b { color: var(--v3-ink); font-weight: 600; } .ca-ib-in .ca-ib-main b { font-weight: 700; } .ca-ib-main span { font-size: 12.5px; color: var(--v3-muted); }
.ca-ib-row time { font-size: 12.5px; color: var(--v3-muted); white-space: nowrap; }
.ca-chip { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--v3-green-ink); background: var(--v3-green-tint); border-radius: 999px; padding: 3px 9px; }
@media (max-width: 700px) { .ca-ib-row { grid-template-columns: 56px 36px 1fr; } .ca-ib-status, .ca-ib-row time { grid-column: 3 / -1; } }
.ca-status { display: inline-flex; flex-wrap: wrap; }
.ca-status-step { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--v3-muted); padding: 2px 8px 2px 4px; }
.ca-status-step i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9d3cd; display: inline-flex; align-items: center; justify-content: center; background: #fff; } .ca-status-step i .ch-v3-icon { width: 12px; height: 12px; }
.ca-status-step.is-done { color: var(--v3-ink); } .ca-status-step.is-done i { background: var(--v3-green); border-color: var(--v3-green); color: #fff; }
.ca-status-step.is-now { color: var(--v3-ink); font-weight: 600; } .ca-status-step.is-now i { border-color: var(--v3-gold); background: var(--v3-gold); }
.ca-status-step + .ca-status-step::before { content: ""; width: 12px; height: 2px; background: #c9d3cd; margin-right: 4px; }
.ca-write.v3-form, .ca-letter { margin-top: var(--v3-s4); padding: 20px; box-shadow: none; }
.ca-write .ca-band, .ca-letter .ca-band { margin-top: 0; }
.ca-letter { border: 1px solid var(--v3-line); border-radius: 10px; background: #fff; }
.ca-letter-body { display: grid; gap: var(--v3-s3); } @media (min-width: 760px) { .ca-letter-body { grid-template-columns: 1fr 240px; align-items: start; } }
.ca-scan-wrap { background: #e9e6dc; padding: 22px; border-radius: 8px; display: flex; justify-content: center; }
.ca-scan { width: 100%; max-width: 560px; height: auto; display: block; box-shadow: 0 10px 30px rgba(0,0,0,.18), 0 1px 2px rgba(0,0,0,.2); background: #fff; }
.ca-scan-pdf object { width: 100%; height: 720px; max-height: 80vh; background: #fff; }
.ca-letter-side { display: flex; flex-direction: column; gap: 12px; } .ca-letter-side p { margin: 0; } .ca-letter-side .v3-btn-row { gap: 8px; } .ca-letter-side .ca-status { margin: 0; }
.ca-out-letter { background: var(--v3-bg-soft); border-radius: 8px; padding: 22px 26px; font-size: 15px; } .ca-out-letter p { margin: 0 0 12px; } .ca-out-letter p:last-child { margin: 0; }
.ca-out-photo { max-width: 260px; border-radius: 8px; }
.ca-rules { margin: 0 0 16px; font-size: 14px; } .ca-rules summary { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--v3-ink); } .ca-rules summary .ch-v3-icon { width: 18px; height: 18px; color: var(--v3-green); } .ca-rules ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; }

/* the year */
.ca-tl { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 18px; }
.ca-tl::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 3px; background: #d7e0db; border-radius: 3px; }
.ca-tl-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: start; }
.ca-tl-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 3px solid #d7e0db; color: var(--v3-muted); display: inline-flex; align-items: center; justify-content: center; } .ca-tl-dot .ch-v3-icon { width: 20px; height: 20px; }
.ca-tl-month { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--v3-muted); padding-top: 4px; }
.ca-tl-what { display: block; color: var(--v3-ink); font-family: var(--v3-font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.ca-tl-flag { display: inline-block; margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v3-ink); background: var(--v3-gold); border-radius: 999px; padding: 2px 10px; }
.ca-tl-item.is-done .ca-tl-dot { background: var(--v3-green); border-color: var(--v3-green); color: #fff; }
.ca-tl-item.is-next .ca-tl-dot { border-color: var(--v3-gold); background: #fff8dc; color: var(--v3-ink); box-shadow: 0 0 0 6px rgba(255,204,1,.25); }
.ca-tl-item.is-next .ca-tl-what { font-size: 1.15rem; }
.ca-tl-item.is-soon .ca-tl-dot { border-color: var(--v3-green); color: var(--v3-green-ink); }
@media (min-width: 900px) {
  .ca-tl { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 0; padding-top: 6px; }
  .ca-tl::before { left: 6%; right: 6%; top: 21px; bottom: auto; height: 3px; width: auto; }
  .ca-tl-item { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 10px 0; padding: 0 6px; }
  .ca-tl-month { padding-top: 0; } .ca-tl-what { font-size: .95rem; max-width: 150px; } .ca-tl-item.is-next .ca-tl-what { font-size: 1.02rem; }
}

/* giving */
.ca-subs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ca-subs li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--v3-line); border-radius: 10px; padding: 12px 16px; }
.ca-subs .v3-icon-badge { margin: 0; width: 44px; height: 44px; flex: none; }
.ca-subs li > span:not(.v3-icon-badge) { display: flex; flex-direction: column; } .ca-subs b { color: var(--v3-ink); } .ca-subs li > span > span { font-size: 13px; color: var(--v3-muted); }
.ca-change { margin-left: auto; font-size: 14px; color: var(--v3-green-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ca-history { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 12px; }
.ca-history td { padding: 12px 8px; border-top: 1px solid var(--v3-line); vertical-align: top; } .ca-history tr:first-child td { border-top: 0; }
.ca-history td:first-child { white-space: nowrap; color: var(--v3-muted); width: 1%; padding-left: 0; }
.ca-history td b { display: block; color: var(--v3-ink); } .ca-history td > span { display: block; color: var(--v3-muted); font-size: 13px; } .ca-history td .ca-more { margin-top: 4px; font-size: 13.5px; }
.ca-amt { text-align: right; font-family: var(--v3-font-display); font-weight: 600; font-size: 1.1rem; color: var(--v3-ink); white-space: nowrap; padding-right: 0 !important; }
.ca-ga { display: flex; align-items: center; gap: 8px; } .ca-ga .ch-v3-icon { width: 18px; height: 18px; flex: none; }
.ca-dcard .ca-small a .ch-v3-icon { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }

/* details */
.ch-account .ca-dcard { font-size: 14px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; } .ca-dcard p { margin: 0; }
.ca-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ca-ticks li { display: flex; align-items: center; gap: 8px; color: var(--v3-muted); } .ca-ticks li em { font-style: normal; }
.ca-ticks .ch-v3-icon { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid #c9d3cd; padding: 2px; color: transparent; }
.ca-ticks li.is-on { color: var(--v3-ink); } .ca-ticks li.is-on .ch-v3-icon { background: var(--v3-green); border-color: var(--v3-green); color: #fff; }
.ca-details-form.v3-form { box-shadow: none; padding: 20px; margin-bottom: 16px; }
.ca-inline-form { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; } .ca-inline-form .v3-btn { padding: 8px 14px; font-size: 13.5px; width: auto; }

/* help */
.ca-help { display: grid; gap: 16px; } @media (min-width: 860px) { .ca-help { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.ca-help-card .ca-ask.v3-form { padding: 0; border: 0; box-shadow: none; margin-top: 6px; }
.ca-help-qs { display: grid; gap: 8px; }
.ca-help-qs .v3-faq { border: 1px solid var(--v3-line); border-radius: 10px; padding: 0 16px; } .ca-help-qs summary { padding: 14px 0; cursor: pointer; font-weight: 600; color: var(--v3-ink); } .ca-help-qs .v3-faq-a { padding: 0 0 16px; font-size: 14px; }

/* sign-in */
.ca-signin { max-width: 560px; padding-top: var(--v3-s6); padding-bottom: var(--v3-s7); }
.ca-signin .v3-eyebrow { margin: 0; } .ca-signin .v3-h2 { margin: 4px 0 8px; }
.ca-signin-form.v3-form { margin-top: var(--v3-s3); } .ca-signin-form .v3-btn { width: 100%; justify-content: center; }
