@import "./design/tokens.css";

:root {
  color-scheme: dark;
  font-family: var(--font-system);
  background: var(--onyx-black);
  color: var(--warm-white);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% -12%, rgba(200, 164, 93, 0.22), transparent 330px),
    linear-gradient(180deg, #050506 0%, #101114 46%, #050506 100%);
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

body::before {
  content: "AC";
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(201, 164, 92, 0.16), transparent 34%),
    linear-gradient(145deg, #08090b, #14161a);
  color: var(--gold-primary);
  font-size: 46px;
  font-weight: 950;
  letter-spacing: 0;
  pointer-events: none;
  animation: splash-out 1450ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

body::after {
  content: "";
  position: fixed;
  left: calc(50% - 72px);
  top: calc(50% + 48px);
  z-index: 1000;
  width: 144px;
  height: 34px;
  border-top: 2px solid rgba(201, 164, 92, 0.78);
  border-radius: 58% 58% 10px 10px;
  transform-origin: left center;
  pointer-events: none;
  animation: silhouette-draw 1450ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

body.splash-complete::before,
body.splash-complete::after {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button,
.car-card,
.dealer-command-card,
.priority-card,
.insight-card,
.deal-card,
.stock-market-card,
.trade-offer-card,
.trust-preview-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

button:active,
.card-button:active,
.dealer-command-card:active,
.priority-card:active {
  transform: scale(0.985);
}

img {
  display: block;
  max-width: 100%;
}

.app-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.96), rgba(247, 243, 234, 0.62) 38%, rgba(239, 232, 220, 0.8) 100%);
}

.phone-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--background);
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06), var(--shadow-premium);
}

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) 18px calc(110px + env(safe-area-inset-bottom));
  animation: fade-slide-in 320ms ease both;
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splash-out {
  0% {
    opacity: 1;
    transform: scale(1.02);
  }

  62% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
  }
}

@keyframes silhouette-draw {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  34% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  78% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 0 0);
  }
}

@property --score {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes number-rise {
  from {
    opacity: 0.2;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes progress-fill-in {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes ring-fill {
  from {
    --score: 0;
  }
}

@keyframes toast-enter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes shimmer {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

@keyframes viewer-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes image-settle {
  from {
    transform: scale(1.025);
  }

  to {
    transform: scale(1);
  }
}

@keyframes orbit-glow {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.72;
  }

  50% {
    transform: translateY(-2px) scale(1.04);
    opacity: 1;
  }
}

.stack > *,
.horizontal-row > *,
.stats-grid > *,
.report-grid > *,
.priority-grid > *,
.dealer-command-grid > *,
.control-list > *,
.dealer-control-list > *,
.plans > *,
.demand-bars > *,
.activity-list > *,
.employee-list > *,
.note-list > *,
.image-gallery > *,
.mini-metric-grid > *,
.trust-grid > * {
  animation: card-enter 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.stack > *:nth-child(2),
.horizontal-row > *:nth-child(2),
.stats-grid > *:nth-child(2),
.priority-grid > *:nth-child(2),
.dealer-command-grid > *:nth-child(2) {
  animation-delay: 34ms;
}

.stack > *:nth-child(3),
.horizontal-row > *:nth-child(3),
.stats-grid > *:nth-child(3),
.priority-grid > *:nth-child(3),
.dealer-command-grid > *:nth-child(3) {
  animation-delay: 68ms;
}

.stack > *:nth-child(4),
.horizontal-row > *:nth-child(4),
.stats-grid > *:nth-child(4),
.priority-grid > *:nth-child(4),
.dealer-command-grid > *:nth-child(4) {
  animation-delay: 102ms;
}

.animated-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  animation: number-rise 420ms ease both;
}

.app-header,
.large-title-header {
  margin-bottom: 18px;
}

.title-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.title-lockup > div {
  min-width: 0;
}

.app-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 15px;
  object-fit: cover;
  background: #111111;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16);
}

.app-logo-small {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 12px;
}

.app-header .header-actions {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.app-header h1,
.large-title-header h1 {
  margin: 2px 0 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 850;
  color: var(--text);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}

.button,
.icon-button,
.chip,
.bottom-tabs button,
.menu-list button,
.quick-grid button,
.pipeline button,
.segmented button,
.mini-car-card,
.card-button {
  border: 0;
  background: none;
  color: inherit;
}

.button {
  min-height: 44px;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button-primary {
  background: linear-gradient(145deg, #08090b, #181a1f);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(8, 9, 11, 0.12);
}

.button-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: #1f1f1f;
  box-shadow: var(--shadow-soft);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
}

.icon-button-subtle {
  background: rgba(255, 255, 255, 0.72);
}

.featured-card {
  width: 100%;
  min-height: 460px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  background: #111111;
  box-shadow: var(--shadow-premium);
  text-align: right;
}

.featured-card img,
.hero-detail img,
.dealer-cover img,
.dealer-profile-cover img,
.mini-car-card img,
.car-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82));
}

.featured-copy {
  position: absolute;
  inset-inline: 18px;
  bottom: 20px;
  color: #ffffff;
}

.daily-command-hero {
  min-height: 250px;
  margin-bottom: 18px;
  padding: 24px;
  display: grid;
  align-content: end;
  gap: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 164, 92, 0.24);
  background:
    radial-gradient(circle at 88% 12%, rgba(231, 207, 148, 0.28), transparent 36%),
    linear-gradient(145deg, #08090b, #14161a);
  color: var(--text-inverse);
  box-shadow: var(--shadow-premium);
}

.daily-command-hero span {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 950;
}

.daily-command-hero h2 {
  max-width: 330px;
  margin: 0;
  font-size: 32px;
  line-height: 1.04;
}

.daily-command-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.daily-command-hero .button,
.dealer-hero-card .button {
  width: max-content;
  min-width: 148px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-primary));
  color: #08090b;
}

.featured-copy p,
.featured-copy span {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.featured-copy h2 {
  margin: 6px 0 8px;
  font-size: 31px;
  line-height: 1.05;
}

.stats-grid,
.report-grid,
.quick-grid,
.action-grid,
.spec-grid {
  display: grid;
  gap: 10px;
}

.stats-grid,
.report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 22px;
}

.stat-card,
.report-card,
.plain-panel,
.form-panel,
.real-ops-panel,
.pilot-launch-panel,
.profile-panel,
.language-panel,
.info-list,
.dealer-inline,
.task-card,
.lead-card,
.qr-card,
.spec-item,
.plan-card,
.employee-list article,
.activity-list article,
.note-list article,
.readiness-panel,
.checklist-panel,
.assistant-card,
.trust-card,
.trust-preview-card,
.calculator-panel,
.trade-panel,
.lead-risk-panel,
.network-request-card,
.network-offer-card,
.radar-card,
.dealer-hero-card,
.priority-card,
.dealer-command-card,
.insight-card,
.deal-card,
.qr-discovery-card,
.scan-card,
.stock-market-card,
.trade-offer-card,
.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-card,
.report-card {
  padding: 14px;
  min-height: 112px;
}

.stat-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stat-card strong,
.report-card strong {
  display: block;
  font-size: 25px;
  line-height: 1;
  margin-bottom: 7px;
}

.stat-card span,
.report-card span,
.spec-item span,
.muted-copy {
  color: var(--muted);
}

.stat-card small,
.report-card p {
  color: var(--muted);
  display: block;
  margin: 6px 0 0;
  line-height: 1.45;
}

.stat-icon,
.empty-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--gold-soft);
  flex: 0 0 auto;
}

.section-header {
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.stack {
  display: grid;
  gap: 14px;
}

.horizontal-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 42%);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.mini-car-card {
  min-height: 194px;
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: right;
  scroll-snap-align: start;
}

.mini-car-card img {
  height: 110px;
}

.mini-car-card strong,
.mini-car-card span {
  display: block;
  padding: 0 10px;
}

.mini-car-card strong {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.25;
}

