:root {
  --ler-black: #120800;
  --ler-charcoal: #1A1512;
  --ler-deep-red: #5B0000;
  --ler-orange: #DD3D06;
  --ler-warm-orange: #ED7A36;
  --ler-white: #FFFFFF;
  --ler-paper: #F7F3EE;
  --ler-warm-gray: #8C837C;
}

* {
  box-sizing: border-box;
}

body.figma-visuals-page {
  margin: 0;
  min-height: 100vh;
  color: var(--ler-paper);
  background: #0a0705;
  font-family: Matter, Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.figma-visuals-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0 72px;
}

.figma-visuals-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.figma-visuals-brand {
  color: var(--ler-white);
  text-decoration: none;
}

.figma-visuals-brand h1 {
  margin: 0 0 4px;
  color: var(--ler-white);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.figma-visuals-brand p {
  margin: 0;
  color: var(--ler-warm-gray);
  font-size: 14px;
}

.figma-visuals-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.figma-visuals-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--ler-paper);
  text-decoration: none;
  font-size: 14px;
}

.figma-visuals-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.figma-visuals-tabs {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.figma-visuals-tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ler-warm-gray);
  cursor: pointer;
  font: 500 14px/1.2 inherit;
  padding: 14px 16px;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.figma-visuals-tab:hover {
  color: var(--ler-white);
  background: rgba(255, 255, 255, 0.045);
}

.figma-visuals-tab.is-active {
  color: var(--ler-orange);
  border-color: rgba(221, 61, 6, 0.3);
  background: rgba(221, 61, 6, 0.1);
  box-shadow: 0 0 18px rgba(221, 61, 6, 0.08);
}

