﻿:root {
  --ink: #020610;
  --ink-soft: #06101f;
  --panel: rgba(4, 13, 27, 0.78);
  --panel-solid: #06101f;
  --line: rgba(0, 111, 230, 0.32);
  --line-strong: rgba(0, 111, 230, 0.82);
  --electric: #006fe6;
  --neon: #00a2ff;
  --pearl: #efedff;
  --muted: #8c91a8;
  --soft: #b7b4cf;
  --violet: #9f8cff;
  --mint: #40f0b4;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
  scrollbar-color: rgba(0, 162, 255, 0.72) rgba(2, 6, 16, 0.92);
  scrollbar-width: thin;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159, 140, 255, 0.05) 1px, transparent 1px),
    var(--ink);
  background-size: 96px 96px, 96px 96px, auto;
  color: var(--pearl);
  font-family: "League Spartan", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

body.is-page-leaving main {
  opacity: 0.72;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

body.is-page-entering main {
  animation: pageEnter 180ms ease both;
}

#vx-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 0%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--electric), var(--neon), var(--electric));
  box-shadow: 0 0 18px rgba(0, 162, 255, 0.72);
  opacity: 0;
  transform-origin: left;
  transition: width 260ms ease, opacity 180ms ease;
}

#vx-progress-bar.is-visible {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(0, 162, 255, 0.32);
  color: white;
}

* {
  scrollbar-color: rgba(0, 162, 255, 0.72) rgba(2, 6, 16, 0.92);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(0, 111, 230, 0.08), rgba(2, 6, 16, 0.96)),
    var(--ink);
  border-left: 1px solid rgba(0, 162, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(0, 162, 255, 0.95), rgba(0, 111, 230, 0.72));
  border: 3px solid rgba(2, 6, 16, 0.96);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(0, 162, 255, 0.28);
}

::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(64, 240, 180, 0.95), rgba(0, 162, 255, 0.78));
}

::-webkit-scrollbar-corner {
  background: var(--ink);
}

.dash-error-stack pre::-webkit-scrollbar,
.mobile-menu::-webkit-scrollbar,
textarea::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  isolation: isolate;
  padding: 0 9vw;
  pointer-events: none;
  transition: height 220ms ease, padding 220ms ease, transform 220ms ease;
}

.site-header::before {
  position: absolute;
  inset: 10px clamp(18px, 7vw, 132px);
  z-index: 0;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(4, 13, 27, 0.82), rgba(3, 10, 22, 0.78));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  content: "";
  opacity: 1;
  pointer-events: none;
  transform: translateY(0) scale(1);
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.is-intro .site-header::before {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
}

.site-header.is-scrolled {
  height: 66px;
}

.site-header.is-scrolled::before,
body.menu-open .site-header::before {
  border-color: rgba(0, 162, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(4, 13, 27, 0.94), rgba(3, 10, 22, 0.92));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.site-header>* {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.brand-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 111, 230, 0.08);
  box-shadow: 0 6px 18px -6px rgba(0, 162, 255, 0.2);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled .brand-link {
  transform: translateY(-1px);
  margin-top: -5px;
  border-color: rgba(0, 162, 255, 0.36);
  box-shadow: 0 8px 22px -6px rgba(0, 162, 255, 0.32);
}

.connection-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.connection-popup[hidden] {
  display: none;
}

.connection-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.76);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.connection-popup__card {
  position: relative;
  width: min(100%, 430px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right,
      rgba(255, 196, 0, 0.1),
      transparent 42%),
    #10141c;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: #f7f8fa;
  text-align: center;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.connection-popup.is-visible .connection-popup__backdrop {
  opacity: 1;
}

.connection-popup.is-visible .connection-popup__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.connection-popup__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #aab2c0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.connection-popup__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb020;
  box-shadow: 0 0 14px rgba(255, 176, 32, 0.7);
}

.connection-popup__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: rgba(255, 176, 32, 0.09);
  color: #ffb020;
}

.connection-popup__icon svg {
  width: 29px;
  height: 29px;
}

.connection-popup__card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 28px);
}

.connection-popup__card p {
  margin: 0;
  color: #9ba4b3;
  line-height: 1.65;
}

.connection-popup__card button {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
  border: 0;
  border-radius: 13px;
  background: #f6bd16;
  color: #151515;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.connection-popup__card button:hover {
  transform: translateY(-2px);
}

.connection-popup__card button:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.connection-popup[data-connection-type="offline"] .connection-popup__dot {
  background: #ff5c5c;
  box-shadow: 0 0 14px rgba(255, 92, 92, 0.7);
}

.connection-popup[data-connection-type="server-offline"] .connection-popup__dot {
  background: #ffb020;
}

.brand-link img {
  width: 64px;
  height: 64px;
  margin-top: -8px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  min-width: 0;
  color: rgba(0, 162, 255, 0.72);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
  transition: transform 220ms ease, color 220ms ease;
}

.site-header.is-scrolled .site-nav {
  color: rgba(183, 180, 207, 0.92);
  transform: translateY(-1px);
}

.site-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 8px 0;
  color: rgba(140, 180, 235, 0.92);
  transition: color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--neon);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--pearl);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.language-link {
  display: inline-grid;
  min-width: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  place-items: center;
  padding: 8px 0;
  text-align: center;
}

.user-nav-link {
  display: inline-flex;
  max-width: 190px;
  align-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  gap: 8px;
  padding: 8px 0;
  color: rgba(0, 162, 255, 0.68);
  font: inherit;
  transition: color 180ms ease, transform 180ms ease;
}

.account-menu,
.language-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.account-menu::after,
.language-menu::after {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 12px;
  content: "";
}

.account-menu-panel,
.language-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 85;
  display: grid;
  min-width: 176px;
  gap: 4px;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 10, 22, 0.98);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  visibility: hidden;
}

.account-menu.is-open .account-menu-panel,
.language-menu.is-open .language-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.account-menu-panel a,
.account-menu-panel button,
.language-menu-panel a {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(239, 237, 255, 0.86);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  padding: 10px;
  text-align: left;
  transition: background 160ms ease, color 160ms ease;
}

.account-menu-panel a::after,
.language-menu-panel a::after {
  display: none;
}

.account-menu-panel a:hover,
.account-menu-panel a:focus-visible,
.account-menu-panel button:hover,
.account-menu-panel button:focus-visible,
.language-menu-panel a:hover,
.language-menu-panel a:focus-visible,
.language-menu-panel a.is-selected {
  background: rgba(0, 162, 255, 0.11);
  color: var(--pearl);
}

.account-menu-panel .account-logout {
  color: #ff9caf;
}

.account-menu-panel .account-logout:hover,
.account-menu-panel .account-logout:focus-visible {
  background: rgba(255, 143, 163, 0.1);
  color: #ffd0d9;
}

.language-menu-panel .language-flag {
  width: 26px;
  height: 18px;
  flex: 0 0 auto;
}

.user-nav-link img,
.user-nav-link span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(64, 240, 180, 0.3);
  border-radius: 999px;
  background: rgba(64, 240, 180, 0.1);
}

.user-nav-link img {
  object-fit: cover;
}

.user-nav-link span {
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
}

.user-nav-link strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-trigger:hover,
.account-menu-trigger:focus-visible,
.account-menu-trigger.is-active {
  color: var(--pearl);
}

.notification-nav {
  position: relative;
  flex: 0 0 auto;
}

.notification-button {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 6px;
  background: rgba(2, 6, 16, 0.72);
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-weight: 800;
}

.notification-button small {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 18px;
  border-radius: 999px;
  background: #ff9caf;
  color: #020610;
  font-size: 0.66rem;
  line-height: 18px;
  text-align: center;
}

.notification-button small[hidden] {
  display: none;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: grid;
  width: min(360px, calc(100vw - 32px));
  gap: 10px;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 8px;
  background: rgba(3, 10, 22, 0.98);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
  padding: 12px;
}

.notification-panel[hidden] {
  display: none;
}

.notification-panel-head {
  border-bottom: 1px solid rgba(0, 162, 255, 0.14);
  color: var(--pearl);
  padding: 4px 2px 10px;
}

.notification-list {
  display: grid;
  max-height: 360px;
  gap: 8px;
  overflow: auto;
}

.notification-item {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(239, 237, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
}

.notification-item.is-unread {
  border-color: rgba(64, 240, 180, 0.28);
  background: rgba(64, 240, 180, 0.07);
}

.notification-item.is-error {
  border-color: rgba(255, 143, 163, 0.36);
}

.notification-item strong {
  color: var(--pearl);
  font-size: 0.88rem;
}

.notification-item p,
.notification-empty {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.notification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notification-actions button {
  min-height: 32px;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 6px;
  background: rgba(0, 111, 230, 0.12);
  color: var(--pearl);
  padding: 0 10px;
}

.language-link::after {
  display: none;
}

.language-flag {
  display: inline-grid;
  width: 30px;
  height: 21px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(0, 111, 230, 0.16);
}

.language-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.35);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.74);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: var(--neon);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 88px 24px;
  background: rgba(2, 6, 16, 0.98);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a,
.mobile-menu button {
  border-bottom: 1px solid rgba(0, 162, 255, 0.18);
  background: transparent;
  cursor: pointer;
  padding: 14px 0;
  color: var(--pearl);
  font: inherit;
  font-size: 1.35rem;
  text-align: left;
}

.mobile-menu a.is-active,
.mobile-menu button.is-active {
  color: var(--neon);
}

.mobile-menu .mobile-logout-link {
  color: #ff9caf;
}

.mobile-language-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1120px) {
  .site-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }
}

.social-rail {
  position: fixed;
  bottom: 0;
  left: 5vw;
  z-index: 30;
  display: grid;
  justify-items: center;
  gap: 11px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
}

.social-rail a {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 6px;
  color: rgba(0, 162, 255, 0.8);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-rail svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-rail a:hover,
.social-rail a:focus-visible {
  border-color: var(--neon);
  color: var(--pearl);
  transform: translateY(-2px);
}

.social-rail span {
  display: block;
  width: 1px;
  height: 84px;
  background: linear-gradient(180deg, var(--electric), transparent);
}

.hero-section,
.page-main {
  position: relative;
  isolation: isolate;
}

.hero-section {
  display: flex;
  min-height: 92svh;
  align-items: center;
  padding: 120px 9vw 72px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  margin-left: 10vw;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.92rem;
}

.hero-content h1,
.about-heading h1,
.content-hero h1 {
  margin: 0;
  color: var(--pearl);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.hero-content h2 {
  margin: 2px 0 18px;
  color: rgba(239, 237, 255, 0.66);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.08;
}

.hero-copy,
.content-hero p,
.about-panel p,
.timeline-item p,
.project-card p,
.preview-card p,
.method-band p {
  color: var(--soft);
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  font-size: 1rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-metrics div {
  min-width: 120px;
  border-left: 1px solid rgba(0, 162, 255, 0.34);
  padding-left: 13px;
}

.hero-metrics strong {
  display: block;
  color: var(--pearl);
  font-size: 1.65rem;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.disabled-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-action {
  border: 1px solid var(--electric);
  background: var(--electric);
  color: white;
  box-shadow: 0 16px 42px rgba(0, 111, 230, 0.24);
}

.secondary-action {
  border: 1px solid rgba(0, 162, 255, 0.42);
  background: rgba(0, 111, 230, 0.08);
  color: var(--pearl);
}

.disabled-action {
  border: 1px solid rgba(159, 140, 255, 0.22);
  color: rgba(239, 237, 255, 0.52);
}

.primary-action:hover,
.primary-action:focus-visible,
.secondary-action:hover,
.secondary-action:focus-visible {
  transform: translateY(-2px);
}

.code-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.86;
}

.code-backdrop::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 16, 0.18), rgba(2, 6, 16, 0.92) 64%),
    repeating-linear-gradient(90deg, transparent 0 110px, rgba(0, 162, 255, 0.08) 111px 112px);
  content: "";
}

.code-window {
  position: absolute;
  width: 520px;
  max-width: 48vw;
  border-left: 1px solid rgba(0, 162, 255, 0.18);
  color: rgba(112, 153, 204, 0.36);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.65;
  animation: codeFloat 9s ease-in-out infinite;
}

.code-window pre {
  margin: 0;
  white-space: pre-wrap;
}

.code-window pre code.hljs,
.terminal-panel pre code.hljs {
  background: transparent;
  padding: 0;
}

.code-window-a {
  position: fixed;
  top: 13%;
  right: -9vw;
}

.code-window-ab {
  top: 16%;
  right: 9vw;
}

.code-window-b {
  right: 2vw;
  bottom: 4%;
  animation-delay: -3s;
}

.section-pad {
  padding: 86px 9vw;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.section-title {
  max-width: 520px;
  margin: 0;
  color: var(--pearl);
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.15;
}

.home-lab {
  border-top: 1px solid rgba(0, 162, 255, 0.12);
  border-bottom: 1px solid rgba(0, 162, 255, 0.12);
  background: rgba(6, 16, 31, 0.48);
}

.terminal-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.64);
  padding: 24px;
  box-shadow: inset 0 -3px 0 rgba(0, 111, 230, 0.38);
}

.terminal-panel::before {
  display: block;
  width: 64px;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric), var(--mint), var(--violet));
  content: "";
}

.terminal-panel pre {
  margin: 0;
}

.terminal-panel code {
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.focus-band {
  background: linear-gradient(90deg, rgba(0, 111, 230, 0.08), rgba(64, 240, 180, 0.04));
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.focus-card {
  border: 1px solid rgba(64, 240, 180, 0.18);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.58);
  padding: 24px;
}

.focus-card h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.35rem;
}

.focus-card p {
  margin: 10px 0 0;
  color: var(--soft);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.preview-card,
.project-card,
.timeline-item,
.skills-panel,
.about-panel,
.contact-form,
.contact-details {
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.76);
}

.preview-card {
  display: grid;
  min-height: 230px;
  align-content: start;
  gap: 10px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.preview-card:hover,
.preview-card:focus-visible {
  border-color: var(--line-strong);
  background: rgba(6, 16, 31, 0.94);
  transform: translateY(-4px);
}

.preview-card span,
.project-status,
.project-number,
.timeline-item span {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
}

.preview-card h3,
.timeline-item h2,
.skills-panel h2,
.project-card h2,
.method-band h2 {
  margin: 0;
  color: var(--pearl);
}

.preview-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
}

.preview-card p {
  margin: 0;
}

.page-main {
  min-height: 76vh;
  padding: 132px 9vw 36px;
}

.inner-page::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 128px 128px;
  content: "";
}

.content-hero {
  max-width: 880px;
}

.content-hero h1 {
  max-width: 860px;
  font-size: 3.25rem;
}

.content-hero p {
  max-width: 720px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.premium-page {
  padding-bottom: 72px;
}

.premium-hero {
  display: grid;
  min-height: calc(100svh - 168px);
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.premium-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--pearl);
  font-size: clamp(2.6rem, 5vw, 4.85rem);
  font-weight: 800;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.premium-hero-copy>p:not(.eyebrow) {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 1.08rem;
}

.premium-stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.premium-stats div {
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.62);
  padding: 16px;
}

.premium-stats strong,
.premium-card-head h2,
.premium-price strong,
.premium-status-panel strong,
.premium-feature-card h3,
.premium-included-copy h2 {
  color: var(--pearl);
}

.premium-stats strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.premium-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.premium-plan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 111, 230, 0.14), rgba(2, 6, 16, 0.18) 42%, rgba(2, 6, 16, 0.92)),
    linear-gradient(180deg, rgba(4, 13, 27, 0.94), rgba(2, 6, 16, 0.96));
  padding: 26px;
  box-shadow:
    inset 0 -3px 0 rgba(0, 111, 230, 0.34),
    0 24px 80px rgba(0, 111, 230, 0.16);
}

.premium-plan-card::before {
  position: absolute;
  inset: 0;
  border-top: 2px solid rgba(0, 162, 255, 0.54);
  background:
    linear-gradient(90deg, rgba(0, 162, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159, 140, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  opacity: 0.9;
  pointer-events: none;
}

.premium-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.premium-card-head img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 8px;
  background: rgba(0, 111, 230, 0.08);
  object-fit: contain;
  padding: 7px;
}

.premium-card-head span,
.premium-status-panel span {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.premium-card-head h2 {
  margin: 4px 0 0;
  font-size: 1.22rem;
}

.premium-price {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  margin-top: 34px;
}

.premium-price strong {
  font-size: clamp(2.9rem, 7vw, 4.25rem);
  font-weight: 800;
  line-height: 0.9;
}

.premium-price span {
  margin-bottom: 7px;
  color: var(--soft);
  font-weight: 700;
}

.premium-plan-card>p {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.premium-status-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin-top: 28px;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.78);
  padding: 18px;
}

.premium-status-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
}

.premium-status-panel ul,
.premium-included-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium-status-panel li,
.premium-included-list li {
  position: relative;
  padding-left: 22px;
  color: var(--soft);
}

.premium-status-panel li::before,
.premium-included-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(0, 162, 255, 0.55);
  content: "";
}

.premium-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
  border-top: 1px solid rgba(0, 162, 255, 0.12);
}

.premium-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.premium-feature-card {
  min-height: 220px;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.7);
  padding: 22px;
}

.premium-feature-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.premium-feature-card p {
  margin: 12px 0 0;
  color: var(--soft);
}

.premium-included {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1fr);
  gap: 36px;
  align-items: start;
  margin-right: -9vw;
  margin-left: -9vw;
  border-top: 1px solid rgba(64, 240, 180, 0.18);
  border-bottom: 1px solid rgba(64, 240, 180, 0.18);
  background: rgba(2, 6, 16, 0.54);
  padding: 44px 9vw;
}

.premium-included-copy h2 {
  max-width: 540px;
  margin: 0;
  font-size: 2rem;
  line-height: 1.12;
}

.premium-included-list {
  gap: 14px;
}

.premium-compare {
  display: grid;
  gap: 22px;
  border-top: 1px solid rgba(0, 162, 255, 0.12);
}

.premium-compare-head {
  display: grid;
  max-width: 780px;
  gap: 10px;
}

.premium-compare-head h2 {
  margin: 0;
  color: var(--pearl);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.premium-plan-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.premium-compare-card {
  display: grid;
  min-height: 300px;
  align-content: start;
  gap: 20px;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.7);
  padding: 22px;
}

.premium-compare-card-premium {
  border-color: rgba(0, 162, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 111, 230, 0.18), rgba(2, 6, 16, 0.76)),
    rgba(4, 13, 27, 0.82);
  box-shadow: inset 0 -3px 0 rgba(0, 111, 230, 0.34);
}

.premium-compare-card span {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.premium-compare-card strong {
  display: block;
  margin-top: 10px;
  color: var(--pearl);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.premium-compare-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.premium-compare-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium-compare-card li {
  position: relative;
  padding-left: 22px;
  color: var(--soft);
}

.premium-compare-card li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(0, 162, 255, 0.55);
  content: "";
}

.premium-compare-table {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.58);
}

.premium-compare-table>div {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(239, 237, 255, 0.08);
}

.premium-compare-table>div:first-child {
  border-top: 0;
}

.premium-compare-table strong,
.premium-compare-table span {
  padding: 16px;
}

.premium-compare-table strong {
  color: var(--pearl);
}

.premium-compare-table span {
  border-left: 1px solid rgba(239, 237, 255, 0.08);
  color: var(--soft);
}

@media (max-width: 1080px) {

  .premium-hero,
  .premium-summary,
  .premium-included {
    grid-template-columns: 1fr;
  }

  .premium-hero {
    min-height: auto;
  }

  .premium-feature-grid {
    grid-template-columns: 1fr;
  }

  .premium-plan-compare-grid,
  .premium-compare-table>div {
    grid-template-columns: 1fr;
  }

  .premium-compare-table span {
    border-top: 1px solid rgba(239, 237, 255, 0.08);
    border-left: 0;
  }
}

.about-main {
  display: grid;
  align-items: center;
}

.about-layout {
  position: relative;
  display: grid;
  min-height: 62vh;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.about-heading {
  max-width: 710px;
}

.about-heading h1 span {
  color: var(--electric);
}

.about-panel {
  position: relative;
  padding: 26px 28px;
  box-shadow: 8px 8px 0 rgba(0, 111, 230, 0.72);
}

.about-panel p {
  margin: 0 0 16px;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-stat,
.about-focus-card,
.capability-card,
.contact-card {
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.68);
}

.about-stat {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 20px;
}

.about-stat::before,
.capability-card::before,
.contact-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 162, 255, 0.14), transparent 52%);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.about-stat:hover::before,
.capability-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.about-stat strong,
.experience-highlights strong {
  display: block;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 1.5rem;
  line-height: 1;
}

.about-stat span,
.experience-highlights span,
.contact-card span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-focus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 58px;
}

.about-focus-card,
.capability-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.about-focus-card:hover,
.capability-card:hover {
  border-color: rgba(64, 240, 180, 0.42);
  background: rgba(6, 16, 31, 0.9);
  transform: translateY(-4px);
}

.about-focus-card>span,
.capability-card>span {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric), var(--mint));
}

.about-focus-card h2,
.capability-card h2,
.contact-details h2,
.contact-form-head h2 {
  margin: 0;
  color: var(--pearl);
}

.about-focus-card p,
.capability-card p {
  margin: 12px 0 0;
  color: var(--soft);
}

.inner-code {
  opacity: 0.4;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
  gap: 28px;
  padding-top: 54px;
}

.experience-highlights {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.experience-highlights div {
  border-left: 1px solid rgba(64, 240, 180, 0.34);
  padding-left: 14px;
}

.experience-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 54px;
  padding-bottom: 0;
}

.capability-card {
  min-height: 194px;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 24px 22px 36px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.timeline-item::before {
  position: absolute;
  top: 26px;
  left: 18px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 20px rgba(64, 240, 180, 0.34);
  content: "";
}

.timeline-item:hover {
  border-color: rgba(64, 240, 180, 0.34);
  background: rgba(6, 16, 31, 0.9);
  transform: translateX(4px);
}

.timeline-item small {
  color: rgba(239, 237, 255, 0.56);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
}

.timeline-item p {
  margin: 0;
}

.skills-panel {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 104px;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.skill-grid span,
.project-stack span {
  border: 1px solid rgba(159, 140, 255, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(239, 237, 255, 0.78);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
}

.skills-meter {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  border-top: 1px solid rgba(0, 162, 255, 0.16);
  padding-top: 20px;
}

.skills-meter h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1rem;
}

.language-meter {
  display: grid;
  gap: 8px;
}

.language-meter div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.language-meter strong {
  color: var(--pearl);
  font-size: 0.94rem;
}

.language-meter small {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  text-align: right;
}

.language-meter span {
  display: block;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 162, 255, 0.1);
}

.language-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 162, 255, 0.94), rgba(64, 240, 180, 0.78));
  transform-origin: left;
}

.method-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr);
  gap: 28px;
  margin: 12px 0 58px;
  border-top: 1px solid rgba(0, 162, 255, 0.18);
  border-bottom: 1px solid rgba(0, 162, 255, 0.18);
  padding: 34px 0;
}

.method-band div {
  display: grid;
  gap: 12px;
}

.method-band p {
  margin: 0;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.42);
  padding: 16px 18px;
}

.project-browser {
  padding-top: 54px;
}

.project-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: 14px;
  align-items: end;
}

.project-search,
.project-status-filter {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-search input,
.project-status-filter select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.82);
  color: var(--pearl);
  font: inherit;
  outline: none;
  padding: 0 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.project-search input:focus,
.project-status-filter select:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.14);
}

.project-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  max-height: 160px;
  overflow: auto;
  padding-right: 4px;
}

.filter-chip,
.contact-topic-row button {
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 111, 230, 0.08);
  color: rgba(239, 237, 255, 0.76);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  min-height: 34px;
  padding: 0 12px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active,
.contact-topic-row button:hover,
.contact-topic-row button:focus-visible,
.contact-topic-row button.is-active {
  border-color: rgba(64, 240, 180, 0.48);
  background: rgba(64, 240, 180, 0.1);
  color: var(--pearl);
  transform: translateY(-1px);
}

.project-count {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
}

.work-grid {
  display: grid;
  gap: 18px;
  padding-top: 24px;
}

.project-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.project-card:hover {
  border-color: rgba(0, 162, 255, 0.42);
  background: rgba(6, 16, 31, 0.92);
  transform: translateY(-3px);
}

.project-card[hidden] {
  display: none;
}

.project-image {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-radius: 8px;
  aspect-ratio: 16 / 7;
  background: rgba(0, 111, 230, 0.08);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card h2 {
  margin-top: 2px;
  font-size: 1.55rem;
}

.project-card p {
  max-width: 760px;
  margin: 8px 0 0;
}

.project-details {
  color: rgba(239, 237, 255, 0.56) !important;
  font-size: 0.94rem;
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project-empty {
  border: 1px dashed rgba(0, 162, 255, 0.24);
  border-radius: 8px;
  margin: 20px 0 0;
  padding: 24px;
  color: var(--soft);
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(340px, 1.3fr);
  gap: 24px;
  padding-top: 54px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
}

.contact-card a,
.contact-card strong {
  position: relative;
  display: block;
  margin-top: 7px;
  color: var(--pearl);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--neon);
}

.contact-details {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.contact-kicker {
  color: var(--neon) !important;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: var(--pearl);
  overflow-wrap: anywhere;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--neon);
}

.phone-gate {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(0, 162, 255, 0.16);
  margin-top: 8px;
  padding-top: 18px;
}

.phone-gate-heading {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.phone-gate-heading span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(64, 240, 180, 0.28);
  border-radius: 6px;
  background: rgba(64, 240, 180, 0.1);
  color: var(--mint);
}

.phone-gate-heading svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.phone-gate p {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.15;
}

.phone-gate form {
  display: grid;
  gap: 12px;
}

.phone-gate form[hidden] {
  display: none;
}

.phone-gate label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.phone-gate input {
  width: 100%;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 6px;
  background: rgba(2, 6, 16, 0.86);
  color: var(--pearl);
  outline: none;
  padding: 12px 13px;
}

.phone-result {
  min-height: 24px;
  color: var(--mint) !important;
}

.phone-result a {
  color: var(--mint);
  font-size: 1.2rem;
  font-weight: 800;
}

.phone-result.is-error {
  color: #ff8fa3 !important;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.contact-form-head {
  display: grid;
  gap: 6px;
}

.contact-form-head p {
  margin: 0;
  color: var(--soft);
}

.contact-topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 6px;
  background: rgba(2, 6, 16, 0.86);
  color: var(--pearl);
  outline: none;
  padding: 12px 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.14);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--mint);
}

.form-status.is-error {
  color: #ff8fa3;
}

.auth-body {
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(64, 240, 180, 0.035) 1px, transparent 1px),
    #020610;
  background-size: 118px 118px, 118px 118px, auto;
}

.auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 112px 22px 54px;
}

.auth-panel {
  width: min(460px, 100%);
  border: 1px solid rgba(0, 162, 255, 0.26);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.9);
  box-shadow: 10px 10px 0 rgba(0, 111, 230, 0.28);
  padding: 28px;
}

.auth-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.74);
}

.auth-logo img {
  width: 42px;
  height: 42px;
}

.auth-panel h1 {
  margin: 0;
  color: var(--pearl);
  font-size: 2.05rem;
  line-height: 1.06;
}

.auth-copy {
  margin: 12px 0 22px;
  color: var(--soft);
}

.auth-form {
  display: grid;
  gap: 15px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 6px;
  background: rgba(2, 6, 16, 0.9);
  color: var(--pearl);
  outline: none;
  padding: 12px 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.auth-form input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.14);
}

.auth-two-factor {
  display: grid;
  gap: 10px;
}

.auth-two-factor[hidden],
.auth-two-factor [hidden] {
  display: none;
}

.auth-two-factor-help {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.35;
}

.auth-two-factor .secondary-action {
  width: 100%;
}

.auth-form small {
  color: rgba(239, 237, 255, 0.5);
}

.auth-inline-link {
  justify-self: end;
  color: var(--neon);
  font-size: 0.9rem;
}

.auth-resend[hidden] {
  display: none;
}

.auth-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  color: var(--muted);
}

.auth-switch a,
.auth-dev-link {
  color: var(--neon);
}

.auth-result .primary-action {
  width: fit-content;
  margin-top: 4px;
}

.settings-page {
  min-height: 100vh;
  padding: 104px 5vw 54px;
}

.settings-shell {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  width: min(1380px, 100%);
  margin: 0 auto;
}

.settings-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 8px;
  background: rgba(3, 10, 22, 0.92);
  padding: 16px;
}

.settings-user-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 162, 255, 0.14);
  padding-bottom: 14px;
}

.settings-user-card strong,
.settings-user-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-user-card strong {
  color: var(--pearl);
}

.settings-user-card small {
  color: var(--muted);
}

.settings-side-nav {
  display: grid;
  gap: 4px;
}

.settings-side-nav a {
  border-radius: 6px;
  color: var(--soft);
  padding: 9px 10px;
}

.settings-side-nav a:hover,
.settings-side-nav a:focus-visible,
.settings-side-nav a.is-active {
  background: rgba(0, 111, 230, 0.16);
  color: var(--pearl);
}

.settings-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.settings-section {
  display: grid;
  gap: 14px;
  scroll-margin-top: 96px;
}

.settings-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.settings-section-header h1 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.9rem;
  line-height: 1.1;
}

.settings-panel {
  display: grid;
  align-content: start;
  gap: 15px;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.86);
  padding: 22px;
}

.settings-panel-compact {
  padding: 18px;
}

.settings-panel h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.18rem;
}

.settings-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.settings-panel input,
.settings-panel textarea,
.settings-panel select,
.settings-social-row input {
  width: 100%;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 6px;
  background: rgba(2, 6, 16, 0.9);
  color: var(--pearl);
  outline: none;
  padding: 12px 13px;
}

.settings-panel textarea {
  min-height: 160px;
  resize: vertical;
}

.settings-panel input[type="file"] {
  padding: 10px;
}

.settings-panel input:disabled {
  color: rgba(239, 237, 255, 0.5);
}

.settings-panel small {
  color: rgba(239, 237, 255, 0.5);
}

.settings-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.settings-check {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  color: var(--pearl) !important;
}

.settings-check input {
  width: auto;
  accent-color: var(--mint);
}

.settings-repeat {
  display: grid;
  gap: 10px;
}

.settings-repeat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-social-list {
  display: grid;
  gap: 8px;
}

.settings-social-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
}

.settings-social-row button {
  width: 34px;
  height: 42px;
  border: 1px solid rgba(255, 143, 163, 0.2);
  border-radius: 6px;
  background: rgba(255, 143, 163, 0.08);
  color: #ff9caf;
}

.settings-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.settings-panel-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.settings-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(64, 240, 180, 0.26);
  border-radius: 999px;
  background: rgba(64, 240, 180, 0.1);
  color: var(--mint);
  font-size: 1.25rem;
  font-weight: 800;
}

.settings-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-badge {
  border: 1px solid rgba(255, 143, 163, 0.28);
  border-radius: 999px;
  color: #ff9caf;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  padding: 5px 8px;
}

.settings-badge.is-on {
  border-color: rgba(64, 240, 180, 0.28);
  color: var(--mint);
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.totp-setup,
.totp-disable {
  display: grid;
  gap: 12px;
}

.totp-setup[hidden],
.totp-disable[hidden] {
  display: none;
}

.totp-setup img {
  border-radius: 8px;
  background: white;
  padding: 8px;
}

.totp-setup code {
  overflow-wrap: anywhere;
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
}

.settings-list {
  display: grid;
  gap: 10px;
}

.settings-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
}

.settings-list-item:has(> div:only-child) {
  grid-template-columns: 1fr;
}

.settings-list-item strong,
.settings-list-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-list-item small,
.settings-empty {
  color: var(--muted);
}

.settings-list-item button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 143, 163, 0.2);
  border-radius: 6px;
  background: rgba(255, 143, 163, 0.08);
  color: #ff9caf;
}

.settings-team-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.settings-team-head,
.settings-team-member {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.settings-team-head div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-team-head button,
.settings-team-member button {
  min-height: 34px;
  border: 1px solid rgba(255, 143, 163, 0.2);
  border-radius: 6px;
  background: rgba(255, 143, 163, 0.08);
  color: #ff9caf;
  padding: 0 10px;
}

.settings-team-members {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(0, 162, 255, 0.12);
  padding-top: 12px;
}

.settings-team-member {
  grid-template-columns: minmax(0, 1fr) 128px 34px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  padding: 8px;
}

.settings-team-member:has(button:last-child:nth-child(2)),
.settings-team-member:has(select:last-child) {
  grid-template-columns: minmax(0, 1fr) 128px;
}

.settings-team-member strong,
.settings-team-member small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-team-member small {
  color: var(--muted);
}

.settings-team-member select {
  min-height: 34px;
  padding: 6px 8px;
}

.settings-danger-zone {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255, 143, 163, 0.2);
  padding-top: 16px;
}

.settings-table-wrap {
  overflow-x: auto;
}

.settings-table {
  width: 100%;
  border-collapse: collapse;
}

.settings-table td {
  border-top: 1px solid rgba(239, 237, 255, 0.08);
  color: var(--soft);
  padding: 10px 8px;
}

.settings-table a {
  color: var(--mint);
}

.billing-panel {
  gap: 22px;
}

.billing-plan-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  border-bottom: 1px solid rgba(0, 162, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 162, 255, 0.12), rgba(64, 240, 180, 0.06) 44%, transparent 72%),
    rgba(2, 6, 16, 0.42);
  margin: -6px -6px 0;
  padding: 22px 22px 24px;
}

.billing-plan-card h2,
.billing-plan-card p {
  margin: 8px 0 0;
}

.billing-plan-copy p {
  max-width: 560px;
  color: var(--muted);
}

.billing-price {
  display: grid;
  gap: 2px;
  text-align: right;
}

.billing-price strong {
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
}

.billing-price small {
  color: var(--muted);
}

.billing-content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.billing-current-plan {
  display: grid;
  gap: 7px;
  border-left: 3px solid var(--mint);
  background: rgba(64, 240, 180, 0.05);
  padding: 14px 16px;
}

.billing-current-plan span,
.billing-current-plan small {
  color: var(--muted);
}

.billing-current-plan strong {
  color: var(--pearl);
  font-size: 1.45rem;
  line-height: 1;
}

.billing-feature-list {
  display: grid;
  gap: 10px;
}

.billing-feature-list ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.billing-feature-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(239, 237, 255, 0.82);
  list-style: none;
}

.billing-feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(64, 240, 180, 0.45);
}

.billing-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(0, 162, 255, 0.14);
  padding-top: 18px;
}

.billing-action-row p {
  max-width: 560px;
  margin: 0;
  color: var(--soft);
}

.billing-action-row>div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.billing-history {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(0, 162, 255, 0.14);
  padding-top: 18px;
}

.settings-created-key {
  overflow-wrap: anywhere;
  border: 1px solid rgba(64, 240, 180, 0.24);
  border-radius: 6px;
  background: rgba(64, 240, 180, 0.08);
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  padding: 12px;
}

.api-usage-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.api-usage-card {
  display: grid;
  gap: 12px;
  min-height: 146px;
  align-content: start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(4, 13, 27, 0.8);
  padding: 18px;
}

.api-usage-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--neon), transparent);
  opacity: 0.72;
}

.api-usage-card-primary {
  border-color: rgba(64, 240, 180, 0.2);
}

.api-usage-card-primary::before {
  background: linear-gradient(90deg, var(--mint), var(--neon), transparent);
}

.api-usage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.api-usage-card span,
.api-usage-card small {
  color: var(--muted);
}

.api-usage-card strong {
  overflow-wrap: anywhere;
  color: var(--soft);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(1.2rem, 2.2vw, 1.58rem);
  line-height: 1.1;
}

.quota-meter {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-radius: 999px;
  background: rgba(2, 6, 16, 0.76);
}

.quota-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--electric), var(--mint));
  transition: width 240ms ease;
}

.quota-meter.is-unlimited span {
  background: linear-gradient(90deg, var(--violet), var(--mint));
}

.api-usage-panel {
  gap: 18px;
}

.api-usage-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.api-usage-stats span {
  display: grid;
  gap: 3px;
  border-left: 2px solid rgba(0, 162, 255, 0.55);
  background: rgba(0, 111, 230, 0.08);
  padding: 10px 12px;
}

.api-usage-stats small {
  color: var(--muted);
}

.api-usage-stats strong {
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
}

.api-usage-chart {
  display: grid;
  grid-template-columns: repeat(14, minmax(26px, 1fr));
  gap: 10px;
  min-height: 258px;
  align-items: end;
  border-top: 1px solid rgba(0, 162, 255, 0.12);
  padding-top: 14px;
}

.api-usage-bar {
  display: grid;
  min-width: 0;
  height: 224px;
  align-items: end;
  gap: 8px;
}

.api-usage-bar span {
  display: block;
  min-height: 4px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--mint), var(--electric));
  box-shadow: 0 0 18px rgba(0, 162, 255, 0.16);
}

.api-usage-bar.is-general span {
  background: linear-gradient(180deg, var(--mint), var(--neon), var(--electric));
}

.api-usage-bar small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .api-usage-overview {
    grid-template-columns: 1fr;
  }

  .api-usage-chart {
    grid-template-columns: repeat(7, minmax(34px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .api-usage-bar {
    height: 164px;
  }
}

.profile-page {
  width: min(1120px, 100%);
  min-height: 78vh;
  margin: 0 auto;
  padding: 132px 9vw 54px;
}

.profile-header {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 26px;
}

.profile-avatar {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(64, 240, 180, 0.26);
  border-radius: 999px;
  background: rgba(64, 240, 180, 0.1);
  color: var(--mint);
  font-size: 2.4rem;
  font-weight: 800;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header h1 {
  margin: 0;
  color: var(--pearl);
  font-size: 3rem;
  line-height: 1.04;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
}

.profile-main-card,
.profile-side-card {
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.86);
  padding: 22px;
}

.profile-bio {
  color: var(--soft);
}

.profile-bio h3,
.profile-bio h4,
.profile-side-card h2 {
  margin: 0 0 10px;
  color: var(--pearl);
}

.profile-bio p {
  margin: 0 0 12px;
}

.profile-bio a,
.profile-side-card a {
  color: var(--neon);
  overflow-wrap: anywhere;
}

.profile-muted {
  margin: 4px 0 0;
  color: var(--muted);
}

.profile-side-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.profile-side-card p,
.profile-links {
  display: grid;
  gap: 4px;
  margin: 0;
}

.profile-side-card strong,
.profile-links strong {
  color: var(--pearl);
}

.profile-side-card span {
  color: var(--soft);
}

.not-found {
  display: grid;
  min-height: 52vh;
  align-content: center;
}

.not-found .primary-action {
  width: fit-content;
  margin-top: 10px;
}

.legal-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
  padding-top: 48px;
}

.legal-list article {
  border-left: 1px solid rgba(0, 162, 255, 0.38);
  padding: 4px 0 4px 20px;
}

.legal-list h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.45rem;
}

.legal-list p {
  margin: 8px 0 0;
  color: var(--soft);
}

.vexa-body {
  background: #07090d;
}

.vexa-app-body {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: #07090d;
}

.vexa-app {
  display: grid;
  height: 100svh;
  min-height: 0;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.vexa-page {
  display: grid;
  width: min(1460px, calc(100% - 48px));
  gap: 18px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 104px 0 34px;
}

.vexa-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.vexa-heading h1 {
  max-width: 860px;
  margin: 0;
  color: var(--pearl);
  font-size: 2.24rem;
  line-height: 1.04;
}

.vexa-heading p:last-child {
  max-width: 780px;
  margin: 8px 0 0;
  color: rgba(239, 237, 255, 0.66);
}

.vexa-login-panel {
  display: grid;
  width: min(680px, 100%);
  gap: 12px;
  align-self: center;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 8px;
  background: rgba(12, 14, 18, 0.94);
  padding: 28px;
}

.vexa-login-panel h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.8rem;
  line-height: 1.08;
}

.vexa-login-panel p {
  margin: 0;
  color: var(--soft);
}

.vexa-login-panel .primary-action {
  width: fit-content;
  margin-top: 8px;
}

.vexa-app .vexa-login-panel {
  justify-self: center;
}

.vexa-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 292px;
  gap: 12px;
  min-height: 720px;
}

.vexa-sidebar,
.vexa-chat-panel,
.vexa-summary-panel {
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: rgba(10, 12, 16, 0.97);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.vexa-sidebar {
  display: grid;
  min-height: 0;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
  padding: 14px;
}

.vexa-sidebar-backdrop,
.vexa-mobile-sidebar-button {
  display: none;
}

.vexa-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.vexa-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--pearl);
  font-weight: 800;
}

.vexa-brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.vexa-brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-mini-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pearl);
  padding: 0;
}

.vexa-mini-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-sidebar-top {
  display: grid;
  gap: 10px;
}

.vexa-new-chat {
  width: 100%;
  gap: 8px;
}

.vexa-new-chat svg,
.vexa-attachment svg,
.vexa-mic svg,
.vexa-send svg,
.vexa-icon-action svg,
.vexa-summary-close svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-search {
  display: grid;
  gap: 6px;
  color: rgba(239, 237, 255, 0.62);
  font-size: 0.82rem;
}

.vexa-search input,
.vexa-composer textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: #101318;
  color: var(--pearl);
  outline: none;
  padding: 10px 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.vexa-search input {
  height: 40px;
}

.vexa-search input:focus,
.vexa-composer textarea:focus {
  border-color: rgba(0, 162, 255, 0.72);
  background: #0b1018;
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.12);
}

.vexa-history {
  display: grid;
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(239, 237, 255, 0.08);
  padding-top: 13px;
}

.vexa-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vexa-side-title strong {
  color: var(--pearl);
  font-size: 0.92rem;
}

.vexa-side-title small,
.vexa-side-title span {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
}

.vexa-chat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.vexa-chat-tabs button {
  min-height: 32px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.78rem;
}

.vexa-chat-tabs button.is-active {
  border-color: rgba(0, 162, 255, 0.42);
  background: rgba(0, 111, 230, 0.14);
  color: var(--pearl);
}

.vexa-chat-list {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.vexa-chat-item {
  display: grid;
  position: relative;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
  color: var(--soft);
  padding: 9px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vexa-chat-item:hover,
.vexa-chat-item:focus-visible,
.vexa-chat-item.is-active {
  border-color: rgba(0, 162, 255, 0.42);
  background: rgba(0, 111, 230, 0.12);
  color: var(--pearl);
}

.vexa-chat-item.is-active {
  box-shadow: inset 0 0 0 1px rgba(0, 162, 255, 0.08), 0 10px 26px rgba(0, 111, 230, 0.08);
}

.vexa-chat-item.is-responding {
  border-color: rgba(0, 162, 255, 0.34);
  background: linear-gradient(180deg, rgba(0, 111, 230, 0.13), rgba(255, 255, 255, 0.022));
}

.vexa-chat-item.has-open-menu {
  z-index: 40;
}

.vexa-chat-item:active {
  transform: translateY(1px);
}

.vexa-chat-open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: start;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0 30px 0 0;
  text-align: left;
}

.vexa-chat-item-main,
.vexa-chat-item-main strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-chat-item-main small {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vexa-chat-title-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.vexa-chat-title-line svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-chat-item-main strong {
  min-width: 0;
  color: currentColor;
  font-size: 0.84rem;
  line-height: 1.2;
}

.vexa-chat-item-main small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.25;
}

.vexa-chat-item-meta {
  display: inline-flex;
  max-width: 86px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(239, 237, 255, 0.62);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.6rem;
  line-height: 1;
  padding: 4px 7px;
  white-space: nowrap;
}

.vexa-chat-item-meta span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vexa-chat-item-meta.is-responding {
  background: rgba(0, 162, 255, 0.14);
  color: #91d8ff;
}

.vexa-chat-activity-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 0 rgba(0, 162, 255, 0.36);
  animation: vexaActivityPulse 1.2s ease-out infinite;
}

.vexa-pin-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.12);
}

.vexa-chat-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 8;
  display: block;
}

.vexa-chat-more {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 5px;
  background: rgba(13, 16, 22, 0.96);
  color: var(--muted);
  opacity: 0;
  padding: 0;
  pointer-events: none;
  transition: opacity 140ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.vexa-chat-item:hover .vexa-chat-more,
.vexa-chat-item:focus-within .vexa-chat-more,
.vexa-chat-more[aria-expanded="true"] {
  opacity: 1;
  pointer-events: auto;
}

.vexa-chat-actions svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-chat-more:hover,
.vexa-chat-more:focus-visible,
.vexa-chat-more[aria-expanded="true"] {
  border-color: rgba(0, 162, 255, 0.38);
  background: rgba(0, 111, 230, 0.18);
  color: var(--pearl);
}

.vexa-chat-menu {
  position: absolute;
  top: 33px;
  right: 0;
  z-index: 20;
  display: none;
  min-width: 162px;
  gap: 2px;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 7px;
  background: #11151d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  padding: 5px;
}

.vexa-chat-menu.is-open {
  display: grid;
}

.vexa-chat-menu button {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(239, 237, 255, 0.78);
  padding: 0 8px;
  text-align: left;
}

.vexa-chat-menu button:hover,
.vexa-chat-menu button:focus-visible {
  background: rgba(0, 111, 230, 0.16);
  color: var(--pearl);
}

.vexa-chat-menu button.is-danger {
  color: #ff9caf;
}

.vexa-quota-card {
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(239, 237, 255, 0.08);
  padding-top: 13px;
}

.vexa-quota-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(239, 237, 255, 0.68);
  padding: 8px 9px;
}

.vexa-quota-meter strong {
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
}

.vexa-quota-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.vexa-billing-link {
  min-height: 34px;
  justify-content: center;
}

.vexa-billing-link[hidden] {
  display: none;
}

.vexa-list-empty,
.vexa-empty {
  border: 1px dashed rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  color: var(--muted);
  padding: 14px;
}

.vexa-list-empty {
  border: 0;
  background: transparent;
  padding: 8px 2px;
}

.vexa-empty {
  align-self: center;
  justify-self: center;
  width: min(420px, 100%);
  text-align: center;
}

.vexa-empty.is-error {
  border-color: rgba(255, 143, 163, 0.2);
  color: #ff9caf;
}

.vexa-starters {
  display: grid;
  width: min(720px, 100%);
  gap: 24px;
  align-self: center;
  justify-self: center;
  padding: 40px 0 20px;
}

.vexa-starters-copy {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.vexa-starters-copy strong {
  color: var(--pearl);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.vexa-starters-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(239, 237, 255, 0.45);
  font-size: 0.88rem;
  line-height: 1.4;
}

.vexa-starter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vexa-starter-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 12px;
  background: transparent;
  color: rgba(239, 237, 255, 0.75);
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.vexa-starter-card:hover,
.vexa-starter-card:focus-visible {
  border-color: rgba(239, 237, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.vexa-starter-card strong {
  color: var(--pearl);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
}

.vexa-starter-card small {
  color: rgba(239, 237, 255, 0.4);
  font-size: 0.76rem;
  line-height: 1.3;
}

.vexa-chat-panel {
  display: grid;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.vexa-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.09);
  background: rgba(17, 19, 23, 0.88);
  padding: 14px;
}

.vexa-chat-header>div:first-child {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 9px;
  align-items: center;
}

.vexa-chat-header h1 {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: var(--pearl);
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-chat-header p {
  grid-column: 2;
  margin: 2px 0 0;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
}

.vexa-header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
}

.vexa-icon-action {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
  padding: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.vexa-icon-action:hover,
.vexa-icon-action:focus-visible {
  border-color: rgba(0, 162, 255, 0.42);
  background: rgba(0, 111, 230, 0.14);
  color: var(--electric);
}

.vexa-icon-action:active {
  transform: translateY(1px);
}

.vexa-status-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--electric);
  box-shadow: 0 0 0 5px rgba(0, 162, 255, 0.12);
}

.vexa-status-dot.is-responding {
  background: #ffd073;
  box-shadow: 0 0 0 5px rgba(255, 196, 87, 0.1);
}

.vexa-summary-button {
  min-height: 36px;
  padding: 0 12px;
  white-space: nowrap;
}

.vexa-messages {
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0, min(760px, 100%));
  justify-content: center;
  gap: 6px;
  min-height: 0;
  overflow: auto;
  padding: 20px 24px 28px;
  scroll-padding-bottom: 120px;
}

.vexa-message {
  display: grid;
  width: 100%;
  gap: 4px;
  justify-self: center;
  padding: 8px 0;
}

.vexa-message.is-user {
  justify-self: center;
}

.vexa-message-content {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: flex-start;
}

.vexa-message.is-user .vexa-message-content {
  flex-direction: row-reverse;
}

.vexa-message.is-editing .vexa-message-content,
.vexa-message.is-user.is-editing .vexa-message-content {
  width: min(720px, 82%);
  max-width: min(720px, 82%);
}

.vexa-message-avatar {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(0, 162, 255, 0.15);
  color: rgba(239, 237, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.vexa-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vexa-message-avatar.is-assistant {
  background: transparent;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.vexa-message-avatar.is-user {
  background: rgba(255, 255, 255, 0.08);
}

.vexa-message-body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  color: rgba(239, 237, 255, 0.9);
  line-height: 1.65;
  font-size: 0.92rem;
  padding: 2px 0;
}

.vexa-message-body h1,
.vexa-message-body h2,
.vexa-message-body h3,
.vexa-message-body h4,
.vexa-message-body h5,
.vexa-message-body h6 {
  color: var(--pearl);
  font-weight: 820;
  line-height: 1.25;
  margin: 16px 0 6px;
}

.vexa-message-body h1 {
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}

.vexa-message-body h2 {
  font-size: 1.16rem;
  letter-spacing: -0.015em;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
}

.vexa-message-body h3 {
  font-size: 1.04rem;
}

.vexa-message-body h4,
.vexa-message-body h5,
.vexa-message-body h6 {
  font-size: 0.96rem;
}

.vexa-message-body h1:first-child,
.vexa-message-body h2:first-child,
.vexa-message-body h3:first-child {
  margin-top: 4px;
}

.vexa-markdown-hr {
  border: 0;
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(0, 162, 255, 0.4), transparent);
}

.vexa-markdown-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 10px 0;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 10px;
  background: rgba(3, 6, 12, 0.72);
}

.vexa-markdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  line-height: 1.4;
}

.vexa-markdown-table th,
.vexa-markdown-table td {
  min-width: 96px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

.vexa-markdown-table th {
  color: var(--pearl);
  background: rgba(0, 162, 255, 0.08);
  font-weight: 720;
  letter-spacing: 0.01em;
}

.vexa-markdown-table tr:last-child td {
  border-bottom: 0;
}

.vexa-markdown-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.vexa-message-body table {
  width: 100%;
}

.vexa-message.is-user .vexa-message-body {
  width: fit-content;
  max-width: 75%;
  background: rgba(0, 111, 230, 0.15);
  border: 1px solid rgba(0, 162, 255, 0.1);
  border-radius: 16px;
  padding: 8px 14px;
}

.vexa-message-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 22px;
  padding-left: 42px;
  opacity: 0;
  transition: opacity 140ms ease;
}

.vexa-message.is-user .vexa-message-footer {
  justify-content: flex-end;
  padding-left: 0;
}

.vexa-message:hover .vexa-message-footer,
.vexa-message:focus-within .vexa-message-footer {
  opacity: 1;
}

.vexa-message.is-user:hover .vexa-message-footer,
.vexa-message.is-user:focus-within .vexa-message-footer {
  opacity: 0.7;
}

.vexa-message-thought {
  min-width: 0;
  color: rgba(239, 237, 255, 0.3);
  font-size: 0.72rem;
}

.vexa-message-actions {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
}

.vexa-reasoning {
  width: min(100%, 820px);
  justify-self: start;
}

.vexa-reasoning-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: rgba(239, 237, 255, 0.86);
  cursor: pointer;
  font: inherit;
  padding: 2px 0;
}

.vexa-reasoning-toggle:hover,
.vexa-reasoning-toggle:focus-visible {
  color: var(--pearl);
}

.vexa-reasoning-toggle-main {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 620;
}

.vexa-reasoning-toggle small {
  color: rgba(239, 237, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 650;
  white-space: nowrap;
}

.vexa-reasoning-chevron {
  display: inline-grid;
  place-items: center;
  transition: transform 160ms ease;
}

.vexa-reasoning-chevron svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-reasoning.is-open .vexa-reasoning-chevron {
  transform: rotate(180deg);
}

.vexa-reasoning-panel {
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  max-height: min(520px, 62vh);
  overflow: auto;
  margin-top: 8px;
  border: 1px solid rgba(127, 200, 255, 0.22);
  border-radius: 10px;
  background: rgba(3, 6, 12, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  padding: 14px;
  scrollbar-color: rgba(239, 237, 255, 0.22) transparent;
  scrollbar-width: thin;
}

.vexa-reasoning-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.vexa-reasoning-head strong,
.vexa-reasoning-head small {
  display: block;
}

.vexa-reasoning-head strong {
  color: rgba(239, 237, 255, 0.96);
  font-size: 0.95rem;
  font-weight: 720;
}

.vexa-reasoning-head small {
  margin-top: 4px;
  color: rgba(239, 237, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.35;
}

.vexa-reasoning-copy {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(239, 237, 255, 0.78);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 760;
  padding: 6px 8px;
}

.vexa-reasoning-copy:hover,
.vexa-reasoning-copy:focus-visible,
.vexa-reasoning-copy.is-copied {
  background: rgba(255, 255, 255, 0.12);
  color: var(--pearl);
}

.vexa-reasoning-group {
  display: grid;
  gap: 10px;
}

.vexa-reasoning-group > strong {
  color: rgba(239, 237, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 720;
}

.vexa-reasoning-timeline {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vexa-reasoning-step {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
}

.vexa-reasoning-dot {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: rgba(239, 237, 255, 0.74);
  font-size: 0.85rem;
  line-height: 1;
}

.vexa-reasoning-dot svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.vexa-reasoning-step.is-stage .vexa-reasoning-dot {
  font-size: 1rem;
  width: 28px;
  height: 28px;
}

.vexa-reasoning-step.is-stage .vexa-reasoning-step-title strong {
  font-weight: 600;
  color: rgba(239, 237, 255, 0.95);
}

.vexa-reasoning-step.is-running .vexa-reasoning-dot {
  color: rgba(0, 162, 255, 0.96);
  animation: vexaActivityPulse 1.2s ease-in-out infinite;
}

.vexa-reasoning-step.is-failed .vexa-reasoning-dot,
.vexa-reasoning-step.is-error .vexa-reasoning-dot,
.vexa-reasoning-step.is-denied .vexa-reasoning-dot {
  color: #ff7a9a;
}

.vexa-reasoning-step.is-cancelled .vexa-reasoning-dot {
  color: #ffd36e;
}

.vexa-reasoning-step-card {
  min-width: 0;
}

.vexa-reasoning-step-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.vexa-reasoning-step-title strong {
  min-width: 0;
  color: rgba(239, 237, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 740;
  line-height: 1.3;
}

.vexa-reasoning-step-title span {
  flex: 0 0 auto;
  color: rgba(239, 237, 255, 0.45);
  font-size: 0.66rem;
  font-weight: 650;
}

.vexa-reasoning-step-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.vexa-reasoning-step-meta span,
.vexa-reasoning-artifacts a,
.vexa-reasoning-artifacts span {
  max-width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(239, 237, 255, 0.68);
  font-size: 0.64rem;
  padding: 3px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-reasoning-step-detail {
  display: grid;
  gap: 4px;
  margin-top: 5px;
}

.vexa-reasoning-step-detail p {
  margin: 0;
  color: rgba(239, 237, 255, 0.62);
  font-size: 0.74rem;
  line-height: 1.4;
}

.vexa-reasoning-details {
  margin-top: 8px;
}

.vexa-reasoning-details summary {
  width: max-content;
  max-width: 100%;
  color: rgba(127, 200, 255, 0.82);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 720;
}

.vexa-reasoning-preview {
  margin: 7px 0 0;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: rgba(1, 5, 12, 0.86);
}

.vexa-reasoning-preview figcaption {
  border-bottom: 1px solid rgba(239, 237, 255, 0.07);
  color: rgba(239, 237, 255, 0.54);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.62rem;
  padding: 6px 8px;
}

.vexa-reasoning-preview pre {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  padding: 9px;
  scrollbar-color: rgba(0, 162, 255, 0.72) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

.vexa-reasoning-preview code {
  display: block;
  color: rgba(217, 255, 241, 0.84);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.64rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.vexa-reasoning-files {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.vexa-reasoning-file {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(239, 237, 255, 0.82);
  padding: 6px;
  text-decoration: none;
}

.vexa-reasoning-file img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}

.vexa-reasoning-file svg {
  width: 16px;
  height: 16px;
  justify-self: center;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-reasoning-file span {
  min-width: 0;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-reasoning-artifacts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 8px;
}

.vexa-reasoning-artifacts strong {
  color: rgba(239, 237, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 720;
}

.vexa-reasoning-empty {
  margin: 0;
  color: rgba(239, 237, 255, 0.5);
  font-size: 0.75rem;
}

.vexa-message-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.vexa-message-action {
  display: grid;
  width: 27px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.075);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(239, 237, 255, 0.48);
  padding: 0;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.vexa-message-action:hover,
.vexa-message-action:focus-visible,
.vexa-message-action.is-copied {
  border-color: rgba(0, 162, 255, 0.34);
  background: rgba(0, 111, 230, 0.12);
  color: var(--pearl);
  transform: translateY(-1px);
}

.vexa-message-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-scroll-bottom {
  position: sticky;
  right: 0;
  bottom: 6px;
  z-index: 6;
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  justify-self: end;
  gap: 7px;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 999px;
  background: rgba(12, 17, 26, 0.94);
  color: rgba(239, 237, 255, 0.8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  padding: 0 12px;
  backdrop-filter: blur(12px);
  transition: opacity 140ms ease, transform 140ms ease, border-color 160ms ease, color 160ms ease;
}

.vexa-scroll-bottom.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.vexa-scroll-bottom:hover,
.vexa-scroll-bottom:focus-visible {
  border-color: rgba(0, 162, 255, 0.5);
  color: var(--pearl);
}

.vexa-scroll-bottom svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-message.is-user .vexa-message-body {
  border-color: rgba(0, 162, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 111, 230, 0.28), rgba(0, 67, 145, 0.2));
  box-shadow: 0 16px 36px rgba(0, 111, 230, 0.08), 0 14px 30px rgba(0, 0, 0, 0.14);
}

.vexa-message.is-editing {
  gap: 7px;
}

.vexa-message.is-editing .vexa-message-meta {
  opacity: 0.72;
}

.vexa-message.is-editing .vexa-message-body,
.vexa-message.is-user.is-editing .vexa-message-body {
  width: min(720px, 82%);
  max-width: min(720px, 82%);
  border-color: rgba(0, 162, 255, 0.32);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(7, 17, 29, 0.98), rgba(6, 12, 21, 0.98));
  box-shadow: 0 0 0 1px rgba(0, 162, 255, 0.04), 0 18px 44px rgba(0, 0, 0, 0.22);
  padding: 12px;
}

.vexa-inline-edit {
  display: grid;
  gap: 10px;
}

.vexa-inline-edit-input {
  width: 100%;
  min-height: 78px;
  max-height: 240px;
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(239, 237, 255, 0.94);
  font: inherit;
  line-height: 1.55;
  outline: none;
  padding: 11px 12px;
  resize: none;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.vexa-inline-edit-input:focus {
  border-color: rgba(0, 162, 255, 0.42);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 0 0 3px rgba(0, 111, 230, 0.1);
}

.vexa-inline-edit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.vexa-inline-edit-cancel,
.vexa-inline-edit-submit {
  min-height: 34px;
  border-radius: 7px;
  font-weight: 750;
  padding: 0 14px;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, transform 140ms ease;
}

.vexa-inline-edit-cancel {
  border: 1px solid rgba(239, 237, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(239, 237, 255, 0.8);
}

.vexa-inline-edit-submit {
  border: 1px solid rgba(0, 162, 255, 0.5);
  background: var(--electric);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 111, 230, 0.18);
}

.vexa-inline-edit-cancel:hover,
.vexa-inline-edit-cancel:focus-visible {
  border-color: rgba(239, 237, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--pearl);
  transform: translateY(-1px);
}

.vexa-inline-edit-submit:hover,
.vexa-inline-edit-submit:focus-visible {
  border-color: rgba(85, 190, 255, 0.68);
  background: #1689ee;
  transform: translateY(-1px);
}

.vexa-message.is-error .vexa-message-body {
  border-color: rgba(255, 143, 163, 0.22);
  background: rgba(255, 143, 163, 0.07);
  color: #ffb4c2;
}

.vexa-message-body p {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.52;
}

.vexa-message-body p+p {
  margin-top: 10px;
}

.vexa-message-body h2,
.vexa-message-body h3,
.vexa-message-body h4,
.vexa-message-body h5,
.vexa-message-body h6,
.vexa-summary-panel h2,
.vexa-summary-panel h3,
.vexa-summary-panel h4,
.vexa-summary-panel h5,
.vexa-summary-panel h6 {
  margin: 0 0 8px;
  color: var(--pearl);
  font-size: 0.98rem;
  line-height: 1.25;
}

.vexa-message-body h2,
.vexa-summary-panel h2 {
  font-size: 1.08rem;
}

.vexa-message-body h6,
.vexa-summary-panel h6 {
  color: rgba(239, 237, 255, 0.8);
  font-size: 0.9rem;
}

.vexa-message-body :is(p, ul, ol, blockquote, .vexa-code-block)+:is(h2, h3, h4, h5, h6),
.vexa-summary-panel :is(p, ul, ol, blockquote, .vexa-code-block)+:is(h2, h3, h4, h5, h6) {
  margin-top: 14px;
}

.vexa-message-body ul,
.vexa-message-body ol,
.vexa-summary-panel ul,
.vexa-summary-panel ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.vexa-message-body p+ul,
.vexa-message-body p+ol,
.vexa-message-body ul+p,
.vexa-message-body ol+p {
  margin-top: 10px;
}

.vexa-message-body blockquote,
.vexa-summary-panel blockquote {
  margin: 0;
  border-left: 2px solid rgba(0, 162, 255, 0.44);
  color: rgba(239, 237, 255, 0.7);
  padding-left: 12px;
}

.vexa-message-body a,
.vexa-summary-panel a {
  color: #68c7ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.vexa-message-body .vexa-inline-image {
  display: block;
  margin: 10px 0 2px;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 8px;
  background: #050913;
  text-decoration: none;
}

.vexa-message-body .vexa-inline-image img {
  display: block;
  width: 100%;
  max-height: min(52svh, 520px);
  object-fit: contain;
}

.vexa-message-files {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.vexa-message-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.vexa-source-card {
  display: inline-grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  max-width: min(100%, 320px);
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 132, 255, 0.08);
  color: rgba(226, 241, 255, 0.92);
  padding: 6px 10px;
  text-decoration: none;
}

.vexa-source-card:hover,
.vexa-source-card:focus-visible {
  border-color: rgba(104, 199, 255, 0.55);
  background: rgba(0, 132, 255, 0.15);
  color: #bdefff;
}

.vexa-source-card svg {
  width: 16px;
  height: 16px;
  color: var(--electric);
}

.vexa-source-card strong,
.vexa-source-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-source-card strong {
  font-size: 0.72rem;
  font-weight: 850;
}

.vexa-source-card small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.64rem;
}

.vexa-memory-suggestions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: 10px;
  background: rgba(0, 132, 255, 0.07);
  padding: 10px;
}

.vexa-memory-suggestions > strong {
  color: rgba(239, 237, 255, 0.9);
  font-size: 0.82rem;
}

.vexa-memory-suggestions article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 8px;
  background: rgba(5, 9, 19, 0.45);
  padding: 9px;
}

.vexa-memory-suggestions article > span {
  color: #83d7ff;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.66rem;
}

.vexa-memory-suggestions p {
  margin: 0;
  color: rgba(239, 237, 255, 0.74);
  font-size: 0.8rem;
  line-height: 1.45;
}

.vexa-memory-suggestions div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vexa-memory-suggestions button {
  min-height: 30px;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  padding: 0 10px;
}

.vexa-memory-suggestions button:first-child {
  border-color: rgba(0, 132, 255, 0.45);
  background: rgba(0, 132, 255, 0.16);
  color: #bdefff;
}

.vexa-message-file.is-image {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 8px;
  background: #050913;
  text-decoration: none;
}

.vexa-message-file.is-image img {
  display: block;
  width: 100%;
  max-height: min(54svh, 540px);
  object-fit: contain;
}

.vexa-message-file.is-download {
  border: 1px solid rgba(0, 132, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.13), rgba(15, 19, 29, 0.88));
  color: rgba(246, 244, 255, 0.94);
  padding: 10px;
  text-decoration: none;
}

.vexa-message-file.is-download:hover,
.vexa-message-file.is-download:focus-visible {
  border-color: rgba(104, 199, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.2), rgba(15, 19, 29, 0.96));
}

.vexa-file-download-main {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.vexa-message-file.has-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.vexa-message-file.has-preview .vexa-file-download-main {
  min-width: 0;
}

.vexa-file-preview-button {
  align-self: center;
  min-height: 34px;
  border: 1px solid rgba(0, 162, 255, 0.32);
  border-radius: 7px;
  background: rgba(0, 111, 230, 0.13);
  color: #8cdaff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0 12px;
}

.vexa-file-preview-button:hover,
.vexa-file-preview-button:focus-visible {
  border-color: rgba(104, 199, 255, 0.68);
  background: rgba(0, 132, 255, 0.22);
}

.vexa-file-preview {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: #050913;
}

.vexa-file-preview[hidden] {
  display: none;
}

.vexa-file-preview-head,
.vexa-code-result-head {
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  background: rgba(14, 17, 24, 0.92);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 8px 10px;
}

.vexa-file-preview-frame,
.vexa-code-preview-frame {
  display: block;
  width: 100%;
  min-height: min(420px, 58svh);
  border: 0;
  background: #fff;
}

.vexa-file-preview-status {
  margin: 0;
  color: var(--muted);
  padding: 12px;
}

.vexa-file-preview-status.is-error {
  color: #ffb6c6;
}

.vexa-file-download-icon,
.vexa-file-download-action {
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 9px;
  background: rgba(5, 9, 19, 0.62);
  color: #77d4ff;
}

.vexa-file-download-icon {
  width: 42px;
  height: 42px;
}

.vexa-file-download-action {
  width: 34px;
  height: 34px;
}

.vexa-file-download-icon svg,
.vexa-file-download-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.vexa-file-download-copy {
  min-width: 0;
}

.vexa-file-download-copy strong,
.vexa-file-download-copy small {
  display: block;
}

.vexa-file-download-copy strong {
  overflow: hidden;
  color: var(--pearl);
  font-size: 0.92rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-file-download-copy small {
  margin-top: 3px;
  color: rgba(239, 237, 255, 0.58);
  font-size: 0.76rem;
}

.vexa-product-intro {
  margin-bottom: 12px;
}

.vexa-product-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.vexa-product-card {
  display: grid;
  grid-template-columns: minmax(92px, 128px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: rgba(5, 9, 19, 0.7);
  padding: 9px;
}

.vexa-product-image {
  display: grid;
  min-height: 110px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 7px;
  background: #070b14;
  color: rgba(239, 237, 255, 0.42);
  text-decoration: none;
}

.vexa-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 150px;
  object-fit: contain;
}

.vexa-product-image svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.vexa-product-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.vexa-product-info strong {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(246, 244, 255, 0.94);
  font-size: 0.95rem;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.vexa-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vexa-product-meta span {
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 111, 230, 0.11);
  color: rgba(239, 237, 255, 0.82);
  font-size: 0.78rem;
  padding: 4px 8px;
}

.vexa-product-link {
  width: fit-content;
  color: #69ceff;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.vexa-product-link:hover,
.vexa-product-link:focus-visible {
  color: #b8ecff;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .vexa-product-card {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }

  .vexa-product-image {
    min-height: 92px;
  }

  .vexa-product-image img {
    max-height: 112px;
  }

  .vexa-product-info strong {
    font-size: 0.88rem;
    -webkit-line-clamp: 4;
  }

  .vexa-product-meta span {
    font-size: 0.72rem;
    padding: 3px 7px;
  }
}

.vexa-message-body code,
.vexa-summary-panel code {
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 5px;
  background: rgba(2, 6, 16, 0.54);
  color: #d5fff0;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.86em;
  padding: 0.12em 0.32em;
}

.vexa-code-block {
  display: grid;
  margin: 10px 0;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: #050913;
  overflow: visible;
}

.vexa-code-head {
  position: sticky;
  top: -18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  background: rgba(14, 17, 24, 0.98);
  box-shadow: 0 8px 18px rgba(2, 6, 16, 0.24);
  padding: 8px 10px;
}

.vexa-code-head span {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
}

.vexa-code-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.vexa-code-copy,
.vexa-code-run {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
  font-size: 0.72rem;
  padding: 0 9px;
}

.vexa-code-run {
  border-color: rgba(0, 162, 255, 0.32);
  background: rgba(0, 111, 230, 0.14);
  color: #92ddff;
}

.vexa-code-copy:hover,
.vexa-code-copy:focus-visible,
.vexa-code-run:hover,
.vexa-code-run:focus-visible {
  border-color: rgba(0, 162, 255, 0.34);
  background: rgba(0, 111, 230, 0.12);
}

.vexa-code-block pre {
  margin: 0;
  max-height: min(68svh, 620px);
  overflow: auto;
  border-radius: 0 0 8px 8px;
  padding: 14px;
}

.vexa-code-block code {
  display: block;
  min-width: max-content;
  border: 0;
  background: transparent;
  padding: 0;
  white-space: pre;
}

.vexa-code-result {
  margin: 0 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 7px;
  background: rgba(5, 9, 19, 0.8);
  color: rgba(239, 237, 255, 0.84);
  font-size: 0.82rem;
}

.vexa-code-result strong {
  display: block;
  color: var(--pearl);
  padding: 10px 12px 2px;
}

.vexa-code-result pre {
  max-height: 260px;
  margin: 0;
  overflow: auto;
  padding: 10px 12px 12px;
  white-space: pre-wrap;
}

.vexa-code-result.is-success {
  border-color: rgba(63, 203, 127, 0.26);
}

.vexa-code-result.is-error {
  border-color: rgba(255, 111, 145, 0.32);
}

.vexa-code-result.is-error strong {
  color: #ffb6c6;
}

.vexa-code-result.is-preview {
  padding: 0;
}

.vexa-js-runner-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vexa-stream-cursor {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 3px;
  border-radius: 999px;
  background: var(--electric);
  vertical-align: -0.18em;
  animation: vexaBlink 0.9s steps(2, start) infinite;
}

.vexa-thinking {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: min(280px, 100%);
  color: rgba(239, 237, 255, 0.82);
}

.vexa-thinking-orb {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 162, 255, 0.2);
  border-top-color: #7fc8ff;
  border-radius: 999px;
  animation: vexaSpin 0.8s linear infinite;
}

.vexa-thinking strong,
.vexa-thinking small {
  display: block;
}

.vexa-thinking strong {
  color: var(--pearl);
  font-size: 0.9rem;
  line-height: 1.15;
}

.vexa-thinking small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.vexa-agent-progress {
  display: grid;
  min-width: min(420px, 100%);
  gap: 12px;
}

.vexa-agent-progress-head {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.vexa-agent-progress-head strong,
.vexa-agent-progress-head small {
  display: block;
}

.vexa-agent-progress-head strong {
  color: var(--pearl);
  font-size: 0.91rem;
  font-weight: 850;
  line-height: 1.15;
}

.vexa-agent-progress-head small {
  margin-top: 3px;
  color: rgba(127, 200, 255, 0.74);
  font-size: 0.72rem;
  line-height: 1.25;
}

.vexa-agent-progress-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vexa-agent-progress-step {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: rgba(239, 237, 255, 0.78);
}

.vexa-agent-step-dot {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
}

.vexa-agent-step-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 162, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.12);
}

.vexa-agent-progress-step.is-failed .vexa-agent-step-dot::before,
.vexa-agent-progress-step.is-denied .vexa-agent-step-dot::before {
  background: #ff6f91;
  box-shadow: 0 0 0 3px rgba(255, 111, 145, 0.14);
}

.vexa-agent-step-copy {
  min-width: 0;
}

.vexa-agent-step-copy strong,
.vexa-agent-step-copy small {
  display: block;
}

.vexa-agent-step-copy strong {
  color: rgba(239, 237, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.vexa-agent-step-copy small {
  margin-top: 2px;
  max-width: 100%;
  overflow: hidden;
  color: rgba(239, 237, 255, 0.48);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.66rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-agent-step-screenshot {
  display: block;
  max-width: 100%;
  max-height: 320px;
  margin-top: 6px;
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-radius: 7px;
  object-fit: contain;
  background: rgba(3, 7, 15, 0.6);
}

.vexa-agent-step-preview {
  display: block;
  max-height: min(58vh, 720px);
  overflow: auto;
  margin-top: 6px;
  border: 1px solid rgba(0, 162, 255, 0.14);
  border-radius: 7px;
  background: rgba(3, 7, 15, 0.82);
  color: rgba(217, 255, 241, 0.86);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.66rem;
  line-height: 1.45;
  white-space: pre-wrap;
  scrollbar-color: rgba(0, 162, 255, 0.72) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
}

.vexa-agent-step-preview code {
  display: block;
  min-width: 100%;
  margin: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 7px 8px;
  white-space: pre-wrap;
}

.vexa-composer {
  display: grid;
  position: relative;
  grid-template-columns: 40px 40px minmax(0, 1fr) auto 42px;
  grid-template-rows: auto auto;
  width: min(760px, calc(100% - 28px));
  justify-self: center;
  gap: 8px;
  align-items: stretch;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 24px;
  background: rgba(24, 26, 34, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin: 0 auto 14px;
  padding: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.vexa-composer:focus-within {
  border-color: rgba(0, 162, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 111, 230, 0.06);
}

.vexa-composer.is-dragging {
  border-color: rgba(0, 162, 255, 0.62);
  background: #202936;
  box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.11), 0 18px 44px rgba(0, 0, 0, 0.28);
}

.vexa-composer.is-dragging::after {
  content: attr(data-drop-hint);
  position: absolute;
  inset: 6px;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(127, 200, 255, 0.55);
  border-radius: 22px;
  background: rgba(7, 12, 20, 0.86);
  color: var(--pearl);
  font-weight: 800;
  pointer-events: none;
}

.vexa-image-preview {
  grid-column: 1 / -1;
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 0 2px;
}

.vexa-image-preview[hidden] {
  display: none;
}

.vexa-image-chip {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(239, 237, 255, 0.16);
  border-radius: 10px;
  background: #111318;
}

.vexa-image-chip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vexa-image-message-badge {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 6px;
  background: rgba(0, 111, 230, 0.12);
  color: rgba(239, 237, 255, 0.8);
  font-size: 0.78rem;
  padding: 7px 9px;
}

.vexa-message-images {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 10px;
}

.vexa-message-images:first-child {
  margin-top: 0;
}

.vexa-message-image {
  display: block;
  width: clamp(132px, 18vw, 220px);
  height: clamp(132px, 18vw, 220px);
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(239, 237, 255, 0.18);
  border-radius: 11px;
  background: #111318;
  color: inherit;
  cursor: zoom-in;
}

.vexa-message-image:hover,
.vexa-message-image:focus-visible {
  border-color: rgba(0, 162, 255, 0.55);
}

.vexa-message-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vexa-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.vexa-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.78);
  cursor: zoom-out;
}

.vexa-image-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 255, 0.16);
  border-radius: 14px;
  background: #080b10;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.vexa-image-lightbox-head {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.1);
  padding: 10px 12px 10px 16px;
  color: var(--pearl);
}

.vexa-image-lightbox-head strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-image-lightbox-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.14);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
  cursor: pointer;
}

.vexa-image-lightbox-close:hover,
.vexa-image-lightbox-close:focus-visible {
  border-color: rgba(0, 162, 255, 0.52);
}

.vexa-image-lightbox-close svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-image-lightbox-close svg path {
  stroke: currentColor;
}

.vexa-image-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 47px);
  object-fit: contain;
  background: #05070a;
}

.vexa-image-chip button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.82);
  color: var(--pearl);
  padding: 0;
}

.vexa-image-chip button svg,
.vexa-image-message-badge svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-image-chip button svg {
  width: 11px;
  height: 11px;
}

.vexa-image-message-badge {
  margin-top: 8px;
  background: rgba(0, 162, 255, 0.11);
}

.vexa-composer textarea {
  grid-column: 3;
  grid-row: 2;
  min-height: 46px;
  max-height: 180px;
  border: 0;
  background: transparent;
  resize: none;
  line-height: 1.35;
  padding: 12px 4px;
}

.vexa-composer textarea:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.vexa-attachment {
  grid-column: 1;
  grid-row: 2;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(239, 237, 255, 0.78);
}

.vexa-attachment:hover,
.vexa-attachment:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pearl);
}

.vexa-attachment:disabled {
  color: rgba(239, 237, 255, 0.32);
  cursor: not-allowed;
}

.vexa-mic {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(239, 237, 255, 0.78);
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.vexa-mic:hover,
.vexa-mic:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pearl);
}

.vexa-mic.is-active {
  background: linear-gradient(180deg, rgba(224, 39, 68, 0.92), rgba(178, 20, 46, 0.92));
  color: #fff;
  box-shadow: 0 0 0 4px rgba(224, 39, 68, 0.14);
}

.vexa-mic.is-disabled,
.vexa-mic:disabled {
  color: rgba(239, 237, 255, 0.32);
  cursor: not-allowed;
}

.vexa-agent-toggle {
  grid-column: 4;
  grid-row: 2;
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  align-self: center;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(239, 237, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 12px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.vexa-agent-toggle:hover,
.vexa-agent-toggle:focus-visible {
  border-color: rgba(0, 162, 255, 0.38);
  background: rgba(0, 162, 255, 0.12);
  color: var(--pearl);
}

.vexa-agent-toggle.is-active {
  border-color: rgba(0, 162, 255, 0.72);
  background: linear-gradient(180deg, rgba(0, 132, 255, 0.96), rgba(0, 100, 220, 0.96));
  color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 162, 255, 0.11);
}

.vexa-agent-toggle:disabled {
  opacity: 0.44;
  cursor: not-allowed;
}

.vexa-send {
  grid-column: 5;
  grid-row: 2;
  display: grid;
  width: 38px;
  height: 38px;
  min-height: 38px;
  place-items: center;
  border-radius: 999px;
  margin: 0;
  padding: 0;
}

.vexa-send:hover,
.vexa-send:focus-visible {
  transform: none;
}

.vexa-send.is-sending {
  opacity: 0.72;
}

.vexa-send.is-stop {
  background: rgba(239, 237, 255, 0.12);
  color: var(--pearl);
}

.vexa-send.is-stop:hover,
.vexa-send.is-stop:focus-visible {
  background: rgba(239, 237, 255, 0.18);
}

.vexa-summary-panel {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: grid;
  width: min(340px, calc(100vw - 24px));
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow: auto;
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 20px));
  transition: opacity 180ms ease, transform 220ms ease;
}

.vexa-summary-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.vexa-summary-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: rgba(239, 237, 255, 0.68);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.vexa-summary-copy > * {
  margin: 0;
}

.vexa-summary-panel p {
  margin: 0;
  color: rgba(239, 237, 255, 0.68);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.vexa-summary-close {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pearl);
  padding: 0;
}

.vexa-summary-thinking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd073;
}

.vexa-summary-thinking span {
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  animation: meterPulse 1.1s ease-in-out infinite;
  transform-origin: left;
}

.vexa-workspace-panel {
  position: fixed;
  inset: 10px 10px 10px auto;
  z-index: 70;
  display: grid;
  width: min(880px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  grid-template-rows: auto auto minmax(0, 1fr);
  border: 1px solid rgba(0, 132, 255, 0.22);
  border-radius: 8px;
  background: rgba(13, 15, 20, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.vexa-workspace-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.vexa-workspace-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  padding: 10px 14px;
}

.vexa-workspace-tabs button,
.vexa-workspace-editor-head button,
.vexa-workspace-small-action,
.vexa-workspace-versions button,
.vexa-workspace-task button,
.vexa-workspace-memory button,
.vexa-workspace-preview-head button {
  min-height: 34px;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--pearl);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0 10px;
  text-decoration: none;
}

.vexa-workspace-tabs button.is-active,
.vexa-workspace-tabs button:hover,
.vexa-workspace-editor-head button:hover,
.vexa-workspace-small-action:hover,
.vexa-workspace-preview-head button:hover {
  border-color: rgba(0, 162, 255, 0.55);
  background: rgba(0, 111, 230, 0.16);
  color: var(--electric);
}

.vexa-workspace-content {
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.vexa-workspace-empty {
  margin: 0;
  border: 1px dashed rgba(239, 237, 255, 0.14);
  border-radius: 8px;
  color: var(--muted);
  padding: 18px;
}

.vexa-workspace-empty.is-error {
  border-color: rgba(255, 111, 145, 0.35);
  color: #ffb6c6;
}

.vexa-workspace-files-grid {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: 12px;
}

.vexa-workspace-files-list {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 0;
  max-height: calc(100vh - 160px);
  overflow: auto;
}

.vexa-workspace-file {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid rgba(239, 237, 255, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pearl);
  padding: 10px;
  text-align: left;
}

.vexa-workspace-file.is-active {
  border-color: rgba(0, 162, 255, 0.55);
  background: rgba(0, 111, 230, 0.13);
}

.vexa-workspace-file strong,
.vexa-workspace-editor-head strong,
.vexa-workspace-task strong,
.vexa-workspace-memory strong,
.vexa-workspace-tool strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-workspace-file small,
.vexa-workspace-editor-head small,
.vexa-workspace-task small,
.vexa-workspace-memory small,
.vexa-workspace-tool small {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
}

.vexa-workspace-editor {
  display: grid;
  min-width: 0;
  min-height: 0;
  gap: 10px;
}

.vexa-workspace-editor-head,
.vexa-workspace-preview-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vexa-workspace-editor-head > div:first-child,
.vexa-workspace-preview-head > div:first-child {
  display: grid;
  min-width: 0;
}

.vexa-workspace-editor-head > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.vexa-workspace-code-editor {
  width: 100%;
  min-height: 420px;
  max-height: calc(100vh - 250px);
  resize: vertical;
  border: 1px solid rgba(0, 132, 255, 0.24);
  border-radius: 7px;
  background: #070b13;
  color: #d8fff4;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  outline: none;
  padding: 14px;
  tab-size: 2;
}

.vexa-workspace-code-editor:focus {
  border-color: rgba(0, 162, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.14);
}

.vexa-workspace-monaco {
  background: #070b13;
  border: 1px solid rgba(0, 132, 255, 0.24);
  border-radius: 7px;
  display: none;
  min-height: 420px;
  max-height: calc(100vh - 250px);
  overflow: hidden;
}

.vexa-workspace-editor.has-monaco .vexa-workspace-code-editor {
  display: none;
}

.vexa-workspace-editor.has-monaco .vexa-workspace-monaco {
  display: block;
}

.vexa-workspace-monaco .inputarea,
.vexa-workspace-monaco textarea {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: transparent !important;
  outline: 0 !important;
  resize: none !important;
}

.vexa-workspace-monaco .inputarea {
  min-height: 0 !important;
  opacity: 0 !important;
}

.vexa-workspace-monaco .monaco-editor,
.vexa-workspace-monaco .overflow-guard {
  position: relative !important;
}

.vexa-workspace-versions {
  display: grid;
  gap: 7px;
}

.vexa-workspace-versions div,
.vexa-workspace-task,
.vexa-workspace-memory,
.vexa-workspace-tool {
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px;
}

.vexa-workspace-versions div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.vexa-workspace-preview {
  display: grid;
  gap: 12px;
}

.vexa-workspace-preview iframe {
  width: 100%;
  min-height: min(620px, calc(100vh - 180px));
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 8px;
  background: white;
}

.vexa-workspace-task-list,
.vexa-workspace-memory-list,
.vexa-workspace-tool-list {
  display: grid;
  gap: 10px;
}

.vexa-workspace-task,
.vexa-workspace-memory,
.vexa-workspace-tool {
  display: grid;
  gap: 8px;
}

.vexa-workspace-task > div:first-child,
.vexa-workspace-memory > div:first-child,
.vexa-workspace-tool > div:first-child {
  display: grid;
  gap: 2px;
}

.vexa-workspace-task p,
.vexa-workspace-memory p,
.vexa-workspace-tool p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.vexa-workspace-task ol {
  display: grid;
  gap: 5px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.vexa-workspace-task li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--pearl);
  font-size: 0.8rem;
}

.vexa-workspace-task li span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.vexa-workspace-task li em {
  overflow: hidden;
  color: var(--muted);
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-workspace-task-error {
  color: #ffadc1 !important;
}

.vexa-workspace-task-resources {
  display: grid;
  gap: 8px;
}

.vexa-workspace-task-resources pre {
  overflow: auto;
  max-height: 180px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 8px;
  background: #050913;
  color: #d9fff5;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  line-height: 1.55;
  margin: 0;
  padding: 10px;
}

.vexa-workspace-task-sources,
.vexa-workspace-task-files {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vexa-workspace-task-files a,
.vexa-workspace-task-files span {
  display: inline-grid;
  gap: 2px;
  max-width: min(100%, 260px);
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pearl);
  padding: 7px 9px;
  text-decoration: none;
}

.vexa-workspace-task-files small {
  color: var(--muted);
  font-size: 0.66rem;
}

.vexa-workspace-memory > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vexa-workspace-memory-fields {
  display: grid;
  gap: 8px;
}

.vexa-workspace-memory-fields label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.vexa-workspace-memory-fields select,
.vexa-workspace-memory-fields textarea {
  width: 100%;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 9, 19, 0.8);
  color: var(--pearl);
  font: inherit;
  font-size: 0.82rem;
  outline: none;
  padding: 9px 10px;
}

.vexa-workspace-memory-fields textarea {
  min-height: 82px;
  resize: vertical;
}

.vexa-workspace-memory-fields select:focus,
.vexa-workspace-memory-fields textarea:focus {
  border-color: rgba(0, 162, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.12);
}

.vexa-workspace-tool label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.vexa-workspace-panel {
  border-color: rgba(0, 132, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(15, 19, 29, 0.98), rgba(8, 11, 18, 0.99)),
    #0b0f17;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.vexa-workspace-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  padding: 14px 16px;
}

.vexa-workspace-panel > header > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.vexa-workspace-panel > header strong {
  color: var(--pearl);
  font-size: 1rem;
  font-weight: 900;
}

.vexa-workspace-panel > header span {
  color: var(--muted);
  font-size: 0.76rem;
}

.vexa-workspace-tabs {
  gap: 8px;
  background: rgba(5, 9, 19, 0.28);
  padding: 10px 14px;
}

.vexa-workspace-tabs button {
  min-width: max-content;
  border-radius: 999px;
  background: transparent;
  color: rgba(239, 237, 255, 0.62);
  padding: 0 13px;
}

.vexa-workspace-tabs button.is-active {
  border-color: rgba(0, 162, 255, 0.56);
  background: rgba(0, 132, 255, 0.18);
  color: #a8e6ff;
}

.vexa-workspace-content {
  padding: 16px;
}

.vexa-workspace-files-grid {
  align-items: stretch;
}

.vexa-workspace-files-list {
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 10px;
  background: rgba(5, 9, 19, 0.5);
  padding: 8px;
}

.vexa-workspace-file {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.vexa-workspace-file:hover {
  border-color: rgba(0, 162, 255, 0.34);
  background: rgba(0, 132, 255, 0.08);
}

.vexa-workspace-file.is-active {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.18), rgba(0, 132, 255, 0.08));
  box-shadow: 0 0 0 1px rgba(0, 132, 255, 0.12) inset;
}

.vexa-workspace-editor,
.vexa-workspace-preview {
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 10px;
  background: rgba(5, 9, 19, 0.42);
  padding: 12px;
}

.vexa-workspace-editor-head,
.vexa-workspace-preview-head {
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  margin: -2px 0 0;
  padding: 0 0 12px;
}

.vexa-workspace-editor-head button,
.vexa-workspace-small-action,
.vexa-workspace-preview-head button,
.vexa-workspace-versions button,
.vexa-workspace-task button,
.vexa-workspace-memory button {
  border-radius: 7px;
}

.vexa-workspace-editor-head button[data-vexa-action="workspace-save-file"],
.vexa-workspace-preview-head button {
  border-color: rgba(0, 132, 255, 0.62);
  background: var(--electric);
  color: #fff;
}

.vexa-workspace-editor-head button[data-vexa-action="workspace-save-file"]:hover,
.vexa-workspace-preview-head button:hover {
  background: #1b94ff;
  color: #fff;
}

.vexa-workspace-code-editor,
.vexa-workspace-monaco {
  border-radius: 9px;
  background: #050913;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22) inset;
}

.vexa-workspace-preview iframe {
  border-color: rgba(0, 132, 255, 0.22);
  border-radius: 9px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.vexa-workspace-empty {
  background: rgba(255, 255, 255, 0.02);
  line-height: 1.5;
}

.vexa-workspace-task,
.vexa-workspace-memory,
.vexa-workspace-tool,
.vexa-workspace-versions div {
  border-radius: 9px;
  background: rgba(5, 9, 19, 0.48);
}

@media (max-width: 780px) {
  .vexa-workspace-panel {
    inset: 8px;
    width: auto;
    max-width: none;
    transform: translateY(18px);
  }

  .vexa-workspace-files-grid {
    grid-template-columns: 1fr;
  }

  .vexa-workspace-files-list {
    max-height: 190px;
  }

  .vexa-workspace-editor-head,
  .vexa-workspace-preview-head {
    align-items: stretch;
    flex-direction: column;
  }

  .vexa-workspace-editor-head > div:last-child {
    justify-content: flex-start;
  }

  .vexa-workspace-code-editor {
    min-height: 330px;
  }

  .vexa-workspace-monaco {
    min-height: 330px;
  }
}

.vexa-share-modal[hidden],
.vexa-dialog-modal[hidden] {
  display: none;
}

.vexa-settings-modal[hidden] {
  display: none;
}

.vexa-share-modal,
.vexa-dialog-modal,
.vexa-settings-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.vexa-share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 16, 0.72);
  backdrop-filter: blur(8px);
}

.vexa-share-dialog,
.vexa-settings-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, 100%);
  gap: 14px;
  border: 1px solid rgba(239, 237, 255, 0.14);
  border-radius: 8px;
  background: rgba(12, 14, 18, 0.98);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
  padding: 18px;
}

.vexa-compact-dialog {
  width: min(440px, 100%);
}

.vexa-share-modal .vexa-share-dialog {
  width: min(620px, 100%);
}

.vexa-settings-dialog {
  width: min(860px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(0, 111, 230, 0.035), transparent 180px),
    rgba(12, 14, 18, 0.99);
}

.vexa-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vexa-share-head h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.12rem;
}

.vexa-share-head small {
  display: block;
  max-width: 520px;
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.vexa-share-head button,
.vexa-share-output button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pearl);
  padding: 0 10px;
}

.vexa-share-head button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.vexa-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vexa-share-grid-full {
  grid-column: 1 / -1;
}

.vexa-share-options {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
}

.vexa-dialog-actions .primary-action,
.vexa-dialog-actions .secondary-action {
  min-height: 38px;
  margin: 0;
}

.vexa-delete-copy {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255, 143, 163, 0.18);
  border-radius: 8px;
  background: rgba(255, 143, 163, 0.055);
  padding: 12px;
}

.vexa-delete-copy strong {
  color: var(--pearl);
}

.vexa-delete-copy p {
  margin: 0;
  color: rgba(239, 237, 255, 0.68);
  line-height: 1.45;
}

.vexa-danger-action {
  border-color: rgba(255, 143, 163, 0.38);
  background: linear-gradient(135deg, #ef476f, #d83b5f);
  color: #fff;
}

.vexa-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: rgba(239, 237, 255, 0.62);
  font-size: 0.82rem;
}

.vexa-field select,
.vexa-field input,
.vexa-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: #101318;
  color: var(--pearl);
  outline: none;
  padding: 10px 11px;
}

.vexa-field textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.4;
}

.vexa-onboarding-intro {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 111, 230, 0.075);
  padding: 16px;
}

.vexa-onboarding-intro[hidden],
.vexa-settings-fields[hidden] {
  display: none;
}

.vexa-onboarding-intro h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.28rem;
}

.vexa-onboarding-intro p {
  margin: 0;
  color: var(--soft);
  line-height: 1.45;
}

.vexa-settings-fields {
  display: grid;
  gap: 13px;
}

.vexa-settings-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.vexa-settings-card {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
  padding: 14px;
}

.vexa-settings-card.is-wide {
  grid-column: 1 / -1;
}

.vexa-settings-section-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.vexa-settings-section-head>span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 8px;
  background: rgba(0, 111, 230, 0.12);
  color: #7fc8ff;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.vexa-settings-section-head strong {
  display: block;
  color: var(--pearl);
  font-size: 0.98rem;
  line-height: 1.1;
}

.vexa-settings-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.vexa-settings-two {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

.vexa-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.vexa-choice-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vexa-choice-grid.is-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vexa-choice-grid label {
  position: relative;
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(239, 237, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  cursor: pointer;
  padding: 8px;
  text-align: center;
}

.vexa-choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vexa-choice-grid label:has(input:checked) {
  border-color: rgba(0, 162, 255, 0.44);
  background: rgba(0, 111, 230, 0.13);
  color: var(--pearl);
}

.vexa-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vexa-toggle-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.09);
  border-radius: 8px;
  background: rgba(8, 11, 16, 0.74);
  color: rgba(239, 237, 255, 0.72);
  cursor: pointer;
  padding: 11px;
  transition: background 160ms ease, border-color 160ms ease;
}

.vexa-toggle-card:hover,
.vexa-toggle-card:focus-within {
  border-color: rgba(0, 162, 255, 0.32);
  background: rgba(0, 111, 230, 0.08);
}

.vexa-toggle-card input {
  appearance: none;
  position: relative;
  width: 38px;
  height: 22px;
  border: 1px solid rgba(239, 237, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.vexa-toggle-card input::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(239, 237, 255, 0.8);
  transition: transform 160ms ease, background 160ms ease;
}

.vexa-toggle-card input:checked {
  border-color: rgba(0, 162, 255, 0.55);
  background: rgba(0, 111, 230, 0.62);
}

.vexa-toggle-card input:checked::after {
  background: #fff;
  transform: translateX(16px);
}

.vexa-toggle-card strong,
.vexa-toggle-card small {
  display: block;
}

.vexa-toggle-card strong {
  color: var(--pearl);
  font-size: 0.86rem;
  line-height: 1.15;
}

.vexa-toggle-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.28;
}

.vexa-settings-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid rgba(239, 237, 255, 0.08);
  padding-top: 13px;
}

.vexa-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(239, 237, 255, 0.78);
  padding: 10px 11px;
}

.vexa-toggle-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.vexa-full-action {
  width: 100%;
  justify-content: center;
}

.vexa-share-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.vexa-shared-card {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 6px;
  background: rgba(0, 111, 230, 0.09);
  padding: 10px;
}

.vexa-shared-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--pearl);
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-shared-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.vexa-command-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 6, 16, 0.72);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.vexa-command-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vexa-command-palette {
  position: fixed;
  top: min(20%, 180px);
  left: 50%;
  z-index: 201;
  width: min(560px, calc(100vw - 32px));
  max-height: min(480px, calc(100vh - 200px));
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12, 16, 24, 0.98), rgba(8, 11, 18, 0.99));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: opacity 160ms ease, transform 180ms ease;
}

.vexa-command-palette.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.vexa-command-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  padding: 14px 16px;
}

.vexa-command-input-wrap svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-command-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--pearl);
  font: inherit;
  font-size: 0.96rem;
  outline: none;
  padding: 0;
}

.vexa-command-input::placeholder {
  color: rgba(140, 145, 168, 0.7);
}

.vexa-command-list {
  overflow-y: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 162, 255, 0.4) transparent;
}

.vexa-command-group-label {
  display: block;
  padding: 8px 10px 4px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vexa-command-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pearl);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  padding: 10px 12px;
  text-align: left;
  transition: background 120ms ease;
}

.vexa-command-item:hover,
.vexa-command-item.is-active {
  background: rgba(0, 132, 255, 0.12);
}

.vexa-command-item.is-active {
  box-shadow: inset 0 0 0 1px rgba(0, 162, 255, 0.22);
}

.vexa-command-item svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.vexa-command-item.is-active svg {
  stroke: var(--electric);
}

.vexa-command-item-text {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.vexa-command-item-text strong {
  overflow: hidden;
  color: var(--pearl);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vexa-command-item-text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.vexa-command-item kbd {
  margin-left: auto;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
  padding: 2px 6px;
}

.vexa-command-empty {
  padding: 24px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.vexa-command-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(239, 237, 255, 0.06);
  padding: 8px 14px;
}

.vexa-command-footer span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.vexa-command-footer kbd {
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.66rem;
  padding: 1px 5px;
}

.vexa-app:has(.vexa-command-backdrop.is-open) .vexa-chat-panel {
  filter: blur(2px);
  transition: filter 200ms ease;
}

.vexa-starters {
  display: grid;
  gap: 20px;
  align-self: center;
  justify-self: center;
  padding: 8px 0;
}

.vexa-starters-copy {
  display: grid;
  gap: 6px;
  text-align: center;
}

.vexa-starters-copy strong {
  color: var(--pearl);
  font-size: 1.35rem;
  font-weight: 900;
}

.vexa-starters-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.vexa-starter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 680px) {
  .vexa-starter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.vexa-starter-card {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  color: var(--pearl);
  cursor: pointer;
  padding: 14px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.vexa-starter-card:hover {
  border-color: rgba(0, 162, 255, 0.32);
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.08), rgba(0, 132, 255, 0.03));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 132, 255, 0.1);
}

.vexa-starter-card:active {
  transform: translateY(0);
}

.vexa-starter-card strong {
  color: var(--pearl);
  font-size: 0.88rem;
  font-weight: 700;
}

.vexa-starter-card small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.vexa-sidebar {
  border-color: rgba(239, 237, 255, 0.06);
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.96), rgba(6, 9, 14, 0.98));
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.vexa-chat-panel {
  border-color: rgba(239, 237, 255, 0.06);
  background: linear-gradient(180deg, rgba(8, 11, 18, 0.97), rgba(5, 8, 14, 0.99));
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.vexa-composer {
  border-color: rgba(239, 237, 255, 0.08);
  background: linear-gradient(135deg, rgba(14, 18, 26, 0.96), rgba(10, 14, 22, 0.98));
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.vexa-composer:focus-within {
  border-color: rgba(0, 162, 255, 0.28);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(0, 132, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@keyframes vexa-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes vexa-slide-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vexa-pulse-dot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.vexa-message.vexa-message-enter {
  animation: vexa-slide-up 200ms ease both;
}

.vexa-status-dot {
  animation: vexa-pulse-dot 2s ease-in-out infinite;
}

.api-lab-body {
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(64, 240, 180, 0.035) 1px, transparent 1px),
    #07090d;
  background-size: 128px 128px, 128px 128px, auto;
}

.api-lab-page {
  min-height: 100vh;
  padding: 104px 24px 28px;
}

.api-lab-heading {
  display: flex;
  width: min(1480px, 100%);
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 18px;
}

.api-lab-heading h1 {
  max-width: 860px;
  margin: 0;
  color: var(--pearl);
  font-size: 2rem;
  line-height: 1.05;
}

.api-lab-heading p:last-child {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(239, 237, 255, 0.68);
}

.api-lab-heading-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.api-lab-missing {
  display: grid;
  width: min(720px, 100%);
  min-height: 58vh;
  align-content: center;
  gap: 12px;
  margin: 0 auto;
}

.api-lab-missing h1 {
  margin: 0;
  color: var(--pearl);
  font-size: 2.4rem;
  line-height: 1.05;
}

.api-lab-missing p {
  margin: 0;
  color: var(--soft);
}

.api-lab-missing .primary-action {
  width: fit-content;
  margin-top: 12px;
}

.api-icon-button,
.api-side-title button,
.api-tab-plus,
.api-tab-close,
.api-grid-table button,
.api-panel-bar button,
.api-share-output button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: rgba(22, 25, 31, 0.92);
  color: var(--pearl);
  padding: 0 10px;
}

.api-icon-button span:first-child {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 5px;
  background: rgba(64, 240, 180, 0.12);
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
}

.api-workbench {
  display: grid;
  width: min(1480px, 100%);
  min-height: 760px;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 12px;
  margin: 0 auto;
}

.api-sidebar,
.api-client-panel {
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: rgba(12, 14, 18, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.api-sidebar {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  gap: 14px;
  overflow: hidden;
  padding: 14px;
}

.api-side-top {
  display: grid;
  gap: 10px;
}

.api-full-action {
  width: 100%;
  gap: 8px;
}

.api-full-action span:first-child {
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
}

.api-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: rgba(239, 237, 255, 0.62);
  font-size: 0.82rem;
}

.api-field input,
.api-field select,
.api-request-line input,
.api-request-line select,
.api-request-title input,
.api-grid-table input,
.api-code-input,
.api-settings-grid input,
.api-share-output input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: #101318;
  color: var(--pearl);
  outline: none;
  padding: 10px 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.api-field input:focus,
.api-field select:focus,
.api-request-line input:focus,
.api-request-line select:focus,
.api-request-title input:focus,
.api-grid-table input:focus,
.api-code-input:focus,
.api-settings-grid input:focus,
.api-share-output input:focus {
  border-color: rgba(64, 240, 180, 0.72);
  background: #0b1113;
  box-shadow: 0 0 0 3px rgba(64, 240, 180, 0.1);
}

.api-side-section {
  display: grid;
  gap: 9px;
  min-height: 0;
  border-top: 1px solid rgba(239, 237, 255, 0.08);
  padding-top: 13px;
}

.api-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.api-side-actions {
  display: inline-flex;
  gap: 6px;
}

.api-side-title strong {
  color: var(--pearl);
  font-size: 0.9rem;
}

.api-side-title button {
  width: 30px;
  min-height: 30px;
  padding: 0;
  color: var(--mint);
}

.api-list {
  display: grid;
  max-height: 176px;
  gap: 6px;
  overflow: auto;
  padding-right: 2px;
}

.api-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
}

.api-list-load {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--soft);
  text-align: left;
  padding: 5px 6px;
}

.api-list-item:hover,
.api-list-item:focus-visible {
  border-color: rgba(64, 240, 180, 0.4);
  background: rgba(64, 240, 180, 0.06);
  color: var(--pearl);
}

.api-list-load:focus-visible,
.api-list-delete:focus-visible {
  outline: 2px solid rgba(64, 240, 180, 0.46);
  outline-offset: 2px;
}

.api-list-delete {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 143, 163, 0.18);
  border-radius: 6px;
  background: rgba(255, 143, 163, 0.06);
  color: #ff9caf;
}

.api-list-empty {
  border: 1px dashed rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  color: var(--muted);
  padding: 12px;
}

.api-list-item strong,
.api-list-item small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-list-item strong {
  color: currentColor;
  font-size: 0.83rem;
}

.api-list-item small {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
}

.api-list-status {
  border-radius: 999px;
  background: rgba(0, 162, 255, 0.1);
  color: #7fc8ff;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
  padding: 4px 7px;
}

.api-variable-list {
  display: grid;
  gap: 7px;
}

.api-variable-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) 28px;
  gap: 6px;
}

.api-variable-row input {
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: #101318;
  color: var(--pearl);
  outline: none;
  padding: 8px;
}

.api-variable-row button {
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 143, 163, 0.08);
  color: #ff9caf;
}

.api-team-list {
  display: grid;
  gap: 7px;
}

.api-team-option {
  display: grid;
  gap: 2px;
  width: 100%;
  border: 1px solid rgba(239, 237, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  padding: 9px;
  text-align: left;
}

.api-team-option strong,
.api-team-option small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-team-option strong {
  color: var(--pearl);
  font-size: 0.84rem;
}

.api-team-option small {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
}

.api-team-option.is-active {
  border-color: rgba(64, 240, 180, 0.45);
  background: rgba(64, 240, 180, 0.08);
}

.api-team-option:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.api-pro-card {
  align-self: end;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 196, 87, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 196, 87, 0.09), rgba(64, 240, 180, 0.055));
  padding: 14px;
}

.api-pro-card h2 {
  margin: 8px 0 0;
  color: var(--pearl);
  font-size: 1.05rem;
}

.api-pro-card p {
  margin: 6px 0 0;
  color: rgba(239, 237, 255, 0.64);
  font-size: 0.86rem;
  line-height: 1.25;
}

.api-pro-badge {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 196, 87, 0.16);
  color: #ffd073;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
  padding: 4px 7px;
}

.api-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.api-pro-grid span {
  border: 1px solid rgba(255, 196, 87, 0.18);
  border-radius: 6px;
  color: rgba(239, 237, 255, 0.72);
  font-size: 0.76rem;
  padding: 7px;
}

.api-client-panel {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto auto auto minmax(270px, 0.95fr) minmax(270px, 0.9fr);
  overflow: hidden;
}

.api-request-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.09);
  background: #111317;
  padding: 10px 12px 6px;
}

.api-request-tab-wrap {
  display: inline-grid;
  grid-template-columns: minmax(0, auto) 30px;
  align-items: center;
}

.api-request-tab {
  display: inline-flex;
  max-width: 260px;
  height: 32px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px 6px 0 0;
  background: #1a1d22;
  color: var(--pearl);
  padding: 0 10px;
}

.api-tab-close {
  width: 30px;
  height: 32px;
  min-height: 32px;
  border-left: 0;
  border-radius: 0 6px 0 0;
  color: rgba(239, 237, 255, 0.58);
  padding: 0;
}

.api-tab-close:hover,
.api-tab-close:focus-visible {
  color: #ff9caf;
}

.api-request-tab span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-tab-plus {
  width: 32px;
  padding: 0;
}

.api-method-pill {
  color: #76f7a5;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.api-request-title {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(220px, 1fr);
  gap: 10px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  padding: 12px;
}

.api-request-title input {
  height: 38px;
}

.api-share-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.api-share-output[hidden] {
  display: none;
}

.api-request-line {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 108px;
  gap: 8px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  padding: 12px;
}

.api-request-line select,
.api-request-line input,
.api-send-button {
  height: 42px;
}

.api-request-line select {
  color: #76f7a5;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-weight: 800;
}

.api-send-button {
  width: 100%;
  margin: 0;
}

.api-tabs,
.api-response-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(239, 237, 255, 0.08);
  padding: 0 12px;
}

.api-tabs button,
.api-response-tabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(239, 237, 255, 0.68);
  padding: 0 10px;
  white-space: nowrap;
}

.api-tabs button:hover,
.api-tabs button:focus-visible,
.api-tabs button.is-active,
.api-response-tabs button:hover,
.api-response-tabs button:focus-visible,
.api-response-tabs button.is-active {
  border-bottom-color: var(--mint);
  color: var(--pearl);
}

.api-tabs span {
  margin-left: 3px;
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
}

.api-tab-panel {
  display: none;
  min-height: 0;
  overflow: auto;
  padding: 14px;
}

.api-tab-panel.is-active {
  display: block;
}

.api-panel-bar,
.api-response-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.api-panel-bar strong,
.api-response-bar strong {
  color: var(--pearl);
  font-size: 0.92rem;
}

.api-table-wrap {
  overflow: auto;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
}

.api-grid-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.api-grid-table th,
.api-grid-table td {
  border-bottom: 1px solid rgba(239, 237, 255, 0.07);
  border-left: 1px solid rgba(239, 237, 255, 0.06);
  padding: 0;
  text-align: left;
  vertical-align: middle;
}

.api-grid-table th:first-child,
.api-grid-table td:first-child {
  border-left: 0;
}

.api-grid-table th {
  background: rgba(255, 255, 255, 0.025);
  color: rgba(239, 237, 255, 0.72);
  font-weight: 600;
  padding: 8px 10px;
}

.api-grid-table input {
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.api-grid-table button {
  width: 32px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #ff9caf;
  padding: 0;
}

.api-auth-grid,
.api-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.api-auth-grid [hidden] {
  display: none;
}

.api-body-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.api-body-modes label,
.api-toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pearl);
}

.api-body-modes input,
.api-toggle-row input {
  accent-color: var(--mint);
}

.api-code-input,
.api-code-preview,
.api-response-body {
  width: 100%;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: #0d1117;
  color: #d8dee9;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.api-code-input {
  min-height: 210px;
  resize: vertical;
}

.api-code-preview {
  min-height: 210px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  white-space: pre-wrap;
}

.api-form-body {
  display: none;
  margin-top: 12px;
}

.api-form-body.is-active {
  display: block;
}

.api-toggle-row {
  justify-content: space-between;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px;
}

.api-response-panel {
  min-height: 0;
  border-top: 1px solid rgba(239, 237, 255, 0.1);
  background: #0c0f13;
  overflow: hidden;
}

.api-response-bar {
  margin: 0;
  padding: 12px 14px;
}

.api-response-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.api-response-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(239, 237, 255, 0.72);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  padding: 5px 8px;
}

.api-response-meta span.is-ok {
  background: rgba(64, 240, 180, 0.12);
  color: var(--mint);
}

.api-response-meta span.is-warn {
  background: rgba(255, 196, 87, 0.12);
  color: #ffd073;
}

.api-response-meta span.is-error {
  background: rgba(255, 143, 163, 0.12);
  color: #ff9caf;
}

.api-response-body,
.api-response-headers {
  display: none;
  height: 240px;
  margin: 12px;
  overflow: auto;
  padding: 12px;
}

.api-response-body.is-active,
.api-response-headers.is-active {
  display: block;
}

.api-response-headers {
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: #0d1117;
  padding: 0;
}

.api-status-line {
  color: var(--mint);
}

.api-status-line.is-error {
  color: #ff9caf;
}

.error-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159, 140, 255, 0.05) 1px, transparent 1px),
    #020610;
  background-size: 96px 96px;
}

.error-page {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 30px;
  padding: 42px 9vw;
}

.error-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.7);
}

.error-logo img {
  width: 35px;
  height: 35px;
}

.error-card {
  width: min(780px, 100%);
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.84);
  box-shadow: 10px 10px 0 rgba(0, 111, 230, 0.4);
  padding: 34px;
}

.error-card h1 {
  max-width: 700px;
  margin: 0;
  color: var(--pearl);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.02;
}

.error-card p {
  max-width: 640px;
  color: var(--soft);
}

.error-hint {
  color: rgba(239, 237, 255, 0.56) !important;
}

.error-details {
  margin-top: 18px;
  border: 1px solid rgba(255, 143, 163, 0.26);
  border-radius: 8px;
  padding: 13px;
  color: #ffb0bf;
}

.error-details summary {
  cursor: pointer;
}

.error-details code {
  display: block;
  margin-top: 10px;
  color: #ffced7;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(0, 162, 255, 0.14);
  padding: 24px 9vw 30px;
  color: rgba(239, 237, 255, 0.52);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer a,
.site-footer button {
  border: 0;
  background: transparent;
  color: rgba(0, 162, 255, 0.78);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: var(--pearl);
}

.cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  width: min(620px, calc(100vw - 44px));
  gap: 16px;
  border: 1px solid rgba(0, 162, 255, 0.34);
  border-radius: 8px;
  background: rgba(3, 10, 22, 0.96);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
  padding: 20px;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.28rem;
}

.cookie-consent p {
  margin: 7px 0 0;
  color: var(--soft);
}

.cookie-consent a {
  color: var(--neon);
}

.cookie-consent__preferences {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(0, 162, 255, 0.14);
  padding-top: 14px;
}

.cookie-consent__preferences[hidden] {
  display: none;
}

.cookie-consent__preferences label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--pearl);
}

.cookie-consent__preferences input {
  margin-top: 3px;
  accent-color: var(--electric);
}

.cookie-consent__preferences strong,
.cookie-consent__preferences small {
  display: block;
}

.cookie-consent__preferences small {
  margin-top: 2px;
  color: var(--muted);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent__actions [hidden] {
  display: none;
}

[data-reveal] {
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.about-focus-card.is-revealed:hover,
.capability-card.is-revealed:hover {
  transform: translateY(-4px);
}

.timeline-item.is-revealed:hover {
  transform: translateX(4px);
}

.project-card.is-revealed:hover {
  transform: translateY(-3px);
}

@keyframes codeFloat {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes meterPulse {

  0%,
  100% {
    opacity: 0.58;
    transform: scaleX(0.7);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes vexaBlink {

  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 1;
  }
}

@keyframes vexaActivityPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  70% {
    transform: scale(1.6);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes vexaSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pageEnter {
  from {
    opacity: 0.8;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .hero-content {
    margin-left: 4vw;
  }

  .hero-content h1,
  .about-heading h1,
  .content-hero h1 {
    font-size: 3.35rem;
  }

  .hero-content h2 {
    font-size: 2.35rem;
  }

  .about-layout,
  .experience-grid,
  .experience-capabilities,
  .contact-layout,
  .profile-layout,
  .settings-shell {
    grid-template-columns: 1fr;
  }

  .about-focus,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .settings-sidebar {
    position: static;
  }

  .settings-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skills-panel {
    position: static;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .api-workbench {
    grid-template-columns: 1fr;
  }

  .vexa-app {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .vexa-starter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vexa-app .vexa-summary-panel {
    display: grid;
  }

  .vexa-shell {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .vexa-summary-panel {
    grid-column: 1 / -1;
  }

  .api-sidebar {
    grid-template-rows: auto;
  }

  .api-pro-card {
    align-self: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 0 22px;
  }

  .site-header::before {
    inset: 8px 14px;
  }

  .site-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .social-rail {
    display: none;
  }

  .hero-section {
    min-height: 88svh;
    padding: 104px 22px 48px;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-content h1,
  .about-heading h1,
  .content-hero h1 {
    font-size: 2.55rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-copy,
  .content-hero p {
    font-size: 0.98rem;
  }

  .code-window {
    max-width: none;
    width: 420px;
    opacity: 0.42;
  }

  .code-window-a {
    right: -160px;
  }

  .code-window-b {
    display: none;
  }

  .section-pad,
  .page-main {
    padding-right: 22px;
    padding-left: 22px;
  }

  .premium-stats {
    grid-template-columns: 1fr;
  }

  .premium-plan-card,
  .premium-feature-card {
    padding: 20px;
  }

  .premium-included {
    margin-right: -22px;
    margin-left: -22px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .section-grid,
  .method-band,
  .about-stats,
  .experience-highlights,
  .project-toolbar,
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card {
    align-items: start;
  }

  .terminal-panel,
  .preview-card,
  .project-card,
  .timeline-item,
  .skills-panel,
  .about-panel,
  .about-stat,
  .about-focus-card,
  .capability-card,
  .contact-card,
  .auth-panel,
  .contact-form,
  .contact-details {
    padding: 20px;
  }

  .about-panel {
    box-shadow: 5px 5px 0 rgba(0, 111, 230, 0.72);
  }

  .site-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .error-page {
    padding: 30px 22px;
  }

  .error-card {
    padding: 24px;
    box-shadow: 6px 6px 0 rgba(0, 111, 230, 0.4);
  }

  .error-card h1 {
    font-size: 2.28rem;
  }

  .cookie-consent {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .api-lab-page {
    padding: 86px 12px 18px;
  }

  .vexa-app-body {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  .vexa-app {
    position: relative;
    height: 100svh;
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
    padding: 8px;
  }

  .vexa-app .vexa-sidebar {
    position: fixed;
    top: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 70;
    width: min(86vw, 336px);
    max-height: calc(100svh - 16px);
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    transform: translateX(calc(-100% - 14px));
    transition: transform 180ms ease;
    will-change: transform;
  }

  .vexa-app .vexa-history {
    min-height: 0;
  }

  .vexa-app .vexa-chat-panel {
    min-height: 0;
    border-radius: 8px;
  }

  .vexa-app.is-sidebar-open .vexa-sidebar {
    transform: translateX(0);
  }

  .vexa-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    border: 0;
    background: rgba(0, 0, 0, 0.54);
    opacity: 0;
    padding: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .vexa-app.is-sidebar-open .vexa-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .vexa-mobile-sidebar-button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(239, 237, 255, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--pearl);
    padding: 0;
  }

  .vexa-mobile-sidebar-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .vexa-mobile-sidebar-button:hover,
  .vexa-mobile-sidebar-button:focus-visible,
  .vexa-mobile-sidebar-button[aria-expanded="true"] {
    border-color: rgba(0, 162, 255, 0.42);
    background: rgba(0, 111, 230, 0.14);
  }

  .vexa-chat-header {
    display: flex;
    align-items: center;
  }

  .vexa-chat-header>div:first-child {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .vexa-chat-header h1 {
    grid-column: 3;
  }

  .vexa-chat-header p {
    grid-column: 3;
  }

  .vexa-status-dot {
    grid-column: 2;
  }

  .vexa-header-actions {
    justify-content: flex-end;
  }

  .vexa-page {
    width: min(100% - 28px, 760px);
    padding: 86px 0 24px;
  }

  .vexa-heading {
    display: grid;
    align-items: start;
  }

  .vexa-heading h1 {
    font-size: 1.72rem;
  }

  .vexa-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .vexa-summary-panel {
    min-height: auto;
  }

  .vexa-chat-panel {
    min-height: 0;
  }

  .vexa-message {
    width: 100%;
  }

  .vexa-messages {
    gap: 14px;
    padding: 18px 12px 24px;
  }

  .vexa-message-body,
  .vexa-message.is-user .vexa-message-body {
    max-width: min(100%, 92vw);
  }

  .vexa-message-content,
  .vexa-message.is-user .vexa-message-content {
    max-width: min(100%, 92vw);
  }

  .vexa-message.is-editing .vexa-message-body,
  .vexa-message.is-user.is-editing .vexa-message-body {
    width: min(100%, 92vw);
    max-width: min(100%, 92vw);
  }

  .vexa-message.is-editing .vexa-message-content,
  .vexa-message.is-user.is-editing .vexa-message-content {
    width: min(100%, 92vw);
    max-width: min(100%, 92vw);
  }

  .vexa-message-footer,
  .vexa-message.is-user .vexa-message-footer {
    max-width: min(100%, 92vw);
  }

  .vexa-starters {
    width: 100%;
  }

  .vexa-starter-grid {
    grid-template-columns: 1fr;
  }

  .vexa-starter-card {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .vexa-composer {
    grid-template-columns: 40px 40px minmax(0, 1fr) auto 42px;
    width: min(100% - 20px, 760px);
    margin-bottom: 10px;
  }

  .vexa-settings-layout,
  .vexa-settings-two,
  .vexa-share-grid,
  .vexa-toggle-grid,
  .vexa-choice-grid,
  .vexa-choice-grid.is-three,
  .vexa-choice-grid.is-four {
    grid-template-columns: 1fr;
  }

  .vexa-settings-actions {
    display: grid;
  }

  .settings-page,
  .profile-page {
    padding: 86px 14px 34px;
  }

  .settings-section-header,
  .settings-grid-two,
  .billing-plan-card,
  .billing-content-grid,
  .api-usage-stats,
  .profile-header {
    grid-template-columns: 1fr;
  }

  .settings-section-header {
    display: grid;
    align-items: start;
  }

  .billing-price {
    text-align: left;
  }

  .billing-action-row {
    display: grid;
    align-items: stretch;
  }

  .billing-action-row>div {
    display: grid;
    justify-content: stretch;
  }

  .settings-side-nav {
    grid-template-columns: 1fr;
  }

  .profile-header h1 {
    font-size: 2.24rem;
  }

  .api-lab-heading {
    display: grid;
  }

  .api-lab-heading-actions {
    align-items: stretch;
  }

  .api-lab-heading h1 {
    font-size: 1.55rem;
  }

  .api-workbench {
    min-height: auto;
  }

  .api-request-title,
  .api-request-line,
  .api-auth-grid,
  .api-settings-grid {
    grid-template-columns: 1fr;
  }

  .api-client-panel {
    grid-template-rows: auto auto auto auto minmax(320px, auto) minmax(280px, auto);
  }

  .api-grid-table {
    min-width: 620px;
  }

  .api-response-body,
  .api-response-headers {
    height: 280px;
  }
}

@media (max-width: 430px) {

  .hero-content h1,
  .about-heading h1,
  .content-hero h1 {
    font-size: 2.18rem;
  }

  .hero-content h2 {
    font-size: 1.48rem;
  }

  .primary-action,
  .secondary-action,
  .disabled-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.discord-time-body {
  background:
    linear-gradient(90deg, rgba(0, 162, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(64, 240, 180, 0.035) 1px, transparent 1px),
    #07090d;
  background-size: 120px 120px, 120px 120px, auto;
  overflow-x: hidden;
}

.discord-time-page {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  gap: 34px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 104px 0 48px;
}

.discord-time-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.discord-time-heading h1 {
  width: 100%;
  max-width: 760px;
  margin: 0;
  color: var(--neon);
  font-size: 3.9rem;
  line-height: 0.94;
  overflow-wrap: anywhere;
}

.discord-time-heading p:last-child {
  width: 100%;
  max-width: 640px;
  margin: 12px 0 0;
  color: rgba(239, 237, 255, 0.72);
}

.discord-time-console {
  display: grid;
  max-width: 100%;
  gap: 22px;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 8px;
  background: rgba(13, 15, 19, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  padding: 22px;
}

.dt-toast {
  position: fixed;
  top: calc(var(--header-height) + 16px);
  right: 24px;
  z-index: 80;
  border: 1px solid rgba(64, 240, 180, 0.38);
  border-radius: 8px;
  background: rgba(4, 14, 17, 0.96);
  color: var(--pearl);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  font-weight: 800;
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dt-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dt-control-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) auto minmax(260px, 1.35fr) minmax(230px, 0.8fr);
  gap: 10px;
  align-items: end;
}

.dt-field,
.dt-timezone {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.dt-field>span,
.dt-timezone>span,
.dt-selected-preview span {
  color: rgba(239, 237, 255, 0.68);
  font-size: 0.8rem;
}

.dt-field input,
.dt-timezone select {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 6px;
  background: #101318;
  color: var(--pearl);
  outline: none;
  padding: 0 12px;
}

.dt-field input:focus,
.dt-timezone select:focus {
  border-color: rgba(64, 240, 180, 0.68);
  box-shadow: 0 0 0 3px rgba(64, 240, 180, 0.1);
}

.dt-copy-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.dt-button,
.dt-button-compact,
.dt-copy-line button,
.dt-preset-group button,
.dt-format-token {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(239, 237, 255, 0.12);
  border-radius: 6px;
  background: rgba(22, 25, 31, 0.95);
  color: var(--pearl);
  font-weight: 700;
  padding: 0 12px;
}

.dt-button:hover,
.dt-button-compact:hover,
.dt-copy-line button:hover,
.dt-preset-group button:hover,
.dt-format-token:hover {
  border-color: rgba(0, 162, 255, 0.5);
  color: var(--neon);
}

.dt-button-compact {
  height: 42px;
  align-self: end;
}

.dt-preset-group {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.dt-preset-group button {
  min-height: 42px;
  padding: 0 8px;
  color: rgba(239, 237, 255, 0.82);
}

.dt-format-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.dt-format-card {
  display: grid;
  min-height: 96px;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(239, 237, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pearl);
  text-align: left;
  padding: 12px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dt-format-card:hover,
.dt-format-card:focus-visible,
.dt-format-card.is-active {
  border-color: rgba(64, 240, 180, 0.58);
  background: rgba(64, 240, 180, 0.07);
}

.dt-format-card.is-copied {
  transform: translateY(-2px);
}

.dt-format-card span,
.dt-format-card code,
.dt-format-token {
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
}

.dt-format-card span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 6px;
  background: rgba(0, 162, 255, 0.12);
  color: #7fc8ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.dt-format-card strong {
  min-height: 34px;
  color: var(--pearl);
  font-size: 0.95rem;
  line-height: 1.05;
}

.dt-format-card small {
  color: var(--muted);
  line-height: 1.1;
}

.dt-format-card code {
  color: var(--mint);
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}

.dt-console-footer,
.discord-time-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.dt-selected-preview {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.dt-selected-preview strong {
  color: var(--pearl);
  font-size: 1.18rem;
}

.dt-timezone {
  width: min(320px, 100%);
}

.discord-time-section {
  display: grid;
  gap: 14px;
}

.discord-time-section h2 {
  margin: 0;
  color: var(--neon);
  font-size: 1.5rem;
}

.discord-time-section p {
  max-width: 820px;
  margin: 6px 0 0;
  color: rgba(239, 237, 255, 0.72);
}

.dt-table-wrap {
  overflow: auto;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 8px;
  background: rgba(13, 15, 19, 0.9);
}

.dt-format-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.dt-format-table th,
.dt-format-table td {
  border-bottom: 1px solid rgba(239, 237, 255, 0.06);
  color: rgba(239, 237, 255, 0.82);
  padding: 12px 14px;
  text-align: left;
}

.dt-format-table th {
  color: var(--pearl);
  font-size: 0.82rem;
}

.dt-format-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}

.dt-format-table tr.is-active td {
  background: rgba(0, 162, 255, 0.08);
}

.dt-format-token {
  min-width: 40px;
  min-height: 30px;
  color: var(--mint);
  padding: 0 10px;
}

.dt-code-block {
  min-height: 180px;
  overflow: auto;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 8px;
  background: #090c11;
  color: var(--pearl);
  padding: 18px;
}

.dt-code-block code {
  color: inherit;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.86rem;
  white-space: pre;
}

.api-catalog-body {
  background:
    linear-gradient(90deg, rgba(0, 162, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(64, 240, 180, 0.035) 1px, transparent 1px),
    #07090d;
  background-size: 120px 120px, 120px 120px, auto;
}

.api-catalog-page {
  display: grid;
  width: min(1180px, calc(100% - 36px));
  gap: 26px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 104px 0 48px;
}

.api-catalog-heading {
  display: grid;
  gap: 10px;
}

.api-catalog-heading h1 {
  max-width: 760px;
  margin: 0;
  color: var(--neon);
  font-size: 3.4rem;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.api-catalog-heading p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(239, 237, 255, 0.72);
}

.api-catalog-topline,
.api-catalog-grid,
.api-doc-panel {
  width: 100%;
}

.api-catalog-topline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.api-catalog-topline div,
.api-product-card,
.api-doc-panel {
  border: 1px solid rgba(0, 162, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 15, 19, 0.94);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.22);
}

.api-catalog-topline div {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.api-catalog-topline span,
.api-meta-list dt {
  color: rgba(239, 237, 255, 0.58);
  font-size: 0.82rem;
}

.api-catalog-topline strong,
.api-meta-list dd {
  color: var(--pearl);
}

.api-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.api-product-card {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.api-product-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.api-product-card h2,
.api-doc-panel h2 {
  margin: 8px 0 0;
  color: var(--pearl);
  font-size: 1.55rem;
}

.api-product-card p,
.api-doc-panel p {
  margin: 0;
  color: rgba(239, 237, 255, 0.72);
}

.api-plan-badge,
.api-status-dot {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(64, 240, 180, 0.28);
  border-radius: 999px;
  background: rgba(64, 240, 180, 0.08);
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 9px;
}

.api-plan-badge.is-pro {
  border-color: rgba(0, 162, 255, 0.38);
  background: rgba(0, 162, 255, 0.1);
  color: #7fc8ff;
}

.api-status-dot {
  border-color: rgba(0, 162, 255, 0.28);
  background: rgba(0, 162, 255, 0.08);
  color: var(--neon);
}

.api-meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.api-meta-list div {
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  padding: 10px;
}

.api-meta-list dt,
.api-meta-list dd {
  margin: 0;
}

.api-endpoint-list {
  display: grid;
  gap: 8px;
}

.api-endpoint-list h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1rem;
}

.api-endpoint-list code,
.api-doc-panel pre {
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: #090c11;
}

.api-endpoint-list code {
  display: block;
  overflow: auto;
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.82rem;
  padding: 10px;
}

.api-doc-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.api-doc-panel pre {
  overflow: auto;
  margin: 0;
  color: var(--pearl);
  padding: 16px;
}

.api-doc-panel code {
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.84rem;
  white-space: pre;
}

.dev-tool-body {
  background:
    linear-gradient(90deg, rgba(0, 162, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(64, 240, 180, 0.035) 1px, transparent 1px),
    #07090d;
  background-size: 112px 112px, 112px 112px, auto;
}

.dev-tool-page {
  display: grid;
  width: min(1220px, calc(100% - 36px));
  gap: 24px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 104px 0 48px;
}

.dev-tool-heading {
  display: grid;
  gap: 10px;
}

.dev-tool-heading h1 {
  max-width: 850px;
  margin: 0;
  color: var(--neon);
  font-size: 3.1rem;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.dev-tool-heading p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(239, 237, 255, 0.72);
}

.dev-tool-console,
.dev-card,
.dev-field {
  min-width: 0;
}

.dev-tool-console {
  display: grid;
  gap: 14px;
}

.dev-tool-grid {
  display: grid;
  gap: 14px;
}

.dev-tool-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dev-tool-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dev-tool-grid.is-six {
  grid-template-columns: minmax(180px, 1.3fr) repeat(5, minmax(82px, 1fr));
}

.dev-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 162, 255, 0.15);
  border-radius: 8px;
  background: rgba(13, 15, 19, 0.94);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.dev-card h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.2rem;
}

.dev-card p {
  margin: 0;
  color: rgba(239, 237, 255, 0.68);
}

.dev-card-head,
.dev-copy-line,
.dev-actions,
.dev-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dev-card-head {
  justify-content: space-between;
}

.dev-card-head>div {
  display: grid;
  gap: 6px;
}

.dev-actions {
  flex-wrap: wrap;
}

.dev-actions.is-tight {
  gap: 7px;
}

.dev-field {
  display: grid;
  gap: 7px;
}

.dev-field span,
.dev-status,
.dev-stat-grid span {
  color: rgba(239, 237, 255, 0.6);
  font-size: 0.82rem;
}

.dev-field input,
.dev-field select,
.dev-field textarea,
.dev-small-input,
.dev-card select,
.dev-copy-line input,
.dev-card textarea {
  width: 100%;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 7px;
  background: rgba(2, 6, 16, 0.86);
  color: var(--pearl);
  outline: none;
  padding: 11px 12px;
}

.dev-field textarea,
.dev-card textarea {
  min-height: 120px;
  resize: vertical;
}

.dev-field input:focus,
.dev-field select:focus,
.dev-field textarea:focus,
.dev-small-input:focus,
.dev-card select:focus,
.dev-card textarea:focus {
  border-color: rgba(0, 162, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.1);
}

.dev-card button,
.dev-copy-line button {
  min-height: 40px;
  border: 1px solid rgba(0, 162, 255, 0.3);
  border-radius: 7px;
  background: rgba(0, 111, 230, 0.15);
  color: var(--pearl);
  font-weight: 800;
  padding: 0 13px;
}

.dev-card button:hover,
.dev-card button:focus-visible,
.dev-copy-line button:hover,
.dev-copy-line button:focus-visible {
  border-color: rgba(64, 240, 180, 0.45);
  background: rgba(64, 240, 180, 0.12);
}

.dev-card button:disabled,
.dev-copy-line button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.dev-copy-line {
  align-items: flex-end;
}

.dev-copy-line .dev-field {
  flex: 1;
}

.dev-small-input {
  max-width: 88px;
}

.dev-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dev-stat-grid div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  padding: 10px;
}

.dev-stat-grid strong {
  min-width: 0;
  overflow: hidden;
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.86rem;
  text-overflow: ellipsis;
}

.dev-card pre,
.dev-diff,
.dev-match-list,
.dev-event-list {
  min-height: 120px;
  max-height: 520px;
  overflow: auto;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 7px;
  background: #090c11;
  color: var(--pearl);
  margin: 0;
  padding: 13px;
}

.dev-card code,
.dev-diff,
.dev-match-list {
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.84rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.dev-status.is-error {
  color: #ff9caf;
}

.dev-status.is-ok {
  color: var(--mint);
}

.dev-diff-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid rgba(239, 237, 255, 0.05);
  padding: 6px 0;
}

.dev-diff-row.is-add {
  color: var(--mint);
}

.dev-diff-row.is-remove {
  color: #ff9caf;
}

.dev-diff-row.is-change {
  color: #ffd98a;
}

.dev-run-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.dev-run-list li {
  color: rgba(239, 237, 255, 0.82);
}

.dev-check-row {
  flex-wrap: wrap;
}

.dev-check-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--pearl);
  padding: 7px 10px;
}

.dev-highlight mark {
  border-radius: 4px;
  background: rgba(64, 240, 180, 0.24);
  color: var(--pearl);
  padding: 0 2px;
}

.dev-match-item,
.dev-event-item {
  display: grid;
  width: 100%;
  gap: 5px;
  min-height: 0;
  border-bottom: 1px solid rgba(239, 237, 255, 0.07);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 9px 0;
  text-align: left;
}

.dev-match-item:last-child,
.dev-event-item:last-child {
  border-bottom: 0;
}

.dev-match-item strong,
.dev-event-item strong {
  color: var(--mint);
}

.dev-match-item span,
.dev-event-item span {
  color: rgba(239, 237, 255, 0.62);
}

.dev-event-item.is-active {
  border-left: 2px solid var(--mint);
  background: rgba(64, 240, 180, 0.055);
  padding-left: 9px;
}

.dev-pill {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border: 1px solid rgba(64, 240, 180, 0.22);
  border-radius: 6px;
  background: rgba(64, 240, 180, 0.075);
  color: rgba(239, 237, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 7px;
  text-transform: uppercase;
}

.webhook-workbench {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.webhook-sidebar {
  position: sticky;
  top: 92px;
}

.webhook-sidebar>button {
  width: 100%;
}

.webhook-main,
.webhook-endpoint-panel {
  min-width: 0;
}

.webhook-main {
  display: grid;
  gap: 14px;
}

.webhook-endpoint-list {
  display: grid;
  max-height: 540px;
  gap: 8px;
  overflow: auto;
  padding-right: 2px;
}

.webhook-empty {
  border: 1px dashed rgba(239, 237, 255, 0.16);
  border-radius: 7px;
  color: rgba(239, 237, 255, 0.62);
  padding: 13px;
}

.dev-card .webhook-endpoint-item {
  display: grid;
  width: 100%;
  min-height: 76px;
  gap: 5px;
  border-color: rgba(239, 237, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: var(--pearl);
  padding: 10px;
  text-align: left;
}

.dev-card .webhook-endpoint-item:hover,
.dev-card .webhook-endpoint-item:focus-visible,
.dev-card .webhook-endpoint-item.is-active {
  border-color: rgba(64, 240, 180, 0.5);
  background: rgba(64, 240, 180, 0.105);
}

.webhook-endpoint-item strong,
.webhook-endpoint-item span,
.webhook-endpoint-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webhook-endpoint-item strong {
  color: var(--mint);
}

.webhook-endpoint-item span,
.webhook-endpoint-item small {
  color: rgba(239, 237, 255, 0.62);
  font-size: 0.78rem;
}

.webhook-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.webhook-meta-row div {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  padding: 10px;
}

.webhook-meta-row span {
  color: rgba(239, 237, 255, 0.6);
  font-size: 0.78rem;
}

.webhook-meta-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webhook-history-grid .dev-card {
  align-content: start;
  min-height: 0;
}

.webhook-history-grid {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.webhook-history-grid .dev-event-list {
  display: grid;
  align-content: start;
  min-height: 260px;
  max-height: 460px;
  gap: 8px;
  padding: 10px;
}

.webhook-history-grid .dev-event-item {
  gap: 7px;
  border: 1px solid rgba(239, 237, 255, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px;
}

.webhook-history-grid .dev-event-item:last-child {
  border-bottom: 1px solid rgba(239, 237, 255, 0.09);
}

.webhook-history-grid .dev-event-item:hover,
.webhook-history-grid .dev-event-item:focus-visible,
.webhook-history-grid .dev-event-item.is-active {
  border-color: rgba(64, 240, 180, 0.5);
  background: rgba(64, 240, 180, 0.085);
}

.webhook-history-grid .dev-event-item.is-active {
  border-left-width: 3px;
  padding-left: 11px;
}

.webhook-event-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.webhook-event-line strong {
  flex: 0 0 auto;
  border-radius: 5px;
  background: rgba(64, 240, 180, 0.12);
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.74rem;
  padding: 4px 6px;
}

.webhook-event-line code {
  min-width: 0;
  overflow: hidden;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webhook-detail-view {
  display: grid;
  align-content: start;
  min-height: 260px;
  max-height: 520px;
  gap: 12px;
  overflow: auto;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 7px;
  background: #090c11;
  color: var(--pearl);
  padding: 13px;
}

.webhook-detail-empty {
  color: rgba(239, 237, 255, 0.62);
}

.webhook-detail-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.webhook-detail-summary div,
.webhook-detail-block {
  min-width: 0;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

.webhook-detail-summary div {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.webhook-detail-summary span,
.webhook-detail-block h3 {
  color: rgba(239, 237, 255, 0.58);
  font-size: 0.76rem;
}

.webhook-detail-summary strong {
  min-width: 0;
  overflow: hidden;
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webhook-detail-block {
  display: grid;
  gap: 8px;
  padding: 11px;
}

.webhook-detail-block h3 {
  margin: 0;
  text-transform: uppercase;
}

.webhook-detail-block pre {
  max-height: 220px;
  overflow: auto;
  margin: 0;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 1060px) {
  .dt-control-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dt-field-code,
  .dt-preset-group {
    grid-column: 1 / -1;
  }

  .dt-format-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dt-preset-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .api-catalog-grid {
    grid-template-columns: 1fr;
  }

  .dev-tool-grid.is-three {
    grid-template-columns: 1fr;
  }

  .dev-tool-grid.is-six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .webhook-workbench {
    grid-template-columns: 1fr;
  }

  .webhook-history-grid {
    grid-template-columns: 1fr;
  }

  .webhook-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  .discord-time-page {
    width: min(1180px, calc(100% - 24px));
    padding-top: 86px;
  }

  .discord-time-heading h1 {
    max-width: 330px;
    font-size: 1.55rem;
    line-height: 1;
  }

  .discord-time-heading p:last-child {
    max-width: 330px;
  }

  .discord-time-console {
    padding: 14px;
  }

  .dt-control-grid,
  .dt-copy-line,
  .dt-console-footer,
  .discord-time-section-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dt-preset-group,
  .dt-format-cards {
    grid-template-columns: 1fr;
  }

  .dt-toast {
    right: 14px;
    left: 14px;
    text-align: center;
  }

  .dt-button,
  .dt-button-compact,
  .dt-copy-line button,
  .dt-preset-group button {
    width: 100%;
  }

  .dt-timezone {
    width: 100%;
  }

  .api-catalog-page {
    width: min(1180px, calc(100% - 24px));
    padding-top: 86px;
  }

  .api-catalog-heading h1 {
    font-size: 2.18rem;
  }

  .api-catalog-topline,
  .api-meta-list {
    grid-template-columns: 1fr;
  }

  .api-product-head {
    display: grid;
  }

  .dev-tool-page {
    width: min(1220px, calc(100% - 24px));
    padding-top: 86px;
  }

  .dev-tool-heading h1 {
    font-size: 2.1rem;
  }

  .dev-tool-grid.is-two,
  .dev-tool-grid.is-six,
  .dev-card-head,
  .dev-copy-line {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dev-actions,
  .dev-actions.is-tight {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dev-card button,
  .dev-copy-line button,
  .dev-small-input {
    width: 100%;
    max-width: none;
  }

  .webhook-meta-row {
    grid-template-columns: 1fr;
  }

  .webhook-detail-summary {
    grid-template-columns: 1fr;
  }

  .webhook-endpoint-list {
    max-height: none;
  }
}

.dev-tool-page[data-dev-tool="webhookTester"] {
  width: min(1520px, calc(100% - 36px));
  gap: 18px;
}

.dev-tool-page[data-dev-tool="webhookTester"] .dev-tool-heading {
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1fr);
  align-items: end;
  column-gap: 28px;
}

.dev-tool-page[data-dev-tool="webhookTester"] .dev-tool-heading .eyebrow {
  grid-column: 1 / -1;
}

.dev-tool-page[data-dev-tool="webhookTester"] .dev-tool-heading h1 {
  max-width: 700px;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
}

.dev-tool-page[data-dev-tool="webhookTester"] .dev-tool-heading p:last-child {
  max-width: 680px;
  align-self: end;
}

.webhook-console {
  --webhook-panel: rgba(9, 13, 20, 0.96);
  --webhook-border: rgba(83, 126, 170, 0.24);
  --webhook-border-strong: rgba(64, 240, 180, 0.42);
  gap: 18px;
}

.webhook-workbench {
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: 18px;
}

.webhook-console .dev-card {
  border-color: var(--webhook-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 120px),
    var(--webhook-panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.webhook-sidebar {
  top: 90px;
  gap: 16px;
  max-height: calc(100vh - 112px);
}

.webhook-sidebar .dev-card-head {
  align-items: flex-start;
}

.webhook-sidebar .dev-card-head p {
  max-width: 260px;
  color: rgba(239, 237, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.35;
}

.webhook-sidebar>button {
  border-color: rgba(64, 240, 180, 0.34);
  background: linear-gradient(135deg, rgba(0, 111, 230, 0.42), rgba(64, 240, 180, 0.14));
}

.webhook-sidebar>button:hover,
.webhook-sidebar>button:focus-visible {
  border-color: rgba(64, 240, 180, 0.7);
  background: linear-gradient(135deg, rgba(0, 111, 230, 0.58), rgba(64, 240, 180, 0.22));
}

.webhook-main {
  gap: 18px;
}

.webhook-endpoint-panel {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 14px 18px;
}

.webhook-endpoint-panel .dev-card-head,
.webhook-endpoint-panel .dev-status {
  grid-column: 1 / -1;
}

.webhook-endpoint-panel .dev-card-head {
  align-items: flex-start;
}

.webhook-endpoint-panel .dev-card-head h2 {
  max-width: 920px;
  overflow: hidden;
  color: #f7f6ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.webhook-endpoint-panel [data-webhook-action="delete"] {
  border-color: rgba(255, 107, 138, 0.28);
  background: rgba(255, 107, 138, 0.08);
}

.webhook-endpoint-panel [data-webhook-action="delete"]:hover,
.webhook-endpoint-panel [data-webhook-action="delete"]:focus-visible {
  border-color: rgba(255, 107, 138, 0.56);
  background: rgba(255, 107, 138, 0.14);
}

.webhook-endpoint-panel .dev-copy-line {
  align-items: end;
  gap: 10px;
}

.webhook-endpoint-panel .dev-copy-line input {
  min-height: 48px;
  border-color: rgba(0, 162, 255, 0.3);
  background: rgba(2, 6, 16, 0.96);
  color: #f7f6ff;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.86rem;
  font-weight: 700;
}

.webhook-endpoint-panel .dev-copy-line button {
  min-width: 84px;
}

.webhook-endpoint-panel .dev-status {
  display: inline-flex;
  min-height: 18px;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(64, 240, 180, 0.9);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
}

.webhook-endpoint-panel .dev-status::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
  content: "";
}

.webhook-endpoint-panel .dev-status.is-error {
  color: #ff8ea5;
}

.webhook-endpoint-panel .dev-status:empty {
  display: none;
}

.webhook-endpoint-list {
  gap: 9px;
  max-height: calc(100vh - 350px);
  min-height: 120px;
  padding-right: 3px;
}

.webhook-empty,
.webhook-detail-empty {
  display: grid;
  min-height: 112px;
  place-items: center;
  text-align: center;
}

.dev-card .webhook-endpoint-item {
  position: relative;
  min-height: 78px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.026);
  padding: 12px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.dev-card .webhook-endpoint-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  content: "";
}

.dev-card .webhook-endpoint-item:hover,
.dev-card .webhook-endpoint-item:focus-visible,
.dev-card .webhook-endpoint-item.is-active {
  border-color: var(--webhook-border-strong);
  background: rgba(64, 240, 180, 0.09);
}

.dev-card .webhook-endpoint-item:hover,
.dev-card .webhook-endpoint-item:focus-visible {
  transform: translateY(-1px);
}

.dev-card .webhook-endpoint-item.is-active::before {
  background: var(--mint);
  box-shadow: 0 0 18px rgba(64, 240, 180, 0.42);
}

.webhook-endpoint-item strong {
  font-size: 0.98rem;
}

.webhook-endpoint-item span,
.webhook-endpoint-item small {
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.74rem;
}

.webhook-meta-row {
  gap: 10px;
}

.webhook-meta-row div,
.webhook-detail-summary div {
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
}

.webhook-meta-row span,
.webhook-detail-summary span {
  color: rgba(239, 237, 255, 0.58);
  font-size: 0.76rem;
}

.webhook-meta-row strong,
.webhook-detail-summary strong {
  font-size: 0.84rem;
}

.webhook-history-grid {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.webhook-history-grid .dev-card {
  grid-template-rows: auto auto;
  align-content: start;
}

.webhook-history-grid .dev-event-list,
.webhook-detail-view {
  height: auto;
  min-height: 240px;
  max-height: 480px;
}

.webhook-history-grid .dev-event-list {
  background: rgba(2, 6, 16, 0.62);
}

.webhook-event-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}

.webhook-event-line code {
  color: #f7f6ff;
}

.webhook-detail-view {
  background: #080b11;
  padding: 14px;
}

.webhook-detail-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.webhook-detail-block {
  background: transparent;
  border: 0;
  padding: 0;
}

.webhook-detail-block h3 {
  color: rgba(239, 237, 255, 0.78);
  font-size: 0.9rem;
  text-transform: none;
}

.webhook-detail-block pre {
  max-height: 220px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 7px;
  background: #11131d;
  color: #dce8ff;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.webhook-detail-block pre code,
.webhook-detail-block pre code.hljs {
  display: block;
  overflow: visible;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
}

.webhook-detail-block pre code.hljs {
  color: #c0caf5;
}

@media (max-width: 1180px) {
  .dev-tool-page[data-dev-tool="webhookTester"] .dev-tool-heading,
  .webhook-workbench,
  .webhook-history-grid {
    grid-template-columns: 1fr;
  }

  .webhook-sidebar {
    position: static;
    max-height: none;
  }

  .webhook-endpoint-list {
    max-height: 360px;
  }
}

@media (max-width: 760px) {
  .dev-tool-page[data-dev-tool="webhookTester"] {
    width: min(100% - 24px, 1220px);
  }

  .webhook-endpoint-panel,
  .webhook-detail-summary {
    grid-template-columns: 1fr;
  }

  .webhook-endpoint-panel .dev-card-head h2 {
    white-space: normal;
  }

  .webhook-history-grid .dev-card {
    grid-template-rows: auto;
  }

  .webhook-history-grid .dev-event-list,
  .webhook-detail-view {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .webhook-detail-view {
    overflow: visible;
  }

  .webhook-detail-block pre {
    max-height: none;
    overflow: visible;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

.dashboard-login,
.dashboard-shell {
  min-height: 100vh;
  background: #020610;
}

.dashboard-login {
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(420px, 100%);
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.88);
  padding: 28px;
}

.login-panel img {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.login-panel h1,
.dash-header h1 {
  margin: 0;
  color: var(--pearl);
  line-height: 1.05;
}

.login-panel p,
.dash-header p,
.dash-muted {
  color: var(--muted);
}

.login-panel form,
.dash-form {
  display: grid;
  gap: 16px;
}

.login-panel label,
.dash-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.login-panel input,
.dash-form input,
.dash-form textarea,
.dash-form select {
  width: 100%;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 6px;
  background: rgba(2, 6, 16, 0.9);
  color: var(--pearl);
  outline: none;
  padding: 12px 13px;
}

.dash-form textarea {
  min-height: 96px;
  resize: vertical;
}

.dash-form select {
  min-height: 45px;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
}

.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid rgba(0, 162, 255, 0.16);
  background: rgba(2, 6, 16, 0.96);
  padding: 22px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pearl);
  font-weight: 800;
}

.dash-brand img {
  width: 34px;
  height: 34px;
}

.dash-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  margin-top: 28px;
}

.dash-nav a,
.dash-sidebar-footer a {
  border-radius: 6px;
  color: var(--soft);
  padding: 10px 11px;
}

.dash-nav a:hover,
.dash-nav a:focus-visible,
.dash-nav a.is-active {
  background: rgba(0, 111, 230, 0.16);
  color: var(--pearl);
}

.dash-sidebar-footer {
  display: grid;
  gap: 6px;
}

.dash-main {
  width: min(1180px, 100%);
  padding: 34px;
}

.dash-header {
  margin-bottom: 22px;
}

.dash-header p {
  margin: 0 0 5px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
}

.dash-header h1 {
  font-size: 2.25rem;
}

.dash-notice,
.dash-alert {
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 13px 14px;
}

.dash-notice {
  border: 1px solid rgba(64, 240, 180, 0.24);
  background: rgba(64, 240, 180, 0.08);
  color: var(--mint);
}

.dash-alert {
  border: 1px solid rgba(255, 143, 163, 0.3);
  background: rgba(255, 143, 163, 0.09);
  color: #ffb0bf;
}

.dash-section {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.72);
  padding: 22px;
}

.dash-section h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.45rem;
}

.dash-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dash-section-header p {
  margin: 6px 0 0;
}

.dash-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dash-metric-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

.dash-metric-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-metric-grid strong {
  color: var(--mint);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
}

.dash-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dash-repeat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid rgba(0, 162, 255, 0.12);
  padding-top: 16px;
}

.dash-repeat-compact {
  grid-template-columns: minmax(140px, 0.5fr) 80px minmax(240px, 1fr) auto;
  align-items: end;
}

.project-editor {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sortable-list {
  display: grid;
  gap: 16px;
}

.project-editor[data-sortable-item] {
  border: 1px solid rgba(0, 162, 255, 0.12);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.2);
  padding: 16px;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.project-editor.is-dragging {
  border-color: var(--neon);
  opacity: 0.72;
  transform: scale(0.99);
}

.project-editor-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 162, 255, 0.12);
  padding-bottom: 12px;
}

.project-editor-bar p {
  margin: 0;
  color: var(--pearl);
  font-weight: 700;
}

.drag-handle {
  display: inline-grid;
  grid-template-columns: repeat(3, 4px) auto;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 6px;
  background: rgba(0, 111, 230, 0.12);
  color: var(--neon);
  cursor: grab;
  padding: 8px 10px;
}

.drag-handle:active {
  cursor: grabbing;
}

.drag-handle span {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.72;
}

.drag-handle strong {
  margin-left: 6px;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
}

.dash-check {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px !important;
  color: #ffb0bf !important;
}

.dash-check input {
  width: auto;
}

.dash-search-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.dash-user-list {
  display: grid;
  gap: 16px;
}

.dash-user-card {
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.28);
  padding: 16px;
}

.dash-user-summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.dash-user-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(64, 240, 180, 0.24);
  border-radius: 999px;
  background: rgba(64, 240, 180, 0.1);
  color: var(--mint);
  font-weight: 800;
}

.dash-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dash-user-summary strong,
.dash-user-summary span,
.dash-user-summary small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-user-summary strong {
  color: var(--pearl);
}

.dash-user-summary span,
.dash-user-summary small {
  color: var(--muted);
}

.dash-user-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dash-user-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
}

.dash-user-metrics div {
  border: 1px solid rgba(239, 237, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  padding: 10px;
}

.dash-user-metrics dt,
.dash-user-metrics dd {
  margin: 0;
}

.dash-user-metrics dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.dash-user-metrics dd {
  color: var(--pearl);
  overflow-wrap: anywhere;
}

.dash-message {
  border-top: 1px solid rgba(0, 162, 255, 0.12);
  padding-top: 12px;
}

.dash-message strong,
.dash-message span {
  display: block;
}

.dash-message span {
  color: var(--muted);
  font-size: 0.84rem;
}

.dash-message p {
  margin: 6px 0 0;
  color: var(--soft);
}

.dash-error-list {
  display: grid;
  gap: 14px;
}

.dash-error-item {
  border-top: 1px solid rgba(0, 162, 255, 0.12);
  padding-top: 16px;
}

.dash-error-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dash-error-summary strong,
.dash-error-summary span {
  display: block;
}

.dash-error-summary strong {
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.9rem;
}

.dash-error-summary span,
.dash-error-meta {
  color: var(--muted);
}

.dash-error-code {
  border: 1px solid rgba(255, 143, 163, 0.28);
  border-radius: 999px;
  color: #ffb0bf !important;
  padding: 5px 9px;
}

.dash-error-item p {
  color: var(--soft);
  margin: 10px 0;
}

.dash-error-meta {
  display: grid;
  gap: 6px;
  margin: 0;
}

.dash-error-meta div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}

.dash-error-meta dt,
.dash-error-meta dd {
  margin: 0;
}

.dash-error-meta dd {
  overflow-wrap: anywhere;
}

.dash-error-stack {
  margin-top: 12px;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 8px;
  padding: 12px;
}

.dash-error-stack summary {
  cursor: pointer;
  color: var(--neon);
}

.dash-error-stack pre {
  overflow: auto;
  max-height: 320px;
  margin: 12px 0 0;
  color: #d8d5ff;
  font-size: 0.78rem;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dash-sidebar {
    position: static;
    height: auto;
  }

  .dash-main {
    padding: 22px;
  }

  .dash-lang-grid,
  .dash-repeat,
  .dash-repeat-compact,
  .project-editor,
  .dash-search-form,
  .dash-section-header,
  .dash-error-summary,
  .dash-error-meta div,
  .dash-user-summary,
  .dash-metric-grid,
  .dash-user-metrics {
    grid-template-columns: 1fr;
  }

  .dash-section-header,
  .dash-error-summary {
    display: grid;
  }
}

/* ===== VX MOTION LAYER ===== */

/* Global aurora - muted, site palette only (no green, no purple) */
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(46% 40% at 78% 12%, rgba(0, 111, 230, 0.13), transparent 70%),
    radial-gradient(40% 36% at 16% 34%, rgba(0, 162, 255, 0.09), transparent 70%),
    radial-gradient(54% 46% at 60% 88%, rgba(13, 52, 102, 0.18), transparent 72%);
  animation: vxAurora 28s ease-in-out infinite alternate;
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

@keyframes vxAurora {
  0% {
    transform: translate3d(-1.2%, -0.8%, 0) scale(1);
  }

  50% {
    transform: translate3d(1.4%, 1%, 0) scale(1.06);
  }

  100% {
    transform: translate3d(-0.9%, -1.2%, 0) scale(1.02);
  }
}

/* Cursor spotlight - follows the existing --pointer-x/y ratio vars */
body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    620px 620px at calc(50% + var(--pointer-x, 0) * 46%) calc(50% + var(--pointer-y, 0) * 46%),
    rgba(0, 162, 255, 0.07),
    transparent 65%
  );
  content: "";
  pointer-events: none;
}

/* Page transition overlay - refined wipe with rounded edge */
#vx-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  border-radius: 0 0 36px 36px;
  background:
    radial-gradient(70% 60% at 18% 0%, rgba(0, 111, 230, 0.2), transparent 70%),
    linear-gradient(180deg, #04101f 0%, #020610 55%, #04182f 100%);
  box-shadow: 0 0 90px rgba(0, 162, 255, 0.25);
  pointer-events: none;
  transform: translateY(102%);
  transition: transform 0.5s cubic-bezier(0.83, 0, 0.17, 1);
}

#vx-page-overlay::after {
  position: absolute;
  right: 12%;
  bottom: 0;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 162, 255, 0.85), transparent);
  content: "";
}

#vx-page-overlay[data-state="enter"] {
  transform: translateY(0);
}

#vx-page-overlay[data-state="exit"] {
  transform: translateY(-104%);
  transition-delay: 0.06s;
}

/* ===== Hero ===== */

.vx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 132px 9vw 96px;
}

.vx-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 140px;
  background: linear-gradient(to top, #020610 8%, transparent);
  content: "";
  pointer-events: none;
}

.vx-hero__aurora {
  position: absolute;
  inset: -22%;
  z-index: -3;
  background:
    radial-gradient(36% 32% at 64% 32%, rgba(0, 111, 230, 0.18), transparent 70%),
    radial-gradient(30% 28% at 28% 68%, rgba(0, 162, 255, 0.09), transparent 70%),
    radial-gradient(32% 30% at 82% 78%, rgba(18, 64, 122, 0.18), transparent 70%);
  animation: vxHeroDrift 22s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

@keyframes vxHeroDrift {
  0% {
    transform: translate3d(-1.4%, -1%, 0) rotate(-1.2deg) scale(1);
  }

  100% {
    transform: translate3d(1.8%, 1.4%, 0) rotate(1.2deg) scale(1.06);
  }
}

.vx-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.vx-hero__canvas.is-live {
  opacity: 1;
}

.vx-hero.is-nomotion .vx-hero__canvas {
  display: none;
}

.vx-hero__inner {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
}

/* Typing intro */
.vx-title {
  margin: 0;
  color: #eef2ff;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.vx-subtitle {
  margin: 16px 0 0;
  color: rgba(222, 230, 255, 0.68);
  font-size: clamp(1.35rem, 3.1vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  text-wrap: balance;
}

.vx-title.is-typing::after,
.vx-subtitle.is-typing::after {
  display: inline-block;
  width: 0.55ch;
  height: 0.92em;
  margin-left: 6px;
  vertical-align: -0.12em;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(0, 162, 255, 0.8);
  animation: vxCaretBlink 0.9s steps(1, jump-none) infinite;
  content: "";
}

@keyframes vxCaretBlink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.vx-title.is-typed {
  color: #f6f8ff;
}

.vx-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 1.06rem;
  line-height: 1.65;
}

/* Code backdrop - embedded in the page, not a floating card */
.vx-hero .code-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.6s ease 0.5s;
}

.vx-hero.is-entered .code-backdrop {
  opacity: 1;
}

.code-window {
  position: absolute;
  width: 480px;
  max-width: 44vw;
  border-left: 1px solid rgba(0, 111, 230, 0.18);
  padding-left: 18px;
  color: rgba(110, 152, 205, 0.34);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
  line-height: 1.7;
  animation: codeFloat 12s ease-in-out infinite;
}

.code-window pre {
  margin: 0;
  white-space: pre-wrap;
}

.vx-hero .code-window-a {
  top: 13%;
  right: 4vw;
}

.vx-hero .code-window-b {
  right: 1vw;
  bottom: 5%;
  width: 340px;
  animation-delay: -4s;
}

@keyframes codeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Hero entrance */
.vx-hero [data-hero-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--vx-i, 0) * 90ms);
}

.vx-hero [data-hero-reveal].vx-in {
  opacity: 1;
  transform: translateY(0);
}

/* Metrics */
.vx-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 36px;
}

.vx-metric {
  min-width: 118px;
  border-left: 1px solid rgba(0, 111, 230, 0.4);
  padding-left: 15px;
}

.vx-metric strong {
  display: block;
  color: #dfe7ff;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.vx-metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.2;
}

/* Scroll cue - clickable */
.vx-scrollcue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;
  width: 30px;
  height: 48px;
  margin-left: -15px;
  border: 1px solid rgba(0, 162, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.vx-scrollcue:hover,
.vx-scrollcue:focus-visible {
  border-color: var(--line-strong);
  background: rgba(0, 162, 255, 0.08);
  box-shadow: 0 0 22px rgba(0, 162, 255, 0.35);
  outline: none;
}

.vx-scrollcue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--neon);
  animation: vxCue 1.9s ease-in-out infinite;
}

@keyframes vxCue {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  70% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}

/* ===== Marquee ===== */

.vx-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 111, 230, 0.16);
  border-bottom: 1px solid rgba(0, 111, 230, 0.16);
  background: rgba(6, 16, 31, 0.5);
  padding: 20px 0;
  cursor: grab;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-user-select: none;
}

.vx-marquee.is-dragging {
  cursor: grabbing;
}

.vx-marquee.is-js .vx-marquee__track {
  animation: none;
}

.vx-marquee__track {
  display: flex;
  width: max-content;
  animation: vxMarquee 52s linear infinite;
  will-change: transform;
}

.vx-marquee:hover .vx-marquee__track {
  animation-play-state: paused;
}

.vx-marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.vx-marquee span {
  color: #dbe4f5;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vx-marquee i {
  color: rgba(0, 162, 255, 0.7);
  font-size: 0.74rem;
  font-style: normal;
}

@keyframes vxMarquee {
  to {
    transform: translateX(-50%);
  }
}

/* ===== Word masks for section titles ===== */

.vx-word-mask {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  vertical-align: top;
}

.vx-word {
  display: inline-block;
  transform: translateY(125%);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--w, 0) * 46ms);
}

[data-reveal].is-revealed .vx-word {
  transform: translateY(0);
}

/* ===== Shared section scaffolding ===== */

.vx-section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.vx-section-title {
  margin: 6px 0 0;
  color: var(--pearl);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.07;
  text-wrap: balance;
}

.vx-reel__head > p:not(.eyebrow),
.vx-cta > p {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ===== Showcase ===== */

.vx-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vx-showcard {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(0, 111, 230, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(130% 100% at 10% 0%, rgba(0, 111, 230, 0.14), transparent 55%),
    linear-gradient(160deg, rgba(6, 16, 31, 0.9), rgba(4, 10, 22, 0.5));
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.vx-showcard:hover,
.vx-showcard:focus-visible {
  border-color: rgba(0, 162, 255, 0.55);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 111, 230, 0.18);
  transform: translateY(-6px);
}

.vx-showcard__index {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(0, 162, 255, 0.4);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.9rem;
}

.vx-showcard__body {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 30px;
}

.vx-showcard__label {
  color: rgba(0, 162, 255, 0.85);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vx-showcard h3 {
  margin: 10px 0 0;
  color: var(--pearl);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
}

.vx-showcard p {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.vx-showcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.vx-showcard__tags em {
  border: 1px solid rgba(0, 111, 230, 0.28);
  border-radius: 999px;
  background: rgba(0, 111, 230, 0.08);
  color: rgba(158, 200, 255, 0.82);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.03em;
  padding: 4px 10px;
}

.vx-showcard__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--neon);
  font-size: 0.95rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.vx-showcard__go i {
  font-style: normal;
}

.vx-showcard:hover .vx-showcard__go,
.vx-showcard:focus-visible .vx-showcard__go {
  gap: 14px;
  color: #7fd0ff;
}

/* ===== Reel (scroll-driven project gallery) ===== */

.vx-reel {
  height: calc(100svh * var(--slide-count, 4));
}

.vx-reel__head {
  padding-bottom: 0;
}

.vx-reel__head > p:not(.eyebrow) {
  color: rgba(0, 162, 255, 0.75);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.vx-reel__pin {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vx-reel__stage {
  position: relative;
  width: min(840px, 88vw);
  height: 68svh;
}

.vx-cover {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  width: 100%;
  max-width: 760px;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(0, 111, 230, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(0, 162, 255, 0.16), transparent 55%),
    linear-gradient(160deg, #071126 0%, #030a16 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  padding: 40px 46px;
  text-decoration: none;
  will-change: transform, opacity;
}

.vx-cover:nth-child(2) {
  background:
    radial-gradient(120% 120% at 12% 112%, rgba(8, 60, 130, 0.32), transparent 55%),
    linear-gradient(160deg, #06172e 0%, #030a16 100%);
}

.vx-cover:nth-child(3) {
  background:
    radial-gradient(120% 120% at 88% 108%, rgba(0, 111, 230, 0.28), transparent 55%),
    linear-gradient(160deg, #071226 0%, #02070e 100%);
}

.vx-cover:nth-child(4) {
  background:
    radial-gradient(120% 120% at 18% -8%, rgba(28, 90, 160, 0.3), transparent 55%),
    linear-gradient(160deg, #081c36 0%, #030a16 100%);
}

.vx-cover:nth-child(n + 5) {
  background:
    radial-gradient(120% 120% at 82% -6%, rgba(60, 120, 200, 0.26), transparent 55%),
    linear-gradient(160deg, #0a2140 0%, #030a16 100%);
}

.vx-cover__num {
  position: absolute;
  top: 14px;
  right: 24px;
  color: rgba(0, 162, 255, 0.16);
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  transition: color 0.4s ease;
}

.vx-cover.is-live .vx-cover__num {
  color: rgba(0, 162, 255, 0.55);
}

.vx-cover__tag {
  color: rgba(140, 195, 255, 0.8);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vx-cover__title {
  max-width: 24ch;
  margin: 10px 0 0;
  color: #f0f3ff;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}

.vx-cover__text {
  max-width: 58ch;
  margin: 14px 0 0;
  color: #b9c6de;
  font-size: 1rem;
  line-height: 1.6;
}

.vx-cover__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--neon);
  font-size: 1rem;
  transition: gap 0.3s ease;
}

.vx-cover__go i {
  font-style: normal;
}

.vx-cover:hover .vx-cover__go,
.vx-cover:focus-visible .vx-cover__go {
  gap: 14px;
}

.vx-reel__rail {
  position: absolute;
  top: 50%;
  right: 3vw;
  width: 2px;
  height: 34vh;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(0, 111, 230, 0.22);
  transform: translateY(-50%);
}

.vx-reel__rail i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(180deg, var(--electric), var(--neon));
  border-radius: 2px;
  transition: width 0.12s linear;
}

.vx-reel__hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  color: rgba(0, 162, 255, 0.5);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* Static fallback (reduced motion / no JS) */
.vx-reel.is-static .vx-reel__pin {
  position: static;
  height: auto;
  padding-top: 10px;
}

.vx-reel.is-static .vx-reel__stage {
  display: grid;
  height: auto;
  gap: 18px;
  padding-bottom: 60px;
}

.vx-reel.is-static .vx-cover {
  position: static;
  transform: none;
}

/* ===== CTA ===== */

.vx-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vx-cta .vx-section-title {
  max-width: 720px;
}

.vx-cta > p {
  max-width: 600px;
  margin-top: 18px;
}

.vx-cta > div {
  margin-top: 30px;
}

/* ===== Shared button polish ===== */

.primary-action {
  background: linear-gradient(135deg, var(--electric), var(--neon));
  box-shadow: 0 18px 50px rgba(0, 111, 230, 0.35);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  box-shadow: 0 26px 60px rgba(0, 111, 230, 0.5);
  transform: translateY(-3px);
}

.primary-action:active {
  transform: translateY(-1px);
}

.vx-shine {
  position: relative;
  overflow: hidden;
}

.vx-shine::after {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  content: "";
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.vx-shine:hover::after,
.vx-shine:focus-visible::after {
  left: 130%;
}

.secondary-action {
  position: relative;
}

.secondary-action::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--neon), transparent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.secondary-action:hover::after,
.secondary-action:focus-visible::after {
  transform: scaleX(1);
}

/* ===== Responsive ===== */

@media (max-width: 1180px) {
  .vx-showcase__grid {
    gap: 14px;
  }

  .vx-cover {
    min-height: 300px;
  }
}

@media (max-width: 980px) {
  .vx-reel__stage {
    width: min(90vw);
  }

  .vx-hero .code-window-b {
    display: none;
  }
}

@media (max-width: 700px) {
  .vx-hero {
    padding: 118px 6vw 84px;
  }

  .vx-hero .code-window-a {
    right: -8vw;
    max-width: 56vw;
  }

  .vx-metrics {
    gap: 12px 22px;
  }

  .vx-showcase__grid {
    grid-template-columns: 1fr;
  }

  .vx-showcard__body {
    min-height: 220px;
    padding: 24px;
  }

  .vx-cover {
    min-height: 260px;
    padding: 26px;
  }

  .vx-cover__num {
    font-size: 3.6rem;
  }

  .vx-cover__title {
    font-size: 1.55rem;
  }

  .vx-reel__rail,
  .vx-reel__hint {
    display: none;
  }

  .vx-scrollcue {
    display: none;
  }
}

/* ===== Reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
  body::before,
  .vx-hero__aurora,
  .code-window,
  .vx-marquee__track {
    animation: none;
  }

  .vx-title.is-typing::after,
  .vx-subtitle.is-typing::after {
    display: none;
  }

  .vx-reel {
    height: auto;
  }

  .vx-reel__pin {
    position: static;
    height: auto;
  }

  .vx-reel__stage {
    display: grid;
    height: auto;
    gap: 18px;
    padding-bottom: 60px;
  }

  .vx-cover {
    position: static;
    transform: none;
  }

  .vx-reel__rail,
  .vx-reel__hint {
    display: none;
  }

  .vx-word {
    transform: none;
    transition: none;
  }

  .vx-hero [data-hero-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .primary-action:hover,
  .vx-showcard:hover {
    transform: none;
  }

  #vx-page-overlay {
    transition: none;
    transform: translateY(102%);
  }
}

/* ============================================================
   VX INTRO LAYER (round 2)
   Veil curtains, guided-mouse typing, deploy gate, glide gallery
   ============================================================ */

/* ---------- Veil (5+5 panels) ---------- */

.vx-veil {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  opacity: 1;
  pointer-events: none;
}

body.has-veil .vx-veil {
  display: block;
}

.vx-veil.is-open {
  opacity: 0;
  transition: opacity 0.55s ease 0.95s;
}

.vx-veil__row {
  position: absolute;
  left: 0;
  display: flex;
  width: 100%;
  height: 50vh;
  flex-direction: column;
}

.vx-veil__row--top {
  top: 0;
}

.vx-veil__row--bottom {
  bottom: 0;
}

.vx-veil__panel {
  position: relative;
  width: 100%;
  height: 10vh;
  flex: none;
  transform: translateY(0);
  box-shadow: inset 0 -1px 0 rgba(120, 170, 255, 0.07);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.vx-veil__row--top .vx-veil__panel {
  background: linear-gradient(180deg, #0e2140 0%, #0a1730 100%);
}

.vx-veil__row--bottom .vx-veil__panel {
  background: linear-gradient(0deg, #0b1a32 0%, #0e2140 100%);
}

.vx-veil__row--top .vx-veil__panel:nth-child(1) { --i: 5; }
.vx-veil__row--top .vx-veil__panel:nth-child(2) { --i: 4; }
.vx-veil__row--top .vx-veil__panel:nth-child(3) { --i: 3; }
.vx-veil__row--top .vx-veil__panel:nth-child(4) { --i: 2; }
.vx-veil__row--top .vx-veil__panel:nth-child(5) { --i: 1; }

.vx-veil__row--bottom .vx-veil__panel:nth-child(1) { --i: 1; }
.vx-veil__row--bottom .vx-veil__panel:nth-child(2) { --i: 2; }
.vx-veil__row--bottom .vx-veil__panel:nth-child(3) { --i: 3; }
.vx-veil__row--bottom .vx-veil__panel:nth-child(4) { --i: 4; }
.vx-veil__row--bottom .vx-veil__panel:nth-child(5) { --i: 5; }

.vx-veil.is-open .vx-veil__row--top .vx-veil__panel {
  transform: translateY(calc(var(--i) * -10vh));
  transition-delay: calc((var(--i) - 1) * 90ms);
}

.vx-veil.is-open .vx-veil__row--bottom .vx-veil__panel {
  transform: translateY(calc(var(--i) * 10vh));
  transition-delay: calc((var(--i) - 1) * 90ms);
}

.vx-veil__slit {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(130, 185, 255, 0.45), transparent);
  transition: opacity 0.5s ease 0.95s;
}

.vx-veil.is-open .vx-veil__slit {
  opacity: 0;
}

body.is-deployed .vx-veil,
body.is-deployed .vx-intro-cursor {
  display: none;
}

/* ---------- Guided mouse cursor ---------- */

.vx-intro-cursor {
  position: fixed;
  z-index: 12000;
  top: 0;
  left: 0;
  width: 30px;
  height: 40px;
  margin: -4px 0 0 -3px;
  color: #dceaff;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 60, 140, 0.5));
  transition:
    left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.vx-intro-cursor.is-visible {
  opacity: 1;
}

.vx-intro-cursor svg {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 8px 8px;
  transition: transform 0.12s ease;
}

.vx-intro-cursor.is-press svg {
  transform: scale(0.76);
}

.vx-intro-cursor.is-press::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(150, 205, 255, 0.55);
  border-radius: 50%;
  transform: translate(-4px, -6px) scale(0.12);
  opacity: 0;
  animation: vxCursorRing 0.5s ease-out forwards;
}

@keyframes vxCursorRing {
  from {
    opacity: 1;
    transform: translate(-4px, -6px) scale(0.12);
  }
  to {
    opacity: 0;
    transform: translate(-4px, -6px) scale(1);
  }
}

/* ---------- Deploy gate button ---------- */

.vx-deploy {
  position: absolute;
  top: 50%;
  right: clamp(20px, 6vw, 96px);
  z-index: 30;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  opacity: 0;
  transform: translateY(-50%) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.45s ease 0.15s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.vx-deploy.is-ready {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.vx-deploy__body {
  position: relative;
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  padding: 20px 36px;
  border: 1px solid rgba(120, 180, 255, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30, 80, 170, 0.25), rgba(10, 30, 60, 0.55));
  box-shadow: 0 18px 60px -20px rgba(0, 110, 255, 0.55);
  color: #e6f1ff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  user-select: none;
}

.vx-deploy__label {
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.vx-deploy__spinner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(140, 190, 255, 0.25);
  border-top-color: #8ac0ff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.vx-deploy.is-running .vx-deploy__label {
  opacity: 0;
  transform: scale(0.8);
}

.vx-deploy.is-running .vx-deploy__spinner {
  opacity: 1;
  transform: scale(1);
  animation: vxDeploySpin 0.7s linear infinite;
}

.vx-deploy__line {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140, 190, 255, 0.6), transparent);
}

.vx-deploy__notch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fb6ff;
  box-shadow: 0 0 14px rgba(120, 180, 255, 0.9);
}

.vx-deploy.is-running .vx-deploy__notch {
  animation: vxNotchPulse 1s ease-in-out infinite;
}

@keyframes vxDeploySpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes vxNotchPulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(120, 180, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 22px rgba(120, 180, 255, 1);
  }
}

body.is-deployed .vx-deploy {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Intro scroll lock + nav gate ---------- */

body.is-intro {
  overflow: hidden;
}

.site-nav {
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

body.is-intro .site-nav {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* ---------- Standard blinking caret (one active line) ---------- */

.vx-title.is-typing::after,
.vx-subtitle.is-typing::after {
  display: inline-block;
  width: 3px;
  height: 0.84em;
  margin-left: 5px;
  vertical-align: -0.1em;
  background: #3f8bf5;
  box-shadow: 0 0 12px rgba(130, 180, 255, 0.95);
  border-radius: 1px;
  content: "";
  animation: vxCaretBlink 0.85s steps(1, jump-none) infinite;
}

/* ---------- Glide: draggable horizontal project gallery ---------- */

.vx-glide {
  padding-bottom: 150px;
}

.vx-glide__mask {
  margin-top: 26px;
  overflow: hidden;
}

.vx-glide__track {
  counter-reset: glide-tile;
  display: flex;
  width: max-content;
  gap: 26px;
  padding: 24px 48px 34px;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.vx-glide__track::-webkit-scrollbar {
  display: none;
}

.vx-glide.is-dragging .vx-glide__track {
  cursor: grabbing;
}

.vx-glide.is-static .vx-glide__track {
  cursor: default;
  overflow-x: auto;
}

.vx-glide.is-static .vx-glide__tile:hover {
  transform: none;
}

.vx-glide__tile {
  counter-increment: glide-tile;
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 0 0 auto;
  width: clamp(220px, 23vw, 320px);
  aspect-ratio: 1 / 1.06;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(96, 148, 232, 0.16);
  border-radius: 22px;
  background: linear-gradient(165deg, #0d2347 0%, #081431 100%);
  box-shadow: 0 22px 60px -30px rgba(0, 80, 200, 0.35);
  color: #eaf2ff;
  text-decoration: none;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.vx-glide__tile:hover,
.vx-glide__tile:focus-visible,
.vx-glide__tile.is-hover {
  transform: translateY(-8px);
  border-color: rgba(126, 182, 255, 0.55);
  box-shadow: 0 30px 90px -34px rgba(16, 110, 255, 0.65);
}

.vx-glide__tile[aria-disabled="true"] {
  box-shadow: none;
  filter: saturate(0.72) brightness(0.85);
}

.vx-glide__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(0, 140, 255, 0.22), transparent 60%),
    radial-gradient(100% 100% at 10% 100%, rgba(36, 96, 200, 0.25), transparent 62%),
    linear-gradient(165deg, #0d2347 0%, #081431 100%);
  transition: opacity 0.35s ease;
}

.vx-glide__tile:hover .vx-glide__art {
  opacity: 0.85;
}

.vx-glide__tile::before {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: -1;
  color: rgba(140, 190, 255, 0.1);
  content: "0" counter(glide-tile);
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.vx-glide__num {
  color: rgba(190, 220, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.vx-glide__status {
  align-self: flex-start;
  padding: 4px 10px;
  border: 1px solid rgba(120, 180, 255, 0.35);
  border-radius: 999px;
  background: rgba(20, 60, 130, 0.35);
  color: #9cc6ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vx-glide__title {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.vx-glide__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vx-glide__stack em {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(10, 28, 60, 0.6);
  color: rgba(210, 230, 255, 0.72);
  font-size: 0.68rem;
  font-style: normal;
  white-space: nowrap;
}

.vx-glide__plate {
  min-height: 30px;
  margin-top: 4px;
  color: rgba(200, 220, 255, 0.56);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .vx-deploy {
    position: relative;
    top: auto;
    right: auto;
    margin: 34px 0 0 auto;
    transform: none;
  }

  .vx-deploy.is-ready {
    transform: none;
  }

  .vx-deploy.is-running .vx-deploy__spinner {
    transform: scale(1);
  }
}

@media (max-width: 700px) {
  .vx-glide__track {
    gap: 18px;
    padding: 16px 30px 26px;
  }

  .vx-glide__tile {
    width: 76vw;
  }
}
/* ============================================================
   VX INTRO LAYER (round 3)
   Vertical veil columns, album deck, curved-guided mouse, simple deploy
   ============================================================ */

/* ---------- Veil: 5 vertical columns opening from the middle ---------- */

body.has-veil .vx-veil {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.vx-veil.is-open {
  transition: opacity 0.5s ease 1.3s;
}

.vx-veil__col {
  position: relative;
  height: 100vh;
  box-shadow: inset -1px 0 0 rgba(120, 170, 255, 0.07);
}

.vx-veil__half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50vh;
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}

.vx-veil__half--top {
  top: 0;
  background: linear-gradient(180deg, #0f2550 0%, #0a1730 60%);
}

.vx-veil__half--bottom {
  bottom: 0;
  background: linear-gradient(0deg, #0b1a32 0%, #0c1f3d 60%);
}

.vx-veil.is-open .vx-veil__col:nth-child(2) .vx-veil__half { transition-delay: 220ms; }
.vx-veil.is-open .vx-veil__col:nth-child(3) .vx-veil__half { transition-delay: 110ms; }
.vx-veil.is-open .vx-veil__col:nth-child(4) .vx-veil__half { transition-delay: 0ms; }
.vx-veil.is-open .vx-veil__col:nth-child(5) .vx-veil__half { transition-delay: 110ms; }
.vx-veil.is-open .vx-veil__col:nth-child(6) .vx-veil__half { transition-delay: 220ms; }

.vx-veil.is-open .vx-veil__half--top {
  transform: translateY(-100%);
}

.vx-veil.is-open .vx-veil__half--bottom {
  transform: translateY(100%);
}

/* ---------- Cursor: floaty idle + curved flights come from JS; nicer press ---------- */

.vx-intro-cursor {
  transition: opacity 0.3s ease;
  animation: vxCursorIdle 2.4s ease-in-out infinite;
}

.vx-intro-cursor.is-press {
  animation: vxCursorDip 0.3s ease;
}

.vx-intro-cursor svg {
  transform-origin: 10px 10px;
}

@keyframes vxCursorIdle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(-0.6deg);
  }
}

@keyframes vxCursorDip {
  0% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(3.5px);
  }
  100% {
    transform: translateY(0);
  }
}

.vx-intro-cursor::before,
.vx-intro-cursor::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border: 1.5px solid rgba(150, 205, 255, 0.65);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.vx-intro-cursor::before {
  width: 96px;
  height: 96px;
  margin: -42px 0 0 -52px;
}

.vx-intro-cursor::after {
  width: 180px;
  height: 180px;
  margin: -84px 0 0 -94px;
}

.vx-intro-cursor.is-press::before {
  animation: vxRingSmall 0.45s ease-out forwards;
}

.vx-intro-cursor.is-press::after {
  animation: vxRingBig 0.58s ease-out forwards;
}

@keyframes vxRingSmall {
  from {
    opacity: 0.9;
    transform: scale(0.25);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes vxRingBig {
  from {
    opacity: 0.75;
    transform: scale(0.12);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}

/* ---------- Deploy: plain button like the hero actions ---------- */

.vx-deploy {
  position: absolute;
  top: 50%;
  right: clamp(20px, 6vw, 96px);
  z-index: 30;
  display: inline-flex;
  height: 44px;
  min-width: 118px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(0, 162, 255, 0.42);
  border-radius: 8px;
  background: rgba(0, 111, 230, 0.08);
  color: #f2f5ff;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
  transition:
    opacity 0.35s ease 0.15s,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 0.2s ease;
}

.vx-deploy.is-ready {
  opacity: 1;
  pointer-events: auto;
}

.vx-deploy.is-ready:hover,
.vx-deploy.is-ready:focus-visible {
  background: rgba(0, 111, 230, 0.18);
  border-color: rgba(0, 162, 255, 0.6);
  transform: translateY(calc(-50% - 2px));
}

.vx-deploy__label {
  transition: opacity 0.18s ease;
}

.vx-deploy__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(140, 190, 255, 0.25);
  border-top-color: #8ac0ff;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.vx-deploy.is-running .vx-deploy__label {
  opacity: 0;
}

.vx-deploy.is-running .vx-deploy__spinner {
  opacity: 1;
  transform: scale(1);
  animation: vxDeploySpin 0.7s linear infinite;
}

body.is-deployed .vx-deploy {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Deck: album of stacked CD cards, revealed by page scroll ---------- */

.vx-deck {
  padding-top: 34px;
}

.vx-deck__stage {
  position: relative;
  padding-top: 60px;
  padding-bottom: 58vh;
}

.vx-deck__card {
  position: sticky;
  top: 84px;
  display: block;
  width: min(900px, 92vw);
  height: clamp(430px, 62vh, 560px);
  margin: 0 auto 30px;
  color: #eaf2ff;
  text-decoration: none;
  transform: rotate(0.7deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.vx-deck__stage > .vx-deck__card:nth-child(even) {
  transform: rotate(-0.7deg);
}

.vx-deck__card:hover,
.vx-deck__card:focus-visible,
.vx-deck__card.is-hover {
  transform: rotate(0deg) translateY(-8px);
}

.vx-deck__card[aria-disabled="true"] {
  filter: saturate(0.7) brightness(0.82);
}

.vx-deck__sleeve {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(96, 148, 232, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(90% 70% at 88% 0%, rgba(0, 140, 255, 0.14), transparent 60%),
    radial-gradient(70% 60% at 6% 100%, rgba(24, 70, 160, 0.2), transparent 60%),
    linear-gradient(165deg, #0e2549 0%, #081431 100%);
  box-shadow: 0 36px 90px -42px rgba(10, 46, 120, 0.75);
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.vx-deck__card:hover .vx-deck__sleeve,
.vx-deck__card.is-hover .vx-deck__sleeve {
  transform: translateY(-12px);
  box-shadow: 0 46px 110px -44px rgba(16, 110, 255, 0.8);
}

/* CD pocket hint at the bottom of the sleeve */
.vx-deck__sleeve::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 26px;
  left: 30px;
  height: 46px;
  border: 1px dashed rgba(120, 180, 255, 0.28);
  border-radius: 999px;
  background: rgba(6, 16, 36, 0.55);
  pointer-events: none;
}

.vx-deck__disc {
  position: absolute;
  right: -16px;
  bottom: 34px;
  z-index: 1;
  width: clamp(150px, 18vw, 200px);
  height: clamp(150px, 18vw, 200px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #081431 0, #081431 13%, transparent 14%),
    conic-gradient(from 24deg, #0b2347, #1a4bb0, #3f8bf5, #123a85, #0b2347, #1a4bb0, #3f8bf5, #123a85, #0b2347);
  box-shadow: 0 24px 50px -18px rgba(0, 60, 160, 0.55), inset 0 0 0 1px rgba(160, 200, 255, 0.2);
  opacity: 1;
  transform: translate(38%, 16%) rotate(10deg);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.vx-deck__disc::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.14) 45%, transparent 60%);
}

.vx-deck__card:hover .vx-deck__disc,
.vx-deck__card.is-hover .vx-deck__disc {
  transform: translate(-4%, -26%) rotate(-18deg);
}

.vx-deck__disc-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 4px solid rgba(10, 24, 50, 0.9);
  border-radius: 50%;
  background: radial-gradient(circle, #1c3a6e 35%, #081431 70%);
}

.vx-deck__disc-name {
  position: absolute;
  right: 18px;
  bottom: 26px;
  left: 18px;
  text-align: center;
  color: rgba(235, 245, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(6, 18, 40, 0.9);
}

.vx-deck__num {
  color: rgba(190, 220, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.vx-deck__status {
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid rgba(120, 180, 255, 0.35);
  border-radius: 999px;
  background: rgba(20, 60, 130, 0.35);
  color: #9cc6ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vx-deck__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.vx-deck__desc {
  max-width: 60ch;
  color: rgba(215, 230, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.55;
}

.vx-deck__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.vx-deck__stack em {
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(10, 28, 60, 0.6);
  border: 1px solid rgba(96, 148, 232, 0.14);
  color: rgba(210, 230, 255, 0.76);
  font-size: 0.7rem;
  font-style: normal;
  white-space: nowrap;
}

.vx-deck__go {
  display: inline-flex;
  align-self: flex-start;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 0 22px;
  border: 1px solid rgba(0, 162, 255, 0.42);
  border-radius: 8px;
  background: rgba(0, 111, 230, 0.08);
  color: #f2f5ff;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.vx-deck__card:hover .vx-deck__go,
.vx-deck__card.is-hover .vx-deck__go {
  background: rgba(0, 111, 230, 0.18);
  border-color: rgba(0, 162, 255, 0.6);
  transform: translateY(-2px);
}

.vx-deck__go i {
  font-style: normal;
  transition: transform 180ms ease;
}

.vx-deck__card:hover .vx-deck__go i {
  transform: translateX(3px);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .vx-deploy {
    position: relative;
    top: auto;
    right: auto;
    margin: 34px 0 0 auto;
    transform: none;
  }

  .vx-deploy.is-ready:hover,
  .vx-deploy.is-ready:focus-visible {
    transform: translateY(-2px);
  }

  .vx-deploy.is-running .vx-deploy__spinner {
    transform: scale(1);
  }
}

@media (max-width: 700px) {
  .vx-deck__card {
    top: 70px;
    width: 94vw;
    height: 470px;
  }

  .vx-deck__title {
    font-size: 1.9rem;
  }

  .vx-deck__desc {
    font-size: 0.86rem;
  }

  .vx-deck__disc {
    width: 128px;
    height: 128px;
  }

  .vx-veil__half--top {
    background: linear-gradient(180deg, #0f2550 0%, #0a1730 60%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-veil__half,
  .vx-deck__sleeve,
  .vx-deck__disc,
  .vx-deploy {
    transition: none;
    animation: none;
  }

  .vx-deck__card,
  .vx-deck__stage > .vx-deck__card:nth-child(even) {
    transform: none;
  }

  .vx-deck__card:hover .vx-deck__sleeve,
  .vx-deck__card:hover .vx-deck__disc {
    transform: none;
  }

  .vx-intro-cursor {
    animation: none;
  }
}/* ============================================================
   VX INTRO LAYER (round 4)
   Veil with visible seams, deploy near titles, surf planes (motion.dev style)
   ============================================================ */

/* ---------- Veil: visible column seams + alternating tones ---------- */

body.has-veil .vx-veil {
  column-gap: 3px;
  background: #0d1f42;
}

.vx-veil__col:nth-child(odd) .vx-veil__half--top {
  background: linear-gradient(180deg, #132c5e 0%, #0a1b3a 60%);
}

.vx-veil__col:nth-child(even) .vx-veil__half--top {
  background: linear-gradient(180deg, #0e2147 0%, #071430 60%);
}

.vx-veil__col:nth-child(odd) .vx-veil__half--bottom {
  background: linear-gradient(0deg, #10244c 0%, #0d2144 60%);
}

.vx-veil__col:nth-child(even) .vx-veil__half--bottom {
  background: linear-gradient(0deg, #0a1730 0%, #0c1f3d 60%);
}

.vx-veil__col {
  border-right: 1px solid rgba(0, 162, 255, 0.32);
}

.vx-veil__col::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 162, 255, 0.7), rgba(0, 111, 230, 0.14));
  content: "";
}

/* ---------- Deploy: inside the hero actions row, next to the titles ---------- */

.hero-actions .vx-deploy {
  position: static;
  margin-left: 2px;
}

/* ---------- Surf: scroll-velocity 3D planes ---------- */

.vx-surf-wrap {
  position: relative;
  height: 240svh;
  background: #000;
}

.vx-surf {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.vx-surf__header {
  position: absolute;
  top: clamp(20px, 4vh, 44px);
  left: clamp(20px, 5vw, 72px);
  z-index: 2;
  color: #f5f8ff;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(28px, 4.6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.vx-surf__header sup {
  margin-left: 10px;
  color: rgba(150, 195, 255, 0.65);
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.vx-surf__viewport {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  perspective-origin: 10% 10%;
  touch-action: pan-y;
}

.vx-surf__tray {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  transform: translateY(90px);
  transform-style: preserve-3d;
}

.vx-surf__plane {
  position: absolute;
  width: 320px;
  height: 384px;
  overflow: hidden;
  background: #0d1830;
  box-shadow: 0 0 0 1px rgba(112, 170, 255, 0.22), 0 24px 70px rgba(0, 0, 0, 0.6);
  color: #fff;
  text-decoration: none;
  transform-origin: 50% 50%;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  will-change: transform, z-index;
}

.vx-surf__plane:hover,
.vx-surf__plane:focus-visible,
.vx-surf__plane.is-hover {
  filter: brightness(1.16);
  box-shadow: 0 0 0 1px rgba(130, 185, 255, 0.5), 0 34px 90px rgba(0, 0, 0, 0.7);
}

.vx-surf__art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(130% 110% at 18% 0%, rgba(63, 139, 245, 0.92), rgba(15, 37, 80, 0) 58%),
    radial-gradient(90% 70% at 100% 100%, rgba(0, 162, 255, 0.5), rgba(6, 19, 42, 0) 60%),
    linear-gradient(160deg, #143e80 0%, #0b2148 55%, #06132a 100%);
}

.vx-surf__plane:nth-child(even) .vx-surf__art {
  filter: hue-rotate(14deg);
}

.vx-surf__num {
  position: absolute;
  top: -22px;
  left: -6px;
  z-index: 2;
  color: rgba(226, 238, 255, 0.5);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.vx-surf__cap {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.vx-surf__cap strong {
  overflow: hidden;
  color: #f5f8ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-surf__cap em {
  flex: none;
  border: 1px solid rgba(0, 162, 255, 0.5);
  border-radius: 999px;
  color: #bfe1ff;
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  text-transform: uppercase;
}

.vx-surf__label {
  position: absolute;
  top: 50%;
  left: calc(100% + 26px);
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  white-space: nowrap;
}

.vx-surf__plane:hover .vx-surf__label,
.vx-surf__plane:focus-visible .vx-surf__label,
.vx-surf__plane.is-hover .vx-surf__label {
  opacity: 1;
}

.vx-surf__label i {
  display: block;
  width: 120px;
  height: 1px;
  background: rgba(150, 190, 255, 0.55);
}

.vx-surf__label-text {
  color: #dbe8ff;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.vx-surf__hint {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(20px, 4vh, 44px);
  color: rgba(200, 220, 255, 0.45);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  pointer-events: none;
  text-transform: uppercase;
}

.vx-surf.is-panning {
  cursor: grabbing;
}

/* ---------- Responsive surf ---------- */

@media (max-width: 900px) {
  .vx-surf__viewport {
    transform: scale(0.72);
    transform-origin: 50% 50%;
  }

  .vx-surf__tray {
    transform: translateY(120px);
  }
}

@media (max-width: 700px) {
  .vx-surf__header {
    top: 16px;
    left: 18px;
  }

  .vx-surf__hint {
    display: none;
  }

  .vx-surf__viewport {
    transform: scale(0.56);
  }

  .vx-surf__tray {
    transform: translateY(150px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-surf__plane {
    transition: none;
  }
}

/* ---------- Deploy in actions row: reset absolute-position transform ---------- */

.hero-actions .vx-deploy {
  transform: none;
}

.hero-actions .vx-deploy.is-ready:hover,
.hero-actions .vx-deploy.is-ready:focus-visible {
  transform: translateY(-2px);
}

/* ============================================================
   VX INTRO LAYER (round 5)
   Transparent veil with 1px seams, folder cabinet surf, single background
   ============================================================ */

/* ---------- Veil: semi-transparent panels + thin 1px seams ---------- */

.vx-veil__half--top {
  background: linear-gradient(180deg, rgba(21, 54, 118, 0.46) 0%, rgba(9, 22, 52, 0.3) 60%);
}

.vx-veil__half--bottom {
  background: linear-gradient(0deg, rgba(18, 46, 104, 0.48) 0%, rgba(14, 36, 84, 0.32) 60%);
}

body.has-veil .vx-veil {
  column-gap: 1px;
  background: rgba(120, 170, 255, 0.18);
}

.vx-veil__col {
  border-right: 1px solid rgba(0, 162, 255, 0.22);
  box-shadow: none;
}

.vx-veil__col::after {
  content: none;
}

/* ---------- Surf: transparent cabinet, folder planes ---------- */

.vx-surf-wrap {
  height: 220svh;
  background: transparent;
}

.vx-surf {
  background: transparent;
}

.vx-surf::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 46% at 50% 80%, rgba(0, 111, 230, 0.13), transparent 70%);
  content: "";
  pointer-events: none;
}

.vx-surf__header {
  top: clamp(56px, 9vh, 92px);
  left: clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(203, 218, 255, 0.68);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(0.72rem, 1.2vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
}

.vx-surf__header sup {
  margin: 0;
  color: rgba(150, 195, 255, 0.6);
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.vx-surf__header i {
  display: block;
  width: clamp(40px, 6vw, 72px);
  height: 1px;
  background: rgba(0, 162, 255, 0.45);
}

.vx-surf__viewport {
  perspective: 1500px;
  perspective-origin: 50% 48%;
}

.vx-surf__tray {
  transform: translateY(128px);
}

.vx-surf__plane {
  position: absolute;
  width: 250px;
  height: 300px;
  overflow: visible;
  border-radius: 8px;
  background: linear-gradient(180deg, #10274f 0%, #081530 100%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(0, 111, 230, 0.28);
  perspective: 900px;
  transition: box-shadow 0.22s ease;
  user-select: none;
  will-change: transform;
}

.vx-surf__plane.is-hover {
  border-color: rgba(0, 162, 255, 0.6);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.vx-surf__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(63, 139, 245, 0.85), rgba(10, 30, 70, 0) 55%),
    linear-gradient(168deg, #143e80 0%, #0b2148 58%, #06132a 100%);
  box-shadow: inset 0 -34px 44px rgba(0, 0, 0, 0.3);
  transform-origin: 50% 0%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.vx-surf__art-tab {
  position: absolute;
  top: -1px;
  left: 0;
  width: 68px;
  height: 24px;
  border: 1px solid rgba(0, 162, 255, 0.42);
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #1c4f9c 0%, #10326b 100%);
}

.vx-surf__plane.is-hover .vx-surf__art {
  transform: rotateX(32deg);
}

/* Sheets inside the folder */

.vx-surf__top,
.vx-surf__body {
  position: absolute;
  left: 16px;
  right: 16px;
  border-radius: 5px;
  background: rgba(148, 193, 255, 0.06);
  border: 1px solid rgba(0, 162, 255, 0.18);
  z-index: 1;
}

.vx-surf__top {
  top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 12px;
}

.vx-surf__top-folder {
  flex: none;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.vx-surf__top-title {
  overflow: hidden;
  color: #dbe8ff;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-surf__body {
  top: 74px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vx-surf__body-icon {
  position: relative;
  display: flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 162, 255, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0, 162, 255, 0.35), rgba(6, 19, 42, 0.2) 70%);
}

.vx-surf__body-icon::before {
  color: #bfe1ff;
  content: "→";
  font-size: 1.35rem;
  line-height: 1;
}

.vx-surf__plane.is-hover .vx-surf__top {
  transform: translateY(-6px);
}

/* Pointer-following open tag */

.vx-surf__open {
  position: absolute;
  top: var(--oy, 50%);
  left: var(--ox, 50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(0, 162, 255, 0.55);
  border-radius: 999px;
  background: rgba(4, 13, 27, 0.92);
  color: #eaf3ff;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0;
  padding: 8px 14px;
  pointer-events: none;
  transform: translate(-50%, -140%);
  transition: opacity 0.18s ease 0.04s, transform 0.18s ease 0.04s;
  white-space: nowrap;
}

.vx-surf__plane.is-hover .vx-surf__open {
  opacity: 1;
  transform: translate(-50%, -155%);
}

.vx-surf__open i {
  display: block;
  width: 1px;
  height: 13px;
  background: rgba(0, 162, 255, 0.65);
}

.vx-surf__hint {
  bottom: clamp(18px, 4vh, 40px);
}

/* ---------- Responsive surf (folders) ---------- */

@media (max-width: 900px) {
  .vx-surf__viewport {
    transform: scale(0.8);
    transform-origin: 50% 55%;
  }

  .vx-surf__tray {
    transform: translateY(120px);
  }
}

@media (max-width: 700px) {
  .vx-surf__header {
    top: 14px;
    left: 18px;
  }

  .vx-surf__hint {
    display: none;
  }

  .vx-surf__viewport {
    transform: scale(0.6);
  }

  .vx-surf__tray {
    transform: translateY(140px);
  }
}

/* ============================================================
   VX INTRO LAYER (round 6)
   Fully transparent seams, code backdrop restored, deploy beside titles, clean cursor
   ============================================================ */

/* ---------- Veil: nothing but the panels — tiny transparent seam ---------- */

body.has-veil .vx-veil {
  background: transparent;
  column-gap: 1px;
}

.vx-veil__col {
  border-right: none;
}

.vx-veil__half--top {
  background: linear-gradient(180deg, rgba(21, 54, 118, 0.35) 0%, rgba(9, 22, 52, 0.2) 60%);
}

.vx-veil__half--bottom {
  background: linear-gradient(0deg, rgba(18, 46, 104, 0.36) 0%, rgba(14, 36, 84, 0.22) 60%);
}

/* ---------- Code backdrop: always visible, part of the single background ---------- */

.vx-hero .code-backdrop {
  opacity: 1;
  transition: none;
}

.vx-hero.is-entered .code-backdrop {
  opacity: 1;
}

.vx-hero .code-window {
  color: rgba(120, 165, 220, 0.4);
}

/* ---------- Deploy glued to the titles (right side of "Jeferson Vitor / ...") ---------- */

.vx-titles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 40px);
}

.vx-titles__col {
  min-width: 0;
  flex: 1 1 auto;
}

.vx-titles .vx-deploy {
  position: static;
  top: auto;
  right: auto;
  z-index: 30;
  flex: none;
  margin: 6px 0 0;
}

.vx-titles .vx-deploy.is-ready:hover,
.vx-titles .vx-deploy.is-ready:focus-visible {
  transform: translateY(-2px);
}

/* ---------- Cursor: no position transition (JS drives it) ---------- */

.vx-intro-cursor {
  transition: opacity 0.3s ease;
}

@media (max-width: 700px) {
  .vx-titles {
    align-items: flex-start;
    gap: 14px;
  }

  .vx-titles .vx-deploy {
    margin-top: 2px;
  }
}

/* ============================================================
   VX INTRO LAYER (round 7)
   Clean single background (no dark overlay), centered code window,
   deploy glued to titles with zero layout footprint, veil opening polish
   ============================================================ */

/* ---------- Code backdrop: kill the dark gradient overlay (aurora + grid lines show again) ---------- */

.vx-hero .code-backdrop::before {
  background: transparent;
}

.vx-hero .code-window {
  color: rgba(128, 174, 232, 0.3);
  border-left-color: rgba(0, 162, 255, 0.12);
}

.vx-hero .code-window-a {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(680px, 64vw);
  animation: codeFloatCenter 12s ease-in-out infinite;
}

@keyframes codeFloatCenter {

  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 14px));
  }
}

/* ---------- Deploy glued to the titles (absolute: no hidden gap in layout) ---------- */

.vx-titles {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
}

.vx-titles__col {
  flex: 0 1 auto;
  min-width: 0;
}

.vx-titles .vx-deploy {
  position: absolute;
  top: 50%;
  left: 100%;
  right: auto;
  z-index: 30;
  flex: none;
  margin: 0 0 0 clamp(16px, 3vw, 34px);
  transform: translateY(-50%);
}

.vx-titles .vx-deploy.is-ready:hover,
.vx-titles .vx-deploy.is-ready:focus-visible {
  transform: translateY(calc(-50% - 2px));
}

/* ---------- Veil opening polish: light sweeping across while panels fade out ---------- */

.vx-veil::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(150, 205, 255, 0.18) 50%,
    transparent 62%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
}

.vx-veil.is-open::before {
  opacity: 1;
  transform: translateX(110%);
  transition: transform 1.1s cubic-bezier(0.55, 0, 0.35, 1), opacity 0.45s ease 0.9s;
}

.vx-veil__half {
  transition:
    transform 0.95s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.55s ease 0.85s;
}

.vx-veil.is-open .vx-veil__half--top,
.vx-veil.is-open .vx-veil__half--bottom {
  opacity: 0;
}

/* ---------- Cursor: no position transition (JS drives it) ---------- */

.vx-intro-cursor {
  transition: opacity 0.3s ease;
}

@media (max-width: 700px) {
  .vx-titles .vx-deploy {
    left: auto;
    right: 0;
    margin-left: 0;
  }

  .vx-hero .code-window-a {
    width: min(520px, 74vw);
  }
}

/* ============================================================
   VX INTRO LAYER (round 8)
   Cursor shape swap (arrow / caret / hand) + code window on the right side
   ============================================================ */

/* ---------- Cursor states: arrow (default), caret (typing), hand (clicking) ---------- */

.vx-intro-cursor .vx-cursor-arrow {
  display: block;
  width: 100%;
  height: auto;
}

.vx-intro-cursor .vx-cursor-caret,
.vx-intro-cursor .vx-cursor-hand {
  display: none;
  position: absolute;
  height: auto;
}

.vx-intro-cursor.is-caret .vx-cursor-caret {
  display: block;
  top: 50%;
  left: 50%;
  width: 20px;
  transform: translate(-50%, -58%);
}

.vx-intro-cursor.is-hand .vx-cursor-hand {
  display: block;
  top: 50%;
  left: 50%;
  width: 27px;
  transform: translate(-42%, -50%);
}

.vx-intro-cursor.is-caret .vx-cursor-arrow,
.vx-intro-cursor.is-hand .vx-cursor-arrow {
  display: none;
}

.vx-intro-cursor.is-press .vx-cursor-caret {
  transform: translate(-50%, -58%) scale(0.82);
}

.vx-intro-cursor.is-press .vx-cursor-hand {
  transform: translate(-42%, -50%) scale(0.82);
}

.vx-intro-cursor.is-caret,
.vx-intro-cursor.is-hand {
  color: rgba(214, 236, 255, 0.96);
}

.vx-intro-cursor.is-hand {
  filter: drop-shadow(0 6px 14px rgba(0, 60, 140, 0.45));
}

/* ---------- Code window: right side, vertically centered (out of the titles) ---------- */

.vx-hero .code-window-a {
  top: 50%;
  left: auto;
  right: clamp(18px, 6vw, 84px);
  bottom: auto;
  width: min(560px, 46vw);
  animation: codeFloatRight 12s ease-in-out infinite;
}

@keyframes codeFloatRight {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 14px));
  }
}

@media (max-width: 1100px) {
  .vx-hero .code-window-a {
    width: min(460px, 42vw);
    right: 3vw;
  }
}

@media (max-width: 700px) {
  .vx-hero .code-window-a {
    top: 42%;
    width: min(420px, 76vw);
    right: 10px;
  }
}

/* ============================================================
   VX INTRO LAYER (round 9)
   Typing stage centered (titles + deploy below), deploy click =>
   veil opens + titles fly to final spot + code materializes on the right
   ============================================================ */

/* ---------- Intro stage: titles centered, deploy right below ---------- */

.vx-hero .vx-titles {
  position: absolute;
  left: 50%;
  top: 45%;
  width: auto;
  gap: 0;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vx-hero .vx-titles__col {
  flex: 0 0 auto;
  text-align: center;
}


.vx-hero .vx-titles .vx-deploy.is-ready:hover,
.vx-hero .vx-titles .vx-deploy.is-ready:focus-visible {
  transform: translateY(-2px);
}

/* ---------- Code backdrop: hidden until the deploy click ---------- */

.vx-hero .code-backdrop {
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity 1.2s ease 0.15s,
    filter 1.2s ease 0.15s;
}

body.is-deployed .vx-hero .code-backdrop {
  opacity: 1;
  filter: blur(0);
}

/* ---------- Deploy click: the typed block flies to its final spot ---------- */

body.is-deployed .vx-hero .vx-titles {
  animation: introTitleFlight 0.75s cubic-bezier(0.45, 0.05, 0.35, 1) forwards;
}

@keyframes introTitleFlight {

  from {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0, 0) scale(1);
  }

  to {
    opacity: 0.8;
    transform: translate(-50%, -50%) translate(-42vw, -11vh) scale(0.97);
  }
}

/* ---------- Settled: real left-aligned layout, deploy leaves the stage ---------- */

body.is-settled .vx-hero .vx-titles {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  gap: clamp(18px, 3vw, 34px);
  transform: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  text-align: left;
  animation: introTitleSettle 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-settled .vx-hero .vx-titles__col {
  text-align: left;
}

body.is-settled .vx-hero .vx-deploy {
  display: none;
}

@keyframes introTitleSettle {

  from {
    opacity: 0.3;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .vx-hero .vx-titles {
    top: 42%;
    width: 92vw;
  }

  body.is-settled .vx-hero .vx-titles {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-deployed .vx-hero .vx-titles,
  body.is-deployed .vx-hero .code-backdrop {
    animation: none;
    transition: none;
  }
}
body.is-deployed .vx-intro-cursor {
  display: block;
}

/* ============================================================
   VX INTRO LAYER (round 10)
   Curtain opens on load again; code window tucked lower-right,
   smaller and dimmer so the deploy animations stay fully visible
   ============================================================ */

.vx-hero .code-window {
  color: rgba(120, 165, 225, 0.24);
  border-left-color: rgba(0, 162, 255, 0.1);
}

.vx-hero .code-window-a {
  top: 55%;
  right: 2vw;
  width: min(400px, 34vw);
}

body.is-deployed .vx-hero .code-backdrop {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity 1s ease 0.4s,
    filter 1s ease 0.4s;
}

@media (max-width: 1100px) {
  .vx-hero .code-window-a {
    top: 58%;
    right: 2vw;
    width: min(380px, 34vw);
  }
}

@media (max-width: 700px) {
  .vx-hero .code-window-a {
    top: 62%;
    right: 8px;
    width: min(360px, 72vw);
  }
}

/* ============================================================
   VX INTRO LAYER (round 11)
   Intro stage pinned to the actual viewport center (fixed),
   so the typed titles sit dead-center of the screen
   ============================================================ */

.vx-hero .vx-titles {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(900px, 94vw);
  gap: 0;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vx-hero .vx-titles__col {
  width: 100%;
}


.vx-hero .vx-titles .vx-deploy.is-ready:hover,
.vx-hero .vx-titles .vx-deploy.is-ready:focus-visible {
  transform: translateY(-2px);
}

body.is-settled .vx-hero .vx-titles {
  position: static;
  left: auto;
  top: auto;
  z-index: auto;
  width: auto;
  gap: clamp(18px, 3vw, 34px);
  transform: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  text-align: left;
  animation: introTitleSettle 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-settled .vx-hero .vx-titles__col {
  width: auto;
  text-align: left;
}

/* ============================================================
   VX INTRO LAYER (round 12)
   Same 820px width in intro AND settled => identical wrapping/format.
   Flight is now a true FLIP (JS-measured positions), no CSS keyframes.
   ============================================================ */

.vx-hero .vx-titles {
  width: min(820px, 94vw);
}


body.is-deployed .vx-hero .vx-titles {
  animation: none;
}

body.is-settled .vx-hero .vx-titles {
  display: block;
  gap: 0;
  animation: none;
}

body.is-settled .vx-hero .vx-titles__col {
  width: 100%;
  text-align: left;
}

@media (prefers-reduced-motion: reduce) {
  body.is-deployed .vx-hero .vx-titles {
    transition: none;
  }
}

/* ============================================================
   ROUND 13
   No page-transition overlay (only the top progress bar).
   Code window pulled in toward the content (smaller gaps).
   ============================================================ */

#vx-page-overlay {
  display: none !important;
}

body.is-page-leaving main,
body.is-page-entering main {
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

.vx-hero .code-window {
  padding-left: 10px;
}

.vx-hero .code-window-a {
  top: 54%;
  right: clamp(44px, 10vw, 150px);
  width: min(360px, 30vw);
}

@media (max-width: 1100px) {
  .vx-hero .code-window-a {
    top: 58%;
    right: 4vw;
    width: min(340px, 36vw);
  }
}

@media (max-width: 700px) {
  .vx-hero .code-window-a {
    top: 62%;
    right: 8px;
    width: min(360px, 72vw);
  }
}

/* ============================================================
   ROUND 14
   No text flash before the typing starts; script pulled closer
   to the content edge on wide screens.
   ============================================================ */

.vx-hero [data-type-intro] {
  visibility: hidden;
}

.vx-hero [data-type-intro].is-typing,
.vx-hero [data-type-intro].is-typed {
  visibility: visible;
}

.vx-hero .code-window-a {
  top: 54%;
  right: clamp(28px, 12vw, 160px);
  width: min(360px, 32vw);
}

@media (min-width: 1400px) {
  .vx-hero .code-window-a {
    left: calc(9vw + 820px + 26px);
    right: auto;
    width: min(380px, 32vw);
  }
}

@media (max-width: 1100px) {
  .vx-hero .code-window-a {
    top: 58%;
    right: 4vw;
    width: min(340px, 36vw);
  }
}

@media (max-width: 700px) {
  .vx-hero .code-window-a {
    top: 62%;
    right: 8px;
    width: min(360px, 72vw);
  }
}

/* ============================================================
   ROUND 15
   Deploy always stacked below the description in the intro stage.
   Code window pulled a little farther from the text (less clingy).
   ============================================================ */

.vx-hero .vx-titles {
  flex-direction: column;
  align-items: center;
}

.vx-hero .vx-titles .vx-deploy {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  align-self: center;
  margin: clamp(28px, 5vh, 46px) 0 0;
}

.vx-hero .code-window-a {
  right: clamp(56px, 14vw, 210px);
  width: min(360px, 32vw);
}

@media (min-width: 1400px) {
  .vx-hero .code-window-a {
    left: calc(9vw + 820px + 84px);
    right: auto;
    width: min(380px, 32vw);
  }
}

@media (max-width: 1100px) {
  .vx-hero .code-window-a {
    top: 58%;
    right: 4vw;
    width: min(340px, 36vw);
  }
}

@media (max-width: 700px) {
  .vx-hero .code-window-a {
    top: 62%;
    right: 8px;
    width: min(360px, 72vw);
  }
}

/* ============================================================
   ROUND 16 - Projects redesign
   The 3D sticky "surf" is dead. Projects are a plain, elegant
   grid of cards that reveal one-by-one as you scroll.
   ============================================================ */

.vx-surf-wrap {
  height: auto;
  padding: clamp(110px, 16vh, 190px) clamp(20px, 6vw, 76px) 0;
  background: transparent;
}

.vx-surf {
  position: relative;
  top: auto;
  display: block;
  width: min(1180px, 100%);
  height: auto;
  margin: 0 auto;
  overflow: visible;
  background: transparent;
}

.vx-surf::before {
  display: none;
}

.vx-surf__header {
  position: static;
  top: auto;
  left: auto;
  margin-bottom: clamp(34px, 6vh, 60px);
  justify-content: flex-start;
  color: rgba(203, 218, 255, 0.66);
  font-size: clamp(0.74rem, 1.2vw, 0.86rem);
  letter-spacing: 0.26em;
}

.vx-surf__header sup {
  color: rgba(0, 162, 255, 0.85);
  font-size: 0.68em;
}

.vx-surf__header i {
  width: clamp(48px, 7vw, 84px);
  background: rgba(0, 162, 255, 0.4);
}

.vx-surf__viewport {
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
  perspective: none;
  perspective-origin: initial;
  touch-action: auto;
  transform: none;
}

.vx-surf__tray {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.8vw, 32px);
  width: auto;
  height: auto;
  transform: none;
  transform-style: flat;
  perspective: none;
}

.vx-surf__plane {
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(0, 111, 230, 0.26);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(21, 46, 96, 0.55) 0%, rgba(6, 15, 32, 0.92) 100%);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(130, 185, 255, 0.1);
  perspective: none;
  opacity: 0;
  transform: translateY(36px);
  will-change: opacity, transform;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  transition-delay: min(calc(var(--i, 0) * 55ms), 480ms);
}

.vx-surf__plane.is-in {
  opacity: 1;
  transform: none;
}

.vx-surf__plane:hover,
.vx-surf__plane:focus-visible {
  border-color: rgba(0, 162, 255, 0.6);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(130, 185, 255, 0.16);
}

.vx-surf__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 16% 0%, rgba(63, 139, 245, 0.5), rgba(10, 30, 70, 0) 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(0, 162, 255, 0.22), rgba(6, 19, 42, 0) 60%),
    linear-gradient(170deg, #12386f 0%, #0a1e42 58%, #050f24 100%);
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, 0.35);
  transition: filter 0.3s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.vx-surf__plane:hover .vx-surf__art {
  filter: brightness(1.12);
}

.vx-surf__top {
  position: relative;
  z-index: 1;
  display: flex;
  top: auto;
  left: auto;
  right: auto;
  align-items: center;
  gap: 14px;
  height: auto;
  margin: 0;
  padding: 22px 24px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.vx-surf__top-folder {
  flex: none;
  color: rgba(0, 162, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.vx-surf__top-title {
  overflow: hidden;
  color: #eef4ff;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vx-surf__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  gap: 20px;
  padding: 10px 24px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  align-items: stretch;
  justify-content: space-between;
}

.vx-surf__body-desc {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(187, 211, 245, 0.72);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.vx-surf__body-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.vx-surf__body-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 162, 255, 0.4);
  border-radius: 999px;
  color: rgba(160, 206, 255, 0.85);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vx-surf__body-arrow {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 162, 255, 0.4);
  border-radius: 50%;
  color: #cfe7ff;
  font-size: 1.05rem;
  transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

.vx-surf__plane:hover .vx-surf__body-arrow,
.vx-surf__plane:focus-visible .vx-surf__body-arrow {
  border-color: rgba(0, 162, 255, 0.9);
  background: rgba(0, 111, 230, 0.22);
  transform: translateX(4px);
}

.vx-surf__hint {
  position: static;
  bottom: auto;
  margin: clamp(26px, 5vh, 46px) 0 0;
  color: rgba(150, 183, 230, 0.5);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
}

/* kill leftover 3D/folder debris + responsive overrides */
.vx-surf__art-tab,
.vx-surf__body-icon,
.vx-surf__open,
.vx-surf__num,
.vx-surf__cap,
.vx-surf__label {
  display: none;
}

.vx-surf__plane:nth-child(even) .vx-surf__art {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .vx-surf__plane {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s;
  }
}

@media (max-width: 900px) {
  .vx-surf__viewport {
    transform: none;
  }

  .vx-surf__tray {
    transform: none;
  }
}

@media (max-width: 700px) {
  .vx-surf__viewport {
    transform: none;
  }

  .vx-surf__tray {
    transform: none;
    grid-template-columns: minmax(0, 1fr);
  }

  .vx-surf__plane {
    min-height: 270px;
  }

  .vx-surf__hint {
    display: none;
  }
}

/* ============================================================
   ROUND 17 - Projects: horizontal gallery driven by page scroll
   The section pins for a while; scrolling moves the tray left,
   one big premium card at a time (scroll-driven animation).
   ============================================================ */

.vx-surf-wrap {
  height: 360svh;
  margin-top: clamp(140px, 22vh, 280px);
  padding: 0;
  background: transparent;
}

.vx-surf {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  overflow: hidden;
  background: transparent;
}

.vx-surf__header {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - clamp(40px, 12vw, 160px)));
  margin: 0 auto;
  padding: clamp(22px, 4vh, 40px) 0 0;
  gap: clamp(16px, 2vw, 28px);
}

.vx-surf__head-label {
  color: rgba(203, 218, 255, 0.72);
  font-size: clamp(0.72rem, 1.1vw, 0.84rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vx-surf__head-label sup {
  margin-left: 8px;
  color: rgba(0, 162, 255, 0.8);
}

.vx-surf__head-line {
  display: block;
  flex: 0 0 clamp(40px, 6vw, 78px);
  height: 1px;
  background: rgba(0, 162, 255, 0.4);
}

.vx-surf__hint {
  margin: 0;
  color: rgba(150, 183, 230, 0.45);
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.vx-surf__progress {
  display: block;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(0, 111, 230, 0.2);
}

.vx-surf__progress b {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(0, 111, 230, 0.9), var(--neon, #00a2ff));
  box-shadow: 0 0 12px rgba(0, 162, 255, 0.6);
}

.vx-surf__viewport {
  display: flex;
  flex: 1;
  align-items: center;
  overflow: hidden;
  perspective: 1600px;
  touch-action: pan-y;
}

.vx-surf__tray {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
  padding: 0 clamp(24px, 6vw, 96px);
  transform-style: preserve-3d;
  will-change: transform;
}

.vx-surf__plane {
  position: relative;
  display: flex;
  flex: none;
  width: min(640px, 58vw);
  height: clamp(320px, 56svh, 540px);
  overflow: hidden;
  border: 1px solid rgba(0, 111, 230, 0.3);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(19, 45, 95, 0.6), rgba(6, 15, 32, 0.95));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  color: #fff;
  text-decoration: none;
  opacity: 0.5;
  transform: scale(0.94) translateZ(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  user-select: none;
}

.vx-surf__plane.is-active {
  border-color: rgba(0, 162, 255, 0.55);
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 162, 255, 0.08);
  opacity: 1;
  transform: scale(1) translateZ(0);
}

.vx-surf__plane:hover,
.vx-surf__plane:focus-visible {
  border-color: rgba(0, 162, 255, 0.75);
}

.vx-surf__art {
  position: relative;
  flex: 0 0 38%;
  overflow: hidden;
  background:
    radial-gradient(130% 100% at 20% 0%, rgba(63, 139, 245, 0.75), rgba(10, 30, 70, 0) 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(0, 162, 255, 0.35), rgba(6, 19, 42, 0) 65%),
    linear-gradient(165deg, #17468f 0%, #0b2450 58%, #061129 100%);
  transition: filter 0.35s ease;
}

.vx-surf__plane:hover .vx-surf__art {
  filter: brightness(1.14);
}

.vx-surf__art-num {
  position: absolute;
  right: clamp(8px, 1.4vw, 22px);
  bottom: -0.12em;
  color: rgba(220, 236, 255, 0.2);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(64px, 8vw, 130px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.vx-surf__content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: clamp(14px, 2vh, 24px);
  justify-content: center;
  padding: clamp(24px, 3vw, 44px);
  background: linear-gradient(180deg, rgba(5, 13, 28, 0.25), rgba(5, 13, 28, 0.72));
}

.vx-surf__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vx-surf__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid rgba(0, 162, 255, 0.42);
  border-radius: 999px;
  color: rgba(160, 206, 255, 0.9);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vx-surf__status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon, #00a2ff);
  box-shadow: 0 0 10px rgba(0, 162, 255, 0.9);
  content: "";
}

.vx-surf__idx {
  color: rgba(150, 183, 230, 0.55);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.vx-surf__title {
  color: #f2f7ff;
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.vx-surf__desc {
  color: rgba(187, 211, 245, 0.75);
  font-size: clamp(0.82rem, 1.05vw, 0.95rem);
  line-height: 1.6;
}

.vx-surf__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.vx-surf__stack span {
  padding: 4px 9px;
  border: 1px solid rgba(112, 170, 255, 0.24);
  border-radius: 6px;
  background: rgba(9, 24, 51, 0.55);
  color: rgba(170, 205, 248, 0.78);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.vx-surf__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-top: 4px;
  color: #dceeff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vx-surf__go i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 162, 255, 0.5);
  border-radius: 50%;
  font-style: normal;
  transition: transform 0.26s ease, background 0.26s ease;
}

.vx-surf__plane:hover .vx-surf__go i,
.vx-surf__plane:focus-visible .vx-surf__go i {
  background: rgba(0, 111, 230, 0.25);
  transform: translateX(4px);
}

/* static fallback (reduced motion / no IO): clean grid */
.vx-surf-wrap.is-static {
  height: auto;
  margin-top: clamp(90px, 14vh, 160px);
}

.vx-surf-wrap.is-static .vx-surf {
  position: static;
  height: auto;
  overflow: visible;
}

.vx-surf-wrap.is-static .vx-surf__viewport {
  overflow: visible;
  perspective: none;
}

.vx-surf-wrap.is-static .vx-surf__tray {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.8vw, 32px);
  align-items: stretch;
  padding: 0;
}

.vx-surf-wrap.is-static .vx-surf__plane {
  width: auto;
  height: auto;
  min-height: 300px;
  flex-direction: column;
  opacity: 1;
  transform: none;
}

.vx-surf-wrap.is-static .vx-surf__art {
  flex: 0 0 120px;
}

.vx-surf-wrap.is-static .vx-surf__art-num {
  top: 14px;
  right: 18px;
  bottom: auto;
  font-size: 56px;
}

@media (max-width: 700px) {
  .vx-surf__header {
    width: calc(100% - 36px);
    padding-top: 16px;
  }

  .vx-surf__hint {
    display: none;
  }

  .vx-surf__viewport {
    perspective: none;
  }

  .vx-surf__tray {
    gap: 22px;
    padding: 0 18px;
  }

  .vx-surf__plane {
    flex-direction: column;
    width: min(420px, 84vw);
    height: min(430px, 56svh);
  }

  .vx-surf__art {
    flex: 0 0 30%;
  }

  .vx-surf__art-num {
    right: 14px;
    bottom: -2px;
    font-size: 64px;
  }

  .vx-surf__content {
    gap: 12px;
    padding: 22px;
  }
}

/* ============================================================
   ROUND 18 - Bugfix: viewport was stretching to the tray content
   (leftover align-items:center from the round-16 grid layer).
   The stage must be the viewport width, not the content width,
   so max = tray.scrollWidth - viewportW > 0 and the scroll
   animation actually moves.
   ============================================================ */

.vx-surf {
  width: 100%;
  max-width: none;
  align-items: stretch;
  justify-content: stretch;
}

.vx-surf__viewport {
  min-width: 0;
  width: 100%;
}

/* ============================================================
   ROUND 19 - Bugfix: leftover "justify-content: center" from the
   very first surf layer was centering the 7789px tray inside the
   1440px viewport (tray left edge = -3174px). Must start at left.
   ============================================================ */

.vx-surf {
  justify-content: flex-start;
}

.vx-surf__viewport {
  justify-content: flex-start;
}

/* ============================================================

/* ============================================================

/* ============================================================
   ROUND ABOUT-3 - /about, editorial and personal.
   No cards, no glow, no terminal cliches. Typography is the
   hero: freely flowing panel, a facts strip with hairlines and
   an indent signature block. Keeps the site palette + mono.
   ============================================================ */

.about-layout {
  min-height: 0;
  padding: clamp(40px, 7vh, 72px) 0 clamp(28px, 4vh, 48px);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
}

.about-heading {
  max-width: 800px;
}

.about-heading .eyebrow {
  margin: 0 0 18px;
}

.about-heading h1 {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.about-panel {
  margin-top: 30px;
  max-width: 660px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-panel p {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.72;
}

.about-panel p:first-of-type {
  color: var(--pearl);
  font-size: 1.18rem;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

/* signature block */

.about-signature {
  justify-self: end;
  align-self: end;
  padding: 4px 0 0 clamp(18px, 2vw, 28px);
  border-left: 2px solid var(--electric);
}

.about-signature__path {
  margin: 0 0 10px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
}

.about-signature pre {
  margin: 0;
  color: rgba(239, 237, 255, 0.58);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.82rem;
  line-height: 1.75;
  white-space: pre;
}

/* facts strip */

.about-facts {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
  margin-top: clamp(28px, 5vh, 56px);
}

.about-fact {
  border-top: 1px solid rgba(0, 162, 255, 0.3);
  padding-top: 14px;
}

.about-fact strong {
  display: block;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 1.35rem;
  line-height: 1.2;
}

.about-fact span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* focus */

.about-focus {
  display: block;
  padding-top: clamp(48px, 7vh, 80px);
}

.about-focus__title {
  margin: 0 0 26px;
  color: var(--pearl);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
}

.about-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.about-focus-principle {
  border-top: 1px solid rgba(0, 162, 255, 0.3);
  padding-top: 16px;
}

.about-focus-principle__n {
  display: block;
  margin-bottom: 12px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.74rem;
}

.about-focus-principle h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.18rem;
  font-weight: 800;
}

.about-focus-principle p {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 1060px) {
  .about-signature {
    justify-self: start;
    align-self: start;
  }
}

@media (max-width: 720px) {
  .about-facts,
  .about-focus-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ROUND EXPERIENCE-1 - /experience, editorial curriculum.
   No boxed cards, no pills, no skill meters. Continuous line
   timeline, typographic areas, running skill list, numbered
   methods. Keeps the site palette + mono.
   ============================================================ */

.exp-hero h1 {
  max-width: 900px;
}

.exp-hero > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--soft);
  font-size: 1.1rem;
}

/* highlights */

.exp-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin-top: 34px;
}

.exp-highlight {
  border-left: 2px solid rgba(64, 240, 180, 0.4);
  padding-left: 16px;
}

.exp-highlight strong {
  display: block;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.exp-highlight span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* blocks */

.exp-block {
  padding-top: clamp(56px, 8vh, 88px);
  padding-bottom: 0;
}

.exp-block:last-child {
  padding-bottom: clamp(28px, 5vh, 56px);
}

.exp-block__label {
  margin: 0 0 22px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.exp-block__label--plain {
  margin-bottom: 4px;
}

/* areas */

.exp-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.xp-area {
  position: relative;
  border-top: 1px solid rgba(0, 162, 255, 0.3);
  padding-top: 16px;
}

.xp-area em {
  position: absolute;
  top: 12px;
  right: 0;
  color: rgba(0, 162, 255, 0.4);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.74rem;
  font-style: normal;
}

.xp-area h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.2rem;
  font-weight: 800;
}

.xp-area p {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* timeline */

.xp-timeline {
  max-width: 860px;
}

.xp-item {
  position: relative;
  padding: 0 0 36px 30px;
  border-left: 1px solid rgba(0, 162, 255, 0.26);
}

.xp-item::before {
  position: absolute;
  top: 5px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(64, 240, 180, 0.4);
  content: "";
}

.xp-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.xp-item__period {
  margin: 0 0 8px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
}

.xp-item__title {
  margin: 0;
  color: var(--pearl);
  font-size: 1.35rem;
  font-weight: 800;
}

.xp-item__company {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
}

.xp-item__text {
  margin: 10px 0 0;
  max-width: 640px;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.62;
}

/* split: skills + methods */

.exp-block--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
}

.xp-skills__list {
  margin: 0;
  color: var(--soft);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.9;
}

.xp-langs {
  margin-top: 30px;
  border-top: 1px solid rgba(0, 162, 255, 0.16);
  padding-top: 22px;
}

.xp-lang {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 162, 255, 0.12);
}

.xp-lang strong {
  color: var(--pearl);
  font-size: 0.98rem;
}

.xp-lang span {
  color: var(--muted);
  font-size: 0.9rem;
}

.xp-method-list {
  border-top: 1px solid rgba(0, 162, 255, 0.3);
}

.xp-method {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 162, 255, 0.12);
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.xp-method em {
  flex: none;
  width: 22px;
  color: var(--electric);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
  font-style: normal;
}

@media (max-width: 1060px) {
  .exp-block--split {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ROUND ABOUT-4 - /about, redesigned.
   Same editorial grammar as /experience: hero with intro and
   highlights, bio with a profile rail, path timeline, running
   stack strip and numbered principles. No boxes, no pills.
   ============================================================ */

.about-main {
  display: block;
}

.about-hero {
  padding-top: clamp(20px, 3vh, 40px);
}

.about-hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.about-hero h1 span {
  color: var(--electric);
}

.about-hero__intro {
  max-width: 760px;
  margin-top: 20px;
  color: var(--soft);
  font-size: 1.12rem;
  line-height: 1.65;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin-top: 34px;
}

.about-highlight {
  border-left: 2px solid rgba(64, 240, 180, 0.4);
  padding-left: 16px;
}

.about-highlight strong {
  display: block;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.about-highlight span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.about-section-label {
  margin: 0 0 26px;
  color: var(--pearl);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.about-bio-copy {
  max-width: 700px;
}

.about-bio-p {
  margin: 0 0 16px;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.72;
}

.about-bio-p:last-child {
  margin-bottom: 0;
}

.about-bio-side {
  display: grid;
  gap: 26px;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 162, 255, 0.25);
}

.about-bio-side .about-signature {
  justify-self: start;
  align-self: start;
}

.about-signature__bar {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}

.about-signature__bar i {
  width: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--neon);
  opacity: 0.75;
}

.about-now {
  display: grid;
  gap: 6px;
  margin: 0;
  border-top: 1px solid rgba(0, 162, 255, 0.3);
  padding-top: 14px;
}

.about-now strong {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-now span {
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.about-path-list {
  border-top: 1px solid rgba(0, 162, 255, 0.3);
}

.about-path-item {
  display: grid;
  grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 162, 255, 0.12);
}

.about-path-item__period {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.82rem;
  padding-top: 3px;
}

.about-path-item h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.22rem;
  font-weight: 800;
}

.about-path-item p {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.about-stack__list {
  margin: 0;
  color: var(--soft);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.92rem;
  line-height: 2;
}

.about-focus {
  padding-top: 0;
}

.about-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.about-focus-principle {
  border-top: 1px solid rgba(0, 162, 255, 0.3);
  padding-top: 16px;
}

.about-focus-principle__n {
  display: block;
  margin-bottom: 12px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.74rem;
}

.about-focus-principle h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.18rem;
  font-weight: 800;
}

.about-focus-principle p {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 1060px) {
  .about-bio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about-highlights,
  .about-focus-grid {
    grid-template-columns: 1fr;
  }

  .about-path-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ============================================================
   ROUND ABOUT-5 - /about, tech/terminal.
   Terminal windows with titlebars, mono body, solid shadows,
   bordered widgets with neon numbers and hover glow. The site
   palette stays: electric blue + neon green over ink.
   ============================================================ */

.about-main {
  display: block;
}

.about-hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.about-hero h1 span {
  color: var(--electric);
}

.about-intro {
  max-width: 720px;
  margin-top: 20px;
  color: var(--soft);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* terminal window */

.about-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 3.5vw, 52px);
  align-items: start;
}

.about-term {
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.26);
  border-radius: 10px;
  background: rgba(4, 13, 27, 0.72);
  box-shadow: 10px 10px 0 rgba(0, 111, 230, 0.16);
}

.about-term__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 162, 255, 0.2);
  background: rgba(0, 162, 255, 0.06);
}

.about-term__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.about-term__bar i:nth-child(1) {
  background: #ff5f57;
}

.about-term__bar i:nth-child(2) {
  background: #febc2e;
}

.about-term__bar i:nth-child(3) {
  background: #28c840;
}

.about-term__bar span {
  margin-left: auto;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
}

.about-term__body {
  padding: 18px 22px;
}

.about-term__body p {
  margin: 0 0 14px;
  color: var(--soft);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.92rem;
  line-height: 1.8;
}

.about-term__body p:last-child {
  margin-bottom: 0;
}

.about-term__body b {
  color: var(--electric);
  font-weight: 600;
}

.about-term--side .about-term__bar {
  background: transparent;
}

.about-term__pre {
  margin: 0;
  padding: 16px 22px;
  color: rgba(239, 237, 255, 0.62);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
  line-height: 1.85;
  white-space: pre;
}

/* CLI lines */

.about-side {
  display: grid;
  gap: 18px;
}

.about-cli {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(0, 162, 255, 0.2);
  list-style: none;
}

.about-cli li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.82rem;
}

.about-cli b {
  color: var(--electric);
  font-weight: 600;
}

.about-cli span {
  color: var(--soft);
}

/* tags e widgets */

.about-tag {
  margin: 0 0 26px;
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-fstat {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.68);
}

.about-fstat::before {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.16), transparent 62%);
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.about-fstat:hover {
  border-color: rgba(0, 162, 255, 0.45);
}

.about-fstat:hover::before {
  opacity: 1;
}

.about-fstat__n {
  color: var(--electric);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.7rem;
}

.about-fstat strong {
  position: relative;
  display: block;
  margin-top: 14px;
  color: var(--pearl);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.15;
}

.about-fstat small {
  position: relative;
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* cards de foco */

.about-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
}

.about-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 13, 27, 0.68);
  transition: border-color 240ms ease, transform 240ms ease;
}

.about-card:hover {
  border-color: rgba(0, 162, 255, 0.5);
  transform: translateY(-3px);
}

.about-card__n {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.75rem;
}

.about-card h3 {
  margin: 10px 0 0;
  color: var(--pearl);
  font-size: 1.12rem;
  font-weight: 800;
}

.about-card p {
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* log de trajetória */

.about-log {
  border-top: 1px solid rgba(0, 162, 255, 0.3);
}

.about-log__row {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  gap: clamp(18px, 2.5vw, 34px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 162, 255, 0.14);
}

.about-log__period {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.84rem;
  padding-top: 3px;
}

.about-log__row h3 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.2rem;
  font-weight: 800;
}

.about-log__row p {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* stack corrido */

.about-stack {
  margin: 0;
  color: var(--soft);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.92rem;
  line-height: 2.1;
}

@media (max-width: 1060px) {
  .about-deck {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .about-stats-grid,
  .about-work-grid {
    grid-template-columns: 1fr;
  }

  .about-log__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 720px) {
  .exp-areas,
  .exp-highlights {
    grid-template-columns: 1fr;
  }
}

/* ===== ROUND 3D-1: modelos 3D na home (mouse + scroll) ===== */

.vx-hero .code-backdrop {
  perspective: 1400px;
  transform-style: preserve-3d;
}

.vx-depth {
  perspective: 1400px;
  transform-style: preserve-3d;
}

body.is-deployed:not(.is-intro) .vx-depth {
  transition: transform 0.3s ease-out;
  transform:
    rotateX(calc(var(--g-my, 0) * -6deg))
    rotateY(calc(var(--g-mx, 0) * 7deg));
}

.vx-depth .eyebrow {
  translate: 0 0 40px;
}

.vx-depth .vx-copy {
  translate: 0 0 26px;
}

.vx-depth .hero-actions {
  translate: 0 0 36px;
}

.vx-depth .vx-metrics {
  translate: 0 0 16px;
}

.vx-hero .code-window-a {
  translate: calc(var(--g-mx, 0) * 30px) calc(var(--g-my, 0) * 22px) 110px;
}

.vx-hero .code-window-b {
  translate: calc(var(--g-mx, 0) * -48px) calc(var(--g-my, 0) * -34px) 160px;
}

/* entrada por scroll: progressive, Chrome/Edge veem, resto usa o reveal normal */
@supports (animation-timeline: view()) {
  .vx-marquee {
    animation: vxMrq3D linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 62%;
  }
}

@keyframes vxMrq3D {
  from {
    opacity: 0.4;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* cards do showcase em degrau de profundidade + levantar no hover */
.vx-showcase__grid {
  perspective: 1200px;
  perspective-origin: 50% 24%;
}

.vx-showcard {
  translate: 0 0 var(--d3, 0px);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    translate 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.vx-showcard:hover,
.vx-showcard:focus-visible {
  translate: 0 0 calc(var(--d3, 0px) + 45px);
}

.vx-showcard:nth-child(1) {
  --d3: 40px;
}

.vx-showcard:nth-child(2) {
  --d3: 80px;
}

.vx-showcard:nth-child(3) {
  --d3: 120px;
}

.vx-showcard:nth-child(4) {
  --d3: 160px;
}

.vx-showcard:nth-child(5) {
  --d3: 200px;
}

.vx-showcard:nth-child(6) {
  --d3: 240px;
}

/* planes da galeria afundando conforme a esteira avança */
.vx-surf__plane {
  translate: 0 0 calc(var(--i, 0) * -10px);
}

/* ===== ROUND 3D-2: mouse 3D global (todas as páginas) ===== */

main section:not(.vx-hero) {
  transform: perspective(1400px) rotateX(calc(var(--g-my, 0) * 1deg)) rotateY(calc(var(--g-mx, 0) * 1.4deg));
  transition: transform 0.35s ease;
}

/* cards de projetos com profundidade no hover (transição original mantida) */
.work-grid.project-results {
  perspective: 1200px;
}

.project-card {
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    translate 220ms ease;
}

.project-card:hover {
  translate: 0 0 20px;
}

/* luz que acompanha o mouse (sombra cômplice, sem capturar clique) */
.vx-glow {
  position: fixed;
  top: -220px;
  left: -220px;
  z-index: 40;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 162, 255, 0.14), transparent 70%);
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.2s ease-out;
  will-change: transform;
}

.vx-glow.is-on {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .vx-glow {
    display: none;
  }

  body.is-deployed:not(.is-intro) .vx-depth,
  main section:not(.vx-hero) {
    rotate: none !important;
    transform: none !important;
  }

  .vx-marquee {
    animation: none;
  }

  .vx-showcard,
  .vx-surf__plane,
  .vx-depth .eyebrow,
  .vx-depth .vx-copy,
  .vx-depth .hero-actions,
  .vx-depth .vx-metrics,
  .vx-hero .code-window-a,
  .vx-hero .code-window-b {
    translate: none !important;
  }
}

/* ===== ROUND 3D-3: constelação, reflexo no nome e ondas nos cards ===== */

.vx-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease 0.6s;
  pointer-events: none;
}

.vx-particles.is-live {
  opacity: 1;
}

.vx-hero.is-nomotion .vx-particles {
  display: none;
}

/* título com reflexo elétrico que desliza com o mouse */
.vx-title,
main h1:not(.vx-title) {
  background-image: linear-gradient(100deg, #f6f8ff 0%, #f6f8ff 30%, var(--electric) 50%, #f6f8ff 70%, #f6f8ff 100%);
  background-size: 230% 100%;
  background-position: calc(50% + var(--g-mx, 0) * -70%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .vx-title,
  .vx-title.is-typed,
  main h1:not(.vx-title) {
    background-image: none;
    color: #f6f8ff;
  }
}

/* o tipo completo da home mantém o reflexo transparente */
.vx-title.is-typed {
  color: transparent;
}

/* aura neon que acompanha o mouse nos títulos de seção de todas as páginas */
main h2:not(.vx-subtitle),
main .eyebrow {
  text-shadow: calc(var(--g-mx, 0) * 16px) calc(var(--g-my, 0) * -12px) 30px rgba(0, 162, 255, 0.3);
}

/* tilt global: sections dentro de qualquer main acompanham o mouse
   (regra vive no ROUND 3D-2) */

/* fundo ambiente pulsante (fonte, sem capturar clique) */
.vx-ambient {
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(30% 28% at 22% 18%, rgba(0, 111, 230, 0.11), transparent 68%),
    radial-gradient(24% 26% at 82% 72%, rgba(0, 162, 255, 0.11), transparent 70%),
    radial-gradient(16% 18% at 60% 46%, rgba(60, 140, 255, 0.06), transparent 75%);
  animation: vxAmbient 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes vxAmbient {
  0% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

/* spotlight: luz que acompanha o mouse dentro dos painéis comuns */
.auth-panel,
.error-card,
.exp-block,
.xp-item,
.skills-panel,
.method-band,
.about-panel,
.about-focus,
.contact-form,
.contact-details,
.premium-plan-card,
.premium-compare-card,
.premium-feature-card,
.profile-main-card,
.profile-side-card,
.legal-item,
.tool-card,
.preview-card,
.dev-card {
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.24s ease,
    translate 0.24s ease;
}

.auth-panel:hover,
.auth-panel:focus-within,
.error-card:hover,
.error-card:focus-within,
.exp-block:hover,
.exp-block:focus-within,
.xp-item:hover,
.skills-panel:hover,
.skills-panel:focus-within,
.method-band:hover,
.method-band:focus-within,
.about-panel:hover,
.about-panel:focus-within,
.about-focus:hover,
.about-focus:focus-within,
.contact-form:hover,
.contact-form:focus-within,
.contact-details:hover,
.premium-plan-card:hover,
.premium-plan-card:focus-within,
.premium-compare-card:hover,
.premium-feature-card:hover,
.profile-main-card:hover,
.profile-side-card:hover,
.legal-item:hover,
.tool-card:hover,
.preview-card:hover,
.dev-card:hover {
  transform: translate3d(0, -3px, 0);
}

/* ripple nos card templates */
.vx-showcard::after,
.project-card::after {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(0, 162, 255, 0.75);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.vx-showcard:hover::after,
.vx-showcard:focus-visible::after,
.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 0.9;
  transform: scale(1.25);
}

/* ondulação por cascata: cada item sobe num ritmo defasado */
.vx-marquee__group span {
  animation: vxMrqFloat 5.4s ease-in-out infinite;
  animation-delay: calc(var(--mi, 0) * -0.62s);
}

@keyframes vxMrqFloat {
  0%,
  100% {
    translate: 0 0 6px;
    opacity: 0.62;
  }

  50% {
    translate: 0 0 18px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vx-particles {
    display: none;
  }

  .vx-showcard::after,
  .project-card::after {
    display: none;
  }

  .vx-title {
    background-image: none;
    color: #f6f8ff;
  }

  .vx-marquee__group span {
    animation: none;
    translate: none !important;
  }
}

/* ===== ROUND 3D-4: vida em todas as páginas ===== */

@media (prefers-reduced-motion: reduce) {
  .vx-ambient {
    display: none;
  }

  .auth-panel,
  .error-card,
  .exp-block,
  .xp-item,
  .skills-panel,
  .method-band,
  .about-panel,
  .about-focus,
  .contact-form,
  .contact-details,
  .premium-plan-card,
  .premium-compare-card,
  .premium-feature-card,
  .profile-main-card,
  .profile-side-card,
  .legal-item,
  .tool-card,
  .preview-card,
  .dev-card {
    transform: none !important;
  }

  main h2:not(.vx-subtitle),
  main .eyebrow {
    text-shadow: none;
  }

  .vx-title,
  main h1:not(.vx-title) {
    background-image: none;
    color: #f6f8ff;
  }
}

/* ===== ROUND 3D-5: hero da home entorta, cards seguem o cursor ===== */

/* o hero inteiro inclina devagar com o mouse depois da intro */
body.is-settled .vx-hero {
  perspective: 1400px;
  transform: rotateX(calc(var(--g-my, 0) * -1.7deg)) rotateY(calc(var(--g-mx, 0) * 2.3deg));
  transition: transform 0.3s ease-out;
}

/* botões do hero sentem o passe do mouse */
.vx-hero .hero-actions a {
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.vx-hero .hero-actions a:hover,
.vx-hero .hero-actions a:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px -12px rgba(0, 162, 255, 0.45);
}

.vx-hero .hero-actions a:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 4px 14px -6px rgba(0, 162, 255, 0.3);
}

/* cartões que acompanham o cursor em 3D (o JS escreve o transform) */
.is-driving {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  body.is-settled .vx-hero {
    transform: none;
  }

  .vx-hero .hero-actions a:hover,
  .vx-hero .hero-actions a:focus-visible {
    transform: none;
    box-shadow: none;
  }
}

/* ============================================================
   ROUND 3D-6: hero em camadas segue o mouse, navbar acesa,
   páginas de Sobre e Experiência mais ricas, perf para
   GPU integrada. Vars --g-mx/--g-my vêm do initSiteDepth
   (lerp 0.1 por frame), então translate fica fluido sem
   transition CSS — a suavidade vem do próprio lerp.
   ============================================================ */

/* tie-break: retoma o stagger do reveal e evolui só o translate
   (sem z-extra para não furar a intro; tudo gated em is-settled) */
body.is-settled .vx-hero .vx-titles__col {
  translate: calc(var(--g-mx, 0) * -18px) calc(var(--g-my, 0) * 10px);
}

body.is-settled .vx-hero .vx-scrollcue {
  translate: calc(var(--g-mx, 0) * 26px) calc(var(--g-my, 0) * -12px);
}

body.is-settled .vx-depth .eyebrow {
  translate: calc(var(--g-mx, 0) * -34px) 0 40px;
}

body.is-settled .vx-depth .vx-copy {
  translate: calc(var(--g-mx, 0) * -22px) 0 26px;
}

body.is-settled .vx-depth .hero-actions {
  translate: calc(var(--g-mx, 0) * -30px) 0 36px;
}

body.is-settled .vx-depth .vx-metrics {
  translate: calc(var(--g-mx, 0) * 20px) 0 16px;
}

/* ===== navbar: header fica na frente do hero depois do tribute ===== */

/* ===== /about — painel, terminal, fatos e princípios viram cartões ===== */

.about-panel {
  position: relative;
  max-width: 660px;
  margin-top: 30px;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(10, 22, 42, 0.56), rgba(5, 13, 28, 0.46));
  box-shadow:
    0 18px 46px -22px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(0, 162, 255, 0.1);
  padding: 26px 30px 30px;
}

.about-panel::before {
  position: absolute;
  top: -1px;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 162, 255, 0.55), transparent);
  content: "";
}

.about-panel__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.about-panel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(64, 240, 180, 0.55);
}

.about-panel__path {
  color: var(--neon);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.72rem;
}

.about-signature {
  justify-self: end;
  align-self: end;
  min-width: 260px;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 12px;
  background: rgba(5, 13, 28, 0.86);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

.about-signature__bar {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid rgba(0, 162, 255, 0.16);
  padding: 10px 14px;
}

.about-signature__bar i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 162, 255, 0.28);
}

.about-signature__bar i:first-child {
  background: rgba(64, 240, 180, 0.5);
}

.about-signature__bar i:last-child {
  background: rgba(255, 176, 32, 0.45);
}

.about-signature__path {
  padding: 14px 16px 0;
}

.about-signature pre {
  padding: 8px 16px 16px;
}

.about-facts {
  counter-reset: vxAfact;
}

.about-fact {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 12px;
  background: rgba(8, 18, 36, 0.45);
  padding: 18px 16px 16px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.about-fact::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), transparent);
  content: "";
}

.about-fact::after {
  position: absolute;
  top: 14px;
  right: 14px;
  color: rgba(0, 162, 255, 0.38);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.7rem;
  content: "0" counter(vxAfact);
  counter-increment: vxAfact;
}

.about-fact:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 162, 255, 0.36);
}

.about-focus-principle {
  position: relative;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(9, 20, 40, 0.38), rgba(4, 11, 24, 0.3));
  padding: 20px 20px 22px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.about-focus-principle:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 162, 255, 0.36);
}

.about-focus-principle__n {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.32);
  border-radius: 50%;
  background: rgba(0, 111, 230, 0.14);
}

@media (max-width: 1060px) {
  .about-signature {
    justify-self: start;
    align-self: start;
  }
}

/* ===== /experience — highlights, áreas e timeline mais ricas ===== */

.exp-highlight {
  position: relative;
  border: 1px solid rgba(64, 240, 180, 0.24);
  border-left: 2px solid rgba(64, 240, 180, 0.55);
  border-radius: 12px;
  background: rgba(9, 22, 34, 0.45);
  padding: 18px 18px 16px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.exp-highlight:hover {
  transform: translateY(-3px);
  border-color: rgba(64, 240, 180, 0.42);
}

.xp-area {
  position: relative;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(165deg, rgba(9, 20, 40, 0.38), rgba(4, 11, 24, 0.3));
  padding: 20px 20px 22px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.xp-area:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 162, 255, 0.36);
}

.xp-area em {
  top: 18px;
  right: 18px;
  color: rgba(0, 162, 255, 0.45);
  font-size: 0.7rem;
}

.xp-item {
  transition: translate 0.24s ease;
}

.xp-item:hover {
  translate: 6px 0;
}

.xp-item__period {
  display: inline-block;
  border: 1px solid rgba(64, 240, 180, 0.35);
  border-radius: 999px;
  background: rgba(64, 240, 180, 0.07);
  padding: 3px 10px;
  color: var(--mint);
  font-size: 0.72rem;
}

.xp-skills__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1;
}

.xp-skill {
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 111, 230, 0.08);
  padding: 6px 12px;
  color: rgba(222, 230, 255, 0.88);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.85rem;
  line-height: 1.2;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.xp-skill:hover {
  border-color: rgba(0, 162, 255, 0.55);
  transform: translateY(-2px);
}

.xp-lang {
  padding: 10px 12px;
  border: 1px solid rgba(0, 162, 255, 0.14);
  border-radius: 10px;
  background: rgba(7, 17, 34, 0.34);
  margin-bottom: 8px;
  transition: border-color 0.2s ease;
}

.xp-lang:hover {
  border-color: rgba(0, 162, 255, 0.34);
}

.xp-langs {
  border-top-color: rgba(0, 162, 255, 0.24);
}

.xp-method {
  position: relative;
  padding: 16px 16px;
  border: 1px solid rgba(0, 162, 255, 0.14);
  border-radius: 10px;
  background: rgba(7, 17, 34, 0.3);
  margin-bottom: 10px;
  transition: translate 0.2s ease, border-color 0.2s ease;
}

.xp-method:last-child {
  border-bottom: 1px solid rgba(0, 162, 255, 0.14);
}

.xp-method:hover {
  translate: 4px 0;
  border-color: rgba(0, 162, 255, 0.34);
}

.xp-method em {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.32);
  border-radius: 50%;
  background: rgba(0, 111, 230, 0.12);
  color: var(--neon);
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .about-signature {
    min-width: 0;
    width: 100%;
  }

  .about-panel {
    padding: 20px 18px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-settled .vx-hero .vx-titles__col,
  body.is-settled .vx-hero .vx-scrollcue,
  body.is-settled .vx-depth .eyebrow,
  body.is-settled .vx-depth .vx-copy,
  body.is-settled .vx-depth .hero-actions,
  body.is-settled .vx-depth .vx-metrics {
    translate: none !important;
  }

  .about-fact:hover,
  .about-focus-principle:hover,
  .exp-highlight:hover,
  .xp-area:hover,
  .xp-skill:hover,
  .xp-lang:hover,
  .xp-method:hover,
  .xp-item:hover {
    transform: none !important;
    translate: none !important;
  }
}



/* ============================================================
   ROUND 3D-7: navbar afinada, about reorganizado (bolinha azul),
   experience em azul e hovers sem pulo. Tudo em overrides finais.
   ============================================================ */

/* ===== navbar: pílula mais leve, links como chips ===== */

.site-header::before {
  inset: 8px clamp(18px, 7vw, 132px);
  border-color: rgba(0, 162, 255, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(7, 17, 34, 0.72), rgba(4, 11, 24, 0.66));
  box-shadow:
    0 18px 40px -18px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-header.is-scrolled::before,
body.menu-open .site-header::before {
  border-color: rgba(0, 162, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(7, 17, 34, 0.94), rgba(4, 11, 24, 0.92));
  box-shadow:
    0 22px 44px -20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(0, 162, 255, 0.08);
}

.site-nav {
  gap: 4px;
}

.site-nav a {
  padding: 7px 14px;
  border-radius: 999px;
  color: rgba(150, 185, 245, 0.88);
  transition:
    color 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.site-nav a::after {
  right: 30%;
  bottom: 3px;
  left: 30%;
  height: 2px;
  border-radius: 1px;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(0, 162, 255, 0.6);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(0, 162, 255, 0.1);
}

.site-nav a.is-active {
  background: rgba(0, 162, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(0, 162, 255, 0.3);
}

.brand-link {
}

/* ===== /about: painel como documento, terminal ao lado, azul ===== */

.about-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  align-items: start;
  column-gap: clamp(32px, 5vw, 72px);
}

.about-heading {
  max-width: none;
}

.about-panel {
  max-width: 640px;
  margin-top: 30px;
  border-color: rgba(0, 162, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(9, 20, 40, 0.6), rgba(4, 11, 24, 0.48));
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(0, 162, 255, 0.08);
  padding: 28px 32px 32px;
}

.about-panel__top {
  margin-bottom: 18px;
}

.about-panel__dot {
  background: var(--electric);
  box-shadow: 0 0 14px rgba(0, 162, 255, 0.6);
}

.about-panel__path {
  color: rgba(0, 162, 255, 0.8);
}

.about-signature {
  justify-self: stretch;
  align-self: start;
  margin-top: 4px;
  min-width: 0;
  border-radius: 14px;
  box-shadow:
    0 24px 56px -26px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.about-signature__bar i {
  background: rgba(0, 162, 255, 0.3);
}

.about-signature__bar i:first-child {
  background: rgba(90, 190, 255, 0.55);
}

.about-signature__bar i:last-child {
  background: rgba(0, 162, 255, 0.18);
}

.about-signature pre {
  color: rgba(185, 200, 235, 0.82);
}

.about-signature pre::first-line {
  color: var(--pearl);
  font-weight: 700;
}

/* ===== /experience: verde sai, azul entra, hover sem pulo ===== */

.exp-highlight {
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-left: 2px solid rgba(0, 162, 255, 0.55);
  border-radius: 14px;
  background: rgba(6, 17, 36, 0.42);
  padding: 20px 20px 18px;
  transition:
    border-color 0.24s ease,
    background 0.24s ease;
}

.exp-highlight:hover {
  border-color: rgba(0, 162, 255, 0.4);
  background: rgba(8, 20, 42, 0.52);
}

.xp-item::before {
  width: 10px;
  height: 10px;
  left: -5.5px;
  background: var(--electric);
  box-shadow: 0 0 16px rgba(0, 162, 255, 0.55);
}

.xp-item__period {
  border-color: rgba(0, 162, 255, 0.32);
  background: rgba(0, 111, 230, 0.1);
  color: #b9dcff;
}

.xp-item {
  transition: border-color 0.24s ease;
}

.xp-item:hover {
  border-left-color: rgba(0, 162, 255, 0.5);
}

/* mata os saltos de hover em toda a página de experience */
.exp-highlight:hover,
.xp-area:hover,
.xp-method:hover,
.xp-skill:hover,
.xp-lang:hover,
.xp-item:hover {
  transform: none !important;
  translate: none !important;
}

.xp-area:hover {
  border-color: rgba(0, 162, 255, 0.42);
}

.xp-method:hover {
  border-color: rgba(0, 162, 255, 0.42);
}

.xp-skill:hover {
  transform: none !important;
  border-color: rgba(0, 162, 255, 0.55);
}

@media (max-width: 1000px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-signature {
    margin-top: 0;
  }
}

/* ============================================================
   ROUND 3D-8: settings /auth/settings redesenhado. Mantém a mesma
   estrutura do HTML e do JS; só refina visuais para casar com o
   resto do site (vidro, hairline azul, cantos, badges por estado).
   ============================================================ */

.settings-page {
  padding-top: 108px;
}

/* ---- shell e sidebar: vidro mais leve e alinhado ao resto ---- */
.settings-shell {
  gap: 26px;
}

.settings-sidebar {
  top: 88px;
  gap: 14px;
  border-color: rgba(0, 162, 255, 0.16);
  border-radius: 16px;
  background: rgba(6, 17, 36, 0.7);
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.66),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 18px 14px;
  backdrop-filter: blur(14px) saturate(1.15);
}

.settings-user-card {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  border-bottom-color: rgba(0, 162, 255, 0.12);
  padding: 4px 6px 15px;
}

.settings-user-card strong {
  font-size: 0.98rem;
}

.settings-user-card small {
  font-size: 0.8rem;
}

.settings-avatar {
  border-color: rgba(0, 162, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(0, 111, 230, 0.22), rgba(0, 162, 255, 0.06));
  color: #cfe6ff;
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.08);
}

.settings-side-nav a {
  position: relative;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  transition: background 180ms ease, color 180ms ease;
}

.settings-side-nav a::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(0, 162, 255, 0.7);
  content: "";
  transform: translateY(-50%);
  transition: height 180ms ease;
}

.settings-side-nav a:hover,
.settings-side-nav a:focus-visible {
  background: rgba(0, 162, 255, 0.06);
  color: var(--pearl);
}

.settings-side-nav a.is-active {
  background: rgba(0, 162, 255, 0.14);
  color: #fff;
}

.settings-side-nav a.is-active::before {
  height: 18px;
}

.settings-sidebar .secondary-action {
  margin-top: 2px;
  justify-self: stretch;
}

/* ---- content e painéis ---- */
.settings-content {
  gap: 26px;
}

.settings-section {
  gap: 16px;
}

.settings-section-header h1 {
  position: relative;
  font-size: 2rem;
}

.settings-section-header h1::after {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--electric), transparent);
  content: "";
}

.settings-section-header p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.settings-panel {
  gap: 16px;
  border-color: rgba(0, 162, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(9, 20, 40, 0.6), rgba(4, 11, 24, 0.48));
  box-shadow:
    0 18px 48px -26px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 26px 30px;
}

.settings-panel-compact {
  padding: 20px 24px;
}

.settings-panel h2 {
  font-size: 1.14rem;
  color: #eaf1ff;
}

.settings-panel label {
  gap: 8px;
  color: rgba(200, 215, 245, 0.86);
}

.settings-panel input[type="text"],
.settings-panel input[type="email"],
.settings-panel input[type="password"],
.settings-panel input[type="url"],
.settings-panel input[type="file"],
.settings-panel select,
.settings-panel textarea,
.settings-social-row input {
  border-color: rgba(0, 162, 255, 0.18);
  border-radius: 10px;
  background: rgba(2, 6, 16, 0.78);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.settings-panel input:focus,
.settings-panel select:focus,
.settings-panel textarea:focus,
.settings-social-row input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.14);
  outline: none;
}

.settings-panel textarea:focus {
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.12);
}

.settings-grid-two {
  gap: 16px;
}

.settings-check {
  border: 1px solid rgba(0, 162, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 162, 255, 0.04);
  padding: 12px 14px;
}

.settings-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--neon);
}

/* ---- badges por estado ---- */
.settings-badge {
  border-color: rgba(0, 162, 255, 0.3);
  background: rgba(0, 162, 255, 0.06);
  color: #9fc9ff;
  border-radius: 999px;
  padding: 4px 10px;
}

.settings-badge.is-on {
  border-color: rgba(0, 162, 255, 0.4);
  background: rgba(0, 111, 230, 0.2);
  color: #bfe0ff;
  box-shadow: 0 0 12px rgba(0, 162, 255, 0.25);
}

/* ---- painel de header interno (totp, passkeys, api usage) ---- */
.settings-panel-header h2 {
  margin: 0;
}

/* ---- açoes e botões removem/revoga agora com hover de perigo ---- */
.settings-social-row button,
.settings-list-item button {
  border-color: rgba(255, 143, 163, 0.22);
  border-radius: 8px;
  background: rgba(255, 143, 163, 0.07);
  color: #ff9caf;
  transition: background 180ms ease, border-color 180ms ease;
}

.settings-social-row button:hover,
.settings-list-item button:hover {
  background: rgba(255, 143, 163, 0.16);
  border-color: rgba(255, 143, 163, 0.42);
}

.settings-list {
  gap: 12px;
}

.settings-list-item {
  grid-template-columns: minmax(0, 1fr) 36px;
  border-color: rgba(139, 180, 245, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px 14px;
}

.settings-list-item strong {
  font-weight: 600;
}

/* ---- formulário de dados exportados / chave criada ---- */
.settings-created-key {
  border-color: rgba(0, 162, 255, 0.3);
  background: rgba(0, 111, 230, 0.14);
  color: #bfe0ff;
  border-radius: 10px;
}

/* ---- zona de perigo ---- */
.settings-danger-zone {
  border-top-color: rgba(255, 143, 163, 0.24);
  padding-top: 18px;
}

.settings-danger-zone h2 {
  color: #ffc6d1;
}

.settings-danger-zone .secondary-action[type="submit"] {
  border-color: rgba(255, 143, 163, 0.3);
  background: rgba(255, 143, 163, 0.08);
  color: #ff9caf;
}

.settings-danger-zone .secondary-action[type="submit"]:hover {
  background: rgba(255, 143, 163, 0.18);
}

/* ---- equipes ---- */
.settings-team-card {
  border-color: rgba(139, 180, 245, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  padding: 18px;
}

.settings-team-head button,
.settings-team-member button {
  border-color: rgba(255, 143, 163, 0.22);
  border-radius: 8px;
  background: rgba(255, 143, 163, 0.07);
  color: #ff9caf;
}

.settings-team-head button:hover,
.settings-team-member button:hover {
  background: rgba(255, 143, 163, 0.16);
}

.settings-team-member {
  border-radius: 10px;
}

.settings-team-members {
  border-top-color: rgba(0, 162, 255, 0.12);
}

/* ---- billing: cartão de plano como destaque ---- */
.billing-plan-card {
  overflow: hidden;
  border: 1px solid rgba(0, 162, 255, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 162, 255, 0.14), rgba(0, 111, 230, 0.05) 48%, transparent 78%),
    rgba(2, 6, 16, 0.5);
  padding: 26px 28px 28px;
  box-shadow: 0 24px 60px -30px rgba(0, 111, 230, 0.4);
}

.billing-plan-copy {
  position: relative;
  z-index: 1;
}

.billing-plan-card h2 {
  color: #eaf4ff;
}

.billing-content-grid {
  gap: 24px;
}

.billing-current-plan {
  border-left: 3px solid var(--neon);
  border-radius: 0 12px 12px 0;
  background: rgba(0, 162, 255, 0.06);
  padding: 16px 18px;
}

.billing-current-plan strong {
  color: #d8ecff;
}

.billing-feature-list li {
  color: rgba(226, 237, 255, 0.88);
}

.billing-feature-list li::before {
  background: var(--neon);
  box-shadow: 0 0 14px rgba(0, 162, 255, 0.5);
}

.billing-action-row {
  border-top-color: rgba(0, 162, 255, 0.12);
}

.billing-history {
  border-top-color: rgba(0, 162, 255, 0.12);
}

.settings-table td {
  border-top-color: rgba(139, 180, 245, 0.1);
  padding: 12px 10px;
}

.settings-table a {
  color: #9fc9ff;
}

/* ---- api usage: cards de cota alinhados ao azul ---- */
.api-usage-overview {
  gap: 16px;
}

.api-usage-card {
  border-color: rgba(139, 180, 245, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) 40%),
    rgba(6, 17, 36, 0.72);
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.api-usage-card::before {
  height: 2px;
  opacity: 0.8;
}

.api-usage-card-primary {
  border-color: rgba(0, 162, 255, 0.28);
}

.api-usage-card strong {
  color: #dcedff;
  font-size: clamp(1.25rem, 2.2vw, 1.62rem);
}

.api-usage-stats span {
  border-left-color: rgba(0, 162, 255, 0.55);
  border-radius: 0 10px 10px 0;
  background: rgba(0, 162, 255, 0.08);
  padding: 12px 14px;
}

.quota-meter {
  border-color: rgba(0, 162, 255, 0.2);
  border-radius: 999px;
}

.quota-meter span {
  background: linear-gradient(90deg, var(--electric), var(--neon));
}

.quota-meter.is-unlimited span {
  background: linear-gradient(90deg, var(--violet), var(--neon));
}

/* ---- totp ---- */
.totp-setup code {
  color: #9fc9ff;
}

.totp-setup img {
  border-radius: 12px;
}

/* ---- tabelas internas de painel ---- */
.settings-panel-header p {
  color: rgba(200, 215, 245, 0.7);
}

/* ---- botoes pequenos internos ficam consistentes ---- */
.settings-panel-header .primary-action,
.total-actions .secondary-action {
  border-radius: 10px;
  padding: 8px 14px;
}

/* ---- armadilha de borda extra do painel APIs usage panel ---- */
.api-usage-panel {
  background:
    linear-gradient(160deg, rgba(9, 20, 40, 0.6), rgba(4, 11, 24, 0.48));
  border-color: rgba(0, 162, 255, 0.16);
  border-radius: 16px;
  box-shadow:
    0 18px 48px -26px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@media (max-width: 1000px) {
  .settings-shell {
    gap: 18px;
  }

  .settings-sidebar {
    box-shadow: none;
  }
}

/* ============================================================
   ROUND BUG-1: bichinho que persegue o cursor + temas + a11y
   ============================================================ */

/* ---- bichinho SVG que acompanha o mouse (de fundo, sem sobrepor) ---- */
#vx-bug {
  --bug-accent: #40f0b4;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 42px;
  height: 42px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  will-change: transform;
}

#vx-bug.is-on {
  opacity: 1;
}

#vx-bug svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#vx-bug .vx-bug-head {
  fill: #123321;
  stroke: var(--bug-accent);
  stroke-width: 2;
}

#vx-bug .vx-bug-thorax {
  fill: #10603a;
  stroke: rgba(64, 240, 180, 0.4);
  stroke-width: 1.2;
}

#vx-bug .vx-bug-abdomen {
  fill: #0a3d29;
  stroke: rgba(64, 240, 180, 0.4);
  stroke-width: 1.2;
}

#vx-bug .vx-bug-belly {
  fill: #4ff0b8;
  opacity: 0.85;
}

#vx-bug .vx-bug-eye {
  fill: #eef8f4;
}

#vx-bug .vx-bug-pupil {
  fill: #03321f;
}

#vx-bug .vx-bug-lip {
  stroke: #ccf8e4;
}

#vx-bug .vx-bug-antenna {
  stroke: var(--bug-accent);
  stroke-width: 1.6;
  stroke-linecap: round;
}

#vx-bug .vx-bug-antenna-tip {
  fill: var(--bug-accent);
}

#vx-bug .vx-bug-leg {
  stroke: var(--bug-accent);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.85;
}

#vx-bug .vx-bug-brow {
  stroke: #03321f;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#vx-bug svg * {
  transform-box: fill-box;
  transform-origin: center;
}

/* pernas sempre andando; aceleram quando o bicho corre */
#vx-bug .vx-bug-legs {
  animation: vx-bug-walk 0.45s ease-in-out infinite alternate;
}

#vx-bug.is-running .vx-bug-legs {
  animation-duration: 0.16s;
}

#vx-bug .vx-bug-leg.is-l2,
#vx-bug .vx-bug-leg.is-r2 {
  animation: vx-bug-kick 0.45s ease-in-out infinite alternate-reverse;
}

#vx-bug.is-running .vx-bug-leg.is-l2,
#vx-bug.is-running .vx-bug-leg.is-r2 {
  animation-duration: 0.16s;
}

/* antenas balançando o tempo todo */
#vx-bug .vx-bug-antenna {
  animation: vx-bug-antenna 2s ease-in-out infinite alternate;
}

#vx-bug .vx-bug-antenna.is-right {
  animation-delay: -1s;
}

/* corpo levita de leve (respiração) */
#vx-bug .vx-bug-body {
  animation: vx-bug-bob 0.9s ease-in-out infinite alternate;
}

@keyframes vx-bug-walk {
  0% {
    rotate: -4deg;
  }
  100% {
    rotate: 4deg;
  }
}

@keyframes vx-bug-kick {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 -2px;
  }
}

@keyframes vx-bug-antenna {
  0% {
    rotate: -8deg;
  }
  100% {
    rotate: 10deg;
  }
}

@keyframes vx-bug-bob {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 -1.4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #vx-bug,
  #vx-bug::after {
    display: none;
  }
}

/* ---- botão flutuante de leitura em voz alta ---- */
#vx-reader-fab {
  --reader-color: rgba(0, 162, 255, 0.34);
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2000;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(4, 13, 27, 0.92);
  color: var(--neon);
  cursor: pointer;
  box-shadow: 0 10px 28px -8px rgba(0, 162, 255, 0.45);
  transition: background 200ms ease, color 200ms ease, transform 160ms ease, border-color 200ms ease;
}

#vx-reader-fab:hover,
#vx-reader-fab:focus-visible {
  border-color: var(--neon);
  background: rgba(0, 111, 230, 0.28);
  outline: none;
}

#vx-reader-fab:hover {
  transform: translateY(-2px);
}

#vx-reader-fab.is-speaking {
  background: rgba(64, 240, 180, 0.22);
  color: #3ce8ae;
}

@media (max-width: 680px) {
  #vx-reader-fab {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
}

/* ---- avatar com upload destacado ---- */
.avatar-upload-zone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-radius: 12px;
  background: rgba(4, 13, 27, 0.5);
  padding: 16px;
}

.avatar-upload-zone.is-drag {
  border-color: var(--neon);
  outline: 2px dashed rgba(0, 162, 255, 0.5);
  outline-offset: 3px;
}

.settings-avatar-wrap {
  position: relative;
}

.settings-avatar {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(0, 162, 255, 0.55);
  background: linear-gradient(135deg, rgba(0, 111, 230, 0.45), rgba(159, 140, 255, 0.35));
  color: var(--pearl);
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: 0 8px 22px -8px rgba(0, 162, 255, 0.55);
}

.settings-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-edit-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid rgba(4, 13, 27, 0.92);
  border-radius: 50%;
  background: var(--electric);
  color: #fff;
}

.avatar-upload-copy {
  display: grid;
  gap: 6px;
}

.avatar-upload-copy small {
  color: var(--muted);
}

.settings-avatar-wrap {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}

.settings-avatar-wrap:hover .avatar-edit-badge {
  background: #0a7ef5;
  transform: scale(1.08);
}

/* ---- chip de conta no header (lado direito) padronizado em azul ---- */
.user-nav-link {
  position: relative;
  display: inline-flex;
  max-width: 196px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(0, 162, 255, 0.24);
  border-radius: 999px;
  background: rgba(0, 111, 230, 0.1);
  padding: 5px 14px 5px 5px;
  color: var(--soft);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.user-nav-link img,
.user-nav-link span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 162, 255, 0.5);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 111, 230, 0.5), rgba(159, 140, 255, 0.4));
}

.user-nav-link img {
  object-fit: cover;
}

.user-nav-link span {
  display: grid;
  place-items: center;
  color: var(--pearl);
  font-size: 0.82rem;
  font-weight: 800;
}

.user-nav-link strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-nav-link::after {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  content: "";
  opacity: 0.7;
  transform: rotate(45deg) translateY(-40%);
}

.account-menu-trigger:hover,
.account-menu-trigger:focus-visible,
.account-menu-trigger.is-active {
  border-color: rgba(0, 162, 255, 0.55);
  background: rgba(0, 111, 230, 0.2);
  color: var(--neon);
  box-shadow: 0 0 0 4px rgba(0, 111, 230, 0.12);
}

.account-menu-trigger:hover strong,
.account-menu-trigger:focus-visible strong,
.account-menu-trigger.is-active strong {
  color: inherit;
}

/* painel do menu de conta também azul */
.account-menu-panel {
  border-color: rgba(0, 162, 255, 0.28);
  background: rgba(3, 10, 22, 0.98);
}

.account-menu-panel a,
.account-menu-panel button {
  color: var(--soft);
}

.account-menu-panel a:hover,
.account-menu-panel a:focus-visible,
.account-menu-panel button:hover,
.account-menu-panel button:focus-visible {
  background: rgba(0, 111, 230, 0.14);
  color: var(--pearl);
}

/* sidebar do settings: avatar circular pequeno (o grande é só do form) */
.settings-user-card .settings-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(0, 162, 255, 0.45);
  font-size: 1.55rem;
}

.settings-user-card .settings-avatar img {
  border-radius: 50%;
}

/* ---- temas e acessibilidade ---- */
:root[data-theme="black"] {
  --ink: #000;
  --ink-soft: #050505;
  --panel: rgba(0, 0, 0, 0.86);
  --panel-solid: #050505;
  --line-glow: rgba(0, 162, 255, 0.9);
  background: #000;
}

:root[data-theme="light"] {
  --ink: #f4f7fc;
  --ink-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --line: rgba(0, 111, 230, 0.35);
  --line-strong: rgba(0, 111, 230, 0.9);
  --pearl: #10233a;
  --muted: #52627a;
  --soft: #6b7a90;
  --violet: #5b47e0;
  color-scheme: light;
  background: var(--ink);
}

:root[data-theme="light"] body {
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(91, 71, 224, 0.04) 1px, transparent 1px),
    var(--ink);
  color: var(--pearl);
}

:root[data-theme="light"] .site-header::before,
:root[data-theme="light"] .site-header.is-scrolled::before,
:root[data-theme="light"] body.menu-open .site-header::before {
  background: rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .site-footer,
:root[data-theme="light"] .settings-sidebar,
:root[data-theme="light"] .about-panel,
:root[data-theme="light"] .settings-panel,
:root[data-theme="light"] .settings-team-card {
  background: rgba(255, 255, 255, 0.92);
}

:root[data-theme="light"] .about-stat,
:root[data-theme="light"] .about-focus-card,
:root[data-theme="light"] .capability-card,
:root[data-theme="light"] .contact-card {
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .settings-panel input,
:root[data-theme="light"] .settings-panel textarea,
:root[data-theme="light"] .settings-panel select,
:root[data-theme="light"] .settings-social-row input {
  background: #fff;
}

:root[data-theme="light"] .glitch-title,
:root[data-theme="light"] .hero-title,
:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] strong {
  color: var(--ink);
}

:root[data-theme="light"] .vx-ambient,
:root[data-theme="light"] body::before,
:root[data-theme="light"] body::after {
  display: none;
}

html[data-text="90"] body {
  font-size: 15px;
}

html[data-text="100"] body {
  font-size: 16px;
}

html[data-text="115"] body {
  font-size: 18px;
}

html[data-text="115"] h1 {
  font-size: 3.3em;
}

html[data-text="115"] h2 {
  font-size: 2em;
}

html[data-text="115"] h3 {
  font-size: 1.4em;
}

html[data-text="115"] .hero-title,
html[data-text="115"] .vx-title,
html[data-text="115"] .section-title {
  font-size: 3.5em;
}

:root[data-theme="light"] #vx-bug {
  --bug-accent: #0a7ef5;
}

:root[data-theme="light"] #vx-bug .vx-bug-head {
  fill: #e6f1ff;
  stroke: #0a7ef5;
  stroke-width: 2.2;
}

:root[data-theme="light"] #vx-bug .vx-bug-thorax {
  fill: #b8d9ff;
}

:root[data-theme="light"] #vx-bug .vx-bug-abdomen {
  fill: #d6ecff;
}

:root[data-theme="light"] #vx-bug .vx-bug-belly {
  fill: #3ca4f5;
  opacity: 0.9;
}

:root[data-theme="light"] #vx-bug .vx-bug-eye {
  fill: #ffffff;
}

:root[data-theme="light"] #vx-bug .vx-bug-pupil {
  fill: #03346c;
}

:root[data-theme="light"] #vx-bug .vx-bug-lip {
  stroke: #03346c;
}

:root[data-theme="light"] #vx-bug .vx-bug-brow {
  stroke: #03346c;
}

@media (prefers-reduced-motion: reduce) {
  #vx-bug .vx-bug-legs,
  #vx-bug .vx-bug-leg {
    animation: none;
  }

  #vx-bug .vx-bug-eyes,
  #vx-bug .vx-bug-body {
    transition: none;
  }
}

/* ---- preferências: swatches de tema, segmentos e blocos ---- */
.pref-block {
  display: grid;
  gap: 10px;
}

.pref-block h2 {
  margin: 0;
  color: var(--pearl);
  font-size: 1.02rem;
}

.pref-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.theme-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-swatch {
  display: grid;
  gap: 8px;
  width: 120px;
  cursor: pointer;
}

.theme-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-preview {
  position: relative;
  display: block;
  height: 64px;
  overflow: hidden;
  border: 2px solid rgba(0, 162, 255, 0.25);
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.theme-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(45deg, rgba(0, 111, 230, 0.28), rgba(159, 140, 255, 0.14));
}

.theme-preview::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 14px;
  border-radius: 6px;
  background: rgba(4, 13, 27, 0.55);
}

.theme-preview-current {
  background: #06101f;
}

.theme-preview-black {
  background: #000;
}

.theme-preview-light {
  background: #f4f7fc;
}

.theme-preview-light::before {
  background: linear-gradient(135deg, rgba(0, 111, 230, 0.08) 1px, transparent 1px);
}

.theme-preview-light::after {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.theme-swatch input:checked + .theme-preview {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.18);
}

.theme-swatch em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  text-align: center;
}

.theme-swatch input:checked ~ em {
  color: var(--neon);
  font-weight: 600;
}

.pref-seg {
  display: inline-flex;
  gap: 4px;
  border: 1px solid rgba(0, 162, 255, 0.22);
  border-radius: 999px;
  background: rgba(2, 6, 16, 0.7);
  padding: 4px;
}

.pref-seg label {
  display: inline-flex;
}

.pref-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pref-seg span {
  display: inline-block;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.pref-seg input:checked + span {
  background: var(--electric);
  color: #fff;
}

.settings-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.settings-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--electric);
}

/* ---- credenciais, sessões e rotas ---- */
.key-code {
  display: inline-block;
  border: 1px solid rgba(0, 162, 255, 0.3);
  border-radius: 6px;
  background: rgba(2, 6, 16, 0.7);
  color: var(--neon);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  padding: 1px 7px;
  letter-spacing: 0.4px;
}

.session-thumb {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  align-self: center;
  border-radius: 50%;
  background: rgba(0, 162, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.12);
}

.session-thumb.is-current {
  background: #3ce8ae;
  box-shadow: 0 0 0 4px rgba(60, 232, 174, 0.18);
}

.settings-badge.is-off {
  background: rgba(248, 76, 76, 0.12);
  color: #ff8080;
}

.settings-badge.is-warn {
  background: rgba(255, 193, 7, 0.13);
  color: #ffc400;
}

.settings-panel-header h2 {
  margin: 0;
}

.settings-panel-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.api-routes {
  display: grid;
  gap: 12px;
}

.api-routes-list {
  display: grid;
  gap: 10px;
}

.api-route-row {
  display: grid;
  gap: 6px;
}

.api-route-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
}

.api-route-label small {
  color: var(--muted);
  font-family: inherit;
  white-space: nowrap;
}

.api-route-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 162, 255, 0.12);
}

.api-route-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric), var(--neon));
}

/* ---- equipes ---- */
.settings-team-head {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid rgba(0, 162, 255, 0.16);
  padding-bottom: 14px;
}

.settings-team-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.45);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 111, 230, 0.5), rgba(159, 140, 255, 0.4));
  color: var(--pearl);
  font-size: 1.3rem;
  font-weight: 700;
}

.settings-team-avatar.is-sm {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.95rem;
}

.settings-team-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.settings-team-meta > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--pearl);
}

.settings-team-meta > span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.settings-team-head > button {
  justify-self: end;
}

@media (max-width: 620px) {
  .avatar-upload-zone {
    grid-template-columns: 1fr;
  }

  .theme-swatch {
    width: 100%;
  }
}

/* ============================================================
   ROUND THEMES-2: check-up completo dos temas light e black.
   Light vira vidro claro de verdade (painéis brancos, textos
   escuros). Black vira preto puro com acentos azuis neon.
   Tudo em overrides no fim do arquivo; default intacto.
   ============================================================ */

/* ============================ LIGHT ============================ */

/* ---- global: scrollbar, selection, placeholder e focus claros ---- */
html[data-theme="light"],
html[data-theme="light"] * {
  scrollbar-color: rgba(0, 111, 230, 0.55) rgba(226, 234, 246, 0.9);
}

html[data-theme="light"] ::selection {
  background: rgba(0, 162, 255, 0.3);
  color: #0b1220;
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(0, 111, 230, 0.06), #e6ecf5);
  border-left-color: rgba(0, 111, 230, 0.12);
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
  border-color: #eef3fa;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #93a1b6;
}

html[data-theme="light"] a:focus-visible,
html[data-theme="light"] button:focus-visible,
html[data-theme="light"] input:focus-visible,
html[data-theme="light"] textarea:focus-visible,
html[data-theme="light"] select:focus-visible {
  outline: 2px solid rgba(0, 111, 230, 0.8);
  outline-offset: 2px;
}

/* gradiente do body mais suave pra não gritar sobre o branco */
html[data-theme="light"] body {
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(91, 71, 224, 0.03) 1px, transparent 1px),
    #f4f7fc;
  background-size: 96px 96px, 96px 96px, auto;
}

html[data-theme="light"] .inner-page::before {
  opacity: 0.6;
}

/* ---- header/nav: vidro branco, texto escuro, chips traduzidos ---- */
html[data-theme="light"] .site-header::before {
  border-color: rgba(0, 111, 230, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.86));
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .site-header.is-scrolled::before,
html[data-theme="light"] body.menu-open .site-header::before {
  border-color: rgba(0, 111, 230, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .brand-link {
  border-color: rgba(0, 111, 230, 0.24);
  background: rgba(0, 111, 230, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .site-nav,
html[data-theme="light"] .site-header.is-scrolled .site-nav {
  color: #2a3850;
}

html[data-theme="light"] .site-nav a {
  color: #233148;
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a:focus-visible,
html[data-theme="light"] .site-nav a.is-active {
  color: #0b1220;
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a:focus-visible {
  background: rgba(0, 111, 230, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 111, 230, 0.18);
}

html[data-theme="light"] .site-nav a.is-active {
  background: rgba(0, 111, 230, 0.15);
  box-shadow: inset 0 0 0 1px rgba(0, 111, 230, 0.3);
  color: #0b1220;
}

html[data-theme="light"] .menu-button {
  border-color: rgba(0, 111, 230, 0.3);
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .mobile-menu {
  background: rgba(250, 252, 255, 0.98);
}

html[data-theme="light"] .mobile-menu a,
html[data-theme="light"] .mobile-menu button {
  border-bottom-color: rgba(0, 111, 230, 0.16);
}

html[data-theme="light"] .account-menu-panel,
html[data-theme="light"] .notification-panel,
html[data-theme="light"] .language-menu-panel {
  border-color: rgba(0, 111, 230, 0.24);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .account-menu-panel a,
html[data-theme="light"] .account-menu-panel button,
html[data-theme="light"] .language-menu-panel a {
  color: #233148;
}

html[data-theme="light"] .account-menu-panel a:hover,
html[data-theme="light"] .account-menu-panel a:focus-visible,
html[data-theme="light"] .account-menu-panel button:hover,
html[data-theme="light"] .account-menu-panel button:focus-visible,
html[data-theme="light"] .language-menu-panel a:hover,
html[data-theme="light"] .language-menu-panel a:focus-visible,
html[data-theme="light"] .language-menu-panel a.is-selected {
  background: rgba(0, 111, 230, 0.1);
  color: #0b1220;
}

html[data-theme="light"] .account-menu-panel .account-logout,
html[data-theme="light"] .mobile-menu .mobile-logout-link {
  color: #c22f52;
}

html[data-theme="light"] .account-menu-panel .account-logout:hover,
html[data-theme="light"] .account-menu-panel .account-logout:focus-visible {
  background: rgba(212, 58, 92, 0.1);
  color: #8f1f3d;
}

html[data-theme="light"] .notification-button {
  border-color: rgba(0, 111, 230, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .notification-button small {
  color: #fff;
}

html[data-theme="light"] .notification-panel-head {
  border-bottom-color: rgba(0, 111, 230, 0.14);
}

html[data-theme="light"] .notification-item {
  border-color: rgba(0, 111, 230, 0.14);
  background: rgba(0, 111, 230, 0.05);
}

/* ---- página: footer e rodapé claros ---- */
html[data-theme="light"] .site-footer {
  border-top-color: rgba(0, 111, 230, 0.14);
  background: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .site-footer a,
html[data-theme="light"] .site-footer button {
  color: #006fe6;
}

html[data-theme="light"] .site-footer a:hover,
html[data-theme="light"] .site-footer a:focus-visible,
html[data-theme="light"] .site-footer button:hover,
html[data-theme="light"] .site-footer button:focus-visible {
  color: #0b1220;
}

html[data-theme="light"] .cookie-consent {
  border-color: rgba(0, 111, 230, 0.24);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.14);
}

html[data-theme="light"] .cookie-consent__preferences {
  border-top-color: rgba(0, 111, 230, 0.14);
}

html[data-theme="light"] .connection-popup__card {
  background:
    radial-gradient(circle at top right, rgba(0, 111, 230, 0.08), transparent 42%),
    #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  color: #0b1220;
}

html[data-theme="light"] .connection-popup__card h2 {
  color: #0b1220;
}

html[data-theme="light"] .connection-popup__card p {
  color: #4d5b72;
}

html[data-theme="light"] .connection-popup__status {
  border-color: rgba(0, 111, 230, 0.16);
  background: rgba(0, 111, 230, 0.07);
  color: #3a4a63;
}

html[data-theme="light"] .connection-popup__backdrop {
  background: rgba(15, 23, 42, 0.45);
}

/* ---- títulos: sai o gradiente-clip no light, entra cor sólida escura ---- */
html[data-theme="light"] .vx-title,
html[data-theme="light"] .vx-title.is-typed,
html[data-theme="light"] main h1:not(.vx-title),
html[data-theme="light"] .glitch-title,
html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .vx-section-title,
html[data-theme="light"] .vx-cover__title,
html[data-theme="light"] .premium-hero-copy h1 {
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #0b1220;
  -webkit-text-fill-color: #0b1220;
  text-shadow: none;
}

html[data-theme="light"] main h2:not(.vx-subtitle),
html[data-theme="light"] main .eyebrow {
  text-shadow: none;
}

html[data-theme="light"] .vx-subtitle {
  color: #33415c;
}

html[data-theme="light"] .vx-metric strong {
  color: #0b1220;
}

/* ---- home: hero com canvas escuro é intencional; superfícies claras ---- */
html[data-theme="light"] .vx-hero::after {
  background: linear-gradient(to top, #f4f7fc 10%, transparent);
}

html[data-theme="light"] .vx-marquee {
  border-top-color: rgba(0, 111, 230, 0.14);
  border-bottom-color: rgba(0, 111, 230, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

html[data-theme="light"] .vx-marquee span {
  color: #253349;
}

html[data-theme="light"] .vx-showcard {
  border-color: rgba(0, 111, 230, 0.22);
  background:
    radial-gradient(130% 100% at 10% 0%, rgba(0, 111, 230, 0.06), transparent 55%),
    linear-gradient(160deg, #ffffff, rgba(248, 251, 255, 0.92));
}

html[data-theme="light"] .vx-showcard:hover,
html[data-theme="light"] .vx-showcard:focus-visible {
  border-color: rgba(0, 111, 230, 0.5);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.12),
    0 0 30px rgba(0, 111, 230, 0.12);
}

html[data-theme="light"] .vx-showcard__tags em {
  border-color: rgba(0, 111, 230, 0.22);
  background: rgba(0, 111, 230, 0.07);
  color: #165ca8;
}

html[data-theme="light"] .vx-showcard__go:hover,
html[data-theme="light"] .vx-showcard:focus-visible .vx-showcard__go {
  color: #006fe6;
}

html[data-theme="light"] .vx-cover {
  border-color: rgba(0, 111, 230, 0.22);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(0, 111, 230, 0.08), transparent 55%),
    linear-gradient(160deg, #ffffff, #f3f7fd);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.14);
}

html[data-theme="light"] .vx-cover__tag {
  color: #006fe6;
}

html[data-theme="light"] .vx-cover__text {
  color: #52627a;
}

html[data-theme="light"] .vx-cover__num {
  color: rgba(0, 111, 230, 0.22);
}

html[data-theme="light"] .hero-actions .secondary-action,
html[data-theme="light"] .secondary-action {
  border-color: rgba(0, 111, 230, 0.34);
  background: rgba(0, 111, 230, 0.06);
  color: #0b1220;
}

html[data-theme="light"] .disabled-action {
  border-color: rgba(159, 140, 255, 0.2);
  color: #8a97ab;
}

/* ---- about/experience/contact: painéis e cards brancos ---- */
html[data-theme="light"] .about-panel,
html[data-theme="light"] .about-signature,
html[data-theme="light"] .timeline-item,
html[data-theme="light"] .preview-card,
html[data-theme="light"] .project-card,
html[data-theme="light"] .skills-panel,
html[data-theme="light"] .method-band,
html[data-theme="light"] .focus-card,
html[data-theme="light"] .terminal-panel,
html[data-theme="light"] .contact-form,
html[data-theme="light"] .contact-details,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .xp-area,
html[data-theme="light"] .xp-lang,
html[data-theme="light"] .xp-method,
html[data-theme="light"] .exp-highlight {
  border-color: rgba(0, 111, 230, 0.2);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9));
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .about-panel:hover,
html[data-theme="light"] .about-signature:hover,
html[data-theme="light"] .timeline-item:hover,
html[data-theme="light"] .preview-card:hover,
html[data-theme="light"] .preview-card:focus-visible,
html[data-theme="light"] .xp-area:hover,
html[data-theme="light"] .xp-lang:hover,
html[data-theme="light"] .xp-method:hover,
html[data-theme="light"] .exp-highlight:hover,
html[data-theme="light"] .contact-form:hover,
html[data-theme="light"] .contact-form:focus-within,
html[data-theme="light"] .contact-details:hover,
html[data-theme="light"] .skills-panel:hover,
html[data-theme="light"] .skills-panel:focus-within,
html[data-theme="light"] .method-band:hover,
html[data-theme="light"] .method-band:focus-within {
  border-color: rgba(0, 111, 230, 0.4);
  background: #ffffff;
}

html[data-theme="light"] .about-signature pre {
  color: #33415c;
}

html[data-theme="light"] .about-signature pre::first-line {
  color: #0b1220;
}

html[data-theme="light"] .xp-item__period {
  border-color: rgba(0, 111, 230, 0.3);
  background: rgba(0, 111, 230, 0.08);
  color: #0b5cad;
}

html[data-theme="light"] .xp-skill {
  border-color: rgba(0, 111, 230, 0.26);
  background: rgba(0, 111, 230, 0.07);
  color: #1f2a3d;
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .login-panel input,
html[data-theme="light"] .auth-form input {
  border-color: rgba(0, 111, 230, 0.24);
  background: #ffffff;
  color: #0b1220;
}

html[data-theme="light"] .form-status {
  color: #0d8a62;
}

html[data-theme="light"] .form-status.is-error {
  color: #c22f52;
}

/* ---- auth/premium/error: superfícies também claras ---- */
html[data-theme="light"] .auth-body,
html[data-theme="light"] .error-shell {
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159, 140, 255, 0.03) 1px, transparent 1px),
    #f4f7fc;
  background-size: 96px 96px;
}

html[data-theme="light"] .auth-panel,
html[data-theme="light"] .error-card,
html[data-theme="light"] .error-logo,
html[data-theme="light"] .auth-logo,
html[data-theme="light"] .premium-plan-card,
html[data-theme="light"] .premium-status-panel,
html[data-theme="light"] .premium-stats div,
html[data-theme="light"] .login-panel {
  border-color: rgba(0, 111, 230, 0.24);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .premium-feature-card {
  border-color: rgba(0, 111, 230, 0.2);
  background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .premium-included {
  border-top-color: rgba(0, 111, 230, 0.14);
  border-bottom-color: rgba(0, 111, 230, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] .error-hint {
  color: #6b7a90 !important;
}

html[data-theme="light"] .error-details {
  border-color: rgba(212, 58, 92, 0.28);
  background: rgba(212, 58, 92, 0.06);
  color: #b0314e;
}

html[data-theme="light"] .auth-form small,
html[data-theme="light"] .settings-panel small {
  color: #8a97ab;
}

/* ---- settings: painéis brancos, ações e badges adaptados ---- */
html[data-theme="light"] .settings-sidebar {
  border-color: rgba(0, 111, 230, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 14px 40px -22px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html[data-theme="light"] .settings-side-nav a:hover,
html[data-theme="light"] .settings-side-nav a:focus-visible,
html[data-theme="light"] .settings-side-nav a.is-active {
  color: #0b1220;
}

html[data-theme="light"] .settings-side-nav a.is-active {
  background: rgba(0, 111, 230, 0.14);
  box-shadow: inset 0 0 0 1px rgba(0, 111, 230, 0.24);
}

html[data-theme="light"] .settings-panel,
html[data-theme="light"] .api-usage-panel {
  border-color: rgba(0, 111, 230, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow:
    0 10px 30px -18px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html[data-theme="light"] .settings-panel h2,
html[data-theme="light"] .settings-panel-header h2,
html[data-theme="light"] .billing-plan-card h2 {
  color: #0b1220;
}

html[data-theme="light"] .settings-panel label {
  color: #52627a;
}

html[data-theme="light"] .settings-panel input[type="text"],
html[data-theme="light"] .settings-panel input[type="email"],
html[data-theme="light"] .settings-panel input[type="password"],
html[data-theme="light"] .settings-panel input[type="url"],
html[data-theme="light"] .settings-panel input[type="file"],
html[data-theme="light"] .settings-panel select,
html[data-theme="light"] .settings-panel textarea,
html[data-theme="light"] .settings-social-row input {
  border-color: rgba(0, 111, 230, 0.22);
  background: #ffffff;
  color: #0b1220;
}

html[data-theme="light"] .settings-check {
  border-color: rgba(0, 111, 230, 0.18);
  background: rgba(0, 111, 230, 0.05);
}

html[data-theme="light"] .settings-badge {
  border-color: rgba(0, 111, 230, 0.26);
  background: rgba(0, 111, 230, 0.07);
  color: #0b5cad;
}

html[data-theme="light"] .settings-badge.is-on {
  border-color: rgba(0, 111, 230, 0.4);
  background: rgba(0, 111, 230, 0.16);
  color: #0b5cad;
  box-shadow: 0 0 10px rgba(0, 111, 230, 0.18);
}

html[data-theme="light"] .settings-badge.is-off {
  background: rgba(212, 58, 92, 0.1);
  color: #c22f52;
}

html[data-theme="light"] .settings-badge.is-warn {
  background: rgba(255, 193, 7, 0.16);
  color: #8a5b00;
}

html[data-theme="light"] .settings-social-row button,
html[data-theme="light"] .settings-list-item button,
html[data-theme="light"] .settings-team-head button,
html[data-theme="light"] .settings-team-member button {
  border-color: rgba(212, 58, 92, 0.26);
  background: rgba(212, 58, 92, 0.07);
  color: #c22f52;
}

html[data-theme="light"] .settings-social-row button:hover,
html[data-theme="light"] .settings-list-item button:hover,
html[data-theme="light"] .settings-team-head button:hover,
html[data-theme="light"] .settings-team-member button:hover {
  background: rgba(212, 58, 92, 0.14);
  border-color: rgba(212, 58, 92, 0.4);
}

html[data-theme="light"] .settings-danger-zone h2 {
  color: #a72a49;
}

html[data-theme="light"] .settings-danger-zone .secondary-action[type="submit"] {
  border-color: rgba(212, 58, 92, 0.3);
  background: rgba(212, 58, 92, 0.08);
  color: #c22f52;
}

html[data-theme="light"] .settings-created-key {
  border-color: rgba(0, 111, 230, 0.3);
  background: rgba(0, 111, 230, 0.1);
  color: #0b5cad;
}

html[data-theme="light"] .settings-list-item {
  border-color: rgba(0, 111, 230, 0.16);
  background: rgba(0, 111, 230, 0.045);
}

html[data-theme="light"] .settings-team-card {
  border-color: rgba(0, 111, 230, 0.16);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] .settings-team-member {
  border-color: rgba(0, 111, 230, 0.14);
}

html[data-theme="light"] .settings-table td {
  border-top-color: rgba(0, 111, 230, 0.14);
}

html[data-theme="light"] .settings-table a,
html[data-theme="light"] .billing-plan-card p,
html[data-theme="light"] .totp-setup code {
  color: #006fe6;
}

html[data-theme="light"] .billing-plan-card {
  border-color: rgba(0, 111, 230, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 111, 230, 0.08), rgba(0, 162, 255, 0.03) 48%, transparent 78%),
    rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 44px -28px rgba(0, 111, 230, 0.35);
}

html[data-theme="light"] .billing-current-plan {
  background: rgba(0, 111, 230, 0.06);
}

html[data-theme="light"] .billing-current-plan strong,
html[data-theme="light"] .billing-price strong {
  color: #0b1220;
}

html[data-theme="light"] .billing-feature-list li {
  color: #33415c;
}

html[data-theme="light"] .api-usage-card {
  border-color: rgba(0, 111, 230, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.14);
}

html[data-theme="light"] .api-usage-card strong {
  color: #0b1220;
}

html[data-theme="light"] .pref-seg {
  border-color: rgba(0, 111, 230, 0.2);
  background: #eaf1fb;
}

html[data-theme="light"] .key-code {
  border-color: rgba(0, 111, 230, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: #006fe6;
}

html[data-theme="light"] .avatar-upload-zone {
  border-color: rgba(0, 111, 230, 0.18);
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .avatar-edit-badge {
  border-color: #ffffff;
}

html[data-theme="light"] .settings-avatar,
html[data-theme="light"] .settings-user-card .settings-avatar {
  color: #1f2a3d;
}

html[data-theme="light"] .settings-avatar {
  border-color: rgba(0, 111, 230, 0.34);
  background:
    linear-gradient(145deg, rgba(0, 111, 230, 0.22), rgba(0, 162, 255, 0.08));
  box-shadow: 0 0 0 3px rgba(0, 111, 230, 0.08);
}

html[data-theme="light"] .user-nav-link {
  background: rgba(0, 111, 230, 0.08);
}

html[data-theme="light"] .theme-swatch em {
  color: #52627a;
}

/* ---- geral: debug/bug/reader --- */
html[data-theme="light"] mark,
html[data-theme="light"] .dev-highlight mark {
  background: rgba(13, 138, 98, 0.18);
  color: #0b1220;
}

html[data-theme="light"] .glitch-text {
  color: #0b1220;
}

html[data-theme="light"] #vx-reader-fab {
  --reader-color: rgba(0, 111, 230, 0.3);
  border-color: rgba(0, 111, 230, 0.4);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px -8px rgba(0, 111, 230, 0.35);
}

html[data-theme="light"] #vx-reader-fab:hover,
html[data-theme="light"] #vx-reader-fab:focus-visible {
  border-color: #006fe6;
  background: rgba(0, 111, 230, 0.12);
}

html[data-theme="light"] #vx-reader-fab.is-speaking {
  background: rgba(13, 138, 98, 0.12);
  color: #0d8a62;
}

/* ============================ BLACK ============================ */

/* corpo preto de verdade, com as linhas quase apagadas */
html[data-theme="black"] body {
  background:
    linear-gradient(90deg, rgba(0, 111, 230, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(159, 140, 255, 0.02) 1px, transparent 1px),
    #000;
  background-size: 96px 96px, 96px 96px, auto;
}

html[data-theme="black"] .vx-hero::after {
  background: linear-gradient(to top, #000 10%, transparent);
}

html[data-theme="black"] .vx-hero__aurora {
  background:
    radial-gradient(36% 32% at 64% 32%, rgba(0, 111, 230, 0.14), transparent 70%),
    radial-gradient(30% 28% at 28% 68%, rgba(0, 162, 255, 0.06), transparent 70%),
    radial-gradient(32% 30% at 82% 78%, rgba(18, 64, 122, 0.1), transparent 70%);
}

/* ---- header: vidro preto ---- */
html[data-theme="black"] .site-header::before {
  border-color: rgba(0, 162, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(5, 5, 5, 0.78));
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="black"] .site-header.is-scrolled::before,
html[data-theme="black"] body.menu-open .site-header::before {
  border-color: rgba(0, 162, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.96), rgba(5, 5, 5, 0.94));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(0, 162, 255, 0.06);
}

html[data-theme="black"] .brand-link {
  border-color: rgba(0, 162, 255, 0.22);
  background: rgba(0, 111, 230, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="black"] .menu-button {
  border-color: rgba(0, 162, 255, 0.32);
  background: rgba(0, 0, 0, 0.8);
}

html[data-theme="black"] .mobile-menu {
  background: rgba(0, 0, 0, 0.98);
}

html[data-theme="black"] .account-menu-panel,
html[data-theme="black"] .notification-panel,
html[data-theme="black"] .language-menu-panel {
  border-color: rgba(0, 162, 255, 0.24);
  background: #000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

html[data-theme="black"] .notification-button {
  border-color: rgba(0, 162, 255, 0.3);
  background: rgba(0, 0, 0, 0.85);
}

html[data-theme="black"] .notification-item {
  border-color: rgba(0, 162, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

/* ---- página: footer/modal preto ---- */
html[data-theme="black"] .site-footer {
  border-top-color: rgba(0, 162, 255, 0.12);
  background: rgba(0, 0, 0, 0.7);
}

html[data-theme="black"] .cookie-consent {
  border-color: rgba(0, 162, 255, 0.3);
  background: #000;
}

html[data-theme="black"] .connection-popup__card {
  background:
    radial-gradient(circle at top right, rgba(0, 111, 230, 0.08), transparent 42%),
    #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

/* ---- home: superficies pretas ---- */
html[data-theme="black"] .vx-marquee {
  border-top-color: rgba(0, 162, 255, 0.14);
  border-bottom-color: rgba(0, 162, 255, 0.14);
  background: rgba(0, 0, 0, 0.6);
}

html[data-theme="black"] .vx-showcard {
  border-color: rgba(0, 162, 255, 0.24);
  background:
    radial-gradient(130% 100% at 10% 0%, rgba(0, 111, 230, 0.1), transparent 55%),
    linear-gradient(160deg, rgba(0, 0, 0, 0.95), rgba(5, 5, 5, 0.6));
}

html[data-theme="black"] .vx-showcard:hover,
html[data-theme="black"] .vx-showcard:focus-visible {
  border-color: rgba(0, 162, 255, 0.5);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 111, 230, 0.22);
}

html[data-theme="black"] .vx-cover {
  border-color: rgba(0, 162, 255, 0.26);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(0, 111, 230, 0.12), transparent 55%),
    linear-gradient(160deg, #050505, #000);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

html[data-theme="black"] .vx-cover:nth-child(n) {
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(0, 111, 230, 0.12), transparent 55%),
    linear-gradient(160deg, #050505, #000);
}

/* ---- about/experience/contact: painéis pretos com hairline azul ---- */
html[data-theme="black"] .about-panel,
html[data-theme="black"] .about-signature,
html[data-theme="black"] .timeline-item,
html[data-theme="black"] .preview-card,
html[data-theme="black"] .project-card,
html[data-theme="black"] .skills-panel,
html[data-theme="black"] .method-band,
html[data-theme="black"] .focus-card,
html[data-theme="black"] .terminal-panel,
html[data-theme="black"] .contact-form,
html[data-theme="black"] .contact-details,
html[data-theme="black"] .contact-card,
html[data-theme="black"] .xp-area,
html[data-theme="black"] .xp-lang,
html[data-theme="black"] .xp-method,
html[data-theme="black"] .exp-highlight {
  border-color: rgba(0, 162, 255, 0.22);
  background:
    linear-gradient(160deg, #0a0c10, rgba(5, 5, 5, 0.92));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

html[data-theme="black"] .about-panel:hover,
html[data-theme="black"] .about-signature:hover,
html[data-theme="black"] .preview-card:hover,
html[data-theme="black"] .preview-card:focus-visible,
html[data-theme="black"] .xp-area:hover,
html[data-theme="black"] .xp-lang:hover,
html[data-theme="black"] .xp-method:hover,
html[data-theme="black"] .exp-highlight:hover,
html[data-theme="black"] .contact-form:hover,
html[data-theme="black"] .contact-form:focus-within,
html[data-theme="black"] .contact-details:hover,
html[data-theme="black"] .skills-panel:hover,
html[data-theme="black"] .skills-panel:focus-within,
html[data-theme="black"] .method-band:hover,
html[data-theme="black"] .method-band:focus-within {
  border-color: rgba(0, 162, 255, 0.42);
  background: #0a0c10;
}

html[data-theme="black"] .exp-highlight {
  border-left-color: rgba(0, 162, 255, 0.55);
}

/* ---- auth/premium/error: superfícies pretas ---- */
html[data-theme="black"] .auth-panel,
html[data-theme="black"] .error-card,
html[data-theme="black"] .error-logo,
html[data-theme="black"] .auth-logo,
html[data-theme="black"] .premium-plan-card,
html[data-theme="black"] .premium-status-panel,
html[data-theme="black"] .premium-stats div,
html[data-theme="black"] .login-panel {
  border-color: rgba(0, 162, 255, 0.24);
  background: #050505;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}

html[data-theme="black"] .premium-feature-card {
  border-color: rgba(0, 162, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

html[data-theme="black"] .premium-included {
  border-top-color: rgba(0, 162, 255, 0.14);
  border-bottom-color: rgba(0, 162, 255, 0.14);
  background: rgba(0, 0, 0, 0.55);
}

html[data-theme="black"] .error-details {
  color: #ffb0bf;
}

html[data-theme="black"] .contact-form input,
html[data-theme="black"] .contact-form textarea,
html[data-theme="black"] .login-panel input,
html[data-theme="black"] .auth-form input {
  border-color: rgba(0, 162, 255, 0.22);
  background: #050505;
  color: var(--pearl);
}

/* ---- settings: tudo preto, hairlines fracas ---- */
html[data-theme="black"] .settings-sidebar {
  border-color: rgba(0, 162, 255, 0.18);
  background: #050505;
  box-shadow:
    0 18px 44px -26px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="black"] .settings-side-nav a.is-active {
  background: rgba(0, 111, 230, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 162, 255, 0.28);
}

html[data-theme="black"] .settings-panel,
html[data-theme="black"] .api-usage-panel {
  border-color: rgba(0, 162, 255, 0.16);
  background:
    linear-gradient(160deg, #0a0c10, rgba(5, 5, 5, 0.94));
  box-shadow:
    0 14px 40px -26px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="black"] .settings-panel h2,
html[data-theme="black"] .settings-panel-header h2,
html[data-theme="black"] .billing-plan-card h2 {
  color: #eaf1ff;
}

html[data-theme="black"] .settings-panel input[type="text"],
html[data-theme="black"] .settings-panel input[type="email"],
html[data-theme="black"] .settings-panel input[type="password"],
html[data-theme="black"] .settings-panel input[type="url"],
html[data-theme="black"] .settings-panel input[type="file"],
html[data-theme="black"] .settings-panel select,
html[data-theme="black"] .settings-panel textarea,
html[data-theme="black"] .settings-social-row input {
  border-color: rgba(0, 162, 255, 0.2);
  background: #050505;
  color: var(--pearl);
}

html[data-theme="black"] .settings-check {
  border-color: rgba(0, 162, 255, 0.16);
  background: rgba(0, 162, 255, 0.04);
}

html[data-theme="black"] .settings-badge {
  border-color: rgba(0, 162, 255, 0.28);
  background: rgba(0, 162, 255, 0.07);
  color: #9fd0ff;
}

html[data-theme="black"] .settings-badge.is-on {
  border-color: rgba(0, 162, 255, 0.4);
  background: rgba(0, 111, 230, 0.2);
  color: #bfe0ff;
  box-shadow: 0 0 12px rgba(0, 162, 255, 0.25);
}

html[data-theme="black"] .settings-badge.is-off {
  background: rgba(248, 76, 76, 0.14);
  color: #ff8080;
}

html[data-theme="black"] .settings-badge.is-warn {
  background: rgba(255, 193, 7, 0.16);
  color: #ffd166;
}

html[data-theme="black"] .settings-list-item {
  border-color: rgba(0, 162, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="black"] .settings-team-card {
  border-color: rgba(0, 162, 255, 0.16);
  background: #0a0c10;
}

html[data-theme="black"] .settings-created-key {
  border-color: rgba(0, 162, 255, 0.3);
  background: rgba(0, 111, 230, 0.16);
  color: #9fd0ff;
}

html[data-theme="black"] .settings-danger-zone h2 {
  color: #ffb0bf;
}

html[data-theme="black"] .api-usage-card {
  border-color: rgba(0, 162, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015) 40%),
    #0a0c10;
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.6);
}

html[data-theme="black"] .api-usage-card strong {
  color: #dcedff;
}

html[data-theme="black"] .billing-plan-card {
  border-color: rgba(0, 162, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 162, 255, 0.14), rgba(0, 111, 230, 0.05) 48%, transparent 78%),
    #050505;
  box-shadow: 0 22px 54px -28px rgba(0, 111, 230, 0.4);
}

html[data-theme="black"] .billing-current-plan {
  background: rgba(0, 162, 255, 0.07);
}

html[data-theme="black"] .billing-current-plan strong,
html[data-theme="black"] .billing-price strong {
  color: #dcedff;
}

html[data-theme="black"] .billing-feature-list li {
  color: rgba(226, 237, 255, 0.88);
}

html[data-theme="black"] .pref-seg {
  border-color: rgba(0, 162, 255, 0.22);
  background: #050505;
}

html[data-theme="black"] .key-code {
  border-color: rgba(0, 162, 255, 0.3);
  background: #050505;
  color: #00a2ff;
}

html[data-theme="black"] .avatar-upload-zone {
  border-color: rgba(0, 162, 255, 0.18);
  background: rgba(0, 0, 0, 0.6);
}

html[data-theme="black"] .avatar-edit-badge {
  border-color: #000;
}

html[data-theme="black"] .form-status {
  color: #3ce8ae;
}

html[data-theme="black"] .form-status.is-error {
  color: #ff8fa3;
}

html[data-theme="black"] mark,
html[data-theme="black"] .dev-highlight mark {
  background: rgba(64, 240, 180, 0.2);
  color: var(--pearl);
}

html[data-theme="black"] #vx-reader-fab {
  border-color: rgba(0, 162, 255, 0.34);
  background: rgba(0, 0, 0, 0.92);
}

/* ============================================================
   ROUND BUG-2: bichinho 3D vivo — pernas em tripé, idle com vida,
   velocidade real do mouse (anda/corre), sombra no chão, poeira,
   susto (eek), pálpebras e temas. Vence o ROUND BUG-1 por vir depois.
   ============================================================ */

/* cores da carapaça (padrão: tema escuro/cyber) */
#vx-bug {
  --bug-c1: #9ff4cd;
  --bug-c2: #178a57;
  --bug-c3: #07351f;
  --bug-c4: #8af0c2;
  --bug-c5: #18593a;
  --bug-c6: #062a1c;
  --bug-eye: #eef9f3;
  --bug-pupil: #01231a;
  --bug-lid: #07351f;
  --bug-brow: #041c13;
  --bug-line: rgba(255, 255, 255, 0.16);
  --bug-spark: rgba(255, 255, 255, 0.55);
  width: 46px;
  height: 46px;
  transition: opacity 0.5s ease;
}

/* paradas de gradiente (SVG via CSS, para os temas trocarem a cor) */
#vx-bug .vx-bg-s1 { stop-color: var(--bug-c1); }
#vx-bug .vx-bg-s2 { stop-color: var(--bug-c2); }
#vx-bug .vx-bg-s3 { stop-color: var(--bug-c3); }
#vx-bug .vx-bg-h1 { stop-color: var(--bug-c4); }
#vx-bug .vx-bg-h2 { stop-color: var(--bug-c5); }
#vx-bug .vx-bg-h3 { stop-color: var(--bug-c6); }

/* contornos sutis nos segmentos + brilho especular da luz (cima-direita) */
#vx-bug .vx-bug-head {
  fill: url(#vx-bug-head);
}
#vx-bug .vx-bug-thorax,
#vx-bug .vx-bug-abdomen {
  fill: url(#vx-bug-shell);
}
#vx-bug .vx-bug-head,
#vx-bug .vx-bug-thorax,
#vx-bug .vx-bug-abdomen {
  stroke: rgba(64, 240, 180, 0.22);
  stroke-width: 1;
}
#vx-bug .vx-bug-line {
  stroke: var(--bug-line);
  stroke-width: 1.3;
}
#vx-bug .vx-bug-spec {
  stroke: var(--bug-spark);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.8;
}

/* sombra no chão: NÃO acompanha o bounce do corpo (profundidade) */
#vx-bug .vx-bug-shadow {
  filter: blur(2.5px);
  opacity: 0.42;
}
#vx-bug:not(.is-idle) .vx-bug-shadow {
  animation: vx-bug-sh2 var(--bug-step, 540ms) ease-in-out infinite alternate;
}

/* --- pernas: 2 tripés em contra-fase --- */
#vx-bug .vx-bug-leg {
  stroke: var(--bug-accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
  transform-box: fill-box;
  transition: rotate 0.42s ease;
}
#vx-bug .vx-bug-leg.is-l1,
#vx-bug .vx-bug-leg.is-l2,
#vx-bug .vx-bug-leg.is-l3 {
  transform-origin: 100% 100%;
}
#vx-bug .vx-bug-leg.is-r1,
#vx-bug .vx-bug-leg.is-r2,
#vx-bug .vx-bug-leg.is-r3 {
  transform-origin: 0% 100%;
}
#vx-bug:not(.is-idle) .vx-bug-leg {
  animation: vx-bug-step var(--bug-step, 540ms) ease-in-out infinite;
}
#vx-bug:not(.is-idle) .vx-bug-legs-front .vx-bug-leg {
  animation-delay: calc(var(--bug-step, 540ms) * -0.5);
}
@keyframes vx-bug-step {
  0% { rotate: calc(var(--bug-amp, 8) * -1deg); }
  26% { rotate: calc(var(--bug-amp, 8) * 1deg); }
  74% { rotate: calc(var(--bug-amp, 8) * 1deg); }
  100% { rotate: calc(var(--bug-amp, 8) * -1deg); }
}
@keyframes vx-bug-sh2 {
  0% { transform: scale(1); opacity: 0.42; }
  100% {
    transform: scale(calc(1 - var(--bug-bounce, 1.6) * 0.045));
    opacity: calc(0.42 - var(--bug-bounce, 1.6) * 0.05);
  }
}

/* --- corpo: bounce por passada (andando) / respiração (idle) --- */
#vx-bug:not(.is-idle) .vx-bug-body {
  animation: vx-bug-bob2 var(--bug-step, 540ms) ease-in-out infinite alternate;
}
#vx-bug.is-idle .vx-bug-body {
  animation: vx-bug-breathe 2.4s ease-in-out infinite alternate;
}
@keyframes vx-bug-bob2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(var(--bug-bounce, 1.6) * -1px)); }
}
@keyframes vx-bug-breathe {
  0% { transform: translateY(0) scale(1, 1); }
  100% { transform: translateY(-1px) scale(1.02, 0.97); }
}

/* --- antenas: balanço no idle, "recolhidas" vibrando ao andar --- */
#vx-bug .vx-bug-ant {
  transform-box: fill-box;
  animation: vx-bug-ant-idle 2.6s ease-in-out infinite alternate;
}
#vx-bug .vx-bug-ant.is-left { transform-origin: 100% 100%; }
#vx-bug .vx-bug-ant.is-right { transform-origin: 0% 100%; }
#vx-bug .vx-bug-ant.is-right { animation-delay: -1.3s; }
#vx-bug:not(.is-idle) .vx-bug-ant {
  animation-name: vx-bug-ant-run;
  animation-duration: var(--bug-step, 540ms);
  animation-delay: 0s;
}
@keyframes vx-bug-ant-idle {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(7deg); }
}
@keyframes vx-bug-ant-run {
  0% { transform: rotate(-13deg); }
  100% { transform: rotate(-6deg); }
}
#vx-bug .vx-bug-antenna {
  animation: none;
}
#vx-bug .vx-bug-antenna-tip {
  fill: var(--bug-accent);
}

/* --- olhos: brilho, pupilas que seguem o cursor e pálpebras --- */
#vx-bug .vx-bug-eye {
  fill: var(--bug-eye);
}
#vx-bug .vx-bug-pupil {
  fill: var(--bug-pupil);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.18s ease;
}
#vx-bug .vx-bug-glint {
  fill: #ffffff;
}
#vx-bug .vx-bug-lid {
  fill: var(--bug-lid);
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(-78%);
  animation: vx-bug-blink 3.8s ease-in-out infinite;
  transition: transform 0.18s ease;
}
#vx-bug .vx-bug-eye-wrap.is-right .vx-bug-lid {
  animation-delay: 0.35s;
}
@keyframes vx-bug-blink {
  0%, 91%, 100% { transform: translateY(-78%); }
  93.5% { transform: translateY(0); }
  96.5% { transform: translateY(0); }
  98.5% { transform: translateY(-78%); }
}
#vx-bug .vx-bug-brow {
  stroke: var(--bug-brow);
  stroke-width: 1.7;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.18s ease;
}

/* cursor por perto: fica de olho, meio desconfiado */
#vx-bug.is-wary .vx-bug-pupil {
  transform: scale(0.82);
}

/* susto: olho arregalado, sombrancelha levantada e pulinho pra trás */
#vx-bug.is-eek .vx-bug-pupil {
  transform: scale(0.55);
}
#vx-bug.is-eek .vx-bug-lid {
  animation: none;
  transform: translateY(-108%);
}
#vx-bug.is-eek .vx-bug-brow {
  transform: translateY(-2px);
}
#vx-bug.is-eek .vx-bug-brow.is-left {
  transform: translateY(-2px) rotate(6deg);
}
#vx-bug.is-eek .vx-bug-brow.is-right {
  transform: translateY(-2px) rotate(-6deg);
}
#vx-bug.is-eek .vx-bug-body {
  animation: vx-bug-hop 0.55s cubic-bezier(0.28, 1.35, 0.5, 1) 1;
}
#vx-bug.is-eek .vx-bug-shadow {
  animation: vx-bug-hop-sh 0.55s ease-out 1;
}
@keyframes vx-bug-hop {
  0% { transform: translateY(0) scale(1, 1); }
  35% { transform: translateY(-13px) scale(0.97, 0.94); }
  70% { transform: translateY(-1.5px) scale(1.09, 0.85); }
  100% { transform: translateY(0) scale(1, 1); }
}
@keyframes vx-bug-hop-sh {
  0% { transform: scale(1); opacity: 0.42; }
  40% { transform: scale(0.75); opacity: 0.16; }
  70% { transform: scale(1.12); opacity: 0.28; }
  100% { transform: scale(1); opacity: 0.42; }
}

/* --- poeira atrás quando corre --- */
#vx-bug .vx-bug-dust {
  opacity: 0;
}
#vx-bug .vx-bug-dust circle {
  fill: var(--bug-accent);
}
#vx-bug.is-running .vx-bug-dust {
  opacity: 1;
}
#vx-bug.is-running .is-d1 {
  animation: vx-bug-dust1 0.9s ease-out infinite;
}
#vx-bug.is-running .is-d2 {
  animation: vx-bug-dust2 0.9s ease-out infinite;
  animation-delay: -0.3s;
}
#vx-bug.is-running .is-d3 {
  animation: vx-bug-dust3 0.9s ease-out infinite;
  animation-delay: -0.6s;
}
@keyframes vx-bug-dust1 {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 0.8; }
  100% { transform: translate(3px, 8px) scale(0.2); opacity: 0; }
}
@keyframes vx-bug-dust2 {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 0.7; }
  100% { transform: translate(-2.5px, 7px) scale(0.2); opacity: 0; }
}
@keyframes vx-bug-dust3 {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 0.75; }
  100% { transform: translate(4px, 6.5px) scale(0.25); opacity: 0; }
}

/* --- tema claro --- */
:root[data-theme="light"] #vx-bug {
  --bug-c1: #ffffff;
  --bug-c2: #8ec8ff;
  --bug-c3: #3b86e0;
  --bug-c4: #ffffff;
  --bug-c5: #a4d2ff;
  --bug-c6: #2569c0;
  --bug-eye: #ffffff;
  --bug-pupil: #0a3a78;
  --bug-lid: #3b86e0;
  --bug-brow: #123c6e;
  --bug-line: rgba(18, 60, 110, 0.28);
  --bug-spark: rgba(255, 255, 255, 0.7);
  --bug-accent: #0a7ef5;
}
:root[data-theme="light"] #vx-bug .vx-bug-head,
:root[data-theme="light"] #vx-bug .vx-bug-thorax,
:root[data-theme="light"] #vx-bug .vx-bug-abdomen {
  stroke: rgba(10, 126, 245, 0.3);
}
:root[data-theme="light"] #vx-bug .vx-bug-shadow {
  opacity: 0.3;
}

/* tema black herda o padrão (neon sobre fundo preto) */

@media (prefers-reduced-motion: reduce) {
  #vx-bug {
    display: none;
  }
}

/* ---- ROUND TEAMS-2: redesign do painel de equipes (/auth/settings/teams) ---- */
.settings-teams-paywall {
  border: 1px dashed rgba(0, 162, 255, 0.38);
  border-radius: 12px;
  background: rgba(0, 111, 230, 0.07);
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 16px 18px;
  text-align: center;
}

.settings-team-form {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 162, 255, 0.18);
  border-radius: 12px;
  background: rgba(4, 13, 27, 0.5);
  padding: 18px;
}

.settings-team-form > h2 {
  margin: 0;
  font-size: 1.02rem;
}

.settings-team-invite-select {
  display: grid;
  gap: 6px;
}

.settings-team-invite-select select {
  width: 100%;
}

/* cards de equipe: destaque azul na lateral e cabeçalho com avatar */
.settings-team-card {
  position: relative;
  border-color: rgba(0, 162, 255, 0.2);
  background: linear-gradient(180deg, rgba(0, 111, 230, 0.07), rgba(4, 13, 27, 0.4));
  padding: 18px;
}

.settings-team-card::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--electric), rgba(159, 140, 255, 0.5));
}

.settings-team-head {
  padding-left: 8px;
}

.settings-team-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(0, 162, 255, 0.5);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 111, 230, 0.5), rgba(159, 140, 255, 0.4));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.settings-team-avatar.is-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.85rem;
}

.settings-team-delete {
  justify-self: end;
  border-color: rgba(255, 143, 163, 0.28);
}

.settings-team-member {
  gap: 12px;
  padding: 10px 12px;
}

.settings-team-role {
  width: 120px;
}

.settings-team-remove {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 143, 163, 0.22);
  border-radius: 8px;
  background: rgba(255, 143, 163, 0.06);
  color: #ff9caf;
  font-size: 0.95rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.settings-team-remove:hover,
.settings-team-remove:focus-visible {
  border-color: rgba(255, 143, 163, 0.5);
  background: rgba(255, 143, 163, 0.14);
  color: #ffb4c1;
}

.settings-team-members > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .settings-team-form .settings-grid-two {
    grid-template-columns: 1fr;
  }
}

/* ---- teams no tema claro ---- */
html[data-theme="light"] .settings-team-form {
  border-color: rgba(0, 111, 230, 0.18);
  background: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .settings-team-form input,
html[data-theme="light"] .settings-team-form select {
  background: #fff;
}

html[data-theme="light"] .settings-teams-paywall {
  background: rgba(0, 111, 230, 0.07);
  color: #0b1220;
}

html[data-theme="light"] .settings-team-card {
  background: linear-gradient(180deg, rgba(0, 111, 230, 0.05), rgba(255, 255, 255, 0.92));
}

/* ---- teams no tema preto ---- */
html[data-theme="black"] .settings-team-form {
  background: rgba(0, 0, 0, 0.65);
}

html[data-theme="black"] .settings-team-card {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(5, 5, 5, 0.45));
}

/* ---- ROUND BUG-3: piscada sincronizada + cabeça 3D que vira pro mouse ---- */
#vx-bug .vx-bug-eye-wrap.is-right .vx-bug-lid {
  animation-delay: 0s;
}

#vx-bug .vx-bug-lid {
  animation-duration: 3.8s;
  transition: transform 0.05s ease;
}

@keyframes vx-bug-blink {
  0%, 88%, 100% { transform: translateY(-78%); }
  92%, 96% { transform: translateY(0); }
  98.5% { transform: translateY(-78%); }
}

/* cabeça: vira em Y (3D) seguindo o mouse; o JS seta o transform inline */
#vx-bug .vx-bug-headgrp {
  transform-box: fill-box;
  transform-origin: 50% 82%;
  will-change: transform;
}

.brand-link,
html[data-theme="light"] .brand-link,
html[data-theme="black"] .brand-link {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-link {
  width: 48px;
  height: 48px;
  border-radius: 0;
  transform: none;
}

.site-header.is-scrolled .brand-link {
  margin-top: 0;
  transform: none;
}

.brand-link img {
  width: 44px;
  height: 44px;
  margin-top: 0;
}

.exp-hero {
  position: relative;
  padding-bottom: 8px;
}

.exp-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(180px, 35%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 162, 255, 0.5));
  content: "";
}

.exp-highlights {
  gap: clamp(14px, 2vw, 24px);
}

.exp-highlight,
.xp-area,
.xp-lang,
.xp-method {
  box-shadow:
    0 18px 42px -32px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.exp-block {
  position: relative;
}

.exp-block__label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.xp-timeline {
  position: relative;
}

.xp-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 1px;
  background: linear-gradient(var(--neon), rgba(0, 162, 255, 0.08));
  content: "";
  pointer-events: none;
}

.xp-item {
  position: relative;
  z-index: 1;
}

.xp-skills__list {
  gap: 8px;
}

.xp-skill {
  border-radius: 8px;
}

@media (max-width: 720px) {
  .exp-hero::after {
    width: 28%;
  }

  .exp-block {
    padding-top: 48px;
  }

  .xp-timeline::before {
    left: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exp-highlight,
  .xp-area,
  .xp-lang,
  .xp-method {
    transition: none;
  }
}

.project-results[data-project-results] {
  gap: 28px;
}

.project-stack-group {
  display: grid;
  gap: 12px;
}

.project-stack-group[hidden] {
  display: none;
}

.project-stack-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(239, 237, 255, 0.82);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-stack-group__title::after {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 162, 255, 0.6), transparent);
  content: "";
}

.project-stack-group__grid {
  gap: 14px;
  padding-top: 0;
}

.project-stack__tag {
  display: inline-flex;
  width: max-content;
  align-items: center;
  border: 1px solid rgba(159, 140, 255, 0.24);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(239, 237, 255, 0.78);
  font-family: "JetBrains Mono", Consolas, ui-monospace, monospace;
  font-size: 0.76rem;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.project-stack__tag:hover,
.project-stack__tag:focus-visible {
  border-color: rgba(0, 162, 255, 0.58);
  background: rgba(0, 111, 230, 0.1);
  color: var(--pearl);
  outline: none;
}

.dev-lab-shell {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.dev-lab-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 162, 255, 0.16);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(0, 111, 230, 0.12), rgba(0, 162, 255, 0.02));
  padding: 18px 16px;
}

.dev-lab-nav .eyebrow {
  margin: 0;
}

.dev-lab-nav ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-lab-nav a {
  display: grid;
  gap: 3px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(239, 237, 255, 0.78);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dev-lab-nav a:hover,
.dev-lab-nav a:focus-visible {
  border-color: rgba(64, 240, 180, 0.4);
  background: rgba(64, 240, 180, 0.08);
  color: var(--pearl);
  outline: none;
}

.dev-lab-nav a.is-active {
  border-color: rgba(0, 162, 255, 0.5);
  background: rgba(0, 111, 230, 0.2);
  color: var(--pearl);
}

.dev-lab-nav a strong {
  font-size: 0.95rem;
}

.dev-lab-nav a span {
  color: rgba(239, 237, 255, 0.55);
  font-size: 0.82rem;
  line-height: 1.35;
}

.dev-lab-panels {
  min-width: 0;
}

.dev-lab-panel[hidden] {
  display: none;
}

.dev-tool-console {
  scroll-margin-top: 96px;
}

.dev-claim-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dev-claim {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(0, 162, 255, 0.12);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.5);
  padding: 10px 12px;
}

.dev-claim-key {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.dev-claim-key code {
  color: var(--neon);
}

.dev-claim-key span {
  color: rgba(239, 237, 255, 0.55);
  font-size: 0.82rem;
}

.dev-claim-value {
  color: var(--pearl);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.dev-claim-empty {
  color: rgba(239, 237, 255, 0.55);
}

.dev-meta {
  margin: 0;
  color: rgba(239, 237, 255, 0.5);
  font-size: 0.82rem;
}

.dev-plain {
  margin: 0;
  border-left: 2px solid rgba(64, 240, 180, 0.5);
  color: rgba(239, 237, 255, 0.82);
  padding-left: 10px;
  font-size: 0.92rem;
}

.dev-note {
  margin: 0;
  color: rgba(239, 237, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.5;
}

.dev-field small {
  color: rgba(239, 237, 255, 0.45);
  font-size: 0.76rem;
  line-height: 1.3;
}

.dev-field.is-inline {
  min-width: 150px;
}

.dev-target-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-target-grid button {
  min-height: 34px;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 999px;
  background: rgba(2, 6, 16, 0.5);
  color: rgba(239, 237, 255, 0.85);
  padding: 0 14px;
  cursor: pointer;
}

.dev-target-grid button:hover,
.dev-target-grid button:focus-visible {
  border-color: rgba(64, 240, 180, 0.48);
  background: rgba(64, 240, 180, 0.1);
  color: var(--pearl);
  outline: none;
}

.dev-target-grid button:disabled {
  border-color: rgba(140, 145, 168, 0.2);
  color: rgba(140, 145, 168, 0.5);
  cursor: not-allowed;
}

.dev-target-grid button[hidden] {
  display: none;
}

.dev-run-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.dev-run-list li span {
  color: rgba(64, 240, 180, 0.75);
  font-size: 0.82rem;
}

.dev-diff-row.is-same {
  color: rgba(239, 237, 255, 0.42);
}

.dev-inline-link {
  display: inline-flex;
  width: max-content;
  border-bottom: 1px solid rgba(0, 162, 255, 0.48);
  color: var(--neon);
  text-decoration: none;
}

.dev-inline-link:hover,
.dev-inline-link:focus-visible {
  color: var(--mint);
  outline: none;
}

.dev-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(6px);
  padding: 20px;
}

.dev-modal[hidden] {
  display: none;
}

.dev-modal-card {
  display: grid;
  gap: 12px;
  width: min(440px, 100%);
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 12px;
  background: #0b0e14;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  padding: 22px;
}

.dev-modal-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.dev-modal-card p {
  margin: 0;
  color: rgba(239, 237, 255, 0.72);
  line-height: 1.5;
}

.dev-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.dev-modal-actions button {
  min-height: 38px;
  border: 1px solid rgba(0, 162, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 6, 16, 0.6);
  color: var(--pearl);
  padding: 0 16px;
  cursor: pointer;
}

.dev-modal-actions button.is-danger {
  border-color: rgba(255, 92, 92, 0.45);
  background: rgba(255, 92, 92, 0.14);
  color: #ffb4b4;
}

.dev-modal-actions button:hover,
.dev-modal-actions button:focus-visible {
  border-color: rgba(64, 240, 180, 0.5);
  outline: none;
}

body.has-modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .dev-lab-shell {
    grid-template-columns: 1fr;
  }

  .dev-lab-nav {
    position: static;
  }

  .dev-lab-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dev-lab-nav ul {
    grid-template-columns: 1fr;
  }
}