.mini-car-card span {
  margin-top: 5px;
  color: var(--gold);
  font-weight: 800;
}

.search-bar {
  height: 46px;
  border-radius: var(--radius-sm);
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
}

.search-bar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
}

.chip {
  white-space: nowrap;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: #2d2d2d;
  font-weight: 750;
}

.chip:hover,
.chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(184, 137, 53, 0.38);
}

.chip-selected,
.segmented .active,
.pipeline .active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.select-field,
.form-panel label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.select-field {
  margin-bottom: 12px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  background: #ffffff;
  color: var(--text);
  outline: none;
}

textarea {
  resize: vertical;
}

.car-card {
  width: 100%;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: right;
  align-items: center;
}

.car-card.card-button {
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.05);
}

.car-card.card-button:hover,
.car-card.card-button:focus-visible,
.mini-car-card:hover,
.dealer-command-card:hover,
.priority-card:hover,
.control-choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 137, 53, 0.34);
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.08);
}

.phone-shell[dir="ltr"] .featured-card,
.phone-shell[dir="ltr"] .car-card,
.phone-shell[dir="ltr"] .dealer-card,
.phone-shell[dir="ltr"] .lead-card,
.phone-shell[dir="ltr"] .card-button,
.phone-shell[dir="ltr"] .mini-car-card {
  text-align: left;
}

.phone-shell[dir="ltr"] .lead-side {
  justify-items: start;
}

.phone-shell[dir="rtl"] .daily-command-hero,
.phone-shell[dir="rtl"] .dealer-hero-card,
.phone-shell[dir="rtl"] .dealer-command-card,
.phone-shell[dir="rtl"] .priority-card,
.phone-shell[dir="rtl"] .insight-card,
.phone-shell[dir="rtl"] .budget-range-grid article,
.phone-shell[dir="rtl"] .hero-detail-copy {
  text-align: right;
}

.phone-shell[dir="rtl"] .card-title-line,
.phone-shell[dir="rtl"] .info-strip,
.phone-shell[dir="rtl"] .progress-meta {
  direction: rtl;
}

.phone-shell[dir="rtl"] .module-orbit {
  inset-inline-start: 14px;
  inset-inline-end: auto;
}

.car-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(184, 137, 53, 0.14), rgba(17, 17, 17, 0.08)),
    #eeeeee;
}

.car-thumb img,
.mini-car-card img,
.scan-card img,
.network-offer-card img {
  transition: transform 520ms ease;
}

.car-card:hover .car-thumb img,
.mini-car-card:hover img,
.scan-card:hover img,
.network-offer-card:hover img {
  transform: scale(1.035);
}

.car-card-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.car-card h3,
.dealer-card h3,
.lead-card h3,
.task-card h3,
.plain-panel h3,
.qr-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 850;
}

