:root{
  --c-primary:#0B4F8A;
  --c-text:#1F2A36;
  --c-muted:#6E7C87;
  --c-bg:#E6EBF0;
  --c-accent:#2F8EDC;

  --radius:16px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --border:1px solid rgba(31,42,54,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--c-text);
  background:var(--c-bg);
}

a{color:var(--c-accent);text-decoration:none}
a:hover{text-decoration:underline}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}

.container{
  width:min(1100px,100%);
  padding:16px;
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  background:#fff;
  border-bottom:var(--border);
}
.topbar__inner{
  width:min(1100px,100%);
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:inherit;
}
.brand__logo{
  width:36px;height:36px;
  display:block;
}
.brand__text{min-width:0}
.brand__name{
  font-weight:600;
  font-size:16px;
  line-height:1.1;
  letter-spacing:.2px;
}
.brand__tagline{
  font-size:12px;
  color:var(--c-muted);
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:52vw;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:38px;
  padding:0 12px;
  border-radius:12px;
  border:var(--border);
  background:#fff;
  color:var(--c-text);
  font-weight:600;
  font-size:14px;
  cursor:pointer;
}
.btn:hover{border-color:rgba(31,42,54,.20)}
.btn--primary{
  background:var(--c-primary);
  border-color:transparent;
  color:#fff;
}
.btn--primary:hover{filter:brightness(0.98)}
.btn--ghost{
  background:#fff;
}

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

@media (min-width: 900px){
  .grid{grid-template-columns:1.2fr .8fr}
  .grid2{grid-template-columns:1fr 1fr}
}

.card{
  background:#fff;
  border:var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}
.card--flat{
  box-shadow:none;
}
.card__actions{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.h1{
  margin:0 0 8px 0;
  font-size:22px;
  font-weight:600;
  letter-spacing:.2px;
  color:var(--c-text);
}
.h2{
  margin:0 0 10px 0;
  font-size:16px;
  font-weight:600;
  color:var(--c-text);
}
.muted{color:var(--c-muted)}
.small{font-size:12px}

.list{margin:8px 0 0 18px}
.prose p{margin:8px 0; line-height:1.55}

.footer{
  margin-top:24px;
  padding:18px 0 28px 0;
  background:#fff;
  border-top:var(--border);
}
.footer__inner{
  width:min(1100px,100%);
  margin:0 auto;
  padding:0 16px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.linklike{
  border:0;
  background:transparent;
  padding:0;
  color:var(--c-accent);
  cursor:pointer;
  font:inherit;
  font-weight:600;
}
.linklike:hover{text-decoration:underline}

.flashstack{display:grid;gap:10px;margin:14px 0}
.flash{
  border-radius:14px;
  padding:10px 12px;
  border:var(--border);
  background:#fff;
}
.flash--error{border-color:rgba(220,38,38,.35)}
.flash--success{border-color:rgba(34,197,94,.35)}
.flash--info{border-color:rgba(47,142,220,.35)}

.form{display:grid;gap:12px;margin-top:12px}
.field{display:grid;gap:6px}
.field__label{font-weight:600;font-size:13px}
.input,.textarea{
  width:100%;
  border-radius:12px;
  border:var(--border);
  padding:10px 12px;
  font:inherit;
  background:var(--c-bg);
}
.textarea{resize:vertical}
.form__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}

.grid2{display:grid;grid-template-columns:1fr;gap:12px}

.menu{position:relative}
.menu__panel{
  position:absolute;
  right:0;
  top:44px;
  min-width:180px;
  background:#fff;
  border:var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:8px;
}
.menu__item{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:var(--c-text);
  font-weight:600;
}
.menu__item:hover{background:rgba(230,235,240,.7); text-decoration:none}

.dialog::backdrop{background:rgba(0,0,0,.35)}
.dialog{
  border:0;
  padding:0;
  background:transparent;
}
.dialog__card{
  width:min(720px, calc(100vw - 24px));
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  border:var(--border);
  box-shadow:var(--shadow);
}
.dialog__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-bottom:var(--border);
}
.dialog__title{font-weight:600}
.kv{display:grid;grid-template-columns:110px 1fr;gap:8px 12px}
.kv__k{color:var(--c-muted);font-weight:600}
.kv__v{color:var(--c-text)}
/* =========================
   Content typography (.prose)
   ========================= */

.prose {
  line-height: 1.6;
  font-size: 1rem;
  color: #1F2A36; /* Slate Dark */
}

.prose p {
  margin: 0 0 1em 0;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 1.5em 0 0.5em;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0B4F8A; /* Deep Blue */
}

.prose h3 {
  margin: 1.2em 0 0.4em;
  font-size: 1.1rem;
  font-weight: 600;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.2em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  color: #2F8EDC; /* Signal Blue */
  text-decoration: underline;
}

.prose a:hover {
  text-decoration: none;
}
/* =========================
   Header navigation buttons
   ========================= */

.btn--nav {
  height: 40px;                 /* exact gelijk aan andere buttons */
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1.5px solid #0B4F8A;  /* Deep Blue */
  border-radius: 10px;

  background: #FFFFFF;
  color: #0B4F8A;

  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
}

.btn--nav:hover {
  background: #E6EBF0;          /* Light Grey */
  text-decoration: none;
}


