/* Ask Vicky — reusable portfolio assistant. All selectors are namespaced. */
:root {
  --av-bg: #06091a;
  --av-panel: rgba(8, 12, 32, 0.97);
  --av-card: rgba(255, 255, 255, 0.055);
  --av-card-strong: rgba(255, 255, 255, 0.085);
  --av-border: rgba(255, 255, 255, 0.12);
  --av-border-strong: rgba(255, 255, 255, 0.2);
  --av-text: #eef1ff;
  --av-muted: #a4abc4;
  --av-faint: #6f7897;
  --av-purple: #7c3aed;
  --av-cyan: #22d3ee;
  --av-pink: #ec4899;
  --av-green: #4ade80;
  --av-warning: #fbbf24;
  --av-danger: #fb7185;
  --av-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  --av-ease: cubic-bezier(.16, 1, .3, 1);
}

#ask-vicky-root,
#ask-vicky-root * { box-sizing: border-box; }
#ask-vicky-root [hidden] { display: none !important; }

/* Prevent portfolio-wide section styles from creating blank space inside Ask Vicky. */
#ask-vicky-root section {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

#ask-vicky-root {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--av-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#ask-vicky-root button,
#ask-vicky-root input,
#ask-vicky-root textarea,
#ask-vicky-root select { font: inherit; }

/* The portfolio uses a custom cursor below this assistant's very high z-index.
   Restore the native cursor while Ask Vicky is open so it never disappears. */
#ask-vicky-root,
#ask-vicky-root .av-scrim,
#ask-vicky-root .av-shell { cursor: default !important; }

#ask-vicky-root input,
#ask-vicky-root textarea { cursor: text !important; }

#ask-vicky-root button,
#ask-vicky-root a,
#ask-vicky-root label,
#ask-vicky-root [role="button"] { cursor: pointer !important; }

#ask-vicky-root button:focus-visible,
#ask-vicky-root a:focus-visible,
#ask-vicky-root input:focus-visible,
#ask-vicky-root textarea:focus-visible {
  outline: 2px solid var(--av-cyan) !important;
  outline-offset: 3px !important;
}

.av-launcher {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 15px 8px 8px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, rgba(17,22,52,.98), rgba(9,13,34,.98));
  box-shadow: 0 18px 50px rgba(0,0,0,.42), 0 0 0 1px rgba(124,58,237,.08) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .28s var(--av-ease), border-color .28s, box-shadow .28s, opacity .2s;
  isolation: isolate;
}

.av-launcher::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124,58,237,.55), rgba(34,211,238,.25), rgba(236,72,153,.35));
  opacity: .45;
  filter: blur(7px);
}

.av-launcher:hover {
  transform: translateY(-3px);
  border-color: rgba(34,211,238,.38);
  box-shadow: 0 22px 60px rgba(0,0,0,.5), 0 0 28px rgba(124,58,237,.16);
}

.av-launcher[aria-expanded="true"] { opacity: 0; transform: translateY(8px); pointer-events: none; }

.av-launcher-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--av-purple), #4f46e5 55%, #0891b2);
  box-shadow: 0 8px 20px rgba(124,58,237,.33);
  position: relative;
  flex: 0 0 auto;
}

.av-launcher-icon svg { width: 21px; height: 21px; stroke-width: 1.9; }
.av-launcher-text { display: grid; text-align: left; line-height: 1.15; }
.av-launcher-text strong { font-size: 13px; font-weight: 750; letter-spacing: -.01em; }
.av-launcher-text small { margin-top: 3px; color: var(--av-muted); font-size: 10px; }
.av-mobile-label { display: none; font-size: 12px; font-weight: 750; }

.av-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--av-green);
  box-shadow: 0 0 0 3px rgba(74,222,128,.13), 0 0 12px rgba(74,222,128,.55);
  flex: 0 0 auto;
  animation: avPulse 2.4s ease-in-out infinite;
}

.av-launcher .av-status-dot { position: absolute; right: -2px; top: -2px; border: 2px solid #0c1029; width: 10px; height: 10px; }

@keyframes avPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.82); opacity: .72; }
}

.av-scrim {
  position: fixed;
  inset: 0;
  background: rgba(1, 3, 12, .5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}

.av-shell {
  position: fixed;
  top: 16px;
  right: 16px;
  bottom: 16px;
  width: min(440px, calc(100vw - 32px));
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(124,58,237,.16), transparent 50%),
    radial-gradient(80% 60% at 0% 100%, rgba(6,182,212,.09), transparent 55%),
    var(--av-panel);
  border: 1px solid var(--av-border);
  border-radius: 24px;
  box-shadow: var(--av-shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  opacity: 0;
  transform: translateX(32px) scale(.985);
  transform-origin: right center;
  transition: opacity .3s ease, transform .42s var(--av-ease);
  pointer-events: none;
}

#ask-vicky-root.av-open .av-scrim { opacity: 1; pointer-events: auto; }
#ask-vicky-root.av-open .av-shell { opacity: 1; transform: none; pointer-events: auto; }
#ask-vicky-root.av-minimised .av-shell { opacity: 0; transform: translateX(30px) scale(.98); pointer-events: none; }
#ask-vicky-root.av-minimised .av-scrim { opacity: 0; pointer-events: none; }
#ask-vicky-root.av-minimised .av-launcher { opacity: 1; transform: none; pointer-events: auto; }

.av-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 14px 13px !important;
  border-bottom: 1px solid var(--av-border);
  background: rgba(7,10,27,.72);
  min-height: 70px;
}

