/* The platform's own pages: front page, sign-up, owner console. */
:root {
  --p-bg: #F7F4EE; --p-surface: #FFFFFF; --p-ink: #14202B; --p-muted: #56616B; --p-line: #E3DDD2; --p-soft: #EFEAE0;
  --p-accent: #B4741B; --p-accent-ink: #FFFFFF; --p-deep: #14202B; --p-deep-ink: #F4EFE6;
  --p-ok: #1E6B45; --p-ok-bg: #E2F3EA; --p-warn: #7A4A0C; --p-warn-bg: #FBEFD9; --p-bad: #B42318; --p-bad-bg: #FDECEA;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --p-bg: #0F151B; --p-surface: #161E26; --p-ink: #ECE7DE; --p-muted: #A9B3BB; --p-line: #26313B; --p-soft: #1B242D;
    --p-accent: #E0A04A; --p-accent-ink: #1A1206; --p-deep: #0A0F14; --p-deep-ink: #ECE7DE;
    --p-ok: #7DD3A8; --p-ok-bg: #12301F; --p-warn: #F4C27A; --p-warn-bg: #3A2A0F; --p-bad: #FF9B90; --p-bad-bg: #3A1512;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body.platform { margin: 0; background: var(--p-bg); color: var(--p-ink); font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.platform a { color: var(--p-accent); }
.platform :focus-visible { outline: 3px solid var(--p-accent); outline-offset: 2px; }
.platform h1, .platform h2, .platform h3 { font-family: "Spectral", Georgia, serif; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .4em; }
.p-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.p-narrow { max-width: 560px; margin: 0 auto; padding: 32px 16px 64px; }

/* header / footer */
.p-top { display: flex; align-items: center; gap: 16px; padding-block: 18px; }
.p-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--p-ink) !important; text-decoration: none; font-size: 17px; }
.p-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--p-accent); color: var(--p-accent-ink); display: grid; place-items: center; font-family: "Spectral", serif; font-size: 19px; }
.p-top .spacer { flex: 1; }
.p-top nav a { color: var(--p-ink); text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 18px; }
.p-top nav a[lang] { font-weight: 500; color: var(--p-muted); }
.p-foot { border-top: 1px solid var(--p-line); padding: 28px 0 40px; color: var(--p-muted); font-size: 14px; }

/* buttons */
.p-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--p-line); background: var(--p-surface); color: var(--p-ink) !important; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.p-btn.primary { background: var(--p-accent); border-color: var(--p-accent); color: var(--p-accent-ink) !important; }
.p-btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 9px; }
.p-btn.danger { color: var(--p-bad) !important; }
.p-btn.block { width: 100%; }

/* front page */
.p-hero { padding-block: 56px 64px; display: grid; gap: 36px; }
.p-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); max-width: 14ch; }
.p-hero .lede { font-size: 1.2rem; color: var(--p-muted); max-width: 36rem; }
.p-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.p-hero-card { background: var(--p-deep); color: var(--p-deep-ink); border-radius: 22px; padding: 28px; align-self: start; }
.p-hero-card h2 { font-size: 1.35rem; }
.p-hero-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.p-hero-card li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.p-hero-card li::before { content: "✓"; color: var(--p-accent); font-weight: 800; }
.p-section { padding: 56px 0; border-top: 1px solid var(--p-line); }
.p-section > h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); max-width: 22ch; }
.p-grid { display: grid; gap: 16px; margin-top: 28px; }
.p-tile { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 16px; padding: 22px; }
.p-tile h3 { font-size: 1.2rem; }
.p-tile p { margin: 0; color: var(--p-muted); }
.p-quote { font-family: "Spectral", serif; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.4; max-width: 40rem; }
@media (min-width: 820px) {
  .p-hero { grid-template-columns: 1.3fr 1fr; align-items: center; padding-block: 80px 88px; }
  .p-grid.three { grid-template-columns: repeat(3, 1fr); }
  .p-grid.two { grid-template-columns: repeat(2, 1fr); }
}

