/* ============================================================
   ModelCompass — stylesheet
   Powered by Wux AI  ·  merk: groen #55b030 / donkergroen #162A21
   ============================================================ */

:root {
    --brand: #55b030;
    --brand-600: #469328;
    --brand-700: #387520;
    --brand-50: #eef8e8;
    --brand-100: #dcf0cf;
    --ink: #162a21;
    --ink-2: #28463a;

    --bg: #f6f8f5;
    --surface: #ffffff;
    --surface-2: #f1f4ef;
    --border: #e3e8e0;
    --text: #1b2620;
    --text-soft: #5d6b62;
    --text-faint: #8a978e;

    --success: #2f9e44;
    --success-bg: #e8f6ec;
    --warning: #b8860b;
    --warning-bg: #fbf3e0;
    --error: #d6453b;
    --error-bg: #fbeae8;

    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(22, 42, 33, .06), 0 1px 3px rgba(22, 42, 33, .05);
    --shadow: 0 10px 30px -12px rgba(22, 42, 33, .22);
    --shadow-lg: 0 24px 60px -20px rgba(22, 42, 33, .35);
    --maxw: 1200px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
    --bg: #0f1714;
    --surface: #16211c;
    --surface-2: #1c2a23;
    --border: #283a31;
    --text: #e9efe9;
    --text-soft: #a6b5ab;
    --text-faint: #74867b;
    --brand-50: #1a2a1c;
    --brand-100: #1f3522;
    --success-bg: #15291b;
    --warning-bg: #2a2410;
    --error-bg: #2c1816;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 24px 60px -18px rgba(0, 0, 0, .7);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.mc-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mc-ico { width: 1.1em; height: 1.1em; flex: none; }
.mc-rot { transform: rotate(-90deg); }

.mc-skip {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.mc-skip:focus { left: 0; }

/* ---------- Header ---------- */
.mc-header {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.mc-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.mc-brand { display: flex; align-items: center; gap: 12px; }
.mc-brand__mark {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-700));
    color: #fff; box-shadow: var(--shadow-sm);
}
.mc-brand__compass { width: 24px; height: 24px; }
.mc-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.mc-brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; color: var(--text); }
.mc-brand__name span { color: var(--brand); }
.mc-brand__by { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); font-weight: 600; }
.mc-nav { display: flex; align-items: center; gap: 22px; }
.mc-nav a { font-weight: 600; font-size: .92rem; color: var(--text-soft); }
.mc-nav a:hover { color: var(--brand); }

.mc-theme-toggle {
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text-soft); cursor: pointer;
    display: grid; place-items: center; transition: .2s;
}
.mc-theme-toggle:hover { color: var(--brand); border-color: var(--brand); }
.mc-theme-toggle__sun { display: none; }
[data-theme="dark"] .mc-theme-toggle__moon { display: none; }
[data-theme="dark"] .mc-theme-toggle__sun { display: block; }

/* ---------- Buttons & badges ---------- */
.mc-btn {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    font-weight: 600; font-size: .94rem; padding: 11px 18px; border-radius: 11px;
    border: 1px solid transparent; transition: .18s; white-space: nowrap; line-height: 1;
}
.mc-btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.mc-btn--primary:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.mc-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.mc-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.mc-btn--sm { padding: 8px 13px; font-size: .85rem; border-radius: 9px; }

.mc-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
    background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border);
}
.mc-badge--primary { background: var(--brand-50); color: var(--brand-700); border-color: transparent; }
.mc-badge--success { background: var(--success-bg); color: var(--success); border-color: transparent; }
.mc-badge--warning { background: var(--warning-bg); color: var(--warning); border-color: transparent; }
.mc-badge--error { background: var(--error-bg); color: var(--error); border-color: transparent; }
[data-theme="dark"] .mc-badge--primary { color: #8fd86a; }

.mc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; cursor: pointer; background: none; border: 0; font-size: .9rem; }
.mc-link:hover { color: var(--brand-600); text-decoration: underline; }

