:root {
  color-scheme: dark;
  --bg: #020712;
  --sidebar: #050c17;
  --panel: rgba(8, 18, 33, .92);
  --panel-strong: rgba(9, 23, 42, .98);
  --line: rgba(45, 126, 226, .35);
  --line-soft: rgba(45, 126, 226, .18);
  --text: #f4f8ff;
  --muted: #94a9c5;
  --blue: #159bff;
  --blue2: #0758e9;
  --cyan: #3bdcff;
  --green: #2df06f;
  --red: #ff4964;
  --shadow: 0 18px 70px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 75% 0%, rgba(16, 96, 210, .32), transparent 34rem),
    radial-gradient(circle at 0% 30%, rgba(0, 204, 255, .12), transparent 32rem),
    var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.app-shell {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0;
}

.dashboard {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns .22s ease;
}

.dashboard.sidebar-collapsed {
  grid-template-columns: 72px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 16px 8px;
  background: linear-gradient(180deg, #050b16, #020711);
  border-right: 1px solid var(--line-soft);
  overflow-y: auto;
  overflow-x: hidden;
  transition: width .22s ease, padding .22s ease;
}

.logo-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 0 8px 22px;
}

.sidebar-collapsed .logo-row {
  grid-template-columns: 44px;
  justify-content: center;
  padding-inline: 6px;
}

.sidebar-collapsed .logo-row div {
  display: none;
}

.logo-row img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(21, 155, 255, .35);
}

.logo-row strong {
  display: block;
  font-size: 15px;
  letter-spacing: .05em;
}

.logo-row span {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  margin-top: 2px;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  border-radius: 7px;
  color: #d4e5f9;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}

.nav a span {
  flex: 0 0 20px;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(72,159,255,.24);
  border-radius: 7px;
  background: rgba(21,155,255,.08);
  text-align: center;
  color: #9fdcff;
  font-size: 16px;
  line-height: 1;
}

.nav a span svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-collapsed .nav a {
  justify-content: center;
  gap: 0;
  padding: 0;
  font-size: 0;
}

.sidebar-collapsed .nav a span {
  width: 34px;
  height: 34px;
}

.nav a.active span,
.nav a:hover span {
  color: #fff;
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.12);
}

.nav a.active,
.nav a:hover {
  background: linear-gradient(180deg, #1268ff, #0740bb);
  color: white;
  box-shadow: 0 0 20px rgba(18, 104, 255, .32);
}

.db-card {
  position: static;
  margin: 18px 8px 0;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(7, 17, 31, .82);
}

.sidebar-collapsed .db-card {
  left: 10px;
  right: 10px;
  bottom: 18px;
  padding: 11px 0;
  display: grid;
  place-items: center;
}

.sidebar-collapsed .db-card p,
.sidebar-collapsed .db-card span,
.sidebar-collapsed .db-card b,
.sidebar-collapsed .subscription-box {
  display: none;
}

.sidebar-collapsed .db-card strong {
  margin: 0;
  font-size: 0;
}

.sidebar-collapsed .db-card strong i {
  width: 11px;
  height: 11px;
}

.db-card p,
.db-card span {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}

.db-card strong {
  display: block;
  margin: 8px 0 18px;
  color: var(--green);
}

.db-card i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.db-card b {
  display: block;
  margin: 7px 0 14px;
  color: #bde9ff;
  font-size: 13px;
}

.subscription-box {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(45,126,226,.18);
}

.subscription-box span,
.subscription-box small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.subscription-box b {
  margin: 6px 0 5px;
  color: #fff;
  font-size: 15px;
}

.subscription-box.active b {
  color: #7dffae;
}

.subscription-box.warning b {
  color: #ffd166;
}

.subscription-box.expired b {
  color: #ff6b7b;
}

.subscription-bar {
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.subscription-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14e67a, #16a5ff);
  box-shadow: 0 0 14px rgba(22,165,255,.42);
}

.subscription-box.warning .subscription-bar i {
  background: linear-gradient(90deg, #ffd166, #ff9f1c);
}

.subscription-box.expired .subscription-bar i {
  background: linear-gradient(90deg, #ff4964, #9b1c31);
}

.main-panel {
  min-width: 0;
  padding: 0 16px 18px;
}

.top-nav {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.top-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(45, 240, 111, .24);
  border-radius: 999px;
  background: rgba(45, 240, 111, .08);
  color: #caffd9;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.top-status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.top-status.subscription-mini {
  border-color: rgba(21,155,255,.24);
  background: rgba(21,155,255,.09);
  color: #bfe8ff;
}

.top-status.subscription-mini.warning {
  border-color: rgba(255, 189, 74, .32);
  background: rgba(255, 189, 74, .10);
  color: #ffe5a6;
}

.top-status.subscription-mini.expired {
  border-color: rgba(255, 73, 100, .32);
  background: rgba(255, 73, 100, .10);
  color: #ffcbd4;
}

.menu-button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #cce2ff;
  font-size: 22px;
  border-radius: 8px;
  cursor: pointer;
}

.menu-button:hover {
  background: rgba(21,155,255,.12);
  color: #fff;
}

.top-spacer { flex: 1; }

.developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 12px;
  border: 1px solid rgba(59, 220, 255, .18);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(21, 155, 255, .12), rgba(59, 220, 255, .05));
  color: #dff5ff;
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: inset 0 0 18px rgba(21,155,255,.08), 0 0 24px rgba(21,155,255,.08);
  white-space: nowrap;
}

