/* Isolated weekly calendar view; printing uses its own document. */
#weekly-overview{width:96vw;max-width:1700px;max-height:92vh;padding:22px;border:1px solid #34526d;border-radius:14px;background:#0d1725;color:#fff;overflow:auto}
#weekly-overview::backdrop{background:#0009}
#weekly-overview .wo-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
#weekly-overview h2{margin:0;font-size:25px}
#weekly-overview .wo-heading p{color:#38BDF8;margin:6px 0}
#weekly-overview .wo-calendar{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;align-items:start}
#weekly-overview .wo-day{min-width:0;border:1px solid #34526d;border-radius:10px;overflow:hidden;background:#142235}
#weekly-overview .wo-day h3{margin:0;background:#1565D8;color:white;padding:10px 12px;font-size:18px}
#weekly-overview .wo-day-type{color:#80D94A;font-size:13px;margin:10px 12px}
#weekly-overview .wo-meal{margin:0 12px;padding:10px 0;border-bottom:1px solid #34526d}
#weekly-overview .wo-occasion,#weekly-overview .wo-energy{color:#38BDF8;font-size:13px;margin:4px 0}
#weekly-overview .wo-edit{display:block;padding:0;background:none;border:0;border-radius:0;text-align:left;color:white;font-size:15px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#weekly-overview .wo-edit:hover{text-decoration:underline;text-decoration-color:#80D94A}
#weekly-overview details{background:transparent;padding:0;margin:7px 0 0;border:0}
#weekly-overview summary{font-size:12px;color:#80D94A;text-transform:none;letter-spacing:0}
#weekly-overview ul{padding-left:17px;font-size:13px;overflow-wrap:anywhere}
#weekly-overview .wo-totals{color:#38BDF8;font-size:13px;font-weight:bold;line-height:1.6;margin:12px}
#weekly-overview .wo-free,#weekly-overview .wo-empty{font-size:13px;color:#b9ccdf;margin:12px}
@media(max-width:600px){#weekly-overview{padding:14px}#weekly-overview .wo-calendar{grid-template-columns:minmax(0,1fr)}}

#open-weekly-overview{background:#1565D8;border-color:#1565D8;color:#fff}

#weekly-print-preview{width:96vw;max-width:1500px;height:92vh;background:#0d1725;border:1px solid #34526d;border-radius:12px;padding:14px}#weekly-print-preview iframe{display:block;width:100%;height:calc(100% - 55px);border:0;background:white;margin-top:10px}#weekly-print-preview::backdrop{background:#0009}
