.card.calendar { display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.card.calendar iframe { width: 100%; height: 640px; border: 0; border-radius: calc(var(--radius) - 2px); background: var(--surface); }
.card.calendar p { margin: 0 8px 4px; }
@media (max-width: 520px) { .card.calendar iframe { height: 720px; } }
/* Frage bearbeiten (EditQuestion.tsx): Stift links neben der eigenen Frage, beim Darueberfahren deutlicher. */
.user-row { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.user-row .user-msg { margin-left: 0; }
.user-edit-btn {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 50%;
  border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; opacity: .55;
  transition: opacity .15s ease, background .15s ease;
}
.user-row:hover .user-edit-btn, .user-edit-btn:focus-visible { opacity: 1; background: var(--chip); border-color: var(--line); }
@media (hover: none) { .user-edit-btn { opacity: .8; } }

.user-edit { margin-left: auto; width: min(100%, 560px); display: flex; flex-direction: column; gap: 6px; }
.user-edit textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 14.5px; color: var(--text); background: var(--surface);
  border: 1px solid var(--accent); border-radius: 12px; padding: 10px 14px; resize: vertical;
}
.user-edit-note { margin: 0; font-size: 12px; color: var(--muted); text-align: right; }
.user-edit-actions { display: flex; justify-content: flex-end; gap: 8px; }
.user-edit-actions button { font: inherit; font-size: 13px; border-radius: 8px; padding: 6px 14px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text); }
.user-edit-actions button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.user-edit-actions button:disabled { opacity: .45; cursor: default; }
/* Alles unter .fys-assistant: im Portal eingebettet duerfen keine Regeln nach aussen wirken.
   Optik wie das FYS Selection Portal (Tailwind): Grautoene gray-50..900, weisse Karten mit rounded-lg,
   Kundenfarbe aus --primary-color / --primary2-color (setzt das Portal global; eigenstaendig: Standardwerte). */
.fys-assistant {
  --accent: var(--primary-color, #55bef0);
  --accent-soft: var(--primary2-color, #f0f6fa);
  /* Text in Kundenfarbe abdunkeln: helle Primaerfarben (#55BEF0) sind als Schrift sonst kaum lesbar. */
  --accent-ink: color-mix(in srgb, var(--accent) 62%, #0b1f33);
  --bg: #f9fafb;          /* gray-50, wie die Portalseite */
  --surface: #ffffff;
  --text: #111827;        /* gray-900 */
  --text-2: #374151;      /* gray-700 */
  --muted: #6b7280;       /* gray-500 */
  --line: #e5e7eb;        /* gray-200 */
  --line-2: #d1d5db;      /* gray-300 */
  --chip: #f3f4f6;        /* gray-100 */
  --user: var(--accent-soft);
  --user-text: var(--text);
  --ok: #15803d;
  --ok-soft: #f0fdf4;
  --warn-bg: #fffbeb;
  --warn: #b45309;
  --err-bg: #fef2f2;
  --err: #b91c1c;
  --radius: 8px;          /* rounded-lg */
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-hover: 0 4px 12px rgba(16, 24, 40, 0.08);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  height: 100%;
}

/* Dunkel nur eigenstaendig; das Portal ist hell. */
@media (prefers-color-scheme: dark) {
  .fys-assistant.standalone {
    --bg: #111318; --surface: #1a1d23; --text: #e5e7eb; --text-2: #d1d5db; --muted: #9ca3af;
    --line: #2b2f37; --line-2: #3a3f48; --chip: #23272e; --accent-soft: #1d2a35; --accent-ink: #8fd3f5;
    --user-text: var(--text); --ok: #4ade80; --ok-soft: #14241a; --warn-bg: #2b2414; --warn: #fbbf24;
    --err-bg: #2c1717; --err: #f87171;
  }
}

.fys-assistant, .fys-assistant * { box-sizing: border-box; }
:where(.fys-assistant) button { font: inherit; cursor: pointer; }
:where(.fys-assistant) button:disabled { cursor: default; opacity: 0.5; }
:where(.fys-assistant) a { color: var(--accent-ink); }

/* Feste Hoehe vom Container, eigener Scrollbereich: Kopf und Eingabe bleiben stehen. */
.app { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

.topbar {
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px clamp(16px, 2.5vw, 32px); background: var(--surface); border-bottom: 1px solid var(--line); min-height: 44px;
}
.topbar.slim { justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.logo { color: var(--accent); }
.demo { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 99px; background: var(--warn-bg); color: var(--warn); }
.ghost { background: var(--surface); border: 1px solid var(--line); color: var(--text-2); padding: 6px 12px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; transition: background .15s, border-color .15s; }
.ghost:hover:not(:disabled) { background: var(--bg); border-color: var(--line-2); }

.thread { flex: 1; width: 100%; padding: 24px clamp(16px, 2.5vw, 32px) 16px; }

.turn { margin-bottom: 28px; }
.user-msg {
  margin-left: auto; width: fit-content; max-width: 80%;
  background: var(--user); color: var(--user-text); padding: 10px 14px; border-radius: 12px 12px 4px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); font-size: 14.5px;
  white-space: pre-wrap; line-height: 1.45;
}
.assistant { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.answer { line-height: 1.6; color: var(--text); }
.answer strong { font-weight: 600; }
.answer p { margin: 0 0 8px; }
.answer ul { margin: 0 0 8px; padding-left: 20px; }
.error { background: var(--err-bg); color: var(--err); padding: 10px 14px; border-radius: 8px; }

.status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.muted { color: var(--muted); }
.small { font-size: 13px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h3 { margin: 0; font-size: 17px; }
.card .muted { margin: 2px 0 0; }
.card .body { line-height: 1.5; margin: 12px 0; }
.link { white-space: nowrap; font-size: 14px; }
.scroll-x { overflow-x: auto; }

.vendor-list > p { margin: 0 0 8px; }
/* Fuenf Anbieter in eine Reihe, sobald Platz ist (vorher 4 + 1 allein darunter). */
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr)); column-gap: 12px; row-gap: 0; }
/* Kacheln einer Reihe wie Tabellenzeilen: jede Kachel hat sechs Zeilen (.slot, auch leer), subgrid gibt allen Kacheln
   dieselben Zeilenhoehen; die hoechste Kachel bestimmt sie. Abstand zwischen den Reihen ueber margin, nicht row-gap. */
.vendor-grid > .tile { display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; margin-bottom: 12px; align-content: start;
  min-width: 0; }  /* sonst setzt das laengste Wort ("Unternehmensdienstleistungen") die Spaltenbreite und ragt ueber die Kachel */
.tile > .slot { min-width: 0; display: grid; gap: 7px; align-content: start; }
.tile > .slot:not(:empty) ~ .slot:not(:empty) { padding-top: 7px; }
.tile > .slot:last-child { align-content: end; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; transition: border-color .15s, box-shadow .15s;
}
.tile:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow-hover); }
/* Gleiche Hoehen in der Reihe: Name max. 2 Zeilen (Platz immer reserviert), Anbieter 1 Zeile. */
.tile h4 { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.3; min-height: 2.6em; overflow-wrap: anywhere; }
.tile .vendor-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile p { margin: 0; }
.tile-top { display: flex; justify-content: space-between; align-items: center; }
.ref { font-size: 11.5px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.badge { font-size: 11.5px; font-weight: 500; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: 999px; }
.badge.unverified { color: var(--warn); background: var(--warn-bg); }
.score { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.score span { min-width: 2ch; text-align: right; }
.tile-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tile-actions button {
  flex: 1; background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  border-radius: var(--radius); padding: 5px 8px; font-size: 12.5px; font-weight: 500; min-height: 44px; /* Tippziel (8.3) */
}
.tile-actions button:hover { background: var(--bg); color: var(--accent-ink); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.chips-label { font-size: 12px; color: var(--muted); min-width: 100px; }
.chip { font-size: 12px; background: var(--chip); color: var(--text-2); padding: 2px 9px; border-radius: 999px; }

.refs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.refs li { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.refs li:last-child { border-bottom: 0; padding-bottom: 0; }
.ref-name { font-weight: 500; }

.compare { border-collapse: collapse; width: 100%; font-size: 14px; }
.compare th, .compare td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 600; }
.compare tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; }

.dock {
  flex: none;
  padding: 10px clamp(16px, 2.5vw, 32px) calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line);
  /* Eingabe unten deutlich vom Verlauf abgesetzt (Rueckmeldung 28.10.: "nicht so ersichtlich") */
  box-shadow: 0 -8px 24px color-mix(in srgb, var(--text) 8%, transparent);
}

.composer { display: flex; gap: 8px; align-items: flex-end; }
.composer-menu { position: relative; display: flex; }
.composer .menu-toggle { background: var(--surface); color: var(--text-2); border: 1px solid var(--line); min-width: 44px; padding: 0 12px; font-size: 18px; }
.menu-pop { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 20; min-width: 250px; display: grid; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); }
.menu-pop a, .composer .menu-pop button { display: block; text-align: left; padding: 9px 10px; border-radius: 8px; font-size: 13.5px;
  color: var(--text); background: none; border: 0; text-decoration: none; height: auto; min-height: 40px; font-weight: 500; }
.menu-pop a:hover, .composer .menu-pop button:hover { background: var(--bg); color: var(--accent-ink); filter: none; }
.composer textarea {
  flex: 1; resize: none; font: inherit; color: var(--text); background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--line-2)); border-radius: var(--radius); padding: 11px 14px; min-height: 46px; max-height: 160px;
}
.composer textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); background: var(--surface); }
.composer button {
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); padding: 0 18px; height: 46px; font-weight: 600; font-size: 14px;
}
.composer button:hover:not(:disabled) { filter: brightness(0.95); }
.ai-note { margin: 6px 0 0; font-size: 11px; color: var(--muted); text-align: center; }