.developer-credit span {
  color: #78caff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.developer-credit strong {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(59, 220, 255, .38);
}

.developer-credit em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 900;
}

.notify {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue2);
  color: #fff;
  font-size: 12px;
}

.client-pill {
  display: grid;
  gap: 2px;
  color: #eaf5ff;
  font-size: 13px;
}

.client-pill small { color: var(--muted); }
.client-pill b::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8);
  background: radial-gradient(circle at 50% 35%, #fff 0 14%, #182236 15% 31%, #fff 32% 35%, #060b14 36%);
}

.hero-card {
  position: relative;
  height: 270px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #050b14;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  animation: hero-road-motion 9s ease-in-out infinite alternate;
  transform-origin: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,7,18,.08), rgba(2,7,18,.42) 55%, rgba(2,7,18,.08)),
    linear-gradient(180deg, transparent 62%, #020712);
  z-index: 2;
  pointer-events: none;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -60px 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(185,235,255,.82) 0 1.1px, transparent 2.7px) 0 0 / 46px 38px,
    radial-gradient(circle, rgba(120,205,255,.58) 0 1px, transparent 2.4px) 21px 12px / 38px 34px,
    radial-gradient(circle, rgba(255,255,255,.7) 0 .9px, transparent 2.2px) 11px 24px / 52px 44px,
    radial-gradient(circle, rgba(105,190,255,.48) 0 1.2px, transparent 2.8px) 7px 4px / 64px 50px;
  opacity: .58;
  filter: drop-shadow(0 0 3px rgba(128,210,255,.5));
  animation: rain-fall .9s linear infinite;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 12%, rgba(255,255,255,.9), transparent 6%),
    linear-gradient(110deg, transparent 0 62%, rgba(140,215,255,.95) 63%, transparent 64% 100%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: lightning-flash 3.6s infinite;
}

.water-drops {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .82;
  background:
    radial-gradient(ellipse at 8% 18%, rgba(255,255,255,.8) 0 1px, rgba(140,220,255,.45) 2px, rgba(255,255,255,0) 7px),
    radial-gradient(ellipse at 16% 72%, rgba(255,255,255,.72) 0 1px, rgba(140,220,255,.38) 2px, rgba(255,255,255,0) 8px),
    radial-gradient(ellipse at 28% 36%, rgba(255,255,255,.82) 0 1px, rgba(140,220,255,.4) 2px, rgba(255,255,255,0) 9px),
    radial-gradient(ellipse at 43% 14%, rgba(255,255,255,.74) 0 1px, rgba(140,220,255,.34) 2px, rgba(255,255,255,0) 7px),
    radial-gradient(ellipse at 56% 58%, rgba(255,255,255,.86) 0 1px, rgba(140,220,255,.48) 2px, rgba(255,255,255,0) 10px),
    radial-gradient(ellipse at 67% 28%, rgba(255,255,255,.7) 0 1px, rgba(140,220,255,.36) 2px, rgba(255,255,255,0) 8px),
    radial-gradient(ellipse at 79% 70%, rgba(255,255,255,.82) 0 1px, rgba(140,220,255,.42) 2px, rgba(255,255,255,0) 9px),
    radial-gradient(ellipse at 91% 38%, rgba(255,255,255,.72) 0 1px, rgba(140,220,255,.34) 2px, rgba(255,255,255,0) 8px),
    radial-gradient(ellipse at 35% 86%, rgba(255,255,255,.78) 0 1px, rgba(140,220,255,.38) 2px, rgba(255,255,255,0) 8px),
    radial-gradient(ellipse at 12% 48%, rgba(255,255,255,.74) 0 1px, rgba(140,220,255,.36) 2px, rgba(255,255,255,0) 7px),
    radial-gradient(ellipse at 51% 78%, rgba(255,255,255,.82) 0 1px, rgba(140,220,255,.4) 2px, rgba(255,255,255,0) 8px),
    radial-gradient(ellipse at 88% 16%, rgba(255,255,255,.78) 0 1px, rgba(140,220,255,.34) 2px, rgba(255,255,255,0) 7px);
  background-size: 260px 170px, 310px 210px, 220px 160px, 280px 190px, 340px 230px, 240px 180px, 300px 220px, 260px 200px, 230px 170px, 210px 150px, 250px 185px, 190px 145px;
  filter:
    drop-shadow(0 0 3px rgba(143, 220, 255, .65))
    drop-shadow(0 5px 6px rgba(0, 0, 0, .32));
  mix-blend-mode: screen;
  animation: water-drops-slide 5.8s linear infinite;
}

