.adm{background:var(--bg2)}.wrapa{max-width:1180px;margin:0 auto;padding:1.5rem 1rem 4rem}
.atop{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;background:var(--card);border-bottom:1px solid var(--line);padding:.7rem 1.2rem;position:sticky;top:0;z-index:10}
.atop nav{display:flex;flex-wrap:wrap;gap:.3rem}.atop nav a{padding:.55rem .9rem;border-radius:999px;font-weight:600;text-decoration:none;color:var(--ink)}.atop nav a:hover{background:var(--bg2)}.atop nav a[aria-current]{background:var(--pri);color:#fff}
.atop em{background:var(--accent);color:#2A1206;border-radius:99px;font-style:normal;font-size:.8rem;padding:.05rem .45rem;margin-left:.2rem}
.panel{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.2rem 1.4rem;margin:1.2rem 0}.panel h2{font-size:1.15rem;margin:0 0 .8rem}
.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:1.2rem}.three{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.2rem}.two .panel,.three .panel{margin:0}.two,.three{margin:1.2rem 0}
.chart{width:100%;height:auto}.muted{color:var(--muted);font-size:.95rem}
.hb{list-style:none;margin:0;padding:0}.hb li{display:grid;grid-template-columns:minmax(80px,38%) 1fr 3rem;gap:.6rem;align-items:center;margin:.35rem 0}.hb .l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb .t{background:var(--bg2);border-radius:99px;height:12px;overflow:hidden}.hb .t i{display:block;height:100%;background:var(--sec);border-radius:99px}.hb b{text-align:right}
.msg{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:.9rem 1.2rem;margin:.7rem 0}.msg.nieuw{border-left:6px solid var(--accent)}.msg summary{cursor:pointer}
.pill{display:inline-block;border-radius:99px;padding:.1rem .7rem;font-size:.85rem;font-weight:700;background:var(--bg2)}.pill.nieuw,.pill.toegezegd{background:#FFE7B8;color:#5A3A00}.pill.afgehandeld,.pill.ontvangen{background:#CDEFD8;color:#0B4A22}.pill.geannuleerd{background:#F4D0D0;color:#6B1414}
.inl{display:flex;flex-wrap:wrap;gap:.4rem}.btn.small{padding:.4rem .8rem;font-size:.9rem}.btn.danger{background:#B42318;border-color:#B42318;color:#fff}
.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;background:var(--card);border-radius:14px}th,td{text-align:left;padding:.7rem .8rem;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:.85rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.login{display:grid;place-items:center;min-height:100vh}.login .box{background:var(--card);padding:2rem;border-radius:20px;max-width:440px;width:92%;box-shadow:var(--shadow)}
h1 .btn{margin-left:1rem;vertical-align:middle}

/* v4 beheer */
.alert.warn{background:#fff6dc;border:1px solid #e8c45a;color:#5c4500}.alert.warn a{color:inherit;font-weight:600}
.alert.ok{background:#e8f6ec;border:1px solid #9fd2ae}.alert.err{background:#fde9e7;border:1px solid #eba39c}
.alert{padding:.7rem 1rem;border-radius:12px;margin:.8rem 0}
.up{color:#1c7a3d}.down{color:#b3261e}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem;margin:1rem 0}
.kpi{background:#fff;border:1px solid var(--line,#e6e0d8);border-radius:14px;padding:.9rem 1rem;display:flex;flex-direction:column;gap:.15rem}.kpi b{font-size:1.6rem}.kpi span,.kpi small{color:var(--muted,#6b6672)}
.card{background:#fff;border:1px solid var(--line,#e6e0d8);border-radius:16px;padding:1.1rem 1.2rem;margin:1rem 0}.card h2{margin-top:0;font-size:1.15rem}
.bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.row{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.seg{display:flex;border:1px solid var(--line,#ddd);border-radius:999px;overflow:hidden}.seg a{padding:.4rem .9rem;text-decoration:none;color:inherit}.seg a[aria-current]{background:var(--pri,#E8734A);color:#fff}
.stack{display:flex;flex-direction:column;gap:.7rem}.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.7rem}
.f{display:flex;flex-direction:column;gap:.25rem}.f input,.f select,.f textarea,.filters input,.filters select{padding:.55rem .7rem;border:1px solid #cfc8bf;border-radius:10px;font:inherit;background:#fff}
.filters{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.filters input{flex:1;min-width:200px}
.chk{display:inline-flex;gap:.4rem;align-items:center}.plain{list-style:none;padding:0}.plain li{padding:.5rem 0;border-bottom:1px solid var(--line,#eee)}
.btn.danger{background:#b3261e;color:#fff;border-color:#b3261e}.muted{color:var(--muted,#6b6672)}.small{font-size:.88rem}
.meter{height:12px;border-radius:99px;background:#eee;overflow:hidden}.meter i{display:block;height:100%;background:var(--pri,#E8734A)}
.funnel{list-style:none;padding:0;margin:0}.funnel li{display:flex;justify-content:space-between;padding:.45rem 0;border-bottom:1px solid #eee}
.pill{display:inline-block;padding:.1rem .6rem;border-radius:99px;background:#eee;font-size:.8rem}.pill.nieuw,.pill.toegezegd,.pill.wacht{background:#fff0c9}.pill.ontvangen,.pill.afgehandeld,.pill.actief{background:#d9f2e0}.pill.geannuleerd{background:#fbdcd8}
.msg{border:1px solid var(--line,#e6e0d8);border-radius:14px;padding:.8rem 1rem;margin:.6rem 0;background:#fff}.msg.new{border-left:5px solid var(--pri,#E8734A)}.bulk{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:.6rem 0}
.inner{margin-top:-.3rem;background:#fffaf4}.reply{border-left:3px solid #9fd2ae;padding-left:.7rem;margin:.5rem 0}
.act{display:flex;gap:.3rem;flex-wrap:wrap}.codes{background:#222;color:#fff;padding:1rem;border-radius:10px;font-size:1.05rem;letter-spacing:.06em;white-space:pre-wrap}
.checks{list-style:none;padding:0}.checks li{padding:.4rem 0;display:flex;gap:.5rem;flex-wrap:wrap}.checks .ok span{color:#1c7a3d}.checks .bad span{color:#b3261e;font-weight:700}
.slogo{width:90px;height:45px;object-fit:contain;background:repeating-conic-gradient(#f1ede7 0 25%,#fff 0 50%) 0 0/12px 12px;border-radius:8px;border:1px solid #e6e0d8}.slogo.none{display:grid;place-items:center;font-size:.7rem;color:#888}
.slist li{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.slist li>div:nth-child(2){flex:1;min-width:160px}
.mgrid{list-style:none;margin:1rem 0;padding:0;display:grid;gap:.8rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.mgrid li{background:#fff;border:1px solid #e6e0d8;border-radius:12px;overflow:hidden}.mgrid img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
fieldset.card{margin:.5rem 0}