.profile { border-color: var(--accent); }
.eyebrow { margin: 0 0 2px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Einstieg ─────────────────────────────────────────────────────────────── */
.lead { max-width: 62ch; line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Trichter und Kacheln ─────────────────────────────────────────────────── */
.funnel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; font-size: 14px; }
.funnel-step { color: var(--muted); }
.funnel-step.strong { color: var(--text); font-weight: 600; }
.funnel-step b { color: var(--text); }
.funnel-label { font-size: 12.5px; color: var(--muted); min-width: 120px; align-self: center; }
.num { font-variant-numeric: tabular-nums; }
.reasons { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 2px; font-size: 13px; }
.reasons li::before { content: "•"; color: var(--accent-ink); margin-right: 6px; }
.reasons.gaps li::before { color: var(--warn); }
.ref-line { line-height: 1.45; color: var(--text-2); }
.ref-line .more { color: var(--muted); white-space: nowrap; }
.ref-line .check { color: var(--ok); font-weight: 700; margin-right: 6px; }
.ref-fit { margin: 0; color: var(--muted); }
.ref-fit b { color: var(--text); }
.focus-note { margin: 0; padding: 4px 8px; border-radius: 6px; background: var(--warn-bg); color: var(--warn);
  min-width: 0; overflow-wrap: anywhere; hyphens: auto; }  /* "Unternehmensdienstleistungen" ragte ueber die Kachel */

/* ── Einordnung eines Produkts ────────────────────────────────────────────── */
.fit { display: grid; gap: 8px; }
.fit .eyebrow { margin: 0; }
.fit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.fit-rank { font-size: 20px; font-weight: 700; }
.fit-rank small { font-size: 13px; font-weight: 500; color: var(--muted); }
.fit-warn .fit-rank { color: var(--warn); }
.fit-good .fit-rank { color: var(--ok); }
.note { background: var(--accent-soft); border-radius: 8px; padding: 8px 12px; margin: 0; }
.confirm p { margin: 0; }

/* ── Branchenvergleich ────────────────────────────────────────────────────── */
.peer-bars { display: grid; gap: 6px; margin-top: 10px; }
.peer { display: grid; grid-template-columns: minmax(8rem, 15rem) 1fr 3.4rem; gap: 10px; align-items: center; font-size: 14px; }
.peer .track { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.peer .fill { height: 100%; background: var(--muted); border-radius: 99px; }
.peer.hl .fill { background: var(--accent); }
.peer.cur .fill { background: var(--warn); }
.peer.hl .peer-name, .peer.cur .peer-name { font-weight: 600; }
.peer .num { text-align: right; color: var(--muted); }
.peer-via { display: block; font-weight: 400; font-size: 12px; }
.legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot.hl { background: var(--accent); }
.dot.cur { background: var(--warn); margin-left: 8px; }

/* ── Berichtsangebot ──────────────────────────────────────────────────────── */
/* Ruhig wie eine Portal-Karte: duenner Rahmen, leichte Toenung im Kopf, keine Grossbuchstaben-Zeile. */
.offer { border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow); overflow: hidden; display: grid; }
.offer-head { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; background: var(--accent-soft); }
.offer-icon { flex: none; width: 34px; height: 34px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--surface); color: var(--accent-ink); font-size: 17px; border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.offer h3 { margin: 0; font-size: 16px; font-weight: 600; }
.offer-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.offer-body { padding: 14px 18px 16px; display: grid; gap: 12px; }
.offer-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 4px 18px; font-size: 13.5px; color: var(--text-2); }
.offer-list li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.offer-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.offer-form input[type="email"] { font: inherit; font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 9px 12px; min-width: 0; }
.offer-form input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.offer-form button { background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); padding: 0 16px; font-weight: 600; font-size: 14px; }
.consents { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.consent { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.consent input { margin-top: 2px; accent-color: var(--accent); }
.offer-error { grid-column: 1 / -1; margin: 0; color: var(--err); font-size: 14px; }
.offer-note { margin: 0; font-size: 12px; color: var(--muted); }
.offer-sent .offer-head { background: var(--ok-soft); }
/* Zum Aufklappen (Rueckmeldung 28.10.2026): der Kopf ist der Knopf, Auszeichnungen bleiben auch zugeklappt sichtbar. */
.offer-fold .offer-head { width: 100%; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.offer-fold .offer-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.offer-title { display: block; font-size: 16px; font-weight: 600; }
.offer-fold .offer-sub { display: block; }
.offer-awards { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.offer-awards::before { content: "🏆 "; }
.offer-chev { margin-left: auto; align-self: center; color: var(--muted); font-size: 18px; }
.offer-sent .offer-icon { color: var(--ok); }
.dev { background: var(--warn-bg); color: var(--warn); border-radius: 6px; padding: 6px 10px; margin: 0; }
.dev a { color: inherit; font-weight: 600; }

/* ── Vorschlaege und Profil ───────────────────────────────────────────────── */
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 8px; }
.suggestions button { background: var(--surface); color: var(--accent-ink); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 13px; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow); }
.suggestions button:hover { background: var(--accent-soft); border-color: var(--accent); }
.profile-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 12.5px; }
.profile-title { color: var(--muted); font-weight: 600; margin-right: 2px; }
.profile-note { position: relative; display: inline-flex; }
.profile-warn { width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 700;
  background: var(--warn-bg); color: var(--warn); cursor: pointer; }
.profile-warn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.profile-pop { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; width: min(320px, 80vw); padding: 10px 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-hover); font-size: 12.5px; line-height: 1.45; }
.pf { border-radius: 999px; padding: 2px 9px; border: 1px solid transparent; background: var(--chip); color: var(--text-2); }
.pf.known { color: var(--text); }
.pf.known span { color: var(--ok); font-weight: 700; }
.pf.missing { color: var(--muted); background: var(--surface); border: 1px dashed var(--line-2); font: inherit; font-size: 12.5px; }
.pf.missing:hover:not(:disabled) { color: var(--accent); border-color: var(--accent); }
@media (max-width: 560px) {
  .peer { grid-template-columns: 1fr 3.4rem; }
  .peer .track { grid-column: 1 / -1; grid-row: 2; }
  .offer-form { grid-template-columns: 1fr; }
  .offer-form button { height: 44px; }
}
.confirm { display: grid; gap: 10px; }
.confirm-options { display: flex; flex-wrap: wrap; gap: 8px; }
.confirm-options button { background: var(--surface); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 500; }
.confirm-options button:hover { background: var(--accent-soft); }
.unverified-note { margin: -4px 0 10px; }

/* ── Profil bearbeiten ────────────────────────────────────────────────────── */
.pf.edit { color: var(--accent-ink); background: var(--surface); border: 1px solid var(--accent); font: inherit; font-size: 12.5px; font-weight: 600; }
.pf.edit:hover:not(:disabled) { background: var(--accent-soft); }
.move { font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 1px 6px; margin-left: 6px; }
.move.new { background: var(--accent-soft); color: var(--accent); }
.move.up { color: var(--ok); }
.move.down { color: var(--warn); }
.tile-top { gap: 4px; }
.tile-top .badge { margin-left: auto; }
/* Natives <dialog> (Review 13.10., 8.2): Fokusfalle, Escape und Fokus zurueck kommen vom Browser. */
dialog.modal { width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface);
  color: var(--text); border-radius: var(--radius); border: 1px solid var(--line); padding: 0; margin: auto;
  font: inherit; box-shadow: 0 24px 60px rgba(15, 20, 25, .25); }
