/* BESIDE MY BIBLE (companion/companion.js): a companion for reading your own Bible. In the site's colors, either mode; big, calm, easy */
.cp { position: fixed; inset: 0; z-index: 58; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 16, 12, 0.45); opacity: 0; transition: opacity 0.2s ease; color: var(--ink); font-family: var(--sans); }
.cp.open { opacity: 1; }
.cp[hidden] { display: none; }
html.cp-open, html.cp-open body { overflow: hidden; }
.cp svg { width: 18px; height: 18px; flex: none; }
.cp-box { position: relative; display: flex; flex-direction: column; width: min(680px, 100%); height: min(940px, 100%); overflow: hidden; border-radius: 24px; background: var(--bg); border: 1px solid var(--rule); box-shadow: 0 30px 80px -24px rgba(20, 16, 12, 0.5); transform: translateY(10px); transition: transform 0.22s ease; }
.cp.open .cp-box { transform: none; }
@media (max-width: 700px) { .cp { padding: 0; } .cp-box { width: 100%; height: 100%; border-radius: 0; border: none; } }
@media (min-width: 561px) {
  html[data-app-size="md"] .cp-box { width: min(1000px, 94vw); height: min(94vh, 100%); }
  html[data-app-size="lg"] .cp { padding: 0; }
  html[data-app-size="lg"] .cp-box { width: 100%; height: 100%; border-radius: 0; border: none; }
}
.cp-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px 10px 18px; padding-top: max(12px, env(safe-area-inset-top)); background: var(--bg-raised); border-bottom: 1px solid var(--rule); }
.cp-titles { flex: 1; min-width: 0; }
.cp-kicker { font: 800 10.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.cp-title { font: italic 22px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-back { display: grid; place-items: center; width: 38px; height: 38px; margin-left: -6px; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.cp-back[hidden] { display: none; }
.cp-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px calc(36px + env(safe-area-inset-bottom)); }
.cp-body > * { max-width: 620px; margin-left: auto; margin-right: auto; } /* (every row the same width, in the middle: a row's own margin keeps its sides auto) */
.cp-sub { margin: 24px auto 10px; font: 800 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cp-note { font: 14px/1.55 var(--sans); color: var(--muted); margin: 6px auto 12px; }
.cp-wait { font: 14px var(--sans); color: var(--muted); }
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 10px 20px; border: none; border-radius: 999px; background: var(--gold); color: var(--on-gold, #1c1a17); font: 800 15px var(--sans); cursor: pointer; }
.cp-btn.is-soft { background: color-mix(in srgb, var(--ink) 7%, var(--bg-raised)); color: var(--ink); font-weight: 700; }
.cp-btn.is-done { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule); font-weight: 700; }
.cp-mini { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 700 13.5px var(--sans); cursor: pointer; }
.cp-mini:disabled { opacity: 0.35; cursor: default; }
.cp-toast { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 3; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font: 600 14px/1.4 var(--sans); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.cp-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* what are you reading? */
.cp-find label, .cp-tool label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 700 14px var(--sans); }
.cp-find label { font: italic 400 20px var(--serif); }
.cp-find-r { display: flex; gap: 8px; }
.cp-find-r input { flex: 1; min-width: 0; min-height: 52px; box-sizing: border-box; padding: 10px 16px; border: 1.5px solid var(--rule); border-radius: 16px; background: var(--bg-raised); color: var(--ink); font: 18px var(--sans); }
.cp-tool .cp-find-r input { min-height: 46px; font-size: 16px; }
.cp-find-r input:focus, .cp-note-in:focus { outline: none; border-color: var(--gold); }
.cp-sugs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cp-sugs button, .cp-chip { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; }
.cp-sugs:empty { display: none; }
.cp-wide { display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; margin: 12px auto 0; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg-raised); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cp-wide svg { width: 22px; height: 22px; color: var(--gold); }
.cp-wide span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-wide b { font: 700 15.5px var(--sans); }
.cp-wide small { font-size: 13px; color: var(--muted); }
.cp-wide.is-plan { border-color: color-mix(in srgb, var(--gold) 50%, var(--rule)); }
.cp-wide.is-soft { background: var(--bg); }
.cp-print { display: grid; gap: 12px; margin-top: 16px; }
.cp-sub-first { margin-top: 12px; }
.cp-prow.ui-row { --c: var(--gold); } /* (the rows' icons in gold, the app's own color) */
.cp-resume { display: flex; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; margin: 0 auto 16px; padding: 14px 16px; border: none; border-radius: 18px; background: color-mix(in srgb, var(--gold) 16%, var(--bg-raised)); color: var(--ink); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--gold) 50%, transparent); }
.cp-resume > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.cp-resume small { font: 800 10.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.cp-resume b { font: italic 19px var(--serif); }
.cp-resume em { font: 700 20px var(--sans); font-style: normal; font-variant-numeric: tabular-nums; }
.cp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.cp-dot.is-on { background: var(--gold); animation: cp-pulse 1.6s ease-in-out infinite; }
@keyframes cp-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent); } }
.cp-week { display: flex; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; margin-top: 22px; padding: 12px 16px; border: none; border-radius: 16px; background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); font: 14.5px var(--sans); text-align: left; cursor: pointer; }
.cp-week svg { color: var(--gold); }
.cp-week span { flex: 1; }
.cp-week em { font-style: normal; color: var(--gold); font-weight: 700; font-size: 13.5px; }
.cp-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.cp-books button { min-height: 44px; padding: 6px 8px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg-raised); color: var(--ink); font: 600 14px var(--sans); cursor: pointer; }
.cp-chs { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.cp-chs button { height: 52px; border: 1px solid var(--rule); border-radius: 12px; background: var(--bg-raised); color: var(--ink); font: 700 17px var(--sans); cursor: pointer; }
.cp-chs button.is-read { border-color: color-mix(in srgb, var(--gold) 55%, var(--rule)); background: color-mix(in srgb, var(--gold) 16%, var(--bg-raised)); }

/* reading: the timer */
.cp-step { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cp-timer { padding: 22px 16px 16px; border-radius: 24px; background: var(--bg-raised); border: 1px solid var(--rule); text-align: center; }
.cp-timer.is-on { border-color: color-mix(in srgb, var(--gold) 55%, var(--rule)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 10%, transparent); }
.cp-time { font: 300 64px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cp-timer.is-on .cp-time { color: var(--gold); }
.cp-time-l { margin: 6px 0 16px; font: italic 15px var(--serif); color: var(--muted); }
.cp-reset { display: block; margin: -8px auto 14px; padding: 2px 6px; border: none; background: none; color: var(--muted); font: 600 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } /* (the clock back to nothing: quiet, under its line) */
.cp-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cp-acts .cp-btn { flex: 1 1 150px; }
.cp-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.cp-opts label { display: inline-flex; align-items: center; gap: 6px; }
.cp-opts svg { width: 15px; height: 15px; }
.cp-opts select { min-height: 34px; padding: 4px 8px; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg); color: var(--ink); font: 16px var(--sans); }
.cp-sw input { width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }
.cp-tool { margin: 0 auto 14px; }
.cp-tool svg { color: var(--gold); }
.cp-xrefs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cp-xrefs .cp-note { flex-basis: 100%; margin: 0; }
.cp-note-in { display: block; width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 16px; background: var(--bg-raised); color: var(--ink); font: 16px/1.5 var(--sans); resize: vertical; }

/* what's here on it */
.cp-disc { display: grid; gap: 8px; }
.cp-g { border: 1px solid var(--rule); border-radius: 18px; background: var(--bg-raised); }
.cp-g summary { display: flex; align-items: center; gap: 12px; padding: 13px 14px; cursor: pointer; list-style: none; }
.cp-g summary::-webkit-details-marker { display: none; }
.cp-g summary i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold); }
.cp-g summary span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cp-g summary b { font: 700 15.5px var(--sans); }
.cp-g summary small { font-size: 12.5px; color: var(--muted); }
.cp-g summary em { flex: none; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); font: 700 12.5px var(--sans); font-style: normal; text-align: center; }
.cp-g-in { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 14px; }
.cp-chip:hover, .cp-sugs button:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--rule)); }
.cp-comm-v { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--bg-raised); border: 1px solid var(--rule); font: 15px/1.6 var(--serif); }
.cp-comm-v > b { display: block; margin-bottom: 4px; font: 800 12px var(--sans); letter-spacing: 0.06em; color: var(--gold); }

