:root { --ink: #10052f; --ink-2: #403759; --muted: #6b6c75; --line: #e9ebf6; --bg: #f9f9fb; --lilac: #ece3fd; --grad: linear-gradient(90deg, #ff772b, #fe909a); --red: #d9352a; --green: #1f7a4d; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; font-size: 15px; line-height: 1.45; }
a { color: var(--ink); }
main { width: 100%; max-width: 760px; margin: 0 auto; padding: 28px 20px 40px; flex: 1; }
main.wide { max-width: 1160px; }
h1 { font-weight: 400; font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -0.025em; line-height: 1.05; margin: 8px 0 18px; }
h2 { font-weight: 400; font-size: 22px; letter-spacing: -0.015em; margin: 0 0 10px; }
.eyebrow { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.hl { height: 13px; width: auto; vertical-align: -1px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 99px; background: var(--grad); margin-right: 8px; vertical-align: -1px; }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* top */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1160px; width: 100%; margin: 0 auto; }
.brand { text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.menu summary::-webkit-details-marker { display: none; }
.menu .av { width: 30px; height: 30px; border-radius: 99px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .02em; }
.menu .who { font-size: 14px; }
.menu .drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(16,5,47,.12); padding: 8px; z-index: 10; }
.menu .drop a, .menu .drop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 10px; text-decoration: none; font: inherit; font-size: 14px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.menu .drop a:hover, .menu .drop button:hover { background: var(--bg); }
.menu .me { padding: 8px 12px 10px; display: flex; flex-direction: column; } .menu .me span { font-size: 12px; color: var(--muted); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* blokken */
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 0 0 16px; }
.narrow { max-width: 560px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
label.inline { margin: 14px 0 10px; }
input { font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 12px; border: 1px solid #d9dbea; background: #fff; color: var(--ink); width: 100%; }
input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
input:disabled { background: var(--bg); color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn { font: inherit; font-size: 15px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px; padding: 11px 20px; cursor: pointer; align-self: flex-start; }
.btn:hover { background: #251a4a; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; }
.link { font: inherit; font-size: 13px; background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.alert { border-radius: 12px; padding: 11px 14px; margin: 0 0 16px; font-size: 14px; background: var(--lilac); color: var(--ink); }
.alert.err { background: #fde8e6; color: #8a1c13; } .alert.ok { background: #e3f4ea; color: #134d31; }
.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; width: fit-content; }
.subnav a { text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.subnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.list li:first-child { border-top: 0; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 6px; border-top: 1px solid var(--line); text-decoration: none; }
.row:first-child { border-top: 0; } .row:hover { background: var(--bg); } .row span { color: var(--muted); font-size: 13px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 400; color: var(--muted); font-size: 12px; padding: 8px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl .acts form { display: flex; gap: 12px; flex-wrap: wrap; } .nowrap { white-space: nowrap; }
.empty { color: var(--muted); padding: 24px; background: #fff; border: 1px dashed var(--line); border-radius: 18px; }

/* start */
.hello { margin: 12px 0 24px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-height: 200px; position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad); }
.tile:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,5,47,.10); }
.tile .tag { font-size: 12px; color: var(--ink-2); background: var(--lilac); border-radius: 999px; padding: 3px 10px; width: fit-content; margin-top: 6px; }
.tile h2 { font-size: 26px; margin: 4px 0 0; } .tile p { color: var(--muted); margin: 0; flex: 1; } .tile .go { font-size: 14px; }

/* inloggen */
body.bare { background: radial-gradient(1200px 600px at 10% -10%, #ece3fd 0%, rgba(236,227,253,0) 60%), radial-gradient(900px 500px at 110% 0%, #ffe3d6 0%, rgba(255,227,214,0) 55%), var(--bg); }
.auth { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 6vh 0 0; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 20px 60px rgba(16,5,47,.08); }
.auth-card h1 { font-size: 32px; margin: 18px 0 10px; }
.auth-brand { font-size: 15px; font-weight: 500; }
.auth-card .btn { width: 100%; align-self: stretch; }
.auth-by { font-size: 12px; color: var(--muted); margin-top: 18px; }
.or { display: flex; align-items: center; gap: 10px; margin: 16px 0; font-size: 12px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.foot { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); padding: 18px; }
body.bare .foot { display: none; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } .menu .who { display: none; } .auth-card { padding: 24px; border-radius: 20px; } }
