:root {
  --ink: #141820;
  --muted: #667085;
  --line: #d8dee8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --red: #e63232;
  --blue: #2f6f8f;
  --green: #2f9d72;
  --gold: #c58b34;
  --shadow: 0 18px 50px rgba(20, 24, 32, 0.12);
  --radius: 8px;
  --control-border: #cbd7e3;
  --control-hover: #aebfcd;
  --control-focus: #2f6f8f;
  --control-bg: #ffffff;
}

.lounge-invite-form {
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.lounge-invite-link {
  display: grid;
  gap: 10px;
}

.lounge-invite-link input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.lounge-invite-screen {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 80px;
}

.lounge-login-panel {
  width: min(560px, 100%);
}

.lounge-login-panel .admin-form {
  gap: 14px;
}

.lounge-access-note {
  margin-bottom: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  color: #253244;
  background-color: var(--control-bg);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 460;
  letter-spacing: 0;
  box-shadow: 0 1px 0 rgba(20, 24, 32, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

input,
textarea {
  padding: 0 13px;
}

textarea {
  min-height: 110px;
  padding-top: 12px;
  line-height: 1.45;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--control-hover);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--control-focus);
  box-shadow: 0 0 0 4px rgba(47, 111, 143, 0.14);
  outline: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  overflow: hidden;
  color: var(--blue);
  background: #eef6fa;
  border: 1px solid #c9dce6;
  border-radius: var(--radius);
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(47, 111, 143, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: flex-end;
  margin-left: auto;
  color: #3b4350;
  font-size: 15px;
  font-weight: 650;
}

.main-nav a:hover {
  color: var(--red);
}

.main-nav a.active {
  color: var(--red);
}

.nav-action,
.primary-btn,
.secondary-btn,
.danger-btn,
.vehicle-card button,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
}

.nav-action,
.primary-btn {
  color: var(--white);
  background: var(--red);
}

.secondary-btn {
  color: var(--ink);
  text-decoration: none;
  background: var(--white);
  border-color: var(--line);
}

.danger-btn {
  color: #8c2525;
  background: #fff4f2;
  border-color: #f2c6c0;
}

.nav-action svg,
.primary-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(40px, 7vw, 84px) clamp(18px, 5vw, 72px) 38px;
  background:
    linear-gradient(135deg, rgba(20, 24, 32, 0.96), rgba(47, 111, 143, 0.88)),
    url("https://www.car-morek360.de/upload/slides/MOREK-360%C2%B0-banner-7.png") center/cover;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb3b3;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.hero-meta span + span::before {
  margin-right: 12px;
  content: "•";
  color: rgba(255, 255, 255, 0.48);
}

.hero h1,
section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 86px);
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-self: end;
  justify-items: center;
  align-items: start;
  width: min(100%, 860px);
  min-height: 430px;
  padding: 30px clamp(42px, 4.8vw, 78px) 210px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.hero-offer-link {
  color: inherit;
  text-decoration: none;
}

.hero-offer-link:hover .offer-panel {
  border-color: rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: none;
  height: clamp(300px, 26vw, 430px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 34px 30px rgba(0, 0, 0, 0.28));
  transform: scale(1.1);
  transform-origin: center center;
}

.hero-visual.is-balanced-crop {
  padding-right: clamp(40px, 4.4vw, 72px);
  padding-left: clamp(40px, 4.4vw, 72px);
}

.hero-visual.is-balanced-crop img {
  width: 100%;
  transform: scale(1.08);
}

.hero-visual.is-tight-crop {
  padding-right: clamp(54px, 5.6vw, 92px);
  padding-left: clamp(54px, 5.6vw, 92px);
}

.hero-visual.is-tight-crop img {
  width: 100%;
  transform: scale(1);
}

.hero-visual.is-spacious-crop img {
  transform: scale(1.2);
}

.hero-visual .hero-car-gv70 {
  width: 100%;
  transform: scale(1.1);
}

.offer-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  color: #f7fbfd;
  background:
    linear-gradient(135deg, rgba(47, 111, 143, 0.82), rgba(30, 53, 70, 0.76));
  border: 1px solid rgba(190, 219, 231, 0.34);
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(7, 20, 31, 0.24);
  backdrop-filter: blur(14px);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.offer-panel span,
.offer-panel dt,
.offer-panel small {
  color: rgba(247, 251, 253, 0.68);
}

.offer-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.offer-panel dl,
.trust-row,
.spec-grid,
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.offer-panel dl {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 16px 0 0;
}

.offer-panel dt,
.offer-panel dd {
  margin: 0;
}

.offer-panel dd {
  color: #ffffff;
  font-weight: 850;
}

.trust-row {
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-row div {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 24px;
  border-right: 1px solid var(--line);
}

.trust-row div:last-child {
  border-right: 0;
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  font-size: 24px;
  line-height: 1.08;
}

.trust-row span {
  color: var(--muted);
  line-height: 1.25;
}

.journey-grid article {
  position: relative;
  padding-left: 48px;
}

.journey-grid article > span {
  position: absolute;
  top: 28px;
  left: 18px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: #4a9a72;
  border-radius: var(--radius);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(74, 154, 114, 0.22);
}

.journey-grid article:nth-child(2) > span {
  background: var(--red);
  box-shadow: 0 10px 24px rgba(239, 51, 56, 0.18);
}

.journey-grid article:nth-child(3) {
  border-left-color: #2f6f8f;
}

.journey-grid article:nth-child(3) > span {
  background: #2f6f8f;
  box-shadow: 0 10px 24px rgba(47, 111, 143, 0.2);
}

.journey-grid h3,
.journey-grid p {
  padding-left: 48px;
}

.offer-trust-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  background:
    radial-gradient(circle at 8% 0%, rgba(47, 111, 143, 0.12), transparent 34%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
  border-top: 1px solid #dce7ee;
  border-bottom: 1px solid #dce7ee;
}

.offer-trust-copy {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.offer-trust-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
}

.offer-trust-copy p:not(.eyebrow) {
  margin: 0;
  color: #5f6f7f;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
}

.offer-jump-pill {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 0 18px;
  color: #284d62;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #cfe0e9;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(22, 37, 51, 0.06);
  font-size: 15px;
  font-weight: 860;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.offer-jump-pill:hover,
.offer-jump-pill:focus-visible {
  color: #ffffff;
  background: #d9423b;
  border-color: #d9423b;
  box-shadow: 0 16px 34px rgba(217, 66, 59, 0.26);
  transform: translateY(-2px);
}

.offer-trust-stack {
  display: grid;
  gap: 16px;
}

.offer-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.offer-trust-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 30px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d4e2ea;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(22, 37, 51, 0.07);
}

.offer-trust-grid span,
.offer-trust-wide span {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #2f6f8f;
  background: #eaf5f9;
  border: 1px solid #c9e1ec;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 880;
  letter-spacing: 0.08em;
}

.offer-trust-grid article:nth-child(2) span {
  color: #a73531;
  background: #fff0ef;
  border-color: #f3c8c5;
}

.offer-trust-grid article:nth-child(3) span {
  color: #6f5423;
  background: #fbf4e5;
  border-color: #ead5a9;
}

.offer-trust-wide span {
  color: #2f6f8f;
  background: #eef7fb;
  border-color: #c9e1ec;
}

.offer-trust-grid h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.08;
}

.offer-trust-grid p {
  margin: 0;
  color: #657586;
  font-size: 16px;
  line-height: 1.55;
}

.offer-trust-wide {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px) !important;
  padding: clamp(22px, 2.4vw, 30px) !important;
  border: 1px solid #d4e2ea;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(22, 37, 51, 0.07);
  background:
    linear-gradient(135deg, rgba(47, 111, 143, 0.1), rgba(255, 255, 255, 0.96) 38%),
    #ffffff !important;
}

.offer-trust-wide h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.04;
}

.offer-trust-wide p {
  margin: 0;
  max-width: 860px;
  color: #657586;
  font-size: 17px;
  line-height: 1.58;
}

.offer-trust-wide .secondary-btn {
  white-space: nowrap;
  background: #ffffff;
}

.callback-section {
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: clamp(36px, 5vw, 58px);
  background: var(--white);
}

.callback-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(24px, 3.4vw, 42px);
  background:
    radial-gradient(circle at left top, rgba(47, 111, 143, 0.12), transparent 38%),
    #f8fbfd;
  border: 1px solid #cfe0e8;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(22, 37, 51, 0.07);
}

.callback-card h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

.callback-card p:not(.eyebrow) {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.callback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.callback-actions a,
.callback-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 720;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.callback-actions a:hover,
.callback-actions button:hover {
  transform: translateY(-2px);
}

.callback-actions svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.callback-phone {
  color: #ffffff;
  background: #0b756f;
  border: 1px solid #0b756f;
  box-shadow: 0 16px 34px rgba(11, 117, 111, 0.18);
}

.callback-phone:hover {
  background: #086861;
  border-color: #086861;
  box-shadow: 0 20px 42px rgba(11, 117, 111, 0.22);
}

.callback-request {
  color: #0b756f;
  background: #ffffff;
  border: 2px solid #0b756f;
}

.callback-request:hover {
  background: #f0f8f7;
  box-shadow: 0 18px 38px rgba(11, 117, 111, 0.12);
}

.campaign-strip-section {
  padding: clamp(18px, 3vw, 34px) clamp(20px, 4vw, 56px);
  background: var(--white);
}

.campaign-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr) auto;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(47, 111, 143, 0.1), rgba(234, 60, 58, 0.05)),
    #f8fbfd;
  border: 1px solid #cfe0e8;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(22, 37, 51, 0.07);
}

.campaign-strip h2 {
  margin: 6px 0 0;
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.08;
}

