/* Zoldergym: eigen sportieve stijl (gekozen 11-11-2026). Donker, volt voor voortgang en records, blauw voor eten. */
:root {
  --bg: #0b0d10;
  --kaart: #14171c;
  --kaart2: #1b1f26;
  --lijn: #262b33;
  --lijn2: #343a44;
  --tekst: #f3f5f7;
  --zacht: #a0a8b3;
  --vaag: #7c8592;
  --volt: #c8f23c;
  --volt-donker: #1a2410;
  --volt-rand: #4a5e17;
  --blauw: #56c2f5;
  --blauw-donker: #1f2d36;
  --amber: #f2b56b;
  --rood: #ff7a6b;
  --font: "Inter Variable", Inter, system-ui, sans-serif;
  --kop: "Space Grotesk Variable", "Space Grotesk", Inter, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--tekst); font-family: var(--font); font-size: 16px; line-height: 1.4; }
body { overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blauw); }
h1, h2, h3, p { margin: 0; }
.app { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.scherm { flex: 1; padding: calc(env(safe-area-inset-top) + 18px) 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.met-menu { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.kop .klein { font-size: 13px; color: var(--zacht); }
.kop h1 { font-family: var(--kop); font-size: 28px; font-weight: 700; letter-spacing: -0.01em; margin-top: 2px; }
.kaart { background: var(--kaart); border: 1px solid var(--lijn); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.kaart.volt { background: var(--volt-donker); border-color: var(--volt-rand); }
.kaart.vlak { padding: 4px 16px; gap: 0; }
.label { font-size: 13px; font-weight: 600; color: var(--zacht); }
.sectie { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--zacht); margin: 6px 0 -4px; }
.sectie.blauw { color: var(--blauw); } .sectie.volt { color: var(--volt); }
.groot { font-family: var(--kop); font-weight: 700; font-variant-numeric: tabular-nums; }
.zacht { color: var(--zacht); } .vaag { color: var(--vaag); } .klein { font-size: 13px; } .mini { font-size: 12px; }
.rij { display: flex; align-items: center; gap: 10px; }
.tussen { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.raster2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.raster3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.knop { min-height: 48px; border: 0; border-radius: 14px; padding: 0 14px; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.knop:active { transform: scale(0.98); }
.knop.volt { background: var(--volt); color: var(--bg); }
.knop.blauw { background: var(--blauw); color: var(--bg); }
.knop.zacht { background: var(--blauw-donker); color: var(--blauw); font-weight: 600; }
.knop.rand { background: var(--kaart2); border: 1px solid var(--lijn2); color: var(--tekst); font-weight: 600; }
.knop.stip { background: transparent; border: 1px dashed var(--lijn2); color: var(--zacht); font-weight: 600; font-size: 14px; }
.knop.tekst { background: transparent; color: var(--blauw); font-weight: 600; min-height: 44px; padding: 0 8px; }
.knop.breed { width: 100%; }
.knop.hoog { min-height: 56px; font-size: 17px; }
.knop[disabled] { opacity: 0.45; }
.balk { height: 8px; border-radius: 4px; background: #2a3039; overflow: hidden; }
.balk > div { height: 100%; border-radius: 4px; background: var(--volt); }
.balk.dun { height: 4px; } .balk.blauw > div { background: var(--blauw); } .balk.wit > div { background: var(--tekst); }
.segmenten { flex: 1; display: grid; gap: 6px; }
.segmenten > div { height: 10px; border-radius: 5px; background: #2a3039; }
.segmenten > div.aan { background: var(--volt); } .segmenten.blauw > div.aan { background: var(--blauw); }
.regel { display: flex; align-items: center; gap: 12px; min-height: 58px; border-bottom: 1px solid var(--lijn); text-decoration: none; color: inherit; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; padding: 0; }
.regel:last-child { border-bottom: 0; }
.regel .waarde { text-align: right; font-size: 13px; color: var(--zacht); }
.regel .waarde b { color: var(--tekst); }
.regel .naam { font-size: 15px; font-weight: 600; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 8px; background: var(--kaart2); border: 1px solid var(--lijn2); font-size: 13px; font-variant-numeric: tabular-nums; }
.veld { min-height: 50px; border: 2px solid var(--lijn2); border-radius: 14px; background: var(--kaart); padding: 0 12px; display: flex; align-items: center; gap: 8px; }
.veld:focus-within { border-color: var(--blauw); }
.veld input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; outline: none; }
.invoer { width: 100%; min-height: 48px; border: 1px solid var(--lijn2); border-radius: 12px; background: var(--kaart2); padding: 0 12px; font-size: 16px; }
.icoonknop { width: 44px; height: 44px; flex: none; border: 1px solid var(--lijn2); border-radius: 12px; background: var(--kaart2); display: flex; align-items: center; justify-content: center; color: var(--tekst); }
.vinkje { width: 36px; height: 36px; border-radius: 10px; border: 2px solid var(--lijn2); display: flex; align-items: center; justify-content: center; background: transparent; flex: none; }
.vinkje.aan { background: var(--volt); border-color: var(--volt); color: var(--bg); }
.stapper { background: var(--kaart2); border-radius: 14px; padding: 6px; display: flex; align-items: center; justify-content: space-between; }
.stapper button { width: 52px; height: 52px; border: 0; border-radius: 12px; background: var(--lijn); font-size: 26px; font-weight: 600; touch-action: manipulation; }
.stapper .w { text-align: center; } .stapper .w input { width: 72px; text-align: center; background: transparent; border: 0; font-family: var(--kop); font-size: 26px; font-weight: 700; outline: none; }
.menu { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #0e1014; border-top: 1px solid var(--lijn); padding: 6px 4px calc(10px + env(safe-area-inset-bottom)); }
.menu > div { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.menu button { min-height: 50px; border: 0; background: none; color: var(--zacht); font-size: 11px; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.menu button.aan { color: var(--volt); } .menu button.aan.blauw { color: var(--blauw); }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 40; background: #262b33; color: var(--tekst); padding: 12px 16px; border-radius: 14px; font-size: 14px; max-width: calc(100% - 32px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); }
.offline { font-size: 12px; color: var(--amber); }
.toets { min-height: 54px; border: 0; border-radius: 14px; background: var(--kaart2); font-family: var(--kop); font-size: 24px; font-weight: 600; touch-action: manipulation; }
.toets:active { background: var(--lijn2); }
.leeg { padding: 18px 0; text-align: center; color: var(--zacht); font-size: 14px; }
.vak { min-height: 96px; border: 2px solid var(--lijn2); border-radius: 18px; background: var(--kaart2); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; font-size: 17px; font-weight: 700; text-align: left; }
.vak.aan { border-color: var(--volt); background: var(--volt-donker); }
.vak .vk { width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--lijn2); display: flex; align-items: center; justify-content: center; }
.vak.aan .vk { background: var(--volt); border-color: var(--volt); color: var(--bg); }
.trap { display: grid; gap: 6px; }
.trap > span { min-height: 30px; border-radius: 8px; background: #22272f; color: var(--zacht); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.trap > span.gehaald { background: var(--volt); color: var(--bg); font-weight: 700; }
.trap > span.bezig { box-shadow: inset 0 0 0 2px var(--volt); background: transparent; color: var(--volt); font-weight: 700; }
.trap.blauw > span.gehaald { background: var(--blauw); } .trap.blauw > span.bezig { box-shadow: inset 0 0 0 2px var(--blauw); color: var(--blauw); }
.blad { position: fixed; inset: 0; z-index: 30; background: rgba(5, 6, 8, 0.72); display: flex; align-items: flex-end; justify-content: center; }
.blad > div { width: 100%; max-width: 560px; max-height: 92dvh; overflow: auto; background: var(--bg); border-top: 1px solid var(--lijn); border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 12px; }
.camera { position: relative; border-radius: 20px; overflow: hidden; background: #101317; border: 1px solid #1e232a; aspect-ratio: 3 / 4; }
.camera video { width: 100%; height: 100%; object-fit: cover; display: block; }
.camera .kader { position: absolute; left: 12%; right: 12%; top: 36%; height: 26%; border: 3px solid var(--blauw); border-radius: 14px; }
.camera .hint { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 14px; color: #c9d0d8; }
svg { flex: none; }
