:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#182b3b;background:#f4f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}main{max-width:1456px;margin:auto;padding:0 44px 26px}nav{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e0e6eb}.brand{display:flex;gap:12px;align-items:center;color:#172d40;text-decoration:none;font-size:18px;font-weight:850;letter-spacing:.12em}.brand small{display:block;font-size:8px;letter-spacing:.21em;margin-top:5px}.brand-icon{display:flex;align-items:center;justify-content:center;position:relative;width:43px;height:43px;border-radius:13px;background:#192f42;color:#c8f295;font-size:32px;letter-spacing:-.1em;font-weight:900}.brand-icon span{font-size:19px;position:absolute;right:3px;top:0;transform:rotate(-35deg)}.class-chip{font-size:10px;letter-spacing:.1em;color:#71808d;border:1px solid #dce3e8;border-radius:8px;padding:10px 13px;background:white}.class-chip b{font-size:13px;letter-spacing:0;color:#24394a;margin-left:9px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:35px 0 32px}.eyebrow,.section-label{font-size:9px;letter-spacing:.17em;font-weight:800;color:#6c7d89;margin:0 0 12px}h1{font-size:46px;line-height:1.1;font-weight:750;letter-spacing:-.055em;margin:0 0 13px}h1 em{font-style:normal;color:#668d66}.subtitle{color:#758390;font-size:12px;margin:0}.header-actions{display:flex;flex-direction:column;align-items:center;gap:13px}button{font:inherit;font-size:12px;font-weight:650;border:0;background:#1b3143;color:white;padding:13px 21px;border-radius:9px;cursor:pointer;box-shadow:0 3px 5px #1b314312}button span{font-size:18px;margin-right:7px}button:hover{background:#35536b}button:disabled{opacity:.5;cursor:wait}.source-link{color:#6f7e8b;font-size:10px;text-decoration:none}.board-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.board-heading h2{font-size:16px;letter-spacing:-.02em;margin:0}.board-heading h2 span{display:inline-block;font-size:10px;font-weight:500;color:#6d7c88;margin-left:7px;padding:5px 8px;background:#e8edf0;border-radius:5px}.auto{display:flex;align-items:center;gap:7px;color:#75828e;font-size:10px}.auto i{width:6px;height:6px;background:#7ea16a;border-radius:50%}#status{font-size:10px;color:#8a96a0;margin:0 0 19px;min-height:14px}.warning{color:#8b560b!important;background:#fff0d7;padding:12px;border-radius:8px}.days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:start}.day{min-width:0;border-radius:12px;background:#e2e2e2;border:1px solid #dfe6eb;box-shadow:0 4px 15px #172d4003;overflow:hidden}.day.today{border-color:#9ebc81;box-shadow:0 0 0 2px #c9dcb33d}.day-head{height:81px;background:#fff;padding:19px 15px;border-bottom:1px solid #e7edf0;position:relative}.day-head h2{font-size:14px;margin:0 0 8px;letter-spacing:-.02em}.day-head p{font-size:9px;margin:0;color:#8b97a1}.today .day-head{background:#eaf3de}.day-number,.today-label{float:right;color:#a8b4bc;font-size:10px;line-height:17px}.today-label{font-size:8px;color:#4f7138;background:#d4e7ba;border-radius:5px;padding:1px 6px}.lesson{height:103px;padding:12px 10px;border-bottom:1px solid #edf1f4;position:relative}.lesson:last-child{border:0}.lesson .time{font-size:9px;color:#42586a;font-weight:600;display:flex;align-items:center;justify-content:space-between;margin:0 3px 8px}.time span:last-child{font-size:8px;color:#596d7e}.subject{border-radius:6px;padding:8px 8px 7px;background:var(--pale);border-left:3px solid var(--accent)}.subject-title{display:flex;align-items:center;gap:6px}.subject strong{font-size:10px;font-weight:650;line-height:1.35;overflow-wrap:anywhere;color:#2e4252}.code{font-size:7px;font-weight:750;color:var(--accent);background:#ffffffa8;padding:3px 4px;border-radius:3px;flex-shrink:0}.subject small{font-size:8px;color:#788792;line-height:1.5;display:block;margin-top:2px}.subject-wi{--pale:#edf0fc;--accent:#7d88c9}.subject-ec{--pale:#fff4df;--accent:#c49a40}.subject-pie{--pale:#e5f3f1;--accent:#53a295}.subject-lo{--pale:#faeaf0;--accent:#c57897}.subject-en{--pale:#e9f2fc;--accent:#679dc6}.subject-ne{--pale:#f2edfa;--accent:#9d83bb}.subject-mtu{--pale:#f4eddc;--accent:#ad9866}.subject-choice{--pale:#edf3e5;--accent:#8da875}.free{background:repeating-linear-gradient(135deg,#fafbfc,#fafbfc 5px,#f8fafb 5px,#f8fafb 6px)}.empty{font-size:13px;color:#d0d8df;display:block;text-align:center;margin-top:19px}.now{background:#f1f8e8;box-shadow:inset 3px 0 #82a85d}.choices{border-radius:6px;background:#edf3e5;border-left:3px solid #8da875}.choices summary{cursor:pointer;list-style:none;padding:10px 8px}.choices summary::-webkit-details-marker{display:none}.choice-title{font-size:10px;font-weight:650;display:block}.choices summary small{font-size:8px;color:#7c8a71;display:block;margin-top:6px}.choices[open]{position:absolute;left:10px;right:10px;z-index:2;box-shadow:0 8px 28px #1b31432e;max-height:420px;overflow:auto}.choices .subject{margin:4px;border-left:0;background:#ffffffb0}.bottom{display:grid;grid-template-columns:1.45fr 1fr;gap:16px;margin-top:24px;align-items:start}.changes{padding:23px;display:flex;align-items:flex-start;gap:16px;background:#eaf1e3;border:1px solid #dbe6cf;border-radius:12px;min-height:154px}.notice-icon{display:grid;place-items:center;background:#dbe9ce;color:#5d7c46;border-radius:9px;width:34px;height:34px;flex-shrink:0;font-size:20px}.changes .section-label{font-size:8px;color:#7b906b;margin:1px 0 8px}.changes h2,.meta h2{font-size:14px;letter-spacing:-.02em;margin:0 0 12px}.changes p:last-child{font-size:11px;line-height:1.7;color:#637958;white-space:pre-line;margin:0}.meta{background:white;border:1px solid #dfe6eb;border-radius:12px;padding:20px 23px}.meta h2{margin-bottom:15px}.meta div{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.meta small{font-size:9px;color:#8b98a3}.meta strong{font-size:9px;font-weight:500;text-align:right;color:#536878}footer{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-top:24px;font-size:8px;color:#9aa5ad;line-height:1.8}footer span{font-weight:700;letter-spacing:.08em;white-space:nowrap}footer p{max-width:660px;text-align:right;margin:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #78aab9;outline-offset:4px}@media(min-width:1600px){.lesson{height:110px}.subject strong{font-size:12px}.subject small{font-size:9px}}@media(max-width:1050px) and (min-width:701px){main{padding:0 22px 24px}.days{gap:7px}.day-head{padding:17px 9px}.lesson{padding:12px 6px}.subject{padding:7px 4px}.subject-title{gap:3px}.subject strong{font-size:9px}.code{display:none}.day-head p{font-size:8px}.today-label{float:none;position:absolute;top:5px;right:5px}.bottom{grid-template-columns:1fr 1fr}}@media(max-width:700px){main{padding:0 18px 22px}nav{height:76px}header{padding:27px 0;align-items:flex-start}h1{font-size:34px}.eyebrow{font-size:7px}.subtitle{font-size:10px}button{font-size:10px;padding:10px 12px}.source-link{font-size:8px}.board-heading h2{font-size:14px}.auto{font-size:8px}.days{grid-template-columns:1fr;gap:18px}.day-head{height:72px;padding:18px}.day-head h2{font-size:17px}.day-head p{font-size:10px}.lesson{height:auto;min-height:80px;padding:12px 15px;display:grid;grid-template-columns:95px 1fr;gap:10px;align-items:center}.lesson .time{flex-direction:column;align-items:flex-start;gap:7px;font-size:11px;margin:0}.subject strong{font-size:13px}.subject small{font-size:10px}.code{font-size:8px}.lesson.free{min-height:48px}.empty{text-align:left;margin:0}.choices[open]{position:relative;inset:auto;max-height:none;box-shadow:none}.choice-title{font-size:12px}.choices summary small{font-size:10px}.bottom{grid-template-columns:1fr}.meta small,.meta strong{font-size:10px}footer{flex-direction:column;gap:8px}footer p{text-align:left}.today-label{font-size:10px}}@media print{main{padding:0}nav{height:65px}header{padding:20px 0}.header-actions,.auto{display:none}h1{font-size:30px}.days{grid-template-columns:repeat(5,1fr)}.lesson{height:100px;break-inside:avoid}.day{break-inside:avoid}.bottom{grid-template-columns:1fr 1fr}.choices[open]{position:static;max-height:none}}

