/* ═══════════════════════════════════════════════════════════════════════════
   5P Community Health Assessment — UI styles
═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Sengii brand palette */
    --color-primary:      #034794;   /* Sengii navy blue */
    --color-primary-dark: #023070;
    --color-primary-bg:   #e8f0f8;
    --color-accent:       #27c4e5;   /* Sengii cyan */
    --color-accent-bg:    #e4f8fd;
    --color-cta:          #fcc943;   /* Sengii yellow */

    --color-success:      #10B981;
    --color-warning:      #F59E0B;
    --color-danger:       #EF4444;
    --color-bg:           #f4f6f9;
    --color-card:         #FFFFFF;
    --color-text:         #222222;
    --color-text-muted:   #666666;
    --color-border:       #e1e1e1;
    --radius:             12px;
    --radius-sm:          8px;
    --shadow-card:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-hover:       0 4px 12px rgba(0,0,0,.12);
}

/* ── Base ──────────────────────────────────────────────────────────────── */

.assessment-body {
    background: var(--color-bg);
    min-height: 100vh;
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--color-text);
}

/* ── Assessment header ─────────────────────────────────────────────────── */

.assessment-header {
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.5rem .875rem;
}

.assessment-header .brand {
    text-decoration: none;
    line-height: 1;
}

.assessment-header .brand-logo {
    height: 36px;
    width: auto;
    display: block;
}

.assessment-header .step-label {
    font-size: .8rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.assessment-progress {
    background: var(--color-border);
    height: 3px;
    max-width: 900px;
    margin: .75rem auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.assessment-progress .fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
    transition: width .5s ease;
}

/* ── Page wrapper ──────────────────────────────────────────────────────── */

.assessment-page {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.25rem;
}

/* ── Typography helpers ────────────────────────────────────────────────── */

.section-label {
    text-transform: uppercase;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--color-primary);
    margin-bottom: .4rem;
}

.question-number {
    font-size: .8rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: .5rem;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

/* ── Option cards (radio-as-card) ──────────────────────────────────────── */

.option-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.75rem;
}

.option-item {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: .875rem 1.25rem;
    background: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
    box-shadow: var(--shadow-card);
}

.option-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-hover);
}

.option-item.selected {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
}

.option-item input[type=radio] {
    margin-top: .2rem;
    accent-color: var(--color-primary);
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    cursor: pointer;
}

.option-item .option-text {
    font-size: .925rem;
    line-height: 1.55;
    color: var(--color-text);
}

/* ── Pillar header card ────────────────────────────────────────────────── */

.pillar-header {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-card);
}

.pillar-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: .3rem;
}

.pillar-header p {
    color: var(--color-text-muted);
    font-size: .875rem;
    margin: 0;
    line-height: 1.55;
}

/* ── Question block (inside pillar) ───────────────────────────────────── */

.question-block {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-card);
}

.question-block h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */

.btn-assessment {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: .8rem 1.75rem;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s, box-shadow .15s;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-assessment:hover {
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

.btn-assessment:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-assessment.secondary {
    background: transparent;
    color: var(--color-text-muted);
    border-color: var(--color-border);
}

.btn-assessment.secondary:hover {
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: none;
    transform: none;
}

/* ── Landing page ──────────────────────────────────────────────────────── */

.landing-hero {
    text-align: center;
    padding: 3.5rem 1rem 2.5rem;
}

.landing-hero .headline {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.04em;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.landing-hero .subline {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.five-pillars {
    display: flex;
    justify-content: center;
    gap: .625rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.pillar-chip {
    background: var(--color-card);
    border: 1.5px solid var(--color-border);
    border-radius: 100px;
    padding: .35rem 1rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: .01em;
}

.landing-meta {
    font-size: .8rem;
    color: var(--color-text-muted);
    display: flex;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.landing-meta span::before {
    content: "✓\00a0";
    color: var(--color-success);
    font-weight: 700;
}

/* ── Nav footer (back/next) ────────────────────────────────────────────── */

.assessment-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 2.5rem;
    gap: 1rem;
}

/* ── Validation alert ──────────────────────────────────────────────────── */

.assessment-alert {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    padding: .875rem 1.25rem;
    color: #991B1B;
    font-size: .875rem;
    margin-bottom: 1.25rem;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}

.assessment-alert.success {
    background: #ECFDF5;
    border-color: #A7F3D0;
    color: #065F46;
}

/* ── Results: hero ─────────────────────────────────────────────────────── */

.result-hero {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.maturity-badge {
    display: inline-block;
    padding: .35rem 1.1rem;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.maturity-Foundational { background: #FEF3C7; color: #92400E; }
.maturity-Developing   { background: #DBEAFE; color: #1E40AF; }
.maturity-Established  { background: #D1FAE5; color: #065F46; }
.maturity-Leading      { background: #EDE9FE; color: #4C1D95; }

.score-display {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-accent);
    letter-spacing: -.04em;
}

.score-max {
    font-size: 1.75rem;
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

/* ── Results: pillar rows ──────────────────────────────────────────────── */

.pillar-row {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    margin-bottom: .875rem;
    box-shadow: var(--shadow-card);
}

.pillar-row .pillar-name {
    font-weight: 700;
    font-size: .95rem;
}

.capability-bar-wrap {
    background: var(--color-border);
    border-radius: 4px;
    height: 7px;
    margin: .5rem 0 .375rem;
    overflow: hidden;
}

.capability-bar {
    height: 100%;
    border-radius: 4px;
    transition: width .7s ease;
}

.bar-strong     { background: var(--color-success); }
.bar-developing { background: var(--color-primary); }
.bar-needs      { background: var(--color-warning); }

/* ── Zone badges ───────────────────────────────────────────────────────── */

.zone-badge {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}

.zone-PriorityFocus  { background: #FEE2E2; color: #991B1B; }
.zone-KeyStrength    { background: #D1FAE5; color: #065F46; }
.zone-Monitor        { background: #DBEAFE; color: #1E40AF; }
.zone-LowerPriority  { background: #F3F4F6; color: #374151; }

/* ── Opportunity / action cards ────────────────────────────────────────── */

.opportunity-card {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--color-accent);
}

.opportunity-card.secondary {
    border-top-color: var(--color-text-muted);
}

.action-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.action-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.action-type-badge {
    flex-shrink: 0;
    padding: .2rem .65rem;
    border-radius: 4px;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: .2rem;
    height: fit-content;
}

.badge-quickwin    { background: #ECFDF5; color: #065F46; }
.badge-consistency { background: #EFF6FF; color: #1E40AF; }
.badge-strategic   { background: #FDF4FF; color: #6B21A8; }

.action-text {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

/* ── Email capture ─────────────────────────────────────────────────────── */

.email-capture {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
}

/* ── CTA block ─────────────────────────────────────────────────────────── */

.cta-meeting {
    background: linear-gradient(135deg, #023070, #034794);
    border-radius: var(--radius);
    padding: 2.75rem 2rem;
    text-align: center;
    color: #fff;
    margin-bottom: 2.5rem;
}

.cta-meeting h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: .75rem;
    letter-spacing: -.02em;
}

.cta-meeting p {
    opacity: .85;
    font-size: .95rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.btn-cta {
    background: var(--color-cta);
    color: #222222;
    border: none;
    border-radius: var(--radius-sm);
    padding: .9rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform .15s, box-shadow .15s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    color: #222222;
}

/* ── Radar chart card ──────────────────────────────────────────────────── */

.chart-card {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 1.75rem 1.75rem 1.5rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-card);
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.chart-card-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -.02em;
}

.chart-card-subtitle {
    font-size: .8rem;
    color: var(--color-text-muted);
    margin: .2rem 0 0;
    line-height: 1.45;
    max-width: 440px;
}

.chart-legend-inline {
    display: flex;
    gap: .875rem;
    align-items: center;
    font-size: .78rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    flex-wrap: wrap;
}

.legend-swatch {
    display: inline-block;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    vertical-align: middle;
    margin-right: .3rem;
}

.swatch-cap {
    background: #27c4e5;
}

.swatch-imp {
    background: transparent;
    border-top: 2px dashed rgba(3,71,148,.5);
    height: 0;
    margin-top: 1px;
}

.chart-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

/* ── Pillar chips under radar ──────────────────────────────────────────── */

.chart-pillar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .625rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.chart-pillar-chip {
    text-align: center;
    padding: .875rem .5rem .75rem;
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}

.chip-name {
    font-weight: 700;
    font-size: .8rem;
    color: var(--color-text);
    margin-bottom: .5rem;
}

.chip-bar {
    margin: 0 .25rem .4rem !important;
}

.chip-scores {
    font-size: .67rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    margin-bottom: .5rem;
    line-height: 1.3;
}

/* ── Lead capture page ─────────────────────────────────────────────────── */

.capture-teaser {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--color-accent);
    align-items: center;
}

.teaser-score-side {
    text-align: center;
}

.teaser-eyebrow {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-accent);
    margin-bottom: .875rem;
}

.teaser-score-wrap {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .25rem;
    margin-bottom: .875rem;
}

.teaser-score-blur {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--color-accent);
    filter: blur(10px);
    user-select: none;
    line-height: 1;
}

.teaser-score-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-text-muted);
    opacity: .35;
    line-height: 1;
    pointer-events: none;
}

.teaser-score-max {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: .125rem;
    position: relative;
}

.teaser-level {
    display: inline-block;
    filter: blur(4px);
    user-select: none;
    margin-bottom: .625rem;
}

.teaser-hint {
    font-size: .75rem;
    color: var(--color-text-muted);
    margin: .5rem 0 0;
    font-style: italic;
}

.teaser-unlock-side {
    border-left: 1px solid var(--color-border);
    padding-left: 2rem;
}

.teaser-unlock-heading {
    font-weight: 700;
    font-size: .875rem;
    color: var(--color-text);
    margin-bottom: .75rem;
}

.teaser-unlock-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.teaser-unlock-list li {
    font-size: .875rem;
    color: var(--color-text-muted);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.teaser-unlock-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: .875rem;
}

/* Form card */

.capture-form-card {
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 2rem 2rem 2.25rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 2.5rem;
}

.capture-form-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .3rem;
}

.capture-form-subtitle {
    font-size: .875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.capture-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.capture-field {
    display: flex;
    flex-direction: column;
    gap: .375rem;
}

.capture-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--color-text);
}

.field-required { color: var(--color-danger); margin-left: .1rem; }
.field-optional { font-weight: 400; color: var(--color-text-muted); }

.capture-input {
    border-radius: var(--radius-sm) !important;
    border-color: var(--color-border) !important;
    font-size: .9rem !important;
    padding: .65rem .875rem !important;
    transition: border-color .15s, box-shadow .15s;
}

.capture-input:focus {
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px rgba(39,196,229,.18) !important;
    outline: none;
}

.capture-consent {
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-border);
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    cursor: pointer;
    font-size: .875rem;
    color: var(--color-text);
    margin-bottom: .625rem;
    line-height: 1.45;
}

.consent-checkbox {
    margin-top: .15rem;
    accent-color: var(--color-primary);
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    cursor: pointer;
}

.consent-note {
    font-size: .75rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.consent-note a {
    color: var(--color-primary);
    text-decoration: none;
}

.consent-note a:hover {
    text-decoration: underline;
}

.btn-unlock {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: .95rem 2rem;
    background: var(--color-primary);
    letter-spacing: -.01em;
}

.btn-unlock:hover {
    background: var(--color-primary-dark);
}

/* ── Customer report wrapper ───────────────────────────────────────────── */

.cr-wrapper {
    background: var(--color-card);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(3,71,148,.14);
    margin-bottom: 2rem;
    overflow: hidden;
}

.cr-wrapper-header {
    background: var(--color-primary);
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cr-wrapper-label {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.65);
    margin-bottom: .2rem;
}

.cr-wrapper-sub {
    font-size: .82rem;
    color: rgba(255,255,255,.75);
    margin: 0;
}

.cr-wrapper-actions {
    display: flex;
    gap: .625rem;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cr-btn-pdf {
    background: var(--color-cta);
    color: #222;
    border: none;
    border-radius: var(--radius-sm);
    padding: .45rem 1rem;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
    text-decoration: none;
    display: inline-block;
}

.cr-btn-pdf:hover { opacity: .85; }

.cr-btn-regen {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: var(--radius-sm);
    padding: .45rem .875rem;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.cr-btn-regen:hover { background: rgba(255,255,255,.22); }

.cr-btn-generate {
    background: var(--color-cta);
    color: #222;
    border: none;
    border-radius: var(--radius-sm);
    padding: .5rem 1.25rem;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
}

.cr-btn-generate:hover { opacity: .85; }

.no-print { /* hidden in @media print below */ }

/* ── Customer report ───────────────────────────────────────────────────── */

.customer-report {
    padding: 1.5rem 1.75rem;
}

.cr-tagline {
    background: linear-gradient(135deg, var(--color-primary), #0a5fc4);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
}

.cr-tagline-text {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.45;
    max-width: 640px;
    margin: 0 auto;
    opacity: .95;
}

.cr-score-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.cr-score-chip {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    padding: .35rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
}

.cr-section {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-card);
}

.cr-section-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--color-accent);
    margin-bottom: .5rem;
}

.cr-section-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: .875rem;
}

.cr-prose {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--color-text);
    white-space: pre-wrap;
}

.cr-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: cr-step;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.cr-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    counter-increment: cr-step;
}

.cr-step-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
}

.cr-step-body strong {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: .15rem;
}

.cr-step-body span {
    font-size: .825rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ── Staff notes (Quill WYSIWYG) ───────────────────────────────────────── */

.staff-notes-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
}

.staff-notes-card .ql-toolbar {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-color: #fde68a;
    background: #fff;
}

.staff-notes-card .ql-container {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    border-color: #fde68a;
    background: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: .875rem;
    min-height: 140px;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 576px) {
    .assessment-page   { margin-top: 1.5rem; }
    .landing-hero .headline { font-size: 1.8rem; }
    .score-display     { font-size: 3.5rem; }
    .question-text     { font-size: 1.1rem; }
    .question-block h3 { font-size: 1rem; }
    .assessment-nav    { flex-direction: column-reverse; }
    .assessment-nav .btn-assessment { width: 100%; justify-content: center; }

    .chart-pillar-grid  { grid-template-columns: repeat(3, 1fr); }
    .chart-card-header  { flex-direction: column; }

    .customer-report .cr-section:has(+ .cr-section) { margin-bottom: 0; }
    .customer-report > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

    .capture-teaser      { grid-template-columns: 1fr; }
    .teaser-unlock-side  { border-left: none; border-top: 1px solid var(--color-border); padding-left: 0; padding-top: 1.5rem; }
    .capture-field-grid  { grid-template-columns: 1fr; }

    .cr-wrapper-header   { flex-direction: column; align-items: flex-start; }
    .cr-wrapper-actions  { width: 100%; }
}

/* ── Print / PDF ────────────────────────────────────────────────────────── */

@media print {
    /* Force color backgrounds to print */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Hide everything except the customer report */
    .assessment-header                          { display: none !important; }
    .no-print                                   { display: none !important; }
    .assessment-page > *:not(.cr-wrapper)       { display: none !important; }

    /* Clean up chrome for paper */
    .assessment-body   { background: white !important; }
    .assessment-page   { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .cr-wrapper        { border: none !important; box-shadow: none !important; margin: 0 !important; }
    .cr-section        { box-shadow: none !important; break-inside: avoid; }
    .cr-tagline        { border-radius: 0 !important; }
    .cr-step           { break-inside: avoid; }

    @page { margin: .6in .75in; }
}