.campaign-strip p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.campaign-strip span {
  display: inline-flex;
  justify-content: center;
  min-width: 190px;
  padding: 15px 18px;
  color: #ffffff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 760;
  text-align: center;
}

.campaign-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
  padding: clamp(28px, 5vw, 76px) clamp(20px, 5vw, 76px);
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(23, 37, 50, 0.96), rgba(47, 111, 143, 0.92)),
    #24495f;
}

.campaign-hero-copy {
  max-width: 760px;
}

.campaign-back {
  margin-bottom: clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.96);
}

.campaign-hero h1 {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: clamp(46px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

.campaign-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.campaign-visual {
  display: grid;
  gap: 18px;
}

.campaign-vehicle-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
  padding: clamp(22px, 4vw, 44px);
  background:
    radial-gradient(circle at 50% 68%, rgba(255,255,255,0.55), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
}

.campaign-vehicle-stage img {
  display: block;
  width: min(100%, 720px);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.24));
}

.campaign-count {
  position: absolute;
  right: 22px;
  top: 22px;
  padding: 11px 16px;
  color: #1f5f38;
  background: #e6f5ec;
  border: 1px solid rgba(64, 158, 105, 0.24);
  border-radius: 999px;
  font-weight: 820;
}

.campaign-facts,
.campaign-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.campaign-facts div,
.campaign-specs span {
  padding: 17px 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #d7e2ea;
  border-radius: 8px;
}

.campaign-facts dt,
.campaign-specs span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.campaign-facts dd,
.campaign-specs strong {
  display: block;
  margin: 5px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 840;
}

.campaign-section,
.campaign-inquiry,
.campaign-detail-band {
  padding: clamp(54px, 7vw, 94px) clamp(20px, 5vw, 76px);
  background: #f4f7fa;
}

.campaign-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.campaign-intro h2,
.campaign-inquiry h2,
.campaign-detail-band h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.02;
}

.campaign-intro p:not(.eyebrow),
.campaign-inquiry p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.campaign-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.campaign-benefits article {
  padding: clamp(22px, 2.6vw, 34px);
  background: #ffffff;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(22, 37, 51, 0.06);
}

.campaign-benefits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #2f6f8f;
  background: #e5f3f8;
  border: 1px solid #c5e3ef;
  border-radius: 999px;
  font-weight: 840;
}

.campaign-benefits h3 {
  margin: 26px 0 0;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.05;
}

.campaign-benefits p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.campaign-detail-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: #ffffff;
}

.campaign-specs {
  grid-template-columns: repeat(4, 1fr);
}

.campaign-inquiry {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.campaign-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: #ffffff;
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(22, 37, 51, 0.06);
}

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

.campaign-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 760;
}

.campaign-form input,
.campaign-form select,
.campaign-form textarea {
  width: 100%;
  padding: 15px 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid #cddbe6;
  border-radius: 8px;
  font: inherit;
}

.campaign-form textarea {
  resize: vertical;
}

.campaign-form .full {
  width: 100%;
  border: 0;
}

.callback-modal[hidden] {
  display: none;
}

.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.callback-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, 0.62);
  backdrop-filter: blur(4px);
}

.callback-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: clamp(26px, 3.6vw, 40px);
  text-align: center;
  background: linear-gradient(180deg, #fbfefe 0%, #f6fbfb 100%);
  border: 1px solid rgba(11, 117, 111, 0.55);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(20, 24, 32, 0.28);
}

.callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #101828;
  background: #ffffff;
  border: 1px solid #cfe0e8;
  border-radius: 8px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.callback-dialog h2 {
  max-width: 580px;
  margin: 6px auto 0;
  font-size: clamp(31px, 3.7vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

.callback-dialog > p:not(.eyebrow) {
  max-width: 560px;
  margin: 14px auto 24px;
  color: #344054;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 460;
  line-height: 1.55;
}

.callback-dialog .callback-register-hint {
  max-width: 580px;
  margin: -6px auto 22px;
  padding: 13px 16px;
  color: #2f5f78;
  background: rgba(234, 245, 250, 0.78);
  border: 1px solid #c9e0eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.callback-register-hint a {
  color: var(--red);
  font-weight: 760;
}

.callback-form-grid {
  display: grid;
  gap: 12px;
  max-width: 580px;
  margin: 0 auto;
  text-align: left;
}

.callback-form-grid label {
  display: grid;
  gap: 6px;
}

.callback-form-grid label > span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: #526174;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.01em;
}

.callback-form-grid input,
.callback-form-grid textarea {
  min-height: 50px;
  padding: 0 15px;
  color: #253244;
  background: #ffffff;
  border: 1px solid #d0e2e6;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(47, 111, 143, 0.06);
  font-size: 15px;
  font-weight: 450;
}

.callback-form-grid textarea {
  min-height: 96px;
  padding-top: 13px;
}

.callback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 32px;
  color: #ffffff;
  background: #0b756f;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 650;
}

.callback-submit:hover {
  background: #086861;
}

.callback-feedback {
  min-height: 34px;
  margin-top: 18px;
  color: #2f6f8f;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 850;
  line-height: 1.25;
}

.callback-feedback.is-error {
  color: #8c2525;
}

body.callback-modal-open {
  overflow: hidden;
}

.ad-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 32px;
  padding-bottom: 32px;
  background: #f5f8fa;
}

.ad-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: end;
  text-decoration: none;
  border: 1px solid #cbdce5;
  border-radius: var(--radius);
  background: #203745;
  box-shadow: 0 18px 42px rgba(22, 37, 51, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ad-card:hover {
  transform: translateY(-2px);
  border-color: #9fc2d0;
  box-shadow: 0 22px 52px rgba(22, 37, 51, 0.16);
}

.ad-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(22, 37, 51, 0.05), rgba(22, 37, 51, 0.78));
}

.ad-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ad-card div {
  max-width: 520px;
  padding: 24px;
  color: #ffffff;
}

.ad-card span {
  color: #f0b6b4;
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05;
}

.ad-card p {
  max-width: 420px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.5;
}

.ad-card em {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 14px;
  color: #ffffff;
  background: rgba(233, 62, 57, 0.9);
  border-radius: 6px;
  font-size: 14px;
  font-style: normal;
  font-weight: 820;
}

.ad-card-open::before {
  background: linear-gradient(180deg, rgba(22, 37, 51, 0.12), rgba(22, 37, 51, 0.84));
}

.weekly-deals-section {
  background: #ffffff;
}

.weekly-deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.weekly-deal-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #f7fbfd;
  border: 1px solid #d7e3ea;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(22, 37, 51, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.weekly-deal-card:hover {
  transform: translateY(-2px);
  border-color: #a9c7d3;
  box-shadow: 0 18px 44px rgba(22, 37, 51, 0.12);
}

.weekly-deal-media {
  display: grid;
  place-items: center;
  min-height: 205px;
  padding: 22px 18px 4px;
  background:
    radial-gradient(circle at 50% 62%, rgba(47, 111, 143, 0.13), transparent 46%),
    linear-gradient(180deg, #eef5f8, #ffffff);
}

.weekly-deal-media img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(20, 24, 32, 0.15));
}

.weekly-deal-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.weekly-deal-kicker {
  width: fit-content;
  min-height: 26px;
  padding: 0 9px;
  color: var(--blue);
  background: #e8f3f7;
  border: 1px solid #d5e7ee;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  line-height: 26px;
  text-transform: uppercase;
}

.weekly-deal-card strong {
  color: #20313f;
  font-size: 23px;
  line-height: 1.12;
}

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

.weekly-deal-specs span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px 11px;
  background: #ffffff;
  border: 1px solid #d7e5ec;
  border-radius: 8px;
}

.weekly-deal-specs small,
.weekly-deal-meta small {
  color: #667987;
  font-size: 12px;
  font-weight: 650;
}

.weekly-deal-specs b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.weekly-deal-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.weekly-deal-meta span {
  display: grid;
  gap: 2px;
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
}

.weekly-deal-meta em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 6px;
  font-size: 13px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.blog-teaser-section,
.blog-section {
  background: #ffffff;
}

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

.blog-grid article,
.blog-grid a {
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #f7fbfd;
  border: 1px solid #d7e3ea;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(22, 37, 51, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-grid a:hover {
  transform: translateY(-2px);
  border-color: #a9c7d3;
  box-shadow: 0 18px 44px rgba(22, 37, 51, 0.12);
}

.blog-card-media {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-size: cover;
}

.blog-card-media::before {
  position: absolute;
  inset: -18px;
  z-index: -2;
  content: "";
  background-image: inherit;
  background-position: center;
  background-size: cover;
  filter: blur(16px) saturate(1.05);
  transform: scale(1.08);
}

.blog-card-media::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, rgba(238, 245, 248, 0.7), rgba(31, 62, 80, 0.12));
}

.blog-grid .blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.compact-blog-grid img {
  height: auto;
}

.blog-grid div {
  padding: 18px;
}

.blog-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-grid h2,
.blog-grid h3 {
  margin: 8px 0 8px;
  color: #20313f;
  font-size: 24px;
  line-height: 1.1;
}

.compact-blog-grid h3 {
  font-size: 21px;
}

.blog-grid p {
  margin: 0;
  color: #62727f;
  font-size: 15px;
  line-height: 1.5;
}

.blog-grid em {
  display: inline-flex;
  margin-top: 16px;
  color: var(--blue);
  font-style: normal;
  font-weight: 820;
}

.blog-article {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--page-pad) clamp(96px, 12vw, 150px);
}

.blog-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 28px;
}

.page-home-link {
  margin: 18px 0 28px;
}

.blog-article h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.96;
}

.blog-article .lead {
  max-width: 760px;
  color: var(--muted);
}

.blog-article > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  margin: 34px 0;
  border-radius: var(--radius);
}