.figma-visuals-tab svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.figma-visuals-stage-wrap {
  display: grid;
  place-items: center;
  min-height: 640px;
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  background: var(--ler-charcoal);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.figma-visuals-stage-wrap > [data-figma-stage] {
  display: grid;
  place-items: center;
  width: 100%;
}

.figma-visuals-caption {
  max-width: 660px;
  margin: 28px auto 0;
  text-align: center;
}

.figma-visuals-caption h2 {
  margin: 0 0 8px;
  color: var(--ler-white);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.figma-visuals-caption p {
  margin: 0;
  color: var(--ler-warm-gray);
  font-size: 14px;
  line-height: 1.55;
}

.figma-visuals-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.figma-visuals-card {
  display: grid;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
}

.figma-visuals-card h3 {
  margin: 0;
  color: var(--ler-white);
  font-size: 15px;
  font-weight: 500;
}

.figma-visual {
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 720 / 560;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  background: var(--ler-black);
  box-shadow: 0 34px 76px rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.figma-visual--small {
  width: 100%;
  border-radius: 22px;
}

.figma-visual--module {
  width: min(660px, 100%);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.figma-visual__grid,
.figma-visual__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.figma-visual__glow-a,
.figma-visual__glow-b {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  border-radius: 999px;
}

.figma-visual__glow-a {
  width: 60%;
  height: 60%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--ler-orange);
  filter: blur(140px);
  opacity: 0.12;
}

.figma-visual__glow-b {
  right: -10%;
  bottom: -10%;
  width: 40%;
  height: 40%;
  background: var(--ler-deep-red);
  filter: blur(100px);
  opacity: 0.2;
}

.figma-visual__content {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fv-panel {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(26, 21, 18, 0.95);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
}

.fv-panel--lg {
  border-radius: 24px;
}

.fv-panel--md {
  border-radius: 16px;
}

.fv-panel--sm {
  border-radius: 10px;
}

.fv-panel--accent {
  border-color: rgba(221, 61, 6, 0.32);
}

.fv-panel--muted {
  opacity: 0.68;
}

.fv-in {
  animation: fvIn 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fv-in--2 {
  animation-delay: 80ms;
}

.fv-in--3 {
  animation-delay: 150ms;
}

.fv-browser-dots {
  display: flex;
  gap: 6px;
}

.fv-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.fv-icon {
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.fv-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fv-icon--orange {
  color: var(--ler-orange);
}

.fv-text-xs {
  color: rgba(255, 255, 255, 0.42);
  font: 500 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fv-text-sm {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.25;
}

.fv-text-muted {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  line-height: 1.35;
}

.fv-row {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.fv-row--soft {
  background: rgba(255, 255, 255, 0.055);
}

.fv-row--accent {
  background: rgba(221, 61, 6, 0.22);
}

.fv-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.fv-path {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  fill: none;
}

.fv-path--active {
  stroke: var(--ler-orange);
  stroke-width: 1.5;
  stroke-dasharray: none;
}

.fv-node {
  fill: var(--ler-charcoal);
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 1.5;
}

.fv-node--active {
  fill: var(--ler-orange);
  stroke: var(--ler-warm-orange);
}

.fv-code-line {
  display: flex;
  gap: 14px;
  align-items: baseline;
  min-width: 0;
  font: 500 12px/1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}

.fv-code-line .num {
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}

.fv-code-line .orange {
  color: var(--ler-orange);
}

.fv-code-line .paper {
  color: rgba(255, 255, 255, 0.82);
}

.fv-code-line .muted {
  color: var(--ler-warm-gray);
}

.fv-check-row {
  display: grid;
  grid-template-columns: 122px 1fr 14px;
  align-items: center;
  gap: 12px;
}

.fv-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.fv-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.3);
}

.fv-progress .accent {
  background: var(--ler-orange);
}

.fv-spark {
  position: relative;
  display: flex;
  gap: 3px;
  align-items: end;
  height: 48px;
}

.fv-spark span {
  flex: 1;
  min-width: 6px;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.1);
}

.fv-spark .hot {
  background: var(--ler-orange);
  box-shadow: 0 0 10px rgba(221, 61, 6, 0.55);
}

.fv-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ler-orange);
}

.fv-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ler-orange);
  animation: fvPing 1.8s infinite;
}

.fv-conversion-focus {
  position: absolute;
  right: 22%;
  top: 29%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  pointer-events: none;
}

.fv-conversion-focus span {
  position: absolute;
  border: 1px solid rgba(221, 61, 6, 0.32);
  border-radius: 999px;
  box-shadow: 0 0 34px rgba(221, 61, 6, 0.14);
}

.fv-conversion-focus span:nth-child(1) {
  inset: 38px;
  background: rgba(221, 61, 6, 0.34);
}

.fv-conversion-focus span:nth-child(2) {
  inset: 20px;
}

.fv-conversion-focus span:nth-child(3) {
  inset: 0;
  opacity: 0.45;
}

.fv-conversion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fv-conversion-flow {
  width: 100%;
  height: auto;
  margin: 12px 0 14px;
  overflow: visible;
}

.fv-conversion-flow rect {
  fill: rgba(255, 255, 255, 0.045);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.fv-conversion-flow text {
  fill: rgba(255, 255, 255, 0.72);
  font: 600 11px/1 Matter, Manrope, Inter, system-ui, sans-serif;
}

.fv-conversion-flow circle {
  fill: var(--ler-charcoal);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 1.5;
}

.fv-conversion-flow .is-hot rect {
  fill: rgba(221, 61, 6, 0.18);
  stroke: rgba(221, 61, 6, 0.65);
}

.fv-conversion-flow .is-hot,
.fv-conversion-flow circle.is-hot {
  fill: var(--ler-orange);
  stroke: var(--ler-warm-orange);
}

.fv-conversion-flow .is-hot text {
  fill: var(--ler-white);
  paint-order: stroke;
  stroke: rgba(18, 8, 0, 0.58);
  stroke-width: 2px;
}

.fv-conversion-guide,
.fv-conversion-active {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fv-conversion-guide {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1;
  stroke-dasharray: 5 6;
}

.fv-conversion-active {
  stroke: var(--ler-orange);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 7px rgba(221, 61, 6, 0.34));
}

.fv-conversion-stage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fv-conversion-stage-list div,
.fv-conversion-kpis div {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 10px;
}

.fv-conversion-stage-list span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  line-height: 1.2;
}

.fv-conversion-stage-list strong,
.fv-conversion-kpis strong {
  color: var(--ler-white);
  font: 500 19px/1 Georgia, "Times New Roman", serif;
}

.fv-conversion-kpi-title,
.fv-conversion-note {
  display: flex;
  align-items: center;
  gap: 9px;
}

.fv-conversion-panel-kpi,
.fv-conversion-panel-cta {
  background: rgba(26, 21, 18, 0.98);
  box-shadow: 0 30px 58px -18px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
}

.fv-conversion-kpis {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.fv-conversion-kpis div {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.fv-conversion-kpis strong {
  color: var(--ler-orange);
  font-size: 18px;
}

.fv-conversion-test {
  display: grid;
  gap: 7px;
}

.fv-conversion-test span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  padding: 0 10px;
}

.fv-conversion-test .is-active {
  border-color: rgba(221, 61, 6, 0.62);
  background: rgba(221, 61, 6, 0.16);
  color: var(--ler-white);
  box-shadow: inset 0 0 0 1px rgba(237, 122, 54, 0.14);
}

.fv-conversion-test .is-active::after {
  content: "+16%";
  color: var(--ler-orange);
  font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.fv-conversion-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.35;
}

.fv-service-signal {
  position: absolute;
  right: 22%;
  top: 29%;
  z-index: 2;
  width: 128px;
  height: 128px;
  pointer-events: none;
}

.fv-service-signal span {
  position: absolute;
  border: 1px solid rgba(221, 61, 6, 0.22);
  border-radius: 22px;
  transform: rotate(18deg);
}

.fv-service-signal span:first-child {
  inset: 16px;
  background: rgba(221, 61, 6, 0.1);
  box-shadow: 0 0 42px rgba(221, 61, 6, 0.18);
}

.fv-service-signal span:last-child {
  inset: 0;
  opacity: 0.48;
}

.fv-service-main,
.fv-service-metrics,
.fv-service-details,
.fv-service-chip {
  background: rgba(26, 21, 18, 0.98);
}

.fv-service-main-head,
.fv-service-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fv-service-panel-title {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.fv-service-canvas {
  display: grid;
  gap: 14px;
  min-height: 214px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 74% 34%, rgba(221, 61, 6, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.028);
  background-size: 28px 28px, 28px 28px, auto, auto;
  padding: 18px;
}

.fv-service-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.fv-service-screen {
  display: grid;
  gap: 8px;
  min-height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.fv-service-screen span {
  display: block;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
}

.fv-service-screen strong,
.fv-service-search-card strong,
.fv-service-phone-card strong {
  color: var(--ler-white);
  font-size: 12px;
  line-height: 1.15;
}

.fv-service-screen small,
.fv-service-search-card p,
.fv-service-phone-card small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  line-height: 1.35;
}

.fv-service-screen.is-active {
  border-color: rgba(221, 61, 6, 0.46);
  background: rgba(221, 61, 6, 0.08);
}

.fv-service-flow-row,
.fv-service-node-map {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

.fv-service-flow-row i,
.fv-service-node-map i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(221, 61, 6, 0.48));
}

.fv-service-flow-row .is-hot,
.fv-service-node-map .is-hot {
  color: var(--ler-orange);
}

.fv-service-search-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
}

.fv-service-node-map {
  justify-content: center;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.fv-service-phone-stack {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 14px;
  align-items: center;
}

.fv-service-phone-card {
  display: grid;
  gap: 9px;
  min-height: 158px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 12px;
}

.fv-service-phone-card span {
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(221, 61, 6, 0.24), rgba(255, 255, 255, 0.06));
}

.fv-service-device-card {
  display: grid;
  gap: 8px;
}

.fv-service-device-card span {
  height: 39px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.fv-service-brand-system {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: center;
}

.fv-service-brand-mark {
  aspect-ratio: 1;
  border: 1px solid rgba(221, 61, 6, 0.48);
  border-radius: 28px;
  background:
    linear-gradient(154deg, transparent 39%, var(--ler-orange) 40% 54%, transparent 55%),
    radial-gradient(circle at 28% 24%, rgba(237, 122, 54, 0.34), transparent 34%),
    rgba(221, 61, 6, 0.08);
  box-shadow: 0 0 38px rgba(221, 61, 6, 0.16);
}

.fv-service-brand-lines {
  display: grid;
  gap: 10px;
}

.fv-service-swatches {
  display: flex;
  gap: 10px;
}

.fv-service-swatches span {
  flex: 1;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.fv-service-swatches span:nth-child(1) { background: var(--ler-orange); }
.fv-service-swatches span:nth-child(2) { background: var(--ler-deep-red); }
.fv-service-swatches span:nth-child(3) { background: var(--ler-paper); }
.fv-service-swatches span:nth-child(4) { background: var(--ler-charcoal); }

.fv-service-asset-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 58px;
  gap: 10px;
}

.fv-service-asset-grid span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.045);
}