.car-card p,
.dealer-card p,
.lead-card p,
.task-card p,
.plain-panel p,
.qr-card p,
.info-list p,
.profile-panel p,
.dealer-profile-cover p,
.privacy-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.car-card-body > strong {
  color: var(--text);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.car-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.car-signal-row span {
  min-height: 22px;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(201, 164, 92, 0.12);
  color: var(--gold-dark);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
}

.car-card .progress-track {
  height: 4px;
}

.card-title-line,
.report-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.status-available,
.status-won,
.status-completed,
.status-low {
  background: var(--green-soft);
  color: var(--green);
}

.status-reserved,
.status-under-review,
.status-appointment,
.status-negotiation,
.status-in-progress,
.status-medium {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-sold,
.status-hidden,
.status-lost,
.status-high {
  background: var(--red-soft);
  color: var(--red);
}

.status-new,
.status-contacted,
.status-open {
  background: var(--gold-soft);
  color: var(--gold);
}

.muted-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.progress-wrap {
  display: grid;
  gap: 5px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.progress-meta strong {
  font-size: 11px;
  margin: 0;
}

.progress-track {
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: #eee9df;
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #181818);
  transform-origin: left center;
  animation: progress-fill-in 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.phone-shell[dir="rtl"] .progress-fill {
  transform-origin: right center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.readiness-panel {
  padding: 16px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.readiness-score-ring {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  align-content: center;
  border: 0;
  outline: 1px solid rgba(184, 137, 53, 0.22);
  background:
    conic-gradient(var(--gold) calc(var(--score, 0) * 1%), rgba(184, 137, 53, 0.14) 0),
    #fffaf1;
  color: var(--text);
  box-shadow: 0 12px 22px rgba(184, 137, 53, 0.12);
  animation: ring-fill 860ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.readiness-score-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 241, 0.98)),
    #fffaf1;
  box-shadow: inset 0 0 0 1px rgba(184, 137, 53, 0.12);
}

.readiness-score-ring > * {
  position: relative;
  z-index: 1;
}

.readiness-score-ring strong {
  font-size: 28px;
  line-height: 1;
}

.readiness-score-ring span,
.readiness-main p {
  color: var(--muted);
}

.readiness-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.readiness-main p {
  margin: 0;
  line-height: 1.45;
}

.checklist-panel,
.assistant-card,
.trust-card,
.calculator-panel,
.trade-panel,
.lead-risk-panel {
  padding: 14px;
}

.checklist-panel {
  margin-top: 10px;
}

.checklist-panel h3,
.assistant-card h3,
.trust-card h3,
.trade-panel h3,
.lead-risk-panel h3,
.network-request-card h3,
.network-offer-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.checklist-grid,
.mini-metric-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.checklist-grid {
  margin-top: 10px;
}

.check-item,
.mini-metric-grid article,
.trust-grid article,
.info-strip {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.check-item {
  min-height: 54px;
  padding: 10px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.check-item span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.check-item.done span {
  background: var(--green-soft);
  color: var(--green);
}

.check-item.missing span {
  background: var(--red-soft);
  color: var(--red);
}

.check-item strong {
  font-size: 13px;
  line-height: 1.3;
}

.assistant-card,
.trust-card,
.calculator-panel,
.trade-panel,
.lead-risk-panel {
  display: grid;
  gap: 14px;
}

.trust-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 241, 0.96)),
    var(--surface);
  border-color: rgba(201, 164, 92, 0.22);
  box-shadow: var(--shadow-soft);
}

.assistant-card-head,
.trust-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.assistant-card-head p,
.trust-card-head p,
.network-request-card p,
.network-offer-card p,
.trust-card p,
.message-template p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.info-strip {
  min-height: 48px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.info-strip span,
.mini-metric-grid span,
.trust-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.info-strip strong {
  text-align: end;
}

.message-template {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #111111;
  color: #ffffff;
  line-height: 1.6;
  font-size: 13px;
}

.message-template p {
  color: rgba(255, 255, 255, 0.76);
}

.mini-metric-grid article,
.trust-grid article {
  min-height: 82px;
  padding: 11px;
  display: grid;
  gap: 5px;
  align-content: start;
}

.mini-metric-grid strong,
.trust-grid strong {
  font-size: 15px;
  line-height: 1.25;
  word-break: break-word;
}

.mini-metric-grid small,
.trust-grid small,
.trust-card > small {
  color: var(--muted);
  line-height: 1.4;
}

.offer-verdict {
  min-height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.offer-verdict.safe {
  background: var(--green-soft);
  color: var(--green);
}

.offer-verdict.danger {
  background: var(--red-soft);
  color: var(--red);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 4px;
}

.card-actions .button {
  min-height: 34px;
  padding: 7px 9px;
  font-size: 12px;
}

.dealer-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.dealer-cover {
  height: 128px;
  background: #eeeeee;
}

.dealer-card-body {
  padding: 12px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 11px;
}

.dealer-card-body .button {
  grid-column: 1 / -1;
}

.dealer-logo,
.profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.hero-detail {
  min-height: min(560px, 72vh);
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111111;
  box-shadow: var(--shadow-premium);
}

.hero-image-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #111111;
  cursor: zoom-in;
}

.hero-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.36) 42%, rgba(0, 0, 0, 0.84));
  pointer-events: none;
}

.hero-detail-copy {
  position: absolute;
  z-index: 1;
  inset-inline: 20px;
  bottom: 22px;
  color: #ffffff;
  pointer-events: none;
}

.hero-detail-copy h2 {
  margin: 10px 0 4px;
  font-size: 30px;
  line-height: 1.1;
}

.hero-detail-copy strong {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

.hero-detail-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.gallery-shot {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.18;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #eeeeee;
}

.gallery-image-button {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #eeeeee;
  cursor: zoom-in;
}

.gallery-shot-featured {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-shot figcaption {
  position: absolute;
  inset-inline-start: 8px;
  bottom: 8px;
  pointer-events: none;
  min-width: 36px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(17, 17, 17, 0.72);
  color: #ffffff;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  overflow: hidden;
  overscroll-behavior: contain;
  animation: viewer-fade 180ms ease both;
}

.image-viewer-frame {
  position: fixed;
  inset: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  display: block;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.image-viewer-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: #000000;
  box-shadow: none;
  will-change: transform;
  animation: image-settle 320ms ease both;
}

.image-viewer-frame figcaption {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.48);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.image-viewer-close {
  position: fixed;
  z-index: 101;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(18px);
}

.image-viewer-close {
  top: max(14px, env(safe-area-inset-top));
  inset-inline-end: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.action-grid,
.quick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.car-owner-actions {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
}

.lead-action-grid {
  grid-template-columns: 1fr 1fr;
}

.lead-action-grid .button:first-child {
  grid-column: 1 / -1;
}

.action-grid .button,
.quick-grid button {
  width: 100%;
}

.quick-grid button {
  min-height: 78px;
  border-radius: 8px;
  padding: 12px;
  display: grid;
  place-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 850;
}

.money-leak-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}

.money-leak-card {
  min-height: 104px;
  padding: 12px;
  border: 1px solid rgba(184, 137, 53, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(184, 137, 53, 0.12), rgba(255, 255, 255, 0.78)),
    var(--surface);
  color: var(--text);
  text-align: start;
  display: grid;
  align-content: space-between;
  gap: 7px;
}

.money-leak-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.money-leak-card strong {
  font-size: 30px;
  line-height: 1;
}

.money-leak-card small {
  color: var(--gold);
  font-weight: 900;
}

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

.spec-item,
.plain-panel,
.info-list,
.form-panel,
.real-ops-panel,
.pilot-launch-panel,
.profile-panel,
.language-panel,
.dealer-inline,
.empty-state {
  padding: 14px;
}

.real-ops-panel {
  display: grid;
  gap: 14px;
  margin: 12px 0 16px;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at top right, rgba(201, 164, 92, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(9, 10, 13, 0.98), rgba(24, 25, 29, 0.96));
  border-color: rgba(201, 164, 92, 0.24);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.real-ops-panel span,
.real-ops-panel small {
  display: block;
  color: rgba(231, 207, 148, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.real-ops-panel h3 {
  margin: 5px 0 7px;
  font-size: 20px;
  line-height: 1.1;
}

.real-ops-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.5;
}

.real-ops-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.real-ops-meta strong {
  font-size: 13px;
}

.real-ops-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.real-ops-actions .button {
  min-height: 44px;
  justify-content: center;
}

.file-action {
  position: relative;
  overflow: hidden;
}

.file-action input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.danger-soft {
  border-color: rgba(236, 92, 92, 0.26);
  color: #ffd8d8;
  background: rgba(236, 92, 92, 0.08);
}

.pilot-launch-panel {
  display: grid;
  gap: 14px;
  margin: 12px 0 16px;
  background:
    radial-gradient(circle at top left, rgba(231, 207, 148, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(17, 18, 21, 0.98), rgba(7, 8, 10, 0.96));
  border-color: rgba(231, 207, 148, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.pilot-launch-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.pilot-launch-head span,
.pilot-client-card span,
.pilot-metric-row span {
  color: rgba(231, 207, 148, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.pilot-launch-head h3 {
  margin: 5px 0 7px;
  font-size: 21px;
  line-height: 1.1;
}

.pilot-launch-head p,
.pilot-client-card small {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.pilot-status-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(231, 207, 148, 0.26);
  border-radius: 999px;
  color: #0b0c0f;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-primary));
  font-size: 12px;
  font-weight: 950;
}

.pilot-client-grid {
  display: grid;
  gap: 9px;
}

.pilot-client-card {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 12px;
  text-align: inherit;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.pilot-client-card.active {
  border-color: rgba(231, 207, 148, 0.52);
  background: rgba(231, 207, 148, 0.11);
  box-shadow: inset 0 0 0 1px rgba(231, 207, 148, 0.08);
}

.pilot-client-card strong {
  line-height: 1.2;
}

.pilot-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pilot-metric-row article {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.pilot-metric-row strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.real-ops-actions.compact {
  grid-template-columns: 1fr;
}

.spec-item {
  min-height: 80px;
}

.spec-item strong {
  display: block;
  margin-top: 7px;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-item {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.timeline-item span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  font-weight: 900;
}

.assistant-output {
  display: grid;
  gap: 10px;
}

.assistant-output article {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.assistant-output h3 {
  margin: 0 0 8px;
}

.assistant-output p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.dealer-inline,
.profile-panel,
.language-panel,
.qr-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dealer-inline > div:nth-child(2),
.profile-panel > div:nth-child(2),
.qr-card > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.form-panel {
  display: grid;
  gap: 13px;
}

.form-panel label > span {
  color: var(--muted);
}

.checkbox-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  color: var(--text);
  line-height: 1.5;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  accent-color: #111111;
}

.form-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: #6b4713;
  font-weight: 750;
  line-height: 1.45;
}

.dealer-profile-cover {
  position: relative;
  min-height: 370px;
  border-radius: 8px;
  overflow: hidden;
  background: #111111;
}

.dealer-profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.76));
}

.dealer-profile-cover > div {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  inset-inline: 18px;
  color: #ffffff;
}

.dealer-profile-cover h2 {
  margin: 12px 0 7px;
  font-size: 28px;
}

.dealer-profile-cover p {
  color: rgba(255, 255, 255, 0.82);
}

.info-list {
  display: grid;
  gap: 9px;
}

.lead-card,
.task-card {
  width: 100%;
  padding: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-align: right;
}

.lead-main,
.task-card > div:first-child {
  min-width: 0;
}

.lead-main span,
.lead-side small,
.task-card small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.lead-side {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 6px;
  min-width: 86px;
}

.lead-side strong {
  font-size: 12px;
  color: var(--gold);
}

.radar-card {
  width: 100%;
  padding: 13px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  text-align: start;
}

.radar-card-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.radar-card-main h3 {
  margin: 0;
  font-size: 17px;
}

.radar-card-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.radar-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.radar-meta span {
  min-width: 0;
  padding: 9px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.radar-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 12px;
  word-break: break-word;
}

.network-request-card,
.network-offer-card {
  padding: 13px;
}

.network-request-card {
  display: grid;
  gap: 10px;
}

.network-offer-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
}

.network-offer-card img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  background: #eeeeee;
}

.network-offer-card > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.menu-list {
  display: grid;
  gap: 9px;
}

.menu-list button {
  min-height: 54px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 800;
}

.language-panel {
  justify-content: space-between;
  margin-top: 14px;
}

.language-panel > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-panel h3 {
  margin: 0;
}

.segmented,
.pipeline {
  display: flex;
  gap: 7px;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: #eee9df;
  overflow-x: auto;
}

.segmented button,
.pipeline button {
  min-height: 34px;
  border-radius: 14px;
  padding: 7px 11px;
  white-space: nowrap;
  font-weight: 850;
}

.editorial-banner {
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 164, 92, 0.22), transparent 34%),
    linear-gradient(145deg, #08090b, #14161a);
  color: #ffffff;
  box-shadow: var(--shadow-premium);
}

.editorial-banner h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.editorial-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.module-hero {
  margin-bottom: 14px;
}

.dealer-command-shell {
  margin: -4px -4px 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  color: var(--text-inverse);
  background:
    radial-gradient(circle at 88% 6%, rgba(201, 164, 92, 0.16), transparent 34%),
    linear-gradient(180deg, #08090b, #111318 52%, #17191e);
  box-shadow: var(--shadow-premium);
}

.dealer-command-shell .large-title-header {
  padding: 16px;
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 0%, rgba(201, 164, 92, 0.18), transparent 34%),
    linear-gradient(145deg, #08090b, #14161a);
  border: 1px solid rgba(201, 164, 92, 0.18);
  box-shadow: var(--shadow-premium);
}

.dealer-command-shell .large-title-header h1 {
  color: var(--text-inverse);
}

.dealer-command-shell .section-header h2 {
  color: var(--text-inverse);
}

.dealer-command-shell .priority-card {
  color: var(--text-inverse);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(201, 164, 92, 0.08)),
    var(--surface-graphite);
  border-color: rgba(201, 164, 92, 0.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.dealer-command-shell .priority-card span,
.dealer-command-shell .priority-card p {
  color: rgba(255, 255, 255, 0.7);
}

.dealer-command-shell .priority-card strong {
  color: var(--gold-light);
}

.dealer-command-shell .quick-action-row button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 164, 92, 0.18);
  color: var(--text-inverse);
}

.dealer-home {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.dealer-hero-card {
  padding: 22px;
  min-height: 230px;
  display: grid;
  align-content: end;
  gap: 10px;
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 164, 92, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(201, 164, 92, 0.12)),
    #08090b;
  color: #ffffff;
  border-color: rgba(201, 164, 92, 0.24);
  box-shadow: var(--shadow-premium);
}

.dealer-hero-card span {
  color: var(--gold);
  font-weight: 900;
}

.dealer-hero-card h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.05;
}

.dealer-hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.quick-action-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.quick-action-row button {
  min-height: 62px;
  border: 1px solid rgba(184, 137, 53, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.home-quick-actions {
  margin-bottom: 16px;
}

.home-quick-actions button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 248, 241, 0.92)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.priority-grid,
.dealer-command-grid {
  display: grid;
  gap: 10px;
}

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

.compact-priority-grid .priority-card {
  min-height: 116px;
}

.priority-grid .priority-card:first-child {
  grid-column: 1 / -1;
  min-height: 112px;
  background:
    linear-gradient(135deg, rgba(201, 164, 92, 0.16), rgba(255, 255, 255, 0.94)),
    var(--surface);
  border-color: rgba(201, 164, 92, 0.28);
}

.dealer-command-shell .priority-grid .priority-card:first-child {
  background:
    radial-gradient(circle at 92% 8%, rgba(231, 207, 148, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(201, 164, 92, 0.18), rgba(255, 255, 255, 0.07)),
    var(--surface-graphite);
}

.priority-card {
  min-height: 128px;
  padding: 13px;
  display: grid;
  align-content: space-between;
  gap: 7px;
  text-align: start;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 248, 241, 0.92)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.priority-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.priority-card strong {
  font-size: 31px;
  line-height: 1;
}

.priority-card p {
  margin: 0;
  font-weight: 900;
  line-height: 1.3;
}

.dealer-command-card {
  position: relative;
  overflow: hidden;
  min-height: 166px;
  padding: 16px;
  display: grid;
  align-content: end;
  gap: 8px;
  text-align: start;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 14%, rgba(231, 207, 148, 0.12), transparent 34%),
    linear-gradient(160deg, rgba(201, 164, 92, 0.18), rgba(255, 255, 255, 0.035)),
    #14161a;
  border-color: rgba(201, 164, 92, 0.14);
  box-shadow: var(--shadow-premium);
}

.module-orbit {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(231, 207, 148, 0.46);
  background:
    radial-gradient(circle at 50% 50%, rgba(231, 207, 148, 0.9) 0 2px, transparent 3px),
    rgba(201, 164, 92, 0.1);
  box-shadow: 0 0 22px rgba(201, 164, 92, 0.14);
  animation: orbit-glow 2600ms ease-in-out infinite;
}

.module-orbit::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 1px solid rgba(231, 207, 148, 0.32);
}

.dealer-command-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
}

.dealer-command-card strong {
  font-size: 24px;
  line-height: 1.05;
}

.dealer-command-card p,
.insight-card p,
.deal-card p,
.stock-market-card p,
.trade-offer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.dealer-command-card p {
  color: rgba(255, 255, 255, 0.68);
}

.insight-strip {
  display: grid;
  gap: 9px;
}

.insight-card,
.deal-card,
.stock-market-card,
.trade-offer-card,
.trust-preview-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  display: grid;
  gap: 11px;
}

.trust-preview-card,
.insight-card,
.deal-card {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(184, 137, 53, 0.34), rgba(233, 229, 220, 0.32)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
}

.insight-card::before,
.trust-preview-card::before {
  content: "";
  position: absolute;
  inset-block: 14px;
  inset-inline-start: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0.72;
}

.insight-card.compact {
  min-height: 82px;
  text-align: start;
}

.insight-card h3,
.deal-card h3,
.stock-market-card h3,
.trade-offer-card h3,
.trust-preview-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
}

.insight-card span,
.trust-preview-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.trust-preview-main {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.readiness-score-ring.small {
  width: 72px;
  height: 72px;
}

.readiness-score-ring.small::before {
  inset: 6px;
}

.readiness-score-ring.small strong {
  font-size: 23px;
}

.timeline-stepper {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.timeline-stepper span {
  flex: 0 0 auto;
  min-height: 30px;
  border-radius: 999px;
  padding: 7px 10px;
  background: #eee9df;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.timeline-stepper .done {
  background: var(--gold-soft);
  color: var(--gold);
}

.blocker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.blocker-list span,
.warning-copy {
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
}

.qr-discovery-card {
  padding: 16px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background:
    linear-gradient(150deg, rgba(184, 137, 53, 0.14), rgba(255, 255, 255, 0.86)),
    var(--surface);
  box-shadow: 0 14px 32px rgba(17, 17, 17, 0.06);
}

.qr-discovery-card h2 {
  margin: 0 0 6px;
}

.qr-discovery-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.floating-qr {
  width: 96px;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 10px;
  border-radius: 8px;
  background: #111111;
  animation: success-pulse 1600ms ease-in-out infinite;
}

.floating-qr span {
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.floating-qr .on {
  background: #ffffff;
}

@keyframes success-pulse {
  0%, 100% {
    box-shadow: 0 0 0 rgba(184, 137, 53, 0);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(184, 137, 53, 0.12);
  }
}

.scan-card {
  width: 100%;
  padding: 10px;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  text-align: start;
}

.scan-card img {
  width: 82px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.scan-card strong,
.scan-card span {
  display: block;
}

.scan-card span {
  margin-top: 5px;
  color: var(--muted);
}

.demand-bars,
.budget-range-grid {
  display: grid;
  gap: 10px;
}

.budget-range-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demand-bars article,
.budget-range-grid article {
  padding: 13px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.budget-range-grid article {
  min-height: 106px;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(201, 164, 92, 0.1), rgba(255, 255, 255, 0.94)),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.budget-range-grid span,
.budget-range-grid small {
  color: var(--muted);
  font-weight: 850;
}

.budget-range-grid strong {
  font-size: 30px;
  line-height: 1;
}

.report-top {
  margin-bottom: 12px;
}

.report-card strong {
  font-size: 28px;
}

.activity-list,
.employee-list,
.note-list,
.plans {
  display: grid;
  gap: 10px;
}

.activity-list article,
.employee-list article,
.note-list article {
  padding: 13px;
}

.activity-list p,
.note-list p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.employee-list span,
.note-list small {
  display: block;
  margin: 5px 0 9px;
  color: var(--muted);
}

.control-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 22px;
}

.control-choice-grid {
  display: grid;
  gap: 12px;
}

.control-choice-card {
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  align-content: end;
  gap: 10px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.06);
}

.control-choice-card strong {
  font-size: 28px;
  line-height: 1.05;
}

.control-choice-card span {
  color: var(--muted);
  line-height: 1.5;
}

.control-list,
.dealer-control-list {
  display: grid;
  gap: 12px;
}

.control-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.control-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #eeeeee;
}

.control-media-button {
  border: 0;
  padding: 0;
  width: 100%;
  color: inherit;
}

.control-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.control-body {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.control-body h3,
.dealer-edit-title h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.control-title-button {
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 850;
  font-size: 16px;
  line-height: 1.25;
}

.control-body p,
.dealer-edit-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.compact-field {
  margin-bottom: 0;
}

.dealer-edit-form {
  gap: 11px;
}

.dealer-edit-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pipeline {
  margin-bottom: 14px;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.qr-card {
  align-items: flex-start;
  padding: 14px;
  background:
    linear-gradient(150deg, rgba(184, 137, 53, 0.08), rgba(255, 255, 255, 0.92)),
    var(--surface);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.05);
}

.qr-frame {
  width: 132px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 10px;
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, #ffffff, #fbfaf7);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.07);
}

.qr-cell {
  border-radius: 2px;
  background: #f0eee8;
}

.qr-cell-active {
  background: #111111;
}

.qr-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  padding: 4px;
  border-radius: 8px;
  background: #ffffff;
}

.qr-card p {
  word-break: break-word;
  margin: 8px 0;
  font-size: 13px;
}

.qr-card span {
  color: var(--gold);
  font-weight: 800;
}

.plans {
  margin-top: 8px;
}

.plan-card {
  padding: 16px;
}

.plan-featured {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(184, 137, 53, 0.16);
}

.plan-card > span {
  color: var(--gold);
  font-weight: 900;
}

.plan-card h2 {
  margin: 8px 0 12px;
  font-size: 24px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 8px;
}

.plan-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.empty-state {
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.luxury-empty {
  gap: 8px;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(184, 137, 53, 0.08), rgba(255, 255, 255, 0.88)),
    var(--surface);
}

.empty-state h2 {
  margin: 8px 0 0;
  font-size: 21px;
}

.empty-state p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.skeleton-stack {
  width: 100%;
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.skeleton-card {
  position: relative;
  overflow: hidden;
  min-height: 70px;
  padding: 9px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid rgba(233, 229, 220, 0.8);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.64);
}

.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 70%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.76), transparent);
  animation: shimmer 1650ms ease-in-out infinite;
}

.skeleton-card span,
.skeleton-card i {
  display: block;
  border-radius: var(--radius-xs);
  background: #eee9df;
}

.skeleton-card span {
  height: 52px;
}

.skeleton-card div {
  display: grid;
  align-content: center;
  gap: 8px;
}

.skeleton-card i {
  height: 8px;
}

.skeleton-card i:nth-child(1) {
  width: 76%;
}

.skeleton-card i:nth-child(2) {
  width: 52%;
}

.skeleton-card i:nth-child(3) {
  width: 34%;
}

.bottom-tabs {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: min(100%, var(--phone-max-width));
  height: 86px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  gap: 2px;
  padding: 10px 10px max(10px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(233, 229, 220, 0.7);
  box-shadow: 0 -18px 42px rgba(17, 17, 17, 0.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(20px);
}

.bottom-tabs button {
  position: relative;
  min-width: 0;
  min-height: 58px;
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-rows: 24px auto;
  place-items: center;
  gap: 2px;
  color: #777777;
  font-size: 11px;
  font-weight: 850;
  transition: transform var(--motion-tab) ease, color var(--motion-tab) ease, background var(--motion-tab) ease, box-shadow var(--motion-tab) ease;
}

.bottom-tabs button:active {
  transform: translateY(1px) scale(0.96);
}

.tab-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  opacity: 0.52;
}

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

.tab-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-tabs .active {
  color: #111111;
  background:
    linear-gradient(180deg, rgba(184, 137, 53, 0.2), rgba(245, 234, 214, 0.68)),
    rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 53, 0.16);
  transform: translateY(-1px);
}

.bottom-tabs .active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: var(--gold);
}