.water-drops::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,.78) 0 1px, transparent 3px) 14px 10px / 72px 58px,
    radial-gradient(circle, rgba(120,205,255,.55) 0 1px, transparent 3px) 4px 34px / 86px 64px,
    radial-gradient(circle, rgba(255,255,255,.64) 0 .9px, transparent 2.6px) 31px 22px / 62px 54px;
  opacity: .58;
  animation: water-streaks 3.7s linear infinite;
}

@keyframes hero-road-motion {
  0% { transform: scale(1.02) translateX(0); filter: brightness(.9) contrast(1.08); }
  100% { transform: scale(1.07) translateX(-18px); filter: brightness(1) contrast(1.14); }
}

@keyframes rain-fall {
  0% { transform: translate3d(0, -34px, 0); }
  100% { transform: translate3d(-18px, 42px, 0); }
}

@keyframes lightning-flash {
  0%, 48%, 62%, 100% { opacity: 0; }
  49% { opacity: .85; }
  50% { opacity: .12; }
  51% { opacity: .68; }
  53% { opacity: 0; }
  78% { opacity: .55; }
  79% { opacity: 0; }
  82% { opacity: .72; }
  84% { opacity: 0; }
}

@keyframes water-drops-slide {
  0% { transform: translate3d(0, -12px, 0); }
  100% { transform: translate3d(-18px, 18px, 0); }
}

@keyframes water-streaks {
  0% { transform: translate3d(0, -50px, 0); opacity: .24; }
  40% { opacity: .65; }
  100% { transform: translate3d(-16px, 86px, 0); opacity: .22; }
}

.home-support-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(190px, 240px));
  gap: 12px;
  align-items: center;
  margin: 14px 0 0;
  padding: 14px;
  border: 1px solid rgba(45, 126, 226, .32);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(5, 13, 28, .96), rgba(7, 31, 58, .9)),
    radial-gradient(circle at 20% 50%, rgba(21, 155, 255, .18), transparent 24rem);
  box-shadow: inset 0 0 24px rgba(21, 155, 255, .08), 0 14px 36px rgba(0, 0, 0, .22);
}

.home-support-strip div {
  display: grid;
  gap: 4px;
}

.home-support-strip span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-support-strip strong {
  color: #f4f8ff;
  font-size: 14px;
  line-height: 1.35;
}

.home-support-strip a {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(59, 220, 255, .24);
  border-radius: 14px;
  background: rgba(21, 155, 255, .10);
  color: #fff;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.home-support-strip a:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 220, 255, .58);
  background: rgba(21, 155, 255, .18);
}

.home-support-strip b {
  font-size: 13px;
  font-weight: 900;
}

.home-support-strip small {
  color: #9bd8ff;
  font-size: 13px;
  font-weight: 800;
}

.alert {
  margin: 14px 0;
  padding: 13px 16px;
  border: 1px solid rgba(255,73,100,.5);
  border-radius: 10px;
  background: rgba(255,73,100,.12);
  color: #ffd9df;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 39%);
  gap: 12px;
  margin-top: 12px;
}

.extract-card,
.result-card,
.stats-row article,
.table-card,
.how-card,
.login-card,
.ready-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.extract-card {
  padding: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #d9e9ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}

.vin-line {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 8px;
  margin-bottom: 12px;
}

input,
select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(31, 112, 234, .55);
  border-radius: 6px;
  outline: none;
  background: rgba(2, 8, 18, .88);
  color: #fff;
  box-shadow: inset 0 0 18px rgba(21,155,255,.08);
}

.vin-line input {
  height: 56px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: .05em;
}

.hardware-input {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: .02em;
}

.license-note {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(45, 240, 111, .26);
  border-radius: 7px;
  background: rgba(45, 240, 111, .08);
}

.license-note b {
  color: #d9ffe5;
  font-size: 13px;
}

.license-note span {
  color: #a9bdd6;
  font-size: 12px;
  line-height: 1.45;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(21,155,255,.18), inset 0 0 18px rgba(21,155,255,.12);
}

.copy-button {
  border: 1px solid rgba(31, 112, 234, .55);
  border-radius: 6px;
  background: linear-gradient(180deg, #189dff, #074de2);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(21,155,255,.25);
}

.download-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 4px 0 6px;
}