/* Lege uren tonen uitsluitend een compacte tijdregel. */
.lesson.free{height:auto;min-height:0;display:block;padding:12px 13px;background:transparent;box-shadow:none}.lesson.free .time{margin:0;flex-direction:row;align-items:center;gap:4px}

/* Compact rooster in logeditorstijl. */
.day{background:#252a32;border-color:#363d47}
.lesson{height:auto;min-height:0;padding:9px 10px;border-bottom-color:#363d47}
.lesson .time,.lesson .time span:last-child{color:#d1ad45}
.lesson .time{margin-bottom:6px}
.lesson.free{padding:9px 13px;background:transparent}
.subject{padding:6px 8px}
.lesson.now{background:#30383c}
.lesson.free.now{background:#30383c;box-shadow:inset 3px 0 #d1ad45}
@media(max-width:700px){.lesson{display:block;min-height:0;padding:10px 15px}.lesson .time{flex-direction:row;align-items:center;margin-bottom:7px}.lesson.free{min-height:0;padding:9px 15px}.lesson.free .time{margin:0}}
@media print{.lesson{height:auto;min-height:0}}

/* Eén uitgelijnde bovenbalk. */
header.roster-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0 19px}
.roster-toolbar h2{font-size:20px;letter-spacing:-.025em;margin:0}
.toolbar-actions{display:flex;align-items:stretch;gap:10px}
.toolbar-actions button,.update-box{min-height:44px;border-radius:9px}
.toolbar-actions button{display:flex;align-items:center;justify-content:center}
.update-box{display:flex;align-items:center;justify-content:center;gap:12px;padding:11px 16px;background:#1b3143;color:white;font-size:12px}
.update-box span{color:#c6d0d8}.update-box strong{font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}
footer .source-link{font-size:11px;white-space:nowrap}
@media(max-width:700px){header.roster-toolbar{flex-wrap:wrap;gap:14px;padding:22px 0 18px}.toolbar-actions{flex-wrap:wrap;gap:8px}.toolbar-actions button{font-size:12px}.update-box{padding:11px 13px}}
@media print{.toolbar-actions{display:none}}

#status:empty{display:none}

/* Beter leesbare tijden onder dagen en bij lesuren. */
.day-head p{font-size:12px;line-height:1.5;color:#596b79}
.lesson .time{font-size:11px;line-height:1.4}
.lesson .time span:last-child{font-size:10px}
@media(max-width:1050px) and (min-width:701px){.day-head{height:auto;min-height:81px}.day-head p{font-size:12px}.lesson .time{flex-wrap:wrap;gap:4px}}
@media(max-width:700px){.day-head{height:auto;min-height:76px}.day-head p{font-size:13px}.lesson .time{font-size:12px}.lesson .time span:last-child{font-size:11px}}

.roster-logo{display:block;width:280px;max-width:100%;height:auto;flex-shrink:0}header.roster-toolbar{padding-top:12px;padding-bottom:12px}@media(max-width:700px){.roster-logo{width:240px}header.roster-toolbar{align-items:center}}

/* Leesbare telling per dag en doorlopende bronberichten. */
.day-head{height:auto;min-height:85px}.day-head p{font-size:14px;line-height:1.5}
.changes>div{min-width:0;flex:1}.changes #changes{white-space:pre-line;overflow-wrap:break-word;line-height:1.7;font-size:13px}
.school-notices{margin-top:18px;padding:21px 24px;background:#fff3dc;border:1px solid #ebd5a5;border-radius:12px;color:#634b20}
.school-notices[hidden]{display:none}.school-notice-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.school-notice-heading span{font-size:23px;color:#ad7b1b}.school-notice-heading h2{font-size:15px;margin:0}
#notices p{white-space:pre-line;font-size:13px;line-height:1.7;margin:0}#notices p+p{margin-top:16px}
@media(max-width:1050px) and (min-width:701px){.day-head p{font-size:14px}}
@media(max-width:700px){.day-head p{font-size:14px}.school-notices{padding:18px}}

.meta .history-panel{display:block;border-top:1px solid #e0e6eb;margin-top:18px;padding-top:16px}.history-panel label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.history-panel select{width:100%;max-width:100%;font:inherit;font-size:12px;color:#24394a;background:#f5f7f8;border:1px solid #cdd7df;border-radius:7px;padding:9px}.history-panel ul{list-style:none;padding:0;margin:10px 0 0}.history-panel li{font-size:12px;line-height:1.6;margin-top:8px;overflow-wrap:anywhere;color:#536878}@media(max-width:700px){.history-panel select{font-size:16px}}
