:root {
  --site-ink: #17211d;
  --site-muted: #60716b;
  --site-line: #d8e2de;
  --site-paper: #fbf8f1;
  --site-panel: #fff;
  --site-green: #087b58;
  --site-green-dark: #07553f;
  --site-mint: #d9f7ea;
  --site-yellow: #ffd86b;
  --site-red: #b42318;
  --site-shadow: 0 18px 48px rgba(23, 33, 29, .1);
  --site-width: 1160px;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--site-ink); }
a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 241, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(23, 33, 29, .1);
  box-shadow: 0 8px 30px rgba(23, 33, 29, .05);
}

.nav {
  min-height: 78px;
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 8px; display: block; background: var(--site-green); box-shadow: 0 8px 20px rgba(8,123,88,.22); object-fit: cover; }
.btn { min-height: 44px; border: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--site-green); color: white; box-shadow: 0 12px 25px rgba(8,123,88,.2); }
.btn-primary:hover { background: var(--site-green-dark); }
.btn-quiet { background: #edf4f1; color: var(--site-ink); }
.btn-auth { min-height: 38px; padding: 0 12px; font-size: 13px; }
.btn-vipps { background: #ff5b24; color: white; }
.btn-google { background: white; color: var(--site-ink); border: 1px solid var(--site-line); }
.auth-panel { display: flex; align-items: center; gap: 6px; position: relative; flex-shrink: 0; min-height: 38px; min-width: 108px; }
.auth-panel--block { display: block; width: 100%; min-width: 0; }
.auth-guest[hidden], .auth-status[hidden] { display: none !important; }
.auth-panel.is-auth-loading .auth-guest,
.auth-panel.is-auth-loading .auth-status { display: none !important; }
.auth-panel.is-auth-loading .auth-loading { display: inline-flex; }
.auth-loading {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 108px;
  padding: 0 12px;
  border-radius: 999px;
  background: #edf4f1;
  pointer-events: none;
}
.auth-loading-bar {
  display: block;
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d8e6df 0%, #eef5f1 50%, #d8e6df 100%);
  background-size: 200% 100%;
  animation: auth-loading-pulse 1.1s ease-in-out infinite;
}
@keyframes auth-loading-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
[data-auth-nav-slot] { min-height: 38px; }
.auth-login { position: relative; }
.auth-login--block { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.auth-status--nav { display: flex; align-items: center; }
.auth-status--footer { display: grid; gap: 8px; margin-top: 4px; }
.auth-account-btn { gap: 6px; max-width: min(200px, 42vw); }
.auth-account-caret { font-size: 11px; color: var(--site-muted); line-height: 1; }
.auth-user { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--site-ink); font-size: 13px; font-weight: 800; }
.auth-menu-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.auth-menu-link:hover { background: #edf4f1; }
.auth-menu-link--button { font-family: inherit; }
.auth-menu--account { min-width: 190px; }
.auth-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  background: var(--site-panel);
  box-shadow: var(--site-shadow);
  display: grid;
  gap: 8px;
}
.auth-menu[hidden] { display: none; }
.auth-menu--footer { position: static; min-width: 0; margin-top: 8px; box-shadow: none; }
.auth-menu--block { position: static; min-width: min(320px, 100%); }
.auth-menu-label { margin: 0; font-size: 12px; font-weight: 800; color: var(--site-muted); }
.auth-menu-item {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.auth-menu-vipps { background: #ff5b24; color: white; }
.auth-menu-google { background: white; color: var(--site-ink); border: 1px solid var(--site-line); }
.footer-auth-col .auth-status--footer a,
.footer-auth-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}
.footer-auth-toggle:hover,
.footer-auth-col .auth-status--footer a:hover { color: var(--site-green-dark); }

.nav-main,
.nav-actions,
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions { flex-shrink: 0; }

.nav-main { margin-left: auto; }

.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  color: #2f403a;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--site-green-dark);
  background: #edf5f1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: white;
  color: var(--site-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg { width: 22px; height: 22px; }

.site-footer { margin-top: 72px; background: #14201b; color: white; }
.footer-main {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(130px, .7fr));
  gap: 34px;
}
.footer-intro { max-width: 430px; }
.footer-intro .brand { display: inline-flex; color: white; text-decoration: none; }
.footer-intro p { color: rgba(255,255,255,.68); line-height: 1.6; margin: 16px 0 0; }
.footer-col h2 { font-size: 13px; margin: 2px 0 14px; color: rgba(255,255,255,.58); text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 10px 0; color: rgba(255,255,255,.88); text-decoration: none; }
.footer-col a:hover { color: var(--site-yellow); }
.footer-bottom {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

.content-page {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(217,247,234,.72), transparent 34%), var(--site-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.page-main { min-height: 62vh; }
.page-wrap { width: min(var(--site-width), calc(100% - 32px)); margin: 0 auto; }
.page-hero {
  padding: 76px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: end;
  gap: 50px;
  border-bottom: 1px solid var(--site-line);
}
.page-kicker { color: var(--site-green-dark); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.page-hero h1 { margin: 12px 0 18px; font-size: clamp(42px, 6vw, 70px); line-height: .98; }
.page-hero p { margin: 0; max-width: 710px; color: #40514b; font-size: 19px; line-height: 1.6; }
.page-hero-aside { padding: 22px; border-left: 4px solid var(--site-green); background: rgba(255,255,255,.62); }
.page-hero-aside strong { display: block; font-size: 22px; }
.page-hero-aside span { display: block; color: var(--site-muted); line-height: 1.5; margin-top: 8px; }
.content-section { padding: 58px 0; }
.content-section + .content-section { border-top: 1px solid var(--site-line); }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.content-card { padding: 24px; background: rgba(255,255,255,.78); border: 1px solid var(--site-line); border-radius: 8px; }
.content-card h2, .content-card h3 { margin: 0 0 10px; }
.content-card p { margin: 0; color: var(--site-muted); line-height: 1.6; }
.content-card .card-index { display: block; color: var(--site-green); font-weight: 900; margin-bottom: 26px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(420px, 1.28fr); gap: 46px; align-items: start; }
.contact-details { display: grid; gap: 12px; }
.contact-detail { padding: 18px 0; border-bottom: 1px solid var(--site-line); }
.contact-detail small { display: block; color: var(--site-muted); margin-bottom: 5px; }
.contact-detail strong, .contact-detail a { font-size: 18px; font-weight: 800; }
.form-surface { background: white; border: 1px solid var(--site-line); border-radius: 8px; padding: 26px; box-shadow: var(--site-shadow); }
.form-surface h2 { margin: 0 0 8px; font-size: 28px; }
.form-surface > p { margin: 0 0 24px; color: var(--site-muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: grid; gap: 7px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 800; color: #34453f; }
.form-field label span { color: var(--site-muted); font-weight: 550; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-height: 48px; border: 1px solid #b9c8c2; border-radius: 7px;
  padding: 11px 12px; background: white; color: var(--site-ink); font: inherit; outline: none;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--site-green); box-shadow: 0 0 0 3px rgba(8,123,88,.13); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--site-red); }
.form-check { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--site-muted); font-size: 13px; line-height: 1.45; }
.form-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; }
.turnstile-field { grid-column: 1 / -1; min-height: 72px; display: flex; align-items: center; overflow: hidden; }
.turnstile-field [data-turnstile-slot] { min-height: 65px; min-width: 200px; }
.turnstile-field.is-turnstile-loading [data-turnstile-slot] {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e8f0ec 0%, #f4f8f6 50%, #e8f0ec 100%);
  background-size: 200% 100%;
  animation: auth-loading-pulse 1.1s ease-in-out infinite;
}
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.form-message { min-height: 22px; color: var(--site-muted); font-size: 14px; }
.form-message.error { color: var(--site-red); }
.form-message.success { color: var(--site-green-dark); font-weight: 750; }
.flow-forms { align-items: stretch; }
.signup-card { padding: 20px !important; }
.signup-card > p { min-height: 44px; }
.signup-form.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.signup-form .form-field label { color: rgba(255,255,255,.82); }
.signup-form .form-field label span { color: rgba(255,255,255,.55); }
.signup-form .form-check { color: rgba(255,255,255,.67); }
.signup-form .form-message { color: rgba(255,255,255,.72); }
.signup-form .form-message.error { color: #ffb4ab; }
.signup-form .form-message.success { color: #8df0c8; }

.article-index-hero { padding-bottom: 36px; }
.article-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 34px 0 18px; }
.article-toolbar h2 { margin: 0; font-size: 30px; }
.article-toolbar p { margin: 6px 0 0; color: var(--site-muted); }
.article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card { display: flex; flex-direction: column; min-height: 310px; background: white; border: 1px solid var(--site-line); border-radius: 8px; overflow: hidden; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--site-shadow); }
.article-card-top { min-height: 104px; padding: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; background: var(--site-mint); }
.article-card:nth-child(3n+2) .article-card-top { background: #e6ecff; }
.article-card:nth-child(3n+3) .article-card-top { background: #fff0cf; }
.article-card-icon { width: 42px; height: 42px; border-radius: 8px; background: var(--site-ink); color: white; display: grid; place-items: center; font-weight: 900; }
.article-card-body { padding: 22px; display: flex; flex: 1; flex-direction: column; }
.article-card time, .article-meta { color: var(--site-muted); font-size: 13px; }
.article-card h2 { margin: 10px 0; font-size: 23px; line-height: 1.15; }
.article-card p { color: var(--site-muted); line-height: 1.55; margin: 0 0 22px; }
.article-card strong { margin-top: auto; color: var(--site-green-dark); }
.article-empty { padding: 42px; border: 1px dashed #aabbb4; color: var(--site-muted); text-align: center; background: rgba(255,255,255,.55); }
.article-page { background: #fff; }
.article-shell { width: min(820px, calc(100% - 32px)); margin: 0 auto; }
.breadcrumbs { padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--site-muted); font-size: 13px; }
.article-header { padding: 55px 0 38px; border-bottom: 1px solid var(--site-line); }
.article-header h1 { margin: 14px 0 18px; font-size: clamp(38px, 6vw, 64px); line-height: 1; }
.article-deck { font-size: 20px; line-height: 1.55; color: #40514b; }
.article-meta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.article-body { padding: 44px 0 20px; font-size: 18px; line-height: 1.75; }
.article-body h2 { margin: 48px 0 14px; font-size: 31px; line-height: 1.15; }
.article-body h3 { margin: 34px 0 10px; font-size: 23px; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 22px; }
.article-body li { margin: 7px 0; }
.article-body a { color: var(--site-green-dark); text-decoration: underline; }
.article-body blockquote { margin: 30px 0; padding: 18px 22px; border-left: 4px solid var(--site-green); background: #f1f7f4; }
.article-faq { margin: 46px 0; padding-top: 34px; border-top: 1px solid var(--site-line); }
.article-faq h2 { font-size: 30px; }
.article-faq details { border-bottom: 1px solid var(--site-line); padding: 17px 0; }
.article-faq summary { cursor: pointer; font-weight: 850; font-size: 18px; }
.article-faq p { color: var(--site-muted); line-height: 1.65; }
.article-cta { margin: 46px 0 0; padding: 28px; background: #17211d; color: white; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.article-cta h2 { margin: 0 0 7px; font-size: 25px; }
.article-cta p { margin: 0; color: rgba(255,255,255,.7); }

.request-page { width: min(var(--site-width), calc(100% - 32px)); margin: 0 auto; }
.request-hero {
  padding: 64px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .56fr);
  gap: 34px;
  align-items: start;
}
.request-hero h1 { margin: 12px 0 14px; font-size: clamp(38px, 5vw, 62px); line-height: 1; }
.request-hero p { margin: 0; color: #40514b; font-size: 18px; line-height: 1.6; max-width: 760px; }
.request-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.request-card { background: white; border: 1px solid var(--site-line); border-radius: 8px; box-shadow: var(--site-shadow); overflow: hidden; }
.request-image { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9f1ed; }
.request-image-empty { display: grid; place-items: center; color: var(--site-muted); font-weight: 850; }
.request-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--site-line); }
.request-facts div { background: #f8fbf9; padding: 13px; min-height: 70px; }
.request-facts small { display: block; color: var(--site-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; margin-bottom: 5px; }
.request-facts strong { display: block; font-size: 14px; line-height: 1.25; }
.request-layout {
  padding: 28px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .72fr);
  gap: 28px;
  align-items: start;
}
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin: 8px 0 8px; font-size: 32px; line-height: 1.1; }
.section-heading p { margin: 0; color: var(--site-muted); line-height: 1.55; }
.seller-kicker { color: #173b99; }
.public-offers { display: grid; gap: 12px; }
.public-offer { background: white; border: 1px solid var(--site-line); border-radius: 8px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; }
.public-offer strong, .public-offer span { display: block; }
.public-offer span { color: var(--site-muted); font-size: 13px; margin-top: 3px; }
.public-offer b { color: #173b99; white-space: nowrap; }
.public-offer p { grid-column: 1 / -1; margin: 0; color: #40514b; line-height: 1.5; }
.empty-offers { padding: 24px; border: 1px dashed #aabbb4; border-radius: 8px; background: rgba(255,255,255,.6); color: var(--site-muted); }
.offer-form { position: sticky; top: 96px; }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; padding: 12px 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-cluster { display: none; width: 100%; align-items: stretch; flex-direction: column; padding: 8px 0 4px; }
  .nav-cluster.is-open { display: flex; }
  .nav-main, .nav-actions { width: 100%; flex-wrap: wrap; }
  .nav-main { margin: 0; }
  .nav-link, .nav-main .nav-link { display: inline-flex; flex: 1 1 150px; justify-content: center; }
  .nav-actions { padding-top: 8px; border-top: 1px solid var(--site-line); justify-content: stretch; }
  .nav-actions .btn-primary { display: inline-flex; }
  .auth-panel { width: 100%; justify-content: stretch; }
  .auth-panel .auth-login { width: 100%; }
  .auth-panel .btn-auth, .auth-panel .auth-account-btn { width: 100%; justify-content: center; }
  .footer-main { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-intro { grid-column: 1 / -1; }
  .page-hero, .contact-layout { grid-template-columns: 1fr; }
  .request-hero, .request-layout { grid-template-columns: 1fr; }
  .offer-form { position: static; }
  .content-grid, .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .nav { width: min(100% - 24px, var(--site-width)); }
  .nav-main, .nav-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-main .nav-link { display: inline-flex; justify-content: flex-start; }
  .auth-panel { grid-column: 1 / -1; width: 100%; }
  .nav-actions > .btn, .nav-actions .btn-primary { display: inline-flex; width: 100%; }
  .hero .phone-wrap { order: initial; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 52px 0 38px; }
  .page-hero h1 { font-size: 43px; }
  .content-grid, .article-list, .form-grid, .signup-form.form-grid { grid-template-columns: 1fr; }
  .form-field.full, .form-check, .turnstile-field, .form-actions { grid-column: auto; }
  .contact-layout { gap: 30px; }
  .form-surface { padding: 20px; }
  .article-toolbar { align-items: flex-start; flex-direction: column; }
  .article-header { padding-top: 38px; }
  .article-cta { align-items: flex-start; flex-direction: column; }
  .request-hero { padding-top: 42px; }
  .request-facts, .public-offer { grid-template-columns: 1fr; }
  .public-offer b { white-space: normal; }
}

.my-page .section-toolbar,
.section-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.vehicle-grid,
.vehicle-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.vehicle-card,
.vehicle-picker-card {
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--site-shadow);
}

.vehicle-card-body strong,
.vehicle-picker-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.vehicle-card-body span,
.vehicle-picker-card span,
.vehicle-card-body small {
  display: block;
  color: var(--site-muted);
  line-height: 1.5;
}

.vehicle-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.vehicle-picker-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.vehicle-picker-card.is-selected {
  border-color: var(--site-green);
  box-shadow: 0 0 0 2px rgba(8, 123, 88, .12);
}

.vehicle-mode-tabs {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 999px;
  background: #edf4f1;
}

.vehicle-mode-tab {
  border: 0;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  background: transparent;
  color: var(--site-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.vehicle-mode-tab.is-active {
  background: white;
  color: var(--site-ink);
  box-shadow: 0 4px 14px rgba(23, 33, 29, .08);
}

.vehicle-selected-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  background: #f0f7f4;
}

.vehicle-selected-copy strong,
.vehicle-selected-copy span {
  display: block;
}

.vehicle-selected-copy span {
  color: var(--site-muted);
  font-size: 13px;
  margin-top: 3px;
}

.vehicle-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--site-green);
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.buyer-vehicle-field .field-label-inline {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.buyer-vehicle-panel[hidden],
.buyer-vehicle-selected[hidden],
.vehicle-mode-tabs[hidden] {
  display: none !important;
}

.field-help.success {
  color: var(--site-green);
}

.field-help.error {
  color: #b42318;
}

.my-page.is-page-loading #myDashboard,
.my-page.is-page-loading #myLoginGate {
  display: none !important;
}
.my-page-loading {
  display: grid;
  gap: 12px;
  padding: 8px 0 24px;
}
.my-page.is-page-ready .my-page-loading {
  display: none;
}
.my-skeleton-block {
  height: 88px;
  border-radius: 12px;
  background: linear-gradient(90deg, #e8f0ec 0%, #f4f8f6 50%, #e8f0ec 100%);
  background-size: 200% 100%;
  animation: auth-loading-pulse 1.1s ease-in-out infinite;
}
.my-request-list { display: grid; gap: 12px; }
.my-request-card,
.empty-state {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: var(--site-panel);
}

.my-request-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.my-request-kicker {
  color: var(--site-green-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.my-request-copy strong {
  font-size: 20px;
  line-height: 1.2;
}

.my-request-vehicle,
.empty-state {
  color: var(--site-muted);
}

.my-request-details {
  margin: 0;
  color: #31443c;
  line-height: 1.5;
}

.my-request-meta {
  color: var(--site-muted);
  line-height: 1.4;
}

.my-request-status {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #edf4f1;
  color: #31443d;
}

.my-request-status.is-closed { background: #edf1ef; color: #475650; }
.my-request-status.is-hidden { background: #f3f4f6; color: #66746f; }

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

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

.my-offer-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--site-line);
  border-radius: 12px;
  background: #fff;
}

.my-request-offers {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--site-line);
}

.my-request-offers-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--site-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.my-inline-offer {
  padding: 12px 14px;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  background: #f8faf9;
}

.my-inline-offer strong {
  display: block;
  line-height: 1.3;
}

.my-inline-offer small {
  display: block;
  margin-top: 4px;
  color: var(--site-muted);
  line-height: 1.4;
}

.my-request-card.has-offers {
  flex-wrap: wrap;
}

.list-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--site-line);
}

.list-pagination span {
  color: var(--site-muted);
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 640px) {
  .my-request-card {
    flex-direction: column;
    align-items: stretch;
  }

  .my-offer-card {
    flex-direction: column;
  }
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.btn-icon {
  min-width: 44px;
  padding: 0;
}

.field-help {
  margin: 8px 0 0;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.5;
}
.field-help.success { color: var(--site-green-dark); font-weight: 750; }
.field-help.error { color: var(--site-red); font-weight: 750; }

/* Buyer and seller workflow pages */
.app-page {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(217,247,234,.66), transparent 34%), var(--site-paper);
  color: var(--site-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.seller-app { background: linear-gradient(135deg, rgba(231,237,255,.86), transparent 36%), #fbf8f1; }
.app-shell { width: min(var(--site-width), calc(100% - 32px)); margin: 0 auto; }
.app-intro {
  padding: 56px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .62fr);
  gap: 34px;
  align-items: end;
}
.app-intro h1 { margin: 12px 0 16px; font-size: clamp(42px, 6vw, 68px); line-height: .98; }
.app-intro p { margin: 0; max-width: 720px; color: #40514b; font-size: 18px; line-height: 1.6; }
.app-intro-aside {
  padding: 20px;
  border: 1px solid var(--site-line);
  border-left: 5px solid var(--site-green);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
}
.seller-aside { border-left-color: #2357d6; }
.app-intro-aside strong { display: block; font-size: 20px; margin-bottom: 7px; }
.app-intro-aside span { display: block; color: var(--site-muted); line-height: 1.5; }

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .48fr);
  gap: 24px;
  align-items: start;
}
.workflow-card,
.result-panel,
.seller-list-panel,
.seller-detail-panel {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--site-line);
  border-radius: 8px;
  box-shadow: var(--site-shadow);
}
.workflow-card { padding: 22px; }
.workflow-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.progress-step {
  min-height: 48px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: white;
  color: #40514b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.progress-step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef5f1;
  color: var(--site-green-dark);
  font-size: 12px;
}
.progress-step.is-active {
  border-color: var(--site-green);
  color: var(--site-green-dark);
  background: #f2faf6;
}
.progress-step.is-complete span { background: var(--site-green); color: white; }
.workflow-step { display: none; }
.workflow-step.is-active { display: block; }
.step-heading { margin-bottom: 18px; }
.step-heading h2 { margin: 8px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.step-heading p { margin: 0; color: var(--site-muted); line-height: 1.55; }
.workflow-actions {
  display: grid;
  grid-template-columns: auto auto minmax(160px, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--site-line);
}
.workflow-actions .form-message { justify-self: end; text-align: right; }
.result-panel {
  position: sticky;
  top: 96px;
  padding: 18px;
  display: grid;
  gap: 14px;
}
.result-header strong { display: block; margin: 7px 0; font-size: 24px; line-height: 1.1; }
.result-header p { margin: 0; color: var(--site-muted); line-height: 1.5; }
.result-card {
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: white;
}
.result-cover {
  min-height: 150px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(110deg, rgba(8,123,88,.92), rgba(8,123,88,.58)),
    url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=900&q=80") center/cover;
  color: white;
}
.result-cover span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--site-yellow);
  color: #2b2413;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.result-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--site-line);
}
.result-facts div { min-height: 72px; padding: 12px; background: #f8fbf9; }
.result-facts dt { color: var(--site-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.result-facts dd { margin: 4px 0 0; font-weight: 850; line-height: 1.2; }
.result-card > p { margin: 0; padding: 14px; color: #40514b; line-height: 1.5; }
.result-success {
  padding: 16px;
  border: 1px solid #b7d8ca;
  border-radius: 8px;
  background: #ecf8f2;
}
.result-success strong { display: block; color: var(--site-green-dark); font-size: 18px; }
.result-success p { margin: 7px 0 14px; color: #40514b; line-height: 1.5; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.flow-entry-grid .signup-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}
.entry-list {
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
  color: #40514b;
}
.entry-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.35;
}
.entry-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flow-accent);
  flex: 0 0 auto;
}
.flow-entry-grid .btn { margin-top: auto; width: fit-content; }

.seller-workspace {
  display: grid;
  grid-template-columns: minmax(320px, .45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.seller-list-panel { padding: 18px; }
.seller-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.seller-toolbar h2 { margin: 6px 0 0; font-size: 26px; line-height: 1.1; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cbd6ec;
  border-radius: 999px;
  background: white;
  color: #31415f;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.filter-chip.is-active { background: #e7edff; color: #173b99; border-color: #b8c8f6; }
.request-list { display: grid; gap: 10px; }
.seller-request {
  width: 100%;
  min-height: 118px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: white;
  padding: 14px;
  text-align: left;
  display: grid;
  gap: 7px;
  cursor: pointer;
  font: inherit;
}
.seller-request:hover,
.seller-request.is-active {
  border-color: #2357d6;
  box-shadow: 0 12px 26px rgba(35,87,214,.1);
}
.seller-request strong { font-size: 17px; line-height: 1.18; }
.seller-request small { color: var(--site-muted); line-height: 1.35; }
.seller-request--skeleton {
  min-height: 118px;
  border-color: #e6ece8;
  background: linear-gradient(90deg, #eef3f0 0%, #f7faf8 50%, #eef3f0 100%);
  background-size: 200% 100%;
  animation: auth-loading-pulse 1.1s ease-in-out infinite;
  pointer-events: none;
}
.seller-list-panel.is-list-loading .filter-row { opacity: .55; pointer-events: none; }
.request-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  background: #ffe8d8;
  color: #8c410e;
  font-size: 12px;
  font-weight: 900;
}
.request-status.calm { background: #eef5f1; color: var(--site-green-dark); }
.request-status.blue { background: #e7edff; color: #173b99; }
.seller-detail-panel {
  padding: 22px;
  display: grid;
  gap: 18px;
  min-height: 520px;
}
.detail-back { display: none; }
.seller-detail-image img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--site-line);
}
.detail-top h2 { margin: 10px 0 8px; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; }
.detail-top p { margin: 0; color: var(--site-muted); line-height: 1.5; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.detail-grid div {
  padding: 13px;
  border-radius: 8px;
  background: #f5f8f6;
}
.detail-grid small {
  display: block;
  color: var(--site-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.detail-grid strong { display: block; line-height: 1.25; }
.detail-note,
.seller-response-box {
  padding: 16px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: white;
}
.seller-offer-form .form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.seller-response-box .form-message { width: 100%; }
.detail-note strong,
.seller-response-box h3 { display: block; margin: 0 0 8px; font-size: 20px; }
.detail-note p,
.seller-response-box p { margin: 0; color: #40514b; line-height: 1.55; }
.response-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.btn-blue { background: #2357d6; color: white; box-shadow: 0 12px 25px rgba(35,87,214,.18); }
.btn-blue:hover { background: #173b99; }
.seller-inbox-section {
  padding-top: 8px;
}

.seller-section-heading {
  margin-bottom: 18px;
}

.seller-section-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.08;
}

.seller-section-heading p {
  margin: 0;
  max-width: 62ch;
  color: var(--site-muted);
  line-height: 1.55;
}

.seller-toolbar-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.seller-register {
  margin-top: 8px;
  padding-top: 44px;
  border-top: 1px solid var(--site-line);
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(420px, .75fr);
  gap: 28px;
  align-items: start;
}
.seller-register h2 { margin: 8px 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.seller-register p { margin: 0; color: var(--site-muted); line-height: 1.55; }
.seller-signup-surface { box-shadow: var(--site-shadow); }
.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 120px);
  opacity: 0;
  background: #17211d;
  color: white;
  border-radius: 8px;
  padding: 13px 15px;
  box-shadow: 0 18px 45px rgba(23,33,29,.25);
  font-weight: 800;
  transition: transform .25s ease, opacity .25s ease;
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; padding: 12px 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-cluster { display: none; width: 100%; align-items: stretch; flex-direction: column; padding: 8px 0 4px; }
  .nav-cluster.is-open { display: flex; }
  .nav-main, .nav-actions { width: 100%; flex-wrap: wrap; }
  .nav-main { margin: 0; }
  .nav-link, .nav-main .nav-link { display: inline-flex; flex: 1 1 150px; justify-content: center; }
  .nav-actions { padding-top: 8px; border-top: 1px solid var(--site-line); justify-content: center; }
  .nav-actions .btn-primary { display: inline-flex; }
  .auth-panel { flex-wrap: wrap; justify-content: center; }
  .footer-main { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-intro { grid-column: 1 / -1; }
  .page-hero, .contact-layout { grid-template-columns: 1fr; }
  .request-hero, .request-layout { grid-template-columns: 1fr; }
  .offer-form { position: static; }
  .content-grid, .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-intro, .workflow-layout, .seller-register { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .seller-workspace { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .nav { width: min(100% - 24px, var(--site-width)); }
  .nav-main, .nav-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-main .nav-link { display: inline-flex; justify-content: flex-start; }
  .auth-panel { grid-column: 1 / -1; }
  .nav-actions > .btn, .nav-actions .btn-primary { display: inline-flex; width: 100%; }
  .hero .phone-wrap { order: initial; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 52px 0 38px; }
  .page-hero h1 { font-size: 43px; }
  .content-grid, .article-list, .form-grid, .signup-form.form-grid { grid-template-columns: 1fr; }
  .form-field.full, .form-check, .turnstile-field, .form-actions { grid-column: auto; }
  .contact-layout { gap: 30px; }
  .form-surface { padding: 20px; }
  .article-toolbar { align-items: flex-start; flex-direction: column; }
  .article-header { padding-top: 38px; }
  .article-cta { align-items: flex-start; flex-direction: column; }
  .request-hero { padding-top: 42px; }
  .request-facts, .public-offer { grid-template-columns: 1fr; }
  .public-offer b { white-space: normal; }
  .app-shell { width: min(100% - 24px, var(--site-width)); }
  .app-intro { padding: 42px 0 24px; }
  .app-intro h1 { font-size: 42px; }
  .workflow-card, .result-panel, .seller-list-panel, .seller-detail-panel { padding: 16px; }
  .workflow-progress { grid-template-columns: 1fr; }
  .workflow-actions {
    grid-template-columns: 1fr 1fr;
    position: sticky;
    bottom: 0;
    margin: 18px -16px -16px;
    padding: 12px 16px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
  }
  .workflow-actions .form-message { grid-column: 1 / -1; justify-self: stretch; text-align: left; }
  .result-facts, .detail-grid { grid-template-columns: 1fr; }
  .flow-entry-grid .btn { width: 100%; }
  .seller-workspace { display: block; }
  .seller-detail-panel { display: none; }
  .seller-workspace.is-detail-open .seller-list-panel { display: none; }
  .seller-workspace.is-detail-open .seller-detail-panel { display: grid; }
  .detail-back {
    display: inline-flex;
    width: fit-content;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: white;
    color: var(--site-ink);
    padding: 0 12px;
    font: inherit;
    font-weight: 800;
  }
  .response-actions { display: grid; }
  .response-actions .btn { width: 100%; }
  .seller-register { grid-template-columns: 1fr; }
}
