h1:focus {
    outline: none;
}

/* ── MVP Home Page Styles ────────────────────────────────────────────── */

:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-success: #117a3b;
    --color-warning: #f1c21b;
    --color-danger: #da1e28;
    --color-text-primary: #161616;
    --color-text-secondary: #525252;
    --color-border: #e0e0e0;
    --color-card-border: #b7d8c5;
    --color-card-border-soft: #d8eadf;
    --color-wellness-bg: #f1f8f3;
    --color-wellness-border: #3f7f5f;
    --color-bg-light: #ffffff;
    --color-bg-subtle: #f4f4f4;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
}

body {
    font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f9f9f9;
    color: var(--color-text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

/* ── Error Page Styles ─────────────────────────────────────────────── */

.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fef9e7 0%, #f8f4e6 100%);
}

.error-header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
}

.error-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: #d97706;
}

.error-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.error-content {
    flex: 1;
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 0 1.5rem 3rem;
    width: 100%;
}

.error-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.error-card h2 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #333;
}

.error-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.error-steps li {
    padding: 0.75rem 1rem;
    background: #f9f9f9;
    border-left: 4px solid #d97706;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.error-btn.primary {
    background: #0f62fe;
    color: white;
}

.error-btn.primary:hover {
    background: #0353e9;
    transform: translateY(-2px);
}

.error-btn.secondary {
    background: transparent;
    color: #0f62fe;
    border: 2px solid #0f62fe;
}

.error-btn.secondary:hover {
    background: #f0f8ff;
}

.error-debug {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    font-family: "Monaco", "Courier", monospace;
    margin-bottom: 1.5rem;
    word-break: break-all;
}

.error-debug code {
    background: #eee;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.error-footer {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 640px) {
    .error-header {
        padding: 2rem 1rem 1.5rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-card {
        padding: 1.5rem;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-btn {
        width: 100%;
        text-align: center;
    }
}

/* ── Home Page Styles ──────────────────────────────────────────────── */

.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Home Header ────────────────────────────────────────────────────── */

.home-header {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 1.5rem 2rem;
    text-align: center;
}

.header-content h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    font-weight: 800;
    margin: 0 0 0.7rem 0;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    color: var(--color-text-secondary);
    margin: 0;
    font-weight: 500;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

/* ── Home Main Content ──────────────────────────────────────────────── */

.home-main {
    flex: 1;
    max-width: 720px;
    width: 100%;
    margin: 2rem auto 0;
    padding: 0 1.5rem 3rem;
}

/* ── Hero Card (homepage — mobiel eerst) ────────────────────────────── */

.hero-card {
    background: var(--color-bg-light);
    border: 1.5px solid var(--color-card-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* meta row: emoji + categorie */
.hero-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.95rem;
}

.hero-emoji {
    font-size: 2rem;
    line-height: 1;
}

.hero-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg-subtle);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

/* actie titel + beschrijving */
.hero-title {
    font-size: clamp(1.3rem, 1.5vw, 1.5rem);
    font-weight: 700;
    margin: 0 0 0.55rem 0;
    color: var(--color-text-primary);
    line-height: 1.28;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    line-height: 1.68;
    margin: 0 0 1.1rem 0;
}

/* waarom blok */
.hero-why {
    display: flex;
    gap: 0.65rem;
    background: #f0f8ff;
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
}

.hero-why span {
    font-size: 1.1rem;
    min-width: 1.25rem;
    margin-top: 0.1rem;
}

.hero-why p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

/* tip als verdieping (zelfde onderwerp) */
.hero-tip {
    background: var(--color-wellness-bg);
    border-left: 4px solid var(--color-wellness-border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    margin-bottom: 1.15rem;
}

.hero-tip-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-wellness-border);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.3rem 0;
}

.hero-tip-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 0.35rem 0;
}

.hero-tip-source {
    font-size: 0.75rem;
    color: #7a8b85;
    font-style: italic;
    margin: 0;
}

/* voortgang */
.hero-progress {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.hero-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hero-progress-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin: 0;
}

.hero-progress-pct {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero-progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--color-bg-subtle);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.hero-progress-bar-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 20px;
    transition: width 0.35s ease;
}

.hero-progress-msg {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0.75rem 0 0 0;
    font-weight: 500;
}

/* 7-daagse dag-dots */
.week-day-dots {
    display: flex;
    gap: 0.45rem;
    margin: 0.75rem 0 0.25rem 0;
}

.day-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
}