.blog-article-body {
  display: grid;
  gap: 18px;
  max-width: 760px;
  color: #334155;
  font-size: 20px;
  line-height: 1.65;
}

.blog-article-body > :last-child {
  margin-bottom: 0;
}

.blog-article-spacer {
  height: clamp(76px, 10vw, 132px);
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
  margin: 20px 0 0;
  color: var(--ink);
  line-height: 1.12;
}

.blog-article-body h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.blog-article-body h3 {
  font-size: clamp(24px, 3vw, 32px);
}

.blog-article-body h4 {
  font-size: 22px;
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body blockquote {
  margin: 0;
}

.blog-article-body ul,
.blog-article-body ol {
  display: grid;
  gap: 8px;
  padding-left: 26px;
}

.blog-article-body blockquote {
  padding: 18px 22px;
  color: #284d62;
  background: #edf6fa;
  border-left: 5px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-article-body a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.blog-article-body a:hover {
  text-decoration: underline;
}

.youtube-section {
  padding-top: 28px;
  padding-bottom: 52px;
  background: #f6f8fb;
}

.youtube-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: stretch;
  max-width: 1320px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(22, 37, 51, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.youtube-card:hover {
  border-color: #c4d7e0;
  box-shadow: 0 24px 56px rgba(22, 37, 51, 0.14);
  transform: translateY(-2px);
}

.youtube-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 205px;
  background:
    linear-gradient(135deg, rgba(20, 24, 32, 0.9), rgba(47, 111, 143, 0.72)),
    url("https://www.car-morek360.de/upload/news/IMG_0948.JPG") center/cover;
}

.youtube-visual::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.play-mark {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.play-mark::before {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  content: "";
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 21px solid var(--red);
  transform: translate(-40%, -50%);
}

.video-strip {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
}

.youtube-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(34px, 4.2vw, 54px) clamp(24px, 3.6vw, 42px) clamp(24px, 3.4vw, 42px);
}

.youtube-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #141820;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.youtube-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.youtube-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
  font-weight: 850;
}

section {
  padding: clamp(46px, 7vw, 82px) clamp(18px, 5vw, 72px);
}

.workspace,
.backend-section {
  background: var(--white);
}

.backend-section {
  padding-top: clamp(34px, 4.5vw, 72px);
  padding-left: clamp(30px, 4.5vw, 72px);
  padding-right: clamp(30px, 4.5vw, 72px);
}

.backend-detail {
  padding-left: clamp(30px, 6vw, 96px);
  padding-right: clamp(22px, 5vw, 72px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.section-actions form {
  margin: 0;
}

.customer-card-meta {
  margin: 8px 0 0;
  color: #5d6b7d;
  font-size: 16px;
  font-weight: 680;
}

section h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #eef2f6;
  border-radius: var(--radius);
}

.segmented button {
  min-height: 38px;
  padding: 0 14px;
  color: #404957;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
}

.segmented button.is-active {
  color: var(--white);
  background: var(--ink);
}

.catalog-tools {
  display: grid;
  justify-items: end;
  gap: 12px;
  min-width: min(420px, 100%);
}

.vehicle-search {
  width: min(420px, 100%);
  margin: 0;
  gap: 7px;
  color: #526071;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vehicle-search input {
  min-height: 46px;
  padding: 0 16px;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 10px 22px rgba(20, 24, 32, 0.04);
}

.vehicle-search input:focus {
  outline: 3px solid rgba(47, 111, 143, 0.16);
  border-color: var(--blue);
}

.vehicle-empty-state {
  margin: 18px 0 0;
  padding: 18px;
  color: #526071;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 650;
}

.contract-filter-note {
  max-width: 780px;
  margin: -14px 0 22px;
  padding: 12px 14px;
  color: #526071;
  background: #f7fbfd;
  border: 1px solid #d6e5ec;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.45;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filters,
.request-panel,
.portal-preview {
  padding: 18px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #344054;
  font-size: 14px;
  font-weight: 560;
}

.filter-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.filters .drive-filter {
  gap: 9px;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.filters .drive-filter .field-label {
  margin-bottom: 2px;
}

.filters .drive-filter .checkline {
  margin: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 680;
}

.filters .drive-filter input {
  width: 17px;
  height: 17px;
  min-height: 17px;
}

.field-label {
  color: #344054;
  font-size: 14px;
  font-weight: 560;
}

input[type="range"] {
  width: 100%;
  min-height: 26px;
  padding: 0;
  accent-color: var(--blue);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

select {
  padding: 0 40px 0 13px;
  background:
    linear-gradient(45deg, transparent 50%, #486678 50%) right 17px center / 7px 7px no-repeat,
    linear-gradient(135deg, #486678 50%, transparent 50%) right 12px center / 7px 7px no-repeat,
    var(--white);
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.25;
}

select option {
  color: #263241;
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 520;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 13px;
  color: #253244;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 460;
  letter-spacing: 0;
  box-shadow: 0 1px 0 rgba(20, 24, 32, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.custom-select-trigger::before,
.custom-select-trigger::after {
  position: absolute;
  right: 16px;
  width: 8px;
  height: 2px;
  content: "";
  background: #486678;
  border-radius: 2px;
}

.custom-select-trigger::before {
  top: 20px;
  transform: rotate(45deg) translateX(-2px);
}

.custom-select-trigger::after {
  top: 20px;
  transform: rotate(-45deg) translateX(2px);
}

.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger {
  border-color: var(--control-hover);
}

.custom-select.is-open .custom-select-trigger {
  box-shadow: 0 0 0 4px rgba(47, 111, 143, 0.14);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  display: none;
  width: 100%;
  max-height: 286px;
  padding: 6px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid #d6e0ea;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(20, 24, 32, 0.16);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 2px;
}

.custom-select-option {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  color: #253244;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 440;
  letter-spacing: 0;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  color: var(--blue);
  background: #edf6fa;
}

.native-select-hidden {
  position: absolute;
  width: 1px;
  min-height: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-select {
  position: relative;
}

.admin-select-trigger {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding: 0 40px 0 13px;
  color: #253244;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 460;
  letter-spacing: 0;
  box-shadow: 0 1px 0 rgba(20, 24, 32, 0.03);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.admin-select-trigger::before,
.admin-select-trigger::after {
  position: absolute;
  right: 16px;
  top: 20px;
  width: 8px;
  height: 2px;
  content: "";
  background: #486678;
  border-radius: 2px;
}

.admin-select-trigger::before {
  transform: rotate(45deg) translateX(-2px);
}

.admin-select-trigger::after {
  transform: rotate(-45deg) translateX(2px);
}

.admin-select.is-open .admin-select-trigger,
.admin-select-trigger:hover {
  border-color: var(--control-hover);
}

.admin-select.is-open .admin-select-trigger {
  box-shadow: 0 0 0 4px rgba(47, 111, 143, 0.14);
}

.admin-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 40;
  display: none;
  width: 100%;
  max-height: 292px;
  padding: 6px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid #d6e0ea;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(20, 24, 32, 0.16);
}

.admin-select.opens-up .admin-select-menu {
  top: auto;
  bottom: calc(100% + 6px);
}

.admin-select.is-open .admin-select-menu {
  display: grid;
  gap: 2px;
}

.admin-select-option {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  color: #253244;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 440;
  letter-spacing: 0;
}

.admin-select-option:hover,
.admin-select-option.is-selected {
  color: var(--blue);
  background: #edf6fa;
}

.status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.status-not_started {
  color: #9a2a22;
  background: #fff0ec;
  border: 1px solid #f2b8ae;
}

.status-started {
  color: #76520f;
  background: #fff6d8;
  border: 1px solid #ead58c;
}

.status-done {
  color: #20734f;
  background: #eaf8f1;
  border: 1px solid #abdcc4;
}

.status-select-ui[data-value="not_started"] .admin-select-trigger {
  color: #9a2a22;
  background: #fff0ec;
  border-color: #f2b8ae;
}

.status-select-ui[data-value="started"] .admin-select-trigger {
  color: #76520f;
  background: #fff6d8;
  border-color: #ead58c;
}

.status-select-ui[data-value="done"] .admin-select-trigger {
  color: #20734f;
  background: #eaf8f1;
  border-color: #abdcc4;
}

.request-panel label {
  color: #344054;
  font-size: 14px;
  font-weight: 560;
}

.request-panel select {
  min-height: 42px;
  color: #253244;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.request-form {
  padding: 18px;
}

.request-form.is-open {
  grid-column: 1 / -1;
  padding: clamp(18px, 3vw, 28px);
}

.request-form.is-open [data-request-toggle] {
  display: none;
}

.request-quick-config {
  display: grid;
  gap: 0;
}

.request-details {
  padding-top: 28px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.request-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.request-tabs span,
.request-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 28px;
  color: var(--red);
  text-decoration: none;
  background: #fde9e9;
  border-radius: 6px;
  font-weight: 760;
}

.request-tabs .is-active {
  color: #fff;
  background: var(--red);
}

.request-account-box {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  margin-bottom: 24px;
  color: #29445a;
  background: #eaf5fa;
  border: 1px solid #c6dde9;
  border-radius: 10px;
}

.request-account-box span {
  color: #5e7286;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.request-account-box strong {
  color: #152437;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.1;
}

.request-account-box p {
  max-width: 760px;
  margin: 0;
  color: #516479;
}

.nav-account {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #2f6f8f;
  background: #eaf5fa;
  border: 1px solid #c6dde9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
}

.customer-type-toggle {
  display: inline-flex;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid var(--control-border);
  border-radius: 5px;
}

.customer-type-toggle label {
  margin: 0;
}

.customer-type-toggle input {
  position: absolute;
  opacity: 0;
}

.customer-type-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  color: #2f3d4f;
  cursor: pointer;
}

.customer-type-toggle input:checked + span {
  background: #e8edf2;
}

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

.request-vehicle-summary {
  padding-top: 22px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.request-vehicle-summary h2 {
  margin: 0 0 18px;
  color: #2b3546;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.request-vehicle-summary ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 14px 0 22px;
  color: #344054;
  list-style: none;
}

.request-spec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px 0 22px;
}

.request-spec-row span {
  color: var(--muted);
}

.request-spec-row strong {
  display: block;
  margin-top: 6px;
  color: #263241;
  font-size: 18px;
}

.request-config-grid {
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.request-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: end;
  padding-top: 14px;
}

.request-bottom .price-box {
  margin: 0;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkline input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--blue);
  border-radius: 5px;
}

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

.vehicle-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vehicle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.vehicle-card.is-hidden {
  display: none;
}

.vehicle-card img {
  width: 100%;
  height: 235px;
  object-fit: contain;
  padding: 18px 18px 6px;
  background:
    radial-gradient(circle at 50% 60%, rgba(47, 111, 143, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(246, 248, 251, 0.75), rgba(255, 255, 255, 0));
  filter: drop-shadow(0 22px 20px rgba(20, 24, 32, 0.16));
}

.vehicle-card-body {
  padding: 18px 18px 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: var(--blue);
  background: #e8f3f7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.badge-muted {
  color: #526071;
  background: #f1f5f8;
  border: 1px solid #dde8ee;
}

.badge-return {
  color: #775417;
  background: #fff5dc;
  border: 1px solid #efd394;
}

.vehicle-card h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.vehicle-card p {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.vehicle-card .vehicle-return-note {
  min-height: 0;
  margin-top: 8px;
  color: #42576b;
  font-size: 14px;
  font-weight: 650;
}

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

.vehicle-specs span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 11px 12px;
  background: #f5f9fb;
  border: 1px solid #d7e5ec;
  border-radius: 8px;
}

.vehicle-specs small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.vehicle-specs strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
}

.vehicle-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 16px;
  font-weight: 850;
}

.vehicle-meta strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
  text-align: right;
  white-space: nowrap;
}

.vehicle-meta small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--blue);
  background: #e8f3f7;
  border: 1px solid #cfe2ea;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

.availability-pill.is-now {
  color: #12633f;
  background: #e6f6ee;
  border-color: #c7ead9;
}

.detail-return-note {
  max-width: 640px;
  margin-top: 14px;
  padding: 12px 14px;
  color: #e6f4f8;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(221, 236, 243, 0.22);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
}

.detail-availability-note {
  display: inline-flex;
  gap: 7px;
  max-width: 640px;
  margin: 10px 0 0;
  padding: 10px 13px;
  color: #eef9fb;
  background: rgba(232, 243, 247, 0.12);
  border: 1px solid rgba(221, 236, 243, 0.28);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.detail-availability-note strong {
  color: #fff;
}

.vehicle-card button,
.card-action {
  width: 100%;
  min-height: 46px;
  color: var(--blue);
  background: #f7fbfd;
  border-color: #b8d3df;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.card-action span {
  font-size: 18px;
  line-height: 1;
}

.vehicle-card button:hover,
.card-action:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-weight: 850;
}

.inline-link {
  display: inline;
  margin-top: 0;
}

.page-hero {
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--blue));
}

.page-hero h1,
.vehicle-detail-hero h1,
.backend-section h1,
.detail-copy h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.backend-section h1 {
  color: #243547;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 720;
}

.backend-section .eyebrow {
  color: #b43b3b;
}

.page-hero p:not(.eyebrow),
.vehicle-detail-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.6;
}

.page-hero-back {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.38);
}

.no-top {
  padding-top: 42px;
}

.detail-back-bar {
  display: flex;
  justify-content: flex-start;
  padding: 22px clamp(18px, 5vw, 72px) 0;
  background: linear-gradient(135deg, rgba(20, 24, 32, 0.98), rgba(47, 111, 143, 0.9));
}

.detail-back-bar .secondary-btn {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.38);
}

