/* Dashboard tab "KI-Sichtbarkeit" (B-07 AP6, PRJ-066). Own classes instead of new
   Tailwind classes (prebuilt CSS). Palette of landing.html: surfaces #0a0a12 / #14141d /
   #1b1b27, borders rgba(255,255,255,.08), accent #a78bfa; text >= #94a3b8 (WCAG AA). */
.ai-panel { display: block; min-width: 0; color: #e2e8f0; line-height: 1.55; }
.ai-panel *, .ai-panel *::before, .ai-panel *::after { box-sizing: border-box; }
.ai-panel p, .ai-panel li, .ai-panel dd { overflow-wrap: anywhere; }
.ai-content { min-height: 100vh; }               /* reserves room: no layout shift when data arrive (BF-13) */
/* PRJ-163: calmer reading width and rhythm (sections 32 px apart, cards >= 20 px inside) */
.ai-head, .ai-content { max-width: 960px; }
.ai-head { margin-bottom: 24px; }
.ai-intro { max-width: 68ch; }
.ai-eyebrow { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: #a5b4fc; font-weight: 600; margin: 0 0 6px; }
.ai-h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: #fff; margin: 0 0 8px; }
.ai-h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 16px; line-height: 1.35; }
.ai-h4 { font-size: 14px; font-weight: 700; color: #e2e8f0; margin: 0 0 8px; }
.ai-h5 { font-size: 13px; font-weight: 700; color: #e2e8f0; margin: 4px 0 6px; }
.ai-muted { color: #94a3b8; margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.ai-small { font-size: 13px; }
.ai-error { color: #fca5a5; margin: 0 0 8px; font-size: 14px; }
.ai-subhead { color: #cbd5e1; font-weight: 600; margin: 8px 0 4px; }
.ai-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ai-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 12px 0 16px; font-size: 13px; }
.ai-legend div { display: flex; gap: 6px; }
.ai-legend dt { color: #e2e8f0; font-weight: 600; }
.ai-legend dt::after { content: ":"; }
.ai-legend dd { margin: 0; color: #94a3b8; }
.ai-picker { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #cbd5e1; }
.ai-select { min-height: 32px; background: #1b1b27; color: #e2e8f0; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 4px 8px; max-width: 100%; }
.ai-live { min-height: 0; color: #c4b5fd; font-size: 14px; margin: 0 0 8px; }
.ai-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.ai-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin: 0 0 24px; }
.ai-toolbar .ai-setup-more { margin: 0; }
.ai-mail-hint { margin: 0; max-width: 52ch; }

.ai-section, .ai-notices, .ai-status { background: #14141d; border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04); padding: 24px; margin: 0 0 32px; min-width: 0; }
.ai-section-hero { background: linear-gradient(180deg, rgba(91,94,240,.10), rgba(147,51,234,.04)), #14141d;
  border-color: rgba(167,139,250,.28); }
.ai-divider { margin: 48px 0 16px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: #a5b4fc; font-weight: 600; }

/* first measurement (PRJ-163): the baseline round as a snapshot */
.ai-first { display: grid; gap: 16px; }
.ai-first-title { font-size: 16px; margin: 0; }
.ai-first-systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ai-first-sys { background: #0a0a12; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 20px; min-width: 0; }
.ai-first-sys .ai-h5 { font-size: 14px; margin: 0 0 8px; color: #fff; }
.ai-first-line, .ai-first-brand { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: #e2e8f0; max-width: 68ch; }
.ai-first-note { margin: 0; font-size: 13px; color: #94a3b8; max-width: 68ch; }

/* what the AI searches answer (PRJ-164) */
.ai-ov { display: grid; gap: 16px; min-width: 0; }
.ai-ov-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ai-ov-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ai-ov-controls .ai-btn[aria-pressed="true"] { border-color: #a78bfa; background: rgba(167,139,250,.16); color: #fff; }
.ai-ov-list { display: grid; gap: 16px; min-width: 0; }
.ai-ov-count { margin: 0; font-size: 14px; font-weight: 600; color: #e2e8f0; }
.ai-ov-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ai-ov-card { display: grid; gap: 12px; padding: 20px; border-radius: 12px; background: #0a0a12;
  border: 1px solid rgba(255,255,255,.06); min-width: 0; }
.ai-ov-card[data-ai-missing="true"] { border-color: rgba(251,191,36,.35); }
.ai-ov-q { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; overflow-wrap: anywhere; }
.ai-tag-missing { border-color: rgba(251,191,36,.55); color: #fde68a; }
.ai-ov-group { font-size: 12px; color: #94a3b8; }
.ai-ov-systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ai-ov-answer { background: #14141d; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 16px; min-width: 0;
  display: grid; gap: 8px; align-content: start; }
.ai-ov-syshead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.ai-ov-syshead .ai-h5 { margin: 0; }
.ai-ov-flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-ov-chip { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; border: 1px solid rgba(255,255,255,.12); color: #cbd5e1; }
.ai-ov-chip.is-yes { border-color: rgba(52,211,153,.5); color: #a7f3d0; }
.ai-ov-chip.is-no { color: #cbd5e1; }
.ai-ov-flag { margin: 0; font-size: 14px; color: #cbd5e1; }
.ai-ov-line { margin: 0; font-size: 13px; line-height: 1.55; color: #e2e8f0; overflow-wrap: anywhere; }
.ai-ov-label { color: #a5b4fc; font-weight: 600; }
.ai-ov-own { color: #fff; }
.ai-ov-excerpt { margin: 4px 0 0; padding: 8px 12px; border-left: 3px solid rgba(167,139,250,.5); background: rgba(255,255,255,.02); border-radius: 0 8px 8px 0; }
.ai-ov-excerpt p { margin: 0; font-size: 14px; line-height: 1.55; color: #e2e8f0; overflow-wrap: anywhere; }
.ai-ov-notice { margin: 0; }
.ai-ov-brandhead { margin: 8px 0 0; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: #a5b4fc; font-weight: 600; }
.ai-ov-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

/* status of the measuring round (PRJ-163) */
.ai-status { display: grid; gap: 12px; padding: 20px 24px; border-color: rgba(167,139,250,.35); }
.ai-status p { margin: 0; max-width: 68ch; }
.ai-status-title { font-size: 16px; font-weight: 700; color: #fff; }
.ai-status-text { font-size: 14px; color: #cbd5e1; }
.ai-status .ai-notice-note { font-size: 13px; color: #a1a1b5; }
.ai-progress-row { display: grid; gap: 6px; }
.ai-progress { position: relative; height: 10px; border-radius: 999px; background: #22222f; overflow: hidden; max-width: 520px; }
.ai-progress-fill { position: absolute; top: 0; left: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #5b5ef0, #9333ea); }
@media (prefers-reduced-motion: no-preference) { .ai-progress-fill { transition: width .4s ease; } }
.ai-progress-text { font-size: 14px; font-weight: 600; color: #e2e8f0; }
.ai-notices { background: #1b1b27; display: grid; gap: 12px; }
.ai-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.ai-notice p { margin: 0; flex: 1 1 260px; font-size: 14px; line-height: 1.5; color: #e2e8f0; }
.ai-notice p.ai-notice-note { flex: 0 1 auto; color: #a1a1b5; font-size: 13px; }
.ai-core { font-size: 20px; font-weight: 600; line-height: 1.45; color: #fff; margin: 0; max-width: 60ch; }

.ai-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; min-width: 32px;
  padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none;
  color: #fff; background: linear-gradient(90deg, #5b5ef0, #9333ea); border: 1px solid transparent; }
.ai-btn-quiet { background: #1b1b27; border-color: rgba(255,255,255,.16); color: #e2e8f0; }
.ai-btn[disabled] { opacity: .6; cursor: not-allowed; }
.ai-link { display: inline-flex; align-items: center; min-height: 28px; color: #c4b5fd; font-weight: 600; text-decoration: underline; }
.ai-panel button:focus, .ai-panel a:focus, .ai-panel select:focus, .ai-panel input:focus, .ai-panel [tabindex]:focus {
  outline: 2px solid #a78bfa; outline-offset: 2px; }

.ai-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 4px 10px 4px 4px;
  border-radius: 999px; background: #1b1b27; border: 1px solid rgba(255,255,255,.16); color: #e2e8f0;
  font-size: 13px; font-weight: 600; cursor: pointer; }
.ai-switch[disabled] { opacity: .6; cursor: not-allowed; }
.ai-switch-track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: #3a3a52; flex: none; }
.ai-switch-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #e2e8f0; transition: left .15s; }
.ai-switch[aria-checked="true"] .ai-switch-track { background: #7c3aed; }
.ai-switch[aria-checked="true"] .ai-switch-track::after { left: 18px; }

.ai-badge { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px;
  border: 1px solid rgba(255,255,255,.16); color: #e2e8f0; background: #22222f; white-space: nowrap; }
.ai-conf-blockiert { border-color: #f87171; color: #fecaca; }
.ai-conf-wahrscheinlich { border-color: #fb923c; color: #fed7aa; }
.ai-conf-moeglich { border-color: #fbbf24; color: #fde68a; }
.ai-badge-ai { border-color: #a78bfa; color: #ddd6fe; margin: 4px 0; }

.ai-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ai-step { display: grid; gap: 12px; padding: 20px; border-radius: 12px; background: #0a0a12;
  border: 1px solid rgba(255,255,255,.06); min-width: 0; }
.ai-step-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ai-step-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none;
  border-radius: 50%; background: #22222f; color: #c4b5fd; font-size: 12px; font-weight: 700; }
.ai-tag { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4; border-radius: 999px; padding: 2px 10px;
  border: 1px solid rgba(255,255,255,.12); color: #cbd5e1; background: rgba(255,255,255,.03); white-space: nowrap; }
.ai-step-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: #fff; }
.ai-step-facts { margin: 0; display: grid; gap: 10px; max-width: 68ch; }
.ai-step-facts dt { font-size: 13px; font-weight: 600; color: #a5b4fc; margin: 0 0 2px; }
.ai-step-facts dd { margin: 0; font-size: 14px; line-height: 1.55; color: #e2e8f0; }
.ai-step-meta { margin: 0; font-size: 13px; color: #94a3b8; }
.ai-step-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ai-empty { margin: 0; padding: 20px; border-radius: 12px; background: #0a0a12; border: 1px solid rgba(255,255,255,.06);
  color: #cbd5e1; font-size: 14px; line-height: 1.55; max-width: 68ch; }

.ai-systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.ai-card { background: #0a0a12; border-radius: 10px; padding: 14px; min-width: 0; }
.ai-rate { margin: 0 0 8px; font-size: 15px; color: #e2e8f0; }
.ai-rate strong { color: #fff; font-size: 18px; }
.ai-rate-label { color: #cbd5e1; }
.ai-rate-none { margin: 0 0 8px; color: #cbd5e1; }
.ai-range { position: relative; height: 10px; border-radius: 999px; background: #22222f; margin: 6px 0 10px; }
.ai-range-band { position: absolute; top: 0; bottom: 0; border-radius: 999px; opacity: .55; }
.ai-range-dot { position: absolute; top: -3px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; background: #fff; }
.ai-comp { list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; color: #e2e8f0; display: grid; gap: 2px; }

.ai-chart { display: block; width: 100%; height: auto; margin: 0 0 8px; }
.ai-table-wrap { overflow-x: auto; max-width: 100%; margin-top: 10px; }
.ai-table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 13px; }
.ai-table th, .ai-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.08); color: #e2e8f0; vertical-align: top; }
.ai-table thead th { color: #cbd5e1; font-weight: 600; }

.ai-group + .ai-group { margin-top: 14px; }
.ai-prompts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ai-prompt { padding: 8px 10px; border-radius: 10px; background: #0a0a12; min-width: 0; }
.ai-prompt-btn { display: block; width: 100%; min-height: 32px; text-align: left; background: none; border: 0; padding: 4px 0;
  color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; overflow-wrap: anywhere; }
.ai-prompt-btn::before { content: "▸ "; color: #a78bfa; }
.ai-prompt-btn[aria-expanded="true"]::before { content: "▾ "; }
.ai-prompt .ai-muted { margin: 2px 0 0; }
.ai-answers { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; }
.ai-answers[hidden] { display: none; }
.ai-answers > .ai-btn { margin: 4px 0 10px; }
.ai-answer { background: #14141d; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; }
.ai-answer p { margin: 0 0 4px; }
.ai-answer-meta { color: #cbd5e1; font-weight: 600; }
.ai-answer-text { white-space: pre-wrap; font-size: 14px; line-height: 1.5; color: #e2e8f0; }
.ai-sources { margin: 0 0 6px; padding-left: 18px; font-size: 13px; color: #cbd5e1; }
.ai-src { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.ai-src-dom { color: #fff; font-weight: 600; }

/* Setup wizard (PRJ-072, ai-setup.js) */
.ai-setup { display: grid; gap: 14px; min-width: 0; }
.ai-setup-more { margin: 0 0 12px; }
.ai-setup-step { background: #14141d; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 18px; min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.ai-setup-step .ai-h3:focus { outline: 2px solid #a78bfa; outline-offset: 4px; border-radius: 4px; }
.ai-setup-note { background: #1b1b27; border: 1px solid rgba(167,139,250,.35); border-radius: 12px; padding: 14px 16px;
  margin: 0 0 12px; color: #e2e8f0; font-size: 14px; line-height: 1.5; display: grid; gap: 10px; justify-items: start; }
.ai-setup-note p { margin: 0; }
.ai-stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-stepper li { flex: 1 1 140px; min-width: 0; }
.ai-stepper-btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 6px 10px; border-radius: 10px;
  background: #14141d; border: 1px solid rgba(255,255,255,.08); color: #94a3b8; font-size: 13px; font-weight: 600; text-align: left; }
button.ai-stepper-btn { cursor: pointer; color: #e2e8f0; }
.ai-stepper li.is-current .ai-stepper-btn { border-color: #a78bfa; color: #fff; background: #1b1b27; }
.ai-stepper-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
  border-radius: 50%; background: #22222f; color: #cbd5e1; font-size: 12px; }
.ai-stepper li.is-current .ai-stepper-num { background: linear-gradient(90deg, #5b5ef0, #9333ea); color: #fff; }
.ai-stepper li.is-done .ai-stepper-num { background: #2e1065; color: #ddd6fe; }
.ai-stepper-name { min-width: 0; overflow-wrap: anywhere; }
.ai-quota { background: #0a0a12; border-radius: 10px; padding: 10px 14px; font-size: 13px; color: #cbd5e1; }
.ai-quota-title { margin: 0 0 4px; font-weight: 700; color: #e2e8f0; }
.ai-quota-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.ai-field { display: grid; gap: 6px; margin: 0 0 16px; min-width: 0; }
.ai-field > label, .ai-legend-q { font-size: 14px; font-weight: 600; color: #e2e8f0; margin: 0; line-height: 1.45; }
.ai-help { margin: 0; color: #94a3b8; font-size: 13px; line-height: 1.5; }
.ai-input { width: 100%; min-width: 0; min-height: 40px; background: #0a0a12; color: #fff; border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px; padding: 8px 10px; font-size: 14px; }
.ai-input[aria-invalid="true"], .ai-radiogroup[aria-invalid="true"] { border-color: #f87171; }
.ai-radiogroup[aria-invalid="true"] { border: 1px solid #f87171; border-radius: 10px; padding: 10px; }
.ai-input[disabled] { opacity: .75; }
.ai-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; min-width: 0; }
.ai-inline > .ai-input { flex: 1 1 200px; width: auto; }
.ai-inline > .ai-btn { flex: none; min-height: 40px; }
.ai-inline-wrap { align-items: end; }
.ai-inline-wrap > .ai-field { flex: 1 1 200px; margin: 0; }
.ai-inline-btn { margin-bottom: 0; }
.ai-check-row { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.ai-check-row input { flex: none; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.ai-check-row label { font-size: 14px; color: #e2e8f0; line-height: 1.5; padding-top: 1px; cursor: pointer; min-width: 0; overflow-wrap: anywhere; }
.ai-radios { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ai-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 2px 2px 2px 12px; border-radius: 999px;
  background: #22222f; border: 1px solid rgba(255,255,255,.12); color: #e2e8f0; font-size: 13px; }
.ai-chip span { min-width: 0; overflow-wrap: anywhere; }
.ai-chip-x { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: #cbd5e1;
  font-size: 18px; line-height: 1; cursor: pointer; }
.ai-chip-x:hover { background: #3a3a52; color: #fff; }
.ai-sugg { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ai-sugg .ai-btn { text-align: left; }
.ai-qlist { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.ai-q { background: #0a0a12; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; min-width: 0; display: grid; gap: 6px; }
.ai-q.has-review { border-color: rgba(251,191,36,.55); }
.ai-q-text { margin: 0; font-size: 14px; font-weight: 600; color: #e2e8f0; line-height: 1.5; overflow-wrap: anywhere; }
.ai-q-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ai-q-meta .ai-badge-ai { margin: 0; }
.ai-badge-check { border-color: #fbbf24; color: #fde68a; }
.ai-btn-small { min-height: 28px; padding: 4px 10px; font-size: 12px; }
.ai-review { margin: 0; color: #fde68a; font-size: 13px; line-height: 1.5; }
/* PRJ-159: suggestions in a collapsed area, loaded on the first opening */
.ai-sugg-area { display: grid; gap: 8px; justify-items: start; margin: 4px 0 16px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08); min-width: 0; }
.ai-sugg-toggle::after { content: ""; width: 7px; height: 7px; margin: -3px 2px 0 10px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.ai-sugg-toggle[aria-expanded="true"]::after { margin-top: 4px; transform: rotate(-135deg); }
.ai-sugg-panel { width: 100%; min-width: 0; }
.ai-sugg-panel .ai-qlist { margin: 0; }
.ai-rejected { margin: 0; padding-left: 18px; font-size: 13px; color: #cbd5e1; display: grid; gap: 2px; }
.ai-setup-error { display: none; }
.ai-setup-error.is-on { display: grid; gap: 6px; justify-items: start; margin: 0 0 12px; padding: 10px 14px; border-radius: 10px;
  background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.5); color: #fecaca; font-size: 14px; }
.ai-setup-error p { margin: 0; }
.ai-setup-error .ai-link { color: #fecaca; }
.ai-setup-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.ai-setup-nav .ai-btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.ai-setup-nav .ai-setup-primary { margin-left: auto; }
.ai-btn[aria-disabled="true"] { opacity: .6; cursor: progress; }
.ai-sum { margin: 0 0 12px; display: grid; gap: 8px; }
.ai-sum div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 4px 16px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06); }
.ai-sum dt { color: #94a3b8; font-size: 13px; font-weight: 600; }
.ai-sum dd { margin: 0; color: #fff; font-size: 14px; overflow-wrap: anywhere; }

@media (max-width: 480px) {
  .ai-section, .ai-notices, .ai-status { padding: 20px; border-radius: 12px; margin-bottom: 24px; }
  .ai-core { font-size: 17px; }
  .ai-step { padding: 16px; }
  .ai-first-sys { padding: 16px; }
  .ai-ov-card { padding: 16px; }
  .ai-ov-systems { grid-template-columns: 1fr; }
  .ai-first-systems { grid-template-columns: 1fr; }
  .ai-divider { margin-top: 32px; }
  .ai-systems { grid-template-columns: 1fr; }
  .ai-setup-step { padding: 14px; border-radius: 12px; }
  .ai-sum div { grid-template-columns: 1fr; }
  .ai-setup-nav .ai-setup-primary { margin-left: 0; flex: 1 1 100%; }
}