.download-choice.single-choice {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(21,155,255,.22);
  border-radius: 7px;
  background: rgba(21,155,255,.08);
  color: #d7efff;
  font-size: 13px;
  font-weight: 800;
}

.download-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c9dcf4;
  font-size: 13px;
}

.download-choice input {
  width: 15px;
  height: 15px;
}

.extract-card p {
  margin: 8px 0 14px;
  color: #bacce4;
  font-size: 13px;
  line-height: 1.5;
}

.action-buttons {
  display: grid;
  grid-template-columns: minmax(220px, 300px);
  gap: 12px;
  align-items: center;
}

.primary-action,
.secondary-action,
.download,
.login-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #189dff, #074de2);
  color: #fff;
  font-weight: 900;
  letter-spacing: .03em;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(21,155,255,.34);
}

.secondary-action {
  border: 1px solid rgba(59, 220, 255, .46);
  background: rgba(5, 23, 45, .92);
  color: #bdefff;
  box-shadow: inset 0 0 20px rgba(21,155,255,.08);
}

.secondary-action:hover {
  background: rgba(14, 54, 94, .96);
  box-shadow: 0 0 18px rgba(59,220,255,.22), inset 0 0 18px rgba(21,155,255,.12);
}

.result-card {
  padding: 14px;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title h3,
.table-card h3,
.how-card h3 {
  margin: 0;
  color: #dbeaff;
  font-size: 13px;
  letter-spacing: .04em;
}

.card-title span,
.ok,
.success-badge {
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(45, 240, 111, .2);
  color: #caffd9;
  font-size: 11px;
  font-weight: 900;
}

.failed {
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(255, 73, 100, .18);
  color: #ffd3dc;
  font-size: 11px;
  font-weight: 900;
}

.result-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
}

.system-status {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(45, 240, 111, .26);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(45, 240, 111, .13), rgba(6, 24, 30, .44));
}

.system-status b {
  color: #dbffe5;
  font-size: 15px;
}

.system-status span {
  color: #b8d1ec;
  font-size: 13px;
}

.vehicle-preview-card {
  min-height: 329px;
}

.vehicle-preview-top {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 16px;
}

.vehicle-preview-top .file-icon {
  height: 82px;
  font-size: 34px;
}

.vehicle-preview-top h4,
.empty-search h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 18px;
}

.vehicle-preview-top p,
.vehicle-preview-top span,
.empty-search p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.vehicle-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.vehicle-preview-list div {
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  background: rgba(255,255,255,.045);
}

.vehicle-preview-list span,
.vehicle-preview-list b {
  display: block;
}

.vehicle-preview-list span {
  color: #a9bdd6;
  font-size: 11px;
}

.vehicle-preview-list b {
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.compact-summary {
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0 0;
}

.empty-search {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 36px;
  text-align: center;
}

.file-icon {
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21,155,255,.7);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 54px;
  box-shadow: inset 0 0 24px rgba(21,155,255,.15), 0 0 24px rgba(21,155,255,.22);
}

dl {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 11px 12px;
  margin: 0;
  font-size: 13px;
}

dt { color: var(--muted); }
dd { margin: 0; color: #fff; font-weight: 800; }

.sample-files {
  margin-top: 14px;
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255,255,255,.035);
}

.sample-files b,
.sample-files span {
  display: block;
}

.original-info-grid {
  display: grid;
  grid-template-columns: minmax(330px, .92fr) minmax(420px, 1.25fr);
  gap: 12px;
  margin: 12px 0;
}

.vehicle-info-card,
.components-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  padding: 18px;
}

.vehicle-info-card h3,
.components-card h3 {
  margin: 0 0 16px;
  color: #f3f8ff;
  font-size: 15px;
  letter-spacing: .04em;
}

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

.vehicle-info-list div {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 6px;
  background: rgba(255,255,255,.055);
}

.vehicle-info-list span {
  color: #c8d4e5;
  font-size: 13px;
}

.vehicle-info-list b {
  color: #fff;
  font-size: 14px;
  text-align: right;
  overflow-wrap: anywhere;
}

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

.original-component-groups {
  display: grid;
  gap: 8px;
}

.original-component-groups div {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 6px;
  background: rgba(255,255,255,.055);
  color: #f5f8ff;
  font-weight: 700;
  font-size: 13px;
}

.original-component-groups div::after {
  content: "⌄";
  color: #d7e9ff;
  font-size: 16px;
}

.component-summary span {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(21,155,255,.08);
  color: #bfd9f5;
  font-size: 13px;
}

.component-summary b {
  color: #fff;
}

.component-list {
  display: grid;
  gap: 8px;
  max-height: 442px;
  overflow: auto;
  padding-right: 4px;
}

.component-list div {
  padding: 12px 14px;
  border: 1px solid rgba(45,126,226,.18);
  border-radius: 7px;
  background: rgba(255,255,255,.045);
}

