:root {
  --background: #06090d;
  --foreground: #edf4f2;
  --card: #0d141b;
  --muted: #151f29;
  --muted-foreground: #93a1ad;
  --border: rgba(167, 184, 197, .16);
  --primary: #02060b;
  --primary-foreground: #ffffff;
  --accent: #72f000;
  --accent-foreground: #030701;
  --secondary: #0b241c;
  --danger: #b91c1c;
  --cyan: #00d7ff;
  --violet: #8794a6;
  --amber: #e3b341;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image:
    linear-gradient(120deg, rgba(114,240,0,.05), transparent 28%),
    linear-gradient(180deg, #091017 0%, #06090d 46%, #080c11 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.font-display {
  font-family: "Exo 2", Inter, sans-serif;
}

.font-mono {
  font-family: "DM Mono", ui-monospace, monospace;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 9, 13, .94);
  border-bottom: 1px solid rgba(114,240,0,.22);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: #020403;
  border: 1px solid rgba(114,240,0,.36);
  box-shadow: 0 0 0 1px rgba(0,0,0,.65), 0 0 26px rgba(114,240,0,.18);
}

.brand-logo-full {
  width: 188px;
  height: 58px;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand strong {
  color: var(--accent);
}

.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13,20,27,.92);
  border: 1px solid rgba(114,240,0,.18);
  border-radius: 6px;
  padding: 10px 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.header-search span {
  color: var(--accent);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 14px;
}

.header-search input::placeholder {
  color: #7d8b96;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 900;
  font-family: "Exo 2", Inter, sans-serif;
  letter-spacing: .01em;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 12px 22px rgba(0,0,0,.28);
  transition: opacity .2s, background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.btn:hover {
  opacity: .96;
  transform: translateY(-1px);
}

.btn-primary {
  background: #050b12;
  border-color: #1f2c3a;
  color: var(--primary-foreground);
}

.btn-accent {
  background: linear-gradient(135deg, #72f000, #05d871);
  border-color: rgba(114,240,0,.42);
  color: var(--accent-foreground);
}

.btn-muted {
  background: #14202b;
  border-color: #223241;
  color: #d9e2e9;
}

.btn-line {
  background: transparent;
  border: 1px solid #2d3d4d;
  color: #d8e1e7;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-share {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06111d, #122232);
  border-color: rgba(0,215,255,.46);
  color: #edf4f2;
}

.btn-share::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0,215,255,.74);
}

.btn-share.is-copied {
  border-color: rgba(114,240,0,.72);
  background: linear-gradient(135deg, #082113, #12331f);
}

.btn-danger {
  background: #b91c1c;
  color: #fff;
}

.btn-sm {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 6px;
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(4, 18, 12, .95) 0%, rgba(5, 13, 20, .98) 45%, rgba(4, 7, 12, 1) 100%);
  border-bottom: 1px solid rgba(114,240,0,.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background:
    linear-gradient(90deg, rgba(114,240,0,.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 18% 44%, rgba(114,240,0,.35) 0%, transparent 36%),
    radial-gradient(circle at 84% 18%, rgba(0,215,255,.22) 0%, transparent 34%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.hero-inner {
  position: relative;
  padding: 62px 0 78px;
  max-width: 820px;
}

.hero-logo {
  width: min(360px, 86vw);
  height: 130px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: 0 0 22px;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.48));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-radius: 4px;
  background: rgba(8,15,22,.82);
  border: 1px solid rgba(114,240,0,.26);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  font-family: "DM Mono", ui-monospace, monospace;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(14, 224, 123, .6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(14, 224, 123, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 224, 123, 0); }
}

.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.03;
  margin: 20px 0 16px;
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: rgba(255,255,255,.68);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.search-box {
  background: rgba(3, 7, 12, .9);
  border: 1px solid rgba(114,240,0,.24);
  border-radius: 6px;
  box-shadow: 0 24px 46px rgba(0,0,0,.42);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px auto;
  gap: 8px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111923;
  border: 1px solid #253443;
  border-radius: 5px;
  padding: 0 12px;
  min-height: 44px;
}

.search-field span {
  color: var(--accent);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 900;
}

.search-field input,
.search-field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--foreground);
  font-size: 14px;
}

.search-field input::placeholder,
.search-field select::placeholder {
  color: #7f8c98;
}