/* ---------- Hero ---------- */
.mc-hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.mc-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(60% 70% at 85% 10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
        radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%);
    pointer-events: none;
}
.mc-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.mc-hero__copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 16px; font-weight: 800; }
.mc-hl { color: var(--brand); }
.mc-lead { font-size: 1.1rem; color: var(--text-soft); max-width: 36em; }
.mc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.mc-hero__stats { display: flex; gap: 34px; margin: 0; padding-top: 22px; border-top: 1px solid var(--border); }
.mc-hero__stats dt { font-size: 1.7rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.mc-hero__stats dd { margin: 2px 0 0; font-size: .82rem; color: var(--text-faint); }

.mc-stale-note {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
    background: var(--warning-bg); color: var(--warning); padding: 10px 16px; border-radius: 10px; font-size: .9rem; font-weight: 500;
}

/* Orbit visual */
.mc-hero__panel { display: grid; place-items: center; }
.mc-orbit { position: relative; width: 320px; height: 320px; }
.mc-orbit::before, .mc-orbit::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, transparent);
}
.mc-orbit::after { inset: 46px; opacity: .6; }
.mc-orbit__core {
    position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 28px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-700));
    box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite;
}
.mc-orbit__core .mc-ico { width: 44px; height: 44px; }
.mc-orbit__chip {
    position: absolute; display: inline-flex; align-items: center; gap: 7px;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 8px 13px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--text);
    animation: floaty 5s ease-in-out infinite;
}
.mc-orbit__chip .mc-ico { color: var(--brand); width: 16px; height: 16px; }
.mc-orbit__chip--1 { top: 2%; left: 50%; transform: translateX(-50%); }
.mc-orbit__chip--2 { top: 46%; right: -10%; animation-delay: .6s; }
.mc-orbit__chip--3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1.2s; }
.mc-orbit__chip--4 { top: 46%; left: -8%; animation-delay: 1.8s; }
@keyframes floaty { 0%,100% { transform: translateY(0) translateX(var(--tx,0)); } 50% { transform: translateY(-10px) translateX(var(--tx,0)); } }
.mc-orbit__chip--1, .mc-orbit__chip--3 { --tx: -50%; }

/* ---------- Sections ---------- */
.mc-section { padding: 64px 0; }
.mc-section--alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mc-section__head { max-width: 44em; margin-bottom: 30px; }
.mc-section__head h2 { display: flex; align-items: center; gap: 11px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; margin: 0 0 8px; font-weight: 800; }
.mc-section__head h2 .mc-ico { color: var(--brand); width: 1.05em; height: 1.05em; }
.mc-section__head p { margin: 0; color: var(--text-soft); font-size: 1.04rem; }