.bottom-tabs .active .tab-icon {
  opacity: 0.78;
  animation: tab-pop 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes tab-pop {
  0% {
    transform: translateY(2px) scale(0.92);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  z-index: 20;
  width: min(calc(100% - 32px), 360px);
  transform: translateX(-50%);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(20, 20, 20, 0.92);
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: toast-enter 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.app-toast::before {
  content: "✓";
  width: 21px;
  height: 21px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #111111;
  font-size: 13px;
  font-weight: 950;
  animation: tab-pop 320ms ease both;
}

@media (min-width: 760px) {
  .app-page {
    padding: 30px 0;
  }

  .phone-shell {
    min-height: calc(100vh - 60px);
    border-radius: 28px;
    overflow: hidden;
  }
}

@media (max-width: 360px) {
  .screen {
    padding-inline: 12px;
  }

  .car-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .control-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .stats-grid,
  .report-grid,
  .action-grid,
  .quick-grid,
  .spec-grid,
  .control-summary,
  .two-col {
    grid-template-columns: 1fr;
  }

  .featured-copy h2,
  .app-header h1,
  .large-title-header h1 {
    font-size: 29px;
  }
}

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

/* Dealer OS 27: Liquid Onyx operating surface */
.dealer-os-app {
  background:
    radial-gradient(circle at 50% -12%, rgba(200, 164, 93, 0.22), transparent 330px),
    linear-gradient(180deg, #050506 0%, #101114 46%, #050506 100%);
}

.dealer-os-shell {
  --background: #050506;
  --surface: linear-gradient(145deg, rgba(255, 253, 248, 0.1), rgba(255, 253, 248, 0.035)), #121316;
  --surface-soft: rgba(255, 253, 248, 0.075);
  --text: var(--warm-white);
  --muted: rgba(255, 253, 248, 0.62);
  --border: rgba(255, 255, 255, 0.12);
  --gold: var(--gold-soft-os);
  --gold-soft: rgba(230, 211, 161, 0.16);
  --green-soft: rgba(66, 166, 107, 0.14);
  --amber-soft: rgba(216, 160, 61, 0.14);
  --red-soft: rgba(200, 90, 90, 0.14);
  --info-soft: rgba(79, 125, 220, 0.14);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.24);
  background: var(--onyx-black);
  color: var(--warm-white);
  color-scheme: dark;
}

.dealer-os-shell .screen {
  padding: max(18px, env(safe-area-inset-top)) 14px calc(176px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 15% 0%, rgba(200, 164, 93, 0.18), transparent 230px),
    radial-gradient(circle at 88% 22%, rgba(79, 125, 220, 0.08), transparent 180px),
    linear-gradient(180deg, #050506 0%, #101114 52%, #050506 100%);
  animation: os-screen-enter var(--motion-screen-os) cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes os-screen-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.motion-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 2px 18px;
}

.motion-header span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 12px;
  font-weight: 850;
}

.motion-header h1 {
  margin: 0;
  color: var(--warm-white);
  font-size: clamp(30px, 9vw, 42px);
  line-height: 0.96;
  letter-spacing: 0;
}

.smart-action-button,
.text-link-button {
  min-height: 38px;
  border: 1px solid rgba(230, 211, 161, 0.26);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 253, 248, 0.08);
  color: var(--gold-soft-os);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.os-control-surface,
.os-cars-surface,
.os-customers-surface,
.os-flow-surface,
.os-menu-surface {
  display: grid;
  gap: 16px;
}

.control-hero,
.flow-pulse-card,
.demand-pulse-hero {
  position: relative;
  overflow: hidden;
  min-height: 242px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 22px;
  display: grid;
  align-content: end;
  gap: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 74% 14%, rgba(200, 164, 93, 0.35), transparent 150px),
    linear-gradient(135deg, #121316, #050506);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.control-hero::before,
.flow-pulse-card::before,
.demand-pulse-hero::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 122px;
  height: 122px;
  border: 1px solid rgba(230, 211, 161, 0.22);
  border-radius: 999px;
  box-shadow: inset 0 0 34px rgba(200, 164, 93, 0.12);
}

.hero-orbit {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background:
    conic-gradient(from 130deg, rgba(200, 164, 93, 0), rgba(200, 164, 93, 0.92), rgba(79, 125, 220, 0.2), rgba(200, 164, 93, 0));
  filter: drop-shadow(0 0 20px rgba(200, 164, 93, 0.24));
  animation: os-orbit 7s linear infinite;
}

@keyframes os-orbit {
  to {
    transform: rotate(1turn);
  }
}

.control-hero span,
.flow-pulse-card span,
.demand-pulse-hero span {
  position: relative;
  z-index: 1;
  color: var(--gold-soft-os);
  font-size: 12px;
  font-weight: 950;
}

.control-hero h2,
.flow-pulse-card h2,
.demand-pulse-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 320px;
  color: var(--warm-white);
  font-size: clamp(34px, 10vw, 42px);
  line-height: 0.98;
}

.control-hero h2 strong {
  color: var(--gold-soft-os);
}

.control-hero p,
.flow-pulse-card p,
.demand-pulse-hero p {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
  line-height: 1.45;
}

.control-hero .button {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: 4px;
}

.opportunity-stack {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
}

.opportunity-card {
  position: relative;
  min-height: 108px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 14px;
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  gap: 12px;
  background:
    linear-gradient(140deg, rgba(255, 253, 248, 0.12), rgba(255, 253, 248, 0.04)),
    #121316;
  color: var(--warm-white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  animation: os-card-enter var(--motion-card) cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 42ms);
}

@keyframes os-card-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.opportunity-grip {
  width: 7px;
  border-radius: 999px;
  background: var(--gold-os);
}

.urgency-high .opportunity-grip {
  background: var(--danger-os);
  box-shadow: 0 0 24px rgba(200, 90, 90, 0.32);
}

.urgency-success .opportunity-grip {
  background: var(--success-os);
}

.urgency-blue .opportunity-grip {
  background: var(--blue-signal);
}

.opportunity-card span {
  color: rgba(255, 253, 248, 0.52);
  font-size: 11px;
  font-weight: 900;
}

.opportunity-card h3 {
  margin: 4px 0;
  color: var(--warm-white);
  font-size: 18px;
  line-height: 1.15;
}

.opportunity-card p {
  margin: 0 0 12px;
  color: rgba(255, 253, 248, 0.64);
}

.opportunity-actions {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.opportunity-actions button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.live-mini-feed,
.live-flow-list,
.cinematic-list,
.deal-preview-list,
.certificate-list {
  display: grid;
  gap: 10px;
}

.live-flow-card {
  width: 100%;
  border: 1px solid rgba(18, 19, 22, 0.08);
  border-radius: 20px;
  padding: 12px;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  background: rgba(255, 253, 248, 0.9);
  color: #121316;
  text-align: start;
  box-shadow: 0 14px 34px rgba(5, 5, 6, 0.08);
  animation: os-card-enter var(--motion-card) ease both;
}

.live-flow-card.compact {
  background: rgba(255, 253, 248, 0.1);
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.12);
}

.flow-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--gold-os);
  box-shadow: 0 0 0 6px rgba(200, 164, 93, 0.1);
}

