.page-health-check-chat .site-header,
.page-health-check-chat .site-footer,
.page-health-check-chat .skip-link,
.page-health-check-chat .cookie-banner,
.page-health-check-chat .cookie-overlay,
.page-health-check-chat .hc-launcher {
    display: none;
}

.page-health-check-chat {
    height: 100dvh;
    overflow: hidden;
    background: var(--warm-white);
}

.page-health-check-chat #content {
    padding: 0;
    height: 100%;
}

.hc-landing {
    padding: 2.4rem 0 1rem;
}

.hc-landing h1 {
    max-width: 16ch;
    margin: 1rem 0 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.hc-landing .lead {
    max-width: 38rem;
}

.hc-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.4rem 0 1.6rem;
    padding: 0;
    list-style: none;
}

.hc-trust li {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(255, 252, 247, 0.9);
    font-size: 0.92rem;
}

.hc-landing .hero-actions form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.hc-built,
.hc-note {
    margin-top: 1.1rem;
    color: var(--muted);
}

.hc-receive-grid,
.hc-tools-grid,
.hc-roadmap-grid,
.hc-report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hc-receive-grid article,
.hc-tools-grid article,
.hc-roadmap-grid article,
.hc-report-grid article {
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 252, 247, 0.92);
}

.hc-receive-grid h3,
.hc-tools-grid h3,
.hc-roadmap-grid h3 {
    margin: 0 0 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hc-app {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100dvh;
    height: 100svh;
    max-width: 28.5rem;
    margin: 0 auto;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(246, 243, 235, 0.2), rgba(246, 243, 235, 1) 8rem),
        var(--warm-white);
}

.hc-top {
    position: sticky;
    top: 0;
    z-index: 4;
    padding: 0.85rem 1rem 0.75rem;
    background: rgba(246, 243, 235, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.hc-brand {
    display: block;
    width: 8.8rem;
    margin-bottom: 0.55rem;
}

.hc-identity {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
}

.hc-identity strong {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hc-online {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.hc-online i {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #1f8a4c;
}

.hc-trust-line {
    margin: 0.25rem 0 0.7rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.hc-progress span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.hc-progress-track {
    height: 0.28rem;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: rgba(23, 22, 20, 0.08);
}

.hc-progress-track i {
    display: block;
    height: 100%;
    background: var(--yellow);
}

.hc-thread {
    min-height: 0;
    overflow: auto;
    padding: 1rem 1rem 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.hc-row {
    display: flex;
}

.hc-row.is-assistant {
    justify-content: flex-start;
}

.hc-row.is-user {
    justify-content: flex-end;
}

.hc-bubble {
    max-width: 86%;
    padding: 0.75rem 0.9rem;
    border-radius: 1.05rem 1.05rem 1.05rem 0.35rem;
    background: #fffdf8;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    font-size: 0.98rem;
    line-height: 1.45;
}

.hc-row.is-user .hc-bubble {
    border-radius: 1.05rem 1.05rem 0.35rem 1.05rem;
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.hc-dots {
    display: flex;
    gap: 0.28rem;
    min-width: 3.2rem;
}

.hc-dots span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: rgba(23, 22, 20, 0.35);
    animation: hc-dot 1s infinite;
}

.hc-dots span:nth-child(2) { animation-delay: 0.15s; }
.hc-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes hc-dot {
    0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-2px); }
}

.hc-composer {
    max-height: 42vh;
    overflow: auto;
    padding: 0.65rem 1rem 1rem;
    background: rgba(246, 243, 235, 0.96);
    border-top: 1px solid var(--border);
}

.hc-chips,
.hc-consent,
.hc-multi {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hc-chip,
.hc-check {
    min-height: 2.7rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: #fffdf8;
    font-weight: 600;
}

.hc-chip:hover,
.hc-check:hover,
.hc-chip:focus-visible,
.hc-check:focus-visible,
.hc-undo:focus-visible,
.hc-input-row input:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

.hc-chip.is-quiet {
    font-weight: 500;
    color: var(--muted);
}

.hc-check.is-on {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.hc-consent a {
    align-self: center;
    margin-left: 0.3rem;
    font-weight: 600;
    border-bottom: 1px solid var(--yellow);
}

.hc-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
}

.hc-input-row input {
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fffdf8;
}

.hc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 0.65rem;
}

.hc-undo {
    display: block;
    margin-bottom: 0.55rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.86rem;
}

.hc-error {
    margin: 0.4rem 0 0;
    color: #8a2a16;
    font-size: 0.9rem;
}

.hc-analyse-progress {
    width: 100%;
    padding: 0.95rem 1rem 1.05rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fffdf8;
}

.hc-analyse-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.hc-analyse-copy {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.hc-spinner {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.1rem;
    border: 2px solid rgba(23, 22, 20, 0.12);
    border-top-color: var(--yellow);
    border-right-color: var(--charcoal);
    border-radius: 50%;
    animation: hcSpin 0.75s linear infinite;
}

@keyframes hcSpin {
    to {
        transform: rotate(360deg);
    }
}

.hc-analyse-progress.is-stopped .hc-spinner {
    animation: none;
    opacity: 0.35;
}

.hc-analyse-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hc-analyse-steps li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.45rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.hc-analyse-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.55rem;
    height: 0.55rem;
    border: 1px solid rgba(23, 22, 20, 0.2);
    border-radius: 50%;
}

.hc-analyse-steps li.is-on {
    color: var(--charcoal);
    font-weight: 600;
}

.hc-analyse-steps li.is-on::before {
    border-color: var(--yellow);
    background: var(--yellow);
    box-shadow: 0 0 0 0.22rem rgba(242, 197, 0, 0.22);
}

.hc-analyse-steps li.is-done {
    color: var(--charcoal);
}

.hc-analyse-steps li.is-done::before {
    border-color: var(--charcoal);
    background: var(--charcoal);
}

.hc-resume {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    background: rgba(23, 22, 20, 0.46);
    padding: 1rem;
}

.hc-resume[hidden] {
    display: none;
}

.hc-resume-card {
    width: min(24rem, 100%);
    padding: 1.4rem;
    border-radius: var(--radius-md);
    background: var(--warm-white);
}

.hc-resume-card .button {
    width: 100%;
    margin-top: 0.55rem;
}

.hc-report {
    padding: 2rem 0 3.5rem;
}

.hc-results-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.hc-cover {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.6rem;
    padding: 2.3rem 2.2rem 2.1rem;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 197, 0, 0.22), transparent 36%),
        linear-gradient(180deg, #24221e, #141312);
    color: var(--white);
}

.hc-cover-kicker,
.hc-section-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--yellow);
}

.hc-cover-ref {
    margin: 0 0 1rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 252, 247, 0.62);
}