.vehicle-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, rgba(20, 24, 32, 0.98), rgba(47, 111, 143, 0.9));
}

.vehicle-detail-hero .spec-grid div {
  color: var(--ink);
}

.detail-image {
  display: grid;
  place-items: center;
  min-height: 410px;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 56%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.detail-image img {
  width: min(780px, 112%);
  max-width: none;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 34px 30px rgba(0, 0, 0, 0.3));
}

.detail-image-placeholder {
  display: grid;
  place-items: center;
  width: min(620px, 100%);
  min-height: 260px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-item-multi {
  grid-column: 1 / -1;
}

.feature-list > li,
.feature-item {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #344054;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.55;
}

.feature-item p {
  margin: 0;
  color: #344054;
  font-weight: 520;
  line-height: 1.55;
}

.feature-item ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-item li {
  position: relative;
  padding-left: 18px;
  color: #344054;
  font-weight: 520;
  line-height: 1.45;
}

.feature-item li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.72;
}

.detail-gallery {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  overflow: visible;
}

.detail-gallery-item {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
  isolation: isolate;
  overflow: visible;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.detail-gallery-item:focus-visible {
  outline: 3px solid rgba(44, 113, 144, 0.28);
  outline-offset: 4px;
}

.detail-gallery img {
  width: min(100%, 360px);
  height: 150px;
  object-fit: contain;
  padding: 14px;
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
  transition: filter 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
  .detail-gallery-item:hover,
  .detail-gallery-item:focus-visible {
    z-index: 40;
    border-color: #9fc2d0;
    box-shadow: 0 14px 30px rgba(22, 37, 51, 0.12);
    transform: translateY(-2px);
  }

  .detail-gallery-item:hover img,
  .detail-gallery-item:focus-visible img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 50;
    width: min(620px, calc(100vw - 64px));
    max-width: none;
    height: auto;
    max-height: 72vh;
    padding: 0;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 24px 58px rgba(22, 37, 51, 0.26);
    filter: none;
    transform: translate(-50%, -50%);
  }

  .detail-gallery-item:nth-child(2n + 1):hover img,
  .detail-gallery-item:nth-child(2n + 1):focus-visible img {
    left: 0;
    transform: translate(0, -50%);
  }

  .detail-gallery-item:nth-child(2n):hover img,
  .detail-gallery-item:nth-child(2n):focus-visible img {
    right: 0;
    left: auto;
    transform: translate(0, -50%);
  }
}

.detail-status-band {
  padding: 26px clamp(18px, 5vw, 72px) 0;
  background: #f3f7fa;
}

.detail-status-band .detail-success {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  border-radius: 14px;
}

.detail-status-band + .detail-shell {
  padding-top: 26px;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.detail-sections {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.detail-sections article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-sections p,
.detail-sections div {
  color: #3f4856;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.65;
}

.detail-sections strong {
  font-weight: 680;
}

.detail-shell,
.portal-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 26px;
  align-items: start;
}

.detail-copy,
.service-band,
.backend-section {
  border-top: 1px solid var(--line);
}

.detail-copy p,
.portal-section p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-section {
  padding: 52px clamp(18px, 5vw, 72px);
  background: #f5f8fa;
}

.faq-section .section-head {
  margin-bottom: 22px;
}

.faq-section h2 {
  font-size: clamp(34px, 4.5vw, 58px);
}

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

.faq-grid details {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d7e3ea;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(22, 37, 51, 0.05);
}

.faq-grid summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #263a49;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.25;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin: 0;
  padding: 0 18px 18px;
  color: #5b6c78;
  font-size: 15px;
  line-height: 1.55;
}

.faq-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.faq-actions .secondary-btn {
  min-height: 48px;
  background: #ffffff;
}

.morek-world-section {
  padding: 24px clamp(18px, 5vw, 72px) 34px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fa 46%, #eef5f8 100%);
}

.morek-world-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.48fr) minmax(360px, 1fr) auto;
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px);
  color: #20313f;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 248, 251, 0.9)),
    #ffffff;
  border: 1px solid #cfe0e8;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(22, 37, 51, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.morek-world-card:hover {
  border-color: #b9d1dc;
  box-shadow: 0 20px 44px rgba(22, 37, 51, 0.11);
  transform: translateY(-2px);
}

.morek-world-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.morek-world-card strong {
  color: var(--ink);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.05;
}

.morek-world-card p {
  max-width: 720px;
  margin: 0;
  color: #62727f;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.morek-world-card em {
  justify-self: end;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #24546c;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #c6dce6;
  border-radius: 8px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

.morek-world-card:hover em {
  color: #ffffff;
  background: #2f6f8f;
  border-color: #2f6f8f;
}

.detail-faq-section {
  padding-top: 0;
  background: #f5f8fa;
}

.detail-faq-toggle {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d7e3ea;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(22, 37, 51, 0.06);
}

.detail-faq-toggle > summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 780;
  list-style: none;
}

.detail-faq-toggle > summary::-webkit-details-marker {
  display: none;
}