.filterbar {
  position: sticky;
  top: 73px;
  z-index: 40;
  background: rgba(8, 13, 19, .96);
  border-bottom: 1px solid rgba(114,240,0,.15);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.filterbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
}

.chip {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 8px 15px;
  white-space: nowrap;
  background: #111923;
  color: var(--muted-foreground);
  font-weight: 800;
  font-family: "Exo 2", Inter, sans-serif;
}

.chip.active {
  background: var(--accent);
  border-color: rgba(114,240,0,.55);
  color: #06110b;
}

.section {
  padding: 30px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.stat-card,
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(0,0,0,.24);
}

.stat-card {
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: linear-gradient(180deg, #111a23, #0b1118);
}

.stat-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  flex: 0 0 auto;
  background: #06110b;
  border: 1px solid rgba(114,240,0,.34);
  color: var(--accent);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 900;
}

.stat-card b {
  display: block;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.stat-card span {
  color: var(--muted-foreground);
  font-size: 12px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.section-title h2,
.page-title {
  margin: 0;
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title small {
  color: var(--muted-foreground);
  font-weight: 400;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.vehicle-card {
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  background: linear-gradient(180deg, #101923, #0b1118);
  border-color: rgba(167,184,197,.18);
}

.vehicle-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0,0,0,.35), 0 0 0 1px rgba(114,240,0,.12);
}

.vehicle-card.featured {
  box-shadow: 0 0 0 2px rgba(114,240,0,.42), 0 22px 44px rgba(0,0,0,.34);
}

.managed-listing {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.managed-listing .vehicle-card {
  flex: 1;
}

.listing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  background: #071017;
  border: 1px solid rgba(114,240,0,.16);
  border-radius: 6px;
}

.listing-actions form {
  margin: 0;
}

.listing-actions .btn {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 20px rgba(0,0,0,.26);
}

.listing-actions .btn-muted {
  background: #1b2835;
  border-color: #334454;
  color: #e9f1f5;
}

.listing-actions .btn-line {
  background: #0b1118;
  border-color: #3b4857;
  color: #ffffff;
}

.listing-actions .btn-primary {
  background: #102d1e;
  border-color: #11834a;
  color: #c7f9df;
}

.listing-actions .btn-danger {
  background: #8f1212;
  border-color: #b91c1c;
  color: #ffffff;
}

.listing-media-status {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(10,18,28,.96), rgba(5,10,16,.96));
  border: 1px solid rgba(0,212,255,.18);
  border-radius: 6px;
}

.listing-media-status span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(14, 27, 40, .94);
  border: 1px solid rgba(167,184,197,.16);
  color: #dce9f1;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsor-strip {
  background: var(--accent);
  color: var(--accent-foreground);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 12px;
}

.vehicle-media {
  height: 202px;
  background: linear-gradient(135deg, #050a10, #162435);
  display: block;
  overflow: hidden;
}

.vehicle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.vehicle-card:hover .vehicle-media img {
  transform: scale(1.04);
}

.vehicle-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.72);
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  font-size: 36px;
}

.vehicle-body {
  padding: 16px;
}

