*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, #D7CEE8 0%, #FAFAFC 45%, #C1B4E6 100%);
  color: #334155;
  font-family: "Aptos", "Aptos Body", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  display: flex;
  flex-direction: column;

  /* Hard stop: no horizontal scroll */
  overflow-x: hidden;
}

/* Prevent media from creating overflow */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: #4f46e5;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Header */
.vm-header {
  background: rgba(250, 250, 252, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  position: sticky;
  top: 0;
  z-index: 30;
}

.vm-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0; /* avoid overflow inside flex containers */
}

/* Brand (works with old vm-logo-wrap or new vm-brand) */
.vm-logo-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vm-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
}

.vm-logo {
  font-family: "Segoe UI Light", "Segoe UI", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #334155;
}

.vm-subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

/* Nav */
.vm-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  min-width: 0;
}

.vm-nav a {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  color: #334155;
  background: transparent;
  white-space: nowrap;
}

.vm-nav a:hover {
  background: rgba(215, 206, 232, 0.4);
  text-decoration: none;
}

/* ===== Mobile burger menu additions ===== */

/* Burger button (hidden on desktop by default) */
.vm-burger {
  display: none;
  width: 42px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(250, 250, 252, 0.95);
  cursor: pointer;
  padding: 8px 10px;
  flex: 0 0 auto;
}

.vm-burger span {
  display: block;
  height: 2px;
  background: #334155;
  border-radius: 9999px;
}

.vm-burger span + span {
  margin-top: 6px;
}

/* Desktop nav marker */
.vm-nav-desktop {
  display: flex;
}

/* Mobile menu panel */
.vm-mobile-menu {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 1rem;
}

.vm-mobile-section {
  background: rgba(250, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 0.65rem;
  margin-top: 0.75rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.vm-mobile-section a {
  display: block;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  color: #334155;
}

.vm-mobile-section a:hover {
  background: rgba(215, 206, 232, 0.35);
  text-decoration: none;
}

.vm-mobile-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.vm-mobile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #C1B4E6, #8FA2D6);
  color: #FAFAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 auto;
}

.vm-mobile-email {
  font-size: 0.9rem;
  color: #334155;
  word-break: break-word;
  min-width: 0;
}

.vm-mobile-logout {
  width: 100%;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #C1B4E6, #8FA2D6);
  color: #FAFAFC;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

/* Responsive: show burger, hide desktop nav */
@media (max-width: 920px) {
  .vm-nav-desktop {
    display: none;
  }
  .vm-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Keep header compact */
  .vm-profile-email {
    max-width: 110px;
  }
}

/* ===== Profile dropdown ===== */
.vm-profile {
  position: relative;
}

.vm-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(250, 250, 252, 0.95);
  cursor: pointer;
  font-size: 0.8rem;
  color: #334155;
  max-width: 320px;
}

.vm-profile-btn:hover {
  background: #FAFAFC;
}

.vm-profile-avatar {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #C1B4E6, #8FA2D6);
  color: #FAFAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex: 0 0 auto;
}

.vm-profile-email {
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vm-profile-caret {
  font-size: 0.7rem;
  color: #94a3b8;
}

/* Default (hover behavior legacy) */
.vm-profile-menu {
  position: absolute;
  right: 0;
  top: 110%;
  min-width: 200px;
  background: #FAFAFC;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  padding: 0.4rem 0.3rem;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  z-index: 60;
}

/* Works with click-based dropdown too */
.vm-profile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vm-profile:hover .vm-profile-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vm-profile-menu a,
.vm-profile-menu form button,
.vm-profile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: #334155;
  cursor: pointer;
}

.vm-profile-menu a:hover,
.vm-profile-menu form button:hover,
.vm-profile-menu button:hover {
  background: #EEF2FF;
  text-decoration: none;
}

.vm-profile-menu form {
  margin: 0.25rem 0 0;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.2rem;
}

/* Layout */
.vm-main {
  max-width: 1080px;
  margin: 1.75rem auto 2.5rem;
  padding: 0 1.25rem;
  flex: 1; /* footer stays at bottom on short pages */
  min-width: 0;
}

/* Cards / Shapes */
.vm-card {
  position: relative;
  background: #FAFAFC;
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.05),
    0 0 40px rgba(250, 250, 252, 0.04);
  min-width: 0;
}

.vm-card--gradient {
  background: linear-gradient(45deg, rgba(193, 180, 230, 0.8), rgba(143, 162, 214, 0.8));
  color: #FAFAFC;
}

/* Decorative hexagon accent */
.vm-card-hexagon::before {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 1rem;
  width: 80px;
  height: 70px;
  background: rgba(250, 250, 252, 0.5);
  -webkit-clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  border: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      #FAFAFC 0%,
      #8FA2D6 74%,
      #AEA8D2 83%,
      #C1B4E6 100%
    ) 1;
  opacity: 0.7;
}

