:root {
  color-scheme: light;
  --input-bg: #fafbff;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #17175f;
  --muted: #5b6088;
  --line: #e2e4f0;
  --accent: #2d31b8;
  --accent-dark: #1d1f7a;
  --brand: #2d31b8;
  --teal: #0f9488;
  --orange: #e07a2c;
  --violet: #8b5cf6;
  --blue: #2f6fde;
  --pink: #db3f78;
  --slate: #5d6b7a;
  --red: #d4483b;
  --green: #2e8b57;
  --amber: #b7791f;
  --shadow: 0 1px 2px rgba(20, 24, 60, .06), 0 4px 14px rgba(20, 24, 60, .06);
  --ok: #2e7d4f;
  --ok-bg: #e3f3e9;
  --warn: #8a5a00;
  --warn-bg: #fdf1d8;
  --no: #a23030;
  --no-bg: #fbe5e5;
  --info: #1f5e8b;
  --info-bg: #e2eef8;
  --grey-bg: #f1f2f9;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }
h1 { font-size: 1.6rem; margin: 24px 0 16px; }
h2 { font-size: 1.15rem; margin: 0 0 12px; }
code { font-size: .9em; background: var(--grey-bg); padding: 1px 5px; border-radius: 4px; }

/* Kopf */
.top { background: var(--card); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--orange), var(--violet), var(--blue), var(--pink)); opacity: .85; }
.top-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; min-height: 64px; padding-top: 10px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.logo-plate { display: inline-flex; border-radius: 8px; }
.logo-plate img { display: block; height: 52px; width: auto; }
.brand-sub { display: none;
   font-size: .78rem; line-height: 1.15; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; text-transform: uppercase; letter-spacing: .06em; }
/* Menü in eigener Zeile unter Logo und Konto – Platz für weitere Menüpunkte */
.brand { flex: 1; }
nav.main { display: flex; flex-wrap: wrap; gap: 2px; order: 3; flex: 1 0 100%; margin-left: -9px; }
nav.main a { position: relative; padding: 7px 9px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: .95rem; }
nav.main a:hover { background: var(--grey-bg); color: var(--text); }
nav.main a.on { color: var(--text); font-weight: 600; }
nav.main a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 3px; border-radius: 3px; background: var(--tone); }

