/* GastroLuv-Stil (Nov 2026), Aufbau wie die GastroLuv-Website: weiße Fläche, Kacheln in Hafer ohne Rahmen, Terrakotta, Plus Jakarta Sans + Inter, mittlere Rundungen, einheitliche Knöpfe (M 44 px, S 36 px).
   Liegt über design-2026.css (auch über der Farbwelt Kaffee). Gilt, wenn <body> die Klasse "gl" hat (alle Seiten). */
body.gl {
  --accent: #B9532C;
  --accent-ink: #9E4524;
  --bg: #FFFFFF;            /* Seitenleiste / Rand */
  --panel: #FFFFFF;         /* Hauptfläche */
  --surface: #F5F1EA;       /* Kacheln, Karten (Hafer) */
  --surface-2: #FFFFFF;     /* Flächen in Karten */
  --ink: #2A1F18;
  --muted: #6F6862;
  --line: #ECE5DA;
  --yolk: var(--accent);
  --yolk-ink: #FFFFFF;
  --yolk-soft: #F8D9C4;
  --green: #2F7A4B;
  --green-soft: #E4F1E8;
  --red: #C0452F;
  --red-soft: #F8E2DA;
  --warn: #7A5C0E;
  --warn-soft: #FBEFC4;
  --fw-grad: #B9532C;
  --fw-dark: #2A1F18;
  --fw-hell: #F8D9C4;
  --forest: #2A1F18;
  --terra: #B9532C;
  --sand: #FBF6EE;
  --f-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --f-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --f-mono: Inter, system-ui, sans-serif;
  --r: 18px;
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
}
body.gl input, body.gl select, body.gl textarea, body.gl button { font-family: inherit; }