.component-list b,
.component-list span {
  display: block;
}

.component-list b {
  color: #eaf5ff;
  font-size: 13px;
  margin-bottom: 5px;
}

.component-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.sample-files b {
  color: #dbeaff;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.sample-files span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0 12px;
}

.stats-row article {
  min-height: 70px;
  padding: 14px 16px;
}

.stats-row span,
.stats-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.stats-row strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
}

.table-card,
.how-card {
  padding: 14px 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 12px;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(66, 132, 215, .18);
  text-align: left;
}

th {
  color: #afc8e8;
  font-size: 11px;
}

.how-card ol {
  display: grid;
  gap: 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.how-card li {
  position: relative;
  min-height: 48px;
  padding-left: 58px;
}

.how-card li::before {
  content: counter(list-item);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #189dff, #074de2);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(21,155,255,.38);
}

.how-card b,
.how-card span {
  display: block;
}

.how-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 12px 0 6px;
  color: #8ea6c3;
  font-size: 12px;
}

.login-shell {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 460px);
  gap: 28px;
  align-items: stretch;
}

.login-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(59,220,255,.18), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(21,155,255,.20), transparent 30rem);
}

.login-visual,
.pro-login-card {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(72,159,255,.22);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.login-visual {
  display: grid;
  align-content: end;
  gap: 24px;
  padding: 38px;
  background:
    linear-gradient(90deg, rgba(2,7,18,.78), rgba(2,7,18,.18) 58%, rgba(2,7,18,.86)),
    linear-gradient(180deg, rgba(2,7,18,.08), rgba(2,7,18,.92)),
    url("dashboard-hero.jpg") center / cover;
}

.login-visual-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  left: -80px;
  top: -70px;
  border-radius: 999px;
  background: rgba(21,155,255,.24);
  filter: blur(64px);
}

.login-logo {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(59,220,255,.3);
  box-shadow: 0 0 54px rgba(21,155,255,.34);
}

.login-title {
  max-width: 620px;
}

.login-title span {
  color: var(--cyan);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .18em;
}

.login-title h1 {
  margin: 12px 0 10px;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: .96;
}

.login-title p,
.login-card p {
  color: #b7c9df;
  line-height: 1.65;
}

.login-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.login-metrics article {
  padding: 16px;
  border: 1px solid rgba(72,159,255,.22);
  border-radius: 14px;
  background: rgba(4,12,24,.66);
  backdrop-filter: blur(10px);
}

.login-metrics b,
.login-metrics span {
  display: block;
}

.login-metrics b {
  color: #fff;
  font-size: 18px;
}

.login-metrics span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.pro-login-card {
  display: grid;
  align-content: center;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(12, 29, 50, .94), rgba(5, 12, 22, .98)),
    rgba(8,18,33,.96);
}

.login-card-head {
  margin-bottom: 22px;
}

.brand {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 12px;
}

.login-card h2 {
  margin: 10px 0 8px;
  font-size: 38px;
}

.login-card label {
  display: block;
  margin-top: 18px;
  color: #dcefff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.login-input {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  margin-top: 8px;
  border: 1px solid rgba(72,159,255,.28);
  border-radius: 12px;
  background: rgba(2, 9, 18, .76);
  box-shadow: inset 0 0 20px rgba(21,155,255,.05);
}

.login-input span {
  color: var(--cyan);
  text-align: center;
}