.fv-service-asset-grid .is-wide {
  grid-row: span 2;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(221, 61, 6, 0.12));
}

.fv-service-asset-grid .is-hot {
  background: rgba(221, 61, 6, 0.18);
  border-color: rgba(221, 61, 6, 0.42);
}

.fv-service-channel-map {
  display: flex;
  align-items: end;
  gap: 8px;
  min-height: 136px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.fv-service-channel-map span {
  flex: 1;
  min-height: 30px;
  border-radius: 10px 10px 4px 4px;
  background: rgba(255, 255, 255, 0.1);
}

.fv-service-channel-map .is-hot {
  background: var(--ler-orange);
  box-shadow: 0 0 24px rgba(221, 61, 6, 0.35);
}

.fv-service-metric-grid {
  display: grid;
  gap: 8px;
}

.fv-service-metric-grid div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  padding: 9px 10px;
}

.fv-service-metric-grid strong {
  color: var(--ler-orange);
  font: 500 17px/1 Georgia, "Times New Roman", serif;
}

.fv-service-detail-list {
  display: grid;
  gap: 9px;
}

.fv-service-detail-row {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 9px;
  align-items: start;
}

.fv-service-detail-row span {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 999px;
  background: var(--ler-orange);
  box-shadow: 0 0 14px rgba(221, 61, 6, 0.48);
}