/* Typography */
h1, h2, h3 {
  margin-top: 0;
  font-family: "Segoe UI Light", "Segoe UI", system-ui, sans-serif;
  font-weight: 300;
  color: #334155;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

.vm-hero-title {
  font-family: "Segoe UI Light", "Segoe UI", system-ui, sans-serif;
  font-size: 2.1rem;
  font-weight: 300;
  color: #334155;
}

.vm-hero-sub {
  font-size: 0.98rem;
  color: #475569;
}

.vm-moto {
  color: #A9BBD1;
  font-weight: 500;
}

/* Forms */
.vm-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.vm-form label {
  font-size: 0.85rem;
  color: #475569;
}

.vm-form input,
.vm-form textarea,
.vm-form select {
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem;
  width: 100%;
  background: rgba(250, 250, 252, 0.95);
  min-width: 0;
}

.vm-form textarea {
  min-height: 90px;
  resize: vertical;
}

.vm-form input:focus,
.vm-form textarea:focus,
.vm-form select:focus {
  outline: none;
  border-color: #8FA2D6;
  box-shadow: 0 0 0 1px rgba(143, 162, 214, 0.5);
}

.vm-form button {
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #C1B4E6, #8FA2D6);
  color: #FAFAFC;
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.35);
}

/* Your custom alt button class kept */
.vm-form-button {
  border-radius: 9999px;
  border: none;
  background: linear-gradient(135deg, #C1B4E6, #d68fd1);
  color: #FAFAFC;
  padding: 0.65rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 16px 40px rgba(148, 163, 184, 0.35);
}

.vm-form button:hover,
.vm-form-button:hover {
  filter: brightness(1.05);
}

/* Checkbox row */
.vm-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #475569;
}

.vm-checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

/* Alerts */
.vm-alert {
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.vm-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.vm-alert-success {
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Pills */
.vm-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background: #D7CEE8;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Two-column layout (signin) */
.vm-two-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.vm-two-col__left,
.vm-two-col__right {
  flex: 1;
  min-width: 0;
}

@media (min-width: 840px) {
  .vm-two-col {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* OR divider */
.vm-or-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.2rem 0 0.5rem;
}

.vm-or-divider span {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.vm-or-divider::before,
.vm-or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #cbd5e1);
}

/* FAQ */
.vm-faq-item {
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 0;
}

.vm-faq-item:first-of-type {
  border-top: none;
}

.vm-faq-q {
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #334155;
}

.vm-faq-a {
  font-size: 0.9rem;
  color: #4b5563;
}

/* Hero (legacy) */
.vm-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #D7CEE8 0%, #FAFAFC 45%, #C1B4E6 100%);
}

.vm-hero-overlay {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.7rem;
}

.vm-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

/* Ghost button */
.vm-btn-ghost {
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(250, 250, 252, 0.85);
  color: #334155;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.vm-btn-ghost:hover {
  background: rgba(250, 250, 252, 1);
}

/* Image shadow */
.vm-image-shadow {
  box-shadow: 0 7px 11pt rgba(250, 250, 252, 0.04);
}

/* Footer */
.vm-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(250, 250, 252, 0.9);
}

.vm-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  font-size: 0.78rem;
  color: #64748b;
}

/* Muted helper links */
.vm-link-muted {
  color: #64748b;
  font-size: 0.85rem;
  text-decoration: none;
}
.vm-link-muted:hover {
  color: #4f46e5;
  text-decoration: underline;
}
/* ===== VitaTrace Auth (minimal) ===== */
.vt-auth-card{
  max-width: 560px;
  margin: 2.25rem auto 0;
  background: rgba(250,250,252,.92);
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 22px;
  padding: 1.55rem 1.6rem;
  box-shadow: 0 24px 70px rgba(15,23,42,.08);
}

.vt-auth-top{ margin-bottom: 1rem; }
.vt-auth-badge{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.35rem .75rem;
  border-radius: 9999px;
  background: rgba(215,206,232,.55);
  color:#334155;
  font-size: .78rem;
  font-weight: 600;
}
.vt-auth-badge svg{ width:16px; height:16px; }