.login-input input {
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.login-input:focus-within {
  border-color: rgba(59,220,255,.62);
  box-shadow: 0 0 0 3px rgba(21,155,255,.14), inset 0 0 20px rgba(21,155,255,.08);
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.remember-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.remember-row span {
  color: #d9efff;
}

.login-help-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
}

.login-help-row a {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.login-help-row span {
  color: var(--muted);
  text-align: right;
}

.login-card button {
  width: 100%;
  height: 54px;
  margin-top: 24px;
  border-radius: 13px;
  font-size: 15px;
  letter-spacing: .08em;
}

.login-support-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.login-support-box > span {
  grid-column: 1 / -1;
  color: #7fcfff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.login-support-box a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(59, 220, 255, .24);
  border-radius: 13px;
  background: rgba(21, 155, 255, .09);
}

.login-support-box a:hover {
  border-color: rgba(59, 220, 255, .55);
  background: rgba(21, 155, 255, .16);
}

.login-support-box b {
  color: #fff;
  font-size: 13px;
}

.login-support-box small {
  color: #9bd8ff;
  font-size: 12px;
  font-weight: 800;
}

.login-footnote {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.login-footnote span {
  color: var(--muted);
  font-size: 13px;
}

.login-footnote b {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: .14em;
}

@media (max-width: 980px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-visual,
  .pro-login-card {
    min-height: auto;
  }
  .login-metrics {
    grid-template-columns: 1fr;
  }
}

.result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.ready-card {
  width: min(720px, 100%);
  padding: 32px;
  text-align: center;
}

.ready-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 0 34px rgba(21,155,255,.34);
}

.ready-card h1 {
  margin: 18px 0 6px;
  font-size: 34px;
}

.ready-card p {
  color: var(--muted);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.meta-grid span {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  overflow-wrap: anywhere;
}

.meta-grid b {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.ready-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.link {
  color: #98d9ff;
}

@media (max-width: 980px) {
  .dashboard { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
    display: grid;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .db-card { position: static; }
  .hero-copy { left: 22px; width: min(340px, 58%); }
  .action-grid,
  .bottom-grid,
  .login-wrap,
  .original-info-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .main-panel { padding: 0 10px 18px; }
  .hero-card { height: 210px; }
  .hero-copy { width: 68%; }
  .result-body { grid-template-columns: 1fr; }
  dl { grid-template-columns: 1fr; }
  .stats-row,
  .meta-grid { grid-template-columns: 1fr; }
  .action-buttons { grid-template-columns: 1fr; }
  .vin-line { grid-template-columns: 1fr; }
  .copy-button { height: 46px; }
  footer,
  .ready-actions { flex-direction: column; }
}

/* DAF Support Assist-style vehicle update screen */
body:has(.assist-app) .assist-app {
  min-height: 100vh;
  background: #202020;
  color: #f5f5f5;
}

.assist-topbar {
  height: 102px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 36px;
  background: #26303c;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.assist-title {
  color: #dfe8f2;
  font-size: 16px;
}

.assist-topbar nav {
  display: flex;
  align-items: center;
  gap: 38px;
  height: 100%;
}

.assist-topbar nav a {
  position: relative;
  color: #f2f2f2;
  font-size: 21px;
  white-space: nowrap;
}

.assist-topbar nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 20px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 8px;
  background: #42c8ff;
}

.assist-user {
  color: #d8dee8;
  font-size: 13px;
}

.assist-content {
  display: grid;
  grid-template-columns: 430px 438px minmax(520px, 1fr);
  gap: 26px;
  padding: 42px 52px 26px;
}

.updates-panel h1,
.vehicle-original-card h2,
.components-original-card h2,
.system-card h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 22px;
  letter-spacing: .01em;
}

.updates-panel > p {
  margin: 0 0 24px;
  color: #cfcfcf;
  font-size: 16px;
}

.assist-search-form {
  margin-bottom: 30px;
}

.search-line {
  display: grid;
  grid-template-columns: 1fr 44px 44px;
  width: 402px;
  border-bottom: 3px solid #42c8ff;
  background: #222;
}

.search-line input {
  height: 40px;
  border: 1px solid #333;
  border-right: 0;
  border-radius: 0;
  background: #222;
  color: #f4f4f4;
  font-size: 17px;
  text-align: center;
  box-shadow: none;
}

.clear-btn,
.search-btn {
  height: 40px;
  border: 1px solid #333;
  border-left: 0;
  background: #222;
  color: #cfcfcf;
  font-size: 20px;
}

.search-btn {
  background: #2a2a2a;
  font-size: 18px;
}

.valid-vin {
  width: 402px;
  margin-top: 9px;
  color: #7dff75;
  text-align: center;
  font-size: 18px;
}

.hardware-label {
  margin-top: 22px;
  color: #cfcfcf;
  font-size: 12px;
}

.assist-hardware {
  width: 402px;
  height: 38px;
  border: 1px solid #343434;
  border-radius: 0;
  background: #1c1c1c;
  color: #ddd;
  font-size: 13px;
  box-shadow: none;
}

.system-card {
  width: 402px;
  min-height: 327px;
  margin-top: 26px;
  padding: 34px 30px 28px;
  border: 1px solid #343434;
  border-radius: 10px;
  background: #191919;
}

.system-card h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.support-pill {
  display: grid;
  place-items: center;
  min-height: 54px;
  margin-bottom: 26px;
  border-radius: 6px;
  background: #6a9420;
  color: #fff;
  text-align: center;
  font-size: 18px;
}

.modal-open {
  overflow: hidden;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.support-modal.open,
.support-modal:target {
  display: flex;
}

.support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 18, .72);
  backdrop-filter: blur(8px);
}

.support-dialog {
  position: relative;
  width: min(580px, 100%);
  padding: 32px;
  border: 1px solid rgba(34, 160, 255, .44);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(0, 158, 255, .22), transparent 36%),
    linear-gradient(145deg, #07111f 0%, #0c1726 54%, #050a12 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55), 0 0 42px rgba(0, 153, 255, .16);
  color: #fff;
}

.support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(126, 198, 255, .32);
  border-radius: 12px;
  background: rgba(10, 24, 42, .92);
  color: #d9f2ff;
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.support-kicker {
  color: #24a8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.support-dialog h2 {
  margin: 10px 0 10px;
  font-size: 30px;
}

.support-dialog p {
  max-width: 470px;
  margin: 0 0 22px;
  color: #a9c8e8;
  line-height: 1.6;
}

.support-contacts {
  display: grid;
  gap: 14px;
}

.support-contacts article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(79, 168, 255, .24);
  border-radius: 14px;
  background: rgba(7, 18, 32, .76);
}

.support-contacts span {
  color: #60c6ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.support-contacts strong {
  color: #fff;
  font-size: 18px;
}

.support-contacts b {
  color: #dff6ff;
  font-size: 18px;
  letter-spacing: .03em;
}

.support-contacts article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.support-contacts a {
  min-width: 160px;
  padding: 10px 14px;
  border: 1px solid rgba(46, 172, 255, .42);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 145, 255, .26), rgba(12, 195, 255, .16));
  color: #dff8ff;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.support-contacts a:hover {
  background: linear-gradient(135deg, #0c8dff, #08c8ff);
  color: #fff;
}

