/* KRUISPUNT-EDUCATIE (SCW) — gedeelde stijl voor de websitepagina's (start, aanmelden, beheer, besturing).
   Zelfde papier, inkt en lettertypes als de game. Lettertypes lokaal (SIL Open Font License, zie /fonts/). */
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url("/fonts/AtkinsonHyperlegible-Regular.woff") format("woff"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url("/fonts/AtkinsonHyperlegible-Bold.woff") format("woff"); }
@font-face { font-family: "Caveat Brush"; font-display: swap; src: url("/fonts/CaveatBrush-Regular.woff") format("woff"); }
@font-face { font-family: "Patrick Hand"; font-display: swap; src: url("/fonts/PatrickHand-Regular.woff") format("woff"); }
:root {
  --paper: #F3E9D7; --paper-deep: #e8dac0; --card: #fffaf0; --ink: #29313A; --ink-soft: #4a3a2c;
  --indigo: #26344B; --ochre: #D4A72C; --terracotta: #A66B45; --moss: #558568; --plum: #67536D;
  --font-logo: "Caveat Brush", "Segoe Print", cursive; --font-read: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: var(--font-read); font-size: 17px; line-height: 1.45; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 24px 16px; flex: 1; }
.logo { font-family: var(--font-logo); font-weight: 400; line-height: .95; margin: 0; color: var(--indigo); font-size: clamp(38px, 7vw, 72px); overflow-wrap: anywhere; }
.logo .way { color: var(--terracotta); display: inline-block; transform: rotate(-3deg); }
.logo .scw { font-size: .6em; }
.tag { font-size: clamp(19px, 2.6vw, 26px); margin: 6px 0 18px; }
h2 { font-size: 24px; margin: 18px 0 8px; color: var(--indigo); }
h3 { font-size: 19px; margin: 14px 0 6px; color: var(--indigo); }
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 16px;
  background: var(--paper); color: var(--ink); text-decoration: none; font: inherit; cursor: pointer;
  border: 2px solid var(--ink-soft); border-radius: 12px 9px 13px 8px / 9px 13px 8px 12px; box-shadow: 2px 3px 0 rgba(41, 49, 58, .25);
}
.pbtn:hover { background-color: #f8f0e0; }
.pbtn:active { transform: translate(1px, 2px); box-shadow: 1px 1px 0 rgba(41, 49, 58, .25); }
.pbtn.primary { background: var(--ochre); }
.pbtn.primary:hover { background: #dfb43c; }
.pbtn.danger { background: #e6b9a3; }
.pbtn.small { min-height: 36px; padding: 4px 10px; font-size: 15px; }
.pbtn[disabled] { opacity: .5; cursor: not-allowed; }
.pbtn .sub { display: block; font-size: 13px; opacity: .8; font-weight: 400; }
.card { background: var(--card); border: 2px solid var(--ink-soft); border-radius: 14px 11px 15px 10px / 11px 15px 10px 14px; padding: 18px; box-shadow: 3px 4px 0 rgba(41, 49, 58, .18); }
.field { display: grid; gap: 6px; margin: 12px 0; }
.field label { font-weight: 700; }
input[type=text], input[type=password], input[type=number], input[type=url], select, textarea {
  font: inherit; font-size: 18px; padding: 10px 12px; border: 2px solid var(--ink-soft); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; max-width: 100%;
}
input.code { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
input.pin { letter-spacing: .4em; font-weight: 700; max-width: 220px; }
.note { font-size: 14px; opacity: .8; }
.msg { padding: 10px 12px; border-radius: 10px; margin: 10px 0; font-weight: 700; }
.msg.err { background: #f3d9c9; border: 2px solid var(--terracotta); }
.msg.ok { background: #dde9df; border: 2px solid var(--moss); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.credit { text-align: center; font-size: 12px; opacity: .65; padding: 10px 16px 14px; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1.5px solid rgba(41, 49, 58, .15); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
kbd { display: inline-block; min-width: 1.7em; padding: 1px 6px; border: 1.5px solid var(--ink); border-bottom-width: 3px; border-radius: 5px; background: #fffaf0; font: 700 14px var(--font-read); text-align: center; }