/* ---------- Tasks ---------- */
.mc-tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.mc-task {
    text-align: left; cursor: pointer; background: var(--surface); border: 1.5px solid var(--border);
    border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; transition: .18s;
}
.mc-task:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.mc-task.is-active { border-color: var(--brand); background: var(--brand-50); box-shadow: var(--shadow); }
.mc-task__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); margin-bottom: 6px; }
.mc-task.is-active .mc-task__icon { background: var(--brand); color: #fff; }
.mc-task__icon .mc-ico { width: 20px; height: 20px; }
.mc-task__label { font-weight: 700; font-size: .98rem; color: var(--text); }
.mc-task__desc { font-size: .82rem; color: var(--text-faint); line-height: 1.4; }

/* ---------- Recommendation ---------- */
.mc-reco { margin-top: 26px; }
.mc-reco__hero {
    background: linear-gradient(135deg, var(--ink), var(--ink-2));
    color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; position: relative; overflow: hidden;
}
.mc-reco__hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 45%, transparent), transparent 70%); }
.mc-reco__tag { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9fe27a; }
.mc-reco__name { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.mc-reco__vendor { color: rgba(255,255,255,.7); font-size: .95rem; }
.mc-reco__why { margin: 12px 0 0; color: rgba(255,255,255,.88); max-width: 46em; }
.mc-reco__side { position: relative; z-index: 1; text-align: center; }
.mc-reco__match { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.mc-reco__matchlabel { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); }
.mc-reco__cta { margin-top: 14px; }

.mc-reco__alts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.mc-reco__alt {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: .18s;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mc-reco__alt:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.mc-reco__alt b { font-size: .95rem; display: block; }
.mc-reco__alt small { color: var(--text-faint); font-size: .78rem; }
.mc-reco__altmatch { font-weight: 800; color: var(--brand); font-size: 1.05rem; }

/* ---------- Toolbar ---------- */
.mc-toolbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 14px; align-items: end; }
.mc-field--search { grid-column: span 2; }
.mc-field { display: flex; flex-direction: column; gap: 5px; position: relative; }
.mc-field label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.mc-field select, .mc-field input {
    width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font-size: .92rem; font-family: inherit; transition: .15s;
}
.mc-field select:focus, .mc-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.mc-field--search { justify-content: flex-end; }
.mc-field--search .mc-ico { position: absolute; left: 13px; bottom: 12px; color: var(--text-faint); pointer-events: none; }
.mc-field--search input { padding-left: 40px; }

.mc-resultbar { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 18px; font-size: .9rem; color: var(--text-soft); gap: 14px; flex-wrap: wrap; }
.mc-resultbar__right { display: flex; align-items: center; gap: 16px; }
.mc-segment { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.mc-segment__btn { border: 0; background: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: .86rem; color: var(--text-soft); padding: 7px 14px; border-radius: 8px; transition: .15s; }
.mc-segment__btn.is-active { background: var(--surface); color: var(--brand-700); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .mc-segment__btn.is-active { color: #8fd86a; }

/* ---------- Model grid ---------- */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.mc-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px;
    display: flex; flex-direction: column; gap: 14px; transition: .18s; position: relative;
}
.mc-card:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.mc-card--top { border-color: var(--brand); }
.mc-card__toprow { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.mc-card__toprow:empty { display: none; }
.mc-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mc-card__title { font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; line-height: 1.25; }
.mc-card__vendor { font-size: .82rem; color: var(--text-faint); font-weight: 600; margin-top: 2px; }
.mc-card__rank { font-size: .72rem; font-weight: 800; color: var(--brand-700); background: var(--brand-50); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }

.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-tag { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }

.mc-origin { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--text-soft); }
.mc-origin__flag { font-size: .95rem; line-height: 1; }
.mc-eu { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--brand-50); color: var(--brand-700); border: 1px solid transparent; letter-spacing: .02em; }
[data-theme="dark"] .mc-eu { color: #8fd86a; }

/* ---------- Niveau-badges (tiers) ---------- */
.mc-tierbadge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 7px; line-height: 1; white-space: nowrap; }
.mc-tierbadge .mc-ico { width: 13px; height: 13px; }
.mc-tier--topklasse { background: linear-gradient(135deg, #2b3a44, #1c2a21); color: #ffe9b0; }
.mc-tier--professioneel { background: var(--brand); color: #fff; }
.mc-tier--standaard { background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.mc-tier--lichtgewicht { background: #e3f3ec; color: #2f7d52; }
[data-theme="dark"] .mc-tier--lichtgewicht { background: #16291d; color: #6fc98e; }
[data-theme="dark"] .mc-tier--topklasse { background: linear-gradient(135deg, #34454f, #11201a); color: #ffd98a; }

/* Niveau-uitlegblokken */
.mc-tierguide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.mc-tierguide__card { text-align: left; cursor: pointer; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 15px 16px; display: flex; flex-direction: column; gap: 7px; transition: .18s; }
.mc-tierguide__card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.mc-tierguide__card.is-active { border-color: var(--brand); box-shadow: var(--shadow); }
.mc-tierguide__card .mc-tierbadge { align-self: flex-start; }
.mc-tierguide__sub { font-size: .76rem; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .04em; }
.mc-tierguide__desc { font-size: .84rem; color: var(--text-soft); line-height: 1.45; }

.mc-metrics { display: grid; gap: 9px; }
.mc-metric { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 10px; }
.mc-metric__label { font-size: .8rem; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.mc-metric__label .mc-ico { color: var(--text-faint); width: 15px; height: 15px; }
.mc-bar { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.mc-bar__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-600)); transition: width .5s ease; }
.mc-bar__fill--speed { background: linear-gradient(90deg, #2f9e44, #69c97a); }
.mc-metric__val { font-size: .78rem; font-weight: 700; color: var(--text-soft); min-width: 30px; text-align: right; white-space: nowrap; }
.mc-metric__val small { font-weight: 600; color: var(--text-faint); font-size: .82em; }
.mc-metric__val--word { min-width: 64px; }
.mc-metric__na { color: var(--text-faint); font-weight: 500; font-size: .76rem; }

.mc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.mc-cost { display: flex; flex-direction: column; gap: 2px; }
.mc-cost small { font-size: .72rem; color: var(--text-faint); }

.mc-empty { text-align: center; padding: 50px 20px; color: var(--text-faint); }
.mc-empty .mc-ico { width: 40px; height: 40px; margin: 0 auto 12px; }
.mc-more { text-align: center; margin-top: 26px; }

/* ---------- Legend ---------- */
.mc-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mc-legend__item { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.mc-legend__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.mc-legend__item h3 { margin: 0 0 4px; font-size: 1rem; }
.mc-legend__item p { margin: 0; font-size: .88rem; color: var(--text-soft); }

/* ---------- Export ---------- */
.mc-export { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc-export__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.mc-export__card h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; font-size: 1.1rem; }
.mc-export__card h3 .mc-ico { color: var(--brand); }
.mc-export__card p { margin: 0 0 16px; color: var(--text-soft); font-size: .94rem; }
.mc-export__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mc-code { background: var(--ink); color: #cfe8c0; border-radius: 10px; padding: 14px 16px; font-size: .82rem; overflow-x: auto; margin: 0 0 12px; font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace; }
[data-theme="dark"] .mc-code { background: #0a120e; }
.mc-updated { margin-top: 22px; display: flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: .88rem; }
.mc-updated .mc-ico { color: var(--brand); }

/* ---------- Footer ---------- */
.mc-footer { background: var(--ink); color: rgba(255,255,255,.85); }
.mc-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 48px 24px; }
.mc-footer__logo { filter: brightness(0) invert(1); margin-bottom: 16px; }
.mc-footer__brand p { margin: 0; max-width: 40em; color: rgba(255,255,255,.7); font-size: .95rem; }
.mc-footer__links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mc-footer__links a { color: rgba(255,255,255,.8); font-weight: 500; font-size: .94rem; }
.mc-footer__links a:hover { color: var(--brand); }
.mc-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.mc-footer__bar .mc-container { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; font-size: .82rem; color: rgba(255,255,255,.55); }

/* ---------- Modal ---------- */
.mc-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.mc-modal[hidden] { display: none; }
.mc-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 18, 14, .55); backdrop-filter: blur(3px); }
.mc-modal__dialog { position: relative; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto; padding: 30px; }
.mc-modal__close { position: absolute; top: 16px; right: 18px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--text-faint); cursor: pointer; }
.mc-modal__close:hover { color: var(--text); }
.mc-detail__vendor { color: var(--text-faint); font-weight: 600; font-size: .9rem; }
.mc-detail__name { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 12px; }
.mc-detail__desc { color: var(--text-soft); margin: 0 0 20px; }
.mc-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.mc-detail__stat { background: var(--surface-2); border-radius: 12px; padding: 14px; }
.mc-detail__stat small { display: block; color: var(--text-faint); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.mc-detail__stat b { font-size: 1.05rem; }
.mc-detail__section h4 { display: flex; align-items: center; gap: 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); margin: 18px 0 8px; }
.mc-detail__metrics { display: grid; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .mc-hero__inner { grid-template-columns: 1fr; }
    .mc-hero__panel { display: none; }
    .mc-tierguide { grid-template-columns: 1fr 1fr; }
    .mc-export, .mc-footer__inner, .mc-detail__grid { grid-template-columns: 1fr; }
    .mc-reco__hero { grid-template-columns: 1fr; text-align: left; }
    .mc-reco__side { text-align: left; }
}
@media (max-width: 620px) {
    .mc-container { padding: 0 16px; }
    .mc-nav a { display: none; }
    .mc-toolbar { grid-template-columns: 1fr; }
    .mc-field--search { grid-column: span 1; }
    .mc-tierguide { grid-template-columns: 1fr; }
    .mc-hero { padding: 48px 0 36px; }
    .mc-hero__stats { gap: 22px; flex-wrap: wrap; }
    .mc-footer__bar .mc-container { flex-direction: column; gap: 6px; }
    .mc-modal__dialog { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } }

/* ---------- Detailpagina ---------- */
.mc-detailhero { padding: 40px 0 56px; position: relative; }
.mc-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); font-weight: 600; font-size: .9rem; margin-bottom: 22px; }
.mc-back:hover { color: var(--brand); }
.mc-rot-r { transform: rotate(90deg); }
.mc-detailhero__vendor { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text-soft); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.mc-detailhero__name { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 12px; }
.mc-detailhero__tier { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.mc-detailhero__tierdesc { font-size: .92rem; color: var(--text-soft); max-width: 42em; }
.mc-detailhero__desc { font-size: 1.1rem; color: var(--text-soft); max-width: 50em; margin: 0 0 28px; }

.mc-quickgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 26px; }
.mc-quick { display: flex; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.mc-quick__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.mc-quick small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); font-weight: 700; }
.mc-quick b { display: block; font-size: 1.15rem; letter-spacing: -.01em; margin: 1px 0; }
.mc-quick span { font-size: .8rem; color: var(--text-faint); }

.mc-advice { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.mc-advice__col { border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--border); background: var(--surface); }
.mc-advice__col--good { border-color: color-mix(in srgb, var(--success) 35%, var(--border)); }
.mc-advice__col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.05rem; }
.mc-advice__col--good h3 { color: var(--success); }
.mc-advice__col--good h3 .mc-ico { color: var(--success); }
.mc-advice__col ul { margin: 0; padding-left: 20px; color: var(--text-soft); }
.mc-advice__col li { margin-bottom: 6px; }

.mc-privacy { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 12px; font-size: .92rem; margin-bottom: 26px; background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.mc-privacy .mc-ico { flex: none; }
.mc-privacy--eu { background: var(--brand-50); color: var(--brand-700); border-color: transparent; }
.mc-privacy--warn { background: var(--warning-bg); color: var(--warning); border-color: transparent; }
[data-theme="dark"] .mc-privacy--eu { color: #8fd86a; }

.mc-scorecards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mc-scorecard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.mc-scorecard__head { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 12px; font-size: .95rem; }
.mc-scorecard__head .mc-ico { color: var(--brand); }
.mc-scorecard__val { font-size: .85rem; color: var(--text-soft); margin-top: 7px; font-weight: 600; }
.mc-na { color: var(--text-faint); font-weight: 500; }

.mc-advanced__head { max-width: 50em; margin-bottom: 26px; }
.mc-advanced__head p { margin: 12px 0 0; color: var(--text-soft); }
.mc-badge--dark { background: var(--ink); color: #fff; border-color: transparent; font-size: .82rem; padding: 7px 14px; }
[data-theme="dark"] .mc-badge--dark { background: #000; }

.mc-adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mc-adv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.mc-adv-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.02rem; }
.mc-adv-card h3 .mc-ico { color: var(--brand); }
.mc-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mc-table td { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-soft); vertical-align: top; }
.mc-table tr:last-child td { border-bottom: 0; }
.mc-table td:last-child { text-align: right; color: var(--text); white-space: nowrap; }
.mc-table code { font-size: .82rem; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; }

@media (max-width: 820px) {
    .mc-advice, .mc-adv-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto; } }

/* ---------- Vergelijkingsgrafiek ---------- */
.mc-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.mc-chart__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mc-chart__tab { border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: inherit; font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: .15s; }
.mc-chart__tab:hover { border-color: var(--brand); color: var(--brand); }
.mc-chart__tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.mc-chart__body { display: flex; flex-direction: column; gap: 7px; }
.mc-chartrow { display: grid; grid-template-columns: 26px minmax(120px, 1.4fr) 3fr auto; align-items: center; gap: 12px; padding: 5px 8px; border-radius: 9px; transition: background .15s; }
.mc-chartrow:hover { background: var(--surface-2); }
.mc-chartrow__rank { font-size: .8rem; font-weight: 800; color: var(--text-faint); text-align: center; }
.mc-chartrow__name { font-weight: 700; font-size: .9rem; color: var(--text); display: flex; flex-direction: column; line-height: 1.2; overflow: hidden; }
.mc-chartrow__name small { font-weight: 500; font-size: .74rem; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-chartrow__track { background: var(--surface-2); border-radius: 6px; height: 22px; overflow: hidden; }
.mc-chartrow__fill { display: block; height: 100%; border-radius: 6px; background: var(--brand); transition: width .5s ease; }
.mc-chartrow__val { font-size: .84rem; font-weight: 700; color: var(--text); min-width: 64px; text-align: right; white-space: nowrap; }
.mc-chart__note { margin: 16px 2px 0; font-size: .9rem; color: var(--text-soft); display: flex; gap: 8px; }
.mc-tierfill--topklasse { background: linear-gradient(90deg, #3a4a54, #c9a24a); }
.mc-tierfill--professioneel { background: linear-gradient(90deg, var(--brand-700), var(--brand)); }
.mc-tierfill--standaard { background: linear-gradient(90deg, #7c8a9a, #9aa7b4); }
.mc-tierfill--lichtgewicht { background: linear-gradient(90deg, #3f9e6a, #6fc98e); }
@media (max-width: 620px) {
    .mc-chartrow { grid-template-columns: 22px minmax(90px, 1.2fr) 2fr auto; gap: 8px; }
    .mc-chartrow__val { min-width: 52px; font-size: .78rem; }
}

/* ---------- Niet-beschikbare modellen ---------- */
.mc-unavail { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 7px; background: var(--error-bg); color: var(--error); line-height: 1; }
.mc-card--unavail { opacity: .72; }
.mc-card--unavail:hover { opacity: 1; }
.mc-card--unavail .mc-card__title { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--error) 50%, transparent); }

/* ---------- Waarde-oordeel (prijs vs kwaliteit) ---------- */
.mc-valuetag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 8px; line-height: 1.1; }
.mc-valuetag .mc-ico { width: 14px; height: 14px; }
.mc-tone--good { background: var(--success-bg); color: var(--success); }
.mc-tone--neutral { background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.mc-tone--amber { background: var(--warning-bg); color: var(--warning); }
.mc-tone--red { background: var(--error-bg); color: var(--error); }

/* Detailpagina: prijs-vs-kwaliteit blok */
.mc-valuebox { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 22px; background: var(--surface); }
.mc-valuebox__badge { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 96px; }
.mc-valuebox__score { font-size: 2rem; font-weight: 800; line-height: 1; }
.mc-valuebox__scorelbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); font-weight: 700; }
.mc-valuebox__body h3 { margin: 0 0 6px; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.mc-valuebox__body p { margin: 0 0 10px; color: var(--text-soft); font-size: .94rem; }
.mc-altcompare { background: var(--brand-50); border-radius: 12px; padding: 14px 16px; font-size: .92rem; color: var(--text); display: flex; align-items: flex-start; gap: 10px; }
[data-theme="dark"] .mc-altcompare { background: #16291d; }
.mc-altcompare .mc-ico { color: var(--brand); flex: none; margin-top: 2px; }
.mc-altcompare a { color: var(--brand-700); font-weight: 700; }
[data-theme="dark"] .mc-altcompare a { color: #8fd86a; }
@media (max-width: 620px) { .mc-valuebox { grid-template-columns: 1fr; } }

/* ---------- Bekende-merken toggle ---------- */
.mc-checkpill { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); padding: 7px 13px; border-radius: 999px; transition: .15s; user-select: none; }
.mc-checkpill:hover { border-color: var(--brand); color: var(--brand); }
.mc-checkpill .mc-ico { width: 15px; height: 15px; color: var(--brand); }
.mc-checkpill input { accent-color: var(--brand); width: 15px; height: 15px; margin: 0; cursor: pointer; }
.mc-checkpill:has(input:checked) { background: var(--brand-50); border-color: var(--brand); color: var(--brand-700); }
[data-theme="dark"] .mc-checkpill:has(input:checked) { color: #8fd86a; }

/* ---------- Taakwijzer: twee opties + kennisbank-chips ---------- */
.mc-reco__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mc-reco__opt { border-radius: var(--radius-lg); padding: 22px 24px; cursor: pointer; transition: .18s; position: relative; display: flex; flex-direction: column; }
.mc-reco__opt:hover { transform: translateY(-3px); }
.mc-reco__opt--best { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; box-shadow: var(--shadow-lg); }
.mc-reco__opt--value { background: var(--surface); border: 1.5px solid var(--brand); box-shadow: var(--shadow); }
.mc-reco__optbadge { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.mc-reco__opt--best .mc-reco__optbadge { background: rgba(255,255,255,.14); color: #ffe1a3; }
.mc-reco__opt--value .mc-reco__optbadge { background: var(--brand-50); color: var(--brand-700); }
[data-theme="dark"] .mc-reco__opt--value .mc-reco__optbadge { color: #8fd86a; }
.mc-reco__optname { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.mc-reco__opt--best .mc-reco__optvendor { color: rgba(255,255,255,.7); }
.mc-reco__optvendor { font-size: .88rem; color: var(--text-faint); margin-top: 4px; }
.mc-reco__optwhy { margin: 12px 0 0; font-size: .95rem; }
.mc-reco__opt--best .mc-reco__optwhy { color: rgba(255,255,255,.9); }
.mc-reco__opt--value .mc-reco__optwhy { color: var(--text-soft); }
.mc-reco__optfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.mc-reco__opt--value .mc-reco__optfoot { border-top-color: var(--border); }
.mc-reco__optmatch { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.mc-reco__optmatch small { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.mc-reco__opt--same { display: flex; flex-direction: column; justify-content: center; }
.mc-reco__more { margin-top: 16px; }
.mc-reco__morelbl { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); display: block; margin-bottom: 8px; }

.mc-task--kb { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); background: color-mix(in srgb, var(--brand-50) 60%, var(--surface)); }
.mc-task--kb.is-active { background: var(--brand-50); }
.mc-task__tag { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.mc-task__tag .mc-ico { width: 12px; height: 12px; }
[data-theme="dark"] .mc-task__tag { color: #8fd86a; }

@media (max-width: 760px) { .mc-reco__duo { grid-template-columns: 1fr; } }
