/* /zoho-creator/church-management-app/ (zcch-): arched household record with a staff role lens + attendance drift board */
.zcch-hero__grid { align-items: center; }
.zcch-sub { font: 600 clamp(18px, 1rem + .4vw, 21px)/1.5 var(--f-head, 'Manrope', sans-serif); color: #082238; margin: 18px 0 0; max-width: 36em; }
.zcch-tops { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.zcch-tops li { display: flex; gap: 10px; align-items: flex-start; font: 500 15px/1.45 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-tops svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: #6B3FA0; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }

/* ---------- Hero: arched window record with role lens ---------- */
.zcch-lens { margin: 0 auto; width: min(100%, 440px); padding: 26px 16px 16px; border-radius: 220px 220px 28px 28px; background:
  radial-gradient(120% 60% at 50% 0%, rgba(255, 184, 28, .35), transparent 60%),
  conic-gradient(from 200deg at 50% 18%, #3B1F66, #0A3A63, #07605E, #6B3FA0, #3B1F66);
  box-shadow: 0 34px 70px -34px rgba(35, 16, 64, .75), inset 0 0 0 6px rgba(255, 255, 255, .08); color: #EDE7F6; }
.zcch-lens__bar { padding: 30px 8px 12px; text-align: center; }
.zcch-lens__q { margin: 0 0 10px; font: 800 11.5px/1 var(--f-body, 'Inter', sans-serif); letter-spacing: .14em; text-transform: uppercase; color: #FFD983; }
.zcch-lens__roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.zcch-lens__roles button { min-height: 40px; padding: 8px 13px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; font: 700 13.5px/1 var(--f-body, 'Inter', sans-serif); cursor: pointer; transition: background-color 200ms, color 200ms, border-color 200ms; }
.zcch-lens__roles button:hover { background: rgba(255, 255, 255, .18); }
.zcch-lens__roles button[aria-pressed="true"] { background: #FFB81C; border-color: #FFB81C; color: #231040; }
.zcch-lens__roles button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.zcch-card { background: #FFFDF8; color: #082238; border-radius: 22px; padding: 16px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6); }
.zcch-card__head { display: flex; gap: 12px; align-items: center; }
.zcch-card__mono { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px 14px 50% 50%; display: grid; place-items: center; background: #3B1F66; color: #FFD983; font: 800 15px/1 var(--f-head, 'Manrope', sans-serif); }
.zcch-card__head p { margin: 0; }
.zcch-card__head b { display: block; font: 800 16.5px/1.3 var(--f-head, 'Manrope', sans-serif); }
.zcch-card__head p span { display: block; font: 500 12.5px/1.4 var(--f-body, 'Inter', sans-serif); color: #475569; }
.zcch-people { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.zcch-people li { background: #F4EFFA; border-radius: 12px; padding: 8px 10px; }
.zcch-people b { display: block; font: 700 13.5px/1.3 var(--f-head, 'Manrope', sans-serif); color: #231040; }
.zcch-people span { display: block; font: 500 12px/1.35 var(--f-body, 'Inter', sans-serif); color: #475569; }
.zcch-fields { margin: 12px 0 0; display: grid; gap: 6px; }
.zcch-f { position: relative; display: grid; grid-template-columns: 7.4em 1fr; gap: 2px 10px; padding: 9px 10px; border-radius: 12px; border: 1.5px solid #EAE3F3; background: #fff; transition: background-color 250ms, border-color 250ms; }
.zcch-f dt { font: 700 11.5px/1.45 var(--f-body, 'Inter', sans-serif); color: #5B4A75; text-transform: uppercase; letter-spacing: .05em; }
.zcch-f dd { margin: 0; font: 500 13.5px/1.45 var(--f-body, 'Inter', sans-serif); color: #1F2937; }
.zcch-f dd small { display: block; font: 600 11.5px/1.3 var(--f-body, 'Inter', sans-serif); color: #475569; margin-top: 3px; }
.zcch-f__who { grid-column: 2; font: 600 11px/1.3 var(--f-body, 'Inter', sans-serif); color: #6B3FA0; }
.zcch-dots { display: inline-flex; gap: 4px; }
.zcch-dots i { width: 12px; height: 12px; border-radius: 50%; background: #E2E8F0; box-shadow: inset 0 0 0 1.5px #CBD5E1; }
.zcch-dots i.is-p { background: #0F7A54; box-shadow: none; }
.zcch-dots i.is-o { background: #fff; box-shadow: inset 0 0 0 3px #0A6FA8; }
.zcch-card__hid { margin: 10px 2px 0; min-height: 1.2em; font: 600 12.5px/1.4 var(--f-body, 'Inter', sans-serif); color: #5B4A75; }
.zcch-lens__cap { margin: 14px 6px 2px; font: 500 13.5px/1.5 var(--f-body, 'Inter', sans-serif); color: #EDE7F6; text-align: center; }
.zcch-js .zcch-f__who { display: none; }
.zcch-js .zcch-f.is-locked { background: repeating-linear-gradient(135deg, #F7F4FB 0 8px, #EFE9F6 8px 16px); border-color: #E2D9EE; }
.zcch-js .zcch-f.is-locked dd { visibility: hidden; height: 1.2em; overflow: hidden; }
.zcch-js .zcch-f.is-locked::after { content: "Locked for this role"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 3px 9px 3px 22px; border-radius: 999px; background: #fff; color: #5B4A75; font: 700 11.5px/1.3 var(--f-body, 'Inter', sans-serif); box-shadow: 0 0 0 1px #E2D9EE; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B4A75' stroke-width='2.2'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px; background-position: 7px 50%; }
.zcch-js .zcch-f.is-pop { animation: zcchPop 420ms cubic-bezier(.2, .7, .2, 1); }
.zcch-js.zcch-lens { animation: zcchRise 800ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes zcchPop { 0% { background-color: #FFF4D6; border-color: #FFB81C; } 100% { background-color: #fff; } }
@keyframes zcchRise { from { opacity: 0; transform: translateY(20px) scale(.98); } }
@keyframes zcchIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Kit tweaks ---------- */
.zcch-deal, .zcch-versus, .zcch-wipe { margin-top: 28px; }
.zcch-what .pg-answer a, .zcch-xl .pg-answer a, .zcch-vs a, .zcch-give a, .zcch-cost a { color: #0A6FA8; font-weight: 600; }
.zcch-vs__more { margin: 20px 0 0; max-width: 72ch; font: 500 15.5px/1.6 var(--f-body, 'Inter', sans-serif); color: #334155; }

/* ---------- Attendance drift board ---------- */
.zcch-drift { margin-top: 28px; background: #fff; border: 1.5px solid #E2E8F0; border-radius: 26px; padding: clamp(16px, 2.6vw, 28px); box-shadow: 0 26px 50px -36px rgba(8, 34, 56, .45); }
.zcch-drift__ctrl { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; }
.zcch-drift__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.zcch-drift__set legend { padding: 0; margin-bottom: 8px; font: 700 14.5px/1.3 var(--f-body, 'Inter', sans-serif); color: #082238; }
.zcch-seg { display: inline-flex; flex-wrap: wrap; background: #F3F7F9; border-radius: 14px; padding: 4px; gap: 4px; }
.zcch-seg label { position: relative; }
.zcch-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.zcch-seg span { display: block; min-height: 40px; padding: 11px 14px; border-radius: 10px; font: 700 13.5px/1.3 var(--f-body, 'Inter', sans-serif); color: #334155; cursor: pointer; }
.zcch-seg input:checked + span { background: #3B1F66; color: #fff; }
.zcch-seg input:focus-visible + span { outline: 3px solid #00A3D9; outline-offset: 1px; }
.zcch-drift__toggles { display: grid; gap: 8px; }
.zcch-sw { display: flex; align-items: center; gap: 10px; font: 600 14px/1.35 var(--f-body, 'Inter', sans-serif); color: #334155; cursor: pointer; min-height: 32px; }
.zcch-sw input { appearance: none; -webkit-appearance: none; flex: 0 0 42px; width: 42px; height: 24px; border-radius: 99px; background: #CBD5E1; position: relative; cursor: pointer; transition: background-color 200ms; margin: 0; }
.zcch-sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 200ms; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.zcch-sw input:checked { background: #0F7A54; }
.zcch-sw input:checked::after { transform: translateX(18px); }
.zcch-sw input:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.zcch-drift__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 24px); margin-top: 20px; align-items: start; }
.zcch-drift__scroll { overflow-x: auto; border-radius: 16px; border: 1.5px solid #E2E8F0; -webkit-overflow-scrolling: touch; }
.zcch-drift__scroll:focus-visible { outline: 3px solid #00A3D9; outline-offset: 2px; }
.zcch-drift__tbl { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 3px 5px; font: 600 11.5px/1.2 var(--f-body, 'Inter', sans-serif); }
.zcch-drift__tbl caption { caption-side: top; text-align: left; padding: 10px 10px 2px; font: 600 13px/1.4 var(--f-body, 'Inter', sans-serif); color: #475569; }
.zcch-drift__tbl thead th { font: 700 11.5px/1.2 var(--f-body, 'Inter', sans-serif); color: #475569; padding: 4px 2px; text-align: center; }
.zcch-drift__tbl thead th:first-child { text-align: left; padding-left: 8px; }
.zcch-drift__tbl tbody th { text-align: left; font: 700 13px/1.3 var(--f-head, 'Manrope', sans-serif); color: #082238; padding: 4px 8px; white-space: nowrap; }
.zcch-drift__tbl td[data-a] { text-align: center; padding: 8px 2px; border-radius: 8px; background: #E7F6EE; color: #0B5A3E; transition: box-shadow 300ms, transform 300ms; }
.zcch-drift__tbl td[data-a="o"] { background: #E8F5FC; color: #0B4D75; }
.zcch-drift__tbl td[data-a="w"] { background: #FDF1E1; color: #7A3A05; }
.zcch-drift__tbl td[data-a="x"] { background: #F1F5F9; color: #475569; }
.zcch-js .zcch-drift__tbl td[data-a] { font-size: 0; height: 30px; padding: 0; position: relative; }
.zcch-js .zcch-drift__tbl td[data-a]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #0F7A54; }
.zcch-js .zcch-drift__tbl td[data-a="o"]::after { background: #fff; box-shadow: inset 0 0 0 3.5px #0A6FA8; }
.zcch-js .zcch-drift__tbl td[data-a="w"]::after { border-radius: 3px; background: #D98A2B; transform: rotate(45deg); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
.zcch-js .zcch-drift__tbl td[data-a="x"]::after { background: transparent; box-shadow: inset 0 0 0 2px #94A3B8; }
.zcch-drift__tbl td.is-streak { box-shadow: inset 0 0 0 2px #B42318; }
.zcch-js .zcch-drift__tbl td.is-streak[data-a="x"]::after { box-shadow: inset 0 0 0 2px #B42318; }
.zcch-st { text-align: center; padding: 6px 8px; border-radius: 99px; background: #F3F7F9; color: #334155; font: 700 11.5px/1.2 var(--f-body, 'Inter', sans-serif); white-space: nowrap; }
.zcch-drift__tbl tr.is-flag .zcch-st { background: #B42318; color: #fff; }
.zcch-drift__tbl tr.is-flag th { color: #8A1C12; }
.zcch-drift__side { background: #F6F3FA; border-radius: 20px; padding: clamp(14px, 2vw, 20px); }
.zcch-drift__sum { margin: 0; font: 800 17px/1.35 var(--f-head, 'Manrope', sans-serif); color: #231040; }
.zcch-drift__h { margin: 16px 0 10px; font: 700 15px/1.3 var(--f-head, 'Manrope', sans-serif); color: #082238; }
.zcch-drift__tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zcch-task { background: #fff; border-radius: 12px; padding: 10px 12px; border-left: 4px solid #B42318; }
.zcch-task--none { border-left-color: #0F7A54; }
.zcch-task b { display: block; font: 700 13.5px/1.35 var(--f-body, 'Inter', sans-serif); color: #082238; }
.zcch-task span { display: block; margin-top: 2px; font: 500 13px/1.45 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-js .zcch-task { animation: zcchIn 260ms ease-out; }
.zcch-drift__note { margin: 12px 0 0; font: 500 12.5px/1.5 var(--f-body, 'Inter', sans-serif); color: #475569; }
.zcch-drift__key { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font: 600 12.5px/1.2 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-drift__key li { display: inline-flex; align-items: center; gap: 6px; }
.zcch-drift__key li::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #0F7A54; }
.zcch-drift__key li.is-o::before { background: #fff; box-shadow: inset 0 0 0 3px #0A6FA8; }
.zcch-drift__key li.is-w::before { border-radius: 3px; background: #D98A2B; transform: rotate(45deg) scale(.85); }
.zcch-drift__key li.is-x::before { background: transparent; box-shadow: inset 0 0 0 2px #94A3B8; }

/* ---------- Giving: tray to statement flow ---------- */
.zcch-flow { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.zcch-flow__st { position: relative; background: #fff; border: 1.5px solid #E2E8F0; border-radius: 20px 20px 20px 4px; padding: 20px 18px 18px; box-shadow: 0 18px 30px -26px rgba(8, 34, 56, .55); }
.zcch-flow__st:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 34px; width: 14px; height: 14px; border-top: 3px solid #6B3FA0; border-right: 3px solid #6B3FA0; transform: rotate(45deg); }
.zcch-flow__st--end { background: linear-gradient(160deg, #3B1F66, #0A3A63); border-color: transparent; }
.zcch-flow .zcch-flow__st--end h3, .zcch-flow .zcch-flow__st--end p { color: #fff; }
.zcch-flow__st--end a { color: #FFD983 !important; }
.zcch-flow__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #FFB81C; color: #231040; font: 800 16px/1 var(--f-head, 'Manrope', sans-serif); margin-bottom: 10px; }
.zcch-flow__st h3 { margin: 0 0 6px; font: 700 17px/1.3 var(--f-head, 'Manrope', sans-serif); color: #082238; }
.zcch-flow__st p { margin: 0; font: 500 14.5px/1.55 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-give__note { margin: 20px 0 0; max-width: 72ch; padding: 14px 16px; border-radius: 14px; background: #FFF8E6; border-left: 4px solid #FFB81C; font: 500 14.5px/1.55 var(--f-body, 'Inter', sans-serif); color: #334155; }

/* ---------- Cost: offering envelope ---------- */
.zcch-cost__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.zcch-cost__more { margin: 16px 0 0; font: 600 15.5px/1.5 var(--f-body, 'Inter', sans-serif); color: #082238; }
.zcch-env { position: relative; border-radius: 10px 10px 22px 22px; background: #FBF6EA; border: 1.5px solid #E9DFC6; padding: 54px 20px 20px; box-shadow: 0 24px 44px -30px rgba(60, 40, 10, .5); overflow: hidden; }
.zcch-env__flap { position: absolute; left: 0; right: 0; top: 0; height: 46px; background: #F2E8CF; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.zcch-env__line { padding: 14px 0; border-bottom: 1.5px dashed #D9CCA8; }
.zcch-env__line--b { border-bottom: 0; }
.zcch-env__k { margin: 0; font: 800 12px/1.2 var(--f-body, 'Inter', sans-serif); letter-spacing: .09em; text-transform: uppercase; color: #6B3FA0; }
.zcch-env__v { margin: 6px 0 0; font: 800 20px/1.25 var(--f-head, 'Manrope', sans-serif); color: #082238; }
.zcch-env__s { margin: 4px 0 0; font: 500 14px/1.5 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-env__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.zcch-env__list li { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; font: 500 14px/1.45 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-env__list b { font: 700 14.5px/1.4 var(--f-head, 'Manrope', sans-serif); color: #082238; }

/* ---------- Steps ---------- */
.zcch-steps__box { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.zcch-steps__trust { margin: 14px 0 0; font: 500 14.5px/1.55 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.zcch-steps__list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1.5px solid #E2E8F0; border-radius: 14px; padding: 14px 16px; font: 500 14.5px/1.5 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-steps__list li > span { flex: 0 0 34px; height: 34px; border-radius: 10px 10px 50% 50%; display: grid; place-items: center; background: #3B1F66; color: #FFD983; font: 800 15px/1 var(--f-head, 'Manrope', sans-serif); }
.zcch-steps__list b { display: block; font: 700 16px/1.3 var(--f-head, 'Manrope', sans-serif); color: #082238; margin-bottom: 2px; }
.zcch-steps__next { margin: 14px 0 0; font: 500 14.5px/1.55 var(--f-body, 'Inter', sans-serif); color: #334155; }
.zcch-steps__next a { color: #0A6FA8; font-weight: 600; }

@media (max-width: 1080px) {
  .zcch-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zcch-flow__st:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  .zcch-drift__body, .zcch-cost__grid, .zcch-steps__box { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .zcch-flow { grid-template-columns: 1fr; gap: 22px; }
  .zcch-flow__st:not(:last-child)::after { display: block; right: auto; left: 30px; top: auto; bottom: -18px; transform: rotate(135deg); }
  .zcch-flow__st:nth-child(2)::after { display: block; }
}
@media (max-width: 520px) {
  .zcch-lens { border-radius: 180px 180px 24px 24px; padding: 18px 10px 12px; }
  .zcch-lens__bar { padding-top: 26px; }
  .zcch-lens__roles button { padding: 8px 11px; font-size: 13px; }
  .zcch-f { grid-template-columns: 1fr; }
  .zcch-f__who { grid-column: 1; }
  .zcch-js .zcch-f.is-locked::after { top: 9px; transform: none; }
  .zcch-env__list li { grid-template-columns: 1fr; gap: 2px; }
  .zcch-seg span { padding: 10px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .zcch-js.zcch-lens, .zcch-js .zcch-f.is-pop, .zcch-js .zcch-task { animation: none !important; }
  .zcch-f, .zcch-drift__tbl td[data-a], .zcch-sw input, .zcch-sw input::after { transition: none !important; }
}
.zcch-lens__roles[hidden], .zcch-drift__ctrl[hidden] { display: none; }
.zcch-drift__tbl tbody th { position: sticky; left: 0; z-index: 1; background: #fff; }
@media (max-width: 520px) {
  .zcch-drift__tbl { min-width: 440px; border-spacing: 2px 5px; }
  .zcch-drift__tbl thead th { font-size: 10.5px; }
  .zcch-drift__tbl tbody th { font-size: 12px; padding: 4px 6px; }
  .zcch-st { padding: 5px 6px; font-size: 11px; }
}
.zcch-drift__tbl thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