.vehicle-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.vehicle-title {
  margin: 0;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.vehicle-version {
  color: var(--muted-foreground);
  font-size: 13px;
  margin-top: 3px;
}

.badge {
  border-radius: 4px;
  padding: 4px 8px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-electric { background: #0f2c50; color: #9fdcff; border: 1px solid #235278; }
.badge-hybrid { background: #0b2f1d; color: #9bf7c3; border: 1px solid #176f43; }
.badge-plugin { background: #251f37; color: #c5b8ff; border: 1px solid #514177; }
.badge-muted { background: var(--muted); color: var(--muted-foreground); border: 1px solid var(--border); }
.badge-good { background: #0b2f1d; color: #9bf7c3; border: 1px solid #176f43; }
.badge-warn { background: #392812; color: #ffd47d; border: 1px solid #6d4b19; }

.price {
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  font-size: 23px;
  margin: 14px 0 8px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.vehicle-actions {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.empty {
  text-align: center;
  color: var(--muted-foreground);
  padding: 58px 20px;
}

.cta {
  margin-top: 44px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #050a10;
  color: #fff;
  border: 1px solid rgba(114,240,0,.18);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(114,240,0,.14) 1px, transparent 1px),
    radial-gradient(circle at 80% 50%, #72f000 0%, transparent 54%);
  background-size: 42px 42px, auto;
  opacity: .3;
}

.cta-inner {
  position: relative;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta h3 {
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.cta p {
  margin: 0;
  color: rgba(255,255,255,.65);
}

.bio-page {
  min-height: calc(100vh - 72px);
  padding: 42px 0 56px;
  background:
    linear-gradient(120deg, rgba(114,240,0,.08), transparent 34%),
    linear-gradient(180deg, #091017 0%, #06090d 100%);
}

.bio-wrap {
  max-width: 760px;
}

.bio-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(114,240,0,.2);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(114,240,0,.08) 1px, transparent 1px),
    linear-gradient(180deg, #101923, #080d13);
  background-size: 44px 44px, auto;
  box-shadow: 0 28px 58px rgba(0,0,0,.34);
  padding: 34px;
}

.bio-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}

.bio-profile {
  position: relative;
  text-align: center;
}

.bio-logo {
  width: min(320px, 100%);
  height: 116px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.5));
}

.bio-eyebrow {
  margin-bottom: 18px;
}

.bio-profile h1 {
  margin: 0 auto 14px;
  max-width: 620px;
  color: #fff;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bio-profile p {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(237,244,242,.72);
  font-size: 16px;
  line-height: 1.58;
}

.bio-actions {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 28px 0 20px;
}

.bio-main-link {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(167,184,197,.18);
  border-radius: 6px;
  background: rgba(7, 13, 19, .94);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 14px 28px rgba(0,0,0,.28);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}

.bio-main-link:hover {
  transform: translateY(-2px);
  border-color: rgba(0,215,255,.46);
  background: #101b26;
  box-shadow: 0 18px 36px rgba(0,0,0,.34);
}

.bio-whatsapp-link {
  border-color: rgba(37,211,102,.42);
  background: linear-gradient(135deg, rgba(9, 43, 25, .96), rgba(8, 17, 24, .96));
}

.bio-whatsapp-link:hover {
  border-color: rgba(37,211,102,.78);
}

.bio-link-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114,240,0,.34);
  border-radius: 5px;
  background: #06110b;
  color: var(--accent);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 900;
}

.bio-whatsapp-link .bio-link-icon {
  border-color: rgba(37,211,102,.52);
  background: #0b2f1d;
  color: #9bf7c3;
}

.bio-link-text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.bio-link-text strong {
  color: #fff;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.bio-link-text small {
  color: rgba(237,244,242,.64);
  line-height: 1.35;
}

.bio-proof-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.bio-proof {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(167,184,197,.14);
  border-radius: 6px;
  background: rgba(6, 10, 15, .74);
  text-align: center;
}

.bio-proof b {
  color: var(--accent);
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.bio-proof span {
  color: var(--muted-foreground);
  font-size: 12px;
  text-transform: uppercase;
}

.flash-wrap {
  position: fixed;
  z-index: 100;
  right: 18px;
  top: 82px;
  width: min(420px, calc(100% - 36px));
}

.flash {
  background: #0f1720;
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(0,0,0,.32);
  padding: 13px 15px;
  margin-bottom: 10px;
  font-size: 14px;
}

.flash.danger {
  border-left-color: var(--danger);
}

.flash.warning {
  border-left-color: var(--amber);
}

.form-page {
  padding: 38px 0;
}

.form-card {
  width: min(620px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #101923, #0b1118);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px;
  box-shadow: 0 24px 48px rgba(0,0,0,.32);
}

.form-card.wide {
  width: min(820px, 100%);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  color: var(--muted-foreground);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #253443;
  outline: 0;
  background: #101923;
  color: var(--foreground);
  border-radius: 5px;
  min-height: 44px;
  padding: 11px 12px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(114,240,0,.62);
  box-shadow: 0 0 0 3px rgba(114,240,0,.12);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.plans {
  display: grid;
  gap: 12px;
}

.plan-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #0f1720;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
  cursor: pointer;
}

.plan-option input {
  margin-top: 4px;
}

.plan-option strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: "Exo 2", Inter, sans-serif;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.detail-photo {
  height: 380px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(135deg, #050a10, #162435);
  border: 1px solid var(--border);
}

.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-card {
  padding: 22px;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.detail-head h1 {
  margin: 0;
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  line-height: 1.12;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.spec {
  background: var(--muted);
  border-radius: 5px;
  padding: 13px;
  text-align: center;
  border: 1px solid var(--border);
}

.spec small {
  color: var(--muted-foreground);
  display: block;
  margin-bottom: 4px;
}

.spec b {
  font-size: 14px;
}

.side-stack {
  display: grid;
  gap: 14px;
}

.detail-action-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, .8fr) minmax(320px, 1.2fr) minmax(240px, .8fr);
  align-items: start;
}

.detail-action-grid .detail-card {
  height: 100%;
}

.detail-action-grid form {
  margin: 0;
}

.seller {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.share-card {
  border-color: rgba(0,215,255,.24);
  background:
    linear-gradient(135deg, rgba(0,215,255,.08), transparent 42%),
    #0d141b;
}

.share-card h3 {
  letter-spacing: .01em;
}

.share-card .muted {
  font-size: 14px;
  line-height: 1.55;
}

.share-whatsapp-link {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  color: #9fffd0;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.share-whatsapp-link:hover {
  color: var(--accent);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  background: #06110b;
  border: 1px solid rgba(114,240,0,.34);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

th {
  background: #111923;
  color: var(--muted-foreground);
  font-size: 12px;
  font-family: "DM Mono", ui-monospace, monospace;
}

tr:last-child td {
  border-bottom: 0;
}

.tabs {
  display: flex;
  gap: 6px;
  background: var(--muted);
  padding: 5px;
  border-radius: 6px;
  width: fit-content;
  margin: 18px 0;
  flex-wrap: wrap;
}

.tabs a {
  border-radius: 4px;
  padding: 9px 15px;
  color: var(--muted-foreground);
  font-weight: 800;
  font-family: "Exo 2", Inter, sans-serif;
}

.tabs a.active {
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.admin-nav {
  position: sticky;
  top: 73px;
  z-index: 35;
  background: rgba(8, 13, 19, .96);
  border-bottom: 1px solid var(--border);
}

.admin-nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  overflow-x: auto;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.kpi {
  padding: 18px;
}

.kpi small {
  color: var(--muted-foreground);
}

.kpi b {
  display: block;
  font-family: "Exo 2", Inter, sans-serif;
  font-size: 28px;
  margin-top: 8px;
}

.mini-bars {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.bar-line {
  display: grid;
  grid-template-columns: 160px 1fr 44px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.bar-track {
  height: 9px;
  background: var(--muted);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.bottom-nav {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(114,240,0,.18);
  background: #05090d;
  margin-top: 42px;
}

.footer-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted-foreground);
  font-size: 14px;
}

.footer-row span {
  color: var(--accent);
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  margin-right: auto;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 18px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.media-gallery {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.gallery-main {
  position: relative;
  height: 460px;
  border: 1px solid rgba(114,240,0,.22);
  background: #03070b;
  overflow: hidden;
  border-radius: 6px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.gallery-nav,
.gallery-fullscreen {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(3, 7, 11, .72);
  color: #fff;
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0,0,0,.34);
}

.gallery-nav {
  top: 50%;
  width: 42px;
  height: 54px;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 6px;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.gallery-nav-prev {
  left: 12px;
}

.gallery-nav-next {
  right: 12px;
}

.gallery-fullscreen {
  right: 12px;
  bottom: 12px;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 11px;
}

.gallery-nav:hover,
.gallery-fullscreen:hover {
  border-color: rgba(114,240,0,.72);
  background: rgba(8, 18, 28, .9);
}

.gallery-main:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
  background: #000;
}

.video-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 1.65fr) minmax(220px, .75fr);
  align-items: start;
  gap: 12px;
}

.reels-player {
  width: min(320px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  border: 1px solid rgba(0,215,255,.32);
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 44px rgba(0,0,0,.36);
}

.vehicle-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.video-thumb-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(0,212,255,.24);
  border-radius: 8px;
  background: #071018;
  color: var(--foreground);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.video-thumb-card[data-video-provider="youtube"] {
  align-self: start;
}

.video-thumb-card[data-video-provider="instagram"] {
  max-width: 320px;
  width: 100%;
}

.video-thumb-card:hover {
  border-color: rgba(114,240,0,.72);
  box-shadow: 0 0 0 1px rgba(114,240,0,.14), 0 18px 38px rgba(0,0,0,.34);
}

.video-thumb-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(4, 12, 20, .86), rgba(6, 27, 34, .88)),
    radial-gradient(circle at 28% 18%, rgba(114,240,0,.2), transparent 34%);
  overflow: hidden;
}

.video-thumb-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-thumb-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #050b12;
  pointer-events: none;
  transform: scale(1.02);
}

.video-thumb-instagram {
  aspect-ratio: 9 / 16;
  min-height: 300px;
  background:
    linear-gradient(150deg, rgba(114,240,0,.18), rgba(0,212,255,.14)),
    #050b12;
}

.video-thumb-media strong {
  color: var(--accent);
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .08em;
}

.video-thumb-media i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(114,240,0,.92);
  color: #04100a;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-thumb-label {
  display: block;
  padding: 0 12px 12px;
  color: #e9f1f5;
  font-size: 12px;
  font-weight: 900;
  font-family: "Exo 2", Inter, sans-serif;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}

.gallery-thumb {
  position: relative;
  height: 82px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #071018;
  padding: 0;
  cursor: pointer;
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: rgba(114,240,0,.72);
  box-shadow: 0 0 0 1px rgba(114,240,0,.16), 0 0 20px rgba(114,240,0,.13);
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-strip span {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(3,7,11,.84);
  color: var(--accent);
  border: 1px solid rgba(114,240,0,.34);
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 900;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.78);
  padding: 18px;
}

.video-modal.is-open {
  display: grid;
}

.video-modal-panel {
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  position: relative;
  border: 1px solid rgba(114,240,0,.36);
  background: #000;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0,0,0,.62);
}

.video-modal.video-modal-youtube .video-modal-panel {
  width: min(96vw, 1920px);
  max-height: calc(100vh - 72px);
  aspect-ratio: 16 / 9;
}

.video-modal.video-modal-instagram .video-modal-panel {
  width: min(430px, 94vw);
  max-height: calc(100vh - 72px);
  aspect-ratio: 9 / 16;
}

.video-modal-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  display: block;
  background: #000;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  border: 1px solid rgba(255,255,255,.2);
  background: #050b12;
  color: #fff;
  border-radius: 6px;
  min-height: 34px;
  padding: 7px 12px;
  font-weight: 900;
  font-family: "Exo 2", Inter, sans-serif;
}

.favorite-form {
  margin-top: 14px;
}

.favorite-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(114,240,0,.24);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(114,240,0,.08), rgba(0,212,255,.06));
}

.favorite-strip b,
.favorite-strip small {
  display: block;
}

.favorite-strip form {
  margin: 0;
}

.comments-box {
  margin-top: 16px;
}

.comment-item {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}

.comment-item:first-of-type {
  border-top: 0;
}

.comment-item small {
  display: block;
  color: var(--muted-foreground);
  margin-top: 3px;
}

.comment-reply {
  margin-top: 10px;
  padding: 12px;
  border-left: 3px solid var(--accent);
  background: rgba(114,240,0,.06);
  border-radius: 4px;
}

.comment-form {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 8px;
}

.form-divider {
  margin: 24px 0 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(167,184,197,.18);
}

.media-manager {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(0,212,255,.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(3, 10, 18, .98), rgba(8, 19, 29, .96)),
    radial-gradient(circle at 18% 0, rgba(114,240,0,.16), transparent 34%);
}

.media-manager-priority {
  box-shadow: 0 16px 38px rgba(0,0,0,.24), 0 0 0 1px rgba(114,240,0,.08) inset;
}

.media-manager-head,
.media-inline-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.media-manager-head {
  margin-bottom: 14px;
}

.media-action-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(167,184,197,.18);
  border-radius: 6px;
  background: rgba(7, 16, 23, .88);
}

.media-inline-form input[type="file"] {
  max-width: 100%;
}

.manager-cover-preview {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(114,240,0,.2);
  border-radius: 6px;
  background: rgba(5, 11, 18, .86);
}

.manager-cover-preview img {
  width: 100%;
  max-width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: contain;
  display: block;
  border-radius: 6px;
  background: #c9c9c9;
}

.manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 12px;
  margin-bottom: 16px;
  align-items: start;
}

.manager-photo {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #091018;
  overflow: hidden;
}

.media-manager .manager-photo img {
  width: 100%;
  max-width: 100%;
  height: clamp(104px, 12vw, 150px);
  max-height: 150px;
  object-fit: cover;
  display: block;
  background: #c9c9c9;
}

.manager-actions,
.inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.manager-actions {
  padding: 10px;
}

.manager-meta {
  display: block;
  padding: 0 10px 10px;
  font-size: 11px;
}

.media-empty {
  padding: 18px;
  border: 1px dashed rgba(167,184,197,.28);
  border-radius: 6px;
  color: var(--muted-foreground);
  background: rgba(7, 16, 23, .72);
}

.video-manager-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.external-video-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.external-video-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.external-video-preview-grid .video-thumb-card {
  box-shadow: none;
}

.video-manager {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.video-manager video {
  width: min(260px, 100%);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #000;
}

.media-video-panel video {
  width: min(260px, 100%);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0,212,255,.22);
  background: #000;
}

.payment-panel {
  display: grid;
  gap: 18px;
}

.payment-summary,
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.payment-summary div {
  background: #091018;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
}

.payment-summary small {
  color: var(--muted-foreground);
}

.payment-summary b {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-family: "Exo 2", Inter, sans-serif;
}

.brand-card,
.brand-hero {
  padding: 20px;
}

.brand-card h2,
.brand-hero h1 {
  margin-top: 0;
}

.brand-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.legal-page {
  max-width: 900px;
}

.legal-page h2 {
  font-family: "Exo 2", Inter, sans-serif;
  margin-top: 28px;
}

.reply-form {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.reply-form textarea {
  min-height: 80px;
}

.muted {
  color: var(--muted-foreground);
}

.text-right {
  text-align: right;
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

@media (max-width: 980px) {
  .header-search {
    display: none;
  }

  .search-box,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr);
  }

  .stats-grid,
  .kpi-grid,
  .payment-summary,
  .brand-grid,
  .bio-proof-grid,
  .spec-grid,
  .video-manager-grid,
  .external-video-fields,
  .external-video-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }

  .header-row {
    min-height: 60px;
  }

  .brand {
    gap: 0;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .brand-logo-full {
    width: 132px;
    height: 46px;
    border-radius: 0;
  }

  .brand span {
    display: none;
  }

  .header-actions .btn-line,
  .header-actions .dashboard-link {
    display: none;
  }

  .hero-inner {
    padding: 44px 0 54px;
  }

  .hero-logo {
    width: min(280px, 88vw);
    height: 104px;
  }

  .hero p {
    font-size: 16px;
  }

  .bio-page {
    padding: 24px 0 34px;
  }

  .bio-panel {
    padding: 22px 14px;
  }

  .bio-logo {
    width: min(260px, 100%);
    height: 94px;
  }

  .bio-profile h1 {
    font-size: 29px;
    line-height: 1.08;
  }

  .bio-profile p {
    font-size: 15px;
  }

  .bio-main-link {
    min-height: 82px;
    padding: 13px;
    gap: 11px;
  }

  .bio-link-icon {
    width: 44px;
    height: 44px;
  }

  .bio-link-text strong {
    font-size: 16px;
  }

  .search-box,
  .form-grid,
  .detail-action-grid,
  .video-showcase,
  .stats-grid,
  .kpi-grid,
  .vehicle-grid,
  .payment-summary,
  .brand-grid,
  .bio-proof-grid,
  .spec-grid,
  .video-manager-grid,
  .external-video-fields,
  .external-video-preview-grid {
    grid-template-columns: 1fr;
  }

  .favorite-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .favorite-strip .btn,
  .favorite-strip form {
    width: 100%;
  }

  .gallery-main {
    height: 260px;
  }

  .gallery-nav {
    width: 36px;
    height: 46px;
    font-size: 28px;
  }

  .gallery-fullscreen {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .brand-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-photo {
    height: 260px;
  }

  .detail-head {
    display: block;
  }

  .cta-inner,
  .split {
    align-items: flex-start;
    flex-direction: column;
  }

  .bottom-nav {
    display: grid;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(5, 9, 13, .97);
    border-top: 1px solid rgba(114,240,0,.2);
    box-shadow: 0 -12px 30px rgba(0,0,0,.34);
  }

  .bottom-nav a {
    padding: 9px 4px 8px;
    display: grid;
    gap: 3px;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    color: var(--muted-foreground);
    font-family: "Exo 2", Inter, sans-serif;
  }

  main {
    padding-bottom: 70px;
  }
}