.detail-faq-toggle > summary::after {
  margin-left: 10px;
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.detail-faq-toggle[open] > summary::after {
  content: "-";
}

.detail-faq-toggle .faq-grid {
  margin-top: 18px;
}

.detail-copy h2 {
  max-width: 780px;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 720;
  line-height: 1.08;
}

.spec-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.spec-grid div,
.dashboard-stats div,
.dashboard-stats a,
.dashboard-stat-button {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.dashboard-stats a,
.dashboard-stat-button {
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.dashboard-stats a:hover,
.dashboard-stats a.is-active,
.dashboard-stat-button:hover,
.dashboard-stat-button.is-active {
  border-color: #9fc4d4;
  box-shadow: 0 12px 28px rgba(47, 111, 143, 0.14);
  transform: translateY(-1px);
}

.dashboard-stats a.is-active,
.dashboard-stat-button.is-active {
  background: #eef6fa;
}

.customer-area-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.area-stat-card span {
  color: #43556a;
}

.spec-grid span,
.dashboard-stats span,
.dashboard-stat-button span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.spec-grid strong,
.dashboard-stats strong,
.dashboard-stat-button strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.dashboard-stats .stat-breakdown {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 2px;
  align-items: baseline;
  margin-top: 8px;
}

.dashboard-stats .stat-breakdown b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 860;
  line-height: 1;
}

.dashboard-stats .stat-breakdown small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 740;
  line-height: 1.1;
}

.price-box {
  padding: 18px;
  margin: 12px 0 18px;
  background: #eef6fa;
  color: var(--ink);
  border: 1px solid #c7dde7;
  border-radius: var(--radius);
}

.price-box span,
.price-box small {
  display: block;
  color: var(--muted);
}

.price-box strong {
  display: block;
  margin: 4px 0;
  font-size: 34px;
  color: var(--blue);
}

.full {
  width: 100%;
}

.service-band {
  background: #eef2f6;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.service-grid article {
  padding: 22px;
  background: var(--white);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
}

.service-grid article:nth-child(2) {
  border-left-color: var(--red);
}

.service-grid article:nth-child(3) {
  border-left-color: var(--gold);
}

.service-grid h3 {
  margin: 0 0 10px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.portal-section {
  grid-template-columns: 1fr 0.85fr;
  padding-bottom: clamp(30px, 4vw, 46px);
  background: var(--white);
}

.browser-bar {
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 11px;
  height: 11px;
  background: var(--line);
  border-radius: 50%;
}

.portal-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
}

.portal-top small,
.portal-top strong {
  display: block;
}

.portal-top strong {
  font-size: 24px;
}

.status-pill {
  align-self: start;
  padding: 7px 10px;
  color: #12633f;
  background: #e5f6ef;
  border-radius: 999px;
  font-weight: 850;
}

.status-pill.compact {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  font-size: 13px;
  font-weight: 750;
}

.status-pill.muted {
  color: #667085;
  background: #edf1f5;
}

.status-pill.neutral {
  color: #476174;
  background: #edf6fa;
}

.status-pill.progress {
  color: #8a5b12;
  background: #fff4dc;
}

.status-pill.status-not_started {
  color: #9a2a22;
  background: #fff0ec;
  border: 1px solid #f2b8ae;
}

.status-pill.status-started {
  color: #76520f;
  background: #fff6d8;
  border: 1px solid #ead58c;
}

.status-pill.status-done {
  color: #20734f;
  background: #eaf8f1;
  border: 1px solid #abdcc4;
}

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

.portal-list div {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(140px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.portal-list strong {
  justify-self: end;
  text-align: right;
  color: var(--blue);
}

.dashboard {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(47, 70, 86, 0.08);
}

.dashboard.admin-wide {
  grid-template-columns: 220px minmax(760px, 1fr);
  overflow-x: auto;
}

.dashboard aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(180deg, #eef6fa 0%, #e7f0f5 100%);
  color: #253244;
  border-right: 1px solid #d5e4ec;
}

.dashboard aside strong {
  margin-bottom: 14px;
  font-size: 22px;
}

.dashboard aside a {
  padding: 10px 12px;
  color: #556879;
  border-radius: 6px;
}

.dashboard aside a.is-active {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 3px 0 0 var(--red);
}

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

.dashboard-stats {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 18px;
}

.list-filter-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -4px 0 16px;
  padding: 11px 14px;
  color: #405165;
  background: #f3f8fb;
  border: 1px solid #d4e5ed;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 560;
}

.admin-list-tools {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  justify-content: flex-start;
  margin: 0 0 16px;
}

.table-search-field {
  flex: 0 1 520px;
  width: min(460px, 100%);
  margin: 0;
}

.table-search-field input {
  min-height: 44px;
}

.admin-list-tools .primary-btn {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
}

.list-filter-note a {
  color: var(--blue);
  font-weight: 760;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.strong-link {
  color: var(--ink);
  font-weight: 800;
}

.strong-link:hover {
  color: var(--blue);
}

.record-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 20px;
  align-items: start;
  max-width: 1480px;
}

.secondary-record-grid {
  margin-top: 20px;
}

.record-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.customer-danger-zone {
  display: grid;
  gap: 16px;
  max-width: 1480px;
  margin-top: 20px;
  border-color: #f2c6c0;
  background: linear-gradient(135deg, #fffafa, #ffffff);
}

.customer-danger-zone h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.customer-archive-notice {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 1480px;
  margin-bottom: 20px;
}

.customer-archive-notice form {
  margin: 0;
}

.inquiry-decision-card {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 1480px;
  margin-bottom: 20px;
}

.inquiry-decision-card h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.08;
}

.inquiry-decision-card p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.inquiry-decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.inquiry-decision-actions form {
  margin: 0;
}

.export-panel {
  display: grid;
  gap: 20px;
  max-width: 1480px;
}

.export-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.todo-table {
  overflow: visible;
}

.todo-table-wrap {
  padding-bottom: 220px;
  margin-bottom: -170px;
}

.todo-table .admin-select-menu {
  z-index: 80;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.table-actions form {
  margin: 0;
}

.table-actions select {
  min-width: 150px;
}

.todo-table th:nth-child(5),
.todo-table td:nth-child(5),
.todo-table th:nth-child(6),
.todo-table td:nth-child(6) {
  width: 1%;
  white-space: nowrap;
}

.todo-status-form,
.todo-delete-form {
  margin: 0;
}

.todo-status-form .admin-select {
  width: 148px;
}

.todo-status-form .admin-select-trigger {
  min-height: 38px;
  padding: 0 36px 0 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 820;
}

.todo-status-form .admin-select-trigger::before,
.todo-status-form .admin-select-trigger::after {
  top: 18px;
}

.todo-status-form .admin-select-menu {
  width: max-content;
  min-width: 100%;
}

.todo-status-form .status-select {
  width: 148px;
  min-height: 38px;
  padding: 0 34px 0 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 820;
}

.todo-status-form .status-select:has(option[value="not_started"]:checked) {
  color: #9a2a22;
  background-color: #fff0ec;
  border-color: #f2b8ae;
}

.todo-status-form .status-select:has(option[value="started"]:checked) {
  color: #76520f;
  background-color: #fff6d8;
  border-color: #ead58c;
}

.todo-status-form .status-select:has(option[value="done"]:checked) {
  color: #20734f;
  background-color: #eaf8f1;
  border-color: #abdcc4;
}

.todo-delete-form .danger-link {
  min-height: 34px;
  padding: 0;
  color: #9a2a22;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.todo-delete-form .danger-link:hover {
  color: #7e211b;
  text-decoration: underline;
  background: transparent;
}

.payment-filter {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(140px, 220px) 180px;
  gap: 18px;
  align-items: end;
}

.payment-view-actions {
  justify-content: flex-start;
  margin: 0 0 14px;
}

.payment-view-actions .secondary-btn.is-active {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.payment-filter label {
  margin-bottom: 0;
}

.invoice-search {
  max-width: 520px;
  margin: 0 0 18px;
}

.payment-check {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

.payment-check input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--blue);
}

.payment-bulk-form {
  margin: 0;
}

.payment-list-head {
  gap: 16px;
}

.payment-save-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

tr.is-paid {
  color: #697889;
  background: #f6faf7;
}

.invoice-discount-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.5fr);
  gap: 16px;
  align-items: end;
}

.invoice-body {
  background: #eef3f7;
}

.invoice-admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d6e0ea;
  box-shadow: 0 8px 24px rgba(25, 39, 52, 0.08);
}

.invoice-sheet {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(210mm, calc(100vw - 32px));
  min-height: 297mm;
  padding: 12mm 18mm 12mm;
  margin: 24px auto;
  color: #0f1720;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 24, 32, 0.16);
}

.invoice-document-label {
  align-self: flex-end;
  margin-bottom: 2mm;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  text-decoration: underline;
}

.invoice-logo {
  display: grid;
  width: 74mm;
  margin-bottom: 8mm;
  padding-top: 4mm;
  border-top: 1px solid #cfcfcf;
  line-height: 0.82;
}