.tone-blue .flow-dot {
  background: var(--blue-signal);
}

.tone-success .flow-dot {
  background: var(--success-os);
}

.tone-danger .flow-dot {
  background: var(--danger-os);
}

.live-flow-card strong {
  display: block;
  font-size: 14px;
}

.live-flow-card p {
  margin: 2px 0 0;
  color: inherit;
  opacity: 0.62;
  line-height: 1.35;
}

.live-flow-card time {
  color: inherit;
  opacity: 0.5;
  font-size: 11px;
  font-weight: 900;
}

.os-search {
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  background: rgba(255, 253, 248, 0.08);
  backdrop-filter: blur(18px);
}

.os-search span {
  color: var(--gold-soft-os);
  font-weight: 950;
}

.os-search input {
  border: 0;
  background: transparent;
  color: var(--warm-white);
  padding: 8px 0;
}

.os-search input::placeholder {
  color: rgba(255, 253, 248, 0.5);
}

.os-filter-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px;
}

.os-filter-strip button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 253, 248, 0.08);
  color: rgba(255, 253, 248, 0.72);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.os-filter-strip .active {
  background: var(--gold-soft-os);
  color: #121316;
  border-color: transparent;
}

.featured-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 82%);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.cinematic-car-card {
  position: relative;
  width: 100%;
  min-height: 198px;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  display: block;
  padding: 0;
  background: #111;
  color: #fff;
  text-align: start;
  scroll-snap-align: start;
  box-shadow: 0 22px 48px rgba(5, 5, 6, 0.18);
  transform: translateZ(0);
}