/* forms */
.p-card { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 18px; padding: 24px; }
.p-card + .p-card { margin-top: 16px; }
.platform .field { margin-bottom: 16px; }
.platform label, .platform .label { display: block; font-weight: 650; font-size: 15px; margin-bottom: 6px; }
.platform input[type=text], .platform input[type=email], .platform input[type=password], .platform input[type=search], .platform select, .platform textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-bg); color: var(--p-ink); font: inherit; }
.platform .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.platform .check input { margin-top: 5px; width: 18px; height: 18px; }
.platform .help { color: var(--p-muted); font-size: 14px; margin-top: 4px; }
.platform .errorlist { list-style: none; margin: 6px 0 0; padding: 0; color: var(--p-bad); font-size: 14px; font-weight: 600; }
.platform .muted { color: var(--p-muted); }
.platform .small { font-size: 14px; }
.p-slug { display: flex; align-items: stretch; }
.p-slug input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.p-slug span { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--p-line); border-left: 0; border-radius: 0 10px 10px 0; background: var(--p-soft); color: var(--p-muted); font-size: 15px; white-space: nowrap; }
.form-two { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .form-two { grid-template-columns: 1fr 1fr; } }
.msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; background: var(--p-soft); font-weight: 600; }
.msg-success { background: var(--p-ok-bg); color: var(--p-ok); }
.msg-error { background: var(--p-bad-bg); color: var(--p-bad); }
.messages { padding: 0; }