dialog.modal::backdrop, dialog.sheet::backdrop { background: rgba(15, 20, 25, 0.45); animation: fys-fade .2s ease; }
.modal-inner { padding: 20px; display: grid; gap: 14px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal-head h2 { margin: 2px 0 0; font-size: 20px; }
.modal-head .eyebrow { margin: 0; }
.pe-form { display: grid; gap: 12px; }
.pe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pe-grid label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pe-grid .wide { grid-column: 1 / -1; }
.pe-grid .hint { font-weight: 400; }
.pe-grid input, .pe-grid select, .pe-grid textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; min-width: 0; resize: vertical; }
.pe-grid input:focus, .pe-grid select:focus, .pe-grid textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.upload { border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px; display: grid; gap: 8px; }
.upload-label { display: grid; gap: 2px; }
.status-inline { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); }
.pe-notice { margin: 0; background: var(--accent-soft); border-radius: 8px; padding: 8px 12px; }
.pe-actions { display: flex; justify-content: flex-end; gap: 8px; }
.primary { background: var(--accent); color: #fff; border: 0; border-radius: var(--radius); padding: 9px 16px; font-weight: 600; font-size: 14px; }
.primary:hover:not(:disabled) { filter: brightness(0.95); }
@media (max-width: 560px) { .pe-grid { grid-template-columns: 1fr; } }

/* ── Aktionen an Karten ───────────────────────────────────────────────────── */
.more-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.more-actions.inline { border-top: 0; padding-top: 2px; }
.more-actions button, .more-actions a { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px;
  padding: 5px 9px; font-size: 13px; text-decoration: none; }
.more-actions button:hover, .more-actions a:hover { border-color: var(--accent); color: var(--accent-ink); }
.more-actions .lead { border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.more-actions .portal { color: var(--muted); border-style: dashed; }
.action-link { background: none; border: 0; color: var(--accent-ink); font-weight: 600; font-size: 14px; padding: 0; white-space: nowrap; }
.action-link:hover { text-decoration: underline; }

/* ── Wartezeit der Website-Analyse ────────────────────────────────────────── */
.analysis { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: 12px 14px; display: grid; gap: 8px; }
.analysis-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.analysis-head .num { margin-left: auto; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps .dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center;
  font-size: 10px; color: #fff; }
.steps .done { color: var(--text); }
.steps .done .dot { background: var(--ok); border-color: var(--ok); }
.steps .active { color: var(--accent-ink); font-weight: 600; }
.steps .active .dot { border-color: var(--accent); border-top-color: transparent; animation: spin 0.9s linear infinite; }
.waiting-q { position: relative; border-left: 3px solid var(--accent); padding: 4px 36px 4px 12px; display: grid; gap: 8px; }
.waiting-q.answered { padding-right: 0; }
.waiting-x { position: absolute; top: 0; right: 0; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }
.waiting-x:hover, .waiting-x:focus-visible { background: var(--bg); color: var(--text); }
.waiting-q p { margin: 0; }
.waiting-q.answered { color: var(--muted); }
.waiting-q .other { display: flex; gap: 6px; max-width: 360px; }
.waiting-q .other input { flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; }
.waiting-q .other button { background: var(--surface); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.muted-btn { color: var(--muted) !important; border-color: var(--line) !important; }
.streaming p:last-child::after { content: "▍"; color: var(--accent); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .streaming p:last-child::after, .steps .active .dot { animation: none; } }

/* ── Kacheln kompakt (2026-10-10) ─────────────────────────────────────────── */
.tile-head { display: flex; align-items: flex-start; gap: 10px; }
.tile-title { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tile .tile-top { justify-content: flex-start; }
.tile h4 { min-height: 0; }
.score-pill { flex: none; min-width: 40px; text-align: center; font-weight: 700; font-size: 15px; color: var(--accent-ink);
  background: var(--accent-soft); border-radius: var(--radius); padding: 6px 8px; }
.tile-reason { margin: 0; color: var(--text-2); }
.fit-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.fit-badge { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--ok-soft); color: var(--ok);
  max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.fit-badge b { font-weight: 700; }
.fit-badge.warn { background: var(--warn-bg); color: var(--warn); }
.tile-actions button.icon { flex: 0 0 44px; padding-left: 0; padding-right: 0; font-size: 15px; line-height: 1; }
.tile.dropped { opacity: .45; filter: grayscale(.6); pointer-events: none; }
/* "Warum 96?": Teilscores unter dem Balken (8.7). */
.score-col .why { background: none; border: 0; padding: 0; font: inherit; font-size: 11.5px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; white-space: nowrap; }
.score-col .why:hover, .score-col .why[aria-expanded="true"] { color: var(--accent-ink); }
.why-parts { list-style: none; margin: 0; padding: 8px 10px; display: grid; gap: 5px; background: var(--bg); border-radius: 8px; }
.why-parts li { display: grid; grid-template-columns: minmax(0, 1fr) 48px 3ch; gap: 8px; align-items: center; color: var(--text-2); font-size: 12px; }
.why-parts li > span:first-child { min-width: 0; overflow-wrap: anywhere; hyphens: auto; line-height: 1.25; }
.why-parts .why-track { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; display: block; }
.why-parts .why-track span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.why-parts .why-track.minus span { background: var(--warn); }
.why-parts b { text-align: right; color: var(--text); }
.evidence { margin: 0; color: var(--muted); }
.evidence.hoch { color: var(--ok); }
.evidence.gering { color: var(--warn); }

/* ── Assistent als Sprechblase ────────────────────────────────────────────── */
.assistant { flex-direction: row; align-items: flex-start; gap: 10px; }
.avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px;
  background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); }
.assistant-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
/* Jedes Fenster unter der Antwort nur so breit wie sein breitester Text (Rueckmeldung 28.10.): sonst wirkt es wie eine
   Seite statt einer Chat-Antwort. Kacheln und Tabellen nehmen weiter die volle Breite, sie brauchen sie. */
/* Rueckmeldung 29.10.: kein Fenster breiter als die breiteste Nachricht (980px), auch Kacheln, Tabellen und Beispiele;
   bis zum rechten Rand wirkte es wie eine andere Seite. Breites scrollt innen. */
.assistant-body > * { align-self: flex-start; max-width: min(100%, 980px); }
.assistant-body > .status, .assistant-body > :has(.vendor-grid), .assistant-body > :has(table) { align-self: stretch; }
.bubble { align-self: flex-start; max-width: min(100%, 980px); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 4px 12px 12px 12px; padding: 12px 16px; }
.bubble.answer p:last-child, .bubble.answer ul:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .avatar { display: none; } }

/* Beispiele zum Ausfuellen ("Was kann der Assistent?"): Aufgabe oben, Satz darunter, Felder markiert. */
.fill-examples { list-style: none; margin: -4px 0 12px; width: 100%; padding: 0; display: grid; gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.fill-examples button { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4px; text-align: left;
  font: inherit; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; cursor: pointer; box-shadow: var(--shadow); }
.fill-examples button:hover, .fill-examples button:focus-visible { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.fill-task { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fill-text { font-size: 14px; line-height: 1.45; }
.fill-text mark { background: var(--accent-soft); color: var(--accent-ink); border-bottom: 1px dashed var(--accent);
  border-radius: 3px; padding: 0 1px; }

/* ── Einstieg mit Eingabe oben ────────────────────────────────────────────── */
.dock:empty { display: none; }
.hero-composer { margin-top: 20px; max-width: 820px; }
.hero-composer .composer textarea { min-height: 54px; padding: 15px 16px; background: var(--surface); }
.hero-composer .composer button { height: 54px; padding: 0 22px; }
.send-icon { display: none; font-size: 18px; }
@media (max-width: 560px) {
  .composer button { padding: 0 14px; }
  .send-label { display: none; }
  .send-icon { display: inline; }
  .hero-composer .composer button { padding: 0 16px; }
}

/* ── Oeffentlich: Optik von find-your-software.de ─────────────────────────── */
/* Warmes Off-White, Tinte #161616, Indigo #221aa2, Serifen-Ueberschriften (Playfair Display, selbst gehostet),
   Mono-Labels in Versalien, weisse Karten mit feiner Linie statt Schatten. */
.fys-assistant.public {
  --accent: #221aa2;
  --accent-soft: #efeefb;
  --accent-ink: #221aa2;
  --bg: #f8f7f2;
  --surface: #ffffff;
  --text: #161616;
  --text-2: #3b3a36;
  --muted: #5d5c66;   /* 6,6:1 auf dem Grund; #76746c lag bei 4,37:1, unter AA (Review 12.10.2026) */
  --line: #e6e3d8;
  --line-2: #d6d2c4;
  --chip: #f2f0e8;
  --user: #161616;
  --user-text: #ffffff;
  --radius: 12px;
  --shadow: none;
  --shadow-hover: 0 6px 20px rgba(22, 22, 22, 0.06);
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.public .eyebrow { font: 500 11px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .16em; color: var(--accent); }
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.eyebrow a:hover, .eyebrow a:focus-visible { border-bottom-style: solid; }

.public .composer textarea { border-radius: 12px; border-color: var(--line-2); }
.public .composer textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 26, 162, .12); }
.public .composer button { border-radius: 10px; background: var(--accent); }
.public .composer button:disabled { opacity: 1; background: #c9c6e6; }
.public .dock, .public .topbar { background: var(--bg); }
.public .topbar { border-bottom-color: var(--line); }
/* Im iframe auf find-your-software.de/assistent/: kein zweiter Absender unter der Kopfzeile der Seite */
.public.framed .topbar .brand { visibility: hidden; }
.public.framed .topbar:not(:has(.topbar-actions > *)) { display: none; }
.public .user-msg { border: 0; border-radius: 14px 14px 4px 14px; }
.public .avatar { background: var(--text); color: #fff; border: 0; font-size: 11px; letter-spacing: .04em; }
.public .bubble { border-radius: 4px 16px 16px 16px; padding: 14px 18px; }
.public .tile { border-radius: 14px; }
.public .tile:hover { border-color: var(--text); }
.public .suggestions button { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.public .suggestions button:hover { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.public .ai-note a { color: var(--muted); }

/* ── Einstieg (Start.tsx, Entwurf 04.11.2026): Aufbau wie die Startseite von find-your-software.de ───────── */
.start { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; }
.linkish { font: inherit; font-size: inherit; background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.linkish:hover { color: var(--accent-ink); }
/* Erster Bildschirm: Inhalt mittig, die Vertrauenszeile als letzte Reihe (Kopfzeile ~46 px, Rand 24 px). */
.s-hero { min-height: calc(100vh - 100px); min-height: calc(100svh - 100px); display: flex; flex-direction: column; }
.s-grid { margin-block: auto; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding-top: 24px; }
@media (min-width: 900px) { .s-grid { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 56px; } }
.s-main { min-width: 0; display: grid; gap: 22px; justify-items: start; }
.s-kick { margin: 0; font-size: 14px; color: var(--muted); font-weight: 500; }
.s-kick-s { display: none; }
.start h1 { margin: 0; font-size: clamp(32px, 5vw, 66px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; color: var(--text); text-wrap: balance; }
.public .start h1 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.02em; }
.start h1 br { display: none; }
.start h1 .nw { white-space: nowrap; }
.start h1 .rot { display: inline-block; box-sizing: content-box; text-align: left; vertical-align: baseline; padding: 0 .1em; margin: 0 .02em;
  font-style: normal; color: var(--accent-ink); transition: width .35s ease; }
.public .start h1 .rot { font-style: italic; color: var(--accent); }
.start h1 .rot > span { display: inline-block; white-space: nowrap; min-height: 1em; }
.start h1 .rot.typing > span::after { content: ""; display: inline-block; width: 2px; height: .9em; background: var(--accent); margin-left: 3px; vertical-align: -.06em; animation: s-blink 1s steps(2) infinite; }
.rot-meas { position: absolute; visibility: hidden; white-space: nowrap; pointer-events: none; font: inherit; }
.public .rot-meas { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(32px, 5vw, 66px); letter-spacing: -.02em; }
@keyframes s-blink { 50% { opacity: 0; } }
.start .lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 46ch; }
.start .hero-composer { margin-top: 0; width: 100%; max-width: 640px; }
.start .hero-composer .composer textarea { box-shadow: 0 16px 40px rgba(34, 26, 162, .08); }
.start-free { margin: -8px 0 0; font-size: 13.5px; color: var(--muted); }
/* Lueckensatz: Auswahl als unterstrichener Text, keine Pillen. Nur unter .luecke: .slot heissen auch die Zeilen der
   Ergebniskacheln (sonst Unterstrich und Pfeil in jeder Kachelzeile, 10.11.2026). */
.luecke { margin: -6px 0 0; max-width: 640px; font-size: 14px; line-height: 2; color: var(--muted); }
.luecke .nw { white-space: nowrap; }
.slot-meas { position: absolute; visibility: hidden; white-space: nowrap; font-size: 14px; font-weight: 500; pointer-events: none; }
.luecke .slot { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 0 18px 1px 0; margin-right: 3px; cursor: pointer; appearance: none; -webkit-appearance: none; max-width: 100%; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d8b83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 12px; }
.luecke .slot:hover { color: var(--accent-ink); border-color: var(--accent); }
.luecke .slot.set { color: var(--accent-ink); border-color: var(--accent); }
.luecke .slot:focus { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
/* Beleg rechts */
.proof { display: grid; gap: 12px; padding-left: 40px; border-left: 1px solid var(--line); min-width: 0; transition: opacity .3s; }
.proof.fade { opacity: 0; }
.proof-lbl, .start .eyebrow { font: 500 11px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.proof-q { margin: 0; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.3; letter-spacing: -.015em; color: var(--text); min-height: 3.9em; }
.proof-q em { font-style: normal; color: var(--accent-ink); }
.public .proof-q { font-family: "Playfair Display", Georgia, "Times New Roman", serif; }
.public .proof-q em { font-style: italic; color: var(--accent); }
.proof-m { margin: 0; font-size: 13.5px; color: var(--muted); }
.proof-link { font: inherit; font-weight: 600; background: none; border: 0; padding: 0; color: var(--accent-ink); cursor: pointer; }
.proof-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Vertrauenszeile: mittig, schliesst den ersten Bildschirm ab */
.s-under { margin: 0; padding: 36px 0 24px; text-align: center; font-size: 13.5px; color: var(--muted); }
.s-under b { font-weight: 500; }
.s-hint { margin-left: 10px; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.s-hint:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Vier Belege mit Zeichen, dann "Bekannt aus" (wie live, ohne Laufband) */
.tband { border-top: 1px solid var(--line); }
.trust-facts { list-style: none; margin: 0; padding: 34px 0 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.trust-facts li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; min-width: 0; }
.trust-ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-ink); }
.trust-txt { display: grid; gap: 2px; min-width: 0; }
.trust-txt b { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--text); }
.trust-txt > span { font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.trust-txt a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.trust-txt a:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.trust-press { display: flex; align-items: center; gap: 48px; padding: 40px 0 44px; }
.trust-press-lbl { flex: none; font: 500 11px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.trust-logos { display: flex; align-items: center; gap: 64px; flex-wrap: wrap; min-width: 0; }
.trust-logos img { height: 36px; width: auto; display: block; opacity: .75; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
/* Sektionen darunter */
.s-h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; color: var(--text); }
.public .s-h2 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 400; }
.s-lead2 { margin: 10px 0 0; font-size: 16px; color: var(--muted); max-width: 62ch; }
.themen, .ergebnis, .ablauf { border-top: 1px solid var(--line); padding: 56px 0; }
.themen { min-height: calc(100svh - 100px); }
.hotline { display: flex; gap: 8px 16px; align-items: baseline; flex-wrap: wrap; margin: 26px 0 22px; font-size: 14px; }
.hotline .eyebrow { margin-right: 6px; }
.hot { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--line-2); padding: 0 0 1px; cursor: pointer; }
.hot:hover { color: var(--accent-ink); border-color: var(--accent); }
.ar-tabs { display: none; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.ar { font-weight: 600; font-size: 13.5px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); padding: 7px 14px; border-radius: 999px; }
.ar.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.th-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.th-col { display: grid; gap: 8px; align-content: start; min-width: 0; }
.th-h { font-size: 22px; margin: 0 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-weight: 600; }
.public .th-h { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 400; }
.th { text-align: left; display: grid; gap: 5px; color: var(--text); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface); min-width: 0; transition: border-color .15s, background .15s; }
.th b { font-weight: 600; font-size: 14.5px; }
.th span { color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.th:hover { border-color: var(--line-2); background: var(--chip); }
.th.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.sc-panel { margin-top: 18px; border: 1px solid var(--accent); border-radius: 16px; background: var(--surface); padding: 22px 24px 24px; }
.sc-head { display: flex; align-items: baseline; gap: 14px; }
.sc-head h3 { margin: 0; flex: 1; font-size: 26px; font-weight: 600; }
.public .sc-head h3 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 400; }
.sc-close { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; width: 32px; height: 32px; }
.sc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 14px; }
.sc-col h4 { font: 600 11.5px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 14px 0 4px; }
.sc-col h4:first-child { margin-top: 0; }
.sc-col p { margin: 0; font-size: 14.5px; color: var(--text); }
.ende { color: var(--muted); }
.sicher { font-size: 12.5px; color: var(--muted); margin: 16px 0 0 !important; padding-top: 10px; border-top: 1px dashed var(--line); }
.s-primary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; padding: 0 20px; border: 0; border-radius: 11px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; }
.s-primary:hover { filter: brightness(1.08); }
.sc-chat { background: var(--bg); border-radius: 12px; padding: 16px; display: grid; gap: 10px; align-content: start; font-size: 14px; }
.sc-chat .m { max-width: 92%; padding: 10px 14px; border-radius: 14px; line-height: 1.45; }
.sc-chat .m.u { justify-self: end; background: var(--text); color: var(--surface); border-bottom-right-radius: 4px; }
.sc-chat .m.a { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.sc-chat .m.a i { font-style: normal; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--text); color: var(--surface); font-size: 11px; font-weight: 700; margin-right: 8px; vertical-align: -4px; }
.rtabs { display: inline-flex; align-self: flex-start; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); margin: 24px 0 18px; max-width: 100%; overflow-x: auto; }
.rt { font-size: 13.5px; font-weight: 600; padding: 7px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); white-space: nowrap; }
.rt.on { background: var(--text); color: var(--surface); }
.rp { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 26px 28px 28px; max-width: 820px; }
.rp-q { margin: 0 0 14px; font-size: 14px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.rp h3 { font-size: 22px; font-weight: 600; margin: 6px 0 14px; text-wrap: balance; }
.public .rp h3 { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 400; }
.rl { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: r; }
.rl li { counter-increment: r; display: grid; grid-template-columns: 22px 1fr auto; grid-template-rows: auto auto; gap: 0 10px; align-items: baseline; font-size: 14px; }
.rl li::before { content: counter(r); grid-row: span 2; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }
.rl b { font-weight: 600; }
.rl span { color: var(--muted); font-size: 13px; grid-column: 2; }
.rl i { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 120px; height: 6px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.rl i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--accent); border-radius: 3px; }
.rk { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.rk dt { font: 500 11.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); padding-top: 3px; }
.rk dd { margin: 0; }
.rk-note { font-size: 14px; margin: 14px 0 0; color: var(--text); }
.tl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tl li { display: grid; gap: 4px; font-size: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.tl b { font-weight: 600; }
.tl span { color: var(--muted); font-size: 13px; }
.rp-f { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); }
.ablauf .s-h2 { margin-bottom: 28px; }
.flow { list-style: none; counter-reset: f; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; font-size: 14px; min-width: 0; }
.flow li::before { content: counter(f); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.flow b { font-weight: 600; font-size: 16px; }
.flow span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.start-trust { margin-top: 24px; padding: 18px 0 32px; border-top: 1px solid var(--line); }
.start-trust .ai-note { text-align: left; margin: 0; }
@media (max-width: 900px) {
  .s-hero { min-height: 0; }
  .s-grid { align-items: start; padding-top: 8px; }
  .start .lead { font-size: 15.5px; }
  .proof { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .proof-q { font-size: 21px; min-height: 0; }
  .trust-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-tabs { display: flex; }
  .th-grid { grid-template-columns: 1fr; }
  .th-col { display: none; }
  .th-col.on { display: grid; }
  .th-h { display: none; }
  .sc-cols { grid-template-columns: 1fr; }
  .themen { min-height: 0; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .tl { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .s-kick-l { display: none; }
  .s-kick-s { display: inline; }
  .start h1 { font-size: clamp(28px, 8.3vw, 34px); }
  .start h1 br { display: block; }
  .s-main { gap: 18px; }
  .s-under { padding: 28px 0 20px; }
  .s-hint { display: block; margin: 6px 0 0; }
  .trust-facts { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; }
  .trust-facts li { grid-template-columns: 40px 1fr; gap: 12px; }
  .trust-ico { width: 40px; height: 40px; }
  .trust-txt b { font-size: 16px; }
  .trust-press { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 0 24px; }
  .trust-logos { gap: 20px 28px; }
  .trust-logos img { height: 26px; }
  .themen, .ergebnis, .ablauf { padding: 36px 0; }
  .rp { padding: 18px; }
  .rl i { display: none; }
  .rl li { grid-template-columns: 22px 1fr; }
  .rk { grid-template-columns: 1fr; gap: 2px 0; }
  .rk dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .fys-assistant *, .fys-assistant *::before { animation: none !important; transition: none !important; }
}

/* ── Schnittstellen laut Anbieterangaben ─────────────────────────────────── */
.integration-line { margin: 0; color: var(--ok); font-weight: 500; }
.integration-line span { margin-right: 4px; }
.based-on, .projects { margin: 0; }
.projects b { font-weight: 600; }
.card.integration h3 { margin: 2px 0 0; font-size: 17px; }
.integration-rows { list-style: none; display: grid; gap: 8px; margin: 12px 0; padding: 0; }
.integration-rows li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; padding: 10px 12px;
  border-radius: 10px; background: var(--chip); font-size: 14px; }
.integration-rows li.yes { background: var(--ok-soft); }
.integration-rows .mark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.integration-rows li.yes .mark { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.integration-rows small { display: block; color: var(--muted); margin-top: 2px; }
.card.integration .card-head { display: block; }

/* ── Alles baut sich auf (nur in dieser Sitzung entstandene Runden) ─────────── */
.turn.live .user-msg { animation: fys-rise .3s ease both; }
.turn.live .assistant-body > :not(.bubble) { animation: fys-rise .45s ease both; }
.turn.live .vendor-grid > * { animation: fys-rise .4s ease both; }
.turn.live .vendor-grid > :nth-child(2) { animation-delay: .07s; }
.turn.live .vendor-grid > :nth-child(3) { animation-delay: .14s; }
.turn.live .vendor-grid > :nth-child(4) { animation-delay: .21s; }
.turn.live .vendor-grid > :nth-child(5) { animation-delay: .28s; }
/* Tabellen und Listen Zeile fuer Zeile, auch wenn die Antwort sofort da ist (Rueckmeldung 28.10.: gecachte Suche
   "Welche Software nutzen andere Maschinenbauer …" stand auf einen Schlag da); was danach kommt, folgt der Tabelle. */
.turn.live .card tbody tr, .turn.live .card .refs > li { animation: fys-rise .35s ease both; }
.turn.live .card tbody tr:nth-child(2), .turn.live .card .refs > li:nth-child(2) { animation-delay: .12s; }
.turn.live .card tbody tr:nth-child(3), .turn.live .card .refs > li:nth-child(3) { animation-delay: .24s; }
.turn.live .card tbody tr:nth-child(4), .turn.live .card .refs > li:nth-child(4) { animation-delay: .36s; }
.turn.live .card tbody tr:nth-child(5), .turn.live .card .refs > li:nth-child(5) { animation-delay: .48s; }
.turn.live .card tbody tr:nth-child(6), .turn.live .card .refs > li:nth-child(6) { animation-delay: .6s; }
.turn.live .card tbody tr:nth-child(n+7), .turn.live .card .refs > li:nth-child(n+7) { animation-delay: .7s; }
.turn.live .assistant-body > :has(table) ~ :not(.bubbles) { animation-delay: .8s; }
.suggestions > button { animation: fys-rise .35s ease .4s both; }
.suggestions > button:nth-child(2) { animation-delay: .5s; }
.suggestions > button:nth-child(3) { animation-delay: .6s; }
.suggestions > button:nth-child(4) { animation-delay: .7s; }

/* ── Antwort als mehrere Sprechblasen (ein Absatz je Blase) ─────────────── */
.bubbles { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bubbles .bubble { animation: fys-rise .3s ease both; }
.bubbles .bubble + .bubble { border-top-left-radius: 12px; }
.bubbles .bubble p:last-child, .bubbles .bubble ul:last-child { margin-bottom: 0; }
.bubble.aside { font-size: 13.5px; color: var(--muted); background: var(--ok-soft); border: 1px solid var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); box-shadow: none; }  /* Datenschutz-Hinweis: leicht gruen */

/* Muss-Anforderungen: Chip im Trichter, je Kachel belegt (✓) oder offen (○) – nie ein Nein. */
.chip.req { background: var(--accent-soft); color: var(--accent-ink); font-weight: 500; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.checks li { display: flex; align-items: baseline; gap: 5px; }
.checks li small { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.checks li.yes { color: var(--ok); font-weight: 500; }
.checks li.unknown { color: var(--text-2); }
.checks li.partial { color: var(--warn, #8a5a00); }
.checks li small a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }

/* Stop-Knopf waehrend der Runde (anstelle von Senden). */
.composer button.stop { background: var(--text); color: var(--bg); }
.composer button.stop:hover { filter: brightness(1.15); }
/* Folgefragen direkt unter der Antwort. */
.suggestions.inline { margin: 0 0 10px; }
/* Leeres Ergebnis: Kriterien lockern per Klick. */
.card.relax { display: grid; gap: 10px; }
.card.relax p { margin: 0; }
/* Naechster Schritt unter der Shortlist: sichtbar, nicht hinter dem Menue. */
.next-step { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.next-step .lead-link { color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 1px solid var(--accent); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; }
.next-step .lead-link:hover { background: var(--accent-soft); }
.next-step button.lead { border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 600; cursor: pointer;
  background: var(--surface); color: var(--accent-ink); border: 1px solid var(--accent); font-family: inherit; max-width: none; line-height: 1.3; }
.next-step button.lead:hover { background: var(--accent-soft); }
.next-step button.lead:disabled { opacity: .55; cursor: default; }
.next-step a.portal { font-size: 13.5px; }
/* Konfidenz unter dem Score: wie belastbar die Datenbasis ist. */
.score-col { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.conf { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.conf.hoch { color: var(--ok); }
.conf.gering { color: var(--warn, #b45309); }
.tile-actions button.drop:hover { color: #b42318; border-color: #b42318; }

/* Beispiel-Frage ueber dem Vorschau-Ergebnis: der Weg vom Chip zum Ergebnis. */
/* "Was kann der Assistent?" als Textlink statt Chip. */
.task.more.text { width: auto; padding: 0 12px; }

/* Leiste "Naechster Schritt" (Phase 2 D): ein Angebot, ein Satz, die Beratung als ruhiger Zweitlink. */
.next-step { flex-direction: column; align-items: stretch; gap: 8px; }
.next-step-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.next-step-text { margin: 0; }
.next-step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.next-step .quiet-link { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.next-step .quiet-link:hover { color: var(--fg); }
.next-step .waiting-q { margin-top: 4px; }

/* ── Wiederhergestellt aus 8c89d49 (in 001f9fc versehentlich mit den Vorschau-Regeln entfernt) ── */
.thread > .turn:first-child { animation: fys-rise .45s ease; }

/* ── Fruehere Runden: Karten eingeklappt ─────────────────────────────────── */
.folded { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
/* Zugeklappt nur so breit wie die Zeile selbst, nie breiter als der Text darueber (Rueckmeldung 28.10.) */
.folded:not([open]) { width: fit-content; max-width: 100%; }
.folded > summary { cursor: pointer; padding: 9px 14px; font-size: 13.5px; color: var(--text-2); list-style: none;
  display: flex; align-items: center; gap: 8px; }
.folded > summary::-webkit-details-marker { display: none; }
.folded > summary::before { content: "▸"; color: var(--accent-ink); transition: transform .2s; }
.folded[open] > summary::before { transform: rotate(90deg); }
.folded > summary:hover { color: var(--accent-ink); }
.folded-body { display: grid; gap: 12px; padding: 4px 12px 12px; }

/* ── Shortlist-Knopf und Seitenblatt ─────────────────────────────────────── */
.topbar-actions { display: flex; gap: 8px; align-items: center; }
.share-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.notice-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px;
  border-bottom: 1px solid var(--line); background: var(--accent-soft); color: var(--text-2); font-size: 14px; }
.view-only-bar { display: flex; justify-content: center; padding: 10px 0; }
/* Meine Gespraeche */
.chats { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.chats li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 8px; }
.chats li.current { border-color: var(--accent); background: var(--accent-soft); }
.chat-open { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: left; background: none; border: 0; padding: 4px; cursor: pointer;
  color: var(--text); font: inherit; }
.chat-title { font-weight: 600; overflow-wrap: anywhere; }
.chat-confirm { display: flex; gap: 6px; }
.ghost.danger { color: #b42318; border-color: color-mix(in srgb, #b42318 40%, var(--line)); }
.chats-limit { margin: 0 0 12px; padding: 8px 12px; border-radius: var(--radius); background: var(--accent-soft); color: var(--text-2); }
.chats-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.shared-note { margin: 0; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--ok-soft); }
dialog.sheet { position: fixed; inset: 0 0 0 auto; width: min(560px, 100%); height: 100%; max-height: 100%; max-width: 100%; margin: 0;
  overflow-y: auto; background: var(--bg); color: var(--text); border: 0; padding: 0; font: inherit;
  box-shadow: -12px 0 40px rgba(15, 15, 20, .18); animation: fys-slide .25s cubic-bezier(.2, .7, .2, 1); }
.sheet-inner { padding: 16px 18px 24px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 16px; }
.sheet .vendor-grid { grid-template-columns: 1fr; }
/* Shortlist immer eine Reihe, nie 4 + 1 oder nach "Weitere 5 zeigen" zwei Reihen (Rueckmeldung 27.10.): waagerecht
   scrollbar, bis zu fuenf Kacheln breit sichtbar; eine angeschnittene Kachel am Rand zeigt, dass es weitergeht. Unter
   188 px stiessen "geprueft", Stern und Score aneinander. Sechs feste Zeilen, damit das subgrid in Spaltenfolge greift.
   Am Handy bleibt die Liste untereinander. */
@media (min-width: 641px) {
  .vendor-grid.row, .sheet .vendor-grid.row { grid-template-columns: none; grid-template-rows: repeat(6, auto); grid-auto-flow: column;
    grid-auto-columns: max(188px, calc((100% - 48px) / 5)); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; padding-bottom: 6px; }
  .vendor-grid.row > .tile { scroll-snap-align: start; }
}
@keyframes fys-fade { from { opacity: 0; } }
@keyframes fys-rise { from { opacity: 0; transform: translateY(6px); } }  /* seit 001f9fc gefehlt, wiederhergestellt 13.10. */
@keyframes fys-slide { from { transform: translateX(24px); opacity: .6; } }

.analysis-slow { margin: 6px 0 0; color: var(--muted); }
.analysis-what { margin: 6px 0 0; max-width: 62ch; color: var(--muted); }

/* ── Review 13.10.: Rueckgaengig, Abbruch, Beispieldaten, Mobil ──────────── */
.undo-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; padding: 8px 12px;
  border-radius: var(--radius); background: var(--text); color: var(--bg); font-size: 13.5px; animation: fys-rise .25s ease both; }
.undo-row .ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 40%, transparent); min-height: 36px; }
.undo-row .ghost:hover:not(:disabled) { background: color-mix(in srgb, currentColor 12%, transparent); }
.cancelled { margin: 0; }
.demo-card { position: relative; }
.demo-mark { position: absolute; top: -8px; right: 10px; z-index: 1; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px;
  background: var(--warn-bg); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.topbar-menu { display: none; position: relative; }
.topbar-menu > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); font-size: 18px; color: var(--text-2); }
.topbar-menu > summary::-webkit-details-marker { display: none; }
.topbar-menu-body { position: absolute; right: 0; top: 48px; z-index: 20; display: grid; gap: 6px; min-width: 200px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(15, 20, 25, .15); }
.topbar-menu-body .ghost { min-height: 44px; text-align: left; }
.ghost.consult-link { display: inline-flex; align-items: center; text-decoration: none; }
.profile-toggle { display: none; }
@media (max-width: 560px) {
  .topbar-actions { display: none; }
  .topbar-menu { display: block; }
  .dock .ai-note { display: none; }            /* nach der ersten Runde: der Hinweis stand auf dem Start (8.8) */
  .profile-toggle { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font: inherit;
    font-size: 12.5px; font-weight: 600; color: var(--muted); min-height: 32px; }
  .profile-bar .profile-title, .profile-bar:not(.open) .pf { display: none; }
  .profile-bar.open .profile-toggle { color: var(--accent-ink); }
}

/* ── Fortschrittskarte (CHAT-AGENT-FORTSCHRITT.md) ───────────────────────── */
/* Ruhig: kein Rot, kein Warnsymbol; der Portal-Knopf ist die einzige gefuellte Flaeche. */
.journey { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 16px 14px;
  display: grid; gap: 10px; }
.journey-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: none; border: 0; padding: 10px 0 0;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; min-height: 40px; }
.journey-dots { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.journey-dots .done { color: var(--ok); }
.journey-dots .partial { color: var(--accent-ink); }
.journey-chev { margin-left: 6px; font-size: 15px; }
.journey-next { display: grid; gap: 2px; font-size: 14px; color: var(--text-2); }
.journey-next p { margin: 0; }
.journey-next b { color: var(--text); }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.journey-steps li { display: grid; grid-template-columns: 20px minmax(8.5rem, 11rem) minmax(0, 1fr); gap: 2px 10px; align-items: baseline;
  font-size: 14px; color: var(--text-2); }
.journey-mark { font-weight: 700; color: var(--muted); text-align: center; }
.journey-steps li.done .journey-mark { color: var(--ok); }
.journey-steps li.partial .journey-mark { color: var(--accent-ink); }
.journey-steps li.done b { color: var(--text); }
.journey-steps li:not(.done) b { font-weight: 500; }
.journey-fact { min-width: 0; }
.journey-risk { font-size: 13px; color: var(--muted); line-height: 1.4; }
.journey-steps .journey-risk { grid-column: 3; }
.journey-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 2px; }
.journey-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 0;
  background: var(--accent); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.journey-cta:hover { filter: brightness(0.95); }
.journey-cta:disabled { opacity: .55; cursor: default; }
.journey-chat { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid var(--accent-ink); background: none; color: var(--accent-ink); font: inherit; font-size: 14.5px; font-weight: 600;
  text-decoration: none; cursor: pointer; }
.journey-chat:disabled { opacity: .55; cursor: default; }
.journey .waiting-q { margin-top: 0; }
.sheet .journey { margin-top: 14px; }
.journey.dismissable { position: relative; padding-right: 44px; }
.next-step.dismissable { position: relative; padding-right: 40px; }
.journey-x { top: 10px; right: 8px; }
.deadline { border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; display: grid; gap: 6px; justify-items: start; }
.deadline p { margin: 0; }
.offer-stage { display: grid; gap: 6px; }
.offer-stage-head { margin: 0; color: var(--muted); font-weight: 600; }
.offer-list.plus li::before { content: "+"; color: var(--accent-ink); }
@media (max-width: 560px) {
  .journey-steps li { grid-template-columns: 20px minmax(0, 1fr); }
  .journey-fact, .journey-steps .journey-risk { grid-column: 2; }
  .journey-cta, .journey-chat { width: 100%; justify-content: center; }
}

/* Stand und Quellen unter redaktionellen Antworten (Markdown.tsx). */
.source-line { font-size: 12px; color: var(--muted); }
.source-line a { color: inherit; text-decoration: underline; text-decoration-style: dotted; }
.more-results { margin: 4px 0 0; text-align: center; }

/* ── Kacheln aufgeraeumt (Rueckmeldung 26.10.2026) ──────────────────────────
   Zahl als Knopf ("warum?" darunter), Anforderungen als schlichte Liste mit Link auf die Fundstelle, eine Faktenzeile,
   Knoepfe in einer Reihe. */
.tile { gap: 0; }
.tile > .slot:not(:empty) ~ .slot:not(:empty) { padding-top: 10px; }
button.score-pill { border: 0; cursor: pointer; font-family: inherit; }
button.score-pill:hover, button.score-pill[aria-expanded="true"] { background: var(--accent); color: #fff; }
.score-col .why { font-size: 11px; color: var(--muted); }
.tile .checks { gap: 4px; }
.tile .checks li { gap: 6px; line-height: 1.35; }
.tile .checks li > span[aria-hidden] { flex: none; width: 1em; }
.tile .checks a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.tile .checks a:hover { text-decoration-color: currentColor; }
.ref-line { color: var(--text-2); }
.facts { margin: 0; color: var(--muted); line-height: 1.45; }
.facts .in-branch { color: var(--ok); }
.facts .in-branch b { font-weight: 700; }
.facts .conf { font-size: inherit; white-space: nowrap; }
.focus-note { color: var(--warn); }
.tile-actions { flex-wrap: nowrap; gap: 6px; padding-top: 4px; }
.tile-actions button { min-height: 36px; padding: 4px 6px; border-radius: 10px; white-space: nowrap; }
.tile-actions button.icon { flex: 0 0 36px; }
@media (pointer: coarse) { .tile-actions button { min-height: 44px; } .tile-actions button.icon { flex-basis: 44px; } }
/* Kopf: Name links, Zahl rechts daneben (.slot setzte sonst grid und schob die Zahl unter den Namen). */
.tile > .slot.tile-head { display: flex; align-items: flex-start; gap: 8px; }
.tile .tile-top { align-items: center; gap: 4px; }
/* Knoepfe untereinander, volle Breite (Rueckmeldung 28.10.2026: "Details" und "Referenzen" waren nebeneinander oft
   abgeschnitten); das Menue darunter ebenso, alle gleich breit. */
.tile-actions { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
.tile-actions button, .tile-actions button.icon { flex: 0 0 auto; width: 100%; padding: 4px 8px; white-space: normal; }
.more-actions { flex-direction: column; flex-wrap: nowrap; }
.more-actions button, .more-actions a { width: 100%; text-align: center; }
.tile .checks.pending li { color: var(--muted); }
/* Statuszeile auf Hoehe des KI-Kreises (30px + 2px Abstand oben): Zeile 34px hoch, Inhalt mittig. */
.assistant-body > .status { min-height: 34px; }
/* Mehrere Anforderungen: Tabelle Systeme x Anforderungen ueber den Kacheln (Cards.tsx ReqMatrix). Breiter als
   das Handy: die Tabelle scrollt in sich, nie die Seite. */
.req-matrix { margin: 4px 0 12px; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.req-matrix table { border-collapse: collapse; width: 100%; font-size: 14px; }
.req-matrix th, .req-matrix td { padding: 9px 12px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.req-matrix tbody tr:last-child > * { border-bottom: 0; }
.req-matrix th.lead { text-align: left; font-weight: 500; min-width: 170px; max-width: 220px; white-space: normal; position: sticky; left: 0;
  background: var(--surface); z-index: 1; }
.req-matrix thead th { background: var(--bg); vertical-align: bottom; }
.req-matrix thead th.sys { min-width: 150px; font-weight: 400; line-height: 1.3; }
.req-matrix thead th.sys .ref { color: var(--muted); font-size: 12px; }
.req-matrix thead th.sys .vendor { display: block; margin-top: 2px; }
.req-matrix tr.facts th.lead { color: var(--muted); font-weight: 400; font-size: 13px; }
.req-matrix td.used { color: var(--text-2, var(--text)); line-height: 1.35; }
.req-matrix tr.req.first > * { border-top: 2px solid var(--line-2); }
.req-matrix td.mark { font-size: 18px; line-height: 1; }
.req-matrix td.mark a { text-decoration: none; display: inline-block; min-width: 32px; padding: 6px 0; border-radius: 6px; }
.req-matrix td.mark a:hover { background: var(--accent-soft); }
.req-matrix td.yes, .req-matrix td.yes a { color: var(--ok, #1d7a46); }
.req-matrix td.partial, .req-matrix td.partial a { color: var(--warn, #9a6b00); }
.req-matrix td.unknown, .req-matrix td.unknown a, .req-matrix td.pending { color: var(--muted); }
.req-matrix tr.acts td { white-space: nowrap; }
.req-matrix tr.acts button { margin: 2px 3px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
  border-radius: var(--radius); padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 500; min-height: 40px; cursor: pointer; }
.req-matrix tr.acts button:hover { background: var(--bg); color: var(--accent-ink); border-color: var(--line-2); }
.req-matrix .compare-more { margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); color: var(--muted); }
.req-matrix .compare-more a { font-weight: 600; color: var(--accent-ink); }
.checks-sum { margin: 0; }
.checks-sum.none, .checks-sum.pending { color: var(--muted); }
.checks-sum > span[aria-hidden] { color: var(--ok, #1d7a46); }
.checks-sum.none > span[aria-hidden] { color: var(--muted); }
.ask .confirm-options button.on { background: var(--accent-soft); font-weight: 600; }
.ask .confirm-options button:disabled { opacity: .45; cursor: default; }
/* Oeffentlich faerbt .public .composer button jeden Knopf im Eingabefeld in der Akzentfarbe, auch das Menue:
   der ☰-Knopf stand dunkel auf Dunkelblau (Rueckmeldung 26.10.2026). */
.public .composer .menu-toggle { background: var(--surface); color: var(--text-2); }
.public .composer .menu-toggle:hover { background: var(--bg); color: var(--accent-ink); }
.public .composer .menu-pop button { background: transparent; color: var(--text); border-radius: 8px; height: auto; }
.public .composer .menu-pop button:hover { background: var(--bg); color: var(--accent-ink); }
/* Ergebnisleiste unten im Dock (App.tsx resultDock): eine Zeile mit deutlichem Knopf; das Ergebnis oeffnet als
   Fenster ueber dem mattierten Chat (Rueckmeldung 26.10.: der Chat oben soll dann weg sein). */
.result-dock { margin: -2px 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface, #fff); }
.result-dock.fresh { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.result-head { width: 100%; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; text-align: left; background: transparent;
  border: 0; padding: 7px 8px 7px 12px; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; min-height: 48px; }
.result-title { font-weight: 600; }
.result-open { margin-left: auto; background: var(--accent); color: #fff; border-radius: 999px; padding: 7px 14px;
  font-weight: 600; font-size: 14px; white-space: nowrap; }
.result-head:hover .result-open, .result-head:focus-visible .result-open { filter: brightness(1.12); }
.result-dock .badge.new { background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.result-overlay { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(15, 15, 30, 0.28); -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%); animation: result-fade .15s ease-out; }
.result-sheet { width: min(1240px, 100%); max-height: min(92vh, 1100px); display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 15, 30, 0.25);
  animation: result-rise .18s ease-out; }
.result-sheet-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 10px 10px 16px;
  border-bottom: 1px solid var(--line); font-size: 15px; }
.result-close { margin-left: auto; background: var(--text); color: var(--bg); border: 0; border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; }
.result-close:hover { filter: brightness(1.25); }
.result-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain; }
.result-body > * { min-width: 0; }  /* nur die Tabelle scrollt seitlich (.req-matrix), Kopf und Firmenprofil umbrechen */
@keyframes result-fade { from { opacity: 0; } }
@keyframes result-rise { from { transform: translateY(16px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .result-overlay, .result-sheet { animation: none; } }
@media (max-width: 640px) {
  .result-overlay { padding: 10px; }
  .result-sheet { max-height: 94vh; }
  .result-head .muted { font-size: 13px; }
}
/* Einordnung: so breit wie eine Antwort, Rangleiter statt Balken ueber den ganzen Markt (Cards.tsx ProductFitCard). */
.card.fit { max-width: min(100%, 980px); }
.fit-verdict { margin: 2px 0 10px; color: var(--text-2); }
.fit-good .fit-verdict { color: var(--ok); }
.rank-ladder { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.rank-ladder li { display: grid; grid-template-columns: 28px minmax(0, 220px) 1fr 34px; align-items: center; gap: 10px; font-size: 14px; position: relative; }
.rank-ladder li .gap { position: absolute; left: 8px; top: -14px; color: var(--muted); font-size: 12px; line-height: 1; }
.rank-ladder li:has(.gap) { margin-top: 12px; }
.rank-ladder .pos { color: var(--muted); text-align: right; }
.rank-ladder .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-ladder .track { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.rank-ladder .track > span { display: block; height: 100%; background: var(--line-2); border-radius: 99px; }
.rank-ladder li.me { font-weight: 600; }
.rank-ladder li.me .pos { color: var(--text); }
.fit-good .rank-ladder li.me .track > span { background: var(--ok); }
.fit-warn .rank-ladder li.me .track > span { background: var(--warn); }
.rank-ladder b { text-align: right; }
.fit-gaps { margin: 4px 0 8px; color: var(--warn); }
.fit-gaps.mild { color: var(--text-2); }
@media (max-width: 640px) { .rank-ladder li { grid-template-columns: 24px minmax(0, 1fr) 70px 30px; } }
/* Textknoepfe unter der Shortlist ("Weitere 5 zeigen", Partner der Plattform): Link-Optik statt Browser-Standard. */
button.text { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--accent-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.text:hover { text-decoration-thickness: 2px; }

/* Bericht sofort (Offer.tsx ReportForm) und Knopf in der Ergebnisleiste (27.10.2026). */
.result-row { display: flex; align-items: stretch; }
.result-row .result-head { flex: 1; min-width: 0; }
.result-report { margin: 6px 8px 6px 0; background: var(--surface); color: var(--accent-ink); border: 1px solid var(--accent);
  border-radius: 999px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.result-report:hover { background: var(--accent-soft); }
.result-sheet.narrow { width: min(760px, 100%); }
.report-form { display: grid; gap: 12px; }
.report-form .rf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 14px; }
.report-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text); }
.report-form .opt { font-weight: 400; color: var(--muted); }
.report-form input, .report-form textarea { font: inherit; font-size: 15px; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: var(--surface); color: var(--text); }
.report-form input:focus, .report-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.report-form textarea { resize: vertical; line-height: 1.45; }
.report-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.report-form button.primary, .report-done .primary { justify-self: start; background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 11px 20px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 44px; text-decoration: none; }
.report-form button.primary:disabled { opacity: .45; cursor: default; }
.report-form .rf-note, .report-form .rf-trust { margin: 0; }
.report-done { display: grid; gap: 8px; }
.report-done-head { margin: 0; font-size: 17px; font-weight: 600; }
.report-done-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.report-done-actions button { background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; font: inherit; cursor: pointer; }
@media (max-width: 640px) { .result-report { padding: 0 10px; font-size: 13px; } }
/* Fenster-Bauteil (Sheet.tsx): Aktionen im Kopf, Hinweis beim ersten Oeffnen, Termin und Teilen (27.10.2026). */
.sheet-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.sheet-actions + .result-close { margin-left: 0; }
.sheet-btn { background: var(--surface); color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; }
.sheet-btn:hover { border-color: var(--accent); color: var(--accent-ink); }
.sheet-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.sheet-btn.primary:hover { filter: brightness(1.12); color: #fff; }
.cal-sheet { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 18px; align-items: start; }
.cal-pitch ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.cal-frame iframe { width: 100%; height: min(640px, 70vh); border: 0; border-radius: var(--radius); background: var(--surface); }
.cal-frame p { margin: 6px 0 0; }
/* Cal.com zeigt Kalender und Uhrzeiten erst ab gut 880 px Breite nebeneinander; schmaler stapelt es und laesst rechts
   eine leere Flaeche (Rueckmeldung 28.10.2026). Darunter: Kalender oben ueber die volle Breite, die Punkte darunter. */
@media (max-width: 1240px) { .cal-sheet { grid-template-columns: minmax(0, 1fr); } .cal-frame { order: -1; } }
@media (max-width: 760px) { .cal-frame iframe { height: 560px; } }
.share-sheet { display: grid; gap: 14px; }
.share-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.share-option { display: grid; gap: 4px; text-align: left; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 12px 14px; font: inherit; cursor: pointer; color: var(--text); }
.share-option.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.share-sheet > button.primary { justify-self: start; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 11px 20px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 44px; }
.share-link { display: flex; gap: 10px; align-items: center; }
.share-link input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface); color: var(--text); }
.share-channels { display: flex; gap: 8px; flex-wrap: wrap; }
.share-channels .channel { background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; font: inherit;
  font-size: 14px; color: var(--text); text-decoration: none; cursor: pointer; }
.share-channels .channel:hover { border-color: var(--accent); color: var(--accent-ink); }
.share-foot-line { margin: 0; }

/* Projektstand im Berichtsformular (freiwillig, ein Klick) */
.report-form .rf-stage { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.report-form .rf-stage legend { font-size: 13px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.report-form .rf-stage button { background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px;
  font: inherit; font-size: 14px; color: var(--text); cursor: pointer; min-height: 40px; }
.report-form .rf-stage button.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

/* Vorbereitete Mail: Anliegen ohne Termin, Weiterfuehrung anfragen */
.mail-sheet { display: grid; gap: 12px; }
.mail-sheet p { margin: 0; }
.mail-text { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.mail-text .opt { font-weight: 400; color: var(--muted); }
.mail-text textarea { font: inherit; font-size: 14.5px; font-weight: 400; line-height: 1.45; padding: 10px 12px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: var(--surface); color: var(--text); resize: vertical; }
.mail-text textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.req-matrix .compare-more button.text { padding: 0; font-size: inherit; color: var(--accent-ink); }

/* Lob und "Wie geht es weiter?" auf der Fortschrittskarte (Journey.tsx, 27.10.2026) */
/* Sachlich statt Erfolgs-Box (Sofortmassnahmen 27.10.: Gruen wirkte wie ein Spiel-Level) */
.journey-praise { margin: 8px 0 4px; padding: 10px 0 0; border-top: 1px solid var(--line-2); font-size: 14.5px; line-height: 1.45; }
.save-warn { margin: 0; color: var(--text-2); }

/* Handy: Ergebnisleiste untereinander statt Kreis-Knopf; Fenster-Kopf mit kleinem Schliessen oben rechts */
@media (max-width: 640px) {
  .result-row { flex-direction: column; }
  .result-report { margin: 0 8px 8px; padding: 9px 14px; min-height: 40px; }
  .result-sheet-head { position: relative; padding-right: 56px; }
  .result-sheet .result-close { position: absolute; top: 8px; right: 8px; padding: 0; width: 40px; font-size: 0; }
  .result-sheet .result-close span { font-size: 16px; }
}

/* Lesetipp in den Wartezeiten (Waiting.tsx ReadingTip) */
.status { flex-wrap: wrap; }
.reading-tip { flex-basis: 100%; margin: 6px 0 0; padding: 8px 12px; border-left: 3px solid var(--accent-soft); color: var(--text-2);
  animation: result-fade .3s ease-out; }
.reading-tip a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.analysis .reading-tip { margin-top: 10px; }
/* Satz mit Vorlagen als Links (Anbieter im Blick, "Ach uebrigens"): eine Zeile statt Karten (28.10.2026) */
.fill-line { margin: 4px 0 12px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.fill-link { font: inherit; font-weight: 600; background: none; border: 0; padding: 0 0 0 6px; color: var(--accent-ink); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-soft); }
.fill-link:hover, .fill-link:focus-visible { text-decoration-color: var(--accent); }
/* Vorlage wegklicken (✕ oben rechts in der Karte) */
.fill-examples li { position: relative; }
.fill-examples .fill-x { position: absolute; top: 4px; right: 4px; z-index: 1; width: 28px; height: 28px; padding: 0; border: 0;
  border-radius: 999px; background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.fill-examples .fill-x:hover, .fill-examples .fill-x:focus-visible { background: var(--bg); color: var(--text); }
/* Formulare nur mit E-Mail (Bericht, Gespraech speichern) */
.rf-email { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.rf-email input { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: var(--surface); color: var(--text); }
.rf-email input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.save-form { display: grid; gap: 12px; }
.save-form p { margin: 0; }
.save-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.save-form button.primary { justify-self: start; background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  padding: 11px 20px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 44px; }
.save-form button.primary:disabled { opacity: .45; cursor: default; }
.rf-more { border-top: 1px solid var(--line); padding-top: 8px; }
.rf-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.rf-more summary .opt { font-weight: 400; color: var(--muted); }
.rf-more[open] > .rf-grid { margin: 10px 0; }

.refs-more > summary { cursor: pointer; font-size: 13.5px; color: var(--accent-ink); margin-top: 8px; }

/* Anbieterprofil: unsere Profilseite und die Seite des Anbieters untereinander, rechtsbuendig */
.head-links { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
/* Branchenspezialist fuer eine nicht genannte Branche: ruhiger Hinweis, kein Warnrot */
.tile-specialty { color: var(--warn, #9a6700); margin: 2px 0 0; }

/* Anbieter-Matrix (04.11.2026): Umschalter ueber der Liste, SVG mit Legende; Farben nur aus den Tokens. */
.fys-assistant .view-toggle { display: inline-flex; gap: 0; margin: 2px 0 10px; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.fys-assistant .view-toggle button { font: inherit; font-size: 13px; padding: 5px 14px; border: 0; background: var(--surface); color: var(--text-2); cursor: pointer; }
.fys-assistant .view-toggle button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.fys-assistant .view-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.fys-assistant .vendor-matrix { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 0 0 12px; }
@media (min-width: 900px) { .fys-assistant .vendor-matrix { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.fys-assistant .vm-plot { position: relative; min-width: 0; }
.fys-assistant .vm-plot svg { width: 100%; height: auto; display: block; }
.fys-assistant .vm-grid { stroke: var(--line); stroke-width: 1; }
.fys-assistant .vm-one { stroke: var(--line-2); stroke-dasharray: 2 3; }
.fys-assistant .vm-iso { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.fys-assistant .vm-tick { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.fys-assistant .vm-axis { font-size: 12px; fill: var(--text-2); font-weight: 600; }
.fys-assistant .vm-dot { cursor: pointer; outline: none; }
.fys-assistant .vm-fill { fill: var(--accent); fill-opacity: .85; stroke: var(--surface); stroke-width: 2; }
.fys-assistant .vm-dot.rest .vm-fill { fill: var(--muted); fill-opacity: .6; }
.fys-assistant .vm-dot.on .vm-fill, .fys-assistant .vm-dot:focus-visible .vm-fill { fill-opacity: 1; stroke: var(--text); }
.fys-assistant .vm-ring { fill: none; stroke: var(--text); stroke-width: 1.5; }
.fys-assistant .vm-label { font-size: 10.5px; font-weight: 700; fill: var(--surface); pointer-events: none; }
.fys-assistant .vm-tip { position: absolute; left: 56px; top: 8px; display: grid; gap: 1px; max-width: 280px; font-size: 13px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px 10px; box-shadow: var(--shadow-hover); }
.fys-assistant .vm-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; font-size: 14px; align-content: start; }
.fys-assistant .vm-legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 4px 6px; border-radius: 6px; }
.fys-assistant .vm-legend li.on { background: var(--chip); }
.fys-assistant .vm-legend .ref { font-weight: 700; color: var(--accent-ink); }
.fys-assistant .vm-legend li.rest .ref { color: var(--muted); }
.fys-assistant .vm-legend .nm { min-width: 0; overflow-wrap: anywhere; }
.fys-assistant .vm-legend .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.fys-assistant .vm-note { grid-column: 1 / -1; margin: 0; }