.cinematic-car-card.large {
  min-height: 276px;
}

.car-parallax,
.car-glass {
  position: absolute;
  inset: 0;
}

.car-parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cinematic-car-card:active {
  transform: scale(0.98);
}

.cinematic-car-card:hover .car-parallax img {
  transform: scale(1.075);
}

.car-glass {
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.04), rgba(5, 5, 6, 0.44) 48%, rgba(5, 5, 6, 0.92)),
    radial-gradient(circle at 80% 18%, rgba(230, 211, 161, 0.18), transparent 150px);
}

.cinematic-car-content {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(74px, 88px);
  gap: 10px;
  align-items: end;
}

.cinematic-car-content h3 {
  margin: 8px 0 4px;
  color: #fff;
  font-size: 20px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.cinematic-car-content p,
.cinematic-car-meta span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.cinematic-car-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 0;
  text-align: end;
}

.cinematic-car-meta strong {
  color: var(--gold-soft-os);
  max-width: 100%;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.car-status-ring,
.readiness-score-ring {
  --score: 70;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #121316 0 56%, transparent 57%),
    conic-gradient(var(--gold-os) calc(var(--score) * 1%), rgba(255, 255, 255, 0.18) 0);
  color: var(--warm-white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: ring-fill var(--motion-ring) ease both;
}

.car-status-ring strong {
  font-size: 16px;
  line-height: 1;
}

.car-status-ring span {
  display: none;
}

.product-theater-hero {
  position: relative;
  min-height: min(680px, 78vh);
  border-radius: 34px;
  overflow: hidden;
  background: #050506;
  box-shadow: 0 34px 80px rgba(5, 5, 6, 0.28);
}

.theater-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #050506;
  cursor: zoom-in;
}

.theater-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-theater-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.02), rgba(5, 5, 6, 0.34) 44%, rgba(5, 5, 6, 0.86));
  pointer-events: none;
}

.floating-price-panel {
  position: absolute;
  z-index: 1;
  top: 18px;
  inset-inline-end: 18px;
  max-width: 178px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 12px;
  background: rgba(5, 5, 6, 0.42);
  color: #fff;
  backdrop-filter: blur(18px);
  animation: price-float var(--motion-hero) ease both;
}

@keyframes price-float {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.floating-price-panel span {
  color: var(--gold-soft-os);
  font-size: 11px;
  font-weight: 900;
}

.floating-price-panel strong {
  display: block;
  margin: 4px 0;
  color: #fff;
  font-size: 20px;
}

.floating-price-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.35;
}

.theater-title {
  position: absolute;
  z-index: 1;
  inset-inline: 20px;
  bottom: 22px;
  color: #fff;
}