.day-dot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.day-dot-num {
    font-size: 0.65rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.day-done .day-dot-icon {
    background: var(--color-primary);
    color: #fff;
}

.day-missed .day-dot-icon {
    background: #f3e8e8;
    color: #c0392b;
    border: 1.5px solid #e0b3b3;
}

.day-today .day-dot-icon {
    background: var(--color-bg-subtle);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.day-future .day-dot-icon {
    background: var(--color-bg-subtle);
    color: #b0bfbb;
    border: 1.5px dashed #c8d5d2;
}

/* afvinken knop */
.hero-btn-complete {
    display: block;
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    margin-top: 0.25rem;
}

.hero-btn-complete:hover:not(:disabled) {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.hero-btn-complete.hero-btn-done {
    background: var(--color-success);
    opacity: 0.85;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* onboarding prompt (geen profiel) */
.hero-no-profile {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.hero-no-profile p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0 0 0.85rem 0;
    line-height: 1.55;
}

.hero-btn-onboard {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-btn-onboard:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
}

/* skeleton (laadtoestand) */
.hero-card.skeleton {
    border: 1px solid var(--color-border);
}

/* ── Legacy aliases (voor evt. derde partijen) ────────────────────── */
.action-card { /* behoud: gebruikt in Dagkompas preview */
    background: var(--color-bg-light);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.btn-complete {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-complete:hover:not(:disabled) {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-complete:active:not(:disabled) {
    transform: translateY(0);
}

.btn-complete:disabled {
    background: var(--color-success);
    opacity: 0.8;
    cursor: default;
}

/* ── No Profile Prompt ──────────────────────────────────────────────── */

.no-profile-prompt {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.no-profile-prompt p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.btn-onboard {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-onboard:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
}

/* ── Info Section ────────────────────────────────────────────────────– */

.info-section {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-section h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.focus-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0.5rem 0 1rem 0;
}

.info-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ── Quick Links ────────────────────────────────────────────────────── */

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.link-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-text-primary);
    transition: all 0.2s ease;
}

.link-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.link-icon {
    font-size: 1.5rem;
    line-height: 1.2;
}

.link-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.link-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.link-subtext {
    font-size: 0.84rem;
    color: var(--color-text-secondary);
    line-height: 1.45;
}

/* ── Skeleton Loading ──────────────────────────────────────────────── */

@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    pointer-events: none;
}

.skeleton-line,
.skeleton-btn {
    border-radius: 6px;
    background: linear-gradient(90deg, #e8edf4 25%, #f4f7fb 50%, #e8edf4 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s infinite linear;
    margin-bottom: 0.75rem;
}

.skeleton-line.sk-wide  { height: 14px; width: 90%; }
.skeleton-line.sk-medium { height: 14px; width: 65%; }
.skeleton-line.sk-narrow { height: 14px; width: 40%; }
.skeleton-btn            { height: 42px; width: 180px; border-radius: 8px; margin-top: 0.5rem; }

/* ── Mobile Responsive Design ──────────────────────────────────────── */

@media (max-width: 640px) {
    .home-header {
        padding: 2rem 1rem 1.5rem;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .home-main {
        padding: 0 1rem 2rem;
        margin: 1.5rem auto 0;
    }

    .hero-card {
        padding: 1.2rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-description,
    .hero-tip-text,
    .hero-no-profile p {
        font-size: 0.92rem;
    }

    .action-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .action-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .action-title {
        font-size: 1.25rem;
    }

    .day-indicators {
        justify-content: center;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Skeleton Loading ──────────────────────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-line,
.skeleton-btn {
    border-radius: 6px;
    background: linear-gradient(90deg, #e8edf4 25%, #f4f7fb 50%, #e8edf4 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s infinite linear;
    margin-bottom: 0.75rem;
}

.skeleton-line.sk-wide  { height: 14px; width: 90%; }
.skeleton-line.sk-medium { height: 14px; width: 65%; }
.skeleton-line.sk-narrow { height: 14px; width: 40%; }
.skeleton-btn            { height: 42px; width: 180px; border-radius: 8px; margin-top: 0.5rem; }

/* ── Save-profile toast ────────────────────────────────────────────── */
.save-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #3f7561;
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(44, 73, 60, 0.25);
    z-index: 500;
    animation: toast-in 0.25s ease;
    white-space: nowrap;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Storage error banner ───────────────────────────────────────────── */
.storage-error-banner {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    color: #7f1d1d;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    line-height: 1.5;
}

/* ── Question progress (step 1) ────────────────────────────────────── */
.question-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.question-progress-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}

.question-progress-bar {
    flex: 1;
    height: 6px;
    background: #dbe3ef;
    border-radius: 99px;
    overflow: hidden;
}

.question-progress-fill {
    height: 100%;
    background: #0f62fe;
    border-radius: 99px;
    transition: width 0.3s ease;
}

/* ── Post-result CTA block ─────────────────────────────────────────── */
.result-cta-block {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, #eef8f3 0%, #f9f3e7 100%);
    border: 1.5px solid #d7e7dc;
    border-radius: 22px;
    margin-top: 1.5rem;
}

.result-cta-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1d2733;
    margin-bottom: 0.5rem;
}

.result-cta-sub {
    color: #4b5968;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.result-cta-btn {
    display: inline-block;
    font-size: 1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

body {
    font-family: Inter, "Segoe UI", sans-serif;
    background: radial-gradient(circle at 15% -10%, #fff8ee 0%, transparent 45%),
                radial-gradient(circle at 90% 0%, #eef8f4 0%, transparent 40%),
                #f8f7f3;
    color: #2f3a36;
    margin: 0;
}

.onboarding-page {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1rem 3rem;
}

.onboarding-header {
    margin-bottom: 1rem;
}

.onboarding-header h1 {
    margin-bottom: 0.5rem;
    color: #20372f;
    letter-spacing: -0.02em;
}

.onboarding-header p {
    color: #60726c;
}

.onboarding-card {
    background: #fffdf9;
    border: 1px solid #e9dfcf;
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(79, 66, 43, 0.08);
}

.onboarding-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
}

@media (max-width: 560px) {
    .grid-two { grid-template-columns: 1fr; }
}

.grid-two label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 0.2rem;
}

.grid-two input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #b9c6dc;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    font: inherit;
    margin-top: 0.1rem;
}

/* Verberg browser-native spinner op number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.helper-text {
    color: #4d5f59;
    margin-top: 0;
}

/* Veldvalidatie */
.required-mark {
    color: #dc2626;
    margin-left: .15em;
    font-weight: 700;
}

label.field-error input,
label.field-error select {
    border-color: #dc2626 !important;
    background: #fef2f2;
}

label.field-error .gender-buttons .gender-btn:not(.selected) {
    border-color: #dc2626;
}

.field-error-msg {
    display: block;
    color: #dc2626;
    font-size: .8rem;
    font-weight: 600;
    margin-top: .25rem;
}

.primary-button {
    display: inline-block;
    background: linear-gradient(135deg, #5a8f7a 0%, #3f7561 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(52, 93, 76, 0.25);
}

.primary-button.full-width {
    width: 100%;
}

.primary-button:hover {
    background: linear-gradient(135deg, #4f846f 0%, #376855 100%);
}

.secondary-button {
    display: inline-block;
    background: #fff;
    color: #3f7561;
    border: 1.5px solid #9fc8b5;
    border-radius: 14px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.secondary-button:hover {
    background: #eef4ff;
}

/* ── Focus-visible (toetsenbordbediening) ───────────────────────── */
.primary-button:focus-visible,
.secondary-button:focus-visible,
.likert-btn:focus-visible,
.lifestyle-btn:focus-visible {
    outline: 3px solid #0f62fe;
    outline-offset: 2px;
}

a:focus-visible {
    outline: 3px solid #0f62fe;
    outline-offset: 2px;
    border-radius: 3px;
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.validation-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    color: #664d03;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Unanswered row highlight op validatie-fout */
.likert-row.row-error {
    border-color: #ef4444;
    background: #fff5f5;
}

@media (max-width: 480px) {
    .likert-row {
        padding: 0.75rem 0.65rem;
        gap: 0.5rem;
    }

    .likert-text {
        font-size: 0.97rem;
    }
}

/* ── Stap-navigator ──────────────────────────────────────────────── */
.step-nav {
    margin-bottom: 1.25rem;
}

.step-nav-track {
    height: 4px;
    background: #dbe3ef;
    border-radius: 99px;
    margin-bottom: 0.9rem;
    overflow: hidden;
}

.step-nav-fill {
    height: 100%;
    background: #0f62fe;
    border-radius: 99px;
    transition: width 0.4s ease;
}

.step-nav-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}

.step-bubble {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #b9c6dc;
    background: #fff;
    color: #7a8ea8;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.step-item.active .step-bubble {
    border-color: #0f62fe;
    background: #0f62fe;
    color: #fff;
}

.step-item.done .step-bubble {
    border-color: #22c55e;
    background: #22c55e;
    color: #fff;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #7a8ea8;
}

.step-item.active .step-label {
    color: #0f62fe;
}

.step-item.done .step-label {
    color: #22c55e;
}

/* ── Profiel samenvatting ────────────────────────────────────────── */
.profile-summary-card {
    background: linear-gradient(145deg, #3f7561 0%, #5a8f7a 100%);
    border: none;
    color: #fff;
}

.profile-summary-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f5fff9;
    opacity: 1;
    margin: 0 0 0.4rem;
}

.profile-summary-headline {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
    color: #ffffff;
}

.profile-summary-sub {
    font-size: 0.95rem;
    color: #f3fbf6;
    opacity: 1;
    margin: 0;
}

/* ── Big Five Likert questionnaire ──────────────────────────────── */

.likert-group {
    margin-bottom: 1.25rem;
}

.likert-trait-label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3b5282;
    margin: 0 0 0.3rem;
}

.likert-scale-header {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
    padding-right: 0.2rem;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    color: #7a8ea8;
    font-weight: 600;
    /* align with the 5 buttons: each 2.1rem wide + 0.35rem gap = ~11.4rem total */
    width: calc(5 * 2.1rem + 4 * 0.35rem);
    margin-left: auto;
}

.likert-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #f8fbff;
    margin-bottom: 0.45rem;
    transition: border-color 0.2s;
    flex-wrap: wrap;
}

.likert-row.answered {
    border-color: #0f62fe;
    background: #eef4ff;
}

.likert-text {
    flex: 1 1 200px;
    line-height: 1.5;
    font-size: 0.93rem;
}

.likert-scale {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.likert-btn {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    border: 1.5px solid #b9c6dc;
    background: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: #3b5282;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1;
}

.likert-btn:hover {
    background: #e8f0ff;
    border-color: #0f62fe;
}

.likert-btn.active {
    background: #0f62fe;
    border-color: #0f62fe;
    color: #fff;
}

/* ── Radar / spider chart ────────────────────────────────────────── */

.radar-wrap {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0 1.25rem;
}

.radar-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 12px;
}

.radar-ring {
    fill: none;
    stroke: #c8d7ee;
    stroke-width: 1;
}

.radar-spoke {
    stroke: #c8d7ee;
    stroke-width: 1;
}

.radar-data {
    fill: rgba(99, 102, 241, 0.18);
    stroke: #6366f1;
    stroke-width: 2;
    stroke-linejoin: round;
}

.radar-dot {
    fill: #6366f1;
}

.radar-label {
    font-size: 11px;
    fill: #1d2733;
    font-family: Inter, "Segoe UI", sans-serif;
    font-weight: 600;
}

/* ── Profiel resultaat ───────────────────────────────────────────── */

.profile-result {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Trait bars — Big Five */

.trait-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.trait-row {
    display: grid;
    grid-template-columns: 120px 1fr 56px 72px;
    align-items: center;
    gap: 0.6rem;
}

@media (max-width: 480px) {
    .trait-row {
        grid-template-columns: 1fr 48px 64px;
        grid-template-rows: auto auto;
    }

    .trait-label {
        grid-column: 1 / -1;
        font-size: 0.85rem;
    }

    .trait-bar-wrap {
        grid-column: 1;
    }
}

.trait-label {
    font-weight: 600;
    font-size: 0.92rem;
}

.trait-bar-wrap {
    background: #e9eef6;
    border-radius: 99px;
    height: 10px;
    overflow: hidden;
}

.trait-bar {
    height: 100%;
    border-radius: 99px;
    transition: width 0.6s ease;
}

.trait-bar.openness          { background: #6366f1; }
.trait-bar.conscientiousness { background: #0ea5e9; }
.trait-bar.extraversion      { background: #f59e0b; }
.trait-bar.agreeableness     { background: #22c55e; }
.trait-bar.neuroticism       { background: #ef4444; }

.trait-score {
    font-weight: 700;
    font-size: 0.95rem;
    text-align: right;
}

.trait-score small {
    font-weight: 400;
    font-size: 0.75rem;
    color: #586b65;
}

.trait-badge {
    display: inline-block;
    border-radius: 99px;
    padding: 0.15rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}

.badge-high { background: #dcfce7; color: #166534; }
.badge-mid  { background: #fef9c3; color: #713f12; }
.badge-low  { background: #fee2e2; color: #991b1b; }

/* Metric tiles — fysiek profiel */

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.65rem;
}

.metric-tile {
    background: #f0f5ff;
    border: 1px solid #d6e4ff;
    border-radius: 12px;
    padding: 0.9rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f3460;
    line-height: 1;
}

.metric-value small {
    font-size: 0.85rem;
    font-weight: 400;
    color: #7a8ea8;
}

.metric-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #3b5282;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.metric-sub {
    font-size: 0.8rem;
    color: #445b53;
}

.risk-tile.risk-low    { background: #dcfce7; border-color: #86efac; }
.risk-tile.risk-low    .metric-value { color: #166534; }
.risk-tile.risk-medium { background: #fef9c3; border-color: #fde68a; }
.risk-tile.risk-medium .metric-value { color: #713f12; }
.risk-tile.risk-high   { background: #fee2e2; border-color: #fca5a5; }
.risk-tile.risk-high   .metric-value { color: #991b1b; }

/* Score / waist tile colours */
.tile-good { background: #f0fdf4; border-color: #86efac; }
.tile-good .metric-value { color: #166534; }
.tile-mid  { background: #fffbeb; border-color: #fde68a; }
.tile-mid  .metric-value { color: #713f12; }
.tile-bad  { background: #fff1f2; border-color: #fca5a5; }
.tile-bad  .metric-value { color: #991b1b; }

/* BMI zone bar */
.bmi-zone-wrap {
    margin: 0 0 1.4rem;
}

.bmi-zone-bar {
    position: relative;
    display: flex;
    height: 18px;
    border-radius: 99px;
    overflow: visible;
    gap: 2px;
}

.bmi-zone {
    flex: 1;
    height: 100%;
}

.bmi-zone:first-child { border-radius: 99px 0 0 99px; }
.bmi-zone:last-child  { border-radius: 0 99px 99px 0; }

.bmi-under  { background: #93c5fd; flex: 1.5; } /* <18.5  */
.bmi-normal { background: #4ade80; flex: 2.2; } /* 18.5-25 */
.bmi-over   { background: #fbbf24; flex: 1.7; } /* 25-30 */
.bmi-obese  { background: #f87171; flex: 3;   } /* 30-40 */

.bmi-marker {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 26px;
    background: #1d2733;
    border-radius: 2px;
    transform: translateX(-50%);
    pointer-events: none;
}

.bmi-zone-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #445b53;
    margin-top: 4px;
}

.bmi-value-line {
    font-size: 0.88rem;
    margin: 0.4rem 0 0;
    color: #3b5282;
}

/* Field hints and optional tag */
.field-hint {
    display: block;
    font-size: 0.78rem;
    color: #7a8ea8;
    font-weight: 400;
    margin-bottom: 2px;
    line-height: 1.3;
}

.optional-tag {
    font-size: 0.72rem;
    font-weight: 600;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 4px;
    padding: 1px 5px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Lifestyle 4-punt schaal */
.lifestyle-scale {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.lifestyle-btn {
    padding: 0.35rem 0;
    width: 5.5rem;
    text-align: center;
    font-size: 0.8rem;
    border-radius: 6px;
    border: 1.5px solid #c8d7ee;
    background: #fff;
    color: #3b5282;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

@media (max-width: 480px) {
    .lifestyle-scale {
        gap: 0.3rem;
        flex-wrap: nowrap;
    }

    .lifestyle-btn {
        flex: 1;
        min-width: 0;
        width: auto;
        font-size: 0.82rem;
        padding: 0.55rem 0;
    }
}

.lifestyle-btn:hover {
    background: #eff6ff;
    border-color: #0f62fe;
}

.lifestyle-btn.active {
    background: #0f62fe;
    border-color: #0f62fe;
    color: #fff;
    font-weight: 600;
}

/* Pillar bars — leefstijl */

.pillar-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pillar-row {
    display: grid;
    grid-template-columns: 160px 1fr 56px;
    align-items: center;
    gap: 0.6rem;
}

@media (max-width: 480px) {
    .pillar-row {
        grid-template-columns: 1fr 48px;
        grid-template-rows: auto auto;
    }

    .pillar-label {
        grid-column: 1 / -1;
    }
}

.pillar-label {
    font-weight: 600;
    font-size: 0.92rem;
}

.pillar-bar-wrap {
    background: #e9eef6;
    border-radius: 99px;
    height: 10px;
    overflow: hidden;
}

.pillar-bar {
    height: 100%;
    border-radius: 99px;
    transition: width 0.6s ease;
}

.pillar-good { background: #22c55e; }
.pillar-mid  { background: #f59e0b; }
.pillar-low  { background: #ef4444; }

.pillar-score {
    font-weight: 700;
    font-size: 0.95rem;
    text-align: right;
}

.pillar-score small {
    font-weight: 400;
    font-size: 0.75rem;
    color: #7a8ea8;
}

/* ── Home-pagina ────────────────────────────────────────────────────── */
.home-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #334155;
    font-size: 0.95rem;
}

.home-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-disclaimer {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.home-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.home-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: #eef6ff;
    border: 1px solid #d7e8ff;
    color: #1e3a5f;
    font-size: 0.82rem;
    font-weight: 600;
}

.home-how-card h3 {
    font-size: 1rem;
    margin: 0 0 0.3rem;
}

.home-trust-card {
    border-top: 3px solid #9fc8b5;
}

.home-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.6rem;
}

.home-step-tile {
    border: 1px solid #e4ddd2;
    border-radius: 14px;
    padding: 0.75rem;
    background: #fffefb;
}

.home-step-tile p {
    margin: 0;
    color: #3f504b;
    font-size: 0.9rem;
}

.home-preview-card h2 {
    margin-top: 0.2rem;
}

.home-preview-mockup {
    border: 1px solid #d8e3f2;
    border-radius: 14px;
    padding: 0.85rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
}

.home-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    color: #1f3b5b;
}

.home-preview-bars {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.home-preview-bars div {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: #334155;
}

.home-preview-bars b {
    display: block;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #34d399);
}

.home-preview-tip {
    margin: 0.7rem 0 0;
    font-size: 0.88rem;
    color: #14532d;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    padding: 0.5rem 0.6rem;
}

.home-checkin-promise {
    margin: 0.8rem 0 0;
    font-weight: 700;
    color: #1d4ed8;
}

.home-qa-card h2 {
    margin-top: 0.2rem;
}

.home-qa-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.home-qa-item {
    border: 1px solid #e4ddd2;
    border-radius: 14px;
    padding: 0.75rem;
    background: #fffefb;
}

.home-qa-item h3 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    color: #2f3a36;
}

.home-qa-item p {
    margin: 0;
    color: #475952;
    font-size: 0.88rem;
}

.focus-coach-line {
    background: #f2faf5;
    border: 1px solid #d1eadc;
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    color: #356a56;
}

.focus-progress-line {
    color: #2f6a53;
    font-weight: 600;
}

.focus-if-then {
    margin-top: 0.35rem;
    color: #466258;
    font-style: italic;
}

@media (max-width: 860px) {
    .home-step-grid {
        grid-template-columns: 1fr;
    }

    .home-preview-bars div {
        grid-template-columns: 100px 1fr;
    }

    .home-qa-list {
        grid-template-columns: 1fr;
    }
}

/* ── Substance-hint ─────────────────────────────────────────────── */
.substance-hint {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

/* ── Opnieuw invullen ────────────────────────────────────────────── */
.result-restart {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* ── badge-bad (neuroticisme hoog) ─────────────────────────────── */
.badge-bad {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── Neuroticisme context-noot ──────────────────────────────────── */
.trait-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #78350f;
    margin-top: 0.75rem;
    line-height: 1.55;
}

/* ── Eerste-stap actie card ─────────────────────────────────────── */
.action-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
}

.action-headline {
    font-size: 1.2rem;
    font-weight: 700;
    color: #14532d;
    margin: 0.25rem 0 0.6rem;
}

.action-body {
    font-size: 0.925rem;
    color: #166534;
    line-height: 1.6;
    margin: 0;
}
.privacy-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    color: #166534;
    margin-bottom: 1rem;
}

/* ── Bronvermelding link ────────────────────────────────────────────── */
.source-link {
    font-size: 0.8rem;
    color: #0f62fe;
    text-decoration: none;
    white-space: nowrap;
}

.source-link:hover {
    text-decoration: underline;
}

/* ── Disclaimer block ──────────────────────────────────────────────── */
.disclaimer-block {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #94a3b8;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
}

.disclaimer-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.disclaimer-block p {
    margin: 0;
}

.disclaimer-block a {
    color: #0f62fe;
    text-decoration: none;
}

.disclaimer-block a:hover {
    text-decoration: underline;
}

/* ── Site footer ────────────────────────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 1.5rem 1rem;
    font-size: 0.8rem;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
}

.site-footer a {
    color: #64748b;
    text-decoration: none;
}

.site-footer a:hover {
    color: #0f62fe;
    text-decoration: underline;
}

/* ── Methodiek-pagina ───────────────────────────────────────────────── */
.methodiek-page .method-list {
    padding-left: 1.25rem;
    margin: 0.75rem 0 1rem;
    line-height: 1.7;
    color: #334155;
}

.source-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    margin-top: 1rem;
}

.source-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin: 0 0 0.4rem;
}

.source-list {
    padding-left: 1.1rem;
    margin: 0;
    font-size: 0.825rem;
    color: #475569;
    line-height: 1.6;
}

.source-list a {
    color: #0f62fe;
    text-decoration: none;
}

.source-list a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════
   LONGEVITY SCORE
═══════════════════════════════════════════════════════════════════ */
.longevity-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

.longevity-score-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.longevity-ring {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.longevity-svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.ls-track {
    fill: none;
    stroke: #e0f2fe;
    stroke-width: 10;
}

.ls-fill {
    fill: none;
    stroke: #0ea5e9;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dashoffset: 0;
    transition: stroke-dasharray 0.6s ease;
}

.longevity-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.longevity-number {
    font-size: 2rem;
    font-weight: 800;
    color: #0369a1;
}

.longevity-max {
    font-size: 0.75rem;
    color: #64748b;
}

.longevity-meta {
    flex: 1;
    min-width: 200px;
}

.longevity-label {
    font-size: 0.975rem;
    font-weight: 600;
    color: #0c4a6e;
    margin: 0 0 0.4rem;
}

.longevity-age {
    font-size: 0.875rem;
    color: #075985;
    margin: 0 0 0.5rem;
    font-style: italic;
}

.longevity-helper {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* component breakdown bars */
.longevity-components {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.longevity-comp-row {
    display: grid;
    grid-template-columns: 11rem 1fr 2.5rem;
    align-items: center;
    gap: 0.75rem;
}

.longevity-comp-label {
    font-size: 0.825rem;
    color: #334155;
    white-space: nowrap;
}

.longevity-comp-bar-wrap {
    background: #e2e8f0;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
}

.longevity-comp-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.longevity-comp-bar.tile-good { background: #22c55e; }
.longevity-comp-bar.tile-mid  { background: #f59e0b; }
.longevity-comp-bar.tile-bad  { background: #ef4444; }

.longevity-comp-score {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    text-align: right;
}

/* ═══════════════════════════════════════════════════════════════════
   GEPERSONALISEERD ACTIEPLAN
═══════════════════════════════════════════════════════════════════ */
.actieplan-card {
    border-top: 4px solid #6366f1;
}

.actieplan-headline {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d2733;
    margin: 0.25rem 0 0.75rem;
}

.actieplan-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.actie-stap {
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-left: 4px solid #6366f1;
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.actie-stap-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.actie-nr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #6366f1;
    color: #fff;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
}

.actie-emoji {
    font-size: 1.4rem;
    line-height: 1;
}

.actie-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.actie-titel {
    font-size: 0.975rem;
    color: #1d2733;
    font-weight: 700;
}

.actie-frequentie {
    font-size: 0.775rem;
    color: #3f7561;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.actie-omschrijving {
    font-size: 0.875rem;
    color: #334641;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 480px) {
    .longevity-comp-row {
        grid-template-columns: 9rem 1fr 2rem;
    }

    .longevity-score-wrap {
        gap: 1.25rem;
    }
}

/* ── Blue Zones Power 9 ─────────────────────────────────────────── */
.bluezone-card {
    border-top: 4px solid #2e7d32;
}

.bz-score-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: .75rem 0 1.25rem;
}

.bz-badge {
    padding: .3rem .75rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
}

.bz-present  { background: #e8f5e9; color: #2e7d32; }
.bz-partial  { background: #fff8e1; color: #f57f17; }
.bz-missing  { background: #fce4ec; color: #c62828; }

.bz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: .5rem;
}

.bz-tile {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .9rem 1rem;
    border-radius: 12px;
    font-size: .85rem;
    line-height: 1.35;
    border: 1.5px solid transparent;
}

.bz-tile-aanwezig    { background: #e8f5e9; border-color: #a5d6a7; }
.bz-tile-gedeeltelijk { background: #fff8e1; border-color: #ffe082; }
.bz-tile-ontbreekt   { background: #fce4ec; border-color: #f48fb1; }

.bz-tile-emoji  { font-size: 1.5rem; }
.bz-tile-status { font-size: .8rem; font-weight: 700; }
.bz-tile-name   { font-weight: 600; }
.bz-tile-tip    { font-size: .78rem; color: #555; font-style: italic; margin-top: .2rem; }

/* Blue Zones step buttons */
.bz-scale-buttons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.bz-scale-btn {
    padding: .4rem 1rem;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    font-size: .85rem;
    transition: background .15s, border-color .15s;
}

.bz-scale-btn.selected {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
    font-weight: 600;
}

@media (max-width: 600px) {
    .bz-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 380px) {
    .bz-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Geslacht knoppen (stap 2) ──────────────────────────────────── */
.gender-buttons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}

.gender-btn {
    padding: .4rem 1.1rem;
    border-radius: 8px;
    border: 1.5px solid #ccc;
    background: #f9f9f9;
    cursor: pointer;
    font-size: .9rem;
    transition: background .15s, border-color .15s;
}

.gender-btn.selected {
    background: #1a6b3c;
    border-color: #1a6b3c;
    color: #fff;
    font-weight: 600;
}

/* ── Biologische leeftijd badges ────────────────────────────────── */
.bio-age-badge {
    display: inline-block;
    margin-left: .5rem;
    padding: .2rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}

.bio-younger { background: #e8f5e9; color: #2e7d32; }
.bio-older   { background: #fce4ec; color: #c62828; }
.bio-equal   { background: #e3f2fd; color: #1565c0; }

/* ═══════════════════════════════════════════════
   TIP VAN DE DAG
═══════════════════════════════════════════════ */
.tip-card {
    border-left: 5px solid #4caf50;
    background: #f9fdf9;
}

.tip-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: .75rem 0 .5rem;
}

.tip-emoji {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.tip-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d2733;
    margin: 0 0 .2rem;
}

.tip-categorie {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    padding: .15rem .65rem;
}

.tip-tekst {
    color: #374151;
    line-height: 1.7;
    margin: .5rem 0;
}

.tip-bron {
    font-size: .82rem;
    color: #6b7280;
    margin-top: .25rem;
}

/* ═══════════════════════════════════════════════
   HOME — terugkerende gebruiker
═══════════════════════════════════════════════ */
.home-return-card h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d2733;
    margin-bottom: .5rem;
}

.home-return-card p {
    color: #374151;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.home-return-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}

.home-last-checkin {
    font-size: .9rem;
    color: #6b7280;
    margin-top: .25rem;
}

.home-disclaimer {
    text-align: center;
    font-size: .8rem;
    color: #9ca3af;
    margin-top: 2rem;
}

/* ═══════════════════════════════════════════════
   CHECK-IN — formulier
═══════════════════════════════════════════════ */
.checkin-card {
    max-width: 720px;
    margin: 0 auto;
}

.checkin-week {
    font-size: .85rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: .25rem;
}

.checkin-streak {
    font-size: .9rem;
    font-weight: 600;
    color: #d97706;
    margin-bottom: 1rem;
}

.checkin-questions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.25rem 0;
}

.checkin-q {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: border-color .2s;
}

/* Voortgangsindicator */
.checkin-progress-wrap {
    margin: .6rem 0 1.1rem;
}

.checkin-progress-text {
    font-size: .78rem;
    color: #6b7280;
    display: block;
    margin-bottom: .3rem;
}

.checkin-progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}

.checkin-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80, #16a34a);
    border-radius: 99px;
    transition: width .35s ease;
}

.checkin-q.row-error {
    border-color: #ef4444;
    background: #fef2f2;
}

.checkin-q-label {
    font-size: 1rem;
    font-weight: 700;
    color: #1d2733;
    margin: 0 0 .2rem;
}

.checkin-q-sub {
    font-size: .85rem;
    color: #6b7280;
    margin: 0 0 .75rem;
}

.checkin-scale {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.checkin-btn {
    flex: 1 1 auto;
    min-width: 100px;
    padding: .55rem .5rem;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    font-size: .85rem;
    cursor: pointer;
    transition: all .18s;
    text-align: center;
    color: #374151;
}

.checkin-btn:hover {
    border-color: #6366f1;
    background: #f5f3ff;
}

.checkin-btn.selected {
    border-color: #6366f1;
    background: #6366f1;
    color: #fff;
    font-weight: 700;
}

.validation-banner {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
    border-radius: 8px;
    padding: .6rem 1rem;
    font-size: .88rem;
    margin-bottom: .75rem;
}

/* ── Optionele metingen ───────────────────────────── */
.checkin-optional {
    margin: 1.25rem 0 .5rem;
    padding: 1rem 1.1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
}

.checkin-optional-fields {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: .6rem;
}

.checkin-opt-label {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-size: .88rem;
    color: #374151;
    font-weight: 500;
    flex: 1;
    min-width: 130px;
}

.checkin-opt-input {
    padding: .45rem .7rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #1f2937;
    background: #fff;
    transition: border-color .15s;
    width: 100%;
}

.checkin-opt-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

/* ═══════════════════════════════════════════════
   CHECK-IN — resultaat
═══════════════════════════════════════════════ */
.checkin-result-card {
    max-width: 720px;
    margin: 0 auto;
}

.checkin-score-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
    flex-wrap: wrap;
}

.checkin-score-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 6px solid;
}

.checkin-score-circle.score-good  { border-color: #22c55e; background: #f0fdf4; }
.checkin-score-circle.score-mid   { border-color: #f59e0b; background: #fffbeb; }
.checkin-score-circle.score-low   { border-color: #ef4444; background: #fef2f2; }

.checkin-score-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #1d2733;
}

.checkin-score-max {
    font-size: .8rem;
    color: #6b7280;
}

.checkin-delta {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .35rem;
}

.delta-up   { color: #16a34a; }
.delta-down { color: #dc2626; }

.checkin-feedback {
    color: #374151;
    line-height: 1.65;
    font-size: .95rem;
}

/* Dimensie-tegels */
.checkin-dim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.checkin-dim-tile {
    border-radius: 12px;
    padding: .9rem .75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    text-align: center;
    border: 2px solid transparent;
}

.checkin-dim-tile.score-good { background: #f0fdf4; border-color: #86efac; }
.checkin-dim-tile.score-mid  { background: #fffbeb; border-color: #fcd34d; }
.checkin-dim-tile.score-low  { background: #fef2f2; border-color: #fca5a5; }

.checkin-dim-emoji  { font-size: 1.6rem; }
.checkin-dim-label  { font-size: .78rem; font-weight: 600; color: #374151; }
.checkin-dim-score  { font-size: 1.15rem; font-weight: 800; color: #1d2733; }
.checkin-dim-score small { font-size: .7rem; font-weight: 400; color: #9ca3af; }
.checkin-dim-delta  { font-size: .78rem; font-weight: 700; }
.checkin-dim-tip    { font-size: .72rem; color: #6b7280; line-height: 1.4; margin-top: .15rem; }

/* Historiek balkgrafiek */
.checkin-history {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.checkin-history-title {
    font-size: .9rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: .75rem;
}

.checkin-history-bars {
    display: flex;
    align-items: flex-end;
    gap: .4rem;
    height: 80px;
}

.checkin-hist-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.checkin-hist-bar-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.checkin-hist-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: height .4s ease;
}

.checkin-hist-bar.score-good { background: #22c55e; }
.checkin-hist-bar.score-mid  { background: #f59e0b; }
.checkin-hist-bar.score-low  { background: #ef4444; }

.checkin-hist-label {
    font-size: .65rem;
    color: #9ca3af;
    margin-top: .25rem;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 480px) {
    .checkin-scale { flex-direction: column; }
    .checkin-btn   { min-width: unset; }
    .checkin-score-wrap { flex-direction: column; text-align: center; }
    .home-return-actions { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   PRODUCT PAGE — /dagkompas
═══════════════════════════════════════════════ */
.product-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.product-hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.product-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--color-text-primary);
}

.product-hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.product-section {
    margin-top: 3rem;
}

.product-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--color-text-primary);
}

.product-section p {
    color: var(--color-text-secondary);
    margin: 0 0 0.75rem;
    line-height: 1.7;
}

.product-section--subtle {
    background: var(--color-bg-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

/* ── Cards grid ── */
.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-sm);
}

.product-card--privacy {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.product-card-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: var(--color-text-primary);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

.product-card a {
    color: var(--color-primary);
}

/* ── Compare columns ── */
.product-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.compare-col {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-sm);
}

.compare-col--accent {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.compare-label {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--color-text-primary);
}

.compare-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.compare-list li {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.product-hint {
    margin-top: 1rem !important;
    font-size: 0.875rem;
    font-style: italic;
}

/* ── CTA ── */
.product-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

@media (max-width: 560px) {
    .product-compare { grid-template-columns: 1fr; }
    .product-cards   { grid-template-columns: 1fr; }
    .product-cta     { flex-direction: column; align-items: stretch; }
}

/* ═══════════════════════════════════════════════
   PRODUCT PAGE — preview / voorbeeld blok
═══════════════════════════════════════════════ */
.preview-block {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: var(--shadow-sm);
    margin-top: 1rem;
}

.preview-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin: 0 0 1rem;
}

/* Profile row */
.preview-profile-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.preview-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.preview-profile-name {
    font-weight: 700;
    font-size: .95rem;
    margin: 0 0 .15rem;
    color: var(--color-text-primary);
}

.preview-profile-sub {
    font-size: .8rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Tip van de dag */
.preview-tip {
    display: flex;
    gap: .75rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    margin-bottom: 1rem;
}

.preview-tip-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.preview-tip-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #92400e;
    margin: 0 0 .25rem;
}

.preview-tip-text {
    font-size: .875rem;
    color: #78350f;
    margin: 0;
    line-height: 1.55;
}

/* Action card */
.preview-action {
    background: var(--color-bg-subtle);
    border-radius: var(--radius-sm);
    padding: .875rem 1rem;
}

.preview-action-header {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
}

.preview-action-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.preview-action-title {
    font-weight: 700;
    font-size: .95rem;
    margin: 0 0 .1rem;
    color: var(--color-text-primary);
}

.preview-action-cat {
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: #e0e0e0;
    border-radius: 99px;
    padding: .1rem .5rem;
}

.preview-action-desc {
    font-size: .875rem;
    color: var(--color-text-secondary);
    margin: 0 0 .6rem;
    line-height: 1.55;
}

.preview-why {
    display: flex;
    gap: .5rem;
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: .5rem .75rem;
    font-size: .8rem;
    color: var(--color-text-secondary);
}

.preview-why p {
    margin: 0;
    line-height: 1.5;
}

/* Bar chart */
.preview-chart-legend {
    font-size: .8rem;
    color: var(--color-text-secondary);
    margin: 0 0 .4rem;
}

.preview-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    padding-bottom: 20px;
    position: relative;
}

.preview-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
}

.preview-bar-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
}

.preview-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    transition: height .3s ease;
}

.preview-bar.bar-good { background: #4ade80; }
.preview-bar.bar-ok   { background: #facc15; }
.preview-bar.bar-low  { background: #f87171; }

.preview-bar-label {
    font-size: .7rem;
    color: var(--color-text-secondary);
    margin-top: .25rem;
    white-space: nowrap;
}

.preview-caption {
    font-size: .8rem;
    font-style: italic;
    color: var(--color-text-secondary);
    margin: .75rem 0 0;
    text-align: center;
}

/* ── Preview homepage mock (Dagkompas productpagina) ─────────────── */
.preview-homepage {
    background: #f4f4f4;
    border-radius: var(--radius-lg);
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Eén hero-kaart mock — gespiegeld aan .hero-card op Home.razor */
.preview-hero-card {
    background: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    padding: 1.35rem;
    box-shadow: var(--shadow-md);
}

/* meta: emoji + categorie */
.preview-hero-meta {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .75rem;
}

.preview-hero-emoji {
    font-size: 1.85rem;
    line-height: 1;
}

.preview-hero-cat {
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg-subtle);
    padding: .15rem .6rem;
    border-radius: 20px;
}

/* actie */
.preview-hero-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 .4rem;
    color: var(--color-text-primary);
    line-height: 1.3;
}

.preview-hero-desc {
    font-size: .875rem;
    color: var(--color-text-secondary);
    margin: 0 0 .7rem;
    line-height: 1.6;
}

/* waarom */
.preview-hero-why {
    display: flex;
    gap: .5rem;
    background: #f4f8ff;
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-sm);
    padding: .6rem .75rem;
    margin-bottom: .75rem;
    font-size: .82rem;
    color: var(--color-text-secondary);
}

.preview-hero-why p { margin: 0; line-height: 1.5; }

/* tip (zelfde onderwerp, groen accent) */
.preview-hero-tip {
    background: #f3faf5;
    border-left: 3px solid #2d7a4f;
    border-radius: var(--radius-sm);
    padding: .6rem .75rem;
    margin-bottom: .75rem;
}

.preview-hero-tip-label {
    font-size: .7rem;
    font-weight: 700;
    color: #2d7a4f;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 .25rem;
}

.preview-hero-tip-text {
    font-size: .82rem;
    color: var(--color-text-secondary);
    margin: 0 0 .3rem;
    line-height: 1.55;
}

.preview-hero-tip-source {
    font-size: .72rem;
    color: #7a8b85;
    font-style: italic;
    margin: 0;
}

/* voortgang */
.preview-hero-progress {
    border-top: 1px solid var(--color-border);
    padding-top: .85rem;
    margin-bottom: .75rem;
}

.preview-hero-btn {
    display: block;
    width: 100%;
    background: var(--color-success);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: .6rem 1.25rem;
    font-size: .9rem;
    font-weight: 600;
    cursor: default;
    opacity: .85;
    text-align: center;
}

/* reuse: progress row/bar/msg already defined above */