.invoice-logo span {
  color: #000;
  font-size: 58px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.invoice-logo strong {
  position: relative;
  justify-self: end;
  margin-top: -2px;
  padding-right: 13mm;
  color: #ef2f37;
  font-size: 58px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.invoice-logo strong::after {
  position: absolute;
  top: -1mm;
  right: 6mm;
  width: 4.5mm;
  height: 4.5mm;
  content: "";
  border: 2.2mm solid #ef2f37;
  border-radius: 999px;
  box-sizing: border-box;
}

.invoice-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78mm;
  gap: 18mm;
  align-items: start;
  padding-top: 4mm;
  border-top: 1.5px solid #111;
}

.invoice-top small {
  display: block;
  color: #111;
  font-size: 13px;
  white-space: nowrap;
}

.invoice-top address {
  margin-top: 12mm;
  color: #111;
  font-style: normal;
  font-size: 16px;
  line-height: 1.34;
}

.invoice-company,
.invoice-footer div {
  display: grid;
  gap: 2px;
  color: #111;
  font-size: 14px;
  line-height: 1.18;
}

.invoice-company {
  justify-items: end;
  text-align: right;
  font-size: 16px;
  line-height: 1.18;
}

.invoice-company strong,
.invoice-footer strong {
  color: #111;
}

.invoice-meta {
  display: grid;
  gap: 2px;
  width: auto;
  margin: 16mm 0 0;
  font-size: 15px;
}

.invoice-meta div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.invoice-meta dt,
.invoice-meta dd {
  margin: 0;
}

.invoice-meta dt {
  font-weight: 400;
}

.invoice-meta dd {
  font-weight: 400;
}

.invoice-sheet h1 {
  margin: 18mm 0 20mm;
  padding-bottom: 1px;
  color: #111;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  border-bottom: 1.5px solid #333;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  color: #111;
  font-size: 15px;
}

.invoice-table th {
  padding: 0 6px 3px;
  color: #111;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  border-bottom: 1px solid #333;
}

.invoice-table th:last-child,
.invoice-table td:last-child {
  width: 42mm;
  text-align: right;
}

.invoice-table td {
  padding: 7mm 6px 4mm;
  border-bottom: 1px dashed #d1d5db;
  vertical-align: top;
}

.invoice-totals {
  display: grid;
  grid-template-columns: 1fr 42mm;
  gap: 2px 6mm;
  width: 86mm;
  margin: 8mm 0 0 auto;
  color: #111;
  font-size: 15px;
  text-align: right;
}

.invoice-totals span {
  color: #111;
}

.invoice-totals strong {
  font-weight: 400;
}

.invoice-totals strong:nth-last-child(2) {
  padding-top: 2px;
  border-top: 1px solid #333;
}

.invoice-totals strong:last-child {
  padding-top: 2px;
  font-size: 15px;
  font-weight: 400;
  border-top: 1px solid #333;
  border-bottom: 3px double #333;
}

.invoice-note {
  max-width: 520px;
  margin-top: 22px;
  color: #111;
  line-height: 1.55;
}

.invoice-footer {
  display: grid;
  position: relative;
  grid-template-columns: minmax(74mm, 1.2fr) minmax(64mm, 1fr);
  gap: 10mm;
  margin-top: auto;
  padding-top: 7mm;
  border-top: 1px solid #cfcfcf;
}

.invoice-footer span {
  white-space: nowrap;
}

.invoice-footer div:last-child {
  justify-items: end;
  text-align: right;
}

.invoice-page-number {
  position: absolute;
  right: 0;
  bottom: -7mm;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
}

@media print {
  @page {
    size: A4;
    margin: 12mm 18mm 18mm;
  }

  .invoice-body {
    background: #fff;
  }

  .invoice-admin-toolbar {
    display: none;
  }

  .invoice-sheet {
    width: auto;
    min-height: calc(297mm - 36mm);
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
}

.record-card.admin-form {
  max-width: none;
}

.transfer-card {
  max-width: 1180px;
  margin-top: 22px;
}

.transfer-card .admin-form {
  max-width: none;
  margin-top: 16px;
}

.transfer-card fieldset {
  align-content: start;
}

.transfer-card input,
.transfer-card select,
.transfer-card textarea {
  min-height: 46px;
  font-size: 15px;
}

.transfer-card input[type="search"],
.transfer-card input[list],
.transfer-card input[name="customer_lookup"] {
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
}

.transfer-card textarea {
  min-height: 100px;
}

.transfer-history {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  background: #f7fbfd;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
}

.transfer-history-head,
.transfer-history-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.transfer-history-list {
  display: grid;
  gap: 10px;
}

.transfer-history-row {
  flex-wrap: wrap;
  padding: 12px;
  background: #fff;
  border: 1px solid #dce7ee;
  border-radius: 12px;
}

.transfer-history-row small,
.transfer-history-row span {
  color: var(--muted);
}

.transfer-history-row.is-undone {
  opacity: .65;
}

.compact-head {
  align-items: center;
  margin-bottom: 16px;
}

.compact-head h2 {
  font-size: 28px;
}

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

.document-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.subsection-title {
  margin: 22px 0 0;
  font-size: 19px;
  color: #2c5f78;
}

.document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  background: #f7fbfd;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
}

.vehicle-document-row {
  background: #edf7fb;
}

.document-row strong,
.document-row small {
  display: block;
}

.document-row form {
  margin: 0;
}

.document-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.document-actions .danger-btn {
  padding: 9px 12px;
  font-size: 14px;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 110px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #f7fbfd;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
}

.order-row.with-actions {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.order-row-link {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 16px 28px;
  align-items: start;
  min-width: 0;
}

.order-main {
  grid-column: 1 / -1;
}

.order-main strong {
  margin-bottom: 4px;
  font-size: 21px;
  line-height: 1.12;
}

.order-main small {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.35;
}

.order-meta {
  min-width: 0;
}

.order-meta small {
  margin-bottom: 4px;
  font-size: 14px;
}

.order-meta strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.18;
}

.order-row form {
  margin: 0;
}

.order-row.with-actions > .secondary-btn,
.order-row.with-actions > form {
  justify-self: start;
}

.order-row.with-actions > .secondary-btn {
  grid-column: 1;
  width: auto;
}

.order-row.with-actions > form {
  grid-column: 1;
}

.order-row .danger-btn {
  padding: 9px 12px;
  font-size: 14px;
}

.order-row.single {
  grid-template-columns: 1fr;
}

.order-row strong,
.order-row small {
  display: block;
}

.order-row small,
.muted-copy {
  color: var(--muted);
}

.ended-vehicle-history {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.ended-vehicle-list {
  display: grid;
  gap: 12px;
}

.ended-vehicle-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(120px, 1fr));
  gap: 14px 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
  background: #fffaf6;
}

.ended-vehicle-main,
.ended-vehicle-row span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ended-vehicle-main strong,
.ended-vehicle-row strong {
  color: var(--ink);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.ended-vehicle-main small,
.ended-vehicle-row small {
  color: var(--muted);
  font-weight: 700;
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

fieldset legend {
  padding: 0 8px;
  color: #2f5f78;
  font-size: 14px;
  font-weight: 720;
}

.order-form {
  grid-template-columns: 1fr;
  max-width: 1180px;
}

.full-field {
  grid-column: 1 / -1;
}

th,
td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

td small {
  color: var(--muted);
}

.table-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: #2f6f8f;
  background: #eef6fa;
  border: 1px solid #c7dde7;
  border-radius: 6px;
  font-weight: 750;
}

.table-action:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.table-action.danger-action {
  color: #8a211d;
  background: #fff0ec;
  border-color: #f2b8ae;
}

.table-action.danger-action:hover {
  color: #ffffff;
  background: #d83d35;
  border-color: #d83d35;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-form.order-form {
  grid-template-columns: 1fr;
  max-width: 1180px;
}

.admin-form.single-column {
  grid-template-columns: 1fr;
}

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

.admin-form label small {
  color: #667085;
  font-size: 12px;
  font-weight: 520;
  line-height: 1.35;
}

.blog-editor-form {
  max-width: 1180px;
}

.blog-editor-form textarea {
  min-height: 130px;
  resize: vertical;
}

.blog-editor-form textarea[name="body"] {
  min-height: 360px;
}

.vehicle-upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
  justify-content: start;
  align-items: start;
  gap: 12px;
  margin-top: -6px;
}

.vehicle-upload-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
}

.vehicle-upload-preview:empty {
  display: none;
}

.vehicle-upload-preview img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  padding: 10px;
  background: #f7fafc;
  border: 1px solid #d7e1ea;
  border-radius: 8px;
}

.vehicle-upload-preview-grid img {
  height: 120px;
}

.vehicle-gallery-manager {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid #d7e1ea;
  border-radius: 10px;
}

.vehicle-gallery-manager-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.vehicle-gallery-manager-head strong,
.vehicle-gallery-manager-head span {
  display: block;
}

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

.vehicle-gallery-manager-head span {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.vehicle-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.vehicle-gallery-rows {
  display: grid;
  gap: 10px;
}

.vehicle-gallery-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.vehicle-gallery-row img,
.vehicle-main-thumb,
.vehicle-gallery-thumb-placeholder {
  width: 96px;
  height: 64px;
  object-fit: contain;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #d7e1ea;
  border-radius: 8px;
}

.vehicle-main-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.vehicle-main-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  border: 0;
  background: transparent;
}