/* done */
.cp-done { padding: 30px 6px 10px; text-align: center; }
.cp-done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--on-gold, #1c1a17); }
.cp-done-ic svg { width: 32px; height: 32px; }
.cp-done h2 { margin: 14px 0 6px; font: italic 28px var(--serif); }
.cp-done p { margin: 0 0 16px; font: 15.5px/1.55 var(--sans); color: var(--muted); }
.cp-done blockquote { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--bg-raised); font: italic 16px/1.5 var(--serif); text-align: left; }

/* your time in the Word */
.cp-tot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cp-tot div { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 16px; background: var(--bg-raised); border: 1px solid var(--rule); text-align: center; }
.cp-tot b { font: 700 17px var(--sans); color: var(--gold); }
.cp-tot span { font-size: 12.5px; color: var(--muted); }
.cp-hist { position: relative; margin: 0 auto 8px; padding: 10px 44px 10px 14px; border-radius: 14px; background: var(--bg-raised); border: 1px solid var(--rule); }
.cp-hist > button:first-child { display: flex; align-items: baseline; gap: 10px; padding: 0; border: none; background: none; color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
.cp-hist b { font: italic 17px var(--serif); }
.cp-hist small { font-size: 13px; color: var(--muted); }
.cp-hist p { margin: 6px 0 0; font: 14px/1.5 var(--sans); color: var(--muted); }
.cp-hist-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: none; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.cp-hist-x svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .cp-dot.is-on { animation: none; } }
/* the timer, folded to a row (to start), opened to the whole of it */
.cp-tbox { border-radius: 20px; background: var(--bg-raised); border: 1px solid var(--rule); }
.cp-tbox.is-on { border-color: color-mix(in srgb, var(--gold) 55%, var(--rule)); }
.cp-tbox > summary { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; list-style: none; }
.cp-tbox > summary::-webkit-details-marker { display: none; }
.cp-tic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--gold); }
.cp-tsum { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cp-tsum b { font: 600 20px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.cp-tbox.is-on .cp-tsum b { color: var(--gold); }
.cp-tsum small { font-size: 12.5px; color: var(--muted); }
.cp-tmini { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: none; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, var(--bg)); color: var(--ink); cursor: pointer; }
.cp-tmini.is-go { background: var(--gold); color: var(--on-gold, #1c1a17); }
.cp-tchev { width: 9px; height: 9px; margin: 0 4px 0 2px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.15s ease; }
.cp-tbox[open] .cp-tchev { transform: rotate(-135deg); }
.cp-tbox[open] > summary { border-bottom: 1px solid var(--rule); }
.cp-tbox .cp-timer { border: none; border-radius: 0 0 20px 20px; box-shadow: none; }
.cp-tname { display: none; flex: 1; font: 700 15px var(--sans); }
.cp-tbox[open] .cp-tname { display: block; }
.cp-tbox[open] .cp-tsum, .cp-tbox[open] .cp-tmini { display: none; } /* (open: the card below says it all) */
/* their world (study/guide.css's), inside its group */
.cp-g .cp-world { margin: 0; padding: 0; border: none; background: none; }
.cp-g .cp-world .gst-h:first-child { margin-top: 4px; }
/* count up, or down */
.cp-mode { display: inline-flex; margin: 0 auto 10px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }
.cp-mode button { min-height: 32px; padding: 0 14px; border: none; border-radius: 999px; background: none; color: var(--muted); font: 700 13px var(--sans); cursor: pointer; }
.cp-mode button[aria-pressed="true"] { background: var(--bg-raised); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
/* the timer, when Beside My Bible is closed: a pill at the bottom left (the critique button is at the right) */
.cp-float { position: fixed; left: max(14px, env(safe-area-inset-left)); bottom: calc(var(--bnav-h, 0px) + 14px + env(safe-area-inset-bottom)); z-index: 57; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 100px); padding: 5px 5px 5px 6px; border-radius: 999px; background: var(--bg-raised); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); box-shadow: 0 12px 30px -12px rgba(20, 16, 12, 0.45); font-family: var(--sans); }
.cp-float[hidden] { display: none; }
.cp-f-open { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 4px 8px 4px 8px; border: none; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.cp-f-open span { display: flex; flex-direction: column; min-width: 0; }
.cp-f-open b { font: 700 13px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-f-open small { font: 600 13px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); }
.cp-float.is-on .cp-f-open small { color: var(--gold); }
.cp-f-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.cp-float.is-on .cp-f-dot { background: var(--gold); animation: cp-f-beat 2s ease-in-out infinite; }
.cp-float.is-up { border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 22%, transparent), 0 12px 30px -12px rgba(20, 16, 12, 0.45); }
.cp-f-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: none; border-radius: 50%; background: color-mix(in srgb, var(--ink) 7%, var(--bg)); color: var(--ink); cursor: pointer; }
.cp-float:not(.is-on) .cp-f-go { background: var(--gold); color: var(--on-gold, #1c1a17); }
.cp-f-go svg { width: 16px; height: 16px; }
@keyframes cp-f-beat { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .cp-float.is-on .cp-f-dot { animation: none; } }
@media print { .cp-float { display: none !important; } }
/* print for your study: what companion/print.js makes, two to a row */
.cp-ptiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 8px; }
.cp-ptile { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 13px; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg-raised); color: var(--ink); text-align: left; cursor: pointer; }
.cp-ptile b { font: 700 14.5px/1.25 var(--sans); }
.cp-ptile small { font: 12.5px/1.35 var(--sans); color: var(--muted); }
.cp-ptile:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--rule)); }
/* a passage: its arrows beside its name, in the head; its name, tapped, to change it */
.cp-hnav { flex: none; display: flex; gap: 6px; }
.cp-hnav[hidden] { display: none; }
.cp-hstep { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; }
.cp-hstep:disabled { opacity: 0.35; cursor: default; }
.cp-titles.is-pick { cursor: pointer; }
.cp-titles.is-pick .cp-title::after { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 0 4px 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); }
/* the four tabs: Read, Look up, Learn, Print; kept at the top as it scrolls */
.cp-tabbar { position: sticky; top: -16px; z-index: 3; margin-top: 10px; padding: 8px 0 10px; background: var(--bg); }
.cp-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 4px; border-radius: 14px; background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }
.cp-tab { min-height: 40px; padding: 0 4px; border: none; border-radius: 10px; background: none; color: var(--muted); font: 700 14px var(--sans); cursor: pointer; }
.cp-tab[aria-selected="true"] { background: var(--bg-raised); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.cp-pane[hidden] { display: none; }
.cp-pane > .cp-sub:first-child, .cp-pane > .cp-note:first-child { margin-top: 6px; }
.cp-pane > * + * { margin-top: 10px; }
.cp-pane label.cp-sub { display: block; }
.cp-big { width: 100%; }
.cp-go { flex: none; margin-left: auto; font: 400 22px/1 var(--sans); font-style: normal; color: var(--muted); }
/* Learn: what's here, as tiles; one opened, on its own */
.cp-ltiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cp-ltile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; padding: 13px; border: 1px solid var(--rule); border-radius: 18px; background: var(--bg-raised); color: var(--ink); text-align: left; cursor: pointer; }
.cp-ltile i { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 6px; border-radius: 12px; background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold); }
.cp-ltile b { font: 700 15px/1.25 var(--sans); }
.cp-ltile small { font: 12.5px/1.35 var(--sans); color: var(--muted); }
.cp-ltile:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--rule)); }
.cp-lback { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 8px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-raised); color: var(--ink); font: 700 13.5px var(--sans); cursor: pointer; }
.cp-ldet h3 { margin: 14px 0 2px; font: italic 600 22px/1.2 var(--serif); }
.cp-ldet .cp-note { margin: 0 0 12px; }
.cp-ldet .cp-g-in { padding: 0; }
.cp-ldet .cp-world { margin: 0; padding: 0; border: none; background: none; }
.cp-ldet .cp-world .gst-h:first-child { margin-top: 0; }
@media (max-width: 380px) { .cp-hstep { width: 34px; height: 34px; } .cp-tab { font-size: 13px; } }
/* what stood out: where it's kept */
.cp-note-s { margin-top: 6px !important; font-size: 12.5px; }
.cp-kept { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 4px auto 12px; font: 13.5px/1.45 var(--sans); color: var(--muted); }
.cp-kept svg { width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }
.cp-kept:empty { display: none; }
/* what this is for: said once, simply */
.cp-intro { position: relative; margin-bottom: 16px; padding: 16px 16px 14px; border-radius: 20px; background: color-mix(in srgb, var(--gold) 9%, var(--bg-raised)); border: 1px solid color-mix(in srgb, var(--gold) 30%, var(--rule)); }
.cp-intro > b { display: block; font: italic 600 19px/1.25 var(--serif); }
.cp-intro p { margin: 6px 0 10px; font: 14px/1.5 var(--sans); color: var(--muted); }
.cp-intro ul { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.cp-intro li { display: flex; align-items: flex-start; gap: 10px; font: 14px/1.4 var(--sans); }
.cp-intro li svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--gold); }
.cp-intro-x { min-height: 38px; padding: 0 18px; border: none; border-radius: 999px; background: var(--gold); color: var(--on-gold, #1c1a17); font: 800 14px var(--sans); cursor: pointer; }
.cp-what { display: block; margin: 18px auto 0; padding: 6px 10px; border: none; background: none; color: var(--muted); font: 600 13.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cp-kept-go { display: inline; padding: 0; border: none; background: none; color: var(--gold); font: 700 inherit var(--sans); font-size: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* the start: one card that says what to do (open your Bible, say where), then three small tiles, then how it works */
.cp-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp-hero { padding: 22px 18px 16px; border-radius: 22px; background: color-mix(in srgb, var(--gold) 9%, var(--bg-raised)); border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--rule)); }
.cp-hero.is-else { padding-top: 16px; background: var(--bg-raised); border-color: var(--rule); }
.cp-hero-k { display: flex; align-items: center; gap: 7px; font: 800 10.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.cp-hero-k svg { width: 15px; height: 15px; }
.cp-hero-t { margin: 8px 0 6px; font: italic 600 26px/1.15 var(--serif); color: var(--ink); }
.cp-hero.is-else .cp-hero-t { margin: 0 0 12px; font-size: 19px; }
.cp-hero-p { margin: 0 0 16px; font: 14.5px/1.5 var(--sans); color: var(--muted); }
.cp-quick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cp-quick { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 14px 8px; border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--rule)); border-radius: 14px; background: var(--bg-raised); color: var(--ink); text-align: left; cursor: pointer; }
.cp-quick small { font: 800 10px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.cp-quick b { font: 700 15px var(--sans); }
.cp-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; padding: 4px 0; border: none; background: none; color: var(--ink); font: 700 14px var(--sans); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 60%, transparent); text-underline-offset: 4px; cursor: pointer; }
.cp-also { display: flex; gap: 8px; margin-top: 16px; }
.cp-also > button { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 12px; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg-raised); color: var(--ink); text-align: center; cursor: pointer; }
.cp-also svg { width: 22px; height: 22px; margin-bottom: 2px; color: var(--gold); }
.cp-also b { font: 700 14px var(--sans); }
.cp-also small { font: 12px/1.3 var(--sans); color: var(--muted); }
.cp-how { margin: 22px auto 0; }
.cp-how summary { display: block; width: max-content; max-width: 100%; margin: 0 auto; padding: 6px 10px; list-style: none; color: var(--muted); font: 600 13.5px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cp-how summary::-webkit-details-marker { display: none; }
.cp-how ol { margin: 10px 0 0; padding: 14px 16px 14px 34px; border-radius: 16px; background: var(--bg-raised); border: 1px solid var(--rule); font: 14px/1.5 var(--sans); color: var(--muted); }
.cp-how li + li { margin-top: 6px; }
.cp-how li b { color: var(--ink); }
/* (What it teaches: after Foundations' cards, From Text to Truth's truths, each where it sits in the whole) */
.cp-truths { margin-top: 14px; }
.cp-truths .cp-note { margin: 0 0 8px; }