.download-update,
.progress-button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 18px;
}

.download-update {
  background: #5147b2;
}

.download-update:disabled {
  opacity: .42;
}

.progress-button {
  margin-top: 26px;
  background: #2b2b2b;
  color: #cfcfcf;
}

.mini-status {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: #bcbcbc;
  font-size: 13px;
}

.vehicle-original-card,
.components-original-card {
  min-height: 864px;
  padding: 36px 30px;
  border: 1px solid #373737;
  border-radius: 10px;
  background: #191919;
}

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

.original-info-list div {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid #343434;
  border-radius: 5px;
  background: #2a2a2a;
}

.original-info-list span {
  color: #cfcfcf;
  font-size: 15px;
}

.original-info-list b {
  color: #fff;
  font-size: 17px;
  text-align: right;
  font-weight: 500;
}

.empty-original {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px dashed #3a3a3a;
  border-radius: 8px;
  color: #9d9d9d;
}

.original-component-list {
  display: grid;
  gap: 16px;
}

.original-component-list div {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-radius: 4px;
  background: #282828;
  color: #f7f7f7;
  font-size: 18px;
}

.original-component-list span {
  font-size: 24px;
  color: #f4f4f4;
}

.component-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.component-meta span {
  padding: 14px;
  border-radius: 5px;
  background: #242424;
  color: #cacaca;
}

.component-meta b {
  color: #fff;
}

.assist-app .alert {
  width: 402px;
  margin: 0 0 18px;
}

.page-panel {
  padding-bottom: 46px;
}

.page-hero,
.about-hero,
.page-table,
.download-grid,
.profile-grid,
.about-grid {
  margin: 22px;
}

.page-hero,
.about-hero,
.profile-card,
.download-card,
.about-grid article {
  border: 1px solid rgba(72, 159, 255, .18);
  border-radius: 16px;
  background: rgba(9, 20, 34, .92);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.page-hero {
  padding: 28px 32px;
}

.page-hero span,
.about-hero span,
.download-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-hero h1,
.about-hero h1 {
  margin: 8px 0;
  font-size: 36px;
}

.page-hero p,
.about-hero p,
.about-grid p,
.download-card p,
.profile-card p {
  color: var(--muted);
  line-height: 1.65;
}

.page-table {
  overflow: auto;
}

.download-grid,
.profile-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.download-card,
.profile-card,
.about-grid article {
  padding: 22px;
}

.download-card {
  display: grid;
  gap: 18px;
}

.download-card h3 {
  margin: 8px 0 4px;
  font-size: 28px;
}

.download-card dl,
.profile-card {
  display: grid;
  gap: 12px;
}

.download-card dl {
  margin: 0;
}

.download-card dl div,
.profile-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

.download-card dt,
.profile-card span {
  color: var(--muted);
}

.download-card dd,
.profile-card b {
  margin: 0;
  color: #fff;
  text-align: right;
  overflow-wrap: anywhere;
}

.download-card a {
  display: inline-flex;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color: #fff;
  font-weight: 900;
}

.profile-card h3,
.about-grid h3 {
  margin: 0 0 10px;
  color: #dff3ff;
}

.wide-card {
  grid-column: 1 / -1;
}

.subscription-bar.wide {
  height: 12px;
  padding: 0;
  overflow: hidden;
}

.about-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px;
}

.about-hero img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 0 38px rgba(21,155,255,.34);
}