/* Schrift */
body.gl h1, body.gl .page-head h1 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.035em; }
body.gl h2, body.gl h3, body.gl .plus-head h2, body.gl .dpm-sheet-h h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; }
body.gl .needs-title { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.035em; }
body.gl .needs-title strong { font-weight: 800; }
body.gl .kpi-num, body.gl .tile-num, body.gl .tile-num.mono, body.gl .rd-kpi strong, body.gl .dpm-area-h > span:nth-child(2) { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
body.gl .dpm-daytitle b, body.gl .dpm-nr { font-family: var(--f-display); font-weight: 700; }
body.gl .eyebrow, body.gl .plus-label { font-family: var(--f-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
body.gl .btn, body.gl .side-name, body.gl .side-group-title { font-family: var(--f-display); }

/* Seitenleiste weiß, aktiver Punkt Hafer */
body.gl .side { background: var(--bg); }
body.gl .side-link:hover { background: #F5F1EA; }
body.gl .side-link.is-active { background: #F5F1EA; color: var(--ink); box-shadow: none; }
body.gl .side-logo { border-radius: 14px; }

/* Hauptfläche weiß, Kacheln Hafer ohne Rahmen (wie die Website) */
body.gl.has-shell .wrap { background: var(--panel); border-radius: 18px; }
body.gl .panel, body.gl .w, body.gl .tile, body.gl .card { background: var(--surface); border-color: transparent; box-shadow: none; }
body.gl .panel { border-radius: 18px; }
body.gl .tile { border-radius: 14px; }

/* Hauptkarte / erste Kachel: ruhig statt Verlauf */
body.gl .dash > .w.needs, body.gl .needs, body.gl .mein-hero, body.gl .mein-hero.is-in { background: #F8D9C4; color: var(--ink); box-shadow: none; border-color: transparent; }
body.gl .need-chip { background: #FFFFFF; color: var(--ink); }
body.gl .tile:first-child { background: var(--surface); color: var(--ink); }
body.gl .tile:first-child .tile-label, body.gl .tile:first-child .tile-sub { color: var(--muted); }
body.gl .tile:first-child .tile-num { color: var(--ink); }

/* Knöpfe */
body.gl .btn-primary, body.gl .rd-actions .btn-primary { background: var(--accent); color: #FFFFFF; border-color: transparent; }
body.gl .btn-primary:hover { background: #A44824; filter: none; }
body.gl .btn-ghost { background: #FFFFFF; border-color: #E3DBCF; box-shadow: none; }
body.gl .tab-plus, body.gl .side-plus, body.gl .dpm-main, body.gl .dpm-big.is-accent { background: var(--accent); color: #FFFFFF; }
body.gl .nav-badge { background: var(--accent); color: #FFFFFF; }

/* Formulare */
body.gl main .form input:not([type=checkbox]):not([type=radio]), body.gl main .form select, body.gl main .form textarea { border-radius: 12px; background: #FFFFFF; border-color: var(--line); }

/* Reiter / Chips */
body.gl .mk-tabs a.is-active, body.gl .rd-chips a.is-active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
body.gl .rd-kpis { background: var(--ink); }

/* Seitenleiste: Farbwelt Kaffee färbt sie dunkel – hier hell mit dunkler Schrift */
html body.gl .side { background: var(--bg); color: var(--ink); }
html body.gl .side-name, html body.gl .side-me-name { color: var(--ink); }
html body.gl .side-logo { background: var(--accent); }
html body.gl .side-logo-img { filter: none; }
html body.gl .side-link, html body.gl .side-group > summary { color: #4A3F38; }
html body.gl .side-group-title { color: var(--muted); }
html body.gl .side-link:hover, html body.gl .side-group > summary:hover { background: #F5F1EA; color: var(--ink); }
html body.gl .side-group[open] > summary { color: var(--ink); }
html body.gl .side-link.is-active { background: #F5F1EA; color: var(--ink); box-shadow: none; }
html body.gl .side-link.is-active .side-dot { background: var(--accent); }
html body.gl .side-me { border-top-color: var(--line); }
html body.gl .side-me .link-btn { color: var(--muted); }
html body.gl .side .nav-badge { box-shadow: none; }
/* Handy: Leiste unten weiß und schwebend wie die Menüleiste der Website */
@media (max-width: 900px) {
  html body.gl .tabbar { background: #FFFFFF; border: 0; border-radius: 16px; box-shadow: 0 18px 50px -18px rgb(0 0 0 / 0.25), 0 0 0 1px rgb(0 0 0 / 0.03); }
  html body.gl .tab { color: var(--muted); }
  html body.gl .tab.is-active, html body.gl .tab.is-active svg { color: var(--accent); }
  html body.gl .tab-menu[aria-expanded="true"] { background: #F5F1EA; color: var(--ink); }
  html body.gl .tab-badge { box-shadow: 0 0 0 2px var(--bg); }
  html body.gl .tab-plus { border-color: var(--bg); background: var(--accent); }
}
html body.gl .dpm-seg button[aria-pressed="true"], html body.gl .dpm-day.is-on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
html body.gl .dpm-gap, html body.gl .sc-gap { border-color: #D99A2B; }

/* Durchgang 17.11.: Reste des alten Looks */
html body.gl h1, html body.gl .page-head h1 { font-family: var(--f-display) !important; }
html body.gl :is(.kpi, .need-list, .res-info, .dp-status, .km-box, .km-leer, .dpm-area, .an-card, .pa-sum, .mk-card, .ka-status, .ch-gespraeche, .es-karte, .ag-karte, .ag-post) { border-radius: 18px; }
/* Wie die Website: Trennung über Fläche statt Rahmen */
html body.gl :is(.kpi, .res-info, .dp-status, .km-box, .dpm-area, .an-card, .pa-sum, .mk-card, .ka-status, .es-karte, .ag-karte, .ag-post) { border-color: transparent; box-shadow: none; }

/* Grün aus dem alten Marketing-Look -> Espresso */
html body.gl .mk-strip-format, html body.gl .mk-play { background: rgb(42 31 24 / 0.82); }
html body.gl .rs-ico-intro, html body.gl .rs-ico-geteilt { background: var(--ink); }
html body.gl .ag-passt { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
html body.gl .ag-passt:hover { background: #3A2C23; }
html body.gl .ag-strategie { background: var(--ink); }
/* Farbverlauf-Auswahl wirkt im GastroLuv-Stil nicht: ausblenden */
html body.gl .es-karte:has(.es-vl) { display: none; }

/* =========================================================
   Einheitliche Knöpfe (17.11. spät): überall gleiche Höhe, Rundung und Schrift
   M = 44 px (Hauptaktionen), S = 36 px (in Listen, Zeilen, Filter, Reiter)
   ========================================================= */
html body.gl :is(.btn, .ka-k, .dpm-menu, .ab-fertig-knopf, .btn-go, .btn-accent, .file-btn) {
  min-height: 44px; height: auto; padding: 0 18px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-family: var(--f-display); font-size: 15px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em;
}
html body.gl :is(.btn-sm, .chip-btn, .ek-chip, .ab-da, .ag-chip-btn, .mk-chip, .hv-ort-wahl, .hv-weg, .kat-nav a, .viewtabs a, .mk-tabs a, .rd-chips a, .dpm-seg button, .seg a, .seg button) {
  min-height: 36px; height: auto; padding: 0 14px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 10px; font-family: var(--f-display); font-size: 13.5px; font-weight: 700; line-height: 1.15; letter-spacing: -0.005em;
}
/* Zweitknöpfe, Filter und Chips: weiß mit feiner Linie */
html body.gl :is(.btn-ghost, .chip-btn:not(.mi-out):not(.chip-wa), .ek-chip, .ag-chip-btn, .mk-chip, .hv-ort-wahl, .kat-nav a) { background: #FFFFFF; border: 1px solid #E3DBCF; color: var(--ink); box-shadow: none; }
html body.gl :is(.btn-ghost, .chip-btn:not(.mi-out):not(.chip-wa), .ek-chip, .kat-nav a):hover { background: #F5F1EA; }
html body.gl :is(.kat-nav a, .mk-chip, .ek-chip, .hv-ort-wahl).is-active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
/* Reiter-Gruppen: Hafer-Leiste, aktiver Reiter weiß */
html body.gl :is(.viewtabs, .mk-tabs, .dpm-seg) { border-radius: 12px; }
/* Eingabe neben kleinen Knöpfen (z. B. Preis in der Speisekarte) */
html body.gl .mi-price input { height: 36px; min-height: 36px; border-radius: 10px; font-size: 14px; padding: 0 10px; }
/* Größere Felder in Formularen passend zu M */
html body.gl main .form :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select) { min-height: 44px; }
/* Hauptknopf in Reservierungen, Menü-Knopf daneben, Dringend-Schalter im Einkauf */
html body.gl .rc-haupt { min-height: 44px; height: auto; border-radius: 12px; font-family: var(--f-display); font-size: 15px; font-weight: 700; }
html body.gl .rc-mehr-knopf { width: 44px; min-width: 44px; height: 44px; min-height: 44px; border-radius: 12px; }
html body.gl .ek-urgent span { min-height: 36px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-display); font-size: 13.5px; font-weight: 700; }
html body.gl .dp-pfeil { padding: 0; width: 44px; min-width: 44px; }

/* =========================================================
   Wochenplanung einrichten (18.11.): ordentlicher, kompakter, Handy
   ========================================================= */
/* Alle Eingabefelder der Seite gleich: 44 px, Rundung 12, weiß */
html body.gl :is(#oeffnung, #bereiche, #schichten, #personal, #frist) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]), select) {
  height: 44px; min-height: 44px; box-sizing: border-box; width: 100%; min-width: 0;
  padding: 0 12px; border: 1px solid #E3DBCF; border-radius: 12px; background: #FFFFFF; color: var(--ink);
  font: 500 16px var(--f-body); font-variant-numeric: tabular-nums; -webkit-appearance: none; appearance: none;
}
html body.gl :is(#oeffnung, #bereiche, #schichten, #personal, #frist) select {
  padding-right: 34px; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236F6862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 12px 8px no-repeat;
}
html body.gl :is(#oeffnung, #bereiche, #schichten, #personal, #frist) :is(input, select):focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
html body.gl :is(#oeffnung, #bereiche, #schichten, #personal, #frist) label:not(.check):not(.ws-chip):not(.wsb-chip) { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); min-width: 0; }
html body.gl .ws-form { gap: 12px; }

/* 1 · Öffnungszeiten: Reiter + Gruppen */
html body.gl .oz-form.is-js .oz-week { display: none; }
html body.gl .oz-form.is-js .oz-block > .oz-title, html body.gl .oz-form.is-js .oz-saison > summary { display: none; }
html body.gl .oz-form.is-js .oz-block { border: 0; padding: 0; background: none; margin: 0; }
html body.gl .oz-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #ECE5DA; border-radius: 12px; align-self: flex-start; margin-bottom: 12px; width: fit-content; max-width: 100%; }
html body.gl .oz-tab { min-height: 40px; padding: 4px 14px; border: 0; border-radius: 10px; background: none; color: #4A3F38; cursor: pointer; display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--f-display); font-size: 13.5px; }
html body.gl .oz-tab strong { font-weight: 700; }
html body.gl .oz-tab small { font-family: var(--f-body); font-size: 12px; color: var(--muted); }
html body.gl .oz-tab[aria-selected="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 4px 12px -6px rgb(0 0 0 / .25); }
html body.gl .oz-tab.is-neu { color: var(--accent-ink); }
html body.gl .oz-saison-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 12px; }
html body.gl .oz-gruppen { background: #FFFFFF; border-radius: 14px; padding: 4px 16px; }
html body.gl .oz-gr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; border-bottom: 1px solid #ECE5DA; }
html body.gl .oz-tage { display: grid; grid-template-columns: repeat(7, 40px); gap: 4px; }
html body.gl .oz-t { height: 36px; border-radius: 10px; border: 1px solid #E3DBCF; background: #FFFFFF; color: #A39A93; font: 700 13px var(--f-display); cursor: pointer; padding: 0; }
html body.gl .oz-t[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
html body.gl .oz-zeit { display: grid; grid-template-columns: 104px auto 104px; gap: 8px; align-items: center; }
html body.gl .oz-zeit input { padding: 0 10px !important; }
html body.gl .oz-zeit input::-webkit-calendar-picker-indicator { margin: 0 0 0 2px; padding: 0; }
html body.gl .oz-gr-weg { margin-left: auto; width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid #E3DBCF; background: #FFFFFF; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
html body.gl .oz-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; }
html body.gl .oz-ruhe-info { font-size: 14px; color: var(--muted); }
html body.gl .oz-ruhe-info b { color: var(--ink); }

/* 2 · Bereiche */
html body.gl .wb-liste { display: flex; flex-direction: column; background: #FFFFFF; border-radius: 14px; padding: 4px 14px; }
html body.gl .wb-zeile { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) 44px; grid-template-areas: "an farbe name weg" ". . zeit zeit"; gap: 8px 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #ECE5DA; }
html body.gl .wb-zeile:last-child { border-bottom: 0; }
html body.gl .wb-an { grid-area: an; } html body.gl .wb-farbe { grid-area: farbe; } html body.gl .wb-name { grid-area: name; } html body.gl .wb-weg { grid-area: weg; } html body.gl .wb-zeit { grid-area: zeit; }
html body.gl .wb-farbe { width: 44px; height: 44px; padding: 6px; border: 1px solid #E3DBCF; border-radius: 12px; background: #FFFFFF; cursor: pointer; }
html body.gl .wb-farbe::-webkit-color-swatch-wrapper { padding: 0; } html body.gl .wb-farbe::-webkit-color-swatch { border: 0; border-radius: 7px; }
html body.gl .wb-weg { width: 44px; height: 44px; border-radius: 12px; border: 1px solid #E3DBCF; background: #FFFFFF; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
html body.gl .wb-weg:hover { color: var(--red); border-color: var(--red); }
html body.gl .wb-weg.is-leer { border: 0; background: none; cursor: default; }
html body.gl .wb-zeit { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
html body.gl .wb-mehr { display: flex; flex-direction: column; gap: 8px; }
html body.gl .wb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html body.gl .wb-chip { display: inline-flex; align-items: center; border: 1px solid #E3DBCF; border-radius: 10px; background: #FFFFFF; overflow: hidden; }
html body.gl .wb-chip .ws-chip span { border: 0; border-radius: 0; background: none; min-height: 36px; }
html body.gl .wb-chip .ws-chip input:checked + span { background: var(--ink); color: #FFFFFF; }
html body.gl .wb-chip .ws-dot { margin-right: 6px; }
html body.gl .wb-chip-x { width: 34px; min-height: 36px; border: 0; border-left: 1px solid #ECE5DA; background: none; color: var(--muted); font-size: 18px; cursor: pointer; padding: 0; }
html body.gl .wb-chip-x:hover { color: var(--red); }

/* 3 · Schichten */
html body.gl .ws-shift { grid-template-columns: 26px minmax(0, 1fr) 120px 120px; gap: 8px 10px; padding: 10px 0; border-bottom: 1px solid #ECE5DA; }
html body.gl .ws-shift-opt { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; }
html body.gl .ws-shift-opt label.check { font-size: 14px; font-weight: 600; }

/* Chips auf der Seite: wie kleine Knöpfe (S) */
html body.gl :is(.ws-chip, .wsb-chip) span { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #E3DBCF; background: #FFFFFF; color: var(--ink); display: inline-flex; align-items: center; font: 700 13.5px var(--f-display); cursor: pointer; }
html body.gl :is(.ws-chip, .wsb-chip) input:checked + span, html body.gl .ws-self input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

/* 4 · Wer steht wann wo: Tage, Plus/Minus */
html body.gl .wsb-tabs { gap: 6px; }
html body.gl .wsb-tab { min-height: 56px; border-radius: 12px; border: 1px solid #E3DBCF; background: #FFFFFF; padding: 6px 2px; gap: 2px; justify-content: center; font-family: var(--f-display); }
html body.gl .wsb-tab strong { font-size: 15px; font-weight: 700; }
html body.gl .wsb-tab small { font: 600 11px var(--f-body); }
html body.gl .wsb-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
html body.gl .wsb-day legend { font: 700 18px var(--f-display); letter-spacing: -0.02em; }
html body.gl .wsb-step { width: 36px; height: 36px; border-radius: 10px; border: 1px solid #E3DBCF; background: #FFFFFF; color: var(--ink); font: 700 18px var(--f-display); display: inline-flex; align-items: center; justify-content: center; flex: none; }
html body.gl .wsb-step:hover { background: #F5F1EA; border-color: #E3DBCF; }
html body.gl .wsb-cell input { width: 44px; height: 36px; border-radius: 10px; border: 1px solid #E3DBCF; background: #FFFFFF; font: 700 16px var(--f-display); padding: 0; }
html body.gl .wsb-cell input.is-zero { background: #FFFFFF; color: #A39A93; }
html body.gl .wsb-cell { flex-wrap: wrap; row-gap: 2px; }
html body.gl .wsb-zeit { flex-basis: 100%; text-align: center; font-size: 12px; color: var(--muted); }
html body.gl .wsb-text { background: #FFFFFF; border-radius: 12px; font-size: 14px; }
html body.gl .wsb-copy { gap: 6px; }

/* 5 · Personal */
html body.gl .ws-people { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 12px; }
html body.gl .ws-person { background: #FFFFFF; border: 0; border-radius: 14px; padding: 16px; gap: 14px; }
html body.gl .ws-kopf { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 16px; }
html body.gl .ws-kopf .muted { font-family: var(--f-body); font-weight: 500; }
html body.gl .ws-felder { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr 1.5fr; gap: 10px; align-items: end; }
html body.gl .ws-row input[type=number] { width: 100%; }
html body.gl .ws-areas { gap: 6px; }
html body.gl .ws-areas .field-label, html body.gl .wb-mehr .field-label { font-size: 13px; font-weight: 600; color: var(--muted); }
html body.gl .ws-fix summary { font-size: 14px; }

@media (max-width: 700px) {
  html body.gl .oz-tabs { width: 100%; }
  html body.gl .oz-tab { flex: 1 1 auto; justify-content: center; flex-direction: column; align-items: center; gap: 0; }
  html body.gl .oz-saison-head { grid-template-columns: 1fr 1fr; }
  html body.gl .oz-saison-head label:first-child { grid-column: 1 / -1; }
  html body.gl .oz-gruppen { padding: 2px 12px; }
  html body.gl .oz-tage { grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; }
  html body.gl .oz-zeit { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); flex: 1; }
  html body.gl .oz-gr-weg { margin-left: 0; }
  html body.gl .oz-zeit input::-webkit-calendar-picker-indicator { display: none; }
  html body.gl .oz-zeit input { text-align: center; }
  html body.gl :is(#bereiche, #schichten, #frist) input[type=time] { text-align: center; padding: 0 6px; }
  html body.gl :is(#bereiche, #schichten, #frist) input[type=time]::-webkit-calendar-picker-indicator { display: none; }
  html body.gl .oz-fuss .btn { width: 100%; }
  html body.gl .wb-liste { padding: 2px 12px; }
  html body.gl .wb-zeile { grid-template-columns: 26px 44px minmax(0, 1fr) 44px; grid-template-areas: "an farbe name weg" "zeit zeit zeit zeit"; }
  html body.gl .ws-shift { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr); }
  html body.gl .ws-shift > input:nth-of-type(1) { grid-column: 2 / -1; }
  html body.gl .ws-shift > input:nth-of-type(2) { grid-column: 2; }
  html body.gl .ws-shift > input:nth-of-type(3) { grid-column: 3; }
  html body.gl .wsb-tab { min-height: 52px; }
  html body.gl .wsb-tab strong { font-size: 14px; }
  html body.gl .wsb-tab small { font-size: 10px; }
  html body.gl .wsb-grid { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px 8px; }
  html body.gl .wsb-corner { display: none; }
  html body.gl .wsb-area { grid-column: 1 / -1; padding-top: 6px; }
  html body.gl .wsb-area.is-kombi { padding-top: 12px; }
  html body.gl .wsb-cell.is-kombi { border-top: 0; padding-top: 0; }
  html body.gl .wsb-step { width: 34px; height: 34px; }
  html body.gl .wsb-cell input { width: 40px; }
  html body.gl .ws-felder { grid-template-columns: 1fr 1fr; }
  html body.gl .ws-felder > label:first-child { grid-column: 1 / -1; }
  html body.gl .ws-person { padding: 14px; }
}
html body.gl .wb-zeile:has(.wb-weg.is-leer) .wb-name { grid-column: 3 / -1; }
html body.gl .wb-zeile .wb-weg.is-leer { display: none; }
html body.gl :is(#oeffnung, #bereiche, #schichten, #personal, #frist) select { padding-right: 34px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236F6862' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 12px 8px !important; }

/* =========================================================
   Wochenplanung einrichten als Accordion (18.11. mittags, Vorschlag D)
   ========================================================= */
html body.gl section.wpa.is-js { background: #F5F1EA; border: 0; border-radius: 18px; padding: 0 22px; margin: 0 0 12px; box-shadow: none; }
html body.gl section.wpa.is-js.is-offen { box-shadow: inset 0 0 0 2px #E8DCCB; }
html body.gl .wpa-kopf { all: unset; box-sizing: border-box; width: 100%; min-height: 66px; display: grid; grid-template-columns: 32px 240px minmax(0, 1fr) 28px; gap: 14px; align-items: center; cursor: pointer; font-family: var(--f-body); color: var(--ink); }
html body.gl .wpa-kopf:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
html body.gl .wpa-st { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font: 800 14px/1 var(--f-display); background: #E4F1E8; color: #2F7A4B; }
html body.gl .wpa-st.is-warn { background: #FBEFC4; color: #7A5C0E; }
html body.gl .wpa-st.is-info { background: #ECE5DA; color: #6F6862; }
html body.gl .wpa.is-offen .wpa-st:not(.is-warn):not(.is-info) { background: var(--ink); color: #FFFFFF; }
html body.gl .wpa-titel { font: 700 17px var(--f-display); letter-spacing: -0.01em; }
html body.gl .wpa-sum { font-size: 14px; color: #4A3F38; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html body.gl .wpa.is-offen .wpa-sum { color: var(--muted); }
html body.gl .wpa-pfeil { width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%236F6862' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 9px no-repeat; transition: transform .2s; }
html body.gl .wpa.is-offen .wpa-pfeil { transform: rotate(180deg); }
html body.gl .wpa.is-js:not(.is-offen) .wpa-body { display: none; }
html body.gl .wpa.is-js .wpa-body { padding: 0 0 22px; }
html body.gl .wpa.is-js .wpa-body > form, html body.gl .wpa.is-js .wpa-body > .ws-rules { margin: 0; }

/* Bereiche als Tabelle mit Spaltenköpfen (Computer) */
html body.gl .wb-kopfzeile { display: none; }
@media (min-width: 701px) {
  html body.gl .wb-kopfzeile { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) 130px 130px 44px; gap: 12px; padding: 12px 0 6px; border-bottom: 1px solid #ECE5DA; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  html body.gl .wb-kopfzeile span:nth-child(4), html body.gl .wb-kopfzeile span:nth-child(5) { text-align: center; }
  html body.gl .wb-zeile { grid-template-columns: 26px 44px minmax(0, 1fr) 130px 130px 44px; grid-template-areas: "an farbe name von bis weg"; gap: 12px; padding: 10px 0; }
  html body.gl .wb-zeit { display: contents; }
  html body.gl .wb-zeit > span { display: none; }
  html body.gl .wb-zeit > input:nth-of-type(1) { grid-area: von; }
  html body.gl .wb-zeit > input:nth-of-type(2) { grid-area: bis; }
  html body.gl .wb-zeile .wb-weg.is-leer { display: block; visibility: hidden; }
  html body.gl .wb-zeile:has(.wb-weg.is-leer) .wb-name { grid-area: name; }
  html body.gl .ws-shift { grid-template-columns: 26px minmax(0, 1fr) 130px 130px; }
}

/* Zahlen und Uhrzeiten mittig (auch Safari) */
html body.gl section.wpa input[type=time], html body.gl section.wpa input[type=number] { text-align: center; padding-left: 6px !important; padding-right: 6px !important; line-height: 42px; -moz-appearance: textfield; }
html body.gl section.wpa input[type=time]::-webkit-date-and-time-value { text-align: center; margin: 0; }
html body.gl section.wpa input[type=time]::-webkit-datetime-edit { padding: 0; line-height: 42px; }
html body.gl section.wpa input[type=number]::-webkit-inner-spin-button, html body.gl section.wpa input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
html body.gl section.wpa input[type=time].is-leer:not(:focus)::-webkit-datetime-edit { opacity: 0; }
html body.gl section.wpa input[type=time]::-webkit-calendar-picker-indicator { display: none; }
html body.gl .wsb-cell input { line-height: 34px !important; }

/* Plus/Minus als gezeichnete Zeichen, genau mittig */
html body.gl .wsb-step { font-size: 0 !important; color: transparent !important; padding: 0 !important; background: #FFFFFF center / 12px 12px no-repeat; }
html body.gl .wsb-step[data-d="1"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%232A1F18' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
html body.gl .wsb-step[data-d="-1"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1 6h10' stroke='%232A1F18' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
html body.gl .wsb-step:hover { background-color: #F5F1EA; }

@media (max-width: 700px) {
  html body.gl section.wpa.is-js { padding: 0 16px; border-radius: 16px; margin-bottom: 10px; }
  html body.gl .wpa-kopf { grid-template-columns: 30px minmax(0, 1fr) 24px; grid-template-areas: "st titel pfeil" "st sum pfeil"; row-gap: 2px; column-gap: 12px; min-height: 64px; padding: 10px 0; }
  html body.gl .wpa-st { grid-area: st; } html body.gl .wpa-titel { grid-area: titel; font-size: 15px; } html body.gl .wpa-sum { grid-area: sum; font-size: 13px; color: var(--muted); } html body.gl .wpa-pfeil { grid-area: pfeil; }
  html body.gl .wpa.is-js .wpa-body { padding-bottom: 16px; }
}
html body.gl .wsb-step, html body.gl .wsb-step:hover { background-repeat: no-repeat !important; background-position: center !important; background-size: 12px 12px !important; }

/* =========================================================
   Marketing: Aufklapp-Listen im Accordion-Stil wie „Wochenplanung einrichten“ (18.11.)
   mx-klapp = großer Abschnitt, mx-verb / mx-mehr = einzelner Punkt
   ========================================================= */
html body.gl section.mx-klapp { background: #F5F1EA !important; border: 0 !important; border-radius: 18px !important; padding: 0 22px !important; margin: 0 0 12px !important; box-shadow: none !important; }
html body.gl section.mx-klapp.is-offen { box-shadow: inset 0 0 0 2px #E8DCCB !important; padding-bottom: 22px !important; }
html body.gl .mx-klapp-kopf { all: unset; box-sizing: border-box; width: 100%; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; color: var(--ink); }
html body.gl .mx-klapp-kopf:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
html body.gl .mx-klapp-titel { font: 700 17px var(--f-display) !important; letter-spacing: -0.01em; color: var(--ink); }
html body.gl .mx-klapp-pfeil { width: 18px; height: 18px; color: var(--muted); flex: none; }
html body.gl section.mx-klapp > p.mx-klein:first-of-type { margin-top: 0; }

/* Liste außerhalb eines Abschnitts: jeder Punkt eine eigene Hafer-Karte */
html body.gl .mx-liste:has(> details.mx-verb) { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; border-radius: 0 !important; }
html body.gl details.mx-verb, html body.gl details.mx-mehr { background: #F5F1EA !important; border: 0 !important; border-radius: 18px !important; padding: 0 22px !important; margin: 0 !important; box-shadow: none !important; }
html body.gl details.mx-verb[open], html body.gl details.mx-mehr[open] { box-shadow: inset 0 0 0 2px #E8DCCB !important; padding-bottom: 20px !important; }
/* Liste innerhalb eines Abschnitts (schon Hafer): weiße Fläche mit Trennlinien */
html body.gl .mx-klapp .mx-liste:has(> details.mx-verb) { background: #FFFFFF !important; border-radius: 14px !important; padding: 0 18px !important; gap: 0; }
html body.gl .mx-klapp details.mx-verb { background: transparent !important; border-radius: 0 !important; padding: 0 !important; border-bottom: 1px solid #ECE5DA !important; }
html body.gl .mx-klapp details.mx-verb:last-child { border-bottom: 0 !important; }
html body.gl .mx-klapp details.mx-verb[open] { box-shadow: none !important; padding-bottom: 18px !important; }

/* Kopfzeile eines Punkts: Symbol · Titel · Stand · (Status) · Pfeil */
html body.gl details:is(.mx-verb, .mx-mehr) > summary { list-style: none; display: grid !important; grid-template-columns: 36px minmax(0, 1fr) auto 24px; align-items: center; gap: 14px; min-height: 66px; padding: 0 !important; margin: 0 !important; background: transparent !important; border: 0 !important; cursor: pointer; }
html body.gl details.mx-mehr > summary { grid-template-columns: minmax(0, 1fr) auto 24px; font: 700 17px var(--f-display); color: var(--ink); }
html body.gl details:is(.mx-verb, .mx-mehr) > summary::-webkit-details-marker { display: none; }
html body.gl details:is(.mx-verb, .mx-mehr) > summary::after { content: ""; grid-column: -2; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%236F6862' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 9px no-repeat; transition: transform .2s; }
html body.gl details:is(.mx-verb, .mx-mehr)[open] > summary::after { transform: rotate(180deg); }
html body.gl details:is(.mx-verb, .mx-mehr) > summary > svg, html body.gl details:is(.mx-verb, .mx-mehr) > summary > .mx-pfeil { display: none !important; }
html body.gl details.mx-verb > summary > span:empty { display: none; }
html body.gl details.mx-verb > summary .mx-verwalten, html body.gl details.mx-verb > summary > .btn { display: none !important; }
html body.gl details.mx-verb > summary .mx-zeile-icon { width: 32px; height: 32px; border-radius: 9px; background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font: 800 12px var(--f-display); color: var(--ink); box-shadow: none; border: 0; }
html body.gl .mx-klapp details.mx-verb > summary .mx-zeile-icon { background: #F5F1EA; }
html body.gl details.mx-verb[open] > summary .mx-zeile-icon { background: var(--ink); color: #FFFFFF; }
html body.gl details.mx-verb[open] > summary .mx-zeile-icon img { filter: brightness(0) invert(1); }
html body.gl details.mx-verb > summary > span:nth-child(2) b { font: 700 16px var(--f-display); color: var(--ink); }
html body.gl details.mx-verb > summary > span:nth-child(2) .mx-klein { font-size: 14px; color: #4A3F38; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 901px) {
  html body.gl details.mx-verb > summary > span:nth-child(2) { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 14px; min-width: 0; }
}
@media (max-width: 900px) {
  html body.gl details.mx-verb > summary > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  html body.gl details.mx-verb > summary > span:nth-child(2) .mx-klein { font-size: 13px; color: var(--muted); }
}
html body.gl details:is(.mx-verb, .mx-mehr) > :is(.mx-verb-inhalt, .mx-mehr-inhalt) { background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
@media (max-width: 700px) {
  html body.gl section.mx-klapp, html body.gl details.mx-verb, html body.gl details.mx-mehr { padding-left: 16px !important; padding-right: 16px !important; border-radius: 16px !important; }
  html body.gl .mx-klapp .mx-liste:has(> details.mx-verb) { padding: 0 12px !important; }
  html body.gl .mx-klapp details.mx-verb { padding: 0 !important; }
  html body.gl details:is(.mx-verb, .mx-mehr) > summary { gap: 12px; min-height: 64px; }
}
html body.gl details:is(.mx-verb, .mx-mehr) > summary::after { border: 0 !important; transform: none !important; margin: 0 !important; position: static !important; } html body.gl details:is(.mx-verb, .mx-mehr)[open] > summary::after { transform: rotate(180deg) !important; }
/* Gleicher Abstand zwischen allen Accordion-Punkten (18.11.) */
html body.gl .akk-liste { display: flex; flex-direction: column; gap: 10px; margin: 0; }
html body.gl .akk-liste > * { margin: 0 !important; }
html body.gl .mx-liste:has(> details.mx-verb) { gap: 10px; }
html body.gl .mx-klapp .mx-liste:has(> details.mx-verb) { gap: 0; }
html body.gl .akk-liste > section:is(.mx-klapp, .wpa) { margin: 0 !important; }

/* Leisten ohne Scrollbalken (18.11.): am Computer umbrechen, am Handy wischen */
html body.gl :is(.kat-nav, .viewtabs, .mk-tabs, .rd-chips, .oz-tabs, .wsb-tabs) { scrollbar-width: none; -ms-overflow-style: none; }
html body.gl :is(.kat-nav, .viewtabs, .mk-tabs, .rd-chips, .oz-tabs, .wsb-tabs)::-webkit-scrollbar { display: none; }
@media (min-width: 901px) {
  html body.gl .kat-nav { flex-wrap: wrap !important; overflow: visible !important; row-gap: 8px; padding-bottom: 0 !important; }
}

/* Rezepte: Kategorien als Accordion (gleicher Stil wie Wochenplanung) */
html body.gl section.recipe-cat.wpa.is-js { padding: 0 22px; }
html body.gl section.recipe-cat.wpa .wpa-body .recipe-cards { margin: 0; }
html body.gl .akk-suche section.wpa.is-js .wpa-body { display: block !important; }
html body.gl .akk-suche section.wpa.is-js .wpa-pfeil { visibility: hidden; }

/* Rezepte im Accordion: Karten weiß, damit sie sich abheben */
html body.gl section.recipe-cat.wpa .rcard, html body.gl section.recipe-cat.wpa .rcard-body { background: #FFFFFF !important; }

/* =========================================================
   Einkauf neu (18.11.): Liste nach Laden als Accordion, Eintragen in einer Zeile, Einkaufsmodus
   ========================================================= */
html body.gl .ek-seite > section.panel { margin: 0 !important; }
html body.gl .ek-seite > section.ek-add { background: #F5F1EA; border: 0; border-radius: 18px; padding: 16px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: none; }
html body.gl .ek-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 190px 190px auto auto; gap: 10px; align-items: center; }
html body.gl .ek-zeile label { margin: 0; display: block; }
html body.gl .ek-zeile input:not([type=checkbox]) { height: 44px; width: 100%; box-sizing: border-box; border: 1px solid #E3DBCF; border-radius: 12px; background: #FFFFFF; padding: 0 12px; font: 500 16px var(--f-body); }
html body.gl .ek-zeile .ek-urgent { display: inline-flex; }
html body.gl .ek-zeile .ek-urgent span { min-height: 44px !important; border-radius: 12px !important; }
html body.gl .ek-info { margin: 0; font-size: 14px; color: #4A3F38; }
html body.gl .ek-neu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: #FFFFFF; border-radius: 14px; padding: 12px 14px; }
html body.gl .ek-neu-label { font-size: 13px; font-weight: 700; color: var(--muted); }
html body.gl .ek-neu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
html body.gl .ek-neu .check { font-size: 14px; font-weight: 600; }
html body.gl details.ek-std { border-top: 1px solid #E3DBCF; padding-top: 4px; margin: 0; background: transparent; }
html body.gl details.ek-std > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; font: 700 15px var(--f-display); color: var(--ink); }
html body.gl details.ek-std > summary::-webkit-details-marker { display: none; }
html body.gl details.ek-std > summary::after { content: ""; margin-left: auto; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%236F6862' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 9px no-repeat; transition: transform .2s; }
html body.gl details.ek-std[open] > summary::after { transform: rotate(180deg); }
html body.gl details.ek-std > summary .muted { font: 600 14px var(--f-body); }
html body.gl .ek-std-flaeche { background: #FFFFFF; border-radius: 14px; padding: 4px 16px; margin-top: 6px; }
html body.gl .ek-std-flaeche .ek-std-group { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid #ECE5DA; margin: 0; }
html body.gl .ek-std-flaeche .ek-std-group:first-child { border-top: 0; }
html body.gl .ek-std-flaeche .ek-std-label { padding-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html body.gl .ek-chip.is-on { background: var(--ink) !important; color: #FFFFFF !important; border-color: var(--ink) !important; }
html body.gl .ek-chip.is-on small { font-weight: 600; color: #D9CFC4; font-size: 12px; }
html body.gl section.ek-group .ek-list { background: #FFFFFF; border-radius: 14px; padding: 0 16px; margin: 0; list-style: none; }
html body.gl section.ek-group .ek-item, html body.gl section.ek-erledigt .ek-item { border-top: 1px solid #ECE5DA; }
html body.gl section.ek-group .ek-item:first-child, html body.gl section.ek-erledigt .ek-item:first-child { border-top: 0; }
html body.gl section.ek-erledigt .ek-list { background: #FFFFFF; border-radius: 14px; padding: 0 16px; margin: 0; list-style: none; }
html body.gl .ek-gruppe-fuss { display: flex; justify-content: flex-end; padding-top: 12px; }
html body.gl .ek-wo-wahl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
html body.gl .ek-wo-chip { min-height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid #E3DBCF; background: #FFFFFF; color: var(--ink); font: 700 13px var(--f-display); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
html body.gl .ek-wo-chip:hover { background: #F5F1EA; }
html body.gl .ek-wo-chip.is-on { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
html body.gl .ek-wo-chip.is-statisch { cursor: default; }
html body.gl .ek-wo-chip small { font-weight: 600; color: var(--muted); }
html body.gl .ek-art-werkzeug { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
html body.gl .ek-art-filter { display: flex; flex-wrap: wrap; gap: 6px; }
html body.gl #ek-art-suche { margin-left: auto; height: 40px; width: 240px; border: 1px solid #E3DBCF; border-radius: 12px; padding: 0 12px; background: #FFFFFF; font: 500 15px var(--f-body); }
html body.gl #artikel .table-wrap { background: #FFFFFF; border-radius: 14px; padding: 4px 16px; }
html body.gl .ek-laeden { background: #FFFFFF; border-radius: 14px; padding: 14px 16px; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }

/* Einkaufsmodus */
html body.gl .ekm-laeden { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
html body.gl .ekm-laden { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: #F5F1EA; color: var(--ink); text-decoration: none; }
html body.gl .ekm-laden.is-erst { background: var(--ink); color: #FFFFFF; }
html body.gl .ekm-laden-icon { width: 44px; height: 44px; border-radius: 12px; background: #FFFFFF; color: var(--ink); display: flex; align-items: center; justify-content: center; font: 800 17px var(--f-display); }
html body.gl .ekm-laden.is-erst .ekm-laden-icon { background: var(--accent); color: #FFFFFF; }
html body.gl .ekm-laden-text { display: flex; flex-direction: column; min-width: 0; }
html body.gl .ekm-laden-text b { font: 700 17px var(--f-display); }
html body.gl .ekm-laden-text small { opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.gl .ekm-laden-n { font: 800 22px var(--f-display); }
html body.gl .ekm { max-width: 560px; display: flex; flex-direction: column; gap: 12px; }
html body.gl .ekm-kopf { display: flex; justify-content: space-between; align-items: center; }
html body.gl .ekm-kopf .eyebrow { margin: 0; }
html body.gl .ekm-titel { margin: 0; font: 800 34px var(--f-display); letter-spacing: -0.03em; }
html body.gl .ekm-fort { display: flex; flex-direction: column; gap: 6px; }
html body.gl .ekm-fort-text { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
html body.gl .ekm-fort-text b { color: var(--ink); }
html body.gl .ekm-balken { height: 8px; border-radius: 99px; background: #ECE5DA; overflow: hidden; }
html body.gl .ekm-balken i { display: block; height: 100%; width: 0; background: #2F7A4B; transition: width .25s; }
html body.gl .ekm-gruppe { display: flex; flex-direction: column; }
html body.gl .ekm-bereich { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 0 4px; }
html body.gl .ekm-item { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid #ECE5DA; -webkit-tap-highlight-color: transparent; }
html body.gl .ekm-box { width: 34px; height: 34px; border-radius: 10px; border: 2px solid #CFC5B8; box-sizing: border-box; background: #FFFFFF; }
html body.gl .ekm-item[aria-pressed="true"] .ekm-box { background: #2F7A4B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6l4.5 4.5L14.5 1.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 12px no-repeat; border-color: #2F7A4B; }
html body.gl .ekm-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body.gl .ekm-name b { font: 700 18px var(--f-display); }
html body.gl .ekm-name small { color: var(--muted); font-size: 13px; }
html body.gl .ekm-item[aria-pressed="true"] .ekm-name b { text-decoration: line-through; color: #A39A93; }
html body.gl .ekm-rechts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
html body.gl .ekm-rechts .ek-qty { font: 700 15px var(--f-display); background: #F5F1EA; border-radius: 8px; padding: 4px 8px; }
html body.gl .ekm-fuss { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 8px; }
html body.gl .ekm-fuss .btn { width: 100%; justify-content: center; }
html body.gl .ekm-fuss .btn:disabled { opacity: .45; }

@media (max-width: 900px) {
  html body.gl .ek-zeile { grid-template-columns: 1fr 1fr; }
  html body.gl .ek-zeile .ek-name { grid-column: 1 / -1; }
  html body.gl .ek-zeile .btn { width: 100%; }
  html body.gl .ek-std-flaeche .ek-std-group { grid-template-columns: 1fr; gap: 6px; }
  html body.gl .ek-std-flaeche .ek-std-label { padding-top: 4px; }
  html body.gl #ek-art-suche { width: 100%; margin-left: 0; }
  html body.gl .ek-seite > section.ek-add { padding: 14px 16px; }
}
html body.gl .ek-seite .ek-form { display: flex !important; flex-direction: column; gap: 12px; } html body.gl .ek-seite .ek-zeile { width: 100%; }
html body.gl .ek-seite .ek-form > :is(.ek-neu, .ek-info) { align-self: stretch; justify-content: flex-start; text-align: left; } html body.gl .ek-neu label.check { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px; }
html body.gl details.ek-std > summary .muted { white-space: nowrap; } html body.gl details.ek-std > summary > span:first-child { min-width: 0; }


/* =========================================================
   Temperatur (Sensoren) · temperatur.php und temperatur-sensoren.php (18.11.)
   ========================================================= */
html body.gl .t-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
html body.gl .t-pill-dunkel { background: var(--ink) !important; color: #FFFFFF !important; }
html body.gl .t-frisch b { color: var(--ink); font-variant-numeric: tabular-nums; }
html body.gl #t-live { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
html body.gl .t-alarm { border-radius: 18px; background: #FFFFFF; border: 2px solid #B4442F; box-shadow: 0 0 0 4px rgba(180,68,47,.12); overflow: hidden; }
html body.gl .t-alarm.is-vorbei { border-color: #E3B8A8; box-shadow: none; }
html body.gl .t-alarm-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 20px; background: #B4442F; color: #FFFFFF; }
html body.gl .t-alarm.is-vorbei .t-alarm-kopf { background: #F8D9C4; color: #7A3A22; }
html body.gl .t-alarm-titel { font: 700 20px var(--f-display); letter-spacing: -0.01em; }
html body.gl .t-alarm-zeit { margin-left: auto; font: 700 14px var(--f-display); font-variant-numeric: tabular-nums; }
html body.gl .t-alarm-werte { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 14px 20px; }
html body.gl .t-alarm-werte > span { display: flex; flex-direction: column; }
html body.gl .t-alarm-werte small, html body.gl .t-kennzahlen small, html body.gl .t-sensor-daten small { font-size: 12px; color: var(--muted); }
html body.gl .t-alarm-werte b { font: 800 24px var(--f-display); font-variant-numeric: tabular-nums; }
html body.gl .t-alarm-hinweis { max-width: 420px; font-size: 14px; color: var(--muted); }
html body.gl .t-alarm-ok { flex-direction: row !important; font-size: 14px; color: #2F6B3A; font-weight: 600; }
html body.gl .t-rot { color: #A23B2A !important; }
html body.gl .t-gruen { color: #2F6B3A !important; }
html body.gl .t-massliste { list-style: none; margin: 0; padding: 0 20px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
html body.gl details.t-bestaetigen { padding: 0 20px 18px; }
html body.gl details.t-bestaetigen > summary { list-style: none; display: inline-flex; cursor: pointer; }
html body.gl details.t-bestaetigen > summary::-webkit-details-marker { display: none; }
html body.gl details.t-bestaetigen[open] > summary { display: none; }
html body.gl .t-btn-dunkel { background: var(--ink) !important; color: #FFFFFF !important; border-color: var(--ink) !important; min-height: 48px !important; }
html body.gl .t-form { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #ECE5DA; padding-top: 14px; }
html body.gl .t-form-frage { font: 700 15px var(--f-display); }
html body.gl .t-chips { display: flex; flex-wrap: wrap; gap: 8px; }
html body.gl .t-notiz { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
html body.gl .t-notiz input { height: 44px; border: 1px solid #E3DBCF; border-radius: 12px; padding: 0 12px; font: 500 16px var(--f-body); background: #FFFFFF; }
html body.gl .t-form-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

html body.gl .t-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
html body.gl .t-kachel { border-radius: 18px; padding: 16px 18px; background: #F5F1EA; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 6px; border: 2px solid transparent; min-width: 0; }
html body.gl a.t-kachel:hover { border-color: #E3DBCF; }
html body.gl .t-kachel.is-gewaehlt { border-color: var(--ink); }
html body.gl .t-kachel.is-alarm { background: #FCEFEA; border-color: #B4442F; }
html body.gl .t-kachel.is-warn { background: #FFF6E0; }
html body.gl .t-kachel.is-ohne { background: #FFFFFF; border: 2px dashed #E3DBCF; }
html body.gl .t-kachel.is-ohne .btn { margin-top: auto; align-self: flex-start; }
html body.gl .t-k-kopf { display: flex; align-items: center; gap: 8px; min-width: 0; }
html body.gl .t-k-kopf b { font: 700 15px var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.gl .t-k-kopf .muted { margin-left: auto; white-space: nowrap; }
html body.gl .t-punkt { width: 10px; height: 10px; border-radius: 50%; background: #2F7A4B; flex: none; display: inline-block; }
html body.gl .t-kachel.is-alarm .t-punkt, html body.gl .t-punkt.is-rot { background: #B4442F; }
html body.gl .t-kachel.is-warn .t-punkt { background: #C9952B; }
html body.gl .t-kachel.is-neu .t-punkt { background: #A39A93; }
html body.gl .t-k-wert { font: 800 38px var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
html body.gl .t-kachel.is-alarm .t-k-wert { color: #A23B2A; }
html body.gl .t-k-status { font-size: 13px; font-weight: 700; color: #2F6B3A; }
html body.gl .t-kachel.is-alarm .t-k-status { color: #A23B2A; }
html body.gl .t-kachel.is-warn .t-k-status { color: #7A5C0E; }
html body.gl .t-kachel.is-neu .t-k-status { color: var(--muted); }
html body.gl .t-spark { width: 100%; height: 40px; }
html body.gl .t-spark polyline { stroke: #8A4524; }
html body.gl .t-kachel.is-alarm .t-spark polyline { stroke: #B4442F; }
html body.gl .t-spark-leer { height: 40px; }
html body.gl .t-k-info { font-size: 12px; color: var(--muted); }

html body.gl .t-spalten { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; align-items: start; }
html body.gl .t-rechts { display: flex; flex-direction: column; gap: 12px; }
html body.gl .t-karte { border-radius: 18px; background: #F5F1EA; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
html body.gl .t-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html body.gl .t-verlauf-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
html body.gl .t-verlauf-titel { display: flex; flex-direction: column; }
html body.gl .t-verlauf-titel small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
html body.gl .t-verlauf-titel b { font: 700 22px var(--f-display); letter-spacing: -0.02em; }
html body.gl .t-zeitraum { margin-left: auto; display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #ECE5DA; }
html body.gl .t-zeitraum a { min-height: 36px; padding: 0 14px; border-radius: 10px; display: inline-flex; align-items: center; font: 700 13.5px var(--f-display); color: #4A3F38; text-decoration: none; }
html body.gl .t-zeitraum a[aria-pressed="true"] { background: #FFFFFF; color: var(--ink); }
html body.gl .t-frei { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
html body.gl .t-frei label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
html body.gl .t-frei input { height: 40px; border: 1px solid #E3DBCF; border-radius: 12px; padding: 0 10px; background: #FFFFFF; font: 500 15px var(--f-body); }
html body.gl .t-kennzahlen { display: flex; flex-wrap: wrap; gap: 8px; }
html body.gl .t-kennzahlen span { padding: 8px 12px; border-radius: 12px; background: #FFFFFF; display: flex; gap: 8px; align-items: baseline; }
html body.gl .t-kennzahlen b { font: 800 16px var(--f-display); font-variant-numeric: tabular-nums; }
html body.gl .t-chart { width: 100%; height: auto; background: #FFFFFF; border-radius: 14px; }
html body.gl .t-chart .t-ax { font: 600 11px var(--f-body); fill: #6F6862; }
html body.gl .t-chart .t-ax-rot { fill: #A23B2A; }
html body.gl .t-legende { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--muted); align-items: center; }
html body.gl .t-legende span { display: inline-flex; align-items: center; gap: 6px; }
html body.gl .t-leg-band { width: 14px; height: 10px; border-radius: 3px; background: #EEF3E8; border: 1px solid #D6E2CC; }
html body.gl .t-leg-luecke { width: 14px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(45deg, #D9CBB8 0 3px, transparent 3px 6px); }
html body.gl .t-alarmzeile { display: flex; gap: 10px; padding-top: 10px; border-top: 1px solid #E3DBCF; }
html body.gl .t-alarmzeile .t-punkt { margin-top: 5px; }
html body.gl .t-alarmzeile .t-punkt.is-ok { background: #2F7A4B; }
html body.gl .t-alarmzeile > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
html body.gl .t-alarmzeile small { font-size: 13px; color: var(--muted); }
html body.gl .t-hinweis p { margin: 0; font-size: 14px; line-height: 1.5; }
html body.gl .t-hinweis .btn { align-self: flex-start; }

/* Verwaltung */
html body.gl .t-zugang { border: 2px solid #B9532C; }
html body.gl .t-zugang-zeile { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0; }
html body.gl .t-zugang-zeile code { font-size: 15px; padding: 10px 14px; border-radius: 12px; background: #FFFFFF; border: 1px solid #E3DBCF; word-break: break-all; user-select: all; }
html body.gl .t-neu-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
html body.gl .t-neu-form .form-actions { margin: 0; }
html body.gl .t-sensorliste { display: flex; flex-direction: column; gap: 12px; }
html body.gl .t-sensor { background: #FFFFFF; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
html body.gl .t-sensor.is-aus { opacity: .65; }
html body.gl .t-sensor-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html body.gl .t-sensor-kopf b { font: 700 17px var(--f-display); }
html body.gl .t-sensor-kennung { margin-left: auto; font-variant-numeric: tabular-nums; }
html body.gl .t-sensor-daten { display: flex; flex-wrap: wrap; gap: 8px 22px; }
html body.gl .t-sensor-daten span { display: flex; flex-direction: column; }
html body.gl .t-sensor-daten b { font: 700 15px var(--f-display); }
html body.gl .t-sensor-fehler b { color: #A23B2A; }
html body.gl .t-sensor-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) 150px 170px auto auto; gap: 10px; align-items: end; border-top: 1px solid #ECE5DA; padding-top: 12px; }
html body.gl .t-sensor-form .form-actions { margin: 0; }
html body.gl .t-sensor-form label.check { padding-bottom: 12px; white-space: nowrap; }
html body.gl .t-sensor-aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
html body.gl .t-alarm-cfg { display: grid; grid-template-columns: minmax(0, 1.4fr) 170px 200px auto auto; gap: 10px; align-items: end; padding: 12px 0; border-top: 1px solid #ECE5DA; }
html body.gl .t-alarm-cfg-name { display: flex; flex-direction: column; padding-bottom: 6px; }
html body.gl .t-alarm-cfg label.check { padding-bottom: 12px; white-space: nowrap; }
html body.gl .t-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
html body.gl details.t-anleitung > summary { cursor: pointer; font: 700 17px var(--f-display); }
html body.gl details.t-anleitung ol { line-height: 1.6; }
html body.gl :is(.t-sensor-form, .t-alarm-cfg, .t-neu-form) :is(input:not([type=checkbox]), select) { height: 44px; width: 100%; box-sizing: border-box; border: 1px solid #E3DBCF; border-radius: 12px; padding: 0 12px; background: #FFFFFF; font: 500 16px var(--f-body); }
html body.gl :is(.t-sensor-form, .t-alarm-cfg, .t-neu-form) label:not(.check) { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin: 0; }

@media (max-width: 1100px) {
  html body.gl .t-spalten { grid-template-columns: minmax(0, 1fr); }
  html body.gl .t-sensor-form { grid-template-columns: 1fr 1fr; }
  html body.gl .t-alarm-cfg { grid-template-columns: 1fr 1fr; }
  html body.gl .t-alarm-cfg-name { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  html body.gl .t-kacheln { grid-template-columns: minmax(0, 1fr); }
  html body.gl .t-alarm-zeit { margin-left: 0; }
  html body.gl .t-alarm-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  html body.gl .t-alarm-werte b { font-size: 20px; }
  html body.gl .t-alarm-werte .t-alarm-hinweis, html body.gl .t-alarm-werte .t-alarm-ok { grid-column: 1 / -1; }
  html body.gl .t-zeitraum { margin-left: 0; width: 100%; }
  html body.gl .t-zeitraum a { flex: 1; justify-content: center; padding: 0 6px; }
  html body.gl .t-neu-form { grid-template-columns: 1fr; }
  html body.gl .t-kachel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  html body.gl .t-kachel .t-k-kopf, html body.gl .t-kachel .t-spark, html body.gl .t-kachel .t-k-info, html body.gl .t-kachel .t-spark-leer { grid-column: 1 / -1; }
  html body.gl .t-kachel .t-k-wert { grid-column: 2; grid-row: 2 / span 1; font-size: 28px; }
  html body.gl .t-kachel .t-k-status { grid-column: 1; grid-row: 2; align-self: center; }
  html body.gl .t-kachel.is-ohne { display: flex; }
}

/* Startseite Einkaufsliste: Plus mittig, Zähler weiß (18.11.) */
html body.gl .ek-home-add { align-items: center; }
html body.gl .ek-home-add input[name="name"] { border-radius: 12px; }
html body.gl .ek-home-add .btn { width: 44px; height: 44px; min-width: 44px; padding: 0 !important; flex: none; font-size: 0 !important; line-height: 0; color: transparent; display: inline-flex; align-items: center; justify-content: center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M9 2.5v13M2.5 9h13' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: center !important; background-size: 18px 18px !important; }
html body.gl .ek-home-n { color: #FFFFFF; min-width: 24px; height: 24px; padding: 0 7px; font-size: 13px; font-weight: 700; line-height: 1; box-sizing: border-box; font-variant-numeric: tabular-nums; }

/* Startseite Einkaufsliste, Feinschliff: Plus pixelgenau, Zähler-Kreis 26 px, Zahl exakt mittig (18.11.) */
html body.gl .ek-home-add .btn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M9 2v14M2 9h14' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important; background-origin: border-box !important; border: 0 !important; }
html body.gl .ek-home-n { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; font-family: Inter, system-ui, sans-serif; font-size: 13px; font-weight: 700; line-height: 1; text-box: trim-both cap alphabetic; vertical-align: middle; }

/* Temperatur: Startseite, Hygiene, Bericht (18.11. nachmittags) */
html body.gl .tw-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body.gl .tw-zeile { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #FFFFFF; color: var(--ink); text-decoration: none; min-height: 44px; box-sizing: border-box; }
html body.gl .tw-zeile:hover { box-shadow: inset 0 0 0 1px #E3DBCF; }
html body.gl .tw-punkt { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #2F7A4B; }
html body.gl .is-warn > .tw-punkt { background: #C9952B; }
html body.gl .is-alarm > .tw-punkt { background: #B4442F; }
html body.gl .is-neu > .tw-punkt { background: #A39A93; }
html body.gl .tw-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html body.gl .tw-name b { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.gl .tw-name small { font-size: 12.5px; color: var(--muted); }
html body.gl .tw-wert { flex: none; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
html body.gl .tw-zeile.is-alarm { background: #FCEFEA; }
html body.gl .tw-zeile.is-alarm .tw-wert, html body.gl .tw-zeile.is-alarm small { color: #A23B2A; }
html body.gl .tw-zeile.is-warn small { color: #7A5C0E; }

html body.gl .temp-live { display: flex; align-items: center; gap: 10px; margin: 2px 0 8px; padding: 8px 10px; border-radius: 10px; background: #FFFFFF; font-size: 13.5px; }
html body.gl .temp-live-txt { flex: 1; min-width: 0; color: var(--muted); }
html body.gl .temp-live-txt b { color: var(--ink); font-variant-numeric: tabular-nums; }
html body.gl .temp-live.is-alarm { background: #FCEFEA; }
html body.gl .temp-live.is-alarm .temp-live-txt, html body.gl .temp-live.is-alarm .temp-live-txt b { color: #A23B2A; }
html body.gl .temp-live.is-warn { background: #FFF6E0; }
html body.gl .temp-live-btn { flex: none; }

html body.gl .t-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }

/* KI-Assistent auf der Startseite + „Was braucht dich“ in Terrakotta (18.11.) */
html body.gl .w.w-id-ki { background: #F5F1EA; border-radius: 24px; padding: 26px 30px 24px; }
html body.gl .ki-box { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
html body.gl .ki-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
html body.gl .ki-datum { font-size: 14px; color: var(--muted); }
html body.gl .ki-marke { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B9532C; }
html body.gl .ki-titel { margin: 0; font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
html body.gl .ki-feld { margin: 0; border-radius: 20px; background: #FFFFFF; border: 1px solid #E3DBCF; box-shadow: 0 18px 40px -28px rgba(42,31,24,.4); padding: 14px 14px 12px 18px; display: flex; flex-direction: column; gap: 10px; }
html body.gl .ki-feld:focus-within { border-color: #CDBFAE; }
html body.gl .ki-feld textarea { all: unset; display: block; width: 100%; box-sizing: border-box; min-height: 28px; max-height: 200px; overflow-y: auto; font: 400 17px/1.5 Inter, system-ui, sans-serif; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
html body.gl .ki-feld textarea::placeholder { color: #9A928B; }
html body.gl .ki-unten { display: flex; align-items: flex-end; gap: 10px; }
html body.gl .ki-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
html body.gl .ki-chip { min-height: 34px; padding: 0 13px; border: 0; border-radius: 999px; background: #F5F1EA; color: #4A3F38; font: 600 13px/1 Inter, system-ui, sans-serif; cursor: pointer; }
html body.gl .ki-chip:hover { background: #EDE6DB; }
html body.gl .ki-knoepfe { flex: none; display: flex; gap: 8px; }
html body.gl .ki-mic, html body.gl .ki-senden { width: 44px; height: 44px; border-radius: 22px !important; border: 0; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
html body.gl .ki-mic { background: #F5F1EA; color: var(--ink); }
html body.gl .ki-mic.is-an { background: #B9532C; color: #FFFFFF; box-shadow: 0 0 0 5px rgba(185,83,44,.18); }
html body.gl .ki-senden { background: #2A1F18; color: #FFFFFF; }
html body.gl .ki-senden:disabled { opacity: .5; cursor: progress; }
html body.gl .ki-hinweis { margin: 0; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
html body.gl .ki-neu { border: 0; background: none; padding: 0; color: #B9532C; font: 700 12.5px Inter, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

html body.gl .ki-verlauf { display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; padding: 2px 2px 4px; scrollbar-width: thin; }
html body.gl .ki-blase { max-width: 88%; font-size: 15px; line-height: 1.55; }
html body.gl .ki-blase p { margin: 0 0 6px; } html body.gl .ki-blase p:last-child { margin-bottom: 0; }
html body.gl .ki-du { align-self: flex-end; background: #2A1F18; color: #FFFFFF; padding: 11px 15px; border-radius: 18px 18px 4px 18px; white-space: pre-wrap; }
html body.gl .ki-ki { align-self: flex-start; color: var(--ink); padding: 2px 2px; white-space: pre-wrap; }
html body.gl .ki-ki.is-fehler { color: #A23B2A; }
html body.gl .ki-denkt { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
html body.gl .ki-denkt i { width: 22px; height: 6px; background: radial-gradient(circle, #B9532C 2.5px, transparent 3px) 0 50% / 8px 6px repeat-x; animation: ki-punkte 1s steps(3) infinite; }
@keyframes ki-punkte { from { width: 6px; } to { width: 24px; } }

html body.gl .ki-karte { align-self: stretch; border-radius: 18px; background: #FFFFFF; border: 1px solid #E3DBCF; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
html body.gl .ki-karte-kopf { display: flex; align-items: flex-start; gap: 10px; }
html body.gl .ki-karte-titel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body.gl .ki-karte-titel b { font-family: "Plus Jakarta Sans", Inter, sans-serif; font-size: 16px; }
html body.gl .ki-karte-titel small { font-size: 13px; color: var(--muted); }
html body.gl .ki-status { flex: none; padding: 4px 10px; border-radius: 999px; background: #FFF6E0; color: #7A5C0E; font-size: 12px; font-weight: 800; white-space: nowrap; }
html body.gl .ki-status.is-ok { background: #DDE3CC; color: #3D4824; }
html body.gl .ki-status.is-aus { background: #F5F1EA; color: var(--muted); }
html body.gl .ki-zeilen { border-radius: 12px; background: #F5F1EA; padding: 2px 14px; }
html body.gl .ki-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; padding: 10px 0; font-size: 14px; align-items: baseline; }
html body.gl .ki-zeile + .ki-zeile { border-top: 1px solid #E3DBCF; }
html body.gl .ki-posttext { border-radius: 12px; background: #F5F1EA; padding: 12px 14px; font-size: 14px; line-height: 1.55; display: flex; flex-direction: column; gap: 6px; white-space: pre-wrap; }
html body.gl .ki-posttext p { margin: 0; }
html body.gl .ki-idee { font-size: 13px; color: var(--muted); }
html body.gl .ki-karte-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html body.gl .ki-ergebnis { margin: 0 6px 0 0; font-size: 14px; font-weight: 600; }

/* „Was braucht dich“ in Terrakotta */
html body.gl .w.needs { background: #B9532C; color: #FFFFFF; }
html body.gl .w.needs .needs-hallo { color: rgba(255,255,255,.88); }
html body.gl .w.needs .needs-title, html body.gl .w.needs .needs-title strong, html body.gl .w.needs .needs-sub { color: #FFFFFF; }
html body.gl .w.needs .need-list { gap: 6px; display: flex; flex-direction: column; background: none; border: 0; }
html body.gl .w.needs .need-row { background: #FFFFFF; color: var(--ink); border-radius: 12px; border: 0 !important; }
html body.gl .w.needs .need-row small { color: var(--muted); }
html body.gl .w.needs .w-tools { color: var(--ink); }

@media (max-width: 700px) {
  html body.gl .w.w-id-ki { padding: 18px 14px 16px; border-radius: 22px; }
  html body.gl .ki-titel { font-size: 26px; }
  html body.gl .ki-unten { flex-wrap: wrap; }
  html body.gl .ki-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; order: 2; flex-basis: 100%; }
  html body.gl .ki-chips::-webkit-scrollbar { display: none; }
  html body.gl .ki-chip { flex: none; }
  html body.gl .ki-knoepfe { margin-left: auto; }
  html body.gl .ki-feld textarea { font-size: 16px; }
  html body.gl .ki-blase { max-width: 94%; }
  html body.gl .ki-zeile { grid-template-columns: minmax(0, 1fr) auto; }
  html body.gl .ki-zeile > :nth-child(3) { grid-column: 1 / -1; margin-top: -6px; font-size: 12.5px; }
}

/* „Was braucht dich“: Terrakotta setzt sich gegen die Pfirsich-Regel durch, Titel kleiner (18.11.) */
html body.gl .dash > .w.needs, html body.gl .w.needs { background: #B9532C; color: #FFFFFF; }
html body.gl .w.needs .needs-title { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; }

/* KI-Chat wie im Messenger: KI links, du rechts, Verlauf mit fester Höhe (18.11. abends) */
html body.gl .ki-verlauf { position: relative; max-height: min(420px, 55vh); overflow-y: auto; overscroll-behavior: contain; gap: 8px; padding: 4px 2px 6px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14px); mask-image: linear-gradient(to bottom, transparent 0, #000 14px); }
html body.gl .ki-blase { max-width: 82%; font-size: 15px; line-height: 1.5; }
html body.gl .ki-du { align-self: flex-end; background: #2A1F18; color: #FFFFFF; padding: 10px 14px; border-radius: 18px 18px 4px 18px; }
html body.gl .ki-ki { align-self: flex-start; background: #FFFFFF; color: var(--ink); padding: 10px 14px 11px; border-radius: 18px 18px 18px 4px; box-shadow: 0 1px 0 rgba(42,31,24,.05); }
html body.gl .ki-ki.is-fehler { background: #FBE9E4; color: #A23B2A; }
html body.gl .ki-wer { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #B9532C; }
html body.gl .ki-denkt { background: #FFFFFF; padding: 10px 14px; border-radius: 18px 18px 18px 4px; }
html body.gl .ki-karte { align-self: flex-start; width: 100%; max-width: 92%; border-radius: 18px 18px 18px 4px; }
@media (max-width: 700px) {
  html body.gl .ki-verlauf { max-height: 52vh; }
  html body.gl .ki-blase { max-width: 88%; }
  html body.gl .ki-karte { max-width: 100%; }
}
/* Chat am Computer kompakter, damit die Reihe nicht wächst; „Was braucht dich“ oben bündig statt auseinandergezogen */
@media (min-width: 701px) { html body.gl .ki-verlauf { max-height: 300px; } }
html body.gl .dash > .w.needs { justify-content: flex-start; gap: 10px; }
html body.gl .dash > .w.needs .needs-title { margin-top: 0; }
html body.gl .dash > .w.needs .need-list { margin-top: 8px; }

/* KI: kleines Feld auf der Startseite, Gespräch separat (rechts als Seitenfenster, am Handy als eigener Bildschirm) – 18.11. abends */
html body.gl .ki-box { gap: 12px; }
html body.gl .ki-box > .ki-feld { flex-direction: row; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 18px; border-radius: 18px; }
html body.gl .ki-box > .ki-feld textarea { flex: 1; min-width: 0; min-height: 26px; max-height: 120px; align-self: center; padding: 4px 0; }
html body.gl .ki-box > .ki-chips { flex: none; display: flex; flex-wrap: wrap; gap: 6px; }
html body.gl .ki-box > .ki-chips .ki-chip { background: #FFFFFF; }
html body.gl .ki-box > .ki-chips .ki-chip:hover { background: #FBF8F3; }
html body.gl .ki-chip.ki-fortsetzen { display: inline-flex; align-items: center; gap: 6px; color: #B9532C; font-weight: 700; box-shadow: inset 0 0 0 1px #EBC9B9; }
html body.gl .ki-chip.ki-fortsetzen[hidden] { display: none; }

html body.gl .ki-panel { position: fixed; inset: 0; z-index: 1000; }
html body.gl .ki-panel[hidden] { display: none; }
html body.gl .ki-panel-hg { position: absolute; inset: 0; background: rgba(42,31,24,.18); opacity: 0; transition: opacity .2s; }
html body.gl .ki-panel-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: #FFFFFF; box-shadow: -24px 0 60px -30px rgba(42,31,24,.5);
  display: flex; flex-direction: column; animation: ki-rein .2s ease-out; }
@keyframes ki-rein { from { transform: translateX(16px); } to { transform: none; } }
html body.gl .ki-panel.is-auf .ki-panel-hg { opacity: 1; }
html body.gl .ki-panel-kopf { flex: none; display: flex; align-items: center; gap: 10px; padding: 16px 18px 14px 22px; border-bottom: 1px solid #F0EBE3; }
html body.gl .ki-panel-titel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body.gl .ki-panel-titel small { font-size: 12px; color: var(--muted); }
html body.gl .ki-panel-kopf .ki-neu { border: 0; background: none; padding: 6px 4px; color: var(--muted); font: 700 13px Inter, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
html body.gl .ki-panel-kopf .ki-neu:hover { color: #B9532C; }
html body.gl .ki-zu, html body.gl .ki-zurueck { flex: none; width: 38px; height: 38px; border-radius: 19px !important; border: 0; padding: 0 !important; background: #F5F1EA; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
html body.gl .ki-zurueck { display: none; }
html body.gl .ki-panel .ki-verlauf { flex: 1; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; -webkit-mask-image: none; mask-image: none;
  display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; }
html body.gl .ki-panel .ki-verlauf:empty::before { content: "Frag einfach los, zum Beispiel: Wer arbeitet morgen? oder: Setz 2 Kartons Hafermilch auf die Liste."; margin: auto 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
html body.gl .ki-panel .ki-ki, html body.gl .ki-panel .ki-denkt { background: #F5F1EA; }
html body.gl .ki-panel .ki-blase { max-width: 86%; }
html body.gl .ki-panel .ki-karte { max-width: 100%; }
html body.gl .ki-feld2 { flex: none; margin: 0; display: flex; align-items: flex-end; gap: 8px; padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #F0EBE3; }
html body.gl .ki-feld2 textarea { all: unset; flex: 1; min-width: 0; box-sizing: border-box; min-height: 44px; max-height: 120px; overflow-y: auto; padding: 11px 16px; border-radius: 22px; background: #F5F1EA;
  font: 400 16px/1.4 Inter, system-ui, sans-serif; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
html body.gl .ki-feld2 textarea::placeholder { color: #9A928B; }
html body.gl .ki-feld2 .ki-mic { background: #F5F1EA; }
html.ki-offen, html.ki-offen body { overflow: hidden; }

@media (max-width: 700px) {
  html body.gl .ki-box > .ki-feld { padding: 6px 6px 6px 14px; }
  html body.gl .ki-box > .ki-feld .ki-mic, html body.gl .ki-box > .ki-feld .ki-senden { width: 40px; height: 40px; }
  html body.gl .ki-box > .ki-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px; }
  html body.gl .ki-box > .ki-chips::-webkit-scrollbar { display: none; }
  html body.gl .ki-box > .ki-chips .ki-chip { flex: none; }
  html body.gl .ki-panel-hg { display: none; }
  html body.gl .ki-panel-box { width: 100%; height: 100%; height: 100dvh; box-shadow: none; }
  html body.gl .ki-panel-kopf { padding: calc(12px + env(safe-area-inset-top)) 14px 12px; }
  html body.gl .ki-zurueck { display: inline-flex; }
  html body.gl .ki-zu { display: none; }
  html body.gl .ki-panel-titel small { display: none; }
  html body.gl .ki-panel-kopf .ki-neu { color: #B9532C; }
  html body.gl .ki-panel .ki-verlauf { padding: 14px; }
  html body.gl .ki-feld2 { padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
}

/* KI-Antworten lesbarer: Absätze, Listen mit Punkt, fett nur Stichworte (18.11. abends) */
html body.gl .ki-panel .ki-ki { white-space: normal; line-height: 1.5; }
html body.gl .ki-panel .ki-ki p { margin: 0 0 8px; }
html body.gl .ki-panel .ki-ki > :last-child { margin-bottom: 0; }
html body.gl .ki-panel .ki-ki b { font-weight: 700; color: var(--ink); }
html body.gl .ki-liste { margin: 0 0 10px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; counter-reset: ki; }
html body.gl .ki-liste li { position: relative; padding-left: 16px; }
html body.gl ul.ki-liste li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 3px; background: #B9532C; }
html body.gl ol.ki-liste li { padding-left: 22px; counter-increment: ki; }
html body.gl ol.ki-liste li::before { content: counter(ki) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: #B9532C; }

/* KI: Foto im Post-Vorschlag und fertige Grafik im Gespräch (18.11. abends) */
html body.gl .ki-karte .ki-foto { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; }
html body.gl .ki-karte .ki-grafik { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(42,31,24,.5); }
html body.gl .ki-karte .ki-grafik img { display: block; width: 100%; height: auto; }
html body.gl .ki-karte .ki-grafik { width: 100%; max-width: 260px; }

/* KI: mehrere Gespräche – Kopfzeile mit Titel, Liste mit Gemerkt/Heute/Diese Woche (18.11. abends) */
html body.gl .ki-panel-kopf { gap: 8px; padding: 12px 14px 12px 16px; }
html body.gl .ki-panel-titel b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: "Plus Jakarta Sans", Inter, sans-serif; }
html body.gl .ki-panel-titel small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.gl .ki-listknopf { flex: none; height: 36px; padding: 0 12px !important; border: 0; border-radius: 18px !important; background: #F5F1EA; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font: 700 13px Inter, sans-serif; cursor: pointer; }
html body.gl .ki-panel.is-liste .ki-listknopf { background: #2A1F18; color: #FFFFFF; }
html body.gl .ki-merken, html body.gl .ki-plus { flex: none; width: 36px; height: 36px; border-radius: 18px !important; border: 0; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: none; color: var(--muted); }
html body.gl .ki-merken[hidden] { display: none; }
html body.gl .ki-merken[aria-pressed="true"] { color: #B9532C; background: #FBEDE6; }
html body.gl .ki-plus { background: #2A1F18; color: #FFFFFF; }
html body.gl .ki-panel.is-liste .ki-plus { display: none; }

html body.gl .ki-gliste { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px 20px; display: flex; flex-direction: column; gap: 2px; }
html body.gl .ki-gliste[hidden] { display: none; }
html body.gl .ki-gl-neu { min-height: 46px; margin-bottom: 6px; border: 0; border-radius: 14px; background: #2A1F18; color: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px "Plus Jakarta Sans", Inter, sans-serif; cursor: pointer; }
html body.gl .ki-gl-gruppe { padding: 14px 4px 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body.gl .ki-gl-zeile { display: flex; align-items: center; gap: 2px; border-radius: 12px; }
html body.gl .ki-gl-zeile:hover, html body.gl .ki-gl-zeile.is-aktiv { background: #F5F1EA; }
html body.gl .ki-gl-auf { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 6px 10px 12px; display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; color: var(--ink); }
html body.gl .ki-gl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body.gl .ki-gl-text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.gl .ki-gl-text small { font-size: 12px; color: var(--muted); }
html body.gl .ki-gl-offen { flex: none; padding: 3px 8px; border-radius: 999px; background: #FFF6E0; color: #7A5C0E; font-size: 11px; font-weight: 800; white-space: nowrap; }
html body.gl .ki-gl-pin, html body.gl .ki-gl-weg { flex: none; width: 34px; height: 34px; border-radius: 17px !important; border: 0; padding: 0 !important; background: none; color: #B5ADA5; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
html body.gl .ki-gl-pin:hover, html body.gl .ki-gl-weg:hover { color: var(--ink); background: #FFFFFF; }
html body.gl .ki-gl-pin.is-an { color: #B9532C; }
html body.gl .ki-gl-leer { margin: 10px 4px; font-size: 13.5px; color: var(--muted); }
html body.gl .ki-feld2[hidden], html body.gl .ki-panel .ki-verlauf[hidden] { display: none; }

@media (max-width: 700px) {
  html body.gl .ki-panel-kopf { padding: calc(10px + env(safe-area-inset-top)) 10px 10px; }
  html body.gl .ki-zurueck { order: 0; }
  html body.gl .ki-panel-titel { order: 1; }
  html body.gl .ki-merken { order: 2; }
  html body.gl .ki-listknopf { order: 3; width: 38px; height: 38px; padding: 0 !important; justify-content: center; }
  html body.gl .ki-listknopf span { display: none; }
  html body.gl .ki-plus { order: 4; width: 38px; height: 38px; }
  html body.gl .ki-panel-titel small { display: block; }
  html body.gl .ki-gl-pin, html body.gl .ki-gl-weg { width: 38px; height: 38px; }
  html body.gl .ki-gliste { padding: 12px 10px 20px; }
}
html body.gl .ki-panel .ki-karte { box-sizing: border-box; }

/* KI-Assistent in „Mein Bereich“ (Personal), 18.11. */
html body.gl .ki-mein { background: #F5F1EA; border-radius: 18px; padding: 20px 22px; margin: 0 0 18px; }
html body.gl .ki-mein .ki-datum:empty { display: none; }
html body.gl .ki-mein .ki-kopf { justify-content: flex-start; }
html body.gl .ki-mein .ki-titel { font-size: clamp(22px, 2vw, 28px); }
@media (max-width: 900px) {
  html body.gl .ki-mein { padding: 16px; border-radius: 16px; margin-bottom: 14px; }
}

/* Dienstplan: Woche als Entwurf (18.11.) */
html body.gl .dp-entwurf:empty, html body.gl .dp-entwurf:not(.is-an):not(:has(form)) { display: none; }
html body.gl .dp-entwurf.is-an { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin: 0 0 12px; border-radius: 16px; background: #FFF6E0; border: 1px solid #F1DFA9; color: #5C4407; }
html body.gl .dp-entwurf .dpe-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #FFFFFF; color: #7A5C0E; display: flex; align-items: center; justify-content: center; }
html body.gl .dp-entwurf .dpe-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body.gl .dp-entwurf .dpe-text b { font-size: 15px; }
html body.gl .dp-entwurf .dpe-text small { font-size: 13px; color: #7A5C0E; }
html body.gl .dp-entwurf .dpe-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
html body.gl .dp-entwurf:not(.is-an) { display: flex; justify-content: flex-end; margin: -4px 0 8px; }
html body.gl .dp-entwurf .dpe-zurueck { margin: 0; }
html body.gl .dp-entwurf .dpe-zurueck button { background: none; border: 0; padding: 4px 0; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font: inherit; font-size: 13px; }
html body.gl .dpm.is-entwurf .dpm-shift { outline: 1.5px dashed #CDBFAE; outline-offset: -1.5px; }
@media (max-width: 900px) {
  html body.gl .dp-entwurf.is-an { flex-wrap: wrap; padding: 14px; }
  html body.gl .dp-entwurf .dpe-icon { display: none; }
  html body.gl .dp-entwurf .dpe-knoepfe { width: 100%; }
  html body.gl .dp-entwurf .dpe-knoepfe .btn { flex: 1 1 auto; }
}
html body.gl .plan-entwurf { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 30px 20px; background: #F5F1EA; border: 0; border-radius: 18px; }
html body.gl .plan-entwurf h2 { margin: 0; font-size: 19px; }
html body.gl .plan-entwurf p { margin: 0; max-width: 380px; }
html body.gl .plan-entwurf .pe-icon { width: 52px; height: 52px; border-radius: 26px; background: #FFFFFF; color: #B9532C; display: flex; align-items: center; justify-content: center; }

/* Mein Bereich: Kalender-Abo (18.11.) */
html body.gl .ics-karte { margin-top: 16px; padding: 16px; border-radius: 16px; background: #FFFFFF; display: flex; flex-direction: column; gap: 12px; }
html body.gl .ics-kopf { display: flex; align-items: center; gap: 12px; }
html body.gl .ics-kopf > span:last-child { display: flex; flex-direction: column; gap: 2px; }
html body.gl .ics-kopf b { font-size: 15px; }
html body.gl .ics-kopf small { font-size: 12.5px; color: var(--muted); }
html body.gl .ics-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #F5F1EA; color: #B9532C; display: flex; align-items: center; justify-content: center; }
html body.gl .ics-karte > .btn { align-self: flex-start; }
html body.gl .ics-mehr { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
html body.gl .ics-mehr form { margin: 0; }
html body.gl .ics-mehr .link { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
html body.gl .ics-karte > small { font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) { html body.gl .ics-karte > .btn { align-self: stretch; } }

/* KI-Knopf in der Mitte der Handy-Leiste + KI-Feld im Schnell-Blatt (18.11.) */
html body.gl .tab-plus.is-ki { background: #B9532C; }
html body.gl .tab-plus.is-ki[aria-expanded="true"] { background: #FFFFFF; color: #B9532C; }
html body.gl .tab-plus.is-ki[aria-expanded="true"] svg { transform: none; }
html body.gl .plus-ki { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #EDE6DB; }
html body.gl .plus-ki-marke { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B9532C; }
html body.gl .plus-ki-feld { margin: 0; display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 18px; background: #FFFFFF; border: 1.5px solid #B9532C; }
html body.gl .plus-ki-feld textarea { flex: 1; min-width: 0; min-height: 26px; max-height: 120px; align-self: center; padding: 4px 0; border: 0; outline: 0; resize: none; background: transparent; font: 16px/1.4 Inter, system-ui, sans-serif; color: var(--ink); box-shadow: none; }
html body.gl .plus-ki-senden { width: 44px; height: 44px; flex: none; border-radius: 22px; border: 0; padding: 0; background: #2A1F18; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
html body.gl .plus-ki-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
html body.gl .plus-ki-chips::-webkit-scrollbar { display: none; }
html body.gl .plus-ki-chips .ki-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; background: #F5F1EA; }
html body.gl .plus-ki-chips .plus-ki-fort { color: #B9532C; font-weight: 700; box-shadow: inset 0 0 0 1px #EBC9B9; }
html body.gl .plus-sheet.mit-ki .plus-head h2 { font-size: 1.05rem; }
html body.gl .plus-sheet.mit-ki .plus-label { display: none; }
html body.gl .ki-versteckt { display: none !important; }

/* Einkauf: Läden in Einkaufs-Reihenfolge (18.11.) */
html body.gl .ek-laden-reihe { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body.gl .ek-laden-reihe li { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 14px; background: #FFFFFF; }
html body.gl .ek-lr-nr { flex: none; width: 28px; height: 28px; border-radius: 14px; background: #F5F1EA; display: inline-flex; align-items: center; justify-content: center; font: 800 13px/1 "Plus Jakarta Sans", Inter, sans-serif; }
html body.gl .ek-lr-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
html body.gl .ek-lr-text b { font-size: 15px; }
html body.gl .ek-lr-text small { font-size: 12px; color: var(--muted); }
html body.gl .ek-laden-reihe form { display: flex; gap: 6px; margin: 0; }
html body.gl .ek-lr-knopf { width: 36px; height: 36px; border-radius: 10px; border: 0; padding: 0; background: #F5F1EA; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
html body.gl .ek-lr-knopf:disabled { opacity: .35; cursor: default; }

/* Tischplan: Zeitleiste je Tisch + Liste am Handy (18.11.) */
html body.gl .tp-ansicht { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: #F5F1EA; }
html body.gl .tp-ansicht a { min-height: 36px; padding: 0 14px; border-radius: 9px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 700; color: #4A3F38; text-decoration: none; }
html body.gl .tp-ansicht a[aria-current] { background: #2A1F18; color: #FFFFFF; }
html body.gl .tp-nur-klein { display: none; }
html body.gl .tl { position: relative; display: flex; flex-direction: column; }
html body.gl .tl-kopf { display: grid; grid-template-columns: 130px 1fr; font-size: 11.5px; color: var(--muted); padding-bottom: 6px; }
html body.gl .tl-skala { position: relative; height: 16px; }
html body.gl .tl-skala i { position: absolute; transform: translateX(-50%); font-style: normal; }
html body.gl .tl-zone { padding: 12px 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html body.gl .tl-zeile { display: grid; grid-template-columns: 130px 1fr; min-height: 44px; border-top: 1px solid #EDE6DB; }
html body.gl .tl-tisch { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 14px; }
html body.gl .tl-tisch i { width: 8px; height: 8px; border-radius: 4px; background: #4F8A5B; flex: none; }
html body.gl .tl-tisch i.is-belegt { background: #B9532C; }
html body.gl .tl-tisch small { color: var(--muted); font-size: 12px; }
html body.gl .tl-bahn { position: relative; }
html body.gl .tl-linie { position: absolute; top: 0; bottom: 0; width: 1px; background: #F3EEE6; }
html body.gl .tl-res { position: absolute; top: 6px; bottom: 6px; border-radius: 8px; padding: 0 8px; display: flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #2A1F18; text-decoration: none; background: #F6E6DC; }
html body.gl .tl-res b { font-weight: 800; }
html body.gl .tl-res.is-da { background: #E3EEDF; }
html body.gl .tl-res.is-anfrage { background: #FFF6E0; box-shadow: inset 0 0 0 1.5px #D99A2B; }
html body.gl .tl-res.is-weg { background: #F1EEEA; color: #9A928B; }
html body.gl .tl-res:hover { filter: brightness(.97); }
html body.gl .tl-jetzt { position: absolute; top: 22px; bottom: 0; left: calc(130px + (100% - 130px) * var(--x) / 100); width: 2px; background: #B9532C; pointer-events: none; }
html body.gl .tl-jetzt b { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 11px; color: #B9532C; background: #FFFFFF; padding: 0 3px; }
html body.gl .tl-legende i { border: 0 !important; }
html body.gl .tl-legende i.is-weg { background: #F1EEEA; }
html body.gl .tl-legende i.is-res { background: #F6E6DC; }
html body.gl .tl-legende i.is-da { background: #E3EEDF; }
html body.gl .tl-legende i.is-anfrage { background: #FFF6E0; box-shadow: inset 0 0 0 1.5px #D99A2B; }
html body.gl .tl-liste { display: none; }
html body.gl .tp-grid-wrap .panel.s2:has(.tl)::after { content: none; display: none; }
html body.gl .tp-vorschlag { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
html body.gl .tp-vorschlag .ki-chip { background: #2A1F18; color: #FFFFFF; }
@media (max-width: 700px) {
  html body.gl .tp-nur-gross { display: none; }
  html body.gl .tp-nur-klein { display: inline; }
  html body.gl .tl, html body.gl .tl-legende { display: none; }
  html body.gl .tl-liste { display: flex; flex-direction: column; gap: 8px; }
  html body.gl .tl-zeiten { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  html body.gl .tl-zeiten::-webkit-scrollbar { display: none; }
  html body.gl .tl-zeiten a { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #F5F1EA; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; color: #4A3F38; text-decoration: none; }
  html body.gl .tl-zeiten a[aria-current] { background: #2A1F18; color: #FFFFFF; }
  html body.gl .tl-ohne { padding: 12px 14px; border-radius: 14px; background: #FCEFEA; color: #A23B2A; font-size: 13.5px; font-weight: 700; text-decoration: none; }
  html body.gl .tl-gruppe { padding: 8px 2px 0; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  html body.gl .tl-karte { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #FFFFFF; color: inherit; text-decoration: none; }
  html body.gl .tl-nr { flex: none; min-width: 44px; height: 44px; padding: 0 6px; box-sizing: border-box; border-radius: 12px; display: flex; align-items: center; justify-content: center; font: 800 16px/1 "Plus Jakarta Sans", Inter, sans-serif; background: #E3EEDF; }
  html body.gl .tl-nr.is-res { background: #F6E6DC; }
  html body.gl .tl-nr.is-da { background: #F6E6DC; }
  html body.gl .tl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  html body.gl .tl-info b { font-size: 14px; }
  html body.gl .tl-info small { font-size: 12px; color: var(--muted); }
  html body.gl .tl-pl { font-size: 12px; color: var(--muted); }
}

/* Speisekarte: Allergene prüfen (18.11.) */
html body.gl .al-stand { display: flex; align-items: center; gap: 18px; padding: 16px 18px; margin-bottom: 12px; border-radius: 16px; background: #F5F1EA; }
html body.gl .al-stand p { margin: 0; flex: 1.4; font-size: 13px; line-height: 1.5; color: #4A3F38; }
html body.gl .al-fort { flex: 1; display: flex; flex-direction: column; gap: 8px; }
html body.gl .al-balken { height: 8px; border-radius: 4px; background: #FFFFFF; overflow: hidden; }
html body.gl .al-balken span { display: block; height: 100%; background: #B9532C; }
html body.gl .al-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
html body.gl .al-filter .ki-chip { display: inline-flex; align-items: center; text-decoration: none; }
html body.gl .al-filter .ki-chip.is-on { background: #2A1F18; color: #FFFFFF; }
html body.gl .al-liste { display: flex; flex-direction: column; gap: 8px; }
html body.gl .al-zeile { display: grid; grid-template-columns: minmax(0, 1fr) 280px 260px; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #F5F1EA; }
html body.gl .al-zeile.is-ok { background: #FFFFFF; border: 1px solid #EDE6DB; }
html body.gl .al-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html body.gl .al-name b { font-size: 15px; }
html body.gl .al-name small { font-size: 12.5px; color: var(--muted); }
html body.gl .al-vor { display: flex; flex-direction: column; gap: 6px; }
html body.gl .al-bs { display: flex; gap: 5px; flex-wrap: wrap; }
html body.gl .al-bs i { font-style: normal; width: 28px; height: 28px; border-radius: 8px; background: #2A1F18; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font: 800 13px/1 "Plus Jakarta Sans", Inter, sans-serif; }
html body.gl .al-bs i.al-keine { width: auto; padding: 0 10px; background: #FFFFFF; color: var(--muted); font: 600 12px/1 Inter, sans-serif; }
html body.gl .al-tun { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; position: relative; }
html body.gl .al-tun form { margin: 0; }
html body.gl .al-passt { background: #2A1F18 !important; color: #FFFFFF !important; border: 0 !important; }
html body.gl .al-ok { color: #3F7A4A; font-weight: 700; font-size: 14px; }
html body.gl .al-tun .link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
html body.gl .al-aendern > summary { list-style: none; cursor: pointer; }
html body.gl .al-aendern > summary::-webkit-details-marker { display: none; }
html body.gl .al-aendern[open] { flex-basis: 100%; }
html body.gl .al-wahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; margin-top: 8px !important; padding: 12px; border-radius: 12px; background: #FFFFFF; }
html body.gl .al-wahl label { display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
html body.gl .al-wahl .btn { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 900px) {
  html body.gl .al-stand { flex-direction: column; align-items: stretch; }
  html body.gl .al-zeile { grid-template-columns: 1fr; gap: 10px; }
  html body.gl .al-tun { justify-content: flex-start; }
}
html body.gl .plus-sheet.mit-tastatur .plus-head, html body.gl .plus-sheet.mit-tastatur .plus-grid { display: none; }
html body.gl .plus-sheet.mit-tastatur .plus-ki { padding-bottom: 0; border-bottom: 0; }
html body.gl .plus-panel:focus { outline: none; }