.theater-title h2 {
  margin: 0 0 6px;
  font-size: clamp(34px, 11vw, 42px);
  line-height: 0.95;
}

.theater-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.minimal-specs,
.certificate-grid,
.demand-pulse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.minimal-specs article,
.interest-layer,
.next-best-action,
.customer-identity-card {
  border: 1px solid rgba(18, 19, 22, 0.08);
  border-radius: 22px;
  padding: 14px;
  background: var(--warm-white);
  color: #121316;
  box-shadow: 0 14px 34px rgba(5, 5, 6, 0.08);
}

.minimal-specs span,
.certificate-grid span,
.next-best-action span,
.customer-identity-card span {
  display: block;
  color: #8d8981;
  font-size: 11px;
  font-weight: 900;
}

.minimal-specs strong,
.certificate-grid strong,
.next-best-action strong {
  color: #121316;
  font-size: 16px;
}

.interest-layer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.trust-certificate {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 19, 22, 0.08);
  border-radius: 30px;
  padding: 18px;
  display: grid;
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(247, 242, 232, 0.86)),
    var(--warm-white);
  color: #121316;
  box-shadow: 0 20px 48px rgba(5, 5, 6, 0.1);
  animation: cert-reveal var(--motion-cert) ease both;
}

.trust-certificate.dark {
  background:
    radial-gradient(circle at 80% 0%, rgba(200, 164, 93, 0.22), transparent 160px),
    linear-gradient(145deg, #1c1d21, #050506);
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.14);
}

@keyframes cert-reveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

.certificate-seal {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 164, 93, 0.52);
  color: var(--gold-deep-os);
  background: radial-gradient(circle, rgba(230, 211, 161, 0.45), rgba(200, 164, 93, 0.08));
  box-shadow: 0 0 28px rgba(200, 164, 93, 0.18);
  animation: seal-pulse 2600ms ease-in-out infinite;
}

@keyframes seal-pulse {
  50% {
    box-shadow: 0 0 42px rgba(200, 164, 93, 0.3);
  }
}

.certificate-copy h3 {
  margin: 4px 0;
  font-size: 22px;
  line-height: 1.05;
}

.certificate-copy p {
  margin: 0;
  color: inherit;
  opacity: 0.62;
}

.certificate-grid article {
  border-radius: 18px;
  padding: 11px;
  background: rgba(18, 19, 22, 0.04);
}

.trust-certificate.dark .certificate-grid article {
  background: rgba(255, 255, 255, 0.07);
}

.trust-certificate.dark .certificate-grid strong,
.trust-certificate.dark .certificate-copy h3 {
  color: var(--warm-white);
}

.certificate-qr {
  width: 98px;
  aspect-ratio: 1;
  border-radius: 18px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  background: #121316;
  color: var(--gold-soft-os);
}

.certificate-qr i,
.certificate-qr strong {
  border-radius: 6px;
  background: var(--gold-soft-os);
}

.certificate-qr strong {
  display: grid;
  place-items: center;
  color: #121316;
  font-size: 12px;
}

.certificate-button {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: start;
}

.customer-identity-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.customer-identity-card h2 {
  margin: 4px 0;
  font-size: 30px;
  line-height: 1;
}

.customer-identity-card p,
.next-best-action p {
  margin: 0;
  color: #6e6a63;
}

.deal-timeline {
  position: relative;
  display: grid;
  gap: 8px;
}

.deal-timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: rgba(200, 164, 93, 0.26);
}

.deal-timeline button {
  position: relative;
  border: 1px solid rgba(18, 19, 22, 0.08);
  border-radius: 18px;
  padding: 10px 12px 10px 50px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  background: var(--warm-white);
  color: #121316;
  text-align: start;
}

.phone-shell[dir="rtl"] .deal-timeline button {
  padding: 10px 50px 10px 12px;
}

.deal-timeline span {
  position: absolute;
  inset-inline-start: 10px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e9dfc9;
  color: #121316;
  font-size: 11px;
  font-weight: 950;
}

.deal-timeline .done span,
.deal-timeline .active span {
  background: var(--gold-os);
  color: #050506;
}

.deal-timeline strong {
  font-size: 14px;
}

.hot-customer-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(146px, 46%);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hot-customer-row button {
  min-height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 12px;
  display: grid;
  align-content: space-between;
  background: rgba(255, 253, 248, 0.1);
  color: var(--warm-white);
  text-align: start;
}

.hot-customer-row span {
  color: var(--gold-soft-os);
  font-size: 12px;
  font-weight: 900;
}

.demand-pulse-grid {
  grid-template-columns: 1fr;
}

.demand-pulse-card {
  border: 1px solid rgba(18, 19, 22, 0.08);
  border-radius: 24px;
  padding: 16px;
  background: var(--warm-white);
  color: #121316;
  box-shadow: 0 16px 38px rgba(5, 5, 6, 0.08);
}

.demand-pulse-card span {
  color: var(--gold-deep-os);
  font-size: 12px;
  font-weight: 950;
}

.demand-pulse-card h3 {
  margin: 6px 0;
  font-size: 20px;
  line-height: 1.1;
}

.demand-pulse-card p {
  margin: 0;
  color: #6e6a63;
}

.demand-meter {
  height: 7px;
  margin: 14px 0 8px;
  border-radius: 999px;
  background: rgba(18, 19, 22, 0.08);
  overflow: hidden;
}

.demand-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep-os), var(--gold-soft-os));
  animation: progress-fill-in 800ms ease both;
}