.vehicle-main-thumb .vehicle-gallery-thumb-placeholder {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.vehicle-gallery-thumb-placeholder {
  display: grid;
  place-items: center;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.vehicle-gallery-row input {
  min-width: 0;
}

.vehicle-gallery-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.vehicle-order-button {
  width: 42px;
  min-width: 42px;
  padding-inline: 0;
  text-align: center;
}

.vehicle-upload-preview-row {
  margin-top: 10px;
}

.vehicle-upload-file-name {
  min-width: 0;
  color: #344054;
  font-size: 14px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-button {
  position: relative;
  cursor: pointer;
}

.file-button input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-hint {
  margin: -4px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.vehicle-edit-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 18px;
  background: #f8fbfd;
  border: 1px solid #d7e1ea;
  border-radius: 10px;
}

.vehicle-edit-box legend {
  padding: 0 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 850;
}

.vehicle-price-rows,
.vehicle-section-rows {
  display: grid;
  gap: 12px;
}

.vehicle-price-row,
.vehicle-section-row {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: var(--white);
  border: 1px solid #dbe5ee;
  border-radius: 10px;
}

.vehicle-price-row {
  grid-template-columns: repeat(4, minmax(110px, 1fr)) minmax(110px, auto);
  align-items: end;
}

.vehicle-price-row label,
.vehicle-section-row label {
  min-width: 0;
  margin-bottom: 0;
}

.vehicle-price-row input,
.vehicle-section-row input,
.vehicle-section-row textarea {
  min-width: 0;
}

.vehicle-section-row {
  grid-template-columns: minmax(220px, 0.35fr) minmax(320px, 1fr) auto;
  align-items: start;
}

.vehicle-section-row textarea {
  min-height: 160px;
  resize: vertical;
}

.vehicle-row-remove {
  align-self: end;
  min-height: 46px;
}

.admin-form textarea[name="feature_texts"] {
  min-height: 220px;
  resize: vertical;
}

.admin-form .checkline,
.form-actions,
.notice-error,
.notice-success {
  grid-column: 1 / -1;
}

.invoice-items {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
}

.invoice-positions-fieldset {
  grid-template-columns: 1fr;
}

.invoice-item-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(120px, 0.35fr) minmax(180px, 0.55fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  background: #f7fafc;
  border: 1px solid #dbe5ee;
  border-radius: 10px;
}

.invoice-item-actions {
  display: flex;
  align-items: flex-end;
  min-height: 50px;
}

.compact-btn {
  min-height: 42px;
  padding: 0 16px;
}

.invoice-position-controls {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 12px;
  align-items: center;
}

.payment-terms-editor {
  display: grid;
  gap: 12px;
}

.payment-terms-editor textarea {
  min-height: 96px;
  resize: vertical;
}

.invoice-bank-note {
  grid-column: 1 / -1;
  align-self: start;
  min-height: auto;
  margin: 0;
}

.invoice-archive-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.invoice-archive-controls small {
  color: var(--muted);
  font-weight: 650;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.notice-error {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  color: #7a1b1b;
  background: #fff0f0;
  border: 1px solid #f3b6b6;
  border-radius: var(--radius);
}

.notice-error span,
.notice-error small {
  color: #7a1b1b;
}

.notice-success {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  color: #12633f;
  background: #e6f6ee;
  border: 1px solid #bfe6d1;
  border-radius: var(--radius);
}

.notice-success span {
  color: #12633f;
}

.request-confirmation {
  position: fixed;
  z-index: 80;
  top: 92px;
  left: 50%;
  width: min(720px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.confirm-dialog[hidden] {
  display: none;
}

.confirm-dialog {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
}

.confirm-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 36, 0.48);
  backdrop-filter: blur(8px);
}

.confirm-dialog-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: clamp(24px, 4vw, 34px);
  background: #ffffff;
  border: 1px solid #d7e2ec;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(24, 43, 59, 0.28);
}

.confirm-dialog-card h2 {
  margin: 4px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.confirm-dialog-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.confirm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

body.confirm-dialog-open {
  overflow: hidden;
}

.request-confirmation-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  color: #123f32;
  background: rgba(231, 249, 240, 0.98);
  border: 1px solid #a7dfc0;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(21, 54, 70, 0.22);
  pointer-events: auto;
}

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

.request-confirmation-card strong {
  font-size: 24px;
  line-height: 1.15;
}

.request-confirmation-card span {
  margin-top: 4px;
  color: #256653;
  font-weight: 700;
}

.request-confirmation-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: #1f8f62;
  border-radius: 999px;
  font-size: 26px;
  font-weight: 900;
}

.request-confirmation-card button {
  appearance: none;
  border: 0;
  color: #176247;
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(31, 143, 98, 0.18);
}

.notice-error.compact,
.notice-soft {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
}

.notice-soft {
  color: #405165;
  background: #f3f8fb;
  border: 1px solid #d4e5ed;
}

.lounge-login {
  padding: clamp(34px, 5vw, 72px);
}

.lounge-login-hero {
  max-width: 1120px;
  margin: 0 auto 24px;
  border-top: 0;
}

.lounge-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.lounge-login-grid > .request-panel {
  min-height: 100%;
}

.lounge-login .request-panel h2 {
  margin: 4px 0 10px;
  color: #172331;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.lounge-register-card {
  padding: 22px;
  background: #eaf5fa;
  border-color: #c7dde7;
}

.lounge-register-card p:not(.eyebrow) {
  color: #405165;
  line-height: 1.6;
}

.lounge-thread {
  max-width: 1480px;
  margin-top: 20px;
}

.lounge-orders-card {
  grid-column: 1 / -1;
}

.lounge-order-list {
  display: grid;
  gap: 12px;
}

.lounge-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: #f7fbfd;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
}

.lounge-order-card strong,
.lounge-order-card small {
  display: block;
}

.lounge-order-card small {
  margin-top: 4px;
  color: var(--muted);
}

.lounge-order-card dl {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 0;
}

.lounge-order-card dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.lounge-order-card dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 780;
}

.lounge-upload-box {
  display: grid;
  gap: 10px;
}

.field-label {
  color: #2c3b4d;
  font-weight: 740;
}

.lounge-upload-drop {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px dashed #b9cddb;
  border-radius: var(--radius);
  background: #f7fbfd;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.lounge-upload-drop:hover,
.lounge-upload-drop:focus-within {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 14px 28px rgba(224, 54, 48, 0.08);
}

.lounge-upload-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.lounge-upload-store,
.lounge-upload-hidden-input {
  display: none;
}

.lounge-upload-drop > span {
  width: fit-content;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 820;
}

.lounge-upload-drop small {
  color: var(--muted);
  font-weight: 650;
}

.lounge-upload-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d6e3ec;
  border-radius: var(--radius);
  background: #fff;
}

.lounge-upload-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #eef6fa;
  color: #203449;
}

.lounge-upload-list b {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.lounge-upload-list small {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 760;
}

.lounge-upload-list button {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #e8b7b2;
  border-radius: var(--radius);
  background: #fff4f2;
  color: #8f2520;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lounge-upload-list button:hover {
  background: #ffe7e3;
  border-color: #df7d75;
}

.lounge-document-viewer {
  min-height: 100vh;
  background: #f4f8fb;
  display: flex;
  flex-direction: column;
}

.document-viewer-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 3vw, 42px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 32px rgba(31, 52, 72, 0.08);
}

.document-viewer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.document-viewer-frame {
  flex: 1;
  min-height: 0;
  padding: 0;
}

.document-viewer-frame iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 86px);
  border: 0;
  background: #fff;
}

@media (max-width: 760px) {
  .backend-section.backend-detail {
    width: 100%;
    max-width: 100%;
    padding: 24px 14px 42px;
    overflow-x: hidden;
  }

  .backend-detail .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .backend-detail .section-head h1 {
    font-size: clamp(40px, 13vw, 58px);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .backend-detail .section-head > .secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .lounge-access-note,
  .backend-detail .notice-success,
  .backend-detail .notice-error,
  .backend-detail .notice-soft {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .backend-detail .record-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .backend-detail .record-card,
  .backend-detail .lounge-thread,
  .backend-detail .lounge-orders-card,
  .backend-detail .lounge-invoices-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px;
    overflow: hidden;
  }

  .backend-detail .admin-form,
  .backend-detail .admin-form.single-column {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .backend-detail .admin-form label,
  .backend-detail .admin-form .full-field,
  .backend-detail .admin-form input,
  .backend-detail .admin-form textarea,
  .backend-detail .admin-form select {
    width: 100%;
    min-width: 0;
  }

  .lounge-order-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lounge-order-card .status-pill {
    width: fit-content;
  }

  .lounge-order-card dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .lounge-upload-box {
    width: 100%;
    gap: 12px;
  }

  .lounge-upload-drop {
    width: 100%;
    min-width: 0;
    padding: 16px;
    justify-items: stretch;
  }

  .lounge-upload-drop > span {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .lounge-upload-drop small {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.45;
  }

  .lounge-upload-list {
    width: 100%;
    min-width: 0;
  }

  .lounge-upload-list span {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .lounge-upload-list small,
  .lounge-upload-list button {
    justify-self: start;
  }

  .backend-detail .admin-form .primary-btn,
  .backend-detail .admin-form .secondary-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .backend-detail .order-row.single {
    min-width: 0;
  }

  .backend-detail .order-row.single strong,
  .backend-detail .order-row.single small {
    overflow-wrap: anywhere;
  }

  .backend-detail .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }

  .compact-invoice-search input {
    width: 100%;
    min-width: 0;
  }
}

.message-list {
  display: grid;
  gap: 12px;
}

.message-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #f8fbfd;
  border: 1px solid #d7e5ec;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
}

.message-card.is-admin {
  background: #fff8f8;
  border-left-color: var(--red);
}

.message-card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.message-card h3,
.message-card p {
  margin: 0;
}

.message-card h3 {
  color: #253244;
  font-size: 18px;
}

.message-card p {
  color: #405165;
  line-height: 1.55;
}

.message-card small {
  color: var(--muted);
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.message-actions form {
  margin: 0;
}

.message-actions .secondary-btn,
.message-actions .danger-btn {
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

.reply-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d7e5ec;
}

.proactive-message-box {
  padding: 14px;
  background: #f7fbfd;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
}

.proactive-message-box summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  list-style-position: inside;
}

.proactive-message-box[open] summary {
  margin-bottom: 10px;
}

.proactive-message-form {
  margin-top: 0;
}

.message-archive-box {
  padding: 12px 14px;
  background: #f7fbfd;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
}

.message-archive-box summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 15px;
  font-weight: 850;
  list-style-position: inside;
}

.archived-message-list {
  margin-top: 12px;
}

.archived-message-list .message-card {
  opacity: 0.92;
}

.compact-messages .message-card {
  padding: 12px;
}

.recent-communication-card {
  margin-top: 18px;
}

.recent-message-list {
  display: grid;
  gap: 10px;
}

.recent-message-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: start;
  padding: 13px 14px;
  color: var(--ink);
  text-decoration: none;
  background: #f8fbfd;
  border: 1px solid #d7e5ec;
  border-radius: var(--radius);
}

.recent-message-row:hover {
  border-color: rgba(48, 113, 145, 0.42);
  background: #eef7fb;
}

.recent-message-row span {
  display: grid;
  gap: 3px;
}

.recent-message-row strong {
  font-size: 15px;
  line-height: 1.25;
}

.recent-message-row small {
  color: var(--muted);
  line-height: 1.35;
}

.login-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--ink), var(--blue));
}

.login-panel {
  display: grid;
  gap: 20px;
  width: min(460px, 100%);
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.08;
}

.login-panel p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #345160;
  background: #dbe9ee;
  border-top: 1px solid #c7d9e1;
}

