/* Treffpunkt – Gestaltung
   Ruhige Fläche, Linien statt Kästen, Text vor Symbolen. Eine dunkle Hauptaktion je Bereich,
   Blau nur für Links und Auswahl. Abstände im 4er-Raster, Ecken klein (6 px). */
:root {
  --bg: #f6f6f3; --panel: #ffffff; --ink: #16181d; --muted: #61656e; --line: #e2e1db; --soft: #efeee9;
  --accent: #1f5fd6; --accent-ink: #ffffff; --accent-soft: #e6edfb;
  --primary: #16181d; --primary-ink: #ffffff;
  --ok: #0d7a5f; --ok-soft: #e2f3ec; --warn: #95590a; --warn-soft: #fbf0dc; --bad: #b42318; --bad-soft: #fbe7e4;
  --r: 6px; --r-lg: 10px; --shadow: none; --pop: 0 12px 32px rgba(20, 22, 28, .16), 0 2px 6px rgba(20, 22, 28, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --top-h: 56px; --wrap: 1040px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121418; --panel: #1a1d22; --ink: #ecebe6; --muted: #9da1a9; --line: #2d3138; --soft: #23272d;
    --accent: #7ea6ff; --accent-ink: #0d1424; --accent-soft: #1d2a45;
    --primary: #ecebe6; --primary-ink: #16181d;
    --ok: #4cc9a5; --ok-soft: #12302a; --warn: #f0b552; --warn-soft: #382a12; --bad: #ff8a7e; --bad-soft: #3b1916;
    --pop: 0 12px 32px rgba(0, 0, 0, .5); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121418; --panel: #1a1d22; --ink: #ecebe6; --muted: #9da1a9; --line: #2d3138; --soft: #23272d;
  --accent: #7ea6ff; --accent-ink: #0d1424; --accent-soft: #1d2a45;
  --primary: #ecebe6; --primary-ink: #16181d;
  --ok: #4cc9a5; --ok-soft: #12302a; --warn: #f0b552; --warn-soft: #382a12; --bad: #ff8a7e; --bad-soft: #3b1916;
  --pop: 0 12px 32px rgba(0, 0, 0, .5); color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 650; }
h1 { font-size: 28px; letter-spacing: -.02em; }
h2 { font-size: 17px; margin: 28px 0 10px; letter-spacing: -.005em; }
h3 { font-size: 15px; }
p { margin: 6px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

/* ---------- Kopf, Navigation ---------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top:empty { display: none; }
.topbar { display: flex; align-items: center; gap: 4px; min-height: var(--top-h); max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.brand { display: flex; align-items: baseline; gap: 10px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 26px; height: 26px; align-self: center; }
.brand small { font-weight: 450; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.now { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; margin-right: 8px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: var(--r); border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; font: inherit; }
.icon-btn:hover, .icon-btn[aria-current="page"] { background: var(--soft); }
.icon-btn .i { width: 21px; height: 21px; }
.bell .count { position: absolute; top: 3px; right: 2px; background: var(--bad); color: #fff; border-radius: 9px; font-size: 10.5px; min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; font-weight: 700; border: 2px solid var(--bg); }

.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 550; }
.user-chip:hover, .menu[open] > .user-chip { background: var(--soft); }
.user-chip .avatar { margin: 0; width: 30px; height: 30px; border: 0; background: var(--ink); color: var(--bg); font-size: 11px; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 6px); width: 260px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--pop); padding: 6px; z-index: 30; }
.menu-head { padding: 8px 10px 10px; margin: 0; display: grid; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--r); background: none; color: var(--ink); font: inherit; font-size: 14px; text-decoration: none; text-align: left; cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover, .menu-pop a[aria-current="page"] { background: var(--soft); }
.menu-pop .i { width: 18px; height: 18px; color: var(--muted); }
.menu-pop .badge { margin-left: auto; }

.mainnav, .subnav, .seg { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar, .subnav::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
.mainnav { max-width: var(--wrap); margin: 0 auto; padding: 0 12px; }
.mainnav a, .subnav a, .seg a { position: relative; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 0 10px; min-height: 42px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 550; }
.mainnav a:hover, .subnav a:hover, .seg a:hover { color: var(--ink); }
.mainnav a[aria-current="page"], .subnav a[aria-current="page"], .seg a[aria-current="page"] { color: var(--ink); }
.mainnav a[aria-current="page"]::after, .subnav a[aria-current="page"]::after, .seg a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--ink); border-radius: 2px; }
.subnav { max-width: var(--wrap); margin: 0 auto; padding: 0 12px; border-top: 1px solid var(--line); }
.subnav a { min-height: 38px; font-size: 13.5px; }
.seg { border-bottom: 1px solid var(--line); margin: 0 0 16px; }
.seg a { padding: 0 12px; min-height: 40px; font-size: 14px; }
.seg a:first-child { padding-left: 2px; }
.seg a:first-child[aria-current="page"]::after { left: 2px; }
.seg .i { width: 17px; height: 17px; }

.demo-banner { background: var(--warn-soft); color: var(--warn); font-size: 13px; padding: 7px 20px; text-align: center; }
.demo-banner b { color: inherit; }
.demo-banner:empty { display: none; }

body[data-app="book"] { --wrap: 760px; }
main { display: block; max-width: var(--wrap); margin: 0 auto; padding: 28px 20px 96px; }
main:focus { outline: none; }
.tabbar { display: none; }

@media (max-width: 860px) {
  :root { --top-h: 52px; }
  .topbar { padding: 0 8px 0 14px; }
  .mainnav { display: none; }
  .subnav { padding: 0 6px; }
  main { padding: 18px 16px calc(92px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 550; color: var(--muted); text-decoration: none; min-height: 58px; }
  .tabbar .ico { width: 24px; height: 24px; stroke-width: 1.7; }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a[aria-current="page"] .ico { stroke-width: 2.1; }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; border-radius: 2px; background: var(--ink); }
  .tabbar .dot { position: absolute; top: 9px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--bad); border: 2px solid var(--panel); }
  .hide-sm { display: none !important; }
  .menu-pop { position: fixed; top: calc(var(--top-h) + env(safe-area-inset-top) + 4px); right: 8px; width: min(300px, calc(100vw - 16px)); }
  h1 { font-size: 24px; }
}

/* ---------- Grundbausteine ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin: 10px 0; }
.card.hl { box-shadow: inset 3px 0 0 var(--accent); }
.card.urgent { box-shadow: inset 3px 0 0 var(--bad); }
.card.warn { box-shadow: inset 3px 0 0 var(--warn); }
.card.ok { box-shadow: inset 3px 0 0 var(--ok); }
.card.dashed { border-style: dashed; background: transparent; }
.card h3 { margin-bottom: 4px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.nowrap { flex-wrap: nowrap; }
.stack > * + * { margin-top: 8px; }
.grid { display: grid; gap: 12px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid.c2, .grid.c3 { grid-template-columns: minmax(0, 1fr); } .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny { font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.mt0 { margin-top: 0; }
.mt { margin-top: 14px; }
.mb { margin-bottom: 10px; }
.grow { flex: 1; min-width: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: color-mix(in srgb, var(--ink) 35%, var(--line)); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--primary) 86%, var(--bg)); }
.btn.danger { color: var(--bad); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--accent); padding: 0 8px; }
.btn.ghost:hover { text-decoration: underline; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
.btn.ghost.small { padding: 0 6px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .i { width: 17px; height: 17px; }
.ms-btn { gap: .5rem; }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: color-mix(in srgb, var(--ink) 35%, var(--line)); }
.chip[aria-pressed="true"], a.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip input { accent-color: var(--ink); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--soft); color: var(--ink); white-space: nowrap; line-height: 1.5; }
.badge.ok, .badge.warn, .badge.bad, .badge.info { background: transparent; padding-left: 0; }
.badge.ok::before, .badge.warn::before, .badge.bad::before, .badge.info::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.badge.ok { color: var(--ok); }
.badge.warn { color: var(--warn); }
.badge.bad { color: var(--bad); }
.badge.info { color: var(--accent); }
.menu-pop .badge.bad, .nav-row .badge.bad { background: var(--bad); color: #fff; padding: 0 7px; border-radius: 9px; }
.menu-pop .badge.bad::before, .nav-row .badge.bad::before { display: none; }

.avatars { display: inline-flex; align-items: center; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--soft); border: 2px solid var(--panel); display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; margin-left: -7px; color: var(--ink); }
.avatar:first-child { margin-left: 0; }

.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:first-child { padding-top: 2px; }
.list > li:last-child { border-bottom: 0; padding-bottom: 2px; }

table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12.5px; color: var(--muted); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
tr.muted td { opacity: .6; }

label.field, .field { display: flex; flex-direction: column; gap: 5px; margin: 12px 0; }
.field > span { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea, input.inline, select.inline { min-height: 42px; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; font: inherit; background: var(--panel); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus, input.inline:focus, select.inline:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.field textarea { min-height: 88px; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--ink); }
details > summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
fieldset { min-width: 0; }

.kpi { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; color: var(--ink); text-decoration: none; }
.kpi .v { font-size: 28px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .l { font-size: 13px; color: var(--muted); }
a.kpi.warn { box-shadow: inset 3px 0 0 var(--warn); }
.meter { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; min-width: 80px; }
.meter i { display: block; height: 100%; background: var(--ink); }
.meter.alt i { background: var(--ok); }
.meter.grey i { background: var(--muted); }

.empty { border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 20px; text-align: center; color: var(--muted); }
.notice { font-size: 13.5px; padding: 10px 12px; border-radius: var(--r); background: var(--soft); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice.with-ico, p.with-ico { display: flex; align-items: flex-start; gap: 10px; }
.notice.with-ico .i { margin-top: 2px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { padding: 4px 0 8px 14px; position: relative; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.clock-panel { display: grid; gap: 8px; }

/* Symbole */
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.big-ico { color: var(--ink); margin-bottom: 6px; }
.big-ico.ok { color: var(--ok); }
.big-ico .i { width: 36px; height: 36px; stroke-width: 1.6; }
.big-ico.xl { text-align: center; }
.big-ico.xl .i { width: 64px; height: 64px; }
.ico-list li { display: flex; gap: 10px; align-items: flex-start; }
.ico-list .i { color: var(--muted); margin-top: 2px; }

/* Seitenkopf und Abschnitte */
.page-head { margin-bottom: 20px; }
.page-head h1 + p { margin-top: 6px; }
h2.sec { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 650; border-top: 1px solid var(--line); padding-top: 18px; margin: 32px 0 12px; }
h2.sec .i { align-self: center; width: 18px; height: 18px; }
.sec-link { margin-left: auto; font-size: 13.5px; font-weight: 500; }

/* Dialog von unten (Handy) bzw. mittig */
.scrim { position: fixed; inset: 0; background: rgba(12, 14, 18, .42); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--panel); width: 100%; max-width: 540px; border-radius: 14px 14px 0 0; padding: 18px 20px calc(22px + env(safe-area-inset-bottom)); max-height: 90vh; overflow: auto; box-shadow: var(--pop); overscroll-behavior: contain; }
@media (min-width: 861px) { .scrim { align-items: center; } .sheet { border-radius: var(--r-lg); } }
.sheet .grab { width: 36px; height: 4px; background: var(--line); border-radius: 2px; margin: -6px auto 14px; }
.sheet .big { font-size: 40px; line-height: 1; }
.sheet h2 { margin-top: 0; }

.toast-area { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 50; display: flex; flex-direction: column; gap: 8px; width: min(520px, calc(100% - 24px)); }
.toast { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: var(--pop); font-size: 14px; }
.toast .btn { min-height: 32px; background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
@media (min-width: 861px) { .toast-area { bottom: 24px; } }

/* ---------- Heute ---------- */
.today { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px; }
.today-kicker { margin: 0 0 4px; color: var(--muted); font-size: 13.5px; }
.today-title { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.today-title span { display: block; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.today-act { margin-top: 16px; }
.today-rooms { list-style: none; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 14px; }
.today-rooms li { display: flex; align-items: center; gap: 8px; }
.today-rooms .i { color: var(--muted); }

/* Tage als Liste (Heute) */
.days.week { display: block; }
.days.week .day { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; text-align: left; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.days.week .day:hover { background: color-mix(in srgb, var(--soft) 60%, transparent); }
.days.week .day[aria-expanded="true"] { background: var(--panel); border-bottom-color: transparent; }
.d-date { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.days.week .day b { display: inline; font-size: inherit; font-weight: 600; }
.days.week .d-date b { color: var(--ink); font-weight: 650; display: inline-block; width: 26px; font-size: inherit; }
.d-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-what .i { width: 15px; height: 15px; }
.d-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.d-team { display: inline-flex; align-items: center; gap: 4px; min-width: 34px; }
.d-team .i { width: 15px; height: 15px; }
.d-load { width: 44px; height: 4px; border-radius: 2px; background: var(--soft); overflow: hidden; }
.d-load i { display: block; height: 100%; background: var(--muted); }
.d-load.full i { background: var(--bad); }
.day.booked .d-date b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-left: 4px; vertical-align: 2px; }
.day-open { background: var(--panel); border-bottom: 1px solid var(--line); padding: 0 16px 16px 108px; }
.day-open > * + * { margin-top: 10px; }
.more-days > summary { list-style: none; padding: 12px 4px; color: var(--accent); font-weight: 550; font-size: 14px; }
.more-days > summary::-webkit-details-marker { display: none; }
.more-days[open] > summary { display: none; }
@media (max-width: 600px) {
  .days.week .day { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 8px; }
  .d-load, .days.week .badge { display: none; }
  .day-open { padding: 4px 4px 16px; }
  .today { padding: 18px 16px; margin: 0 -4px; }
  .today-act .btn { flex: 1 1 auto; }
}

/* Weitere Aufgaben als schlichte Liste */
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
.links a { display: flex; align-items: center; gap: 10px; min-height: 46px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.links a:hover { color: var(--accent); }
.links .i { color: var(--muted); }
.install-hint { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r-lg); }
.install-hint > .i { width: 22px; height: 22px; margin-top: 2px; }

/* Mehr (Handy) */
.nav-list { border-top: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 14px; padding: 10px 4px; min-height: 56px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-list .nav-row:last-child { border-bottom: 0; }
.nav-row:hover { background: color-mix(in srgb, var(--soft) 60%, transparent); }
.nav-row > .i:first-child { width: 21px; height: 21px; color: var(--muted); }
.nav-row > span:not(.badge) { flex: 1; display: grid; }
.nav-row b { font-weight: 550; }
.nav-row small { color: var(--muted); font-size: 13px; }
.chev { color: var(--muted); width: 16px; height: 16px; }

/* ---------- Buchen: Tagesleiste und Plan ---------- */
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.days.ten { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(62px, 1fr); overflow-x: auto; padding: 2px 0 6px; scrollbar-width: thin; }
@media (max-width: 860px) { .days.ten { grid-auto-columns: 60px; margin-right: -16px; padding-right: 16px; } }
.day { text-decoration: none; border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: var(--r); padding: 8px 4px 6px; text-align: center; font: inherit; font-size: 12px; cursor: pointer; min-height: 64px; font-variant-numeric: tabular-nums; }
.day b { display: block; font-size: 14.5px; font-weight: 650; }
.day:hover { border-color: color-mix(in srgb, var(--ink) 35%, var(--line)); }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.day[aria-pressed="true"] .muted, .day[aria-pressed="true"] .day-meta .mine { color: inherit; opacity: .8; }
.day .bar { height: 3px; border-radius: 2px; background: var(--soft); margin: 6px 6px 4px; overflow: hidden; }
.day .bar i { display: block; height: 100%; background: var(--muted); }
.day[aria-pressed="true"] .bar { background: color-mix(in srgb, var(--bg) 25%, transparent); }
.day[aria-pressed="true"] .bar i { background: var(--bg); }
.day .bar.full i { background: var(--bad); }
.day-meta { display: inline-flex; align-items: center; gap: 3px; }
.day-meta .i { width: 13px; height: 13px; }
.day-meta .mine { color: var(--ok); }

.plan { width: 100%; height: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); touch-action: manipulation; }
.plan .zone-rect { fill: var(--soft); stroke: var(--line); }
.plan .zone-label { fill: var(--muted); font-size: 12px; font-weight: 600; }
.plan .desk { cursor: pointer; }
.plan .desk rect { stroke-width: 1.6; }
.plan .desk.free rect { fill: var(--panel); stroke: var(--ok); }
.plan .desk.free:hover rect { fill: var(--ok-soft); }
.plan .desk.taken rect { fill: var(--soft); stroke: var(--line); }
.plan .desk.team rect { fill: var(--accent-soft); stroke: var(--accent); }
.plan .desk.mine rect { fill: var(--ink); stroke: var(--ink); }
.plan .desk.locked rect { fill: var(--bad-soft); stroke: var(--bad); }
.plan .desk.held rect { fill: var(--warn-soft); stroke: var(--warn); stroke-dasharray: 4 3; }
.plan .desk text { font-size: 10px; fill: var(--muted); pointer-events: none; }
.plan .desk .mark { fill: var(--ink); }
.plan .desk.mine .mark { fill: var(--bg); }
.plan .desk:focus { outline: none; }
.plan .desk:focus rect, .plan .desk.sel rect { stroke: var(--accent); stroke-width: 3; }
.plan svg.mark { fill: none; stroke: var(--ink); stroke-width: 2.2; }
.plan .desk.mine svg.mark { stroke: var(--bg); }
.plan .desk.locked svg.mark { stroke: var(--bad); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 12.5px; color: var(--muted); margin: 10px 0; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { display: inline-grid; place-items: center; width: 20px; height: 14px; border-radius: 3px; border: 1.6px solid var(--line); font-style: normal; font-size: 7.5px; font-weight: 700; color: var(--ink); }
.legend .sw .i { width: 10px; height: 10px; stroke-width: 2.4; }
.legend .sw.free { border-color: var(--ok); background: var(--panel); }
.legend .sw.mine { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.legend .sw.team { border-color: var(--accent); background: var(--accent-soft); }
.legend .sw.taken { background: var(--soft); }
.legend .sw.held { border-color: var(--warn); border-style: dashed; background: var(--warn-soft); }
.legend .sw.locked { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); }
.legend-ico .i { width: 14px; height: 14px; }
td .btn.icon-btn .i { width: 18px; height: 18px; }

.filters { margin-top: 12px; }
.filters > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; font-weight: 550; color: var(--ink); }
.filters > summary { list-style: none; }
.filters > summary::-webkit-details-marker { display: none; }
.filters > summary > .i:first-child { color: var(--muted); }
.chev-d { width: 15px; height: 15px; color: var(--muted); transform: rotate(90deg); transition: transform .15s; }
details[open] > summary .chev-d { transform: rotate(-90deg); }
.filters > .row { padding: 4px 0 2px; }
@media (max-width: 860px) { .days.ten { scrollbar-width: none; } .days.ten::-webkit-scrollbar { display: none; } }
.form-end { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
@media (max-width: 600px) { .form-end .btn { width: 100%; } }

/* ---------- Meetingräume ---------- */
.rbar-list { display: grid; gap: 12px; }
.rbar-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; }
.rbar-name { display: grid; line-height: 1.3; }
.rbar { position: relative; height: 24px; border-radius: 4px; background: var(--ok-soft); margin-bottom: 14px; }
.rbar-b { position: absolute; top: 0; bottom: 0; background: var(--muted); opacity: .55; border-radius: 3px; }
.rbar-b.own { background: var(--ink); opacity: .9; }
.rbar-t { position: absolute; bottom: -1px; transform: translate(-50%, 100%); font-size: 10px; color: var(--muted); }
@media (max-width: 600px) { .rbar-row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Handy: Bedienung mit dem Daumen ---------- */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  /* 16 px in Feldern: iOS zoomt sonst beim Antippen */
  .field input, .field select, .field textarea, input.inline, select.inline { font-size: 16px; min-height: 46px; }
  .btn { min-height: 46px; }
  .btn.small { min-height: 40px; }
  .chip { min-height: 40px; }
  .card { padding: 14px; border-radius: var(--r); }
  .sheet .row .btn:not(.ghost) { flex: 1 1 auto; }
  .page-head { margin-bottom: 16px; }
  h2.sec { margin-top: 26px; }
  table { font-size: 13.5px; }
  th, td { padding: 9px 6px; }
  .links { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Kiosk, Gästeseite, Anmeldung ---------- */
body.kiosk-mode .top, body.kiosk-mode .tabbar, body.kiosk-mode .demo-banner,
body.guest-mode .top, body.guest-mode .tabbar, body.guest-mode .demo-banner,
body.auth-mode .top, body.auth-mode .tabbar, body.auth-mode .demo-banner,
body.display-mode .top, body.display-mode .tabbar, body.display-mode .demo-banner { display: none; }
body.kiosk-mode main { max-width: 980px; padding: 32px 24px; }
body.guest-mode main { max-width: 560px; padding: 20px 16px 40px; }
body.auth-mode main { padding-top: 8px; }
.kiosk-hero { text-align: center; padding: 20px 0; }
.kiosk-hero h1 { font-size: 34px; }
.kiosk-welcome { font-size: 22px; margin-top: 14px; }
.kiosk-big { min-height: 120px; font-size: 22px; border-radius: var(--r-lg); }
.code-input { font-size: 32px !important; letter-spacing: .3em; text-transform: uppercase; text-align: center; font-variant-numeric: tabular-nums; }
.pseudo-qr { width: 168px; height: 168px; margin: 8px auto; display: grid; grid-template-columns: repeat(21, 1fr); background: #fff; padding: 8px; border-radius: var(--r); border: 1px solid var(--line); }
.pseudo-qr i { background: #000; }
.pseudo-qr i.o { background: #fff; }
.guest-code { font-size: 28px; font-weight: 700; letter-spacing: .25em; text-align: center; font-variant-numeric: tabular-nums; }
.demo-note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 28px; padding-top: 10px; }
.auth-card { max-width: 420px; margin: 40px auto; padding: 0 4px; }
.auth-card .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; margin-bottom: 28px; }
.auth-card .brand img { width: 30px; height: 30px; }
.auth-card h1 { margin-bottom: 14px; }
.auth-card.wide { max-width: 780px; }
.time-now { font-variant-numeric: tabular-nums; }

.badge-print { display: none; }
@media print {
  /* Seiten drucken (Notfallübersicht, Appell, Monatsbericht): ohne Navigation und Knöpfe */
  .top, .tabbar, .demo-banner, .no-print, .sheet-backdrop, nav.seg, .btn { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  /* Offenes Fenster (z. B. Notfallübersicht): nur das Fenster drucken */
  body:has(.scrim) #view { display: none; }
  .scrim { position: static !important; background: none !important; }
  .sheet { max-height: none !important; box-shadow: none !important; max-width: none !important; }
  /* Gästeausweis: nur der Ausweis */
  body.printing-badge * { visibility: hidden; }
  body.printing-badge .badge-print, body.printing-badge .badge-print * { visibility: visible; }
  .badge-print { display: block; position: fixed; left: 0; top: 0; width: 89mm; padding: 6mm; border: 1px solid #000; font-family: var(--font); color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* ---------- Verwaltung und Planeditor ---------- */
.zone-admin { border-top: 1px solid var(--line); padding: 8px 0; }
.zone-admin > summary { cursor: pointer; }
svg.plan-edit { touch-action: none; user-select: none; }
.plan-edit .pe-desk { cursor: move; }
.plan-edit .pe-zone .zone-rect { cursor: move; }
.plan-edit .pe-handle { fill: var(--accent); cursor: nwse-resize; opacity: .8; }
.plan-edit .sel rect:first-child { stroke: var(--accent); stroke-width: 3; }
.plan-edit g[data-pe]:focus { outline: none; }
.plan-edit g[data-pe]:focus-visible rect:first-child { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 4 2; }

/* ---------- Display am Meetingraum ---------- */
body.display-mode main { max-width: none; margin: 0; padding: 0; }
.disp { --st: var(--ok); min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); grid-template-rows: auto auto 1fr; gap: 0 32px; padding: 32px 40px; background: color-mix(in srgb, var(--st) 12%, var(--bg)); border-top: 14px solid var(--st); }
.disp-busy { --st: var(--bad); }
.disp-soon { --st: var(--warn); }
.disp-locked { --st: var(--muted); }
.disp-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.disp-room-name { font-size: clamp(32px, 5vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.disp-meta { color: var(--muted); font-size: 18px; margin-top: 6px; }
.disp-clock { font-size: clamp(28px, 4vw, 48px); font-weight: 650; font-variant-numeric: tabular-nums; }
.disp-status { grid-column: 1 / -1; margin: 28px 0 8px; font-size: clamp(56px, 10vw, 120px); font-weight: 800; color: var(--st); letter-spacing: -.03em; line-height: 1; }
.disp-main h2 { font-size: clamp(24px, 3vw, 36px); margin: 12px 0 6px; }
.disp-sub { font-size: 20px; color: var(--muted); margin: 0 0 18px; }
.disp-msg { font-size: 20px; padding: 12px 16px; border-radius: var(--r-lg); background: var(--panel); display: inline-block; }
.disp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.disp-btn { min-height: 76px; padding: 0 28px; font-size: 22px; border-radius: var(--r-lg); }
.disp-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 20px; }
.disp-room { min-height: 96px; display: grid; justify-items: start; gap: 4px; text-align: left; font-size: 20px; border-radius: var(--r-lg); }
.disp-room span { font-size: 15px; color: var(--muted); font-weight: 500; }
.disp-agenda { background: var(--panel); border-radius: var(--r-lg); padding: 20px 24px; align-self: start; margin-top: 12px; }
.disp-agenda h3 { margin: 0 0 10px; font-size: 20px; }
.disp-agenda ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 18px; }
.disp-agenda li.now { color: var(--st); font-weight: 700; }
.disp-unpaired { --st: var(--muted); display: block; text-align: center; padding-top: 20vh; }
.disp-ann { grid-column: 1 / -1; margin: 0 0 8px; }
.disp-ann.warn { background: var(--warn-soft); }
.disp-ann .i { width: 1em; height: 1em; }
@media (max-width: 800px) { .disp { grid-template-columns: 1fr; padding: 20px; } }

/* Notfall-Alarm: Leiste über jeder Seite, Vollbild auf Kiosk und Display */
.alarm-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin: 0 0 20px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--bad); color: #fff; }
.alarm-bar.drill { background: #8a4b00; }
.alarm-bar.warning { background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn); }
.alarm-bar p { margin: 4px 0 0; }
.alarm-bar .btn { background: #fff; color: #111; border-color: #fff; }
.alarm-bar .btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.alarm-bar.warning .btn { background: var(--warn); color: #fff; border-color: var(--warn); }
.alarm-ok { font-weight: 600; }
.alarm-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 32px; text-align: center; background: #b42318; color: #fff; }
.alarm-overlay.drill { background: #8a4b00; }
.alarm-overlay.warning { background: #95590a; }
.alarm-overlay h1 { font-size: clamp(40px, 8vw, 96px); margin: 0; letter-spacing: .02em; }
.alarm-overlay p { font-size: clamp(18px, 3vw, 32px); max-width: 1000px; margin: 0; }
.alarm-overlay .en { opacity: .85; font-size: clamp(15px, 2.2vw, 24px); }

/* Knopf, der wie ein Link aussieht (z. B. Sprachwahl) */
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }

/* Hilfe: Leiste rechts, auf dem Handy über die ganze Breite */
.help-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 26; width: min(420px, 100vw); display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line); box-shadow: var(--pop); }
.help-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--line); }
.help-head .icon-btn { font-size: 22px; }
.help-body { overflow: auto; padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); }
.help-body h2 { font-size: 20px; }
.help-body h3, .help-topic h3 { font-size: 14px; margin: 16px 0 6px; }
.help-steps, .help-tips { padding-left: 20px; margin: 0; }
.help-steps li, .help-tips li { margin: 4px 0; }
.help-shot { margin: 12px 0; }
.help-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
/* Ab Tablet unter der Kopfleiste: Menü und „?“ bleiben bedienbar */
@media (min-width: 700px) { .help-panel { top: calc(var(--top-h) + env(safe-area-inset-top)); z-index: 19; } }
@media (min-width: 1200px) { body.help-open main#view { margin-right: 440px; } }
.help-index details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.help-index details:last-child { border-bottom: 0; }
.help-index summary { cursor: pointer; }
.help-topic { padding: 8px 0 4px; max-width: 760px; }
.help-topic .help-shot img { max-width: 640px; }
@media print { .help-panel { display: none !important; } }

/* Ortszeit eines Standorts in anderer Zeitzone */
.tz-note { margin: 6px 0 0; padding: 6px 10px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); }

/* Standort & Anreise */
.facts { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; gap: 6px 16px; margin: 0; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 6px; } }
.secret-value code { display: block; font-size: 28px; letter-spacing: .06em; padding: 14px 16px; border-radius: var(--r); background: var(--soft); user-select: all; word-break: break-all; }

/* Design: Kiosk-Fläche mit Bild, Abdunkelung und Akzentfarbe (Kiosk und Vorschau im Designer) */
.kiosk-stage { position: relative; isolation: isolate; }
.kiosk-stage .btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.kiosk-logo { display: block; max-height: 88px; max-width: min(320px, 70%); margin: 0 auto 18px; object-fit: contain; }
.kiosk-text { font-size: 19px; max-width: 640px; margin: 10px auto 0; }
.kiosk-clock { color: var(--muted); }
body.kiosk-mode .kiosk-stage.has-bg::before, .kiosk-stage.is-preview.has-bg::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(rgba(10, 12, 16, var(--shade)), rgba(10, 12, 16, var(--shade))), var(--kiosk-bg) center / cover no-repeat;
}
.kiosk-stage.has-bg .kiosk-hero, .kiosk-stage.has-bg .kiosk-bar, .kiosk-stage.has-bg .kiosk-clock, .kiosk-stage.has-bg .demo-note { color: #fff; }
.kiosk-stage.has-bg .kiosk-hero .muted { color: rgba(255, 255, 255, .86); }
.kiosk-stage.has-bg .kiosk-hero h1 { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
/* Vorschau: verkleinerte Kiosk-Fläche mit eigenem Hintergrund statt Vollbild */
.kiosk-stage.is-preview { padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); overflow: hidden; pointer-events: none; font-size: 13px; }
.kiosk-stage.is-preview.has-bg::before { position: absolute; }
.kiosk-stage.is-preview .kiosk-hero h1 { font-size: 24px; }
.kiosk-stage.is-preview .kiosk-big { min-height: 64px; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.kiosk-stage.is-preview .kiosk-logo { max-height: 56px; margin-bottom: 10px; }
.kiosk-stage.is-preview .kiosk-text { font-size: 14px; }

/* Designer */
.designer { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .designer { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .designer-preview { position: sticky; top: calc(var(--top-h) + 16px); } }
.dropzone { display: flex; gap: 14px; align-items: center; padding: 14px; border: 2px dashed var(--line); border-radius: var(--r-lg); cursor: pointer; background: var(--panel); transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone:focus-visible { border-color: var(--accent); outline: none; }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone.busy { opacity: .6; pointer-events: none; }
.dropzone .dz-logo { width: 96px; height: 56px; object-fit: contain; background: repeating-conic-gradient(var(--soft) 0 25%, transparent 0 50%) 0 0 / 12px 12px; border-radius: 6px; }
.dropzone .dz-bg { width: 96px; height: 60px; object-fit: cover; border-radius: 6px; }
.dropzone .dz-empty { width: 96px; height: 56px; display: grid; place-items: center; border-radius: 6px; background: var(--soft); color: var(--muted); font-size: 13px; flex: none; }
input[type="color"] { width: 48px; height: 42px; padding: 2px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); flex: none; margin-top: 18px; }
.warn-text { color: var(--warn); }
.mail-preview { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #f3f3f1; }
.mail-preview table { border-collapse: separate; }

/* Passwortfeld mit Augen-Knopf am Ende */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 46px; }
.pw-toggle { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: var(--r); background: transparent; color: var(--muted); cursor: pointer; }
.pw-toggle:hover { color: var(--ink); background: var(--soft); }
.pw-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.pw-toggle .i { width: 20px; height: 20px; }
.forgot-link { margin: -4px 0 12px; text-align: right; }

/* Wetter am Kiosk */
.kiosk-weather { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin: 16px auto 0; max-width: 720px; padding: 12px 18px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.kiosk-weather .wx-i { width: 30px; height: 30px; flex: none; }
.kiosk-weather .wx-now { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.kiosk-weather .wx-now b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.kiosk-weather .wx-now small { color: var(--muted); }
.kiosk-weather .wx-days { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.kiosk-weather .wx-day { display: inline-flex; align-items: center; gap: 6px; }
.kiosk-weather .wx-day .wx-i { width: 20px; height: 20px; }
.kiosk-stage.has-bg .kiosk-weather { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kiosk-stage.has-bg .kiosk-weather .wx-days, .kiosk-stage.has-bg .kiosk-weather small { color: rgba(255, 255, 255, .85); }
.kiosk-stage.is-preview .kiosk-weather { padding: 8px 12px; margin-top: 10px; }
.kiosk-stage.is-preview .kiosk-weather .wx-now b { font-size: 20px; }
.kiosk-stage.is-preview .kiosk-weather .wx-i { width: 22px; height: 22px; }
.kiosk-stage.is-preview .kiosk-weather .wx-days { font-size: 12px; }

/* Raumnutzung nach Uhrzeit */
.hour-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; align-items: end; height: 120px; margin-top: 8px; }
.hour-bars span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.hour-bars i { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: var(--accent); }
.hour-bars b { font-size: 11px; font-weight: 500; color: var(--muted); }