.hc-cover h1,
.hc-dashboard h2,
.hc-section-head h2,
.hc-method h2 {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.05em;
    max-width: 16ch;
}

.hc-cover h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 0.98;
}

.hc-cover-lede {
    max-width: 36rem;
    margin: 1rem 0 1.4rem;
    color: rgba(255, 252, 247, 0.72);
}

.hc-cover-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.4rem;
    margin: 0;
}

.hc-cover-meta dt {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(242, 197, 0, 0.86);
}

.hc-cover-meta dd {
    margin: 0.15rem 0 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.hc-cover-score {
    text-align: center;
}

.hc-cover-level {
    margin: 0.35rem 0 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
}

.hc-cover-scale {
    margin: 0.15rem 0 0;
    color: rgba(255, 252, 247, 0.58);
    font-size: 0.86rem;
}

.hc-gauge {
    width: 11.5rem;
    height: 11.5rem;
}

.hc-gauge-track,
.hc-gauge-value {
    fill: none;
    stroke-width: 12;
    transform: rotate(-90deg);
    transform-origin: 100px 100px;
}

.hc-gauge-track {
    stroke: rgba(255, 252, 247, 0.16);
}

.hc-gauge-value {
    stroke-linecap: round;
}

.hc-gauge-number {
    fill: currentColor;
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 800;
    text-anchor: middle;
}

.hc-gauge-den {
    fill: rgba(255, 252, 247, 0.55);
    font-size: 14px;
    text-anchor: middle;
}

.hc-fallback-note {
    margin: 0 0 1.4rem;
    padding: 0.7rem 0.9rem;
    border-left: 3px solid var(--yellow);
    background: rgba(242, 197, 0, 0.12);
}

.hc-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 1.4rem;
    margin-bottom: 2.2rem;
}

.hc-dashboard-chart,
.hc-dashboard-callouts article,
.hc-dimension,
.hc-finding-grid article,
.hc-method {
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 252, 247, 0.94);
    box-shadow: var(--shadow-soft);
}

.hc-dashboard-chart h2 {
    margin-bottom: 0.6rem;
    max-width: none;
}

.hc-radar {
    display: block;
    width: 100%;
    max-width: 26rem;
    height: auto;
    margin: 0 auto;
}

.hc-radar-ring,
.hc-radar-axis {
    fill: none;
    stroke: rgba(23, 22, 20, 0.12);
}

.hc-radar-plot {
    fill: rgba(242, 197, 0, 0.28);
    stroke: var(--charcoal);
    stroke-width: 2;
}

.hc-radar-dot {
    fill: var(--yellow);
    stroke: var(--charcoal);
    stroke-width: 1.4;
}

.hc-radar-label {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    fill: var(--charcoal);
}

.hc-radar-score {
    font-size: 11px;
    font-weight: 700;
    fill: #8b7400;
}

.hc-dashboard-callouts {
    display: grid;
    gap: 1rem;
}