.av-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(135deg, var(--av-purple), #0891b2);
}
.av-ai-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,.22), transparent 34%),
    linear-gradient(135deg, var(--av-purple), #4f46e5 52%, #0891b2);
  box-shadow: 0 10px 24px rgba(124,58,237,.28), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.av-ai-avatar svg { width: 23px; height: 23px; stroke-width: 1.8; }

.av-header-copy { min-width: 0; flex: 1; }
.av-title-line { display: flex; align-items: center; gap: 7px; }
.av-title-line h2 { margin: 0; font-size: 15px; line-height: 1.15; font-weight: 780; color: var(--av-text); letter-spacing: -.015em; }
.av-header-copy p { margin: 4px 0 0; font-size: 11px; color: var(--av-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-header-actions { display: flex; align-items: center; gap: 3px; }

.av-icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--av-muted);
  background: transparent;
  transition: background .2s, color .2s, transform .2s;
}
.av-icon-btn:hover { background: var(--av-card-strong); color: #fff; transform: translateY(-1px); }
.av-icon-btn svg { width: 18px; height: 18px; stroke-width: 1.9; }

.av-voice-output.av-muted { color: var(--av-danger); background: rgba(251,113,133,.09); }
.av-voice-output:disabled { opacity: .34; cursor: not-allowed !important; }

.av-main {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
  padding: 17px 14px 26px !important;
  scroll-behavior: smooth;
}
.av-main::-webkit-scrollbar { width: 6px; }
.av-main::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 99px; }

.av-view { display: none; }
.av-view.av-active { display: block; animation: avFade .25s ease; }
@keyframes avFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.av-message-list { display: flex; flex-direction: column; gap: 15px; }
.av-message { display: grid; gap: 6px; max-width: 94%; }
.av-message.av-user { align-self: flex-end; justify-items: end; }
.av-message.av-assistant { align-self: flex-start; }
.av-message-meta { font-size: 9.5px; color: var(--av-faint); padding: 0 5px; display: flex; align-items: center; gap: 6px; }
.av-bubble {
  border-radius: 17px;
  padding: 11px 12px;
  font-size: 13px;
  color: var(--av-text);
  border: 1px solid var(--av-border);
  background: var(--av-card);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  overflow-wrap: anywhere;
}
.av-user .av-bubble {
  background: linear-gradient(135deg, rgba(124,58,237,.85), rgba(79,70,229,.83));
  border-color: rgba(255,255,255,.17);
  border-bottom-right-radius: 5px;
}
.av-assistant .av-bubble { border-bottom-left-radius: 5px; }
.av-bubble p { margin: 0 0 8px; }
.av-bubble p:last-child { margin-bottom: 0; }
.av-bubble ul { margin: 7px 0 2px 18px; padding: 0; }
.av-bubble li { margin: 4px 0; }
.av-bubble strong { color: #fff; font-weight: 720; }
.av-bubble a { color: #7dd3fc; text-decoration: underline; text-underline-offset: 3px; }

.av-message-actions { display: flex; align-items: center; gap: 4px; padding: 0 3px; }
.av-mini-btn {
  min-width: 28px;
  height: 27px;
  padding: 0 7px;
  border: 0;
  border-radius: 8px;
  color: var(--av-faint);
  background: transparent;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.av-mini-btn:hover, .av-mini-btn.av-selected { color: #fff; background: var(--av-card-strong); }
.av-mini-btn svg { width: 13px; height: 13px; }

.av-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.av-chip {
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 10px;
  border: 1px solid rgba(124,58,237,.25);
  background: rgba(124,58,237,.07);
  color: #dfe3ff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
  transition: transform .2s, border-color .2s, background .2s;
}
.av-chip:hover { transform: translateY(-1px); border-color: rgba(34,211,238,.4); background: rgba(34,211,238,.08); }

.av-service-note,
.av-privacy,
.av-info-banner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid rgba(34,211,238,.16);
  background: rgba(34,211,238,.055);
  color: #c8d4e9;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 10.5px;
  margin-top: 9px;
}
.av-service-note svg, .av-privacy svg, .av-info-banner svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
.av-service-note[hidden], .av-info-banner[hidden] { display: none !important; }

.av-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 58px;
}
.av-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--av-muted); animation: avTyping 1.2s infinite ease-in-out; }
.av-typing span:nth-child(2) { animation-delay: .15s; }
.av-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes avTyping { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }

.av-composer {
  border-top: 1px solid var(--av-border);
  background: rgba(6,9,24,.92);
  padding: 10px 12px max(11px, env(safe-area-inset-bottom)) !important;
}
.av-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 8px; }
.av-mode-tab {
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--av-muted);
  background: transparent;
  font-size: 10.5px;
  font-weight: 650;
}
.av-mode-tab:hover { background: var(--av-card); color: #fff; }
.av-mode-tab.av-active { background: rgba(124,58,237,.13); color: #fff; border-color: rgba(124,58,237,.26); }

.av-input-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 42px;
  gap: 8px;
  align-items: end;
}
.av-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  min-height: 44px;
  border: 1px solid var(--av-border);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  padding: 5px 6px 5px 10px;
  transition: border-color .2s, background .2s;
}
.av-input-wrap:focus-within { border-color: rgba(34,211,238,.42); background: rgba(255,255,255,.055); }
.av-input-wrap textarea {
  width: 100%;
  min-height: 31px;
  max-height: 108px;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--av-text);
  padding: 6px 0 4px;
  font-size: 12.5px;
  line-height: 1.45;
}
.av-input-wrap textarea::placeholder { color: #747d9c; }

.av-mic {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--av-muted);
  background: rgba(255,255,255,.055);
  transition: color .2s, background .2s, transform .2s, box-shadow .2s;
}
.av-mic:hover { color: #fff; background: rgba(34,211,238,.11); transform: translateY(-1px); }
.av-mic svg { width: 18px; height: 18px; stroke-width: 1.9; }
.av-mic.av-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(236,72,153,.92), rgba(124,58,237,.92));
  box-shadow: 0 0 0 4px rgba(236,72,153,.12), 0 0 22px rgba(236,72,153,.26);
  animation: avMicPulse 1.25s ease-in-out infinite;
}
.av-mic:disabled { opacity: .36; cursor: not-allowed !important; transform: none; }
@keyframes avMicPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(.91); } }
.av-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--av-purple), #4f46e5 60%, #0891b2);
  box-shadow: 0 8px 22px rgba(124,58,237,.25);
  transition: transform .2s, opacity .2s;
}
.av-send:hover { transform: translateY(-1px); }
.av-send:disabled { opacity: .45; transform: none; cursor: not-allowed !important; }
.av-send svg { width: 18px; height: 18px; }
.av-send.av-voice-entry {
  background: linear-gradient(135deg, #8b5cf6, #4f46e5 54%, #06b6d4);
}
.av-send.av-voice-entry svg { width: 22px; height: 22px; stroke-width: 1.8; }
.av-composer-hint { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; padding: 0 3px; color: var(--av-faint); font-size: 9px; }
.av-voice-status { color: #9eeaf4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 75%; }
#ask-vicky-root.av-listening .av-input-wrap { border-color: rgba(236,72,153,.5); box-shadow: 0 0 0 3px rgba(236,72,153,.08); }
#ask-vicky-root.av-speaking .av-status-dot { background: var(--av-cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.12), 0 0 12px rgba(34,211,238,.55); }

.av-panel-heading { margin-bottom: 12px; }
.av-panel-heading h3 { margin: 0; font-size: 16px; color: #fff; letter-spacing: -.02em; }
.av-panel-heading p { margin: 5px 0 0; color: var(--av-muted); font-size: 11px; }

.av-field { display: grid; gap: 6px; margin-bottom: 11px; }
.av-field label { color: #dce1f3; font-size: 10.5px; font-weight: 650; }
.av-field input,
.av-field textarea {
  width: 100%;
  border: 1px solid var(--av-border);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--av-text);
  outline: none;
  padding: 10px 11px;
  font-size: 12px;
  line-height: 1.45;
}
.av-field textarea { min-height: 128px; resize: vertical; }
.av-field input:focus,
.av-field textarea:focus { border-color: rgba(34,211,238,.42); }
.av-field input::placeholder,
.av-field textarea::placeholder { color: #727b99; }
.av-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.av-field-help { display: flex; justify-content: space-between; color: var(--av-faint); font-size: 9px; }
.av-error-text { color: #fecdd3; font-size: 10px; margin-top: 4px; }

.av-upload {
  border: 1px dashed rgba(124,58,237,.4);
  border-radius: 14px;
  background: rgba(124,58,237,.055);
  padding: 12px;
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.av-upload-top { display: flex; align-items: center; gap: 9px; }
.av-upload-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(124,58,237,.18); color: #c4b5fd; }
.av-upload-icon svg { width: 18px; height: 18px; }
.av-upload-copy { min-width: 0; flex: 1; }
.av-upload-copy strong { display: block; font-size: 11px; color: #fff; }
.av-upload-copy span { display: block; margin-top: 2px; color: var(--av-faint); font-size: 9.5px; }
.av-file-input { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.av-upload-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--av-border); background: var(--av-card); color: #fff; font-size: 10.5px; }
.av-file-card { display: flex; align-items: center; gap: 8px; border: 1px solid var(--av-border); border-radius: 11px; padding: 8px; background: rgba(255,255,255,.035); }
.av-file-card[hidden] { display: none; }
.av-file-info { min-width: 0; flex: 1; }
.av-file-info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; }
.av-file-info span { color: var(--av-faint); font-size: 9px; }

.av-primary,
.av-secondary,
.av-danger-btn {
  min-height: 40px;
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  transition: transform .2s, border-color .2s, background .2s, opacity .2s;
}
.av-primary { color: #fff; background: linear-gradient(135deg, var(--av-purple), #4f46e5 62%, #0891b2); box-shadow: 0 8px 22px rgba(124,58,237,.18); }
.av-secondary { color: #e5e9f8; background: var(--av-card); border-color: var(--av-border); }
.av-danger-btn { color: #fecdd3; background: rgba(251,113,133,.07); border-color: rgba(251,113,133,.2); }
.av-primary:hover, .av-secondary:hover, .av-danger-btn:hover { transform: translateY(-1px); }
.av-primary:disabled, .av-secondary:disabled { opacity: .45; transform: none; cursor: not-allowed !important; }
.av-button-row { display: flex; flex-wrap: wrap; gap: 8px; }
.av-button-row > * { flex: 1 1 120px; }
.av-jd-buttons { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.av-jd-buttons > * { min-width: 0; width: 100%; }
.av-jd-output { padding: 4px 3px 20px; }

.av-analysis-loading { display: grid; gap: 10px; }
.av-skeleton { height: 14px; border-radius: 7px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 220% 100%; animation: avShimmer 1.4s infinite linear; }
.av-skeleton.av-lg { height: 96px; }
.av-skeleton.av-md { width: 72%; }
@keyframes avShimmer { to { background-position: -220% 0; } }

.av-result { display: grid; gap: 16px; min-width: 0; padding: 2px; }
.av-score-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  border: 1px solid var(--av-border);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(34,211,238,.045));
  min-width: 0;
  overflow: hidden;
}
.av-score-ring { width: 96px; height: 96px; position: relative; display: grid; place-items: center; }
.av-score-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.av-score-ring circle { fill: none; stroke-width: 8; }
.av-score-ring .av-track { stroke: rgba(255,255,255,.09); }
.av-score-ring .av-value { stroke: url(#av-score-gradient); stroke-linecap: round; transition: stroke-dashoffset .7s var(--av-ease); }
.av-score-number { position: relative; width: 68px; text-align: center; }
.av-score-number strong { display: block; color: #fff; font-size: 20px; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.av-score-number span { color: var(--av-faint); font-size: 9px; }
.av-score-copy { min-width: 0; overflow-wrap: anywhere; }
.av-score-copy h4 { margin: 0; color: #fff; font-size: 15px; }
.av-score-copy p { margin: 6px 0 0; color: var(--av-muted); font-size: 10.5px; line-height: 1.5; }

.av-section-card { border: 1px solid var(--av-border); border-radius: 15px; padding: 16px; background: rgba(255,255,255,.03); min-width: 0; overflow: hidden; overflow-wrap: anywhere; }
.av-section-card h4 { margin: 0 0 11px; font-size: 12px; line-height: 1.4; color: #fff; }
.av-section-card ul { margin: 0; padding-left: 17px; }
.av-section-card li { color: #d2d7e8; font-size: 10.8px; line-height: 1.5; margin: 7px 0; overflow-wrap: anywhere; }
.av-section-card li::marker { color: var(--av-cyan); }
.av-section-card .av-gap-list li::marker { color: var(--av-warning); }
.av-section-card p { margin: 0; color: var(--av-muted); font-size: 10.5px; line-height: 1.5; overflow-wrap: anywhere; }

.av-breakdown { display: grid; gap: 11px; min-width: 0; }
.av-progress-row { display: grid; grid-template-columns: minmax(82px, .8fr) minmax(70px, 1.5fr) 38px; align-items: center; gap: 10px; min-width: 0; }
.av-progress-row span { font-size: 9.5px; color: #ced4e7; }
.av-progress-row strong { font-size: 9.5px; text-align: right; color: #fff; }
.av-progress-track { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.av-progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--av-purple), var(--av-cyan)); }
.av-weight-note { color: var(--av-faint); font-size: 9px; line-height: 1.45; margin-top: 11px; overflow-wrap: anywhere; }

.av-match-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.av-match-tag { max-width: 100%; padding: 6px 8px; border-radius: 8px; font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; border: 1px solid var(--av-border); }
.av-match-tag.av-direct { color: #bbf7d0; background: rgba(74,222,128,.07); border-color: rgba(74,222,128,.17); }
.av-match-tag.av-transfer { color: #bae6fd; background: rgba(34,211,238,.06); border-color: rgba(34,211,238,.17); }
.av-match-tag.av-unsupported { color: #fde68a; background: rgba(251,191,36,.06); border-color: rgba(251,191,36,.17); }

.av-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.av-contact-link {
  min-height: 40px;
  border-radius: 11px;
  border: 1px solid var(--av-border);
  background: var(--av-card);
  color: #fff !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  font-size: 10.5px;
  font-weight: 650;
}
.av-contact-link:hover { border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.06); }
.av-contact-link svg { width: 15px; height: 15px; }

.av-checkbox { display: flex; align-items: flex-start; gap: 8px; color: var(--av-muted); font-size: 10px; margin: 8px 0 12px; }
.av-checkbox input { margin-top: 2px; accent-color: var(--av-purple); }
.av-form-status { border-radius: 11px; padding: 9px 10px; font-size: 10.5px; margin-top: 10px; }
.av-form-status.av-success { background: rgba(74,222,128,.08); color: #bbf7d0; border: 1px solid rgba(74,222,128,.2); }
.av-form-status.av-error { background: rgba(251,113,133,.07); color: #fecdd3; border: 1px solid rgba(251,113,133,.2); }
.av-form-status[hidden] { display: none; }
.av-turnstile { min-height: 66px; margin: 7px 0; overflow: hidden; }
.av-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.av-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--av-border);
  background: rgba(9,13,32,.96);
  color: #fff;
  border-radius: 11px;
  padding: 9px 12px;
  font-size: 10.5px;
  box-shadow: 0 15px 40px rgba(0,0,0,.35);
  transition: opacity .2s, transform .25s var(--av-ease);
}
.av-toast.av-show { opacity: 1; transform: translate(-50%, 0); }

.av-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Immersive desktop voice conversation mode */
.av-voice-stage {
  position: absolute;
  inset: 78px 14px 14px;
  z-index: 8;
  display: grid;
  grid-template-rows: auto minmax(250px, 1fr) auto auto;
  gap: 13px;
  overflow: hidden;
  padding: 18px 18px 15px !important;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  background:
    radial-gradient(circle at 50% 34%, rgba(124,58,237,.22), transparent 26%),
    radial-gradient(circle at 16% 18%, rgba(34,211,238,.12), transparent 27%),
    radial-gradient(circle at 88% 78%, rgba(236,72,153,.11), transparent 29%),
    linear-gradient(165deg, rgba(5,8,25,.99), rgba(7,12,35,.985) 54%, rgba(4,10,28,.99));
  isolation: isolate;
}
.av-voice-stage[hidden] { display: none !important; }
.av-voice-stage::before,
.av-voice-stage::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}
.av-voice-stage::before {
  width: 520px;
  height: 520px;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(129,140,248,.09);
  box-shadow: 0 0 80px rgba(124,58,237,.07) inset, 0 0 100px rgba(34,211,238,.035);
}
.av-voice-stage::after {
  width: 330px;
  height: 330px;
  left: -170px;
  bottom: -190px;
  background: radial-gradient(circle at 65% 30%, rgba(236,72,153,.14), rgba(124,58,237,.05) 45%, transparent 70%);
  filter: blur(2px);
}
.av-voice-ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.av-voice-ambient span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #d8f8ff; box-shadow: 0 0 9px currentColor; opacity: .55; animation: avVoiceStar 4.8s ease-in-out infinite; }
.av-voice-ambient span:nth-child(1) { left: 9%; top: 18%; color: var(--av-cyan); }
.av-voice-ambient span:nth-child(2) { left: 88%; top: 13%; color: #c084fc; animation-delay: -.8s; }
.av-voice-ambient span:nth-child(3) { left: 20%; top: 64%; color: #f0abfc; animation-delay: -1.7s; }
.av-voice-ambient span:nth-child(4) { left: 78%; top: 58%; color: var(--av-cyan); animation-delay: -2.5s; }
.av-voice-ambient span:nth-child(5) { left: 92%; top: 86%; color: #a5b4fc; animation-delay: -3.2s; }
.av-voice-ambient span:nth-child(6) { left: 8%; top: 88%; color: #f9a8d4; animation-delay: -4s; }
@keyframes avVoiceStar { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: .95; transform: scale(1.5); } }

/* Voice mode stays inside the normal Ask Vicky side panel. */
#ask-vicky-root.av-open.av-voice-mode .av-shell {
  right: 16px;
  width: min(440px, calc(100vw - 32px));
  transform: none;
  border-color: rgba(129,140,248,.2);
  box-shadow: 0 30px 90px rgba(0,0,0,.52), 0 0 52px rgba(124,58,237,.07);
}
#ask-vicky-root.av-voice-mode .av-main,
#ask-vicky-root.av-voice-mode .av-composer { opacity: 0; pointer-events: none; user-select: none; }
#ask-vicky-root.av-voice-mode .av-header { background: rgba(5,8,24,.94); }
#ask-vicky-root.av-voice-mode .av-toast { bottom: 94px; }

.av-voice-stage-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.av-voice-stage-top > div { min-width: 0; }
.av-voice-kicker { display: inline-flex; align-items: center; gap: 7px; color: #c4f7ff; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.av-voice-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--av-cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.1), 0 0 13px rgba(34,211,238,.8); animation: avPulse 1.8s ease-in-out infinite; }
.av-voice-stage-top p { margin: 3px 0 0; color: var(--av-faint); font-size: 10px; }
.av-voice-back { min-height: 34px; padding: 6px 10px; border-radius: 11px; border: 1px solid var(--av-border); background: rgba(255,255,255,.035); color: #dce5f7; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; transition: .2s ease; }
.av-voice-back:hover { color: #fff; border-color: rgba(34,211,238,.35); background: rgba(34,211,238,.07); }
.av-voice-back svg { width: 15px; height: 15px; }

.av-voice-core { min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4px 0 0; }
.av-voice-orb { width: 220px; height: 220px; position: relative; border: 0; padding: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; isolation: isolate; filter: drop-shadow(0 24px 30px rgba(0,0,0,.28)); }
.av-voice-orb::after { content: ""; position: absolute; width: 112px; height: 17px; bottom: -2px; border-radius: 50%; background: radial-gradient(ellipse, rgba(192,132,252,.42), rgba(34,211,238,.13) 42%, transparent 74%); filter: blur(8px); opacity: .7; }
.av-orb-aura { position: absolute; border-radius: 50%; border: 1px solid rgba(129,140,248,.16); }
.av-orb-aura-one { inset: 0; animation: avOrbAura 3.4s ease-in-out infinite; }
.av-orb-aura-two { inset: 17px; border-color: rgba(34,211,238,.17); animation: avOrbAura 3.4s ease-in-out -1.3s infinite reverse; }
.av-orb-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.av-orb-ring-one { inset: 30px; border: 1px dashed rgba(192,132,252,.28); animation: avOrbSpin 15s linear infinite; }
.av-orb-ring-two { inset: 43px; border: 1px solid rgba(34,211,238,.17); animation: avOrbSpin 10s linear infinite reverse; }
.av-orb-surface {
  width: 132px;
  height: 132px;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  background:
    radial-gradient(circle at 34% 25%, rgba(255,255,255,.52), transparent 13%),
    radial-gradient(circle at 62% 68%, rgba(34,211,238,.5), transparent 40%),
    radial-gradient(circle at 38% 52%, rgba(236,72,153,.72), transparent 46%),
    linear-gradient(135deg, #7c3aed, #6366f1 48%, #0891b2);
  box-shadow: 0 0 0 8px rgba(124,58,237,.08), 0 0 45px rgba(124,58,237,.5), 0 0 74px rgba(34,211,238,.2), inset 0 -20px 40px rgba(2,6,23,.28);
  animation: avOrbBreathe 3.2s ease-in-out infinite;
}
.av-orb-surface::before { content: ""; position: absolute; inset: 5px; border-radius: inherit; border: 1px solid rgba(255,255,255,.18); }
.av-orb-glow { position: absolute; width: 74px; height: 74px; left: 18px; top: 14px; border-radius: 50%; background: rgba(255,255,255,.17); filter: blur(14px); animation: avOrbGlow 4s ease-in-out infinite alternate; }
.av-orb-bars { position: relative; z-index: 3; height: 45px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.av-orb-bars i { width: 7px; height: 16px; border-radius: 99px; background: linear-gradient(180deg, #fff, #c4f7ff); box-shadow: 0 0 12px rgba(255,255,255,.48); transform-origin: center; }
.av-orb-bars i:nth-child(2), .av-orb-bars i:nth-child(6) { height: 25px; opacity: .88; }
.av-orb-bars i:nth-child(3), .av-orb-bars i:nth-child(5) { height: 35px; }
.av-orb-bars i:nth-child(4) { height: 45px; }
.av-orb-particle { position: absolute; z-index: 4; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px currentColor; }
.av-particle-one { left: 25px; top: 71px; color: #c084fc; animation: avParticleFloat 4.4s ease-in-out infinite; }
.av-particle-two { right: 18px; top: 105px; color: var(--av-cyan); animation: avParticleFloat 5.1s ease-in-out -1.5s infinite reverse; }
.av-particle-three { right: 52px; bottom: 26px; width: 4px; height: 4px; color: #f9a8d4; animation: avParticleFloat 3.8s ease-in-out -2.3s infinite; }
@keyframes avOrbAura { 0%,100% { transform: scale(.94); opacity: .35; } 50% { transform: scale(1.04); opacity: .9; } }
@keyframes avOrbSpin { to { transform: rotate(360deg); } }
@keyframes avOrbBreathe { 0%,100% { transform: scale(.97); } 50% { transform: scale(1.03); } }
@keyframes avOrbGlow { to { transform: translate(35px, 28px) scale(1.15); opacity: .55; } }
@keyframes avParticleFloat { 0%,100% { transform: translate3d(0,0,0) scale(.8); opacity: .45; } 50% { transform: translate3d(9px,-13px,0) scale(1.35); opacity: 1; } }

.av-voice-state { margin-top: 13px; min-height: 24px; color: #a5f3fc; font-size: 15px; font-weight: 680; letter-spacing: -.01em; text-shadow: 0 0 18px rgba(34,211,238,.25); }
.av-voice-transcript { width: min(480px, 94%); min-height: 42px; max-height: 64px; overflow: hidden; margin-top: 2px; color: #b3bad0; font-size: 11.5px; line-height: 1.48; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.av-voice-transcript[data-role="user"] { color: #e9e8ff; }
.av-voice-transcript[data-role="assistant"] { color: #d8f8ff; }

#ask-vicky-root.av-listening .av-orb-surface { animation: avOrbListen .95s ease-in-out infinite; box-shadow: 0 0 0 10px rgba(236,72,153,.08), 0 0 60px rgba(236,72,153,.52), 0 0 95px rgba(34,211,238,.28), inset 0 -20px 40px rgba(2,6,23,.26); }
#ask-vicky-root.av-listening .av-orb-aura-one { animation: avListenRing 1.4s ease-out infinite; border-color: rgba(236,72,153,.36); }
#ask-vicky-root.av-listening .av-orb-aura-two { animation: avListenRing 1.4s ease-out -.65s infinite; border-color: rgba(34,211,238,.38); }
#ask-vicky-root.av-listening .av-orb-bars i { animation: avVoiceBars .72s ease-in-out infinite alternate; }
#ask-vicky-root.av-listening .av-orb-bars i:nth-child(2) { animation-delay: -.19s; }
#ask-vicky-root.av-listening .av-orb-bars i:nth-child(3) { animation-delay: -.42s; }
#ask-vicky-root.av-listening .av-orb-bars i:nth-child(4) { animation-delay: -.11s; }
#ask-vicky-root.av-listening .av-orb-bars i:nth-child(5) { animation-delay: -.34s; }
#ask-vicky-root.av-listening .av-orb-bars i:nth-child(6) { animation-delay: -.26s; }
#ask-vicky-root.av-listening .av-orb-bars i:nth-child(7) { animation-delay: -.48s; }
#ask-vicky-root.av-thinking .av-orb-ring-one { animation-duration: 2.4s; border-style: solid; border-color: rgba(192,132,252,.48); }
#ask-vicky-root.av-thinking .av-orb-ring-two { animation-duration: 1.8s; border-color: rgba(34,211,238,.42); }
#ask-vicky-root.av-thinking .av-orb-bars { animation: avThinkingBars 1.2s ease-in-out infinite; }
#ask-vicky-root.av-speaking .av-orb-surface { animation: avOrbSpeak 1.1s ease-in-out infinite; }
#ask-vicky-root.av-speaking .av-orb-bars i { animation: avVoiceBars .5s ease-in-out infinite alternate; }
#ask-vicky-root.av-speaking .av-orb-bars i:nth-child(even) { animation-delay: -.25s; }
#ask-vicky-root.av-speaking .av-orb-ring-one { border-color: rgba(34,211,238,.44); }
#ask-vicky-root.av-speaking .av-orb-ring-two { border-color: rgba(236,72,153,.4); }
#ask-vicky-root.av-voice-paused .av-voice-orb { filter: saturate(.55) drop-shadow(0 20px 24px rgba(0,0,0,.25)); opacity: .72; }
#ask-vicky-root.av-voice-paused .av-orb-surface,
#ask-vicky-root.av-voice-paused .av-orb-aura,
#ask-vicky-root.av-voice-paused .av-orb-ring { animation-play-state: paused; }
@keyframes avOrbListen { 0%,100% { transform: scale(.96); } 50% { transform: scale(1.055); } }
@keyframes avListenRing { 0% { transform: scale(.78); opacity: .85; } 100% { transform: scale(1.16); opacity: 0; } }
@keyframes avVoiceBars { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1.14); } }
@keyframes avThinkingBars { 0%,100% { transform: scaleX(.8); opacity: .55; } 50% { transform: scaleX(1.2); opacity: 1; } }
@keyframes avOrbSpeak { 0%,100% { transform: scale(.98) rotate(-1deg); } 50% { transform: scale(1.045) rotate(1deg); } }

.av-voice-suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: min(510px, 100%); margin: 0 auto; }
.av-voice-suggestions button { min-height: 36px; border-radius: 12px; padding: 7px 10px; border: 1px solid rgba(129,140,248,.2); background: linear-gradient(135deg, rgba(124,58,237,.065), rgba(34,211,238,.035)); color: #dce4f8; font-size: 9px; font-weight: 500; letter-spacing: 0; line-height: 1.35; text-align: center; transition: transform .2s, border-color .2s, background .2s; }
.av-voice-suggestions button:hover { transform: translateY(-1px); border-color: rgba(34,211,238,.42); background: rgba(34,211,238,.075); color: #fff; }
.av-voice-controls { display: grid; grid-template-columns: repeat(4, 68px); align-items: start; justify-content: center; column-gap: 18px; padding-top: 4px; }
.av-voice-control { width: 68px; border: 0; padding: 0; background: transparent; color: var(--av-muted); display: grid; grid-template-rows: 52px auto; align-items: start; justify-items: center; gap: 6px; font-size: 9px; line-height: 1.2; }
.av-control-icon { width: 40px; height: 40px; align-self: center; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--av-border); background: rgba(255,255,255,.045); transition: .22s ease; }
.av-control-icon svg { width: 17px; height: 17px; }
.av-voice-control:hover .av-control-icon,
.av-voice-control.av-control-active .av-control-icon { color: #fff; border-color: rgba(34,211,238,.34); background: rgba(34,211,238,.08); transform: translateY(-1px); box-shadow: 0 0 20px rgba(34,211,238,.07); }
.av-voice-main-control .av-control-icon { width: 52px; height: 52px; margin-top: 0; border-radius: 18px; color: #fff; border-color: rgba(255,255,255,.26); background: linear-gradient(135deg, rgba(236,72,153,.95), rgba(124,58,237,.96) 52%, rgba(8,145,178,.92)); box-shadow: 0 10px 30px rgba(124,58,237,.32), 0 0 26px rgba(34,211,238,.13); }
.av-voice-main-control .av-control-icon svg { width: 22px; height: 22px; }
.av-voice-main-control:hover .av-control-icon,
.av-voice-main-control.av-control-active .av-control-icon { background: linear-gradient(135deg, #f472b6, #8b5cf6 50%, #06b6d4); box-shadow: 0 12px 34px rgba(124,58,237,.4), 0 0 32px rgba(34,211,238,.22); }
.av-control-label { white-space: nowrap; }

@media (max-width: 700px) {
  #ask-vicky-root.av-open.av-voice-mode .av-shell { right: 7px; width: auto; transform: none; }
  .av-voice-stage { inset: 72px 12px 12px; padding: 14px 13px 12px !important; grid-template-rows: auto minmax(235px,1fr) auto auto; gap: 10px; border-radius: 17px; }
  .av-voice-stage::before { width: 430px; height: 430px; }
  .av-voice-orb { width: 200px; height: 200px; }
  .av-orb-surface { width: 122px; height: 122px; }
  .av-voice-state { margin-top: 9px; font-size: 14px; }
  .av-voice-transcript { font-size: 11px; min-height: 38px; }
  .av-voice-suggestions { gap: 7px; }
  .av-voice-suggestions button { min-height: 36px; padding: 7px 8px; font-size: 9px; }
  .av-voice-controls { grid-template-columns: repeat(4, 64px); column-gap: 20px; }
  .av-voice-control { width: 64px; }
  .av-launcher { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); min-height: 50px; padding: 7px 12px 7px 7px; border-radius: 17px; }
  .av-launcher-icon { width: 36px; height: 36px; }
  .av-launcher-text { display: none; }
  .av-mobile-label { display: inline; }
  .av-shell {
    top: auto;
    left: 7px;
    right: 7px;
    bottom: max(7px, env(safe-area-inset-bottom));
    width: auto;
    height: min(92dvh, 780px);
    max-height: 92dvh;
    border-radius: 24px 24px 18px 18px;
    transform: translateY(28px) scale(.99);
    transform-origin: bottom center;
  }
  #ask-vicky-root.av-open .av-shell { transform: none; }
  #ask-vicky-root.av-minimised .av-shell { transform: translateY(25px) scale(.99); }
  .av-scrim { backdrop-filter: blur(2px); }
  .av-header { padding: 12px; min-height: 64px; }
  .av-avatar { width: 39px; height: 39px; border-radius: 13px; }
  .av-header-copy p { max-width: 170px; }
  .av-main { padding: 14px 12px 24px; }
  .av-bubble { font-size: 12.5px; }
  .av-composer { padding-left: 10px; padding-right: 10px; }
  .av-field-row, .av-contact-grid { grid-template-columns: 1fr; }
  .av-score-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 15px; }
  .av-score-ring { width: 82px; height: 82px; }
  .av-score-number { width: 60px; }
  .av-score-number strong { font-size: 18px; }
  .av-section-card { padding: 14px; }
  .av-progress-row { grid-template-columns: minmax(72px, .8fr) minmax(62px, 1.4fr) 34px; gap: 8px; }
}

@media (max-width: 380px) {
  .av-header-actions .av-clear { display: none; }
  .av-title-line h2 { font-size: 14px; }
  .av-mode-tab { font-size: 9.5px; }
  .av-shell { left: 4px; right: 4px; bottom: 4px; }
}

@media (max-width: 480px) {
  #ask-vicky-root.av-open.av-voice-mode .av-shell { right: 4px; left: 4px; width: auto; transform: none; }
  .av-voice-stage { inset: 68px 10px 10px; padding: 12px 10px 10px !important; border-radius: 15px; }
  .av-voice-stage-top p { display: none; }
  .av-voice-back span { display: none; }
  .av-voice-back { width: 34px; padding: 0; justify-content: center; }
  .av-voice-orb { width: 184px; height: 184px; }
  .av-orb-surface { width: 112px; height: 112px; }
  .av-orb-ring-one { inset: 27px; }
  .av-orb-ring-two { inset: 38px; }
  .av-voice-suggestions { grid-template-columns: 1fr 1fr; }
  .av-voice-controls { grid-template-columns: repeat(4, 58px); column-gap: 14px; }
  .av-voice-control { width: 58px; }
  .av-shell {
    left: 4px;
    right: 4px;
    bottom: max(4px, env(safe-area-inset-bottom));
    height: min(96dvh, 820px);
    max-height: 96dvh;
    width: auto;
  }
  .av-header-copy p { max-width: 118px; }
  .av-header-actions { gap: 1px; }
  .av-header-actions .av-icon-btn { width: 33px; height: 33px; }
  .av-main { padding-bottom: 20px !important; }
  .av-input-row { gap: 7px; }
  .av-send { width: 43px; height: 43px; }
  .av-chip { max-width: 100%; overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
  #ask-vicky-root.av-open.av-voice-mode .av-shell { left: 0; right: 0; width: 100%; transform: none; }
  .av-voice-stage { inset: 62px 8px 8px; grid-template-rows: auto minmax(215px,1fr) auto auto; padding: 10px 8px 8px !important; border-radius: 13px; }
  .av-voice-orb { width: 170px; height: 170px; }
  .av-orb-surface { width: 104px; height: 104px; }
  .av-voice-suggestions button { font-size: 8.7px; padding: 6px; }
  .av-voice-controls { grid-template-columns: repeat(4, 56px); column-gap: 10px; }
  .av-voice-control { width: 56px; }
  .av-shell { left: 0; right: 0; bottom: 0; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .av-header { padding: 10px !important; gap: 8px; }
  .av-avatar { width: 37px; height: 37px; border-radius: 12px; }
  .av-ai-avatar svg { width: 21px; height: 21px; }
  .av-header-copy p { max-width: 125px; }
  .av-icon-btn { width: 33px; height: 33px; }
  .av-main { padding: 12px 10px 18px !important; }
  .av-message { max-width: 97%; }
  .av-bubble { padding: 10px 11px; font-size: 12px; }
  .av-composer { padding-left: 8px !important; padding-right: 8px !important; padding-bottom: max(8px, env(safe-area-inset-bottom)) !important; }
  .av-mode-tab { padding-left: 8px; padding-right: 8px; }
  .av-composer-hint .av-keyboard-hint { display: none; }
  .av-voice-status { max-width: 78%; }
  .av-composer-hint { justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  #ask-vicky-root *,
  #ask-vicky-root *::before,
  #ask-vicky-root *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* ============================================================
   BACK-TO-TOP CONTROL WHILE ASK VICKY IS ENABLED
   The chatbot launcher uses the same bottom-right area on tablet
   and mobile. Remove `ask-vicky-enabled` from the <body> tag in
   index.html and project.html to restore the back-to-top button.
============================================================ */
body.ask-vicky-enabled .to-top {
  display: none !important;
}
