:root {
    --bg: #0b0d11;
    --panel: #141820;
    --panel-2: #1b202a;
    --line: rgba(244,241,234,.1);
    --text: #f4f1ea;
    --muted: #b8b3a8;
    --gold: #d4a24a;
    --gold-2: #f0c36a;
    --ok: #7dba8c;
    --err: #e08a8a;
    --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
.beheer { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.beheer-nav {
    background: #0e1117;
    border-right: 1px solid var(--line);
    padding: 1.4rem 1rem;
    display: flex; flex-direction: column; gap: 1.4rem;
    position: sticky; top: 0; height: 100vh;
}
.beheer-brand { color: var(--text); display: flex; flex-direction: column; line-height: 1.1; padding: 0 .5rem; }
.beheer-brand strong { letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; }
.beheer-brand span { color: var(--gold); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-top: .25rem; }
.beheer-nav nav { display: grid; gap: .25rem; }
.beheer-nav nav a {
    color: var(--muted); padding: .65rem .75rem; border-radius: 10px; font-weight: 600;
}
.beheer-nav nav a:hover, .beheer-nav nav a.is-on {
    background: rgba(212,162,74,.12); color: var(--text);
}
.beheer-nav-foot { margin-top: auto; display: grid; gap: .4rem; font-size: .9rem; }
.beheer-nav-foot a { color: var(--muted); }
.beheer-main { padding: 1.5rem 1.8rem 3rem; min-width: 0; }
.beheer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.beheer-top h1 { font-size: 1.6rem; }
.beheer-top p { color: var(--muted); font-size: .9rem; }
.b-alert { padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.b-alert.ok { background: rgba(125,186,140,.16); color: #c5ebce; }
.b-alert.err { background: rgba(200,80,80,.16); color: #f3c2c2; }
.b-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; margin-bottom: 1.1rem; }
.b-card h2, .b-card h3 { margin-bottom: .9rem; font-size: 1.1rem; }
.b-grid { display: grid; gap: .8rem; }
.b-grid-2 { grid-template-columns: 1fr 1fr; }
.b-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.b-field { display: flex; flex-direction: column; gap: .3rem; }
.b-field label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.b-field input, .b-field select, .b-field textarea {
    background: var(--bg); border: 1px solid var(--line); color: var(--text);
    border-radius: 10px; padding: .7rem .8rem; font-size: 1rem;
}
.b-field textarea { min-height: 90px; resize: vertical; }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus {
    outline: 0; border-color: var(--gold);
}
.b-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #16120a;
    border: 0; border-radius: 999px; padding: .7rem 1.2rem; font-weight: 700; cursor: pointer;
}
.b-btn:hover { filter: brightness(1.05); }
.b-btn-ghost {
    background: transparent; color: var(--text); border: 1px solid var(--line);
    border-radius: 999px; padding: .55rem 1rem; cursor: pointer; font-weight: 600;
}
.b-btn-danger { color: #f0b4b4; border-color: #8a3a3a; }
.b-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.b-muted { color: var(--muted); font-size: .9rem; }
.b-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.b-table th, .b-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.b-table th { color: var(--muted); font-weight: 600; font-size: .82rem; }
.b-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.b-thumb {
    background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.b-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.b-thumb .meta { padding: .55rem .65rem; display: flex; justify-content: space-between; gap: .4rem; align-items: center; }
.b-thumb .meta span { font-size: .75rem; color: var(--muted); word-break: break-all; }
.b-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-bottom: 1.2rem; }
.b-stat { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; }
.b-stat b { display: block; font-size: 1.6rem; color: var(--gold-2); }
.b-stat span { color: var(--muted); font-size: .9rem; }
.b-login {
    min-height: 100vh; display: grid; place-items: center; padding: 1.5rem;
    background: radial-gradient(circle at top, #1a160e, #0b0d11 55%);
}
.b-login-box { width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; }
.b-login-box h1 { margin-bottom: .4rem; }
.login-hint { color: var(--muted); font-size: .88rem; margin: .4rem 0 1.1rem; }
.hp-field { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.quote-steps { display: grid; gap: 1.1rem; }
.quote-step { border-top: 1px solid var(--line); padding-top: 1rem; }
.quote-step h3 { font-size: 1.02rem; margin-bottom: .7rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.choice {
    display: flex; gap: .65rem; align-items: center;
    border: 1px solid var(--line); background: var(--bg-2, #111318);
    border-radius: 12px; padding: .65rem .75rem; cursor: pointer;
}
.choice input { accent-color: var(--gold); }
.choice small { display: block; color: var(--muted); font-size: .8rem; }
@media (max-width: 900px) {
    .beheer { grid-template-columns: 1fr; }
    .beheer-nav { position: relative; height: auto; }
    .beheer-nav nav { grid-template-columns: 1fr 1fr; }
    .b-grid-2, .b-grid-3, .b-stats, .choice-grid { grid-template-columns: 1fr; }
}
