/* ==========================================================================
   AG KIT — INTERAKTIVES 3D DOSSIER-DECK (CSS/AGENTS-DOSSIER.CSS)
   Design: Cyber-Tactical Dark Obsidian Mirror mit subtilem Neon-Lime Halo
   100% Viewport-Fitting: Scroll-Free Desktop Architecture (Identisch zur Startseite)
   ========================================================================== */

:root {
  --bg: #070809;
  --card-bg: rgba(12, 14, 18, 0.72);
  --card-hover: rgba(18, 22, 28, 0.88);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(200, 255, 46, 0.35);
  --lime: #c8ff2e;
  --lime-glow: rgba(200, 255, 46, 0.45);
  --lime-dim: rgba(200, 255, 46, 0.12);
  --lime-border: rgba(200, 255, 46, 0.28);
  --text: #f0f3f6;
  --text-muted: #8a94a2;
  --text-dim: #5a6472;
  --red: #ff4757;
  --red-dim: rgba(255, 71, 87, 0.14);
  --green: #2ed573;
  --green-dim: rgba(46, 213, 115, 0.14);
  --glass-blur: blur(16px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.agents-dossier-body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(ellipse at 50% 38%, rgba(200, 255, 46, 0.065) 0%, rgba(200, 255, 46, 0.015) 45%, rgba(7, 8, 9, 0.96) 80%),
    radial-gradient(circle at 10% 18%, rgba(200, 255, 46, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 82%, rgba(200, 255, 46, 0.02) 0%, transparent 52%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   DESKTOP 100VH SCROLL-FREE LOCK (EXAKT WIE STARTSEITE)
   ========================================================================== */
.mobile-apple-dossier-bar {
  display: none !important;
}

@media (min-width: 1024px) {
  html, body.agents-dossier-body {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
  }
}

/* TOPNAV (Dezent, transparent & identisch mit Startseite) */
.topnav.dossier-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  z-index: 50;
  transition: background 0.3s ease;
}

.topnav.dossier-topnav .logo a {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.topnav.dossier-topnav .logo i {
  color: var(--lime);
  font-style: normal;
}

.topnav.dossier-topnav .links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.topnav.dossier-topnav .links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.75;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.topnav.dossier-topnav .links a:hover {
  opacity: 1;
}
.topnav.dossier-topnav .links a.on {
  opacity: 1;
  border-color: var(--lime);
}

/* Support-Link in der Kopfleiste: Grüne Umrandung entfernen, dezent wie Start & FAQ */
.topnav.dossier-topnav .links a[href="/support.html"],
.topnav.dossier-topnav .links a[href="/support"] {
  color: #fff !important;
  opacity: 0.75 !important;
  padding: 6px 2px !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.topnav.dossier-topnav .links a[href="/support.html"]:hover,
.topnav.dossier-topnav .links a[href="/support"]:hover {
  opacity: 1 !important;
  color: #fff !important;
  border-bottom-color: var(--lime) !important;
}

.topnav.dossier-topnav .topnav-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-reset-fleet {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-reset-fleet:hover {
  color: var(--red);
  border-color: rgba(255, 71, 87, 0.4);
  background: var(--red-dim);
}

/* ==========================================================================
   STAGE CONTAINER & 3-COLUMN ADAPTIVE GRID
   ========================================================================== */
.dossier-stage {
  position: absolute;
  top: 56px;
  bottom: 74px;
  left: 0;
  right: 0;
  padding: 8px 24px 16px 24px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.dossier-grid {
  width: 100%;
  max-width: 1720px;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(380px, 440px) minmax(240px, 1fr) minmax(380px, 450px);
  grid-template-rows: 100%;
  gap: 20px;
  align-items: center;
  position: relative;
}

/* SIDEBAR COLUMNS (Adaptive Micro-Scroll, Unclipped Organic Shadow Breathing Room) */
.col-left,
.col-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 22px 28px 22px;
  position: relative;
  z-index: 10;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 255, 46, 0.28) transparent;
}

.col-left::-webkit-scrollbar,
.col-right::-webkit-scrollbar {
  width: 4px;
}
.col-left::-webkit-scrollbar-track,
.col-right::-webkit-scrollbar-track {
  background: transparent;
}
.col-left::-webkit-scrollbar-thumb,
.col-right::-webkit-scrollbar-thumb {
  background: rgba(200, 255, 46, 0.25);
  border-radius: 4px;
}
.col-left::-webkit-scrollbar-thumb:hover,
.col-right::-webkit-scrollbar-thumb:hover {
  background: var(--lime);
}

/* HUD CARDS (Luxury Obsidian Dark Glass — Ultra-Dezent & Hochwertig) */
.hud-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(14, 18, 16, 0.76) 35%,
    rgba(8, 11, 10, 0.88) 100%
  );
  backdrop-filter: blur(28px) saturate(135%);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 13px 18px;
  position: relative;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease;
  box-shadow: 
    0 12px 28px -4px rgba(0, 0, 0, 0.65), 
    0 2px 6px -1px rgba(0, 0, 0, 0.4),
    0 0 1px 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.12), 
    inset 0 0 20px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
}
.hud-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 46, 0.5) 30%, rgba(200, 255, 46, 0.3) 70%, transparent);
  pointer-events: none;
}
.hud-card:hover {
  border-color: rgba(200, 255, 46, 0.35);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(16, 22, 19, 0.82) 35%,
    rgba(10, 14, 12, 0.92) 100%
  );
  box-shadow: 
    0 16px 32px -4px rgba(0, 0, 0, 0.72), 
    0 0 18px -2px rgba(200, 255, 46, 0.1), 
    inset 0 1px 0 rgba(200, 255, 46, 0.25),
    inset 0 0 24px rgba(0, 0, 0, 0.3);
}

.card-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  text-transform: uppercase;
  margin-bottom: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.card-label .sub-info {
  color: #c4d8b6;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
}

/* LEFT COLUMN TYPOGRAPHY & ELEMENTS */
.id-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.id-tag {
  background: linear-gradient(135deg, rgba(200, 255, 46, 0.18) 0%, rgba(200, 255, 46, 0.06) 100%);
  border: 1px solid rgba(200, 255, 46, 0.45);
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(200, 255, 46, 0.2);
}
.tier-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 255, 46, 0.18);
  color: #e2f1d2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 6px;
}
.btn-quickstart-help {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(200, 255, 46, 0.08);
  border: 1px solid rgba(200, 255, 46, 0.35);
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.btn-quickstart-help:hover {
  background: var(--lime);
  color: #070809;
  border-color: var(--lime);
  box-shadow: 0 0 16px rgba(200, 255, 46, 0.6);
  transform: scale(1.12);
}

.agent-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.6px;
  line-height: 1.08;
  margin-bottom: 3px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.agent-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.alias-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.alias-chip {
  background: rgba(200, 255, 46, 0.05);
  border: 1px solid rgba(200, 255, 46, 0.18);
  color: #e2f1d2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.alias-chip:hover {
  color: #fff;
  border-color: rgba(200, 255, 46, 0.45);
  background: rgba(200, 255, 46, 0.12);
  box-shadow: 0 0 12px rgba(200, 255, 46, 0.15);
}

.quote-box {
  background: linear-gradient(90deg, rgba(200, 255, 46, 0.08) 0%, rgba(14, 18, 16, 0.6) 100%);
  border-left: 2px solid var(--lime);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  line-height: 1.5;
  color: #f1f5f9;
  font-style: italic;
  margin: 4px 0 2px 0;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.trait-item {
  margin-bottom: 9px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trait-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.trait-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.trait-key::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 1px;
  box-shadow: 0 0 6px var(--lime);
}
.trait-val {
  font-size: 12.5px;
  line-height: 1.48;
  color: #e2e8f0;
  font-weight: 400;
}

/* Linke Vorschau-Container: Strikter Read-Only Preview-Modus (Keine Freitext-Editierung) */
.identity-card,
.traits-card {
  user-select: text;
  cursor: default;
}
.identity-card *,
.traits-card * {
  -webkit-user-modify: read-only;
  user-modify: read-only;
}
.identity-card .agent-name,
.identity-card .agent-role,
.identity-card .quote-box,
.traits-card .trait-val {
  cursor: default !important;
  outline: none !important;
}

/* ==========================================================================
   CENTER COLUMN: STAGE, CUTOUT & MOUSE-TRACKING 3D PARALLAX
   ========================================================================== */
.col-center {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  pointer-events: none;
}

/* CENTER SWITCHER CONTROLS (Pfeile links/rechts flankierend, kompakter Titel zentriert über dem Kopf) */
.center-switcher {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 25;
}

.center-switcher #prevAgentBtn,
.center-switcher #nextAgentBtn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 18, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 35;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.center-switcher #prevAgentBtn {
  left: 8px;
}

.center-switcher #nextAgentBtn {
  right: 8px;
}

.center-switcher #prevAgentBtn:hover,
.center-switcher #nextAgentBtn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: #070809;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px rgba(200, 255, 46, 0.65);
}

.center-switcher #prevAgentBtn:active,
.center-switcher #nextAgentBtn:active {
  transform: translateY(-50%) scale(0.95);
}

.active-profile-pill {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, rgba(14, 18, 24, 0.94) 0%, rgba(8, 11, 16, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 255, 46, 0.32);
  padding: 3px 12px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 12px rgba(200, 255, 46, 0.12);
  z-index: 35;
}
.active-profile-pill .badge-id {
  color: var(--lime);
}

/* MONUMENTAL BACKGROUND CHROME NAME (Startseiten-Look: Weiß-Blau-Lime Metallic Gradient & Stroke) */
.monumental-chrome-name {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.85;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, .94) 28%, rgba(142, 197, 255, .42) 70%, rgba(200, 255, 46, .25) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28);
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .92));
  text-shadow: 0 0 50px rgba(142, 197, 255, .14);
  pointer-events: none;
  z-index: 1;
  text-align: center;
  user-select: none;
  white-space: nowrap;
  will-change: transform;
  opacity: 0.88;
  transition: opacity 0.3s ease, font-size 0.25s ease;
}

/* 3D FREIGESTELLTER CHARAKTER (Maus-Verfolgung ohne Schwebung) */
.cutout-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 96%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 0;
}

.cutout-image {
  height: 100%;
  max-height: calc(100vh - 128px);
  width: auto;
  max-width: 95%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.85));
  transition: opacity 0.25s ease;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  will-change: transform;
}

/* 4 TACTICAL SATELLITE BADGES */
.satellite-badge {
  position: absolute;
  z-index: 15;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 6px 10px;
  width: auto;
  max-width: 165px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
  will-change: transform;
}
.satellite-badge:hover {
  border-color: var(--lime);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(200, 255, 46, 0.15);
}

.sat-top-left { top: 52px; left: 8px; }
.sat-top-right { top: 52px; right: 8px; }
.sat-bottom-left { bottom: 12px; left: 8px; }
.sat-bottom-right { bottom: 12px; right: 8px; }

.sat-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.sat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 2px;
}
.sat-desc {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.25;
}

/* ==========================================================================
   RIGHT COLUMN ELEMENTS (SKILLS, WORKFLOWS, TERMINAL)
   ========================================================================== */
.skill-chips-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: -8px;
  margin-bottom: 8px;
  max-height: 185px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 6px 6px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 255, 46, 0.35) transparent;
}
.skill-chips-wrap::-webkit-scrollbar {
  width: 4px;
}
.skill-chips-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.skill-chips-wrap::-webkit-scrollbar-thumb {
  background: rgba(200, 255, 46, 0.3);
  border-radius: 4px;
}
.skill-chips-wrap::-webkit-scrollbar-thumb:hover {
  background: var(--lime);
}

.skill-pill {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0%, rgba(16, 20, 18, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.skill-pill:hover {
  border-color: rgba(200, 255, 46, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(20, 26, 22, 0.82) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 14px rgba(200, 255, 46, 0.12);
}
.skill-pill.highlight {
  background: linear-gradient(145deg, rgba(200, 255, 46, 0.14) 0%, rgba(14, 24, 18, 0.75) 100%);
  border-color: rgba(200, 255, 46, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 16px rgba(200, 255, 46, 0.25), inset 0 1px 0 rgba(200, 255, 46, 0.3);
}
.skill-pill.highlight:hover {
  border-color: var(--lime);
  background: linear-gradient(145deg, rgba(200, 255, 46, 0.2) 0%, rgba(18, 30, 22, 0.85) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 255, 46, 0.35);
}
.skill-pill .s-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.skill-pill .s-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skill-pill.highlight .s-name {
  color: var(--lime);
  text-shadow: 0 0 10px rgba(200, 255, 46, 0.35);
}
.skill-pill .s-desc {
  font-size: 10px;
  color: #a3b899;
  line-height: 1.32;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.skill-remove-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  padding: 3px 5px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.18s ease;
  opacity: 0.7;
}
.skill-pill:hover .skill-remove-btn {
  opacity: 1;
}
.skill-remove-btn:hover {
  color: #fff;
  background: rgba(255, 71, 87, 0.5);
}

.btn-add-skill,
.btn-add-workflow {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(14, 18, 16, 0.5) 100%);
  border: 1px dashed rgba(200, 255, 46, 0.35);
  color: var(--lime);
  border-radius: 9px;
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-add-skill:hover,
.btn-add-workflow:hover {
  background: rgba(200, 255, 46, 0.12);
  border-color: var(--lime);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 16px rgba(200, 255, 46, 0.2);
  transform: translateY(-1px);
}

.workflows-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: -8px;
  margin-bottom: 8px;
  max-height: 148px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 6px 6px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 255, 46, 0.35) transparent;
}
.workflows-grid::-webkit-scrollbar {
  width: 4px;
}
.workflows-grid::-webkit-scrollbar-track {
  background: transparent;
}
.workflows-grid::-webkit-scrollbar-thumb {
  background: rgba(200, 255, 46, 0.3);
  border-radius: 4px;
}
.workflows-grid::-webkit-scrollbar-thumb:hover {
  background: var(--lime);
}

.wf-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0%, rgba(16, 20, 18, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 8px 24px 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  cursor: pointer;
}
.wf-item:hover {
  border-color: rgba(200, 255, 46, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(20, 26, 22, 0.82) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 14px rgba(200, 255, 46, 0.12);
}
.wf-item.highlight {
  background: linear-gradient(145deg, rgba(200, 255, 46, 0.14) 0%, rgba(14, 24, 18, 0.75) 100%);
  border-color: rgba(200, 255, 46, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 16px rgba(200, 255, 46, 0.25), inset 0 1px 0 rgba(200, 255, 46, 0.3);
}
.wf-item.highlight:hover {
  border-color: var(--lime);
  background: linear-gradient(145deg, rgba(200, 255, 46, 0.2) 0%, rgba(18, 30, 22, 0.85) 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 255, 46, 0.35);
}
.wf-cmd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--lime);
  text-shadow: 0 0 10px rgba(200, 255, 46, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.wf-meaning {
  font-size: 10px;
  font-weight: 500;
  color: #d2e4c4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.wf-remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.18s ease;
  opacity: 0;
  z-index: 2;
}
.wf-item:hover .wf-remove-btn {
  opacity: 0.85;
}
.wf-remove-btn:hover {
  color: #fff;
  opacity: 1;
  background: rgba(255, 71, 87, 0.6);
}

.terminal-card {
  background: rgba(8, 10, 12, 0.92);
}
.terminal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.w-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.w-red { background: #ff5f56; }
.w-yellow { background: #ffbd2e; }
.w-green { background: #27c93f; }

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.terminal-code-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 8px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #fff;
  line-height: 1.35;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.terminal-code-box:hover {
  border-color: var(--lime);
}
.btn-copy-code {
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  color: var(--lime);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
}

.terminal-hint {
  font-size: 10px;
  line-height: 1.35;
  color: var(--text-dim);
}
.terminal-hint strong {
  color: var(--text-muted);
}

/* ==========================================================================
   SCHNELLSTART FRAGEZEICHEN-BUTTON & FLIEGENDES POPUP / FLYOUT
   ========================================================================== */
.btn-quickstart-help {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200, 255, 46, 0.12);
  border: 1px solid rgba(200, 255, 46, 0.35);
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  padding: 0;
  line-height: 1;
  margin-left: auto;
}
.btn-quickstart-help:hover {
  background: var(--lime);
  color: #07090c;
  box-shadow: 0 0 10px rgba(200, 255, 46, 0.4);
  transform: scale(1.12);
}

/* Floating ? button on the side: Versteckt, da der offizielle ?-Button direkt im Mitarbeiter-Ausweis (#quickstartHelpBtn) sitzt */
.quickstart-float-btn {
  display: none !important;
}

/* Schnellstart Flyout Window */
.quickstart-flyout {
  position: fixed;
  left: 16px;
  bottom: 126px;
  width: min(380px, calc(100vw - 32px));
  background: rgba(12, 15, 20, 0.96);
  border: 1px solid rgba(200, 255, 46, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(200, 255, 46, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 65;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.quickstart-flyout.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.btn-close-flyout {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  cursor: pointer;
  padding: 0 4px;
  margin-left: auto;
  line-height: 1;
  transition: color 0.15s ease;
}
.btn-close-flyout:hover {
  color: #fff;
}

/* ==========================================================================
   BOTTOM DOCK (34 AVATARE)
   ========================================================================== */
.dossier-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 8, 10, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 45;
  padding: 0 16px;
}

.dock-scroll-track {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 16px;
}
.dock-scroll-track::-webkit-scrollbar {
  display: none;
}

.dock-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #121518;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
}
.dock-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dock-avatar-btn:hover {
  transform: scale(1.12);
  border-color: rgba(255, 255, 255, 0.45);
}
.dock-avatar-btn.is-active {
  border-color: var(--lime);
  box-shadow: 0 0 14px rgba(200, 255, 46, 0.75);
  transform: scale(1.15);
}

/* ==========================================================================
   MODAL: SKILL PICKER (105 SKILLS)
   ========================================================================== */
.dossier-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.dossier-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dossier-modal {
  background: #0e1115;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  width: 90%;
  max-width: 680px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(200, 255, 46, 0.1);
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  color: #fff;
}
.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

.modal-search-box {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.modal-search-box input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 8px 12px;
  color: #fff;
  font-size: 12.5px;
  outline: none;
}
.modal-search-box input:focus {
  border-color: var(--lime);
}

.modal-skill-list {
  padding: 14px 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.modal-skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal-skill-card:hover {
  background: rgba(200, 255, 46, 0.08);
  border-color: rgba(200, 255, 46, 0.5);
  transform: translateY(-1px);
}
.modal-skill-card .m-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.modal-skill-card .m-sname {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
}
.modal-skill-card .m-sdesc {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.35;
}

/* BEREITS IM KADER AKTIV: Edler Cyber-Lime Glow */
.modal-skill-card.is-active {
  background: linear-gradient(135deg, rgba(200, 255, 46, 0.16) 0%, rgba(14, 28, 18, 0.72) 100%);
  border: 1px solid rgba(200, 255, 46, 0.85);
  box-shadow: 
    0 0 16px rgba(200, 255, 46, 0.35), 
    0 0 4px rgba(200, 255, 46, 0.5),
    inset 0 0 14px rgba(200, 255, 46, 0.12);
}
.modal-skill-card.is-active:hover {
  background: linear-gradient(135deg, rgba(200, 255, 46, 0.22) 0%, rgba(20, 36, 24, 0.82) 100%);
  border-color: var(--lime);
  box-shadow: 
    0 0 22px rgba(200, 255, 46, 0.48), 
    0 0 6px rgba(200, 255, 46, 0.65),
    inset 0 0 18px rgba(200, 255, 46, 0.16);
}
.modal-skill-card .m-active-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #060907;
  background: var(--lime);
  padding: 1.5px 6px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(200, 255, 46, 0.6);
  flex-shrink: 0;
  text-transform: uppercase;
}

/* EXPORT MODAL */
.export-modal-body {
  padding: 20px;
  text-align: center;
}
.export-icon-box {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  background: var(--lime-dim);
  border: 1px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}
.export-modal-body h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #fff;
}
.export-modal-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 18px;
}
.export-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & 390px IPHONE)
   ========================================================================== */
/* Mobile Apple Sheet Header: Hidden by default on Desktop */
.mobile-apple-sheet-header {
  display: none !important;
}

.sheet-switch-btn,
.btn-sheet-back,
.btn-sheet-export {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  outline: none;
}

@media (max-width: 1023px) {
  html, body.agents-dossier-body {
    height: auto;
    overflow-y: auto;
  }

  .mobile-apple-sheet-header {
    display: none !important;
  }

  .dossier-stage {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0 12px calc(140px + env(safe-area-inset-bottom, 24px)) 12px;
    background: transparent !important;
  }

  .dossier-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    height: auto !important;
    width: 100% !important;
  }

  .col-center {
    display: none !important;
  }

  .col-left,
  .col-right {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    width: 100% !important;
    pointer-events: auto !important;
  }

  .identity-card,
  .traits-card,
  .skills-card,
  .workflows-card {
    display: block !important;
    pointer-events: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .skill-chips-wrap {
    grid-template-columns: 1fr !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding: 4px 0 !important;
    margin-top: 0 !important;
    gap: 8px !important;
    pointer-events: auto !important;
  }
  .skill-pill {
    min-height: 48px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    pointer-events: auto !important;
  }
  .btn-add-skill {
    min-height: 44px !important;
    padding: 12px 14px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
    margin-top: 6px !important;
    width: 100% !important;
    pointer-events: auto !important;
  }
  .workflows-card {
    min-height: 290px !important;
    padding-bottom: 18px !important;
  }
  .workflows-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 0 !important;
    pointer-events: auto !important;
  }
  .wf-item {
    min-height: 54px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    pointer-events: auto !important;
  }

  .modal-skill-list {
    grid-template-columns: 1fr;
  }

  /* FLOATING CHAT COMMAND DOCK (Agents Dossier Mobile - 100% identisch mit Startseite) */
  body.agents-dossier-body .hero-command-dock {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    top: auto !important;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px) + var(--keyboard-offset, 0px)) !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: 100% !important;
    transform: none !important;
    z-index: 70 !important;
    gap: 6px !important;
    margin: 0 !important;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 12px rgba(200, 255, 46, 0.12)) !important;
  }

  body.agents-dossier-body .dossier-dock {
    display: flex !important;
    position: fixed !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 0 !important;
    z-index: 75 !important;
  }

  body.agents-dossier-body .dock-scroll-track {
    padding: 4px 14px !important;
    gap: 8px !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  body.agents-dossier-body .dock-avatar-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }
}

/* ==========================================================================
   INTEGRATED CHAT COMMAND DOCK (Agents Dossier Page Desktop)
   ========================================================================== */
body.agents-dossier-body .hero-command-dock {
  position: fixed;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(520px, calc(100vw - 32px));
}

/* ==========================================================================
   CARD ACTION BUTTONS & RESET (SKILLS & WORKFLOWS)
   ========================================================================== */
.card-btn-action-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 6px !important;
}

.card-btn-action-row .btn-add-skill {
  flex: 1 !important;
  margin-top: 0 !important;
}

.btn-reset-card-default {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 12px !important;
  min-height: 38px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  -webkit-tap-highlight-color: transparent !important;
}

.btn-reset-card-default:hover,
.btn-reset-card-default:focus-visible {
  background: rgba(200, 255, 46, 0.12) !important;
  border-color: rgba(200, 255, 46, 0.5) !important;
  color: var(--lime) !important;
}

/* ==========================================================================
   FLEET ZIP EXPORT BUTTONS (100% BLICKDICHT - KEIN DURCHSCHEINEN)
   ========================================================================== */
.dossier-export-action-wrap {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.btn-dossier-save-fleet {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

/* Option 1: Solid Opaque Lime (100% blickdicht, absolut kein Durchscheinen) */
.btn-save-fleet-standard {
  background: var(--lime) !important;
  color: #070809 !important;
  border: 1px solid var(--lime) !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 20px rgba(200, 255, 46, 0.4), 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.btn-save-fleet-standard svg {
  color: #070809 !important;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-save-fleet-standard:hover,
.btn-save-fleet-standard:focus-visible {
  background: #d4ff4e !important;
  box-shadow: 0 0 28px rgba(200, 255, 46, 0.65), 0 6px 20px rgba(0, 0, 0, 0.95) !important;
  transform: translateY(-1px);
}

.btn-save-fleet-standard:active {
  transform: translateY(1px);
}

/* Option 2: Solid Opaque Obsidian mit Lime-Akzent (100% blickdicht) */
.btn-save-fleet-custom {
  background: #0d1116 !important; /* Blickdicht gegen Hintergrund-Text */
  color: var(--lime) !important;
  border: 1.5px solid rgba(200, 255, 46, 0.6) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7) !important;
}

.btn-save-fleet-custom svg {
  color: var(--lime) !important;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-save-fleet-custom:hover,
.btn-save-fleet-custom:focus-visible {
  background: rgba(200, 255, 46, 0.12) !important;
  border-color: var(--lime) !important;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(200, 255, 46, 0.4) !important;
  transform: translateY(-1px);
}

.btn-save-fleet-custom:active {
  transform: translateY(1px);
}

.btn-dossier-save-fleet:hover svg {
  transform: translateY(1px);
}

.dossier-export-hint {
  font-size: 11px;
  font-family: 'Inter', -apple-system, sans-serif;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

/* ==========================================================================
   OPTION A: SILBER-CHROM CONTENT GATE (TEASER-SCHUTZ FÜR FREE-NUTZER)
   ========================================================================== */
.hud-card.skills-card,
.hud-card.workflows-card,
.workflows-card,
.skills-card {
  position: relative !important;
}

.skill-pill.is-gated-item,
.wf-item.is-gated-item {
  opacity: 0.28;
  filter: blur(2px);
  user-select: none;
  pointer-events: none;
  transition: all 0.3s ease;
}

.card-silver-gate {
  position: absolute;
  top: 96px; /* Erste 2 Teaser-Elemente bleiben 100% frei lesbar */
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(13, 17, 22, 0) 0%, 
    rgba(25, 32, 44, 0.76) 18%, 
    rgba(14, 18, 25, 0.96) 42%, 
    #07090c 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(220, 230, 245, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  z-index: 25;
  pointer-events: auto;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.card-silver-gate::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
  box-shadow: 0 0 14px rgba(220, 230, 250, 0.55);
  pointer-events: none;
}

.silver-gate-box {
  background: linear-gradient(135deg, rgba(32, 38, 52, 0.94) 0%, rgba(13, 17, 24, 0.98) 100%);
  border: 1px solid rgba(220, 230, 245, 0.32);
  border-radius: 12px;
  padding: 11px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.8), 0 0 20px rgba(180, 205, 240, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  width: 100%;
  max-width: 295px;
  transform: translateY(-4px);
}

.silver-gate-box .sg-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f1f5f9;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(140, 160, 190, 0.22) 100%);
  border: 1px solid rgba(220, 230, 250, 0.45);
  border-radius: 999px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.silver-gate-box .sg-pill svg {
  color: var(--lime);
}

.silver-gate-box .sg-hint {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.3;
}

.silver-gate-box .btn-silver-unlock {
  margin-top: 5px;
  background: linear-gradient(135deg, #c8ff2e 0%, #a6e014 100%);
  color: #070809;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(200, 255, 46, 0.38);
}

.silver-gate-box .btn-silver-unlock:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(200, 255, 46, 0.58);
}

@media (max-width: 900px) {
  .card-silver-gate {
    top: 92px;
    padding: 10px 12px;
  }
  .silver-gate-box {
    max-width: 270px;
    padding: 9px 12px;
  }
}




