/* Syntra: Grundgerüst. Seitenleiste in Markenblau, heller Inhalt mit Karten. Klassen sz-* (Inhalt), lcs-* (Leiste), sy-* (Bausteine). */
:root {
  --lcs-w: 236px; --lcs-bg: #0B3B59;
  --sz-brand: #0B3B59;
  --sz-brand-2: #124d73;
  --sz-bg: #f3f5f7;
  --sz-card: #fff;
  --sz-soft: #f1f3f6;
  --sz-line: #e2e6eb;
  --sz-line-2: #edf0f3;
  --sz-line-strong: #cbd2da;
  --sz-text: #17202a;
  --sz-text-2: #55606c;
  --sz-text-3: #84909c;
  --sz-accent: #1f66c7;
  --sz-accent-bg: #e7f0fb;
  --sz-ok: #1c9460;
  --sz-ok-text: #17714b;
  --sz-ok-bg: #e2f4ea;
  --sz-warn: #d68a00;
  --sz-warn-text: #8a5800;
  --sz-warn-bg: #fdf2dc;
  --sz-err: #c8322b;
  --sz-err-text: #b02a24;
  --sz-err-bg: #fce9e7;
  --sz-r: 12px;
  --sz-r-s: 8px;
  --sz-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --sz-shadow-pop: 0 12px 32px rgba(16, 24, 40, .16), 0 2px 6px rgba(16, 24, 40, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--sz-bg); color: var(--sz-text); font: 13.5px/1.5 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: var(--sz-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { letter-spacing: -.01em; }
svg.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: #cfe1f7; }

/* ---- Seitenleiste ---- */
#lcs-nav { position: fixed; left: 0; top: 0; bottom: 0; width: var(--lcs-w); display: flex; flex-direction: column;
  background: var(--lcs-bg); color: rgba(255, 255, 255, .76); white-space: nowrap; overflow: hidden; z-index: 30; transition: width .16s ease; }
.lcs-brand { flex: none; display: flex; align-items: center; gap: 11px; height: 64px; padding: 0 18px; color: #fff; }
.lcs-brand:hover { text-decoration: none; }
.lcs-mk { flex: none; width: 32px; height: 32px; border-radius: 9px; background: #fff; color: var(--lcs-bg);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11.5px; letter-spacing: .02em; }
.lcs-bt { line-height: 1.2; overflow: hidden; }
.lcs-bt b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.lcs-bt span { font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.lcs-scroll { flex: 1; overflow-y: auto; padding: 6px 10px 8px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.lcs-bottom { flex: none; padding: 8px 10px 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: rgba(255, 255, 255, .6); }
.lcs-sec { padding: 16px 10px 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.lcs-it { position: relative; display: flex; align-items: center; gap: 12px; height: 38px; margin: 2px 0; padding: 0 10px; border-radius: 9px; color: inherit; font-size: 13.5px; }
.lcs-it:hover { background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; }
.lcs-it.on { background: rgba(255, 255, 255, .13); color: #fff; font-weight: 600; }
.lcs-it.on::before { content: ""; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: #6cc0f5; }
.lcs-it svg.ic { width: 17px; height: 17px; opacity: .9; }
.lcs-it.soon { color: rgba(255, 255, 255, .38); cursor: default; }
.lcs-it.soon:hover { background: none; }
.lcs-l { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lcs-badge { flex: none; min-width: 19px; padding: 0 6px; border-radius: 10px; background: #ff5d52; color: #fff; font-size: 11px; font-weight: 600; line-height: 19px; text-align: center; }
.lcs-tag { flex: none; font-size: 10.5px; color: rgba(255, 255, 255, .4); }
.lcs-tag.warn { color: #f5b13d; }
.lcs-mode { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.lcs-dot { width: 7px; height: 7px; border-radius: 50%; background: #34c77b; }
.lcs-dot.warn { background: #f5b13d; }
.lcs-ich { display: flex; align-items: center; gap: 9px; padding: 8px 8px 2px; min-width: 0; }
.lcs-ich .av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 11px; font-weight: 650;
  display: flex; align-items: center; justify-content: center; }
.lcs-ich .wer { flex: 1; min-width: 0; line-height: 1.25; }
.lcs-ich .wer b { display: block; color: #fff; font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.lcs-ich .wer span { font-size: 11px; color: rgba(255, 255, 255, .5); }
.lcs-ich a { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 7px; color: rgba(255, 255, 255, .6); }
.lcs-ich a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.lcs-ver { display: none; }
.lcs-klapp { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; color: rgba(255, 255, 255, .6); font: inherit; font-size: 12.5px; cursor: pointer; }
.lcs-klapp:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.lcs-klapp svg.ic { width: 15px; height: 15px; transition: transform .15s; }
.lcs-stand { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 4px 10px 0; }

/* Leiste eingeklappt (Knopf oder schmale Fenster) */
html.lcs-zu { --lcs-w: 60px; }
html.lcs-zu .lcs-bt, html.lcs-zu .lcs-l, html.lcs-zu .lcs-sec, html.lcs-zu .lcs-tag, html.lcs-zu .lcs-mode,
html.lcs-zu .lcs-klapp span, html.lcs-zu .lcs-ich .wer, html.lcs-zu .lcs-ich a { display: none; }
html.lcs-zu .lcs-brand { padding: 0 14px; }
html.lcs-zu .lcs-scroll { padding: 6px 8px; }
html.lcs-zu .lcs-it { justify-content: center; padding: 0; }
html.lcs-zu .lcs-it.on::before { left: -8px; }
html.lcs-zu .lcs-badge { position: absolute; top: 2px; right: 2px; min-width: 16px; padding: 0 4px; font-size: 10px; line-height: 16px; }
html.lcs-zu .lcs-bottom { padding: 8px 8px 12px; }
html.lcs-zu .lcs-klapp { justify-content: center; padding: 0; }
html.lcs-zu .lcs-klapp svg.ic { transform: rotate(180deg); }
html.lcs-zu .lcs-meld svg.ic { transform: none; }
html.lcs-zu .lcs-ich { justify-content: center; padding: 8px 0 2px; }
html.lcs-zu .lcs-stand { justify-content: center; padding: 4px 0 0; }
html.lcs-zu .lcs-stand::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34c77b; }
html.lcs-zu .lcs-stand.warn::before { background: #f5b13d; }

/* ---- Inhalt ---- */
.sz { margin-left: var(--lcs-w); padding: 22px 28px 48px; min-height: 100vh; transition: margin-left .16s ease; }
.sz-wrap { max-width: none; }

.sz-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sz-ok); flex: none; }
.sz-dot.warn { background: var(--sz-warn); }
.sz-dot.err { background: var(--sz-err); }
.sz-dot.off { background: #b8bec5; }
.sz-muted { color: var(--sz-text-2); }
.sz-dim { color: var(--sz-text-3); }
.sz-warn-t { color: var(--sz-warn-text); }
.sz-err-t { color: var(--sz-err-text); }
.sz-acc-t { color: var(--sz-accent); }
.sz-mono { font-family: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace; font-size: 12px; }

.sz-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.5; white-space: nowrap;
  background: var(--sz-ok-bg); color: var(--sz-ok-text); }
.sz-pill.warn { background: var(--sz-warn-bg); color: var(--sz-warn-text); }
.sz-pill.err { background: var(--sz-err-bg); color: var(--sz-err-text); }
.sz-pill.info { background: var(--sz-accent-bg); color: var(--sz-accent); }
.sz-pill.off { background: var(--sz-soft); color: var(--sz-text-2); }

.sz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; min-width: 34px; padding: 0 13px;
  border: 1px solid var(--sz-line-strong); border-radius: var(--sz-r-s); background: var(--sz-card); font: inherit; font-size: 13px; font-weight: 550; color: var(--sz-text);
  cursor: pointer; white-space: nowrap; box-shadow: var(--sz-shadow); }
.sz-btn:hover { background: #f7f8fa; border-color: #b4bcc6; text-decoration: none; }
.sz-btn.primary { background: var(--sz-brand); border-color: var(--sz-brand); color: #fff; }
.sz-btn.primary:hover { background: var(--sz-brand-2); border-color: var(--sz-brand-2); }
.sz-btn.danger { color: var(--sz-err-text); border-color: #efc2be; }
.sz-btn.danger:hover { background: var(--sz-err-bg); border-color: #e5a7a1; }
.sz-btn.on { background: var(--sz-text); border-color: var(--sz-text); color: #fff; }
.sz-btn.ghost { border-color: transparent; background: none; box-shadow: none; color: var(--sz-text-2); }
.sz-btn.ghost:hover { background: var(--sz-soft); color: var(--sz-text); }
.sz-btn.klein { height: 28px; padding: 0 10px; font-size: 12px; }
.sz-btn svg.ic { width: 15px; height: 15px; }
.sz-btn:disabled, .sz-btn[aria-disabled=true] { opacity: .5; cursor: default; pointer-events: none; }
.sz-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sz-actions form { margin: 0; }

/* Kopfzeile */
.sz-head { display: flex; align-items: center; gap: 10px 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sz-head h1 { font-size: 22px; font-weight: 700; margin: 0; line-height: 1.25; overflow-wrap: anywhere; }
.sz-head .sp { flex: 1; }
.sz-head form { margin: 0; }
.sz-crumb { font-size: 12.5px; margin-bottom: 4px; color: var(--sz-text-3); }
.sz-banner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--sz-warn-bg); color: var(--sz-warn-text); border-radius: var(--sz-r-s); padding: 9px 13px; margin-bottom: 14px; font-size: 13px; }
.sz-banner.err { background: var(--sz-err-bg); color: var(--sz-err-text); }

/* Karten */
.sz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.sz-card { background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: var(--sz-r); padding: 16px 18px; min-width: 0; margin-bottom: 16px; box-shadow: var(--sz-shadow); }
.sz-grid > .sz-card { margin-bottom: 0; }
.sz-card h3 { margin: 0 0 10px; font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sz-card .sub { font-size: 12.5px; color: var(--sz-text-3); margin: -6px 0 12px; }
.sz-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sz-kv .k { font-size: 11.5px; color: var(--sz-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-kv .v { font-size: 16px; font-weight: 650; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-empty { color: var(--sz-text-3); padding: 10px 0; }
.sz-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sz-col > .sz-card { margin-bottom: 0; }

/* Kennzahl-Kacheln */
.sz-phases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.sz-ph { display: block; background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: var(--sz-r); padding: 12px 14px; color: inherit; min-width: 0; box-shadow: var(--sz-shadow); }
a.sz-ph:hover { border-color: var(--sz-line-strong); text-decoration: none; }
.sz-ph .k { font-size: 11.5px; color: var(--sz-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-ph .v { font-size: 24px; font-weight: 700; margin-top: 2px; letter-spacing: -.02em; }
.sz-ph.err .v { color: var(--sz-err-text); }
.sz-ph.err { border-color: #efc2be; }
.sz-ph.planned { border-style: dashed; background: transparent; box-shadow: none; }
.sz-ph.planned .v { color: var(--sz-text-3); font-size: 13px; font-weight: 400; margin-top: 8px; }

/* Verbindungskette (Status) */
.sz-chain { display: flex; align-items: stretch; background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: var(--sz-r); padding: 16px; margin-bottom: 16px; box-shadow: var(--sz-shadow); }
.sz-zone { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.sz-zone .zt { font-size: 11px; color: var(--sz-text-3); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px 4px; }
.sz-zone .nodes { display: flex; align-items: center; }
.sz-nd { flex: 1; border: 1px solid var(--sz-line); border-radius: 10px; padding: 10px 12px; min-width: 0; background: var(--sz-card); }
.sz-nd.busy { border-color: var(--sz-accent); box-shadow: 0 0 0 3px var(--sz-accent-bg); }
.sz-nd.err { border-color: #efc2be; background: #fffafa; }
.sz-nd.off { border-style: dashed; }
.sz-nd.off .n { color: var(--sz-text-2); }
.sz-nd .n { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-nd .m { font-size: 12px; color: var(--sz-text-2); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sz-ar { flex: none; width: 58px; text-align: center; font-size: 10.5px; color: var(--sz-text-3); line-height: 1.3; white-space: nowrap; }
.sz-ar span { display: block; color: #b8bec5; font-size: 14px; line-height: 1; }
.sz-ar.warn { color: var(--sz-warn-text); } .sz-ar.warn span { color: var(--sz-warn); }
.sz-ar.err { color: var(--sz-err-text); } .sz-ar.err span { color: var(--sz-err); }
.sz-ar.between { align-self: flex-end; margin-bottom: 16px; width: 66px; }

/* Schritte je Lauf */
.sz-steps { display: flex; gap: 2px; min-width: 150px; }
.sz-steps i { flex: 1; height: 8px; border-radius: 2px; background: #eceff2; }
.sz-steps i.d { background: var(--sz-ok); }
.sz-steps i.c { background: var(--sz-accent); }
.sz-steps i.e { background: var(--sz-err); }
.sz-steps i.n { background: repeating-linear-gradient(135deg, #eceff2 0 3px, #f7f8f9 3px 6px); }
.sz-steplist { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.sz-steplist > div { border-top: 3px solid #eceff2; padding-top: 6px; font-size: 12px; color: var(--sz-text-3); }
.sz-steplist > .d { border-color: var(--sz-ok); color: var(--sz-text); }
.sz-steplist > .c { border-color: var(--sz-accent); color: var(--sz-accent); font-weight: 600; }
.sz-steplist > .e { border-color: var(--sz-err); color: var(--sz-err-text); font-weight: 600; }
.sz-steplist > .n { border-top-style: dashed; }

/* Tabellen */
.sz-tw { background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: var(--sz-r); overflow-x: auto; margin-bottom: 16px; box-shadow: var(--sz-shadow); }
.sz-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sz-table td, .sz-table th { padding: 10px 14px; border-top: 1px solid var(--sz-line-2); text-align: left; vertical-align: middle; }
.sz-table th { font-weight: 600; color: var(--sz-text-3); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; border-top: 0; white-space: nowrap; background: #fafbfc; }
.sz-table tbody tr:hover td { background: #f8fafc; }
.sz-table .r { text-align: right; }
.sz-table .nw { white-space: nowrap; }
.sz-table .msg { color: var(--sz-text-2); font-size: 12.5px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sz-card .sz-table td, .sz-card .sz-table th { padding: 8px 6px; }
.sz-card .sz-table th { background: none; }
.sz-card .sz-table td.msg { max-width: 0; width: 100%; }
.sz-tw .sz-table td.msg { max-width: 0; }
.sz-sort th[data-k] { cursor: pointer; user-select: none; }
.sz-sort th[data-k]:hover { color: var(--sz-text); }
.sz-sort th.up::after { content: " ▲"; font-size: 9px; }
.sz-sort th.down::after { content: " ▼"; font-size: 9px; }
.sz-table .pj-name { min-width: 260px; }
.sz-table .pj-res { min-width: 120px; max-width: 280px; }
.sz-table .pj-res .msg { max-width: 260px; }

/* Filter */
.sz-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center; }
.sz-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--sz-line-strong); background: var(--sz-card);
  color: var(--sz-text); font-size: 12.5px; font-weight: 500; }
.sz-chip:hover { background: #f7f8fa; border-color: #b4bcc6; text-decoration: none; }
.sz-chip.on { background: var(--sz-brand); border-color: var(--sz-brand); color: #fff; }
.sz-chip.on .sz-dim { color: rgba(255, 255, 255, .7); }
.sz-chip b { font-weight: 650; }
.sz-chip.err b { color: var(--sz-err-text); }
.sz-seg { display: inline-flex; border: 1px solid var(--sz-line-strong); border-radius: var(--sz-r-s); overflow: hidden; background: var(--sz-card); box-shadow: var(--sz-shadow); }
.sz-seg form { display: flex; }
.sz-seg button, .sz-seg a { display: inline-flex; align-items: center; border: 0; border-left: 1px solid var(--sz-line-strong); background: none; font: inherit; font-size: 12.5px; font-weight: 500; height: 32px; padding: 0 12px; cursor: pointer; color: var(--sz-text); }
.sz-seg > :first-child, .sz-seg form:first-child button { border-left: 0; }
.sz-seg button.on, .sz-seg a.on { background: var(--sz-brand); color: #fff; }
.sz-seg button:hover:not(.on), .sz-seg a:hover:not(.on) { background: var(--sz-soft); text-decoration: none; }

/* Formular */
.sz-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sz-form input, .sz-search, .sz-set input, select.sz-search {
  font: inherit; height: 34px; padding: 0 11px; border-radius: var(--sz-r-s); border: 1px solid var(--sz-line-strong); background: var(--sz-card); color: var(--sz-text); min-width: 0; }
.sz-search { width: 280px; max-width: 100%; }
.sz-chips .sz-search { height: 30px; }
:is(.sz-form input, .sz-search, .sz-set input, .sy-form input, .sy-form select, .sy-form textarea, .sz-add input):focus { outline: 0; border-color: var(--sz-accent); box-shadow: 0 0 0 3px var(--sz-accent-bg); }
dl.sz-dl { display: grid; grid-template-columns: max-content 1fr; gap: 7px 18px; margin: 0; }
dl.sz-dl dt { color: var(--sz-text-3); }
dl.sz-dl dd { margin: 0; overflow-wrap: anywhere; }

/* Log */
.sz-lc { background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: var(--sz-r); min-width: 0; margin-bottom: 16px; box-shadow: var(--sz-shadow); }
.sz-lc .lh { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--sz-line); flex-wrap: wrap; }
.sz-lc .lh b { font-size: 13.5px; }
.sz-lc .lh .sp { flex: 1; }
.sz-log { height: 320px; overflow: auto; padding: 8px 14px; line-height: 1.65; font-family: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace; font-size: 12px; }
.sz-log .ln { white-space: pre-wrap; word-break: break-word; }
.sz-log .t { color: var(--sz-text-3); }
.sz-log .ch { color: var(--sz-text-3); display: inline-block; min-width: 54px; }
.sz-log .ln.w { background: #fdf6e7; color: var(--sz-warn-text); }
.sz-log .ln.e { background: var(--sz-err-bg); color: var(--sz-err-text); }
.sz-log .none { color: var(--sz-text-3); }
pre.sz-pre { white-space: pre-wrap; word-break: break-word; font-size: 12px; background: var(--sz-soft); padding: 10px; border-radius: 8px; max-height: 420px; overflow: auto; margin: 8px 0 0; }
details summary { cursor: pointer; color: var(--sz-accent); }
details.sz-fold summary { list-style: none; color: var(--sz-text); }
details.sz-fold summary::-webkit-details-marker { display: none; }
details.sz-fold summary::before { content: "▸ "; color: var(--sz-text-3); }
details.sz-fold[open] summary::before { content: "▾ "; }

.sz-bar { height: 6px; border-radius: 999px; background: var(--sz-soft); overflow: hidden; margin: 10px 0 4px; }
.sz-bar > i { display: block; height: 100%; background: var(--sz-accent); border-radius: 999px; }

/* Einstellungen: Zeilen mit Schalter oder Feld */
.sz-set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.sz-set-grid > .sz-card { margin-bottom: 0; }
.sz-set { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--sz-line-2); scroll-margin-top: 20px; }
.sz-set-card h3 { margin-bottom: 8px; }
.sz-set .l { flex: 1; min-width: 0; }
.sz-set .l b { font-weight: 600; margin-right: 6px; }
.sz-set .h { font-size: 12.5px; color: var(--sz-text-3); margin-top: 2px; }
.sz-set .c { flex: none; display: flex; align-items: center; gap: 6px; }
.sz-set .c form { margin: 0; }
.sz-set.saved { background: linear-gradient(90deg, var(--sz-ok-bg), transparent 60%); }
.sz-set.danger .l b { color: var(--sz-warn-text); }
.sz-set input { width: 90px; }
.sz-set input.wide { width: 200px; }
.sz-switch { position: relative; width: 40px; height: 22px; border: 0; border-radius: 11px; background: var(--sz-line-strong); cursor: pointer; padding: 0; transition: background .15s; }
.sz-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s; }
.sz-switch.on { background: var(--sz-ok); }
.sz-switch.on::after { left: 21px; }
.sz-set.danger .sz-switch.on { background: var(--sz-warn); }

/* Personen */
.sz-rolle { display: grid; grid-template-columns: 170px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--sz-line-2); }
.sz-rolle:first-of-type { border-top: 0; }
.sz-rolle .rn { font-weight: 600; font-size: 13px; padding-top: 7px; color: var(--sz-text-2); }
.sz-pers { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.sz-person { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border: 1px solid var(--sz-line); border-radius: 22px; background: var(--sz-card); }
.sz-person b { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.sz-person small { display: block; font-size: 11px; color: var(--sz-text-3); }
.sz-person form { margin: 0; }
.sz-av { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: #dfe9f3; color: var(--sz-brand); font-size: 11.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }
.sz-av::before { content: attr(data-i); }
.sz-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sz-x { border: 0; background: none; color: var(--sz-text-3); font-size: 16px; cursor: pointer; padding: 0 4px; border-radius: 6px; min-width: 24px; min-height: 24px; }
.sz-x:hover { color: var(--sz-err-text); background: var(--sz-err-bg); }
.sz-add { position: relative; margin: 0; }
.sz-add input { font: inherit; height: 34px; padding: 0 12px; border-radius: 17px; border: 1px dashed var(--sz-line-strong); background: var(--sz-card); color: var(--sz-text); width: 200px; }
.sz-add input:focus { border-style: solid; }
.sz-treffer { position: absolute; z-index: 20; top: 38px; left: 0; min-width: 280px; background: var(--sz-card); border: 1px solid var(--sz-line-strong); border-radius: 10px; box-shadow: var(--sz-shadow-pop); overflow: hidden; }
.sz-treffer:empty { display: none; }
.sz-treffer button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--sz-text); }
.sz-treffer button:hover, .sz-treffer button:focus { background: var(--sz-soft); }
.sz-treffer .leer { padding: 8px 10px; font-size: 12px; color: var(--sz-text-3); }

/* ---- Anfragen und Sammelmappe ---- */
.sy-lay2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sy-sub { display: block; font-size: 12px; color: var(--sz-text-3); }
.sy-av { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: #dfe9f3; color: var(--sz-brand); font-size: 10px; font-weight: 700; margin-right: 7px; vertical-align: middle; }
.sy-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.sy-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--sz-text-2); position: relative; }
.sy-form .w { grid-column: 1 / -1; }
.sy-form input:not([type=file]), .sy-form select, .sy-form textarea { font: inherit; font-size: 13.5px; color: var(--sz-text); height: 36px;
  padding: 0 11px; border-radius: var(--sz-r-s); border: 1px solid var(--sz-line-strong); background: var(--sz-card); }
.sy-form textarea { height: 72px; padding: 8px 11px; resize: vertical; }
.sy-form .req::after { content: " *"; color: var(--sz-err-text); }
.sy-form .sec { grid-column: 1 / -1; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--sz-text-3);
  border-top: 1px solid var(--sz-line-2); padding-top: 10px; margin-top: 2px; }
.sy-q { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 5px 0; border-top: 1px solid var(--sz-line-2); }
.sy-q .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-q select { height: 26px !important; font-size: 12px !important; padding: 0 4px !important; }
.sy-drop, .sy-drop-neu { border: 1.5px dashed var(--sz-line-strong); border-radius: 10px; padding: 14px; text-align: center; color: var(--sz-text-2); background: #fafbfc; font-size: 13px; }
.sy-drop.on, .sy-drop-neu.on { border-color: var(--sz-accent); background: var(--sz-accent-bg); }
.sy-drop input[type=file], .sy-drop-neu input[type=file] { display: none; }
.sy-drop label, .sy-drop-neu label { color: var(--sz-accent); cursor: pointer; font-weight: 600; }
.sy-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; margin-bottom: 8px; }
.sy-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 10px; }
.sy-tile { display: flex; align-items: center; gap: 10px; border: 1px solid var(--sz-line); border-radius: 10px; padding: 10px 12px; background: var(--sz-card); color: var(--sz-text); }
.sy-tile:hover { border-color: var(--sz-accent); box-shadow: 0 0 0 3px var(--sz-accent-bg); text-decoration: none; }
.sy-tile svg.ic { width: 22px; height: 22px; color: #d9a441; fill: #f6e3b4; }
.sy-tile.leer svg.ic { color: #c3c9d1; fill: #eef0f3; }
.sy-tile b { display: block; font-size: 13px; font-weight: 600; }
.sy-tile small { display: block; font-size: 11.5px; color: var(--sz-text-3); }
.sy-kb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sy-kb-col { background: #e9edf1; border-radius: var(--sz-r); padding: 8px; display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.sy-kb-h { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 650; padding: 3px 6px; }
.sy-kb-c { display: flex; flex-direction: column; gap: 3px; background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--sz-text); box-shadow: var(--sz-shadow); }
.sy-kb-c:hover { border-color: var(--sz-accent); text-decoration: none; }
.sy-kb-col { border-top: 3px solid var(--kb, transparent); }
.sy-kb-h .sy-kb-sum { margin-left: auto; margin-right: 6px; font-weight: 600; color: var(--sz-text-2); }
.sy-heute { display: block; font-size: 11.5px; color: #b45309; font-weight: 600; }
.sy-kb-h .sy-kb-n { min-width: 22px; padding: 0 7px; border-radius: 99px; background: var(--kb, var(--sz-line)); color: #fff; text-align: center; font-weight: 600; }
.sy-kb-col[style] .sy-kb-h { color: var(--kb); }
.sy-kb-col[style] { background: color-mix(in srgb, var(--kb) 9%, #eef1f4); }
.sy-kb-dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 4px 0 0; padding-top: 6px; border-top: 1px solid var(--sz-line-2); font-size: 12px; }
.sy-kb-dl dt { color: var(--sz-text-3); }
.sy-kb-dl dd { margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-kb-mehr { display: none; }
.sy-kb-c:hover .sy-kb-mehr, .sy-kb-c:focus-visible .sy-kb-mehr { display: grid; }
@media (pointer: coarse) { .sy-kb-mehr { display: grid; } }
tr[data-href] { cursor: pointer; }
.sy-kb-c b { font-size: 13.5px; font-weight: 600; }
.sy-ct { display: flex; flex-direction: column; gap: 8px; }
.sy-ct > div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; padding: 9px 11px; border: 1px solid var(--sz-line); border-radius: 9px; }
.sy-ct .k { font-size: 11px; color: var(--sz-text-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.sy-vs { display: flex; gap: 12px; align-items: center; border: 1px solid var(--sz-line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.sy-vs .sc { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 12px; background: var(--sz-accent-bg); color: var(--sz-accent); }
.sy-vs .t { flex: 1; min-width: 0; }
.sy-vs .sc.schwach { background: var(--sz-soft); color: var(--sz-text-3); font-weight: 500; }
.sy-vs form { margin: 0; }
.sy-karte { width: 100%; border-radius: 10px; border: 1px solid var(--sz-line); overflow: hidden; z-index: 0; }
.sy-karte.klein { border: 0; }

/* Liste links (Projekte, Anfragen): auf schmalen Fenstern als Auswahl zum Aufklappen */
.sy-wahl { display: none; }

/* Rückmeldung beim Zeigen, Drücken und Senden; sichtbarer Fokus für die Tastatur */
.sz-btn, .sz-chip, .sz-seg button, .sz-seg a, .lcs-it, .lcs-klapp, .sz-x, .sy-tile, .sy-kb-c, .plist li a, .sz-treffer button, .sz-card, .sz-ph {
  transition: background-color .12s, border-color .12s, color .12s, box-shadow .12s, transform .08s; -webkit-tap-highlight-color: transparent; }
.sz-btn:active, .sz-chip:active, .sz-seg button:active, .lcs-it:active, .sy-tile:active, .sy-kb-c:active { transform: scale(.98); }
:is(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--sz-accent); outline-offset: 2px; }
.lcs-it:focus-visible, .lcs-klapp:focus-visible { outline-color: #fff; outline-offset: -2px; }
.sz-busy { position: relative; pointer-events: none; color: transparent !important; }
.sz-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--sz-text-3) transparent var(--sz-text-3) var(--sz-text-3); animation: sz-dreh .7s linear infinite; }
.sz-btn.primary.sz-busy::after { border-color: #fff transparent #fff #fff; }
@keyframes sz-dreh { to { transform: rotate(360deg); } }

/* Nachladen: Platzhalter statt leerer Fläche */
.sy-laedt { opacity: .55; transition: opacity .15s .12s; pointer-events: none; }
.sy-skel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.sy-skel i { height: 44px; border-radius: 9px; background: linear-gradient(90deg, var(--sz-soft) 25%, #e6eaee 37%, var(--sz-soft) 63%) 0 0 / 400% 100%;
  animation: sz-schimmer 1.2s ease-in-out infinite; }
@keyframes sz-schimmer { to { background-position: -100% 0; } }

/* Übergänge zwischen Seiten: Leisten bleiben stehen, der Inhalt blendet kurz über */
@view-transition { navigation: auto; }
#lcs-nav { view-transition-name: lcs-nav; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .14s; }

/* ---- Absagen mit Grund: Popup unter dem Knopf (templates/_absage.html) ---- */
.ab-pop { position: relative; display: inline-block; }
.ab-pop > summary { list-style: none; cursor: pointer; }
.ab-pop > summary::-webkit-details-marker { display: none; }
.ab-form { position: absolute; z-index: 45; right: 0; top: calc(100% + 6px); width: 310px; max-width: calc(100vw - 32px); background: var(--sz-card); border: 1px solid var(--sz-line-strong); border-radius: var(--sz-r);
  box-shadow: var(--sz-shadow-pop); padding: 12px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.ab-form b { font-size: 13px; }
.ab-gr { display: flex; flex-wrap: wrap; gap: 6px; }
.ab-gr .sz-chip { cursor: pointer; position: relative; }
.ab-gr input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ab-gr .sz-chip:has(input:checked) { background: var(--sz-brand); border-color: var(--sz-brand); color: #fff; }
.ab-gr .sz-chip:has(input:focus-visible) { outline: 2px solid var(--sz-accent); outline-offset: 1px; }
.ab-form textarea { width: 100%; font: inherit; font-size: 13px; padding: 7px 9px; border: 1px solid var(--sz-line-strong); border-radius: 8px; resize: vertical; }
.ab-form textarea:required:invalid, [data-absage] input[name=notiz]:required:invalid { border-color: var(--sz-err); }
.ab-form button:disabled { opacity: .45; cursor: not-allowed; }

/* ---- Anmelden: Karte in der Mitte, ohne Seitenleiste ---- */
body:has(.an-karte) #lcs-nav { display: none; }
body:has(.an-karte) .sz { margin-left: 0; display: grid; place-items: center; padding: 24px 16px; }
body:has(.an-karte) .sz-wrap { width: 100%; max-width: 400px; }
.an-marke { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.an-marke .lcs-mk { width: 42px; height: 42px; border-radius: 11px; background: var(--sz-brand); color: #fff; font-size: 14px; }
.an-marke b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.an-marke small { color: var(--sz-text-3); font-size: 12.5px; }
.an-karte { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.an-karte h1 { margin: 0; font-size: 20px; font-weight: 700; }
.an-karte .sz-banner { margin: 0; }
.an-knopf { height: 44px; font-size: 14.5px; }
.an-test { border-top: 1px solid var(--sz-line-2); padding-top: 12px; }
.an-test summary { color: var(--sz-text-3); font-size: 12.5px; }
.an-test .sy-form { margin-top: 12px; }
.an-test .sy-form select { width: 100%; }

/* ---- Breiten ---- */
@media (max-width: 1250px) {
  .sz-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sz-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .sz { padding: 18px 20px 40px; }
  .sz-grid, .sz-set-grid, .sy-lay2 { grid-template-columns: minmax(0, 1fr); }
  .sy-kb { grid-template-columns: 1fr 1fr; }
  .sz-chain { flex-direction: column; gap: 10px; }
  .sz-ar.between { align-self: center; margin: 0; }
}
@media (max-width: 900px) {
  .lcs-klapp:not(.lcs-meld) { display: none; }
  .sz-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sz-zone .nodes { flex-direction: column; align-items: stretch; gap: 4px; }
  .sz-ar { width: auto; }
  .sz-steplist { grid-template-columns: repeat(3, 1fr); }
  .hide-s { display: none; }
  .sz-table .pj-name { min-width: 180px; }
  .sz-rolle { grid-template-columns: 1fr; gap: 4px; }
  .sz-add input { width: 100%; }
}
/* Handy: Leiste unten mit Symbol und Text, Inhalt randlos */
@media (max-width: 640px) {
  :root, html.lcs-zu { --lcs-w: 0px; }
  #lcs-nav { top: auto; bottom: 0; right: 0; width: auto; height: calc(58px + env(safe-area-inset-bottom)); flex-direction: row; border-top: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: env(safe-area-inset-bottom); }
  .lcs-brand, .lcs-bottom, .lcs-sec { display: none; }
  .lcs-scroll, html.lcs-zu .lcs-scroll { display: flex; flex: 1; justify-content: space-around; align-items: stretch; overflow-x: auto; overflow-y: hidden; padding: 0 4px; }
  .lcs-it, html.lcs-zu .lcs-it { flex: 1 0 58px; flex-direction: column; justify-content: center; gap: 3px; height: auto; padding: 0 4px; margin: 0; border-radius: 0; font-size: 10px; }
  .lcs-it.on { background: none; }
  .lcs-it.on::before, html.lcs-zu .lcs-it.on::before { left: 22%; right: 22%; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
  .lcs-l, html.lcs-zu .lcs-l { display: block; flex: none; max-width: 100%; }
  .lcs-badge, html.lcs-zu .lcs-badge { position: absolute; top: 5px; left: calc(50% + 4px); right: auto; min-width: 16px; padding: 0 4px; font-size: 10px; line-height: 16px; }
  .sz { margin-left: 0; padding: 14px 12px calc(78px + env(safe-area-inset-bottom)); }
  .sz-head h1 { font-size: 19px; }
  .sz-card { padding: 14px; }
  .sz-chain { padding: 10px; }
  .sz-zone .nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .sz-ar, .sz-ar.between { display: none; }
  .sz-kv { grid-template-columns: 1fr 1fr; }
  .sz-search { width: 100%; }
  .sz-set { flex-direction: column; align-items: stretch; }
  .sz-set .c { justify-content: flex-start; }
  .sy-form, .sy-kb { grid-template-columns: 1fr; }
  .sz-table td, .sz-table th { padding: 9px 10px; }
}
/* größere Ziele für Finger */
@media (pointer: coarse) {
  .sz-btn { height: 40px; padding: 0 15px; }
  .sz-btn.klein { height: 34px; }
  .sz-chip, .sz-seg button, .sz-seg a { height: 36px; }
  .sz-x { min-width: 36px; min-height: 36px; }
  .sz-form input, .sz-search, .sy-form input:not([type=file]), .sy-form select { height: 40px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  *, *::before, *::after { transition: none !important; }
  .sz-btn:active, .sz-chip:active, .sz-seg button:active, .lcs-it:active, .sy-tile:active, .sy-kb-c:active { transform: none; }
}
@media print {
  #lcs-nav, .sz-btn, .sy-drop { display: none !important; }
  .sz { margin: 0; padding: 0; }
  .sz-card, .sz-tw { box-shadow: none; break-inside: avoid; }
}

/* Seite im Popup (z. B. Projekt aus der Plantafel): ohne Seitenleiste und Projektliste */
.im-rahmen #lcs-nav, .im-rahmen .sy-pleiste, .im-rahmen .sy-wahl { display: none !important; }
.im-rahmen .sz { margin-left: 0; padding: 16px 18px 24px; }
.im-rahmen .sy-pl, .im-rahmen .sy-mit-liste { grid-template-columns: minmax(0, 1fr) !important; }

/* Logo „Langer Cloud Solutions“ (logo/, 17.11.2026): die Wolke als Zeichen in der Seitenleiste auf weißem Grund, ganz auf der Anmeldung */
.lcs-mk:has(img) { background: #fff; padding: 3px; }
.lcs-mk img { display: block; width: 100%; height: 100%; }
.an-logo { display: block; width: 180px; height: auto; }

/* Popup mit einer Seite im Rahmen (syPopup) */
.sy-pop {position: fixed; inset: 0; z-index: 400; background: rgba(15, 23, 42, .4); display: flex; align-items: center; justify-content: center; padding: 24px; }
.sy-pop-in {background: var(--sz-bg, #f5f6f8); border-radius: 14px; width: min(1180px, 100%); height: min(860px, 100%); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, .35); }
.sy-pop-k {display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--sz-card); border-bottom: 1px solid var(--sz-line); }
.sy-pop-k b {font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-pop-k .sp {flex: 1; }
.sy-pop iframe {flex: 1; width: 100%; border: 0; background: var(--sz-bg, #f5f6f8); }

/* Große Karte (Projekte, Anfragen): Liste links, Karte rechts so hoch wie das Fenster */
.sy-kgross {display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px; height: calc(100vh - 210px); min-height: 480px; }
.sy-kliste {display: flex; flex-direction: column; min-height: 0; background: var(--sz-card); border: 1px solid var(--sz-line); border-radius: 10px; padding: 10px; }
.sy-kliste .sz-search {width: 100%; box-sizing: border-box; }
.sy-kzahl {font-size: 11.5px; margin: 6px 2px; }
.sy-kliste ul {list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; min-height: 0; }
.sy-kliste li {display: flex; align-items: flex-start; gap: 2px; }
.sy-kliste li .rt, .sy-kliste li .nah {display: inline-flex; flex: none; width: 24px; height: 24px; margin-top: 5px; padding: 0; border: 1px solid var(--sz-line); border-radius: 6px; background: #fff; color: var(--sz-text-2); font-size: 13px; line-height: 1; justify-content: center; align-items: center; opacity: 0; }
.sy-kliste li:hover .rt, .sy-kliste li:hover .nah, .sy-kliste li .rt:focus-visible, .sy-kliste li .nah:focus-visible, .sy-kliste li.inroute .rt, .sy-kliste li.bezug .nah {opacity: 1; }
.sy-kliste li.inroute .rt {background: #ff8a00; border-color: #ff8a00; color: #fff; font-weight: 700; }
.sy-kliste li.bezug .nah {background: var(--sz-accent); border-color: var(--sz-accent); color: #fff; }
.sy-kroute {display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; margin: 0 2px 6px; }
.sy-kroute:empty {display: none; }
.sy-kroute span {flex: 1 1 100%; color: var(--sz-text-2); font-weight: 600; }
.sy-kliste li > button:first-child {flex: 1; min-width: 0; display: flex; gap: 8px; align-items: flex-start; border: 0; background: none; text-align: left; padding: 7px 6px; border-radius: 7px; cursor: pointer; font: inherit; color: inherit; }
.sy-kliste li > button:first-child:hover, .sy-kliste li.an > button:first-child {background: var(--sz-accent-bg); }
.sy-kliste li i {width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 4px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--sz-line); }
.sy-kliste li span {display: flex; flex-direction: column; min-width: 0; }
.sy-kliste li b {font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-kliste li small {font-size: 11px; color: var(--sz-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sy-karte.gross {height: 100%; position: relative; }
.sy-kleg {background: rgba(255, 255, 255, .95); border-radius: 9px; padding: 6px; display: flex; flex-wrap: wrap; gap: 4px; max-width: 560px; box-shadow: 0 2px 10px rgba(15, 23, 42, .2); }
.sy-kleg button {display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--sz-line); background: #fff; border-radius: 12px; padding: 2px 9px; font: inherit; font-size: 11.5px; cursor: pointer; }
.sy-kleg button i {width: 9px; height: 9px; border-radius: 50%; }
.sy-kleg button b {font-weight: 600; color: var(--sz-text-2); }
.sy-kleg button.aus {opacity: .4; text-decoration: line-through; }
.sy-kalle {width: 34px; height: 34px; border: 2px solid rgba(0, 0, 0, .2); border-radius: 4px; background: #fff; font-size: 16px; cursor: pointer; }
.sy-khinweis {position: absolute; inset: 0; z-index: 800; display: flex; align-items: center; justify-content: center; background: rgba(15, 23, 42, .35); color: #fff; font-size: 16px; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .2s; }
.sy-khinweis.an {opacity: 1; }
@media (max-width: 900px) { .sy-kgross {grid-template-columns: 1fr; height: auto; } .sy-kliste {max-height: 260px; } .sy-karte.gross {height: 60vh; } }

/* Seitenleiste: Unterzeile „Langer Cloud Solutions“, Version mit Änderungslog */
.lcs-bt span { display: block; }
.lcs-bt .lcs-lcs { font-size: 10px; color: rgba(255, 255, 255, .35); letter-spacing: .02em; }
.lcs-version { display: block; margin: 6px 10px 0; padding: 2px 0; border: 0; background: none; color: rgba(255, 255, 255, .4); font: inherit; font-size: 10.5px; cursor: pointer; text-align: left; }
.lcs-version:hover { color: rgba(255, 255, 255, .8); text-decoration: underline; }
html.lcs-zu .lcs-version, html.lcs-zu .lcs-lcs { display: none; }
.lcs-log { border: 0; border-radius: 14px; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 48px)); box-shadow: 0 24px 60px rgba(15, 23, 42, .3); color: var(--sz-text); }
.lcs-log::backdrop { background: rgba(15, 23, 42, .35); }
.lcs-log[open] { display: flex; flex-direction: column; }
.lcs-log-k { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--sz-line); }
.lcs-log-k b { font-size: 15px; }
.lcs-log-k .sz-btn { margin-left: auto; }
.lcs-log-in { overflow: auto; padding: 4px 18px 14px; }
.lcs-log h4 { margin: 14px 0 6px; font-size: 13.5px; }
.lcs-log ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; color: var(--sz-text-2); }
.sy-sucht > .sz-head ~ * { opacity: .55; transition: opacity .15s; }

/* Karte: Filter nach Kategorie, Anfragen als Raute */
.sy-kfil {display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.sy-kfil button {display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--sz-line); background: #fff; border-radius: 12px; padding: 2px 9px; font: inherit; font-size: 11.5px; cursor: pointer; color: var(--sz-text-2); min-height: 26px; }
.sy-kfil button i {width: 8px; height: 8px; border-radius: 50%; }
.sy-kfil button.on {background: var(--sz-brand); border-color: var(--sz-brand); color: #fff; }
.sy-kanf {display: flex; align-items: center; gap: 6px; width: 100%; font-size: 12px; color: var(--sz-text-2); margin-top: 4px; cursor: pointer; }
.sy-kanfp i {display: block; width: 12px; height: 12px; margin: 2px; transform: rotate(45deg); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
