.wk { gap: 14px; }
.wk p { margin: 0; }
.wk-kenn { font-size: 13px; color: var(--ink-70); }
.wk-meldung { padding: 10px 14px; border-left: 3px solid var(--orange); background: var(--paper); font-weight: 600; }
.wk:not(.wk-an) .wk-nur-skript { display: none; }
.wk-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-70); }
.wk-legende li { display: inline-flex; align-items: center; gap: 8px; }
.wk-muster { flex: 0 0 auto; width: 22px; height: 16px; border: 1.5px solid var(--rand); border-left-width: 5px; background: var(--paper); box-sizing: border-box; }
.wk-muster[data-stand="frei"], .wk-woche[data-stand="frei"] { border-left-color: var(--status-gruen); background: var(--rule-soft); }
.wk-muster[data-stand="knapp"], .wk-woche[data-stand="knapp"] { border-left-color: var(--status-gelb); background: var(--rule-soft); }
.wk-muster[data-stand="belegt"], .wk-woche[data-stand="belegt"] { border-left-color: var(--status-rot); background: repeating-linear-gradient(135deg, var(--paper) 0 6px, var(--rule) 6px 8px); }
.wk-muster-eigene { box-shadow: inset 0 0 0 2px var(--tuerkis); }
.wk-muster-auswahl { border-color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); background: var(--rule-soft); }
.wk-muster-mit { border: 2px dashed var(--orange); }
.wk-kalender { display: flex; flex-direction: column; gap: 14px; user-select: none; -webkit-user-select: none; }
.wk-monat { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wk-monat-name { font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--ink); }
.wk-wochen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 82px), 1fr)); gap: 6px; }
.wk-woche {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; min-height: 64px; margin: 0;
  padding: 7px 8px 7px 10px; font: inherit; text-align: left; color: var(--ink); cursor: pointer;
  border: 1.5px solid var(--rand); border-left-width: 5px; border-radius: var(--radius); box-sizing: border-box; background: var(--paper);
}
.wk-woche:disabled { cursor: default; color: var(--ink); opacity: 1; }
.wk-woche:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; z-index: 1; }
.wk-woche:not(:disabled):hover { border-top-color: var(--orange); border-right-color: var(--orange); border-bottom-color: var(--orange); }
.wk-kw { font-size: 14px; font-weight: 800; line-height: 1.1; }
.wk-tag { font-size: 12.5px; line-height: 1.2; color: var(--ink-70); }
.wk-frei { font-size: 15px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wk-woche[data-stand="belegt"] .wk-frei { color: var(--ink-70); }
.wk-stand { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wk-woche.wk-eigene { box-shadow: inset 0 0 0 2px var(--tuerkis); }
.wk-woche.wk-mit { border-style: dashed; border-left-style: solid; border-top-color: var(--orange); border-right-color: var(--orange); border-bottom-color: var(--orange); }
.wk-woche[aria-pressed="true"] { border-color: var(--orange); box-shadow: inset 0 0 0 2px var(--orange); background: var(--rule-soft); }
.wk-auswahl { padding: 10px 14px; border-left: 3px solid var(--orange); background: var(--paper); font-weight: 600; }
.wk-laufend { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--ink); border-left: 4px solid var(--tuerkis); background: var(--paper); }
.wk-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.wk-aktionen form { margin: 0; }
.wk-aktionen .btn { min-height: 44px; display: inline-flex; align-items: center; }
.wk-form select, .wk-form input { min-height: 44px; }
.wk-status:empty { display: none; }
.wk-status { font-weight: 600; }
