/* REconnect — brand: Burgundy #6B1E2E, Gold #C9A96E, Blush #F2D4CB, Cream #FDFAF7 */
:root {
    --rc-burgundy: #6B1E2E;
    --rc-burgundy-dark: #521522;
    --rc-gold: #C9A96E;
    --rc-blush: #F2D4CB;
    --rc-cream: #FDFAF7;
    --rc-ink: #2B2023;
    --rc-muted: #6E5F62;
    --rc-line: #E8DCD6;
    --rc-heading: 'Cormorant Garamond', Georgia, serif;
    --rc-body: Georgia, 'Times New Roman', serif;
}

/* ---------- shared ---------- */
.rc-page {
    background: var(--rc-cream);
    color: var(--rc-ink);
    font-family: var(--rc-body);
    font-size: 20px;
    line-height: 1.7;
}
.rc-page strong, .rc-page b { font-weight: 700; }
.rc-page h1, .rc-page h2, .rc-page h3, .rc-page h4 {
    font-family: var(--rc-heading);
    color: var(--rc-burgundy);
    font-weight: 600;
    line-height: 1.2;
}
.rc-page h1 { font-size: 2.6em; }
.rc-page h2 { font-size: 2em; }
.rc-page h3 { font-size: 1.55em; }
.rc-page a { color: var(--rc-burgundy); }
.rc-page p { margin-bottom: 1em; }
.rc-container { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.rc-muted { color: var(--rc-muted); }

.rc-btn {
    display: inline-block;
    background: var(--rc-burgundy);
    color: var(--rc-cream) !important;
    font-family: var(--rc-body);
    font-size: 1em;
    padding: 0.7em 1.6em;
    border-radius: 40px;
    border: 2px solid var(--rc-burgundy);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.rc-btn:hover, .rc-btn:focus { background: var(--rc-burgundy-dark); border-color: var(--rc-burgundy-dark); }
.rc-btn--gold { background: var(--rc-gold); border-color: var(--rc-gold); color: var(--rc-ink) !important; }
.rc-btn--gold:hover { background: #b8955a; border-color: #b8955a; }
.rc-btn--outline { background: transparent; color: var(--rc-burgundy) !important; }
.rc-btn--outline:hover { background: var(--rc-burgundy); color: var(--rc-cream) !important; }
.rc-btn:focus-visible { outline: 3px solid var(--rc-gold); outline-offset: 3px; }

.rc-quote {
    background: var(--rc-blush);
    border-left: 4px solid var(--rc-burgundy);
    padding: 0.9em 1.3em;
    font-style: italic;
    margin: 1.4em 0;
}

/* ---------- word mark ---------- */
.rc-wordmark { display: inline-block; text-align: center; line-height: 1; text-decoration: none !important; }
.rc-wordmark img { max-height: 90px; width: auto; }
.rc-wordmark__main { font-family: var(--rc-heading); font-size: 2.4em; color: var(--rc-burgundy); }
.rc-wordmark__re { color: var(--rc-gold); font-weight: 700; letter-spacing: 0.02em; }
.rc-wordmark__connect { font-style: italic; }
.rc-wordmark__sub { display: block; font-family: var(--rc-body); font-size: 0.75em; letter-spacing: 0.35em; color: var(--rc-gold); margin-top: 0.4em; }
.rc-wordmark--light .rc-wordmark__main { color: var(--rc-cream); }

/* ---------- private area chrome (sits under the site header) ---------- */
.rc-memberbar { background: var(--rc-burgundy); color: var(--rc-cream); padding: 14px 0; font-family: var(--rc-body); font-size: 20px; }
/* Sticks just below the site's fixed nav; --rc-nav-offset is set by the layout script. */
body.rc-private .rc-memberbar { position: sticky; top: var(--rc-nav-offset, 0px); z-index: 998; transition: padding .3s; }
body.rc-private .rc-memberbar.is-stuck { padding: 8px 0; box-shadow: 0 2px 5px rgba(0, 0, 0, .25); }
body.rc-private .rc-memberbar.is-stuck .rc-wordmark__main { font-size: 1.35em; }
body.rc-private .rc-memberbar.is-stuck .rc-wordmark__sub { display: none; }
.rc-memberbar .rc-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1100px; }
.rc-memberbar a { text-decoration: none; }
.rc-memberbar .rc-wordmark__main { font-size: 1.7em; }
.rc-memberbar .rc-wordmark img { max-height: 60px; }
.rc-memberbar nav a { color: var(--rc-cream); margin-left: 22px; font-size: 0.9em; }
.rc-memberbar nav a:hover { color: var(--rc-gold); }
.rc-copyright { text-align: center; font-size: 0.75em; color: var(--rc-muted); margin: 32px 0 0; padding: 0 20px 28px; }
.rc-main { padding: 48px 0 64px; min-height: 60vh; }
.rc-flash { background: var(--rc-blush); border-left: 4px solid var(--rc-burgundy); padding: 12px 18px; margin-bottom: 28px; }
.rc-flash--error { background: #F8E1E1; border-color: #A32A2A; }

/* name watermark */
.rc-watermark {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background-repeat: repeat;
    opacity: 0.035;
}

/* copy deterrents (inputs stay selectable) */
.rc-protect { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.rc-protect input, .rc-protect textarea, .rc-protect [contenteditable] { -webkit-user-select: text; user-select: text; }
.rc-print-notice { display: none; }
@media print {
    body.rc-private > *:not(.rc-print-notice) { display: none !important; }
    .rc-print-notice { display: block !important; font-family: Georgia, serif; font-size: 16pt; padding: 2cm; text-align: center; }
}

/* ---------- dashboard ---------- */
.rc-journey { list-style: none; padding: 0; margin: 32px 0; }
.rc-journey li { margin-bottom: 14px; }
.rc-journey a, .rc-journey .rc-journey__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    text-decoration: none;
    color: var(--rc-ink);
}
.rc-journey a:hover { border-color: var(--rc-gold); box-shadow: 0 4px 16px rgba(107, 30, 46, 0.08); }
.rc-journey__num {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--rc-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--rc-heading);
    font-size: 1.5em;
    color: var(--rc-burgundy);
}
.rc-journey__title { flex: 1; font-size: 1.05em; }
.rc-journey__state { display: block; font-size: 0.8em; color: var(--rc-muted); }
.rc-journey .is-complete .rc-journey__num { background: var(--rc-gold); color: #fff; }
.rc-journey .is-current { border-color: var(--rc-burgundy); border-width: 2px; }
.rc-journey .is-locked, .rc-journey .is-held { opacity: 0.55; background: transparent; }
.rc-journey .is-unplanned { opacity: 0.4; background: transparent; border-style: dashed; }

/* ---------- week page ---------- */
.rc-week-eyebrow { font-size: 0.8em; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rc-gold); margin-bottom: 0.2em; }
.rc-media { margin: 28px 0; }
.rc-media iframe, .rc-media video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.rc-media audio { width: 100%; }
.rc-card { background: #fff; border: 1px solid var(--rc-line); border-radius: 14px; padding: 28px; margin: 32px 0; }
.rc-archetype { background: #fff; border-top: 5px solid var(--rc-gold); }
.rc-archetype__name { font-size: 2.2em; margin-bottom: 0.1em; }
.rc-archetype__tagline { font-style: italic; color: var(--rc-burgundy); font-size: 1.1em; }
.rc-callout { background: var(--rc-burgundy); color: var(--rc-cream); border-radius: 14px; padding: 28px; text-align: center; margin: 36px 0; }
.rc-callout h3 { color: var(--rc-cream); }
.rc-save-status { font-size: 0.8em; color: var(--rc-muted); min-height: 1.4em; text-align: right; }
.rc-week-nav { display: flex; justify-content: center; margin: 0 auto; padding: 0 20px 8px; gap: 12px; flex-wrap: wrap; }
.rc-placeholder, .rc-archetype__email { border: 2px dashed var(--rc-gold); padding: 16px 20px; border-radius: 10px; color: var(--rc-muted); font-style: italic; }

/* SurveyJS sizing for older eyes; the card already provides padding */
/* A few px of side room so the 2px focus ring is not clipped by SurveyJS's overflow-hidden scroller. */
.rc-page .sd-body, .rc-page .sd-body.sd-body--static { padding-left: 4px !important; padding-right: 4px !important; max-width: none; }
.rc-page .sd-navigation__complete-btn { white-space: normal; max-width: 100%; }
.rc-page .sd-root-modern { --sjs-font-size: 20px; --sjs-font-family: Georgia, serif; background: transparent; }
.rc-page .sd-title, .rc-page .sd-question__title { font-family: var(--rc-body); }
/* Unticked checkboxes, radios and rating buttons: SurveyJS only gives them a faint shadow; add a clear outline.
   Focused / checked / selected states keep SurveyJS's own styling. */
.rc-page .sd-item:not(.sd-item--checked):not(.sd-item--readonly) .sd-item__control:not(:focus) + .sd-item__decorator {
    box-shadow: inset 0 0 0 1.5px #8F7B80;
    background-color: #fff;
}
.rc-page .sd-rating__item:not(.sd-rating__item--selected):not(:focus-within) {
    box-shadow: inset 0 0 0 1.5px #8F7B80;
}

/* ---------- login ---------- */
.rc-login { max-width: 460px; margin: 0 auto; padding: 60px 20px; }
.rc-login .rc-card { padding: 36px; }
.rc-field { margin-bottom: 20px; }
.rc-field label { display: block; margin-bottom: 6px; font-size: 0.9em; }
.rc-field input {
    width: 100%;
    font-size: 1em;
    font-family: var(--rc-body);
    padding: 12px 14px;
    border: 1px solid #CDBDB7;
    border-radius: 8px;
    background: #fff;
}
.rc-field input:focus { outline: none; border-color: var(--rc-burgundy); box-shadow: 0 0 0 3px rgba(107, 30, 46, 0.15); }

/* ---------- public page ---------- */
.rc-hero { background: var(--rc-burgundy); color: var(--rc-cream); text-align: center; padding: 80px 20px 70px; }
.rc-hero .rc-wordmark__main { font-size: 4em; }
.rc-hero .rc-wordmark__sub { font-size: 0.9em; }
.rc-section { padding: 64px 0; }
.rc-section--blush { background: var(--rc-blush); }
.rc-lead { font-size: 1.25em; font-weight: bold; color: var(--rc-burgundy); }
.rc-how { list-style: none; padding: 0; }
.rc-how li { padding-left: 1.6em; position: relative; margin-bottom: 1em; }
.rc-how li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.7em; height: 0.7em; border: 2px solid var(--rc-gold); border-radius: 50%; }
.rc-promise { font-family: var(--rc-heading); font-size: 1.6em; font-style: italic; color: var(--rc-burgundy); line-height: 1.5; }
.rc-price { font-family: var(--rc-heading); font-size: 2.6em; color: var(--rc-burgundy); margin: 0; }
.rc-wa-btn { font-size: 1.1em; padding: 0.85em 2em; }
.rc-wa-btn i { margin-right: 0.5em; }

@media (max-width: 640px) {
    .rc-page { font-size: 18px; }
    .rc-page h1 { font-size: 2.1em; }
    .rc-hero .rc-wordmark__main { font-size: 3em; }
    .rc-memberbar nav a { margin-left: 0; margin-right: 18px; }
    .rc-memberbar { font-size: 18px; }
    .rc-card, .rc-callout { padding: 20px; }
}

/* public page: larger, centred text to match the rest of the site */
.rc-public { font-size: 22px; text-align: center; }
.rc-public p, .rc-public li { font-size: 1em; }
.rc-public .rc-lead { font-size: 1.35em; }
.rc-public .rc-how li { padding-left: 0; margin-bottom: 1.4em; }
.rc-public .rc-how li::before { position: static; display: block; margin: 0 auto 0.5em; }
.rc-public .rc-promise { font-size: 1.8em; }
.rc-public .rc-price { font-size: 3em; }
@media (max-width: 640px) {
    .rc-public { font-size: 19px; }
}

.rc-btn.rc-wa-btn { background: #128C7E; border-color: #128C7E; color: #fff !important; }
.rc-btn.rc-wa-btn:hover, .rc-btn.rc-wa-btn:focus { background: #075E54; border-color: #075E54; }

/* public hero: logo left, text right (mirrors the WAKIKE banner) */
.rc-public .rc-hero { padding: 0; text-align: left; }
.rc-hero-inner { display: flex; align-items: center; max-width: 1200px; min-height: 560px; margin: 0 auto; padding: 50px 40px; gap: 60px; }
.rc-hero-logo { flex: 0 0 45%; display: flex; justify-content: center; }
.rc-logo-img { width: 90%; max-width: 420px; height: auto; display: block; border: 3px solid var(--rc-gold); outline: 1px solid var(--rc-gold); outline-offset: 8px; }
.rc-hero-text { flex: 1; color: var(--rc-cream); }
.rc-public .rc-hero-tagline { font-family: var(--rc-heading); font-size: 2.7em; line-height: 1.2; color: var(--rc-cream); margin-bottom: 0.4em; }
.rc-hero-rule { width: 80px; border: 0; border-top: 2px solid var(--rc-gold); opacity: 1; margin: 0 0 24px; }
.rc-hero-meta { color: var(--rc-gold); letter-spacing: 0.08em; margin-bottom: 1.6em; }
.rc-public .rc-hero-note { margin-top: 1.2em; font-size: 0.8em; color: var(--rc-blush); }
.rc-hero-note a { color: var(--rc-gold); }
@media (max-width: 900px) {
    .rc-hero-inner { flex-direction: column; min-height: auto; gap: 36px; padding: 44px 20px 50px; }
    .rc-hero-logo { flex: none; width: 100%; }
    .rc-logo-img { width: 75%; max-width: 300px; }
    .rc-hero-text { text-align: center; }
    .rc-hero-rule { margin: 0 auto 24px; }
    .rc-public .rc-hero-tagline { font-size: 1.8em; }
    .rc-hero .rc-wa-btn { font-size: 0.95em; padding: 0.8em 1.4em; }
}

/* Private pages use the site's fonts; only the REconnect bar keeps the brand word mark font. */
body.rc-private {
    --rc-body: 'Roboto', sans-serif;
    --rc-heading: 'EB Garamond', serif;
}
body.rc-private .rc-memberbar {
    --rc-heading: 'Cormorant Garamond', Georgia, serif;
    --rc-body: Georgia, 'Times New Roman', serif;
}
body.rc-private .rc-memberbar nav a { font-family: 'Roboto', sans-serif; }
body.rc-private .rc-page .sd-root-modern { --sjs-font-family: 'Roboto', sans-serif; }
body.rc-private .rc-page .sd-title,
body.rc-private .rc-page .sd-question__title { font-family: 'Roboto', sans-serif; }

/* ---------- week guide content ---------- */
.rc-week-hero {
    position: relative;
    overflow: hidden;
    background: var(--rc-burgundy);
    color: var(--rc-cream);
    border-radius: 18px;
    padding: 48px 44px 40px;
    margin-bottom: 28px;
}
.rc-week-hero::after {
    content: '';
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    border: 3px solid var(--rc-gold);
    border-radius: 50%;
    box-shadow: inset 0 0 0 26px var(--rc-burgundy), inset 0 0 0 27px rgba(242, 212, 203, 0.35);
    pointer-events: none;
}
.rc-week-hero > * { position: relative; z-index: 1; }
.rc-week-hero__eyebrow { color: var(--rc-gold); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.8em; font-weight: 700; margin-bottom: 0.6em; }
.rc-page .rc-week-hero__title { color: var(--rc-cream); font-size: 2.6em; margin-bottom: 0.25em; max-width: 14em; }
.rc-week-hero__subtitle { font-family: var(--rc-heading); font-style: italic; font-size: 1.25em; color: var(--rc-blush); max-width: 26em; }
.rc-week-hero__verse { margin: 1.6em 0 0; padding-left: 18px; border-left: 3px solid var(--rc-gold); max-width: 30em; }
.rc-week-hero__verse p { font-family: var(--rc-heading); font-style: italic; font-size: 1.2em; margin: 0 0 0.3em; }
.rc-week-hero__verse cite, .rc-scripture cite { font-style: normal; font-weight: 700; font-size: 0.7em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rc-gold); }

.rc-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.rc-steps a {
    flex: 1 1 160px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--rc-line);
    border-radius: 40px;
    background: #fff;
    color: var(--rc-ink);
    text-decoration: none;
    font-size: 0.85em;
}
.rc-steps a:hover { border-color: var(--rc-gold); }
.rc-steps span {
    flex: 0 0 28px; height: 28px; border-radius: 50%;
    border: 2px solid var(--rc-gold); color: var(--rc-burgundy);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85em;
}
[id="read"], [id="scripture"], [id="worksheet"], [id="practice"] { scroll-margin-top: 190px; }

.rc-letter {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--rc-gold);
    border-radius: 18px;
    padding: 40px 44px;
    margin: 0 0 32px;
}
.rc-letter::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -110px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(201, 169, 110, 0.45);
    border-radius: 50%;
}
.rc-letter__eyebrow { color: var(--rc-gold); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75em; margin-bottom: 0.4em; }
.rc-letter__greeting { font-family: var(--rc-heading); font-style: italic; font-size: 1.7em; color: var(--rc-burgundy); margin-bottom: 0.6em; }
.rc-letter__closing { font-style: italic; margin-top: 1.4em; margin-bottom: 0.2em; }
.rc-letter__signature { font-family: var(--rc-heading); font-style: italic; font-size: 2.2em; color: var(--rc-burgundy); margin: 0; line-height: 1.1; }
.rc-letter__role { color: var(--rc-gold); font-size: 0.8em; margin: 0; }

.rc-section-block { margin: 36px 0; }
.rc-section-block h2 { margin-top: 1.4em; }
.rc-section-block h2:first-child { margin-top: 0; }
.rc-lead-line { font-family: var(--rc-heading); font-style: italic; font-size: 1.25em; color: var(--rc-burgundy); }

.rc-weeklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.rc-weeklist li { padding: 10px 0; border-bottom: 1px solid var(--rc-line); }
.rc-weeklist li small { display: block; font-size: 0.75em; color: var(--rc-muted); }
.rc-weeklist li.is-here { font-weight: 700; }
.rc-weeklist__label { font-family: var(--rc-heading); font-style: italic; color: var(--rc-burgundy); margin-right: 8px; }
.rc-numbered { padding-left: 1.4em; }
.rc-numbered li { margin-bottom: 0.7em; padding-left: 0.3em; }
.rc-numbered li::marker { color: var(--rc-gold); font-weight: 700; }

.rc-note { background: #fff; border: 1px solid var(--rc-gold); border-radius: 14px; padding: 22px 26px; margin: 18px 0; }
.rc-note h3 { font-size: 1.3em; margin-bottom: 0.3em; }
.rc-note p:last-child { margin-bottom: 0; }

.rc-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 1.2em 0 1.4em; }
.rc-terms > div { background: #fff; border: 1px solid var(--rc-line); border-top: 3px solid var(--rc-gold); border-radius: 12px; padding: 16px 18px; }
.rc-terms dt { font-family: var(--rc-heading); font-style: italic; font-size: 1.3em; color: var(--rc-burgundy); margin-bottom: 0.2em; }
.rc-terms dd { margin: 0; font-size: 0.9em; line-height: 1.6; }

.rc-scripture { background: var(--rc-blush); border-left: 4px solid var(--rc-gold); border-radius: 0 14px 14px 0; padding: 22px 28px; margin: 32px 0; }
.rc-scripture p { font-family: var(--rc-heading); font-style: italic; font-size: 1.35em; line-height: 1.45; color: var(--rc-burgundy-dark); margin: 0 0 0.4em; }

.rc-worksheet-intro { text-align: center; font-family: var(--rc-heading); font-size: 1.4em; color: var(--rc-burgundy); margin: 48px 0 0; }
.rc-worksheet { border-color: var(--rc-gold); }
.rc-practice { background: #fff; border: 2px solid var(--rc-gold); border-radius: 18px; padding: 26px 30px; margin: 32px 0; }
.rc-practice p:last-child { margin-bottom: 0; font-size: 1.1em; }
.rc-care { background: #F3E6E6; border-left: 4px solid var(--rc-burgundy); border-radius: 0 14px 14px 0; padding: 22px 28px; margin: 32px 0; font-size: 0.9em; }
.rc-care h3 { font-size: 1.3em; margin-bottom: 0.3em; }
.rc-care a { color: var(--rc-burgundy); }

@media (max-width: 640px) {
    .rc-week-hero { padding: 32px 22px 28px; border-radius: 14px; }
    .rc-page .rc-week-hero__title { font-size: 2em; }
    .rc-week-hero::after { width: 240px; height: 240px; right: -110px; bottom: -120px; }
    .rc-letter { padding: 28px 22px; }
    .rc-steps a { flex-basis: 45%; }
    .rc-scripture, .rc-care { padding: 18px 20px; }
}

/* Keep 1–5 rating buttons on one row on small screens. */
@media (max-width: 640px) {
    body.rc-private .rc-worksheet { padding: 20px 14px; }
    body.rc-private .sd-rating fieldset { flex-wrap: nowrap; gap: 6px; }
    body.rc-private .sd-rating__item { flex: 1 1 0; min-width: 0; margin: 0; padding-left: 0; padding-right: 0; }
}

/* ---------- step-by-step guide (built by week.php; without JS the steps simply stack) ---------- */
.rc-stepper { margin: 0 0 28px; }
.rc-layout-switch { display: inline-flex; border: 1px solid var(--rc-line); border-radius: 40px; background: #fff; padding: 3px; margin-bottom: 14px; font-size: 0.75em; }
.rc-layout-switch button { border: 0; background: transparent; color: var(--rc-muted); padding: 6px 16px; border-radius: 40px; cursor: pointer; font-family: var(--rc-body); }
.rc-layout-switch button[aria-pressed="true"] { background: var(--rc-burgundy); color: var(--rc-cream); }
.rc-layout-switch button:focus-visible { outline: 3px solid var(--rc-gold); outline-offset: 2px; }

.rc-stepbar__toggle { display: none; }
.rc-stepbar__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rc-stepbar__list li { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.rc-stepbar__list a {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 6px;
    border: 1px solid var(--rc-line); border-radius: 40px; background: #fff;
    color: var(--rc-ink); text-decoration: none; font-size: 0.72em; line-height: 1.3;
    max-width: 19em;
}
.rc-stepbar__list a em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-stepbar__list a span {
    flex: 0 0 26px; height: 26px; border-radius: 50%;
    border: 2px solid var(--rc-gold); color: var(--rc-burgundy);
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.rc-stepbar__list a:hover { border-color: var(--rc-gold); }
.rc-stepbar__list .is-visited a span { background: var(--rc-blush); }
.rc-stepbar__list .is-current a { border-color: var(--rc-burgundy); background: var(--rc-burgundy); color: var(--rc-cream); }
.rc-stepbar__list .is-current a span { background: var(--rc-gold); border-color: var(--rc-gold); color: #fff; }

/* Step mode: one step at a time. One-page mode: all steps, no step footers. */
.rc-guide.is-steps .rc-tab:not(.is-active) { display: none; }
.rc-guide:not(.is-steps) .rc-tab-nav { display: none; }
.rc-guide:not(.is-steps) .rc-tab + .rc-tab { border-top: 1px solid var(--rc-line); padding-top: 12px; }
.rc-tab { scroll-margin-top: 190px; }
.rc-tab > h2:first-child, .rc-tab > .rc-section-block:first-child > h2:first-child { margin-top: 0; }

.rc-tab-nav { display: flex; justify-content: space-between; gap: 14px; margin: 40px 0 8px; padding-top: 22px; border-top: 1px solid var(--rc-line); }
.rc-tab-nav a {
    display: flex; flex-direction: column; gap: 2px;
    max-width: 48%; padding: 12px 20px;
    border: 1px solid var(--rc-line); border-radius: 14px; background: #fff;
    color: var(--rc-burgundy); text-decoration: none; line-height: 1.35;
}
.rc-tab-nav a:hover { border-color: var(--rc-gold); }
.rc-tab-nav small { font-size: 0.65em; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rc-muted); }
.rc-tab-nav span { font-size: 0.85em; }
.rc-tab-nav__next { margin-left: auto; text-align: right; background: var(--rc-burgundy) !important; border-color: var(--rc-burgundy) !important; color: var(--rc-cream) !important; }
.rc-tab-nav__next small { color: var(--rc-blush); }

[data-step-list]:empty { display: none; }
.rc-thisweek { padding-left: 1.4em; columns: 2 18em; column-gap: 2em; }
.rc-thisweek li { margin-bottom: 0.4em; break-inside: avoid; }
.rc-thisweek li::marker { color: var(--rc-gold); font-weight: 700; }

@media (max-width: 640px) {
    .rc-stepbar { position: relative; }
    .rc-stepbar__toggle {
        display: flex; align-items: center; gap: 10px; width: 100%;
        padding: 12px 16px; border: 1px solid var(--rc-burgundy); border-radius: 14px;
        background: #fff; color: var(--rc-burgundy); font-family: var(--rc-body); font-size: 0.85em; text-align: left; cursor: pointer;
    }
    .rc-stepbar__toggle span { flex: 0 0 auto; font-size: 0.75em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc-gold); font-weight: 700; }
    .rc-stepbar__toggle i { margin-left: auto; }
    .rc-stepbar__list { display: none; flex-direction: column; flex-wrap: nowrap; margin-top: 8px; }
    .rc-stepbar.is-open .rc-stepbar__list { display: flex; }
    .rc-stepbar__list a { max-width: none; font-size: 0.8em; border-radius: 12px; }
    .rc-stepbar__list a em { white-space: normal; }
    .rc-tab-nav { flex-direction: column; }
    .rc-tab-nav a { max-width: none; }
}

/* ---------- content blocks added with Weeks 2–7 ---------- */
.rc-pattern { background: #fff; border: 1px solid var(--rc-gold); border-radius: 14px; padding: 22px 26px; margin: 22px 0; }
.rc-pattern h3 { font-size: 1.3em; margin-bottom: 0.5em; }
.rc-pattern dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.rc-pattern dt { font-weight: 700; color: var(--rc-burgundy); }
.rc-pattern dd { margin: 0; }
.rc-pattern__flow { font-family: var(--rc-heading); font-size: 1.3em; color: var(--rc-burgundy); margin-bottom: 0.6em; }
.rc-callout-line { text-align: center; font-family: var(--rc-heading); font-style: italic; font-size: 1.45em; color: var(--rc-burgundy); margin: 1.4em 0; }
.rc-callout__link { color: var(--rc-gold) !important; }
.rc-bullets { padding-left: 1.3em; }
.rc-bullets li { margin-bottom: 0.6em; }
.rc-bullets li::marker { color: var(--rc-gold); }
.rc-next { background: var(--rc-blush); border-radius: 18px; padding: 26px 30px; margin: 28px 0; }
.rc-next h3 { margin-bottom: 0.3em; }
@media (max-width: 640px) {
    .rc-pattern { padding: 18px 18px; }
    .rc-pattern dl { grid-template-columns: 1fr; gap: 0 0; }
    .rc-pattern dd { margin-bottom: 8px; }
    .rc-next { padding: 20px; }
}

/* SurveyJS: matrices (Life Change Index, "So you say") and html notes inside forms */
body.rc-private .sd-html .rc-note, body.rc-private .sd-html .rc-promise-box { font-size: 0.9em; }
.rc-promise-box { background: var(--rc-blush); border-left: 4px solid var(--rc-gold); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 6px 0 14px; }
.rc-promise-box h4 { font-size: 0.75em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rc-burgundy); margin: 0.6em 0 0.2em; font-family: var(--rc-body); }
.rc-promise-box h4:first-child { margin-top: 0; }
.rc-promise-box p { margin: 0 0 0.4em; }

/* Life Change Index on a phone: event and Times dropdown on one line instead of a stacked card per event. */
@media (max-width: 640px) {
    body.rc-private .sd-question[data-name="w2_lci"] .sd-table__row { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px; padding: 8px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--rc-line); }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-table__cell { padding: 0 !important; border: 0 !important; text-align: left !important; display: block !important; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-table__row::after { display: none !important; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-table__cell--row-text { flex: 1 1 auto; font-weight: 400 !important; line-height: 1.35; width: auto !important; min-width: 0 !important; font-size: 0.85em; color: var(--rc-ink); }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-table__cell--error:empty { display: none !important; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-table__cell:not(.sd-table__cell--row-text):not(.sd-table__cell--error) { flex: 0 0 136px; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-dropdown { padding: 10px 12px !important; min-width: 0; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-dropdown__value { margin: 0 !important; padding: 0 !important; min-width: 0; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-dropdown-action-bar { display: none !important; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-dropdown__filter-string-input, body.rc-private .sd-question[data-name="w2_lci"] .sd-dropdown__value { font-size: 0.85em; }
    body.rc-private .sd-question[data-name="w2_lci"] .sd-table__responsive-title { display: none; }
}
body.rc-private .sd-html .rc-note h3 { font-size: 1.2em; }

/* Week 2 trace table: fixed cells ("The same change", "No meaning…") read as plain text, not empty boxes. */
body.rc-private .sd-table .sd-comment.sd-input--readonly,
body.rc-private .sd-table .sd-input--readonly .sd-comment,
body.rc-private .sd-table textarea[readonly] { background: transparent !important; box-shadow: none !important; border: 0 !important; resize: none !important; font-style: italic; }
body.rc-private .sd-table textarea[readonly] { color: var(--rc-burgundy) !important; -webkit-text-fill-color: var(--rc-burgundy); opacity: 1; }
body.rc-private .sd-question[data-name="trace"] .sd-table__cell--row-text { font-weight: 700; color: var(--rc-burgundy); vertical-align: top; padding-top: 18px; }
body.rc-private .sd-question[data-name="trace"] .sd-table__cell--header { font-weight: 700; }

/* Week heading above the step controls */
.rc-week-head { margin: 0 0 4px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rc-week-head__tools { margin-left: auto; }
.rc-week-head__tools:empty { display: none; }
.rc-week-head__tools .rc-layout-switch { margin-bottom: 4px; }
.rc-week-head__num { color: var(--rc-gold); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.8em; font-weight: 700; margin: 0 0 0.2em; }
.rc-page .rc-week-head__title { font-size: 2em; margin: 0; }
.rc-page hr.rc-week-head__rule { border: 0 !important; border-top: 1px solid var(--rc-gold) !important; background: none; height: 0; opacity: 1 !important; margin: 18px 0 22px; }
@media (max-width: 640px) {
    .rc-page .rc-week-head__title { font-size: 1.6em; }
}