/* Kopfzeile: Aufklappmenüs */
.navgroup { position: relative; }
.navbtn { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: inherit; font-size: .95rem; cursor: pointer; }
.navbtn:hover, .navgroup.open .navbtn { background: var(--grey-bg); color: var(--text); }
.navgroup.on .navbtn { color: var(--text); font-weight: 600; }
.navgroup.on .navbtn::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 1px; height: 3px; border-radius: 3px; background: var(--tone); }
.caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.navgroup.open .caret { transform: translateY(1px) rotate(225deg); }
.navmenu { display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 50; min-width: 210px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.navgroup.open .navmenu { display: block; }
nav.main .navmenu a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; color: var(--text); }
nav.main .navmenu a .ico { color: var(--tone); }
nav.main .navmenu a.on { background: var(--grey-bg); }
nav.main .navmenu a.on::after { display: none; }
.who { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.who-name { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--text); font-weight: 500; }
/* Sprachumschalter DE | TR */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-size: .85rem; letter-spacing: .02em; }
.lang-switch a, .lang-switch strong { padding: 3px 6px; border-radius: 6px; text-decoration: none; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { background: var(--grey-bg); color: var(--text); }
.lang-switch strong { color: var(--text); background: var(--grey-bg); }
.lang-switch .sep { color: var(--line); padding: 0 1px; }

/* Töne je Modul */
.tone-brand  { --tone: var(--brand); }
.tone-teal   { --tone: var(--teal); }
.tone-orange { --tone: var(--orange); }
.tone-violet { --tone: var(--violet); }
.tone-blue   { --tone: var(--blue); }
.tone-pink   { --tone: var(--pink); }
.tone-slate  { --tone: var(--slate); }
.tone-red    { --tone: var(--red); }
.tone-green  { --tone: var(--green); }
.tone-amber  { --tone: var(--amber); }
/* Formulare */
.fo-lang { margin-left: 4px; vertical-align: 1px; }
.fo-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px !important; }
.fo-actions .btn { text-decoration: none; }
.fo-langfilter { margin-top: 8px; align-items: center; }
.tab-count.tab-count-green { background: var(--green); }
/* Aufgaben */
.aufgaben { list-style: none; margin: 0; padding: 0; }
.aufgabe { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.aufgabe:last-child { border-bottom: 0; }
.aufgabe-check { flex: none; }
.aufgabe-check button { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--green); background: #fff; cursor: pointer; padding: 0; color: #fff; font-weight: 700; line-height: 1; }
.aufgabe-check button:hover { background: color-mix(in srgb, var(--green) 15%, #fff); }
.aufgabe.done .aufgabe-check button { background: var(--green); }
.aufgabe-body { flex: 1; min-width: 0; }
.aufgabe-titel { font-weight: 600; }
.aufgabe.done .aufgabe-titel { text-decoration: line-through; color: var(--muted); }
.aufgabe-meta { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.aufgabe-meta > * + *::before { content: "·"; margin: 0 6px; color: var(--line); }
.frist-ueber, .muted.frist-ueber { color: var(--no); font-weight: 600; }
.frist-heute, .muted.frist-heute { color: var(--warn); font-weight: 600; }
.aufgabe details { margin-top: 6px; }
.summary-h2 { font-size: 1.15rem; font-weight: 650; color: var(--text); }
.aufgaben-start .aufgabe { padding: 8px 0; }
.card.aushang { border-left: 4px solid var(--red); }
.card.aushang.ok { border-left-color: var(--teal); }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0; }
legend { padding: 0 6px; color: var(--muted); font-size: .9rem; }
.aushang .lesestatus + .actions { margin-top: 12px; }
.aushang h2 { margin-bottom: 4px; }
.aushang .text { white-space: pre-line; margin: 10px 0; }
.aushang-banner { display: block; background: color-mix(in srgb, var(--red) 9%, #fff); border: 1px solid color-mix(in srgb, var(--red) 35%, #fff); color: var(--text); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; text-decoration: none; font-weight: 600; }
.aushang-banner:hover { border-color: var(--red); }
.lesestatus { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ico { width: 22px; height: 22px; flex: 0 0 auto; }
.ico-sm { width: 17px; height: 17px; opacity: .8; }
.chip { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px;
  color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
.chip .ico { transform: rotate(-6deg); transition: transform .25s ease; }
.page-title { display: flex; align-items: center; gap: 12px; }
.page-title .chip { width: 44px; height: 44px; }
.hello { margin-bottom: 20px; }

/* Karten und Formulare */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card.narrow { max-width: 440px; margin: 40px auto; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px;
  font: inherit; color: var(--text); background: var(--input-bg);
  border: 1px solid var(--line); border-radius: 6px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
input[type=file] { padding: 7px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.grid .span2 { grid-column: 1 / -1; }
.grid .actions { grid-column: 1 / -1; }
form.inline { display: inline; }
form.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
form.row select, form.row input { width: auto; margin: 0; }
details { margin-top: 6px; }
details summary { cursor: pointer; color: var(--accent); font-size: .9rem; }
details form { margin-top: 8px; display: grid; gap: 6px; }
details form input, details form select, details form textarea { margin: 0; }

.btn {
  display: inline-block; padding: 9px 18px; border: 0; border-radius: 8px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: 5px 10px; font-size: .85rem; font-weight: 500; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--grey-bg); }
.btn-danger { background: var(--no); }
button.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }

/* Meldungen und Status */
.flash { padding: 10px 14px; border-radius: 6px; margin: 16px 0; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-err { background: var(--no-bg); color: var(--no); }
.flash-info { background: var(--info-bg); color: var(--info); }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-offen { background: var(--warn-bg); color: var(--warn); }
.badge-nein { background: var(--no-bg); color: var(--no); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-grau { background: var(--grey-bg); color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }

/* Tabellen */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.row-actions { min-width: 180px; }
.filter { display: flex; flex-wrap: wrap; gap: 4px; }
.filter a { padding: 3px 10px; border-radius: 999px; font-size: .85rem; text-decoration: none; color: var(--muted); border: 1px solid var(--line); }
.filter a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Übersicht */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 24px; }
.tile { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 18px 16px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--tone); }
.tile::after { content: ""; position: absolute; right: -28px; bottom: -28px; width: 96px; height: 96px; border-radius: 50%;
  background: color-mix(in srgb, var(--tone) 9%, transparent); transition: transform .3s ease; }
.tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tone) 45%, var(--line)); }
.tile:hover::after { transform: scale(1.25); }
.tile:hover .chip .ico { transform: rotate(6deg) scale(1.08); }
.tile-head { display: flex; align-items: center; gap: 10px; }
.tile-title { font-weight: 650; }
.tile-num { font-size: 2.3rem; font-weight: 750; color: var(--tone); line-height: 1.1; margin-top: 14px; position: relative; z-index: 1; }
.tile-sub { color: var(--muted); font-size: .9rem; position: relative; z-index: 1; }
.tile-go { position: absolute; right: 16px; top: 22px; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: all .18s ease; }
.tile:hover .tile-go { opacity: 1; transform: none; color: var(--tone); }
@media (prefers-reduced-motion: reduce) { .tile, .tile::after, .chip .ico, .tile-go { transition: none; } .tile:hover { transform: none; } }
/* Wer ist heute da? */
.aw-liste { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 6px 0 4px; }
.aw-liste dt { color: var(--muted); font-size: .9rem; padding-top: 1px; }
.aw-liste dd { margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.anwesend .badge { font-size: .85rem; padding: 2px 9px; }
.aw-h3 { font-size: 1rem; margin: 18px 0 4px; }
.aw-tage li { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.aw-datum { display: inline-block; min-width: 68px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .aw-liste { grid-template-columns: 1fr; gap: 2px; } .aw-liste dd { margin-bottom: 8px; } }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
ul.topics { list-style: none; padding: 0; margin: 0; }
ul.topics li { padding: 12px 0; border-bottom: 1px solid var(--line); }
ul.topics p { margin: 4px 0; }
.topic-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Knowledge Base */
.kb-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kb-search input[type=search] { flex: 1 1 240px; width: auto; margin: 0; }
.kb-filter { margin-top: 14px; }
.filter .count { opacity: .7; font-size: .8em; }
.kb-admin { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.kb-admin > summary { font-weight: 600; }
.kb-admin form.kb-kat-new { display: grid; margin-top: 12px; }
.kb-katdesc { margin: -6px 0 8px; }
ul.kb-docs { list-style: none; padding: 0; margin: 0; }
ul.kb-docs > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
ul.kb-docs > li:last-child { border-bottom: 0; }
.kb-doc { display: flex; gap: 12px; align-items: flex-start; }
.kb-ext { flex: 0 0 auto; min-width: 46px; text-align: center; padding: 6px 4px; border-radius: 6px; background: var(--info-bg); color: var(--info); font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.kb-main { flex: 1; min-width: 0; }
.kb-main p { margin: 2px 0; }
.kb-title { font-weight: 600; text-decoration: none; }
.kb-title:hover { text-decoration: underline; }
.btn[disabled] { opacity: .35; cursor: default; }

.foot { color: var(--muted); font-size: .85rem; padding-top: 8px; padding-bottom: 32px; }

@media (max-width: 640px) {
  h1 { font-size: 1.35rem; }
  .card { padding: 16px; }
  .brand { flex: 1; }
  .logo-plate img { height: 36px; }
  .brand-sub { display: none; }
  nav.main { order: 3; flex: 1 0 100%; }
  nav.main a, .navbtn { white-space: nowrap; }
}

/* Urlaub: Reiter */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.tabs a { position: relative; padding: 9px 14px; text-decoration: none; color: var(--muted); font-weight: 500; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--text); font-weight: 650; }
.tabs a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: var(--teal); }
.tab-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .75rem; font-weight: 700; text-align: center; }

/* Urlaub: eigenes Konto */
.konto { position: relative; overflow: hidden; }
.konto::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--tone); }
.konto-grid { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.konto-main { display: flex; flex-direction: column; }
.konto-label { font-weight: 600; color: var(--muted); font-size: .9rem; }
.konto-num { font-size: 2.6rem; font-weight: 750; line-height: 1.1; color: var(--tone); }
.konto-sub { color: var(--muted); font-size: .85rem; }
.konto-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 28px; margin: 0; flex: 1; }
.konto-list div { border-left: 3px solid color-mix(in srgb, var(--tone) 30%, var(--line)); padding-left: 10px; }
.konto-list dt { font-size: .8rem; color: var(--muted); }
.konto-list dd { margin: 0; font-weight: 600; }
.warn-text { color: var(--no); font-weight: 600; }

/* Urlaub: Kalender */
.cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cal-head h2 { margin: 0 6px; min-width: 150px; text-align: center; }
.cal-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.cal { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .8rem; }
table.cal th, table.cal td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 0; text-align: center; vertical-align: middle; }
table.cal thead th { padding: 4px 0; min-width: 26px; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 500; }
table.cal .cal-wd { display: block; font-size: .68rem; opacity: .8; }
table.cal .cal-day { display: block; font-weight: 650; color: var(--text); }
table.cal .cal-name { position: sticky; left: 0; z-index: 1; background: var(--card); text-align: left; padding: 6px 10px; white-space: nowrap; font-weight: 600; color: var(--text); font-size: .85rem; min-width: 150px; }
table.cal tbody td { height: 30px; min-width: 26px; }
table.cal tr:last-child th, table.cal tr:last-child td { border-bottom: 0; }
table.cal .we, table.cal .frei { background: #f2f3f8; }
table.cal td.frei { background: repeating-linear-gradient(135deg, #f4f5f9 0 4px, #eceef5 4px 6px); }
table.cal .hol { background: color-mix(in srgb, var(--violet) 14%, #fff); }
table.cal thead .hol .cal-day { color: var(--violet); }
table.cal .bf { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--orange) 30%, #fff) 0 5px, color-mix(in srgb, var(--orange) 12%, #fff) 5px 10px); }
table.cal td.u { background: var(--teal); box-shadow: inset 0 0 0 2px #fff; border-radius: 6px; }
table.cal td.u.half { background: linear-gradient(135deg, var(--teal) 50%, color-mix(in srgb, var(--teal) 18%, #fff) 50%); }
table.cal .today { box-shadow: inset 0 0 0 2px var(--brand); }
table.cal thead .today .cal-day { color: var(--brand); }
table.cal td.u.fb { background: var(--blue); }
table.cal td.u.fb.half { background: linear-gradient(135deg, var(--blue) 50%, color-mix(in srgb, var(--blue) 18%, #fff) 50%); }
table.cal td.u.today { box-shadow: inset 0 0 0 2px var(--brand); }
table.cal tr.me .cal-name { color: var(--teal); }
table.cal tr.me .cal-name { box-shadow: inset 3px 0 0 var(--teal); }
table.cal tbody tr:hover .cal-name { background: var(--grey-bg); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 12px 0 4px; font-size: .85rem; color: var(--muted); }
.cal-legend .sw { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 6px; border: 1px solid var(--line); }
.cal-legend .sw.u { background: var(--teal); border-color: var(--teal); }
.cal-legend .sw.u.fb { background: var(--blue); border-color: var(--blue); }
.cal-legend .sw.u.half { background: linear-gradient(135deg, var(--teal) 50%, color-mix(in srgb, var(--teal) 18%, #fff) 50%); }
.cal-legend .sw.bf { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--orange) 30%, #fff) 0 4px, color-mix(in srgb, var(--orange) 12%, #fff) 4px 8px); }
table.cal td.abw { background: color-mix(in srgb, var(--red) 55%, #fff); box-shadow: inset 0 0 0 2px #fff; border-radius: 6px; }
table.cal td.fest { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--slate) 35%, #fff) 0 4px, color-mix(in srgb, var(--slate) 15%, #fff) 4px 8px); box-shadow: inset 0 0 0 2px #fff; border-radius: 6px; }
table.cal td.ho { background: color-mix(in srgb, var(--blue) 40%, #fff); box-shadow: inset 0 0 0 2px #fff; border-radius: 6px; }
table.cal td.zeit { background: linear-gradient(135deg, color-mix(in srgb, var(--slate) 30%, #fff) 50%, transparent 50%); box-shadow: inset 0 0 0 2px #fff; border-radius: 6px; }
.cal-legend .sw.ho { background: color-mix(in srgb, var(--blue) 40%, #fff); }
.cal-legend .sw.zeit { background: linear-gradient(135deg, color-mix(in srgb, var(--slate) 30%, #fff) 50%, #fff 50%); }
.wt-halb { margin-top: 4px; align-items: center; }
.cal-legend .sw.abw { background: color-mix(in srgb, var(--red) 55%, #fff); }
.cal-legend .sw.fest { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--slate) 35%, #fff) 0 4px, color-mix(in srgb, var(--slate) 15%, #fff) 4px 8px); }
.aw-zusatz { font-weight: 500; opacity: .85; }
.cal-legend .sw.hol { background: color-mix(in srgb, var(--violet) 14%, #fff); }
.cal-legend .sw.we { background: #f2f3f8; }

/* Urlaub: Formulare */
.checks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
label.check { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--text); font-size: .9rem; }
label.check input { width: auto; margin: 0; }
.wt-row { display: flex; flex-wrap: wrap; gap: 4px 12px; }
table.konten td { white-space: nowrap; }
table.konten td:first-child { white-space: normal; }
.bf-add { margin-top: 12px; }
.bf-add input { width: auto; flex: 0 1 220px; }
.import-discard { margin-top: 8px; }
table.cal .cal-name { text-transform: none; letter-spacing: 0; }
@media (max-width: 640px) {
  table.cal .cal-name { min-width: 104px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; padding: 6px 8px; }
  .konto-list { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .konto-grid { gap: 12px; }
}

/* Häuser */
.haus-filter { margin: 0 0 14px; }
.haus-form { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.haus-form h3 { margin: 0 0 8px; font-size: 1.05rem; }
.haus-form .checks { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-bottom: 10px; }
/* Urlaub: Zeitraum im Bearbeiten-Formular (06.10.2026) */
.zeitraum-edit { display: flex; gap: 8px; flex-wrap: wrap; }
.zeitraum-edit label { flex: 1 1 130px; margin: 0; }
/* Urlaub: Filter nach Person (06.10.2026) */
.person-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.person-filter label { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.person-filter select { width: auto; min-width: 200px; margin: 0; }
/* Was passiert heute? (06.10.2026) */
.was-heute h2 .ico { color: var(--tone); vertical-align: -2px; }
.wp-liste { margin: 0; }
.wp-liste > li { padding: 4px 0; }
.wp-klein > li { padding: 1px 0; }
.wp-zeit { display: inline-block; min-width: 3.5em; color: var(--muted); font-variant-numeric: tabular-nums; }
.badge-wp-geb { background: color-mix(in srgb, var(--pink) 14%, #fff); color: var(--pink); }
.wp-klein > li { border: 0 !important; }
/* Geburtstag in der Benutzerliste (06.10.2026) */
.geb-form .geb-tag { width: 4.2em; display: inline-block; margin: 0; }
.geb-form select { width: auto; display: inline-block; margin: 0; }

/* Betriebliche Anforderungen */
ul.anf-liste { list-style: none; padding: 0; margin: 0; }
ul.anf-liste > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
ul.anf-liste > li:last-child { border-bottom: 0; }
.anf-kopf { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 4px; }
.anf-titel { font-weight: 650; font-size: 1.05rem; }
.anf-dringend { border-left: 4px solid var(--red); padding-left: 12px !important; }
.anf-antwort { margin-top: 6px; background: var(--grey-bg); border-radius: 8px; padding: 8px 10px; }
ul.anf-aufgaben { list-style: none; padding: 0; margin: 6px 0 0; }
ul.anf-aufgaben li { padding: 2px 0; }
.anf-aktionen { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.anf-aktionen details { flex: 1 1 280px; }
nav.main .navmenu a .tab-count { margin-left: auto; }