@media (max-width: 1300px) {
  .assist-topbar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px 24px;
  }
  .assist-topbar nav {
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .assist-content {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
  .search-line,
  .valid-vin,
  .assist-hardware,
  .system-card,
  .assist-app .alert {
    width: 100%;
  }
  .vehicle-original-card,
  .components-original-card {
    min-height: auto;
  }
}

.admin-dashboard .main-panel {
  padding-bottom: 42px;
}

.admin-panel {
  background:
    radial-gradient(circle at top right, rgba(0, 155, 255, .12), transparent 32%),
    #050a12;
}

.admin-hero,
.admin-card {
  margin: 22px;
  border: 1px solid rgba(72, 159, 255, .18);
  border-radius: 16px;
  background: rgba(9, 20, 34, .92);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 32px;
}

.admin-hero span {
  color: #28aaff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.admin-hero h1 {
  margin: 8px 0;
  color: #fff;
  font-size: 34px;
}

.admin-hero p {
  max-width: 720px;
  margin: 0;
  color: #9fbfdd;
  line-height: 1.6;
}

.admin-hero a {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(63, 178, 255, .35);
  border-radius: 12px;
  color: #9bddff;
  text-decoration: none;
  font-weight: 800;
}

.notice {
  margin: 0 22px 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 800;
}

.ok-notice {
  border: 1px solid rgba(23, 211, 126, .32);
  background: rgba(23, 211, 126, .12);
  color: #93ffc8;
}

.client-status-grid,
.client-tabs {
  margin: 0 22px 18px;
}

.client-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
}

.client-status-grid a {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(34, 211, 126, .22);
  border-radius: 14px;
  background: rgba(23, 211, 126, .09);
  color: #ddfff0;
  text-decoration: none;
}

.client-status-grid a.expired {
  border-color: rgba(255, 189, 74, .28);
  background: rgba(255, 189, 74, .10);
  color: #fff0c5;
}

.client-status-grid a.blocked {
  border-color: rgba(255, 80, 95, .28);
  background: rgba(255, 80, 95, .10);
  color: #ffd3d8;
}

.client-status-grid span {
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.client-status-grid strong {
  color: #fff;
  font-size: 34px;
}

.client-status-grid small {
  color: rgba(226, 243, 255, .72);
}

.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-tabs a {
  padding: 11px 16px;
  border: 1px solid rgba(88, 171, 255, .25);
  border-radius: 999px;
  background: rgba(9, 23, 38, .88);
  color: #9fd8ff;
  text-decoration: none;
  font-weight: 900;
}

.client-tabs a.active,
.client-tabs a:hover {
  background: linear-gradient(135deg, #087cff, #08b9ff);
  color: #fff;
}

.admin-card {
  padding: 24px;
}

.admin-card h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 22px;
}

.admin-help {
  margin: -8px 0 18px;
  color: #91b7d6;
  line-height: 1.5;
}

.client-form,
.client-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

.client-form label,
.client-row label {
  display: grid;
  gap: 7px;
  color: #9fc5e8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.client-form input,
.client-form select,
.client-row input,
.client-row select {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(82, 160, 236, .28);
  border-radius: 10px;
  background: #07111d;
  color: #f4fbff;
  padding: 0 12px;
  outline: none;
}

.client-row input[readonly] {
  border-color: rgba(23, 211, 126, .26);
  background: rgba(10, 31, 27, .82);
  color: #baffdc;
  cursor: text;
}

.client-form button,
.client-actions button {
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #087cff, #08b9ff);
  color: #fff;
  font-weight: 900;
}

.add-client-form button {
  align-self: end;
}

.add-client-form .wide-field {
  grid-column: span 2;
}

.clients-list {
  display: grid;
  gap: 16px;
}

.client-row {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  padding: 18px;
  border: 1px solid rgba(67, 155, 236, .16);
  border-radius: 14px;
  background: rgba(5, 14, 25, .78);
}

.client-row-head {
  display: grid;
  gap: 8px;
  align-content: center;
}

.client-row-head strong {
  color: #fff;
  font-size: 18px;
}

.client-row-head span,
.client-days {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-row-head .active {
  background: rgba(35, 211, 124, .18);
  color: #8effc4;
}

.client-row-head .blocked {
  background: rgba(255, 80, 95, .18);
  color: #ff9aa5;
}

.client-days {
  align-self: end;
  background: rgba(29, 122, 255, .14);
  color: #9fd8ff;
  text-transform: none;
}

.client-actions {
  display: flex;
  gap: 10px;
  align-self: end;
}

.client-actions button {
  flex: 1;
}

.client-actions .danger {
  background: linear-gradient(135deg, #d4314a, #ff6a48);
}

.empty-admin {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed rgba(93, 171, 242, .28);
  border-radius: 14px;
  color: #91b5d4;
}

@media (max-width: 1180px) {
  .client-status-grid {
    grid-template-columns: 1fr;
  }
  .client-form,
  .client-row {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .client-form,
  .client-row {
    grid-template-columns: 1fr;
  }
}
