/* Portaal, aanmelden en platformbeheer. Gebruikt de variabelen uit site.css. */
body.portal { background: #FAF6F6; font-size: 17px; }
.p-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.p-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.p-nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1; padding: 6px 0; }
.p-nav a { padding: 8px 9px; border-radius: 9px; text-decoration: none; font: 600 15px var(--font-display); color: var(--muted); white-space: nowrap; }
.p-nav a:hover { background: var(--accent-soft); color: var(--ink); }
.p-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-strong); }
.p-user { display: flex; align-items: center; gap: 12px; }
.p-user form { margin: 0; }
.p-user button { background: none; border: 0; font: 600 15px var(--font-display); color: var(--muted); cursor: pointer; padding: 8px 6px; }
.p-user button:hover { color: var(--accent-strong); }
.p-main { padding: 34px 0 70px; }
.p-main h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.sub { color: var(--muted); margin: 0 0 26px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px -18px rgba(229, 56, 47, .25); margin-bottom: 18px; }
.grid .card { margin-bottom: 0; }
.card h2 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { margin: 0 0 10px; }
.muted { color: var(--muted); font-size: 15.5px; }
.badge { display: inline-block; padding: 2px 11px; border-radius: 999px; font: 500 12.5px var(--font-mono); border: 1px solid var(--line); background: #fff; }
.badge.ok, .badge.approved { color: var(--ok); border-color: #A7D8B6; background: #EAF6EE; }
.badge.warn, .badge.draft { color: var(--warn); border-color: #F0D49A; background: #FFF6E0; }
.badge.bad { color: #B42318; border-color: #F0B7B1; background: #FDECEA; }
.badge.archived { color: var(--faint); }
.meter { height: 10px; border-radius: 999px; background: #F1E6E5; overflow: hidden; margin: 10px 0 6px; }
.meter > i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.meter.hot > i { background: #B42318; }
.big-number { font: 800 40px/1 var(--font-display); letter-spacing: -.02em; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.check li:first-child { border-top: 0; }
.check .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent-line); flex: none; margin-top: 2px; display: grid; place-items: center; font-size: 13px; color: #fff; }
.check .done .dot { background: var(--ok); border-color: var(--ok); }
.check a { color: var(--accent-strong); font-weight: 600; }
.code { position: relative; background: #1E2026; color: #E8EAF0; border-radius: 12px; padding: 16px; font: 400 13px/1.55 var(--font-mono); overflow-x: auto; white-space: pre; margin: 10px 0 0; }
.copy { position: absolute; right: 10px; top: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font: 500 12.5px var(--font-mono); color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
form.inline { display: inline; }
.banner { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
.banner.bad { border-color: #F0B7B1; background: #FDECEA; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background:
  radial-gradient(500px 300px at 10% 0, rgba(229, 56, 47, .14), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(120, 120, 130, .12), transparent 70%), #FCFAFA; }
.auth-card { width: min(480px, 100%); }
.auth-card .brand { margin: 0 auto 22px; display: flex; justify-content: center; }
.auth-card .card { padding: 30px; box-shadow: var(--glow); }
.auth-card h1 { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.auth-card .alt { text-align: center; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.auth-card .alt a { color: var(--accent-strong); font-weight: 600; }
.auth-top { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.checkbox { display: flex; gap: 10px; align-items: center; margin-top: 14px; font: 400 16px var(--font-body); }
.checkbox input { width: auto; }

/* Stappenhulp */
.step { border-left: 5px solid var(--line); }
.step.current { border-left-color: var(--accent); box-shadow: var(--glow); }
.step.done { border-left-color: var(--ok); }
.step.todo { opacity: .78; }
.step h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 14px var(--font-display); flex: none; }
.step.done .num { background: var(--ok); }

/* Plannen in Abonnement */
.plan-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.current { border-color: var(--accent); }
.plan h3 { margin: 0 0 6px; }
.plan-price { font: 800 38px/1 var(--font-display); letter-spacing: -.02em; }
.plan-price small { font: 500 14px var(--font-body); color: var(--muted); margin-left: 5px; letter-spacing: 0; }
.plan-list { list-style: disc; padding-left: 18px; margin: 16px 0; flex: 1; }
.plan-list li { padding: 3px 0; }
