/* Werkplek-voordeur — opmaak BOVENOP de Dé Plek-huisstijl (huisstijl.css).
   Alleen voordeur-specifieke layout + polish; kleuren/typografie/componenten
   komen uit de huisstijl-tokens (var(--oranje), .card, .eyebrow, .avatar, …). */

body {
  background:
    radial-gradient(circle at 12% 6%, rgba(134,199,157,.16), transparent 42%),
    radial-gradient(circle at 88% 94%, rgba(227,122,65,.10), transparent 46%),
    var(--creme);
  min-height: 100vh;
}

/* ── Topbar (diepgroen, gecentreerd) ─────────────────────────────────── */
.topbar { background: var(--ink); color: var(--wit); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50; }
.topbar-inner { max-width: 820px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 700; font-size: 16px; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 10px; color: var(--wit); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--oranje); flex: none; box-shadow: 0 0 0 4px rgba(227,122,65,.22); }
.brand-sub { color: var(--lichtgroen); font-weight: 700; }
.btn-logout { background: rgba(244,239,231,.10); color: var(--wit); border: 1px solid rgba(244,239,231,.22); padding: 8px 16px; }
.btn-logout:hover:not(:disabled) { background: rgba(244,239,231,.18); }

/* ── Canvas ──────────────────────────────────────────────────────────── */
.voordeur { max-width: 820px; margin: 0 auto; padding: 30px 22px 56px; }
.loading { text-align: center; padding: 56px; color: var(--ink-3); font-weight: 500; }

/* ── Welkom ──────────────────────────────────────────────────────────── */
.welkom { display: flex; align-items: center; gap: 18px; margin: 4px 0 26px; }
.avatar-xl { width: 58px; height: 58px; border-radius: 50%; background: var(--lichtgroen); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; letter-spacing: -.02em; flex: none; }
.welkom h1 { margin: 2px 0 0; }
.welkom .sub { color: var(--ink-2); font-weight: 500; margin-top: 2px; }

/* ── Secties ─────────────────────────────────────────────────────────── */
.sectie { margin-bottom: 18px; }

/* App-tegels */
.tegels { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .tegels { grid-template-columns: 1fr 1fr; } }
.tegel { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--groen-50); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 16px 18px; color: var(--ink); text-decoration: none; font-weight: 600; transition: all .15s var(--ease); }
.tegel:hover { transform: translateY(-2px); border-color: var(--lichtgroen); box-shadow: var(--shadow-sm); }
.tegel .pijl { color: var(--oranje); font-weight: 700; font-size: 18px; }

/* Documenten */
ul.links { list-style: none; margin: 0; padding: 0; }
ul.links li { border-top: 1px solid var(--rule); }
ul.links li:first-child { border-top: none; }
ul.links a { display: block; padding: 11px 2px; color: var(--ink); text-decoration: none; font-weight: 500; transition: color .15s var(--ease); }
ul.links a:hover { color: var(--oranje); }

/* Contacten */
.groepkop { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.ct-groep + .ct-groep { margin-top: 20px; }
.contact { display: flex; gap: 13px; padding: 14px 0; border-top: 1px solid var(--rule); }
.contact:first-of-type { border-top: none; }
.contact .avatar { margin-top: 2px; }
.ct-body { flex: 1; min-width: 0; }
.ct-naam { font-weight: 600; color: var(--ink); }
.ct-functie { color: var(--ink-2); font-weight: 500; font-size: 13px; }
.ct-beschr { color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.ct-notitie { color: var(--ink-3); font-size: 12px; margin-top: 6px; }
.ct-acties { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: var(--r-pill); background: var(--wit); border: 1.5px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; transition: all .15s var(--ease); }
.pill:hover { border-color: var(--oranje); color: var(--oranje); transform: translateY(-1px); }

/* Profiel */
.profiel-rollen { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Gestaffelde fade-in bij laden */
.reveal { opacity: 0; transform: translateY(10px); animation: voordeurIn .5s var(--ease) forwards; }
@keyframes voordeurIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }
