.vsa-sygnal, .vsa-sygnal * { box-sizing: border-box; }
.vsa-sygnal {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: #e7f6fa;
}
.vsa-launch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.vsa-launch:hover { transform: translateY(-4px) scale(1.04); }
.vsa-status {
  color: #14e4ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(20, 228, 255, 0.85);
}
.vsa-sygnal[data-status="unavailable"] .vsa-status { color: #ff5a6a; text-shadow: 0 0 16px rgba(255, 60, 80, 0.8); }
.emblem { position: relative; display: block; width: 148px; height: 148px; }
.emblem img { width: 100%; height: 100%; display: block; object-fit: contain; animation: mark-glow 5.2s ease-in-out infinite; }
.emblem-sm { width: 42px; height: 42px; }
.emblem-lg { width: 168px; height: 168px; margin: 0 auto; animation: mark-float 7s ease-in-out infinite; }
.mark-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.8) 50%, transparent 58%);
  background-size: 240% 100%; mix-blend-mode: screen;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
  animation: mark-sheen 6.4s ease-in-out infinite;
}
.mark-orbit { position: absolute; inset: 4%; pointer-events: none; animation: orbit 12s linear infinite; }
.mark-flare {
  position: absolute; left: 86%; top: 14%; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px #e8fbff, 0 0 18px 5px #14e4ff;
}
.vsa-sygnal[data-status="working"] .mark-orbit { animation-duration: 1.7s; }
.vsa-sygnal[data-status="working"] .mark-sheen { animation-duration: .85s; }
.vsa-sygnal[data-status="working"] .emblem img { animation-duration: .7s; }
.vsa-sygnal[data-status="unavailable"] .emblem::after {
  content: ""; position: absolute; inset: 0; background: #ff3344; mix-blend-mode: color;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.vsa-sygnal[data-status="unavailable"] .mark-flare { box-shadow: 0 0 8px 2px #ffd5d8, 0 0 16px 4px #ff3355; }
.vsa-panel {
  width: min(420px, calc(100vw - 24px));
  height: min(680px, calc(100dvh - 28px));
  display: flex; flex-direction: column;
  border-radius: 28px;
  border: 1px solid rgba(20, 228, 255, .32);
  background: #071820;
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
  overflow: hidden;
}
.vsa-head, .vsa-nav, .vsa-body, .vsa-form { position: relative; z-index: 1; }
.vsa-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 8px; }
.vsa-id { display: flex; align-items: center; gap: 8px; min-width: 0; }
.vsa-id strong { display: block; letter-spacing: .04em; }
.vsa-id em { display: block; font-style: normal; color: #8fb8c4; font-size: 12px; }
.vsa-live, .vsa-x, .mode-btn, .vsa-send, .vsa-clip, .act, .primary, .ghost {
  font: inherit; color: inherit; cursor: pointer;
}
.vsa-live, .vsa-x {
  margin-left: auto; border-radius: 999px; border: 1px dashed rgba(20,228,255,.45);
  background: transparent; min-height: 36px; padding: 0 10px;
}
.vsa-x { margin-left: 6px; width: 36px; padding: 0; }
.vsa-live small { display: block; font-size: 10px; letter-spacing: .08em; color: #8fb8c4; }
.vsa-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 0 12px 8px; }
.mode-btn {
  border: 0; background: transparent; border-radius: 14px; min-height: 40px; color: #8fb8c4;
}
.mode-btn[aria-selected="true"] { background: rgba(20,228,255,.16); color: #e7f6fa; }
.vsa-body { flex: 1; min-height: 0; overflow: auto; padding: 4px 14px 8px; }
.vsa-empty { display: flex; flex-direction: column; gap: 10px; }
.vsa-empty p, .msg, .file-row small, .note-card small { color: #8fb8c4; }
.act, .primary, .ghost {
  width: 100%; text-align: left; min-height: 44px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid rgba(143, 184, 196, .35); background: transparent;
}
.act:hover, .ghost:hover { border-color: #14e4ff; }
.primary { background: #14e4ff; color: #042028; border: 0; font-weight: 700; }
.msg { margin: 0 0 10px; white-space: pre-wrap; }
.msg-user { color: #8fb8c4; }
.msg small { display: block; color: #14e4ff; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.row { display: flex; gap: 8px; align-items: center; margin: 0 0 8px; }
.row .primary, .row .ghost { width: auto; }
.vsa-form { display: flex; gap: 6px; margin: 8px 12px 12px; padding: 6px; border-radius: 18px; border: 1px solid rgba(20,228,255,.28); }
.vsa-form textarea {
  flex: 1; resize: none; border: 0; background: transparent; color: inherit; font: inherit; min-height: 40px; max-height: 120px;
}
.vsa-clip, .vsa-send { width: 40px; height: 40px; border: 0; border-radius: 14px; background: transparent; }
.vsa-send { background: #14e4ff; color: #042028; }
.vsa-send:disabled { opacity: .4; }
.lock {
  position: absolute; inset: 52px 0 0; background: rgba(4, 16, 24, .92); display: grid; place-items: center; text-align: center; padding: 24px; z-index: 3;
}
.note-card input, .note-card textarea {
  width: 100%; border: 0; background: transparent; color: inherit; font: inherit;
}
.note-card textarea { min-height: 120px; }
.hint { color: #14e4ff; font-size: 12px; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes mark-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(20,228,255,.25)); }
  50% { filter: drop-shadow(0 0 18px rgba(20,228,255,.55)); }
}
@keyframes mark-sheen {
  0%, 100% { background-position: 120% 0; }
  45% { background-position: -20% 0; }
}
@keyframes mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 720px) {
  .vsa-sygnal.is-open { inset: auto 0 0 0; right: 0; bottom: 0; }
  .vsa-panel { width: 100%; height: min(86dvh, 760px); border-radius: 22px 22px 0 0; }
}

/* VSA LIVE MODE GEMINI 3.8 */
.vsa-sygnal[data-status="live"] .vsa-status { color: #00e5ff; text-shadow: 0 0 16px rgba(0, 229, 255, 0.85); }
.vsa-sygnal[data-status="live"] .mark-orbit { animation-duration: 1.2s; }
.vsa-sygnal[data-status="live"] .mark-sheen { animation-duration: .7s; }
.vsa-sygnal[data-status="live"] .emblem img { animation-duration: .6s; }
.vsa-live.is-live-active {
  border-color: #00e5ff !important;
  background: rgba(20,228,255,.22) !important;
  color: #00e5ff !important;
  box-shadow: 0 0 10px rgba(20,228,255,.45);
}
.vsa-live-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(20,228,255,0.08);
  border-bottom: 1px solid rgba(20,228,255,0.22);
  font-size: 12px;
}
.vsa-live-pill { display: flex; align-items: center; gap: 6px; }
.vsa-live-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
  background: #00d26a; box-shadow: 0 0 8px #00d26a;
}
.vsa-live-dot.connecting {
  background: #ffb703; box-shadow: 0 0 8px #ffb703; animation: pulse-live 1s infinite;
}
.vsa-live-dot.speaking {
  background: #00e5ff; box-shadow: 0 0 10px #00e5ff; animation: pulse-live .6s infinite;
}
.vsa-voice-select {
  background: #042028; border: 1px solid rgba(20,228,255,0.4); color: #e7f6fa;
  border-radius: 6px; padding: 3px 6px; font-size: 11px; cursor: pointer; outline: none;
}
.vsa-live-mute-btn {
  border: 1px solid rgba(20,228,255,0.3); background: transparent; color: #e7f6fa;
  border-radius: 6px; padding: 3px 6px; cursor: pointer;
}
.vsa-live-mute-btn.is-muted {
  background: #ff3344; border-color: #ff3344; color: #fff;
}
.vsa-live-stop-btn {
  border: 1px solid rgba(255,90,106,0.5); background: rgba(255,90,106,0.15); color: #ff5a6a;
  border-radius: 6px; padding: 3px 8px; cursor: pointer; font-weight: 600;
}
.vsa-live-stop-btn:hover { background: rgba(255,90,106,0.3); }
@keyframes pulse-live {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .7; }
}

/* VSA Mic & Dictation Button */
.vsa-mic {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(20, 228, 255, 0.25);
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.vsa-mic:hover {
  background: rgba(20, 228, 255, 0.1);
  border-color: #14e4ff;
}
.vsa-mic.is-recording {
  background: rgba(255, 59, 48, 0.25);
  border-color: #ff3b30;
  color: #ff453a;
  animation: vsa-mic-pulse 1.3s infinite ease-in-out;
}
@keyframes vsa-mic-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* VSA CTA Bubble & Concept Creator Handoff */
.vsa-cta-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: linear-gradient(135deg, rgba(7, 31, 44, 0.96), rgba(3, 14, 22, 0.98));
  border: 1px solid rgba(20, 228, 255, 0.45);
  border-radius: 16px;
  padding: 10px 36px 10px 14px;
  width: max-content;
  max-width: 250px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(20, 228, 255, 0.15);
  font-size: 0.76rem;
  line-height: 1.35;
  color: #edf8fb;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: vsa-bubble-float 4.5s ease-in-out infinite;
  text-align: left;
}
.vsa-cta-bubble strong {
  display: block;
  color: #39e7f2;
  font-size: 0.79rem;
  margin-bottom: 2px;
}
.vsa-cta-bubble span {
  display: block;
  color: #c9e4ea;
}
.vsa-cta-bubble:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(20, 228, 255, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(20, 228, 255, 0.3);
}
.vsa-cta-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(201, 228, 234, 0.7);
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  z-index: 2;
}
.vsa-cta-close:hover {
  background: rgba(20, 228, 255, 0.2);
  color: #fff;
  transform: scale(1.1);
}

.vsa-cta-bubble::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 32px;
  width: 10px;
  height: 10px;
  background: #030e16;
  border-right: 1px solid rgba(20, 228, 255, 0.45);
  border-bottom: 1px solid rgba(20, 228, 255, 0.45);
  transform: rotate(45deg);
}
@keyframes vsa-bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (max-width: 640px) {
  .vsa-cta-bubble {
    max-width: 210px;
    right: 0;
    font-size: 0.72rem;
    padding: 8px 11px;
  }
}


/* VSA CONCEPT & AUTO-WEBSITE ENGINE */
.vsa-concept-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  margin: 0 12px 8px;
  background: rgba(20, 228, 255, 0.08);
  border: 1px solid rgba(20, 228, 255, 0.28);
  border-radius: 10px;
  font-size: 0.75rem;
  color: #c9e4ea;
}
.vsa-concept-bar strong {
  color: #14e4ff;
  font-weight: 700;
}
.vsa-concept-bar-btn {
  background: linear-gradient(135deg, #0fe3b8 0%, #14e4ff 100%);
  color: #04141e !important;
  font-weight: 800;
  border: 0;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.72rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.vsa-concept-bar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(20, 228, 255, 0.5);
}

/* VSA In-Page Live Prototype Preview Overlay */
.vsa-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(2, 10, 16, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: Manrope, "Segoe UI", sans-serif;
}
.vsa-preview-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.vsa-preview-window {
  width: min(1200px, 95vw);
  height: min(880px, 92vh);
  background: #06151f;
  border: 1px solid rgba(20, 228, 255, 0.35);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(20, 228, 255, 0.15);
}
.vsa-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #030e16;
  border-bottom: 1px solid rgba(20, 228, 255, 0.2);
  color: #e7f6fa;
  flex-wrap: wrap;
  gap: 10px;
}
.vsa-preview-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #14e4ff;
}
.vsa-preview-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vsa-preview-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c9e4ea;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}
.vsa-preview-btn:hover {
  background: rgba(20, 228, 255, 0.15);
  border-color: rgba(20, 228, 255, 0.45);
  color: #14e4ff;
}
.vsa-preview-btn-primary {
  background: linear-gradient(135deg, #0fe3b8 0%, #14e4ff 100%);
  color: #04141e !important;
  font-weight: 700;
  border: 0;
}
.vsa-preview-btn-primary:hover {
  box-shadow: 0 0 16px rgba(20, 228, 255, 0.6);
  transform: translateY(-1px);
}
.vsa-preview-device-switch {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.vsa-device-btn {
  background: transparent;
  border: 0;
  color: #8da4ac;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.18s;
}
.vsa-device-btn.is-active {
  background: rgba(20, 228, 255, 0.22);
  color: #14e4ff;
  font-weight: 700;
}
.vsa-preview-body {
  flex: 1;
  background: #03080e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}
.vsa-preview-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
  transition: all 0.3s ease;
}
.vsa-preview-frame.is-mobile {
  width: 385px;
  height: 94%;
  border-radius: 28px;
  box-shadow: 0 0 0 10px #1a2530, 0 20px 50px rgba(0, 0, 0, 0.8);
}
.vsa-preview-close {
  background: transparent;
  border: 0;
  color: #8da4ac;
  font-size: 1.4rem;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.2s;
}
.vsa-preview-close:hover {
  color: #ff5a6a;
}

/* Chat result card */
.vsa-result-card {
  background: rgba(20, 228, 255, 0.06);
  border: 1px solid rgba(20, 228, 255, 0.25);
  border-radius: 12px;
  padding: 12px;
  margin: 8px 0;
}
.vsa-result-card-title {
  font-weight: 700;
  color: #14e4ff;
  font-size: 0.88rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.vsa-result-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* Discrete Entry Layer Instructions */
.vsa-instruction-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 330px;
  margin: 12px auto 6px;
  text-align: left;
}
.vsa-instruction-item {
  background: rgba(20, 228, 255, 0.05);
  border: 1px solid rgba(20, 228, 255, 0.18);
  border-radius: 10px;
  padding: 8px 12px;
  color: #c9e4ea;
  font-size: 0.78rem;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.vsa-instruction-item:hover {
  background: rgba(20, 228, 255, 0.12);
  border-color: rgba(20, 228, 255, 0.45);
  transform: translateY(-1px);
}
.vsa-instruction-item strong {
  color: #14e4ff;
  display: inline;
}
.vsa-instruction-item code {
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
  color: #0fe3b8;
  font-size: 0.76rem;
}

/* Pseudo-PDF Audit Document Overlay */
.vsa-audit-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(2, 8, 14, 0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  font-family: Manrope, "Segoe UI", sans-serif;
}
.vsa-audit-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.vsa-audit-window {
  width: min(1000px, 95vw);
  height: min(92vh, 880px);
  background: #081722;
  border: 1px solid rgba(20, 228, 255, 0.35);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
}
.vsa-audit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #040d14;
  border-bottom: 1px solid rgba(20, 228, 255, 0.2);
  color: #e7f6fa;
  gap: 10px;
  flex-wrap: wrap;
}
.vsa-audit-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #14e4ff;
}
.vsa-audit-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vsa-audit-body {
  flex: 1;
  background: #060e15;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  justify-content: center;
}
.vsa-audit-sheet {
  width: 100%;
  max-width: 820px;
  background: #0c1c28;
  border: 1px solid rgba(20, 228, 255, 0.25);
  border-radius: 16px;
  padding: 32px 36px;
  color: #e2f1f5;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.vsa-sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 18px;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.vsa-sheet-logo {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0fe3b8;
  margin-bottom: 4px;
}
.vsa-sheet-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.vsa-sheet-sub {
  font-size: 0.85rem;
  color: #8faab3;
  margin: 0;
}
.vsa-sheet-sub strong {
  color: #14e4ff;
}
.vsa-sheet-meta {
  font-size: 0.76rem;
  color: #8faab3;
  text-align: right;
  line-height: 1.6;
}
.vsa-sheet-score-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(20, 228, 255, 0.05);
  border: 1px solid rgba(20, 228, 255, 0.2);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.vsa-sheet-score-gauge {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #14e4ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.25);
}
.vsa-sheet-score-gauge span {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.vsa-sheet-score-gauge small {
  font-size: 0.75rem;
  opacity: 0.75;
}
.vsa-sheet-score-summary h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.vsa-sheet-score-summary p {
  font-size: 0.82rem;
  color: #a4c2cb;
  margin: 0;
  line-height: 1.5;
}
.vsa-sheet-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.vsa-sheet-pillar {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
}
.vsa-pillar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 6px;
}
.vsa-pillar-head strong {
  color: #fff;
}
.vsa-pillar-score {
  font-weight: 800;
  color: #14e4ff;
}
.vsa-pillar-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.vsa-pillar-fill {
  height: 100%;
  border-radius: 3px;
}
.vsa-sheet-pillar small {
  display: block;
  font-size: 0.72rem;
  color: #829ba4;
  line-height: 1.35;
}
.vsa-sheet-issues-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #14e4ff;
  margin: 0 0 14px;
}
.vsa-sheet-issue-row {
  display: flex;
  gap: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.vsa-sheet-issue-row.critical {
  border-left: 4px solid #ff5a6a;
}
.vsa-sheet-issue-row.warning {
  border-left: 4px solid #ffb84d;
}
.vsa-sheet-issue-row.info {
  border-left: 4px solid #14e4ff;
}
.vsa-issue-num {
  font-size: 0.9rem;
  font-weight: 800;
  color: #829ba4;
}
.vsa-issue-body {
  flex: 1;
}
.vsa-issue-body strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 4px;
}
.vsa-issue-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.vsa-issue-badge.critical { background: rgba(255, 90, 106, 0.2); color: #ff5a6a; }
.vsa-issue-badge.warning { background: rgba(255, 184, 77, 0.2); color: #ffb84d; }
.vsa-issue-badge.info { background: rgba(20, 228, 255, 0.2); color: #14e4ff; }
.vsa-issue-prob, .vsa-issue-sol {
  font-size: 0.78rem;
  margin: 3px 0 0;
  line-height: 1.4;
  color: #a4c2cb;
}
.vsa-issue-prob strong { display: inline; color: #ffb84d; }
.vsa-issue-sol strong { display: inline; color: #0fe3b8; }
.vsa-sheet-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  margin-top: 22px;
  font-size: 0.72rem;
  color: #6d858f;
  line-height: 1.5;
}
.vsa-sheet-footer a { color: #14e4ff; text-decoration: none; }

/* PRINT PDF STYLES */
@media print {
  body * {
    visibility: hidden;
  }
  .vsa-audit-sheet, .vsa-audit-sheet * {
    visibility: visible;
  }
  .vsa-audit-overlay {
    position: absolute;
    inset: 0;
    background: #fff !important;
    padding: 0;
    margin: 0;
    z-index: 9999999;
  }
  .vsa-audit-window {
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
    border: 0 !important;
    background: #fff !important;
  }
  .vsa-audit-header {
    display: none !important;
  }
  .vsa-audit-body {
    background: #fff !important;
    padding: 0 !important;
  }
  .vsa-audit-sheet {
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 10mm 15mm !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .vsa-sheet-title, .vsa-sheet-score-summary h2, .vsa-pillar-head strong, .vsa-issue-body strong {
    color: #000 !important;
  }
  .vsa-sheet-sub, .vsa-sheet-meta, .vsa-sheet-score-summary p, .vsa-pillar-small, .vsa-issue-prob, .vsa-issue-sol, .vsa-sheet-footer {
    color: #333 !important;
  }
  .vsa-sheet-score-card, .vsa-sheet-pillar, .vsa-sheet-issue-row {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
  }
  .vsa-sheet-score-gauge {
    background: #fff !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
  }
}


/* ===== ver.2.5.0: okno artefaktów (osobne od modali akcji) ===== */
.vsa-artifact-card{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:6px 0 10px;padding:10px 12px;border:1px solid rgba(97,230,215,.35);border-radius:12px;background:rgba(97,230,215,.06)}
.vsa-artifact-card-meta{display:grid;gap:2px;min-width:0}
.vsa-artifact-card-meta strong{color:#eef4fb;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vsa-artifact-card-meta small{color:#9db0c4;font-size:.7rem}
.vsa-artifact-badge{font:700 .62rem/1.2 "Space Grotesk",Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#61e6d7}
.vsa-artifact-overlay{position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(3,6,10,.78);backdrop-filter:blur(6px);opacity:0;transition:opacity .18s}
.vsa-artifact-overlay.is-active{opacity:1}
.vsa-artifact-window{display:flex;flex-direction:column;width:min(980px,100%);max-height:calc(100vh - 48px);background:#0c131e;border:1px solid rgba(97,230,215,.35);border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.6);overflow:hidden;color:#eef4fb;font-family:Inter,system-ui,sans-serif}
.vsa-artifact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(97,230,215,.2);background:#101a28}
.vsa-artifact-head h2{margin:4px 0 0;font-size:1rem;line-height:1.3;color:#eef4fb;word-break:break-word}
.vsa-artifact-actions{display:flex;gap:6px;align-items:center;flex-shrink:0}
.vsa-artifact-x{width:34px;height:34px;border-radius:10px;border:1px solid rgba(97,230,215,.3);background:transparent;color:#eef4fb;font-size:1.2rem;cursor:pointer}
.vsa-artifact-x:hover,.vsa-artifact-x:focus-visible{border-color:#61e6d7;color:#61e6d7;outline:none}
.vsa-artifact-pre{margin:0;padding:16px;overflow:auto;flex:1;min-height:120px;background:#05080d;color:#e6f1f8;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;tab-size:4}
.vsa-artifact-pre:focus-visible{outline:2px solid #61e6d7;outline-offset:-2px}
.vsa-artifact-pre code{font:inherit;color:inherit;background:none;padding:0;white-space:inherit}
@media (max-width:640px){
  .vsa-artifact-overlay{padding:0;align-items:stretch}
  .vsa-artifact-window{max-height:100vh;height:100%;border-radius:0;border:0}
  .vsa-artifact-head{flex-direction:column;align-items:stretch}
  .vsa-artifact-actions{justify-content:flex-end}
  .vsa-artifact-pre{font-size:12px}
}