.dealer-os-shell input,
.dealer-os-shell textarea,
.dealer-os-shell select {
  background: rgba(255, 253, 248, 0.075);
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.dealer-os-shell input::placeholder,
.dealer-os-shell textarea::placeholder {
  color: rgba(255, 253, 248, 0.42);
}

.dealer-os-shell input[type="checkbox"] {
  background: rgba(255, 253, 248, 0.08);
  accent-color: var(--gold-os);
}

.dealer-os-shell .chip,
.dealer-os-shell .check-item,
.dealer-os-shell .timeline-item,
.dealer-os-shell .assistant-output article,
.dealer-os-shell .demand-bars article,
.dealer-os-shell .budget-range-grid article,
.dealer-os-shell .control-choice-card,
.dealer-os-shell .control-card,
.dealer-os-shell .qr-discovery-card,
.dealer-os-shell .qr-card,
.dealer-os-shell .luxury-empty,
.dealer-os-shell .skeleton-card,
.dealer-os-shell .trust-card,
.dealer-os-shell .live-flow-card,
.dealer-os-shell .minimal-specs article,
.dealer-os-shell .interest-layer,
.dealer-os-shell .next-best-action,
.dealer-os-shell .customer-identity-card,
.dealer-os-shell .trust-certificate,
.dealer-os-shell .deal-timeline button,
.dealer-os-shell .demand-pulse-card {
  background:
    radial-gradient(circle at 86% 0%, rgba(200, 164, 93, 0.12), transparent 150px),
    linear-gradient(145deg, rgba(255, 253, 248, 0.1), rgba(255, 253, 248, 0.035)),
    #121316;
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.dealer-os-shell .live-flow-card.compact,
.dealer-os-shell .os-menu-list button,
.dealer-os-shell .command-grid button,
.dealer-os-shell .hot-customer-row button {
  background: rgba(255, 253, 248, 0.09);
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.13);
}

.dealer-os-shell .minimal-specs span,
.dealer-os-shell .certificate-grid span,
.dealer-os-shell .next-best-action span,
.dealer-os-shell .customer-identity-card span,
.dealer-os-shell .demand-pulse-card span,
.dealer-os-shell .budget-range-grid span,
.dealer-os-shell .budget-range-grid small,
.dealer-os-shell .qr-card span {
  color: var(--gold-soft-os);
}

.dealer-os-shell .minimal-specs strong,
.dealer-os-shell .certificate-grid strong,
.dealer-os-shell .next-best-action strong,
.dealer-os-shell .customer-identity-card h2,
.dealer-os-shell .demand-pulse-card h3,
.dealer-os-shell .control-choice-card strong,
.dealer-os-shell .control-title-button,
.dealer-os-shell .trust-card h3,
.dealer-os-shell .qr-discovery-card h2,
.dealer-os-shell .qr-card h3,
.dealer-os-shell .empty-state h2 {
  color: var(--warm-white);
}

.dealer-os-shell .customer-identity-card p,
.dealer-os-shell .next-best-action p,
.dealer-os-shell .demand-pulse-card p,
.dealer-os-shell .control-choice-card span,
.dealer-os-shell .control-body p,
.dealer-os-shell .dealer-edit-title p,
.dealer-os-shell .assistant-card-head p,
.dealer-os-shell .trust-card-head p,
.dealer-os-shell .network-request-card p,
.dealer-os-shell .network-offer-card p,
.dealer-os-shell .trust-card p,
.dealer-os-shell .message-template p,
.dealer-os-shell .qr-discovery-card p,
.dealer-os-shell .qr-card p,
.dealer-os-shell .empty-state p,
.dealer-os-shell .activity-list p,
.dealer-os-shell .note-list p,
.dealer-os-shell .employee-list span,
.dealer-os-shell .note-list small,
.dealer-os-shell .scan-card span {
  color: rgba(255, 253, 248, 0.62);
}

.dealer-os-shell .certificate-grid article {
  background: rgba(255, 253, 248, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.dealer-os-shell .certificate-seal {
  color: var(--gold-soft-os);
  background: radial-gradient(circle, rgba(230, 211, 161, 0.24), rgba(200, 164, 93, 0.08));
}

.dealer-os-shell .demand-meter {
  background: rgba(255, 253, 248, 0.11);
}

.dealer-os-shell .deal-timeline span {
  background: rgba(230, 211, 161, 0.18);
  color: var(--gold-soft-os);
  border: 1px solid rgba(230, 211, 161, 0.24);
}

.dealer-os-shell .deal-timeline .done span,
.dealer-os-shell .deal-timeline .active span {
  background: var(--gold-soft-os);
  color: #050506;
  border-color: transparent;
}

.dealer-os-shell .skeleton-card {
  border-color: rgba(255, 255, 255, 0.1);
}

.dealer-os-shell .skeleton-card::after {
  background: linear-gradient(90deg, transparent, rgba(255, 253, 248, 0.16), transparent);
}

.dealer-os-shell .skeleton-card span,
.dealer-os-shell .skeleton-card i {
  background: rgba(255, 253, 248, 0.1);
}

.dealer-os-shell .qr-frame {
  border-color: rgba(230, 211, 161, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(246, 239, 224, 0.94));
}

.dealer-os-shell .qr-icon {
  background: rgba(255, 253, 248, 0.96);
}

.os-menu-list button {
  background: rgba(255, 253, 248, 0.1);
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.12);
}

.os-menu-surface .language-panel {
  background:
    radial-gradient(circle at 86% 0%, rgba(200, 164, 93, 0.12), transparent 150px),
    linear-gradient(145deg, rgba(255, 253, 248, 0.1), rgba(255, 253, 248, 0.035)),
    #121316;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  color: var(--warm-white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.os-menu-surface .language-panel h3 {
  color: var(--warm-white);
}

.dealer-os-shell .segmented,
.dealer-os-shell .pipeline {
  background: rgba(5, 5, 6, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.os-menu-surface .segmented button {
  color: rgba(255, 253, 248, 0.64);
  background: rgba(255, 253, 248, 0.075);
  border-color: rgba(255, 255, 255, 0.12);
}

.os-menu-surface .segmented .active {
  color: #050506;
  background: var(--gold-soft-os);
  border-color: transparent;
}

.os-menu-list {
  padding-bottom: 18px;
}

.os-profile-panel {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.12), rgba(255, 253, 248, 0.04)),
    #121316;
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.12);
}

.floating-command-dock {
  left: 50%;
  bottom: max(10px, env(safe-area-inset-bottom));
  width: min(calc(100% - 28px), 402px);
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 8px;
  align-items: center;
  background: rgba(18, 19, 22, 0.74);
  box-shadow: 0 -10px 50px rgba(5, 5, 6, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(1.22);
}

.floating-command-dock button {
  min-height: 54px;
  grid-template-rows: 24px auto;
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.58);
}

.floating-command-dock .active {
  color: #050506;
  background: var(--gold-soft-os);
  box-shadow: 0 10px 26px rgba(200, 164, 93, 0.22);
}

.floating-command-dock .active::after {
  bottom: 3px;
  background: #050506;
}

.floating-command-dock .tab-label {
  opacity: 0;
  max-width: 0;
  transition: opacity var(--motion-dock) ease, max-width var(--motion-dock) ease;
}

.floating-command-dock .active .tab-label {
  opacity: 1;
  max-width: 72px;
}

.dock-gold-line {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(230, 211, 161, 0.58), transparent);
  pointer-events: none;
}

.command-orb {
  position: fixed;
  left: calc(50% - min(172px, calc(50vw - 22px)));
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 24;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(230, 211, 161, 0.42);
  border-radius: 999px;
  display: grid;
  place-items: center;
  transform: none;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.5), transparent 18%),
    linear-gradient(145deg, var(--gold-soft-os), var(--gold-os));
  color: #050506;
  box-shadow: 0 20px 44px rgba(5, 5, 6, 0.34), 0 0 36px rgba(200, 164, 93, 0.28);
  transition: transform var(--motion-orb) ease;
}

.command-orb:active,
.command-orb.active {
  transform: scale(0.94) rotate(45deg);
}

.command-orb strong {
  font-size: 29px;
  line-height: 1;
}

.command-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 23;
  display: grid;
  align-items: end;
  padding: 18px 14px calc(150px + env(safe-area-inset-bottom));
  background: rgba(5, 5, 6, 0.45);
  backdrop-filter: blur(10px);
  animation: viewer-fade 180ms ease both;
}

.radial-command-sheet {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  padding: 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 164, 93, 0.16), transparent 190px),
    rgba(18, 19, 22, 0.92);
  color: var(--warm-white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
  animation: sheet-rise var(--motion-orb) cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes sheet-rise {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.radial-command-sheet header {
  padding: 0 6px 12px;
}

.radial-command-sheet span {
  color: var(--gold-soft-os);
  font-size: 12px;
  font-weight: 900;
}

.radial-command-sheet h2 {
  margin: 3px 0 0;
  font-size: 24px;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.command-grid button {
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 12px;
  background: rgba(255, 253, 248, 0.08);
  color: var(--warm-white);
  text-align: start;
  font-weight: 900;
}

.phone-shell[dir="rtl"] .motion-header,
.phone-shell[dir="rtl"] .cinematic-car-content,
.phone-shell[dir="rtl"] .live-flow-card,
.phone-shell[dir="rtl"] .customer-identity-card,
.phone-shell[dir="rtl"] .opportunity-card,
.phone-shell[dir="rtl"] .command-grid button {
  text-align: right;
}

.phone-shell[dir="rtl"] .command-orb {
  right: calc(50% - min(172px, calc(50vw - 22px)));
  left: auto;
}

.phone-shell[dir="rtl"] .deal-timeline::before,
.phone-shell[dir="rtl"] .deal-timeline span {
  inset-inline-start: auto;
  inset-inline-end: 18px;
}

.phone-shell[dir="rtl"] .deal-timeline span {
  inset-inline-end: 10px;
}

@media (orientation: landscape) {
  .image-viewer-frame img {
    object-fit: contain;
    background: #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit,
  .certificate-seal,
  .opportunity-card,
  .live-flow-card,
  .cinematic-car-card,
  .trust-certificate,
  .control-hero,
  .radial-command-sheet {
    animation: none !important;
  }
}
