:root { --ink: #16202b; --muted: #48535f; --line: #d9dee5; --bg: #f4f6f8; --card: #fff; --accent: #1b4f8f; --accent-bg: #e6eef8; --good: #0f5f58; --good-bg: #e3f2ef; --bad: #a8281c; --bad-bg: #fbe7e4; --warn: #5c3205; --warn-bg: #fdf1dd; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 1.4; color: var(--ink); background: var(--bg); }
h1 { font-size: 26px; margin: 0; }
h2 { font-size: 17px; margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { min-height: 44px; padding: 0 16px; border: 1px solid #c9d0d9; background: var(--card); border-radius: 8px; font-weight: 600; cursor: pointer; }
button:hover { background: #eef1f5; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.primary:hover { background: #123a6b; }
button.danger { color: var(--bad); }
button.small { min-height: 32px; padding: 0 10px; font-size: 13px; }
button:disabled { opacity: .5; cursor: default; }
input, select { min-height: 44px; padding: 0 12px; border: 1px solid #c9d0d9; border-radius: 8px; background: var(--card); width: 100%; }
input[type=checkbox], input[type=radio] { width: 20px; min-height: 20px; height: 20px; padding: 0; flex: none; }
:focus-visible { outline: 3px solid #7fa8dc; outline-offset: 1px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); min-height: 36px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row.end { align-items: flex-end; }
.between { justify-content: space-between; }
.grow { flex: 1 1 160px; min-width: 0; }
.error { background: var(--bad-bg); color: var(--bad); border-radius: 8px; padding: 10px 12px; }
.note { background: var(--warn-bg); color: var(--warn); border-radius: 8px; padding: 10px 12px; }
.ok { background: var(--good-bg); color: var(--good); border-radius: 8px; padding: 10px 12px; }

.top { background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding: 8px 24px; }
.top .brand { font-weight: 700; font-size: 18px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 auto; }
.top nav button, .top .out { background: none; border: none; color: #d5dce5; font-weight: 500; }
.top nav button[aria-current=page] { background: #2c3a4a; color: #fff; font-weight: 600; }
.top nav button:hover, .top .out:hover { background: #2c3a4a; }
main { max-width: 1440px; margin: 0 auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.auth { max-width: 420px; margin: 8vh auto; padding: 0 16px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.tile .num { font-size: 24px; font-weight: 700; }
.split { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.split > .wide { flex: 999 1 620px; min-width: 0; }
.split > .side { flex: 1 1 280px; min-width: 0; }

.scroll { overflow-x: auto; }
.plan { min-width: 900px; display: flex; flex-direction: column; gap: 8px; }
.plan .line { display: grid; grid-template-columns: 150px repeat(7, minmax(0, 1fr)); gap: 8px; }
.plan .head { font-weight: 600; text-align: center; padding: 6px 2px; }
.plan .area { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 8px 4px 0; }
.plan .name { padding: 6px 4px; }
.cell { border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.status { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 3px 6px; }
.status.good { color: var(--good); background: var(--good-bg); }
.status.bad { color: var(--bad); background: var(--bad-bg); }
.status.none { color: var(--muted); background: var(--bg); }
.chip { display: flex; align-items: center; justify-content: space-between; gap: 4px; background: var(--bg); border-radius: 6px; padding: 2px 2px 2px 6px; font-size: 12px; }
.chip span { min-width: 0; overflow-wrap: anywhere; padding: 2px 0; }
.chip button { min-height: 28px; width: 28px; padding: 0; border: none; background: none; color: var(--muted); font-size: 16px; }
.chip button:hover { color: var(--bad); background: var(--bad-bg); }
.add { min-height: 32px; padding: 0 6px; font-size: 12px; border-style: dashed; color: var(--accent); }
.cell form { display: flex; flex-direction: column; gap: 4px; }
.cell form input, .cell form select { min-height: 36px; padding: 0 6px; font-size: 13px; }

.bar { height: 6px; background: #e6eaef; border-radius: 3px; overflow: hidden; }
.bar div { height: 100%; background: var(--accent); }
.bar.over div { background: var(--bad); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-top: 1px solid #e6eaef; vertical-align: middle; }
th { font-size: 13px; color: var(--muted); font-weight: 600; border-top: none; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 12px; }
.shift { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #e6eaef; }
.shift.today { font-weight: 600; }
.stack > .grow { flex: 0 0 auto; }
.status.warn { color: var(--warn); background: var(--warn-bg); }
.cell.closed { background: var(--bg); }
.chip.away { background: var(--bad-bg); color: var(--bad); }
.chip i { font-style: normal; color: var(--muted); }
.chip.away i { color: var(--bad); }
table.hours input[type=time] { min-height: 36px; width: 110px; }
table.hours td, table.hours th { padding: 4px 6px; border: none; }
table.units input, table.units select { min-height: 36px; padding: 0 8px; }
table.units input.n { width: 70px; }
table.units td { padding: 6px; }
tr.subrow td { border-top: none; background: var(--bg); }
tr.subrow td:first-child { padding-left: 28px; }
.quals { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.qual { display: flex; flex-direction: column; }
label.check.sub { padding-left: 28px; }
label.check.small { font-size: 13px; }
.day { padding: 12px 0; border-top: 1px solid #e6eaef; display: flex; flex-direction: column; gap: 4px; }
.day.today { background: var(--accent-bg); margin: 0 -16px; padding: 12px 16px; }
.day .part { padding-left: 12px; border-left: 3px solid #c9d0d9; }
.note.row, .row.note { align-items: center; }
.split > .side.hourscard { flex: 1 1 400px; }
table.hours { width: auto; }
table.hours input[type=time] { width: 104px; padding: 0 6px; }
table.units { min-width: 860px; }
button.small { white-space: nowrap; }
label.fixed { width: 200px; }
.chip span { overflow-wrap: break-word; }
.year { display: flex; flex-direction: column; gap: 3px; }
.yrow { display: grid; grid-template-columns: 34px repeat(31, minmax(0, 1fr)); gap: 2px; align-items: center; }
.yrow i { display: block; height: 16px; border-radius: 3px; }
.yrow i.none { background: none; }
.yrow i.today { outline: 2px solid var(--ink); outline-offset: 1px; }
i.dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.seasonform { background: var(--bg); border-radius: 8px; padding: 12px; }
details summary { cursor: pointer; font-weight: 600; min-height: 32px; }
button.link { min-height: 0; padding: 0; border: none; background: none; color: var(--accent); font-weight: 500; text-decoration: underline; font-size: inherit; }
tr.subrow td .stack { padding: 8px 0; }
/* Version 0.4 */
.year { min-width: 1080px; }
.yrow { grid-template-columns: 34px repeat(31, minmax(0, 1fr)); }
.yrow i { height: auto; min-height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-style: normal; line-height: 1.15; box-sizing: border-box; }
.yrow i b { font-size: 12px; }
.yrow i span { font-size: 10px; }
.yrow i.open { color: #fff; }
.yrow i.shut { background: #eef0f3; color: #48535f; }
.yrow i.special { box-shadow: inset 0 0 0 2px #16202b; }
.yrow i.rot { border: 2px dashed #fff; }
table.hours select { min-height: 36px; padding: 0 6px; min-width: 150px; }
label.fixed.s { width: 120px; }
form.newunit { background: var(--bg); border-radius: 8px; padding: 12px; }
fieldset.group { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0; display: flex; flex-direction: column; gap: 8px; background: var(--card); }
fieldset.group legend input { min-height: 34px; font-weight: 600; width: 220px; }
.ok.row { align-items: center; }
button[aria-pressed=true] { border-color: var(--accent); background: var(--accent-bg); }
.status { gap: 6px; }
.day .part.relief { border-left-color: var(--accent); }
.top nav button { padding: 0 12px; }
.lack { color: var(--bad); }
/* Version 0.7 */
.year.paint { user-select: none; }
.yrow button.day { min-height: 34px; padding: 0; border: 1px solid #fff; border-radius: 3px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; font-weight: 400; cursor: pointer; }
.yrow button.day b { font-size: 12px; }
.yrow button.day span { font-size: 10px; }
.yrow button.day.shut { background: #eef0f3; color: #48535f; }
.yrow button.day.shut.we { background: #e2e6eb; }
.yrow button.day.today { outline: 2px solid var(--ink); outline-offset: -2px; }
.yrow button.day:hover { filter: brightness(0.92); }
button.typechip { display: flex; align-items: center; gap: 8px; text-align: left; padding: 6px 12px; font-weight: 400; line-height: 1.25; }
button.typechip[aria-pressed=true] { border: 2px solid var(--ink); background: var(--card); box-shadow: 0 0 0 2px var(--accent-bg); }
button.swatch { width: 44px; min-height: 44px; padding: 0; border: 2px solid #fff; border-radius: 8px; }
button.swatch[aria-pressed=true] { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
details > summary { cursor: pointer; padding: 6px 0; }
details.group { border-top: 1px solid var(--line); }
details.group > summary { padding: 10px 0; }
.unitlist { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; }
.unitrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 10px; background: var(--bg); border-radius: 8px; }
.unitrow .meta { flex: 1 1 260px; }
.editor { border: 2px solid var(--accent); border-radius: 10px; padding: 12px; background: var(--card); }
.subunit { background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.times { background: var(--bg); border-radius: 8px; padding: 10px; }
.subunit .times { background: var(--card); }
.small.ok, .small.note { padding: 6px 10px; }
.plan .unithead { font-weight: 700; padding: 10px 4px 0; border-top: 1px solid var(--line); margin-top: 4px; }
.plan .line.subline .name { padding-left: 18px; }
.catrow { border-top: 1px solid #e6eaef; padding-top: 8px; }

/* 0.8: zwei Tagesarten an einem Tag, Tagesübersicht im Wochenplan, Listenimport */
.yrow button.day.two { color: #14202b; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
button.dayhead { min-height: 32px; padding: 2px 8px; font-weight: 600; width: 100%; }
button.dayhead[aria-pressed=true] { background: var(--accent); color: #fff; border-color: var(--accent); }
.daypanel { border: 2px solid var(--accent); }
.gap { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid #e6eaef; }
.cell .skip { align-self: flex-start; color: var(--muted); font-weight: 400; }
textarea { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid #b9c2cc; border-radius: 8px; resize: vertical; }

/* 0.10: Ziehen im Wochenplan und im Ablöseplan */
.chip[draggable=true], .relief[draggable=true] { cursor: grab; }
.cell.dropping, .reliever.dropping { outline: 2px dashed var(--accent); outline-offset: -2px; background: var(--accent-bg); }
.relievers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.reliever { border: 1px solid #d5dbe2; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; min-height: 90px; }
.relief { display: flex; gap: 8px; align-items: center; background: var(--bg); border-radius: 8px; padding: 6px 8px; }
.relief.note { background: var(--warn-bg); }
.relief select { max-width: 190px; min-height: 32px; font-size: 13px; }
.tag { display: inline-flex; align-items: center; gap: 4px; background: var(--bg); border-radius: 6px; padding: 4px 8px; font-size: 13px; }
.reliever .relief { flex-direction: column; align-items: stretch; gap: 4px; }
.reliever .relief select { max-width: none; }

/* 0.11: kompakter Ablöseplan, Tage in der Kachel */
table.relieftable { border-collapse: collapse; width: 100%; }
table.relieftable td, table.relieftable th { padding: 5px 8px; border-top: 1px solid #e6eaef; vertical-align: middle; text-align: left; }
table.relieftable thead th { border-top: none; font-size: 12px; color: var(--muted); font-weight: 500; }
table.relieftable tr.grp th { background: var(--bg); font-size: 14px; padding: 7px 8px; border-top: 2px solid #c9d0d9; }
table.relieftable tr.grp.warn th { background: var(--warn-bg); color: var(--warn); }
table.relieftable tr[draggable=true] { cursor: grab; }
table.relieftable tbody.dropping { outline: 2px dashed var(--accent); outline-offset: -2px; }
table.relieftable select { min-height: 30px; font-size: 13px; padding: 2px 6px; max-width: 230px; }
button.daygap { min-height: 26px; padding: 0 6px; font-weight: 400; }
button.daygap b { color: var(--bad); }
/* 0.12: Zusatzaktionen in der Zelle dezent */
.cell button.skip { font-size: 11px; text-decoration: none; margin-right: 8px; }
.cell button.skip:hover { text-decoration: underline; color: var(--accent); }
.joinbox select { min-height: 30px; font-size: 12px; width: 100%; }

/* 0.19: Einstellungen im Wochenplan */
details.inlineset > summary { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #b9c2cc; border-radius: 8px; background: #fff; cursor: pointer; }
details.inlineset[open] > summary { border-color: var(--accent); color: var(--accent); }
details.inlineset .card { position: absolute; z-index: 5; max-width: 420px; box-shadow: 0 8px 24px rgba(20, 32, 43, .18); }
details.inlineset { position: relative; }

/* 0.20: Mitarbeiter-App, Verfügbarkeit, Angebote, Mitarbeiterbogen */
.availweek { border-top: 1px solid #e6eaef; padding-top: 8px; }
.availrow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.availday { border: 1px solid #d5dbe2; border-radius: 10px; padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.availday.yes { border-color: #1f7a4d; background: #eefaf2; }
.availday.no { border-color: var(--bad); background: #fdeeee; }
.availday.shut { background: #f1f3f6; color: var(--muted); }
.availday button { padding: 0 6px; min-height: 28px; font-size: 12px; }
.offer { display: flex; gap: 12px; align-items: center; border-top: 1px solid #e6eaef; padding: 10px 0; }
.offered { color: var(--warn); }
.reported { background: var(--warn-bg); border-radius: 8px; padding: 8px 10px; }
.signpad { width: 100%; max-width: 600px; height: 180px; border: 1px dashed #b9c2cc; border-radius: 10px; background: #fff; touch-action: none; }
.sigimg { max-width: 320px; border: 1px solid #e6eaef; border-radius: 8px; background: #fff; }
.formview { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.fgroup { border: 1px solid #e6eaef; border-radius: 10px; padding: 10px 12px; }
@media (max-width: 760px) {
  .top { flex-wrap: wrap; gap: 6px; }
  .top nav { order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .top nav button { min-height: 44px; }
  main { padding: 12px 10px 32px; }
  .availrow { grid-template-columns: repeat(2, 1fr); }
  .availday { min-height: 0; }
  .offer { flex-direction: column; align-items: stretch; }
  .offer button { min-height: 44px; }
  .row.end, .row { flex-wrap: wrap; }
  .card { padding: 12px; }
  h1 { font-size: 22px; }
  .day .part { flex-wrap: wrap; }
}

/* 0.21: Monatsübersicht */
table.monthtable { border-collapse: collapse; font-size: 12px; }
table.monthtable th, table.monthtable td { border: 1px solid #e6eaef; padding: 3px 5px; text-align: center; white-space: nowrap; }
table.monthtable th.sticky { position: sticky; left: 0; background: #fff; text-align: left; min-width: 150px; z-index: 1; }
table.monthtable thead th { background: var(--bg); font-weight: 600; }
table.monthtable td.shutcol, table.monthtable th.shutcol { background: #f1f3f6; color: var(--muted); }
table.monthtable td.lowcell { background: #fdeeee; color: var(--bad); font-weight: 700; }
table.monthtable td.undercell { background: var(--warn-bg); }
table.monthtable .off { font-weight: 700; color: var(--warn); }
table .cur td, table .cur th { background: var(--accent-bg); }

/* 0.22: Druckansicht, Export-Knöpfe */
a.btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid #b9c2cc; border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; }
a.btn:hover { border-color: var(--accent); color: var(--accent); }
.printroot { display: none; }
table.printtable { border-collapse: collapse; width: 100%; font-size: 11px; }
table.printtable th, table.printtable td { border: 1px solid #333; padding: 3px 4px; vertical-align: top; text-align: left; }
table.printtable thead th { background: #eee; }
table.printtable td.shut { background: #f3f3f3; color: #777; text-align: center; }
@media print {
  header.top, .tiles, .card:not(.printpage), details, nav, button, .daypanel, a.btn { display: none !important; }
  main { padding: 0; }
  .printroot { display: block; }
  .printpage { page-break-inside: auto; }
  .printpage.brk { page-break-after: always; }
  @page { size: landscape; margin: 10mm; }
}

/* 0.24: Vorschuss */
.advrow { border-top: 1px solid #e6eaef; padding: 10px 0; gap: 8px; }

/* 0.25: Mitarbeiter-Akte, Kleidung, Fristen */
a.btn.small { min-height: 30px; padding: 0 9px; font-size: 13px; }
.subnav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #e6eaef; padding-bottom: 8px; }
.subnav button { min-height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; background: var(--bg); font-size: 14px; }
.subnav button.on { background: var(--accent-bg); border-color: var(--accent); color: var(--accent); font-weight: 600; }
button.mark { min-height: 26px; width: 30px; padding: 0; border-radius: 6px; border: 1px solid #d5dbe2; background: #fff; font-size: 14px; line-height: 1; }
button.mark.ok { color: #1f7a4d; border-color: #9ed3b7; background: #eefaf2; }
button.mark.wait { color: var(--warn); border-color: #e3cf9a; background: var(--warn-bg); }
button.mark.lack { color: var(--muted); }
.availday.locked { background: #f1f3f6; border-style: dashed; color: var(--muted); }
span.mark { display: inline-flex; align-items: center; justify-content: center; min-height: 26px; width: 30px; border-radius: 6px; border: 1px solid #d5dbe2; background: #fff; }
span.mark.ok { color: #1f7a4d; border-color: #9ed3b7; background: #eefaf2; }
span.mark.wait { color: var(--warn); border-color: #e3cf9a; background: var(--warn-bg); }
.day.past { opacity: 0.55; }
.day.past .part { border-left-style: dashed; }
.day .part.changed { border-left-color: var(--warn); }
.chip.changed { border-left: 3px solid var(--warn); }

/* 0.29: Einstellungen als Aufklappliste */
.accsec { padding: 0; overflow: hidden; }
.acchead { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; background: none; border: none; border-radius: 12px; min-height: 0; }
.acchead:hover { background: var(--bg); }
.acchead[aria-expanded="true"] { background: var(--bg); border-radius: 12px 12px 0 0; }
.accarrow { color: var(--muted); font-size: 15px; }
.accbody { padding: 4px 16px 16px; border-top: 1px solid #e6eaef; }
.accbody > .card { border: none; box-shadow: none; padding: 12px 0 0; }
.accbody > .split { margin: 0; }
.accbody h2 { font-size: 17px; }
.accbody h3 { font-size: 15px; margin: 10px 0 0; }
.tag.bad { color: var(--bad); border-color: #e6b5b5; background: var(--bad-bg); }
.chip.found { outline: 2px solid var(--accent); outline-offset: 1px; }
.reliefduty { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--accent-bg); border: 1px solid var(--accent); }
.reliefduty b { color: var(--accent); }
button.small.warnbtn { border-color: #e3cf9a; background: var(--warn-bg); }

/* 0.30: Freikarten */
.scanok, .scanbad { padding: 14px 16px; border-radius: 10px; font-size: 17px; }
.scanok { background: #eefaf2; border: 1px solid #9ed3b7; color: #17603c; }
.scanbad { background: var(--bad-bg); border: 1px solid #e6b5b5; color: var(--bad); }
.qrbox { text-align: center; padding: 10px 0; }
.qrbox img { width: min(260px, 70vw); height: auto; border: 1px solid #e6eaef; border-radius: 10px; background: #fff; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; background: var(--bg); padding: 2px 6px; border-radius: 6px; }

/* 0.31: Bewerbertag */
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 16px; }
.kv > div { min-width: 0; overflow-wrap: anywhere; }
.card > .accsec { border: 1px solid #e6eaef; border-radius: 12px; }
.card > .accsec + .accsec { margin-top: 8px; }
label.btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid #b9c2cc; border-radius: 8px;
  background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; }
label.btn:hover { border-color: var(--accent); color: var(--accent); }
label.btn.small { min-height: 30px; padding: 0 9px; font-size: 13px; }
/* Hervorgehobenes Formular, das sich in einer langen Liste öffnet */
.boxed { border: 2px solid var(--accent); border-radius: 12px; padding: 14px; background: #f7faff; }

/* 0.33: Meldungen, Aufgaben, Module */
.badge { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px;
  background: #dc2626; color: #fff; font-size: 12px; font-weight: 700; line-height: 18px; text-align: center; }
tr.done td { color: var(--mild); }
tr.done td b { font-weight: 500; text-decoration: line-through; }
.tag.ok { background: #dcfce7; color: #15803d; }
/* Direkt in der Tabelle tippen */
input.flach { width: 100%; min-height: 32px; padding: 4px 6px; border: 1px solid transparent; border-radius: 6px; background: transparent; font: inherit; }
input.flach:hover { border-color: #e2e8f0; }
input.flach:focus { border-color: var(--accent); background: #fff; }
input.flach.s { width: 72px; }
.tag.warn { background: #fef3c7; color: #b45309; }

/* Homeoffice: Tagesknöpfe */
.daybtn { min-width: 62px; padding: 6px 4px; border: 1px solid #b9c2cc; border-radius: 8px; background: #fff;
  font: inherit; font-size: 14px; line-height: 1.2; cursor: pointer; text-align: center; }
.daybtn:hover:not(:disabled) { border-color: var(--accent); }
.daybtn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.daybtn:disabled { opacity: .45; cursor: default; }

/* Gewähltes Paket hervorheben */
.gewaehlt { border-color: #2563eb; background: #f3f7ff; }
label.check.gewaehlt { border: 1px solid #2563eb; border-radius: 10px; }
