:root{--tekst:#3d3d3d;--grijs:#6e6e6e;--licht:#8a8a8a;--rand:#d9d9d9;--rand2:#cfcfcf;--vlak:#f5f5f5;--room:#fff;--roomrand:#e2e2df;--accent:#58595b;--oranje:#f08a24;--groen:#2e6e48;--groenv:#e9f4ec;--oker:#f08a24;--okerv:#fff3e3;--rood:#9b2a22;--roodv:#fde7e5}
*{box-sizing:border-box}
html,body{margin:0;background:#f4f4f2;color:var(--tekst);font-family:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px}
body{padding-top:env(safe-area-inset-top,0)}
a{color:var(--oker)}
.kop{display:flex;align-items:flex-start;justify-content:space-between;padding:16px 20px 10px}
.merk{display:flex;flex-direction:column;line-height:1}
.merk-a{font-size:22px;font-weight:800;letter-spacing:-.3px}.merk-b{font-size:22px;font-weight:600;color:var(--licht);letter-spacing:-.3px}
.merk small{font-size:11px;color:var(--licht);margin-top:4px}
.merk span{display:inline}
.paneel{margin:0 14px;padding:16px 16px 24px;border-radius:22px 22px 0 0;min-height:calc(100vh - 80px);display:flex;flex-direction:column;gap:11px;max-width:600px}
@media(min-width:640px){.paneel{margin:0 auto;border-radius:22px}}
h1{margin:0;font-size:20px;font-weight:800;line-height:1.2}
h2{margin:0;font-size:15px;font-weight:800}
.rij{display:flex;align-items:center;justify-content:space-between;gap:10px}
.pil{padding:6px 12px;border:1px solid var(--rand2);border-radius:20px;font-size:13px;font-weight:600;background:#fff}
.kaart{padding:12px 14px;border:1px solid var(--rand);border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:8px}
.kaart-vlak{background:var(--vlak)}
.kaart-room{background:var(--room);border-color:var(--roomrand)}
.verplicht::after{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-left:6px;vertical-align:middle}
label,.label{font-size:15px;font-weight:800}
.hint{font-size:12px;color:var(--licht)}
.tekst-grijs{color:var(--grijs)}.tekst-oker{color:var(--oker)}.tekst-groen{color:var(--groen)}.tekst-rood{color:var(--rood)}
input[type=text],input[type=number],input[type=date],input[type=email],input[type=password],select,textarea{width:100%;height:46px;padding:0 12px;border:1px solid var(--rand2);border-radius:12px;background:#fff;font:inherit;color:var(--tekst)}
textarea{height:84px;padding:10px 12px;resize:none}
.knop{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 16px;border:1px solid var(--rand2);border-radius:12px;background:#fff;color:var(--tekst);font:inherit;font-weight:700;font-size:15px;text-decoration:none;cursor:pointer}
.knop-primair{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:800;font-size:16px;height:50px}
.knop-klein{height:40px;padding:0 14px;border-radius:12px;font-size:14px}
.knop-uit{color:#9a9a9a;border-color:#b5b5b5}
.knop-stippel{border-style:dashed;border-color:#b5b5b5;font-size:15px;height:48px}
.knop-link{border:0;background:none;color:var(--grijs);height:44px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.weekbalk{display:grid;grid-template-columns:repeat(var(--n,6),1fr);gap:5px}
.dag{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0;border:1px solid var(--rand);border-radius:12px;text-decoration:none;color:#9a9a9a;background:#fff}
.dag b{font-size:12px;font-weight:700}.dag span{font-size:15px;font-weight:800}
.dag-compleet{color:var(--tekst)}.dag-compleet::after{content:'✓';font-size:11px;color:var(--groen);font-weight:800}
.dag-tekort{background:#f1f1f1;border-color:#9a9a9a;color:var(--grijs)}.dag-tekort i{font-size:10px;font-style:normal;color:var(--oker);font-weight:700}
.dag-vrij{color:var(--groen)}.dag-vrij::after{content:'V';font-size:11px;font-weight:800}
.dag-weekend{border-style:dashed;color:#b5b5b5}
.dag-vandaag{background:var(--accent);border-color:var(--accent);color:#fff}.dag-vandaag::after{color:#fff}
.keuze{height:44px;border:1px solid var(--rand2);border-radius:12px;background:#fff;font:inherit;font-size:14px;font-weight:700;color:var(--tekst);cursor:pointer}
.keuze.aan{background:var(--accent);border-color:var(--accent);color:#fff}
.teller{display:flex;align-items:center;justify-content:space-between;gap:10px}
.teller button{width:56px;height:52px;border:1px solid var(--rand2);border-radius:12px;background:#fff;font-size:26px;cursor:pointer}
.teller output{font-size:44px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.regel{display:flex;align-items:center;justify-content:space-between;font-size:15px;text-decoration:none;color:var(--tekst)}
.regel b{font-weight:800}
.totaal{border-top:1px solid var(--rand);padding-top:6px;font-weight:700}
.flash{padding:10px 14px;border-radius:12px;background:var(--groenv);color:var(--groen);font-weight:700;font-size:14px}
.fout{padding:10px 14px;border-radius:12px;background:var(--roodv);color:var(--rood);font-weight:700;font-size:14px}
.onderaan{margin-top:auto;display:flex;flex-direction:column;gap:8px;padding-top:8px}
.midden{text-align:center;font-size:13px}
.code-vakken{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.code-vakken input{height:58px;text-align:center;font-size:26px;font-weight:800;padding:0}

/* Rust en simpel: lijsten en tegels (Vandaag, Mijn planning) */
.lijst{border:1px solid var(--rand);border-radius:14px;overflow:hidden;background:#fff}
.item{display:flex;align-items:center;gap:10px;padding:10px 12px;text-decoration:none;color:var(--tekst)}
.item+.item{border-top:1px solid #f1f1f1}
.item .stip{width:5px;align-self:stretch;border-radius:3px;background:var(--oranje);flex-shrink:0}
.item .tx{flex:1;min-width:0}
.item .tx b{display:block;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item .tx span{display:block;font-size:12px;color:var(--grijs);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.item .u{font-size:14px;font-weight:800;flex-shrink:0}
.item-ic{width:34px;height:34px;border-radius:10px;background:var(--vlak);display:flex;align-items:center;justify-content:center;flex-shrink:0;text-decoration:none;font-size:15px}
.item-leeg{padding:12px;font-size:13px;color:var(--licht)}
.tegels{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tegel{border:1px solid var(--rand);border-radius:12px;padding:8px 10px;min-height:42px;display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px;font-weight:700;background:#fff;text-decoration:none;color:var(--tekst)}
.tegel svg{width:17px;height:17px;flex:none;color:var(--grijs)}
.tegel.let{border-color:#f0c79a}.tegel.let svg{color:var(--oranje)}

.lbl{font-size:11px;font-weight:800;color:var(--licht);text-transform:uppercase;letter-spacing:.5px;display:flex;justify-content:space-between;align-items:center;margin:2px 0 -2px}
.lbl a{color:var(--oranje);text-decoration:none;text-transform:none;letter-spacing:0;font-size:12px;font-weight:700}
.meta{font-size:12px;color:var(--grijs);padding:2px 12px 10px 27px;margin-top:-6px;line-height:1.5;background:#fff}

/* Uren boeken compact (v1.00): alles op één scherm */
.boek-kop{align-items:center}.boek-kop h1{font-size:20px}.boek-dag{display:flex;align-items:center;gap:6px}.boek-dag a.pil{text-decoration:none;color:var(--tekst)}
.boek{gap:8px!important}.boek .kaart{padding:9px 12px;gap:5px}.boek label,.boek .label{font-size:13px}
.boek input[type=text],.boek select{height:40px}.boek .keuze{height:40px}
.boek .kaart:has(.teller){flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}.boek .teller{gap:14px;flex:0 0 auto}.boek .teller button{width:46px;height:42px;font-size:22px}.boek .teller output{font-size:30px}
.boek-duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}.boek-duo .kaart{min-width:0}
.boek .knop-stippel{height:40px!important}
.boek-rij3{display:grid;grid-template-columns:1fr 1fr 64px;gap:8px;align-items:end}.boek-veld{display:flex;flex-direction:column;gap:3px;font-weight:400}.boek-veld .hint{font-size:11px;font-weight:700}.boek .boek-foto{height:40px!important;padding:0 4px;font-size:18px;min-width:0}.boek .boek-foto #foto_txt{font-size:13px;font-weight:700;white-space:nowrap}

/* Ploeg boeken (v1.06) */
.ploeg .pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.ploeg .pl-chips .keuze { width: auto; min-height: 40px; padding: 0 13px; }
.pl-rijen { display: flex; flex-direction: column; margin-top: 6px; }
.pl-rij { display: grid; grid-template-columns: minmax(0, 64px) minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--roomrand, #e2e2df); }
.pl-rij[hidden], .ploeg [hidden] { display: none; }
.pl-rij b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-rij select { min-height: 40px; font-size: 14px; }
.pl-uren { display: inline-flex; align-items: center; gap: 6px; }
.pl-uren button { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--roomrand, #e2e2df); background: #fff; font-size: 18px; font-weight: 700; }
.pl-uren output { min-width: 34px; text-align: center; font-weight: 800; font-size: 17px; }
.dag-knoppen{display:flex;gap:10px;margin-bottom:10px}
.dag-knoppen>*{flex:1 1 0;min-width:0;margin:0}
.dag-knoppen .knop{width:100%}
