
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#292b37;background:#f6f5f2;font-synthesis:none;--purple:#6b58a7;--green:#dceccf;--orange:#f4d4b7;--lavender:#ded7f3;--red:#bc6557}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}header{height:78px;background:#fff;border-bottom:1px solid #e9e7e2;display:flex;align-items:center;justify-content:space-between;padding:0 3.5vw;gap:15px}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:23px;color:inherit;text-decoration:none;letter-spacing:-.7px}.logo{background:var(--purple);color:#fff;border-radius:12px;width:36px;height:36px;text-align:center;font:italic 32px Georgia}.brand-sub{font-size:11px;color:#898793;font-weight:400;letter-spacing:0;border-left:1px solid #ddd;padding-left:15px;margin-left:8px}nav{display:flex;align-items:center;gap:9px}nav #saved{font-size:11px;color:#797d76;margin-right:9px}#saved:before{content:'●';color:#7d9b67;margin-right:5px}button{border:0;background:none;border-radius:8px;padding:10px 13px;font-size:12px;font-weight:550;white-space:nowrap}.quiet{color:#686775}.quiet:hover{background:#efedf5}.outline{border:1px solid #ddd8e7;background:white}.primary{background:var(--purple);color:#fff;box-shadow:0 3px 7px #6b58a71a}.primary:hover{background:#58458f}.text-button{color:var(--purple);padding:5px 0}.close{font-size:26px;color:#92909a;padding:0 7px}main{max-width:1800px;margin:auto;padding:32px 3.5vw 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#938caa}h1{font-size:32px;line-height:1.17;letter-spacing:-1.1px;font-weight:650;margin:10px 0}h1 span{color:#9486b8}.intro p{color:#83828a;font-size:12px;margin:10px 0}.year-block{text-align:right;display:flex;flex-direction:column}.year-block>span{font-size:9px;letter-spacing:2px;color:#9a95a6}.year-block strong{font-size:66px;letter-spacing:-4px;line-height:1.2;color:#5d527a;font-weight:550}.year-block small{color:#8f8b97;font-size:12px}.summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.summary>div{border:1px solid #e7e4dd;border-radius:12px;background:#fff;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.summary span{font-size:11px;color:#82808c}.summary strong{font-size:27px;font-weight:600;white-space:nowrap;letter-spacing:-.7px}.summary small{font-size:10px;font-weight:400;letter-spacing:0;color:#97929f}.summary .attention{background:#f7eee9;border-color:#e9d7cc}.attention strong{color:#a56654}.calendar-card{background:white;border:1px solid #e5e2dc;border-radius:13px;overflow:hidden;box-shadow:0 5px 20px #30243c03}.calendar-toolbar{padding:20px 22px 13px;display:flex;justify-content:space-between;align-items:center}h2{font-size:17px;font-weight:650;letter-spacing:-.4px;margin:0}.calendar-toolbar p{color:#97919e;font-size:10px;margin:5px 0}.view-controls{display:flex;gap:7px}.legend{display:flex;gap:19px;align-items:center;padding:0 22px 17px;font-size:10px;color:#807b89}.legend>span{display:flex;align-items:center;gap:5px}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px}.legend .school{background:var(--green)}.legend .kita{background:var(--orange)}.legend .vacation{background:var(--lavender)}.legend .open{border:1.5px solid var(--red);background:#fcf4f0}.legend .owner-dot{background:#eee9f5;border-radius:50%}.legend-help{margin-left:auto;color:#aaa5af}.calendar-scroll{padding:0 16px 14px;overflow:auto}.calendar{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;min-width:1060px}.month{min-width:0}.month h3{font-size:11px;font-weight:650;margin:0 0 5px;padding:10px 3px;background:#f4f2f7;border-radius:5px;text-align:center;color:#675b7f}.day{height:23px;display:flex;position:relative;align-items:center;width:100%;padding:0 4px;gap:3px;border-radius:3px;margin-bottom:2px;font-size:9px;background:#fff;color:#75717d;box-shadow:inset 0 -1px #f1f0ed;font-weight:400}.day .num{font-variant-numeric:tabular-nums;color:#423f49;min-width:13px;font-size:10px;font-weight:550}.day .week{font-size:8px}.day.weekend{background:#f0efec}.day .marks{display:flex;gap:2px;margin-left:auto}.mark{display:block;width:5px;height:12px;border-radius:2px}.mark.school{background:#b6d893}.mark.kita{background:#eba974}.day .owner{margin-left:2px;border-radius:3px;background:#efedf2;font-size:8px;font-weight:650;min-width:16px;padding:2px;color:#8a8393;text-align:center}.day.mine .owner{background:#e8e1f3;color:#635083}.day.open{box-shadow:inset 2px 0 #cb887a,inset 0 -1px #f1e3df;background:#fcf7f4}.day.vacation{background:#e7e1f7;box-shadow:inset 2px 0 #8e78c0}.day.covered{box-shadow:inset 2px 0 #7b9f89}.day.holiday .num{color:#aa7256}.day .switch{position:absolute;right:1px;bottom:-1px;font-size:7px;color:#a08db2}.day .note-dot{font-size:7px;color:#6b58a7}.day:hover{outline:1px solid #9c8ab9;z-index:1;background:#f0ecf6}.day:focus-visible{outline:2px solid #6b58a7;z-index:2}.day.dim{opacity:.22}.empty{height:25px;background:repeating-linear-gradient(135deg,#faf9f7,#faf9f7 4px,#f4f3f0 4px,#f4f3f0 5px);border-radius:3px}.month-total{text-align:center;font-size:9px;color:#9c839b;padding:7px 0 0}.calendar-footer{border-top:1px solid #eeece8;padding:11px 22px;color:#9c95a2;display:flex;justify-content:space-between;font-size:9px;gap:15px}.calendar-footer b{color:#8e7fa5}.notice{display:flex;align-items:center;gap:10px;margin:16px 0 12px;color:#8c8370;font-size:10px}.notice>span{border:1px solid #c3baa5;border-radius:50%;width:16px;height:16px;text-align:center;flex-shrink:0}.notice p{margin:0}footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a4a0a9}footer button{font-size:10px}dialog{border:1px solid #e3dfe9;border-radius:17px;padding:26px;width:min(480px,94vw);max-height:90vh;color:#292b37;box-shadow:0 25px 90px #30243b30}dialog.wide{width:min(760px,96vw)}dialog::backdrop{background:#25203166;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:15px}.dialog-top h2{margin-top:5px;font-size:21px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin:13px 0;color:#77707f}input,select,textarea{width:100%;border:1px solid #ddd7e6;border-radius:7px;padding:10px;background:#fff;color:#38323f;min-width:0}textarea{min-height:76px;resize:vertical}.check{flex-direction:row;align-items:center;color:#51475c;gap:10px}.check input{width:17px;height:17px;accent-color:var(--purple)}.two{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px;border-top:1px solid #efebf4;padding-top:18px}.details{background:#f7f5f9;border-radius:10px;padding:12px 15px;font-size:12px;color:#7e738a;line-height:1.7}.details p{margin:0}.field-help{font-size:10px;color:#9d95a4;line-height:1.5}.range-row{display:grid;grid-template-columns:1.2fr 1fr 1fr 30px;gap:7px;margin-bottom:7px}.range-row input{font-size:11px;padding:8px 5px}.range-row button{padding:0;color:#b17d79}.error{color:#b45b4d;font-size:12px}dialog h3{font-size:13px;margin-top:23px}#sources-dialog p,#sources-dialog li{font-size:12px;line-height:1.8;color:#807488}a{color:var(--purple)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:10px;background:#43394f;color:white;box-shadow:0 4px 30px #0002;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}[aria-pressed=true]{background:#efeaf7;color:#69538f}@media(min-width:1600px){.day{height:26px;font-size:10px}.day .week{font-size:9px}}@media(max-width:1100px){.brand-sub,#saved{display:none}.summary>div{flex-direction:column;align-items:flex-start;padding:14px}.legend{gap:12px;flex-wrap:wrap}.legend-help{display:none}.calendar-toolbar{gap:15px}.day{height:25px}}@media(max-width:650px){header{height:auto;padding:14px 18px;flex-wrap:wrap}.brand{font-size:21px}nav{gap:3px;width:100%;justify-content:space-between}nav button{font-size:10px;padding:8px}main{padding:22px 14px}.intro{margin-bottom:18px}h1{font-size:25px}.intro p{font-size:10px;max-width:210px}.year-block strong{font-size:48px}.year-block small{font-size:9px}.summary{gap:8px;grid-template-columns:repeat(2,1fr);margin-bottom:16px}.summary>div{flex-direction:row;align-items:center}.summary span{font-size:10px;max-width:90px}.summary strong{font-size:24px}.calendar-toolbar{flex-direction:column;align-items:flex-start;padding:17px}.view-controls{width:100%;justify-content:space-between}.legend{padding:0 17px 14px;font-size:9px}.calendar-scroll{padding:0 10px 10px}.calendar-footer{flex-direction:column;gap:5px;padding:10px;font-size:8px}footer{flex-direction:column;align-items:flex-start;gap:8px}.notice{align-items:flex-start;line-height:1.6}.two{grid-template-columns:1fr}.range-row{grid-template-columns:1fr 1fr 25px}.range-row input:first-child{grid-column:1/-1}.range-row button{grid-column:3;grid-row:2}dialog{padding:20px}.actions{gap:5px}.actions button{font-size:10px}}
@media print{@page{size:A3 landscape;margin:10mm}body{background:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}header,nav,.intro,.notice,footer,.view-controls,.legend-help,dialog,#toast{display:none!important}main{max-width:none;padding:0}.summary{margin:0 0 8px;gap:8px}.summary>div{padding:8px}.summary strong{font-size:20px}.calendar-toolbar{padding:10px}.calendar-toolbar h2:after{content:' · 2027 · Baden-Württemberg'}.calendar-card{border:0;box-shadow:none}.calendar-scroll{overflow:visible;padding:0}.calendar{min-width:0;gap:4px}.day{height:19px;margin-bottom:1px}.empty{height:20px}.legend{padding:5px 0 10px}.calendar-footer{padding:6px 0}.day.dim{opacity:1}.month h3{padding:7px}.summary,.calendar-card{break-inside:avoid}}

[hidden]{display:none!important}#login-screen{display:none}.locked>header,.locked>main{display:none}.locked #login-screen{display:grid;min-height:100vh;place-items:center;padding:25px}.login-card{background:white;border:1px solid #e3dfe9;border-radius:18px;width:min(420px,95vw);padding:35px;box-shadow:0 10px 60px #3324420a}.login-card .logo{display:block;margin-bottom:25px}.login-card h1{font-size:28px}.login-card>p{font-size:12px;color:#938799}.login-card button{width:100%;margin-top:10px}input[readonly]{background:#f4f2f7;color:#8a7c95}nav{flex-wrap:wrap}header{height:auto;min-height:78px;padding-top:12px;padding-bottom:12px}@media print{#login-screen{display:none!important}}

.allocation-card{margin-top:20px;padding:22px;background:#fff;border:1px solid #e5e2dc;border-radius:13px}.allocation-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.allocation-heading h2{margin:7px 0}.allocation-heading p{font-size:11px;color:#938b9c;margin:0}.count-method{margin:0;font-size:10px;min-width:260px}.count-method select{padding:9px;font-size:11px}.allocation-scroll{overflow:auto}.allocation-table{width:100%;border-collapse:collapse;font-size:12px}.allocation-table th{text-align:left;font-weight:550}.allocation-table thead th{font-size:10px;color:#958a9e;padding:10px 12px;background:#f6f4f9}.allocation-table tbody th,.allocation-table td{padding:11px 12px;border-bottom:1px solid #f1eef5}.allocation-table td:nth-child(2),.allocation-table th:nth-child(2){color:#735b9e}.allocation-table td:nth-child(3),.allocation-table th:nth-child(3){color:#b17c51}.allocation-table td:nth-child(2),.allocation-table td:nth-child(3),.allocation-table td:nth-child(4){font-variant-numeric:tabular-nums;text-align:right;font-size:14px;width:12%}.allocation-table th:nth-child(2),.allocation-table th:nth-child(3),.allocation-table th:nth-child(4){text-align:right}.allocation-table td:last-child{width:25%;min-width:160px}.allocation-total{background:#faf8fc;font-weight:650}.allocation-bar{display:flex;overflow:hidden;height:7px;background:#eeeaf1;border-radius:5px;width:100%;margin-bottom:5px}.papa-share{background:#9a85bf}.mutter-share{background:#dfb994}.allocation-table small{font-size:9px;color:#9c93a5}.allocation-note{font-size:10px;color:#9b91a2;line-height:1.6;margin:12px 0 0}@media(max-width:650px){.allocation-card{padding:17px}.allocation-heading{align-items:stretch;flex-direction:column;gap:10px}.count-method{min-width:0}.allocation-table{min-width:630px}}@media print{.allocation-card{break-inside:avoid;padding:12px;margin-top:12px}.allocation-heading p,.count-method{display:none}.allocation-table td,.allocation-table tbody th{padding:6px 8px}.allocation-note{font-size:8px}}

.year-navigation{display:flex;align-items:center;gap:12px}.year-navigation button{font-size:30px;color:#9987b5;padding:5px 10px;border:1px solid #e4dfee;background:white}.year-navigation button:disabled{opacity:.25;cursor:default}#legacy-login{margin-top:20px;padding-top:12px;border-top:1px solid #eee8f3}#legacy-login summary{font-size:11px;color:#9a8aaa;cursor:pointer}#email-config-note{line-height:1.5}#email-login-message{color:#735b9e}.year-block .year-navigation strong{min-width:130px}.month-total{line-height:1.25;min-height:32px}@media print{.year-navigation button{display:none}.calendar-toolbar h2:after{content:''}}
.audit-entry{border-top:1px solid #ddd8e8;padding:18px 0}.audit-entry h3{margin:0}.audit-change{padding:10px 0}.audit-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}.audit-pair>div{background:#f5f2f9;padding:12px;border-radius:8px;min-width:0}.audit-pair small{color:#71667e}.audit-pair pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;margin:6px 0 0}@media(max-width:600px){.audit-pair{grid-template-columns:1fr}}
[hidden]{display:none!important}body:not(.is-admin) #admin,body:not(.is-admin) #admin-dialog{display:none!important}
.day.vacationMama{background:#d6e8ef}.day.vacation.vacationMama{background:linear-gradient(135deg,#ded7f3 50%,#d6e8ef 50%)}.vacation-badge{font-size:7px;font-weight:700;color:#51466c;position:absolute;bottom:0;right:2px}.day{position:relative}
body.auth-pending header,body.auth-pending main,body.auth-pending dialog{visibility:hidden!important}body.locked header,body.locked main,body.locked dialog{display:none!important}

/* Full-width annual calendar */
@media screen{main{max-width:none;width:100%;padding:24px 16px 20px}header{padding-left:16px;padding-right:16px}.calendar-scroll{padding-left:10px;padding-right:10px}.calendar{width:100%}.calendar-card{width:100%}}

/* Compact planning figures, independent of calendar width. */
@media screen{.summary{display:inline-flex;flex-wrap:wrap;vertical-align:top;gap:8px;max-width:100%;margin:0 12px 14px 0}.summary>div{flex:0 0 auto;min-width:138px;max-width:180px;min-height:66px;padding:10px 12px;border-radius:9px;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px}.summary span{font-size:10px;max-width:none}.summary strong{font-size:22px;letter-spacing:-.4px}.summary small{font-size:10px}.intro{margin-bottom:18px}}
@media screen and (max-width:650px){.summary{display:flex;margin-right:0;gap:6px}.summary>div{min-width:0;max-width:170px;flex:0 1 calc(50% - 3px);padding:9px 11px}.summary strong{font-size:21px}}

/* Planning figures beside the page title. */
@media screen{.intro{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,2.4fr) auto;gap:24px;align-items:center}.intro-stats{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-content:center}.intro-stats .summary{display:contents}.intro-stats .summary>div{width:138px;max-width:155px}.intro-stats .summary strong{font-size:22px}}
@media screen and (max-width:1100px){.intro{grid-template-columns:1fr auto;gap:16px}.intro-stats{grid-column:1/-1;grid-row:2;justify-content:flex-start}.intro>.year-block{grid-column:2;grid-row:1}}
@media screen and (max-width:650px){.intro{grid-template-columns:minmax(0,1fr) auto;gap:12px}.intro-stats{gap:6px}.intro-stats .summary>div{width:auto;flex:0 1 calc(50% - 3px);max-width:170px}.year-block .year-navigation strong{min-width:90px}}

@media print{.intro{display:contents!important}.intro>div:first-child,.intro>.year-block{display:none!important}.intro-stats{display:block}.intro-stats .summary{display:grid}}