/* console */
.c-top { background: var(--p-deep); color: var(--p-deep-ink); }
.c-top .p-brand { color: var(--p-deep-ink) !important; }
.c-top nav a { color: var(--p-deep-ink); }
.c-top form { margin: 0 0 0 18px; }
.c-top button { background: none; border: 0; color: var(--p-deep-ink); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.c-main { padding-block: 28px 64px; }
.c-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.c-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.c-stat { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--p-ink) !important; }
.c-stat span { display: block; font-size: 13px; color: var(--p-muted); font-weight: 600; }
.c-stat strong { font-size: 1.6rem; }
.c-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.c-filter input { flex: 1 1 220px; }
.c-table-wrap { overflow-x: auto; background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 14px; }
.c-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.c-table th, .c-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--p-line); white-space: nowrap; }
.c-table th { font-size: 13px; color: var(--p-muted); font-weight: 650; }
.c-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; background: var(--p-soft); color: var(--p-muted); }
.pill.trial { background: var(--p-warn-bg); color: var(--p-warn); }
.pill.active { background: var(--p-ok-bg); color: var(--p-ok); }
.pill.past_due, .pill.suspended, .pill.cancelled { background: var(--p-bad-bg); color: var(--p-bad); }
.c-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.c-actions form { margin: 0; }
.c-cols { display: grid; gap: 16px; }
@media (min-width: 900px) { .c-cols { grid-template-columns: 1.4fr 1fr; } }
.c-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.c-dl dt { color: var(--p-muted); font-weight: 600; }
.c-dl dd { margin: 0; overflow-wrap: anywhere; }
.qr svg { width: 180px; height: 180px; background: #fff; padding: 8px; border-radius: 8px; }

/* error log and status page */
.c-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--p-bad); color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 20px; }
.c-trace { background: var(--p-soft); border: 1px solid var(--p-line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.5; white-space: pre; max-height: 60vh; }
.c-table td.wrap { white-space: normal; min-width: 260px; overflow-wrap: anywhere; }
.s-word.ok { color: var(--p-ok); } .s-word.delayed { color: var(--p-warn); } .s-word.down { color: var(--p-bad); }
.s-banner { border-radius: 16px; padding: 20px 22px; margin: 8px 0 24px; border: 1px solid var(--p-line); }
.s-banner h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 4px; }
.s-banner p { margin: 0; }
.s-banner.ok { background: var(--p-ok-bg); color: var(--p-ok); border-color: transparent; }
.s-banner.delayed { background: var(--p-warn-bg); color: var(--p-warn); border-color: transparent; }
.s-banner.down { background: var(--p-bad-bg); color: var(--p-bad); border-color: transparent; }
.s-list { list-style: none; margin: 0 0 28px; padding: 0; background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 14px; }
.s-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--p-line); }
.s-list li:last-child { border-bottom: 0; }
.s-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.s-state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.s-state.ok { color: var(--p-ok); } .s-state.delayed { color: var(--p-warn); } .s-state.down { color: var(--p-bad); }
.s-notice { background: var(--p-surface); border: 1px solid var(--p-line); border-left: 4px solid var(--p-warn); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.s-notice.outage { border-left-color: var(--p-bad); }
.s-notice.maintenance { border-left-color: var(--p-accent); }
.s-notice h3 { font-size: 1.1rem; margin: 0 0 4px; }
.s-notice p { margin: 4px 0 0; white-space: pre-line; }
.s-meta { font-size: 14px; color: var(--p-muted); }
.c-top .p-top { flex-wrap: wrap; row-gap: 8px; }
.c-top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.c-top nav a { margin-left: 0; }
.s-wrap { max-width: 760px; }
.s-foot { margin: 28px 0 48px; }
.s-actions { margin-top: 8px; }
.platform .c-section { margin-top: 32px; }
.platform .s-wrap h2 { margin-top: 32px; }
.p-top nav a { white-space: nowrap; }
.c-top form { margin-left: 0; }
@media (min-width: 700px) { .c-top form { margin-left: 18px; } }
.c-break { overflow-wrap: anywhere; }
/* live demo page */
.lede-sm { font-size: 1.1rem; color: var(--p-muted); }
.p-checks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; }
.p-checks li { padding-left: 28px; position: relative; }
.p-checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--p-ok); font-weight: 800; }
.p-alert { background: var(--p-bad-bg); color: var(--p-bad); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.demo-start .small { margin: 12px 0 0; }
.platform .m0 { margin: 0; padding-left: 20px; }

/* Console: overview chart, lists, billing */
.c-chart { display: block; width: 100%; height: auto; max-height: 200px; margin: 4px 0 6px; }
.c-chart-bar { fill: var(--p-accent); }
.c-chart-base { stroke: var(--p-line); stroke-width: 1; }
.c-chart-n { fill: var(--p-ink); font-size: 12px; font-weight: 700; }
.c-chart-x { fill: var(--p-muted); font-size: 11px; }
.c-list { list-style: none; margin: 0; padding: 0; }
.c-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--p-line); }
.c-list li:last-child { border-bottom: 0; }
.c-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.c-tabs a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--p-line); text-decoration: none; color: var(--p-ink); font-size: 14px; font-weight: 600; }
.c-tabs a[aria-current="page"] { background: var(--p-ink); border-color: var(--p-ink); color: var(--p-surface); }
.c-table tr.bad td { background: var(--p-bad-bg); }
.c-note { border-left: 4px solid var(--p-warn); background: var(--p-warn-bg); padding: 12px 14px; border-radius: 10px; margin: 0 0 16px; }
.c-preview { white-space: pre-wrap; font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--p-soft); border-radius: 12px; padding: 16px; margin: 0; overflow-wrap: anywhere; }
.c-checks ul, .c-checks > div > div { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.c-section-gap { margin-top: 20px; }
.c-cols > * { min-width: 0; }  /* wide tables scroll inside their card instead of widening the page */

/* Terms of Service and Privacy Policy (/terms, /privacy) */
.legal { padding-top: 24px; padding-bottom: 56px; }
.legal-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 4px; }
.legal-layout { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 240px minmax(0, 1fr); } .legal-toc { position: sticky; top: 16px; align-self: start; max-height: calc(100vh - 32px); overflow: auto; } }
.legal-toc { font-size: 14px; background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 14px; padding: 14px 16px; }
.legal-toc-title { font-weight: 700; margin: 0 0 6px; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.legal-toc a { color: var(--p-ink); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-toc .toc-part { list-style: none; margin: 8px 0 0 -20px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p-muted); }
.legal-body { max-width: 46rem; line-height: 1.65; overflow-wrap: anywhere; }
.legal-body h2 { font-size: 1.35rem; margin: 2.2em 0 .6em; scroll-margin-top: 16px; }
.legal-body h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal-body li { margin: .35em 0; }
.legal-lead { font-size: 1.08rem; }
.legal-callout { background: var(--p-warn-bg); color: var(--p-ink); border-left: 4px solid var(--p-warn); border-radius: 10px; padding: 12px 14px; }
.legal-caps { font-size: .92rem; letter-spacing: .01em; }
.legal-tag { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: var(--p-soft); color: var(--p-muted); font-weight: 700; font-size: 11px; line-height: 1.6; letter-spacing: .05em; text-transform: uppercase; }
.legal-table { overflow-x: auto; margin: 1em 0; border: 1px solid var(--p-line); border-radius: 12px; background: var(--p-surface); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--p-line); }
.legal-table th { font-size: .85rem; color: var(--p-muted); }
.legal-table tr:last-child td { border-bottom: 0; }
.p-foot a { color: inherit; }
/* ---------- Console: sidebar layout ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body:has(.cx) { font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 15px; background: var(--p-bg); }
.cx { display: flex; flex-wrap: wrap; min-height: 100vh; }
.cx-side { flex: 1 1 248px; max-width: 100%; box-sizing: border-box; background: #14202B; color: #C9D1D8; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 900px) { .cx-side { flex: 0 0 248px; min-height: 100vh; position: sticky; top: 0; max-height: 100vh; overflow-y: auto; } }
.cx-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 14px; color: #fff !important; text-decoration: none; line-height: 1.2; }
.cx-brand strong { display: block; font-weight: 600; }
.cx-brand small { display: block; font-size: 12px; color: #9AA6B0; }
.cx-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #E0A04A; color: #14202B; font-weight: 700; flex-shrink: 0; }
.cx-jump { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 4px 12px; padding: 0 10px; border: 1px solid #2B3A47; border-radius: 8px; background: #1B2935; color: #9AA6B0; font: 400 14px "IBM Plex Sans", sans-serif; cursor: pointer; text-align: left; }
.cx-jump span { flex: 1; }
.cx-jump:hover { border-color: #3A4A58; color: #fff; }
.cx kbd, .cx-dialog kbd { font: 500 11px "IBM Plex Mono", monospace; padding: 2px 6px; border-radius: 4px; background: #24323F; color: #C9D1D8; }
.cx-dialog kbd { background: var(--p-soft); color: var(--p-muted); }
.cx-nav { display: flex; flex-direction: column; gap: 2px; }
.cx-nav a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 8px; color: #C9D1D8; text-decoration: none; font-size: 14px; }
.cx-nav a > span:first-child { flex: 1; }
.cx-nav a:hover { background: #1B2935; color: #fff; }
.cx-nav a[aria-current="page"] { background: #24323F; color: #fff; font-weight: 500; }
.cx-group { margin: 16px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8794A0; }
.cx-badge { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 10px; background: #2B3A47; color: #fff; }
.cx-badge.warm { background: #E0A04A; color: #14202B; }
.cx-badge.bad { background: #B42318; }
.cx-me { margin-top: auto; padding: 14px 6px 4px; border-top: 1px solid #24323F; display: flex; align-items: center; gap: 10px; }
.cx-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 16px; background: #2B3A47; color: #fff; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.cx-me-text { flex: 1; min-width: 0; line-height: 1.25; }
.cx-me-text strong { display: block; color: #fff; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-me-text small { display: block; font-size: 12px; color: #E0A04A; }
.cx-me form { margin: 0; }
.cx-signout { background: none; border: 0; color: #9AA6B0; font: 500 13px "IBM Plex Sans", sans-serif; cursor: pointer; padding: 8px 4px; }
.cx-signout:hover { color: #fff; }
.cx-body { flex: 999 1 560px; min-width: 0; }
.cx-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 32px; border-bottom: 1px solid var(--p-line); background: var(--p-surface); min-height: 38px; }
.cx-top form { margin: 0; }
.cx-crumb { flex: 1; color: var(--p-muted); }
.cx-main { max-width: 1180px; padding: 24px 32px 56px; }
@media (max-width: 700px) { .cx-top, .cx-main { padding-inline: 16px; } }
.cx-main h1 { font-size: 26px; font-weight: 600; margin: 0; }
.cx-main h2 { font-size: 16px; font-weight: 600; }
.cx .p-card { border-radius: 12px; padding: 18px 20px; border-color: var(--p-line); }
.cx .p-card h2:first-child { margin-top: 0; }
.cx .c-stat { border-radius: 12px; border-color: var(--p-line); }
.cx .c-table-wrap { border-radius: 12px; border-color: var(--p-line); }
.cx .c-table { font-size: 14px; }
.cx .p-btn { border-radius: 8px; font-weight: 600; }
.cx .p-btn.primary { background: #8F5A12; border-color: #8F5A12; color: #fff !important; }
.cx .p-btn.warm { background: #E0A04A; border-color: #E0A04A; color: #14202B !important; }
.cx .p-btn.ghost-dark { background: transparent; border-color: #3A4A58; color: #fff !important; }
.cx-body a:not(.p-btn) { color: var(--p-link, #8F5A12); }
.cx .c-head { margin-bottom: 20px; }
.cx .c-head p { margin: 4px 0 0; }
.cx-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 14px; }
.cx-kpi { background: var(--p-surface); border: 1px solid var(--p-line); border-radius: 12px; padding: 16px 18px; color: var(--p-ink) !important; text-decoration: none; display: block; }
.cx-kpi span { display: block; font-size: 13px; color: var(--p-muted); }
.cx-kpi strong { display: block; font-size: 28px; font-weight: 600; margin-top: 4px; }
.cx-kpi small { display: block; font-size: 13px; color: var(--p-muted); margin-top: 2px; }
.cx-kpi small.up { color: var(--p-ok); }
.cx-support { background: #14202B; color: #E6EBEF; border-radius: 12px; padding: 18px; }
.cx-support h2 { color: #fff; margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.cx-support p { color: #B9C3CB; font-size: 14px; line-height: 1.5; margin: 8px 0 14px; }
.cx-support .c-actions { gap: 8px; }
.cx-churchhead { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.cx-churchhead > div:first-child { flex: 1 1 380px; min-width: 0; }
.cx-churchhead > .cx-support { flex: 0 1 420px; }
.cx-mono { font: 500 13px "IBM Plex Mono", ui-monospace, monospace; overflow-wrap: anywhere; }
.cx-split { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.cx-split > :first-child { flex: 999 1 560px; min-width: 0; }
.cx-split > :last-child { flex: 1 1 320px; min-width: 0; }
.cx-perm { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--p-line); }
.cx-perm:first-of-type { border-top: 0; }
.cx-perm input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: #8F5A12; }
.cx-perm label { font-weight: 600; }
.cx-perm p { margin: 2px 0 0; color: var(--p-muted); font-size: 14px; }
.cx-yes { color: var(--p-ok); font-weight: 600; }
.cx-no { color: var(--p-muted); }
.cx-snippet { width: 100%; box-sizing: border-box; min-height: 180px; font: 500 13px/1.5 "IBM Plex Mono", monospace; padding: 12px; border: 1px solid var(--p-line); border-radius: 8px; background: var(--p-soft); color: var(--p-ink); }
.cx-linkbox { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 8px; background: var(--p-soft); }
.cx-linkbox .cx-mono { flex: 1 1 240px; }
.cx-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px; border-radius: 12px; background: #14202B; color: #fff; margin-bottom: 14px; }
.cx-hero > div { flex: 1 1 320px; min-width: 0; }
.cx-hero h2 { margin: 0; font-size: 13px; font-weight: 500; color: #B9C3CB; }
.cx-hero .cx-mono { font-size: 18px; color: #fff; margin: 4px 0 0; }
.cx-dialog { width: min(640px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 60px rgba(10,15,20,.35); margin-top: 12vh; font-family: "IBM Plex Sans", system-ui, sans-serif; color: var(--p-ink); background: var(--p-surface); }
.cx-dialog::backdrop { background: rgba(10,15,20,.55); }
.cx-jump-head { display: flex; align-items: center; gap: 10px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--p-line); color: var(--p-muted); }
.cx-jump-head input { flex: 1; height: 56px; border: 0; outline: none; font: 400 17px "IBM Plex Sans", sans-serif; color: var(--p-ink); background: transparent; min-width: 0; box-shadow: none; padding: 0; }
.cx-esc { font: 500 11px "IBM Plex Mono", monospace; padding: 4px 8px; border-radius: 4px; background: var(--p-soft); color: var(--p-muted); border: 0; cursor: pointer; }
.cx-jump-results { max-height: 50vh; overflow-y: auto; padding: 8px; }
.cx-jump-hint { margin: 10px; color: var(--p-muted); }
.cx-jump-list { list-style: none; margin: 0; padding: 0; }
.cx-jump-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; }
.cx-jump-item.active { background: var(--p-soft); }
.cx-jump-item form { margin: 0; }
.cx-jump-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #14202B; color: #fff; font-weight: 600; flex-shrink: 0; }
.cx-jump-text { flex: 1 1 200px; min-width: 0; line-height: 1.3; }
.cx-jump-text strong { display: block; font-weight: 600; }
.cx-jump-text small { display: block; font-size: 13px; color: var(--p-muted); overflow-wrap: anywhere; }
.cx-jump-foot { display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--p-line); background: var(--p-soft); font-size: 12px; color: var(--p-muted); border-radius: 0 0 14px 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --p-link: #E0A04A; } }
.cx h1, .cx h2, .cx h3, .cx-dialog h2 { font-family: inherit; }
.platform .cx-dialog .cx-jump-head input[type=search] { border: 0; background: transparent; box-shadow: none; border-radius: 0; min-height: 56px; padding: 0; outline: none; }
.cx-jump { white-space: nowrap; font-size: 13px; }
.cx-nav a { min-height: 34px; }
.cx-group { margin-top: 12px; }
.platform input[type=date], .platform input[type=number] { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--p-line); background: var(--p-bg); color: var(--p-ink); font: inherit; }
.cx .c-actions input, .cx .c-actions select, .cx .c-filter select { width: auto; min-height: 36px; padding: 6px 10px; border-radius: 8px; }
.cx-body .c-tabs a { color: var(--p-ink); text-decoration: none; }
.cx-body .c-tabs a[aria-current="page"] { color: var(--p-surface); }
@media (max-width: 899px) {
  .cx-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .cx-nav a { background: #1B2935; }
  .cx-group { display: none; }
  .cx-me { margin-top: 10px; }
}
.p-plans { margin-top: 18px; }
.p-plan { display: flex; flex-direction: column; gap: 8px; }
.p-plan h3 { margin: 0; }
.p-plan-price { margin: 0; }
.p-plan-price strong { font-size: 1.8rem; }
.p-plan ul { margin: 0; padding-left: 18px; color: var(--p-muted); flex: 1; }
.p-plan .p-btn { margin-top: 8px; }