.footer strong {
  color: #203745;
}

.footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  color: #345160;
  font-weight: 760;
}

.footer a:hover {
  color: var(--red);
}

.legal-page {
  padding: 42px clamp(18px, 5vw, 72px) 64px;
  background: #f3f7fa;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 56px);
  color: #243746;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #d6e2e9;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(25, 47, 64, 0.08);
}

.legal-card h1 {
  margin: 12px 0 28px;
  color: #162533;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.95;
}

.legal-card h2 {
  margin: 30px 0 10px;
  color: #243746;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

.legal-card p,
.legal-card li {
  color: #465968;
  font-size: 17px;
  line-height: 1.65;
}

.legal-card ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.legal-card a {
  color: var(--red);
  font-weight: 760;
}

.legal-back {
  display: inline-flex;
  margin-top: 8px;
  color: #345160;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero,
  .vehicle-detail-hero,
  .detail-shell,
  .offer-trust-section,
  .portal-section,
  .morek-world-card,
  .youtube-card,
  .callback-card,
  .catalog-layout,
  .request-bottom,
  .dashboard,
  .dashboard.admin-wide,
  .admin-form,
  .vehicle-price-row,
  .vehicle-section-row,
  .vehicle-gallery-row,
  .payment-filter {
    grid-template-columns: 1fr;
  }

  .vehicle-gallery-manager-head {
    display: grid;
  }

  .recent-message-row {
    grid-template-columns: 1fr;
  }

  .invoice-item-row {
    grid-template-columns: 1fr;
  }

  .lounge-login-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
    width: min(100%, 720px);
    justify-self: center;
    padding-bottom: 140px;
  }

  .vehicle-detail-hero {
    gap: 22px;
  }

  .detail-image {
    min-height: 280px;
    padding: 0;
  }

  .detail-image img,
  .hero-visual img {
    width: 100%;
    height: clamp(260px, 43vw, 360px);
  }

  .hero-visual.is-balanced-crop img {
    width: 100%;
  }

  .hero-visual.is-tight-crop img {
    width: 100%;
  }

  .vehicle-grid,
  .service-grid,
  .ad-section,
  .weekly-deal-grid,
  .blog-grid,
  .request-grid,
  .faq-grid,
  .spec-grid,
  .dashboard-stats,
  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .youtube-visual {
    min-height: 190px;
  }

  .callback-actions {
    justify-content: flex-start;
  }

  .offer-trust-wide {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .offer-trust-wide .secondary-btn {
    grid-column: 2;
    width: fit-content;
  }

  .offer-trust-copy {
    position: static;
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .request-confirmation {
    top: 18px;
    width: calc(100% - 24px);
  }

  .request-confirmation-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  .request-confirmation-card button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .request-confirmation-card strong {
    font-size: 20px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-article,
  .blog-section,
  .blog-teaser-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .blog-article h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .blog-article-body {
    font-size: 18px;
    line-height: 1.58;
  }

  .callback-card {
    padding: 22px;
  }

  .callback-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .callback-actions a,
  .callback-actions button {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 18px;
  }

  .callback-dialog {
    padding: 54px 16px 22px;
    border-width: 1px;
  }

  .callback-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .callback-form-grid input,
  .callback-form-grid textarea {
    min-height: 48px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 15px;
  }

  .brand {
    min-width: 0;
  }

  .nav-action {
    width: 100%;
  }

  .hero {
    gap: 24px;
    padding: 28px 18px 34px;
    overflow: hidden;
  }

  .vehicle-detail-hero {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .lead {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .vehicle-detail-hero h1 {
    font-size: 40px;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    padding: 10px 18px 0;
    background:
      radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 42%),
      linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0));
  }

  .hero-visual img {
    width: 100%;
    height: clamp(245px, 62vw, 330px);
    margin: 0 auto;
    transform: scale(1.07);
  }

  .hero-visual.is-balanced-crop {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-visual.is-balanced-crop img {
    width: 100%;
    transform: scale(1.04);
  }

  .hero-visual.is-tight-crop {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-visual.is-tight-crop img {
    width: 100%;
    transform: scale(0.98);
  }

  .hero-visual.is-spacious-crop img {
    transform: scale(1.16);
  }

  .detail-image {
    min-height: 230px;
    overflow: hidden;
  }

  .detail-image img {
    width: min(94%, 420px);
    max-width: 94%;
    max-height: 260px;
    transform: none;
  }

  .vehicle-card img {
    height: 205px;
    padding: 14px 12px 4px;
    object-fit: contain;
  }

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

  .detail-gallery-item {
    min-height: 132px;
  }

  .detail-gallery img {
    height: 132px;
    padding: 12px;
  }

  .offer-panel {
    position: static;
    margin: -6px 0 0;
    padding: 16px;
  }

  .offer-panel strong {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.05;
  }

  .offer-panel dl {
    gap: 12px 14px;
    margin-top: 14px;
  }

  .offer-panel dd {
    margin-top: 4px;
    font-size: 19px;
  }

  .vehicle-grid,
  .service-grid,
  .ad-section,
  .weekly-deal-grid,
  .offer-trust-grid,
  .blog-grid,
  .youtube-card,
  .export-field-grid,
  .request-grid,
  .request-spec-row,
  .faq-grid,
  .spec-grid,
  .dashboard-stats,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .weekly-deal-media {
    min-height: 185px;
    padding: 18px 14px 2px;
  }

  .weekly-deal-media img {
    height: 170px;
  }

  .weekly-deal-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .weekly-deal-meta em {
    width: 100%;
  }

  .offer-trust-wide {
    grid-template-columns: 1fr;
  }

  .offer-trust-wide .secondary-btn {
    grid-column: auto;
    width: 100%;
  }

  .youtube-copy {
    padding: 20px;
  }

  .morek-world-card {
    align-items: start;
  }

  .morek-world-card em {
    justify-self: start;
  }

  .portal-list div {
    grid-template-columns: minmax(0, 0.72fr) minmax(126px, 1fr);
    gap: 12px;
  }

  .portal-list strong {
    max-width: 190px;
    text-align: right;
  }

  .youtube-copy h2 {
    font-size: 30px;
  }

  .youtube-copy p:not(.eyebrow) {
    font-size: 16px;
  }

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

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

  .vehicle-detail-hero .spec-grid div {
    min-height: 92px;
    padding: 14px;
  }

  .vehicle-detail-hero .spec-grid strong {
    font-size: 19px;
  }

  .feature-list > li,
  .feature-item {
    padding: 14px 16px;
    font-size: 16px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature-item ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item li {
    padding-left: 18px;
    line-height: 1.42;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .lounge-order-card,
  .lounge-order-card dl {
    grid-template-columns: 1fr;
  }

  .order-row.with-actions {
    grid-template-columns: 1fr;
  }

  .ended-vehicle-row {
    grid-template-columns: 1fr;
  }

  .order-row .secondary-btn,
  .order-row .danger-btn {
    width: 100%;
  }

  .hero-meta {
    gap: 6px 10px;
  }

  .hero-meta span + span::before {
    margin-right: 10px;
  }

  .trust-row div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .segmented {
    width: 100%;
    overflow-x: auto;
  }

  .catalog-tools {
    justify-items: stretch;
    width: 100%;
  }

  .vehicle-search {
    width: 100%;
  }

  .contract-filter-note {
    margin-top: -8px;
    font-size: 13px;
  }

  th:nth-child(3),
  td:nth-child(3) {
    display: none;
  }
}

@media (max-width: 980px) {
  .campaign-hero,
  .campaign-section,
  .campaign-detail-band,
  .campaign-inquiry,
  .campaign-strip {
    grid-template-columns: 1fr;
  }

  .campaign-hero {
    min-height: 0;
    gap: 32px;
  }

  .campaign-hero-copy,
  .campaign-visual,
  .campaign-vehicle-stage,
  .campaign-facts,
  .campaign-specs,
  .campaign-benefits,
  .campaign-form,
  .campaign-strip > * {
    min-width: 0;
  }

  .campaign-visual {
    width: 100%;
  }

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

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

  .campaign-strip {
    align-items: start;
  }

  .campaign-strip span {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .campaign-strip-section,
  .callback-section,
  .youtube-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .campaign-hero {
    padding: 24px 18px 34px;
  }

  .campaign-back {
    width: 100%;
    margin-bottom: 26px;
    justify-content: center;
  }

  .campaign-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1;
  }

  .campaign-hero p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.5;
  }

  .campaign-actions,
  .campaign-form-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .campaign-actions a,
  .campaign-form .full {
    width: 100%;
    justify-content: center;
  }

  .campaign-vehicle-stage {
    min-height: 230px;
    padding: 18px;
  }

  .campaign-vehicle-stage img {
    width: 100%;
    max-height: 240px;
  }

  .campaign-count {
    position: static;
    justify-self: start;
    margin-top: 12px;
  }

  .campaign-facts,
  .campaign-specs,
  .campaign-benefits {
    grid-template-columns: 1fr;
  }

  .campaign-facts div,
  .campaign-specs span,
  .campaign-benefits article {
    padding: 16px;
  }

  .campaign-section,
  .campaign-detail-band,
  .campaign-inquiry {
    padding: 42px 18px;
  }

  .campaign-intro h2,
  .campaign-inquiry h2,
  .campaign-detail-band h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .campaign-form {
    padding: 18px;
  }

  .campaign-strip {
    gap: 16px;
    padding: 20px;
  }

  .campaign-strip h2 {
    font-size: 28px;
  }

  .campaign-strip p:not(.eyebrow) {
    font-size: 16px;
  }

  .campaign-strip span {
    width: 100%;
  }

  .callback-card {
    gap: 18px;
  }

  .youtube-card {
    overflow: hidden;
  }

  .youtube-visual {
    min-height: 210px;
  }
}
