/* components/drawers/vd-drawer.css — LifeOn-Vision-Tenant-Drawer (Detail + Claim).
 *
 * Layout kommt aus den Drawer-SSOTs (shared-drawer.css): drawer-title-area,
 * .drawer-section/.field-grid/.field-label/.field-value, drawer-chips (Kontext-
 * Chips), drawer-head-* (Header + ActionRail), .pill/.pill-tag. Hier NUR die
 * wenigen vd-eigenen Bausteine: Modul-Ansicht (Badges) + Modul-Edit (Checkbox-
 * Liste), individuelle Anpassungen, Wizard-Typ-Auswahl, Hinweistext. Editier-
 * Felder (Anzeigename/SKU/Ring) nutzen die Drawer-Feld-SSOTs (DrawerMounts →
 * .app-drawer-input/.app-drawer-select), KPI-Kacheln den KpiTiles-SSOT — hier
 * KEIN eigenes Feld-CSS mehr. Self-scoped unter `.vd-body`.
 */

/* Modul-Ansicht (View): kompakte Badges, An = Akzent, Aus = muted/durchgestrichen. */
.vd-body .vd-mod-view { display: flex; flex-wrap: wrap; gap: var(--space-1-5); }
.vd-body .vd-mod-badge {
  font-size: var(--font-size-xs);
  padding: var(--space-px) var(--space-2);
  border-radius: var(--radius-sm, 4px);
  background: var(--color-accent-bg);
  color: var(--color-text-secondary);
}
.vd-body .vd-mod-badge--off {
  background: var(--color-bg-muted, #f3f2f1);
  color: var(--color-text-muted);
  opacity: 0.7;
  text-decoration: line-through;
}

/* Modul-Edit: Checkbox-Zeilen über den Katalog. */
.vd-body .vd-mod-list { display: flex; flex-direction: column; gap: var(--space-1-5); }
.vd-body .vd-mod-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1-5) var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 6px);
  cursor: pointer;
}
.vd-body .vd-mod-row:hover { background: var(--color-bg-subtle, rgba(0, 0, 0, 0.03)); }
.vd-body .vd-mod-name { font-size: var(--font-size-sm); color: var(--color-text); }
.vd-body .vd-mod-id { font-size: var(--font-size-xs); margin-left: auto; }

.vd-body .vd-hint { font-size: var(--font-size-xs); margin-top: var(--space-2); }

/* Abstand Titel-/Chip-Bereich → erste Sektion. Die Shared-Regel greift nur bei
   .drawer-body > .drawer-title-area; hier liegt die title-area unter .vd-body
   (Grandchild), daher eigener Abstand — sonst klebt der Firma-Chip an der Sektion. */
.vd-body .drawer-title-area { margin-bottom: var(--space-5); }

/* Individuelle Anpassungen (View): Label-Zeilen über Erweiterungs-/Override-Badges. */
.vd-body .vd-anp-label { font-size: var(--font-size-xs); margin: var(--space-2) 0 var(--space-1); }
.vd-body .vd-anp-label:first-child { margin-top: 0; }
.vd-body .vd-anp-key { font-family: var(--font-mono, ui-monospace, monospace); }

/* Wizard: Typ-Auswahl als segmentierte Karten (Live/Demo/Trial). Radio visuell
   versteckt (a11y bleibt), aktive Karte trägt Akzent-Rahmen + -Hintergrund. */
.vd-body .vd-typ { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.vd-body .vd-typ-opt {
  position: relative;
  flex: 1 1 0; min-width: 130px;
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border); border-radius: var(--radius-md, 6px);
  cursor: pointer; background: var(--color-bg);
  transition: border-color var(--motion-fast, 140ms) var(--motion-ease, ease),
              background var(--motion-fast, 140ms) var(--motion-ease, ease);
}
.vd-body .vd-typ-opt:hover { border-color: var(--brand-default); }
.vd-body .vd-typ-opt.is-active { border-color: var(--brand-default); background: var(--color-accent-bg); box-shadow: inset 0 0 0 1px var(--brand-default); }
.vd-body .vd-typ-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vd-body .vd-typ-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.vd-body .vd-typ-label { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-text); }
.vd-body .vd-typ-desc { font-size: var(--font-size-xs); }
@media (prefers-reduced-motion: reduce) { .vd-body .vd-typ-opt { transition: none; } }