.hc-dashboard-callouts h3,
.hc-finding-grid h3,
.hc-method h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hc-callout-score {
    margin: 0.35rem 0 0.55rem;
    font-family: 'Manrope', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.hc-callout-score span {
    font-size: 0.95rem;
    color: var(--muted);
}

.hc-section-head {
    margin: 0 0 1rem;
}

.hc-section-head h2 {
    max-width: none;
}

.hc-dimension-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.hc-dimension header {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
}

.hc-dimension header span {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    color: #8b7400;
}

.hc-dimension-score {
    margin: 0.85rem 0 0.2rem;
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
}

.hc-dimension-score small {
    font-size: 0.9rem;
    color: var(--muted);
}

.hc-dimension-band {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.hc-dimension.is-critical {
    border-top: 4px solid #8f2d20;
}

.hc-dimension.is-developing {
    border-top: 4px solid #b8860b;
}

.hc-dimension.is-established {
    border-top: 4px solid #5c6b4a;
}

.hc-dimension.is-advanced {
    border-top: 4px solid var(--charcoal);
}

.hc-bar-track {
    height: 0.55rem;
    overflow: hidden;
    border-radius: var(--radius-pill);
    background: rgba(23, 22, 20, 0.08);
}

.hc-bar-track i {
    display: block;
    height: 100%;
    background: var(--charcoal);
}

.hc-finding-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.hc-finding-lead {
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 197, 0, 0.16), transparent 42%),
        rgba(255, 252, 247, 0.96);
}

.hc-finding-grid ol,
.hc-roadmap-grid ul {
    margin: 0;
    padding-left: 1.15rem;
}

.hc-finding-grid li + li,
.hc-roadmap-grid li + li {
    margin-top: 0.55rem;
}

.hc-tools,
.hc-roadmap {
    margin: 0 0 2.2rem;
}

.hc-tools h2,
.hc-roadmap h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hc-tools-grid a {
    font-weight: 600;
    border-bottom: 1px solid var(--yellow);
}

.hc-phase {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b7400;
}

.hc-method {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.7fr);
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.hc-method aside p {
    margin: 0 0 0.7rem;
}

.hc-method aside strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b7400;
}

.hc-book {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) auto;
    align-items: center;
    gap: 2rem;
    margin-top: 0.4rem;
    padding: 2.35rem 2.3rem 2.2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(242, 197, 0, 0.28), transparent 34%),
        linear-gradient(180deg, #2a2620, #141312);
    color: var(--white);
    box-shadow: 0 24px 50px rgba(23, 22, 20, 0.22);
}

.hc-book-badge {
    width: fit-content;
    margin: 0 0 1rem;
    padding: 0.32rem 0.72rem;
    border-radius: var(--radius-pill);
    background: var(--yellow);
    color: var(--charcoal);
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hc-book h2 {
    margin: 0;
    max-width: 16ch;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
    color: var(--white);
}

.hc-book p {
    max-width: 36rem;
    margin: 1rem 0 0;
    color: rgba(255, 252, 247, 0.74);
}

.hc-book ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.hc-book li {
    position: relative;
    padding-left: 1rem;
    color: rgba(255, 252, 247, 0.86);
    font-size: 0.92rem;
}

.hc-book li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--yellow);
}

.hc-book-cta {
    display: grid;
    justify-items: start;
    gap: 0.75rem;
}

.hc-book-cta .button {
    min-width: 16.5rem;
    justify-content: center;
}

.hc-book-cta p {
    margin: 0;
    max-width: 16rem;
    font-size: 0.86rem;
    color: rgba(255, 252, 247, 0.55);
}

@media (max-width: 899.98px) {
    .hc-receive-grid,
    .hc-tools-grid,
    .hc-roadmap-grid,
    .hc-report-grid,
    .hc-cover,
    .hc-dashboard,
    .hc-dimension-grid,
    .hc-finding-grid,
    .hc-method,
    .hc-book {
        grid-template-columns: 1fr;
    }

    .hc-app {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hc-dots span,
    .hc-spinner,
    .button {
        animation: none;
        transition: none;
    }
}

@media print {
    .no-print,
    .site-header,
    .site-footer,
    .consultation-banner,
    .hc-book {
        display: none !important;
    }

    .hc-report {
        padding: 0;
        color: #111;
        background: #fff;
    }

    .hc-cover {
        color: #171614;
        background: #fff;
        border: 1px solid #d8d2c6;
        break-after: avoid;
    }

    .hc-cover-kicker,
    .hc-cover-meta dt,
    .hc-section-kicker {
        color: #8b7400;
    }

    .hc-cover-ref,
    .hc-cover-lede,
    .hc-cover-scale {
        color: #5c5850;
    }

    .hc-gauge-track {
        stroke: #ece7db;
    }

    .hc-gauge-den {
        fill: #8a847a;
    }

    .hc-dashboard-chart,
    .hc-dashboard-callouts article,
    .hc-dimension,
    .hc-finding-grid article,
    .hc-tools-grid article,
    .hc-roadmap-grid article,
    .hc-method {
        break-inside: avoid;
        box-shadow: none;
    }
}
