:root{--navy:#0a1c47;--blue:#1b4fb3;--sun:#ffc247;--ink:#0f1c3a;--line:#e3e9f6;--bg:#eef2fa}
*{box-sizing:border-box}
body{margin:0;font:15px/1.55 "Inter",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
h1{margin:0;font-size:1.7rem;letter-spacing:-.01em}h2{margin:0 0 .7rem;font-size:1.05rem}
a{color:var(--blue)}
.shell{display:grid;grid-template-columns:16rem minmax(0,1fr);gap:1.6rem;padding:1.3rem;min-height:100vh;max-width:96rem;margin:0 auto}
.side{position:sticky;top:1.3rem;align-self:start;display:flex;flex-direction:column;gap:.15rem;padding:1.1rem .8rem;border-radius:20px;background:linear-gradient(180deg,#0f2a66,var(--navy));color:#fff;box-shadow:0 20px 44px -24px rgba(10,28,71,.8)}
.brand{display:flex;align-items:center;gap:.75rem;padding:.2rem .5rem 1rem;margin-bottom:.4rem;border-bottom:1px solid rgba(255,255,255,.12)}
.brand strong{display:block;line-height:1.15}.brand small{display:block;opacity:.6;font-size:.78rem}
.mark{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:12px;background:var(--sun);color:#0f2a66}
.ico{width:1.15rem;height:1.15rem;flex:none}
.grp{margin:.9rem 0 .25rem .8rem;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8fa6dc}
.side ul{list-style:none;margin:0;padding:0;display:grid;gap:.1rem}
.side a{display:flex;align-items:center;gap:.7rem;padding:.6rem .8rem;border-radius:11px;color:#dbe6ff;text-decoration:none;transition:background .15s}
.side a:hover{background:rgba(255,255,255,.1)}
.side a.cur{background:var(--sun);color:#0f2a66;font-weight:800}
.out{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem;padding:.9rem .5rem 0;border-top:1px solid rgba(255,255,255,.12);font-size:.85rem;color:#c9d7fb}
.out button{padding:.5rem;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:transparent;color:#fff;font:inherit;cursor:pointer}
.out button:hover{background:rgba(255,255,255,.12)}
main{min-width:0}
.head{margin:0 0 1.2rem}.crumb{margin:0 0 .2rem;font-size:.8rem;opacity:.6}
.hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1.6rem;margin:0 0 1.1rem;border-radius:20px;background:linear-gradient(120deg,#0f2a66,var(--blue));color:#fff;box-shadow:0 22px 46px -28px rgba(18,58,134,.9)}
.hero h2{margin:0;font-size:1.35rem}.hero p{margin:.3rem 0 0;opacity:.8}
.pill{display:inline-block;padding:.15rem .75rem;border-radius:999px;background:rgba(255,255,255,.18);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:1rem;margin:0 0 1.1rem}
.card{padding:1.2rem 1.3rem;margin:0 0 1rem;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 10px 26px -20px rgba(18,58,134,.5)}
.cards .card{display:flex;flex-direction:column;margin:0}
.cards .ci{display:grid;place-items:center;width:2.3rem;height:2.3rem;margin-bottom:.7rem;border-radius:10px;background:#eaf0ff;color:var(--blue)}
.cards strong{font-size:1.1rem}.cards span{opacity:.6;font-size:.9rem}
label{display:block;margin:0 0 1rem;font-weight:600;font-size:.88rem}
input{display:block;width:100%;margin-top:.35rem;padding:.7rem .85rem;border:1.5px solid #cdd8f0;border-radius:12px;font:inherit;background:#f8faff;transition:border-color .15s,box-shadow .15s}
input:focus{outline:0;border-color:var(--blue);background:#fff;box-shadow:0 0 0 4px rgba(27,79,179,.14)}
.btn{padding:.7rem 1.4rem;border:0;border-radius:999px;background:var(--blue);color:#fff;font:inherit;font-weight:700;cursor:pointer;box-shadow:0 8px 18px -10px rgba(27,79,179,.9);transition:background .15s,transform .1s}
.btn:hover{background:#123a85}.btn:active{transform:scale(.98)}
.err{padding:.7rem .9rem;border-radius:12px;background:#fde8e6;color:#8a1c12}
.ok{padding:.7rem .9rem;border-radius:12px;background:#eaf8f0;color:#0f4a2a}
.warn{padding:.8rem 1rem;border-radius:12px;background:#fff8e1;border:1px solid #f1e2a8}
.muted{opacity:.7}
.key{display:inline-block;padding:.55rem .9rem;border-radius:12px;background:var(--bg);font-size:1.05rem;letter-spacing:.06em}
/* Inlog */
body.auth-page{background:radial-gradient(circle at 20% 10%,#1b4fb3,#0a1c47 60%);min-height:100vh}
.center{max-width:25rem;margin:0 auto;padding:12vh 1rem 2rem}
.auth{padding:2rem 1.8rem;border:0;border-radius:22px;box-shadow:0 30px 70px -30px rgba(0,0,0,.6)}
.auth h1{margin:0 0 1.2rem;font-size:1.5rem}
.auth .btn{width:100%;padding:.85rem}
.logo{display:flex;align-items:center;justify-content:center;gap:.7rem;margin:0 0 1.4rem;color:#fff;font-weight:800;font-size:1.2rem}
.logo .mark{width:2.6rem;height:2.6rem}
@media(max-width:900px){.shell{grid-template-columns:1fr;padding:.8rem}.side{position:static}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* ===== Layout: donkere bovenbalk, lichte zijbalk, volle breedte ===== */
body.app{background:#f4f7fc}
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;height:3.6rem;padding:0 1.2rem;background:linear-gradient(90deg,#0a1c47,#123a85);color:#fff;box-shadow:0 2px 12px rgba(10,28,71,.35)}
.logo-top{display:flex;align-items:center;gap:.7rem;color:#fff;text-decoration:none}
.logo-top .mark{width:2.1rem;height:2.1rem;border-radius:10px}
.top-r{display:flex;align-items:center;gap:1rem}
.top-r form{margin:0}
.who{font-size:.88rem;opacity:.85}
.top-btn{padding:.4rem .95rem;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:transparent;color:#fff;font:inherit;font-size:.85rem;cursor:pointer}
.top-btn:hover{background:rgba(255,255,255,.14)}
.frame{display:grid;grid-template-columns:15.5rem minmax(0,1fr);min-height:calc(100vh - 3.6rem)}
body.app .side{position:sticky;top:3.6rem;align-self:start;height:calc(100vh - 3.6rem);padding:1rem .7rem;border-radius:0;background:#fff;color:var(--ink);border-right:1px solid var(--line);box-shadow:none;overflow:auto}
body.app .grp{color:#7a8bb0}
body.app .side a{color:#33456e}
body.app .side a:hover{background:#eef3ff}
body.app .side a.cur{background:#e3ecff;color:#1b4fb3;font-weight:700}
body.app main{padding:1.6rem clamp(1rem,3vw,2.2rem)}
body.app .hero{border-radius:16px}
@media(max-width:900px){.frame{grid-template-columns:1fr}body.app .side{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}.who{display:none}}