.vt-auth-title{ margin:.65rem 0 .25rem; font-size: 2.0rem; }
.vt-auth-sub{ margin:0; color:#475569; font-size: .95rem; }

.vt-field label{ display:block; margin-bottom:.35rem; }

.vt-input{
  display:flex; align-items:center; gap:.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: rgba(250,250,252,.95);
  padding: .2rem .65rem;
}
.vt-input svg{ width:18px; height:18px; color:#64748b; flex: 0 0 auto; }
.vt-input input{
  border: none !important;
  outline: none !important;
  padding: .5rem .2rem !important;
  background: transparent !important;
  font-size: .94rem;
}
.vt-input:focus-within{
  border-color: #8FA2D6;
  box-shadow: 0 0 0 1px rgba(143,162,214,.5);
}

.vm-form button{
  display:inline-flex; align-items:center; gap:.55rem;
}
.vt-btn-icon svg{ width:18px; height:18px; }

.vt-auth-foot{
  margin-top: .9rem;
  display:flex;
  flex-direction: column;
  gap: .65rem;
}
.vt-auth-note{
  display:flex; align-items:center; gap:.55rem;
  font-size:.85rem; color:#64748b;
}
.vt-auth-note svg{ width:16px; height:16px; }


/* =========================
   KPI Card = Chart-first
   ========================= */

/* Let KPI overlays overflow outside card */
.vt-kpi-card{
  position: relative;
  overflow: visible; /* IMPORTANT: allow overlay to escape */
  padding: 0;        /* chart takes all */
}

/* Inner frame still looks like a card */
.vt-kpi-frame{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.24);
  background: rgba(250,250,252,.92);
  box-shadow: 0 18px 40px rgba(15,23,42,.05);
  overflow: hidden;  /* keep chart clipped nicely */
  min-height: 180px; /* more chart real estate */
}

/* Full-card chart area */
.vt-spark-wrap{
  margin: 0;
  height: 180px;      /* BIGGER */
  position: relative;
}
.vt-spark-wrap canvas{
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Floating header pill (name + code) */
.vt-kpi-pill-top{
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .65rem;
  border-radius: 999px;
  background: rgba(250,250,252,.92);
  border: 1px solid rgba(148,163,184,.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(15,23,42,.10);
  z-index: 5;
  max-width: calc(100% - 24px);
}
.vt-kpi-pill-top .vt-kpi-title{
  margin:0;
  font-weight: 850;
  font-size: .92rem;
  color:#334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vt-kpi-pill-top .vt-kpi-code{
  font-size: .78rem;
  color:#64748b;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Floating footer pill (value + unit + bands summary) */
.vt-kpi-pill-bot{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(250,250,252,.92);
  border: 1px solid rgba(148,163,184,.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(15,23,42,.10);
  z-index: 5;
}
.vt-kpi-pill-bot .vt-kpi-val{
  font-weight: 950;
  font-size: 1.1rem;
  color:#0f172a;
  white-space: nowrap;
}
.vt-kpi-pill-bot .vt-kpi-val small{
  font-size: .85rem;
  font-weight: 800;
  color:#64748b;
  margin-left: .25rem;
}
.vt-kpi-pill-bot .vt-kpi-bands{
  font-size: .78rem;
  color:#64748b;
  display:flex;
  gap:.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-content:flex-end;
}

/* Hover crosshair overlay (vertical dashed line) */
.vt-crosshair{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.vt-crosshair::before{
  content:"";
  position:absolute;
  top: 10px;
  bottom: 10px;
  left: var(--x, 50%);
  width: 0;
  border-left: 2px dashed rgba(51,65,85,.35);
  transform: translateX(-1px);
  opacity: 0;
  transition: opacity .10s ease-out;
}
.vt-kpi-frame.is-hovering .vt-crosshair::before{
  opacity: 1;
}

/* Floating hover KPI tooltip that can overflow outside the card */
.vt-kpi-float{
  position: absolute;
  left: 14px;
  top: 58px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .12s ease-out, transform .12s ease-out;
  max-width: min(420px, calc(100vw - 40px));
}
.vt-kpi-frame.is-hovering .vt-kpi-float{
  opacity: 1;
  transform: translateY(0);
}

/* Bubble style */
.vt-kpi-float .vt-bubble{
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.55rem .7rem;
  border-radius: 14px;
  background: rgba(15,23,42,.92);
  color:#FAFAFC;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 60px rgba(15,23,42,.35);
}
.vt-kpi-float .vt-bubble strong{ font-weight: 900; }
.vt-kpi-float .vt-bubble .muted{ opacity:.8; font-size:.85rem; }

/* =========================
   Confidence Pill Meter
   ========================= */
.vt-conf-wrap{
  margin-top: .55rem;
}
.vt-conf-pill{
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: rgba(148,163,184,.22);
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: inset 0 1px 0 rgba(250,250,252,.55);
}
.vt-conf-fill{
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143,162,214,1), rgba(214,143,209,1));
  box-shadow: 0 0 24px rgba(143,162,214,.25);
  animation: vtFillIn .7s ease-out both;
}

/* Buzz/shimmer at the edge of the fill */
.vt-conf-fill::after{
  content:"";
  position:absolute;
  right:-18px;
  top:-10px;
  width: 44px;
  height: 44px;
  background: radial-gradient(circle at 30% 50%, rgba(250,250,252,.55), rgba(250,250,252,0) 60%);
  filter: blur(2px);
  opacity:.75;
  animation: vtBuzz 1.0s ease-in-out infinite;
}

@keyframes vtFillIn{
  from { width: 0%; filter: saturate(1.15); }
  to   { width: var(--pct, 0%); filter: saturate(1); }
}
@keyframes vtBuzz{
  0%   { transform: translateX(-2px) translateY(0) scale(1); opacity:.55; }
  50%  { transform: translateX(2px) translateY(-1px) scale(1.05); opacity:.82; }
  100% { transform: translateX(-2px) translateY(0) scale(1); opacity:.55; }
}

.vt-conf-meta{
  display:flex;
  justify-content: space-between;
  gap: .8rem;
  margin-top: .35rem;
  font-size: .86rem;
  color:#475569;
}
.vt-conf-meta b{ color:#0f172a; }

/* =========================
   Right Gamification Pane
   ========================= */
:root{
  --vtRightW: 320px;
}

.vt-layout{
  /* you already have left fixed; we reserve right space via padding on main */
}

.vt-main{
  padding-right: calc(var(--vtRightW) + 1.25rem);
}

/* fixed right pane */
.vt-right{
  position: fixed;
  right: 0;
  top: 72px;
  bottom: 0;
  width: var(--vtRightW);
  padding: .9rem;
  background: rgba(250,250,252,.92);
  border-left: 1px solid rgba(148,163,184,.25);
  overflow: auto;
  z-index: 25;
  box-shadow: -14px 0 40px rgba(15,23,42,.05);
}

@media (max-width: 1100px){
  :root{ --vtRightW: 0px; }
  .vt-main{ padding-right: 1.25rem; }
  .vt-right{
    position: static;
    width: auto;
    margin: 0 1.25rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.25);
    box-shadow: 0 14px 30px rgba(15,23,42,.08);
  }
}

.vt-gm-card{
  background: rgba(250,250,252,.92);
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 18px;
  padding: .95rem 1.0rem;
}

.vt-gm-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap:.7rem;
}

.vt-gm-score{
  font-weight: 950;
  font-size: 1.7rem;
  color:#0f172a;
  line-height: 1;
}

.vt-gm-sub{
  font-size: .86rem;
  color:#475569;
  margin-top:.25rem;
}

.vt-gm-bar{
  margin-top: .7rem;
  height: 14px;
  border-radius: 999px;
  background: rgba(148,163,184,.22);
  border: 1px solid rgba(148,163,184,.25);
  overflow:hidden;
}
.vt-gm-bar > div{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143,162,214,1), rgba(214,143,209,1));
  box-shadow: 0 0 24px rgba(143,162,214,.25);
  transition: width .25s ease-out;
}

.vt-body{
  margin-top: .9rem;
  display:flex;
  justify-content:center;
}
.vt-body svg{
  width: 180px;
  height: auto;
}

.vt-body-fill{
  --fill: 50%;
}

.vt-gm-list{
  margin-top: .85rem;
  display:flex;
  flex-direction: column;
  gap: .55rem;
}

.vt-gm-item{
  display:flex;
  gap:.55rem;
  align-items:flex-start;
  padding: .55rem .6rem;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(215,206,232,.14);
}

.vt-gm-item input{ margin-top: 3px; }
.vt-gm-item b{ font-size:.9rem; color:#334155; }
.vt-gm-item .meta{ font-size:.8rem; color:#64748b; margin-top:.1rem; }

.vt-ai-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  width:100%;
  margin-top: .75rem;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(250,250,252,.95);
  padding: .65rem .8rem;
  cursor:pointer;
  font-weight: 800;
  color:#334155;
}
.vt-ai-btn:hover{ background:#FAFAFC; }

/* =========================
   AI Overlay / Modal
   ========================= */
.vt-ai-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.55);
  z-index: 90;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding: 88px 18px 24px;
}
.vt-ai-panel{
  width: min(980px, 100%);
  background: rgba(250,250,252,.98);
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,.25);
  box-shadow: 0 30px 120px rgba(15,23,42,.35);
  overflow:hidden;
}
.vt-ai-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:.75rem;
  padding: .9rem 1.0rem;
  border-bottom: 1px solid rgba(148,163,184,.20);
}
.vt-ai-head h3{
  margin:0;
  font-weight: 900;
  font-size: 1.05rem;
}
.vt-ai-close{
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(250,250,252,.95);
  cursor:pointer;
  padding: .45rem .7rem;
}
.vt-ai-body{
  padding: 1.0rem 1.0rem 1.15rem;
  color:#334155;
  font-size: .95rem;
  line-height: 1.55;
}
.vt-ai-body .disclaimer{
  margin-top: .85rem;
  font-size: .85rem;
  color:#64748b;
}

