/* De kop van de publieke pagina's (bibliotheek, brein, publieke werkruimtes):
   één rij, één hoogte, dezelfde knoppen. Kleuren uit de gedeelde tokens
   (sem-editor.css), dus licht of donker volgt het systeem.

   Gebruik: <link rel="stylesheet" href="/static/components/kop.css"> ná
   sem-editor.css en tekstschaal.css. De hoogte is --kop-hoogte, zodat een
   pagina die eronder iets vastzet dezelfde maat gebruikt. */
:root { --kop-hoogte: 52px; }
.hd { display: flex; align-items: center; gap: 12px; padding: 0 20px; height: var(--kop-hoogte);
  box-sizing: border-box; border-bottom: 1px solid var(--line); background: var(--panel);
  position: sticky; top: 0; z-index: 30; }
.hd .brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink);
  padding: 4px 8px 4px 4px; border-radius: 7px; }
.hd .brand:hover { background: var(--accent-soft); }
.hd .brand-mark { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.hd .brand-text { font-size: var(--tekst-m); font-weight: var(--gewicht-nadruk); color: var(--accent-text);
  line-height: 1; }
.hd h1 { font-size: var(--tekst-l); margin: 0; color: var(--ink); line-height: 1.15;
  font-family: 'Iowan Old Style', Georgia, serif; }
.hd .sub { font-size: var(--tekst-xs); color: var(--muted); }
.hd .sp { flex: 1; }
.hd .btn { font-size: var(--tekst-s); padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--panel); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.hd .btn:hover { border-color: var(--accent-text); color: var(--accent-text); }
.hd .btn.primary { background: var(--accent-btn); border-color: var(--accent-btn); color: #fff; }
@media (max-width: 700px) { .hd .sub { display: none; } }

/* De kruislink op een objectkaart: vanuit de bibliotheek het brein in, vanuit
   het brein naar de bibliotheek. Op beide kaarten dezelfde. */
.kruislink { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: var(--tekst-xs); padding: 4px 11px; border-radius: 100px; border: 1px solid var(--line);
  color: var(--accent-text); background: var(--panel); text-decoration: none; cursor: pointer; }
.kruislink:hover { border-color: var(--accent-text); }
