/* ERZEUGT von werk/future/thema.py aus app.css – nicht von Hand ändern. Fassung für andere Firmen als YP (Anthrazit und Rot). */
/* Inventur-Portal – Hausstil yourprintdesign (Navy, Blau, Pink-Rot), Systemschrift (keine externen Schriften) */
:root {
  --bg: #f5f5f6; --surface: #fff; --ink: #1f2a33; --muted: #5d6872; --line: #dde3e9; --navy: #2e3237; --blue: #ce111d; --link: #ab0e18;
  --cta: #e9202d; --cta-h: #cc1723; --richter: #d40f1e; --go: #17834f; --go-soft: #ecf8f1; --warn: #8a4a06; --warn-bg: #fbeedb; --sh-erl: #d6f2df; --sh-ueb: #ffe3c4; --sh-ueb-k: #f08a00; --sh-ueb-t: #a24e00; --kombi: #6b3fa0; --kombi-bg: #efe6fa; --bad: #b3261e; --bad-bg: #fde8e6; --sh-sto: #f7cdc8; --soft: #edeff1; --chip: #eceef0;
  --shadow: 0 1px 2px rgba(37, 40, 43,.05), 0 4px 14px rgba(37, 40, 43,.05);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
/* dunkle Darstellung nach Gerät – Shop, Vertrieb und (1.36.231, Ernst) Inventur bleiben immer hell; 1.36.233: Inventur in derselben :not()-Liste wie Vertrieb – sonst stiege die Spezifität der dunklen Regeln */
@media (prefers-color-scheme: dark) { :root[data-site="time"] {
  --bg: #111213; --surface: #1b1d20; --ink: #e7eaec; --muted: #93a3b1; --line: #2e3135; --link: #f1505b; --soft: #292d31; --chip: #24282b; --go-soft: rgba(43,182,115,.12);
  --richter: #e8323f; --warn: #f1b366; --warn-bg: #2b2013; --sh-erl: #173a26; --sh-ueb: #3a2510; --sh-ueb-k: #f59a2a; --sh-ueb-t: #f6b56b; --kombi: #c9a6f2; --kombi-bg: #292c30; --bad: #ff8a80; --bad-bg: #331a18; --sh-sto: #4a1f1b; --shadow: 0 1px 2px rgba(0,0,0,.3); color-scheme: dark } }
/* marketing.… : gleiches CI, nur die Kopfzeile mit Verlauf Navy → Blau, damit Inventur und Marketing optisch getrennt sind */
html[data-site="marketing"] { --mkhead: linear-gradient(90deg, #2e3237 0%, #950c15 55%, #ce111d 100%); }
html[data-site="marketing"] header.top { background: var(--mkhead); }
/* displays.… : Verlauf Navy → Petrol */
html[data-site="displays"] header.top { background: linear-gradient(90deg, #2e3237 0%, #383d42 55%, #009aa6 100%); }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.45 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--link); }
header.top { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 14px; padding: 10px 16px; min-height: 56px; }
header.top .logo { height: 26px; width: auto; display: block; }
header.top .klogo { height: 26px; width: auto; max-width: 150px; object-fit: contain; display: block; filter: brightness(0) invert(1); border-left: 1px solid rgba(255,255,255,.3); padding-left: 14px; }
header.top .klogo.farbig { filter: none; max-width: 190px; }   /* Bahnpark: DB-Logo rot/weiß (1.36.156) */
header.top .ttl { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; border-left: 1px solid rgba(255,255,255,.3); padding-left: 14px; }
header.top .grow { flex: 1; }
header.top .who { font-size: 13px; opacity: .85; text-align: right; }
header.top button { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 5px; padding: 6px 11px; cursor: pointer; font-size: 13px; }
nav.tabs { background: var(--surface); border-bottom: 1px solid var(--line); display: flex; gap: 2px; padding: 0 12px; overflow-x: auto; }
nav.tabs::before, nav.tabs::after { content: ''; margin: auto; }   /* mittig, bei Platzmangel ab links scrollbar */
nav.tabs button { border: 0; background: none; padding: 13px 14px 12px; font-weight: 700; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); cursor: pointer; white-space: nowrap; }
nav.tabs button.on { color: var(--navy); box-shadow: inset 0 -3px 0 var(--cta); }
nav.tabs.eng button { padding-left: 9px; padding-right: 9px; letter-spacing: .02em; }   /* 1.36.771: viele Reiter (Vertrieb) – erst enger, dann kleiner */
nav.tabs.enger button { padding-left: 7px; padding-right: 7px; font-size: 12.5px; letter-spacing: 0; }
@media (prefers-color-scheme: dark) { html[data-site="time"] nav.tabs button.on { color: var(--ink); } }
main { width: 100%; max-width: 980px; margin: 0 auto; padding: 18px 16px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.card h2 { margin: 0; font-size: 15px; letter-spacing: .07em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.card h2::before { content: ''; width: 4px; height: 15px; background: var(--blue); border-radius: 1px; }
.card h3 { margin: 4px 0 0; font-size: 15px; }
.narrow { max-width: 440px; width: 100%; margin: 30px auto 0; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.grow { flex: 1 1 200px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=tel], input[type=date], select, textarea { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 9px 10px; width: 100%; min-width: 0; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
input.need, select.need { border-color: var(--bad); background: var(--bad-bg); }
.row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.btn { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 9px 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.btn:hover { border-color: var(--blue); }
.btn.primary { background: var(--cta); border-color: var(--cta); color: #fff; }
.btn.primary:hover { background: var(--cta-h); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.go { background: var(--go); border-color: var(--go); color: #fff; }
.btn.go:hover { background: #126a40; border-color: #126a40; }
.btn:disabled { opacity: .55; cursor: default; }
/* 1.36.135: Links als Knöpfe – hellblaue Fläche, kein Unterstrich, überall gleich; Namen in Listen bleiben fett ohne Fläche, ✕/▲/▼ als kleine Symbolknöpfe */
.link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid transparent; background: var(--soft); color: var(--link); cursor: pointer; padding: 3px 10px; border-radius: 6px; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; text-align: center; vertical-align: middle; transition: background-color .12s, border-color .12s; }
.link:hover { border-color: var(--link); }
.link:focus-visible { outline: 2px solid var(--link); outline-offset: 1px; }
.link:disabled, .link[aria-disabled="true"] { opacity: .5; cursor: default; border-color: transparent; }
.link:has(> b:first-child), .link.kkname { background: none; border-color: transparent; padding: 0; font-weight: inherit; text-align: left; justify-content: flex-start; border-radius: 3px; }
.link:has(> b:first-child):hover, .link.kkname:hover { text-decoration: underline; }
.link.kx, .link.tdkw, .link[aria-label*="entfernen"], .link[aria-label*="löschen"], .link[aria-label*="schließen"], .link[title="nach oben"], .link[title="nach unten"], .link[title="entfernen"] { background: none; border-color: transparent; color: var(--muted); padding: 2px 7px; }
.link.kx:hover, .link.tdkw:hover, .link[aria-label*="entfernen"]:hover, .link[aria-label*="löschen"]:hover, .link[aria-label*="schließen"]:hover, .link[title="entfernen"]:hover { background: var(--bad-bg); color: var(--bad); }
.link[title="nach oben"]:hover, .link[title="nach unten"]:hover { background: var(--chip); color: var(--ink); }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.msg { border-radius: 8px; padding: 10px 13px; font-size: 14px; }
.msg.err { background: var(--bad-bg); color: var(--bad); }
.msg.ok { background: var(--go-soft); color: var(--go); }
.msg.warn { background: var(--warn-bg); color: var(--warn); }
.msg.info { background: var(--soft); color: var(--ink); }
.house .hits mark, mark { background: #fff1a8; color: inherit; border-radius: 3px; padding: 0 2px; }
@media (prefers-color-scheme: dark) { html[data-site="time"] mark { background: #5a4a00; } }
.check { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }   /* 1.36.338: neben langem Text nicht schmaler */
.check.ckoben { align-items: flex-start; } .check.ckoben input { margin-top: 2px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; background: var(--chip); color: var(--muted); white-space: nowrap; }
.tag.blue { background: var(--soft); color: var(--link); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.go { background: var(--go-soft); color: var(--go); }
.tag.ext { background: #5d6872; color: #fff; }
.extbox { display: flex; flex-direction: column; gap: 8px; }
.extbox.on { border-left: 3px solid #5d6872; padding: 8px 10px; background: var(--chip); border-radius: 0 6px 6px 0; }
.extbox .check .hint { font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; cursor: pointer; }
.chip.on { border-color: var(--blue); color: var(--link); font-weight: 700; }
/* Häuser */
.houses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.house { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--surface); cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.house:hover { border-color: var(--blue); }
.house b { font-size: 15.5px; }
.house .k { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--muted); }
.house.other { background: var(--bg); }
.house .mod { font-size: 12.5px; }
.house .warnt, .hint.warnt { color: var(--warn); }
p.hint.mod { margin-top: -6px; }
/* Inventur */
.items { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.item.chg { border-left-color: var(--blue); }
.item.neu { border-left-color: var(--go); }
.item.weg { border-left-color: var(--warn); opacity: .82; }
.item .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 220px; }
.item .tx .tag { align-self: start; margin-top: 3px; }
.cnt { display: flex; align-items: center; gap: 6px; }
.cnt .btn { width: 44px; height: 44px; justify-content: center; font-size: 22px; padding: 0; }
.cnt input { width: 70px; text-align: center; font-size: 18px; padding: 8px 4px; }
.form { border: 1px solid var(--blue); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sum { font-size: 15px; margin: 0; }
.sum b { font-size: 19px; color: var(--navy); }
@media (prefers-color-scheme: dark) { html[data-site="time"] .sum b { color: var(--ink); } }
.saved { font-size: 12.5px; color: var(--muted); margin-left: auto; font-weight: 500; text-transform: none; letter-spacing: 0; }
/* Ausstattung */
.ausgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.aus { hyphens: auto; overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 10px 12px; font-size: 14px; cursor: pointer; min-height: 46px; }
.aus .ck { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #fff; }
.aus.on { border-color: var(--go); background: var(--go-soft); color: var(--go); font-weight: 700; }
.aus.on .ck { background: var(--go); border-color: var(--go); }
/* Geführte Anlage eines neuen Objekts */
.wizard { display: flex; flex-direction: column; gap: 12px; }
.wizard h3 { margin: 0; font-size: 17px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--chip); }
.steps li span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-size: 12px; }
.steps li.on { background: var(--soft); color: var(--link); font-weight: 700; }
.steps li.on span { background: var(--blue); border-color: var(--blue); color: #fff; }
.steps li.done span { background: var(--go); border-color: var(--go); color: #fff; }
.wbody { display: flex; flex-direction: column; gap: 10px; min-height: 120px; }
.wnav .grow { flex: 1; }
.sumlist { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.sumlist dt { color: var(--muted); font-size: 13px; }
.sumlist dd { margin: 0; }
.auslist { display: inline-flex; flex-wrap: wrap; gap: 4px; }
/* Fotos */
.fotos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex-basis: 100%; }
.foto { position: relative; display: inline-block; }
.foto img { width: 76px; height: 76px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; cursor: zoom-in; background: var(--chip); }
.foto .fx { position: absolute; top: -7px; right: -7px; min-width: 24px; height: 24px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 15px; line-height: 1; cursor: pointer; padding: 0 6px; }
.foto .fx.ask { background: var(--bad); border-color: var(--bad); color: #fff; font-size: 12px; font-weight: 700; }
.fbtn { min-height: 40px; }
.fbtn.busy { opacity: .7; pointer-events: none; }
.lb { position: fixed; inset: 0; background: rgba(17, 18, 19,.88); z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.lb img { max-width: 100%; max-height: calc(100vh - 90px); border-radius: 6px; }
/* Tabellen */
.tbl { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
td.r, th.r { text-align: right; }
.linkbox { display: flex; gap: 8px; }
.linkbox input { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
footer.foot { text-align: center; font-size: 12.5px; color: var(--muted); padding: 16px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
footer.foot .footl { display: flex; gap: 16px; justify-content: center; }   /* Impressum und Datenschutz in eigener Zeile */
footer.foot .footv { font-size: 11.5px; }
/* alte Fassung auf dem Gerät: Hinweis wie die Karten der Stempeluhr */
.altv { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px max(12px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
.altvb { max-width: 560px; margin: 0 auto; background: var(--surface); border: 2px solid var(--cta); border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.altvb b { font-size: 16px; } .altvb p { margin: 6px 0 10px; font-size: 14px; } .altvb .row { gap: 12px; align-items: center; }
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); background: #1f2a33; color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 1000; max-width: calc(100vw - 32px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
@media (max-width: 560px) { header.top .klogo { height: 20px; padding-left: 10px; } header.top { gap: 10px; } header.top .ttl { display: none; } header.top .who { display: none; } main { padding: 12px 10px 24px; } }
/* 1.6: Liste seitenweise, Adresssuche, Versand, Betriebsmaterial */
.houses .btn.more { grid-column: 1 / -1; justify-content: center; }
.house .hits .hint { font-size: 12.5px; }
.lk { display: flex; flex-direction: column; gap: 6px; }
.lkr { text-align: left; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.lkr:hover { border-color: var(--blue); }
.lkr.on { border-color: var(--blue); background: var(--soft); }
.kstinfo:empty { display: none; }
.kstinfo .msg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.kstinfo .msg > span { flex: 1 1 260px; }
.kstinfo .kstdone { color: var(--go); }
input.auto { border-color: var(--warn); background: var(--warn-bg); }
.hint.src { font-size: 11.5px; margin-top: 2px; }
.bmit .tx > span:not(.hint):not(.tag) { font-size: 13.5px; }
.bmed { width: 100%; margin-top: 6px; align-items: flex-end; }
.cnt .link { margin-left: 4px; }
@media (max-width: 520px) { .steps li { font-size: 12px; padding-right: 8px; } .bmit .cnt { width: 100%; justify-content: flex-end; } }
.bmit .tx .link { align-self: flex-start; text-align: left; }
header.top .klogo[hidden] { display: none; }
/* Katalog-Info: kleines i neben Werbeträger und Material, Fenster mit Beschreibung und Beispielfoto */
.ki { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); background: var(--surface); font: italic 700 12px/1 Georgia, serif; cursor: pointer; padding: 0; vertical-align: 1px; margin-left: 4px; }
.ki:hover { background: var(--blue); color: #fff; }
.kim { position: fixed; inset: 0; background: rgba(18, 20, 22, .55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 60; }
.kimc { background: var(--surface); color: var(--ink); border-radius: 12px; padding: 18px; max-width: 520px; width: 100%; max-height: 90vh; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.kimc h3 { margin: 0; font-size: 17px; }
.kimc p { margin: 0; white-space: pre-wrap; line-height: 1.45; }
.kimc img { width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
/* Inventur: Gruppen je Kategorie (aufklappbar) */
.grps { display: flex; flex-direction: column; gap: 8px; }
details.grp { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
details.grp > summary { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 11px 14px; cursor: pointer; border-radius: 10px; user-select: none; }
details.grp > summary::-webkit-details-marker { display: none; }
details.grp > summary:hover { background: var(--soft); }
details.grp > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
details.grp > summary .gl { font-size: 15px; }
details.grp > summary .gn { font-weight: 700; color: var(--ink); background: var(--chip); border-radius: 999px; padding: 1px 9px; font-size: 13px; }
details.grp > summary .chev { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
details.grp[open] > summary .chev { transform: rotate(-135deg); }
details.grp[open] > summary { border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; }
details.grp > .items { padding: 10px; }
.gdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
/* Inventur: Übersicht mit Ringdiagrammen */
.ovg { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 22px; }
.ovc h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ovb { display: flex; align-items: center; gap: 14px; }
.donut { width: 132px; height: 132px; flex: none; }
.donut .dn { font-size: 26px; font-weight: 800; fill: var(--ink); }
.donut .du { font-size: 10px; fill: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.lg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.lgb { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 4px 6px; border-radius: 6px; font: inherit; font-size: 13.5px; color: inherit; cursor: pointer; text-align: left; }
.lgb:hover { background: var(--soft); }
.lgb .lgl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgb.zero { opacity: .55; }
.ovs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 420px) { .donut { width: 108px; height: 108px; } .ovb { gap: 10px; } }
.kimv { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.kimv h4 { margin: 0; font-size: 15px; }

/* ---------- Marketing: Bestand, Kampagnen, Bestellungen ---------- */
main.mkwide { max-width: 1280px; }
.mkkpis { display: flex; flex-wrap: wrap; gap: 10px; }
.mkkpis > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; min-width: 120px; display: flex; flex-direction: column; background: var(--surface); }
.mkkpis b { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.mkkpis span { font-size: 12.5px; color: var(--muted); }
@media (prefers-color-scheme: dark) { html[data-site="time"] .mkkpis b { color: var(--ink); } }
.mkhl { display: flex; flex-direction: column; gap: 6px; }
details.mkh { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
details.mkh > summary { display: flex; align-items: center; gap: 12px; padding: 9px 12px; cursor: pointer; list-style: none; }
details.mkh > summary::-webkit-details-marker { display: none; }
details.mkh[open] > summary { border-bottom: 1px solid var(--line); }
.mkkst { font-weight: 800; color: var(--navy); min-width: 52px; font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .mkkst { color: var(--link); } }
.mkhd { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.grow { flex: 1; min-width: 0; }
td.r, th.r { text-align: right; }
.mkgrid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 14px; align-items: start; }
.mkgrid > aside { position: sticky; top: 10px; }
.mked { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
@media (max-width: 860px) { .mkgrid { grid-template-columns: 1fr; } .mkgrid > aside { position: static; } }
.mkkl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mkkl li[data-mkk] { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.mkkl li[data-mkk]:hover { border-color: var(--blue); }
.mkkl li.on { border-color: var(--blue); background: var(--soft); }
.mkkl li span { font-size: 12.5px; color: var(--muted); }
.mkhsel { display: flex; flex-direction: column; gap: 4px; max-height: 320px; overflow: auto; padding: 6px 2px; }
.mkmots { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.mkmot { border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mkthumb { position: relative; height: 130px; border-radius: 6px; background: var(--bg); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: 13px; }
.mkthumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mkthumb label { position: absolute; right: 6px; bottom: 6px; }
.mkpct { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mkpct input[type=range] { flex: 1 1 200px; accent-color: var(--blue); }
.mkpct input[type=number], .mkpct input[type=text] { width: 110px; }
.mkpct.sm input[type=range] { flex: 1 1 110px; min-width: 90px; }
.mkpct.sm span { min-width: 44px; font-size: 13px; }
table.mkopt tr.man td { background: var(--soft); }
.mkchart { width: 100%; height: auto; display: block; color: var(--ink); overflow: visible; }
.mkdonut { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mkdonut svg { flex: none; color: var(--ink); }
.mkleg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; flex: 1 1 200px; min-width: 0; }
.mkleg li { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 8px; align-items: center; }
.mkleg i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.mkleg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mkleg em { font-style: normal; color: var(--muted); font-size: 12px; min-width: 34px; text-align: right; }
.mkvgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.mkvgrid .wide { grid-column: 1 / -1; }
.mkvgrid h3 { margin: 0 0 6px; font-size: 14px; }
.chip.mkvc .hint { font-size: 12px; }
.mkorder { border-color: var(--cta); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=search], select, textarea { max-width: 100%; }

/* ---------- Portal: Bereich im Kopf (Verwaltung: Umschalter Inventur · Marketing · Displays) ---------- */
header.top .area { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.14); border-radius: 6px; padding: 4px 10px; display: flex; gap: 2px; white-space: nowrap; }
header.top .area:empty { display: none; }
header.top .area:has(button) { padding: 2px; }
header.top .area button { border: 0; background: transparent; color: #fff; padding: 4px 10px; border-radius: 4px; font: inherit; letter-spacing: inherit; opacity: .78; cursor: pointer; }
header.top .area button:hover { opacity: 1; background: rgba(255,255,255,.12); }
header.top .area button.on { background: #fff; color: var(--navy); opacity: 1; }
@media (max-width: 680px) { header.top .who { display: none; } header.top .ttl { display: none; } header.top .area button { padding: 4px 7px; } }
/* 1.36.619: Schalter „Firma | Betreiber“ links im Kopf – nur bei Zugängen mit Bereichen aus beiden Welten; am Handy stehen beide Gruppen im Menü (☰) */
header.top .welt { display: inline-flex; flex: none; gap: 2px; padding: 2px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
header.top .welt[hidden] { display: none; }
header.top .welt button { border: 0; background: transparent; color: #fff; padding: 4px 12px; border-radius: 999px; font: inherit; letter-spacing: inherit; opacity: .8; cursor: pointer; }
header.top .welt button:hover { opacity: 1; background: rgba(255,255,255,.12); }
header.top .welt button.on { background: var(--cta); color: #fff; opacity: 1; box-shadow: 0 1px 2px rgba(0,0,0,.25); }   /* 1.36.633 (Ernst 16.11. 11:53): Schalter Rot/Weiß */
header.top .welt button.on:hover { background: var(--cta-h); }
header.top .welt button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
header.top .welt button.fw { opacity: .95; }   /* 1.36.914: Knopf zur anderen Firma (zweite Installation) */
header.top .welt button.fw:not(:first-child) { margin-left: 4px; position: relative; }
header.top .welt button.fw:not(:first-child)::before { content: ''; position: absolute; left: -3px; top: 25%; bottom: 25%; border-left: 1px solid rgba(255,255,255,.45); }
header.top .hl:has(.welt:not([hidden])) .ttl { display: none; }   /* mit Schalter ohne „Portal“-Titel – mehr Platz für die Bereiche */
@media (max-width: 700px) { header.top .welt { display: none !important; } }
input[type=time], input[type=month] { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 8px 8px; max-width: 100%; }
input[type=color] { width: 54px; height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 2px; background: var(--surface); }
/* ---------- Displays ---------- */
.sghead { flex-direction: row; flex-wrap: wrap; align-items: end; gap: 12px; }
.sglist { display: flex; flex-direction: column; gap: 10px; }
.sgscr { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.sgscrh { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.sglink { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.sgprev { width: 100%; background: #000; border-radius: 6px; overflow: hidden; }
.sgprev iframe { width: 100%; height: 100%; border: 0; display: block; }
.sgpre { white-space: pre-wrap; word-break: break-all; background: var(--chip); padding: 8px 10px; border-radius: 6px; font: 12.5px/1.45 ui-monospace, Menlo, Consolas, monospace; margin: 0; }
.sglink summary { cursor: pointer; }
.sgcode { display: flex; flex-direction: column; gap: 2px; }
.sgcodeu { font: 600 clamp(17px, 2.4vw, 24px)/1.3 ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.sgcodeu b { letter-spacing: .12em; color: var(--link); }
.sgsched { display: flex; flex-direction: column; gap: 8px; }
.sgsc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 1px dashed var(--line); border-radius: 8px; padding: 8px; }
.sgsc label { font-size: 13px; color: var(--muted); display: flex; gap: 4px; align-items: center; }
.sgdays { display: flex; gap: 3px; flex-wrap: wrap; }
.sgdays .chip { padding: 3px 8px; font-size: 12.5px; }
.sgtage { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 14px; }
.sgtag { display: flex; gap: 6px; align-items: center; }
.sgtag .check { min-width: 58px; }
.sgth { width: 64px; height: 40px; object-fit: cover; border-radius: 4px; background: #171a1c; display: inline-flex; align-items: center; justify-content: center; color: #8fa3b5; font-size: 16px; flex: none; }
.sgitems { display: flex; flex-direction: column; gap: 6px; }
.sgit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.sgit.off { opacity: .55; }
.sgitt { display: flex; flex-direction: column; min-width: 140px; flex: 1; }
.sgd { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.sgd input { width: 70px; padding: 6px; }
.sgit select { padding: 6px 8px; }
.sgdr { font-size: 12.5px; color: var(--muted); display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.sgdr input { padding: 5px 6px; }
.sgmv { display: flex; gap: 8px; }
.sgmv .link { text-decoration: none; font-size: 15px; }
.sgpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; max-height: 340px; overflow: auto; }
.sgpk { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; text-align: left; font-size: 12.5px; }
.sgpk:hover { border-color: var(--blue); }
.sgpk .sgth { width: 100%; height: 68px; }
.sgpk span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sgdrop { border: 2px dashed var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; }
.sgdrop.on, .sgdrop:hover { border-color: var(--blue); background: var(--soft); }
.sgdrop input { display: none; }
.sgups { display: flex; flex-direction: column; gap: 6px; }
.sgup { display: flex; gap: 10px; align-items: center; font-size: 13.5px; flex-wrap: wrap; }
.sgbar { flex: 1; max-width: 260px; height: 6px; background: var(--chip); border-radius: 3px; overflow: hidden; }
.sgbar i { display: block; height: 100%; background: var(--blue); transition: width .3s; }
.sggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.sgm { border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sgmth { position: relative; border: 0; padding: 0; background: #171a1c; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.sgmth .sgth { width: 100%; height: 100px; border-radius: 0; display: flex; }
.sgdur { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.7); color: #fff; font-size: 11.5px; padding: 1px 6px; border-radius: 4px; }
input.sgmn { border-color: transparent; background: transparent; font-weight: 700; padding: 3px 4px; }
input.sgmn:hover, input.sgmn:focus { border-color: var(--line); }
select.sgmadd { width: 100%; font-size: 12.5px; padding: 3px 6px; }
.link.danger, .link.lgdel, .link.shdel { color: var(--bad); background: var(--bad-bg); } .link.danger { align-self: start; }
.link.danger:hover, .link.lgdel:hover, .link.shdel:hover { border-color: var(--bad); }
.sglb { position: fixed; inset: 0; background: rgba(0,0,0,.86); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; cursor: zoom-out; }
.sglbi { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; font-size: 13.5px; }
.sglbi img, .sglbi video { max-width: 92vw; max-height: 80vh; background: #000; }
.sgbk { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 10px; align-items: flex-start; }
.sgbk .sgth { width: 96px; height: 60px; }
.sgbkt { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.sgbkt .row select { max-width: 280px; padding: 6px 8px; }
.sgmap { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 8px; }
.tbl td input[type=text], .tbl td input[type=number] { padding: 6px 8px; }
@media (max-width: 480px) { header.top { gap: 8px; padding: 8px 10px; } header.top .klogo { display: none; } header.top .logo { height: 22px; } header.top button#logout { padding: 5px 8px; } }
.ufbar { align-items: end; gap: 10px 16px; margin-bottom: 4px; }
/* 1.36.367: Favoriten ★ je Benutzer */
.ufavt { min-width: 180px; max-width: 320px; }
.ufavs { display: flex; flex-direction: column; gap: 3px; }
.ufav { display: block; font-size: 13px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ufav b { font-variant-numeric: tabular-nums; }
.ufav b::before { content: "★ "; color: #e0a100; }
.ufav span { color: var(--muted); }
.ufavm summary { cursor: pointer; font-size: 12.5px; color: var(--link); list-style: none; }
.ufavm summary::-webkit-details-marker { display: none; }
.ufavm[open] summary { margin-bottom: 3px; }
.ufbar .field select { min-width: 240px; }

/* 1.36.395: Benutzer › Nutzung der Kundenzugänge */
.nzk { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.nzkz { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); min-width: 0; }
.nzkz .nzl { font-size: 12.5px; color: var(--muted); }
.nzkz b { font-size: 24px; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--navy); }
.nzkz .hint { font-size: 12px; }
@media (prefers-color-scheme: dark) { :root[data-site="time"] .nzkz b { color: var(--ink); } }
.nzv { display: flex; align-items: flex-end; gap: 3px; height: 96px; padding-top: 4px; overflow-x: auto; }
.nzvt { flex: 1 0 16px; display: flex; flex-direction: column; gap: 3px; height: 100%; }
.nzvb { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-bottom: 1px solid var(--line); }
.nzvb i { display: block; width: 45%; max-width: 9px; border-radius: 3px 3px 0 0; }
.nzvb i.a { background: var(--blue); }
.nzvb i.n { background: var(--cta); }
.nzvt span { font-size: 10.5px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.nzvt.we span { opacity: .55; }
.nzleg { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.nzleg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin-right: 4px; }
.nzleg i.a { background: var(--blue); }
.nzleg i.n { background: var(--cta); }
.nzber { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nzt .nzr { cursor: pointer; }
.nzt .nzr:hover td { background: var(--bg); }
.nzt .nzr:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.nzt .nzn { white-space: nowrap; font-variant-numeric: tabular-nums; }
.nzt .nzhw { min-width: 200px; }
.nzh { display: block; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.nzh.warn { color: var(--warn); }
.nzh.warn::before { content: "⚠ "; }
.nzd td { background: var(--bg); }
.nzdet { display: grid; grid-template-columns: minmax(180px, 1fr) 2fr; gap: 16px; }
@media (max-width: 640px) { .nzdet { grid-template-columns: 1fr; } }
.nzdet h4 { margin: 0 0 6px; font-size: 13px; }
.nzdet .ufav { white-space: normal; }
.nzlog { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.nzlog time { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
.nzlog li.sys { color: var(--muted); font-style: italic; }

/* ---------- Zeiterfassung (time.…) ---------- */
html[data-site="time"] { --navy: #1d5b3a; }
html[data-site="time"] header.top { background: #2e3237; }   /* 1.36.64: Kopfzeile der Zeiterfassung im Standard-Navy – Knöpfe und Symbole bleiben grün */
html[data-site="kalk"] { --navy: #5b2c6f; }
html[data-site="shop"] { --navy: #b50f1a; }   /* Shop: Cyan (hellblau) */
.ztwrap { display: flex; flex-direction: column; gap: 14px; }
.ztflash { font-weight: 700; }
.ztclock { align-items: center; text-align: center; gap: 10px; padding: 22px 16px; border-width: 2px; }
.ztclock.an { border-color: var(--go); }
.ztclock.pause { border-color: #d98a14; }
.ztstate { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 18px; }
.ztdot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); }
.ztclock.an .ztdot { background: var(--go); box-shadow: 0 0 0 4px var(--go-soft); animation: ztpulse 1.6s infinite; }
.ztclock.pause .ztdot { background: #d98a14; }
@keyframes ztpulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.ztbig { font: 700 clamp(44px, 13vw, 72px)/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ztbtns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; }
.ztbtns .btn { flex: 1 1 140px; max-width: 280px; justify-content: center; font-size: 18px; padding: 16px 14px; border-radius: 12px; }
.btn.ztgo { background: var(--go); border-color: var(--go); color: #fff; }
.btn.ztpause { background: #d98a14; border-color: #d98a14; color: #fff; }
.btn.ztstop { background: var(--surface); border-color: var(--bad); color: var(--bad); }
.ztprun { display: flex; flex-direction: column; gap: 8px; }
.ztp { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ztp.on { border-color: var(--go); background: var(--go-soft); }
.ztp > div { display: flex; flex-direction: column; min-width: 0; }
.ztpt { font: 700 18px ui-monospace, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.ztpadd select { flex: 1 1 220px; }
.ztsegs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ztsegs li { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; padding: 6px 8px; border-radius: 6px; background: var(--chip); font-size: 14px; }
.ztsegs li.p { background: var(--soft); }
.ztkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.ztkpis > div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.ztkpis b { font-size: 18px; }
.zpos { color: var(--go); }
.zneg { color: var(--bad); }
.ztweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ztweek > div { border: 1px solid var(--line); border-radius: 6px; padding: 5px 2px; display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12px; min-width: 0; text-align: center; overflow: hidden; }
.ztweek b { font-size: 13px; white-space: nowrap; }
.ztweek > div.heute { border-color: var(--go); background: var(--go-soft); }
.ztweek > div.zuk { opacity: .55; }
.ztmnav { align-items: center; gap: 10px; }
.ztmnav b { min-width: 150px; text-align: center; }
.ztmt td { vertical-align: top; }
.ztmt tr.we td, .ztmt tr.ft td { background: var(--chip); }
.ztmt tr.zuk td { color: var(--muted); }
.ztseg { display: inline-block; margin: 1px 6px 1px 0; padding: 1px 6px; border-radius: 5px; background: var(--chip); font-size: 13px; white-space: nowrap; }
.ztseg.p { background: var(--soft); }
.ztseg.auto { background: var(--warn-bg); color: var(--warn); }
.ztform { border-color: var(--blue); }
.ztsub { border: 1px dashed var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ztdays { align-items: center; gap: 12px; }
.ztcalw { overflow-x: auto; }
.ztcal { border-collapse: collapse; font-size: 12px; }
.ztcal th, .ztcal td { border: 1px solid var(--line); padding: 2px; text-align: center; min-width: 26px; height: 28px; }
.ztcal tbody th { text-align: left; white-space: nowrap; padding: 2px 8px; position: sticky; left: 0; background: var(--surface); }
.ztcal .we, .ztcal .ft { background: var(--chip); }
.ztcal td { cursor: pointer; }
.ztcal td.frei { color: var(--muted); }
.ztcal td.ab { font-weight: 800; }
.ztcal td.urlaub { background: #e9ebed; color: #950c15; }
.ztcal td.krank { background: var(--bad-bg); color: var(--bad); }
.ztcal td.sonder { background: #eff0f2; color: #a82a32; }
.ztcal td.frei.ab, .ztcal td.ab.frei { background: var(--warn-bg); }
.ztcal td.unbezahlt { background: #e7e7e7; color: #555; }
.ztcal td.sel { outline: 2px solid var(--cta); outline-offset: -2px; }
.ztcal small { color: var(--muted); }
.ztselbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px; border-radius: 8px; background: var(--soft); }
.tag.bad { background: var(--bad-bg); color: var(--bad); }
.ztnote { border-color: var(--blue); }
.ztreqbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.ztreqbtns .btn { justify-content: center; padding: 14px 12px; font-size: 16px; }
.ztreqs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ztreqs li { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.ztreqs li.ok { border-color: var(--go); }
.ztreqs li.nein { border-color: var(--bad); }
.ztreqs li > div { min-width: 0; flex: 1 1 240px; }
.ztreqact { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; flex: 0 1 auto !important; }
.ztkorr { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 8px; margin-top: 8px; }   /* 1.36.652: Anfang, Pause, Ende direkt korrigieren */
.ztkorr label { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; color: var(--muted, #64748b); }
.ztkorr input { width: 5.2em; font: inherit; font-size: 13px; padding: 4px 6px; }
.ztkorr .ztteamend { color: var(--go, #17834f); } .ztkorr .ztteamend .hint { font-weight: 400; }
.ztreqact input { width: 190px; max-width: 100%; }
.ztreqcard { border-color: #d98a14; }
.ztadm { white-space: nowrap; }
.ztadm .btn { margin-right: 4px; }
.ztcal td.pend { background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 4px, var(--chip) 4px, var(--chip) 8px); color: var(--muted); font-weight: 700; }
.ztlog { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.ztqr { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; width: 220px; max-width: 100%; }
.ztqr svg { width: 200px; height: 200px; }
.ztqr code { font-size: 11px; word-break: break-all; }
.ztpdet { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
.ztpdet > .grow { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
tr.off td { opacity: .6; }
#ztprint { display: none; }
@media print {
  body.ztprinting > *:not(#ztprint) { display: none !important; }
  body.ztprinting #ztprint { display: block; }
  .ztsheet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10mm; }
  .ztpcard { display: flex; flex-direction: column; align-items: center; gap: 3mm; padding: 8mm; border: 1px solid #999; border-radius: 4mm; break-inside: avoid; text-align: center; font-family: Arial, sans-serif; color: #000; }
  .ztpcard svg { width: 70mm; height: 70mm; }
  .ztpcard b { font-size: 16pt; }
  .ztpcard span { font-size: 12pt; }
  .ztpcard small { font-size: 9pt; color: #444; }
  .ztsheet:has(.ztpcard:only-child) { grid-template-columns: 1fr; }
  .ztsheet:has(.ztpcard:only-child) .ztpcard svg { width: 120mm; height: 120mm; }
  .ztms { font: 8.5pt Arial, sans-serif; color: #000; break-after: page; }
  .ztms:last-child { break-after: auto; }
  .ztms h1 { font-size: 14pt; margin: 0 0 1mm; }
  .ztms p { margin: 1.5mm 0; }
  .ztms table { width: 100%; border-collapse: collapse; }
  .ztms th, .ztms td { border: 0.2mm solid #999; padding: 0.6mm 1.2mm; text-align: left; vertical-align: top; }
  .ztms tr.we td { background: #eee; }
  .ztms tfoot td { font-weight: 700; }
  .ztmsh { color: #444; font-size: 7.5pt; }
  .ztsig { display: grid; grid-template-columns: 1fr 1fr; gap: 14mm; margin-top: 16mm; }
  .ztsig div { border-top: 0.2mm solid #000; padding-top: 1mm; font-size: 8pt; }
}
@media (max-width: 600px) { .ztsegs li { grid-template-columns: 92px 1fr auto; } .ztp { grid-template-columns: 1fr auto; } .ztp .btn { grid-column: 1 / -1; } }

/* Zeiterfassung 1.14: vergessener Feierabend, Aufträge/Tätigkeiten, Diagramme (Übersicht, Leistung) */
/* Farben je Bedeutung – geprüft auf Farbsehschwäche (hell und dunkel): produktiv blau, organisatorisch orange, ohne Zuordnung grau (Rest) */
:root { --zt-fahrt: #d04f58; --zt-fahrt-soft: #f2f3f5; --zt-prod: #d62a35; --zt-org: #eb6834; --zt-rest: #a3a9b0; --zt-plan: #ef868d; --zt-track: #ebedef; --zt-grid: #edf0f3; }
@media (prefers-color-scheme: dark) { :root[data-site="time"] { --zt-fahrt: #f08b92; --zt-fahrt-soft: rgba(240, 139, 146,.13); --zt-prod: #e53944; --zt-org: #d95926; --zt-rest: #5b6875; --zt-plan: #ab1c26; --zt-track: #262a2d; --zt-grid: #232629; } }
.card.ztende { border: 2px solid var(--bad); }
.card.ztende h2::before { background: var(--bad); }
.card.ztlang { border-color: var(--warn); }
.card.ztlang h2::before { background: var(--warn); }
/* Drehrad für die Uhrzeit: zwei Spalten (Stunde | Minute), mittlere Zeile ausgewählt */
.ztseg.offen { background: var(--bad-bg); color: var(--bad); }
.ztseg.p.org, .ztsegs li.p.org { background: var(--chip); }
.ztp.on.org { border-color: var(--zt-org); background: transparent; }
.tag.zprod { background: var(--soft); color: var(--link); }
.tag.zorg { background: var(--warn-bg); color: var(--warn); }
.ztlegend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.ztlegend span { display: inline-flex; align-items: center; }
.ztsw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; background: var(--zt-rest); flex: none; }
.card h2 .ztsw { margin-right: 0; }
.ztsw.prod, .ztstk .prod, .ztshare .prod, .ztuse .prod, .ztk.prod, .ztmeter .gen, .ztsw.gen { background: var(--zt-prod); }
.ztsw.org, .ztstk .org, .ztshare .org, .ztuse .org, .ztk.org { background: var(--zt-org); }
.ztsw.rest, .ztstk .rest, .ztshare .rest, .ztk.rest { background: var(--zt-rest); }
.ztsw.plan, .ztmeter .plan { background: var(--zt-plan); }
.ztsw.frei { background: var(--zt-track); box-shadow: inset 0 0 0 1px var(--line); }
/* Säulen je Monat: dünne Säulen, oben 4px gerundet, 2px Abstand zwischen den Teilen */
.ztbars { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: 190px auto; column-gap: 6px; margin: 24px 0 2px; }
.ztyax { position: relative; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ztyax span { position: absolute; right: 0; transform: translateY(50%); line-height: 1; }
.ztyax em { position: absolute; top: -24px; right: 0; font-style: normal; font-size: 10.5px; line-height: 1; }
.ztplot { position: relative; display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.ztgl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--zt-grid); pointer-events: none; }
.ztcol { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; justify-content: center; border-radius: 6px 6px 0 0; outline: none; }
.ztcol:not(.zuk):hover, .ztcol:focus-visible { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ztcol:focus-visible { box-shadow: inset 0 0 0 2px var(--link); }
.ztstk { width: min(24px, 64%); display: flex; flex-direction: column-reverse; gap: 2px; border-radius: 4px 4px 0 0; overflow: hidden; }
.ztstk i { display: block; flex-basis: 0; min-height: 1px; }
.ztxax { grid-column: 2; display: flex; font-size: 11px; color: var(--muted); padding-top: 4px; }
.ztxax span { flex: 1 1 0; min-width: 0; text-align: center; }
.ztxax span.cur { color: var(--ink); font-weight: 700; }
.zttip { position: absolute; top: 0; z-index: 5; min-width: 190px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,.14); font-size: 12.5px; pointer-events: none; display: flex; flex-direction: column; gap: 3px; }
.zttip[hidden] { display: none; }
.zttip > div { display: flex; align-items: center; gap: 7px; }
.zttip strong { min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; }
.zttip span { color: var(--muted); }
.ztk { display: inline-block; width: 12px; height: 3px; border-radius: 2px; flex: none; }
.zttbl summary { cursor: pointer; }
/* Urlaub: Balken genommen / geplant auf heller Spur */
.zthero { display: flex; align-items: baseline; gap: 8px; }
.zthero b { font-size: 34px; font-weight: 700; line-height: 1.1; }
.zthero span { color: var(--muted); }
.ztmeter { display: flex; height: 12px; border-radius: 6px; background: var(--zt-track); overflow: hidden; }
.ztmeter i { display: block; height: 100%; }
.ztmeter i + i { border-left: 2px solid var(--surface); }
.ztgrid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
/* Wofür die Zeit verwendet wurde */
.ztuse { display: flex; flex-direction: column; gap: 7px; }
.ztuser { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.ztuser .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ztuser .b i { display: block; height: 10px; min-width: 3px; border-radius: 0 4px 4px 0; }
.ztuser .v { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
/* Team: Anteile je Mitarbeiter */
.ztshare { display: flex; gap: 2px; height: 12px; min-width: 120px; border-radius: 4px; overflow: hidden; background: var(--zt-track); }
.ztshare i { display: block; flex-basis: 0; }
.ztteam td { vertical-align: middle; }
.ztteam .ztbarcol { width: 34%; }
tr.sel td { background: var(--soft); }
@media (max-width: 600px) { .ztbars { grid-template-columns: 24px minmax(0, 1fr); grid-template-rows: 160px auto; column-gap: 4px; } .ztxax { font-size: 10px; } .ztuser { grid-template-columns: minmax(0, 42%) minmax(0, 1fr) auto; } }
@media print { .ztbars, .ztlegend { break-inside: avoid; } }
/* 1.15 Benutzer: Typ und Bereiche */
.rgrp { margin: 12px 0 4px; }
.rgrp h4 { margin: 0 0 6px; font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 12px; }
.rcheck { align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--surface); }
.rcheck input { margin-top: 2px; flex: none; }
.rcheck .hint { font-size: 12px; line-height: 1.35; }
.rcheck:has(input:checked) { border-color: var(--blue); }
.rcheck:has(input:disabled) { cursor: default; opacity: .85; }
/* 1.15 Zeiterfassung: Mitarbeiter = Benutzer (Anzeige im Formular) */
.ztbenu { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); line-height: 1.7; overflow-wrap: anywhere; }
/* Zeiterfassung im Benutzer-Formular: Arbeitsvertrag */
.ztuser2 h4 + .row, .ztuser2 h4 + .tbl { margin-top: 2px; }
.ztuser2 h4:not(:first-child) { margin-top: 14px; }
.ztvform { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 8px 0; background: var(--soft); }
.ztvform > b { display: block; margin-bottom: 6px; }
.ztuser2 tr.sel td { background: var(--chip); }

/* ---------- 1.17: Kopfzeile in der Inhaltsspalte (breite Bildschirme), Bereiche mittig; Handy: Hauptseiten mit Symbol + Menü (☰) ---------- */
header.top { display: grid; grid-template-columns: 1fr auto 1fr; padding-inline: max(16px, calc((100% - 1280px) / 2 + 16px)); }
header.top .hl { display: flex; align-items: center; gap: 14px; min-width: 0; }
header.top .hr { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
header.top .area { justify-self: center; }
header.top .burger { display: none; }
nav.tabs .ic { display: none; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mnav { position: fixed; inset: 0; z-index: 200; background: rgba(18, 20, 22, .42); }
.mnav[hidden] { display: none; }
.mnavp { position: absolute; top: 0; right: 0; bottom: 0; width: min(330px, 88vw); background: var(--surface); color: var(--ink); box-shadow: -8px 0 30px rgba(0,0,0,.18); overflow-y: auto; padding: 6px 0 24px; animation: mnavin .18s ease-out; }
@keyframes mnavin { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.mnavh { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 18px 12px; gap: 0 10px; }
.mnavh b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mnavh .hint { grid-column: 1; font-size: 12.5px; }
.mnavh button { grid-row: 1 / span 2; grid-column: 2; font-size: 20px; text-decoration: none; color: var(--muted); padding: 6px 8px; }
.mnavs { border-top: 1px solid var(--line); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.mnavs > .hint { padding: 4px 8px 2px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.mnavs button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: none; padding: 11px 10px; border-radius: 8px; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.mnavs button:hover { background: var(--chip); }
.mnavs button.on { background: var(--soft); color: var(--navy); }
html[data-site="time"] .mnavs button.on { background: #e6f2eb; }
html[data-site="kalk"] .mnavs button.on { background: #f1e9f5; }
html[data-site="shop"] .mnavs button.on { background: #eceef0; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .mnavs button.on, html[data-site="time"][data-site="time"] .mnavs button.on, html[data-site="kalk"][data-site="time"] .mnavs button.on, html[data-site="shop"][data-site="time"] .mnavs button.on { background: var(--soft); color: var(--ink); } }
.mnavs .ic { color: var(--muted); }
.mnavs button.on .ic { color: inherit; }
body.navopen { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }   /* 1.36.886: iPhone – Seite steht, nur das Menü scrollt (top setzt app.js) */
.mnav { touch-action: none; overscroll-behavior: contain; } .mnavp { touch-action: pan-y; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 700px) {
  header.top { grid-template-columns: 1fr auto; padding: 8px 10px 8px 14px; min-height: 52px; gap: 10px; }
  header.top .area, header.top .who, header.top #logout, header.top .ttl { display: none !important; }
  header.top .klogo { display: block; }
  header.top .klogo[hidden] { display: none; }
  header.top .logo { height: 24px; }
  header.top .burger:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 40px; padding: 0; border-radius: 8px; }
  header.top .burger svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
  nav.tabs.mnv { position: sticky; top: 0; z-index: 30; padding: 0 2px; gap: 0; overflow: hidden; box-shadow: 0 1px 4px rgba(37, 40, 43,.06); }
  nav.tabs.mnv::before, nav.tabs.mnv::after { display: none; }
  nav.tabs.mnv button { display: none; }
  nav.tabs.mnv button.pri, nav.tabs.mnv button.on { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 7px; font-size: 10.5px; letter-spacing: .03em; }
  nav.tabs.mnv button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  nav.tabs.mnv button[data-t="shopprod"] span { white-space: normal; line-height: 1.15; text-align: center; }   /* 1.36.398: „Fertige Aufträge“ zweizeilig statt abgeschnitten */
  nav.tabs.mnv .ic { display: block; }
}

/* ---------- 1.17: Kalender (Zeiterfassung) ---------- */
.kal .kbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.kal .knav { display: flex; align-items: center; gap: 6px; min-width: 0; }
.kal .knav h2 { margin: 0 0 0 6px; font-size: 18px; text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kal .knav h2::before { display: none; }
.kbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0 0 2px; }
.kbtn:hover { background: var(--chip); }
.kal .kopt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kal .kopt select { padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); max-width: 210px; }
.kseg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.kseg button { border: 0; background: var(--surface); color: var(--ink); padding: 7px 12px; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.kseg button + button { border-left: 1px solid var(--line); }
.kseg button.on { background: var(--navy); color: #fff; }
/* Monat */
.kwd { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 6px; }
.kwd span { padding-left: 6px; }
.kgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kc { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 108px; padding: 4px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; min-width: 0; background: var(--surface); }
.kc.we { background: color-mix(in srgb, var(--chip) 45%, var(--surface)); }
.kc.out { opacity: .5; }
.kc.sel { box-shadow: inset 0 0 0 2px var(--navy); }
.kch { display: flex; align-items: center; gap: 4px; min-width: 0; }
.kcn { font-size: 12.5px; font-weight: 700; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.kc.td .kcn { background: var(--cta); color: #fff; }
.kft { font-size: 11px; color: var(--link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kabs { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 3px; }
.kchip { display: block; width: 100%; text-align: left; border: 0; border-left: 3px solid var(--kc); background: color-mix(in srgb, var(--kc) 13%, var(--surface)); color: var(--ink); border-radius: 4px; padding: 2px 5px; font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.kchip:hover { background: color-mix(in srgb, var(--kc) 22%, var(--surface)); }
.kchip.aufgabe { background: var(--kc); color: #fff; border-left-color: color-mix(in srgb, var(--kc) 70%, #000); }
.kchip.done { opacity: .55; text-decoration: line-through; }
.kchip.run { box-shadow: 0 0 0 2px var(--go); }
.kmore { font-size: 11.5px; color: var(--muted); padding-left: 4px; }
.kdots { display: none; }
.kday { margin-top: 14px; }
.kday h3 { margin: 0 0 8px; font-size: 15px; }
/* Woche / Tag: Zeitraster */
.kg { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.kgrow { display: grid; grid-template-columns: 54px repeat(var(--n), minmax(0, 1fr)); }
.kghead { border-bottom: 1px solid var(--line); }
.kgdh { border: 0; background: none; color: var(--ink); padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; border-left: 1px solid var(--line); }
.kgdh span { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.kgdh b { font-size: 20px; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.kgdh.td b { background: var(--cta); color: #fff; }
.kgall { border-bottom: 1px solid var(--line); }
.kggut { font-size: 10.5px; color: var(--muted); text-align: right; padding: 4px 6px 0 0; }
.kgad { border-left: 1px solid var(--line); padding: 3px; display: flex; flex-direction: column; gap: 2px; min-height: 26px; min-width: 0; }
.kgad.we, .kgcol.we { background: color-mix(in srgb, var(--chip) 45%, var(--surface)); }
.kgft { font-size: 11px; color: var(--link); padding: 0 3px; }
.kgabs { font-size: 11px; color: var(--muted); padding: 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kgbody { max-height: 640px; overflow-y: auto; }
.kghrs { position: relative; padding: 0; }
.kghrs span { position: absolute; right: 6px; transform: translateY(-50%); font-size: 10.5px; color: var(--muted); }
.kghrs span:first-child { transform: none; }
.kgcol { position: relative; border-left: 1px solid var(--line); background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px var(--hp)); }
.kev { position: absolute; border: 0; border-left: 3px solid color-mix(in srgb, var(--kc) 70%, #000); background: color-mix(in srgb, var(--kc) 16%, var(--surface)); color: var(--ink); border-radius: 5px; padding: 3px 5px; text-align: left; font-size: 12px; line-height: 1.3; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; gap: 1px; margin-left: 1px; }
.kev.aufgabe { background: var(--kc); color: #fff; }
.kev b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kev span { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.kev.done { opacity: .55; }
.kev.run { box-shadow: 0 0 0 2px var(--go); }
.kev.kstp { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--kc) 22%, var(--surface)) 0 6px, color-mix(in srgb, var(--kc) 12%, var(--surface)) 6px 12px); color: var(--ink); border-left-style: dashed; }   /* 1.36.191: gestempelt (ganztägige Aufgabe) */
.kai .kstz { display: block; color: var(--muted); font-size: 12px; }
.kstl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; } .kstl li { font-size: 13px; }
.know { position: absolute; left: 0; right: 0; height: 2px; background: var(--cta); z-index: 2; }
.know::before { content: ''; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--cta); }
.kagw { display: none; }
/* Liste (Handy) */
.kagd + .kagd { margin-top: 10px; }
.kagh { font-size: 13px; padding: 6px 2px; border-bottom: 1px solid var(--line); margin-bottom: 6px; cursor: pointer; }
.kagh.td b { color: var(--cta); }
.kagabs { margin: 2px 0 6px; font-size: 12.5px; }
.kai { display: grid; grid-template-columns: 52px 1fr; gap: 10px; width: 100%; text-align: left; border: 0; background: var(--surface); border-left: 4px solid var(--kc); border-radius: 8px; padding: 9px 10px; margin: 0 0 6px; cursor: pointer; color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.kai:hover { background: color-mix(in srgb, var(--kc) 7%, var(--surface)); }
.kai.done { opacity: .6; }
.kait { font-weight: 700; font-size: 13.5px; display: flex; flex-direction: column; line-height: 1.25; }
.kait small, .kmrt small { font-weight: 500; color: var(--muted); font-size: 12px; }
.kaib { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kaib b { font-size: 14.5px; }
.kaib small { color: var(--muted); font-size: 12.5px; }
.kaim { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 2px; }
.kaim i, .kmc i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
/* Dialog */
.kdlg { position: fixed; inset: 0; z-index: 150; background: rgba(18, 20, 22, .45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px 16px; overflow-y: auto; }
.kdlgp { background: var(--surface); color: var(--ink); width: 100%; max-width: 640px; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.25); padding: 18px 20px 16px; border-top: 6px solid var(--kc, var(--navy)); }
.kdlgp.kform { --kc: var(--navy); }
.kdh { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.kdh h2 { margin: 6px 0 2px; font-size: 20px; text-transform: none; letter-spacing: 0; }
.kdh h2::before { display: none; }
.kdh p { margin: 0; }
/* Kalender-Fenster verschieben (1.36.170): am Kopf ziehen, danach Kalender darunter sichtbar */
@media (min-width: 701px) { .kdlg > .kdlgp > .kdh { cursor: move; user-select: none; } .kdlg.kverschoben { background: rgba(18, 20, 22, .06); } .kdlg.kverschoben > .kdlgp { box-shadow: 0 16px 48px rgba(0,0,0,.35); } }
.kx { font-size: 22px; text-decoration: none; color: var(--muted); padding: 2px 6px; }
.kmem { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 6px; }
.kmc { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--chip); font-size: 13px; }
.kmsel .kmc { cursor: pointer; }
.kmsel .kmc input { position: absolute; opacity: 0; pointer-events: none; }
.kmsel .kmc:has(input:checked) { background: var(--soft); box-shadow: 0 0 0 2px var(--navy) inset; font-weight: 600; }
.kmsel .kmc:has(input:focus-visible) { outline: 2px solid var(--link); }
.kmsel .kmc:not(:has(input:checked)) i { opacity: .45; }
.kinfo { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.kir { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: baseline; }
.kir > .hint { font-size: 12.5px; }
.kmaps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.kls .klst { border-collapse: collapse; margin: 6px 0; font-size: 13px; width: 100%; }
.klst td { padding: 3px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.klst td.r { text-align: right; white-space: nowrap; width: 1%; }
.klst tr.mont td { background: var(--go-soft); font-weight: 600; }
.ktime { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.ktime h3, .kwc h3 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.kteam { font-size: 13.5px; margin-bottom: 8px; }
.kctl { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.kchoice { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 10px; margin: 6px 0; background: var(--warn-bg); border-radius: 8px; font-size: 13.5px; }
.kwc { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.kwtext { font-size: 13px; background: var(--chip); border-radius: 8px; padding: 8px 12px; margin-top: 6px; }
.kwtext p { margin: 4px 0; }
.kdf { margin-top: 14px; align-items: center; }
.klsrow { align-items: flex-end; }
.klsv { background: var(--go-soft); border-radius: 8px; padding: 8px 12px; font-size: 13.5px; margin: 4px 0 6px; }
.kgz { align-self: flex-end; padding-bottom: 8px; }
.kdlgp.kform { display: flex; flex-direction: column; gap: 10px; }
.kdlgp.kform > * { margin-top: 0; margin-bottom: 0; }
.kform .row { gap: 10px; margin: 0; }
.kform .field { margin: 0; }
.kform .kseg2 { align-self: flex-start; }
.kform .kseg2 { display: flex; flex-wrap: wrap; max-width: 100%; }   /* 1.36.469 (Ernst 06.11. 16:17 „Krank geht über den Rahmen hinaus“): Arten umbrechen statt überstehen */
.kform .kseg2 button { flex: 1 1 auto; box-shadow: 0 -1px 0 var(--line); }
.kal .kopt { flex: 0 0 auto; flex-wrap: nowrap; }
.kal .kopt select { width: auto; min-width: 140px; }
.kal .kopt .btn, .kseg button { white-space: nowrap; }
.kal .knav { flex: 1 1 260px; }
/* Stempeluhr: Kalender-Karte */
.kme .kmeh h2 { margin-bottom: 0; }
.kme .kmeh3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 16px 0 6px; }
.kmr { display: flex; align-items: center; gap: 8px; border-left: 4px solid var(--kc); border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line) inset; padding: 2px 8px 2px 0; margin-top: 8px; }
.kmr.open { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.kmr.done { opacity: .65; }
.kmrm { flex: 1; min-width: 0; display: grid; grid-template-columns: 50px 1fr 16px; gap: 10px; align-items: center; border: 0; background: none; text-align: left; padding: 9px 0 9px 10px; color: var(--ink); cursor: pointer; }
.kmrt { font-weight: 700; font-size: 14px; display: flex; flex-direction: column; line-height: 1.2; }
.kmrx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.kmrx b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kmrx small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kmrs { font-size: 12px; font-weight: 600; color: var(--muted); }
.kmrs.run { color: var(--go); }
.kmrs.pau { color: var(--warn); }
/* Bestellungen: Dringlichkeit */
.pfu { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 9px; margin: 0 6px 2px 0; vertical-align: 1px; white-space: nowrap; }
.pfu.gruen { background: var(--go-soft, #e6f6ee); color: var(--go, #1f8a4c); } .pfu.orange { background: #f57c00; color: #fff; } .pfu.rot { background: #d32f2f; color: #fff; }
.pfu.prio { background: transparent; box-shadow: inset 0 0 0 1.5px #e0b400; color: #7a5a00; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .pfu.prio { color: #ffd400; } } .pfu.plan { background: var(--chip, #f1f2f3); color: var(--muted); }
/* Wartezeit seit Bestellung: orange ab mehr als 5, rot ab mehr als 7 Werktagen */
.pfrow.orange { border-left: 4px solid #f57c00; padding-left: 8px; background: color-mix(in srgb, #f57c00 9%, transparent); }
.pfrow.rot { border-left: 4px solid #d32f2f; padding-left: 8px; background: color-mix(in srgb, #d32f2f 9%, transparent); }
.pfprio { font-size: 13px; align-self: flex-start; margin-top: 2px; }
.pfx .pfprio { display: inline-block; }
.pflogo { height: 22px; max-width: 90px; object-fit: contain; vertical-align: middle; margin-right: 6px; background: #fff; border-radius: 4px; padding: 1px 3px; }
.pfbtns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex: none; }
.pfdruck { background: #f3f4f6; border-color: #b8bec5; color: #911d25; }
.pfdr { color: #911d25 !important; font-weight: 600; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .pfdruck { background: #25282c; border-color: #7f353a; color: #f59ca2; } html[data-site="time"] .pfdr { color: #f59ca2 !important; } }
.pfdl { color: var(--muted); }
.pfsorth { margin: 10px 0 0; }
.pfdone summary { cursor: pointer; font-weight: 600; margin-top: 10px; }
/* Fotos zu Aufgaben (Belegbilder → Weclapp-Lieferschein) */
.kfotob { cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.kfotob:focus-within { outline: 2px solid var(--brand, #c0101b); outline-offset: 2px; }
.kfup, .kfz { font-size: 12.5px; color: var(--muted); }
.kfoto { margin: 10px 0; } .kfoto h3 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kfgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 8px; }
/* 1.36.560: freigegebene Korrekturabzüge zum Lieferschein in der Aufgabe (Uhr, Kalender) – Vorschau je Seite, antippen = groß */
.kkx { margin: 10px 0; display: grid; gap: 10px; }
.kkxi h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--go, #1a7f4b); }
.kkxi > .hint { margin: 2px 0 6px; }
.kkxg { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.kkxs { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--line, #dfe2e4); border-radius: 10px; background: #fff; cursor: zoom-in; text-align: left; font: inherit; color: inherit; min-width: 0; }
.kkxs img, .kkxs .kkxl { display: block; width: 100%; height: 200px; object-fit: contain; border-radius: 6px; background: #f5f6f7; }
.kkxs .kkxl { height: auto; max-height: 200px; }
.kkxs .kkxl { display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.kkxs small { font-size: 12px; color: var(--muted); }
.kkxs:hover, .kkxs:focus-visible { border-color: var(--blue, #a70e18); }
.kff { margin: 0; position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--chip, #f1f2f3); }
.kff img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.kff .kfzoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
.kff .kfzoom:focus-visible { outline: 3px solid var(--accent, #c1101c); outline-offset: -3px; }
.kff figcaption { display: flex; flex-direction: column; gap: 1px; padding: 3px 5px 4px; font-size: 11px; line-height: 1.3; }
.kff figcaption small { color: var(--muted); }
.kfst { font-weight: 700; color: var(--muted); } .kfst.ok { color: var(--go, #1f8a4c); } .kfst.err { color: #b3261e; }
.kfweg { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 16px; line-height: 22px; cursor: pointer; padding: 0; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kfst.err { color: #ff8a80; } }
.klsauto { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; margin: 6px 0 10px; font-size: 14px; }
.klsauto .link { align-self: flex-start; }
/* Stempeluhr, aufgeklappte Aufgabe: große Knöpfe */
.kacts { display: grid; grid-template-columns: repeat(var(--kn, 3), minmax(0, 1fr)); gap: 8px; margin: 10px 0 12px; }
.kacts.n1 { --kn: 1; } .kacts.n2 { --kn: 2; } .kacts.n3 { --kn: 3; }
.kact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; padding: 10px 6px; border: 0; border-radius: 12px;
  font: inherit; font-size: 13.5px; font-weight: 700; line-height: 1.2; text-align: center; color: #fff; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.12); -webkit-tap-highlight-color: transparent; }
.kact .kaic { font-size: 22px; line-height: 1; }
.kact.go { background: #1f8a4c; } .kact.blue { background: #c81d28; } .kact.foto { background: #3a4656; }
.kact:active { transform: translateY(1px); filter: brightness(.95); } .kact:focus-visible, .kact.foto:focus-within { outline: 3px solid #f5b400; outline-offset: 2px; }
.kact.busy { cursor: default; opacity: .85; }
/* Allgemein (yourprintdesign): ohne Mitarbeiter, für alle */
.tag.kallgt { background: #eaeced; color: #3b4a5c; }
.tag.kintt { background: #f6ead2; color: #6b4600; } .kmrs.warn { color: var(--warn); font-weight: 600; }   /* interne Aufgabe (1.36.130) */
.kallge { margin: 6px 0; }
.kallg { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 4px; }
.kallg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kallg li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border-left: 4px solid #5b6b7f; background: color-mix(in srgb, #5b6b7f 7%, var(--surface)); }
.kallg li.done { opacity: .65; } .kallg li.done b { text-decoration: line-through; }
.kallgw { flex: none; min-width: 74px; font-size: 13px; font-weight: 700; color: var(--muted); }
.kallgt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .kallgt small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kallgok { flex: none; font-size: 12.5px; font-weight: 700; color: var(--go); }
@media (prefers-color-scheme: dark) { html[data-site="time"] .tag.kallgt { background: #26303b; color: #cbd0d4; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .tag.kintt { background: #3a2c12; color: #f0cf8e; } }
:root[data-theme="dark"] .tag.kintt { background: #3a2c12; color: #f0cf8e; }
/* Pinnwand der Verwaltung: oben in der Stempeluhr, Verwaltung unter „Heute“ */
.ztpin { border-left: 5px solid #e0a030; background: color-mix(in srgb, #e0a030 8%, var(--surface)); }
.ztpinh { display: flex; gap: 10px; align-items: flex-start; }
.ztpinh > div { display: flex; flex-direction: column; } .ztpinh b { font-size: 17px; }
.ztpini { font-size: 24px; line-height: 1; }
.ztpint { margin: 8px 0 10px; font-size: 16px; line-height: 1.45; white-space: normal; }
.ztpinls { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ztpinl { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 8px; }
/* Abfahrt zum Kunden: Sanduhr + Countdown (Uhr, Dashboard) */
.kabf { --ac: #1f8a4c; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 4px 10px 4px 6px; border-radius: 10px; background: color-mix(in srgb, var(--ac) 11%, transparent); color: var(--ac); align-self: flex-start; max-width: 100%; }
.kabf.los { --ac: #b21f29; } .kabf .kabfi { font-size: 20px; line-height: 1; }   /* 1.36.278: unterwegs */
.kabflos { white-space: nowrap; }
/* 1.36.283: Shop im Aufbau – Produkt vorschlagen (Banner auf der Startseite bei den Kategorien, Fenster mit Text) */
.skwunsch { display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #fff4d6, #ffe3b0); border: 2px solid #f0a500; color: #4a3200; box-shadow: var(--shadow); }
.skwunsch .skwi { font-size: 34px; line-height: 1; }
.skwunsch .skwt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; } .skwunsch .skwt b { font-size: 18px; } .skwunsch .skwt span { font-size: 15px; }
.skwunsch .skwb { background: #1f2a33; color: #fff; border-color: #1f2a33; font-weight: 700; white-space: nowrap; }
.skwunsch.klein { padding: 10px 14px; } .skwunsch.klein .skwi { font-size: 24px; } .skwunsch.klein .skwt b { font-size: 15px; } .skwunsch.klein .skwt span { font-size: 13px; }
@media (max-width: 560px) { .skwunsch { flex-wrap: wrap; } .skwunsch .skwb { width: 100%; } }
:root[data-theme="dark"] .skwunsch { background: linear-gradient(135deg, #3a2c0d, #4a3410); border-color: #c98a00; color: #ffe2a3; } :root[data-theme="dark"] .skwunsch .skwb { background: #ffe2a3; color: #2a1f05; border-color: #ffe2a3; }
.skwov { position: fixed; inset: 0; z-index: 1500; background: rgba(18, 20, 22,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.skwov .skwbox { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 18px; width: min(520px, 100%); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.skwov .skwbox h2 { margin: 0 0 6px; font-size: 20px; } .skwov textarea { width: 100%; box-sizing: border-box; font: inherit; } .skwov .skwbtn { gap: 8px; margin-top: 10px; } .klosz { display: flex; justify-content: flex-end; margin: -2px 0 8px; }
.kabf.mittel { --ac: #b7791f; } .kabf.bald { --ac: #d2541e; } .kabf.jetzt { --ac: #c62828; animation: kabfp 1.6s ease-in-out infinite; }
.kabf > span { display: flex; flex-direction: column; min-width: 0; }
.kmrx .kabf b, .kabf b { font-size: 14px; color: var(--ac); white-space: nowrap; }
.kmrx .kabf small, .kabf small { color: var(--ink); opacity: .75; }
.kuhrg { width: 20px; height: 27px; flex: none; color: var(--ac); }
.kuhrg .glas { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.kuhrg .rahmen { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.kuhrg .sand { fill: currentColor; opacity: .85; }
.kuhrg .strom { stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1.5 2; animation: kuhrs 1s linear infinite; }
@keyframes kuhrs { to { stroke-dashoffset: -7; } }
@keyframes kabfp { 50% { background: color-mix(in srgb, var(--ac) 24%, transparent); } }
@media (prefers-reduced-motion: reduce) { .kuhrg .strom, .kabf.jetzt { animation: none; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kabf { --ac: #4cc38a; } html[data-site="time"] .kabf.mittel { --ac: #f0b552; } html[data-site="time"] .kabf.bald { --ac: #ff8a5c; } html[data-site="time"] .kabf.jetzt { --ac: #ff6b6b; } }
.kmrc::after { content: ''; display: block; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
.kmr.open .kmrc::after { transform: rotate(-135deg); margin-top: 4px; }
.kib { width: 36px; height: 36px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; cursor: pointer; background: var(--chip); color: var(--ink); flex: none; }
.kib.ztgo { background: var(--go); color: #fff; }
.kib.ztpause { background: #f0a020; color: #fff; }
.kmrd { border-left: 4px solid var(--kc, var(--line)); box-shadow: 0 0 0 1px var(--line) inset; border-top: 0; border-radius: 0 0 10px 10px; padding: 4px 12px 10px; margin-top: -1px; background: color-mix(in srgb, var(--chip) 35%, var(--surface)); }
.kmr + .kchoice { margin-top: 4px; }
.kchoice.kcmain { padding: 10px 12px; gap: 8px; }   /* Stempeluhr: Pause/Weiter/Feierabend für das Team? (1.36.112) */
.kcmain .kcq { flex: 1 1 100%; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.kcmain .kcq .hint { font-size: 13px; }
.kmed { margin-top: 10px; }
.kmed > .hint { font-size: 12.5px; font-weight: 600; }
@media (max-width: 700px) {
  .kal .kbar { gap: 8px; }
  .kal .knav { width: 100%; }
  .kal .knav h2 { font-size: 16px; }
  .kal .kopt { width: 100%; flex-wrap: wrap; }
  .kal .kopt select { flex: 1; max-width: none; min-width: 0; }
  .kal .kopt .kseg { flex: 1 1 100%; }
  .kal .kopt .kseg button { flex: 1; }
  .kseg button { padding: 8px 10px; }
  .kc { min-height: 54px; padding: 3px 1px; align-items: center; }
  .kch { justify-content: center; }
  .kft, .kabs, .kchip, .kmore { display: none; }
  .kdots { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; margin-top: 2px; }
  .kdots i { width: 6px; height: 6px; border-radius: 50%; }
  .kdots i.ab { background: var(--muted); opacity: .5; }
  .kc.ft .kcn { color: var(--link); }
  .kgw { display: none; }
  .kagw { display: block; }
  .kdlg { padding: 0; align-items: flex-end; }
  .kdlgp { border-radius: 16px 16px 0 0; max-height: 94vh; overflow-y: auto; padding: 14px 16px 22px; max-width: none; }
  .kir { grid-template-columns: 1fr; gap: 2px; }
}
/* Handy: Tabellen als Karten (app.js setzt die Beschriftungen) */
@media (max-width: 700px) {
  table.stk, table.stk tbody, table.stk tfoot, table.stk tr { display: block; width: 100%; }
  table.stk thead { display: none; }
  table.stk tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; background: var(--surface); }
  table.stk td, table.stk tbody th, table.stk tfoot th { display: block; position: relative; border: 0 !important; padding: 3px 0 3px 36% !important; text-align: left !important; white-space: normal !important; width: auto !important; min-height: 1.4em; }
  table.stk td::before, table.stk th::before { content: attr(data-label); position: absolute; left: 0; top: 4px; width: 33%; color: var(--muted); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.35; }
  table.stk td[data-label=""], table.stk td:first-child, table.stk th:first-child { padding-left: 0 !important; }
  table.stk td[data-label=""]::before, table.stk td:first-child::before, table.stk th:first-child::before { display: none; }
  table.stk td:first-child, table.stk th:first-child { font-size: 15px; padding-bottom: 5px !important; }
  table.stk td:empty { display: none; }
  table.stk tr.on, table.stk tr.sel { box-shadow: 0 0 0 2px var(--navy) inset; }
  .tbl:has(> table.stk) { overflow-x: visible; }
}

/* ---------- 1.18: Kalender als eigener Knopf rechts im Kopf – hellblau mit dunkelblauer Schrift (wie in der App) ---------- */
header.top .hkal { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 32px; padding: 0 13px; border: 0; border-radius: 3px; background: #e5e7e9; color: #2e3237; font-family: inherit; font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
header.top .hkal svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
header.top .hkal:hover { background: #f0f1f2; }
header.top .hkal.on { background: #fff; box-shadow: inset 0 -3px 0 #ec1322; }
header.top .hkal:focus-visible { outline: 2px solid #ec1322; outline-offset: 2px; }
header.top .hkal[hidden] { display: none; }
@media (max-width: 700px) { header.top .hkal { height: 30px; padding: 0 9px; font-size: 12px; gap: 5px; } }
@media (max-width: 360px) { header.top .hkal span { display: none; } }

/* 1.18: Kalender – Zeitspanne ziehen, offene Urlaubsanträge (gestrichelt), Beginn/Ende */
.kgrid .kc.kdsel { background: #e8ebed; box-shadow: inset 0 0 0 2px #ab0e18; }
.kgrid { user-select: none; -webkit-user-select: none; }
.kabs.kreq, .kgabs.kreq { color: #8a5a00; background: repeating-linear-gradient(135deg, rgba(245, 165, 36, .16) 0 6px, transparent 6px 12px); border: 1px dashed #e0a030; border-radius: 4px; }
.kagabs.kreq { padding: 3px 8px; display: inline-block; }
.kdots .rq { background: transparent; border: 1.5px dashed #e0a030; box-sizing: border-box; }
.kdraghint { margin: 6px 2px 0; font-size: 12px; }
.kform .kspan .field { min-width: 0; }
@media (max-width: 700px) { .kdraghint { display: none; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kgrid .kc.kdsel { background: rgba(171, 14, 24, .28); } html[data-site="time"] .kabs.kreq, html[data-site="time"] .kgabs.kreq { color: #f5c46a; } }

/* 1.18: Einträge per Ziehen verschieben; heutiger Tag hellblau */
.kgrid .kc.td, .kgcol.td, .kgad.td, .kgdh.td, .kagd:has(.kagh.td) { background: #eef0f2; }
.kgrid .kc.td.sel { background: #e5e8ea; }
.kgrid .kc.kdrop, .kgcol.kdrop, .kgad.kdrop { background: #e0e3e6; box-shadow: inset 0 0 0 2px #ab0e18; }
.kmoving { opacity: .45; }
body.kdragging, body.kdragging * { cursor: grabbing !important; user-select: none; }
.kgrid [data-ke], .kg [data-ke] { touch-action: manipulation; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kgrid .kc.td, html[data-site="time"] .kgcol.td, html[data-site="time"] .kgad.td, html[data-site="time"] .kgdh.td, html[data-site="time"] .kagd:has(.kagh.td) { background: rgba(171, 14, 24, .18); } html[data-site="time"] .kgrid .kc.kdrop, html[data-site="time"] .kgcol.kdrop, html[data-site="time"] .kgad.kdrop { background: rgba(171, 14, 24, .32); } }
.kgcol.kdsel, .kgad.kdsel { background: #e8ebed; box-shadow: inset 0 0 0 2px #ab0e18; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kgcol.kdsel, html[data-site="time"] .kgad.kdsel { background: rgba(171, 14, 24, .28); } }

/* 1.18: Einsatz ohne Termin auf der Stempeluhr (Lieferschein-Nr.) – „Aufträge & Tätigkeiten“ auf dem Handy nur, wenn etwas läuft */
.kspon { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.kspon .field { margin-bottom: 8px; }
.kspon .row { gap: 8px; flex-wrap: wrap; }
.kspon .hint { margin: 6px 0 0; font-size: 12.5px; }
/* Produktion fertig (Lieferschein) */
.btn.ztfertig { background: var(--go-soft, #e3f4e8); border-color: var(--go); color: var(--go); font-weight: 600; }
.kmrs.fertig { color: var(--go); }
.kfertig { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--go-soft, #e3f4e8); color: var(--ink); font-size: 13.5px; }
.kfertig b { color: var(--go); }
.kfertigr { align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.kfh { margin-top: 12px; }
/* Zeiterfassung › Bestellungen: Lieferschein fertig melden */
.pfin { align-items: flex-end; gap: 10px; flex-wrap: wrap; } .pfin .field { min-width: 180px; margin: 0; }
.pflist { display: flex; flex-direction: column; }
/* Zeiterfassung › Konto (Mitarbeiter) */
.ztkonto .ztk1 b { font-size: clamp(22px, 6vw, 30px); white-space: nowrap; }
.ztkonto .ztkheute b { font-size: clamp(20px, 5vw, 26px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ztkonto .ztkheute.an { border-color: var(--go); }
.ztkonto .ztkheute .tag { font-size: 10px; padding: 0 5px; vertical-align: 1px; }
.card > .ztkonto + .ztreqbtns { margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; align-items: stretch; }
.card > .ztkonto + .ztreqbtns .btn { padding: 10px 8px; font-size: 14.5px; line-height: 1.2; }
.card > .ztkonto + .ztreqbtns .link { align-self: center; }
/* eine Liste: gelb = wartet auf Freigabe, grün = genehmigt/eingetragen, rot = abgelehnt */
.ztkliste .ztkl { gap: 6px; }
.ztkliste .ztkl li { border-top: 0; border-radius: 8px; padding: 8px 10px; border-left: 4px solid var(--line); background: var(--chip); }
.ztkliste .ztkl li.ztk-offen { background: var(--warn-bg); border-left-color: #e0a100; }
.ztkliste .ztkl li.ztk-ok { background: var(--go-soft); border-left-color: var(--go); }
.ztkliste .ztkl li.ztk-nein { background: var(--bad-bg); border-left-color: var(--bad); }
.ztkliste .ztkl li.ztk-zurueck { opacity: .75; }
.ztkliste .ztkalt { margin-top: 10px; } .ztkliste .ztkalt > summary { cursor: pointer; } .ztkliste .ztkalt .ztkl { margin-top: 8px; }
.ztkleg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; border-left: 3px solid; }
.ztkleg.ztk-offen { background: var(--warn-bg); border-color: #e0a100; } .ztkleg.ztk-ok { background: var(--go-soft); border-color: var(--go); }
.ztkl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ztkl li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); }
.ztkl li:first-child { border-top: 0; } .ztkl li .tag { grid-row: span 2; align-self: start; white-space: nowrap; } .ztkl li .hint { font-size: 12.5px; }
.pfrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.pfrow .btn { white-space: nowrap; flex: none; } .pfrow:first-child { border-top: 0; } .pfx { min-width: 0; } .pfx small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.kfh .kmeh3 { margin: 0 0 6px; }
.kfhr { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.kfhr > span { min-width: 0; }
.kfhr small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
@media (max-width: 700px) { .ztpsec.leer { display: none; } .ztpsec .ztpadd { display: none; } .kspon .row .btn { flex: 1 1 auto; } }

/* 1.18.1: Fenster (Eintrag, Formular) auf dem Handy – Seite dahinter steht still, nur das Fenster scrollt;
   Kopf (✕) und Knöpfe (Speichern) bleiben sichtbar; kein Hineinzoomen beim Antippen der Felder (iPhone) */
body.kdlgopen { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
.kdlg, .kdlgp { overscroll-behavior: contain; }
.kdlgp.kform > * { flex-shrink: 0; }   /* im Handy-Fenster (feste Höhe) wurden sonst Teile zusammengedrückt – z. B. die Auswahl Termin/Aufgabe/Urlaub auf 2 px */
@media (max-width: 700px) {
  .kdlg { overflow: hidden; height: 100%; height: 100dvh; }
  .kdlgp { max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px - env(safe-area-inset-top)); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px; }
  .kdlgp .kdh { position: sticky; top: 0; z-index: 3; background: var(--surface); padding: 14px 0 8px; margin: 0; }
  .kdlgp .kdf { position: sticky; bottom: 0; z-index: 3; background: var(--surface); margin: 0; padding: 10px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); flex-wrap: wrap; }
  .kdlgp > :last-child:not(.kdf) { margin-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .kdlgp.kform { gap: 12px; }
  .kform .row:not(.kspan):not(.klsrow):not(.kdf) > .field { flex: 1 1 100%; }
  .kform .kspan { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
  .kform .kspan .field, .kform .kspan input { width: 100%; min-width: 0; }
}
@media (pointer: coarse) {
  input, select, textarea { font-size: 16px; }
  input[type=date], input[type=time] { -webkit-appearance: none; appearance: none; min-height: 42px; line-height: 1.3; text-align: left; display: block; width: 100%; background: var(--surface); }
  input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value { text-align: left; margin: 0; }
}

/* 1.19: Kalkulation (Verwaltung) */
.kk .kkhead h2 { margin: 0; }
.kknav { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; max-width: 100%; }
.kknav button { white-space: nowrap; }
.kkbar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: #fff7e0; border: 1px solid #f0c060; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.kkbar span { flex: 1 1 260px; }
.kkbar input { flex: 1 1 200px; max-width: 320px; }
.kkbar.cmp { background: #f1f2f3; border-color: #bec4ca; }
.kkt { font-variant-numeric: tabular-nums; }
.kkt td.r, .kkt th.r { text-align: right; white-space: nowrap; }
.kkt small { display: block; font-size: 11px; line-height: 1.2; }
.kkup { color: #b3261e; }
.kkdn { color: #1b7f3b; }
.kkneu { color: var(--muted); }
.kkrow { cursor: pointer; }
.kkrow:hover td { background: rgba(171, 14, 24, .05); }
.kkrow.open td { background: rgba(171, 14, 24, .08); }
.kkname { text-align: left; font-weight: 600; color: inherit; }
.kkcost { color: var(--muted); }
.kkmal { white-space: nowrap; color: var(--muted); font-size: 13px; }
.kkdetrow > td { background: var(--bg); padding: 10px 12px 14px; }
.kkdet { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.kkdet table tfoot td { font-weight: 600; }
.kkmx th { text-align: left; font-weight: 600; }
.kknum { width: 100px; text-align: right; }
.kkt input[type=text].kknum { padding: 6px 8px; }
.kkparts select { max-width: 460px; width: 100%; }
.kkprev { background: var(--bg); border-radius: 8px; padding: 8px 12px; }
.kkprev p { margin: 0; }
.kkgrid { display: flex; flex-direction: column; gap: 6px; }
.kkpos { align-items: flex-end; }
.kkpos select { min-width: 0; }
.kkctl { align-items: flex-end; }
.kkline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.kkline > span:first-child { font-weight: 600; }
.kkline input { width: auto; }
.kkkopf { margin: 18px 0 6px; font-size: 15px; letter-spacing: .04em; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kkkopf select { font-size: 13px; font-weight: 400; letter-spacing: 0; max-width: 340px; }
.kkuk { margin: 10px 0 4px; font-size: 13px; color: var(--muted); }
.kklist td:first-child { min-width: 260px; }
.kklist select { font-size: 12px; margin-left: 6px; max-width: 160px; }
.kkhint { margin: 0; padding-left: 18px; }
.kkhint li { margin: 4px 0; }
.kk .row > .grow { flex: 1 1 220px; min-width: 0; }
.kkhead .row { gap: 4px 12px; }
@media (max-width: 700px) {
  .kkbar { top: 0; border-radius: 0; margin: -4px -4px 10px; }
  .kklist td:first-child { min-width: 180px; }
  .kknum { width: 84px; }
  .kkhead .row > h2 { flex-basis: 100%; }
  .kknav { display: flex; flex-wrap: wrap; overflow: hidden; }
  .kknav button { flex: 1 1 auto; box-shadow: -1px -1px 0 var(--line); }
  .kknav button + button { border-left: 0; }
  .kkctl > .grow, .kkpos > .grow { flex-basis: 100%; }
  .kkctl > .field:not(.grow) { flex: 1 1 160px; }
  .kkpos > .field:not(.grow) { flex: 1 1 auto; }
  .kkt .kkcost, .kkt .kkmal { display: none; }
  .kkt thead th:first-child, .kkt .kkrow > td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); min-width: 130px; max-width: 170px; }
  .kkt .kkrow.open > td:first-child { box-shadow: inset 0 0 0 999px rgba(171, 14, 24, .08); }
}
@media (prefers-color-scheme: dark) { html[data-site="time"] .kkbar { background: #3a2f12; border-color: #7a5d1a; } html[data-site="time"] .kkbar.cmp { background: #2a2e32; border-color: #862c32; } html[data-site="time"] .kkup { color: #ff8a80; } html[data-site="time"] .kkdn { color: #7fd99a; } }
/* Druck: Preisliste */
.kkprint { font: 10pt/1.35 Arial, sans-serif; color: #000; }
.kkprint h1 { font-size: 15pt; margin: 0 0 2mm; }
.kkprint .kkpd { margin: 0 0 4mm; color: #444; }
.kkprint table { width: 100%; border-collapse: collapse; margin: 0 0 3mm; }
.kkprint th, .kkprint td { border-bottom: .2mm solid #bbb; padding: 1.2mm 1.5mm; text-align: left; }
.kkprint td.r, .kkprint th.r { text-align: right; }
.kkprint .kkkopf { font-size: 11pt; margin: 5mm 0 2mm; break-after: avoid; }
.kkprint .kkline { display: flex; justify-content: space-between; border-bottom: .2mm solid #ddd; padding: 1.2mm 0; }
.kkprint .hint { color: #555; }
.kkprint tr { break-inside: avoid; }

/* Lieferadresse aus Weclapp am Objekt (Inventur) */
.lief { margin: 8px 0 2px; line-height: 1.5; }
.lief .lbl { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.lief.edit { background: var(--bg); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.lief.edit .field { flex: 1 1 140px; } .lief.edit .field.grow { flex: 2 1 220px; }
/* Tarifmaterial (Ausstattung) */
.tmh { margin: 16px 0 6px; font-size: 14px; }
.tml { margin: 0 0 6px; padding-left: 18px; } .tml li { margin: 3px 0; }
.tmed { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.tmrow { align-items: flex-end; flex-wrap: nowrap; } .tmrow .tmm { flex: 0 0 76px; } .tmrow .tmn { flex: 0 0 130px; } .tmrow .tmb { flex: 0 0 132px; }
.tmh.tmber { margin: 10px 0 2px; font-size: .95em; color: var(--muted); } .tmh.tmber:first-child { margin-top: 2px; }   /* 1.36.287: Tarifmaterial je Bereich */
.tmberw { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 16px 0; }
@media (max-width: 560px) { .tmrow { flex-wrap: wrap; } .tmrow .grow { flex-basis: 100%; order: -1; } }
.tmv ul { margin: 6px 0 0; padding-left: 18px; } .tmv li { margin: 4px 0; }
/* 1.36.231 (Ernst): Tarifmaterial als eigene Karte unter „Parkieranlage“ – deutlich sichtbar, Positionen mit Artikelbild und großer Menge; Auswahl aus dem Shop als Fenster */
.tmcard { border: 2px solid #f18f96; }
.tmkopf { display: flex; flex-direction: column; gap: 3px; } .tmkopf .hint { margin: 0 0 0 12px; }
.tmpos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tmpos li { display: grid; grid-template-columns: 56px minmax(44px, auto) minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.tmpos li:first-child { border-top: 0; padding-top: 2px; }
.tmpos img, .tmart img, .tmph { width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: #9aa7b3; }
.tmq { font-size: 22px; font-weight: 800; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tmat { display: flex; flex-direction: column; gap: 1px; min-width: 0; overflow-wrap: anywhere; } .tmat b { font-weight: 700; line-height: 1.3; } .tmat .hint { font-size: 12.5px; }
.tmleer { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.tmknopf { gap: 8px; }
.tmov { position: fixed; inset: 0; z-index: 160; background: rgba(18, 20, 22, .5); display: flex; align-items: flex-start; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.tmpop { background: var(--surface); color: var(--ink); width: 100%; max-width: 720px; max-height: 100%; display: flex; flex-direction: column; border-radius: 14px; border-top: 6px solid var(--blue); box-shadow: 0 20px 60px rgba(0,0,0,.28); overflow: hidden; }
.tmpk { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 18px 10px; border-bottom: 1px solid var(--line); }
.tmpk h2 { margin: 0 0 2px; font-size: 19px; } .tmpk .hint { margin: 0; }
.tmx { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muted); padding: 6px 8px; border-radius: 6px; cursor: pointer; } .tmx:hover { background: var(--bg); }
.tmpb { overflow-y: auto; padding: 4px 18px 14px; -webkit-overflow-scrolling: touch; }
.tmpb h3 { margin: 14px 0 6px; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tmarts { display: flex; flex-direction: column; gap: 6px; }
.tmart { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--surface); }
.tmart:hover { border-color: var(--blue); }
.tmart.on { border-color: var(--blue); background: #f1f2f3; box-shadow: inset 4px 0 0 var(--blue); }
.tmda { font-size: 12px; font-weight: 700; color: var(--go); }
.tmstep { display: inline-flex; align-items: center; gap: 6px; } .tmstep b { min-width: 22px; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.tmart:not(.on) .tmstep b { color: var(--muted); font-weight: 600; }
.tmsb { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 19px; font-weight: 700; line-height: 1; cursor: pointer; color: var(--navy); }
.tmsb[data-tp] { background: var(--navy); border-color: var(--navy); color: #fff; } .tmsb:disabled { opacity: .35; cursor: default; }
.tmpf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
@media (max-width: 560px) { .tmov { padding: 0; align-items: stretch; } .tmpop { max-width: none; border-radius: 0; max-height: none; height: 100%; } .tmpf .link { flex-basis: 100%; order: 3; } .tmpos li { grid-template-columns: 48px minmax(36px, auto) minmax(0, 1fr); gap: 10px; } .tmpos img, .tmart img, .tmph { width: 48px; height: 48px; } .tmart { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; } }
/* Shop › Artikel */
.shf { align-items: flex-end; }
.sht td { vertical-align: top; } .sht .shimg { width: 52px; } .sht .shimg img { width: 48px; height: 48px; object-fit: contain; border-radius: 6px; background: var(--bg); }
.shrow { cursor: pointer; } .shrow:hover td { background: rgba(171, 14, 24, .05); } .shrow.off td { opacity: .55; }
/* Shop-Bestellungen: erledigt grün, überfällig (nicht erledigt nach X Tagen) orange */
.shrow.sherl td { background: var(--sh-erl); } .shrow.sherl td:first-child { box-shadow: inset 4px 0 0 var(--go); }
.shrow.shueb td { background: var(--sh-ueb); } .shrow.shueb td:first-child { box-shadow: inset 4px 0 0 var(--sh-ueb-k); }
.shrow.sherl:hover td, .shrow.shueb:hover td { filter: brightness(.97); }
.sherlb { white-space: nowrap; }
.shhand { display: inline-block; font-size: 15px; line-height: 1; vertical-align: -1px; cursor: help; }
.sherlc { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 6px; }
.sherlv { font-size: 12.5px; font-weight: 600; color: var(--go); }
.sheueb { font-size: 12px; font-weight: 700; color: var(--sh-ueb-t); white-space: nowrap; }
.chip.chsep { margin-left: 10px; }
.chip .chn { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--chip); color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; }
.chip.cherl .chn { background: var(--sh-erl); color: var(--go); }
.sherin { margin-top: 10px; font-size: 13.5px; } .sherin summary { cursor: pointer; color: var(--muted); }
.sherinr { gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; } .sherinr .field:first-child { flex: 0 0 110px; } .sherinr .grow { min-width: 220px; }
.sherld { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 8px 0 4px; padding: 10px 12px; border-radius: 8px; background: var(--chip); }
.sherld.on { background: var(--sh-erl); } .sherld.on b { color: var(--go); }
.sherld.ueb { background: var(--sh-ueb); } .sherld.ueb b { color: var(--sh-ueb-t); }
.sherlp { font-size: 13px; font-weight: 600; color: var(--go); }
.vswarn { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; }
.shname { font-weight: 600; text-align: left; color: inherit; }
.shed h3 { margin: 16px 0 6px; font-size: 14px; }
.shed .chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; margin-right: 14px; }
.shpk .row { max-width: 520px; align-items: center; flex-wrap: nowrap; } .shpk .row > span.grow { flex: 1 1 auto; } .shpk .shnum { flex: 0 0 120px; width: 120px; text-align: right; } .shpk select { max-width: 320px; }
.shkd { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 6px 0 0 24px; }
.shfiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 8px; }
.shprev { max-width: 260px; max-height: 200px; object-fit: contain; border-radius: 8px; background: var(--bg); display: block; margin-bottom: 6px; }
.shdl { margin: 0 0 6px; padding-left: 18px; } .shdl li { margin: 3px 0; }
.shup { font-size: 13px; color: var(--muted); }
.shbtn { margin-top: 16px; align-items: center; }
/* Shop der Betriebsleiter (shopkat.js) */
.skroot { padding-bottom: 24px; }
.skvor { background: var(--warn-bg); border-color: transparent; } .skvor .hint { color: var(--warn); }
.skobj .row { align-items: flex-end; }
.sklief { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.skla { display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.skq { flex: 0 1 260px; }
.skgrp { display: flex; flex-direction: column; gap: 10px; }
.skgrp h2 { margin: 6px 2px 0; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
@media (prefers-color-scheme: dark) { html[data-site="time"] .skgrp h2 { color: var(--ink); } }
.skw { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
/* Artikel- und Kategoriekacheln sehen gleich aus (1.36.80): Bild weiß und ganz in der Höhe eingepasst, blauer Strich, Text hellblau hinterlegt */
.skart { --skhell: #f1f2f3; background: var(--skhell); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.skimg { position: relative; display: grid; place-items: center; width: 100%; height: 220px; padding: 0; border: 0; border-bottom: 3px solid var(--blue); border-radius: 0; background: #fff; font: inherit; color: inherit; }
button.skimg { cursor: pointer; } button.skimg:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.skimg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; padding: 12px 12px 10px; box-sizing: border-box; }
.skart:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(206, 17, 29,.15); }
@media (max-width: 480px) { .skimg { height: 180px; } }
.skico { color: var(--navy); width: 56px; height: 56px; display: inline-flex; opacity: .75; } .skico svg { width: 100%; height: 100%; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .skico { color: var(--link); } }
.skbody { padding: 10px 12px 4px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.skbody h3 { margin: 0; font-size: 15px; line-height: 1.3; }
.skpr { margin: 2px 0 0; }
.skact { display: flex; gap: 6px; padding: 8px 12px 12px; align-items: center; }
.skact input[type=number] { width: 64px; flex: 0 0 64px; padding: 6px 8px; }
.skact .btn { flex: 1; justify-content: center; }
.skbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(37, 40, 43,.08); }
.skbar span { font-size: 14px; }
.skcfg h3 { margin: 14px 0 4px; font-size: 14px; }
.skgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .skgrid { grid-template-columns: 1fr; } .skpv { position: static; } }
.skform { display: flex; flex-direction: column; gap: 10px; }
.skform > .link { align-self: flex-start; }
.skinfo { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.skinfo .field { min-width: 160px; }
.skdir { display: grid; grid-template-columns: repeat(3, 34px); grid-auto-rows: 34px; gap: 3px; }
.skdir button { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; font-size: 17px; line-height: 1; cursor: pointer; color: var(--ink); padding: 0; }
.skdir button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 1.36.135: Pfeil der Vorlage, drehbar in 45°-Schritten */
.skpfx { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.skpfrow { display: flex; align-items: center; gap: 6px; }
.skpfa { width: 64px; height: 64px; padding: 8px; border: 1px solid #c9d3de; border-radius: 10px; background: #fff; color: #a30d17; cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.12); }   /* Pfeil der Schilder: blau auf weiß */
.skpfa svg { width: 100%; height: 100%; display: block; }
.skpfa.aus { background: var(--chip); color: var(--muted); opacity: .55; }
.skpfa:focus-visible, .skpfd:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.skpfd { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; }
.skpfd:hover { background: var(--chip); }
.skpfw { font-size: 12px; color: var(--muted); min-height: 1.2em; }
.skpfk { font-size: 12px; padding: 3px 9px; }
.skpfch { font-size: 30px; line-height: 1; }
.skpv { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); border-radius: 10px; padding: 14px; }
.skfaces { display: flex; flex-wrap: wrap; gap: 12px; }
.skfaces figure { margin: 0; display: flex; flex-direction: column; gap: 4px; max-width: 100%; }
.skfaces figcaption { font-size: 12px; color: var(--muted); }
.skres { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; font-size: 14px; }
.skres dt { color: var(--muted); } .skres dd { margin: 0; }
.skfont { font-size: 12px; }
.sknum { width: 80px; text-align: right; }
.sktar td { vertical-align: middle; } .sktar input[type=text] { width: 100%; }
.skup { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.skkorb td { vertical-align: top; } .skkpv { width: 64px; } .skkpv img, .skkpv svg { max-width: 64px; max-height: 44px; }
.skkpv .skico { width: 36px; height: 36px; } .skkact { white-space: nowrap; } .skkact .link { padding: 2px 5px; }
.skkorb tfoot td { border-top: 2px solid var(--line); }
.skok h2 { color: var(--go); }
.skmeine { display: flex; flex-direction: column; gap: 8px; }
.skme { border: 1px solid var(--line); border-radius: 8px; }
.skmeh { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: center; padding: 10px 12px 4px; color: var(--ink); box-sizing: border-box; }
.skmetog { margin: 0 12px 8px; align-self: flex-start; font-size: 13px; }
.skme { display: flex; flex-direction: column; }
/* Stand der Bestellung (Meine Bestellungen) */
.skprio { margin: 6px 12px 2px; display: flex; gap: 8px; align-items: flex-start; background: #fff4e5; border: 1px solid #f0b552; color: #6b4300; border-radius: 8px; padding: 8px 10px; font-size: 14px; line-height: 1.4; }
.skprio b { color: #5a3700; }
/* Meine Bestellungen: Auftrag von yourprintdesign angelegt (von Hand) */
/* von yourprintdesign angelegt (Auftrag von Hand): nur ein neutraler Hinweis – Lila bleibt dem Kombiversand vorbehalten (1.36.130) */
.skhand { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 9px 12px 0 14px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.skhand > span:first-child { color: var(--muted); font-size: 14px; line-height: 1.3; }
.skhand b { color: var(--ink); font-weight: 600; }
.sktmf { align-items: flex-end; flex-wrap: wrap; } .sktmf .field { min-width: 200px; }
.sktm td { vertical-align: top; }
/* Meine Bestellungen: Platz in der Produktion */
.skwarte { margin: 6px 12px 2px; }
.skwb { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; line-height: 1.3; cursor: pointer; background: #f3f4f6; border: 1px solid #ccd1d6; color: #911d25; border-radius: 999px; padding: 5px 12px; text-align: left; }
.skwb b { font-size: 16px; }
.skwb.dran { background: #e6f6ee; border-color: #9fd6b6; color: #17663a; }
.skwb:hover { filter: brightness(.97); } .skwb:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.skwi { opacity: .65; font-size: 13px; }
.skwt { margin: 6px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.45; max-width: 62ch; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .skwb { background: #25282c; border-color: #7f353a; color: #f59ca2; } html[data-site="time"] .skwb.dran { background: #12301f; border-color: #2f7a4f; color: #8fe0b0; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .skprio { background: #3a2c10; border-color: #8a6420; color: #f3d9a4; } html[data-site="time"] .skprio b { color: #ffe2a6; } }
.skvw { container: skv / inline-size; }   /* 1.36.319 (Ernst 30.10. 16:16): Etappen immer in einer Zeile – im Kombiversand (schmalere Karte) brach die Leiste um, die Linie der 2. Zeile ragte links heraus */
.skvl { list-style: none; margin: 4px 12px 8px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; counter-reset: none; }
.skvl li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0 4px 6px; color: var(--muted); }
.skvl li::before { content: ''; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.skvl li:first-child::before { display: none; }
.skvl li.done::before, .skvl li.next::before { background: var(--go); }
.skvl li.next::before { background: linear-gradient(90deg, var(--go), var(--line)); }
.skvd { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.skvl li.done .skvd { background: var(--go); border-color: var(--go); color: #fff; }
.skvl li.next .skvd { border-color: var(--go); color: var(--go); }
.skvl li.done, .skvl li.next { color: var(--ink); }
.skvt { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; line-height: 1.25; }
.skvt small { color: var(--muted); font-size: 12px; }
.skvdl { font-size: 12.5px; }
.skvt b, .skvdl { hyphens: manual; overflow-wrap: break-word; }
/* schmale Karte (Kombiversand, Tablet): kleiner, weiter in einer Zeile; sehr schmal: untereinander wie am Handy */
@container skv (max-width: 1080px) { .skvl li { padding: 0 2px 6px; } .skvt { font-size: 12px; } .skvt small { font-size: 11px; } .skvdl { font-size: 11.5px; } }
@container skv (max-width: 860px) { .skvl { margin-left: 6px; margin-right: 6px; } .skvl li::before { top: 11px; } .skvd { width: 24px; height: 24px; font-size: 12px; } .skvt { font-size: 11px; } .skvt small { font-size: 10px; } .skvdl { font-size: 10.5px; } }
@container skv (max-width: 640px) { .skvl { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; margin-left: 14px; } .skvl li { flex-direction: row; align-items: flex-start; text-align: left; gap: 10px; padding: 0 0 12px; }
  .skvl li::before { display: none; } .skvl li::after { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 3px; background: var(--line); } .skvl li.done::after { background: var(--go); } .skvl li:last-child::after { display: none; }
  .skvt { align-items: flex-start; font-size: 12.5px; } .skvt small { font-size: 11.5px; } .skvdl { font-size: 12px; } }
@media (max-width: 640px) {
  .skvl { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; margin-left: 14px; }
  .skvl li { flex-direction: row; align-items: flex-start; text-align: left; gap: 10px; padding: 0 0 12px; }
  .skvl li::before { display: none; }
  .skvl li::after { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 3px; background: var(--line); } .skvd { width: 24px; height: 24px; font-size: 12px; }   /* 1.36.319: Punkt wie in der schmalen Karte */
  .skvl li.done::after { background: var(--go); } .skvl li:last-child::after { display: none; }
  .skvt { align-items: flex-start; }
}
/* Versand: Pakete und Versandmarke */
.vsbox { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border-radius: 10px; padding: 10px 12px; margin-top: 6px; }
.vspak td { vertical-align: middle; } .vsnum { padding: 6px 7px; } .vslbh { white-space: nowrap; }
.vsact { flex-wrap: wrap; } .vsls { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 6px; }
.vsrow > td { background: var(--surface); }
.vzip { padding: 4px 8px; line-height: 0; }
.skmeb { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 700px) {
  .skkorb thead { display: none; } .skkorb, .skkorb tbody, .skkorb tfoot { display: block; width: 100%; }
  .skkorb tr { display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .skkorb td { display: block; border: 0; padding: 0; } .skkorb td:nth-child(2) { grid-column: 2 / 4; }
  .skkorb td:nth-child(3) { grid-column: 1 / 2; text-align: left; } .skkorb td:nth-child(4) { text-align: left; } .skkorb td:nth-child(5) { text-align: right; } .skkorb td:nth-child(6) { grid-column: 1 / -1; text-align: right; }
  .skkorb tfoot tr { display: flex; justify-content: flex-end; gap: 12px; } .skkorb tfoot td:empty { display: none; }
  .skbar { flex-wrap: wrap; } .skbar .btn { flex: 1; justify-content: center; }
}
/* Shop › Bestellungen (Verwaltung) und Druckdaten */
.vpv { margin-bottom: 4px; } .vpv svg { max-height: 46px; width: auto; margin-right: 6px; }
.vkd { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; background: var(--bg); border-radius: 8px; padding: 10px 12px; } .vkd .field { flex: 0 1 240px; } .vkd .hint { flex: 1 1 100%; }
.vmail { white-space: pre-wrap; font: 13px/1.45 var(--font); background: var(--bg); border-radius: 8px; padding: 10px 12px; max-height: 340px; overflow: auto; }
.rpos { margin: 4px 0 0; padding-left: 16px; font-size: 13.5px; } .rpos li { margin: 2px 0; }
.skfil .row, .shf { flex-wrap: wrap; }
.skfil .chips, .shf .chips { flex: 1 1 320px; }
.skroot .chip, .shf .chip { white-space: nowrap; }
@media (max-width: 700px) { .skq { flex: 1 1 100%; } .skfil .chips, .shf .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } }
/* Schild-Konfigurator (Schritte, Live-Ansicht mit Montage) */
:root { --skwall: #eef1f4; --skdim: #55616b; --skcar: #c9d1d8; --skink: #1f2a33; }
@media (prefers-color-scheme: dark) { :root[data-site="time"]:not([data-theme="light"]) { --skwall: #232629; --skdim: #a3b1bd; --skcar: #2c3a47; --skink: #e7eaec; } }
:root[data-theme="dark"] { --skwall: #232629; --skdim: #a3b1bd; --skcar: #2c3a47; --skink: #e7eaec; }
.skgrid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; align-items: start; }
.skgrid2 > .skform { order: 1; }
/* rechts: Ansicht, Preis, Stückzahl und „In den Warenkorb“ bleiben stehen; links scrollt das Formular */
.skgrid2 > .skaside { order: 2; position: sticky; top: 12px; max-height: calc(100vh - 24px); display: flex; flex-direction: column; gap: 10px; background: var(--bg); border-radius: 10px; padding: 14px; }
.skaside > .skpv { position: static; padding: 0; background: none; border-radius: 0; overflow-y: auto; min-height: 0; flex: 0 1 auto; }
.skbuy { flex: none; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.skbuy .skmenge { flex: 0 0 92px; margin: 0; } .skbuy .sksum { flex: 1 1 110px; padding-bottom: 9px; } .skbuy .btn { flex: 0 0 auto; }
.skbuy .skwhy { flex-basis: 100%; margin: 0; color: var(--bad); font-size: 13px; }
/* 1.36.774: Oberfläche der SK-Folie (glänzend/matt) – Pflicht, rot umrandet, solange offen */
.skofl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; flex-basis: 100%; }
.skofl .skofll { font-size: 13px; font-weight: 600; }
.skofl.offen .chip { border-color: var(--bad); }
.skoflk { margin-top: 6px; } .skoflw { margin: 4px 0 10px; }
.skaside > .skfont { flex: none; margin: 0; }
.sktgki { min-height: 220px; }   /* Kundeninformation: Editor auf der Vorlage rechts (1.36.85) */
.skaside > .sktgki { overflow: visible; flex: none; }
.skgrid2 > .skaside:has(> .sktgki) { position: static; max-height: none; }   /* Editor rechts: nicht anheften, nichts abschneiden */
@media (max-width: 860px) { .skgrid2 { grid-template-columns: 1fr; } .skgrid2 > .skaside { order: 0; position: static; max-height: none; } .skaside > .skpv { overflow: visible; } }
.skwahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.skwt { display: flex; flex-direction: column; gap: 6px; text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--ink); font: inherit; }
.skwt img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 6px; }
.skwt small { display: block; color: var(--muted); font-size: 12.5px; }
.skwt.on { border-color: var(--blue); background: var(--soft); box-shadow: 0 0 0 1px var(--blue) inset; }
.skabh { max-width: 260px; } .skabh input { font-size: 16px; }
.skzub { display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 10px; padding: 10px; }
.skzub .field { max-width: 260px; }
.skzp2 { padding: 6px 12px; } .skzp2 b { font-size: 15px; }
.skartimg { width: 100%; max-height: 320px; object-fit: contain; background: #fff; border-radius: 10px; display: block; }
.skico2 { display: flex; justify-content: center; padding: 30px; width: 100%; height: auto; box-sizing: border-box; } .skico2 svg { width: 96px; height: 96px; }
.skstep { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.skstep:first-child { border-top: 0; padding-top: 0; }
.skstep h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.sknr { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .sknr { background: var(--link); color: #111213; } }
.skopts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.skopt { display: flex; gap: 10px; align-items: center; text-align: left; border: 1.5px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; cursor: pointer; color: var(--ink); font: inherit; }
.skopt svg { width: 40px; height: 32px; flex: 0 0 40px; color: var(--navy); }
@media (prefers-color-scheme: dark) { html[data-site="time"] .skopt svg { color: var(--link); } }
.skopt small { display: block; color: var(--muted); font-size: 12.5px; }
.skopt.on { border-color: var(--blue); background: var(--soft); box-shadow: 0 0 0 1px var(--blue) inset; }
.skquick input { font-size: 16px; }
.skinfo2 { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border-radius: 10px; padding: 10px; }
.skzp { display: flex; gap: 12px; align-items: flex-start; }
.skziele { flex: 1; gap: 5px; } .skziele .chip { padding: 5px 10px; font-size: 13px; }
.skpf { display: flex; flex-direction: column; gap: 3px; align-items: center; }
@media (max-width: 520px) { .skzp { flex-direction: column; } .skpf { flex-direction: row; gap: 10px; } }
.skdir { grid-template-columns: repeat(3, 38px); grid-auto-rows: 38px; }
.skdir button { font-size: 19px; }
.skvz { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; max-height: 330px; overflow-y: auto; padding: 2px; }
.skvzt { border: 1.5px solid var(--line); background: var(--surface); border-radius: 8px; padding: 6px 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); font: inherit; }
.skvzt svg { width: 46px; height: 46px; } .skvzt small { font-size: 10.5px; line-height: 1.2; text-align: center; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.skvzt.on { border-color: var(--blue); background: var(--soft); box-shadow: 0 0 0 1px var(--blue) inset; }
/* Ziele als Bild (Piktogramm), alle Symbole, eigener Text */
.skzw { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.skziele2 { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); max-height: none; }
.skpiktos { max-height: none; overflow: visible; }   /* keine Liste zum Scrollen: Gruppen und Suche */
.skpkbox { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--surface); display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.skpkbox .skzph { margin: 0; }
.skpks input { width: 100%; background: #fff; color: var(--navy); border: 1.5px solid #acb3bb; border-radius: 8px; padding: 9px 12px; font-size: 15px; }
.skpks input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.skpkg { display: flex; flex-wrap: wrap; gap: 6px; } .skpkg .chip { font-size: 13px; }
.skpknix { margin: 4px 0; grid-column: 1 / -1; }
.skzt svg { width: 40px; height: 40px; } .skzt small { color: var(--ink); font-weight: 600; }
.skzt0 { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--muted); }
.skzmehr { gap: 16px; flex-wrap: wrap; }
.skztxt { margin: 0; } .skztxt input { max-width: 340px; }
.skko0 b { color: var(--warn); font-size: 12px; } .skohne .field { flex: 0 1 200px; }
.skmontw { display: flex; gap: 10px; align-items: flex-end; background: var(--surface); border-radius: 10px; padding: 8px; }
.skmont { width: 100%; height: auto; max-height: 340px; display: block; flex: 1; min-width: 0; }
.skml { font-family: var(--font); fill: var(--skdim); }
.sksidef { margin: 0; flex: 0 0 88px; text-align: center; } .skside { width: 88px; height: 88px; } .sksidef figcaption { font-size: 11px; color: var(--muted); }
.skbau { margin: 0; font-size: 14px; } .skbau.bad { color: var(--bad); }
.skfaces2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.skfaces2 figure { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.skface { position: relative; width: 100%; } .skface > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.skfaces2 figcaption { font-size: 12px; color: var(--muted); }
.skwm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); font-weight: 800; font-size: clamp(11px, 2.4vw, 16px); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(28, 30, 32,.45); padding: 2px 10px; border-radius: 4px; pointer-events: none; }
.skpreis { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; align-items: baseline; background: var(--surface); border-radius: 8px; padding: 10px 12px; }
.skpreis b { font-size: 17px; }
.sksum { font-size: 15px; }
.skwm { font-size: clamp(9px, 1.5vw, 12px); padding: 1px 7px; }
.skziele .link { font-size: 13px; padding: 4px 6px; }
.skmini { display: none; }
@media (max-width: 860px) {
  .skmini { display: flex; gap: 10px; align-items: center; position: sticky; top: 52px; z-index: 6; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; box-shadow: var(--shadow); font-size: 13px; }
  .skmini .skface { flex: 0 0 34%; } .skmini span { flex: 1; line-height: 1.35; } .skmini .btn { flex: none; }
  .skmini:empty { display: none; }
}
/* Artikel › Optionen: Varianten, Ausführungen (mit Bild), Montagearten */
.shopts { display: flex; flex-direction: column; gap: 6px; }
.shopt { display: flex; flex-direction: column; gap: 8px; }
.shoptr { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border-radius: 10px; padding: 10px; }
.shoptimg { flex: 0 0 96px; height: 96px; border: 1.5px dashed var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--surface); overflow: hidden; color: var(--muted); font-size: 13px; }
.shoptimg img { width: 100%; height: 100%; object-fit: contain; }
.shoptimg > span { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; } .shoptimg > span small { font-size: 11px; opacity: .8; }   /* 1.36.227 */
.shgr { flex: 0 1 210px; } .shgrv { display: flex; align-items: center; gap: 6px; } .shgrv input { width: 80px; min-width: 0; }   /* 1.36.230 freie Größe */
.skgr input { max-width: 200px; } .skgr input[aria-invalid="true"] { border-color: var(--rot, #e9202d); }
.shvdr { display: flex; gap: 6px; align-items: baseline; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; min-width: 0; } .shvdr > span { min-width: 0; overflow-wrap: anywhere; }
.shdrz { display: flex; align-items: center; gap: 6px; margin-top: 3px; } .shdrz .shdrf { flex: 1 1 auto; min-width: 0; font-size: 13px; padding: 2px 6px; }
.shoptf { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.shoptf .row { align-items: flex-end; flex-wrap: wrap; }
.shmont { display: flex; flex-direction: column; gap: 8px; }
.shmr { background: var(--bg); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; } .shmr:not(.on) { opacity: .75; }
@media (max-width: 600px) { .shoptr { flex-direction: column; } .shoptimg { flex-basis: auto; width: 100%; height: 120px; } }
/* Shop › Objekt suchen, bestätigen oder neu anlegen */
.skkstf { display: flex; flex-direction: column; gap: 4px; } .skkstf > label { font-size: 13px; color: var(--muted); font-weight: 600; }
.skkst { position: relative; } .skkst input { width: 100%; box-sizing: border-box; font-size: 16px; }
.skkstl { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 28; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 340px; overflow-y: auto; padding: 4px; display: flex; flex-direction: column; }
.skko { display: flex; gap: 10px; align-items: baseline; text-align: left; background: none; border: 0; border-radius: 7px; padding: 8px 10px; cursor: pointer; color: var(--ink); font: inherit; }
.skko b { flex: 0 0 64px; } .skko span:first-of-type { flex: 1; } .skko:hover, .skko:focus, .skko.on { background: var(--soft); outline: none; }
.skkno { margin: 6px 10px; } .skkneu { text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px; color: var(--link); font: inherit; font-weight: 600; cursor: pointer; } .skkneu:hover, .skkneu:focus { background: var(--soft); }
.skneu { display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 10px; padding: 12px; margin-top: 8px; } .skneu h3 { margin: 0; font-size: 15px; }
.skcand { display: flex; flex-direction: column; gap: 8px; } .skc { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; } .skc .row { align-items: flex-end; }
/* Warenkorb: zurück links, „Jetzt bestellen“ grün rechts unten */
.skkorbact { align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.skbestell { font-size: 16px; padding: 11px 22px; font-weight: 700; }
@media (max-width: 600px) { .skkorbact .btn { flex: 1 1 100%; justify-content: center; } .skkorbact .grow { display: none; } }
.skkorb input.sknum { width: 84px; max-width: 84px; }
/* Bestellungen: Belege und Versand in der Zeile, PDF-Popup */
.vacth { text-align: right; } .vact { white-space: nowrap; text-align: right; }
.vic { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 7px; padding: 4px 7px; margin-left: 4px; cursor: pointer; font: inherit; font-size: 11.5px; font-weight: 700; line-height: 1; text-decoration: none; vertical-align: middle; }
.vic:hover, .vic:focus-visible { border-color: var(--blue); color: var(--link); }
.vic.vpdfb { color: #b3261e; } .vic.vpak.on { background: var(--soft); border-color: var(--blue); } .vic.vpak.sent { color: var(--go); }
/* Versandmarke (1.36.170): Icon in der Bestellübersicht, Marken je Paket im aufgeklappten Bereich */
.vic.vnc { color: #ba0f1a; text-decoration: none; } .vic.vnc.err { color: #b3261e; } .vic.vnc.halb { opacity: .6; }   /* Nextcloud (1.36.175) */ .vic.vnc.weg { opacity: .35; cursor: default; }   /* nicht mehr in der Nextcloud (1.36.188/190) */ .vic.vnc.erl { color: #2e7d32; }   /* in „erledigt“ (1.36.190) */
.vic.vncs.ncda, .btn.ncda { background: var(--go); border-color: var(--go); color: #fff; } .vic.vncs.ncda:hover, .vic.vncs.ncda:focus-visible, .btn.ncda:hover, .btn.ncda:focus-visible { filter: brightness(.92); color: #fff; border-color: var(--go); }   /* 1.36.384: liegt in der Nextcloud */
.vic.vmk.on { background: var(--soft); border-color: var(--blue); } .vic.vmk.hat { color: var(--link); } .vic.vmk.sent { color: var(--go); } .vic.vmk.busy { opacity: .55; cursor: progress; }
/* 1.36.262: ✓ Erledigt und ⚡ dringend als kleine Knöpfe in der Liste „Alle Bestellungen“ */
.vic.verl { color: var(--go); } .vic.verl:hover, .vic.verl:focus-visible { border-color: var(--go); color: var(--go); }
.vic.vprio { color: var(--muted); } .vic.vprio:hover, .vic.vprio:focus-visible { border-color: #d32f2f; color: #d32f2f; }
.vic.vprio.an { background: #d32f2f; border-color: #d32f2f; color: #fff; } .vic.vprio.an:hover { background: #b71c1c; color: #fff; } span.vic.vprio { cursor: default; }
.shrow td.vact { white-space: normal; }   /* Knöpfe in Gruppen: bei wenig Platz bricht nur zwischen den Gruppen um */
.vacts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }   /* 1.36.263: immer zwei Reihen – oben Belege/Nextcloud/ZIP, unten Versand-Stand, Versandmarke, ✓, ⚡ */
.vgrp { display: flex; align-items: center; justify-content: flex-end; white-space: nowrap; } .vgrp .vic { margin-left: 3px; padding-left: 6px; padding-right: 6px; } .vgrp .vsst { margin-right: 3px; }
.shrow .shnw, .shrow td.r { white-space: nowrap; } .sht th.shthw { white-space: normal; }   /* lange Spaltenköpfe dürfen umbrechen – sie bestimmen sonst die Mindestbreite */
.shrow td.shst .tag { white-space: normal; border-radius: 8px; } .shrow .shbe { display: inline-block; margin-top: 2px; }
.vsmk { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .vsmk li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; } .vsmk li br { display: none; }
.vsmkn { min-width: 56px; } .vsmk .vsjetzt { color: #b3261e; font-weight: 700; }
.vsrow > td { padding: 4px 8px 12px; }
.vpdf { position: fixed; inset: 0; z-index: 120; background: rgba(18, 20, 22, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.vpdfbox { background: var(--surface); border-radius: 12px; width: min(1000px, 100%); height: min(92vh, 1200px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.vpdfh { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); } .vpdfh b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vpdfbox iframe { flex: 1; border: 0; width: 100%; background: #525659; }
/* Warenkorb: Anzahl (Stück) am Knopf, in der Leiste und am Reiter „Bestellen“ */
.skcart { width: 20px; height: 20px; flex: none; vertical-align: -5px; }
.skkb { position: relative; display: inline-flex; margin-right: 8px; }
.skcnt { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #e11d2a; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; box-sizing: border-box; }
.skkb .skcnt { position: absolute; top: -9px; right: -11px; box-shadow: 0 0 0 2px var(--go); }
[data-t="shopkauf"] .skcnt, [data-t="shopfrei"] .skcnt { margin-left: 6px; }   /* 1.36.413: Druckfreigaben wie der Warenkorb */
.skta.frhin { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
/* 1.36.466 (Ernst 06.11. 13:48): wo der Kunde etwas tun muss – Ausrufezeichen im runden Icon; Hinweis in „Meine Bestellungen“ etwa doppelt so groß, rot */
.tun-i { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.55em; height: 1.55em; margin-right: .45em; border-radius: 50%; background: var(--bad); color: #fff; font-weight: 800; font-style: normal; line-height: 1; vertical-align: -.3em; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.skta.frhin.tun { background: var(--bad); border-color: var(--bad); color: #fff; padding: 20px 22px; border-radius: 12px; font-size: 1.25em; gap: 10px 18px; box-shadow: 0 4px 14px rgba(179, 38, 30, .25); }
.skta.frhin.tun > span:not(.tun-i) { flex: 1 1 14em; min-width: 0; }
.skta.frhin.tun b { color: #fff; }
.skta.frhin.tun .tun-i { flex: none; width: 1.9em; height: 1.9em; margin: 0; background: #fff; color: var(--bad); font-size: 1.05em; vertical-align: middle; }
.skta.frhin.tun .link { background: #fff; color: var(--bad); border-color: #fff; font-weight: 700; font-size: .85em; padding: 9px 18px; border-radius: 999px; }
.skta.frhin.tun .link:hover { background: var(--bad-bg); }
.skta.frhin.tun .link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* 1.36.466 (Ernst 06.11. 13:51): Lieferadresse in der Druckfreigabe/Bestellung – vor dem Freigeben noch einmal sichtbar, ändern nur diesmal oder für alle */
.sktala { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 12px 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.sktala > div { min-width: 0; flex: 1 1 16em; }
.sktala.frage { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-bg); }
.sktala.ed { display: block; }
.sktala.ed > p:first-child { margin: 0 0 6px; }
.sktala .sklafr { margin: 8px 0 6px; }
.skta.bedarf [data-tahin] { display: none; }   /* 1.36.415: zweite Stufe (Bahnpark) – Gestaltung schon freigegeben, nur Bedarf und Bestellung */
.skoptik .skta .sktagh { margin: 12px 0 6px; }   /* 1.36.413: Meine Bestellungen – Hinweis statt Freigabe */
.skkorbn { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; margin-left: 10px; display: inline-flex; align-items: center; gap: 5px; }
.skkorbn .skcart { width: 17px; height: 17px; vertical-align: 0; }
@media (max-width: 700px) {
  nav.tabs.mnv button[data-t="shopkauf"], nav.tabs.mnv button[data-t="shopfrei"] { position: relative; }
  nav.tabs.mnv button[data-t="shopkauf"] .skcnt, nav.tabs.mnv button[data-t="shopfrei"] .skcnt { position: absolute; top: 3px; left: calc(50% + 5px); margin: 0; min-width: 17px; height: 17px; font-size: 10px; }
}
/* Zeiterfassung: Schicht über Mitternacht – Gesamt-, Vortags- und Tageszeit */
.ztshift { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.ztshift b { color: var(--ink); font-variant-numeric: tabular-nums; }
.card.ztnacht { border-color: var(--warn, #c77700); }

/* Zeiterfassung 1.32: Feierabend wählen (Schnellwahl, Feinwahl, vergessene Pausen) */
.ztep { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 6px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.ztepval { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.ztchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ztepval b { font-size: 26px; font-variant-numeric: tabular-nums; }
.ztepfine { display: flex; align-items: center; gap: 6px; }
.ztepfine .btn { min-width: 44px; font-variant-numeric: tabular-nums; }
.ztepsum { margin: 0; font-size: 14px; }
.ztpz { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--line); }
.ztpz > p { margin: 0; }
.ztpzvor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--soft); }
.ztpzvor .btn.on { border-color: var(--go); color: var(--go); }
.ztpzvon { max-width: 260px; }
.card.ztwe { border: 2px solid var(--warn); }
.card.ztwe h2::before { background: var(--warn); }
/* Stempeluhr: kurze Zeile statt „Heute“ und „Mein Konto“ */
.ztmini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; margin-bottom: 14px; }
.ztmini b { font-variant-numeric: tabular-nums; }
.ztmini .link { margin-left: auto; }
/* Heute: Aufträge und Tätigkeiten mit Stunden */
.ztmproj { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ztmproj li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 6px 8px; border-radius: 6px; background: var(--soft); font-size: 14px; }
.ztmproj li > span:first-child { flex: 1; min-width: 0; }
.ztmproj li .hint { flex-basis: 100%; font-size: 12px; }
.ztmproj b { font-variant-numeric: tabular-nums; }
.ztkpis > div .hint { font-size: 12px; }
details.ztmein > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; cursor: pointer; list-style: none; }
details.ztmein > summary::-webkit-details-marker { display: none; }
details.ztmein > summary h2 { margin: 0; }
details.ztmein > summary::after { content: "▾"; margin-left: auto; color: var(--muted); }
details.ztmein[open] > summary::after { content: "▴"; }
.ztmeinin { margin-top: 12px; }
.ztmeinin > .card { box-shadow: none; border: 1px solid var(--line); margin: 0 0 12px; }
/* Verwaltung „Heute“: je Mitarbeiter eine aufklappbare Zeile */
.ztteam { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
details.ztmrow { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
details.ztmrow > summary { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto auto 14px; align-items: center; gap: 6px 12px; padding: 9px 12px; cursor: pointer; list-style: none; }
details.ztmrow > summary::-webkit-details-marker { display: none; }
details.ztmrow > summary::after { content: "▾"; color: var(--muted); text-align: right; grid-row: 1; grid-column: -2 / -1; }
details.ztmrow[open] > summary::after { content: "▴"; }
details.ztmrow[open] > summary { border-bottom: 1px solid var(--line); }
.ztmn, .ztms { min-width: 0; }
.ztmz b, .ztmp b { font-variant-numeric: tabular-nums; }
.ztmz, .ztmp { white-space: nowrap; text-align: right; }
.ztmd { padding: 8px 12px 12px; }
/* 1.36.367: Arbeit und Pausen von–bis direkt in der Zeile; Tag wählen */
.ztmzt { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 13.5px; color: var(--muted); }
.ztmzt b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.zttag { display: flex; align-items: center; gap: 10px; }
.zttag h2 { flex: 1; min-width: 0; justify-content: center; text-align: center; }
.zttagb { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.zttagb:hover, .zttagb:focus-visible { border-color: var(--blue); color: var(--blue); }
.zttagi { margin: 6px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; }
.ztmd .ztmproj { margin-top: 0; }
@media (max-width: 640px) {
  details.ztmrow > summary { grid-template-columns: minmax(0, 1fr) auto auto 14px; }
  details.ztmrow > summary .ztms { grid-column: 1 / -1; grid-row: 2; }
  details.ztmrow > summary .ztms:empty { display: none; }
  .ztmzt { grid-row: 3; }
  details.ztmrow > summary:has(.ztms:empty) .ztmzt { grid-row: 2; }
  .ztepval b { font-size: 22px; }
}
/* Feierabend: Drehscheibe wie eine Parkscheibe */
.ztdial { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.ztdial svg { width: 300px; max-width: 100%; height: auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; flex: none; }
.ztdial svg:active { cursor: grabbing; }
.ztdial svg:focus-visible { outline: 2px solid var(--bad); outline-offset: 4px; border-radius: 50%; }
.ztdial .face { fill: var(--bad-bg); stroke: var(--bad); stroke-width: 2; }
.ztdial .tk { stroke: var(--muted); stroke-width: 1; opacity: .5; }
.ztdial .tb { stroke: var(--ink); stroke-width: 2; }
.ztdial .hl { font-size: 12px; font-weight: 700; fill: var(--muted); text-anchor: middle; }
.ztdial .room { fill: none; stroke: var(--surface); stroke-width: 18; stroke-linecap: round; }
.ztdial .work { fill: none; stroke: var(--bad); stroke-width: 18; stroke-linecap: round; opacity: .9; }
.ztdial .beg { fill: var(--surface); stroke: var(--bad); stroke-width: 3; }
.ztdial .mx { fill: var(--muted); }
.ztdial .hand { stroke: var(--bad); stroke-width: 3; stroke-linecap: round; }
.ztdial .hub { fill: var(--bad); }
.ztdial .grip { fill: var(--surface); stroke: var(--bad); stroke-width: 3; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); cursor: grab; }
.ztdial .gripdot { fill: var(--bad); pointer-events: none; }
.ztdial .ct { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); text-anchor: middle; }
.ztdial .cv { font-size: 30px; font-weight: 800; fill: var(--bad); text-anchor: middle; font-variant-numeric: tabular-nums; }
.ztdial .cs { font-size: 12px; fill: var(--muted); text-anchor: middle; }
.ztdialside { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 6px; }
.ztdialside p { margin: 0; }
/* Handy: Parkscheibe groß und mittig, Bedienung darunter */
@media (max-width: 600px) { .ztdial { flex-direction: column; align-items: stretch; } .ztdial svg { width: min(340px, 100%); align-self: center; } .ztdialside { min-width: 0; text-align: center; align-items: center; } .ztdialside .ztepfine { justify-content: center; } }

/* Fahrzeit (weite Montage): eigene Farbe, getrennt von Montage */
.btn.ztfahrt, .kib.ztfahrt { background: var(--zt-fahrt); border-color: var(--zt-fahrt); color: #fff; }
.ztp.on.fahrt { border-color: var(--zt-fahrt); background: var(--zt-fahrt-soft); }
.ztp.on.fahrt .ztpt { color: var(--zt-fahrt); }
.ztpbtn { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kwc details + h3 { margin-top: 18px; }
.ztseg.fahrt { background: var(--zt-fahrt-soft); color: var(--zt-fahrt); }
@media (max-width: 600px) { .ztp .ztpbtn { grid-column: 1 / -1; justify-content: stretch; } .ztp .ztpbtn .btn { flex: 1; } }
/* Erinnerungen: Karte „noch nicht eingestempelt“, Push einschalten */
.card.ztvst { border-left: 4px solid var(--warn); }
.card.ztpush { border-left: 4px solid var(--blue); }
.ztpushon { margin: 6px 2px 0; text-align: center; }

/* Shop › Bestellungen: Archiv nach Monaten, Auswahl für den Kombiversand */
.shjahr { align-items: center; gap: 8px; margin-top: 10px; }
.sht th.shck, .sht td.shck { width: 34px; padding-right: 0; text-align: center; cursor: default; }
.shck input { width: 18px; height: 18px; accent-color: var(--kombi); cursor: pointer; } .shck input:disabled { cursor: not-allowed; opacity: .35; }
.shrow.shsel td { box-shadow: inset 0 2px 0 var(--kombi), inset 0 -2px 0 var(--kombi); }
.shmon th { background: var(--surface); padding: 0; border-top: 2px solid var(--line); position: static; }
.shmonb { display: flex; align-items: baseline; gap: 6px; width: 100%; padding: 10px 8px 8px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; }
.shmonb .hint { font-weight: 400; font-size: 13px; } .shmonc { width: 1em; color: var(--muted); } .shmono { color: var(--sh-ueb-t); }
/* Lade-Alternativen im Marktvergleich (1.36.156): doppelt genannte Ladestandorte inaktiv */
.tml.evalt li.aus { color: var(--muted); text-decoration: line-through; }
.mmalt-aus td { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent); }
.mmalt-aus td .hint { text-decoration: none; display: inline-block; }
/* eigene Artikelnummern der Varianten (1.36.158) */
.shvnr .shvnri { width: 100%; min-width: 120px; max-width: 220px; font-weight: 700; font-family: inherit; padding: 4px 6px; }
/* Fertige Bestellungen (1.36.155): Produktion fertig oder von GLS abgeholt – aufklappbar unter der Liste */
.shfertig { margin-top: 18px; border-top: 2px solid var(--line); padding-top: 2px; }
.shfertig > summary { cursor: pointer; padding: 12px 8px 10px; font-size: 15px; list-style: none; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.shfertig > summary::-webkit-details-marker { display: none; }
.shfertig > summary::before { content: '▸'; color: var(--muted); width: 1em; }
.shfertig[open] > summary::before { content: '▾'; }
.shfertig > summary .hint { font-weight: 400; font-size: 13px; }
.shselbar { position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px -4px 0; padding: 10px 12px; border-radius: 10px; background: var(--kombi-bg); box-shadow: 0 -2px 10px rgba(0,0,0,.08); }
.shselbar .btn.primary { background: var(--kombi); border-color: var(--kombi); }
/* Schild-Vorschau im Parkhaus-Foto (1.36.133) */
.skfotof { margin: 0 0 10px; } .skfotos { display: block; width: 100%; height: auto; border-radius: 10px; background: #dfe3e6; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.skfotof figcaption { font-size: 12.5px; color: var(--muted); margin-top: 5px; text-align: center; }
/* Feste Motive (1.36.133): Varianten eingerückt, Feld für die Texteingabe, Ausführung im Shop */
.shmotr.var { margin-left: 34px; border-left: 3px solid var(--line); padding-left: 10px; }
.shmotbild { position: relative; flex: none; align-self: flex-start; width: 130px; } .shmotbild img { display: block; width: 130px; height: auto; max-height: 120px; object-fit: contain; background: #fff; outline: 1px solid var(--line); border-radius: 2px; }
.shmotfeld { position: absolute; border: 2px solid #e53935; border-radius: 2px; box-sizing: border-box; pointer-events: none; }
.shmotv { align-items: flex-end; gap: 6px 12px; flex-wrap: wrap; } .shmotv .check { margin: 0 0 8px; }
.skmotv .skmott small { font-weight: 600; }
/* Druckdaten gestalten für Aufträge von Hand (1.36.132) */
.skhandcfg { border: 2px solid var(--link); background: color-mix(in srgb, var(--link) 6%, var(--surface, #fff)); }
.skhandcfg .hint { margin: 4px 0 0; }
.vgest { white-space: nowrap; font-size: 13px; } .vgestn { margin: 10px 0 0; align-items: center; gap: 10px; } .vgesth { color: var(--link); }
/* Bestellliste: Auftrag von Hand per Lieferscheinnummer (1.36.132) */
.shlsb { margin: 10px 0 0; align-items: center; gap: 10px; }
.shlsneu { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface, transparent); }
.shlsneu .row { align-items: flex-end; gap: 10px 14px; flex-wrap: wrap; } .shlsneu .field { flex: 0 1 220px; margin: 0; } .shlsneu .check { margin: 0 0 8px; }
.shlsneu .hint { margin: 8px 0 0; }
/* Bestellliste: Kombiversand als Gruppe (1.36.132) – Kopfzeile, lila Klammer links, Abschluss unten */
.sht tr.shkg td { padding: 10px 10px 6px; border-bottom: 0; background: var(--kombi-bg); box-shadow: inset 4px 0 0 var(--kombi); border-top: 2px solid var(--kombi); }
.shkgk { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--kombi); font-size: 13.5px; } .shkgk b { color: var(--kombi); }
.sht tr.shkgr > td:first-child { box-shadow: inset 4px 0 0 var(--kombi); }
.sht tr.shkgr > td { background-image: linear-gradient(color-mix(in srgb, var(--kombi) 5%, transparent), color-mix(in srgb, var(--kombi) 5%, transparent)); }
.sht tr.shkgl > td { border-bottom: 2px solid var(--kombi); }
.tag.kombi { background: var(--kombi-bg); color: var(--kombi); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; white-space: normal; }
.vskombi { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 4px 0 10px; padding: 9px 12px; border-radius: 8px; background: var(--kombi-bg); color: var(--ink); font-size: 13.5px; }
.vskombi svg { color: var(--kombi); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Zeiterfassung › Bestellungen: fertig gemeldete bleiben grün in der Liste; Monate */
.pfrow.done { background: var(--sh-erl); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 6px; box-shadow: inset 4px 0 0 var(--go); }
.pfrow.done + .pfrow, .pfrow + .pfrow.done { border-top-color: transparent; }
.pfrow.done .pfok { color: var(--go); font-weight: 600; }
.pfmon { margin: 14px 0 4px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pfmon:first-child { margin-top: 0; } .pfmon + .pfrow { border-top: 0; }
.pfkombi { color: var(--kombi); font-weight: 600; }
/* Meine Bestellungen (Shop): Monate */
.skmon { margin: 18px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.skmon:first-child { margin-top: 0; }
/* 1.36.444: Meine Bestellungen / Meine Angebote je Monat aufklappbar – aktueller Monat offen */
.skmeinem { display: grid; gap: 10px; margin-top: 10px; }
.skmond { border: 1px solid var(--line, #dde3ea); border-radius: 12px; background: var(--card, #fff); }
.skmond > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; }
.skmond > summary::-webkit-details-marker { display: none; }
.skmond > summary::before { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; color: var(--muted, #5b6573); margin-right: 2px; }
.skmond[open] > summary::before { transform: rotate(45deg); }
.skmond > summary:hover { background: var(--soft, #f5f6f7); }
.skmond > summary:focus-visible { outline: 2px solid var(--blue, #ab0e18); outline-offset: 2px; }
.skmond-t { font-weight: 700; font-size: 15px; color: var(--ink, #1f2a33); flex: 1; min-width: 0; }
.skmond-j { font-weight: 600; font-size: 12px; color: var(--cta, #e9202d); margin-left: 6px; }
.skmond-n { font-size: 13px; color: var(--muted, #5b6573); white-space: nowrap; font-variant-numeric: tabular-nums; }
.skmond[open] > summary { border-bottom: 1px solid var(--line, #dde3ea); border-radius: 12px 12px 0 0; }
.skmond > .skmeine, .skmond > .skpal { padding: 12px; margin: 0; }
.skvk { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--kombi); }
/* Suchfelder: fallen auf – weißer Grund, dunkelblaue Schrift, Lupe (auch im dunklen Modus) */
input[type=search] { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a4a' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") no-repeat 12px center / 18px 18px;
  color: #272b2e; border: 2px solid #a81d26; border-radius: 10px; padding: 10px 12px 10px 40px; font-size: 16px; font-weight: 500; min-height: 44px; box-shadow: 0 1px 4px rgba(39, 43, 46,.12); color-scheme: light; }
input[type=search]::placeholder { color: #5f7187; font-weight: 400; opacity: 1; }
input[type=search]:focus { outline: none; border-color: #272b2e; box-shadow: 0 0 0 3px rgba(168, 29, 38,.25); }
.nhhint { margin-top: 12px; } .nhhint p { margin: 6px 0 10px; }

/* storniert (Weclapp oder Portal): ganze Zeile in kräftigerem Rot, ohne Wasserzeichen; dazu steht, wer wann storniert hat */
.shrow.shstorno td { background: var(--sh-sto); } .shrow.shstorno .hint { color: inherit; opacity: .8; }
.shrow.shstorno td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
.shrow.shstorno .tag:not(.bad) { opacity: .75; }
.shstinfo { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--bad); max-width: 26ch; }
.shstornob b { font-weight: 700; }
.skme.storno { background: var(--sh-sto); }
.skstorno { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0; color: var(--bad); font-weight: 600; }
.pfrow.storno { background: var(--sh-sto); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 6px; box-shadow: inset 4px 0 0 var(--bad); }
.pfrow.storno .pfst { color: var(--bad); font-weight: 600; }
/* Shop › Beschilderung: gewählte Symbole eines Ziels (mehrere möglich) */
.skzen { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 2px; }
.skzen .skenl { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; min-width: 0; margin: 0; }
.skzen .skenl input { flex: 1 1 auto; min-width: 0; font-style: italic; }
.sken { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #fff4d6; color: #7a5300; white-space: nowrap; }
.sken.ok { background: #e3f4e8; color: #1d6b3a; }
.skenoff { margin: 2px 0 0; font-size: 12px; }
.skenok { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 10px; padding: 8px 10px; border-radius: 10px; background: #fff8e6; border: 1px solid #f1d58a; }
.skenok .hint { flex: 1 1 220px; min-width: 0; margin: 0; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .sken { background: #4a3a10; color: #ffd66b; } html[data-site="time"] .sken.ok { background: #173a24; color: #8fe0aa; } html[data-site="time"] .skenok { background: #2e2610; border-color: #5c4a1a; } }
.skzsym { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 8px 0 4px; }
.skzsy { display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px 3px 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; }
.skzsy svg, .skzsy img { width: 26px; height: 26px; }
.skzsy .link { font-size: 16px; line-height: 1; padding: 0 2px; text-decoration: none; color: var(--muted); }
.skzph { margin: 6px 0 4px; }
/* Shop › Artikelseite: Leiste mit „Zurück zum Shop“ (grün) und Kostenstelle heftet sich oben an; die Vorschau rechts darunter */
.skbar0 { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgba(37, 40, 43,.10); }
.btn.skback { background: var(--go); border-color: var(--go); color: #fff; font-weight: 700; padding: 9px 16px; }
.btn.skback:hover { filter: brightness(1.08); }
.skbkst { font-size: 13px; padding: 4px 10px; white-space: normal; }
.skgrid2 > .skaside { top: 78px; max-height: calc(100vh - 90px); }
@media (max-width: 700px) { .skbar0 { top: 54px; border-radius: 10px; padding: 8px 10px; } .btn.skback { padding: 8px 12px; } }
/* Shop › Bestellen: erst die Kategorie (Kacheln), dann die Artikel */
.skkats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0 0 14px; }
.skkat { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.skkat:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(206, 17, 29,.15); }
.skkati { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 10px; background: var(--soft); color: var(--navy); overflow: hidden; }
.skkati img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.skkatt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.skkatt b { font-size: 16px; } .skkatt small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.skkatp { font-size: 26px; color: var(--muted); }
.skkath { margin: 0 0 6px; }
.btn.skkatz { background: var(--go); border-color: var(--go); color: #fff; font-weight: 700; }
/* Shop › Schild › Größe: empfohlene Größe grün umrandet */
.skgr .chip.empf { border: 2px solid var(--go); color: var(--go); font-weight: 700; }
.skgr .chip.empf.on { background: var(--go); color: #fff; }
.skgr .chip small { font-weight: 500; }
/* Shop › Verkehrszeichen: Wert im Motiv, Material, Rohrschellen */
.skvzw { max-width: 220px; margin-top: 12px; }
.skmat { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.skzub .chips { margin: 8px 0; }
.skzubd { display: flex; flex-direction: column; gap: 6px; }
.skzubw { max-width: 220px; }

/* Shop: Hinweis, dass die Startansicht das Beispiel aus dem Eingabefeld zeigt */
.skbsp { margin: 0 0 8px; padding: 6px 10px; border-radius: 8px; background: var(--soft); color: var(--navy); font-size: 13px; line-height: 1.35; }
.skbsp b { text-transform: uppercase; letter-spacing: .04em; font-size: 11px; margin-right: 4px; }

/* Lieferschein-Ansicht in der Zeiterfassung (statt neuem Tab – in der Home-Bildschirm-App gäbe es kein Zurück) */
.pdfov { position: fixed; inset: 0; z-index: 9000; display: flex; flex-direction: column; background: #525659; }
.pdfbar { display: flex; align-items: center; gap: 10px; padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px)); background: var(--navy, #2e3237); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.pdfbar b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.pdfbar .pdfzu { background: #fff; color: var(--navy, #2e3237); border: 0; font-weight: 700; padding: 10px 16px; font-size: 16px; min-height: 44px; }
.pdfpages { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 8px calc(16px + env(safe-area-inset-bottom, 0px)); }
.pdfbar .pdfnav { background: rgba(255,255,255,.14); color: #fff; border: 0; font-size: 26px; line-height: 1; padding: 6px 14px; min-height: 44px; min-width: 44px; font-weight: 700; }
.bildov .bildbox { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); background: #1e2226; touch-action: pan-y pinch-zoom; }
.bildov .bildbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.5); }
.pdfpages canvas { background: #fff; max-width: 100%; height: auto; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.pdfpages .pdflade { color: #fff; margin-top: 30vh; }
body.pdfopen { overflow: hidden; }

/* Verwaltung › E-Mail: Vorschau und zuletzt versendete Mails (1.36.19) */
.mvs { align-items: flex-end; margin-top: 12px; }
.mvs select { min-width: 0; max-width: 100%; }
details.mlog { margin-top: 12px; }
details.mlog summary { cursor: pointer; font-weight: 700; color: var(--link); padding: 6px 0; }
details.mlog td { font-size: 13px; vertical-align: top; }
details.mlog td:nth-child(3), details.mlog td:nth-child(4) { word-break: break-word; }

/* Zeiterfassung: Standort beim Stempeln (1.36.22) */
.ztgeo { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.ztgeo a.tag { text-decoration: none; }
.ztgps { margin-top: 10px; }
/* Zeiterfassung: Rückfrage zum Standort beim Stempeln (Fenster) */
.ztgq { position: fixed; inset: 0; z-index: 210; background: rgba(17, 18, 19, .55); display: flex; align-items: flex-end; justify-content: center; padding: 16px max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
@media (min-width: 560px) { .ztgq { align-items: center; } }
.ztgqbox { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 18px; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, .28); }
.ztgqbox h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.ztgqbox p { margin: 0; overflow-wrap: anywhere; }
.ztgqbox .row { align-items: center; gap: 8px; }
.ztgqbox .ztep { margin: 0; padding: 10px; }   /* Drehscheibe im Fenster „Wann war dein Arbeitsende?“ (1.36.111) */
.ztgqbox .ztdial { justify-content: center; gap: 8px 16px; }
.ztgqbox .ztdial svg { width: 230px; }
.ztgqbox .ztdialside { flex: 1 1 180px; min-width: 0; }
.ztgqbox input[type=time] { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 6px; padding: 8px 10px; font: inherit; font-size: 18px; width: 8.5em; }
body.ztgqon .toast { z-index: 260; }
.ztgeo .tag { white-space: normal; text-align: left; }
/* Zeiterfassung: QR-Code am Stempel-Tablet in der App scannen (Kamera) */
.ztbtns .ztscan { flex-basis: 100%; max-width: 420px; font-size: 15px; padding: 12px 14px; background: var(--surface); }
.qsc { position: fixed; inset: 0; z-index: 230; background: #000; display: flex; flex-direction: column; }
.qsc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qscf { position: absolute; left: 50%; top: 44%; width: min(70vw, 70vh); aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 18px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .45); pointer-events: none; }
.qscf i { position: absolute; inset: 0; border: 3px solid rgba(255, 255, 255, .9); border-radius: 18px; }
.qscb { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; text-align: center; }
.qscb p { margin: 0; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.qscb .btn { min-width: 160px; justify-content: center; }
body.qscon .toast { z-index: 260; }
/* Zeiterfassung › QR-Codes: Stempel-Tablet mit Link und Einstellungen */
.zttab { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.zttab .row { align-items: center; }
.zttab .linkbox input { flex: 1; min-width: 0; }
.ztdl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: 14px; }
.ztdl dt { color: var(--muted); }
.ztdl dd { margin: 0; overflow-wrap: anywhere; }
/* Zeiterfassung › QR-Codes: Erinnerungen aufs Handy (Verwaltung) */
.tblwrap { overflow-x: auto; }
.ztpusht { width: 100%; border-collapse: collapse; font-size: 14px; }
.ztpusht th, .ztpusht td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ztpusht th { color: var(--muted); font-weight: 600; font-size: 12.5px; }
/* ---------- Shop › Artikel: Backend wie Shopware 5 – Werkzeugleiste, Kategoriebaum, Artikelliste, Fenster mit Reitern ---------- */
main.mkwide.swfull { max-width: 1560px; }
.swb, .swwin { --swfold: #d49a12; --swzebra: #f8f9fa; }
@media (prefers-color-scheme: dark) { :root[data-site="time"] .swb, :root[data-site="time"] .swwin { --swfold: #e6b54a; --swzebra: #1f2224; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.swb { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.swbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: var(--bg); border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.swbar select { width: auto; flex: 0 1 auto; min-width: 0; padding: 7px 9px; font-size: 13.5px; }
.swbar input[type=search] { font-size: 13.5px; padding-top: 7px; padding-bottom: 7px; }
.swbar .btn svg { width: 15px; height: 15px; color: var(--swfold); }
.swq { flex: 1 1 220px; max-width: 360px; display: flex; } .swq input { width: 100%; }
.swsep { width: 1px; align-self: stretch; background: var(--line); margin: 0 2px; }
.swtreeb { display: none; }
.swmain { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 540px; }
.swtree { border-right: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; min-width: 0; border-radius: 0 0 0 10px; }
.swth { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 6px 14px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.swplus { border: 1px solid var(--line); background: var(--surface); color: var(--link); width: 26px; height: 26px; border-radius: 6px; font-size: 17px; line-height: 1; cursor: pointer; padding: 0; }
.swplus:hover { border-color: var(--blue); }
.swul, .swul ul { list-style: none; margin: 0; padding: 0; }
.swul { padding: 0 6px 8px; }
.swnode { display: flex; align-items: center; gap: 1px; border-radius: 6px; position: relative; }
.swnode.sub { padding-left: 18px; }
.swnode:hover { background: var(--chip); }
.swnode.on { background: var(--soft); box-shadow: inset 3px 0 0 var(--link); }
.swnode.on .swnb { color: var(--link); font-weight: 700; }
.swnode.off .swnm { opacity: .55; font-style: italic; }
.swtog { flex: 0 0 20px; width: 20px; height: 30px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 10px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.swnb { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; border: 0; background: none; padding: 6px 4px; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; }
.swnb svg { width: 16px; height: 16px; flex: none; color: var(--swfold); }
.swnm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swcnt { flex: none; font-size: 11.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; font-variant-numeric: tabular-nums; }
.swed { flex: none; border: 0; background: none; color: var(--muted); cursor: pointer; width: 26px; height: 26px; border-radius: 5px; opacity: 0; padding: 0; }
.swed:hover { color: var(--link); background: var(--surface); }
.swnode:hover .swed, .swnode.on .swed, .swed:focus-visible { opacity: 1; }
@media (hover: none) { .swed { opacity: .75; } }
.swtip { padding: 10px 14px 14px; font-size: 12px; margin-top: auto; }
.swnode[draggable=true] { cursor: grab; }
.swnode.dz-in { background: var(--soft); outline: 2px dashed var(--link); outline-offset: -2px; }
.swnode.dz-vor { box-shadow: inset 0 3px 0 var(--link); } .swnode.dz-nach { box-shadow: inset 0 -3px 0 var(--link); }
tr.dz-vor td { box-shadow: inset 0 3px 0 var(--link); } tr.dz-nach td { box-shadow: inset 0 -3px 0 var(--link); }
.dragging { opacity: .45; }
.swghost { position: fixed; top: -100px; left: 0; background: var(--link); color: #fff; padding: 4px 10px; border-radius: 6px; font-weight: 700; font-size: 13px; }
.swgrid { min-width: 0; display: flex; flex-direction: column; }
.swhead { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.swht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.swht h2 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; text-wrap: balance; }
.swht h2 svg { width: 19px; height: 19px; color: var(--swfold); flex: none; }
.swktext { font-style: italic; }
.swsel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 16px; background: var(--soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.swselk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; } .swselk select { padding: 5px 8px; font-size: 13px; }
.swgrid .tbl { max-height: calc(100vh - 230px); overflow: auto; }
table.swt { font-size: 13.5px; }
.swt th { background: var(--bg); position: sticky; top: 0; z-index: 1; padding: 8px; }
.swt th:has(.swsort) { padding: 0; }
.swsort { border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; padding: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; width: 100%; }
.swsort:hover, .swsort.on { color: var(--ink); } .swsort i { font-style: normal; font-size: 9px; } th.r .swsort { justify-content: flex-end; }
.swt td { padding: 6px 8px; vertical-align: middle; }
.swt tbody tr:nth-child(even) td { background: var(--swzebra); }
.swr { cursor: pointer; }
.swt tbody tr.swr:hover td, .swt tbody tr.swr.mk td { background: var(--soft); }
.swr.off td:not(.c-akt):not(.swc) { opacity: .5; }
.swc { width: 34px; text-align: center; } .swc input { width: 16px; height: 16px; accent-color: var(--link); cursor: pointer; vertical-align: middle; }
.swi { width: 48px; } .swi img { width: 38px; height: 38px; object-fit: contain; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); display: block; }
.swnoimg { width: 38px; height: 38px; border-radius: 5px; background: var(--chip); color: var(--muted); display: flex; align-items: center; justify-content: center; } .swnoimg svg { width: 18px; height: 18px; }
.swnr { font: 600 12.5px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; }
.swnm2 { min-width: 200px; } .swnm2 .hint { display: block; font-size: 12px; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swopen { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.swopen:hover { color: var(--link); text-decoration: underline; }
.swpr { white-space: nowrap; font-variant-numeric: tabular-nums; } .swpr .hint { display: block; font-size: 11.5px; }
.c-typ { white-space: nowrap; }
.c-wg { white-space: nowrap; } .c-wg .swwgn { display: block; font-size: 11.5px; max-width: 9em; overflow: hidden; text-overflow: ellipsis; } .swwg { font-variant-numeric: tabular-nums; } .swwg.std { opacity: .75; border-style: dashed; }
.swh { width: 30px; color: var(--muted); text-align: center; } .swgrip { display: inline-flex; cursor: grab; padding: 4px 2px; } .swgrip svg { width: 10px; height: 16px; }
.swud { display: none; }
@media (pointer: coarse) { .swgrip { display: none; } .swud { display: inline-flex; flex-direction: column; gap: 2px; } .swud button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 4px; font-size: 10px; padding: 3px 7px; } .swud button:disabled { opacity: .3; } }
.swsw { width: 38px; height: 22px; border-radius: 999px; border: 0; background: var(--line); position: relative; cursor: pointer; padding: 0; transition: background .15s; vertical-align: middle; }
.swsw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.swsw.on { background: var(--go); } .swsw.on i { transform: translateX(16px); }
.swpg { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px; border-top: 1px solid var(--line); font-size: 13.5px; }
.swempty { padding: 44px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); }
.swempty p { margin: 0; }
.swfoot { padding: 10px 16px 14px; }
/* Fenster (Artikel, Kategorie) */
.swwin { position: fixed; inset: 0; z-index: 200; background: rgba(21, 22, 24, .45); display: flex; align-items: center; justify-content: center; padding: 24px; }
.swwbox { background: var(--surface); color: var(--ink); width: min(1100px, 100%); height: min(860px, calc(100vh - 48px)); height: min(860px, calc(100dvh - 48px)); display: flex; flex-direction: column; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); overflow: hidden; }
.swkw .swwbox { width: min(560px, 100%); height: auto; max-height: calc(100dvh - 48px); }
.swwhead { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 16px; background: var(--navy); color: #fff; }
.swwhead b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.swwhead .swby { color: rgba(255, 255, 255, .75); font-size: 12px; white-space: nowrap; }
.swwi svg { width: 18px; height: 18px; display: block; }
.swx { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 32px; height: 32px; border-radius: 6px; cursor: pointer; font-size: 15px; flex: none; }
.swx:hover { background: rgba(255, 255, 255, .24); }
.swwtabs { display: flex; gap: 2px; padding: 0 12px; background: var(--bg); border-bottom: 1px solid var(--line); overflow-x: auto; flex: none; }
.swwtabs button { border: 0; background: none; padding: 11px 14px 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; white-space: nowrap; box-shadow: inset 0 -3px 0 transparent; border-radius: 6px 6px 0 0; }
.swwtabs button:hover { color: var(--ink); }
.swwtabs button[aria-selected=true] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--cta); background: var(--surface); }
.swwbody { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.swpane { display: flex; flex-direction: column; gap: 14px; }
.swfs { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px 14px; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.swfs legend { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 0 6px; }
.swwbox h3 { margin: 8px 0 2px; font-size: 14px; }
.swwbox .chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; margin-right: 14px; }
.swfs .chk:has(small) { display: flex; align-items: flex-start; gap: 8px; margin: 0; }
.swfs .chk:has(small) input { margin-top: 3px; }
.swfs .chk > span { display: flex; flex-direction: column; } .swfs .chk small { color: var(--muted); font-size: 12px; }
.swchks { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.swstamm { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.swform { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.swprev { position: sticky; top: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.swpl { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.swpc { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px; background: var(--surface); box-shadow: var(--shadow); }
.swpc .hint:empty { display: none; }
.swpimg { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; overflow: hidden; }
.swpimg img { width: 100%; height: 100%; object-fit: contain; } .swpimg svg { width: 40px; height: 40px; color: var(--muted); }
.swpp { margin-top: 4px; }
.swwfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--bg); flex: none; }
.swask { font-weight: 700; color: var(--warn); font-size: 14px; }
body.swon .toast { z-index: 260; }
@media (max-width: 860px) {
  .swtreeb { display: inline-flex; }
  .swmain { grid-template-columns: 1fr; min-height: 0; }
  .swtree { display: none; border-right: 0; border-bottom: 1px solid var(--line); border-radius: 0; max-height: 60vh; overflow-y: auto; }
  .swb.treeon .swtree { display: flex; }
  .swsep { display: none; }
  .swq { max-width: none; flex-basis: 100%; order: 9; }
  .c-fg, .c-dr, .c-wc, .c-typ { display: none; }
  .swgrid .tbl { max-height: none; }
  .swstamm { grid-template-columns: 1fr; } .swprev { position: static; }
  .swwin { padding: 0; } .swwbox, .swkw .swwbox { height: 100%; max-height: none; border-radius: 0; width: 100%; }
}
.swnrm { display: none; font: 600 11.5px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--muted); }
@media (max-width: 560px) {
  .c-kat, .swi, td.swnr, th:has([data-k="nr"]) { display: none; } .swnrm { display: block; }
  .swhead { flex-direction: column; } .swnm2 { min-width: 110px; } .swt td, .swt th { padding-left: 5px; padding-right: 5px; } .swt th:has(.swsort) { padding: 0; } .swsort { padding: 8px 5px; } .swc { width: 28px; } .swbar select { flex: 1 1 30%; }
  .swfs .row > .field, .swfs .row > p.hint { flex: 1 1 100% !important; } .swwhead .swby { display: none; } .swwbody { padding: 12px; }
}
.field > span.hint { font-weight: 400; font-size: 12.5px; }
/* Shop der Betriebsleiter: Unterkategorien als Abschnitte, Beschreibung der Kategorie */
/* 1.36.118: Unterkategorie als Navy-Balken über die ganze Breite, etwa so hoch wie ein Knopf, Name mittig in Weiß */
.skuk { margin: 12px 0 2px; min-height: 48px; box-sizing: border-box; padding: 8px 16px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: #2e3237; color: #fff; border-radius: 8px; font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; overflow-wrap: anywhere; }
.skktext { margin: -4px 2px 2px; max-width: 70ch; }
/* Kalender (1.36.33): Eintrag auswählen (Maus), in Woche/Tag nach Uhrzeit ziehen, direkt verschieben/löschen; Termin im Büro/beim Kunden mit Wegzeit */
.kchip.ksel, .kev.ksel, .kai.ksel { outline: 2px solid var(--link); outline-offset: 1px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--link) 22%, transparent); z-index: 4; }
.kev.kmoving { opacity: .9; z-index: 6; box-shadow: 0 8px 20px rgba(0, 0, 0, .28); cursor: grabbing; transition: none; }
.kmv { gap: 6px; align-items: center; flex-wrap: wrap; }
.kmv .hint { margin-right: 2px; }
.kwo .kseg button { font-size: 14px; }
.kwoh { margin-top: -4px; }
.kwegr { align-items: flex-end; }
.kwegi b { color: var(--ink); }
.kwegb { position: absolute; border-radius: 5px 5px 0 0; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--kc) 22%, transparent) 0 6px, transparent 6px 12px); border: 1px dashed color-mix(in srgb, var(--kc) 60%, transparent); border-bottom: 0; pointer-events: none; overflow: hidden; }
.kwegb span { font-size: 10.5px; padding: 1px 5px; color: var(--muted); white-space: nowrap; }
/* Artikel: Ausführungen mit ihren Varianten (ziehen zum Zuordnen) */
.shausl { display: flex; flex-direction: column; gap: 10px; }
.shaus { border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.shaus > .shoptr { background: var(--soft); }
.shvars { display: flex; flex-direction: column; gap: 6px; margin-left: 26px; padding-left: 10px; border-left: 3px solid var(--line); min-height: 34px; border-radius: 0 0 0 6px; }
.shvars.shvall { margin-left: 0; border-left: 0; padding: 6px; border: 1.5px dashed var(--line); border-radius: 10px; }
.shaus > .row { margin-left: 36px; }
.shvar { position: relative; padding-left: 24px; }
.shgrip { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); cursor: grab; color: var(--muted); font-size: 15px; letter-spacing: -2px; user-select: none; padding: 6px 2px; }
.shvleer { padding: 6px 4px; }
[data-vgrp].dz-in { outline: 2px dashed var(--link); outline-offset: 2px; background: color-mix(in srgb, var(--link) 6%, var(--surface)); }
.shoptr.dragging { opacity: .45; }
/* Kalender: Verschieben-Knöpfe nur am Rechner – am Handy ändert man den Eintrag normal */
@media (pointer: coarse), (max-width: 700px) { .kmv { display: none !important; } }
/* Aufgabe abgeschlossen? (nach „Aufgabe beenden“ / Feierabend) und erledigte ausblenden */
.kerlq { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; padding: 12px 14px; border-radius: 10px; background: var(--go-soft); border: 1px solid color-mix(in srgb, var(--go) 35%, transparent); }
.kerlq b { font-size: 15px; }
.kerlq .hint { margin: 0; }
.kerlc .kerlq { margin: 0; border: 0; padding: 0; background: none; }
.kerlc { border-left: 4px solid var(--go); }
.kerlb { align-items: center; gap: 10px; margin-bottom: 8px; }
.kerld { margin-top: 6px; }
.kerld summary { cursor: pointer; }
.kerld ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kerld li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
/* Kalender: private Termine (Google, nur für den Inhaber) und Schulferien */
.kchip.privat, .kev.privat, .kai.privat { background-image: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--kc) 10%, transparent) 7px 9px); }
.kev.privat b::before, .kchip.privat::before { content: '🔒 '; font-size: .85em; }
.tag.kprivt { background: color-mix(in srgb, var(--kc, #778490) 14%, #fff); color: color-mix(in srgb, var(--kc, #778490) 80%, #000); }
/* Benutzer › Kalender: verbundene Kalender, Sichtbarkeit, wer sieht was */
.kuser { margin: 4px 0; }
.ku { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.ku h4 { margin: 4px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; }
.kuc { border: 1px solid var(--line); border-left: 4px solid var(--kc); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }
.kuch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kuch input { flex: 1 1 180px; min-width: 0; font-weight: 700; }
.kudot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--kc, #778490); flex: none; margin-right: 6px; vertical-align: baseline; }
.kuad { margin: 0; word-break: break-all; }
.kufb { align-items: center; }
.kusw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; box-shadow: inset 0 0 0 2px var(--surface); }
.kusw.on { border-color: var(--ink); }
.kuadd { border: 1px dashed var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.kusteps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.kug { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.kug p { margin: 0; }
.kufile { cursor: pointer; }
.kuhow summary { cursor: pointer; font-weight: 600; }
.kugh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kuwer h4 { margin-bottom: 6px; }
.kuwer td { white-space: nowrap; vertical-align: top; }
.kuwer td.kuwas { white-space: normal; min-width: 200px; }
.kuno { color: var(--muted); }
.kuwern { display: inline; } .kuwern summary { display: inline; cursor: pointer; color: var(--link, #ab0e18); }
.kpcal { display: flex; align-items: center; margin: 0; }
.kprivb.on { border-color: #778490; color: #59626c; }
.kpriv .kprivh { margin: 0; padding-left: 20px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.kpriv input[type=url] { width: 100%; }
.kferc { font-size: 13px; white-space: nowrap; }
.kc.fer, .kgcol.fer, .kgad.fer { background-image: linear-gradient(color-mix(in srgb, #f2b33d 11%, transparent), color-mix(in srgb, #f2b33d 11%, transparent)); }
.kferl { display: inline-block; font-size: 10.5px; font-weight: 600; color: #8a5a00; background: color-mix(in srgb, #f2b33d 22%, transparent); border-radius: 4px; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kferl { color: #f4c770; } html[data-site="time"] .tag.kprivt { background: #2e3236; color: #cfd3d7; } }
.kagfer { margin: 2px 0 4px; }
/* Bestellungen (Uhr): Lieferscheine als Karten – LS-Nummer groß, Dringlichkeit, zwei große Knöpfe (1.36.50) */
.pflist { gap: 10px; }
.pfrow { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 5px; padding: 12px 14px 12px 16px; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface, #fff); box-shadow: inset 5px 0 0 var(--pfc, var(--line)); }
.pfrow:first-child { border-top: 1px solid var(--line); } .pfrow + .pfrow, .pfrow.done + .pfrow, .pfrow + .pfrow.done { border-top-color: var(--line); }
.pfrow.rot { --pfc: #d32f2f; background: color-mix(in srgb, #d32f2f 9%, var(--surface, #fff)); border-color: color-mix(in srgb, #d32f2f 40%, var(--line)); }
.pfrow.orange { --pfc: #f57c00; background: color-mix(in srgb, #f57c00 9%, var(--surface, #fff)); border-color: color-mix(in srgb, #f57c00 40%, var(--line)); }
.pfrow.done { --pfc: var(--go); background: var(--sh-erl); margin: 0; padding-left: 16px; padding-right: 14px; box-shadow: inset 5px 0 0 var(--go); }
.pfrow.storno { --pfc: var(--bad); background: var(--sh-sto); margin: 0; padding-left: 16px; padding-right: 14px; box-shadow: inset 5px 0 0 var(--bad); }
.pfh { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pfls { font-size: 26px; font-weight: 800; line-height: 1.1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.pfls .pfpdf { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: 10px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--accent, #c1101c); cursor: pointer; vertical-align: middle; position: relative; top: -2px; }
.pfls .pfpdf svg { width: 22px; height: 22px; }
.pfls .pfpdf:active { transform: scale(.94); }
.pfrow.done .pfls .pfpdf { color: #1d6b3a; }
.pfls small { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; margin-right: 4px; vertical-align: 3px; }
.pfbad { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; } .pfbad .pfu { font-size: 12.5px; padding: 3px 10px; margin: 0; }
.pfu.prio { background: #c62828; color: #fff; box-shadow: none; }
.pfk { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; min-width: 0; } .pfk .pflogo { height: 24px; margin: 0; flex: none; }
.pfm { font-size: 13px; color: var(--muted); } .pfm.pfkombi { color: var(--kombi); font-weight: 600; }
.pfst { font-size: 13px; color: var(--muted); } .pfst.dr { color: #911d25; font-weight: 600; } .pfst.ok { color: var(--go); font-weight: 600; } .pfrow.storno .pfst { color: var(--bad); font-weight: 600; }
.pfbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; justify-content: stretch; flex: none; } .pfbtns.eins { grid-template-columns: minmax(0, 1fr); }
.pfb { min-height: 48px; border: 0; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; color: #fff; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.12); padding: 8px 10px; }
.pfb.dr { background: #c81d28; } .pfb.gr { background: #a23b8f; } .pfb.ok { background: #1f8a4c; } .pfb:active { transform: translateY(1px); filter: brightness(.95); } .pfb:disabled { opacity: .6; cursor: default; }
.pffoot { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.pfrow .pfzu { font: inherit; font-size: 13px; font-weight: 600; border: 1px solid var(--go); color: var(--go); background: transparent; border-radius: 999px; padding: 5px 12px; cursor: pointer; margin: 0; } .pfrow .pfzu.arm { background: var(--go); color: #fff; }   /* 1.36.861 */
.pfrow .pfprio { font: inherit; font-size: 13px; font-weight: 600; border: 1px solid #d32f2f; color: #b3261e; background: transparent; border-radius: 999px; padding: 5px 12px; cursor: pointer; margin: 0; }
.pfrow .pfprio.an { background: #d32f2f; color: #fff; }
@media (min-width: 760px) { .pfbtns { grid-template-columns: repeat(2, 210px); justify-content: end; } .pfbtns.eins { grid-template-columns: 210px; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .pfst.dr { color: #f59ca2; } html[data-site="time"] .pfrow .pfprio { color: #ff8a80; border-color: #ff8a80; } html[data-site="time"] .pfrow .pfprio.an { color: #fff; background: #c62828; border-color: #c62828; } }
.pfline { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: end; }
.pfline .field { margin: 0; min-width: 0; } .pfline input { width: 100%; height: 56px; font-size: 18px; font-weight: 700; text-align: center; letter-spacing: .04em; box-sizing: border-box; }
.pfline .pfb { height: 56px; min-height: 0; font-size: 14px; line-height: 1.15; padding: 4px 8px; }
@media (min-width: 760px) { .pfline { grid-template-columns: 8em 210px 210px; justify-content: start; } }
/* Kombiversand-Vorschläge (Shop › Bestellungen) */
.kvbox { border-color: color-mix(in srgb, var(--kombi, #8f99a3) 45%, var(--line)); background: color-mix(in srgb, var(--kombi, #8f99a3) 6%, var(--surface, #fff)); }
.kvrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.kvrow:first-of-type { border-top: 0; } .kvt { min-width: 0; flex: 1 1 320px; } .kvk { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.kvb { display: flex; align-items: center; gap: 12px; flex: none; }

/* 1.36.52 · 📷 Scannen oben im Kopf (Lieferschein-QR / Stempel-Tablet) */
header.top .hscan { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 32px; padding: 0 13px; border: 0; border-radius: 3px; background: #ffd84d; color: #2e3237; font-family: inherit; font-size: 13px; line-height: 1; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
header.top .hscan svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
header.top .hscan:hover { background: #ffe485; }
header.top .hscan:focus-visible { outline: 2px solid #ec1322; outline-offset: 2px; }
header.top .hscan[hidden] { display: none; }
@media (max-width: 700px) { header.top .hscan { height: 30px; padding: 0 9px; font-size: 12px; gap: 5px; } }
@media (max-width: 520px) { header.top .hscan span { display: none; } header.top .hscan { padding: 0 8px; } }

/* 1.36.52 · Fenster über dem ganzen Bildschirm: „abgeschlossen?“, „Foto?“, Lieferschein fertig melden */
body.ztovon { overflow: hidden; }
.ztov { position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(19, 20, 22, .62); animation: ztovin .15s ease-out; }
@keyframes ztovin { from { opacity: 0; } to { opacity: 1; } }
.ztovp { width: min(520px, 100%); max-height: 100%; overflow: auto; background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); padding: 26px 22px 20px; }
.ztovk { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.ztovi { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--go-soft, #e6f6ee); color: #1f8a4c; }
.ztovls .ztovi { background: #eff0f2; }
.ztovt { margin: 4px 0 0; font-size: 22px; line-height: 1.25; text-wrap: balance; }
.ztovt b { font-size: 1.25em; letter-spacing: .02em; }
.ztovh { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 40ch; }
.ztovinfo { color: var(--ink); font-weight: 600; }
.ztovw { margin: 2px 0 0; padding: 8px 12px; border-radius: 10px; background: #f2f3f4; color: #34393e; font-size: 14px; font-weight: 600; }
.ztovw.ok { background: #e3f5ea; color: #17643a; } .ztovw.bad { background: #fde8e6; color: #a32116; }
.ztovb { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 10px; }
.ztovbt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; min-height: 60px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.ztovbt small { font-size: 12.5px; font-weight: 500; opacity: .85; }
.ztovbt.go { border-color: #1f8a4c; background: #1f8a4c; color: #fff; }
.ztovbt.dr { border-color: #c81d28; background: #c81d28; color: #fff; }
.ztovbt.ab { border-color: #c26a0a; background: #c26a0a; color: #fff; }   /* Fertig zur Abholung (1.36.95) */
.ztovbt.lsu { border-color: #a83f46; background: #a83f46; color: #fff; }   /* Unterschrift Kunde (1.36.229) */
.ztovbt.gr { border-color: #a23b8f; background: #a23b8f; color: #fff; }   /* Grafik fertig (1.36.295) */
.lsuov { position: fixed; inset: 0; z-index: 1000; background: rgba(21, 23, 25, .55); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: max(12px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
body.lsuopen { overflow: hidden; }
.lsubox { width: 100%; max-width: 680px; background: var(--surface, #fff); color: var(--ink, #1f2a33); border-radius: 16px; padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.lsukopf { display: flex; align-items: center; gap: 10px; } .lsukopf h2 { flex: 1; margin: 0; font-size: 20px; }
.lsuls { margin: 0; font-size: 15px; }
.lsusig { position: relative; height: clamp(190px, 38vh, 300px); border: 2px dashed var(--line); border-radius: 12px; background: #fcfcfc; touch-action: none; overflow: hidden; }
.lsusig canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.lsusig .lsuph { position: absolute; left: 18px; right: 18px; bottom: 40px; border-bottom: 1.5px solid #9fb0bf; color: #7c8c9a; font-size: 14px; padding-bottom: 3px; pointer-events: none; } .lsusig .lsuph.weg { visibility: hidden; }
.lsusig > .btn { position: absolute; right: 8px; top: 8px; background: #fff; color: #2e3237; }
.lsusig.fehlt { border-color: var(--rot, #e9202d); }
.lsub { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .lsub .lsugo { flex: 1 1 260px; min-height: 52px; font-size: 16px; }
.lsubox.busy .lsusig { opacity: .6; }
/* Drucker-Raum (1.36.200): Druck-Stand groß im Scan-Fenster – damit nichts doppelt gedruckt wird; Weiterverarbeitung (laminieren) in Bernstein */
.ztovbt.wv { border-color: #b7740c; background: #b7740c; color: #fff; }
.ztovst { margin: 4px 0 0; padding: 10px 14px; border-radius: 12px; border: 2px solid #d2d6da; background: #f2f3f4; color: #34393e; font-size: 17px; font-weight: 800; line-height: 1.3; }
.ztovst small { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; }
.ztovst.neu { border-color: #b4bbc1; background: #f0f2f3; color: #8c171f; }
.ztovst.wv { border-color: #e5a83a; background: #fff3dc; color: #6e4300; }
.ztovst.dr, .ztovst.bad { border-color: #ef9a90; background: #fde8e6; color: #a32116; }
.ztovst.ok { border-color: #8fd1a8; background: #e3f5ea; color: #17643a; }
.pfb.wv { background: #b7740c; } .pfst.wv { color: #9a5d06; font-weight: 600; }
/* Reiter „Montagen“ (1.36.201): Stand je Lieferschein als Chips – Druck, Produktion, Versand, Termin */
.mosteps { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.most { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: #f2f3f4; color: #34393e; white-space: nowrap; }
.most.ok { background: #e3f5ea; color: #17643a; } .most.go { background: #f0f2f3; color: #8c171f; } .most.wv { background: #fff3dc; color: #6e4300; } .most.warn { background: #fdecd6; color: #8a4b00; } .most.bad { background: #fde8e6; color: #a32116; }
.pfrow.mooffen { box-shadow: inset 4px 0 0 #e5a83a; }
/* Montagetermin dem Besteller mitteilen (1.36.202) */
.kmail { margin: 10px 0 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } .kmail p { margin: 0; } .kmail h3 { margin: 0; font-size: 15px; }
.kmail.on { padding: 10px 12px; border: 1px solid #b4bbc1; border-radius: 10px; background: #f7f8f9; } .kmailw { color: #a35b00; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kmail.on { background: #262a2d; border-color: #852f35; } html[data-site="time"] .kmailw { color: #ffd38a; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .most { background: #24282b; color: #d7dbde; } html[data-site="time"] .most.ok { background: #143524; color: #8fe0b0; } html[data-site="time"] .most.go { background: #262a2d; color: #f2a9ae; }
  html[data-site="time"] .most.wv, html[data-site="time"] .most.warn { background: #33260f; color: #ffd38a; } html[data-site="time"] .most.bad { background: #3d1a17; color: #f4a39a; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .ztovst { background: #24282b; color: #d7dbde; border-color: #42484e; } html[data-site="time"] .ztovst.neu { background: #262a2d; color: #f2a9ae; border-color: #852f35; }
  html[data-site="time"] .ztovst.wv { background: #33260f; color: #ffd38a; border-color: #8a5c12; } html[data-site="time"] .ztovst.dr, html[data-site="time"] .ztovst.bad { background: #3d1a17; color: #f4a39a; border-color: #7a2c25; }
  html[data-site="time"] .ztovst.ok { background: #143524; color: #8fe0b0; border-color: #24603f; } html[data-site="time"] .pfst.wv { color: #f0b552; } }
.ztovbt:active { transform: translateY(1px); filter: brightness(.96); }
.ztovbt:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }
.ztovbt:disabled { opacity: .6; cursor: default; }
.ztovx { align-self: center; margin-top: 2px; padding: 10px 18px; font-size: 16px; }
.ztovup { padding: 18px; border-radius: 14px; background: #f2f3f4; color: #34393e; font-weight: 600; }
@media (max-width: 560px) { .ztov { align-items: stretch; padding: 0; } .ztovp { width: 100%; max-height: none; border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: max(28px, env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); } .ztovt { font-size: 24px; } .ztovbt { min-height: 66px; font-size: 19px; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .ztovw, html[data-site="time"] .ztovup, html[data-site="time"] .ztovls .ztovi { background: #24282b; color: #d7dbde; } html[data-site="time"] .ztovw.ok { background: #143524; color: #8fe0b0; } html[data-site="time"] .ztovw.bad { background: #3d1a17; color: #f4a39a; } }

/* 1.36.52 · ⚡ dringend in der Bestellliste (Portal und App „Bestellungen & Lieferscheine“) */
.shrow.shdr td { background: var(--bad-bg, #fdecea); } .shrow.shdr td:first-child { box-shadow: inset 4px 0 0 #d32f2f; }
.shrow.shdr:hover td { filter: brightness(.97); }
.shprio { display: inline-flex; align-items: center; gap: 3px; margin: 0 6px 4px 0; padding: 3px 9px; border: 1.5px dashed var(--line); border-radius: 99px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.shprio:hover { border-color: #d32f2f; color: #d32f2f; }
.shprio.an { border: 1.5px solid #d32f2f; background: #d32f2f; color: #fff; }
.shprio.an:hover { background: #b71c1c; color: #fff; }
span.shprio { cursor: default; }
.shprio.gross { padding: 7px 14px; font-size: 14px; }
.shprio:focus-visible { outline: 2px solid #f5b400; outline-offset: 2px; }
/* 1.36.54 · Einsatz ohne Termin: drei Knöpfe nebeneinander, 📷 Scannen ganz rechts */
.kspon .kspb { display: flex; flex-wrap: nowrap; gap: 6px; align-items: stretch; margin-top: 6px; }
.kspon .kspb .btn { flex: 1 1 0; min-width: 0; min-height: 44px; margin: 0; padding: 6px 8px; white-space: normal; line-height: 1.2; text-align: center; justify-content: center; }
.kspon .kspb .kspscan { flex: 0 0 auto; }
/* 1.36.53 · 📷 neben „+ Nur hinzufügen“ in der Uhr */
.kspon .kspscan { background: #ffd84d; border-color: #e6bf2e; color: #2e3237; font-weight: 700; }
.kspon .kspscan:hover { background: #ffe485; }
/* 1.36.55 · „Produktion fertig“ in der Liste: zweimal tippen – nach dem ersten Tippen gelb umrandet */
.pfb.ok.arm { background: #145c33; box-shadow: 0 0 0 3px #ffd84d; line-height: 1.15; }
.pfb.arm small { font-size: 12px; font-weight: 600; opacity: .9; }
/* 1.36.56 · Foto-Fenster: gespeicherte Fotos als kleine Vorschau */
.kfovg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2px 0; }
.kfovg img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* 1.36.58 · 📷 QR scannen: runder gelber Knopf unten rechts, immer gleich groß und immer da */
.hfab { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--vvb, 0px)); display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: #ffd84d; color: #2e3237; box-shadow: 0 6px 18px rgba(0, 0, 0, .28), 0 1px 3px rgba(0, 0, 0, .2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hfab[hidden] { display: none; }
.hfab svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hfab:hover { background: #ffe485; }
.hfab:active { transform: translateY(1px); filter: brightness(.96); }
.hfab:focus-visible { outline: 3px solid #2e3237; outline-offset: 2px; }
body.hfabon .foot { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
body.hfabon .toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
/* 1.36.632 (Ernst 16.11. 11:03 iPhone „Kamera und Sprachassistent in der Uhr fehlen“): ausblenden nach dem Zustand der Seite statt nach Merk-Klassen –
   eine hängengebliebene Klasse (z. B. Safari meldet kein focusout, wenn ein Feld mit Fokus beim Neuzeichnen verschwindet) versteckte die Knöpfe dauerhaft */
body:has(.ztov) .hfab, body:has(.qsc) .hfab, body:has(#mnav:not([hidden])) .hfab { display: none; }
@supports not selector(:has(*)) { body.ztovon .hfab, body.qscon .hfab, body.navopen .hfab { display: none; } }
@media print { .hfab { display: none !important; } }
@media (hover: none) and (pointer: coarse) { body:has(input:not([type=checkbox]):not([type=radio]):not([type=button]):not([type=submit]):not([type=reset]):not([type=range]):not([type=file]):not([type=color]):focus, textarea:focus, select:focus, [contenteditable=""]:focus, [contenteditable="true"]:focus) .hfab { display: none !important; } }   /* 1.36.469: beim Tippen (Bildschirmtastatur) nicht über den Feldern; 1.36.632: nach :focus */
@supports not selector(:has(*)) { @media (hover: none) and (pointer: coarse) { body.tippt .hfab { display: none !important; } } }
/* 1.36.289 (Ernst 07:40) · Sprachassistent: blauer Mikrofon-Knopf direkt über dem Kamera-Knopf */
.hfab.hmic { width: 56px; height: 56px; right: calc(max(16px, env(safe-area-inset-right, 0px)) + 4px); bottom: calc(92px + env(safe-area-inset-bottom, 0px) + var(--vvb, 0px)); background: var(--blue); color: #fff; }
.hfab.hmic svg { width: 27px; height: 27px; } .hfab.hmic:hover { background: #e71321; } .hfab.hmic:focus-visible { outline-color: var(--navy); }
body.hmicon .foot { padding-bottom: calc(164px + env(safe-area-inset-bottom, 0px)); }
body.hmicon .toast { bottom: calc(164px + env(safe-area-inset-bottom, 0px)); }
body.hmicnur .hfab.hmic { bottom: calc(20px + env(safe-area-inset-bottom, 0px) + var(--vvb, 0px)); }   /* 1.36.336: ohne Kamera-Knopf unten an seiner Stelle (der Knopf oben im Kopf ist weg) */
/* 1.36.289 · Inventur per Sprache: dasselbe blaue Mikrofon in der Erfassung (über dem Fenster), Zuhören pulsiert */
.hfab.hmic.an { background: #9b0d16; animation: hmicpuls 1.4s ease-in-out infinite; } .hfab.hmic:disabled { opacity: .55; cursor: default; }
@keyframes hmicpuls { 0%, 100% { box-shadow: 0 0 0 0 rgba(206, 17, 29, .55), 0 6px 18px rgba(0, 0, 0, .28); } 50% { box-shadow: 0 0 0 14px rgba(206, 17, 29, 0), 0 6px 18px rgba(0, 0, 0, .28); } }
@media (prefers-reduced-motion: reduce) { .hfab.hmic.an { animation: none; outline: 3px solid #ffd84d; } }
.mfov:has(.mfspfab) { padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px)); }
.mfsptip { margin: 8px 0 0; } .mfspok, .mfspvgl, .mfsphoer { margin: 8px 0 0; } .mfspzw { font-style: italic; overflow-wrap: anywhere; }
.mfsptx { display: flex; gap: 8px; margin-top: 8px; } .mfsptx input { flex: 1 1 auto; min-width: 0; font: inherit; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
/* 1.36.63 · Bestellung löschen (Verwaltung) */
.shbtn .shdel { color: var(--bad, #b3261e); margin-left: 14px; }
.chips .chip.chdel { opacity: .8; }
/* 1.36.64 · Kombiversand: Fenster vor der Fertigmeldung */
.ztovkl { list-style: none; margin: 2px 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.ztovkl li { display: flex; flex-direction: column; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--kombi-bg, #efe6fa); color: var(--ink); }
.ztovkl li b { font-size: 17px; } .ztovkl li span { font-size: 13px; color: var(--muted); }

/* 1.36.64 · Meine Bestellungen: Pakete mit Sendungsnummern; Kombiversand zusammen mit Klammer */
.skpak { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--kombi-bg, #efe6fa); }
/* 1.36.367: Grafiken digitaler Positionen direkt in der Bestellkarte */
.skgraf { margin: 10px 0 4px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--blue) 9%, var(--surface)); }
.skgraft { display: block; font-size: 14px; margin-bottom: 6px; }
.skgraf ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.skgraf li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
.skgrafn { flex: 1 1 260px; min-width: 0; }
.skgraf .skdl { margin: 0; }
.skpakt { display: block; font-size: 14px; margin-bottom: 6px; }
.skpak ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.skpak li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14px; }
.skpakn { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; min-width: 62px; }
.skpak li small { color: var(--muted); }
.skpak a { text-decoration: none; } .skpak a b { text-decoration: underline; }
.skkombi { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(170px, 250px); gap: 0 10px; align-items: stretch; margin: 8px 0 14px; }
.skkl { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.skkl .skme { margin: 0; }
.skkk { border: 3px solid var(--kombi, #6b3fa0); border-left: 0; border-radius: 0 18px 18px 0; margin: 18px 0; }
.skkp { align-self: center; display: flex; flex-direction: column; gap: 4px; }
.skkp .skpak { margin: 2px 0 0; }
.skkpt { margin: 0; font-weight: 800; color: var(--kombi, #6b3fa0); font-size: 14px; }
.skkp > .hint { margin: 0; }
@media (max-width: 720px) {
  .skkombi { grid-template-columns: minmax(0, 1fr); border-left: 4px solid var(--kombi, #6b3fa0); padding-left: 10px; border-radius: 4px; }
  .skkk { display: none; }
  .skkp { align-self: stretch; padding-top: 8px; }
}
/* 1.36.64 · „Noch n Bestellungen vor Ihrer“ / „als Nächstes dran“ mittig, Erklärung mittig darunter */
.skwarte { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 6px 12px 8px; }
.skwarte p.skwt { display: block; border: 0; background: none; padding: 0; cursor: auto; text-align: center; margin: 6px auto 0; }
/* 1.36.64 · Fußzeile der Zeiterfassung: Standort-Prüfung an/aus */
footer.foot .footgps:empty { display: none; }
footer.foot .footgps { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; }
footer.foot .footgps .link { font-size: 13px; }
/* Vorlagenartikel (Shop-Artikel): Hinweis, schreibgeschützte Felder, Kennzeichen in der Liste */
.swvlro { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.swvlro[disabled] { opacity: .72; }
.swvlro[disabled] input, .swvlro[disabled] select, .swvlro[disabled] textarea { cursor: not-allowed; }
.swvln { margin: 0; padding: 8px 12px; border-radius: 8px; background: var(--soft); color: var(--ink); font-size: 13.5px; line-height: 1.45; }
.swvlt { display: block; margin-top: 3px; }
.tag.vl { background: var(--soft); color: var(--link); }
.tag.vlh { background: var(--go-soft); color: var(--go); }
/* Stempeluhr: Gruß statt Einstempeln (Feierabend in der Ruhezeit, Urlaub, krank) */
.ztgruss { --gc: var(--link); --gb: var(--soft); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; max-width: 420px; padding: 16px 14px 14px; border-radius: 12px; background: var(--gb); text-align: center; }
.ztgruss.urlaub { --gc: var(--warn); --gb: var(--warn-bg); }
.ztgruss.krank { --gc: var(--bad); --gb: var(--bad-bg); }
.ztgruss .ztgi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--gc); }
.ztgruss svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ztgruss b { font-size: 17px; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.ztgruss .hint { font-size: 13px; }
.ztgruss .ztrotz { margin-top: 4px; font-size: 14px; }
.ztfaw { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; } .ztfaw .btn { flex: none; max-width: none; min-height: 52px; font-size: 16px; padding: 12px 16px; }   /* 1.36.88: nach dem Feierabend wieder einstempeln */
/* Selbstregistrierung (1.36.69): Hinweis auf der Anmeldeseite, Formular, Freigabe in Benutzer */
.regbox { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--soft); color: var(--ink); }
.regbox span { font-size: 14px; line-height: 1.45; }
.regform textarea { resize: vertical; min-height: 44px; }
/* 1.36.368: Anmeldeseite – noch kein Zugang zur Adresse: Formular „Zugang anlegen“ direkt unter der Adresse */
.lreg:not([hidden]) { display: flex; flex-direction: column; gap: 12px; }
.lreg textarea { resize: vertical; min-height: 44px; }
.lreg p.hint { margin: 0; }
.lregneu { display: flex; flex-direction: column; gap: 4px; margin: 2px 0; padding: 12px 14px; border-radius: 10px; border-left: 4px solid var(--blue); background: var(--soft); color: var(--ink); }
.lregneu span { font-size: 14px; line-height: 1.45; }
.regsec .regk { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.regkh { display: flex; flex-direction: column; gap: 2px; }
.regkst { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.regkf { align-items: flex-end; flex-wrap: wrap; }
.regalt { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.regsec details { margin-top: 10px; } .regsec summary { cursor: pointer; color: var(--muted); font-size: 14px; }
/* Favoriten (Stern) in der Inventur und im Shop */
.hfw { position: relative; display: flex; min-width: 0; }
.hfw > .house { flex: 1; min-width: 0; padding-right: 46px; }
.hstar, .skstar { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 22px; line-height: 1; padding: 6px; border-radius: 8px; }
.hstar { position: absolute; top: 6px; right: 6px; }
.hstar.on, .skstar.on { color: #e0a100; }
.hstar:hover, .skstar:hover, .hstar:focus-visible, .skstar:focus-visible { background: var(--soft); color: #e0a100; outline: none; }
.skkor { display: flex; align-items: center; gap: 2px; } .skkor > .skko { flex: 1; min-width: 0; }
.skstar { font-size: 19px; flex: 0 0 auto; }
.skfav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; }
.skfc { display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13.5px; cursor: pointer; }
.skfc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; color: var(--muted); }
.skfc:hover, .skfc.on { border-color: #e0a100; background: var(--soft); }
/* 1.36.165: Favorit direkt bei der gewählten Kostenstelle; × entfernt einen Favoriten */
.skfcw { display: inline-flex; align-items: center; max-width: 100%; }
/* 1.36.319 (Ernst 30.10. 16:25): Favoriten über der Suche gelblich mit goldenem Stern */
.skfav .skfc, .skfav .skfcx { background: #fff6d6; border-color: #f0c84a; }
.skfav .skfc:hover, .skfav .skfc.on { background: #ffe9a3; border-color: #e0a100; } .skfav .skfcx:hover { background: #ffe9a3; }
.skfc .skfcs { color: #e0a100; font-size: 15px; line-height: 1; overflow: visible; max-width: none; text-shadow: 0 0 1px rgba(150, 100, 0, .35); }
.skfav > .hint { color: #8a5a00; font-weight: 700; }
.skfcw .skfc { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: 0; min-width: 0; }
.skfcx { border: 1px solid var(--line); border-left: 0; background: var(--surface); color: var(--muted); border-radius: 0 999px 999px 0; padding: 5px 10px 5px 6px; font: inherit; font-size: 15px; line-height: 1; cursor: pointer; align-self: stretch; }
.skfcx:hover { color: var(--bad, #b42318); background: var(--soft); }
.skfcw:has(.skfc.on) .skfcx, .skfcw:hover .skfcx { border-color: #e0a100; }
.skfavw { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.skfavw .hint { font-size: 12.5px; } .skfavon { background: #fff6dc; color: #8a5a00; border-color: #e0a100; }
.skfavb { white-space: nowrap; }
.btn.skfavb { padding: 10px 18px; font-size: 15px; background: #ffd23f; border-color: #e0a100; color: #4a3300; box-shadow: 0 1px 2px rgba(120, 80, 0, .18); }   /* 1.36.319 (Ernst 30.10. 16:17): größer, gelb */
.btn.skfavb:hover, .btn.skfavb:focus-visible { background: #ffc61a; border-color: #c98f00; }
.skfav0 { margin: 2px 0 6px; font-size: 13px; }
/* Shop: Bestellungen teilen (1.36.70) – Anfrage, Freigaben, Kennzeichnung „geteilt von“, ausblenden */
.skteilanf { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.skteilk { display: inline-flex; align-items: center; gap: 6px; }   /* 1.36.793: Artikel teilen */
.skteilp { max-width: 520px; }
.skteilb { display: flex; gap: 12px; align-items: center; margin: 12px 0 4px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.skteilb img { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; background: #fff; flex: none; }
.skteilb span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.skteilp textarea { resize: vertical; min-height: 70px; }
.skteil > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.skteil > summary::-webkit-details-marker { display: none; }
.skteil > summary h2 { margin: 0; } .skteil > summary h2::after { content: ' ▾'; color: var(--muted); font-size: .8em; } .skteil[open] > summary h2::after { content: ' ▴'; }
.skteil[open] > summary { margin-bottom: 10px; }
.skteil h3 { margin: 14px 0 6px; font-size: 14px; }
.skteill { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.skteill li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.skteill li > span:first-child { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.skteilf { align-items: flex-end; flex-wrap: wrap; }
.skwer { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.skmef { align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.skmeq { align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; } .skmeq .field { min-width: min(100%, 260px); max-width: 520px; margin: 0; } .skmeq .hint { padding-bottom: 8px; }   /* Meine Bestellungen: Suche (1.36.314) */
.skmefuss { align-items: center; gap: 8px; }
.skaus { font-size: 13px; color: var(--muted); }
/* Pinnwand: Empfänger auswählen (1.36.72) */
.ztpinan { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; max-height: 240px; overflow-y: auto; }
/* Stempeluhr: Mitteilung der Verwaltung (abgelehnte Zeit mit Begründung) */
.ztinfo { border-left: 5px solid var(--bad); background: color-mix(in srgb, var(--bad) 6%, var(--surface)); }
.ztinfog { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.ztreqact input[data-zhn] { flex: 1 1 220px; min-width: 0; }
/* Artikel: Untervarianten eingerückt unter ihrer Variante (1.36.73) */
.shunts { margin: 2px 0 10px 34px; padding-left: 12px; border-left: 2px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }
.shunts.shuall { margin-left: 0; }
.shoptr.shunt { background: var(--bg); }
.shuadd { align-self: flex-start; }
@media (max-width: 600px) { .shunts { margin-left: 10px; } }
/* Zeiterfassung: abgelehnte Zeiten (aufklappbar) */
.ztabgl > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.ztabgl > summary::-webkit-details-marker { display: none; }
.ztabgl > summary h2 { margin: 0; } .ztabgl > summary h2::after { content: ' ▾'; color: var(--muted); font-size: .8em; } .ztabgl[open] > summary h2::after { content: ' ▴'; }
.ztabgl[open] > summary { margin-bottom: 10px; }
.ztreqact input[data-zab] { flex: 1 1 220px; min-width: 0; }
/* 1.36.74: Artikelnummern der Varianten (Editor, Bestellungen, Aufträge) */
.shvnr td.shvnrn { white-space: nowrap; font-variant-numeric: tabular-nums; }
.shvnr td.shvnrn b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: .01em; }
.vartnr { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; font-weight: 600; padding: 1px 6px; border-radius: 5px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); vertical-align: 1px; white-space: nowrap; }
/* 1.36.77: Bilder aus den Druckdateien (Artikel-Editor) */
.shpdfb { margin-top: 16px; }
.shpdfg { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 10px; }
.shpdff { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.shpdff.zu { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.shpdff img { width: 100%; height: 130px; object-fit: contain; background: var(--bg); display: block; }
.shpdff figcaption { padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shpdff figcaption small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shpdff select { width: 100%; min-width: 0; font-size: 13px; }
/* 1.36.78: Wahlschritte mit eigener Bezeichnung und Preistabelle je Ausführung × Variante (Artikel-Editor) */
.shsteps { padding: 8px 10px; border-radius: 8px; background: var(--soft); color: var(--ink); }
.shnm { align-items: flex-end; gap: 10px; margin: -2px 0 8px; } .shnm .field { flex: 0 1 220px; } .shnm .hint { padding-bottom: 9px; }
.shmx { width: auto; min-width: 0; }
.shmx th, .shmx td { white-space: nowrap; }
.shmx thead th { text-align: center; } .shmx thead th.mxe { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; }
.shmx tbody th { text-align: left; }
.shmx td { min-width: 112px; }
.shmx td input[type=text] { width: 100%; max-width: 120px; min-width: 76px; text-align: right; font-variant-numeric: tabular-nums; }
.shmx td input[type=text]::placeholder { color: var(--muted); opacity: .75; }
.shmx td .chk { display: flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 12px; color: var(--muted); font-weight: 400; }
.shmx td.mxno { background: var(--bad-bg); } .shmx td.mxno .chk { color: var(--bad); font-weight: 600; }
.shmx td.mxno input[type=text] { text-decoration: line-through; opacity: .6; }
.shmx td.mxna { color: var(--muted); text-align: center; vertical-align: middle; }
/* 1.36.79: Wahlschritte in eigener Reihenfolge (Artikel-Editor) – Schritte und Werte mit ▲ ▼ verschieben, eigene Schritte (z. B. Land) */
.shstep { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.shstep:first-of-type { border-top: 0; margin-top: 0; }
.shsk { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.shsk h3 { margin: 6px 0 0; flex: 1 1 260px; min-width: 0; }
.shsn { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.6em; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; margin-right: 4px; vertical-align: 1px; }
.shsmv { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.shsmv .btn.small { min-width: 34px; padding-left: 8px; padding-right: 8px; }
.shsmv .btn[disabled] { opacity: .35; cursor: default; }
.shstx { background: color-mix(in srgb, var(--soft) 45%, transparent); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 10px; margin-top: 12px; }
.shxw { display: flex; flex-direction: column; gap: 6px; }
.shoptr.shxr { background: var(--surface); }
.shwmv { display: inline-flex; gap: 2px; align-items: center; }
.shwmv .link { text-decoration: none; padding: 2px 5px; font-size: 12px; }
.shsadd { align-items: center; gap: 10px; margin-top: 12px; }
.shsadd .hint { flex: 1 1 260px; min-width: 0; }
/* 1.36.79: Ecke unten rechts – laufende Version, für die Verwaltung der belegte Speicher (Klick: Aufteilung) */
.vbadge { position: static; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding: 4px max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }   /* 1.36.88: unten auf der Seite statt schwebend; nur Verwaltung */
@media (max-width: 700px) { .vbadge { display: none !important; } }   /* Handy: im Menü (☰) */
.mnavv button { justify-content: space-between; } .mnavv button .hint { font-weight: 500; } .mnavv .vbpop { width: auto; max-height: none; box-shadow: none; margin: 4px 2px 0; } .mnavv .vbpop button { display: inline; width: auto; padding: 2px 4px; font-size: inherit; font-weight: inherit; border-radius: 4px; }
.vbadge[hidden] { display: none; }
.vbbtn { pointer-events: auto; order: 2; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--muted); font: inherit; font-size: 11.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; box-shadow: var(--shadow, 0 1px 2px rgba(0,0,0,.08)); cursor: pointer; font-variant-numeric: tabular-nums; }
.vbbtn b { color: var(--ink); font-weight: 700; }
.vbbtn:hover:not([disabled]) { color: var(--ink); border-color: color-mix(in srgb, var(--blue) 50%, var(--line)); }
.vbbtn[disabled] { cursor: default; }
.vbbtn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vbpop { pointer-events: auto; order: 1; width: min(360px, calc(100vw - 20px)); max-height: min(70vh, 560px); overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 8px; }
.vbh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vbh .link { text-decoration: none; font-size: 15px; padding: 2px 6px; }
.vbsum { margin: 0; font-size: 15px; } .vbsum b { font-size: 20px; font-variant-numeric: tabular-nums; }
.vbl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.vbl li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: 13px; }
.vbl li span { min-width: 0; } .vbl li b { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.vbl li i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--blue); opacity: .75; min-width: 2px; }
@media print { .vbadge { display: none; } }
/* 1.36.79: Fortschritt beim Hochladen – unten links, je Datei Name, Balken, Prozent */
.upprog { position: fixed; z-index: 265; left: max(10px, env(safe-area-inset-left, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: min(340px, calc(100vw - 20px)); max-height: 50vh; overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.2); display: flex; flex-direction: column; gap: 10px; }
.upprog[hidden] { display: none; }
body.hfabon .upprog { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.upprt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.upp { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.upph { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 13px; min-width: 0; }
.uppn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upph b { flex: none; font-variant-numeric: tabular-nums; }
.uppb { height: 8px; border-radius: 8px; background: var(--chip); overflow: hidden; }
.uppb i { display: block; height: 100%; border-radius: 8px; background: var(--blue); transition: width .2s ease-out; }
.upp small { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.upp.ok .uppb i { background: var(--go); } .upp.ok .upph b { color: var(--go); }
.upp.bad .uppb i { background: var(--bad); } .upp.bad .upph b, .upp.bad small { color: var(--bad); }
@media (prefers-reduced-motion: reduce) { .uppb i { transition: none; } }
/* 1.36.79: Kategorien im Shop wie die Artikelkacheln – großes Bild oben, darunter Name und Inhalt */
.skkats { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.skkat { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 10px; }
/* Kategoriebilder (meist Hochformat, weißer Hintergrund): ganz in der Höhe eingepasst, Bild weiß, blauer Strich, Text hellblau (1.36.80) */
.skkat { background: #f1f2f3; }
.skkati { position: relative; width: 100%; height: 220px; border-radius: 0; background: #fff; border-bottom: 3px solid var(--blue); }
.skkati img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; background: transparent; padding: 12px 12px 10px; box-sizing: border-box; }
.skkati svg { width: 64px; height: 64px; }
.skkatt { padding: 10px 12px 4px; } .skkatt b { font-size: 15px; line-height: 1.3; }
.skkatp { display: block; padding: 0 12px 12px; font-size: 13.5px; font-weight: 600; color: var(--link); margin-top: auto; }
.skkat:hover .skkatp { text-decoration: underline; }
@media (max-width: 480px) { .skkati { height: 180px; } }
/* weitere Kategorien eines Artikels (Editor) und Kategoriebild */
.shkml { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.shkmc { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--chip); font-size: 13px; }
.shkmc .link { text-decoration: none; padding: 0 5px; font-size: 12px; }
.shkml select { flex: 0 1 260px; min-width: 0; }
.shkbild { align-items: center; gap: 10px; } .shkbild img { width: 120px; height: 90px; object-fit: contain; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
/* Länder-Schritt: Wahl für ein anderes Land als die Lieferadresse */
.skland { margin: 8px 0 0; }
.skwarn { color: var(--warn); font-size: 12.5px; font-weight: 600; }
/* 1.36.80: Tarif-Generator im Shop – Tarife des Objekts, Angaben, Vorschau, Nachdruck */
.sktgq { margin: 0 0 8px; }
.sktgk { gap: 8px; margin: 6px 0 10px; }
.sktgt { width: auto; min-width: 0; }
.sktgt th, .sktgt td { white-space: nowrap; } .sktgt td:first-child { white-space: normal; min-width: 140px; }
.sktgt tr.sktgs td { background: var(--bg); padding-top: 8px; }
.sktgh { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); margin-bottom: 10px; }
.sktghs { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 8px; background: var(--surface); }
.sktghs > .row input[type=text] { flex: 1 1 260px; min-width: 0; }
.sktghs table input[type=text] { width: 100%; min-width: 64px; }
.sktghs table td:first-child input { min-width: 160px; }
.sktgo { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.sktgpv { min-height: 160px; }
.sktgcv { display: block; max-width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,.18); background: #fff; }
.sktgpv > .hint { margin-top: 6px; }
.sktgn h2 { margin-bottom: 4px; }
/* 1.36.433: „Tarifmaterial für …“ aufklappbar (wie „Bestellungen teilen“) */
.sktgnd > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; border-radius: 6px; }
.sktgnd > summary::-webkit-details-marker { display: none; }
.sktgnd > summary h2 { margin: 0; } .sktgnd > summary h2::after { content: ' ▾'; color: var(--muted); font-size: .8em; } .sktgnd[open] > summary h2::after { content: ' ▴'; }
.sktgnd[open] > summary { margin-bottom: 10px; }
.sktgnd > summary:focus-visible { outline: 2px solid var(--accent, #ce111d); outline-offset: 3px; }
.sktgn > .sktgvt { margin-top: 10px; }
/* 1.36.327 (Ernst 30.10. 21:12): „Tarifschilder für …“ als Kacheln wie die Druckfreigabe – hellblau hinterlegt; die Druckfreigabe selbst hellrot */
.sktgn { background: var(--soft); border-color: rgba(206, 17, 29, .35); }
.sktgn .sktaq input { width: 46px; }
.sktgn .sktagh { border-bottom-color: rgba(206, 17, 29, .3); }
.sktgks, .sktgkt { color: var(--muted); font-size: .78rem; }
.sktgn .sktafa .link { font-weight: 600; }
.sktgkl { animation: sktgkp 1.2s ease-in-out infinite; } @keyframes sktgkp { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sktgkl { animation: none; } }
/* Tarifstele von Richter (1.36.107) */
.skrichter { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px; background: var(--ink); color: var(--surface); font-size: .72em; font-weight: 800; letter-spacing: .06em; vertical-align: .12em; line-height: 1.45; }
.skrichterh { margin: 2px 0 8px; }
.sktgnl { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sktgnl li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.sktgnl li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .sktgnl li small { color: var(--muted); overflow-wrap: anywhere; }
.sktgnl li.aus { opacity: .6; }
.sktgnl .sktgnc { display: flex; align-items: flex-start; gap: 10px; min-width: 0; flex: 1 1 auto; cursor: pointer; }
.sktgnl .sktgnc input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue, #b80f1a); }
.sktgnl .sktgnc > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sktgna { display: flex; align-items: center; gap: 10px; flex: none; }
.sktgnm { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.sktgnm .sknum { width: 72px; }
.sktgvt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; } .sktgvt p { margin: 0; flex: 1 1 260px; min-width: 0; }   /* 1.36.288: Tarifmaterial auf die Bereiche verteilen */
.sktgvtt td { vertical-align: middle; } .sktgvtt .sknum { width: 70px; }
.sktgnb { flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tgsbl { margin: 6px 0 4px; padding-left: 20px; } .tgsbl li { margin: 2px 0; }   /* 1.36.238: Bedarf ab jetzt (Fenster „Als Bedarf speichern?“) */
/* 1.36.233: im Shop dazu gewählte Tarifartikel (wie in der Inventur) */
.sktgnl li.sktgx { border-style: dashed; border-color: #f18f96; background: #f9fafa; }
.sktgnl .sktgx .sktgnc { cursor: default; }
.sktgxm { width: 20px; height: 20px; flex: none; margin-top: 2px; display: grid; place-items: center; border-radius: 999px; background: var(--blue, #b80f1a); color: #fff; font-weight: 800; font-size: 15px; line-height: 1; }
.sktgxdel { font-size: 15px; padding: 4px 6px; color: var(--muted); }
@media (max-width: 520px) { .sktgnl li { flex-direction: column; align-items: stretch; } .sktgna { justify-content: space-between; } }
/* Nachdruck: Layouts nacheinander freigeben (1.36.102) */
.sknq { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(19, 21, 23,.72); }
.sknqp { background: var(--surface, #fff); color: var(--ink, #222629); border-radius: 14px; box-shadow: 0 16px 50px rgba(0,0,0,.35); width: min(680px, 100%); max-height: 100%; overflow: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.sknqk { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sknqk h2 { margin: 2px 0 0; font-size: 19px; text-wrap: balance; } .sknqk p { margin: 2px 0 0; }
.sknqx.sklbx { position: static; flex: none; width: 36px; height: 36px; background: var(--soft, #f1f2f3); color: var(--ink, #222629); }
.sknqv { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 160px; justify-content: center; }
.sknqv canvas { max-width: 100%; height: auto !important; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,.15); background: #fff; }
.sknqb { flex-wrap: wrap; align-items: center; gap: 10px; }
.sktgweb { margin: 0 0 8px; font-size: 14px; } .sknqv .sktgweb { margin: 4px 0 0; align-self: stretch; }

/* Artikel anlegen: Kunde im Kopf (1.36.80) */
.swkd0 { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; font-size: 13px; color: rgba(255,255,255,.82); }
.swkd0 select { padding: 4px 8px; font-size: 13px; max-width: 220px; background: #fff; color: #1f2a33; border: 0; border-radius: 6px; }
@media (max-width: 560px) { .swkd0 { margin-left: 0; } .swkd0 select { max-width: 150px; } }

/* Tarif-Postfach (1.36.80) */
.tpcfg { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.tpres { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; } .tpres p { margin: 0; font-size: 13.5px; }
.tpl { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tpr { border-bottom: 1px solid var(--line); padding: 10px 2px; display: flex; flex-direction: column; gap: 6px; }
.tpr.tp-pruefen { background: var(--warn-soft, rgba(233,162,31,.08)); padding-left: 8px; padding-right: 8px; }
.tprh { display: grid; grid-template-columns: 130px minmax(0, 1fr) 170px 190px auto; gap: 10px; align-items: center; }
.tpd { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tpb { min-width: 0; display: flex; flex-direction: column; } .tpb b { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; } .tpb small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.tpo { font-size: 13.5px; } .tps { font-size: 13px; } .tpx { white-space: nowrap; font-size: 13px; }
.tpi { margin: 0; }
.tpwahl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tpvon { gap: 6px; align-items: center; flex-wrap: wrap; } .tpvon select { max-width: 200px; } .tpvon input { width: 110px; }
.tpdet { padding: 4px 0 2px; } .tpt td.num { text-align: right; font-variant-numeric: tabular-nums; } .tpt .tpslot td { font-weight: 600; background: var(--soft); }
@media (max-width: 760px) { .tprh { grid-template-columns: 1fr auto; } .tpd { grid-column: 1 / -1; } .tpb { grid-column: 1 / -1; } }

/* Artikelbild groß (1.36.80) */
.skzoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; }
.skzoom:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.skzi { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(46, 50, 55,.78); color: #fff; }
.skzi svg { width: 16px; height: 16px; }
.sklb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: rgba(19, 21, 23,.82); cursor: zoom-out; }
.sklb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.sklb img { width: min(92vw, 960px); height: min(80vh, 960px); object-fit: contain; background: #fff; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.sklb figcaption { color: #fff; font-size: 14px; text-align: center; }
.sklbx { position: absolute; top: max(14px, env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right)); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1f2a33; font-size: 18px; cursor: pointer; }
/* Versand (1.36.84): Sendungen – zugestellt, unterwegs, abgerechnet (grün) */
.vst td { vertical-align: top; }
.vst .vsp + .vsp { margin-top: 6px; }
.vst tr.vsz > td { transition: background-color .35s, opacity .4s; }
.vst tr.vsab > td { background: #e2f4e6; }
.vst tr.vsweg > td { opacity: 0; }
.vst .vsok { color: #1b7a3a; font-weight: 700; }
.vst .vsakt { white-space: nowrap; text-align: right; }
/* Schild-Konfigurator (1.36.85): das Schild im Parkhaus – Decke, Fahrgasse, Auto auf dem Stellplatz */
.skszf { margin: 10px 0 0; background: var(--surface); border-radius: 10px; padding: 8px; }
.skszene { width: 100%; height: auto; max-height: 250px; display: block; }
.skszf figcaption { font-size: 11px; color: var(--muted); text-align: center; margin-top: 4px; }
/* feste Motive (1.36.85): Auswahl im Shop wie bei den Verkehrszeichen, Verwaltung im Artikel */
.skvz.skmot { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: 420px; }
.skmott img { width: 100%; height: 86px; object-fit: contain; background: #fff; border-radius: 4px; }
.skmott small { -webkit-line-clamp: 3; }
.shmotl { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.shmotr { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.shmotr > img { width: 130px; height: 96px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.shmotf { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.shmotb { display: flex; gap: 4px; align-items: center; }
.shmot { display: flex; flex-wrap: wrap; gap: 10px; } .shmot figure { margin: 0; width: 150px; } .shmot img { width: 150px; height: 100px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
@media (max-width: 700px) { .shmotr { grid-template-columns: 1fr; } }

/* ---------- 1.36.88: rote Zahl in der Navigation (neue Termine, fällige To-dos) ---------- */
nav.tabs button, .mnavs button { position: relative; }
.nbadge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: #d93025; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0; line-height: 1; text-transform: none; vertical-align: 1px; box-shadow: 0 0 0 2px var(--surface); }
.mnavs button .nbadge { margin-left: auto; }
@media (max-width: 700px) { nav.tabs.mnv button .nbadge { position: absolute; top: 3px; left: calc(50% + 6px); margin: 0; } }
header.top .burger { position: relative; } header.top .burger.nbdot::after { content: ''; position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: #d93025; box-shadow: 0 0 0 2px var(--navy, #272b2e); }
/* ---------- 1.36.88: To-do-Listen ---------- */
.tdl { border-left: 5px solid #d12f3a; }
.tdl.fertig { border-left-color: var(--go); }
.tdh { display: flex; flex-direction: column; gap: 6px; }
.tdh h2 { margin: 0; text-wrap: balance; }
.tdmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tdprog { display: inline-block; width: 90px; height: 7px; border-radius: 4px; background: var(--chip); overflow: hidden; vertical-align: middle; }
.tdprog i { display: block; height: 100%; background: #d12f3a; border-radius: 4px; } .tdprog.fertig i { background: var(--go); }
.tdpz { font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tdnotiz { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--soft); }
.tdan { margin: 6px 0 0; }
.tdps { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tdp { display: flex; gap: 12px; align-items: flex-start; padding: 10px 2px; border-top: 1px solid var(--line); }
.tdp:first-child { border-top: 0; }
.tdchk { flex: none; width: 30px; height: 30px; margin-top: -3px; border-radius: 8px; border: 2px solid #8fa3b8; background: var(--surface); color: #fff; font-size: 18px; font-weight: 800; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.tdchk:hover:not(:disabled) { border-color: var(--go); }
.tdp.erl .tdchk { background: var(--go); border-color: var(--go); }
.tdchk:disabled { cursor: default; opacity: .7; }
.tdchk:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }
.tdpx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tdpt { font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.tdp.erl .tdpt { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--muted); }
.tdpa { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.tdpa .link, .tdfa { font-size: 13.5px; text-decoration: none; cursor: pointer; padding: 4px 0; }
.tdfg { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.tdf { margin: 0; width: 84px; display: flex; flex-direction: column; gap: 2px; }
.tdfz { padding: 0; border: 0; background: var(--chip); border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; width: 84px; max-width: 100%; }
.tdfz img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tdf.verw .tdfz { box-shadow: 0 0 0 2px #d12f3a; }
.tdf figcaption { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--muted); min-width: 0; }
.tdf.verw figcaption { color: #d12f3a; font-weight: 700; }
.tdfw { border: 0; background: none; color: var(--muted); font-size: 16px; line-height: 1; padding: 0 2px; cursor: pointer; }
.tdks { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tdks li { padding: 7px 10px; border-radius: 10px; background: var(--chip); }
.tdks li.verw { background: var(--soft); }
.tdks li > div { display: flex; align-items: baseline; gap: 6px; } .tdks li p { margin: 2px 0 0; overflow-wrap: anywhere; }
.tdkw { margin-left: auto; text-decoration: none; font-size: 16px; padding: 0 4px; }
.tdkf { display: flex; flex-direction: column; gap: 6px; }
.tdkf textarea { width: 100%; min-height: 60px; font: inherit; }
.tdall { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }
.tdall h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tdvk { margin-top: 14px; align-items: center; }
.tdback { margin: 0 0 8px; }
.tdkopf { align-items: center; } .tdkopf h2 { margin: 0; }
.tdrows { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tdrow { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 11px 12px; border: 1px solid var(--line); border-left: 4px solid #d12f3a; border-radius: 10px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.tdrow:hover { border-color: #d12f3a; }
.tdrt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 260px; } .tdrt b { font-size: 15px; } .tdrt small { color: var(--muted); overflow-wrap: anywhere; }
.tdrm { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tdform .tdpe { margin: 4px 0 8px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.tdform .tdpe li { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tdform .tdpe input { flex: 1; min-width: 0; }
.tdform .tdpe .link { text-decoration: none; padding: 6px 8px; color: var(--muted); }
.tdma { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tdchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.tdchip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 4px 4px 10px; border-radius: 16px; background: var(--soft); font-size: 13.5px; }
.tdchip button { border: 0; background: none; font-size: 16px; line-height: 1; padding: 2px 6px; cursor: pointer; color: var(--muted); }
.tdtr { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 300px; overflow: auto; }
.tdtr button { width: 100%; display: flex; flex-direction: column; gap: 1px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.tdtr button:hover { border-color: #d12f3a; background: var(--soft); } .tdtr small { color: var(--muted); }
.tdrem { border-left: 5px solid #d12f3a; background: color-mix(in srgb, #d12f3a 7%, var(--surface)); }
.tdrem.ueber { border-left-color: var(--bad); background: color-mix(in srgb, #d93025 7%, var(--surface)); }
.tdremt { margin: 6px 0 0; }
.tdkarte h2 { margin: 0; } .tdkarte .row { align-items: center; }
.kib.kto { position: relative; width: auto; min-width: 36px; padding: 0 8px; border-radius: 18px; gap: 3px; font-size: 15px; background: #edeff1; color: #a81d26; font-weight: 700; }
.kib.kto b { font-size: 12px; } .kib.kto.fertig { background: var(--go-soft); color: var(--go); }
.kacts.n4 { --kn: 4; } @media (max-width: 480px) { .kacts.n4 { --kn: 2; } }
.kact.todo { background: #d12f3a; }
.ktodo { margin-top: 12px; } .ktodo h3 { margin: 0 0 4px; } .ktodo p { margin: 0 0 6px; }
.ztovp.tdovp { width: min(680px, 100%); text-align: left; padding: 18px 18px 22px; }
.tdov { display: flex; flex-direction: column; gap: 10px; }
.tdovh { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: -18px; z-index: 2; background: var(--surface); padding: 6px 0; }
.tdovh h2 { margin: 0; }
.tdov .card { margin: 0; box-shadow: none; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .ztovp.tdovp { justify-content: flex-start; } .tdovh { top: calc(-1 * max(28px, env(safe-area-inset-top, 0px))); } }
/* neue Termine bestätigen */
.ztovneu .ztovi { background: #edeff1; }
.kneul li { background: #f2f3f4; align-items: center; gap: 2px; } .kneul li small { font-size: 12px; color: var(--muted); }
@media (prefers-color-scheme: dark) { html[data-site="time"] .kneul li, html[data-site="time"] .ztovneu .ztovi, html[data-site="time"] .kib.kto { background: #292c30; color: #dde0e4; } }
/* Verwaltung: gestempelte Zeit an der Aufgabe */
.kzt { margin-top: 10px; } .kzt table { width: 100%; font-size: 13.5px; } .kzt td, .kzt th { padding: 5px 8px; } .kzt tfoot td { border-top: 2px solid var(--line); }
.kzt + .hint { margin: 2px 0 0; font-size: 12px; }
/* 1.36.88: Kalenderwochen links neben den Zeilen der Monatsansicht – klein und dezent */
.kwd, .kgrid { grid-template-columns: 20px repeat(7, minmax(0, 1fr)); }
.kgrid { border-top: 0; border-left: 0; }
.kgrid > .kc:nth-child(-n+8) { border-top: 1px solid var(--line); }
.kkw + .kc { border-left: 1px solid var(--line); }
.kkw { font-size: 10px; line-height: 1; color: var(--muted); opacity: .7; text-align: center; padding-top: 9px; font-variant-numeric: tabular-nums; user-select: none; }
.kwd .kkwh { padding-left: 0; text-align: center; font-size: 9px; font-weight: 600; opacity: .7; letter-spacing: 0; }
@media (max-width: 700px) { .kwd, .kgrid { grid-template-columns: 16px repeat(7, minmax(0, 1fr)); } .kkw { font-size: 9px; padding-top: 10px; } }
header.top .hkal .nbadge { margin-left: 2px; box-shadow: none; }
/* ---------- 1.36.88: Zahnrad-Menü oben rechts (Mein Konto, Benutzer, Version/Speicher, Abmelden) – auf dem Handy im ☰ ---------- */
.hgearw { position: relative; display: flex; }
header.top .hgear { display: inline-flex; align-items: center; gap: 3px; padding: 5px 8px; }
header.top .hgear[hidden] { display: none; }
header.top .hgear svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
header.top .hgear .hgchev { width: 11px; height: 11px; stroke-width: 1.6; opacity: .8; }
header.top .hgear.on, header.top .hgear[aria-expanded="true"] { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .7); }
.gmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 300; width: 290px; max-width: calc(100vw - 24px); max-height: calc(100vh - 80px); overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 34px rgba(0, 0, 0, .24); padding: 6px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.gmenu[hidden] { display: none; }
.gmh { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.gmh b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gmh .hint { font-size: 12px; }
header.top .gmenu button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: var(--ink); text-align: left; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; }
header.top .gmenu button:hover, header.top .gmenu button:focus-visible { background: var(--chip); outline: none; }
header.top .gmenu button.on { background: var(--soft); color: var(--navy); }
.gmenu .ic { width: 19px; height: 19px; color: var(--muted); } .gmenu button.on .ic { color: inherit; }
.gmv { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
header.top .gmv > button { justify-content: space-between; } header.top .gmv > button .hint { font-weight: 500; }
.gmv .vbpop { width: auto; max-height: none; box-shadow: none; margin: 4px 2px; }
header.top .gmv .vbpop button { display: inline; width: auto; padding: 2px 4px; font-size: inherit; font-weight: inherit; color: var(--link); }
header.top .gmenu .gml { border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; color: var(--muted); }
@media (max-width: 700px) { .hgearw { display: none; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] header.top .gmenu button.on { color: var(--ink); } }
.tdpfa { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 17px; background: var(--surface); }
.tdpfa:hover, .tdpfa:focus-within { border-color: #d12f3a; background: var(--soft); }
.tdpfs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; padding-left: 2px; }
.tdpfs img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 2px #d12f3a; }
.tdpfn { position: relative; display: inline-flex; }
.tdpfn button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #d93025; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; padding: 0; }
/* ---------- 1.36.91: Kalender – Mitarbeiter einzeln wählbar; Abo fürs iPhone ---------- */
.kfw { position: relative; display: inline-flex; }
.kfb { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.kfb.on { border-color: #ab0e18; background: var(--soft); color: var(--navy); font-weight: 600; }
.kfb span { font-size: 11px; opacity: .7; }
.kfp { position: absolute; z-index: 120; top: calc(100% + 6px); left: 0; width: 280px; max-width: calc(100vw - 32px); max-height: 60vh; overflow: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.kfq { display: flex; gap: 14px; padding: 2px 2px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; } .kfq .link { text-decoration: none; font-weight: 600; } .kfq .link:last-child { margin-left: auto; }
.kfp .check { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 14px; }
.kfp .check i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.kfp .hint { margin: 6px 0 0; font-size: 12px; }
@media (max-width: 700px) { .kfw { flex: 1; } .kfb { flex: 1; max-width: none; justify-content: space-between; } .kfp { width: min(320px, calc(100vw - 32px)); } }
.kabdlg .kabgo { margin: 6px 0 12px; } .kabdlg .kabgo .btn { font-size: 16px; padding: 12px 18px; }
.kabdlg .linkbox { display: flex; gap: 6px; } .kabdlg .linkbox input { flex: 1; min-width: 0; font-size: 13px; }
.kabhelp { margin: 8px 0; } .kabhelp summary { cursor: pointer; font-weight: 600; } .kabhelp ol { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.kabdlg .kabos { margin: 4px 0 8px; }
.kabsteps { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
footer.foot .footgps .footkal { text-decoration: none; font-weight: 600; } footer.foot .footsep { opacity: .5; }
/* 1.36.93: Tarifartikel – Quelle wählen (E-Mail des Marktmanagements / Website), Parkieranlage laut Bestand mit Rückfrage, Vorschau ganz sichtbar und per Klick groß */
.sktgsrc { margin: 2px 0 8px; } .sktgsrc .chip { font-size: 13px; }
.sktganl { margin: 6px 0 0; display: flex; flex-direction: column; gap: 8px; } .sktganl p { margin: 0; }
.sktgcv { cursor: zoom-in; margin: 0 auto; } .sktgpv { align-items: center; }
.sklbcv figure canvas { display: block; max-width: calc(100vw - 32px); height: auto; background: #fff; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
/* Inventur: Art der Parkieranlage und Kennzeichenerfassung (vor den Services) */
.anlq { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.anlr { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 6px 8px; border-radius: 8px; border: 1px solid transparent; }
.anlr.need, .card.need .anlr.offen { border-color: var(--bad); background: var(--bad-bg); }
.anll { font-weight: 600; font-size: 14px; } .anlp { color: var(--bad); }   /* 1.36.238: Pflichtfeld */ .anlr .hint { font-size: 12.5px; }
.anlh { margin: 4px 0 6px; font-size: 14px; }
/* Shop: Kategorien und Suche bleiben beim Scrollen oben stehen (1.36.93) */
.skfil { position: sticky; top: var(--sktop, 0px); z-index: 22; box-shadow: 0 4px 14px rgba(37, 40, 43,.10); }
/* 1.36.118: Leiste mit Suche und „Alle Kategorien“ farbig (Cyan des Shops), damit sie sich von den Artikeln abhebt; Unterkategorien darunter in Navy */
.skfil { border-radius: 8px; padding: 7px 12px; color: #fff; }
.skfil.skfn { background: var(--cta); box-shadow: 0 6px 18px rgba(233, 32, 45,.22); }   /* Startseite: Magenta wie die Unterseiten (1.36.120) */
.skfil.skfu { background: var(--cta); box-shadow: 0 6px 18px rgba(233, 32, 45,.22); }   /* Kategorie / Suche: Magenta */
.skfr { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "l t r"; align-items: center; gap: 12px; min-height: 40px; }
.skfl { grid-area: l; display: flex; justify-content: flex-start; min-width: 0; }
.skfre { grid-area: r; display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }
.skfil h2.skkath { grid-area: t; margin: 0; color: #fff; text-align: center; font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; overflow-wrap: anywhere; }
.skfil h2.skkath { font-size: 19px; }
.skfil .skq { flex: 0 1 260px; margin: 0; }
.skfil .skq input { background-color: #fff; border-color: #fff; color: var(--ink); padding-top: 5px; padding-bottom: 5px; }
.skfil .btn.skkatz { background: #fff; border-color: #fff; color: var(--cta); padding: 5px 12px; }
.skfil .btn.skkatz:hover { background: #fde8ee; border-color: #fde8ee; }
.skfil .skkorbk { border-color: rgba(255,255,255,.8); padding-top: 5px; padding-bottom: 5px; }
@media (max-width: 760px) {
  .skfr { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "l t" "r r"; gap: 8px 10px; padding: 2px 0; }
  .skfn .skfr { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "r"; }
  .skfu h2.skkath { text-align: left; font-size: 17px; }
  .skfre { flex-wrap: wrap; } .skfil .skq { flex: 1 1 200px; }
}
/* Kundeninformation: unten Platz lassen – sonst rutscht die Seite (und das Blatt) beim Tippen, wenn sich darunter etwas ändert (1.36.93) */
.skroot:has(.sktgki) { padding-bottom: 40vh; } .skroot .kiw { overflow-anchor: none; } .skbuy .skwhy { min-height: 1.3em; }
/* Shop: Warenkorb-Knopf oben in der angehefteten Leiste statt am unteren Bildrand (1.36.94) */
.skkorbk { flex: none; white-space: nowrap; } .skkorbk small { font-weight: 400; opacity: .85; margin-left: 2px; }
.skfil .skkorbk { align-self: center; }
@media (max-width: 560px) { .skfil .skkorbk, .skbar0 .skkorbk { flex: 1 1 100%; justify-content: center; } }
/* Digitale Produkte (Dashboardgrafik): Kennzeichen und Download (1.36.94) */
.skdigt { display: inline-block; padding: 1px 7px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--link); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.skdl { margin: 4px 4px 0 0; }
.skaside > .skdig { color: var(--ink); }
/* Bildschutz im Shop (1.36.94): Bilder nicht ziehen/speichern; „Nicht erlaubt“ deckt den Shop bei Bildschirmfotos ab */
.skroot img, .skroot canvas, .skroot svg, .sklb img, .sklb canvas { -webkit-user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* Wasserzeichen „Vorschau“ (1.36.97): über den Schild-Vorschauen (SVG) und dem Editor der Kundeninformation; Tarif-Vorschauen bekommen es ins Bild gemalt (shopkat.js wz) */
/* 1.36.114: kein Wasserzeichen mehr über Schild-Vorschauen und dem Editor der Kundeninformation – nur Tarifschilder DIA/Aufkleber/Dashboard (shopkat.js wz) */
/* „Bist du noch da?“ (1.36.97): deckt den Shop ab, wenn das Fenster verlassen wird oder ein Bildschirmfoto-Kürzel kommt – freundlich, ohne Hinweis auf Fotos */
.skda { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); color: var(--ink); }
.skda[hidden] { display: none; }
.skda .skdak { display: grid; gap: 12px; justify-items: center; text-align: center; width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px 26px; box-shadow: var(--shadow); }
.skda svg { width: 92px; height: 92px; color: var(--link); }
.skda h2 { margin: 0; font-size: clamp(24px, 4vw, 30px); line-height: 1.15; text-wrap: balance; }
.skda p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.45; text-wrap: balance; }
.skda .row { justify-content: center; flex-wrap: wrap; margin-top: 6px; }
@media print { .skroot img, .skroot canvas, .sklb { visibility: hidden !important; } }
/* Shop am PC (1.36.95): größere Artikelbilder in den Kacheln und im Artikel */
@media (min-width: 1000px) { .skw { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; } .skimg { height: 260px; } .skkats { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .skartimg { max-height: min(62vh, 520px); } .skbody h3 { font-size: 16px; } }
/* Schilder-QR: Produktion und Montage (1.36.96) – Farben je Stand (geprüft: Abstand auch bei Farbschwäche, hell und dunkel) */
:root { --sq-prod: #c41d28; --sq-mont: #1f8a4c; --sq-teil: #c26a0a; --sq-offen: #c7d0d9; }
@media (prefers-color-scheme: dark) { :root[data-site="time"] { --sq-prod: #e03d48; --sq-mont: #35a86a; --sq-teil: #d9822b; --sq-offen: #44505c; } }
:root[data-theme="dark"] { --sq-prod: #e03d48; --sq-mont: #35a86a; --sq-teil: #d9822b; --sq-offen: #44505c; }
.sqkopf h2 { margin: 6px 0 2px; }
.sqscanb { gap: 6px; }
.tpgr { margin: 14px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); } .tpgr:first-child { margin-top: 0; } .tpgr.warn { color: var(--warn); }
.sqsts { display: grid; gap: 6px; margin: 4px 0 2px; }
.sqst { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 12px; border-radius: 10px; background: #e3f5ea; color: #17643a; }
.sqst b { display: block; font-size: 15px; } .sqst small { display: block; font-size: 12.5px; opacity: .85; }
.sqhk { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #1f8a4c; display: grid; place-items: center; }
.sqhk svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { :root[data-site="time"]:not([data-theme="light"]) .sqst { background: #173a26; color: #b9e8cb; } }
:root[data-theme="dark"] .sqst { background: #173a26; color: #b9e8cb; }
.sqcodef { display: flex; gap: 6px; align-items: center; margin: 0; }
.sqcodef input[type=text] { width: 11.5em; min-width: 0; padding: 7px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.sqcodef input::placeholder { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.sqcodef .btn { padding: 7px 12px; }
@media (max-width: 560px) { .sqkopf .row { flex-wrap: wrap; } .sqcodef { flex: 1 1 100%; order: 3; } .sqcodef input[type=text] { flex: 1; width: auto; } }
.sqprojs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.sqproj { display: flex; flex-direction: column; gap: 6px; align-items: stretch; text-align: left; font: inherit; color: inherit; cursor: pointer; border: 1px solid var(--line); }
.sqproj:hover { border-color: var(--blue); } .sqproj b { font-size: 16px; } .sqpz { font-size: 13px; color: var(--muted); } .sqpz b { color: var(--ink); font-size: 14px; }
.sqbar { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; background: var(--sq-offen); margin: 6px 0 2px; }
.sqb { display: block; min-width: 3px; } .sqb.mont { background: var(--sq-mont); } .sqb.prod { background: var(--sq-prod); } .sqb.offen { background: var(--sq-offen); }
.sqbt, .sqleg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.sqdot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--sq-offen); }
.sqdot.mont { background: var(--sq-mont); } .sqdot.prod { background: var(--sq-prod); } .sqdot.teil { background: var(--sq-teil); }
.sqtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 12px 0 8px; }
.sqtile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.sqtile span { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.sqtile b { font-size: 30px; line-height: 1.15; font-variant-numeric: tabular-nums; } .sqtile b small { font-size: 16px; color: var(--muted); font-weight: 600; }
.sqtile em { font-style: normal; font-size: 13px; color: var(--muted); } .sqtile.warn { border-color: var(--sq-teil); } .sqtile.warn b { color: var(--warn); } .sqtile.ok b { color: var(--go); }
.sqmod { margin: 8px 0 0; }
.sqeb { display: grid; gap: 6px; margin: 12px 0 4px; }
.sqebr { display: grid; grid-template-columns: minmax(70px, 160px) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.sqebr .sqbar { margin: 0; } .sqebn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sqebz { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.sqtag { margin: 14px 0 0; } .sqtagt { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.sqtagc { display: flex; gap: 6px; align-items: flex-end; overflow-x: auto; padding-bottom: 2px; }
.sqtagd { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 38px; }
.sqtagb { display: flex; gap: 2px; align-items: flex-end; height: 60px; } .sqtagb span { width: 12px; border-radius: 4px 4px 0 0; min-height: 0; }
.sqtagb .prod { background: var(--sq-prod); } .sqtagb .mont { background: var(--sq-mont); } .sqtagd small { font-size: 11px; color: var(--muted); }
.sqteamr { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.sqteamr:first-of-type { border-top: 0; } .sqteamb { display: flex; gap: 8px; flex-wrap: wrap; } .sqteamb .btn { min-height: 48px; padding: 10px 18px; font-size: 16px; }
.sqbild { position: relative; width: 100%; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 8px; }
.sqbild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; -webkit-user-drag: none; user-select: none; }
.sqpts { position: absolute; inset: 0; }
.sqpt { position: absolute; transform: translate(-50%, -50%); min-width: 26px; height: 26px; padding: 0 5px; border-radius: 13px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35);
  font: 700 12px/22px var(--font); color: #fff; background: #7b8794; cursor: pointer; }
.sqpt.mont { background: var(--sq-mont); } .sqpt.prod { background: var(--sq-prod); } .sqpt.teil { background: var(--sq-teil); } .sqpt.offen { background: #7b8794; }
.sqpt.sel { outline: 3px solid var(--cta); outline-offset: 1px; z-index: 2; }
.sqdet { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.sqdet ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.sqcode { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; padding: 2px 5px; border-radius: 4px; background: var(--chip); }
.sqoffen h4 { margin: 14px 0 4px; } .sqtab td { vertical-align: top; } tr.sqfehlt td { background: var(--warn-bg); }
/* Freigabe zur Produktion (1.36.127): hellgrün = freigegeben, dunkelgrün = Produktion abgeschlossen – immer mit Text */
:root { --sq-frei-bg: #e1f4e7; --sq-frei-bd: #8fcca6; --sq-frei-ink: #17643a; --sq-fertig-bg: #17643a; }
@media (prefers-color-scheme: dark) { :root[data-site="time"]:not([data-theme="light"]) { --sq-frei-bg: #163626; --sq-frei-bd: #2e6a47; --sq-frei-ink: #8fdcaf; --sq-fertig-bg: #1d7a45; } }
:root[data-theme="dark"] { --sq-frei-bg: #163626; --sq-frei-bd: #2e6a47; --sq-frei-ink: #8fdcaf; --sq-fertig-bg: #1d7a45; }
.sqproj.sqfrei, .sqfreik.sqfrei { background: var(--sq-frei-bg); border-color: var(--sq-frei-bd); }
.sqproj.sqfertig, .sqfreik.sqfertig { background: var(--sq-fertig-bg); border-color: var(--sq-fertig-bg); color: #fff; }
.sqfertig .hint, .sqfertig .sqpz { color: rgba(255, 255, 255, .88); } .sqfertig .sqpz b, .sqfertig b { color: #fff; }
.sqproj.sqfertig .sqbar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); } .sqproj.sqfertig:hover { border-color: #fff; } .sqproj.sqfrei:hover { border-color: var(--sq-frei-ink); }
.sqfst { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--sq-frei-ink); } .sqfertig .sqfst { color: #fff; }
.sqfreik h3 { margin: 0 0 4px; } .sqfreik.sqfrei h3 { color: var(--sq-frei-ink); } .sqfreik.sqfertig h3 { color: #fff; } .sqfreik .hint { margin: 0; }
.sqfreir { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; } .sqfreir > .grow { min-width: 0; flex: 1 1 260px; }
.sqfreib { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sqzipb small { font-weight: 500; opacity: .85; margin-left: 4px; }
.sqfreik .sqzipb { background: var(--go); border-color: var(--go); color: #fff; } .sqfreik.sqfertig .sqzipb { background: #fff; border-color: #fff; color: #17643a; }
.sqfreik.sqfertig .btn:not(.sqzipb) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.sqalt { margin: 8px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-size: 13.5px; }
.sqmots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sqmo { margin: 0; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.sqmo img, .sqmo0 { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 6px; } .sqmo figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.sqov .ztovt small { font-size: 15px; font-weight: 600; color: var(--muted); } .sqzur { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-size: 13px; margin-top: 2px; }
/* Scan-Fenster (1.36.106): Hintergrund in der Ebenenfarbe, oben links die Ebene, Schildbild wie auf dem Etikett, Abbrechen rot und kleiner */
.ztov.sqovc { box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .08); }
.sqoveb { position: fixed; top: max(14px, env(safe-area-inset-top, 0px)); left: max(18px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 2px; color: #fff; line-height: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .12); pointer-events: none; }
.sqoveb b { font-size: 46px; font-weight: 800; letter-spacing: .01em; } .sqoveb small { font-size: 15px; font-weight: 700; opacity: .92; max-width: 40vw; }
.sqovbild { margin: 0; width: 100%; display: flex; justify-content: center; }
.sqovbild img { display: block; max-width: 100%; max-height: min(40vh, 340px); object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .22)); }
.sqovbes { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); max-width: 40ch; }
.sqovhin { background: #fff3c4; color: #5b4300; }
.sqseiten { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } .sqseiten .sqdies { outline: 2px solid currentColor; outline-offset: 1px; }
.ztovbt.sqab, .ztovbt.sqzu { min-height: 46px; padding: 8px 14px; font-size: 16px; } .ztovbt.sqab { border-color: #c62828; background: #c62828; color: #fff; }
@media (max-width: 760px) { .ztov.sqovc { align-items: flex-start; padding-top: calc(max(14px, env(safe-area-inset-top, 0px)) + 74px); } }
@media (max-width: 560px) { .ztov.sqovc { padding: calc(max(14px, env(safe-area-inset-top, 0px)) + 74px) max(10px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); }
  .ztov.sqovc .ztovp { border-radius: 16px; max-height: 100%; padding: 20px 16px 18px; display: block; } .ztovbt.sqab, .ztovbt.sqzu { min-height: 48px; font-size: 16px; } }
@media (prefers-color-scheme: dark) { html[data-site="time"] .sqovhin { background: #3a3110; color: #f3dd8a; } }
.sqdet li.sqsel { font-weight: 600; } .sqdet li.sqsel .sqcode { background: var(--cta); color: #fff; }
/* ESB/DSGVO aus Acrylglas (1.36.113): Angaben als Auswahl, Herkunft darunter */
.skebr { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.skebr > .hint:first-child { font-weight: 600; color: var(--ink); }
.skebs { max-width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }
.skebs.leer { border-color: var(--warn); }
.skebh { font-size: 12.5px; }
.skebz { display: flex; align-items: center; gap: 8px; }
.skebq { margin: 2px 0 0; }
.skebf { margin-top: 6px; }

/* RICHTER im Artikelbild (1.36.115): roter Knopf oben rechts – nur bei Kostenstellen mit Tarifstele von Richter */
.skimg .skrimg { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 10px; border-radius: 6px; background: var(--richter); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.2; box-shadow: 0 1px 3px rgba(0,0,0,.25); pointer-events: none; }
.skebhf input.leer { border-color: var(--warn); }
/* 1.36.124: Ansicht als anderer Zugang (Verwaltung prüft Berechtigungen) */
#impbar { position: sticky; top: 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; padding: 8px 16px; background: #fff4d6; color: #5c3d00; border-bottom: 2px solid #f0b400; font-size: 14px; }
#impbar span { min-width: 0; }
#impbar .btn { background: #5c3d00; border-color: #5c3d00; color: #fff; }
/* 1.36.124: externe Mitarbeiter im Termin getrennt (Auswahlmenü) */
.kext select { max-width: 320px; }
.kextrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; }
.kextrow .kpers { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.kextrow .kpers span { font-size: 13px; color: var(--muted); }
.kextrow .kpers input { width: 64px; }
/* 1.36.125: „Ansicht als“ oben rechts neben dem Zahnrad (Verwaltung) */
.hivw { position: relative; display: flex; }
.hivw[hidden] { display: none; }
header.top .hiv { gap: 6px; font-size: 13px; font-weight: 600; }
header.top .hiv[aria-expanded="true"] { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .7); }
.ivmenu { width: 340px; padding: 8px; }
.ivhead { display: flex; flex-direction: column; gap: 2px; padding: 2px 4px 8px; }
.ivq { width: 100%; box-sizing: border-box; margin-bottom: 6px; }
.ivlist { display: flex; flex-direction: column; max-height: min(60vh, 520px); overflow: auto; }
.ivg { font: 600 11.5px var(--font-cond, inherit); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 6px 3px; }
.ivit { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; text-align: left; background: none; border: 0; border-radius: 6px; padding: 6px 8px; cursor: pointer; color: inherit; font: inherit; }
.ivit span { font-size: 12px; color: var(--muted); }
.ivit:hover, .ivit:focus-visible { background: var(--chip, rgba(0,0,0,.06)); }
.ivp { padding: 6px; margin: 0; }
@media (max-width: 700px) { header.top .hiv .hivt { display: none; } .ivmenu { position: fixed; left: 12px; right: 12px; top: 64px; width: auto; } }

/* ===== Lager und Inventur (1.36.134) ===== */
html[data-site="lager"] { --navy: #7a4d0f; }
html[data-site="rechnungen"] { --navy: #7f3439; }
.lgroot, .reroot { display: flex; flex-direction: column; gap: 14px; }
.lgkopf { align-items: center; }
.lgsum { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); }
.lgsum b { color: var(--ink); }
.lgfil { align-items: center; }
.lgchips { display: flex; flex-wrap: wrap; gap: 6px; }
.lgchip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.lgchip span { color: var(--muted); font-weight: 700; margin-left: 2px; }
.lgchip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.lgchip.on span { color: rgba(255,255,255,.8); }
/* 1.36.135: Kategorien im Lager */
.lgkats { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.lgkchip.on { background: #7a4d0f; border-color: #7a4d0f; }
.tag.lgktag { background: var(--warn-bg); color: var(--warn); }
.lgksel { align-items: center; gap: 8px; margin-top: 8px; padding: 8px 10px; background: var(--bg); border-radius: 10px; font-size: 14px; flex-wrap: wrap; }
.lgksel select { min-width: 0; max-width: 100%; }
.lgkatl { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lgkatl li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line); }
.lgkatl li input[type=text] { flex: 1 1 180px; min-width: 0; font-weight: 600; }
.lgkbtn { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; font-size: 16px; cursor: pointer; }
.lgkbtn:disabled { opacity: .35; cursor: default; }
.lgkdel { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--bad, #b42318); }
.lgkneu { align-items: center; gap: 8px; }
.btn.lgkdelb { color: var(--bad); border-color: var(--bad-bg); }
.lgkneu input { min-width: 0; }
.lgzuh { margin: 0 0 10px; padding: 8px 10px; background: var(--bg); border-radius: 8px; }
.lginvf { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lginvf input[type=search] { flex: 1 1 200px; min-width: 0; }
.lginvkat { display: flex; align-items: center; gap: 6px; }
.lginvkat select { max-width: 60vw; }
.lgdiff { margin: 6px 2px 0; font-size: 15px; font-weight: 700; min-height: 1.4em; }
.lgdiff .hint { font-weight: 400; font-size: 13px; }
.lgist input:focus { outline: 3px solid var(--navy); outline-offset: 1px; }
.lgist input::placeholder { font-size: 18px; font-weight: 600; color: var(--muted); }
.lgrow { cursor: pointer; }
.lgrow:hover td { background: color-mix(in srgb, var(--navy) 5%, transparent); }
.lgrow.warn td:first-child { box-shadow: inset 4px 0 0 var(--sh-ueb-k); }
.lgrow.off td { opacity: .55; }
.lgimg { width: 56px; }
.lgth, .lgph.lgth { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; border: 1px solid var(--line); }
.lgph { color: var(--muted); }
.lgnr { font-variant-numeric: tabular-nums; color: var(--navy); margin-right: 4px; }
.lgbad { color: var(--bad); } .lgwarn { color: var(--warn); } .lggo { color: var(--go); }
.lgback { margin-bottom: -4px; }
.lgdk { display: grid; grid-template-columns: 160px 1fr auto; gap: 18px; align-items: start; }
.lgbig, .lgph.lgbig { width: 160px; height: 160px; object-fit: contain; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 56px; }
.lgdnr { font-weight: 800; color: var(--navy); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.lgdk2 h3 { margin: 2px 0 10px; font-size: 20px; }
.lgzahlen { display: flex; flex-wrap: wrap; gap: 10px; }
.lgzahlen > div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 92px; display: flex; flex-direction: column; background: var(--bg); }
.lgzahlen span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.lgzahlen b { font-size: 22px; font-variant-numeric: tabular-nums; }
.lgzahlen small { color: var(--muted); }
.lgzahlen > .lgwarn { border-color: var(--sh-ueb-k); } .lgzahlen > .lgbad { border-color: var(--bad); }
.lgqr { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lgqr svg { width: 108px; height: 108px; border-radius: 6px; }
.lgseg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; align-self: flex-start; }
.lgseg button { border: 0; background: var(--surface); color: var(--ink); padding: 8px 14px; font-weight: 700; cursor: pointer; border-right: 1px solid var(--line); }
.lgseg button:last-child { border-right: 0; }
.lgseg button.on { background: var(--navy); color: #fff; }
.lgmenge { font-size: 18px; font-weight: 700; max-width: 140px; }
.lggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 14px; }
.lgcb { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.lgfile { cursor: pointer; }
.lgdel { color: var(--bad); }
.tag.lgart-zugang, .tag.lgart-hand, .tag.lgart-produktion { background: var(--go-soft); color: var(--go); }
.tag.lgart-versand, .tag.lgart-abgang { background: var(--soft); color: var(--link); }
.tag.lgart-inventur, .tag.lgart-korrektur, .tag.lgart-storno { background: var(--warn-bg); color: var(--warn); }
.lgbestw { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.lgbestw input { width: 70px; padding: 6px 8px; }
.lgexp { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lgexp > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.lgexp .row { align-items: center; }
.lginvl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lginvl li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
/* Inventur am Handy: große Flächen, Daumen-freundlich */
.lginv { display: flex; flex-direction: column; gap: 14px; max-width: 560px; width: 100%; margin: 0 auto; }
.lginvneu { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.lgbigbtn { min-height: 52px; font-size: 16px; justify-content: center; }
.lginvt { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lginvpz { font-size: 28px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lgbar { height: 10px; border-radius: 99px; background: var(--chip); overflow: hidden; }
.lgbar i { display: block; height: 100%; background: var(--go); border-radius: 99px; transition: width .3s; }
.lgscanbtn { min-height: 64px; font-size: 18px; justify-content: center; border-radius: 12px; }
.lgscanbtn span { font-size: 24px; }
.lgdet summary { cursor: pointer; font-weight: 700; padding: 8px 0; display: flex; align-items: center; gap: 8px; }
.lgil { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lgil button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-align: left; cursor: pointer; min-height: 56px; }
.lgil button:hover { background: color-mix(in srgb, var(--navy) 5%, transparent); }
.lgil2 { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.lgil2 b { font-size: 15px; } .lgil2 small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.lgil3 { white-space: nowrap; font-size: 13px; color: var(--muted); text-align: right; } .lgil3 b { font-size: 17px; color: var(--ink); }
.lgcur { border: 2px solid var(--navy); scroll-margin-top: 110px; }
.lgsave .btn { justify-content: center; }
.lgcurk { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: start; }
.lgcurimg, .lgph.lgcurimg { width: 120px; height: 120px; object-fit: contain; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.lgcurk h3 { margin: 2px 0 4px; font-size: 19px; line-height: 1.25; }
.lgx { border: 0; background: var(--chip); color: var(--ink); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; cursor: pointer; }
.lgsoll { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; background: var(--bg); border-radius: 10px; }
.lgsoll span { color: var(--muted); font-weight: 600; flex: 1; } .lgsoll b { font-size: 26px; font-variant-numeric: tabular-nums; } .lgsoll small { color: var(--muted); }
.lgistl { font-weight: 700; font-size: 14px; }
.lgist { display: grid; grid-template-columns: 64px 1fr 64px; gap: 10px; }
.lgist input { font-size: 34px; font-weight: 800; text-align: center; padding: 8px; height: 64px; font-variant-numeric: tabular-nums; }
.lgpm { height: 64px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; font-size: 30px; font-weight: 700; cursor: pointer; }
.lgpm:active { background: var(--chip); }
.lgistq { align-items: center; }
.lgsave { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
@media (max-width: 640px) {
  .lgdk { grid-template-columns: 96px 1fr; } .lgbig, .lgph.lgbig { width: 96px; height: 96px; font-size: 36px; } .lgqr { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; } .lgqr svg { width: 84px; height: 84px; }
  .lgcurk { grid-template-columns: 88px 1fr auto; } .lgcurimg, .lgph.lgcurimg { width: 88px; height: 88px; font-size: 36px; }
  .lgsave { grid-template-columns: 1fr; }
  .lginv { gap: 10px; }
}
/* QR-Etiketten 70 × 36 mm, 3 × 8 je A4 (z. B. Zweckform 3475) */
#lgprint { display: none; }
@media print {
  body.lgprinting > *:not(#lgprint) { display: none !important; }
  body.lgprinting #lgprint { display: block; }
  @page { size: A4; margin: 0; }
  .lgbogen { display: grid; grid-template-columns: repeat(3, 70mm); grid-auto-rows: 36mm; padding: 4.5mm 0 0; }
  .lgetik { display: grid; grid-template-columns: 30mm 1fr; gap: 2mm; align-items: center; padding: 2.5mm 3mm; overflow: hidden; font-family: Arial, sans-serif; color: #000; break-inside: avoid; }
  .lgetik svg { width: 30mm; height: 30mm; }
  .lgetik div { display: flex; flex-direction: column; gap: 1mm; min-width: 0; }
  .lgetik b { font-size: 13pt; } .lgetik span { font-size: 8.5pt; line-height: 1.15; max-height: 3.5em; overflow: hidden; } .lgetik small { font-size: 7.5pt; color: #333; }
}

/* ===== Rechnungen (1.36.134) ===== */
.rebanner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rekpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.rekpis > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; background: var(--bg); }
.rekpis span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.rekpis b { font-size: 21px; font-variant-numeric: tabular-nums; }
.rekpis small { color: var(--muted); font-size: 12.5px; }
.rekpis > .bad { border-color: var(--bad); } .rekpis > .bad b { color: var(--bad); }
.rekpis > .warn { border-color: var(--sh-ueb-k); } .rekpis > .go { border-color: var(--go); } .rekpis > .go b { color: var(--go); }
.rebez { align-items: end; padding: 10px 12px; border-radius: 10px; background: var(--go-soft); }
.resk { border-left: 4px solid var(--go); }
.rerow { cursor: pointer; }
.rerow:hover td { background: color-mix(in srgb, var(--navy) 5%, transparent); }
.rerow.warn td:first-child { box-shadow: inset 4px 0 0 var(--sh-ueb-k); }
.rerow.bad td:first-child { box-shadow: inset 4px 0 0 var(--bad); }
.refrist { font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.refrist.warn { color: var(--warn); } .refrist.bad { color: var(--bad); }
.refile { cursor: pointer; }
.redrop { border: 2px dashed var(--line); border-radius: 10px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.redrop.on { border-color: var(--navy); background: color-mix(in srgb, var(--navy) 6%, transparent); color: var(--ink); }
.reohne { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; }
.reohne li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.remgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.redl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; font-size: 14px; }
.redl dt { color: var(--muted); } .redl dd { margin: 0; overflow-wrap: anywhere; }
.rebars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rebars li { display: grid; grid-template-columns: minmax(90px, 40%) 1fr auto; gap: 8px; align-items: center; font-size: 13.5px; }
.rebars i { display: block; height: 10px; border-radius: 0 4px 4px 0; background: var(--navy); min-width: 2px; }
.rebars b { font-variant-numeric: tabular-nums; }
.reexp { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.redet { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.redoc { position: sticky; top: 8px; }
.repdf { width: 100%; height: 72vh; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.revw { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px; border: 1px dashed var(--line); border-radius: 10px; }
.retyp { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.retyp legend { font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 0 4px; }
.retyp label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; } .retyp small { color: var(--muted); }
/* 1.36.165: Kategorien mit Konto und Lager */
.rekat input[type=text], .rekat select { width: 100%; min-width: 0; box-sizing: border-box; }
.rekat td:first-child { min-width: 14em; } .rekat td:nth-child(2), .rekat td:nth-child(3) { width: 7em; } .rekat td:last-child { width: 2em; text-align: center; }
.rekatf small { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.resave { align-items: center; }
.relager select { min-width: 220px; } .relager input { max-width: 110px; text-align: right; }
.relfe td { background: var(--bg); }
@media (max-width: 900px) { .redet { grid-template-columns: 1fr; } .redoc { position: static; } .repdf { height: 60vh; } }
/* Konfigurator (1.36.134): Schild in ganzer Breite unter der Visualisierung, groß im Pop-up */
.skfacesv { display: flex; flex-direction: column; gap: 12px; }
.skfacesv figure { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.skfacesv .skzoom { border-radius: 6px; }
.skfacesv .skface { filter: drop-shadow(0 2px 6px rgba(37, 40, 43,.18)); }
.skfacesv figcaption { font-size: 12.5px; color: var(--muted); }
.sklbsv figure { width: 100%; align-items: center; }
.sklbsvg { position: relative; max-width: 100%; background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.sklbsvg > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sklbnav { position: absolute; top: 50%; transform: translateY(-50%); left: max(10px, env(safe-area-inset-left)); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1f2a33; font-size: 26px; line-height: 1; cursor: pointer; }
.sklbnav.r { left: auto; right: max(10px, env(safe-area-inset-right)); }
.sklbst { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 100%; }
.sklbsv.sklbmehr { overflow-y: auto; place-items: start center; }
.sklbsv.sklbmehr .sklbst { margin: auto 0; padding: 8px 0; }
.sklbhint { margin: 0; color: rgba(255,255,255,.8); font-size: 13px; text-align: center; }
.sklb figcaption b { font-weight: 700; }
/* 1.36.135: Ebenenschilder-Konfigurator */
.sketr { align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.sketr .field { flex: 0 1 150px; }
.sketz { padding-bottom: 10px; color: var(--muted); font-weight: 600; }
.sketchk { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.sketchk label { display: flex; gap: 8px; align-items: baseline; cursor: pointer; }
.sketl { display: flex; flex-direction: column; gap: 4px; }
.sketh, .sketrow { display: grid; grid-template-columns: 102px minmax(110px, 1fr) minmax(0, 124px) repeat(3, 50px); gap: 6px; align-items: center; }
.sketh { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 0 2px; }
.sketrow { padding: 6px 2px; border-top: 1px solid var(--line); }
.sketrow input[type=text], .sketrow select { width: 100%; min-width: 0; }
.sketc0 { display: flex; align-items: center; gap: 6px; }
.sketc0 input { width: 44px !important; padding-left: 2px !important; padding-right: 2px !important; text-align: center; font-weight: 700; }
.sketb { display: inline-grid; place-items: center; min-width: 50px; height: 38px; padding: 0 6px; border-radius: 6px; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.sketb.hell { color: #262626; }
.sketsv { text-align: center; justify-self: center; }
label.sketsv { display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; }
label.sketsv input { width: 20px; height: 20px; }
.sketsvt { display: none; font-size: 11px; color: var(--muted); }
.sketact { margin-top: 8px; }
.skettypen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.skettyp { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); }
.skettyp.on { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy) inset; }
.skettyph { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.skettyp .hint { margin: 4px 0 6px; }
.sketn { max-width: 230px; }
.sketgr { border-top: 1px solid var(--line); padding: 8px 0; }
.sketgr:first-child { border-top: 0; padding-top: 0; }
.sketwh { gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.sketwh .field { flex: 0 1 140px; }
.sketv { margin: 6px 0 0; }
.sketv .btn, .msg .btn { margin-left: 6px; }
.sketpv { margin-bottom: 12px; }
.sketpvh { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 6px; }
.sketstrip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; }
.sketth { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; padding: 0; cursor: zoom-in; scroll-snap-align: start; }
.sketth .skface { display: block; height: 150px; width: auto; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.25); position: relative; overflow: hidden; }
.sketth .skface svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sketth small { font-size: 11px; color: var(--muted); font-weight: 700; }
.sketth:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 4px; }
.sketzh { margin: 0 0 8px; }
.sklbgrid { flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: flex-start; max-width: 100%; }
.sklbgrid .sklbhint { flex-basis: 100%; }
@media (max-width: 700px) {
  .sketh { display: none; }
  .sketrow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
  .sketrow > :nth-child(2) { flex: 1 1 140px; min-width: 0; }
  .sketrow > :nth-child(3) { flex: 1 1 100%; }
  .sketrow > label.sketsv { flex-direction: row; gap: 6px; }
  .sketsvt { display: inline; font-size: 13px; color: var(--ink); }
  .sketth .skface { height: 120px; }
}
/* 1.36.135: Schild-Konfigurator neu – Ziele als farbige Karten, Symbol als Dropdown, Vorschau bleibt sichtbar */
.skziel { position: relative; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--zc, var(--navy)); border-radius: 12px; padding: 10px 12px 12px; gap: 10px; box-shadow: 0 1px 2px rgba(30, 32, 35, .06); }
.skzkopf { display: flex; align-items: center; gap: 10px; min-width: 0; }
.skznr { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--zc, var(--navy)); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.skztxt { font-size: 17px; overflow-wrap: anywhere; }
.skzdir { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.skzweg { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; font-size: 14px; }
.skzweg:hover { color: var(--bad); border-color: var(--bad); }
.skziel .skzp { align-items: flex-start; gap: 14px; }
.skzrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; align-items: end; }
.skzc { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.skzlab { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.skzlab .sken { text-transform: none; letter-spacing: 0; font-size: 11px; padding: 2px 7px; }
.skzcen input { font-style: italic; width: 100%; min-width: 0; }
.skzdd { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 4px 10px 4px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; font: inherit; }
.skzdd:hover, .skzdd.auf { border-color: var(--zc, var(--navy)); box-shadow: 0 0 0 1px var(--zc, var(--navy)) inset; }
.skzddi { display: flex; gap: 2px; flex: none; }
.skzddb { width: 34px; height: 34px; display: grid; place-items: center; background: #fff; border-radius: 6px; }
.skzddb svg { width: 32px; height: 32px; }
.skzdd0 { width: 34px; text-align: center; color: var(--muted); }
.skzddt { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skzddc { color: var(--muted); font-size: 13px; transition: transform .15s; }
.skzdd.auf .skzddc { transform: rotate(180deg); }
.skpkdd { margin-top: 4px; border-color: var(--zc, var(--navy)); box-shadow: 0 10px 30px rgba(30, 32, 35, .16); animation: skdd .14s ease-out; }
@keyframes skdd { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .skpkdd { animation: none; } .skzddc { transition: none; } }
.skpkhead { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.skpksel { display: flex; flex-wrap: wrap; gap: 6px; }
.skzsyx { border: 0; background: none; color: var(--muted); font-size: 17px; line-height: 1; cursor: pointer; padding: 0 2px; }
.skzsyx:hover { color: var(--bad); }
.skpkdd .skpiktos { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; padding: 2px; }
.skpkdd .skzt { min-height: 74px; padding: 6px 4px; }
.skpkdd .skzt svg { width: 34px; height: 34px; }
.skpkdd .skzt small { font-size: 11px; line-height: 1.2; }
.skzadd { align-self: flex-start; }
@media (max-width: 520px) {
  .skzrow { grid-template-columns: minmax(0, 1fr); }
  .skziel .skzp { flex-direction: column; }
  .skziel .skpf { flex-direction: row; align-items: center; gap: 12px; width: 100%; }
}
.skmontd { background: var(--surface); border-radius: 10px; }
.skmontd > summary { cursor: pointer; padding: 8px 12px; font-weight: 600; font-size: 13.5px; color: var(--navy); list-style: none; display: flex; align-items: center; gap: 6px; }
.skmontd > summary::-webkit-details-marker { display: none; }
.skmontd > summary::before { content: '▸'; transition: transform .15s; }
.skmontd[open] > summary::before { transform: rotate(90deg); }
.skmontd > .skmontw { padding-top: 0; }
.skziel .skpfw { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skziel .skpfa { width: 54px; height: 54px; padding: 6px; }
.skziel .skpfx { gap: 5px; }
.skpkdd .skpkg { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.skpkdd .skpkg .chip { flex: none; }
.skpkdd .skpiktos { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); max-height: 260px; }
@media (min-width: 861px) { .skaside .skfotos { max-height: 34vh; } }
/* 1.36.135: Marktvergleich (Marketing) */
.mmwahl { align-items: flex-end; gap: 10px; }
.mmwahl input[type=search] { min-width: 0; flex: 1 1 220px; }
.mmlist { max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; }
.mmh { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--line); cursor: pointer; }
.mmh:last-child { border-bottom: 0; }
.mmh.on { background: var(--soft); }
.mmh input { width: 18px; height: 18px; flex: none; }
.mmact { align-items: center; margin-top: 10px; gap: 8px; }
.mmideen { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.mmidee { border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.mmidee.p1 { border-left-color: var(--go); } .mmidee.p2 { border-left-color: var(--navy); }
.mmidee p { margin: 0; font-size: 14px; }
.mmidk { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.mmidk b { font-size: 15px; }
.mmmass { font-weight: 600; }
.mmkan .tag { font-weight: 500; }
.mmhl { display: flex; flex-direction: column; gap: 8px; }
.mmhaus { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mmhaus > summary { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; cursor: pointer; list-style: none; }
.mmhaus > summary::-webkit-details-marker { display: none; }
.mmhaus > summary .grow { min-width: 0; flex: 1 1 220px; }
.mmhb { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.mmhb h3 { margin: 4px 0 0; font-size: 15px; }
.mmvgl th[scope=row] { text-align: left; font-weight: 600; }
.mmvgl td.mmgut b { color: var(--go); } .mmvgl td.mmhoch b { color: var(--bad); }
.mmfakt { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.mmkonk > summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.mmquelle { margin-top: 10px; }
.mmkan .tag { white-space: normal; text-align: left; line-height: 1.3; }

/* ---------- 1.36.135: Aufräumen – Kopf, gebündelte Reiter ---------- */
/* Kopf: Bereiche in der Mitte nehmen den freien Platz; was nicht passt, steht unter „Mehr ▾“ (areaFit) */
/* 1.36.339 (Ernst 31.10. 20:00): Bereiche (z. B. Inventur | Shop) mittig über den Reitern – beide Seiten gleich breit, solange Platz ist; sonst wie bisher */
@media (min-width: 701px) {
  header.top { grid-template-columns: minmax(min-content, 1fr) minmax(0, max-content) minmax(min-content, 1fr); }
  header.top .area { justify-self: center; max-width: 100%; min-width: 0; overflow: hidden; }
  header.top .hr { min-width: max-content; grid-column: 3; }   /* auch ohne Bereichsschalter (Anmeldeseite) rechts */
}
@media (min-width: 701px) and (max-width: 959px) { header.top:has(.area button) .ttl { display: none; } }   /* Tablet: Titel weg, damit der Bereichsschalter mittig bleibt */
header.top .area button[hidden] { display: none; }
header.top .area .armore { display: inline-flex; align-items: center; gap: 4px; flex: none; }
header.top .area .armore svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
header.top .area .armore[aria-expanded="true"] { background: rgba(255,255,255,.18); opacity: 1; }
.armenu { position: fixed; right: auto; width: 220px; }
.armenu button { display: flex; align-items: center; width: 100%; border: 0; background: none; color: var(--ink); text-align: left; padding: 9px 12px; border-radius: 8px; font: 600 14px var(--font); cursor: pointer; }
.armenu button:hover, .armenu button:focus-visible { background: var(--chip); outline: none; }
header.top .who, header.top .hiv .hivt { display: none; }   /* Name und Rolle stehen im Zahnrad-Menü, „Ansicht als …“ ist das Auge (Tooltip) – Platz für die Bereiche */
header.top .hiv .hivt { white-space: nowrap; }
/* Unterseiten eines gebündelten Reiters */
nav.subtabs { display: flex; justify-content: center; padding: 12px 12px 0; }
nav.subtabs[hidden] { display: none; }
nav.subtabs .subtw { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 3px; padding: 3px; border-radius: 10px; background: var(--chip); max-width: 100%; }
nav.subtabs button { border: 0; background: none; color: var(--muted); border-radius: 7px; padding: 7px 16px; font: 700 13.5px var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
nav.subtabs button:hover { color: var(--ink); }
nav.subtabs button.on { background: var(--surface); color: var(--navy); box-shadow: 0 1px 3px rgba(37, 40, 43,.14); }
@media (prefers-color-scheme: dark) { html[data-site="time"] nav.subtabs button.on { color: var(--ink); } }
@media (max-width: 700px) { nav.subtabs { padding: 10px 10px 0; } nav.subtabs button { padding: 7px 11px; font-size: 13px; } }
/* Kartenkopf „Überschrift + Knöpfe“: die Überschrift wird nie zusammengequetscht – die Knöpfe rutschen auf dem Handy darunter */
.row > h2.grow, .row > h3.grow { flex: 1 1 auto; min-width: fit-content; max-width: 100%; }
/* Handy-Tabellen als Karten: lange Spaltenbeschriftungen (z. B. „Weclapp-Kundennr. (Standard)“) schieben die Zeile nach unten statt die nächste zu überdecken */
@media (max-width: 700px) {
  table.stk td, table.stk tbody th, table.stk tfoot th { display: flow-root; }
  table.stk td::before, table.stk th::before { position: static; float: left; margin: 1px 0 0 -56.25%; width: 51.5%; }
}
.skvor .row > * { flex: 1 1 220px; }   /* Vorschau-Leiste: auf dem Handy untereinander statt schmaler Spalten */
.row > input.grow, .row > select.grow { flex: 1 1 200px; }   /* Suchfelder neben Überschriften: lieber in die nächste Zeile als zusammengedrückt */
@media (max-width: 700px) {
  nav.subtabs .subtw { display: flex; flex-wrap: nowrap; width: 100%; }
  nav.subtabs button { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; white-space: normal; line-height: 1.2; padding: 7px 6px; }
  nav.tabs.mnv button.pri, nav.tabs.mnv button.on { letter-spacing: 0; }
}
/* Rechner: der gelbe Scan-Knopf unten rechts verdeckt keine Knöpfe am rechten Rand der Karten mehr */
@media (min-width: 701px) {
  body.hfabon main { padding-right: max(16px, calc(100px - (100vw - 980px) / 2)); }
  body.hfabon main.mkwide { padding-right: max(16px, calc(100px - (100vw - 1280px) / 2)); }
  body.hfabon main.mkwide.swfull { padding-right: max(16px, calc(100px - (100vw - 1560px) / 2)); }
}
/* lange Einleitungen unter der Kartenüberschrift: zwei Zeilen, „Mehr lesen ▾“ */
p.hint.hkurz:not(.hkauf) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.hkmehr { align-self: flex-start; border: 0; background: none; padding: 0; margin-top: -2px; color: var(--link); font: 600 12.5px var(--font); cursor: pointer; }
.hkmehr:hover { text-decoration: underline; }
/* Inventur-Erinnerung (1.36.136) */
.ierin { border-left: 4px solid #e0a030; }
.ierin h2 + .hint { margin-bottom: 8px; }
.ierl { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; }
.ierl li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); }
.ierl li > .grow { min-width: 200px; }
.ierb { display: flex; gap: 6px; flex-wrap: wrap; }
.skinv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; }
.skinvb { display: flex; gap: 8px; align-items: center; }
/* 1.36.136: Schilder unter dem Konfigurator-Bild nur halb so groß – nebeneinander, mittig (Klick öffnet weiter die große Vorschau) */
.skfacesv { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.skfacesv figure { flex: 0 1 calc(50% - 6px); min-width: 0; }
.skfacesv figcaption { font-size: 12px; text-align: center; }
/* Ebenenschilder (1.36.136): unter jeder Ansicht ein Häkchen „bestellen“ – abgewählte blass */
.sketit { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; scroll-snap-align: start; }
.sketsel { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 6px; font-size: 12px; cursor: pointer; border-radius: 6px; }
.sketsel input { width: 18px; height: 18px; margin: 0; accent-color: var(--cta); }
.sketit.aus .skface { opacity: .3; filter: grayscale(1); }
.sketit.aus .sketsel { color: var(--muted); }
.sketpvh .link { font-size: 12px; }
.sklbgrid figure.aus .sklbsvg { opacity: .35; filter: grayscale(1); }
/* Ebenenschilder (1.36.136): Höhe automatisch – nur angezeigt */
.sketauto { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sketauto > span { font-size: 13px; color: var(--muted); }
.sketauto b { font-size: 16px; padding: 7px 0 2px; }
.sketauto small { font-size: 12px; }
/* Foto-Ansichten (1.36.136): vergrößern per Klick oder ⤢ */
.skfotof[data-fzoom] { position: relative; }
.skfotof[data-fzoom] .skfotos { cursor: zoom-in; }
.skfzb { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #1f2a33; font-size: 17px; line-height: 1; cursor: zoom-in; box-shadow: 0 1px 4px rgba(0,0,0,.28); }
.skfzb:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }
.sklbfzs { max-width: 100%; }
.sklbfzs > svg { display: block; width: 100%; height: 100%; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.45); background: #dfe3e6; }
/* windanfälliger Bereich (1.36.136): Frage direkt unter „An der Decke“ */
.skwind { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.skwind > b { font-size: 14.5px; }
.skwind .hint { font-size: 12.5px; }
/* PSA-Schilder am Mast (1.36.139): je Schild Größe, Vorderseite, Rückseite – Liste der Schilder unter der Ansicht */
.skpsa { display: flex; flex-direction: column; gap: 12px; }
.skpsal > b { display: block; font-size: 14px; margin-bottom: 6px; }
.skpsaki { margin-top: 10px; }
.skpsaact { gap: 8px; align-items: center; }
.skpsaliste { margin: 8px 0 10px; padding-left: 22px; display: grid; gap: 4px; font-size: 13.5px; }
.skpsaliste .hint { font-size: 12.5px; }

/* 1.36.140: Ansicht rechts ohne sichtbare Scrollleiste – ändert sich der Text unter dem Bild, wird die Spalte nicht schmaler und das Bild springt nicht; ragt etwas heraus, blendet der Rand unten weich aus */
.skaside > .skpv { scrollbar-width: none; overscroll-behavior: contain; }
.skaside > .skpv::-webkit-scrollbar { display: none; width: 0; height: 0; }
.skaside > .skpv.skmehr { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 34px), transparent); }
:root:has(.skgrid2) { scrollbar-gutter: stable; }
.skaside .skfacesv .skzoom[style*="--ar"] { align-self: center; width: min(100%, calc(clamp(130px, calc(100vh - 600px), 240px) * var(--ar, 1))); }   /* runde/hohe Zeichen nicht riesig – Vorder- und Rückseite bleiben mit Foto und Warenkorb im Blick */
.skbuy .skgr { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink); background: var(--soft); border-radius: 8px; padding: 7px 10px; }   /* über der Freigabegrenze (1.36.140) */
/* PSA-Schilder: Tarifschild „Parkpreise“ im Stapel – Tarife und Angaben wie beim Artikel (1.36.142) */
.skpsatg { display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--line); padding-left: 12px; }
.skpsatgs > b { display: block; margin-bottom: 6px; font-size: 13.5px; }
.skpsatgs .sktgk { margin-top: 6px; }
/* Schild-Konfigurator: Eingabe „Information und Richtung“ als deutliche Karte wie die Ziele darunter – zuerst hier eintippen (1.36.145) */
.skquick1 { display: flex; flex-direction: column; gap: 7px; background: var(--surface); border: 1.5px solid var(--blue); border-left: 5px solid var(--blue); border-radius: 12px; padding: 10px 12px 12px; box-shadow: 0 1px 3px rgba(30, 32, 35, .08); }
.skquick1 > .skqk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.skquick1 .skqnr { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px; }
.skquick1 input { font-size: 18px; padding: 12px 14px; border: 1.5px solid var(--blue); border-radius: 9px; background: var(--surface); }
.skquick1 input:focus { outline: none; box-shadow: 0 0 0 3px rgba(192, 16, 27, .28); }
.skquick1 .skqh { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.skquick1.leer { box-shadow: 0 0 0 4px rgba(192, 16, 27, .14); animation: skqpuls 1.6s ease-in-out 3; }
@keyframes skqpuls { 50% { box-shadow: 0 0 0 7px rgba(192, 16, 27, .22); } }
@media (prefers-reduced-motion: reduce) { .skquick1.leer { animation: none; } }
.skbspz { position: relative; display: flex; flex-direction: column; gap: 10px; opacity: .6; }
.skbspz:focus-within, .skbspz:hover { opacity: .85; }
.skbspzh { margin: 2px 0 -2px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
/* 1.36.146: Einzelsymbol schon im Kombisymbol „Lift + Treppen“ enthalten – nicht wählbar */
.skvzt.skzt.aus { opacity: .38; cursor: not-allowed; filter: grayscale(1); }
/* 1.36.151: Verkehrszeichen auf dem Wunschtext-Schild austauschen (PSA „Reserviert“) */
.skpsavz { margin-top: 10px; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--surface); }
.skpsavzk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.skpsavzk .grow { flex: 1 1 180px; min-width: 0; }
.skpsavzb svg { width: 44px; height: 44px; display: block; }
.skpsavzg { margin-top: 8px; max-height: 340px; overflow: auto; }

/* Bahnpark (1.36.152): Shop im Look von DB BahnPark – Logo-Leiste oben, Kunde am Objekt in der Liste */
.skroot .card.sklookb { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; padding: 12px 16px; text-align: left; }
.skroot .card.sklookb .sklogo { flex: none; display: flex; align-items: center; justify-content: center; min-height: 54px; min-width: 120px; max-width: 46%; padding: 10px 18px; border-radius: 8px; background: var(--navy); box-sizing: border-box; }
.skroot .card.sklookb .sklogo img { height: 32px; width: auto; max-width: 100%; margin: 0; display: block; filter: brightness(0) invert(1); }
.skroot .card.sklookb .sklogo.hell { background: #fff; border: 1px solid var(--line); }
.skroot .card.sklookb .sklogo.farbig img { filter: none; }   /* farbiges Logo auf dem Grund (Bahnpark: DB rot/weiß, Schrift weiß – 1.36.156) */
.skroot .card.sklookb .sklogo.hell img { filter: none; height: 36px; }
.skroot .card.sklookb .sklogo.txt span { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sklookb div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sklookb .sklookt { flex: 1 1 auto; }
.btn.anlgross { flex: none; margin-left: auto; font-size: 15px; padding: 10px 18px; background: #b50f1a; border-color: #b50f1a; color: #fff; }   /* 1.36.319: Anleitung groß, rechtsbündig in der Leiste mit dem Logo; 1.36.322 (Ernst 21:02): hellblau wie die Kopfleiste, weiße Schrift */
.btn.anlgross:hover, .btn.anlgross:focus-visible { background: #9e0d17; border-color: #9e0d17; }
.sklookb b { color: var(--navy); font-size: 16px; }
.tag.skkd { background: #edeff1; color: #363b3f; border: 1px solid #cfd3d8; }
.sklook .skkat { background: var(--soft); }
@media (max-width: 560px) { .skroot .card.sklookb .btn.anlgross { align-self: flex-end; } .skroot .card.sklookb { flex-direction: column; align-items: stretch; gap: 8px; } .skroot .card.sklookb .sklogo { max-width: none; min-height: 46px; } .skroot .card.sklookb .sklogo img { height: 26px; } }
/* Bild je Kunde im Artikel (1.36.152) */
.shkbl { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 8px; }
.shkb { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-width: 0; }
.shkb img { width: 100%; height: 96px; object-fit: contain; background: #f4f6f8; border-radius: 6px; }
.shkb b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 1.36.189: Bilder je Kunde – Bilder hochladen, anklicken, zuordnen */
.shkbk { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-top: 10px; background: var(--surface); min-width: 0; }
.shkbk h4 { margin: 0 0 8px; font-size: 14px; }
.shkpool { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.shkpi { position: relative; }
.shkpb { display: block; width: 84px; height: 84px; padding: 2px; border: 2px solid var(--line); border-radius: 8px; background: #f4f6f8; cursor: pointer; }
.shkpb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.shkpi.on .shkpb { border-color: #1fa34a; box-shadow: 0 0 0 2px #1fa34a; }
.shkpx { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: #b3261e; font-weight: 700; line-height: 18px; cursor: pointer; padding: 0; }
.shkpadd { display: grid; place-items: center; width: 84px; height: 84px; border: 2px dashed var(--line); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--blue); }
.shkhint { margin: 8px 0 2px; }
.shkzu { width: 100%; border-collapse: collapse; } .shkzu td { padding: 4px 6px; border-top: 1px solid var(--line); vertical-align: middle; }
.shkzn { font-size: 13px; } .shkzi { width: 56px; } .shkzi img { width: 44px; height: 44px; object-fit: contain; background: #f4f6f8; border-radius: 4px; display: block; } .shkzi img.std { opacity: .4; }
.shkza { text-align: right; white-space: nowrap; } .shkza .btn { margin-right: 8px; }

/* Bahnpark-Shop (1.36.153): ganzer Hintergrund hellrot, solange der Shop von Bahnpark offen ist */
html:has(.skroot.skhg), body:has(.skroot.skhg) { background: var(--shophg, #fbe2e5); }
/* 1.36.159 Zeiterfassung einfacher: lange Auftragsnamen umbrechen (Handy lief sonst seitlich über) */
.ztseg { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
/* „Meine Zeiten“ am Handy: ein Tag = eine kompakte Zeile – Tag + Saldo oben, Zeiten darunter, Soll/Ist/Produktiv klein mit Knopf */
@media (max-width: 700px) {
  table.stk.ztmt tr { display: grid; grid-template-columns: auto auto 1fr auto; column-gap: 12px; row-gap: 2px; align-items: baseline; padding: 7px 10px; margin: 0 0 5px; }
  table.stk.ztmt td { padding: 0 !important; min-height: 0; }
  table.stk.ztmt td::before { position: static; display: inline; float: none; margin: 0 4px 0 0; width: auto; font-size: 11px; font-weight: 600; }
  table.stk.ztmt td:nth-child(1) { grid-column: 1 / 4; grid-row: 1; font-size: 14px; padding-bottom: 0 !important; }
  table.stk.ztmt td:nth-child(1) br { display: none; }
  table.stk.ztmt td:nth-child(1)::before { display: none; }
  table.stk.ztmt tr.we, table.stk.ztmt tr.ft { background: var(--chip); }
  table.stk.ztmt tr.we td, table.stk.ztmt tr.ft td { background: transparent; }
  table.stk.ztmt td:nth-child(1) .tag { margin-left: 6px; }
  table.stk.ztmt td:nth-child(5) { grid-column: 4; grid-row: 1; text-align: right !important; font-weight: 700; }
  table.stk.ztmt td:nth-child(5)::before { display: none; }
  table.stk.ztmt td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  table.stk.ztmt td:nth-child(2)::before { display: none; }
  table.stk.ztmt td:nth-child(3) { grid-column: 1; grid-row: 3; font-size: 12.5px; color: var(--muted); }
  table.stk.ztmt td:nth-child(4) { grid-column: 2; grid-row: 3; font-size: 12.5px; }
  table.stk.ztmt td:nth-child(6) { grid-column: 3; grid-row: 3; font-size: 12.5px; }
  table.stk.ztmt td:nth-child(7) { grid-column: 4; grid-row: 3; text-align: right !important; }
  table.stk.ztmt td:nth-child(7)::before { display: none; }
  table.stk.ztmt td:nth-child(4) br, table.stk.ztmt td:nth-child(6) br { display: none; }
}
/* 1.36.159: „Einsatz ohne Termin“ eingeklappt – eine Zeile, aufgeklappt wie bisher */
details.kspon > summary { cursor: pointer; list-style: none; color: var(--link); font-weight: 600; font-size: 14px; padding: 2px 0; }
details.kspon > summary::-webkit-details-marker { display: none; }
details.kspon[open] > summary { margin-bottom: 8px; }
details.kspon .ksponin { display: block; }
.ztpinoff { display: inline; } .ztpinoff summary { display: inline; cursor: pointer; } .ztpinoff[open] summary { display: block; }
.ztpinalt { margin-top: 10px; } .ztpinalt > summary { cursor: pointer; }
.ztnix { margin: 0 0 12px; }
.ztohnev { margin: 8px 0 12px; } .ztohnev > summary { cursor: pointer; }
.ztohnevl { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; } .ztohnevl > span { white-space: nowrap; }
/* Auswertung: Stunden nicht umbrechen */
.ztrep td.r, .card table td.r b { white-space: nowrap; }
/* 1.36.159 QR-Leser: Eintippen, Licht, Hinweis bei fremdem Code */
.qscb .qscu { opacity: .85; font-size: 13px; margin-top: -6px; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.qscb .qscw { background: rgba(255, 216, 77, .95); color: #1d1d1d; border-radius: 10px; padding: 8px 12px; font-weight: 600; text-shadow: none; max-width: 520px; }
.qscr { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.qscr .btn { min-width: 0; }
.qscb .qscr .qscx { min-width: 140px; }
.qsct.on { background: #ffd84d; color: #2e3237; border-color: #e6bf2e; }
.qsce { display: flex; gap: 8px; width: min(420px, 100%); }
.qsce input { flex: 1; min-width: 0; font-size: 20px; padding: 10px 12px; border-radius: 10px; border: 0; text-align: center; letter-spacing: .04em; }
.qsc.qscnocam .qscf, .qsc.qscnocam video { display: none; }
.qsc.qscnocam .qscb { position: static; margin: auto 0; }
/* 1.36.159 Lager: nach dem Scannen ohne Inventur gleich buchen */
.lgqh { margin: 12px 0 6px; font-size: 14px; }
.lgqt { width: 100%; margin: 8px 0 4px; }
.qsce .btn { flex: 0 0 auto; min-width: 76px; justify-content: center; }
.qsc.qscnocam .qscu { display: none; }
/* Bestellungen gegliedert (1.36.160): gelb wartet auf Freigabe · blau freigegeben, noch nicht gedruckt · grün gedruckt, in Arbeit · grau fertig */
:root { --sek-gelb: #d9a400; --sek-gelb-bg: #fff6d4; --sek-gelb-t: #6b4f00; }
@media (prefers-color-scheme: dark) { :root[data-site="time"] { --sek-gelb: #e5b51e; --sek-gelb-bg: #2e2608; --sek-gelb-t: #f2cf63; } }
.shsek { border-left: 6px solid var(--sek, var(--line)); padding-left: 14px; }
.shsek-gelb { --sek: var(--sek-gelb); --sek-bg: var(--sek-gelb-bg); --sek-t: var(--sek-gelb-t); }
.shsek-blau { --sek: var(--blue); --sek-bg: var(--soft); --sek-t: var(--link); }
.shsek-gruen { --sek: var(--go); --sek-bg: var(--go-soft); --sek-t: var(--go); }
.shsek-grau { --sek: var(--muted); --sek-bg: var(--chip); --sek-t: var(--muted); }
.shsekh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -4px -6px 4px -8px; padding: 8px 10px; border-radius: 8px; background: var(--sek-bg); color: var(--sek-t); font-size: 17px; }
.shsekh .chn { background: var(--surface); color: var(--ink); }
.shsekp { width: 12px; height: 12px; border-radius: 50%; background: var(--sek); flex: 0 0 auto; }
.shsek > .hint { margin: 0 0 6px; }
.tag.gesp { background: var(--sek-gelb-bg); color: var(--sek-gelb-t); border: 1px solid var(--sek-gelb); font-weight: 700; white-space: nowrap; }
.shrow.shgesp td { background: color-mix(in srgb, var(--sek-gelb-bg) 70%, transparent); } .shrow.shgesp td:first-child { box-shadow: inset 4px 0 0 var(--sek-gelb); }
/* 1.36.433: Tarifänderungen ohne Bestellung (oben in „Wartet auf Freigabe / Bestellung“) */
.shobt { margin-bottom: 14px; } .shobk { cursor: default; font-weight: 600; } .shobst { font-size: 13px; line-height: 1.35; }
.tazl.tablink { outline: 2px solid var(--sek-gelb, #e0a800); outline-offset: 2px; border-radius: 8px; transition: outline-color .4s; }
/* Nachdruck nach Tarif-Mail (Verwaltung) */
.tabox { border-left: 6px solid var(--sek-gelb); padding-left: 14px; }
.tahead { align-items: center; } .tahead h2 { margin: 0; } .taan { gap: 6px; }
.talist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.tazl { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tazl > .grow { min-width: 0; flex: 1 1 260px; } .tbges { margin: 6px 0 0; }   /* 1.36.524 */ .tazb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tazl-frage, .tazl-fehler { border-color: var(--sek-gelb); background: var(--sek-gelb-bg); }
.tawarn { color: var(--warn); font-weight: 600; } .grok { color: var(--go); font-weight: 600; } .tahin { margin: 6px 0; padding: 6px 10px; border-left: 3px solid var(--blue); background: var(--soft); border-radius: 0 8px 8px 0; overflow-wrap: anywhere; } .tazl .field { margin-top: 6px; } .tazl .tabs { margin-top: 6px; } .tazl select { max-width: 100%; }
.tadet .row { margin-top: 8px; gap: 8px; flex-wrap: wrap; }
/* Shop › Meine Bestellungen: Druckfreigabe */
.skta { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: var(--sek-gelb-bg); color: var(--sek-gelb-t); border: 1px solid var(--sek-gelb); }
.skta.frei { background: var(--go-soft); color: var(--go); border-color: transparent; }
.skta.offen p { margin: 0 0 8px; color: var(--ink); } .skta.offen .hint { color: var(--muted); } .skta .row { gap: 8px; flex-wrap: wrap; }
.msg.info.skta { color: var(--ink); }
/* Tarifbedarf im Warenkorb (1.36.161) */
.sktb { border: 2px solid var(--blue); } .sktb.warn { border-color: var(--cta); box-shadow: 0 0 0 3px var(--warn-bg); } .sktbq { margin: 0 0 4px; font-size: 1.08rem; font-weight: 700; text-wrap: balance; }
.sktbl { margin: 6px 0 10px; padding-left: 20px; } .sktbl li { margin: 2px 0; font-weight: 600; }
.sktbw { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.sktbo { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--surface); }
.sktbo input { margin-top: 3px; flex: none; width: 18px; height: 18px; } .sktbo.on { border-color: var(--blue); background: var(--soft); }
/* Rechnung über (1.36.180): Knopf in der Farbe der Firmierung – Contipark Navy, DB BahnPark rot; gewählt: gefüllt */
.skrg .sktbo { --rg: var(--blue); border: 2px solid var(--rg); align-items: center; }
.skrg .sktbo b { color: var(--rg); } .skrg .sktbo input { accent-color: var(--rg); margin-top: 0; }
.skrg .sktbo.on { background: var(--rg); border-color: var(--rg); } .skrg .sktbo.on b, .skrg .sktbo.on .hint { color: #fff; }
.skrg .sktbo:not(.on) { opacity: .5; transition: opacity .15s; } .skrg .sktbo:not(.on):hover { opacity: .8; }   /* 1.36.182 (Ernst): der jeweils andere Knopf halb so hell */
/* 1.36.182 (Ernst): gewählte Firmierung mit grünem Haken statt Radiopunkt – gut zu sehen auf Navy und Rot */
.skrg .sktbo input, .sktb .sktbo input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 50%; border: 2px solid var(--rg, #8a96a3); background: #fff; flex: none; cursor: pointer; }
.skrg .sktbo input:checked, .sktb .sktbo input:checked { background: #1fa34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; border-color: #fff; box-shadow: 0 0 0 1px #1fa34a; }
.skrg .sktbo input:focus, .sktb .sktbo input:focus { outline: none; box-shadow: none; } .skrg .sktbo input:checked:focus, .sktb .sktbo input:checked:focus { box-shadow: 0 0 0 1px #1fa34a; }
.skrg .sktbo input:focus-visible, .sktb .sktbo input:focus-visible { outline: 2px solid #1fa34a; outline-offset: 2px; }
/* 1.36.182 (Ernst): Frage zum Tarifbedarf deutlicher – rot hinterlegt, Text weiß; Antworten als weiße Kacheln mit grünem Haken; unbeantwortet beim Bestellen: gelber Rahmen */
.sktb { background: #d0021b; border-color: #d0021b; color: #fff; } .sktb h2, .sktb .sktbq, .sktb > .hint, .sktb .sktbl li { color: #fff; } .sktb h2::before { background: #fff; }
.sktb .sktbo { background: #fff; border: 2px solid #fff; color: #24282b; align-items: center; } .sktb .sktbo.on { background: #fff; border-color: #1fa34a; box-shadow: 0 0 0 2px #1fa34a; }
.sktb.warn { border-color: #ffd400; box-shadow: 0 0 0 4px #ffd400; }
/* Druckfreigabe: Vorschaubilder im Portal (1.36.161) */
.sktag { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 10px; }
.sktag figure { margin: 0; } .sktag figure > button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: zoom-in; overflow: hidden; }
.sktag img { display: block; width: 100%; height: 150px; object-fit: contain; } .sktag figcaption { font-size: .82rem; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.skta.ziel { box-shadow: 0 0 0 3px var(--blue); }
/* Hinweise zur Druckfreigabe (1.36.162) */
.sktafa { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 2px; } .sktafa .link { font-size: .82rem; padding: 2px 0; }
.skta.rf { background: var(--soft); border-color: var(--blue); color: var(--ink); }
/* 1.36.327 (Ernst 30.10. 21:12): Druckfreigabe hellrot (die Tarifschilder im Bestellen hellblau) */
/* 1.36.420 (Ernst 04.11. 23:53): das Freigabe-Kästchen hellgrün statt hellrot – der Seitenhintergrund der Druckfreigaben bleibt rosa */
.skta.offen, .skta.rf { background: #e3f5ea; border-color: rgba(23, 131, 79, .35); color: var(--ink); }
/* 1.36.317: Freigabe-Übersicht – je Bereich, Stückzahl, „+ weitere hinzufügen“ */
.sktagh { margin: 14px 0 2px; padding-bottom: 3px; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 700; color: var(--ink); }
.sktak .sktat { display: block; color: var(--ink); } .sktak.aend > button, .sktak.aend .sktaph { box-shadow: 0 0 0 2px var(--blue); } .sktak.weg > button, .sktak.weg .sktaph { opacity: .4; }
.sktaq { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 2px; } .sktaq button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.sktaq input { width: 54px; height: 30px; border: 1px solid var(--line); border-radius: 6px; text-align: center; font: inherit; color: var(--ink); background: #fff; }
.sktaph { display: flex; align-items: center; justify-content: center; height: 150px; border: 1px dashed var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: .85rem; overflow: hidden; } .sktaph img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sktag figure > .sktaplus, .sktaplus { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 150px; padding: 0; border: 2px dashed rgba(27, 154, 74, .55); border-radius: 8px; background: rgba(255, 255, 255, .55); color: var(--ink); cursor: pointer; }
.sktag figure > .sktaplus:hover, .sktag figure > .sktaplus:focus-visible { background: rgba(255, 255, 255, .85); } .sktaplus b { font-size: 72px; line-height: .9; font-weight: 300; color: #1b9a4a; } .sktaplus span { font-size: .88rem; }
.sktaed { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--blue); color: var(--ink); } .sktaed ul { margin: 4px 0 8px 18px; padding: 0; } .sktaed p { margin: 0 0 6px; }
.sktaed .sktaaf { margin-top: 8px; font-size: 13.5px; }   /* 1.36.899 */
.sktz { margin: 10px 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); } .sktz summary { cursor: pointer; padding: 6px 0; }   /* 1.36.899: Tarife auf dem Schild */
.sktz ul { list-style: none; margin: 4px 0 6px; padding: 0; } .sktz li .check { min-height: 38px; } .sktz .sktzl { flex: 1 1 auto; min-width: 0; } .sktz .sktzp { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sktz .check.aus .sktzl, .sktz .check.aus .sktzp { text-decoration: line-through; color: var(--muted); } .sktz .sktzg { display: block; margin: -6px 0 4px 26px; font-size: 12px; } .sktz .sktzh { margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.sktapop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(23, 25, 27, .55); }
.sktapw { width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 14px 16px; border-radius: 12px; background: var(--card, #fff); color: var(--ink); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); } .sktapw h3 { margin: 0; }
.sktapw .sklbx { position: static; } .sktapg { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin: 6px 0 4px; }
.sktapa { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; text-align: center; cursor: pointer; } .sktapa:hover, .sktapa:focus-visible { border-color: var(--blue); }
.sktapa img, .sktapa .sktaph { width: 100%; height: 90px; object-fit: contain; }
.sktah { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 6px; } .sktah li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); overflow-wrap: anywhere; }
.sktaa { display: block; margin-top: 4px; padding-left: 10px; border-left: 3px solid var(--blue); }
.sktahf { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; color: var(--ink); } .sktahf p { margin: 0 0 8px; }
.sktahc { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; }
.shsekh .chn, .tahead .chn { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 10px; font-size: 13px; font-weight: 700; text-align: center; }
.tahead .chn { background: var(--sek-gelb-bg); color: var(--sek-gelb-t); }
/* Marktvergleich: Umfeld (1.36.160) */
.mmumf { margin: 10px 0 4px; } .mmumf > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mmumf > summary .tag { font-weight: 600; }
.mmumfl { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.mmumfl li { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-width: 0; overflow-wrap: anywhere; }
.mmhaus > summary { flex-wrap: wrap; } .mmhaus > summary .tag, .mmumf > summary .tag { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
/* Fernbedienung der Dashboards (1.36.161): Handy als Fernbedienung */
body.fovon { overflow: hidden; }
.fov { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: flex; flex-direction: column; overscroll-behavior: contain; }
.fov[hidden] { display: none; }
.fovh { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) 10px max(14px, env(safe-area-inset-left, 0px)); background: var(--navy); color: #fff; }
.fovh b { font-size: 17px; } .fovx { border: 0; background: rgba(255,255,255,.14); color: #fff; width: 40px; height: 40px; border-radius: 10px; font-size: 18px; cursor: pointer; flex: none; }
.fovb { flex: 1; overflow: auto; padding: 14px max(14px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 12px; max-width: 760px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.fovt { margin: 6px 0 0; font-size: 15px; }
.fovbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.fovbsk { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; min-width: 0; }
.fovbsk.on { border-color: var(--blue); box-shadow: 0 0 0 3px var(--soft); } .fovbsn { font-weight: 700; font-size: 16px; } .fovbsz { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.fovbsz i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #b3261e; margin-right: 6px; } .fovbsz i.on { background: #17834f; }
.fovq { width: 100%; box-sizing: border-box; font-size: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.fovpl { display: flex; flex-direction: column; gap: 6px; }
.fovp { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.fovp span { font-size: 13px; color: var(--muted); } .fovp .fovps { color: var(--link); }
.fovup { align-self: flex-start; padding: 14px 18px; font-size: 16px; cursor: pointer; }
.fovk { display: flex; flex-direction: column; } .fovk b { font-size: 18px; } .fovk span { color: var(--muted); font-size: 14px; }
.fovn { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .fovn .btn { min-width: 64px; font-size: 20px; padding: 8px 14px; } .fovn span { text-align: center; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.fpad { position: relative; width: 100%; max-height: 62vh; margin: 0 auto; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.fpadimg, .fpadimg img, .fpadimg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: fill; pointer-events: none; }
.fpadpts { position: absolute; inset: 0; pointer-events: none; }
.fpadpts i { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; border: 1.5px solid #fff; background: #7b8794; box-shadow: 0 0 2px rgba(0,0,0,.5); }
.fpadpts i.mont { background: #17834f; } .fpadpts i.prod { background: #ce111d; } .fpadpts i.teil { background: #f0a020; } .fpadpts i.sel { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-color: #e9202d; border-width: 3px; }
.fpadrect { position: absolute; border: 3px solid #e9202d; border-radius: 4px; box-shadow: 0 0 0 9999px rgba(28, 30, 32,.28); pointer-events: none; transition: left .08s linear, top .08s linear, width .08s linear, height .08s linear; }
.fpadrect.ganz { box-shadow: none; border-color: rgba(233, 32, 45,.55); }
.fovz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .fovz.mk { grid-template-columns: 1fr 1.25fr 1fr 2fr; } .fovz.mk [data-fmk] { font-size: 15px; white-space: nowrap; padding-inline: 4px; } .fovz .btn { font-size: 18px; padding: 12px 8px; } .fovz .btn.on { background: var(--soft); border-color: var(--blue); color: var(--link); }
.fovhi { margin: 0; text-align: center; }
.fovpch { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; max-height: 30vh; overflow: auto; }
.fovpc { display: inline-flex; align-items: center; gap: 5px; min-width: 52px; justify-content: center; padding: 8px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px/1 system-ui, sans-serif; cursor: pointer; }
.fovpc i { width: 10px; height: 10px; border-radius: 50%; flex: none; } .fovpc.on { border-color: #e9202d; box-shadow: 0 0 0 2px rgba(233, 32, 45,.25); }
.fovend { gap: 10px; flex-wrap: wrap; } .fovend .btn { flex: 1 1 160px; padding: 13px 14px; }
.btn.bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.mnavi { width: 22px; text-align: center; font-size: 17px; }
.fovgo { padding: 14px 18px; font-size: 17px; align-self: stretch; } .ztdneu { align-items: flex-end; gap: 8px; margin-top: 10px; }
/* 1.36.165: Verwaltung – mehrere Postfächer für Eingangsrechnungen */
.vwpf { display: grid; gap: 6px; }
/* 1.36.713: Verwaltung › Firmendaten */
#vwfirma h3 { margin: 14px 0 4px; font-size: 14px; }
#vwfirma .lggrid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
#vwfirma .vwfdz .btn { flex: none; }
.vwfdz { display: flex; gap: 6px; align-items: center; }
.vwfdz input { flex: 1; min-width: 0; }
.vwfdw { color: #b45309; font-weight: 600; font-size: 12px; }
.vwfdr { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(200px, 2fr) auto; gap: 8px; align-items: end; margin-bottom: 6px; }
@media (max-width: 640px) { .vwfdr { grid-template-columns: 1fr; } }
.vwfdv li { margin: 6px 0; line-height: 1.45; }
.vwpf + .vwpf { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.vwpf h3 { margin: 0; font-size: 15px; } .vwpf h3 .hint { font-weight: 400; font-size: 12.5px; }
/* 1.36.193 (Ernst): auf dem iPad (und anderen Tablets mit Touch) nutzt das Portal die ganze Bildschirmbreite – ohne die 980/1280/1560-px-Grenze;
   html.ipad setzt app.js (iPadOS meldet sich als Mac), die Media-Query greift ohne Tastatur/Trackpad schon vor dem Skript */
html.ipad #main { max-width: none; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
html.ipad body.hfabon #main { padding-bottom: 104px; }   /* gelber Scan-Knopf unten rechts: unten Platz lassen (1.36.195: rechts volle Breite) */
@media (hover: none) and (pointer: coarse) and (min-width: 700px) {
  #main { max-width: none; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  body.hfabon #main { padding-bottom: 104px; }
}
/* 1.36.194 (Ernst): Beschilderungsplan wie in der App – links der Plan mit Nummern, rechts die Schilder der Seite mit Bild und oben die Vorschau des gewählten Schilds; im Querformat nebeneinander */
.sqpl2 { display: grid; gap: 14px; margin-top: 8px; }
.sqpl2 .sqbild { margin-top: 0; }
.sqpl2r { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sqsl { position: relative; }
@media (min-width: 900px) { .sqpl2 { grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); align-items: stretch; }
  .sqpl2l .sqzw { width: min(100%, calc((100vh - var(--sqoben, 150px)) * var(--ar, 1))); width: min(100%, calc((100dvh - var(--sqoben, 150px)) * var(--ar, 1))); margin: 0 auto; }   /* Plan passt in die Bildschirmhöhe */
  .sqpl2r { position: sticky; top: 8px; min-height: min(620px, calc(100vh - var(--sqoben, 150px))); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: hidden; }
  .sqpl2r .sqvor { flex: 0 0 auto; } .sqpl2r .sqsl { flex: 1 1 auto; min-height: 0; contain: size; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-right: 2px; } .sqvorzu { display: none; } }   /* 1.36.195: nur die Liste scrollt – die Vorschau bleibt oben stehen */
.sqvor { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--bg); display: flex; flex-direction: column; gap: 6px; }
.sqvor.leer { padding: 14px 12px; }
.sqvorb { background: #fff; border-radius: 8px; display: grid; place-items: center; min-height: 110px; max-height: 260px; overflow: hidden; }
.sqvorb img { max-width: 100%; max-height: 250px; object-fit: contain; display: block; }
.sqvorx { font-size: 46px; }
.sqvort { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sqvor p.hint { margin: 0; }
.sqvorl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sqvorl li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; } .sqvorl li .btn { margin-left: auto; }
.sqvorl li.sqsel .sqcode { background: var(--cta); color: #fff; }
.sqslh { margin: 4px 0 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.sqsl { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sqsli { width: 100%; display: grid; grid-template-columns: auto 56px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.sqsli.sel { border-color: var(--cta); box-shadow: inset 0 0 0 2px var(--cta); }
.sqslnr { min-width: 28px; height: 24px; padding: 0 6px; border-radius: 12px; display: inline-grid; place-items: center; color: #fff; font-weight: 700; font-size: 12.5px; background: #7b8794; }
.sqslnr.mont { background: var(--sq-mont); } .sqslnr.prod { background: var(--sq-prod); } .sqslnr.teil { background: var(--sq-teil); }
.sqslb { width: 56px; height: 40px; background: #fff; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.sqslb img { max-width: 54px; max-height: 38px; object-fit: contain; }
.sqslx { font-size: 20px; }
.sqslt { min-width: 0; display: flex; flex-direction: column; } .sqslt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; } .sqslt small { color: var(--muted); font-size: 12px; }
.sqslk { font-size: 11.5px; color: var(--muted); white-space: nowrap; } .sqslk.mont { color: var(--sq-mont); font-weight: 700; }
/* 1.36.195: Vorschau – Stand und großer Knopf „Montiert“ bzw. „Nicht montiert melden“; schmal (Hochformat, Handy) unten eingeblendet; Bedienung für Touch */
.sqvor { position: relative; }
.sqvst { margin: 0; font-size: 14px; font-weight: 600; } .sqvst.ok { color: var(--sq-mont); }
.sqvork { display: flex; gap: 8px; } .sqvork .btn { flex: 1 1 auto; justify-content: center; }
.sqvgo { min-height: 56px; font-size: 18px; font-weight: 700; background: var(--sq-mont); border-color: var(--sq-mont); color: #fff; border-radius: 12px; }
.sqvzur { min-height: 48px; font-size: 16px; border-radius: 12px; }
.sqvorzu { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.sqpt, .sqsli, .sqvor .btn, .sqvorzu, .sqgplan .btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sqkgh { margin: 0; } .sqkgz { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap; color: var(--muted); margin-left: 8px; } .sqkgz b { color: var(--sq-mont); }
.sqgplan { --sqoben: 268px; }   /* 1.36.196: + Zeile „Offline verfügbar“ */
body:has(.sqgplan) .hfab { display: none; }   /* Montage-iPad im Plan: „Scannen“ steht oben – der gelbe Knopf würde die Liste verdecken */   /* Montage-iPad: nur Nav und Kartenkopf über dem Plan */
@media (max-width: 899px) { .sqvor.an { position: fixed; left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 70; max-height: 58vh; overflow: auto; background: var(--surface); box-shadow: 0 10px 40px rgba(0,0,0,.3); }
  .sqvor.an .sqvorb { max-height: 26vh; } .sqvor.an .sqvorb img { max-height: 25vh; } }
@media (pointer: coarse), (hover: none) { .sqpt { min-width: 32px; height: 32px; border-radius: 16px; font-size: 13.5px; } .sqsli { min-height: 56px; padding: 7px 10px; } .sqslt b { font-size: 15px; } }
html.ipad .sqpt { min-width: 32px; height: 32px; border-radius: 16px; font-size: 13.5px; } html.ipad .sqsli { min-height: 56px; padding: 7px 10px; }
/* 1.36.195 (Ernst: „Breite beim iPad Air immer noch nicht 100 %“): bis 1400 px Bildschirmbreite immer volle Breite – unabhängig von der Geräteerkennung */
@media (max-width: 1400px) { #main { max-width: none; } body.hfabon #main { padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-bottom: 104px; } }   /* Scan-Knopf: unten Platz statt rechts */
/* 1.36.196: Plan zoomen – zwei Finger bzw. +/−; der Plan wird größer, die Kreise behalten ihre Größe (überlagern sich nicht mehr) */
.sqpl2l { position: relative; min-width: 0; }
.sqzw { position: relative; width: 100%; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; touch-action: pan-x pan-y; }
.sqzw.zoom { overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sqzw::-webkit-scrollbar { display: none; }
.sqzw .sqbild { width: calc(100% * var(--z, 1)); max-width: none; margin: 0; border: 0; border-radius: 0; overflow: visible; }
.sqzk { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 4; }
.sqzk button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(0,0,0,.15); background: rgba(255,255,255,.92); color: #282c2f; font: 700 22px/1 var(--font); box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sqzk button:active { background: #eceef0; }
.sqzk button[hidden] { display: none; }
.sqpt.wart::after { content: ''; position: absolute; top: -5px; right: -5px; width: 11px; height: 11px; border-radius: 50%; background: #f5a623; border: 2px solid #fff; }   /* Meldung wartet auf Netz */
/* 1.36.196: ohne Empfang – Status über dem Plan */
.sqoff { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13.5px; margin-top: 6px; }
.sqoff .btn.small { margin-left: auto; }
.sqoff.aus { background: var(--warn-bg); color: var(--warn); border-radius: 8px; padding: 6px 10px; }
.sqoff.aus .hint { color: inherit; opacity: .85; }
.sqoffb { font-weight: 700; }
.sqvst.wart { color: var(--warn); font-weight: 600; }
.sqzh { margin-left: auto; color: var(--muted); }
@media (max-width: 600px) { .sqzh { margin-left: 0; } }
/* 1.36.196: Schilderliste – Bilder und Texte in einer Linie, egal wie lang die Nummer ist (Spalte so breit wie die längste Nummer) */
.sqsl .sqsli { grid-template-columns: var(--nrw, auto) 56px minmax(0, 1fr) auto; } .sqsl .sqslnr { justify-self: start; }
/* 1.36.197 (Ernst): Kopf des Plans mit den Ebenen bleibt oben am Bildschirm stehen – leicht durch die Ebenen tippen */
.sqphead { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; background: var(--surface); margin: -8px -16px 0; padding: 8px 16px; border-radius: 10px 10px 0 0; box-shadow: 0 1px 0 var(--line); }
@media (max-width: 700px) { .sqphead { top: calc(46px + env(safe-area-inset-top, 0px)); } }
.sqphead .chips { flex-wrap: wrap; }
@media (pointer: coarse), (hover: none) { .sqphead .chip { min-height: 40px; padding-inline: 14px; font-size: 14px; } }
html.ipad .sqphead .chip { min-height: 40px; padding-inline: 14px; font-size: 14px; }
@media (min-width: 900px) { .sqplan .sqpl2r { top: 76px; max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px); } }
@media (max-width: 700px) { .sqphead .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; } .sqphead .chips::-webkit-scrollbar { display: none; } .sqphead .chip { flex: none; } .sqphead [data-sqfern] { display: none; } }   /* Handy: Ebenen in einer Zeile zum Wischen */
/* 1.36.205 (Ernst): Montage – Schilder der Ebene neben dem Plan: noch nicht montiert orange hinterlegt, montiert grün */
.sqsli.mst.auf { background: #fff1dc; border-color: #f0c070; } .sqsli.mst.ok { background: #e2f5e8; border-color: #8fd1a8; }
.sqsli.mst.sel { border-color: var(--cta); box-shadow: inset 0 0 0 2px var(--cta); }
@media (prefers-color-scheme: dark) { html[data-site="time"] .sqsli.mst.auf { background: #33260f; border-color: #8a5c12; } html[data-site="time"] .sqsli.mst.ok { background: #143524; border-color: #24603f; } }
/* 1.36.204 (Ernst): Handy – Kopf des Plans nur eine Zeile mit den Ebenen zum Wischen, ohne „Beschilderungsplan“ (rechts ausgeblendet = es geht weiter) */
@media (max-width: 700px) { .sqphead:has(.chips):not(:has(.sqkgh)) { flex-wrap: nowrap; padding-block: 6px; gap: 8px; } .sqphead:has(.chips):not(:has(.sqkgh)) > h3 { display: none; }
  .sqphead:has(.chips):not(:has(.sqkgh)) .chips { flex: 1 1 auto; min-width: 0; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); padding-right: 24px; } }
/* 1.36.198: Benutzer › Kunden – Shop je Kunde freischalten */
.ushop { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.ushl { font-weight: 700; font-size: 13.5px; }
/* 1.36.198: Hinweise (z. B. „Bitte einen Titel eintragen“) stehen immer über Fenstern wie „Neuer Eintrag“ – vorher dahinter unsichtbar */
body .toast { z-index: 1000; }
/* Plug-Reference-Aufkleber für Ladesäulen (1.36.206): Nummern, Angaben der Kostenstelle, Vorschau (ein Bild) und Diashow aller Aufkleber */
.skprtext { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.45; min-height: 150px; resize: vertical; }
.skprup { align-items: center; gap: 8px 12px; flex-wrap: wrap; }
.skprup .hint { flex: 1 1 220px; min-width: 0; }
.skprok { line-height: 1.45; }
.skprdl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.skprdl dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.skprdl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.skprwarn { margin-top: 10px; }
.skprpv { background: #fff; border: 1px solid var(--line); padding: 10px; }
.skprpv img { width: 100%; height: auto; display: block; }
/* 1.36.638: Aufkleber mit Textfeld (Hochformat, z. B. Zonencode 180 × 240) – ganz sichtbar neben Stückzahl und Warenkorb */
.sktfpv img { width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
.sktfgal .skartimg { width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; display: block; }   /* 1.36.641: Slideshow mit Aufkleber-Vorschau (Hochformat) */
/* 1.36.641 (Ernst 19:10 „mach die Ansicht auch eckig, das ist verwirrend“): der Aufkleber hat gerade Ecken – Vorschau und Großansicht ohne Rundung */
.sktfpv img, .sktfgal .skartimg, .sktflb img { border-radius: 0; }
.sktfgal .skartimg { max-height: none; }
/* 1.36.642: rechte Spalte beim Aufkleber mit Textfeld nicht anheften – der Aufkleber steht groß und ganz da, die Seite scrollt (wie der Kundeninfo-Editor) */
.skgrid2:has([data-tftext]) > .skaside { position: static; max-height: none; }
.skgrid2:has([data-tftext]) > .skaside > .skpv { overflow: visible; -webkit-mask-image: none; mask-image: none; }
.skprbsp { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.skprhin { margin: 8px 0 0; }
.skprall { margin-top: 8px; }
.skprn { font-size: 14px; }
.skprlb { cursor: default; }
.skprst { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.skprbild { display: grid; place-items: center; min-height: 120px; max-width: 100%; }
.skprcv { max-width: min(92vw, 1100px); height: auto; background: #fff; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.4); cursor: pointer; }
.skprcap { margin: 0; color: #fff; font-size: 14px; text-align: center; max-width: 92vw; overflow-wrap: anywhere; }
.skprnav { display: flex; align-items: center; gap: 14px; }
.skprpfeil { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1f2a33; font-size: 26px; line-height: 1; cursor: pointer; }
.skprpfeil:disabled { opacity: .35; cursor: default; }
.skprnr { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 70px; text-align: center; }
/* 1.36.209 (Ernst): Kostenstellen-Liste liegt über der Leiste „Zurück zu …“ (.skbar0 z 25) und den Filtern (.skfil z 22), unter der Handy-Navigation (z 30) */
/* ---------- Vertrieb (1.36.210): Angebote wie in Weclapp, Kunden, Artikel der Kalkulation ---------- */
.vthead { align-items: center; }
.vtsync { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.vtrows { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.vtrow { display: grid; grid-template-columns: 110px minmax(0, 1.6fr) 110px minmax(0, 1.4fr); gap: 4px 14px; align-items: start; text-align: left; background: var(--surface); color: var(--ink); border: 0; border-top: 1px solid var(--line); padding: 10px 12px; font: inherit; cursor: pointer; }
.vtrow:first-child { border-top: 0; }
.vtrow:hover { background: var(--soft); }
.vtrow:disabled { cursor: default; opacity: .75; }
.vtrow:disabled:hover { background: var(--surface); }
.vtrow > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vtrow small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.vtrow b { overflow-wrap: anywhere; }
.vtrow .vtbet { text-align: right; align-items: flex-end; }
.vtrow .vtst { flex-direction: row; flex-wrap: wrap; gap: 4px; align-items: center; }
.vtrow .vtst small { flex-basis: 100%; }
.vtrow .vtst .tag { white-space: normal; max-width: 100%; overflow-wrap: anywhere; text-align: left; line-height: 1.35; padding-block: 2px; }   /* 1.36.877 (Ernst 27.11. 15:01): lange Hinweise umbrechen statt über die Knöpfe zu laufen */
.tag.vtgs { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px currentColor; }   /* 1.36.853: vom Kunden angesehen – umrandet, damit es sich von „gesendet“ abhebt */
.tag.vtgs.alt { color: var(--muted); }
.vtkdrow { grid-template-columns: 90px minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, .8fr); }
/* 1.36.217: Zeile mit PDF-Download rechts (Angebote, Aufträge) – unter 760 px darunter */
.vtrowx { display: flex; align-items: stretch; border-top: 1px solid var(--line); background: var(--surface); }
.vtrowx:first-child { border-top: 0; }
.vtrowx > .vtrow { flex: 1; min-width: 0; border-top: 0; }
.vtrowx:hover, .vtrowx:hover > .vtrow { background: var(--soft); }
.vtdocs { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 4px; padding: 8px 12px 8px 0; flex: none; width: 112px; }
.vtdocs:empty { padding: 0; width: 0; }
.vtdoc { display: inline-flex; align-items: center; gap: 4px; justify-content: flex-start; font-size: 12.5px; font-weight: 600; color: var(--link); text-decoration: none; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; background: var(--surface); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtdoc:hover { border-color: currentColor; }
.vtdoc.vtdup { font-family: inherit; cursor: pointer; white-space: nowrap; text-align: left; } .vtdoc.vtdup:disabled { opacity: .6; cursor: progress; }   /* 1.36.400: Angebot duplizieren */
.vtdoc.vtfreih { font-family: inherit; cursor: pointer; color: var(--go, #15803d); text-align: left; } .vtdoc.vtfreih:hover { border-color: currentColor; }   /* 1.36.651: von Hand freigeben */
.btn.vtfreih { color: var(--go, #15803d); }
.vtdel { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--bad); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; background: var(--surface); cursor: pointer; white-space: nowrap; text-align: left; }   /* 1.36.232 */
.vtdel:hover, .vtdelb:hover { border-color: var(--bad); } .vtdel.ja, .vtdelb.ja { background: var(--bad); border-color: var(--bad); color: #fff; } .vtdelb { color: var(--bad); }
.vtstat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.vtstat .grow { min-width: 200px; display: flex; flex-direction: column; gap: 2px; }
.shhk { align-items: center; gap: 8px; margin: 6px 0 0; }
/* 1.36.218: Kundenkonto – Meine Aufträge (vtkunde.js) */
.vkre { cursor: default; }
.vkkv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.vkkv dt { color: var(--muted); } .vkkv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: break-word; }
.vkls { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; } .vkls h3 { font-size: 15px; margin: 0 0 8px; }
.vktl { list-style: none; margin: 0; padding: 0; }
.vktl li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 0 0 14px; }
.vktl li:last-child { padding-bottom: 4px; }
.vktl li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.vktl li:last-child::before { display: none; } .vktl li.ok::before { background: var(--go, #16794b); }
.vktl .vtn { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; border: 2px solid var(--line); background: var(--surface); color: var(--muted); position: relative; z-index: 1; }
.vktl li.ok .vtn { background: var(--go, #16794b); border-color: var(--go, #16794b); color: #fff; }
.vktl li.jetzt .vtn { border-color: var(--link); color: var(--link); }
.vktl li b { display: block; } .vktl li.jetzt b { color: var(--link); } .vktl li.offen b { color: var(--muted); font-weight: 600; }
.vktl li small { display: block; color: var(--muted); }
.vkp { display: grid; grid-template-columns: 90px 1fr; gap: 2px 12px; border-top: 1px solid var(--line); padding: 8px 0; } .vkp:first-child { border-top: 0; }
.vkpm { font-weight: 700; text-align: right; white-space: nowrap; } .vkp details { margin-top: 4px; } .vkp summary { cursor: pointer; color: var(--link); font-size: 13px; }
.vkptext { padding: 10px 0 4px; font-weight: 600; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .vtrow, .vtkdrow { grid-template-columns: 1fr auto; } .vtrow .vtk { grid-column: 1 / -1; grid-row: 2; } .vtrow .vtst { grid-column: 1 / -1; } .vtkdrow .vtk + .vtk { grid-row: 3; }
  .vtrowx { flex-direction: column; } .vtdocs { flex-direction: row; flex-wrap: wrap; width: auto; padding: 0 12px 10px; } .vtdocs:empty { display: none; } }
.vtbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow); margin-bottom: 12px; }
.vtttl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.vtttl b { font-size: 16px; }
.vtact { display: flex; flex-wrap: wrap; gap: 6px; }
.vtmenu { position: sticky; top: 62px; z-index: 21; margin: -6px 0 12px auto; width: max-content; max-width: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.vtmenu button { text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 14px; font: inherit; color: var(--ink); cursor: pointer; }
.vtmenu button:first-child { border-top: 0; }
.vtmenu button:hover { background: var(--soft); }
.vtgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-bottom: 12px; }
.vtgrid > .card { min-width: 0; }
.vtf2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vtf3 { display: grid; grid-template-columns: 90px 1fr 70px; gap: 10px; }
@media (max-width: 420px) { .vtf2 { grid-template-columns: 1fr; } .vtf3 { grid-template-columns: 80px 1fr; } .vtf3 > :last-child { grid-column: 1 / -1; } }
.vtkname { margin: 0; }
.vtkl { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; }
.vtki { text-align: left; background: none; border: 1px solid transparent; border-radius: 8px; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; }
.vtki:hover { background: var(--soft); border-color: var(--line); }
.vtedw { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.vtedtb { display: flex; gap: 2px; padding: 4px; border-bottom: 1px solid var(--line); background: var(--bg); }
.vtedtb button { border: 1px solid transparent; background: none; color: var(--ink); border-radius: 6px; padding: 3px 9px; font: inherit; font-size: 13px; cursor: pointer; }
.vtedtb button:hover { border-color: var(--line); background: var(--surface); }
.vted { min-height: 60px; padding: 8px 10px; outline: none; line-height: 1.45; overflow-wrap: anywhere; }
.vted:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.vted p { margin: 0; }   /* 1.36.240: wie im Weclapp-PDF – Absatz = Zeile, Leerzeile = leerer Absatz */
/* Positionen (1.36.211, Ernst: übersichtlicher) – Tabelle wie in Weclapp: Titel breit, Zahlen kompakt rechts, Beschreibung als Vorschau */
.vtposh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.vtposh h3 { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.vtgr { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.vtgr select { min-width: 170px; padding: 6px 8px; }
.vtph, .vtp { display: grid; grid-template-columns: 28px minmax(0, 1fr) 76px 92px 104px 70px 108px 112px; column-gap: 10px; align-items: start; }
.vtph { font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 6px; border-bottom: 2px solid var(--line); }
.vtph .r, .vtps { text-align: right; }
.vtp { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
.vtp:hover { background: color-mix(in srgb, var(--soft) 45%, transparent); }
.vtp.vtpopt { background: color-mix(in srgb, var(--warn-bg) 55%, transparent); }
.vtp.vtpopt:hover { background: color-mix(in srgb, var(--warn-bg) 80%, transparent); }
.vtpn { font-weight: 700; color: var(--muted); padding-top: 7px; text-align: right; font-variant-numeric: tabular-nums; }
.vtpb { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vtptop { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vtnrtag { flex: none; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--chip); color: var(--ink); font-variant-numeric: tabular-nums; }
.vtnrtag.kalk { background: var(--soft); color: var(--link); }
.vtnrtag.frei { color: var(--muted); font-weight: 600; }
.vtp input, .vtp select { height: 36px; padding: 6px 9px; font-size: 14.5px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); width: 100%; min-width: 0; box-sizing: border-box; }
.vtp input:focus, .vtp select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.vtp input:disabled, .vtp select:disabled { background: var(--bg); color: var(--ink); opacity: 1; }
.vtptitel { font-weight: 600; flex: 1 1 auto; }
.vtpm input, .vtpp input, .vtpr input { text-align: right; font-variant-numeric: tabular-nums; }
.vtp label small { display: none; }
.vtp .vtkh { display: block; margin-top: 3px; font-size: 11.5px; text-align: right; }
.vtps { padding-top: 8px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vtpdesc { min-width: 0; }
.vtpprev { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: 100%; text-align: left; white-space: pre-line; background: none; border: 1px dashed transparent; border-radius: 6px; padding: 3px 6px; margin-left: -6px; font: inherit; font-size: 13.5px; line-height: 1.4; color: var(--muted); cursor: text; }
.vtpprev:hover:not(:disabled) { border-color: var(--line); background: var(--surface); color: var(--ink); }
.vtpprev:disabled { cursor: default; }
.vtpdesc.on { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.vtpdesc.on .vtedw { width: 100%; }
.vtpdesc .vted { min-height: 44px; font-size: 14px; }
.vtlink { background: none; border: 0; padding: 2px 0; font: inherit; font-size: 13px; color: var(--link); cursor: pointer; }
.vtlink:hover { text-decoration: underline; }
.vtpflags { display: flex; flex-wrap: wrap; gap: 6px; }
.vtflag { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 8px; cursor: pointer; background: var(--surface); user-select: none; }
.vtflag input { width: 14px !important; height: 14px !important; margin: 0; padding: 0 !important; accent-color: var(--warn); }
.vtflag.on { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); background: var(--warn-bg); color: var(--warn); }
span.vtflag { cursor: default; }
.vtptext .vtpb { flex-direction: row; align-items: flex-start; gap: 10px; }
.vtptext .vtedw { flex: 1; min-width: 0; }
.vtptext .vtptw { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }   /* 1.36.827: Textposition mit „Seitenumbruch davor“ */
.vtptext .vtptw > .vtedw { flex: none; }
.vtptext .vtpuet { font-weight: 700; font-size: 15px; }   /* 1.36.828: Textposition als Überschrift */
.vtpue .vtptag { color: var(--navy); }
.vtptext .vted { min-height: 36px; font-weight: 600; }
.vtptag { flex: none; font-size: 11.5px; font-weight: 700; color: var(--muted); padding-top: 9px; text-transform: uppercase; letter-spacing: .04em; }
.vtptext { grid-template-columns: 28px minmax(0, 1fr) 112px; background: var(--bg); }
.vtpt { display: flex; gap: 2px; justify-content: flex-end; padding-top: 3px; }
.vtpt button svg { display: block; margin: auto; }
.vtpt button { border: 1px solid transparent; background: none; color: var(--muted); border-radius: 7px; width: 26px; height: 30px; padding: 0; cursor: pointer; font-size: 14px; }
.vtpt button:hover:not(:disabled) { background: var(--surface); border-color: var(--line); color: var(--ink); }
.vtpt button[data-pm="weg"]:hover { color: var(--bad); }
.vtpt button:disabled { opacity: .3; cursor: default; }
/* 1.36.635 (Ernst 16.11. 13:56 „bei Angeboten und Texten die ganze Breite nutzen und nicht alles in dem kleinen linken Bereich tippen“): Beschreibung, Maße und Merkmale einer Position
   laufen unter der Zeile über die ganze Breite (Menge bis Summe); oben bleiben Artikel und Bezeichnung neben den Zahlen */
@media (min-width: 901px) {
  .vtp:not(.vtptext) { row-gap: 6px; }
  .vtp:not(.vtptext) > .vtpb { display: contents; }
  .vtp:not(.vtptext) > .vtpn { grid-column: 1; grid-row: 1; }
  .vtp:not(.vtptext) .vtptop { grid-column: 2; grid-row: 1; }
  .vtp:not(.vtptext) > .vtpm { grid-column: 3; grid-row: 1; } .vtp:not(.vtptext) > .vtpe { grid-column: 4; grid-row: 1; } .vtp:not(.vtptext) > .vtpp { grid-column: 5; grid-row: 1; }
  .vtp:not(.vtptext) > .vtpr { grid-column: 6; grid-row: 1; } .vtp:not(.vtptext) > .vtps { grid-column: 7; grid-row: 1; } .vtp:not(.vtptext) > :last-child { grid-column: 8; grid-row: 1; }
  .vtp:not(.vtptext) > .vtpb > :not(.vtptop) { grid-column: 2 / -1; min-width: 0; }
  .vtp:not(.vtptext) .vtpprev { -webkit-line-clamp: 4; }
}
@media (max-width: 900px) {
  .vtph { display: none; }
  .vtp { grid-template-columns: 24px 1fr 1fr 1fr; row-gap: 8px; padding: 12px 4px; }
  .vtp .vtpb { grid-column: 2 / -1; }
  .vtp label small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
  .vtp .vtpm { grid-column: 2; } .vtp .vtpe { grid-column: 3; } .vtp .vtpr { grid-column: 4; }
  .vtp .vtpp { grid-column: 2 / span 2; } .vtp .vtps { grid-column: 4; padding-top: 22px; }
  .vtp .vtpt { grid-column: 2 / -1; justify-content: flex-start; }
  .vtptext { grid-template-columns: 24px 1fr; } .vtptext .vtpt { grid-column: 2; }
  .vtp .vtkh { text-align: left; } .vtp .vtpp .vtaufk { margin-left: 0; }   /* 1.36.874 */
}
.vtadd { margin-top: 10px; align-items: center; }
.vtsum { margin-left: auto; width: min(360px, 100%); display: flex; flex-direction: column; gap: 4px; border-top: 2px solid var(--ink); padding-top: 8px; }
.vtsum > div { display: flex; justify-content: space-between; gap: 12px; }
.vtsum .vtbr { font-size: 16px; }
.vtsum p { margin: 0; }
.vtpickc, .vtsendc { max-width: 680px; }
.vtpl { display: flex; flex-direction: column; gap: 2px; max-height: 56vh; overflow-y: auto; }
.vtpl h4 { margin: 8px 0 2px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.vtpi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; text-align: left; background: none; border: 1px solid transparent; border-radius: 8px; padding: 7px 10px; font: inherit; color: var(--ink); cursor: pointer; }
.vtpi:hover { background: var(--soft); border-color: var(--line); }
.vtpi .r { margin-left: auto; font-weight: 700; white-space: nowrap; }
.vtck { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.vtck input { margin-top: 2px; flex: none; }
.vtck input[type=checkbox] { width: 18px; height: 18px; padding: 0; margin: 1px 0 0; accent-color: var(--blue); }   /* 1.36.216: im Senden-Dialog war das Häkchen 100 % breit – Dialog verzogen */
.vtck > span, .vtck { min-width: 0; overflow-wrap: anywhere; }
.vtsendc { overflow-x: hidden; }
.vtkonf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* 1.36.451: Auftrag von Hand – für den Kunden sichtbar oder nur intern */
.shhsicht { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); margin: 8px 0; }
.shhsicht > span { flex: 1 1 260px; min-width: 0; }
.shhsicht.an { border-color: var(--go, #17834f); background: var(--go-soft, #ecf8f1); }
.shhsicht.frage { border-color: var(--warn, #8a4a06); background: var(--warn-bg, #fbeedb); }
.shhsicht .shhsk { display: inline-flex; flex-wrap: wrap; gap: 6px; }
/* 1.36.511: Ebenen (Besteller, Facility Management, Objekt) – je Zeile ein Häkchen mit den Namen */
.shhsicht .shhebn { flex: 1 1 100%; display: grid; gap: 6px; }
.shhsicht .shheb { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.shhsicht .shheb > input { margin-top: 3px; flex: none; }
.shhsicht .shheb > span { display: flex; flex-direction: column; min-width: 0; }
.shhsicht .shheb small { overflow-wrap: anywhere; }
/* 1.36.450: Entwurf aus der Kalkulation der Parkhaus-App */
.vtent { display: grid; gap: 4px; }
.vtent .vtenth { margin: 4px 0 0; padding-left: 18px; color: var(--warn, #8a4a06); }
.vtent .vtlink { font: inherit; }
.vtportal p { margin: 0; }
/* 1.36.214: Versand & Freigabe – drei Schritte, immer sichtbar */
.vtportal { display: flex; flex-direction: column; gap: 12px; }
.vtpkopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vtpkopf h3 { margin: 0; }
.vtwf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vtwf li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.vtwf li > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
/* 1.36.635: Lieferschein fertig/abgeholt melden, von Hand zur Abrechnung freigeben */
.vtlsfrage { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 8px; display: flex; flex-direction: column; gap: 8px; background: var(--surface); }
.vtlsfrage p, .vtlsfrage ul { margin: 0; } .vtlsfrage ul { padding-left: 18px; }
.vtlssr { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.vtlssr > .grow { min-width: 0; flex: 1 1 240px; }
/* 1.36.635: bar bezahlt – Zeile unter dem Stand */
.vtsrzu { justify-self: start; padding-inline: 8px; }
.vtbar1 { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.vtbar1 > .grow { flex: 1 1 260px; min-width: 0; align-self: center; }
.vtbar1 .field { margin: 0; }
.vtwf li small { color: var(--muted); overflow-wrap: anywhere; }
.vtwf .vtn { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; background: var(--chip); color: var(--muted); }
.vtwf li.on { border-color: var(--blue); background: var(--soft); }
.vtwf li.on .vtn { background: var(--blue); color: #fff; }
.vtwf li.ok { border-color: var(--go); background: var(--go-soft); }
.vtwf li.ok .vtn { background: var(--go); color: #fff; }
.vtwf li.warn { border-color: var(--warn); background: var(--warn-bg); }
.vtwf li.warn .vtn { background: var(--warn); color: #fff; }
@media (max-width: 720px) { .vtwf { grid-template-columns: 1fr; } .vtwf li { padding: 8px 10px; } }
/* 1.36.524: Lieferschein › Stand – Sendungsnummer und Stand laut GLS */
.vtsend { display: grid; gap: 8px; margin-top: 12px; }
.vtsend1 { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 24px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.vtsendnr { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vtsendnr small, .vtsendst small { color: var(--muted); }
.vtsendnr b { font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; }
.vtsendst { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; flex: 1 1 260px; }
.vtsendst > span:not(.tag) { overflow-wrap: anywhere; }
.vtsendf { color: var(--warn) !important; }
.vtsendk { margin: 12px 0 0; }
.vtfrei { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.vtfrei > div { flex: 1 1 260px; min-width: 0; }
.vtsig { width: 220px; max-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px; }
.vtanl { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.vtan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 10px; border-top: 1px solid var(--line); }
.vtan:first-child { border-top: 0; }
.vtan a { min-width: 0; overflow-wrap: anywhere; color: var(--link); }
.vtanf { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.vtanf legend { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 0 4px; }
.vtmini { display: flex; flex-direction: column; gap: 2px; }
.vtminirow { display: flex; flex-wrap: wrap; gap: 4px 8px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 7px 2px; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.vtminirow .r { margin-left: auto; color: var(--muted); }
.vtkda { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.vtart .vtgrp td { background: var(--bg); padding-top: 12px; }
.vtart td.r, .vtart th.r { text-align: right; white-space: nowrap; }
.vtnrin { width: 96px; font-weight: 700; }
.vtgrund { display: block; padding: 6px 10px; border-top: 1px solid var(--line); }
.vtgrund input { width: 100%; }
.vtpflags { align-items: center; }
.vtpflags .vtpdesc { margin-right: 6px; }
.vtptext .vtedtb { display: none; }
.vtptext .vtedw:focus-within .vtedtb { display: flex; }
/* Kopf des Angebots (1.36.212, Ernst: kompakter, gut bedienbar) – links Kunde und Adressen, rechts die Angebotsfelder im Raster */
.vtkopf { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 18px 28px; align-items: start; margin-bottom: 12px; }
.vtkk { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-right: 24px; border-right: 1px solid var(--line); }
.vtlab { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.vtkname { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.vtkname b { font-size: 16px; line-height: 1.3; flex-basis: 100%; }
.vtksuch { display: flex; gap: 8px; align-items: center; }
.vtksuch input { flex: 1; min-width: 0; }
.vtkf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-content: start; }
.vtfld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.vtfld.w2 { grid-column: span 2; }
.vtfld > span:first-child { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vtkopf input:not([type=checkbox]):not([type=radio]), .vtkopf select, .vtc .field input, .vtc .field select, .vtc .field textarea, .vtsendc input:not([type=checkbox]):not([type=radio]), .vtsendc textarea, .vtsendc select {
  height: 38px; padding: 7px 10px; font: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface); border: 1px solid #c9d3dc; border-radius: 8px; width: 100%; min-width: 0; box-sizing: border-box; }
.vtc .field textarea, .vtsendc textarea { height: auto; min-height: 90px; line-height: 1.45; }
.vtkopf select, .vtc .field select { padding-right: 30px; -webkit-appearance: none; appearance: none; 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='%235d6872' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; text-overflow: ellipsis; }
.vtkopf input:focus, .vtkopf select:focus, .vtc .field input:focus, .vtc .field select:focus, .vtc .field textarea:focus, .vtsendc input:focus, .vtsendc textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent); }
.vtkopf input:disabled, .vtkopf select:disabled, .vtc .field input:disabled, .vtc .field select:disabled { background-color: var(--bg); color: var(--ink); opacity: 1; }
.vtkopf input[type=date] { padding-right: 6px; }
.vtpair { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 6px; }
.vtpair input { text-align: right; }
.vtseg { display: inline-flex; border: 1px solid #c9d3dc; border-radius: 8px; overflow: hidden; align-self: flex-start; max-width: 100%; }
.vtseg button { border: 0; border-left: 1px solid #c9d3dc; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.vtseg button:first-child { border-left: 0; }
.vtseg button.on { background: var(--soft); color: var(--link); font-weight: 700; }
.vtadr { display: flex; flex-direction: column; gap: 8px; }
.vtadrtxt { font-size: 14px; line-height: 1.5; padding: 8px 10px; background: var(--bg); border-radius: 8px; min-height: 44px; overflow-wrap: anywhere; }
.vtadrakt { display: flex; gap: 14px; }
/* 1.36.376: abweichende Rechnungs-/Lieferadresse (Haken), Monteure der Anfahrt */
.vtadrab { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.vtadrchk { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 32px; }
.vtadrchk input { width: 18px; height: 18px; margin: 0; }
/* 1.36.406: Kundenabholung im Angebot; Maße bei QM-Artikeln */
.vtabhh { margin: 0; font-size: 12.5px; }
.vtabhw { margin: 0; font-size: 12.5px; color: var(--warn); font-weight: 600; }
.vtmass { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 6px 8px; background: var(--bg); border-radius: 8px; font-size: 13px; }
.vtmlab { font-weight: 700; font-size: 12.5px; color: var(--muted); }
.vtmr { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.vtmr input { width: 4.6em; padding: 4px 6px; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.vtmr input[data-mf="n"] { width: 3.2em; }
.vtmr span { color: var(--muted); }
.vtmq { font-variant-numeric: tabular-nums; white-space: nowrap; }
.vtmf { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vtpn .vtpsel { display: block; width: 15px; height: 15px; margin: 2px 0 5px auto; cursor: pointer; opacity: .45; accent-color: var(--blue); }   /* 1.36.876: Positionen auswählen */
.vtp:hover .vtpsel, .vtpsel:checked, .vtpsel:focus-visible { opacity: 1; }
.vtp.vtpgew { background: color-mix(in srgb, var(--blue) 7%, transparent); border-radius: 8px; }
.vtselbar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-right: auto; font-size: 13px; }
.vtposh.vtrsh { margin-bottom: 10px; }   /* 1.36.878: Auswahl in Auftrag, Rechnung, Lieferschein */
.vtrsk { width: 18px; height: 18px; cursor: pointer; accent-color: var(--blue); }
.vtapos tr.vtpgew > td { background: color-mix(in srgb, var(--blue) 7%, transparent); }
.vtkof { max-width: 620px; } .vtkopl { margin: 0; padding-left: 18px; font-size: 13px; max-height: 9.5em; overflow: auto; } .vtkopl li { margin: 2px 0; }
.vtkoL { display: flex; flex-direction: column; gap: 4px; max-height: 46vh; overflow: auto; }
.vtkoz { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; text-align: left; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: inherit; font: inherit; cursor: pointer; }
.vtkoz span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .vtkoz small { grid-column: 2; color: var(--muted); }
.vtkoz:hover { border-color: var(--blue); } .vtkoz.an { border-color: var(--blue); box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 30%, transparent); }
.vtp .vtpp .vtaufk { display: block; margin: 4px 0 0 auto; padding: 1px 8px; min-height: 0; font: inherit; font-size: 11px; font-weight: 700; line-height: 15px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; vertical-align: 1px; }   /* 1.36.874: Aufschlag-Rechner */
.vtp .vtpp .vtaufk:hover, .vtp .vtpp .vtaufk.on { color: var(--link, var(--blue)); border-color: var(--link, var(--blue)); }
.vtauf .vtmr input[data-ekf="ek"] { width: 6.5em; } .vtauf .vtmr input[data-ekf="proz"] { width: 4em; }
.vtaufe { font-variant-numeric: tabular-nums; } .vtauf [data-ekzu] { margin-left: auto; }
.vtmlam { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; } .vtmlam select { width: auto; padding: 4px 8px; font-size: 13px; }   /* 1.36.534: Laminat */
/* 1.36.775: Archiv zu Angebot und Auftrag (Vertrieb) */
.vtarnav { margin: 4px 0 12px; flex-wrap: wrap; }
.vtardrop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px; border: 2px dashed var(--line); border-radius: 10px; margin-bottom: 12px; }
.vtardrop.ueber { border-color: var(--blue); background: var(--bg); }
.vtpdruck { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); min-width: 0; } .vtpdruck h4 { margin: 0 0 8px; } .vtpdruck .vtardrop { margin-bottom: 8px; }   /* 1.36.795: Druckdaten unter den Positionen */
.vtarl { display: grid; gap: 10px; }
.vtard { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; min-width: 0; }
.vtardk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; } .vtardk a, .vtardk b { min-width: 0; overflow-wrap: anywhere; }
.vtarfmt { font-size: 13px; } .vtarfmt.warn { color: var(--bad); }
/* 1.36.778: Druckdaten-Prüfung */
.vtarpf { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; color: var(--muted); min-width: 0; } .vtarpf > b { flex: 1 0 100%; font-size: 13px; color: var(--go); }
.vtarpf.warn > b { color: var(--warn); } .vtarpfp { min-width: 0; overflow-wrap: anywhere; } .vtarpfp.warn { color: var(--warn); font-weight: 600; flex: 1 0 100%; } .vtarpfp.ok { color: var(--muted); }
/* 1.36.778: alle Druckdateien auf einmal übernehmen */
.vtaralle { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin: 10px 0; display: grid; gap: 2px; min-width: 0; }
.vtaralk { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; } .vtaralle .vtarpos { margin-top: 4px; }
.vtarpos { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin-top: 6px; padding: 8px 10px; background: var(--bg); border-radius: 8px; }
.vtarpos label { display: grid; gap: 2px; font-size: 12px; color: var(--muted); } .vtarpos .vtarm { flex: 1 1 280px; min-width: 0; } .vtarpos select, .vtarpos input { padding: 5px 8px; font-size: 13px; }
.vtarofl { display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.vtarnz textarea { width: 100%; } .vtarnz { display: grid; gap: 6px; margin-bottom: 12px; } .vtarnt { overflow-wrap: anywhere; }
/* 1.36.774: SK-Folie – Oberfläche glänzend/matt (Pflicht, rot umrandet solange offen) */
.vtofl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; padding: 6px 8px; background: var(--bg); border-radius: 8px; font-size: 13px; }
.vtofl .chip { padding: 4px 12px; font-size: 13px; } .vtofl.offen { box-shadow: inset 0 0 0 1px var(--bad); } .vtofl.offen .hint { color: var(--bad); }
.vtofl.blink { animation: vtoflb .5s ease-in-out 3; } @keyframes vtoflb { 50% { box-shadow: inset 0 0 0 2px var(--bad); } }
@media (prefers-reduced-motion: reduce) { .vtofl.blink { animation: none; } }
.pfkabh { font-weight: 600; }
.vtmont { gap: 6px; }
.vtmont select { font: inherit; font-size: 13px; padding: 2px 6px; border: 1px solid #c9d3dc; border-radius: 6px; background: var(--surface); }
.vtflag.vtmont input[data-wmh] { width: 70px !important; height: auto !important; padding: 2px 6px !important; font: inherit; font-size: 13px; border: 1px solid #c9d3dc; border-radius: 6px; background: var(--surface); accent-color: auto; }   /* 1.36.658: Werbemontage */
.vtflag.vtwmsum { cursor: default; color: var(--text, inherit); }
.vtadrf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.vtplz { display: grid; grid-template-columns: 76px minmax(0, 1fr) 56px; gap: 8px; grid-column: 1 / -1; }   /* 1.36.633: über beide Spalten – „Ort“ war fast unsichtbar */
.vtkstw { margin: 0 0 10px; padding: 10px 12px; border: 1px solid #f0b429; border-radius: 6px; background: #fff8e6; display: grid; gap: 8px; }
.vtkstw p { margin: 0; font-size: 13px; line-height: 1.4; }
.vtkstb { display: grid; gap: 2px; text-align: left; padding: 8px 10px; border: 1px solid #d0d4d8; border-radius: 6px; background: #fff; cursor: pointer; font: inherit; font-size: 13px; }
.vtkstb:hover { border-color: #bb0f1b; background: #f7f8f9; } .vtkstb span { color: #44505c; }
.vtadrf input { height: 34px; font-size: 14px; }
@media (max-width: 1100px) { .vtkopf { grid-template-columns: 1fr; } .vtkk { padding-right: 0; border-right: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .vtkf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vtkf .vtfld.w2, .vtkf .vtph2 { grid-column: 1 / -1; } }
/* 1.36.544 (Ernst 12.11. „anders anordnen, ist so verschoben“): Lieferschein-Kopf ohne Kundenspalte über die ganze Breite – oben Empfänger, Anschrift, Datum, Status,
   darunter die (oft lange) Kostenstelle breit und der Ansprechpartner */
.vtkopf.vtlsk { grid-template-columns: minmax(0, 1fr); }
.vtlsk .vtkf { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.vtlsk .vtfld.w4 { grid-column: span 4; }
.vtlsk .vtro { overflow-wrap: anywhere; }
@media (max-width: 900px) { .vtlsk .vtkf { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; } .vtlsk .vtfld.w4 { grid-column: 1 / -1; } }
@media (max-width: 560px) { .vtlsk .vtkf { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vtlsk .vtfld.w2, .vtlsk .vtfld.w4 { grid-column: 1 / -1; } }
/* 1.36.544 (Ernst 12.11. 07:51): Zeitübersicht – eigener Knopf rechts neben den Reitern (Lieferschein, Auftrag) */
.vtsubrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin: 0 0 12px; }
.vtsubrow .vtsubt { margin: 0; min-width: 0; max-width: 100%; }
.vtsubrow .vtzbtn { margin-left: auto; padding: 8px 14px; font-size: 13.5px; }
.vtsubrow .vtzbtn.on { background: var(--soft); color: var(--link); border-color: var(--link); font-weight: 700; }
.vtzls { margin: 6px 0 0; font-size: 15px; }
.vtzt { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.vtztk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.vtztt td, .vtztt th { white-space: nowrap; }
.vtztt td.vtzd { font-weight: 600; }
.vtztt td.vtzv { color: var(--muted); font-variant-numeric: tabular-nums; }
.vtztt td.r { font-variant-numeric: tabular-nums; }
.vtztt tfoot td { font-weight: 700; border-top: 2px solid var(--line); }
.vtsub { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 6px; margin-top: 2px; border-top: 1px solid var(--line); }
.vtsub > span { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.vtsub small { padding-top: 8px; }
.vtre > span:first-child { color: var(--link); }
.vtplatz { display: inline-block; padding: 0 7px; margin: 0 1px; border-radius: 6px; background: var(--soft); color: var(--link); font-size: .92em; line-height: 1.55; white-space: nowrap; cursor: default; user-select: all; }
.vtplatz b { color: var(--ink); font-weight: 600; }
/* 1.36.215: Vertrieb › Aufträge und Rechnungen (nur ansehen, Stand, Dokumente) */
.vtwf.vtwf4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .vtwf.vtwf4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .vtwf.vtwf4 { grid-template-columns: 1fr; } }
.vtro { min-height: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-size: 14px; overflow-wrap: anywhere; min-width: 0; }
.vtro .vtlink { font-size: 14px; font-weight: 700; }
.vtapos { width: 100%; }
.vtapos th, .vtapos td { padding: 8px 10px; }
.vtapos td.r, .vtapos th.r { text-align: right; white-space: nowrap; }
.vtapos td:first-child { color: var(--muted); width: 28px; }
.vtapos .vtatext td { color: var(--muted); font-size: 13.5px; background: var(--bg); }
.vtadesc { font-size: 13px; color: var(--muted); margin-top: 3px; max-width: 70ch; }
.vtadesc p { margin: 0 0 4px; }
.vtals { display: flex; flex-direction: column; gap: 8px; }
.vtals h3 { margin: 0; }
.vtals1 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.vtals1 .grow { min-width: 0; flex: 1 1 260px; }
.vtals1 .grow > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 5px; }
.vtals1 a:not(.btn) { font-size: 13px; }
/* 1.36.215: Artikel anlegen (Nummer wird in Weclapp geprüft) */
.vtartneu { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--blue); }
.vtartneu h3 { margin: 0; }
.vtartnr { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto; gap: 10px 14px; align-items: end; }
.vtnrst { min-height: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; }
.vtartf { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 220px) auto; gap: 10px 14px; align-items: end; }
.vtartf .vtck { padding-bottom: 9px; }
@media (max-width: 640px) { .vtartnr, .vtartf { grid-template-columns: 1fr; } .vtartnr .btn { justify-self: start; } }
/* 1.36.216: Absenderadressen (Einstellungen) */
.vtf3a { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
@media (max-width: 720px) { .vtf3a { grid-template-columns: 1fr; } }
/* 1.36.219: Vorgang – Belegkette Angebot ⇄ Auftrag ⇄ Lieferschein ⇄ Rechnung, Reiter Verlauf / Fotos / E-Mail-Verlauf */
.vtkette { display: flex; align-items: stretch; gap: 6px; overflow-x: auto; padding: 10px 12px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; scrollbar-width: thin; }
.vtkg { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 0; }
.vtkgl { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.vtkns { display: flex; flex-wrap: wrap; gap: 4px; }
.vtkp { align-self: center; color: var(--muted); font-size: 18px; padding: 14px 2px 0; flex: none; }
.vtkn { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; max-width: 100%; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; white-space: nowrap; }
.vtkn b { font-size: 13.5px; }
.vtkn small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.vtkn:hover { border-color: var(--blue); }
.vtkn.on { border-color: var(--blue); background: var(--soft); box-shadow: inset 0 -3px 0 var(--blue); cursor: default; }
.vtkn.leer { cursor: default; color: var(--muted); background: none; border-style: dashed; font-size: 12.5px; }
.vtkn.plus { border-style: dashed; border-color: var(--blue); color: var(--link); background: none; font-weight: 700; justify-content: center; }
@media (max-width: 720px) { .vtkette { padding: 8px; } .vtkg { flex: 0 0 auto; } .vtkn small { max-width: 110px; } }
.vtsubt { display: flex; margin: 0 0 12px; overflow-x: auto; }
.vtsubt button { padding: 8px 14px; font-size: 13.5px; }
.vtsn { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--chip); color: var(--muted); font-size: 11.5px; font-weight: 700; text-align: center; }
.vtsubt button.on .vtsn { background: var(--blue); color: #fff; }
.vtvl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.vtvd { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 12px 0 4px; border-bottom: 1px solid var(--line); }
.vtvd:first-child { padding-top: 0; }
.vtv { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.vtvi { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.vtv.kunde .vtvi { background: var(--go-soft); } .vtv.mail .vtvi { background: var(--soft); } .vtv.plan .vtvi { background: var(--warn-bg); }
.vtvb { min-width: 0; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.vtvb > small { color: var(--muted); overflow-wrap: anywhere; }
.vtml .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vtml small { overflow-wrap: anywhere; }
.vtbad { color: #b3261e; }
.vtfotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.vtfotos.mini { grid-template-columns: repeat(auto-fill, 64px); gap: 6px; margin-top: 4px; }
.vtfotos.klein { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.vtfoto { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); min-width: 0; }
.vtfoto img, .vtfw img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); display: block; }
.vtfoto > span, .vtfw > span { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); font-size: 22px; }
.vtfoto small, .vtfw small { color: var(--muted); font-size: 11.5px; overflow-wrap: anywhere; }
.vtfw { position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer; min-width: 0; }
.vtfw input { position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; accent-color: var(--blue); }
.vtfw:has(input:checked) img { outline: 3px solid var(--blue); outline-offset: -1px; }
.vtttl .tag { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }   /* 1.36.219: lange Stände („Abholbereit seit … (Mail an …)“) umbrechen statt die Seite zu verbreitern */
.vtml .grow > .tag { align-self: flex-start; }
.vtfotos.mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vtfotos.mini .vtfoto { width: 72px; flex: none; }
.vtvb .tag { margin-left: 4px; vertical-align: 1px; }
.vtals1 .tag { white-space: normal; max-width: 100%; overflow-wrap: anywhere; }   /* 1.36.219: lange Stände im Auftrag (Lieferscheine) umbrechen – Handy */
/* 1.36.221 (Ernst): Stand beim Scannen in der Farbe der nächsten Aktion – zu drucken blau (wie „Druck fertig“), gedruckt grün (wie „Produktion fertig“) … (hell und dunkel gleich) */
html body .ztovst.ztact.a-dr { background: #c81d28; border-color: #c81d28; color: #fff; }
html body .ztovst.ztact.a-go { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }
html body .ztovst.ztact.a-wv { background: #b7740c; border-color: #b7740c; color: #fff; }
html body .ztovst.ztact.a-ab { background: #c26a0a; border-color: #c26a0a; color: #fff; }
html body .ztovst.ztact.a-mo { background: #1f8a4c; border-color: #1f8a4c; color: #fff; }   /* wie „Termin planen“ unter Aufträge › Montage */
html body .ztovst.ztact.a-vs { background: #3f444a; border-color: #3f444a; color: #fff; }
html body .ztovst.ztact.a-bad { background: #b42318; border-color: #b42318; color: #fff; }
html body .ztovst.ztact.a-gr { background: #a23b8f; border-color: #a23b8f; color: #fff; }   /* erst die Grafik (1.36.295) */
html body .ztovst.ztact[class*=" a-"] small { color: rgba(255, 255, 255, .9); }
.ztovmt { margin: 6px 0 0; padding: 8px 12px; border-radius: 10px; border: 2px solid #d2d6da; background: #f5f6f7; color: #34393e; font-size: 15px; font-weight: 600; line-height: 1.3; }   /* Resttage bis zur Montage (1.36.221) */
.ztovmt.orange { border-color: #e5a83a; background: #fff3dc; color: #6e4300; }
.ztovmt.rot { border-color: #ef9a90; background: #fde8e6; color: #a32116; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .ztovmt { background: #24282b; color: #d7dbde; border-color: #42484e; } html[data-site="time"] .ztovmt.orange { background: #33260f; color: #ffd38a; border-color: #8a5c12; } html[data-site="time"] .ztovmt.rot { background: #3d1a17; color: #ffb4ab; border-color: #8c2f26; } }

/* 1.36.223 (Ernst): weitere Artikelbilder – Slideshow im Shop und Liste im Artikel-Editor */
.skgal { position: relative; }
.skgalw { display: grid; place-items: center; height: 240px; color: var(--muted); font-size: 14px; }
.skgalb { position: absolute; top: calc(50% - 32px); left: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: #1f2a33; font-size: 26px; line-height: 1; box-shadow: 0 1px 5px rgba(0,0,0,.28); cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.skgalb.r { left: auto; right: 6px; }
.skgalb:focus-visible, .skgaldots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.skgalz { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.58); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 10px; pointer-events: none; }
.skgaldots { display: flex; justify-content: center; flex-wrap: wrap; gap: 2px; margin-top: 6px; }
.skgaldots button { position: relative; width: 24px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; }
.skgaldots button::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--line); }
.skgaldots button.on::before { background: var(--blue); inset: 6px; }
.shgal { margin-top: 12px; display: grid; gap: 8px; }
.shgalt { margin: 0; }
.shgall { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.shgali { margin: 0; border: 1px solid var(--line); border-radius: 8px; padding: 4px; background: var(--surface); display: grid; gap: 2px; min-width: 0; }
.shgali img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; display: block; }
.shgali figcaption { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.shgali figcaption .link { padding: 4px 6px; min-width: 28px; }
.shgali figcaption .link:disabled { opacity: .3; }
/* 1.36.226: Vertrieb › Lieferscheine – aus Weclapp holen */
.vtlsh { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.vtlsh summary { cursor: pointer; }
.vtlsh > :not(summary) { margin-top: 10px; }
.vtlsh .row { align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.vtlsh .row .field { margin: 0; }
.vtlsh .row .btn { min-height: 40px; }
/* 1.36.234 (Ernst): E-Mail-Empfänger als Knöpfe (Vertrieb: Angebot, AB, Rechnung senden; Empfänger im Kopf) – eigene Klassen (vtadr* sind die Anschriften) */
.vtmx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 38px; padding: 3px 6px; border: 1px solid #c9d3dc; border-radius: 8px; background: var(--surface); cursor: text; width: 100%; min-width: 0; box-sizing: border-box; }
.vtmx:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(206, 17, 29, .18); }
.vtmx.aus { background: var(--bg); cursor: default; }
div.vtmx > input.vtmxin[data-adrin] { flex: 1 1 160px; min-width: 120px; width: auto; height: 30px; border: 0; padding: 4px 4px; background: transparent; box-shadow: none; outline: none; border-radius: 0; }
.vtchip { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; border-radius: 999px; background: #edeff1; color: #930c15; font-size: 13.5px; font-weight: 600; padding: 2px 2px 2px 10px; line-height: 1.3; }
.vtmx.aus .vtchip { padding-right: 10px; }
.vtchipt { overflow-wrap: anywhere; cursor: pointer; } .vtmx.aus .vtchipt { cursor: default; }
.vtchip button { border: 0; background: none; color: inherit; font-size: 12px; line-height: 1; padding: 5px 7px; border-radius: 999px; cursor: pointer; }
.vtchip button:hover { background: rgba(0, 0, 0, .08); }
.vtchip.bad { background: var(--bad-bg); color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.vtmxf { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
/* 1.36.237: Verwaltung › Bestand und Inventuren – wartende Inventuren */
.vwbw { margin: 6px 0 0; padding-left: 18px; } .vwbw li { margin: 3px 0; }

/* ---------- Mediaflächen und Kampagnen (1.36.250) ---------- */
:root { --mf-gruen: #2e8b57; --mf-gelb: #e3a21a; --mf-rot: #d0453b; --mf-blau: #c6101c; --mf-grau: #9aa5b1; --mf-lila: #c05c63; }
.mfhead { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin: 4px 0 14px; }
.mfhead .row { flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.mfh1 { margin: 0; font-size: 26px; color: var(--navy); letter-spacing: -.01em; }
/* 1.36.772 (Vorschlag 9): Seitentitel wie die Kartenüberschriften – nur Dashboards behalten die große Überschrift (.gross) */
.mfh1:not(.gross) { font-size: 15px; letter-spacing: .07em; text-transform: uppercase; color: inherit; display: flex; align-items: center; gap: 8px; }
.mfh1:not(.gross)::before { content: ''; width: 4px; height: 15px; background: var(--blue); border-radius: 1px; }
html[data-site="verkehr"] .vwk .vwk-kopf h2 { font-size: 15px; letter-spacing: .07em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
html[data-site="verkehr"] .vwk .vwk-kopf h2::before { display: block; content: ''; width: 4px; height: 15px; background: var(--blue); border-radius: 1px; }
.mfkd { min-width: 180px; margin: 0; }
.mftest { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 14px; margin-bottom: 14px; border-radius: 10px; background: linear-gradient(90deg, #fff3d6, #fde8c4); color: #6b4600; border: 1px solid #f1d394; }
.mftest b { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; background: #e3a21a; color: #fff; padding: 2px 8px; border-radius: 999px; }
.mftest span { flex: 1 1 260px; }
.mftour { border: 2px solid var(--mf-gruen); background: linear-gradient(135deg, color-mix(in srgb, var(--mf-gruen) 8%, var(--surface)), var(--surface)); }
.mftourh { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mftourh h2 { margin: 0; }
.mftourp { font-size: 15px; color: var(--muted); white-space: nowrap; } .mftourp b { font-size: 30px; color: var(--mf-gruen); }
.mftour ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.mftour li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.mftour li.ok { opacity: .72; }
.mftn { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--soft); color: var(--link); }
.mftour li.ok .mftn { background: var(--mf-gruen); color: #fff; }
.mfkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.mfkpis.klein { grid-template-columns: repeat(3, minmax(90px, 1fr)); margin: 10px 0; }
.mfkpi { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 10px; padding: 10px 12px; background: var(--surface); display: flex; flex-direction: column; gap: 2px; }
.mfkpi b { font-size: 28px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.mfkpi span { font-weight: 700; font-size: 13px; } .mfkpi small { color: var(--muted); font-size: 12px; }
.mfkpi.gruen { border-top-color: var(--mf-gruen); } .mfkpi.gelb { border-top-color: var(--mf-gelb); } .mfkpi.rot { border-top-color: var(--mf-rot); } .mfkpi.blau { border-top-color: var(--mf-blau); } .mfkpi.warn { border-top-color: #c0661c; }
.mfbar { display: flex; gap: 2px; height: 26px; border-radius: 8px; overflow: hidden; margin: 14px 0 6px; }
.mfbar span { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; min-width: 24px; }
.mfbar .gruen { background: var(--mf-gruen); } .mfbar .gelb { background: var(--mf-gelb); color: #3d2a00; } .mfbar .rot { background: var(--mf-rot); } .mfbar .blau { background: var(--mf-blau); }
.mfleg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); } .mfleg b { color: var(--ink); }
.mfamp { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
.mfamp.gruen { background: var(--mf-gruen); } .mfamp.gelb { background: var(--mf-gelb); } .mfamp.rot { background: var(--mf-rot); } .mfamp.blau { background: var(--mf-blau); } .mfamp.grau { background: var(--mf-grau); }
.mfst { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; white-space: nowrap; background: var(--chip); color: var(--muted); }
.mfst.blau { background: #eceef0; color: #383d42; } .mfst.lila { background: #eff0f2; color: #863439; } .mfst.gruen { background: #e3f3ea; color: #1d5e3a; } .mfst.rot { background: #fde8e6; color: #b3261e; } .mfst.grau2 { background: var(--chip); color: var(--muted); }
.mfrowh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.mfrowh h2 { margin: 0; }
.mffilt { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: flex-end; } .mffilt .field { margin: 0; min-width: 120px; } .mffilt .field.grow { flex: 1 1 220px; }
.mftab td { vertical-align: middle; } .mftab tr.klick { cursor: pointer; }
.mfvm { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; font-size: 12px; font-weight: 700; line-height: 1.5; border-radius: 6px; padding: 1px 8px; white-space: nowrap; background: var(--soft); color: var(--link); } .mfvm.ext { background: var(--vm, #5d6872); color: #fff; }
.mftab tr.vext td:first-child { box-shadow: inset 4px 0 0 var(--vm, #5d6872); } .mftab tr.klick:hover td { background: var(--soft); } .mftab tr.aus td { opacity: .5; }
.nw { white-space: nowrap; }
.mfth { width: 48px; height: 36px; object-fit: cover; border-radius: 6px; display: inline-block; vertical-align: middle; background: var(--chip); }
.mfth.leer { border: 1px dashed var(--line); }
.mfth.gross { width: 120px; height: 90px; }
.mfmots { display: flex; gap: 4px; flex-wrap: wrap; }
.mfmt { width: 30px; height: 42px; object-fit: cover; border-radius: 4px; background: var(--chip); display: inline-block; }
.mfmots.gross figure { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
.mfmg { width: 110px; height: 150px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); display: block; background: var(--chip); }
.mfq { color: #c0661c; font-weight: 600; }
.mfhin { color: var(--warn); }
/* Zeitleiste */
.mftl { margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px 10px; background: var(--surface); overflow: hidden; }
.mftlh { position: relative; height: 18px; font-size: 11px; color: var(--muted); }
.mftlh span { position: absolute; top: 0; transform: translateX(2px); white-space: nowrap; }
.mftlb { position: relative; padding-top: 4px; }
.mftlm { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.mftlnow { position: absolute; top: -4px; bottom: 0; width: 2px; background: var(--mf-rot); z-index: 2; }
.mftlnow::after { content: 'heute'; position: absolute; bottom: -2px; left: 5px; font-size: 10px; color: var(--mf-rot); font-weight: 800; font-style: normal; background: var(--surface); padding: 0 3px; border-radius: 4px; }
.mftlb { padding-bottom: 14px; }
.mftlr { position: relative; height: 26px; }
.mftlbar { position: absolute; top: 3px; height: 20px; border: 0; border-radius: 6px; padding: 0 8px; font: inherit; font-size: 11.5px; font-weight: 700; color: #fff; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; background: var(--mf-grau); }
.mftlbar span { overflow: hidden; text-overflow: ellipsis; display: block; }
.mftlbar.gruen { background: var(--mf-gruen); } .mftlbar.blau { background: var(--mf-blau); } .mftlbar.lila { background: var(--mf-lila); } .mftlbar.rot { background: var(--mf-rot); } .mftlbar.grau { background: #8792a0; } .mftlbar.grau2 { background: #b4bcc6; color: #233; }
.mftlbar.offen { border-radius: 6px 0 0 6px; background-image: linear-gradient(90deg, transparent 85%, rgba(255,255,255,.35)); }
/* Kampagnen */
.mfgrid { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .mfgrid { grid-template-columns: 1fr; } }
.mfkl ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; max-height: 70vh; overflow: auto; }
.mfkl li { padding: 9px 10px; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.mfkl li:hover, .mfkl li.on { border-color: var(--link); background: var(--soft); }
.mfkl li span { font-size: 12.5px; color: var(--muted); }
.mfked { min-width: 0; display: grid; gap: 16px; }
.mfked > .card, #mfStep > .card { margin: 0; }
#mfStep { display: grid; gap: 16px; }
.mfkopf p { margin: 4px 0 0; }
.mfsteps { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.mfstep { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 12px 5px 5px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.mfstep span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); font-size: 12px; font-weight: 800; }
.mfstep.on { border-color: var(--navy); background: var(--navy); color: #fff; } .mfstep.on span { background: #fff; color: var(--navy); }
.mfstep:disabled { opacity: .45; cursor: default; }
.mfzeit { flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; } .mfzeit .field { margin: 0; } .mfzeit .check { padding-bottom: 8px; }
.mfmotg { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 8px; }
.mfmot { border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.mfmot img, .mfmot .leer { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--chip); display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.mfmot .field { margin: 0; }
.mfmot .mfmpdf { margin: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }   /* 1.36.286: Motiv als Vektor-PDF */
.mfsave { gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.mffilter { display: grid; gap: 8px; margin: 8px 0; }
.mffr { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mffr select, .mffr input { min-width: 0; max-width: 100%; }
.mfund { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--link); width: 46px; }
.mfplzb { display: inline-flex; gap: 4px; } .mfplzb input { width: 80px; }
.mfselh { margin: 10px 0 6px; padding-top: 10px; border-top: 1px solid var(--line); } .mfselh p { margin: 0; }
.mfhl { display: grid; gap: 4px; max-height: 460px; overflow: auto; padding-right: 4px; }
.mfh { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line); cursor: pointer; }
.mfh.on { border-color: var(--link); background: var(--soft); }
.mfhk { font-weight: 800; color: var(--navy); min-width: 52px; font-variant-numeric: tabular-nums; }
.mfvh { margin-top: 14px; } .mfvh h3 { margin: 0 0 6px; font-size: 15px; }
.mfvt { table-layout: fixed; width: 100%; min-width: 640px; } .mfvt td { vertical-align: middle; overflow-wrap: anywhere; }
.mfvt td:nth-child(1) { width: 34px; } .mfvt td:nth-child(2) { width: 62px; } .mfvt td:nth-child(3) { width: 130px; } .mfvt td:nth-child(4) { width: 26%; } .mfvt td:nth-child(5) { width: 22%; } .mfvt tr.belegt td { opacity: .62; } .mfvt tr.on td { background: color-mix(in srgb, var(--mf-blau) 9%, var(--surface)); }
.mfbau { margin: 10px 0; font-size: 15px; border-left: 5px solid #c0661c; }
.tag.ok { background: var(--go-soft); color: var(--go); }
.mfsum { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-bottom: 12px; }
.mfkv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 10px; } .mfkv dt { color: var(--muted); } .mfkv dd { margin: 0; }
.mfstopp { margin-top: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--mf-rot) 35%, var(--line)); background: color-mix(in srgb, var(--mf-rot) 5%, var(--surface)); }
.mfstopp h3 { margin: 0 0 4px; color: var(--mf-rot); }
.btn.danger { background: var(--mf-rot); border-color: var(--mf-rot); color: #fff; }
.mfhist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 13.5px; } .mfhist li { padding: 6px 8px; border-left: 3px solid var(--line); }
/* Overlay: Fläche, Panels */
body.mfovon { overflow: hidden; }
.mfov { position: fixed; inset: 0; z-index: 60; background: rgba(18, 20, 22, .5); display: flex; justify-content: center; align-items: flex-start; overflow: auto; padding: max(16px, env(safe-area-inset-top, 0px)) 12px 24px; }
.mfov[hidden] { display: none; }
.mfovb { position: relative; background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); width: min(720px, 100%); padding: 18px 18px 20px; margin-top: 2vh; }
.mfovb.breit { width: min(1040px, 100%); }
.mfovb h2 { margin: 0 0 6px; padding-right: 36px; } .mfovb h3 { margin: 16px 0 6px; }
.mfovx { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 16px; cursor: pointer; }
.mfflk { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mfqr { text-align: center; } .mfqr svg { width: 84px; height: 84px; display: block; } .mfqr small { font-weight: 700; letter-spacing: .05em; }
.mffoto { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0 12px; }
.mffoto img, .mffoto .leer { width: 220px; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--chip); display: grid; place-items: center; color: var(--muted); }
.mfg2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 12px; }
.mfba { align-self: end; padding-bottom: 12px; }
.mfext { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 6px 0 12px; } .mfext summary { list-style: none; cursor: pointer; } .mfext summary::-webkit-details-marker { display: none; }
.mfbel { padding-left: 18px; margin: 0; display: grid; gap: 4px; font-size: 14px; }
.mffoto img[data-gross], .mffotos img[data-gross], .mftab img[data-gross] { cursor: zoom-in; }
.mffoto .mfpart { margin: 0; display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--muted); } .mffoto .mfpart img { width: 130px; }
.mflb { position: fixed; inset: 0; z-index: 90; background: rgba(13, 14, 15, .96); display: flex; flex-direction: column; padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); gap: 10px; }
.mflbbild { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mflbbild img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; cursor: zoom-in; background: #222; }
.mflbbild.voll { overflow: auto; display: block; } .mflbbild.voll img { max-width: none; max-height: none; cursor: zoom-out; border-radius: 0; }
.mflbleiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #e7eaec; } .mflbleiste .btn { min-height: 40px; } .mflbn { font-variant-numeric: tabular-nums; } .mflbt { font-size: 13px; opacity: .85; min-width: 0; overflow-wrap: anywhere; }
.mffotos { display: flex; flex-wrap: wrap; gap: 8px; } .mffotos figure { margin: 0; font-size: 11px; color: var(--muted); }
.mfimp { margin: 10px 0; } .mfimp textarea { width: 100%; margin-top: 6px; }
/* Betriebsleiter am Handy */
.mfscan { text-align: center; } .btn.big { font-size: 18px; padding: 14px 22px; width: 100%; max-width: 420px; }
.mfauf { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); border-left: 5px solid var(--mf-gelb); margin-top: 8px; }
.mfauf.standard { border-left-color: var(--mf-blau); } .mfauf .grow { flex: 1 1 220px; min-width: 0; }
.mfblh details > summary { display: flex; gap: 10px; align-items: center; cursor: pointer; list-style: none; } .mfblh summary::-webkit-details-marker { display: none; }
.mfcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 10px; }
.mfcard { display: flex; flex-direction: column; gap: 6px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); padding: 6px; font: inherit; cursor: pointer; min-width: 0; }
.mfcb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 7px; background: var(--chip); display: block; }
.mfcard.neu { border-style: dashed; justify-content: center; align-items: center; color: var(--link); font-weight: 700; min-height: 120px; }
@media (max-width: 600px) { .mfh1 { font-size: 22px; } .mfhead .row .btn { flex: 1 1 auto; } .mftab th:nth-child(7), .mftab td:nth-child(7) { display: none; } .mfovb { padding: 14px 12px 16px; } }
@media (prefers-color-scheme: dark) { :root[data-site="time"] .mftest { background: #2b2013; color: #f1d39a; border-color: #5a4220; }
  :root[data-site="time"] .mfst.blau { background: #292d31; color: #f58189; }
  :root[data-site="time"] .mfst.lila { background: #292c30; color: #f2b4b8; }
  :root[data-site="time"] .mfst.gruen { background: #173a26; color: #7fdcaa; }
  :root[data-site="time"] .mfst.rot { background: #3a1716; color: #ff9c92; } }
/* 1.36.251 Mediaflächen: Werbung im Umfeld (OpenStreetMap), externe Vermarkter, Kalender-Abo */
:root { --mfw-b: #c6101c; --mfw-c: #e3a21a; --mfw-p: #2e8b57; --mfw-s: #c05c63; --mfw-o: #8a96a3; }
.mfhr { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; align-items: center; }
.mfwbt { border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: 12px; background: var(--chip); color: var(--ink); white-space: nowrap; }
.mfwbt:hover { border-color: var(--blue); }
.mfwbg { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 18px; align-items: start; }
.mfwbg > div { min-width: 0; }
@media (max-width: 720px) { .mfwbg { grid-template-columns: 1fr; } }
.mfwbsvg { width: 100%; max-width: 320px; height: auto; display: block; }
.mfwbsvg .ring { fill: none; stroke: var(--line); stroke-width: 1.2; }
.mfwbsvg .ax { stroke: var(--line); stroke-dasharray: 2 4; }
.mfwbsvg .rl, .mfwbsvg .nn { fill: var(--muted); font-size: 9px; font-family: var(--font); }
.mfwbsvg .nn { text-anchor: middle; font-weight: 700; }
.mfwbsvg .pt { stroke: var(--surface); stroke-width: 2; }
.mfwbsvg .haus { fill: var(--navy); stroke: var(--surface); stroke-width: 2; }
.mfwbsvg .hp { fill: #fff; font: 800 12px var(--font); text-anchor: middle; }
.pt.b { fill: var(--mfw-b); background: var(--mfw-b); } .pt.c { fill: var(--mfw-c); background: var(--mfw-c); } .pt.p { fill: var(--mfw-p); background: var(--mfw-p); } .pt.s { fill: var(--mfw-s); background: var(--mfw-s); } .pt.o { fill: var(--mfw-o); background: var(--mfw-o); }
.mfwbleg { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin-top: 6px; }
.mfwbleg span { display: inline-flex; align-items: center; gap: 5px; }
.mfwbleg i.pt { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mfchips { display: flex; flex-wrap: wrap; gap: 6px; }
.mfosm { font-size: 12px; }
.mfanf { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); border-left: 4px solid var(--mf-blau); background: var(--soft); }
.mfovb > .mfovx + .mfrowh { padding-right: 46px; }
.mffr > select, .mffr > input { width: auto; flex: 1 1 180px; }
.mffr > select[data-mff="n"] { flex: 0 1 150px; }
.mffr .mfplzb { display: flex; gap: 6px; flex: 1 1 220px; }
.mfsteu { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.mfsteu .mkpct { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mfsteu .mkpct input[type=range] { flex: 1 1 220px; width: auto; accent-color: var(--blue); }
.mfsteu .mkpct input[type=number], .mfsteu .mkpct input[type=text] { width: 110px; flex: none; }
.mfsk { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.mfkalk table { font-variant-numeric: tabular-nums; }
.mfkalk tr.mfsumz td { font-weight: 800; }
.mfhvis { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; vertical-align: middle; font-size: 12px; }
.mfhvis .trk { width: 80px; height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; display: block; }
.mfhvis .trk i { display: block; height: 100%; background: var(--mf-gruen); }
.mfhvis b { color: var(--muted); font-weight: 700; }
.vtfrei .vtstat { margin-top: 8px; align-items: center; gap: 8px; }
/* 1.36.518: Datei, die der Kunde bei der Freigabe anhängen wollte, die aber nicht ging */
.vtnicht { color: var(--warn); font-weight: 600; }
.mfovb > .mfovx + .mfflk { padding-right: 42px; }   /* 1.36.252: Schließen-Knopf nicht über dem QR-Code */
.mfanf.mfds { border-left-color: var(--mf-lila); }
.mfanf.mfds > span { flex: 1 1 260px; }
/* 1.36.253 Druckdaten: Formate, Beschnitt, KI (dd.js) */
.ddsrcg { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.6fr) minmax(220px, 1fr); gap: 18px; align-items: start; }
.ddsrcg > div { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 960px) { .ddsrcg { grid-template-columns: 1fr; } }
.dddrop { display: flex; gap: 12px; align-items: center; border: 2px dashed var(--line); border-radius: 10px; padding: 12px; cursor: pointer; min-height: 96px; background: var(--bg); }
.dddrop.on, .dddrop:hover { border-color: var(--blue); }
.dddrop canvas { max-width: 120px; max-height: 120px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.15); flex: none; }
.ddpre { display: grid; gap: 6px; }
.ddpre .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ddeigen { align-items: flex-end; flex-wrap: wrap; gap: 8px; }
.ddeigen .field { width: 120px; flex: none; }
.ddki { font-size: 13px; border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.ddki .row input { flex: 1 1 160px; width: auto; }
.ddgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 14px; margin-top: 14px; }
.ddk h3 { margin: 0; }
.ddpv { position: relative; display: flex; justify-content: center; align-items: center; background: repeating-conic-gradient(var(--chip) 0% 25%, var(--surface) 0% 50%) 50% / 16px 16px; border-radius: 8px; padding: 12px; min-height: 140px; }
.ddpv canvas { max-width: 100%; height: auto; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.dddpi { position: absolute; top: 8px; right: 8px; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--chip); color: var(--ink); }
.dddpi.ok { background: var(--go-soft); color: var(--go); } .dddpi.warn { background: var(--warn-bg); color: var(--warn); } .dddpi.err { background: var(--bad-bg); color: var(--bad); }
.ddctl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 12px; }
.ddctl .ddwide { grid-column: 1 / -1; }
.ddctl input[type=range] { width: 100%; accent-color: var(--blue); }
.ddout { justify-content: flex-end; }
.mfanf.mfdd { border-left-color: var(--cta); }
.mfanf.mfdd > span, .mfanf.mfds > span { flex: 1 1 260px; }
.ddsrcl { display: flex; flex-wrap: wrap; gap: 8px; }
.ddsrcl > div { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--bg); }
.ddsrcl canvas { max-width: 60px; max-height: 60px; border-radius: 3px; }
.ddcodes { font-size: 12px; }
.ddels { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ddels .chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 13px; }
.ddels .chip input { margin: 0; accent-color: var(--blue); }
.ddedit { position: fixed; inset: 0; z-index: 170; background: rgba(18, 20, 22, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ddedbox { background: var(--surface); border-radius: 12px; padding: 16px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.ddedbox h3 { margin: 0; }
.ddedc { display: flex; justify-content: center; align-items: center; background: repeating-conic-gradient(var(--chip) 0% 25%, var(--surface) 0% 50%) 50% / 16px 16px; border-radius: 8px; padding: 12px; overflow: auto; }
.ddedc canvas { box-shadow: 0 2px 12px rgba(0,0,0,.2); touch-action: none; outline: none; }
.ddedbar { flex-wrap: wrap; gap: 6px; align-items: center; }
.ddedbar .grow { flex: 1; }
/* 1.36.265: Mediaflächen-Inventur per QR – Erfassen am Handy, Warten auf Empfang, Werbeflächen im Objekt */
.mferfov h3 { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 15px; }
.mfnum { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--link); color: #fff; font-size: 12px; font-weight: 800; flex: none; }
.mfchips { display: flex; flex-wrap: wrap; gap: 8px; }
.mfchip { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 42px; display: inline-flex; align-items: center; gap: 7px; }
.mfchip:hover, .mfchip:focus-visible { border-color: var(--link); }
.mfchip.an { background: var(--link); border-color: var(--link); color: #fff; }
.mfhq { display: inline-block; border: 2px solid currentColor; border-radius: 2px; } .mfhq.h { width: 10px; height: 14px; } .mfhq.q { width: 15px; height: 10px; }
.mferf .btn.big { min-height: 48px; font-size: 16px; padding: 10px 18px; }
.mfok { text-align: center; padding: 10px 0; } .mfok .mfsave { justify-content: center; }
.mfokh { width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; background: var(--go); color: #fff; font-size: 34px; font-weight: 800; display: grid; place-items: center; }
.mfwarte { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 55; margin: 0 auto; max-width: 520px;
  background: #fff7e6; color: #5a3b00; border: 1px solid #f0c36d; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: 8px 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.hfabon .mfwarte { right: calc(84px + env(safe-area-inset-right, 0px)); }
.mfwk { flex: 1; min-width: 0; text-align: left; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 4px 0; }
.mfwl { display: none; width: 100%; max-height: 40vh; overflow: auto; font-size: 13px; } .mfwarte.auf .mfwl { display: block; }
.mfwl > div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid #f0d9a8; }
.mfwf { color: #b3261e; font-weight: 600; }
.mfinvk { gap: 8px; flex-wrap: wrap; }
.mfinvs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0 2px; }
.mfcard.aus { opacity: .55; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .mfwarte { background: #3a2c10; color: #ffe2a8; border-color: #6b5220; } }

/* 1.36.267: Vorprüfung durch Claude (Rechnungen) */
.rekih ul { margin: 6px 0 0 18px; padding: 0; }
.rekih li { margin: 2px 0; }

/* 1.36.269: Foto-Prüfung durch Claude (Mediaflächen) */
.mfki { margin: -4px 0 12px; padding: 8px 10px; border-radius: 8px; background: var(--chip); font-size: 13px; line-height: 1.4; }
.mfki ul { margin: 4px 0 4px 18px; padding: 0; }
.mfki li { margin: 1px 0; }
.mfki.warn { background: #fff4e5; border: 1px solid #f0c48a; }
.mfki.warn b { color: #b35a12; }
.mfki.ok b { color: #1d7a3a; }
@media (prefers-color-scheme: dark) { html[data-site="time"] .mfki.warn { background: #3a2c10; border-color: #6b5220; } html[data-site="time"] .mfki.warn b { color: #ffc27a; } html[data-site="time"] .mfki.ok b { color: #7fd69a; } }
.field .pwerst { color: var(--bad); font-weight: 700; font-size: .92em; }   /* 1.36.286 (Ernst 28.10. 20:05): Hinweis zum Kennwort beim ersten Anmelden – fett und rot */

/* 1.36.289: Sprachassistent (assist.js) – Knopf im Kopf, Fenster mit Gespräch, Entwurf und Mikrofon */
.kiaov { position: fixed; inset: 0; z-index: 170; background: rgba(18, 20, 22, .5); display: flex; align-items: flex-start; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.kiaov[hidden] { display: none; }
.kiap { background: var(--surface); color: var(--ink); width: 100%; max-width: 760px; max-height: 100%; display: flex; flex-direction: column; border-radius: 14px; border-top: 6px solid #e5007d; box-shadow: 0 20px 60px rgba(0,0,0,.28); overflow: hidden; }
.kiak { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 18px 10px; border-bottom: 1px solid var(--line); }
.kiak h2 { margin: 0 0 2px; font-size: 19px; } .kiak .hint { margin: 0; }
.kiax { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 6px; }
.kiav { flex: 1 1 auto; min-height: 120px; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; }
.kialeer { color: var(--muted); } .kialeer p { margin: 0 0 6px; } .kiabsp { font-style: italic; color: var(--ink); }
.kiab { max-width: 88%; padding: 8px 12px; border-radius: 12px; background: var(--bg); align-self: flex-start; min-width: 0; }
.kiab.kiab-du { align-self: flex-end; background: var(--soft, #eef0f2); }
.kiab p { margin: 2px 0 0; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.kiaw { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.kiasch { margin-top: 4px; font-size: 12px; color: var(--muted); } .kiasch ul { margin: 4px 0 0 18px; padding: 0; }
.kiapkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e5007d; animation: kiapuls 1s ease-in-out infinite; vertical-align: -1px; }
@keyframes kiapuls { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.kiae { margin: 0 18px 12px; padding: 12px 14px; border: 1px solid var(--line); border-left: 5px solid #e5007d; border-radius: 10px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kiaek { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; } .kiaev { margin: 0; }
.kiaet { overflow-x: auto; } .kiaet table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kiaet td { padding: 5px 6px; border-top: 1px solid var(--line); vertical-align: top; } .kiaet td.r { text-align: right; white-space: nowrap; }
.kiaet tfoot td { border-top: 2px solid var(--line); }
.kiaeb { display: flex; flex-wrap: wrap; gap: 8px; }
.kiam { margin: 0 18px 12px; padding: 10px 14px; border: 1px solid var(--line); border-left: 5px solid #2e9d5b; border-radius: 10px; background: var(--surface); min-width: 0; max-height: 34vh; overflow-y: auto; }
.kiam ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.kiam li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.kiam li.weg .kiaml { text-decoration: line-through; color: var(--muted); } .kiaml { min-width: 0; overflow-wrap: anywhere; } .kiam .btn { flex: none; }
.kiaf { border-top: 1px solid var(--line); padding: 12px 18px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.kiamic { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; border: 0; border-radius: 27px; background: #e5007d; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.kiamic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kiamic.an { background: #b3005f; animation: kiamic 1.4s ease-in-out infinite; } .kiamic:disabled { opacity: .5; cursor: default; }
@keyframes kiamic { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 0, 125, .45); } 50% { box-shadow: 0 0 0 10px rgba(229, 0, 125, 0); } }
.kiain { display: flex; gap: 8px; align-items: flex-end; } .kiain textarea { flex: 1 1 auto; min-width: 0; resize: vertical; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.kiavl { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; } .kiakein { margin: 0; }
@media (max-width: 560px) { .kiaov { padding: 0; align-items: stretch; } .kiap { max-width: none; border-radius: 0; height: 100%; } .kiab { max-width: 94%; } }
/* 1.36.472 (Ernst 07.11. 07:36): Fotos im Sprachassistenten (Kamera auf dem Handy, Mediathek/Datei überall) und Karte „Neuer Kunde“ (Visitenkarte) */
.kiafoto { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.kiafoto svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.kiafoto input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.kiafoto:hover { border-color: #e5007d; color: #e5007d; } .kiafoto:focus-within { outline: 2px solid #e5007d; outline-offset: 2px; }
.kiafoto:has(input:disabled) { opacity: .45; cursor: default; border-color: var(--line); color: var(--ink); }
.kiakam { display: none; } @media (pointer: coarse) { .kiakam { display: inline-flex; } }
.kiabil { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.kiabt { position: relative; display: inline-block; flex: none; }
.kiabt img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.kiabt button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--surface); background: #3a4651; color: #fff; font-size: 12px; line-height: 1; padding: 0; cursor: pointer; }
.kiabil .hint { flex: 1 1 180px; min-width: 0; font-size: 13px; margin: 0; }
.kiabb { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; } .kiabb img { display: block; max-width: 132px; max-height: 132px; border-radius: 8px; }
.kiakd { margin: 0; align-self: stretch; border-left-color: var(--link); } .kiakd.fertig { border-left-color: #2e9d5b; }
.kiakg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; }
.kiakf { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; color: var(--muted); } .kiakf.w2 { grid-column: span 2; }
.kiakf input, .kiakf select { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; min-width: 0; width: 100%; box-sizing: border-box; }
.kiadub { padding: 8px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-size: 14px; } .kiadub ul { list-style: none; margin: 4px 0 0; padding: 0; } .kiadub li + li { margin-top: 6px; }
.kialink { border: 0; background: none; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; text-align: left; }
.kiadub0 { margin: 0; } .kiakh { color: var(--warn); } .kiabspf::before { content: "📷 "; font-style: normal; }
@media (max-width: 560px) { .kiakg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 1.36.473: Stimme (Vorlesen) und „Als Kontakt speichern“ */
.kiavzw { display: flex; flex-direction: column; gap: 4px; } .kiavz { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.kiastim { font: inherit; font-size: 13px; max-width: 100%; min-width: 0; flex: 0 1 220px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); }
.kiastimd { font-size: 13px; color: var(--muted); } .kiastimd summary { cursor: pointer; } .kiastimd p { margin: 4px 0 0; }
.kiavcf { text-decoration: none; color: var(--ink); } .kiavcf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* 1.36.319 (Ernst 30.10. 16:28): Shop › Benutzer – Suche, Sperren mit Rückfrage */
.sktmq { margin: 0 0 8px; align-items: flex-end; gap: 10px; } .sktmq .hint { margin-bottom: 8px; }
.sktm tr.sktmx td { color: var(--muted); } .sktm tr.sktmx td b { color: var(--muted); }
.sktmb { justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.sktmsb { color: var(--bad, #b42318); border-color: #f1b8b3; } .sktmsb:hover { border-color: var(--bad, #b42318); }
.sktmsp { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; max-width: 320px; margin-left: auto; font-size: 13px; color: var(--bad, #b42318); }
.sktmsp .row { gap: 8px; justify-content: flex-end; }
/* 1.36.323 (Ernst 30.10. 21:09): Aufträge › Auswertung – Kennzahlen, Diagramme (SVG), Tabellen */
.awkopf .row { align-items: flex-end; gap: 12px; } .awm { min-width: 180px; margin: 0; }
.awkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 10px; }
.awkpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); min-width: 0; }
.awkpi span { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); } .awkpi b { font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; } .awkpi small { color: var(--muted); font-size: 12.5px; }
.awh { align-items: baseline; gap: 10px; flex-wrap: wrap; } .awh h3 { margin: 0; } .awh .hint { font-size: 12.5px; }
.awlegs { display: flex; flex-wrap: wrap; gap: 6px 14px; } .awleg { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); } .awleg i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.awsvg { display: block; width: 100%; height: auto; margin: 6px 0 4px; overflow: visible; }
.awsvg .awgrid { stroke: var(--line); stroke-width: 1; } .awsvg .awbase { stroke: var(--muted); stroke-width: 1; }
.awsvg .awax { fill: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; } .awsvg .awval { fill: var(--ink); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.awsvg .awhit { fill: transparent; } .awsvg .awhit:hover { fill: rgba(46, 50, 55, .06); } .awsvg .awdbar { fill: #b50f1a; }
.awtab { margin-top: 6px; } .awtab summary { cursor: pointer; font-size: 13px; color: var(--link, #ab0e18); }
.awtab table td.r, .awtab table th.r, .card table td.r, .card table th.r { text-align: right; font-variant-numeric: tabular-nums; }
.awscroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; } @media (max-width: 640px) { .awscroll .awsvg { min-width: 620px; } }   /* Handy: Diagramm in lesbarer Größe, seitlich wischen */
/* 1.36.325: Hover-Kästchen der Auswertung */
.awsvg .awhit { cursor: pointer; } .awsvg .awhit.on { fill: rgba(46, 50, 55, .08); }
.awtip { position: absolute; z-index: 5; min-width: 190px; max-width: 280px; padding: 9px 11px; border-radius: 8px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 22px rgba(0, 0, 0, .16); font-size: 13px; line-height: 1.35; pointer-events: none; display: flex; flex-direction: column; gap: 3px; }
.awtip > b { font-size: 13.5px; margin-bottom: 2px; }
.awtr { display: flex; justify-content: space-between; gap: 14px; } .awtr > span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); } .awtr > b { font-variant-numeric: tabular-nums; font-weight: 700; }
.awtr i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; } .awtr.awts { border-top: 1px solid var(--line); padding-top: 4px; margin-top: 2px; } .awtr.awts > span { color: var(--ink); font-weight: 700; }
/* 1.36.328 (Ernst 31.10. 07:00): Kacheln (Tarifmaterial und Druckfreigabe) einheitlich – Name höchstens zwei Zeilen, Text und Menge je eine Zeile, Stückzahl immer
   auf derselben Höhe; „nicht nachdrucken“ bzw. „entfällt“ als Schild auf dem Bild (verschiebt nichts) */
.sktak { position: relative; display: flex; flex-direction: column; min-width: 0; }
.sktak figcaption { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-width: 0; }
.sktak .sktat { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; line-height: 1.3; max-width: 100%; }
.sktak .sktgkt, .sktak .sktgks { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sktak figcaption > .sktaq { margin: 6px 0 4px; } .sktak figcaption > .sktafa { margin-top: auto; padding-top: 2px; }   /* 1.36.330 (Ernst 31.10. 08:32): Stückzahl direkt unter dem Bild – immer auf einer Höhe */
.sktgkw { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--bad); font-size: .74rem; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); pointer-events: none; }
/* 1.36.329 (Ernst 31.10. 06:52): Inventar – Mediaflächen und Betriebsbedarf; Kategorien als Knöpfe, Stücke als Kacheln, Formular und Kategorien im Overlay der Mediaflächen */
.ivkopf { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin: 4px 0 10px; }
.ivkopf p { margin: 2px 0 0; } .ivtools { flex-wrap: wrap; gap: 8px; align-items: flex-end; } .ivtools .field { margin: 0; }
.ivkats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ivkat { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.ivkat:hover, .ivkat:focus-visible { border-color: var(--link); } .ivkat b { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--chip); font-size: 12px; text-align: center; }
.ivkat.an { background: var(--navy); border-color: var(--navy); color: #fff; } .ivkat.an b { background: rgba(255, 255, 255, .2); color: #fff; }
.ivkat.aus { opacity: .55; } .ivkat.neu { border-style: dashed; color: var(--link); }
.ivki { font-size: 20px; line-height: 1; }
.ivlk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .ivlk h2 { margin: 0; }
.ivcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ivcard { display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; min-width: 0; }
.ivcard:hover, .ivcard:focus-visible { border-color: var(--link); } .ivcard.aus { opacity: .55; }
.ivth { width: 64px; height: 64px; flex: none; border-radius: 8px; object-fit: cover; background: var(--chip); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--muted); }
.ivct { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .ivct small { color: var(--muted); overflow-wrap: anywhere; } .ivct .ivkurz { color: var(--ink); }
.ivctg { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; } .ivct > .tag { align-self: flex-start; }
.ivform { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; } @media (max-width: 640px) { .ivform { grid-template-columns: 1fr; } }
.ivfotob { display: flex; flex-direction: column; gap: 8px; } .ivfoto { width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; background: var(--chip); display: block; }
.ivfoto.leer { height: 160px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; border: 1.5px dashed var(--line); }
.ivfelder { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .ivfelder .field { margin: 0; }
.ivgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; } .ivgrid .field { margin: 0; } .ivgrid .field.grow { grid-column: 1 / -1; }
.ivzu { display: flex; flex-wrap: wrap; gap: 6px; }
.ivverl { margin-top: 12px; } .ivverl ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; } .ivverl li { margin: 2px 0; }
.ivweg { color: var(--bad); }
.ivkl { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ivkl li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; } .ivkl li.fest { background: var(--chip); } .ivkl li.aus { opacity: .6; }
.ivpf { min-width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; } .ivpf:disabled { opacity: .35; cursor: default; } .ivpf.an { border-color: var(--link); box-shadow: 0 0 0 2px var(--link); }
.ivicons { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; } .ivicons .ivpf { font-size: 18px; }
.ivicon { width: 64px; font-size: 20px; text-align: center; }
.iveig { display: flex; flex-direction: column; gap: 6px; }
.iveigr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; } .iveigr input[type=text] { flex: 1 1 180px; min-width: 0; } .iveigr input.kurz { flex: 0 1 130px; } .iveigr select { flex: 0 0 auto; }
.iveigr .grow { flex: 1 1 200px; } .iveigr select { width: auto; } input.ivicon { width: 64px; } .row > .field.kurz { flex: none; }
.ivfmt { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; } .ivfmt .mfchip { min-height: 38px; padding: 7px 12px; }   /* 1.36.337: Größen einer Mediaflächen-Art */
.ivmfa li { flex-wrap: nowrap; } .ivmfn { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .ivmfn .hint { margin: 0 0 0 26px; }
.ivgr { display: grid; grid-template-columns: minmax(0, 1fr) 7.5em auto 7.5em 2.5em; gap: 6px 8px; align-items: center; } .ivgr input { min-width: 0; width: 100%; } .ivgr > .hint { margin: 0; font-size: 12px; text-align: center; }
@media (max-width: 560px) { .ivgr { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 2.5em; } .ivgr > input:first-child { grid-column: 1 / -1; } }
.ivfnr { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 999px; background: #fff; color: var(--link); font-size: 12px; }
.ivarts { display: flex; flex-direction: column; gap: 8px; } .ivart { padding: 8px; border: 1px solid var(--line); border-radius: 10px; } .ivart.aus { opacity: .6; } .ivart .iveig { margin: 8px 0 0 14px; }
.ivwahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 12px 0; }
.ivkat.gross { border-radius: 12px; min-height: 64px; text-align: left; } .ivkat.gross .ivki { font-size: 28px; } .ivkat.gross small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

/* 1.36.340: Bereich „Website“ (website.js) – yourprintdesign.de pflegen */
.ws { display: flex; flex-direction: column; gap: 14px; }
.ws .wskopf h2 a { font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.ws .wscrumbs { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.ws .wsseg { align-self: flex-start; flex-wrap: wrap; }
.ws input[type="search"] { min-width: 0; }
.ws .wstree { display: flex; flex-direction: column; }
.ws .wstr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 7px 4px 7px calc(4px + var(--t, 0) * 22px); border-top: 1px solid var(--line); }
.ws .wstr.off .wstrn b { color: var(--muted); }
.ws .wstrn { flex: 1 1 260px; min-width: 0; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font-size: 14.5px; }
.ws .wstrn .hint { font-size: 12px; overflow-wrap: anywhere; }
.ws .wstags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ws .wsact { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.ws .wsact .link[disabled] { opacity: .35; pointer-events: none; }
.ws .wsneu { flex-direction: row; flex-wrap: wrap; align-items: flex-end; box-shadow: none; background: var(--bg); }
.ws .wsbl { display: flex; flex-direction: column; gap: 6px; }
.ws .wsb { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px 16px; padding: 12px 14px; }
.ws .wsb.off { opacity: .7; border-style: dashed; }
.ws .wsbm { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ws .wsbt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ws .wsbk { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); line-height: 1.45; overflow-wrap: anywhere; }
.ws .wsbb { display: flex; gap: 6px; flex-wrap: wrap; }
.ws .wsb > .wsact { flex: 0 1 auto; justify-content: flex-end; }
.ws .wsaddh { display: flex; justify-content: center; }
.ws .wsaddh .link { font-size: 12.5px; opacity: .8; }
.ws .wsadd { box-shadow: none; border-style: dashed; }
.ws .wsth { width: 64px; height: 48px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line); background: var(--bg); flex: none; }
.ws .wsth.gross { width: 100%; height: 110px; object-fit: contain; }
.ws .wsth.vor, .ws .wsvor { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.ws .wsfile { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--muted); }
.ws .wsfile.miss { color: var(--warn); background: var(--warn-bg); }
.ws .wsform { gap: 14px; }
.ws .wsfs { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 12px; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px 14px; min-width: 0; }
.ws .wsfs > legend { font-weight: 700; font-size: 13px; padding: 0 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ws .wsfs > .wsfull, .ws .wsfs > .wsinfo, .ws .wsfs > .wsrep, .ws .wsfs > .field:has(.wsrt), .ws .wsfs > .wsfs { grid-column: 1 / -1; }
.ws .wsform > .field, .ws .wsform > .check { max-width: 100%; }
.ws .wscnt.zuviel { color: var(--warn); font-weight: 700; }
.ws .wsmedv { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ws .wsmedn { font-size: 12.5px; overflow-wrap: anywhere; min-width: 0; }
.ws .wsml { display: flex; flex-wrap: wrap; gap: 8px; }
.ws .wsmli { display: flex; flex-direction: column; gap: 3px; width: 120px; }
.ws .wsmli .wsth { width: 120px; height: 80px; }
.ws .wsso { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 3px; }
.ws .wsso li > span:first-child { margin-right: 8px; }
.ws .wsso li { display: list-item; }
.ws .wsso li .wsact { display: inline-flex; }
.ws .wscl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 4px 12px; }
.ws .wsrep { gap: 6px; }
.ws .wsri { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.ws .wsri.auf { background: var(--surface); }
.ws .wsrih { display: flex; align-items: center; gap: 8px; padding: 6px 8px; flex-wrap: wrap; }
.ws .wsrit { flex: 1 1 200px; text-align: left; background: none; border: 0; cursor: pointer; font-weight: 600; color: var(--ink); padding: 2px 0; min-width: 0; overflow-wrap: anywhere; }
.ws .wsrib { padding: 4px 10px 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px 14px; }
.ws .wsrib > .wsfull, .ws .wsrib > .wsrep, .ws .wsrib > .field:has(.wsrt) { grid-column: 1 / -1; }
.ws .wsicon { display: flex; align-items: center; gap: 8px; }
.ws .wsicon i { font-size: 22px; width: 26px; text-align: center; color: var(--navy); }
.ws .wsicon input { flex: 1; min-width: 0; }
.ws .wsrt { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); min-width: 0; }
.ws .wsrtbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-bottom: 1px solid var(--line); background: var(--bg); border-radius: 8px 8px 0 0; }
.ws .wsrtbar button { min-width: 32px; height: 30px; border: 1px solid transparent; background: none; border-radius: 5px; cursor: pointer; color: var(--ink); font-size: 14px; }
.ws .wsrtbar button:hover { border-color: var(--line); background: var(--surface); }
.ws .wsrtbar select { height: 30px; font-size: 13px; padding: 0 4px; max-width: 130px; }
.ws .wsrted { min-height: 110px; max-height: 60vh; overflow: auto; padding: 10px 12px; outline: none; line-height: 1.5; overflow-wrap: anywhere; }
.ws .wsrted.ro { border: 1px solid var(--line); border-radius: 8px; background: var(--bg); min-height: 0; }
.ws .wsrted :is(h1, h2, h3, h4) { margin: .3em 0; line-height: 1.2; }
.ws .wsrted p { margin: 0 0 .6em; }
.ws .wsrted a { color: var(--link); text-decoration: underline; }
.ws .wsrtsrc { width: 100%; border: 0; border-top: 1px solid var(--line); font: 12.5px/1.4 ui-monospace, Menlo, monospace; padding: 8px; resize: vertical; }
.ws .wslink { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; padding: 8px; border-bottom: 1px solid var(--line); background: var(--bg); }
.ws .wsgoogle { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 8px; max-width: 640px; overflow-wrap: anywhere; }
.ws .wsgoogle b { color: #aa0e18; font-weight: 500; font-size: 17px; }
.ws .wsgoogle .wsgu { color: #188038; font-size: 12.5px; }
.ws .wssave { position: sticky; bottom: 0; background: var(--surface); padding: 8px 0 2px; z-index: 2; }
.ws .wsfilter { flex-wrap: wrap; }
.ws .wsfilter input[type="search"] { flex: 1 1 200px; }
.ws .wsup { cursor: pointer; }
.ws .wsgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ws .wsk { display: flex; flex-direction: column; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; text-align: left; min-width: 0; color: var(--ink); }
.ws .wsk.sel { outline: 3px solid var(--blue); outline-offset: -1px; }
.ws .wskn { font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.25; max-height: 2.5em; overflow: hidden; }
.ws .wsdrop.ueber { outline: 3px dashed var(--blue); outline-offset: -3px; }
.ws .wsdlg { position: fixed; inset: 0; background: rgba(18, 20, 22,.45); z-index: 60; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 12px; overflow: auto; }
.ws .wsdlgi { width: min(980px, 100%); max-height: none; }
.ws .wsmed2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ws .wsmed2 > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ws .wsbreak { overflow-wrap: anywhere; text-transform: none; letter-spacing: 0; }
.ws .wsdet summary { cursor: pointer; font-weight: 600; color: var(--link); padding: 4px 0; }
.ws .wsdet[open] { display: flex; flex-direction: column; gap: 10px; }
.ws .wsverw { margin: 0; padding-left: 18px; }
.ws .wstab td { vertical-align: middle; }
.ws .wstab .wsth { width: 56px; height: 42px; }
.ws .wstab i.mci { font-size: 18px; vertical-align: middle; }
@media (max-width: 700px) { .ws .wsb > .wsact { justify-content: flex-start; } .ws .wsgrid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); } .ws .wsth.gross { height: 90px; } }
.ws .row > input[type="search"] { flex: 1 1 220px; width: auto; max-width: 360px; }
/* ---------- Kundenkonto (1.36.343, konto.js): Übersicht mit Kacheln, Listen wie Vertrieb/„Meine Aufträge“ ---------- */
.kokopf h2 { margin: 0 0 4px; }
.kokopf p { margin: 0; }
.kokacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.kokachel { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font: inherit; cursor: pointer; min-width: 0; }
.kokachel:hover { border-color: var(--navy); }
.kokachel b { font-size: 28px; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.kokachel span { font-weight: 600; }
.kokachel small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.kokachel.warn { border-color: #d98a14; } .kokachel.warn small { color: #8a5a00; font-weight: 600; }
.kozeile { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; justify-content: space-between; text-align: left; width: 100%; background: var(--surface); color: var(--ink); border: 0; border-top: 1px solid var(--line); padding: 10px 12px; font: inherit; }
.kozeile:first-child { border-top: 0; }
button.kozeile { cursor: pointer; } button.kozeile:hover { background: var(--soft); }
.kozeile > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 220px; }
.kozeile small { color: var(--muted); font-size: 12.5px; }
.koact { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kokontakt p { margin: 0 0 8px; }
.kosel { user-select: all; }
.kole { margin: 8px 0 0; }
.vtdoc.kojetzt { color: #fff; background: var(--go, #16794b); border-color: var(--go, #16794b); }
button.vtdoc { font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; text-align: left; }
/* 1.36.344: Neue Anfrage (Konfigurator), Anfragen, Druckdaten zum Auftrag */
.koanf { margin: 4px 0 14px; } .koanf h3 { margin: 0 0 8px; } .koanf .hint { margin: 6px 0 0; }
.kopos .field { margin-bottom: 10px; }
.kof3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kodat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 10px; }
.kodatl { font-weight: 600; font-size: 13px; color: var(--muted); }
.kodatlist { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 200px; min-width: 0; } .kodatlist:empty::before { content: "noch keine"; color: var(--muted); font-size: 13px; }
.kodatei { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 4px 3px 8px; font-size: 13px; max-width: 100%; background: var(--soft); }
.kodatei > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kodatei .link { padding: 0 4px; color: var(--muted); }
.kopreis { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.kopreis b { font-size: 16px; font-variant-numeric: tabular-nums; }
.kovsl { display: flex; flex-direction: column; gap: 8px; }
.kovs { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.kovs:has(input:checked) { border-color: var(--navy); background: var(--soft); }
.kovs input { margin-top: 3px; } .kovs small { display: block; }
.kola { margin-top: 10px; } .kola summary { cursor: pointer; color: var(--link); font-weight: 600; margin-bottom: 8px; }
.kosum { border-color: var(--navy); }
.kosumme { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0 0 10px; font-variant-numeric: tabular-nums; } .kosumme dd { margin: 0; text-align: right; }
@media (max-width: 560px) { .kof3 { grid-template-columns: 1fr 1fr; } .kof3 .field:last-child:nth-child(3) { grid-column: 1 / -1; } }
/* 1.36.346 Kundenkonto: Maßstab der Datei, Format aus der PDF, bestellen oder Angebot */
.komsrow { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; margin: 0 0 8px; }
.komass { margin: 0; min-width: 0; } .komass select { min-width: 190px; max-width: 100%; } .komassx { margin: 0; width: 110px; }
.kofrage { flex: 1 1 260px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: var(--warn-bg); color: var(--warn); border-radius: 8px; padding: 8px 10px; }
.kofmt { font-size: 13px; background: var(--soft); border-radius: 8px; padding: 8px 10px; margin: 0 0 10px; overflow-wrap: anywhere; }
.kofmt.warn { background: var(--warn-bg); color: var(--warn); } .kofmt .link { padding: 0; font-size: 13px; }
.kowahl { gap: 8px; } .kofehlt { color: var(--warn); }
.kofrage.koschn { flex: none; display: grid; gap: 8px; margin: 0 0 10px; } .koschn .row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
/* 1.36.347 Kundenkonto: Fragen Laminat/Oberfläche, Material-Übersicht mit Suche */
.kofragen { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: var(--soft); }
.kofragen.offen { background: var(--warn-bg); }
.kofr1 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .kofr1 > span { font-weight: 600; font-size: 13px; margin-right: 4px; }
.komatsel { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 0 0 10px; }
.komatsel .grow { display: flex; flex-direction: column; min-width: 0; } .komatsel b { overflow-wrap: anywhere; }
.komat { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin: 0 0 10px; } .komat .field { margin: 0; }
.komat h4 { margin: 12px 0 6px; font-size: 13px; text-transform: none; }
.komatg { max-height: 440px; overflow-y: auto; overscroll-behavior: contain; }
.komatgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.komatk { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--surface); cursor: pointer; font: inherit; color: inherit; min-width: 0; }
.komatk:hover { border-color: var(--blue); } .komatk.on { border-color: var(--navy); background: var(--soft); }
.komatk b { font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; } .komatk small { color: var(--muted); }
.komattags { display: flex; gap: 4px; flex-wrap: wrap; } .komattags:empty { display: none; }
@media (max-width: 560px) { .komatgrid { grid-template-columns: 1fr; } .komatsel { flex-wrap: wrap; } }
.kola h4 { margin: 4px 0 8px; } .kodin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: var(--go-soft); }
.kobst { border: 2px solid var(--navy); border-radius: 10px; padding: 12px; margin: 4px 0 8px; } .kobst h4 { margin: 0 0 8px; }
.kook { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; cursor: pointer; } .kook input { margin-top: 3px; flex: none; }
/* 1.36.345 Website: Seiten wie das Menü, Block-Auswahl mit Skizzen, Live-Vorschau neben dem Bearbeiten */
.ws .wsmen h3, .ws .wsgrp h3 { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.ws .wsgrp h3 .hint, .ws .wsmen h3 .hint { font-weight: 400; font-size: 13px; }
.ws .wsmenue { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); }
.ws .wsmenue button { font: inherit; font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; cursor: pointer; }
.ws .wsmenue button:hover { border-color: var(--navy); color: var(--navy); }
.ws .wsmenue button.hl { background: var(--navy); border-color: var(--navy); color: #fff; }
.ws .wsgrp .wstree > .wstr:first-child { border-top: 0; }
.ws .wsgrp .wstree > .wstr[style*="--t:0"] .wstrn b { font-size: 15.5px; }
.ws .wsgrp.wsaus { opacity: .92; }
.ws .wstypen { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ws .wstyp { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; }
.ws .wstyp:hover, .ws .wstyp:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(46, 50, 55, .12); }
.ws .wstyp b { font-size: 13.5px; } .ws .wstyp small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.wstypb { width: 100%; height: auto; aspect-ratio: 120 / 72; display: block; }
.wstypb .f { fill: var(--soft); stroke: var(--line); } .wstypb .a { fill: #2e3237; } .wstypb .b { fill: #b9c7d4; } .wstypb .c { fill: var(--surface); stroke: var(--line); } .wstypb .c2 { fill: #e8eaed; }
.wstypb .l { fill: #c3ced9; } .wstypb .m { fill: #dbe2e9; } .wstypb .d { fill: #5d6872; } .wstypb .w { fill: #fff; } .wstypb .o { fill: var(--surface); stroke: #2e3237; }
.wstypb .k { fill: none; stroke: #2e3237; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; } .wstypb .g { fill: none; stroke: #fff; stroke-width: 1.5; }
.wslive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.wslinks { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.wslv { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); height: calc(100vh - 100px); min-height: 420px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.wslvbar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.wslvbar .kseg button { padding: 4px 10px; font-size: 12.5px; }
.wslvbox { position: relative; flex: 1; overflow: hidden; background: var(--soft); }
.wslvbox iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
.wslvh { margin: 0; padding: 6px 10px; border-top: 1px solid var(--line); font-size: 12px; }
.wslvx, .wslvzeig { display: none !important; }
@media (max-width: 1099px) {
  .wslive { display: block; } .wslv { display: none; }
  .wslv.zeig { display: flex; position: fixed; inset: 0; z-index: 70; height: auto; min-height: 0; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .wslvx, .wslvzeig { display: inline-flex !important; } }

/* 1.36.349 (Ernst): Kundenkonto in der Optik des Shops – Cyan, gefüllte Knöpfe, Überschriften als Band wie „Kategorien“ */
html[data-site="konto"] { --navy: #b50f1a; }
html[data-site="konto"] .mnavs button.on { background: #eceef0; }
html[data-site="konto"] main .btn { background: #b50f1a; border-color: #b50f1a; color: #fff; font-size: 15px; padding: 10px 18px; }
html[data-site="konto"] main .btn:hover { background: #980c16; border-color: #980c16; }
html[data-site="konto"] main .btn.small { font-size: 13.5px; padding: 7px 13px; }
html[data-site="konto"] main .btn.ghost { background: var(--surface); color: #b50f1a; border-color: #b50f1a; }
html[data-site="konto"] main .btn.ghost:hover { background: #eceef0; }
html[data-site="konto"] main .btn:disabled { opacity: .5; }
html[data-site="konto"] main .chip.on { background: #b50f1a; border-color: #b50f1a; color: #fff; }
html[data-site="konto"] main .chip.on .hint, html[data-site="konto"] main .chip.on small { color: #fff; }
html[data-site="konto"] .vtlist > .vthead, html[data-site="konto"] .kokopf2 > h2 { margin: -16px -16px 0; padding: 12px 16px; background: var(--cta); border-radius: 10px 10px 0 0; box-shadow: 0 6px 18px rgba(233, 32, 45,.18); }
html[data-site="konto"] .vtlist > .vthead h2, html[data-site="konto"] .kokopf2 > h2 { color: #fff; justify-content: center; text-align: center; font-size: 19px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
html[data-site="konto"] .vtlist > .vthead h2::before, html[data-site="konto"] .kokopf2 > h2::before { display: none; }
html[data-site="konto"] .vtlist > .vthead .btn { background: #fff; border-color: #fff; color: var(--cta); }
html[data-site="konto"] main .card h3 { font-size: 16px; letter-spacing: .05em; text-transform: uppercase; color: #b50f1a; }
html[data-site="konto"] .kokopf h2 { color: #b50f1a; }
html[data-site="konto"] .kokopf h2::before { background: var(--cta); }
/* Material-Karten wie die Artikel im Shop: hellblau, Linie in Cyan */
html[data-site="konto"] .komatk { background: #f1f2f3; border-bottom: 3px solid #b50f1a; }
html[data-site="konto"] .komatk:hover { border-color: #b50f1a; box-shadow: 0 4px 16px rgba(206, 17, 29,.15); }
html[data-site="konto"] .komatk.on { background: #fff; border-color: #b50f1a; box-shadow: inset 0 0 0 2px #b50f1a; }
/* Schritte der Position: 1 Druckdaten, 2 Material, 3 Ausführung */
.kostep { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.kostep:first-of-type { border-top: 0; padding-top: 2px; }
.kostep > h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.kostepn { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #b50f1a; color: #fff; font-size: 13px; letter-spacing: 0; }
.kodrop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px; border: 2px dashed rgba(27, 154, 74, .55); border-radius: 10px; background: rgba(27, 154, 74, .06); }   /* 1.36.350: Grün wie „weitere hinzufügen“ im Shop */
.kodrop.ueber { border-color: #1b9a4a; background: rgba(27, 154, 74, .14); }
html[data-site="konto"] main .kodrop .btn { background: #1b9a4a; border-color: #1b9a4a; color: #fff; }
html[data-site="konto"] main .kodrop .btn:hover { background: #157c3b; border-color: #157c3b; }
.kodrop .hint { flex: 1 1 240px; min-width: 0; }
.koman { margin: 0; } .koman .link { padding: 0; font-weight: 600; }
.kodatlist2 { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }   /* 1.36.350: Vorschau größer und mittig */
.kodatz { display: flex; flex-direction: column; gap: 6px; min-width: 0; width: min(100%, 560px); border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--surface); }
.kodatz .kodatei { border: 0; padding: 0; max-width: 100%; }
/* 1.36.779: Druckdaten-Prüfung im Kundenkonto */
.kodpf { flex: 1 0 100%; font-size: 12px; color: var(--muted); margin: 2px 0 6px; min-width: 0; overflow-wrap: anywhere; } .kodpf.warn { border-left: 3px solid var(--warn); padding: 4px 0 4px 10px; color: var(--ink); }
.kodpf.warn b { color: var(--warn); } .kodpf ul { margin: 4px 0; padding-left: 18px; } .kodpf li small { display: block; color: var(--muted); }
/* Vorschau der Druckdatei – klein, nur zur Kontrolle; Schneidkontur als Linie darüber */
.kovor { display: flex; flex-direction: column; gap: 4px; }
.kovbild { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; padding: 10px; border: 0; background: repeating-conic-gradient(#f0f2f3 0% 25%, #fff 0% 50%) 50% / 16px 16px; border-radius: 6px; cursor: zoom-in; font: inherit; }
.kovin { position: relative; height: auto; max-width: 100%; background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,.2); }   /* Rahmen in Bildgröße: Bild und Kontur liegen genau übereinander */
.kovin img { display: block; width: 100%; height: 100%; max-width: none; }
.kovlupe { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 16px; }
.kokont { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kokont path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.kokont .kok1 { stroke: #fff; stroke-width: 4; } .kokont .kok2 { stroke: #e9202d; stroke-width: 2; stroke-dasharray: 6 4; }
.kokont.aus { display: none; }
.kovinfo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; }
.kokontsch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #b3121d; cursor: pointer; }
.kovleer { font-size: 13px; color: var(--muted); padding: 10px; background: var(--bg); border-radius: 6px; }
/* 1.36.350: alle Seiten als kleine Bilder; groß im Fenster mit Kontur ein/aus */
.kovthumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.kovt { position: relative; padding: 2px; border: 2px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; line-height: 0; }
.kovt img { height: 58px; width: auto; max-width: 90px; display: block; }
.kovt small { position: absolute; left: 2px; bottom: 2px; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; line-height: 1; padding: 2px 4px; border-radius: 3px; }
.kovt.on { border-color: #b50f1a; }
.kovtl { align-self: center; font-size: 12px; color: var(--muted); }
.kogross { position: fixed; inset: 0; z-index: 400; background: rgba(18, 20, 22,.78); display: flex; align-items: center; justify-content: center; padding: max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px)); }
.kogbox { background: var(--surface); color: var(--ink); border-radius: 12px; width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.kogkopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.kogkopf > b { flex: 1 1 200px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kogseite { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.kogbild { flex: 1; min-height: 0; overflow: auto; display: flex; justify-content: center; align-items: flex-start; padding: 14px; background: repeating-conic-gradient(#f0f2f3 0% 25%, #fff 0% 50%) 50% / 18px 18px; }
.kogbild .kovin { height: auto; }
.kogbild .kokont .kok1 { stroke-width: 5; } .kogbild .kokont .kok2 { stroke-width: 2.5; stroke-dasharray: 8 5; }
body.kogoffen { overflow: hidden; }
.kobahn b { color: var(--warn); }
/* 1.36.350: Anfahrt zur Montage – Schätzung mit Anteil Transporter und je Person */
.koanfk { display: flex; flex-direction: column; gap: 8px; }
.koanfkopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; } .koanfkopf span { color: var(--muted); }
.koanfk .hint { margin: 0; }
/* Rechnungen: Jahre als Knöpfe, Monate als Überschrift */
.kojahre { margin-top: -4px; }
.kojahr { margin: 10px 0 0; font-size: 22px; font-weight: 800; color: var(--ink); }
.komonat { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin: 10px 0 2px; padding: 0 0 4px; border-bottom: 2px solid #b50f1a; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: #b50f1a; }
.komonat small { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 600; }
/* 1.36.350/351 (Ernst): Stammkundenvorteil im Kundenkonto – Skala, die sich füllt (blauer Balken), mit Meilensteinen Bronze, Silber, Gold */
.korabk { gap: 10px; }
.korabu { font-size: 22px; font-weight: 800; color: #b50f1a; font-variant-numeric: tabular-nums; text-align: right; } .korabu small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.korabt { margin: 0; font-size: 15px; }
.korabskala { position: relative; height: 18px; margin: 34px 4px 46px; border-radius: 9px; background: linear-gradient(90deg, #f0f2f3, #e3e9ee); box-shadow: inset 0 1px 3px rgba(0,0,0,.12); }
.korabfill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: linear-gradient(90deg, #b50f1a, #e81927); transition: width .8s ease; }
.st-bronze .korabfill { background: linear-gradient(90deg, #b50f1a, #c9813e); } .st-silber .korabfill { background: linear-gradient(90deg, #b50f1a, #9aa7b3); } .st-gold .korabfill { background: linear-gradient(90deg, #b50f1a, #e2b100); }
.korabm { position: absolute; top: 50%; width: 0; }
.korabm::before { content: ''; position: absolute; left: -2px; top: -15px; width: 4px; height: 30px; border-radius: 2px; background: #b9c4ce; }
.korabm.ok::before { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.korabmed { position: absolute; left: 0; top: -40px; transform: translateX(-50%); font-size: 22px; line-height: 1; filter: grayscale(1) opacity(.45); }
.korabm.ok .korabmed { filter: none; }
.korabml { position: absolute; left: 0; top: 18px; transform: translateX(-50%); white-space: nowrap; text-align: center; font-size: 12.5px; line-height: 1.25; color: var(--muted); }
.korabml b { color: var(--ink); } .korabml small { display: block; }
.korabm.m-bronze.ok .korabml b { color: #a3611f; } .korabm.m-silber.ok .korabml b { color: #66737f; } .korabm.m-gold.ok .korabml b { color: #b38900; }
.korabw { margin: 0; }
.korab { color: var(--go); font-weight: 600; }
@media (max-width: 560px) { .korabml { font-size: 11px; } .korabskala { margin-inline: 22px; } }
/* 1.36.350: Stand der Aufträge „In Arbeit“ gleich in der Liste (Etappen wie „Meine Bestellungen“ im Shop) */
.vtrowx .kovl { margin: 2px 8px 6px; }
.kovl .skvt b { font-size: 12.5px; font-weight: 600; }

/* 1.36.351 (Ernst: „sieht noch nicht sehr professionell aus“): Eingabefelder im Kundenkonto einheitlich – gleiche Höhe, Rahmen, Ecken und Fokus; Angaben im Raster */
html[data-site="konto"] main .field { gap: 6px; }
html[data-site="konto"] main .field > span { font-size: 13px; font-weight: 600; color: #41474d; display: flex; align-items: baseline; gap: 6px; }
html[data-site="konto"] main .field > span small { font-size: 11.5px; font-weight: 500; color: #8696a4; }
html[data-site="konto"] main .field > span .kopfl { font-style: normal; font-size: 11px; font-weight: 700; color: #c21823; text-transform: uppercase; letter-spacing: .05em; }
html[data-site="konto"] main input[type=text], html[data-site="konto"] main input[type=date], html[data-site="konto"] main input[type=email], html[data-site="konto"] main input[type=tel], html[data-site="konto"] main select, html[data-site="konto"] main textarea {
  height: 44px; padding: 0 13px; border: 1px solid #cfd9e2; border-radius: 9px; background: #fff; font-size: 15px; color: #23272a; box-shadow: inset 0 1px 2px rgba(35, 39, 42,.04); transition: border-color .15s, box-shadow .15s; width: 100%; }
html[data-site="konto"] main textarea { height: auto; min-height: 88px; padding: 11px 13px; line-height: 1.45; resize: vertical; }
html[data-site="konto"] main input::placeholder, html[data-site="konto"] main textarea::placeholder { color: #9aa8b5; }
html[data-site="konto"] main input:hover, html[data-site="konto"] main select:hover, html[data-site="konto"] main textarea:hover { border-color: #b4c2ce; }
html[data-site="konto"] main input:focus, html[data-site="konto"] main select:focus, html[data-site="konto"] main textarea:focus { outline: none; border-color: #b50f1a; box-shadow: 0 0 0 3px rgba(181, 15, 26,.16); }
html[data-site="konto"] main input[type=date] { padding-right: 10px; }
html[data-site="konto"] main input[type=search] { height: 44px; border-radius: 9px; }
.koangf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.koangf .koangw { grid-column: 1 / -1; }
.koangh { margin: 2px 0 0; }
@media (max-width: 640px) { .koangf { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
/* 1.36.351: Anfahrt wie in der Kalkulation – drei Kacheln (1, 2, 3 Personen) mit Preis je km und Summe, die angesetzte hervorgehoben */
.koanft { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 8px; }
.koanfs { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 6px; border: 1px solid #dcdfe2; border-radius: 10px; background: #f9fafa; text-align: center; font-size: 13px; color: #4a5b6a; min-width: 0; }
.koanfs b { font-size: 14px; color: #23272a; } .koanfn { font-size: 15px; letter-spacing: -2px; line-height: 1.3; }
.koanfsum { font-size: 17px; font-weight: 800; color: #23272a; font-variant-numeric: tabular-nums; margin-top: 2px; }
.koanfs.on { border: 2px solid #b50f1a; background: #f4f5f6; box-shadow: 0 4px 12px rgba(181, 15, 26,.14); } .koanfs.on .koanfsum { color: #b50f1a; }
.koanfs small { font-size: 11px; font-weight: 700; color: #b50f1a; text-transform: uppercase; letter-spacing: .05em; }
.koanfr { margin: 0 0 6px; font-size: 14px; }
@media (max-width: 480px) { .koanft { gap: 6px; } .koanfs { padding: 8px 3px; font-size: 12px; } .koanfsum { font-size: 15px; } }
.kovsanf { background: #fff8e6; border: 1px solid #f3d27a; border-radius: 8px; padding: 9px 12px; color: #6b4e00; }
/* 1.36.351 (Ernst: „hier haut was nicht hin“): Stand-Leiste der Aufträge in eigener Zeile unter Auftrag und Dokumenten – volle Breite, waagerecht */
.vtrowx.kovtx { flex-wrap: wrap; }
.vtrowx.kovtx > .skvw { flex: 0 0 100%; order: 3; min-width: 0; padding: 0 8px 6px; }
.vtrowx.kovtx > .skvw .kovl { margin: 0 4px 4px; }
/* 1.36.352: Auswertung Monat | Jahr; Jahresauswertung (Krank, Urlaub, Rest) */
.ztrepart { display: inline-flex; align-self: flex-start; width: auto; margin: 0 0 10px; }
.ztrepj thead tr:first-child th[colspan] { text-align: center; border-bottom: 1px solid var(--line); }
.ztrepj td.neg, .ztrepj td.ztrest.neg b { color: var(--bad, #c62828); }
.ztrepj tfoot td { border-top: 2px solid var(--line); }
/* 1.36.355 Displays: Status-Übersicht, Sofortmeldung, Vorschaubild je Bildschirm, Playlist auf mehreren Bildschirmen */
.sgstat { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.sgst { display: flex; align-items: baseline; gap: 8px; border: 1px solid var(--line); border-left-width: 4px; border-radius: 8px; padding: 8px 14px; min-width: 120px; background: var(--surface); }
.sgst b { font-size: 22px; line-height: 1; font-variant-numeric: tabular-nums; }
.sgst span { font-size: 13px; color: var(--muted); }
.sgst.on { border-left-color: var(--go); } .sgst.on b { color: var(--go); }
.sgst.off { border-left-color: var(--bad); } .sgst.off b { color: var(--bad); }
.sgst.aus { border-left-color: var(--link); } .sgst.leer, .sgst.nie { border-left-color: var(--warn); }
.sgst.null { opacity: .55; } .sgst.null b { color: var(--muted); }
.sgscr { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.sgscrb { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sgscr > .sglink { grid-column: 1 / -1; }
.sgtn { width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; background: #111213; color: #c9d3dc; display: grid; place-items: center; overflow: hidden; font-size: 12px; font-weight: 700; border: 1px solid var(--line); }
.sgtn.hoch { width: 44px; aspect-ratio: 9 / 16; justify-self: center; }
.sgtn img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sgtn.off { background: var(--bad-bg); color: var(--bad); } .sgtn.nie, .sgtn.leer { background: var(--warn-bg); color: var(--warn); } .sgtn.aus { background: #000; color: #7d8a96; }
.sgtal { width: 100%; height: 100%; display: grid; place-items: center; font-size: 22px; font-weight: 900; color: #fff; }
.sgtal.rot { background: #c4161c; } .sgtal.gelb { background: #ffc400; color: #1a1a1a; } .sgtal.blau { background: #2e3237; } .sgtal.gruen { background: #17834f; }
@media (max-width: 560px) { .sgscr { grid-template-columns: 64px minmax(0, 1fr); } .sgtn { width: 64px; } .sgtn.hoch { width: 34px; } }
.sgalc .chips { margin-bottom: 4px; }
.sgalbtn { border-color: #c4161c; color: #c4161c; font-weight: 700; }
.sgalbtn:hover { background: #c4161c; color: #fff; }
.sgal { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border-radius: 10px; padding: 12px 14px; color: #fff; background: #c4161c; }
.sgal.gelb { background: #ffc400; color: #1a1a1a; } .sgal.blau { background: #2e3237; } .sgal.gruen { background: #17834f; }
.sgal .sgalt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sgal .sgalt b { font-size: 16px; } .sgal .sgalt span { white-space: pre-line; } .sgal .sgalt small { opacity: .85; font-size: 12.5px; }
.sgal .btn { background: rgba(255, 255, 255, .92); color: #1a1a1a; border-color: transparent; }
.sgali { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid currentColor; display: grid; place-items: center; font-weight: 900; font-size: 16px; line-height: 1; flex: none; }
.sgalform { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 16px; align-items: start; }
.sgalf { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sgalf textarea { width: 100%; resize: vertical; }
.sgalscr { margin-top: 6px; }
.sgfc.on { color: #fff; border-color: transparent; }
.sgfc.rot.on { background: #c4161c; } .sgfc.gelb.on { background: #ffc400; color: #1a1a1a; } .sgfc.blau.on { background: #2e3237; } .sgfc.gruen.on { background: #17834f; }
.sgalprev { position: sticky; top: 10px; display: flex; flex-direction: column; gap: 4px; }
.sgalprev > div { aspect-ratio: 16 / 9; border-radius: 8px; background: #c4161c; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px 14px; overflow: hidden; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.sgalprev.rot > div, .sgalprev.gelb > div { border-image: repeating-linear-gradient(-45deg, #1a1a1a 0 8px, #ffc400 8px 16px) 1; }
.sgalprev.gelb > div { background: #ffc400; color: #1a1a1a; } .sgalprev.blau > div { background: #2e3237; } .sgalprev.gruen > div { background: #17834f; }
.sgalprev b { font-size: 19px; line-height: 1.15; overflow-wrap: anywhere; } .sgalprev span:not(.sgali) { font-size: 12.5px; white-space: pre-line; overflow-wrap: anywhere; }
.sgalprev small { color: var(--muted); font-size: 12px; text-align: center; }
.sgalgo { background: #c4161c; border-color: #c4161c; }
.sgalgo:hover { background: #a51217; }
@media (max-width: 760px) { .sgalform { grid-template-columns: minmax(0, 1fr); } .sgalprev { position: static; max-width: 320px; } }
.sgasg { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.sgasg h3 { margin: 0; }
.sgasgl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 16px; }
.sgasgl .hint { font-size: 12px; }
/* 1.36.356 Displays: Ausspielnachweis */
.sgnf { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.sgnf .field { max-width: 220px; }
.sgnn { margin: 10px 0 4px; }
.sgnsum { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.sgnsum > div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; min-width: 130px; display: flex; flex-direction: column; background: var(--surface); }
.sgnsum b { font-size: 21px; font-variant-numeric: tabular-nums; } .sgnsum span { font-size: 12.5px; color: var(--muted); }
.sgntab td { vertical-align: middle; } .sgntab td.r, .sgntab th.r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sgnm { display: inline-flex; align-items: center; gap: 8px; } .sgnm .sgth { width: 48px; height: 27px; object-fit: cover; border-radius: 3px; flex: none; }
.sgnbar { width: 22%; min-width: 60px; } .sgnbar i { display: block; height: 8px; border-radius: 4px; background: var(--link); min-width: 2px; }
@media (max-width: 640px) { .sgnbar { display: none; } }
/* 1.36.356 Displays: Assistent „Neuer Bildschirm“, erster Bildschirm, + Inhalt */
.sgwz { gap: 14px; }
.sgwzs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; counter-reset: none; }
.sgwzs li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 14px; }
.sgwzs li b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-size: 13px; }
.sgwzs li.on { color: var(--ink); } .sgwzs li.on b { border-color: var(--link); background: var(--link); color: #fff; }
.sgwzs li.done b { border-color: var(--go); background: var(--go); color: #fff; }
.sgerst .sgwzs { flex-direction: column; gap: 10px; margin: 6px 0 12px; } .sgerst .sgwzs li { color: var(--ink); font-weight: 500; } .sgerst .sgwzs li b { border-color: var(--link); color: var(--link); }
.sgwzf { display: flex; flex-wrap: wrap; gap: 10px; }
.sgwzfo { display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 10px 14px; cursor: pointer; min-width: 190px; }
.sgwzfo i { grid-row: 1 / 3; justify-self: center; display: block; border: 2px solid currentColor; border-radius: 3px; opacity: .7; }
.sgwzfo i.quer { width: 32px; height: 18px; } .sgwzfo i.hoch { width: 18px; height: 32px; }
.sgwzfo small { color: var(--muted); font-size: 12px; }
.sgwzfo.on { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); } .sgwzfo.on i { opacity: 1; color: var(--link); }
.sgwzm { display: flex; flex-wrap: wrap; gap: 8px; }
.sgwzm > div { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px 4px 4px; font-size: 13px; }
.sgwzok { border-radius: 10px; padding: 12px 14px; background: var(--warn-bg); color: var(--warn); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.sgwzok.da { background: var(--go-soft); color: var(--go); }
.sgwzspin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: sgwzr .9s linear infinite; flex: none; }
@keyframes sgwzr { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sgwzspin { animation: none; } }
.sgwzcon { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 18px; align-items: start; }
.sgwzcode { font-size: 22px; } .sgwzcode b { font-size: 30px; letter-spacing: .06em; }
.sgwzhow { margin: 10px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.sgwzqr { background: #fff; border-radius: 8px; padding: 8px; border: 1px solid var(--line); } .sgwzqr svg { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .sgwzcon { grid-template-columns: minmax(0, 1fr); } .sgwzqr { max-width: 180px; } .sgwzfo { min-width: 0; flex: 1 1 140px; } }
/* 1.36.357 Displays: Folien-Designer */
.sgfvl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sgfvt { display: flex; flex-direction: column; gap: 4px; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 8px 8px 10px; cursor: pointer; }
.sgfvt:hover, .sgfvt:focus-visible { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.sgfvt b { font-size: 15px; padding: 0 2px; } .sgfvt small { color: var(--muted); font-size: 12.5px; padding: 0 2px; }
.sgfvp { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #111; }
.sgfeg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 46%); gap: 18px; align-items: start; }
.sgfef { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .sgfef textarea { width: 100%; resize: vertical; }
.sgfepv { position: sticky; top: 10px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.sgfeph { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #111; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.sgfeph.hoch { width: auto; height: min(70vh, 520px); aspect-ratio: 9 / 16; }
.sgfcol.on { background: var(--c); color: var(--t); border-color: var(--c); }
.sgfcol::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, .2); margin-right: 6px; vertical-align: -1px; }
.sgfcol.on::before { border-color: var(--t); }
.sgflb { position: relative; width: min(92vw, 1100px); aspect-ratio: 16 / 9; max-height: 78vh; border-radius: 6px; overflow: hidden; background: #111; cursor: default; }
.sgpdfb { cursor: pointer; }
@media (max-width: 760px) { .sgfeg { grid-template-columns: minmax(0, 1fr); } .sgfepv { position: static; } .sgfeph.hoch { height: 420px; } }
/* 1.36.358 Tarif-Postfach: ohne Nachdruck zuordnen */
.tpond { flex-basis: 100%; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; }
.tpond input { width: 16px; height: 16px; margin: 0; }
/* 1.36.370: Einfahrten je Objekt (TG, PP, PH, Anlieferung …) */
.efcard .efe { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.efcard .efkopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.efcard .efkopf b { font-size: 16px; }
.efcard .efkopf .grow { flex: 1 1 auto; }
.efcard .efanl { margin: 0; }
.efcard .eftm { margin: 0; }
.efcard .efweg { color: var(--bad); }
.efcard .efneu { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px dashed var(--blue); border-radius: 10px; background: var(--soft); }
.efcard .efneu h3 { margin: 0; font-size: 15px; }
.ztweg { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: var(--go-soft); border: 1px solid color-mix(in srgb, var(--go) 30%, transparent); font-size: 13.5px; } .ztweg .ztwegz { margin: 4px 0; padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--go) 45%, transparent); }   /* 1.36.387: Weg vom Arbeitsort */
.efcard .efntm li { grid-template-columns: 56px auto minmax(0, 1fr) auto; } .efcard .efntm .tmat input { width: 100%; } .efcard .efntm li > .link { padding: 6px; }   /* 1.36.385: Tarifmaterial beim Anlegen */
@media (max-width: 560px) { .efcard .efntm li { grid-template-columns: 40px auto minmax(0, 1fr) auto; gap: 8px; } .efcard .efntm img, .efcard .efntm .tmph { width: 40px; height: 40px; } .efcard .efntm .tmstep { gap: 4px; } .efcard .efntm .tmsb { width: 30px; height: 30px; font-size: 16px; } .efcard .efntm li > .link { padding: 4px; } }
.efcard .efren { align-items: flex-end; flex-wrap: wrap; }
/* 1.36.372: Anlagenname, Services je Einfahrt */
.efcard .efnamen { flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.efcard .efnamen .field, .efcard .efren .field { min-width: 0; flex: 1 1 200px; }
.efcard .efanlt { font-variant-numeric: tabular-nums; }
.efcard .efaus { border-top: 1px solid var(--line); padding-top: 8px; }
.efcard .efaus > summary { cursor: pointer; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.efcard .efaus > summary .hint { font-weight: 400; }
.efcard .efaus > summary { list-style: none; } .efcard .efaus > summary::-webkit-details-marker { display: none; }
.efcard .efaus > summary::before { content: '▸'; color: var(--blue); width: 1em; } .efcard .efaus[open] > summary::before { content: '▾'; }
.efcard .efaus .ausgrid { margin-top: 8px; }
.efcard .efausl { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }

/* 1.36.392: Familie – private Termine (nur Verwaltung) */
.famkopf h2{margin:0}.famp{display:inline-block;background:var(--c);color:#fff;border-radius:999px;padding:1px 9px;font-size:.82em;font-weight:600;margin-right:6px}
.famtag h3{margin:12px 0 6px;font-size:.95em;color:var(--muted,#5b6b7f)}.famtag:first-of-type h3{margin-top:4px}
.famev{display:grid;grid-template-columns:4.2em minmax(0,1fr) auto;gap:10px;align-items:start;padding:8px 0 8px 10px;border-left:5px solid var(--c);border-radius:3px;margin-bottom:6px}
.famz{font-weight:700;font-variant-numeric:tabular-nums}.famz small{font-weight:400;color:var(--muted,#5b6b7f)}.famt{min-width:0;overflow-wrap:anywhere}.famb{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.famsub{border-top:1px solid var(--line,#e2e6ea);margin-top:12px;padding-top:10px}.famsub h3{margin:0 0 6px}
.famform .grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.famtime input{width:7.5em}.famer{gap:8px;align-items:center}.famer input[type=time]{width:7.5em}.famwt button{min-width:2.6em}
@media (max-width:640px){.famev{grid-template-columns:3.6em minmax(0,1fr)}.famb{grid-column:2;justify-content:flex-start}.famform .grid2{grid-template-columns:1fr}}
.famsub h3.famh{margin:16px 0 6px}.fambup{gap:10px;align-items:flex-end;flex-wrap:wrap}.fambup .field{margin:0}.fambup .grow{flex:1 1 14em;min-width:0}
.famfile{cursor:pointer;margin-bottom:2px}.famfile.busy{opacity:.6;pointer-events:none}
.fambl{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin-top:12px}
.fambi{border:1px solid var(--line,#e2e6ea);border-radius:10px;overflow:hidden;background:var(--card,#fff)}.fambi.jetzt{border-color:var(--accent,#b02f38);box-shadow:0 0 0 1px var(--accent,#b02f38)}
.fambi img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;background:var(--line,#e2e6ea)}
.fambm{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;padding:8px;align-items:center}.fambm input,.fambm select{min-width:0;font-size:.9em}.fambm .link{grid-column:1/-1;justify-self:start;color:var(--danger,#b3261e)}

/* 1.36.393: Posteingang (Postfach-Assistent) */
.pa .parows{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.parow{border:1px solid var(--line,#e2e6ea);border-left:4px solid var(--line,#d5dbe1);border-radius:8px;padding:10px 12px;background:var(--card,#fff)}
.parow.w2{border-left-color:#c0392b}.parow.w0{opacity:.85}.parow.erl{opacity:.7}.parow.auf{box-shadow:0 2px 10px rgba(40, 43, 46,.08)}
.pakopf{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pakopf .pawer{font-size:1.02em}.pakopf time{white-space:nowrap;font-variant-numeric:tabular-nums}
.pabet{margin-top:3px;font-weight:600;overflow-wrap:anywhere}.pazf{margin:4px 0 0;line-height:1.45}.paauf{margin:4px 0 0;font-weight:600;color:var(--ink,#282c2f)}.paauf::before{content:'→ ';color:#c0392b}
.pabtn{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}
.tag.pak-anfrage{background:#eff0f2;color:#950c15}.tag.pak-bestellung{background:#e3f4ea;color:#1d6b3c}.tag.pak-reklamation{background:#fbe7e4;color:#a12a1c}.tag.pak-termin{background:#f3ecfa;color:#5b3a86}
.padet{border-top:1px solid var(--line,#e2e6ea);margin-top:10px;padding-top:10px}
.pakv{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 12px;margin:0 0 8px}.pakv dt{color:var(--muted,#5b6b7f)}.pakv dd{margin:0;overflow-wrap:anywhere}
.pakorr{gap:10px;align-items:flex-end;flex-wrap:wrap}.pakorr .field{margin:0}
.patext{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.93em;line-height:1.5;background:var(--bg2,#f7f8f9);border-radius:6px;padding:10px 12px;max-height:420px;overflow:auto;margin:10px 0 0}
.pacfg{border:1px solid var(--line,#e2e6ea);border-radius:8px;padding:12px 14px;margin:10px 0;background:var(--bg2,#fafafb)}.pacfg h3{margin:0 0 8px}.pacfg h4{margin:12px 0 4px}
.pacfg .paq{gap:6px 8px;align-items:center;flex-wrap:wrap;padding:4px 0}.pacfg .paq .check{flex:1 1 18em;min-width:0;overflow-wrap:anywhere}.pacfg .check{align-items:flex-start;gap:8px}.pacfg .check input{margin-top:3px;flex:none}.pacfg .grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.paneu{margin:8px 0}.paneu summary{cursor:pointer;font-weight:600}
@media (max-width:640px){.pacfg .grid2{grid-template-columns:1fr}.pacfg .paq .check{flex-basis:100%}.pakv{grid-template-columns:1fr}.pakv dt{margin-top:4px}}

/* 1.36.394: Familie neu (Ernst 04.11. 02:58 „benutzerfreundlicher“) – ruhige Tagesliste, Schnelleingabe, Personen-Filter, Fenster für Termin und Einstellungen */
.fam2{padding:22px 24px 14px}
.fam-ic{width:1.05em;height:1.05em;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.15em}
.fam-kopf{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;flex-wrap:wrap}
.fam-kopf h2{margin:0}
.fam-kopf p{margin:4px 0 0;color:var(--muted);font-size:14px}
.fam-schnell{display:flex;align-items:center;gap:10px;margin:18px 0 6px;padding:6px 6px 6px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.fam-schnell:focus-within{border-color:var(--link);box-shadow:0 0 0 3px color-mix(in srgb,var(--link) 18%,transparent)}
.fam-schnell>.fam-ic{color:#b07a12;width:1.25em;height:1.25em}
.fam-schnell input{flex:1;min-width:0;border:0;background:transparent;font-size:16px;padding:9px 0;color:var(--ink);outline:none}
.fam-antwort{margin:6px 2px 0;padding:10px 12px;border-radius:10px;background:var(--go-soft,#ecf8f1);font-size:14px;line-height:1.45}
.fam-wer{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.fam-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:7px 14px;font:inherit;font-size:14px;cursor:pointer;min-height:36px}
.fam-chip:hover{border-color:color-mix(in srgb,var(--c,var(--link)) 55%,var(--line))}
.fam-chip.on{background:color-mix(in srgb,var(--c,var(--navy)) 12%,var(--surface));border-color:var(--c,var(--navy));font-weight:600}
.fam-chip small{color:var(--muted);font-weight:400}
.fam-dot{width:10px;height:10px;border-radius:50%;background:var(--c);flex:none}
.fam-liste{margin-top:10px}
.fam-tag{padding:14px 0 6px;border-top:1px solid var(--line)}.fam-tag:first-child{border-top:0}
.fam-tag h3{display:flex;align-items:baseline;gap:10px;margin:0 0 8px;font-size:15px;text-transform:none;letter-spacing:0}.fam-tag h3::before{display:none}
.fam-tag h3 b{font-size:17px}.fam-tag h3 span{color:var(--muted);font-weight:400}
.fam-tag.heute h3 b{color:var(--link)}
.fam-evs{display:flex;flex-direction:column;gap:6px}
.fam-ev{display:grid;grid-template-columns:4.4em minmax(0,1fr);gap:12px;align-items:start;width:100%;text-align:left;border:0;border-left:4px solid var(--c);background:color-mix(in srgb,var(--c) 6%,var(--surface));border-radius:10px;padding:11px 14px;font:inherit;color:var(--ink);cursor:pointer}
.fam-ev:hover,.fam-kachel:hover{background:color-mix(in srgb,var(--c) 11%,var(--surface))}
.fam-ev:focus-visible,.fam-kachel:focus-visible,.fam-chip:focus-visible{outline:2px solid var(--link);outline-offset:2px}
.fam-zeit b{font-size:17px;font-variant-numeric:tabular-nums}.fam-gt{font-size:12px;color:var(--muted)}
.fam-evt{display:flex;align-items:center;gap:8px;min-width:0;font-size:16px}.fam-evt b{overflow-wrap:anywhere}
.fam-av{width:24px;height:24px;border-radius:50%;background:var(--c);color:#fff;font-size:12px;font-weight:700;display:inline-grid;place-items:center;flex:none}
.fam-rep{color:var(--muted);margin-left:2px}
.fam-meta{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13.5px;color:var(--muted)}
.fam-meta li{display:inline-flex;align-items:center;gap:5px}.fam-meta .fam-los{color:var(--ink)}
.fam-leer{padding:26px 6px;color:var(--muted)}.fam-leer p{margin:4px 0}.fam-leer b{color:var(--ink)}
.fam-mehr{padding:8px 0 4px}
.fam-serien{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.fam-serien h3{margin:0 0 10px;font-size:15px;text-transform:none;letter-spacing:0}.fam-serien h3::before{display:none}
.fam-kacheln{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.fam-kachel{display:flex;flex-direction:column;gap:5px;text-align:left;border:1px solid var(--line);border-top:4px solid var(--c);background:var(--surface);border-radius:10px;padding:10px 12px;font:inherit;color:var(--ink);cursor:pointer}
.fam-kt{display:flex;align-items:center;gap:5px;font-size:13px;color:var(--muted)}
.fam-fuss{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:22px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.fam-zr{display:inline-flex;align-items:center;gap:6px;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;cursor:pointer;padding:6px 2px}.fam-zr:hover{color:var(--link)}
/* Fenster */
.fdlg{position:fixed;inset:0;z-index:150;background:rgba(18, 20, 22,.45);display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px 16px;overflow-y:auto}
.fdlgp{background:var(--surface);color:var(--ink);width:100%;max-width:600px;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.25);padding:20px 22px 18px;border-top:6px solid var(--c,var(--navy))}
.fdh{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.fdh h2{display:flex;align-items:center;gap:10px;margin:2px 0;font-size:21px;text-transform:none;letter-spacing:0}.fdh h2::before{display:none}
.fam-x{border:0;background:var(--bg);color:var(--ink);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:none}.fam-x.klein{width:30px;height:30px}
.fam-wann{margin:0;color:var(--muted);font-size:14px}
.fam-zl{display:flex;gap:10px;align-items:flex-start;margin:10px 0;font-size:15px;line-height:1.4}.fam-zl .fam-ic{margin-top:2px;color:var(--muted)}
.fam-notiz{margin:12px 0;padding:10px 12px;background:var(--bg);border-radius:10px;white-space:pre-wrap}
.fam-akt{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.fam-form .fam-titel{width:100%;font-size:20px;font-weight:600;border:0;border-bottom:2px solid var(--line);background:transparent;color:var(--ink);padding:8px 2px;margin:2px 0 6px;border-radius:0}
.fam-form .fam-titel:focus{outline:none;border-bottom-color:var(--c,var(--link))}
.fam-feld{margin:14px 0 0}.fam-l{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:6px}
.fam-feld input[type=text],.fam-feld input[type=date],.fam-feld input[type=time],.fam-feld input[type=number],.fam-feld select,.fam-feld textarea{width:100%;font:inherit;font-size:15px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}
.fam-form .fam-wer{margin:0}.fam-andere{max-width:12em}
.fam-zeitzeile{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:10px;align-items:end}
.fam-sw{display:inline-flex;align-items:center;gap:8px;font-size:14px;cursor:pointer;padding:9px 0}.fam-sw input{width:18px;height:18px}
.fam-seg{display:flex;flex-wrap:wrap;gap:6px}.fam-seg button,.fam-wt button,.fam-vor button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:999px;padding:7px 12px;font:inherit;font-size:14px;cursor:pointer}
.fam-seg button.on,.fam-wt button.on{background:var(--navy);border-color:var(--navy);color:#fff}
.fam-wt{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.fam-wt button{min-width:44px}
.fam-zeile2{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;margin-top:8px}.fam-bis{display:inline-flex;align-items:center;gap:8px;font-size:14px}.fam-bis input{width:auto!important}
.fam-vor{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.fam-vor button{font-size:13px;padding:5px 10px;color:var(--muted)}
.fam-hin{display:flex;align-items:center;gap:6px;margin:6px 0 0;font-size:13px;color:var(--muted)}
.fam-erinn{display:flex;flex-wrap:wrap;gap:8px}
.fam-eig{margin-top:10px;display:flex;flex-direction:column;gap:8px}.fam-eigz{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.fam-eigz select,.fam-eigz input{width:auto!important}
.fam-form details summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--muted)}.fam-form details textarea{margin-top:8px}
.fam-fussbtn{display:flex;align-items:center;gap:8px;margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}
.fam-einst{max-width:720px}.fam-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 14px;overflow-x:auto}
.fam-tabs button{border:0;background:none;padding:9px 12px;font:inherit;font-size:14px;color:var(--muted);border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap}.fam-tabs button.on{color:var(--ink);border-bottom-color:var(--navy);font-weight:600}
.fam-regeln{display:flex;flex-direction:column;gap:8px;margin:10px 0}.fam-regel{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:10px}.fam-regel span{display:block;font-size:13px;color:var(--muted)}
.fam-rform{margin-top:10px}.fam-rform .grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.fam-ev.vorbei{opacity:.55}
@media (max-width:640px){.fam2{padding:16px 14px 10px}.fam-zeitzeile{grid-template-columns:1fr 1fr}.fam-zeitzeile label:first-child{grid-column:1/-1}.fdlg{padding:8vh 0 0;align-items:flex-end}.fdlgp{border-radius:18px 18px 0 0;max-width:none;max-height:92vh;overflow-y:auto;padding-bottom:max(18px,env(safe-area-inset-bottom))}.fam-ev{grid-template-columns:3.8em minmax(0,1fr);padding:10px 12px}.fam-rform .grid2{grid-template-columns:1fr}.fam-schnell input{font-size:15px}}
/* 1.36.418 (Ernst 04.11. 22:57): Gestaltung freigeben – Gruppen-Überschriften wie die Unterkategorien im Shop (.skuk), etwas kleiner in der Karte */
.skoptik .skuk.skopuk { margin: 16px 0 8px; min-height: 40px; padding: 6px 14px; font-size: 15px; gap: 8px; }
/* 1.36.418 (Ernst 04.11. 22:59): Großansicht als Slideshow mit Titel darüber; grüne Stückzahl = beim letzten Mal bestellt (Bedarf des Objekts) */
.skbed { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 24px; padding: 0 9px; border-radius: 999px; background: #1f8a4c; color: #fff; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; line-height: 1; }
.skoptik .sktag figure { position: relative; }
/* 1.36.419 (Ernst 04.11. 23:32): „Gestaltung freigeben“ grün und größer – oben rechts im Kopf der Karte und unten */
.skoptik .skopkt { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.skoptik .btn.skopfrei { font-size: 16px; min-height: 46px; padding: 10px 20px; box-shadow: 0 2px 6px rgba(23, 131, 79, .25); }
.skoptik .skopft { align-items: center; margin-top: 14px; }
@media (max-width: 560px) { .skoptik .skopkt, .skoptik .btn.skopfrei.oben { width: 100%; } .skoptik .btn.skopfrei { justify-content: center; } .skoptik .skopft .btn.skopfrei { width: 100%; } }
.skoptik .sktag figure > .skbed { position: absolute; top: 6px; left: 6px; z-index: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); pointer-events: none; }
.skoplg { display: flex; align-items: center; gap: 8px; margin: 10px 0 2px; font-size: 13px; color: var(--muted, #5b6875); }
.skoplg .skbed { flex: none; }
.sklb.sklbss { cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.sklbss .sklbhd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; width: min(92vw, 960px); color: #fff; }
.sklbss .sklbhd small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin-bottom: 2px; }
.sklbss .sklbhd b { display: block; font-size: 19px; line-height: 1.3; }
.sklbss .sklbn { flex: none; font-size: 14px; opacity: .85; font-variant-numeric: tabular-nums; }
.sklbss img { height: min(70vh, 900px); cursor: pointer; }
.sklbss .sklbft { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; color: #fff; font-size: 15px; }
.sklbss .sklbnb { opacity: .8; }
.sklbss .sklbtip { width: 100%; text-align: center; font-size: 12px; opacity: .6; }
.sklbpv, .sklbnx { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .92); color: #1f2a33; font-size: 34px; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); }
.sklbpv { left: max(10px, env(safe-area-inset-left)); }
.sklbnx { right: max(10px, env(safe-area-inset-right)); }
.sklbpv:focus-visible, .sklbnx:focus-visible, .sklbx:focus-visible { outline: 3px solid #f5868d; outline-offset: 2px; }
@media (max-width: 600px) { .sklbpv, .sklbnx { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); transform: none; width: 56px; height: 48px; } .sklbss img { height: min(62vh, 900px); } }
/* 1.36.419 (Ernst 04.11. 23:12): Zahlungsabgleich – Bankkonto, Zahlungseingänge mit Vorschlag (sicher/prüfen/erst abschließen) */
.vtzak { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 12px; margin: 6px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--soft, #f6f7f8); }
.vtzas { display: grid; gap: 10px; margin-top: 10px; }
.vtza { border: 1px solid var(--line); border-left-width: 4px; border-radius: 10px; padding: 10px 12px; display: grid; gap: 6px; }
.vtza-sicher, .vtza-wahrscheinlich { border-left-color: #1f8a4c; }
.vtza-pruefen, .vtza-abschliessen { border-left-color: #c77700; }
.vtza-zugeordnet { opacity: .7; }
.vtzah { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.vtzad { color: var(--muted, #5b6875); font-variant-numeric: tabular-nums; }
.vtzab { font-variant-numeric: tabular-nums; }
.vtzain { font-size: 1.1rem; color: #1f8a4c; }
.vtzat { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.vtzaps { display: grid; gap: 4px; }
.vtzap { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 6px 10px; border-radius: 8px; background: var(--soft, #f6f7f8); }
.vtzap .vtzab { margin-left: auto; }
/* 1.36.421 (Ernst 05.11.): Sammelzahlung/Abweichung → in Weclapp; Offene-Posten-Liste für die Finanzplanung */
.vtzaw { margin: 0; padding: 6px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-size: 13px; font-weight: 600; }
.vtza-abgehakt { border-left-color: var(--blue); }
.vtopks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.vtopk { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); }
.vtopk span { font-size: 12.5px; color: var(--muted); font-weight: 600; } .vtopk b { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; } .vtopk small { color: var(--muted); }
.vtopk.bad b { color: var(--bad); } .vtopk.on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue) inset; } .vtopk:hover { border-color: var(--blue); }
.vtoph { margin: 4px 0 8px; font-size: 14px; }
.vtopws { display: grid; gap: 4px; margin-bottom: 14px; max-width: 760px; }
.vtopw { display: grid; grid-template-columns: 112px minmax(0, 1fr) 118px 34px; align-items: center; gap: 10px; font-size: 13px; }
.vtopwl small { display: block; color: var(--muted); font-size: 11.5px; } .vtopw b { text-align: right; font-variant-numeric: tabular-nums; } .vtopw > small { color: var(--muted); }
.vtopwb { height: 14px; border-radius: 4px; background: var(--soft, #f6f7f8); overflow: hidden; } .vtopwb i { display: block; height: 100%; border-radius: 4px; background: var(--go); }
.vtopw.bad .vtopwb i { background: var(--bad); } .vtopw.bad b { color: var(--bad); }
.vtopf { align-items: end; } .vtopf .field { flex: 1 1 260px; } .vtopbad { color: var(--bad); font-weight: 600; }
.vtop .vtopr { grid-template-columns: 170px minmax(0, 1fr) 130px; } .vtop .vtopr[data-opk] { grid-template-columns: minmax(0, 1fr) 130px; }
.vtop .vtopr[data-opk] .vtk { grid-column: auto; grid-row: auto; }
.vtop .vtopr .tag { font-size: 11.5px; align-self: flex-start; }
@media (max-width: 560px) { .vtop .vtopr { grid-template-columns: minmax(0, 1fr) auto; } .vtop .vtopr .vtk { grid-column: 1 / -1; grid-row: 2; } }
.vtopab { margin-top: 14px; }
/* 1.36.422 (Ernst 05.11. 00:23): Offene Posten als Aufklapper in den Rechnungen – zugeklappt nur die Summe */
.vtopd { margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.vtopd > summary { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 16px; cursor: pointer; }
.vtopd > summary::-webkit-details-marker { display: none; }
.vtopd > summary:hover { background: var(--soft); border-radius: 12px; }
.vtopt { font-weight: 700; } .vtopsum { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.vtopx { margin-left: auto; color: var(--muted); transition: transform .15s ease-out; } .vtopd[open] .vtopx { transform: rotate(180deg); }
.vtopd > .vtop { padding: 0 16px 14px; border-top: 1px solid var(--line); }
.vtoptop { align-items: center; margin: 10px 0 4px; } .vtoptop .hint { margin: 0; }
.vtzai { margin: 0; padding: 6px 10px; border-radius: 8px; background: var(--soft); color: var(--ink); font-size: 13px; }
/* 1.36.423 (Ernst 05.11. 00:41): netto und brutto */
.vtopsum small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; } .vtopnet { font-weight: 600; font-variant-numeric: tabular-nums; }
.vtopk em { font-style: normal; font-size: 13px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.vtopw b em { display: block; font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .vtopx { transition: none; } }
@media (max-width: 560px) { .vtopw { grid-template-columns: 78px minmax(0, 1fr) 96px; } .vtopw > small { display: none; } .vtopk b { font-size: 17px; } }
/* 1.36.427: Vertrieb › Sammelrechnungen – je Kundennummer eine Karte, Aufträge zum Anhaken, Hauptauftrag */
.vtsrg.vorschlag { border-left: 4px solid var(--go); }
.vtsrkopf { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.vtsrkopf small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.vtsrtab { margin-top: 10px; border-top: 1px solid var(--line); }
.vtsrz { display: grid; grid-template-columns: 32px 120px minmax(0, 1fr) 110px 56px 120px; gap: 4px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.vtsrz > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vtsrz small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.vtsrz.alt { opacity: .62; }
.vtsrz.entw { background: var(--soft); }
.vtsrck { display: flex; justify-content: center; }
.vtsrck input, .vtsrh input { width: 18px; height: 18px; }
.vtsrbet { text-align: right; align-items: flex-end; }
.vtsrh { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.vtsrh.aus { visibility: hidden; }
.vtsrfuss { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.vtsrfuss .hint { min-width: 0; flex: 1 1 260px; }
@media (max-width: 720px) {
  .vtsrz { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .vtsrz .vtsrvh { grid-column: 2 / 4; }
  .vtsrz .vtsrh { grid-column: 2 / 4; }
  .vtsrz .vtsrh.aus { display: none; }
  .vtsrfuss .btn { width: 100%; }
}
/* 1.36.427: Warenkorb je Kostenstelle (eigene Bestellung, eigene Lieferadresse); Frage „nur diese Lieferung / für alle“ */
.skkg { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-top: 12px; }
.skkg.akt { border-color: var(--blue); }
.skkgk { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.skkgk .grow { min-width: 0; flex: 1 1 260px; }
.skkgk .hint { margin-top: 3px; overflow-wrap: anywhere; }
.skkgkombi { margin-top: 4px; font-size: 13px; color: var(--go); font-weight: 600; }
.skkgsum { display: flex; gap: 10px; align-items: baseline; padding: 12px 12px 0; font-size: 15px; }
.skkgh { margin: 4px 0 0; }
.sklafr { margin: 10px 0 6px; }
.sklawahl { gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 720px) { .skkg { padding: 10px 8px; } .sklawahl .btn { flex: 1 1 100%; } .skkgk .btn { width: 100%; } }
@media (max-width: 600px) { .skla .row > .field { flex: 1 1 140px !important; min-width: 0; } }   /* 1.36.427: Lieferadresse auf dem Handy – Ort nicht zusammengedrückt */
/* 1.36.437: Shop › Meine Angebote, „Angebot erstellen“ im Warenkorb */
.skkorbact .skangbtn { margin-right: 8px; }
.skpal { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
/* 1.36.444 (Ernst 05.11. 18:36): Angebot als Karte – Kopf in der Farbe des Betreibers (--cta: Bahnpark DB-Rot) mit Nummer, Kostenstelle und Preis,
   darunter Objekt, Daten, Positionen und rechts die PDF-Kachel (Vorschau mit Drucken/Herunterladen) */
.skpa { border-radius: 14px; background: var(--card, #fff); overflow: hidden; box-shadow: 0 1px 2px rgba(26, 28, 30, .06), 0 4px 14px rgba(26, 28, 30, .07); border: 1px solid rgba(26, 28, 30, .06); }
.skpa.ziel { box-shadow: 0 0 0 3px var(--accent, #2e7d32); }
.skak { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 12px 18px; background: var(--skkopf, var(--cta, #e9202d)); color: #fff; }
.skak-l { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; min-width: 0; }
.skak-nr { font-weight: 700; font-size: 17px; letter-spacing: .1px; }
.skak-kst { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.skak-sep { opacity: .55; font-weight: 400; font-size: 17px; }
.skak-r { flex: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
/* 1.36.445: Löschen / Ins Archiv klein wie das Kostenstellen-Kästchen, Rückfrage im Kopf */
.skak-x { font: 600 12px/1.2 inherit; font-family: inherit; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer; white-space: nowrap; }
.skak-x:hover, .skak-x:focus-visible { background: rgba(255, 255, 255, .3); outline: none; }
.skak-x.ja { background: #fff; color: #b3121f; border-color: #fff; }
.skak-gl { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; padding: 4px 9px; border-radius: 99px; background: rgba(0, 0, 0, .14); color: #fff; font-variant-numeric: tabular-nums; }
.skak-gl.knapp { background: #ffd34d; color: #5a3d00; }
.skak-weg { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.skak-btn { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 10px; background: #fff; color: var(--skkopf, var(--cta, #e9202d)); font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); transition: transform .12s, box-shadow .12s; }
.skak-btn:hover, .skak-btn:focus-visible { box-shadow: 0 3px 10px rgba(0, 0, 0, .25); transform: translateY(-1px); outline: 2px solid #fff; outline-offset: 2px; }
.skak-ok { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--go, #17834f); }
.skak-ok span { color: #fff; }
.skpa.st-bestellt .skak { background: var(--go, #17834f); }
.skak-st { font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--skkopf, var(--cta, #e9202d)); }
.skpa.st-bestellt .skak-st { color: var(--go, #17834f); }
.skpa.st-abgelaufen .skak-st, .skpa.st-abgelehnt .skak-st, .skpa.st-storniert .skak-st { color: #5b6573; }
.skpa.st-storniert .skak, .skpa.st-abgelehnt .skak { background: #6b7785; }
.skak-p { white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 13px; }
.skak-p b { font-size: 17px; font-weight: 800; }
.skpab { display: flex; gap: 16px; align-items: flex-start; padding: 14px 18px 16px; }
.skpab-i { flex: 1; min-width: 0; display: grid; gap: 6px; }
.skpa-obj { font-weight: 600; font-size: 15px; color: var(--ink, #1f2a33); }
.skpa-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 13px; color: var(--muted, #5b6573); }
.skpa-meta .skpa-obj { margin-right: 4px; }
.skpap { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; color: var(--ink, #1f2a33); }
.skpap li { display: flex; gap: 8px; align-items: baseline; }
.skpap li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--skkopf, var(--cta, #e9202d)); transform: translateY(-2px); }
.skpap li b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.skpapdf { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border: 1px solid var(--line, #dde3ea); border-radius: 12px; color: var(--ink, #1f2a33); text-decoration: none; background: var(--card, #fff); transition: border-color .15s, box-shadow .15s, color .15s; }
.skpapdf span { display: grid; line-height: 1.2; }
.skpapdf b { font-size: 15px; }
.skpapdf small { font-size: 12px; color: var(--muted, #5b6573); }
.skpapdf:hover, .skpapdf:focus-visible { border-color: #d42e2e; color: #d42e2e; box-shadow: 0 2px 10px rgba(212, 46, 46, .15); }
.skpa-f { margin: 0; padding: 0 18px 16px; display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.skpa-f > .hint { margin: 0; flex: 1 1 260px; min-width: 0; }
.skpa-x { white-space: nowrap; font-size: 13px; }
.skpa-weg { display: inline-flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-size: 13px; padding: 6px 10px; border-radius: 10px; background: #fdecec; color: #8a1c1c; }
.skpa.st-abgelaufen .skak, .skpa.st-ersetzt .skak { background: #6b7785; }
button.skak-btn { border: 0; font-family: inherit; cursor: pointer; }
/* 1.36.448 (Ernst 19:45 „Bestätigen-Button mit grünem BG und weißem Rahmen“) */
a.skak-btn { background: var(--go, #17834f); color: #fff; border: 2px solid #fff; padding: 7px 16px; }
.skak-btn.akt { gap: 7px; background: var(--blue, #ab0e18); color: #fff; }
.skak-btn.akt svg { flex: none; }
/* 1.36.446 (Ernst 19:15): abgelaufene Angebote durchgehend grau */
.skpa.st-abgelaufen { background: #f4f6f8; }
.skpa.st-abgelaufen .skpa-obj, .skpa.st-abgelaufen .skpap { color: #6b7785; }
.skpa.st-abgelaufen .skpap li::before { background: #9aa4af; }
.skpa.st-abgelaufen .skpapdf { background: #f4f6f8; filter: grayscale(1); }
.skarchiv > summary .skmond-t::after { content: " · abgelegt"; font-weight: 400; font-size: 13px; color: var(--muted, #5b6573); }
.skpa .row { align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .skkorbact .skangbtn { margin-right: 0; } .skak { padding: 12px 14px; } .skak-r { flex: 1 1 100%; } .skak-btn { flex: 1; justify-content: center; } .skak-sepp { display: none; } .skak-p { flex: 1 1 100%; } .skpab { padding: 12px 14px 14px; } .skpa-f { padding: 0 14px 14px; } .skpapdf { padding: 8px 10px; } .skpapdf small { display: none; } }

/* 1.36.455 (Ernst 05.11. 22:04): „Meine Bestellungen“ in der Optik von „Meine Angebote“ – Kopf in der Farbe des Betreibers (--cta: Bahnpark magenta, Contipark navy),
   Nummer | Kostenstelle | Preis, rechts der Stand; Karte mit Schatten und runden Ecken; der Bearbeitungszustand (Verlauf) bleibt wie er ist */
.skmeine { gap: 10px; }
.skme { border-radius: 14px; background: var(--card, #fff); overflow: hidden; box-shadow: 0 1px 2px rgba(26, 28, 30, .06), 0 4px 14px rgba(26, 28, 30, .07); border: 1px solid rgba(26, 28, 30, .06); }
.skme .skmeh { padding: 12px 18px; background: var(--skkopf, var(--cta, #e9202d)); color: #fff; gap: 6px 16px; align-items: center; }
.skmeh-l { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; min-width: 0; }
.skmeh-nr { font-size: 17px; letter-spacing: .1px; }
.skmeh-nr b { font-weight: 700; }
.skmeh-r { flex: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.skme-st { font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #fff; color: var(--skkopf, var(--cta, #e9202d)); white-space: nowrap; }
.skme-st.go { color: var(--go, #17834f); }
.skme-st.warn { color: var(--warn, #8a4a06); }
.skme-st.bad { color: #b3121f; }
.skme-aus { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .16); white-space: nowrap; }
.skme.storno .skmeh { background: #6b7785; }
.skmebd { padding: 12px 18px 4px; display: grid; gap: 6px; }
.skmebd .skpa-meta b { color: var(--ink, #1f2a33); font-weight: 600; }
.skme-tag { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: var(--soft, #f2f3f4); color: var(--navy, #2e3237); white-space: nowrap; }
.skme-tag.meine { background: var(--go-soft, #ecf8f1); color: var(--go, #17834f); }
.skme-sieht { margin: 0; }
.skme .skhand { padding: 0; }
.skme .skvl { margin: 8px 18px 10px; }
.skme > .skpak, .skme > .skgraf, .skme > .skta, .skme > .skstorno, .skme > .skvk, .skme > .skwarte, .skme > .skprio, .skme > .msg { margin-left: 18px; margin-right: 18px; }
.skme .skmefuss { padding: 2px 18px 12px; margin: 0; }
.skme .skmetog { margin: 0; }
.skme .skmeb { padding: 0 18px 16px; }
@media (max-width: 600px) { .skme .skmeh { padding: 12px 14px; } .skmeh-r { flex: 1 1 100%; justify-content: flex-start; } .skmebd { padding: 12px 14px 4px; } .skme .skvl { margin-left: 14px; margin-right: 14px; } .skme > .skpak, .skme > .skgraf, .skme > .skta, .skme > .skstorno, .skme > .skvk, .skme > .skwarte, .skme > .skprio, .skme > .msg { margin-left: 14px; margin-right: 14px; } .skme .skmefuss { padding: 2px 14px 12px; } .skme .skmeb { padding: 0 14px 14px; } }

/* 1.36.455: YP Mail im Zahnrad-Menü */
#gmenu a.gmmail { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: inherit; text-decoration: none; border-top: 1px solid var(--line); }
#gmenu a.gmmail:hover, #gmenu a.gmmail:focus-visible { background: var(--soft, #f2f3f4); outline: none; }
#gmenu a.gmmail small { display: block; font-size: 11.5px; line-height: 1.3; }
.mnavs a.mnavmail { display: block; padding: 10px 14px; color: inherit; text-decoration: none; font-weight: 600; }
/* 1.36.456: Kopf der Angebots- und Bestellkarten in der Farbe des Betreibers (--skkopf aus lookApply: Bahnpark DB-Rot, Contipark Navy) */
/* 1.36.457: „Mail“ oben neben „Kalender“ (Link zu YP Mail) */
header.top a.hkal { text-decoration: none; }
/* 1.36.475 (Ernst 07.11. 09:51): Cockpit – nur Ernst (cockpit.js, in der App über cpframe.js).
   1.36.482 (Ernst 07.11. 18:41): „Dashboard“ – „alles mehr nach einem Dashboard aussehen lassen wie in meinen Beispielbildern, eher optisch ansehnlich“; 19:01: „eher in Blautönen,
   hell / dunkelblau“: dunkelblaue Fläche (Firmen-Navy) mit hellblauem Schimmer, Karten mit leichtem Verlauf, Kennzahlen mit Symbol und 14-Tage-Verlauf, Diagramme als SVG.
   Datenfarben: Blaustufen hell → mittel (Paletten-Prüfer „ordinal“, dunkel, Fläche #272a2d: #d6dadd, #ef3b47, #ec303d), dazu Legende/Werte und gestrichelte Linie als zweites Merkmal;
   Rot nur für Status (überfällig, wichtig). Schrift nie in Datenfarbe. */
html[data-site="cockpit"], html.gfdb-an[data-site="grafik"] {
  --db-bg: #1b1d1f; --db-card: #272a2d; --db-card2: #32363b; --db-line: rgba(246, 149, 155, .11); --db-line2: rgba(246, 149, 155, .2);
  --db-ink: #f3f4f6; --db-muted: #b3bac0; --db-bad: #ff7b88; --db-good: #6fdcb4; --db-warn: #f2b45a; --db-hell: #ef3b47; --db-mittel: #ec303d; --db-blass: #d6dadd;
}
html[data-site="cockpit"] body, html.gfdb-an[data-site="grafik"] body { background: var(--db-bg) radial-gradient(1200px 520px at 85% -10%, rgba(239, 59, 71, .16), transparent 60%) no-repeat; background-attachment: fixed; }
/* 1.36.504 (Ernst 09.11. 11:34, Grafik › Übersicht › „Neuer Korrekturabzug“: „hier kann man nix lesen“): die Schriftfarbe der dunklen Fläche gilt nur im Dashboard selbst
   (.cp.db, .cppop setzen sie) – Fenster, die über der Seite aufgehen (Korrekturabzug, Assistent, Vorschau, Rückfragen), behalten dunkle Schrift auf weiß. */
html[data-site="cockpit"] body::after, html.gfdb-an[data-site="grafik"] body::after { content: ''; position: fixed; inset: auto auto -260px -200px; width: 720px; height: 520px; background: radial-gradient(closest-side, rgba(236, 48, 61, .16), transparent); pointer-events: none; z-index: 0; }
html[data-site="cockpit"] header.top, html.gfdb-an[data-site="grafik"] header.top { background: linear-gradient(90deg, #1d1f22 0%, #2e3237 55%, #920c15 100%); }
html[data-site="cockpit"] nav.tabs, html.gfdb-an[data-site="grafik"] nav.tabs { background: rgba(27, 29, 31, .9); border-bottom-color: var(--db-line); }
html[data-site="cockpit"] nav.tabs button, html.gfdb-an[data-site="grafik"] nav.tabs button { color: var(--db-muted); }
html[data-site="cockpit"] nav.tabs button.on, html.gfdb-an[data-site="grafik"] nav.tabs button.on { color: var(--db-ink); box-shadow: inset 0 -3px 0 var(--db-hell); }
html[data-site="cockpit"] #main, html.gfdb-an[data-site="grafik"] #main { max-width: 1440px; position: relative; z-index: 1; }
.cp.db { width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; color: var(--db-ink); font-variant-numeric: tabular-nums; }
.cp.db button { font: inherit; color: inherit; }
.cp.db :focus-visible { outline: 2px solid #f58990; outline-offset: 2px; border-radius: 10px; }
.cphead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 18px; padding-top: 4px; }
.cphead h1 { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--db-ink); text-wrap: balance; }
.cpsub { margin: 6px 0 0; color: var(--db-muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.cpsub b { color: var(--db-ink); font-weight: 700; }
.cpab { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(239, 59, 71, .16); border: 1px solid rgba(239, 59, 71, .35); color: #e5e7e9; font-size: 12.5px; font-weight: 700; }
.cpakt { display: flex; flex-wrap: wrap; gap: 8px; }
.cpbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--db-line2); background: rgba(255, 255, 255, .04); color: var(--db-ink); font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color .15s, border-color .15s; }
.cpbtn svg { width: 18px; height: 18px; flex: none; }
.cpbtn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(245, 137, 144, .45); }
.cpbtn.pri { border-color: transparent; background: linear-gradient(135deg, #b30f1a, #c82a35); box-shadow: 0 6px 18px rgba(179, 15, 26, .35); }
.cpbtn.pri:hover { filter: brightness(1.08); }
.cpbtn.rund { width: 40px; padding: 0; justify-content: center; }
.cpbtn:disabled { opacity: .5; cursor: default; }
.cpmsg { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(255, 123, 136, .12); border: 1px solid rgba(255, 123, 136, .35); color: #ffd4d9; }
.cphint { margin: 8px 0 0; font-size: 12.5px; color: var(--db-muted); line-height: 1.45; }
.cpleer { margin: 6px 0; color: var(--db-muted); }
.cpbad { color: var(--db-bad); font-weight: 700; } .cpplus { color: var(--db-good); font-weight: 700; }
/* Kennzahlen */
.cpkpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .cpkpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .cpkpi { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cpk { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'i l' 'v v' 'c c' 's s' 'p p'; align-items: center; column-gap: 10px; text-align: left; min-width: 0; padding: 14px 14px 10px; border-radius: 16px;
  border: 1px solid var(--db-line); background: linear-gradient(160deg, var(--db-card2), var(--db-card) 70%); cursor: pointer; overflow: hidden; transition: border-color .15s, transform .15s; }
.cpk::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--f), transparent 80%); opacity: .9; }
.cpk:hover { border-color: color-mix(in srgb, var(--f) 55%, transparent); transform: translateY(-1px); }
.cpki { grid-area: i; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--f), color-mix(in srgb, var(--f) 40%, #34383c)); box-shadow: 0 4px 14px color-mix(in srgb, var(--f) 35%, transparent); }
.cpki svg { width: 19px; height: 19px; }
.cpkl { grid-area: l; font-size: 13px; font-weight: 700; color: var(--db-muted); line-height: 1.25; }
.cpkv { grid-area: v; margin-top: 10px; font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--db-ink); }
.cpks { grid-area: s; margin-top: 6px; font-size: 12.5px; color: var(--db-muted); line-height: 1.35; min-height: 2.7em; }
.cpk .cpspark { grid-area: p; }
/* 19:04: Vergleich offen ↔ erledigt (seit 01.10.) */
.cpcmp { grid-area: c; display: flex; flex-direction: column; gap: 5px; margin-top: 10px; font-size: 12px; color: var(--db-muted); line-height: 1.3; }
.cpcmp > i { display: block; height: 6px; border-radius: 3px; background: rgba(236, 48, 61, .35); overflow: hidden; }
.cpcmp > i b { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f58990, var(--db-hell)); }
.cpcmp b { color: var(--db-ink); font-weight: 700; }
.cpspark { display: block; width: 100%; height: 36px; margin-top: 6px; overflow: visible; }
.cpspend { stroke: var(--db-card); stroke-width: 2; }
.cphit { fill: transparent; } .cparea .cphit:hover, .cpspark .cphit:hover { fill: rgba(255, 255, 255, .05); }
/* Raster der Kästen */
.cpgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (min-width: 1000px) { .cpgrid { grid-template-columns: repeat(12, minmax(0, 1fr)); } .cpbox.w8 { grid-column: span 8; } .cpbox.w4 { grid-column: span 4; } .cpbox.w7 { grid-column: span 7; } .cpbox.w5 { grid-column: span 5; } .cpbox.w12 { grid-column: 1 / -1; } .cpbox.kt { grid-row: span 3; } }
.cpbox { min-width: 0; padding: 16px 18px 18px; border-radius: 16px; border: 1px solid var(--db-line); background: linear-gradient(170deg, var(--db-card2), var(--db-card) 55%); box-shadow: 0 10px 30px rgba(13, 14, 15, .35); container-type: inline-size; }
.cpbh { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 12px; }
.cpbh h2 { margin: 0; font-size: 16px; font-weight: 800; color: var(--db-ink); letter-spacing: -.005em; }
.cpbk { font-size: 12.5px; color: var(--db-muted); }
.cpmehr { margin-left: auto; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--db-line2); background: transparent; color: #f8a6ac !important; font-size: 12.5px !important; font-weight: 700; cursor: pointer; }
.cpmehr:hover { background: rgba(245, 137, 144, .1); }
.cpuh { margin: 16px 0 6px; font-size: 13px; font-weight: 800; color: var(--db-muted); }
.cpbox > .cpuh:first-of-type { margin-top: 4px; }
/* Fläche je Woche */
.cplegs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -2px 0 6px; }
.cpleg { display: inline-flex; align-items: baseline; gap: 7px; font-size: 13px; color: var(--db-muted); }
.cpleg i { width: 14px; height: 10px; border-radius: 3px; align-self: center; background: var(--f); }
.cpleg i.strich { height: 0; border-radius: 0; background: none; border-top: 2px dashed var(--f); }
.cpleg b { font-size: 18px; color: var(--db-ink); font-weight: 800; } .cpleg small { font-size: 11.5px; }
.cparea, .cpbars { display: block; width: 100%; height: auto; overflow: visible; }
.cpgl { stroke: var(--db-line); stroke-width: 1; }
.cpax { fill: var(--db-muted); font-size: 11px; font-family: inherit; }
.cpdot2 { stroke: var(--db-card); stroke-width: 2; }
/* Ring */
.cpringw { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; min-height: calc(100% - 40px); }
.cpring { width: 176px; height: 176px; flex: none; }
.cpringbg { stroke: rgba(246, 149, 155, .08); }
.cpringz { fill: var(--db-ink); font-size: 30px; font-weight: 800; font-family: inherit; }
.cpringu { fill: var(--db-muted); font-size: 12px; font-family: inherit; }
.cprl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1 1 160px; min-width: 0; }
.cprl li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--db-muted); }
.cprl li i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.cprl li span { flex: 1; min-width: 0; } .cprl li b { color: var(--db-ink); font-size: 15px; }
.cprl li.cpbadl i { background: transparent; border: 2px solid var(--db-bad); } .cprl li.cpbadl b { color: var(--db-bad); }
/* Team: Zeitleiste */
.cptlw { --tln: 118px; --tlh: 46px; }
.cptlax, .cptl { display: grid; grid-template-columns: var(--tln) minmax(0, 1fr) var(--tlh); gap: 12px; align-items: center; }
.cptlt { position: relative; height: 18px; }
.cptlt > span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11px; color: var(--db-muted); }
.cptlt > span.a { transform: none; } .cptlt > span.z { transform: translateX(-100%); } .cptlt > .cpnow { top: -1px; }
.cpnow { z-index: 1; } .cpnow b { display: inline-block; padding: 0 6px; border-radius: 6px; background: #f3f4f6; color: #2c3033; font-weight: 800; font-size: 10.5px; line-height: 16px; }
.cptll { list-style: none; margin: 0; padding: 0; }
.cptl { padding: 7px 0; border-top: 1px solid var(--db-line); } .cptl:first-child { border-top: 0; }
.cptln { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cptln b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cptln small { font-size: 11.5px; color: var(--db-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cptlb { position: relative; height: 14px; border-radius: 7px; background: rgba(246, 149, 155, .07); }
.cpseg { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: linear-gradient(90deg, #ec303d, #ef3b47); }
.cpseg.laeuft { background: linear-gradient(90deg, #ec303d, #f58990); box-shadow: 0 0 10px rgba(245, 137, 144, .45); }
.cpps { position: absolute; top: 2px; bottom: 2px; border-radius: 5px; background: repeating-linear-gradient(135deg, #d6dadd 0 3px, rgba(214, 218, 221, .3) 3px 6px); }
.cpnl { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #f3f4f6; border-radius: 1px; opacity: .85; }
.cptlb em { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 8px; font-size: 11px; font-style: normal; color: #e5e7e9; background: repeating-linear-gradient(135deg, rgba(239, 59, 71, .16) 0 6px, rgba(239, 59, 71, .1) 6px 12px); border-radius: 7px; white-space: nowrap; overflow: hidden; }
.cptlh { text-align: right; font-weight: 800; font-size: 14px; }
.cptl.s-aus .cptln b, .cptl.s-abwesend .cptln b { color: var(--db-muted); }
.cptl.s-arbeitet .cptln b::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: #2fd3a0; vertical-align: 2px; box-shadow: 0 0 0 3px rgba(47, 211, 160, .18); }
.cptl.s-pause .cptln b::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--db-warn); vertical-align: 2px; }
@container (max-width: 460px) { .cptlw { --tln: 84px; --tlh: 38px; } .cptlax, .cptl { gap: 8px; } .cptln .nn { display: none; } }
/* Listen */
.cplist { list-style: none; margin: 0; padding: 0; }
.cplist > li { border-top: 1px solid var(--db-line); } .cplist > li:first-child { border-top: 0; }
.cpter, .cprow { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; min-width: 0; }
.cpzt { flex: none; width: 60px; font-weight: 800; color: var(--db-ink); line-height: 1.3; }
.cpzt small { display: block; font-weight: 500; color: var(--db-muted); font-size: 11.5px; }
.cpzt.ab { color: #f58990; }
.cptx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; overflow-wrap: anywhere; }
.cptx b { font-weight: 700; } .cptx small { color: var(--db-muted); font-size: 12.5px; }
.cpter.privat { position: relative; } .cpter.privat .cpzt { color: #d6dadd; }
.cpwer { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; max-width: 40%; }
.cpwer i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #ef3b47, #ec303d); border: 2px solid var(--db-card); margin-left: -8px; }
.cpwer i:first-child { margin-left: 0; }
.cptag { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 18px; vertical-align: 1px; background: rgba(246, 149, 155, .12); color: #e5e7e9; }
.cptag.bad { background: rgba(255, 123, 136, .16); color: #ffc2c9; }
.cpnr { flex: none; min-width: 74px; font-size: 12.5px; font-weight: 700; color: var(--db-muted); padding-top: 1px; }
.cpzeit { margin-left: auto; flex: none; font-size: 12px; color: var(--db-muted); }
/* E-Mails */
.cpmw { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@container (min-width: 600px) { .cpmw { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); } }
.cphb { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.cphb li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'n z' 'b b'; gap: 4px 8px; font-size: 13px; color: var(--db-muted); }
.cphb li span { grid-area: n; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cphb li em { grid-area: z; font-style: normal; font-weight: 800; color: var(--db-ink); }
.cphb li i { grid-area: b; height: 8px; border-radius: 4px; background: rgba(246, 149, 155, .08); overflow: hidden; }
.cphb li i b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--f) 55%, transparent), var(--f)); }
.cpmails { display: flex; flex-direction: column; gap: 8px; } .cpmails > li { border-top: 0; }
.cpmail { display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--db-line); border-left: 3px solid rgba(246, 149, 155, .25); background: rgba(255, 255, 255, .025); cursor: pointer; min-width: 0; }
.cpmail:hover { background: rgba(255, 255, 255, .06); } .cpmail.wichtig { border-left-color: var(--db-bad); }
.cpmk { display: flex; align-items: baseline; gap: 6px; font-size: 13px; min-width: 0; } .cpmk b { color: var(--db-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cpmk small { color: var(--db-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cpmb { font-weight: 700; font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; }
.cpmz { font-size: 12.5px; color: var(--db-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cpyp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--db-line); }
.cpyp > span { width: 100%; font-size: 12.5px; font-weight: 700; color: var(--db-muted); }
.cpypk { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px; border: 1px solid var(--db-line2); color: var(--db-ink); text-decoration: none; font-size: 12.5px; }
.cpypk b { min-width: 22px; text-align: center; border-radius: 999px; padding: 0 6px; background: rgba(246, 149, 155, .12); } .cpypk.an b { background: var(--db-mittel); color: #fff; }
.cpypk:hover { border-color: rgba(245, 137, 144, .5); }
/* Zu erledigen */
.cpauf { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 0; border: 0; background: none; text-align: left; cursor: pointer; }
.cpauf:disabled { cursor: default; } .cpauf:not(:disabled):hover span:not(.cpn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 137, 144, .5); }
.cpn { flex: none; min-width: 34px; text-align: center; padding: 3px 8px; border-radius: 9px; background: rgba(212, 26, 38, .18); color: #dcdfe2; font-weight: 800; }
.cpauf.warn .cpn { background: rgba(242, 180, 90, .18); color: #ffd9a3; }
.cpauf span:not(.cpn):not(.cppf) { flex: 1 1 auto; min-width: 0; font-size: 14px; } .cppf { color: var(--db-muted); font-size: 18px; line-height: 1; }
/* Umsatz */
.cpbars g rect { opacity: .55; transition: opacity .15s; } .cpbars g.akt rect, .cpbars g:hover rect { opacity: 1; }
.cpbv { fill: var(--db-ink); font-size: 11px; font-weight: 700; font-family: inherit; }
.cpnb { font-size: .6em; font-weight: 700; color: var(--db-muted); margin-left: 2px; vertical-align: super; line-height: 0; letter-spacing: 0; } .cpnbs { font-size: 7.5px; fill: var(--db-muted); font-weight: 700; }
.cpzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0 0; }
.cpzahlen div { border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--db-line); }
.cpzahlen div.bad { border-color: rgba(255, 123, 136, .35); background: rgba(255, 123, 136, .07); }
.cpzahlen dt { font-size: 12.5px; color: var(--db-muted); font-weight: 700; }
.cpzahlen dd { margin: 3px 0 0; font-size: 20px; font-weight: 800; color: var(--db-ink); }
.cpzahlen dd small { display: block; font-size: 12px; font-weight: 500; color: var(--db-muted); }
.cpzahlen div.bad dd { color: #ffc2c9; }
/* 19:05/19:10: Karte Deutschland und Österreich – offene Aufträge je Lieferort */
.cpkarte { position: relative; }
.cpkarte svg { display: block; width: 100%; height: auto; max-height: 640px; margin: 0 auto; overflow: visible; }
.cpland path { fill: #34383d; stroke: rgba(246, 149, 155, .22); stroke-width: .7; stroke-linejoin: round; } .cpland path.at { fill: #2c3033; }
.cpland path:hover { fill: #40464c; }
/* 1.36.560: Nachbarländer nur angedeutet – helle feine Linie, kaum Fläche, zum Rand hin ausgeblendet; nicht anklickbar */
.cpnachbar { pointer-events: none; } .cpnachbar path { fill: rgba(240, 160, 165, .07); stroke: rgba(249, 181, 186, .5); stroke-width: .6; stroke-linejoin: round; }
.cpgrenze { fill: none; stroke: #f58990; stroke-width: 1.1; stroke-linejoin: round; opacity: .75; }
.cppt { cursor: pointer; } .cppt:hover .cpptk { fill: #f58990; }
.cpptg { fill: rgba(239, 59, 71, .18); }
.cpptg.ot { fill: none; stroke: #d6dadd; stroke-width: 1.4; stroke-dasharray: 3 2.5; }
.cpktleg { display: flex; align-items: center; gap: 8px; } .cpktleg i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed #d6dadd; flex: none; }
/* 19:49: Schwerin (Büro) heller und zurückhaltend; Hover-Karte mit den Aufträgen; Pop-up mit der Detailseite (mehrere: Auswahl oben) */
.cppt.heim .cpptk { fill: #e2e5e8; stroke: #f3f4f6; opacity: .85; } .cppt.heim .cpptg { fill: rgba(226, 229, 232, .14); } .cppt.heim .cpptz { fill: #2c3033; }
.cppt:focus-visible { outline: none; } .cppt:focus-visible .cpptk { stroke: #fff; stroke-width: 2.4; }
.cphov { position: absolute; z-index: 5; width: min(320px, 92%); padding: 10px 12px; border-radius: 12px; background: #222528; border: 1px solid var(--db-line2); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); font-size: 12.5px; color: var(--db-ink); pointer-events: none; }
.cphov > b { display: block; font-size: 13px; margin-bottom: 6px; }
.cphov ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cphov li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; line-height: 1.3; } .cphov .nr { font-weight: 800; color: #f8a6ac; }
.cphov li em { font-style: normal; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cphov li small, .cphov > small { color: var(--db-muted); display: block; }
.cphov .tip { margin-top: 6px; color: #f8a6ac; }
@media (hover: none) { .cphov { display: none; } }
.cppop { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 16px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); background: rgba(12, 13, 15, .66); }
.cppop[hidden] { display: none; }
.cppop { color: var(--db-ink); font-variant-numeric: tabular-nums; } .cppop button, .cppop select { font-family: inherit; color: inherit; }
.cppopb { width: min(760px, 100%); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--db-line2); background: linear-gradient(170deg, var(--db-card2), var(--db-card) 55%); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); overflow: hidden; }
.cppoph { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--db-line); }
.cppoph > div { display: flex; flex-direction: column; min-width: 0; } .cppoph b { font-size: 17px; } .cppoph small { color: var(--db-muted); font-size: 12.5px; }
.cppoph select { flex: 1 1 260px; min-width: 0; max-width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--db-line2); background: #222528; color: var(--db-ink); font: inherit; font-size: 14px; }
.cppoph .cpbtn.rund { margin-left: auto; }
.cppopi { overflow: auto; padding: 14px 18px 18px; }
.cppopt { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; } .cppopt h3 { margin: 0 6px 0 0; font-size: 20px; }
.cppopk { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 18px; margin: 0; }
.cppopk dt { font-size: 12px; color: var(--db-muted); font-weight: 700; } .cppopk dd { margin: 2px 0 0; line-height: 1.4; overflow-wrap: anywhere; } .cppopk dd small { color: var(--db-muted); }
.cppopi h4 { margin: 16px 0 6px; font-size: 13px; color: var(--db-muted); }
.cppopl { list-style: none; margin: 0; padding: 0; } .cppopl li { display: grid; grid-template-columns: minmax(64px, auto) minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--db-line); font-size: 13.5px; } .cppopl li:first-child { border-top: 0; }
.cppopa { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
/* 20:02: Pop-up je Kennzahl – Gruppen, Liste mit Tagen und Beträgen, Summe */
.cppopb.cpdet { width: min(980px, 100%); }
.cppoph input[data-such] { flex: 1 1 200px; min-width: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--db-line2); background: #222528; color: var(--db-ink); font-size: 14px; }
.cpdn { font-size: 12px; color: var(--db-muted); }
.cpdg { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.cpdg li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--db-line); background: rgba(255, 255, 255, .03); font-size: 12.5px; color: var(--db-muted); }
.cpdg li b { color: var(--db-ink); font-size: 15px; } .cpdg li em { grid-column: 1 / -1; font-style: normal; color: var(--db-ink); font-weight: 700; }
.cpdk, .cpdl > li > button { display: grid; grid-template-columns: 76px minmax(0, 1fr) 130px 150px; gap: 4px 12px; align-items: baseline; }
.cpdk.mitb, .cpdl.mitb > li > button { grid-template-columns: 76px minmax(0, 1fr) 130px 150px 116px; }
.cpdk { padding: 0 8px 6px; font-size: 11.5px; font-weight: 700; color: var(--db-muted); border-bottom: 1px solid var(--db-line2); } .cpdk span:nth-child(5) { text-align: right; }
.cpdl { list-style: none; margin: 0; padding: 0; } .cpdl > li { border-bottom: 1px solid var(--db-line); }
.cpdl > li > button { width: 100%; padding: 8px; border: 0; background: none; text-align: left; cursor: pointer; font-size: 13.5px; border-radius: 8px; }
.cpdl > li > button:hover { background: rgba(255, 255, 255, .05); }
.cpdl .c1 { font-weight: 800; color: #f8a6ac; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpdl .c2, .cpdl .c3, .cpdl .c4 { min-width: 0; display: flex; flex-direction: column; } .cpdl .c2 b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpdl small { color: var(--db-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cpdl .c4 { color: var(--db-muted); font-size: 12.5px; }
.cpdl .c5 { text-align: right; font-weight: 800; }
.cpdl > li.ueber { box-shadow: inset 3px 0 0 var(--db-bad); }
.cpdf { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--db-line2); font-size: 14px; color: var(--db-muted); } .cpdf b { color: var(--db-ink); font-size: 17px; }
.cpringw[data-det] { cursor: pointer; border-radius: 12px; } .cpringw[data-det]:hover .cpring { filter: brightness(1.12); }
@media (max-width: 700px) { .cpdk { display: none; } .cpdl > li > button, .cpdl.mitb > li > button { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'c2 c5' 'c1 c3' 'c4 c4'; }
  .cpdl .c1 { grid-area: c1; } .cpdl .c2 { grid-area: c2; } .cpdl .c3 { grid-area: c3; text-align: right; } .cpdl .c4 { grid-area: c4; } .cpdl .c5 { grid-area: c5; } }
.cplink { border: 0; background: none; padding: 0; color: #f8a6ac; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; }
.cpptl { stroke: #d6dadd; stroke-width: .8; opacity: .7; } .cpptp { fill: #f3f4f6; }
.cpptk { fill: var(--db-hell); stroke: #f3f4f6; stroke-width: 1.2; }
.cpptz { fill: #222528; font-size: 9.5px; font-weight: 800; text-anchor: middle; dominant-baseline: middle; font-family: inherit; pointer-events: none; } .cpptz.k { font-size: 8px; }
.cptop { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; }
.cptop li { border-bottom: 1px solid var(--db-line); font-size: 13.5px; }
.cptop li button { display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 5px 0; border: 0; background: none; text-align: left; cursor: pointer; } .cptop li button:hover span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 137, 144, .5); }
.cptop li.heim { color: var(--db-muted); }
.cptop li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cptop li small.ot { display: block; } .cptop li small { color: var(--db-muted); font-size: 11px; } .cptop li b { font-weight: 800; }
/* Laufend: volle Breite, drei Spalten */
.cplauf { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 28px; }
.cplauf > div > .cpuh:first-child { margin-top: 2px; }
@media (max-width: 560px) { .cpring { width: 150px; height: 150px; } .cphead h1 { font-size: 25px; } .cpkv { font-size: 28px; } .cpk { padding: 12px 12px 8px; } .cpki { width: 32px; height: 32px; } .cpbox { padding: 14px 14px 16px; } .cpakt { width: 100%; } .cpakt .cpbtn:not(.rund) { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .cpk, .cpbtn, .cpbars g rect { transition: none; } .cpk:hover { transform: none; } }
/* 1.36.476 (Ernst 07.11. 10:18): „Dein Tag“ (Tageszusammenfassung zum Anhören) und Gesprächsmodus im Sprachassistenten */
.kiakr { display: flex; align-items: center; gap: 6px; flex: none; }
.kiatagbtn { white-space: nowrap; }
.kiatag { align-self: stretch; display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-left: 5px solid #f0a400; border-radius: 10px; background: var(--warn-bg); min-width: 0; }
.kiatagk { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; } .kiatagk > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.kiatagk b { font-size: 16px; } .kiatagk .hint { margin: 0; font-size: 12.5px; } .kiatagk .kiax { font-size: 18px; padding: 0 2px; }
.kiatagt { margin: 0; line-height: 1.55; font-size: 15.5px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; max-width: 68ch; }
.kiatagb { display: flex; flex-wrap: wrap; gap: 8px; } .kiatagb .btn { min-height: 40px; }
.kiatagm { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: flex-start; } .kiatagm input { margin-top: 2px; } .kiatagh { margin: -4px 0 0; font-size: 12.5px; }
.kiagsp { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--muted); }
.kiagsp .link { font-size: 13px; } .kiagdot { width: 8px; height: 8px; border-radius: 50%; background: #2e9d5b; flex: none; animation: kiapuls 1.6s ease-in-out infinite; }
/* 1.36.846: „Dein Tag“ hieß wie die Tagesleiste der Zeiterfassung (.zttag/.zttagi) – gelber Kasten und 26-px-Hinweis dort, „Anhören“ entfernte die Tagesleiste */
.ztdt { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 12px; border-left: 5px solid #f0a400; background: var(--warn-bg); padding-block: 12px; }
.ztdt > div { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; gap: 1px; } .ztdt b { font-size: 16px; } .ztdt .hint { margin: 0; font-size: 13px; }
.ztdti { font-size: 26px; line-height: 1; flex: none; } .ztdt .btn { flex: none; }
@media (prefers-reduced-motion: reduce) { .kiagdot { animation: none; } }
@media (max-width: 560px) { .kiatagbtn { padding-inline: 8px; } .kiak { padding-inline: 14px; } }
.fam-kopfb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }   /* 1.36.476: „☀️ Mein Tag“ (Privates zum Anhören) neben „+ Termin“ */
/* 1.36.477: Stimmenauswahl auch ohne Vorlesen, Zahl der Stimmen, „↻ Liste neu laden“ */
.kiastimz { color: var(--muted); font-weight: 400; margin-left: 4px; } .kiastimz::before { content: "· "; }
.kiastimd .btn { margin-top: 6px; } .kiastim1 { margin: 0; font-size: 13px; }
/* 1.36.489: Kampagnen löschen (Mülltonne), Bereiche bevorzugen, Druckdaten je Format bei der Kampagne */
.mfkli { display: flex; align-items: flex-start; gap: 8px; }
.mfkli b { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.mfkdel { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; margin: -5px -5px -4px 0; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.mfkdel svg { width: 17px; height: 17px; }
.mfkdel:hover, .mfkdel:focus-visible { color: var(--bad); border-color: var(--bad); background: var(--bad-bg); }
.mfkdel.aus { opacity: .45; }
.mfkdel.aus:hover, .mfkdel.aus:focus-visible { color: var(--muted); border-color: var(--line); background: transparent; }
.mfkl li.mfdelq, .mfkl li.mfdelq:hover { border-color: var(--bad); background: var(--bad-bg); }
.mfdelf { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); cursor: default; }
.mfdelf > span { font-size: 12.5px; color: var(--ink); }
.mfdelf .row { gap: 6px; flex-wrap: wrap; }
.mfkopf .row { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mfkopf .btn svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 2px; }
.mfbev { gap: 6px; }
.mfbev .chip { font-size: 13px; padding: 5px 11px; }
.mfanf.mfdruck { display: block; }
.mfdruck .mfrowh { gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.mfdruck .mfrowh > div { flex: 1 1 320px; min-width: 0; }
.mfdruck .mfrowh p { margin: 4px 0 0; }
.mfddt { margin-top: 8px; }
.mfddt td { vertical-align: top; }
.mfddf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 2px 0; }
.mfddf a { font-weight: 700; overflow-wrap: anywhere; }
.mfddb { white-space: nowrap; text-align: right; }
.mfddb .btn + .btn, .mfddb label + .btn { margin-left: 4px; }
@media (max-width: 700px) { .mfddb { white-space: normal; text-align: left; } }
.ddkw { display: flex; flex-direction: column; gap: 6px; }
.ddkw .field { max-width: 640px; }
.ddkw p { margin: 0; }
.ddout { flex-wrap: wrap; gap: 6px; align-items: center; }
.ddout .ddab { margin-right: auto; font-size: 12.5px; }
.ddout .ddab.da { color: var(--go); font-weight: 700; }
/* 1.36.490 Durchsicht Marketing: Spalten dürfen schmaler werden als ihr Inhalt (Handy: Schritt 2/3 ragten über den Rand), Aktionsleiste in Schritt 3, Hinweise in der Flächenliste umbrechen */
.mfgrid { grid-template-columns: 300px minmax(0, 1fr); }
@media (max-width: 900px) { .mfgrid { grid-template-columns: minmax(0, 1fr); } }
.mfked { grid-template-columns: minmax(0, 1fr); }
.mfked > *, #mfStep > * { min-width: 0; }
.mfvt .tag { white-space: normal; overflow-wrap: anywhere; }
.mfsave.mfstick { position: sticky; bottom: 0; z-index: 6; justify-content: space-between; align-items: center; gap: 10px 16px; margin: 12px -12px -12px; padding: 12px; background: var(--surface); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 -6px 16px -10px rgba(33, 36, 39, .35); }
.mfstickt { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 260px; }
.mfstickt b { font-size: 15px; } .mfstickt span { font-size: 13px; color: var(--ink); } .mfstickt small { font-size: 12px; }
@media (max-width: 600px) { .mfsave.mfstick .btn { width: 100%; justify-content: center; } }
/* 1.36.497 (Ernst 08.11. 21:02/21:03): Grafik › Übersicht – „wie mein Dashboard für die Firma, alles ansehnlich“: gleiche Fläche und Karten wie das Dashboard (.cp.db),
   dazu die Liste „Agenturleistungen – noch nicht Grafik fertig“ mit Knöpfen, die drei Postfächer und der Link zum Bildschirm-Dashboard. Farbe nur an Flächen, Rot/Orange nur für Wartezeit. */
.gfdb .cpkpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .gfdb .cpkpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .gfdb .cpkpi { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gfal { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gfalz { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--db-line); border-left: 3px solid rgba(246, 149, 155, .3); background: rgba(255, 255, 255, .025); }
.gfalz.orange { border-left-color: var(--db-warn); } .gfalz.rot { border-left-color: var(--db-bad); } .gfalz.prio { box-shadow: inset 0 0 0 1px rgba(255, 123, 136, .35); }
.gfalk { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.gfaln { flex: none; min-width: 70px; font-weight: 800; font-size: 14px; color: var(--db-ink); padding-top: 1px; }
.gfaln small { display: block; font-weight: 700; font-size: 12px; color: var(--db-muted); }
.gfalw { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; color: var(--db-muted); text-align: right; }
.gfalw.orange { color: var(--db-warn); } .gfalw.rot { color: var(--db-bad); }
.gfalp { margin: 8px 0 0 82px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--db-ink); line-height: 1.4; }
.gfalp small { color: var(--db-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.gfalp b { font-weight: 700; } .gfalp .h { color: #dcdfe2; font-weight: 800; }
.gfala { margin: 10px 0 0 82px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gfala .cpbtn { min-height: 34px; padding: 5px 12px; font-size: 13px; }
.gfala .cpbtn.ok { border-color: transparent; background: linear-gradient(135deg, #0f8a63, #8c121a); box-shadow: 0 4px 14px rgba(15, 138, 99, .3); }
.gfala a.cpbtn { text-decoration: none; }
.gfkxc { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--db-line2); background: transparent; color: var(--db-ink); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.gfkxc i { width: 8px; height: 8px; border-radius: 50%; background: var(--db-hell); } .gfkxc.aenderung i { background: var(--db-warn); } .gfkxc.freigegeben i { background: var(--db-good); } .gfkxc.teilfrei i { background: var(--db-warn); }
.gfkxc:hover { border-color: rgba(245, 137, 144, .5); }
@media (max-width: 560px) { .gfalp, .gfala { margin-left: 0; } }
.gfkt { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.gfkto { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid var(--db-line); background: rgba(255, 255, 255, .03); color: var(--db-ink); text-decoration: none; min-width: 0; }
a.gfkto:hover { border-color: rgba(245, 137, 144, .45); background: rgba(255, 255, 255, .06); }
.gfkto span { font-size: 13px; font-weight: 700; color: var(--db-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfkto b { font-size: 28px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; } .gfkto.an b { color: #f58990; }
.gfkto small { font-size: 12px; color: var(--db-muted); }
.gfmh { margin: 14px 0 6px; font-size: 12.5px; font-weight: 800; color: var(--db-muted); }
.gfscr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--db-line2); }
.gfscr .cptx { min-width: 180px; }
.gfscr code { font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: #e5e7e9; overflow-wrap: anywhere; }
.gfpnw { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(242, 180, 90, .08); border: 1px solid rgba(242, 180, 90, .25); }
.gfpnw + .gfpnw { margin-top: 8px; } .gfpnw b { display: block; } .gfpnw p { margin: 4px 0 0; white-space: pre-wrap; font-size: 13px; color: var(--db-ink); } .gfpnw small { color: var(--db-muted); }
.gfdb .cpauf span.cptag { font-size: 11px; } .gfdb .cpauf small.cpbk { font-size: 12.5px; }
.gfdb .cpkl { overflow-wrap: anywhere; hyphens: auto; }
.gfscr a.cpbtn, .gfala a.cpbtn { text-decoration: none; }
/* 1.36.525: Freigabe langer Tage – Stunden festlegen; Stempeluhr angehalten (läuft intern weiter) */
.ztfstd { display: inline-flex; gap: 4px; align-items: center; }
.ztreqact .ztfstd input { width: 5em; }
.ztanh { margin: 10px 0 0; }
.ztclock.halt .ztbig { opacity: .75; }
.ztclock.halt .ztdot { animation: none; background: var(--warn); box-shadow: none; }
.ztclock.halt { border-color: var(--warn); }
/* 1.36.526: Notizen aus den Aufgaben – Hinweis über Aufträgen/Lieferscheinen (wie die Pinnwand), Knöpfe je Zeile, aufgeklappt unter der Zeile; Notizen in der Aufgabe */
.vtnzh { border: 1px solid var(--line); border-left: 5px solid #e0a030; background: color-mix(in srgb, #e0a030 8%, var(--surface)); border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; }
.vtnzh h3 { margin: 0; font-size: 15px; }
.vtnzl { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vtnzl li { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 8px; }
.vtnzl li:first-child { border-top: 0; padding-top: 0; }
.vtnzl li > .grow { min-width: 0; flex: 1; }
.vtnzl p { margin: 3px 0; line-height: 1.45; overflow-wrap: anywhere; }
.vtnzl li.neu > .grow { border-left: 3px solid #e0a030; padding-left: 8px; }
.vtnzb { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--link); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; background: var(--surface); cursor: pointer; white-space: nowrap; text-align: left; }
.vtnzb:hover { border-color: currentColor; }
.vtnzb.neu { color: var(--warn); background: var(--warn-bg); border-color: #e0a030; }
.vtnzp { border-top: 1px dashed var(--line); background: var(--bg); padding: 10px 14px 12px; }
.vtnzp h4 { margin: 0; font-size: 14px; }
.vtnzp .vtfotos { margin-top: 8px; }
.knotiz { margin-top: 12px; }
.knotiz h3 { margin: 0 0 6px; font-size: 15px; }
.knl { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.knl li { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: var(--surface); }
.knl li.neu { border-color: #e0a030; }
.knl p { margin: 0 0 2px; line-height: 1.45; overflow-wrap: anywhere; }
.knneu { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.knneu textarea { flex: 1 1 220px; min-width: 0; font: inherit; }
/* 1.36.527: Zahlungseingang von Hand zuordnen – offene Rechnungen ankreuzen (auch mehrere), Summe gegen die Zahlung; „Keine Kundenzahlung“ */
.vtzahand { gap: 8px; flex-wrap: wrap; }
.vtzapick { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 8px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.vtzapl { max-height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.vtzapi { display: flex; gap: 10px; align-items: flex-start; padding: 7px 10px; border-top: 1px solid var(--line); cursor: pointer; }
.vtzapi:first-child { border-top: 0; }
.vtzapi:hover { background: var(--soft); }
.vtzapi > .grow { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.vtzapi input { margin-top: 3px; flex: none; }
.vtzapi .vtzab { white-space: nowrap; }
.vtzasum { margin: 0; font-weight: 600; }
.vtzasum.ok { color: var(--go); }
.vtzasum.warn { color: var(--warn); }
/* 1.36.528: Dashboard-Karte – Fähnchen für Monteure weit weg (letzter Stempel-Standort), Hover: wer dort ist */
/* 1.36.558: Farbe nach Stempel-Stand (an = grün, Pause = orange, Feierabend = rot); mehrere Stände an einer Stelle: Streifen */
.cpfl { cursor: pointer; --fl: #ffb547; }
.cpfl.an { --fl: #4cd47e; } .cpfl.aus { --fl: #ff6464; }
.cpfls { stroke: var(--fl); stroke-width: 2; stroke-linecap: round; }
.cpflf { fill: #ffb547; stroke: #222528; stroke-width: .6; stroke-linejoin: round; }
.cpflf.an { fill: #4cd47e; } .cpflf.aus { fill: #ff6464; }
.cpflr { fill: none; stroke: #222528; stroke-width: .6; stroke-linejoin: round; }
.cpfl:has(.cpflr) .cpflf { stroke: none; }
.cpflp { fill: var(--fl); stroke: #222528; stroke-width: .8; }
.cpflz { font-size: 9.5px; font-weight: 800; fill: #222528; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.cpflh { fill: transparent; }
.cpfl:hover .cpflf, .cpfl:focus-visible .cpflf { filter: brightness(1.2); } .cpfl:focus-visible { outline: none; }
.cphov .cpflul li { display: block; }
.cpflst { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; margin-left: 4px; background: rgba(255, 255, 255, .1); color: var(--db-muted); }
.cpflst.an { background: rgba(80, 200, 120, .2); color: #8be3a8; } .cpflst.pause { background: rgba(255, 181, 71, .2); color: #ffd08a; }
.cpflst.aus { background: rgba(255, 100, 100, .18); color: #ffa3a3; }
.cpleute b { color: #f0f1f2; font-weight: 700; white-space: nowrap; }
.cpflico { display: inline-block; width: 9px; height: 7px; background: #ffb547; clip-path: polygon(0 0, 100% 50%, 0 100%); margin-right: 3px; vertical-align: 1px; }
.cpflico.an { background: #4cd47e; } .cpflico.aus { background: #ff6464; }
.cpflkey { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; margin-left: 10px; font-size: 11px; color: var(--db-muted); }
.cpflkey > span { white-space: nowrap; }
/* 1.36.537 (Ernst 11.11. 21:09): Dashboard › Fertigung offen – Lieferschein aufklappen, Details, fertig melden */
.cpfz.offen > button { background: rgba(245, 137, 144, .06); }
.cpfzm { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; color: #f58990; }
.cpfzd { margin: 4px 0 10px; padding: 14px 16px; border: 1px solid var(--db-line2); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.cpls { display: flex; flex-direction: column; gap: 12px; }
.cplsst { display: flex; flex-wrap: wrap; gap: 6px; } .cplsst .cptag { margin: 0; } .cptag.ok { background: rgba(80, 200, 120, .2); color: #8be3a8; }
.cplspos { width: 100%; border-collapse: collapse; font-size: 13.5px; } .cplspos td { padding: 6px 8px; border-top: 1px solid var(--db-line2); vertical-align: top; }
.cplspos tr:first-child td { border-top: 0; } .cplspos td.r { text-align: right; white-space: nowrap; width: 1%; font-weight: 700; }
.cplspos small { display: block; margin-top: 2px; color: var(--db-muted); font-size: 12px; } .cplspos .cptag { margin-left: 6px; }
.cplster { margin: 0; padding-left: 18px; font-size: 13px; color: var(--db-muted); }
.cplsakt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .cplsakt .grow { flex: 1; } .cplsakt a.cpbtn { text-decoration: none; color: inherit; }
.cpkombi { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; }
@media (max-width: 640px) { .cplsakt .grow { display: none; } .cplsakt .cpbtn { flex: 1 1 100%; justify-content: center; } }
/* 1.36.550: Rechnung im Portal erstellen (Entwurf) */
.vterst { border-left: 4px solid var(--warn, #e0a100); }
.vterstz { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 8px; }
.vterstz .field { margin: 0; min-width: 170px; }
.vterstz .vtck { margin: 0 0 8px; }
/* 1.36.553: Angebotsversionen – Auswahl im Kopf, Kennung in der Liste (1.36.846: Kennung heißt .vtqv – .vtvl ist die Verlaufsliste, die dadurch klein, fett und umrandet war) */
.vtver select { font-size: 13px; padding: 3px 26px 3px 8px; min-height: 0; width: auto; max-width: 100%; }
.vtqv { display: inline-block; font-size: 11px; font-weight: 700; color: var(--navy, #3a3f44); border: 1px solid var(--line); border-radius: 5px; padding: 0 4px; vertical-align: 1px; }
/* 1.36.558: Benutzer – Unternavigation (Mitarbeiter | Arbeitsverträge | Kunden und Shop-Besteller) und Maske der Arbeitsverträge */
nav.subtabs.usub { padding: 0 0 14px; }
.avf .avg { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.avf .avg h4 { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.avf .avg h4 .tag { letter-spacing: 0; text-transform: none; }
.avf .avh .msg { margin: 8px 0 0; }
td.avact { white-space: nowrap; }

/* 1.36.626 (Ernst 15.11. 21:03 iPhone „Kopfzeile überlagert“): schmaler Kopf – rechts nur Symbole, das Logo bleibt frei */
@media (max-width: 700px) {
  header.top .hr { gap: 6px; }
  header.top .hl { overflow: hidden; }
}
@media (max-width: 560px) {
  header.top .hkal > span:not(.nbadge) { display: none; }
  header.top .hkal { padding: 0 8px; }
  header.top .hmail { display: none !important; }   /* YP Mail steht im Menü (☰) */
  header.top .hiv .hgchev { display: none; }
  header.top .hiv { padding: 5px 7px; }
}
@media (max-width: 380px) {
  header.top { padding-left: 10px; }
  header.top .logo { height: 20px; }
  header.top .hr { gap: 4px; }
  header.top .burger:not([hidden]) { width: 38px; }
}

/* 1.36.627 (Ernst 15.11. 22:20 „Kalender und Mail generell nur als Icon … am PC will ich in der Navi immer alle Navipunkte sehen“): Kalender und Mail nur als Symbol
   (Name im Tooltip), die Werkzeuge rechts als ruhige Symbolgruppe; passen die Bereiche nicht in die Zeile, stehen sie in einer eigenen Zeile darunter statt unter „Mehr“ */
header.top .hkal > span:not(.nbadge) { display: none; }
header.top .hkal { padding: 0 9px; min-width: 32px; justify-content: center; }
@media (min-width: 701px) {
  header.top .hr { gap: 8px; }
  header.top.zz { grid-template-columns: 1fr auto; row-gap: 6px; padding-bottom: 6px; }
  header.top.zz .hl { grid-column: 1; grid-row: 1; }
  header.top.zz .hr { grid-column: 2; grid-row: 1; }
  header.top.zz .area { grid-column: 1 / -1; grid-row: 2; justify-self: center; flex-wrap: wrap; justify-content: center; white-space: normal; max-width: 100%; }
  header.top.zz .area button { white-space: nowrap; }
}
/* 1.36.655: offene Rückfragen über der Angebotsliste, Antwort im Angebot */
.vtrf { border: 1px solid #f0c27a; background: #fff8ec; border-radius: 12px; padding: 10px 12px; margin: 4px 0 12px; display: grid; gap: 8px; }
.vtrf h3 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.vtrftab { display: grid; gap: 6px; }
.vtrfz { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--card, #fff); border: 1px solid #f3dcb5; border-radius: 10px; padding: 8px 10px; }
.vtrfa { all: unset; cursor: pointer; display: grid; gap: 2px; min-width: 0; } .vtrfa b { color: var(--navy, #2e3237); } .vtrfa:hover b { text-decoration: underline; }
.vtrfa small, .vtrfq small { color: var(--muted, #5d6872); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtrfq { display: grid; gap: 2px; min-width: 0; } .vtrfq span { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vtrfmsg { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; } .vtrfmsg > div:first-child { min-width: 0; flex: 1 1 260px; }
.vtrfant { overflow-wrap: anywhere; }
.vtvbx { border-color: #f0b35a; } .vtvbb { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .vtvbd { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .vtvbd > div:first-child { min-width: 0; flex: 1 1 300px; }   /* 1.36.670: Freigaben unter Vorbehalt (1.36.846: .vtvbx – .vtvb ist der Text im Verlauf) */
@media (max-width: 640px) { .vtrfz { grid-template-columns: minmax(0, 1fr); } .vtrfb { justify-self: start; } }
/* 1.36.655: KST / Vorhaben am Lieferschein ändern */
.vtlskst { display: flex; gap: 6px; align-items: center; } .vtlskst input { flex: 1 1 auto; min-width: 0; font-size: 14px; }
.vtlsadr { display: grid; gap: 10px; } .vtlsadr .vtadrf { max-width: 640px; } .vtlsadrb { display: flex; gap: 8px; flex-wrap: wrap; }   /* 1.36.897: Lieferanschrift am Lieferschein ändern */
/* 1.36.655: Verwaltung › E-Mail-Versand – SMTP */
.vwsmtp { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #dde3e9); display: flex; flex-direction: column; gap: 8px; }
.vwsmtp h3 { margin: 0; font-size: 15px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vwsmtp .smport { max-width: 110px; }
/* 1.36.659: Lieferschein gescannt – „Dokumentation anzeigen“ (Verwaltung): Zeiten je Tag und Mitarbeiter, Notizen, Fotos */
.ztovp:has(.lsdoku) { width: min(720px, 100%); }
.lsdoku { align-items: stretch; text-align: left; }
.lsdoku .ztovt { text-align: center; }
.lsdoku .ldsum { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.lsdoku .ldsum b { color: var(--ink); }
.lsdoku .ldauf { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.lsdoku .ldauf h3 { margin: 0 0 2px; font-size: 15px; }
.lsdoku .ldauf .ztovh { margin: 0 0 6px; text-align: left; }
.lsdoku .ldtag { margin: 8px 0 0; }
.lsdoku .ldtk { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.lsdoku .ldt { width: 100%; border-collapse: collapse; font-size: 13px; }
.lsdoku .ldt td { padding: 3px 8px 3px 0; vertical-align: top; }
.lsdoku .ldt td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lsdoku .ldt td.h { color: var(--muted); font-size: 12px; }
.lsdoku .ldt tr.fahrt td { color: var(--muted); }
.lsdoku .ldjm { font-size: 13px; margin: 6px 0 0; }
.lsdoku h4 { margin: 10px 0 4px; font-size: 13px; }
.lsdoku .ldno p { margin: 4px 0; display: flex; flex-direction: column; font-size: 13px; }
.lsdoku .ldno small, .lsdoku .ldwc { color: var(--muted); font-size: 12px; }
.lsdoku .ldfg { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
.lsdoku .ldfg button { padding: 0; border: 0; background: none; cursor: zoom-in; }
.lsdoku .ldfg img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
/* 1.36.660: E-Rechnung-Prüfung (Rechnung, Entwurf, Senden-Dialog) */
.vteprc .vtepr { margin: 6px 0 4px; padding-left: 20px; display: grid; gap: 3px; font-size: 13px; line-height: 1.4; }
.vteprc .vtepr.bad li { color: var(--bad); }
.vteprc .vtepr.warn li { color: var(--warn); }
.vteprc .vtepr.ok li { color: var(--muted); }
.vteprc .vtepr.ok li::marker { content: '✓  '; color: var(--go); }
.vteprc .vteprg summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.vteprc .row { gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.vtsendc .vteprc { box-shadow: none; border: 1px solid var(--line); padding: 10px 12px; margin: 4px 0; }
.vtsendc .vttrotz { color: var(--bad); font-weight: 600; }
/* 1.36.669: Bauzaunbanner – Größe und Name über dem Editor, Editor quer über die ganze Breite, darunter Beschreibung und Warenkorb */
.skbn { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.skbnkopf { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.skbngr { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.skbngr > .hint, .skbngr > .msg { flex: 1 1 100%; margin: 0; }
.skbnl { font-weight: 700; }
.skbngr .chip small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.skbnfrei { display: inline-flex; gap: 8px; align-items: flex-end; }
.skbnfrei .field { width: 112px; margin: 0; }
.skbnname { flex: 0 1 380px; min-width: 220px; margin: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.skbnname .field { margin: 0; width: 100%; }
.skbnname small { font-weight: 400; }
.skbnname .link { text-align: left; }
.skbnname p.hint { margin: 0; }
/* 1.36.673: Sonderformat – Faktoren für Name, Domain, Logo-Kasten; Griffe am Textfeld */
.skbnsk { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.skbnsk[hidden] { display: none; }
.skbnske { display: inline-flex; gap: 6px; align-items: center; }
.skbnske output { min-width: 48px; text-align: center; font-weight: 700; }
.skbnsk > .msg { flex: 1 1 100%; margin: 0; }
.skbntb { position: absolute; z-index: 4; pointer-events: none; }
.skbntbh { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid #353a3f; border-radius: 3px; pointer-events: auto; touch-action: none; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.skbntbh[data-e="nw"] { left: -12px; top: -12px; cursor: nwse-resize; }
.skbntbh[data-e="ne"] { right: -12px; top: -12px; cursor: nesw-resize; }
.skbntbh[data-e="sw"] { left: -12px; bottom: -12px; cursor: nesw-resize; }
.skbntbh[data-e="se"] { right: -12px; bottom: -12px; cursor: nwse-resize; }
.skbndv { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.skbndvlb canvas { display: block; margin: 0 auto; box-shadow: 0 2px 18px rgba(0,0,0,.4); }
.skbntb.zug { outline: 2px dashed rgba(53, 58, 63, .8); outline-offset: 3px; }
@media (hover: none) { .skbntbh { width: 22px; height: 22px; } .skbntbh[data-e="nw"] { left: -16px; top: -16px; } .skbntbh[data-e="ne"] { right: -16px; top: -16px; } .skbntbh[data-e="sw"] { left: -16px; bottom: -16px; } .skbntbh[data-e="se"] { right: -16px; bottom: -16px; } }
.skbned { min-height: 180px; }
.skbn .kiw .kibox { z-index: 3; }
.skbnfig { position: absolute; z-index: 2; cursor: move; touch-action: none; outline: 1.5px dashed transparent; outline-offset: 3px; border-radius: 3px; line-height: 0; }
.skbnfig canvas { width: 100%; height: 100%; display: block; pointer-events: none; }
.skbnfig:hover, .skbnfig:focus-visible, .skbnfig.zug { outline-color: rgba(53, 58, 63, .8); }
.skbnfigh { position: absolute; right: -8px; bottom: -8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #353a3f; cursor: nwse-resize; opacity: 0; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.skbnfig:hover .skbnfigh, .skbnfig:focus-visible .skbnfigh, .skbnfig.zug .skbnfigh { opacity: 1; }
@media (hover: none) { .skbnfigh { opacity: 1; width: 24px; height: 24px; right: -12px; bottom: -12px; } }
.skbnfigl { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.skbnfigl[hidden] { display: none; }
.skbnfigk { display: inline-flex; gap: 6px; align-items: center; }
.skbnfigk output { min-width: 54px; text-align: center; font-weight: 700; }
.skbnunten { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 14px; }
.skbntxt { flex: 1 1 380px; min-width: 0; }
.skbntxt p { margin: 0 0 6px; }
.skbnunten .skbuy { flex: 0 1 360px; min-width: 260px; }
/* 1.36.690 WIRmachenDRUCK an den Positionen: Haken, Merkmal „WMD …“, Knopf darunter, Pop-up für die Auftragsnummer */
.wmdkc { width: 28px; text-align: center; }
.wmdk { width: 18px; height: 18px; cursor: pointer; }
.wmdm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 13px; }
.tag.wmdt { background: #eff0f2; color: #b81c26; }
.tag.wmdz { white-space: normal; max-width: 13em; line-height: 1.3; border-radius: 8px; padding: 2px 8px; }   /* 1.36.695: Vermerk in Listen umbricht zwischen Art und Nummer */
.tag.wmdz > span { white-space: nowrap; }
.shrow td.shst .tag.wmdz { margin-top: 4px; }
/* 1.36.696 (Ernst 17:39 „immer noch ein Scrollbalken“): Kundenname und Knopfgruppen dürfen umbrechen – die Tabelle passt in die Karte */
.shrow .shnw { white-space: normal; } .shrow .vgrp { flex-wrap: wrap; row-gap: 4px; }
.wmdbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; }
.wmdbar .hint { flex: 1 1 260px; min-width: 0; }
.wmdov { position: fixed; inset: 0; z-index: 1600; background: rgba(18, 20, 22, .5); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: max(8vh, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
.wmdp { background: var(--surface); color: var(--ink); width: 100%; max-width: 480px; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; border-top: 5px solid #b81c26; }
.wmdkopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.wmdkopf h2 { margin: 2px 0; font-size: 19px; text-transform: none; letter-spacing: 0; }
.wmdkopf h2::before { display: none; }
.wmdkopf p { margin: 0; }
.wmdpl { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.wmdschon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wmdfuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vtwmdz > td { background: #f8f9f9; }
/* 1.36.690 Aufträge › Versand: Versandmarke stornieren */
.pfb.st { background: #b42318; }
.vsstbox { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.vsstbox p { margin: 0; }
.vsstl { margin: 0; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
/* 1.36.703 Benutzer: Suche und Typ in „Alle“ */
.ufbar .usuch { flex: 1 1 260px; min-width: 0; max-width: 420px; }
.tag.utma { background: var(--go-soft); color: var(--go); } .tag.utkk { background: #f2f3f5; color: #b6212b; } .tag.utlz { background: #edeff1; color: #40464c; } .tag.utsb { background: var(--warn-bg); color: var(--warn); }

/* 1.36.714 Verwaltung: Unterreiter (Gruppen) und Sprungmarken */
.vwgr { margin-top: 2px; }
.vwsub { padding-top: 8px; border-top: 1px solid var(--line); }
.vwsub .chip { font-size: 13px; padding: 4px 10px; background: var(--chip); }
.vwfp { display: flex; flex-direction: column; gap: 16px; }

/* 1.36.714 Fuhrpark */
.fpwurzel { display: flex; flex-direction: column; gap: 16px; }
.fpic { width: 46px; height: 27px; flex: none; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .fpic { stroke: var(--link); } }
.fpkz { display: inline-block; font: 700 12.5px/1.2 var(--font); letter-spacing: .04em; padding: 2px 7px 2px 9px; border: 1.5px solid var(--ink); border-left: 5px solid #a31d26; border-radius: 4px; background: var(--surface); color: var(--ink); white-space: nowrap; vertical-align: 1px; }
.fpkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.fpkpi { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fpkpi b { font-size: 21px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.fpkpi span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fpkpi small { font-size: 11.5px; color: var(--muted); }
.fpkpi.fp-ueber { border-color: var(--bad); background: var(--bad-bg); } .fpkpi.fp-ueber b { color: var(--bad); }
.fpkpi.fp-bald { border-color: var(--sh-ueb-k); background: var(--warn-bg); } .fpkpi.fp-bald b { color: var(--warn); }
.fpdot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; display: inline-block; }
.fpdot.fp-ueber { background: var(--bad); } .fpdot.fp-bald { background: var(--sh-ueb-k); } .fpdot.fp-ok { background: var(--go); }
.fpst { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: var(--chip); color: var(--muted); white-space: nowrap; }
.fpst.fp-ueber { background: var(--bad-bg); color: var(--bad); } .fpst.fp-bald { background: var(--warn-bg); color: var(--warn); } .fpst.fp-ok { background: var(--go-soft); color: var(--go); }
.fpliste { display: flex; flex-direction: column; }
.fpterm { display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 9px 2px; cursor: pointer; color: var(--ink); font: inherit; }
.fpterm:last-child { border-bottom: 0; } .fpterm:hover { background: var(--soft); }
.fptt { flex: 1 1 auto; min-width: 0; }
.fpwann { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; flex: none; max-width: 45%; }
.fpwann small, .fptab small, .fpkm small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.fpkm small { display: inline; }
.fpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.fpkarte { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 12px; cursor: pointer; color: var(--ink); font: inherit; min-width: 0; }
.fpkarte:hover { border-color: var(--blue); }
.fpkarte.fp-grau, tr.fp-grau { opacity: .6; }
.fpkn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fpnext { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.fptab { width: 100%; border-collapse: collapse; font-size: 14px; }
.fptab th, .fptab td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fptab th { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.fptab .r { text-align: right; font-variant-numeric: tabular-nums; }
.fptab tfoot td { border-bottom: 0; }
.fptab tr.fpzeile { cursor: pointer; } .fptab tr.fpzeile:hover td { background: var(--soft); }
.fpcfg { border-top: 1px solid var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.fpwahl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 4px 12px; }
.fpdtitel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fpdtitel > div:nth-child(2) { flex: 1 1 260px; min-width: 0; }
.fpdtitel h2 { flex-wrap: wrap; }
.fpdtitel .fpic { width: 64px; height: 38px; }
.fpdstand { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.fpdstand b { font-size: 20px; } .fpdstand small { font-size: 12px; color: var(--muted); }
.fpzuls { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 8px; }
.fpzul { background: var(--soft); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; min-width: 0; }
.fpzul span { font-size: 12.5px; color: var(--muted); font-weight: 600; } .fpzul small { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.fpschad { border: 1px solid var(--bad); border-radius: 8px; padding: 10px 12px; background: var(--bad-bg); display: flex; flex-direction: column; gap: 8px; }
.fpschad h3 { margin: 0; color: var(--bad); }
.fpsrow { display: flex; gap: 10px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.fpsrow > div:first-child { flex: 1 1 260px; min-width: 0; }
.fpsakt { display: flex; gap: 6px; flex-wrap: wrap; }
.fp-rot { color: var(--bad); }
.fpfotos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fpfoto img { width: 76px; height: 76px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
.fpform { border: 1px solid var(--blue); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--surface); }
.fpform h3 { margin: 0; }
.fpbreit { grid-column: 1 / -1; }
.fpb { align-self: end; padding-bottom: 8px; }
.fpfrw, .fpfb { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.fpdats { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fpdat { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; background: var(--chip); border-radius: 6px; padding: 3px 8px; color: var(--ink); text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
a.fpdat:hover { color: var(--link); }
.fpre { font-size: 13px; background: var(--go-soft); color: var(--go); border-radius: 6px; padding: 3px 8px; }
.fpreb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fpreb input[type=search] { flex: 1 1 220px; min-width: 0; }
.fprev { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.fprevz { display: flex; gap: 8px; justify-content: space-between; align-items: center; flex-wrap: wrap; background: var(--soft); border-radius: 6px; padding: 6px 10px; font-size: 13.5px; }
.fpakte { display: flex; flex-direction: column; }
.fpakz { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.fpakz:last-child { border-bottom: 0; }
.fpakz.fp-offen { background: var(--bad-bg); border-radius: 6px; padding: 10px 8px; }
.fpakd { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; } .fpakd small { color: var(--muted); font-size: 12px; }
.fpakt { min-width: 0; } .fpakt p { margin: 3px 0; } .fpakt small { color: var(--muted); font-size: 12.5px; display: block; }
.fpakb { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .fpakz { grid-template-columns: 1fr auto; } .fpakt { grid-column: 1 / -1; grid-row: 2; } .fpwann { max-width: 50%; } }
.fpki { background: var(--soft); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.fpki h3 { margin: 0; }
.fpkiv { display: flex; gap: 10px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 8px; }
.fpkiv small { color: var(--muted); }
.fpdoks { display: flex; flex-direction: column; gap: 6px; }
.fpdokz { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fpdokz select { max-width: 100%; }
.fpkt { max-width: 560px; }
.fpvgl { max-width: 720px; }
.fpmliste { display: flex; flex-direction: column; gap: 10px; }
.fpmk { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.fpmk.auf { border-color: var(--blue); }
.fpmkopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; width: 100%; text-align: left; background: var(--surface); border: 0; padding: 12px; cursor: pointer; color: var(--ink); font: inherit; }
.fpmkopf .fpkn { flex: 1 1 160px; }
.fpmpanel { border-top: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.fpmpanel input[inputmode=numeric] { font-size: 18px; }
.fpmpanel .row .btn.primary { flex: 1 1 100%; justify-content: center; padding: 12px 14px; }   /* 1.36.716: am Handy breit – nicht unter dem Scan-Knopf */
.fpmliste { padding-bottom: 64px; }
.fpmsch p { margin: 4px 0 0; font-size: 13.5px; }
.fpmm { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fpmm:last-child { border-bottom: 0; }

/* 1.36.714 Vertrieb: Kunden als Vorschlag für die Firma der Liefer- bzw. Rechnungsadresse */
.vtadrf .vtfld { position: relative; }
.vtavor { position: absolute; left: 0; right: 0; top: 100%; margin-top: 2px; z-index: 40; background: var(--surface); border: 1px solid var(--blue); border-radius: 8px; box-shadow: 0 8px 24px rgba(37, 40, 43,.18); max-height: 290px; overflow-y: auto; display: flex; flex-direction: column; padding: 4px; }
.vtavk { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 0; background: none; border-radius: 6px; padding: 7px 9px; cursor: pointer; color: var(--ink); font: inherit; font-size: 14px; }
.vtavk .hint { font-size: 12.5px; white-space: normal; }
.vtavk:hover, .vtavk.an { background: var(--soft); }
/* 1.36.723: Belegbilder im Senden-Dialog – alle/keine, PDF-Vorschau */
.vtbbk { gap: 8px; flex-wrap: wrap; margin: 2px 0 8px; align-items: center; }
.vtbbpdf[aria-disabled] { opacity: .5; cursor: not-allowed; }
.vtbbh { margin: 0 0 6px; }
/* 1.36.726: Fotos direkt am Lieferschein – hochladen, eigene löschen */
.vtlsfup { gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 12px; }
.vtfbox { position: relative; min-width: 0; }
.vtfbox .vtfoto { display: flex; }
.vtfdel { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--card, #fff); color: var(--muted); font-size: 13px; line-height: 1; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.vtfdel:hover { color: var(--red, #c62828); border-color: currentColor; }
/* 1.36.772: Verwaltung › Einstellungen der Bereiche */
.vwber { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.vwbr { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 10px 12px; cursor: pointer; font: inherit; color: inherit; }
.vwbr:hover { border-color: var(--blue); background: var(--soft); } .vwbr small { color: var(--muted); }
.kknr { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); margin-right: 4px; font-variant-numeric: tabular-nums; } .kknr.wc { border-color: var(--go); color: var(--go); }   /* 1.36.772 */
/* 1.36.772: Lieferschein fertig melden – schmale Leiste über Versand, Montage und Abholung */
.pfleiste { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.pfleiste .pflt { font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.pfleiste input { width: 9em; height: 40px; font-size: 17px; font-weight: 700; text-align: center; letter-spacing: .04em; }
.pfleiste .pfb { height: 40px; min-height: 0; padding: 4px 12px; font-size: 14px; }
@media (max-width: 600px) { .pfleiste .pflt { flex-basis: 100%; } .pfleiste input { flex: 1 1 6em; } .pfleiste .pfb { flex: 1 1 8em; } }
/* 1.36.779: Rechnungseingang – E-Rechnung */
.reere .msg ul { margin: 6px 0; padding-left: 18px; } .reere .msg p { margin: 6px 0 0; } .reerean { align-items: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.reerevor pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.5 ui-monospace, Menlo, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px; max-height: 420px; overflow: auto; }
/* 1.36.799: Artikel im Lieferumfang (Tarifstele Edelstahl komplett – Acrylgläser) */
.skinkl { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line, #dfe4ea); border-radius: 12px; background: var(--soft); }
.skinkl h3 { margin: 0 0 4px; font-size: 1rem; }
.skinklg { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 10px; }
.skinklt { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.skinklb { display: grid; place-items: center; aspect-ratio: 3 / 4; width: 100%; padding: 6px; border: 1px solid var(--line, #dfe4ea); border-radius: 8px; background: #fff; cursor: zoom-in; overflow: hidden; }
.skinklb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.skinklt figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.skkinkl td { background: var(--soft); }
.skinklw { display: inline-block; margin-top: 4px; padding: 4px 8px; }
/* 1.36.801: Druck-PDF ohne Bestellung (nur YOURPRINTDESIGN) */
.sktgdl{margin-left:8px}
/* 1.36.804: iPhone-Web-App (iOS 26) – die Seite beginnt unter der Statusleiste, Kopfzeile und Reiter bleiben erreichbar (Ernst 24.11. 18:40) */
body:has(> header.top) { padding-top: env(safe-area-inset-top, 0px); }
/* 1.36.805 (Ernst 20:45 „oben immer noch zur Hälfte verschwunden“): Safari 26 färbt die Statusleiste nach einem echten festen Element mit deckender
   Hintergrundfarbe an der Oberkante (ein ::before zählt nicht) – sonst blendet es die Seitenfarbe weich über die obere Hälfte der Kopfzeile */
.sbfarbe { position: fixed; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); background-color: var(--navy); z-index: 65; pointer-events: none; }
html[data-site="time"] .sbfarbe { background-color: #2e3237; }
html[data-site="marketing"] .sbfarbe { background-color: #2e3237; background-image: var(--mkhead); }
html[data-site="displays"] .sbfarbe { background-color: #2e3237; background-image: linear-gradient(90deg, #2e3237 0%, #383d42 55%, #009aa6 100%); }
html[data-site="cockpit"] .sbfarbe, html.gfdb-an[data-site="grafik"] .sbfarbe { background-color: #1d1f22; background-image: linear-gradient(90deg, #1d1f22 0%, #2e3237 55%, #920c15 100%); }
@media print { .sbfarbe { display: none; } }
#impbar { top: env(safe-area-inset-top, 0px); }
.mnavp { padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
@media (max-width: 700px) { nav.tabs.mnv { top: env(safe-area-inset-top, 0px); } }
/* 1.36.806: Mediaflächen – Kampagnenbericht (Ansicht), Belegungsplan je Fläche */
.mfbov { position: fixed; inset: 0; z-index: 950; background: rgba(19, 20, 22, .55); overflow-y: auto; padding: max(16px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 24px max(12px, env(safe-area-inset-left, 0px)); outline: none; }
.mfbp { max-width: 1180px; margin: 0 auto; background: var(--bg); border-radius: 14px; padding: 20px 22px 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.mfbp > section, .mfbg2 > section { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.mfbp h3 { margin: 0 0 10px; font-size: 15px; }
.mfbkopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.mfbkopf h2 { margin: 2px 0 4px; font-size: 24px; }
.mfbkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.mfbkpi { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mfbkpi b { font-size: 26px; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.mfbkpi span { font-weight: 600; }
.mfbkpi small { color: var(--muted); font-size: 12px; }
.mfbg2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.mfbbar { display: flex; flex-direction: column; gap: 6px; }
.mfbbz { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 8px; align-items: center; font-size: 13px; }
.mfbbz span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfbbz i { position: relative; height: 12px; background: var(--chip); border-radius: 6px; overflow: hidden; }
.mfbbz em { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); border-radius: 6px; }
.mfbbz em.u { background: var(--navy); }
.mfbbz b { font-variant-numeric: tabular-nums; min-width: 2.5em; text-align: right; }
.mfbsvg { width: 100%; height: auto; display: block; }
.mfbsvg .fl { fill: rgba(206, 17, 29, .15); } .mfbsvg .li { fill: none; stroke: var(--blue); stroke-width: 2.5; } .mfbsvg .ziel { stroke: var(--line); stroke-dasharray: 4 4; }
.mfbsvg text { font-size: 11px; fill: var(--muted); }
.mfbp td.r, .mfbp th.r { text-align: right; font-variant-numeric: tabular-nums; }
.mfbfotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.mfbfotos figure { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mfbfotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--chip); }
.mfbfotos figcaption { display: flex; flex-direction: column; font-size: 12px; } .mfbfotos figcaption span, .mfbfotos figcaption small { color: var(--muted); }
.mfbchip { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--chip); font-size: 12px; margin: 0 2px 4px 0; }
.mfnw { white-space: nowrap; }
.mfpl .mfpl-f { margin: 0; min-width: 0; } .mfpl .mfpl-f input, .mfpl .mfpl-f select { width: auto; }
.mfpl-leg { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin: 6px 0 10px; }
.mfpl-leg span { display: inline-flex; align-items: center; gap: 6px; } .mfpl-leg .mfpl-b { position: static; width: 22px; height: 10px; display: inline-block; }
.mfpl-nn { display: inline-block; width: 22px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(45deg, var(--chip), var(--chip) 3px, var(--line) 3px, var(--line) 6px); }
.mfpl-tab { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.mfpl-z { display: grid; grid-template-columns: 210px minmax(640px, 1fr); border-bottom: 1px solid var(--line); min-height: 34px; }
.mfpl-z.mfpl-k { position: sticky; top: 0; z-index: 2; background: var(--surface); min-height: 26px; }
.mfpl-z.nn .mfpl-t { background: repeating-linear-gradient(45deg, transparent, transparent 6px, var(--chip) 6px, var(--chip) 12px); }
.mfpl-n { padding: 5px 10px; display: flex; flex-direction: column; justify-content: center; min-width: 0; border-right: 1px solid var(--line); background: var(--surface); position: sticky; left: 0; z-index: 1; }
.mfpl-n b { font-size: 12.5px; } .mfpl-n small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfpl-t { position: relative; min-width: 0; }
.mfpl-k .mfpl-t span { position: absolute; top: 5px; font-size: 11px; color: var(--muted); padding-left: 4px; white-space: nowrap; }
.mfpl-t em { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--line); }
.mfpl-t u { position: absolute; top: 0; bottom: 0; border-left: 2px solid var(--cta, #e9202d); text-decoration: none; }
.mfpl-h { position: absolute; top: 4px; transform: translateX(-50%); font-size: 10.5px; color: var(--cta, #e9202d); background: var(--surface); padding: 0 3px; }
.mfpl-b { position: absolute; top: 7px; height: 20px; border-radius: 5px; font-size: 11px; line-height: 20px; color: #fff; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-style: normal; box-sizing: border-box; }
.mfpl-b.geb { background: var(--navy); } .mfpl-b.res { background: var(--blue); } .mfpl-b.alt { background: #8a96a3; } .mfpl-b.ext { background: #7b4fb8; }
.mfpl-g { padding: 6px 10px; font-weight: 700; font-size: 12.5px; background: var(--chip); border-bottom: 1px solid var(--line); position: sticky; left: 0; }
@media (max-width: 700px) { .mfpl-z { grid-template-columns: 140px minmax(520px, 1fr); } .mfbp { padding: 14px; } .mfbkopf h2 { font-size: 20px; } }

/* 1.36.809 (Ernst 24.11. 21:29 „wo es kompliziert wird ein kleiner Infobutton mit Hover und Erklärung“): Info-Knopf für das ganze Portal – Hover, Tastatur-Fokus, Antippen (app.js schaltet .auf) */
.ib { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; min-width: 0; padding: 0; margin: 0 0 0 4px; vertical-align: 2px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent); background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; font: italic 700 11px/1 Georgia, "Times New Roman", serif; cursor: help; }
.ib::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 8px); transform: translate(calc(-50% + var(--ibx, 0px)), 0); width: min(300px, 78vw); white-space: normal; text-align: left;
  font: 500 12.5px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; font-style: normal; letter-spacing: 0; color: #191c1e; background: #fff; border: 1px solid #dee1e4; border-radius: 10px;
  padding: 9px 11px; box-shadow: 0 12px 30px rgba(25, 28, 30, .22); z-index: 60; display: none; pointer-events: none; }   /* 1.36.811: verborgen ohne Platz (sonst seitliches Scrollen am Handy), --ibx hält sie im Bild (app.js) */
@media (hover: hover) { .ib:hover::after { display: block; } }
.ib:focus-visible::after, .ib.auf::after { display: block; }
.ib:focus-visible { outline: 2px solid #ef3b47; outline-offset: 2px; }

/* 1.36.809: Marketing › Vermarktung (mfv.js) */
.mfv .mfvsw { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mfv .mfvsw input { width: 20px; height: 20px; accent-color: var(--navy, #2e3237); }
.mfvtabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mfvtabs button { border: 1px solid var(--line, #dee1e4); background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mfvtabs button.an { background: var(--navy, #2e3237); border-color: var(--navy, #2e3237); color: #fff; }
.mfvn { font-style: normal; min-width: 20px; height: 20px; border-radius: 999px; background: #e9202d; color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }
.mfvb h3 { margin: 0 0 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mfvb.angefragt { border-left: 4px solid #f59e0b; }
.mfvb.bestaetigt { border-left: 4px solid #22c55e; }
.mfvst { font-size: 12px; font-weight: 650; border-radius: 999px; padding: 2px 9px; background: #f1f2f4; color: #44546a; }
.mfvst.angefragt { background: #fff4e0; color: #a15c07; } .mfvst.bestaetigt { background: #e7f6ec; color: #15803d; } .mfvst.abgelehnt, .mfvst.storniert { background: #fdecea; color: #b42318; }
.mfvsum { display: grid; grid-template-columns: auto auto; gap: 0 10px; align-items: baseline; text-align: right; font-variant-numeric: tabular-nums; }
.mfvsum b { font-size: 16px; } .mfvsum small { color: var(--mut, #667); text-align: left; }
.mfvinfo { margin: 8px 0; padding: 8px 12px; background: #f7f8f9; border-radius: 10px; font-style: italic; }
.mfvlink { border: 2px solid #ef3b47; }
.mfvurl { flex: 1 1 320px; min-width: 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; }
.mfvh { border-top: 1px solid var(--line, #e7e9eb); }
.mfvhk { width: 100%; text-align: left; border: 0; background: none; padding: 10px 2px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; cursor: pointer; font: inherit; }
.mfmod { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px 14px; margin: 6px 0 10px; }

/* 1.36.832: Pakete je Position (Meine Bestellungen) */
.skposp { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 3px 0 0; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.skpapt { min-width: 0; display: flex; flex-direction: column; }   /* 1.36.842: Text und Sendung untereinander statt nebeneinander */
.skposp > span { overflow-wrap: anywhere; }
.skposp a { font-weight: 600; }

/* 1.36.835 (Ernst 25.11. 17:37 „Optik vom Marketing Tool moderner – Glas-Optik wie die neue Navi im 3D-Tool, aber alles hell und freundlich“; 18:09 „Ja finde ich gut, baue das – überall so“):
   ganzes Portal – Pastell-Hintergrund, Karten aus Milchglas, Reiter als Pillen, runde Knöpfe. Präfix „html“ (Spezifität 0,1,1): eigene Varianten wie .card.ztende bleiben stärker.
   Farben als Variablen – die Zeiterfassung im Dunkelmodus bekommt dunkles Glas (unten). */
html {
  --mg-glass: rgba(255, 255, 255, .62); --mg-glass-hi: rgba(255, 255, 255, .82); --mg-glass-lo: rgba(255, 255, 255, .7); --mg-rand: rgba(255, 255, 255, .85); --mg-linie: rgba(51, 55, 59, .09);
  --mg-schatten: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 34px rgba(63, 68, 73, .08), 0 2px 6px rgba(63, 68, 73, .04); --mg-blur: blur(20px) saturate(170%);
  --mg-h: #24272a; --mg-tab: #4a5a6a; --mg-tab-on: var(--navy); --mg-tab-on-bg: #fff; --mg-tile: #fff; --mg-zeile: rgba(255, 255, 255, .55); --mg-th: rgba(255, 255, 255, .45);
  --mg-nav: rgba(255, 255, 255, .55); --mg-nav-rand: rgba(255, 255, 255, .7); --mg-gelb: rgba(255, 243, 214, .7);
  --mg-hg: radial-gradient(1100px 620px at 8% -8%, #e4e6e8 0%, rgba(228, 230, 232, 0) 62%), radial-gradient(900px 560px at 96% 4%, #eceeef 0%, rgba(236, 238, 239, 0) 58%),
    radial-gradient(1000px 700px at 60% 105%, #d3f3e5 0%, rgba(211, 243, 229, 0) 60%), radial-gradient(700px 500px at 0% 80%, #ffe8d6 0%, rgba(255, 232, 214, 0) 60%), #f7f8f8;
  --line: rgba(51, 55, 59, .10); --chip: rgba(53, 57, 62, .06); --soft: rgba(206, 17, 29, .10);
}
@media (prefers-color-scheme: dark) { html[data-site="time"] {
  --mg-glass: rgba(29, 32, 35, .72); --mg-glass-hi: rgba(41, 45, 49, .85); --mg-glass-lo: rgba(41, 45, 49, .62); --mg-rand: rgba(255, 255, 255, .08); --mg-linie: rgba(255, 255, 255, .10);
  --mg-schatten: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 10px 34px rgba(0, 0, 0, .35); --mg-h: var(--ink); --mg-tab: #a9b6c2; --mg-tab-on: #e7eaec; --mg-tab-on-bg: #34393e; --mg-tile: #262a2d;
  --mg-zeile: rgba(255, 255, 255, .04); --mg-th: rgba(255, 255, 255, .03); --mg-nav: rgba(24, 26, 28, .7); --mg-nav-rand: rgba(255, 255, 255, .06); --mg-gelb: rgba(58, 44, 18, .7);
  --mg-hg: radial-gradient(1100px 620px at 8% -8%, #2d3034 0%, rgba(45, 48, 52, 0) 62%), radial-gradient(900px 560px at 96% 4%, #2d3135 0%, rgba(45, 49, 53, 0) 58%), radial-gradient(1000px 700px at 60% 105%, #0f3328 0%, rgba(15, 51, 40, 0) 60%), #111213;
  --line: #2e3135; --chip: #24282b; --soft: #292d31; } }
html body { background: var(--mg-hg); background-attachment: fixed; }
html nav.tabs { background: var(--mg-nav); -webkit-backdrop-filter: var(--mg-blur); backdrop-filter: var(--mg-blur); border-bottom: 1px solid var(--mg-nav-rand); box-shadow: 0 6px 24px rgba(63, 68, 73, .06); padding-top: 7px; padding-bottom: 7px; gap: 4px; }
html nav.tabs button { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--mg-tab); padding: 8px 15px; border-radius: 999px; transition: background .15s, color .15s, box-shadow .15s; }
html nav.tabs button:hover { background: var(--mg-glass-lo); color: var(--mg-tab-on); }
html nav.tabs button.on { background: var(--mg-tab-on-bg); color: var(--mg-tab-on); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 4px 14px rgba(63, 68, 73, .12); }
html nav.tabs.eng button { padding-left: 11px; padding-right: 11px; } html nav.tabs.enger button { padding-left: 8px; padding-right: 8px; font-size: 13px; }
html .card, html .mfovb { background: var(--mg-glass); -webkit-backdrop-filter: var(--mg-blur); backdrop-filter: var(--mg-blur); border: 1px solid var(--mg-rand); border-radius: 20px; box-shadow: var(--mg-schatten); }
html .card { padding: 18px; }
html .card h2, html .mfh1:not(.gross) { text-transform: none; letter-spacing: -.01em; font-size: 18px; font-weight: 700; color: var(--mg-h); }
html .card h2::before, html .mfh1:not(.gross)::before { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #ef3b47, #f05c66); box-shadow: 0 0 0 4px rgba(239, 59, 71, .14); }
html .mfh1.gross { line-height: 1.15; font-size: 30px; font-weight: 750; letter-spacing: -.02em; background: linear-gradient(100deg, #2e3237 0%, #ab0e18 60%, #e04b55 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html .btn { border-radius: 999px; border-color: var(--mg-linie); background: var(--mg-glass-hi); box-shadow: 0 1px 2px rgba(63, 68, 73, .06); transition: background .15s, box-shadow .15s, transform .15s; }
html .btn:hover { background: var(--mg-tile); border-color: rgba(206, 17, 29, .35); box-shadow: 0 6px 16px rgba(63, 68, 73, .10); }
html .btn.primary { background: linear-gradient(135deg, #ff4f5b 0%, #e9202d 55%, #d01421 100%); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(233, 32, 45, .28), 0 1px 0 rgba(255, 255, 255, .35) inset; }
html .btn.primary:hover { background: linear-gradient(135deg, #ff5f6a 0%, #f02a37 55%, #d81b28 100%); box-shadow: 0 10px 24px rgba(233, 32, 45, .34); }
html .btn.go { background: linear-gradient(135deg, #2bb673, #17834f); border-color: transparent; color: #fff; }
html .btn.danger { background: linear-gradient(135deg, #e0483c, #b3261e); border-color: transparent; color: #fff; }
@media (hover: hover) { html .btn:not(:disabled):hover { transform: translateY(-1px); } }
html :is(main, .mfovb) :is(input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=tel], input[type=date], select, textarea) { border-radius: 12px; border-color: var(--mg-linie); background-color: var(--mg-glass-hi); }
html :is(main, .mfovb) :is(input, select, textarea):focus { outline: none; border-color: rgba(206, 17, 29, .55); box-shadow: 0 0 0 4px rgba(206, 17, 29, .16); }
html :is(.chip, .mfchip, .ivkat, .mfstep) { background: var(--mg-glass-lo); border-color: var(--mg-linie); box-shadow: 0 1px 2px rgba(63, 68, 73, .05); }
html .chip.on, html .mfchip.an { background: var(--mg-tile); border-color: rgba(206, 17, 29, .45); color: var(--link); box-shadow: 0 4px 12px rgba(171, 14, 24, .14); }
html :is(.ivkat.an, .mfstep.on) { background: linear-gradient(135deg, #ab0e18, #2e3237); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(46, 50, 55, .25); }
html .mftest { background: var(--mg-gelb); -webkit-backdrop-filter: var(--mg-blur); backdrop-filter: var(--mg-blur); border: 1px solid rgba(241, 211, 148, .7); border-radius: 18px; box-shadow: 0 6px 20px rgba(160, 110, 20, .07); }
html .mftour { border: 1px solid var(--mg-rand); background: linear-gradient(135deg, rgba(222, 246, 236, .75), var(--mg-glass)); }
html .mftour li, html .mfkl li { background: var(--mg-glass-lo); border-color: var(--mg-linie); border-radius: 14px; }
html .mfkl li:hover, html .mfkl li.on { background: var(--mg-tile); border-color: rgba(206, 17, 29, .4); box-shadow: 0 6px 18px rgba(63, 68, 73, .10); }
html .mfkpi, html .mkkpis > div { --mgc: var(--navy); border: 1px solid var(--mg-rand); border-radius: 16px; position: relative; padding: 12px 14px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--mgc) 13%, var(--mg-tile)) 0%, var(--mg-glass-lo) 58%); box-shadow: 0 4px 14px rgba(63, 68, 73, .06), 0 1px 0 rgba(255, 255, 255, .9) inset; }
html .mfkpi::after { content: ''; position: absolute; right: 12px; top: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--mgc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mgc) 18%, transparent); }
html .mfkpi.gruen { --mgc: var(--mf-gruen); } html .mfkpi.gelb { --mgc: var(--mf-gelb); } html .mfkpi.rot { --mgc: var(--mf-rot); } html .mfkpi.blau { --mgc: var(--mf-blau); } html .mfkpi.warn { --mgc: #c0661c; }
html .mfbar { border-radius: 999px; height: 22px; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset; }
html .mfcard { border-radius: 14px; border-color: var(--mg-linie); background: var(--mg-glass-lo); }
html .tbl { border-radius: 14px; }
html th { background: var(--mg-th); border-bottom-color: var(--mg-linie); }
html td { border-bottom-color: var(--mg-linie); }
html tbody tr:hover td { background: var(--mg-zeile); }
html .msg { border-radius: 14px; }
html .pfleiste { border-radius: 16px; }
@media (max-width: 600px) { html .pfleiste .pfb { height: auto; min-height: 40px; line-height: 1.2; } }   /* zweizeilig am Handy statt abgeschnitten */
/* dunkle Dashboards (Cockpit, Grafik-Dashboard): eigene dunkle Leiste – Pillen halbtransparent statt weiß */
html[data-site="cockpit"], html.gfdb-an[data-site="grafik"] { --mg-tab-on-bg: rgba(255, 255, 255, .16); --mg-glass-lo: rgba(255, 255, 255, .08); --mg-nav-rand: rgba(255, 255, 255, .08); }
html[data-site="cockpit"] nav.tabs button.on, html.gfdb-an[data-site="grafik"] nav.tabs button.on { box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset; }
@media (prefers-reduced-transparency: reduce) { html :is(.card, .mfovb, nav.tabs, .mftest) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--surface); } }

/* 1.36.835: Druckdaten-Prüfung bei den Druckdaten einer Kampagne (Marketing) */
.mfddpf { flex: 1 0 100%; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.mfddpf.ok { color: var(--go); } .mfddpf.warn { color: var(--warn); font-weight: 600; }
.dudl li:has(.dupf) { flex-wrap: wrap; } .dupf { flex: 1 0 100%; padding-left: 42px; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; } .dupf.ok { color: var(--go); } .dupf.warn { color: var(--warn); font-weight: 600; }   /* 1.36.835: Datenupload */

/* 1.36.836: Social Media im Marketing-Tool – Kanäle in der Kampagnenplanung, Kasten an der Kampagne, Dashboard „Social Media heute“ */
.mfanf.mfsocbx { display: block; border-left-color: #c2367f; }
.mfsocbx > .mfrowh { align-items: flex-start; }
.mfsocbx > .mfrowh > div:first-child { flex: 1 1 320px; min-width: 0; }
.mfsocbx > .mfrowh p.hint { margin: 4px 0 0; }
.mfsoc { display: grid; gap: 6px; margin: 6px 0 4px; }
.mfsocz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 190px) minmax(210px, 300px); gap: 8px; align-items: center; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); opacity: .75; }
.mfsocz.an { opacity: 1; border-color: rgba(194, 54, 127, .38); box-shadow: 0 1px 0 rgba(194, 54, 127, .08); }
.mfsocz > .check { margin: 0; min-width: 0; }
.mfsocz small.hint { display: block; font-size: 11px; font-weight: 400; }
.mfsocz select, .mfsocz input[type="time"] { width: 100%; min-width: 0; }
.mfsocu { display: flex; gap: 6px; min-width: 0; } .mfsocu > select { flex: 1 1 auto; } .mfsocu > input[type="time"] { flex: 0 0 104px; width: 104px; }
.mfsocf { border: 0; padding: 4px 0 0; margin: 6px 0 0; display: grid; gap: 4px; min-width: 0; }
.mfsocf legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.mfsoced { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.mfsocl { display: grid; gap: 8px; margin-top: 10px; }
.mfsocp { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.mfsocp.aus { opacity: .55; }
.mfsoci { width: 72px; height: 90px; object-fit: cover; border-radius: 9px; background: var(--soft); display: block; }
.mfsoci.leer { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); text-align: center; }
.mfsoct { min-width: 0; display: grid; gap: 4px; }
.mfsocx { margin: 0; white-space: pre-line; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; max-height: 7.2em; overflow: hidden; }
.mfsoct textarea { width: 100%; }
.row.mfsocb { gap: 6px 14px; align-items: center; }
.mfsoch .mfsocl { margin-top: 6px; }
@media (max-width: 640px) { .mfsocz { grid-template-columns: 1fr 1fr; } .mfsocz > .check { grid-column: 1 / -1; } .mfsocu { flex-wrap: wrap; } .mfsocu > input[type="time"] { flex: 1 1 100%; width: auto; } .mfsocp { grid-template-columns: 56px minmax(0, 1fr); } .mfsoci { width: 56px; height: 70px; } }

/* 1.36.837: 📣 Foto für Social Media vorschlagen – Stempeluhr (Fotos der Aufgabe) und Vertrieb (Fotos am Lieferschein bzw. aus den Aufgaben) */
.kfsm, .vtfsm { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .45); font-size: 14px; line-height: 1; padding: 0; cursor: pointer; filter: grayscale(1); opacity: .85; }
.kfsm.on, .vtfsm.on { background: #c2367f; border-color: #fff; filter: none; opacity: 1; box-shadow: 0 0 0 3px rgba(194, 54, 127, .3); }
.vtfsm { top: 6px; left: 6px; }
.kfsmh { margin: 6px 0 0; font-size: 12px; }
/* 1.36.841 (Ernst 25.11. 21:09): Marketing – Vermarktung, Marktvergleich, Social Media als eigene Gruppe rechts: Abstand, Strich davor, eigene Hintergrundfarbe */
@media (min-width: 701px) {
  html nav.tabs button.nzus { background: rgba(239, 59, 71, .12); }
  html nav.tabs button.nzus:hover { background: rgba(239, 59, 71, .22); }
  html nav.tabs button.nzus.on { background: var(--mg-tab-on-bg); box-shadow: 0 0 0 1px rgba(239, 59, 71, .55) inset, 0 4px 14px rgba(63, 68, 73, .12); }
  html nav.tabs button.nzus1 { margin-left: 21px; }
  html nav.tabs button.nzus1::before { content: ""; position: absolute; left: -12px; top: 20%; bottom: 20%; width: 1px; background: currentColor; opacity: .3; pointer-events: none; }
}
/* 1.36.843 (Ernst 25.11. 21:12): Kampagnen links in zwei Kästen – aktive und abgeschlossene; Symbole Kopieren, Archiv, Löschen */
.mfkla { display: grid; gap: 16px; align-content: start; min-width: 0; }
.mfkla .mfkl ul { max-height: 52vh; }
.mfkact { flex: none; display: inline-flex; gap: 2px; margin: -5px -5px -4px 0; }
.mfkact .mfkdel { margin: 0; }
.mfkic { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.mfkic svg { width: 17px; height: 17px; }
.mfkic:hover, .mfkic:focus-visible { color: var(--link); border-color: var(--link); background: var(--soft); }
/* 1.36.843 (Ernst 25.11. 21:31): Dashboard im Marketing magenta hinterlegt, Schrift weiß – der Überblick */
@media (min-width: 701px) {
  html nav.tabs button.ndash { background: linear-gradient(135deg, #ff4f5b 0%, #e9202d 55%, #d01421 100%); color: #fff; box-shadow: 0 4px 12px rgba(233, 32, 45, .22); }
  html nav.tabs button.ndash:hover { background: linear-gradient(135deg, #ff5f6a 0%, #f02a37 55%, #d81b28 100%); color: #fff; }
  html nav.tabs button.ndash.on { color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9) inset, 0 6px 16px rgba(233, 32, 45, .35); }
  html nav.tabs button.ndash svg, html nav.tabs button.ndash .ic { color: #fff; }
}
/* 1.36.844 (Ernst 25.11. 21:33/21:34/21:38): ⚙ Einstellungen in Reitern, Budget und Grafiken im Dashboard */
.mfcfgh { display: flex; align-items: center; gap: 10px; }
.mfcfgh svg { width: 24px; height: 24px; color: var(--navy); }
.mfcfgt { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.mfcfgt button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink); }
.mfcfgt button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.mfcfgt button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mfcfgp { display: grid; gap: 12px; min-width: 0; }
.mfcfgp h3 { margin: 10px 0 0; }
.mfkon { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 14px; }
.mfkst { font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.mfddv td, .mfddv th { vertical-align: middle; }
.mfddv select { min-width: 84px; }
.mfmm { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mfmm input { width: 74px; }
.mfausl input { width: 100%; min-width: 0; }
.mfausl td:nth-child(3) input { max-width: 140px; text-align: right; }
.mfgearb { display: inline-flex; align-items: center; gap: 6px; }
.mfgearb svg { width: 17px; height: 17px; }
.mfbud .row select { min-width: 92px; }
.mfbudk .mfkpi.mfka { border-top-color: #e9202d; } .mfbudk .mfkpi.mfkg { border-top-color: #f29aa0; }
.mfbudbar { position: relative; display: flex; height: 18px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); margin: 14px 0 4px; overflow: visible; }
.mfbudbar span { height: 100%; }
.mfbudbar span.a { background: #e9202d; border-radius: 9px 0 0 9px; }
.mfbudbar span.g { background: repeating-linear-gradient(135deg, #f29aa0 0 5px, #fbd3de 5px 9px); }
.mfbudbar i { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.mfchh { margin: 18px 0 8px; font-size: 15px; }
.mfmon { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; height: 190px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mfmc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; height: 100%; outline: none; }
.mfmc small { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 11px; }
.mfms { display: flex; flex-direction: column-reverse; height: 100%; justify-content: flex-start; gap: 2px; }
.mfms span { display: block; width: 100%; min-height: 2px; }
.mfms span:last-child { border-radius: 4px 4px 0 0; }
.mfms .k, .mfsw.k { background: #e9202d; } .mfms .b, .mfsw.b { background: #2e3237; } .mfms .s, .mfsw.s { background: #ce111d; }
.mfms .g, .mfsw.g { background: repeating-linear-gradient(135deg, #f29aa0 0 5px, #fbd3de 5px 9px); }
.mfmonb { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--muted); z-index: 1; pointer-events: none; }
.mfmonb span { position: absolute; right: 0; bottom: 2px; font-size: 11px; font-style: normal; color: var(--muted); background: var(--surface); padding: 0 4px; border-radius: 4px; }
.mfsw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.mfbud .mfleg { margin-top: 26px; }
.mfhb { display: grid; gap: 6px; }
.mfhbz { position: relative; display: grid; grid-template-columns: minmax(90px, 210px) minmax(0, 1fr) 44px; align-items: center; gap: 10px; outline: none; font-size: 13px; }
.mfhbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfhbt { display: flex; gap: 2px; height: 14px; }
.mfhbt i { display: block; height: 100%; }
.mfhbt i:last-child { border-radius: 0 4px 4px 0; }
.mfhbz b { text-align: right; font-variant-numeric: tabular-nums; }
.mfhbt i.gruen, .mfhbt i.ks.gruen { background: var(--mf-gruen); } .mfhbt i.gelb { background: var(--mf-gelb); } .mfhbt i.rot, .mfhbt i.ks.rot { background: var(--mf-rot); } .mfhbt i.blau, .mfhbt i.ks.blau { background: var(--mf-blau); }
.mfhbt i.ks.lila { background: var(--mf-lila); } .mfhbt i.ks.grau, .mfhbt i.ks.grau2 { background: var(--mf-grau); }
.mfmc[data-mftt]:hover::after, .mfmc[data-mftt]:focus-visible::after, .mfhbz[data-mftt]:hover::after, .mfhbz[data-mftt]:focus-visible::after {
  content: attr(data-mftt); position: absolute; z-index: 5; white-space: pre-line; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.4; padding: 6px 9px; border-radius: 6px; box-shadow: var(--shadow); pointer-events: none; width: max-content; max-width: 240px; }
.mfmc[data-mftt]:hover::after, .mfmc[data-mftt]:focus-visible::after { bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); }
.mfmc:first-child:hover::after, .mfmc:first-child:focus-visible::after { left: 0; transform: none; }
.mfmc:last-child:hover::after, .mfmc:last-child:focus-visible::after { left: auto; right: 0; transform: none; }
.mfhbz[data-mftt]:hover::after, .mfhbz[data-mftt]:focus-visible::after { top: calc(100% + 4px); left: 100px; }
.mfmc:hover .mfms span, .mfmc:focus-visible .mfms span { filter: brightness(1.08); }
.mfmc:focus-visible { box-shadow: 0 0 0 2px var(--blue); border-radius: 4px; }
@media (max-width: 600px) { .mfmon { gap: 3px; height: 160px; } .mfmc small { font-size: 9px; } .mfhbz { grid-template-columns: minmax(70px, 110px) minmax(0, 1fr) 36px; } }
nav.tabs button.ngear { display: none; }
@media (min-width: 701px) {
  html nav.tabs button.ngear { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding-left: 10px; padding-right: 10px; }
  html nav.tabs button.ngear svg { width: 19px; height: 19px; }
}
.ddvg { margin-top: 2px; font-weight: 600; }
.ddvgl { display: grid; gap: 4px; margin-bottom: 8px; }
.ddvgl ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; font-size: 13px; }
.ddvgl li b { display: inline-block; min-width: 92px; }
.ddvgl .link { justify-self: start; }
/* 1.36.844 (Ernst 25.11. 22:27): vom Kunden abgezogene Gutschrift im Zahlungsabgleich */
.vtzap.gut { background: var(--go-soft); }
.vtzap.gut .vtzab { color: var(--go); }
/* 1.36.844 (22:43): Tabelle Beschnitt im Motivgenerator – für alle, je Kategorie, je Format */
.ddbt .ddbtall { align-items: flex-end; }
.ddbt .ddbtall .field input { width: 110px; }
.ddbtkat { gap: 10px 18px; margin: 4px 0 10px; }
.ddbtin { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ddbtin input { width: 76px; }
.ddbtt td { vertical-align: middle; }
/* 1.36.845: Erinnerungen & Mahnungen (Rechnungen → ⏰) */
.mhnkpi { cursor: default; } .mhnkpi:hover { border-color: var(--line); }
.mhnbar { position: sticky; top: 62px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.mhnbar.on { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.mhnbar .grow { min-width: 0; }
.mhnfrage { font-weight: 700; }
.mhnrows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mhnr { display: grid; grid-template-columns: auto minmax(0, 1.6fr) minmax(0, 1.1fr) auto; gap: 4px 12px; align-items: start; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.mhnr.bereit { background: linear-gradient(90deg, var(--warn-bg), transparent 40%); }
.mhnr.an { background: var(--soft); }
.mhnck { padding-top: 2px; } .mhnck input { width: 18px; height: 18px; }
.mhnr .vtk, .mhnr .mhns, .mhnr .vtbet { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mhnr .vtk small, .mhnr .mhns small, .mhnr .vtbet small { color: var(--muted); }
.mhnr .vtbet { text-align: right; align-items: flex-end; } .mhnr .vtbet b { font-variant-numeric: tabular-nums; }
.mhns .tag { align-self: flex-start; }
.mhnbank, .mhnact, .mhned { grid-column: 2 / -1; margin: 0; }
.mhnbank { color: var(--bad); font-weight: 600; font-size: 13px; }
.mhnact { gap: 6px 14px; flex-wrap: wrap; align-items: center; } .mhnact .hint { font-size: 12.5px; }
.mhned { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.mhned .row { flex-wrap: wrap; gap: 8px 10px; } .mhned .field.grow { flex: 1 1 200px; min-width: 0; }
.mhned textarea { width: 100%; min-height: 9em; font: inherit; }
.mhncfg { margin: 16px 0 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.mhncfg summary { cursor: pointer; font-weight: 700; }
.mhncfg[open] { display: flex; flex-direction: column; gap: 8px; } .mhncfg h4 { margin: 10px 0 0; font-size: 14px; }
.mhncfg .row { flex-wrap: wrap; gap: 8px 14px; align-items: end; } .mhncfg textarea { width: 100%; font: inherit; }
.mhnwer { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.mhnlog { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; } .mhnlog .hint { font-size: 12.5px; }
@media (max-width: 760px) { .mhnr { grid-template-columns: auto minmax(0, 1fr) auto; } .mhnr .mhns { grid-column: 2 / -1; grid-row: 2; } .mhnbar { top: 54px; } }
/* 1.36.847: Verwaltung › Zugänge › YP_Cut */
.ycneu .linkbox { margin-top: 8px; }
.ycneu .linkbox input, #ycadr { flex: 1; min-width: 0; }
.ycrow { margin: 14px 0 6px; }
/* 1.36.870: Druckdaten auf dem Mac */
.dabneu ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.dabneu .linkbox { margin-top: 6px; }
.dabneu .linkbox input { flex: 1; min-width: 0; }
.dabrow { margin: 14px 0 6px; align-items: flex-end; }
.dabfe { margin-top: 4px; color: #b42318; font-size: 12px; }
.dabfl { margin: 4px 0 0; padding-left: 18px; }
.dabhilfe { margin-top: 10px; }
.dabhilfe code { overflow-wrap: anywhere; }
.dabzund { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(127, 127, 127, .25); }
.dabzund h3 { margin: 0 0 4px; font-size: 15px; }
.dabmodus { margin: 10px 0 0; }
.vwncweg { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vwncwegk { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ycweg { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }

/* 1.36.857 (Ernst 26.11. 16:35 iPhone „Die Glass Buttons sehen etwas gedrängelt aus“): Kopf am Handy – alle Symbolknöpfe gleich groß (40 × 40), gleiche Rundung,
   8 px Abstand, rechts derselbe Rand wie links; die Leiste darunter mit Luft am Rand, die aktive Pille klebt nicht mehr am Bildschirmrand */
@media (max-width: 700px) {
  header.top { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  header.top .hr { gap: 8px; }
  header.top .hr > :is(.hsuche, .hkal, .burger):not([hidden]), header.top .hr .hivw:not([hidden]) > .hiv { display: inline-flex; align-items: center; justify-content: center; flex: none; position: relative;
    width: 40px; min-width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .08); color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  header.top .hr > :is(.hsuche, .hkal, .burger):not([hidden]):hover, header.top .hr .hiv:hover { background: rgba(255, 255, 255, .16); }
  header.top .hr > .hkal.on:not([hidden]) { background: #fff; color: #2e3237; border-color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
  header.top .hr > .hsuche svg, header.top .hr > .hkal svg { width: 18px; height: 18px; }
  header.top .hr > .burger svg { width: 22px; height: 22px; }
  header.top .hr .hiv > span[aria-hidden] { font-size: 17px; line-height: 1; }
  header.top .hr > .hkal .nbadge { position: absolute; top: -6px; right: -6px; margin: 0; }
  html nav.tabs.mnv { padding: 6px max(10px, env(safe-area-inset-right, 0px)) 6px max(10px, env(safe-area-inset-left, 0px)); gap: 6px; }
  html nav.tabs.mnv button.pri, html nav.tabs.mnv button.on { border-radius: 16px; padding: 7px 4px 6px; }
  html nav.tabs.mnv button.on { box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 8px rgba(63, 68, 73, .12); }
}
@media (max-width: 380px) {
  header.top .hr { gap: 6px; }
  header.top .hr > :is(.hsuche, .hkal, .burger):not([hidden]), header.top .hr .hivw:not([hidden]) > .hiv { width: 36px; min-width: 36px; height: 36px; border-radius: 11px; }
  html nav.tabs.mnv { gap: 4px; padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
}

/* 1.36.858: Sende-Dialog – Hinweis auf Text aus Angeboten an andere Kunden */
.vttxp { display: grid; gap: 6px; }
.vttxp ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.vttxp li { overflow-wrap: anywhere; line-height: 1.4; }
.vttxp li small { color: var(--muted); }
.vttxp .row { margin: 0; }

/* 1.36.858: Angebot – Entwürfe und Fotos (eine PDF beim Senden, beim Auftrag „Material“ in der Nextcloud) */
.vtan.mat { box-shadow: inset 3px 0 0 #f05c66; }
.vtan .vtmat { font-size: 13px; color: var(--muted); }
.vtmath, .vtmatd { margin: 8px 0 0; }
@media (max-width: 700px) { .vtan > a.grow { flex: 1 1 100%; order: -1; } .vtan > .hint { flex: 1 1 auto; } }   /* Handy: Dateiname oben über die ganze Breite */

/* 1.36.859: Korrekturabzug zum Angebot (Vertrieb) – Karte, Pop-ups, Ausschnitt in Originalgröße */
.vtkx .vtkxt { margin: 4px 0 8px; overflow-wrap: anywhere; }
.vtkxs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vtkxs a { display: block; width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.vtkxs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vtkxa { margin: 8px 0 0; }
.vtkxb { margin-top: 10px; flex-wrap: wrap; gap: 8px; }
.vtkxd .kimc { max-width: 720px; }
.vtkxpg { position: relative; overflow: hidden; width: 100%; max-height: 56vh; margin: 4px auto 0; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; border: 1px solid var(--line); background: #fff; }
.vtkxpg img { width: 100%; height: 100%; display: block; pointer-events: none; }
.vtkxr { position: absolute; border: 2px solid #e9202d; background: rgba(233, 32, 45, .12); box-shadow: 0 0 0 9999px rgba(18, 20, 22, .28); pointer-events: none; }
.vtkxinfo { margin: 0; font-variant-numeric: tabular-nums; }
.vtkxinfo.err { color: #b4000c; font-weight: 600; }
.vtkxck .err { color: #b4000c; }
/* 1.36.861 (Ernst 26.11. 20:23): Auftrag von Hand einem Shopbenutzer zuweisen – Auswahl in „Ohne zugewiesenen Benutzer“ und in der Bestellung */
.shku { flex: 1 1 100%; display: grid; gap: 10px; margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.tazku { display: block; padding: 0; border: 0; background: none; } .tazku .shku { margin-top: -4px; }
.shkul { display: grid; gap: 6px; max-height: 340px; overflow-y: auto; }
.shkuz { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.shkuz:has(input:checked) { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.shkuz input { margin-top: 3px; accent-color: var(--blue); flex: none; }
.shkuz.schon { opacity: .6; cursor: default; }
.shkus { width: 100%; min-height: 38px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: inherit; }
.shkum { align-items: flex-start; } .shkum input { margin-top: 2px; }
.shkur { margin: 8px 0; }
/* 1.36.861 (Ernst 26.11. 20:33): Rechnungen – Umschalter „Alle Rechnungen“ / „Offene Posten“ statt Aufklapper; eingeklappt eine Zeile mit der Summe */
.vtansw { display: inline-flex; padding: 3px; margin: 2px 0 12px; border-radius: 999px; background: var(--soft); gap: 2px; }
.vtansw button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.vtansw button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(26, 28, 30, .14); }
button.vtopd.vtopzeile { width: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 16px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
button.vtopd.vtopzeile:hover { background: var(--soft); }
.vtopd.vtopzeile .vtopx { color: var(--blue); font-weight: 700; }
.vtopan .vtopkopf { align-items: baseline; gap: 4px 14px; padding: 12px 16px; flex-wrap: wrap; } .vtopan .vtopkopf .btn { margin-left: auto; }
.vtopan > .vtop { padding: 0 16px 14px; border-top: 1px solid var(--line); }

/* 1.36.880 (Ernst 27.11. 20:38, Screenshot Anmeldung auf dem Dashboard: „wie sieht das denn aus“): Anmeldekarte – das Formular darin ist selbst eine .card und bekam
   eine zweite Milchglas-Fläche (weißer Kasten ab „E-Mail-Adresse“); „Kennwort vergessen?“ als Textlink statt Balken. Auf dem dunklen Dashboard (Cockpit) eine dunkle Karte
   statt grauem Milchglas auf Navy. */
html .card.lgkarte #lf { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
html .card.lgkarte > .link#fg { background: none; align-self: center; padding: 4px 8px; }
html .card.lgkarte > .link#fg:hover { border-color: transparent; text-decoration: underline; }
html[data-site="cockpit"] .card.lgkarte { background: linear-gradient(160deg, rgba(50, 54, 59, .92) 0%, rgba(39, 42, 45, .94) 100%); border-color: var(--db-line2); color: var(--db-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 18px 48px rgba(0, 0, 0, .35); }
html[data-site="cockpit"] .card.lgkarte h2 { color: var(--db-ink); }
html[data-site="cockpit"] .card.lgkarte :is(.hint, .field > span) { color: var(--db-muted); }
html[data-site="cockpit"] .card.lgkarte .pwerst { color: #ffb0a6; }
html[data-site="cockpit"] .card.lgkarte :is(input[type=text], input[type=password], input[type=tel]) { background-color: rgba(255, 255, 255, .07); border-color: var(--db-line2); color: var(--db-ink); }
html[data-site="cockpit"] .card.lgkarte :is(input[type=text], input[type=password], input[type=tel]):focus { border-color: var(--db-hell); box-shadow: 0 0 0 4px rgba(239, 59, 71, .18); }
html[data-site="cockpit"] .card.lgkarte input:-webkit-autofill { -webkit-text-fill-color: var(--db-ink); -webkit-box-shadow: 0 0 0 40px #393e43 inset; caret-color: var(--db-ink); }
html[data-site="cockpit"] .card.lgkarte > .link#fg { color: #f7979e; }
html[data-site="cockpit"] .card.lgkarte :is(.lregneu, .msg) { color: var(--ink); }

/* 1.36.881 (Ernst 27.11. 20:48, Offene Posten „ohne Fälligkeit“): Herkunft der Fälligkeit unter dem Tag – angenommen bzw. laut Zahlungsbedingung, wenn Weclapp etwas anderes sagt */
.vtop .vtopr .vtopq { font-size: 11.5px; line-height: 1.3; }
/* 1.36.882 (Ernst 27.11. 20:56 „Cybersecurity auf den höchsten Stand der Technik“): Anmelden mit Passkey – „oder“-Trenner und zweiter Knopf unter dem Formular */
.lgkarte .lgpk { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 4px; text-align: center; }
.lgkarte .lgpk[hidden] { display: none; }
.lgkarte .lgoder { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.lgkarte .lgoder::before, .lgkarte .lgoder::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lgkarte .lgpkb { justify-content: center; font-weight: 650; }
.lgkarte .lgpk .hint { font-size: 12px; }
html[data-site="cockpit"] .card.lgkarte .lgoder { color: var(--db-muted); }
html[data-site="cockpit"] .card.lgkarte .lgoder::before, html[data-site="cockpit"] .card.lgkarte .lgoder::after { background: var(--db-line2); }
html[data-site="cockpit"] .card.lgkarte .lgpkb { background: rgba(255, 255, 255, .08); border-color: var(--db-line2); color: var(--db-ink); }
html[data-site="cockpit"] .card.lgkarte .lgpkb:hover { background: rgba(255, 255, 255, .14); }
html[data-site="cockpit"] .card.lgkarte .lgpk .hint { color: var(--db-muted); }
/* 1.36.882 (Ernst 27.11. 20:56 „sämtliche Seiten, Unterseiten und Pop-up-Seiten auf den einheitlichen Designstand“): Pop-up-Fenster wie die Karten seit 1.36.835 –
   Milchglas, 20 px Rundung, weicher Schatten (vorher deckend weiß mit 10–14 px). Dunkles Dashboard (.cppopb) bleibt eigen; im Dunkelmodus der Zeiterfassung dunkles Glas über die Variablen. */
html :is(.swwbox, .kdlgp, .ztgqbox, .wmdp, .vpdfbox, .kogbox, .ddedbox, .skpkbox) { background: var(--mg-glass-hi); -webkit-backdrop-filter: var(--mg-blur); backdrop-filter: var(--mg-blur);
  border: 1px solid var(--mg-rand); border-radius: 20px; box-shadow: 0 24px 60px rgba(44, 48, 52, .22), 0 1px 0 rgba(255, 255, 255, .9) inset; }
/* 1.36.886 (Ernst 29.11. 19:33 Dateiversand-Pop-up „noch nicht in der Glas-Optik, du hast gesagt, dass du alle Seiten und Pop-ups umgebaut hast“): 1.36.882 hatte nur 8 Pop-up-Arten –
   jetzt alle Dialoge, die die Module selbst an <body> hängen: heller, leicht blauer Schleier mit Unschärfe statt dunklem Grau, das Fenster selbst (erstes Kind) Milchglas wie die Karten,
   Eingabefelder darin rund und gläsern wie in den Seiten (vorher nur in main – außerhalb blieben sie eckig). Titel im Dateiversand mit type="text" (vorher ohne – darum schmaler und eckig). Vollbild-Werkzeuge (3D, Editoren, Bildansicht) bleiben dunkel.
   Die Anleitung (#anlov) eigens, weil ihr Fenster über die ID gestaltet ist; [id=…] statt # in :is(), damit die Spezifität nicht auf ID-Stufe springt. */
html :is(.gfdlg, [id=anlov], .kim, .tmov, .lsuov, .sktapop, .mfov, .kiaov, .wsdlg, .fdlg, .mfbov, .skwov, .bspwahl, .bteil, .gsdrop, .mfvbg, .sgedlg, .su-ov, .vwd, .kdlg, .swwin, .vpdf, .ddedit, .wmdov, .ztgq) {
  background: rgba(40, 43, 46, .26); -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); }
html :is(.gfdlg, .kim, .tmov, .lsuov, .sktapop, .kiaov, .wsdlg, .fdlg, .mfbov, .skwov, .bspwahl, .bteil, .gsdrop, .mfvbg, .sgedlg, .vwd) > :first-child,
html #anlov > .anlbox, html .gfdlg > .card, html .wsdlg .wsdlgi.card {
  background: var(--mg-glass-hi); color: var(--ink); -webkit-backdrop-filter: var(--mg-blur); backdrop-filter: var(--mg-blur); border: 1px solid var(--mg-rand); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(44, 48, 52, .22), 0 1px 0 rgba(255, 255, 255, .9) inset; }
html #anlov { background: rgba(40, 43, 46, .26); -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); }
@media (max-width: 480px) { html #anlov > .anlbox { border-radius: 0; } }
html :is(.gfdlg, .tmov, .lsuov, .sktapop, .mfov, .kiaov, .wsdlg, .fdlg, .mfbov, .skwov, .bspwahl, .bteil, .gsdrop, .mfvbg, .sgedlg, .vwd, .kdlg, .swwin, .vpdf, .ddedit, .wmdov, .ztgq, [id=anlov])
  :is(input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=tel], input[type=date], input[type=url], input[type=time], select, textarea) {
  border-radius: 12px; border-color: var(--mg-linie); background-color: var(--mg-glass-hi); }
html :is(.gfdlg, .tmov, .lsuov, .sktapop, .mfov, .kiaov, .wsdlg, .fdlg, .mfbov, .skwov, .bspwahl, .bteil, .gsdrop, .mfvbg, .sgedlg, .vwd, .kdlg, .swwin, .vpdf, .ddedit, .wmdov, .ztgq, [id=anlov]) :is(input, select, textarea):focus {
  outline: none; border-color: rgba(206, 17, 29, .55); box-shadow: 0 0 0 4px rgba(206, 17, 29, .16); }
html .trdrop { background: rgba(255, 255, 255, .5); border: 2px dashed rgba(148, 12, 21, .22); border-radius: 16px; }
html .trdrop.ueber { background: rgba(206, 17, 29, .10); border-color: #ce111d; }
html .su-ov > .su-box { background: var(--mg-glass-hi); -webkit-backdrop-filter: var(--mg-blur); backdrop-filter: var(--mg-blur); border: 1px solid var(--mg-rand); border-radius: 20px;
  box-shadow: 0 24px 60px rgba(44, 48, 52, .22), 0 1px 0 rgba(255, 255, 255, .9) inset; }
@media (max-width: 560px) { html :is(.tmov, .kiaov) > :first-child { border-radius: 0; border-width: 0; } }
/* 1.36.902: Textbausteine (ESB, DSGVO) – Fenster in Shop › Artikel */
.swkw .swwbox.txbbox{width:min(1120px,96vw);max-width:none}
.txbgrid{display:grid;grid-template-columns:minmax(200px,270px) 1fr;gap:16px;align-items:start}
.txbul{list-style:none;margin:0;padding:0;max-height:64vh;overflow:auto;border-right:1px solid var(--line,#e7e9eb);padding-right:8px}
.txbg{font-weight:700;font-size:.82rem;text-transform:none;color:var(--muted,#5b6574);margin:12px 0 4px}
.txbg:first-child{margin-top:0}
.txbl{display:block;width:100%;text-align:left;background:none;border:0;border-radius:8px;padding:7px 9px;cursor:pointer;font:inherit;color:inherit;line-height:1.3}
.txbl small{display:block;margin-top:2px}
.txbl:hover{background:var(--soft,#f3f4f6)}
.txbl.on{background:var(--primary-soft,#eff0f2);box-shadow:inset 3px 0 0 var(--primary,#b81a25)}
.txbed textarea{font:inherit;font-size:.9rem;line-height:1.45;width:100%;resize:vertical}
.txbed .field{margin-bottom:10px}
@media (max-width:760px){.txbgrid{grid-template-columns:1fr}.txbul{max-height:none;border-right:0;padding-right:0}}
/* 1.36.903: Grundrisse (public/mfgr.js) – Ablage je Objekt, Verorten am Handy (Finger: verschieben, zoomen, antippen), Markierung, kleine Vorschau */
body.mfgron { overflow: hidden; }
.mfgrov { position: fixed; inset: 0; z-index: 70; background: rgba(18, 20, 22, .55); display: flex; justify-content: center; align-items: flex-start; overflow: auto; padding: max(12px, env(safe-area-inset-top, 0px)) max(10px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); }
.mfgrov[hidden] { display: none; }
.mfgrb { position: relative; background: var(--surface); color: var(--ink); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.3); width: min(760px, 100%); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.mfgrb.voll { width: min(1200px, 100%); height: calc(100dvh - 24px); max-height: calc(100dvh - 24px); }
.mfgrkopf { display: flex; align-items: center; gap: 10px; padding-right: 40px; } .mfgrkopf h2 { margin: 0; font-size: 19px; }
.mfgrb .mfovx { top: 10px; right: 10px; }
.mfgrtip { margin: 0; } .mfgrname { margin: 0; font-weight: 600; }
.mfgrwahl { display: flex; flex-wrap: wrap; gap: 6px; }
.mfgrbox { position: relative; flex: 1 1 auto; min-height: 240px; overflow: hidden; border-radius: 10px; background: #fff; border: 1px solid var(--line); touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.mfgrimg { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; pointer-events: none; image-rendering: auto; }
.mfgrlad { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; }
.mfgrmk { position: absolute; width: 0; height: 0; pointer-events: none; }
.mfgrmk::before { content: ""; position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #e9202d; box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.mfgrmk i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #e9202d; border: 2px solid #fff; }
.mfgrpk { position: absolute; inset: 0; pointer-events: none; }
.mfgrpt { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #ce111d; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.mfgrpt b { position: absolute; left: 10px; top: -8px; font-size: 11px; line-height: 1; padding: 2px 5px; border-radius: 6px; background: rgba(46, 50, 55, .85); color: #fff; white-space: nowrap; }
.mfgrpt.an { background: #e9202d; width: 16px; height: 16px; margin: -8px 0 0 -8px; z-index: 2; } .mfgrpt.an b { background: #e9202d; }
.mfgrfuss { flex-wrap: wrap; gap: 8px; align-items: center; }
.mfgrzm { display: inline-flex; gap: 4px; } .mfgrzm .btn { min-width: 44px; min-height: 44px; font-size: 18px; } .mfgrzm .btn[data-g="ganz"] { font-size: 14px; }
.mfgrfuss .btn.primary { min-height: 44px; }
.mfgrmini { position: relative; display: block; width: 100%; max-width: 420px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.mfgrmini img { display: block; width: 100%; height: auto; }
.mfgrmp { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #e9202d; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(233, 32, 45, .35); }
.mfgrstep { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mfgrfl { display: flex; flex-direction: column; gap: 8px; margin: 6px 0; } .mfgrfl:empty { display: none; } .mfgrfl h3 { margin: 4px 0 0; }
.mfgrliste { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.mfgrkarte { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); min-width: 0; }
.mfgrkarte img { display: block; width: 100%; height: 150px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.mfgrthumb { padding: 0; border: 0; background: none; cursor: zoom-in; }
.mfgrkarte.edit .field { margin: 0; }
.mfgrneu { border-top: 1px solid var(--line); padding-top: 10px; } .mfgrneu h3 { margin: 0 0 8px; }
.mfgrleiste { gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .mfgrb.voll { height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); padding: 10px; border-radius: 12px; } .mfgrfuss .btn.primary { flex: 1 1 100%; order: 9; } .mfgrkopf h2 { font-size: 17px; } }
/* 1.36.905: Grundrisse in der Inventur – Karte im Objekt, Reiter „Grundrisse“ */
.mfgrreihe { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0; }
.mfgrreihe .mfgrthumb { display: flex; flex-direction: column; gap: 4px; text-align: left; min-width: 0; font: inherit; color: inherit; }
.mfgrreihe .mfgrthumb img { display: block; width: 100%; height: 110px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.mfgrreihe .mfgrthumb span { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mfgrobj { display: flex; flex-direction: column; margin-top: 6px; }
.mfgrorow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.mfgrorow .grow { min-width: 0; } .mfgrorow small { display: block; overflow: hidden; text-overflow: ellipsis; }
.mfgrmth { display: inline-flex; gap: 4px; flex: none; } .mfgrmth img { width: 54px; height: 40px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
@media (max-width: 600px) { .mfgrmth { display: none; } .mfgrorow .btn { flex: none; } }
.mfgrkarte img, .mfgrmini img { max-width: 100%; }
/* 1.36.907: Ebene wählen (Knöpfe), Seiten einer PDF den Ebenen zuweisen */
.mfgreb { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; } .mfgreb .mfchip { min-height: 44px; min-width: 56px; justify-content: center; }
.mfgrebx { margin-top: 4px; } .mfgrebx input { max-width: 260px; }
.mfgrebw { display: flex; flex-wrap: wrap; gap: 8px; } .mfgrebw .mfchip { min-height: 52px; min-width: 72px; font-size: 16px; justify-content: center; }
.mfgrzuw { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mfgrkarte.weg { opacity: .55; }
@media (max-width: 600px) { .mfgrzuw { grid-template-columns: 1fr; } .mfgrebw .mfchip { flex: 1 1 calc(33% - 8px); } }

/* Ergänzungen (werk/future/thema_future_extra.css) */
/* Hintergrund statt der YP-Pastelltöne (Blau, Flieder, Grün, Pfirsich): helles Anthrazit mit einem Hauch Rot */
html { --mg-hg: radial-gradient(1100px 620px at 8% -8%, #f4dcdd 0%, rgba(244, 220, 221, 0) 62%), radial-gradient(900px 560px at 96% 4%, #e3e5e8 0%, rgba(227, 229, 232, 0) 58%),
    radial-gradient(1000px 700px at 60% 105%, #e9eaec 0%, rgba(233, 234, 236, 0) 60%), #f2f3f4; }
@media (prefers-color-scheme: dark) { html[data-site="time"] { --mg-hg: radial-gradient(1100px 620px at 8% -8%, #3a1c1f 0%, rgba(58, 28, 31, 0) 62%),
    radial-gradient(900px 560px at 96% 4%, #282b2f 0%, rgba(40, 43, 47, 0) 58%), #16181a; } }
/* Kopf: Anthrazit mit roter Linie – in allen Bereichen gleich */
html[data-firma] header.top { background: linear-gradient(90deg, #232629 0%, #33373c 100%); box-shadow: inset 0 -3px 0 #d71920; }
html[data-firma] nav.tabs button.on { color: #23262a; }
html[data-firma] .card h2::before, html[data-firma] .mfh1:not(.gross)::before { background: #d71920; box-shadow: 0 0 0 4px rgba(215, 25, 32, .14); }
/* dunkle Dashboards: Datenfarben in Stufen hellgrau → hellrot → rot (cockpit.js liest --db-blass/-hell/-mittel) */
html[data-site="cockpit"], html.gfdb-an[data-site="grafik"] { --db-blass: #cfd3d8; --db-hell: #ff6b73; --db-mittel: #c8102e; }