.fv-service-detail-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.35;
}

@keyframes fvIn {
  from {
    opacity: 0;
    transform: translate3d(var(--fv-x, 0), var(--fv-y, 14px), 0) scale(var(--fv-s, 1));
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes fvPing {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (max-width: 940px) {
  .figma-visuals-layout {
    grid-template-columns: 1fr;
  }

  .figma-visuals-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-visuals-stage-wrap {
    min-height: auto;
  }

  .figma-visuals-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .figma-visuals-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 18px;
  }

  .figma-visuals-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .figma-visuals-tabs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-inline: -14px;
    overflow-x: auto;
    padding: 0 14px 6px;
    scrollbar-width: thin;
  }

  .figma-visuals-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: 188px;
  }

  .figma-visuals-gallery {
    grid-template-columns: 1fr;
  }

  .figma-visuals-stage-wrap {
    padding: 12px;
    border-radius: 22px;
  }

  .figma-visual {
    border-radius: 24px;
  }

  .figma-visual .fv-service-main {
    left: 9% !important;
    top: 17% !important;
    width: 78% !important;
    min-height: auto !important;
    padding: 12px !important;
  }

  .figma-visual .fv-service-metrics {
    display: none !important;
  }

  .figma-visual .fv-service-details,
  .figma-visual .fv-service-chip {
    display: none !important;
  }

  .fv-service-canvas {
    min-height: 150px;
    gap: 10px;
    padding: 12px;
  }

  .fv-service-screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fv-service-screen {
    min-height: 76px;
    padding: 8px;
  }

  .fv-service-screen:nth-child(3) {
    display: none;
  }

  .fv-service-flow-row,
  .fv-service-node-map,
  .fv-service-panel-title {
    font-size: 10px;
  }

  .fv-service-metric-grid div {
    min-height: 31px;
    padding: 7px 8px;
  }

  .fv-service-metric-grid strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv-in,
  .fv-pulse::before,
  .figma-visuals-tab {
    animation: none !important;
    transition: none !important;
  }
}
