:root {
  --ink: #17231d;
  --muted: #77817a;
  --accent: #385c49;
  --accent-deep: #294634;
  --accent-soft: #e8efe9;
  --paper: #f4f6f2;
  --white: #fff;
  --line: #e6eae5;
  --shadow: 0 18px 52px rgba(37, 55, 43, .08);
  --radius: 20px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.section-wrap { width: min(1220px, calc(100% - 64px)); margin-inline: auto; }
.glass-panel { background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 15px 48px rgba(43,62,49,.055); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.site-header { position: relative; z-index: 4; width: min(1390px, calc(100% - 80px)); height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: Manrope, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: -.5px; white-space: nowrap; }
.brand b { font-weight: 800; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); background-position: center; background-size: cover; color: white; font: 800 18px Manrope, sans-serif; }
.brand [hidden] { display: none !important; }
.platform-brand-logo { width: var(--store-logo-width, 180px); max-width: calc(100vw - 40px); height: auto; max-height: 100px; object-fit: contain; }
.sidebar-brand .platform-brand-logo { max-width: min(210px, calc(100vw - 40px)); max-height: 70px; }
.settings-form output { display: block; margin-top: -8px; color: #68766d; font-size: 13px; }
.remove-logo-button { align-self: flex-start; }
.header-nav { display: flex; align-items: center; gap: 35px; margin-left: 50px; color: #58645c; font-size: 13px; font-weight: 600; }
.store-address-link { display: inline-flex; align-items: center; gap: 8px; max-width: min(42vw, 390px); color: #66736a; font-size: 12px; font-weight: 500; transition: color .16s ease; }
.store-address-link:hover { color: var(--accent); }
.store-address-link > span:first-child { color: var(--accent); font-size: 17px; }
.store-address-link > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-address-link[hidden] { display: none; }
.header-nav a:hover, .site-footer a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; padding: 7px 8px; color: #536259; font-size: 11px; font-weight: 700; cursor: pointer; }
.language-flag { width: 20px; height: 20px; display: block; flex: 0 0 20px; overflow: hidden; border: 1px solid rgba(56,75,62,.12); border-radius: 50%; background: #fff; line-height: 0; }
.language-flag svg { display: none; width: 100%; height: 100%; }
.language-toggle[data-language-current="en"] .flag-en, .language-toggle[data-language-current="pt"] .flag-pt { display: block; }
.button { min-height: 46px; padding: 0 19px; display: inline-flex; justify-content: center; align-items: center; gap: 14px; border: 1px solid transparent; border-radius: 11px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(45,83,60,.17); }
.button-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 24px rgba(45,83,60,.24); }
.button-dark { background: #202b24; color: #fff; }
.button-outline { background: rgba(255,255,255,.65); border-color: #dfe5df; color: var(--ink); }
.button-full { width: 100%; }
.header-cta { min-height: 41px; border-radius: 10px; padding: 0 16px; font-size: 12px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; line-height: 1; flex-shrink: 0; }
.mobile-menu { display: none !important; }
.hero-shell { width: min(1390px, calc(100% - 80px)); min-height: 570px; margin: 9px auto 0; display: grid; grid-template-columns: .86fr 1.14fr; gap: 54px; align-items: center; }
.hero-copy { padding: 35px 0 37px 45px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #718076; font-size: 9px; font-weight: 700; letter-spacing: 1.7px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #84aa73; box-shadow: 0 0 0 4px rgba(132,170,115,.14); }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1 { margin: 20px 0 18px; font: 800 clamp(42px, 5.2vw, 70px)/1.09 Manrope, sans-serif; letter-spacing: -4px; }
.hero-copy h1 > span:first-child { color: var(--ink); }
.hero-copy h1 span { color: var(--accent); }
.hero-copy > p { max-width: 420px; margin-bottom: 25px; color: #69756d; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-actions .button { min-height: 49px; padding-inline: 19px; }
.trust-note { display: flex; align-items: center; gap: 9px; color: #6f7972; font-size: 10px; }
.avatar-stack { display: flex; padding-left: 2px; }
.avatar-stack span { width: 22px; height: 22px; margin-left: -3px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: #c6d4c6; color: #304d3b; font-size: 8px; font-weight: 700; }
.avatar-stack span:nth-child(2) { background: #e4cdb9; color: #70533e; }
.avatar-stack span:nth-child(3) { background: #d1cfdf; color: #504a6a; }
.hero-stats { display: flex; gap: 35px; margin-top: 43px; }
.hero-stats div { display: flex; flex-direction: column; gap: 3px; }
.hero-stats strong { font: 800 22px Manrope,sans-serif; letter-spacing: -.8px; }
.hero-stats strong span { color: var(--accent); font-size: 13px; }
.hero-stats small { color: #7f8981; font-size: 9px; }
.hero-visual { position: relative; height: 490px; overflow: hidden; border-radius: 27px 27px 27px 95px; background: #6e7b72; box-shadow: 0 25px 60px rgba(31,46,36,.18); }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-shade { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(14,23,17,.47)); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 15px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.75); border-radius: 13px; box-shadow: 0 12px 35px rgba(27,40,31,.14); backdrop-filter: blur(18px); }
.floating-card b, .floating-card small { display: block; }
.floating-card b { font: 700 11px Manrope,sans-serif; }
.floating-card small { margin-top: 3px; color: #79837d; font-size: 8px; }
.floating-rating { top: 30px; left: 27px; }
.rating-star { color: #e5ad48; font-size: 19px; }
.floating-pick { right: 23px; bottom: 29px; gap: 10px; }
.pick-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: #e7efe8; color: var(--accent); }
.pick-arrow { margin-left: 11px; color: var(--accent); }
.image-caption { position: absolute; bottom: 33px; left: 27px; color: rgba(255,255,255,.83); font-size: 8px; font-weight: 700; letter-spacing: 1.4px; }
.inventory-section { padding-top: 104px; padding-bottom: 109px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 27px; }
.section-heading h2 { margin: 11px 0 8px; font: 800 clamp(27px, 3vw, 38px)/1.2 Manrope,sans-serif; letter-spacing: -1.5px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.scroll-hint { display: none; }
body.catalog-page:not(.vehicle-page) .hero-shell { display: none; }
body.catalog-page:not(.vehicle-page) .inventory-section { padding-top: 0; }
.inventory-toolbar { display: flex; align-items: center; gap: 15px; margin: 0 0 12px; }
.inventory-kicker { flex: 0 0 auto; color: #79857c; font-size: 10px; font-weight: 700; letter-spacing: 1.45px; }
.inventory-toolbar-rule { height: 1px; flex: 1; background: linear-gradient(90deg, #e3e9e3, transparent); }
.inventory-toolbar-count { color: #89938b; font-size: 11px; white-space: nowrap; }
.text-link { padding: 0; border: 0; background: transparent; color: var(--accent); font-size: 11px; font-weight: 700; cursor: pointer; }
.text-link span { padding-left: 4px; }
.desktop-link { padding-bottom: 5px; }
.filter-panel { display: block; padding: 8px 10px 9px; border-radius: 17px; }
.filter-search-row { display: flex; align-items: center; gap: 9px; min-height: 39px; }
.inventory-search { min-width: 0; height: 39px; flex: 1; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid transparent; border-radius: 11px; transition: border-color .16s ease, background .16s ease; }
.inventory-search:focus-within { border-color: #e1e9e1; background: rgba(255,255,255,.78); }
.inventory-search-icon { color: #818c83; font-size: 21px; line-height: 1; }
.inventory-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 13px "DM Sans",sans-serif; }
.inventory-search input::placeholder { color: #929b94; }
.inventory-search kbd { padding: 2px 6px; border: 1px solid #e6eae6; border-radius: 5px; color: #9aa29c; font: 11px "DM Sans",sans-serif; }
.advanced-filter-menu { position: relative; flex: 0 0 auto; }
.advanced-filter-menu > summary { height: 36px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #e7ebe7; border-radius: 10px; color: #647168; font-size: 11px; font-weight: 600; cursor: pointer; list-style: none; white-space: nowrap; }
.advanced-filter-menu > summary::-webkit-details-marker { display: none; }
.advanced-filter-menu > summary:hover, .advanced-filter-menu[open] > summary { border-color: #cbd8cc; background: rgba(255,255,255,.8); color: var(--accent); }
.advanced-filter-panel { position: absolute; z-index: 3; top: calc(100% + 9px); right: 0; width: min(610px, calc(100vw - 40px)); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; padding: 17px; border: 1px solid rgba(222,231,222,.95); border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: 0 18px 48px rgba(34,50,38,.14); backdrop-filter: blur(18px); }
.advanced-filter-panel label { min-width: 0; display: flex; flex-direction: column; gap: 6px; color: #88928b; font-size: 10px; font-weight: 600; }
.advanced-filter-panel select, .inventory-sort select { width: 100%; min-height: 35px; padding: 0 9px; border: 1px solid #e6ebe6; border-radius: 8px; outline: 0; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; }
.advanced-filter-panel select:focus, .inventory-sort select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.quick-filter-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-height: 35px; padding: 2px 9px 0; }
.quick-filter-tag { min-height: 26px; padding: 0 11px; border: 1px solid #e6ebe6; border-radius: 999px; background: rgba(255,255,255,.76); color: #626e65; font: 600 11px "DM Sans",sans-serif; cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease; }
.quick-filter-tag:hover { border-color: #cbd8cc; transform: translateY(-1px); }
.quick-filter-tag[aria-pressed="true"] { border-color: #b9cfbc; background: #eaf2eb; color: #365a41; }
.quick-filter-clear { margin-left: 2px; padding: 5px 6px; border: 0; background: transparent; color: #909a92; font: 500 10px "DM Sans",sans-serif; cursor: pointer; }
.quick-filter-clear:hover { color: var(--accent); }
.inventory-meta { display: flex; justify-content: space-between; align-items: center; margin: 20px 1px 14px; color: #818a83; font-size: 10px; }
.inventory-results-label { color: #89938b; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.inventory-sort { display: flex; align-items: center; gap: 7px; }
.inventory-sort label { white-space: nowrap; }
.inventory-sort select { width: auto; min-height: 32px; font-size: 11px; }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-content: start; }
.vehicle-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 17px; background: #ffffff; transition: transform .2s ease, box-shadow .2s ease; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(43,62,49,.11); }
.vehicle-photo { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; min-height: 120px; padding: 0; overflow: hidden; border: 0; background-color: #e5e7eb; cursor: pointer; text-align: left; }
.vehicle-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.vehicle-card:hover .vehicle-photo img { transform: scale(1.035); }
.vehicle-tag { position: absolute; top: 13px; left: 13px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.8); border-radius: 7px; background: rgba(255,255,255,.85); color: var(--accent); font-size: 8px; font-weight: 700; letter-spacing: .5px; }
.photo-arrow { position: absolute; right: 13px; bottom: 13px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--ink); font-size: 14px; }
.vehicle-card-content { display: flex; flex-direction: column; padding: 16px 17px 14px; }
.vehicle-title-row { display: flex; justify-content: space-between; gap: 10px; }
.vehicle-year { color: #829087; font-size: 9px; font-weight: 600; }
.vehicle-title-row h3 { margin: 5px 0 2px; font: 700 16px Manrope,sans-serif; letter-spacing: -.4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vehicle-name-link { display: block; }
.vehicle-title-row p { margin: 0; color: #818b84; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.favorite-button { width: 31px; height: 31px; flex: 0 0 31px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #77847b; font-size: 16px; cursor: pointer; }
.favorite-button.is-favorite { color: #d3696b; }
.vehicle-specs { display: flex; gap: 11px; margin: 15px 0 14px; padding: 11px 0; border-top: 1px solid #edf0ed; border-bottom: 1px solid #edf0ed; color: #7e8981; font-size: 8px; }
.vehicle-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.vehicle-card-bottom strong { font: 800 17px Manrope,sans-serif; letter-spacing: -.5px; }
.vehicle-card-bottom .text-link { font-size: 9px; }
.empty-state { padding: 52px 20px; text-align: center; }
.empty-state > span { font-size: 27px; color: var(--accent); }
.empty-state h3 { margin: 12px 0 7px; font: 700 19px Manrope,sans-serif; }
.empty-state p { color: var(--muted); font-size: 12px; }
.empty-state .button { margin-top: 8px; }
.reviews-section { padding: 76px 0 82px; background: radial-gradient(ellipse at 50% 0, rgba(214,228,215,.56), transparent 65%); }
.reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.reviews-heading h2 { margin: 12px 0 0; font: 800 clamp(25px, 3vw, 36px)/1.2 Manrope,sans-serif; letter-spacing: -1.4px; }
.reviews-controls { display: flex; gap: 8px; }
.review-control { width: 42px; height: 42px; border: 1px solid #dfe7df; border-radius: 50%; background: rgba(255,255,255,.72); color: var(--accent); font-size: 19px; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.review-control:hover { transform: translateY(-2px); background: #fff; }
.review-control:focus-visible, .review-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.review-carousel { min-height: 266px; }
.review-card { min-height: 266px; padding: clamp(24px, 4vw, 42px); border-radius: 21px; background: rgba(255,255,255,.62); border-color: rgba(255,255,255,.85); box-shadow: 0 20px 60px rgba(43,62,49,.075); }
.review-card[hidden] { display: none; }
.review-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.review-stars { color: #d9aa36; font-size: 22px; letter-spacing: 4px; line-height: 1; }
.verified-buyer { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #dce8dd; border-radius: 999px; background: rgba(236,245,237,.8); color: #587460; font-size: 10px; font-weight: 600; white-space: nowrap; }
.verified-buyer > span:first-child { display: grid; width: 14px; height: 14px; place-items: center; border-radius: 50%; background: #72917a; color: white; font-size: 9px; }
.review-card blockquote { max-width: 820px; margin: 27px 0 25px; color: #26362b; font: 600 clamp(19px, 3vw, 29px)/1.48 Manrope,sans-serif; letter-spacing: -.45px; }
.review-customer { display: flex; align-items: center; gap: 11px; }
.review-avatar { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(56,92,73,.12); border-radius: 50%; background: #e8efe9; color: var(--accent); font: 700 14px Manrope,sans-serif; }
.review-customer strong, .review-customer small { display: block; }
.review-customer strong { font: 700 12px Manrope,sans-serif; }
.review-customer small { margin-top: 4px; color: #7c887f; font-size: 10px; }
.review-footer { display: flex; align-items: center; justify-content: center; margin-top: 16px; }
.review-dots { display: flex; align-items: center; gap: 7px; }
.review-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #cad4cb; cursor: pointer; transition: width .2s ease, background .2s ease; }
.review-dot.is-active { width: 23px; border-radius: 999px; background: var(--accent); }
.site-footer { padding: 20px 0 34px; border-top: 1px solid #e5eae4; }
.footer-inner { position: relative; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; color: #7f8981; font-size: 9px; }
.footer-brand { color: var(--ink); font-size: 12px; }
.footer-brand .brand-mark { width: 29px; height: 29px; font-size: 14px; }
.footer-copyright { grid-column: 2; justify-self: center; text-align: center; }
.powered-by, .admin-footer { display: flex; align-items: center; gap: 7px; color: #7f8981; font-size: 10px; }
.footer-inner > .powered-by { grid-column: 3; justify-self: end; }
.powered-by img, .admin-footer img { width: 72px; height: auto; object-fit: contain; }
.whatsapp-float { position: fixed; z-index: 5; right: 23px; bottom: 23px; width: 52px; height: 52px; display: grid; place-items: center; border: 4px solid rgba(255,255,255,.8); border-radius: 50%; background: #278d61; color: white; box-shadow: 0 8px 25px rgba(31,100,67,.25); font-size: 27px; }
.vehicle-dialog, .lead-dialog { width: min(790px, calc(100% - 28px)); max-height: min(92vh, 900px); padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.8); border-radius: 19px; background: #f7f8f5; box-shadow: 0 25px 90px rgba(23,38,28,.26); }
.vehicle-dialog::backdrop, .lead-dialog::backdrop { background: rgba(20,31,24,.52); backdrop-filter: blur(5px); }
.dialog-content { position: relative; }
.dialog-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 23px; cursor: pointer; }
.detail-hero { position: relative; height: 310px; background: #d4dbd5; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 25px 32px 33px; }
.detail-back { display: inline-block; margin-bottom: 18px; }
.detail-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.detail-heading h1 { margin: 5px 0; font: 800 27px Manrope,sans-serif; letter-spacing: -1px; }
.detail-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.detail-heading > strong { font: 800 24px Manrope,sans-serif; white-space: nowrap; }
.detail-description { margin: 19px 0; color: #667269; font-size: 12px; line-height: 1.8; }
.detail-subheading { margin: 23px 0 12px; font: 700 13px Manrope,sans-serif; }
.detail-spec-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.detail-spec-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 11px; border: 1px solid #e8ece8; border-radius: 9px; }
.detail-spec-grid small { color: #89928b; font-size: 8px; }
.detail-spec-grid b { font-size: 10px; }
.detail-actions { display: flex; gap: 10px; margin-top: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.related-grid button { overflow: hidden; padding: 0 0 10px; border: 1px solid #e4e9e4; border-radius: 10px; background: white; text-align: left; cursor: pointer; }
.related-grid a { overflow: hidden; padding: 0 0 10px; border: 1px solid #e4e9e4; border-radius: 10px; background: white; text-align: left; cursor: pointer; }
.related-grid img { width: 100%; height: 90px; object-fit: cover; }
.related-grid b, .related-grid span { display: block; margin: 8px 9px 0; font-size: 9px; }
.related-grid span { margin-top: 4px; color: var(--accent); font-weight: 700; }
.lead-form { position: relative; display: flex; flex-direction: column; gap: 13px; padding: 39px; }
.lead-form .eyebrow { margin-top: 7px; }
.lead-form h2 { margin: -6px 0 0; font: 800 27px Manrope,sans-serif; }
.lead-form > p { margin: -7px 0 2px; color: var(--muted); font-size: 11px; }
.lead-form label, .settings-form label, .vehicle-editor label { display: flex; flex-direction: column; gap: 6px; color: #657168; font-size: 10px; font-weight: 600; }
.lead-form input, .lead-form textarea, .settings-form input, .vehicle-editor input, .vehicle-editor select, .vehicle-editor textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #dfe5df; border-radius: 9px; outline: none; background: rgba(255,255,255,.8); color: var(--ink); font-size: 11px; }
.lead-form textarea, .vehicle-editor textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus, .settings-form input:focus, .vehicle-editor input:focus, .vehicle-editor select:focus, .vehicle-editor textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.lead-form .form-note { margin: 0; text-align: center; color: #879188; font-size: 9px; }

/* Admin workspace */
.admin-page { min-height: 100vh; }
.admin-layout { min-height: 100vh; }
.sidebar { position: fixed; z-index: 3; inset: 0 auto 0 0; width: 246px; display: flex; flex-direction: column; padding: 25px 17px 17px; border-right: 1px solid #e5eae4; background: rgba(250,251,248,.83); backdrop-filter: blur(18px); }
.sidebar-brand { padding: 0 7px 31px; font-size: 14px; }
.sidebar-brand .brand-mark { width: 33px; height: 33px; border-radius: 10px; }
.sidebar-brand-copy { display: flex; flex-direction: column; gap: 3px; }
.sidebar-brand-copy > b { font-weight: 800; }
.sidebar-brand-copy > small { max-width: 160px; overflow: hidden; color: #89938c; font: 500 9px "DM Sans",sans-serif; text-overflow: ellipsis; }
.sidebar-label { padding: 0 10px 11px; color: #a0a9a1; font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-link { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 11px; padding: 0 11px; border: 0; border-radius: 9px; background: transparent; color: #77827a; text-align: left; font-size: 11px; font-weight: 600; cursor: pointer; }
.sidebar-link > span:first-child { width: 18px; color: #849188; font-size: 15px; text-align: center; }
.sidebar-link.active { background: #eaf0ea; color: var(--accent); }
.sidebar-link.active > span:first-child { color: var(--accent); }
.nav-count { margin-left: auto; color: #89948c; font-size: 9px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-help { display: flex; align-items: center; gap: 9px; padding: 12px 10px; border: 1px solid #e8ece7; border-radius: 11px; background: rgba(255,255,255,.65); cursor: pointer; transition: background .2s, border-color .2s, transform .15s, box-shadow .2s; user-select: none; }
.sidebar-help:hover { background: rgba(255,255,255,.95); border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.04); }
.sidebar-help:active { transform: translateY(0); }
.sidebar-help-action { color: var(--accent); display: flex; align-items: center; justify-content: center; }
.help-bubble { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; }
.sidebar-help div { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.sidebar-help b { font-size: 9px; }
.sidebar-help small { color: #859088; font-size: 8px; }
.sidebar-help > a { color: var(--accent); font-size: 13px; }
.back-to-store { display: block; padding: 18px 10px 2px; color: #77827a; font-size: 10px; }
.admin-main { min-height: 100vh; margin-left: 246px; }
.admin-topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid #e8ece7; background: rgba(250,251,248,.46); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #99a29b; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.breadcrumb b { color: #c5ccc6; }
.breadcrumb strong { color: #424f46; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.admin-live { display: flex; align-items: center; gap: 7px; color: #738078; font-size: 9px; }
.admin-live i { width: 6px; height: 6px; border-radius: 50%; background: #78ad7e; box-shadow: 0 0 0 3px rgba(120,173,126,.13); }
.admin-avatar { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #dce5dd; border-radius: 50%; background: #e9f0e9; color: var(--accent); font-size: 10px; font-weight: 700; }
.admin-content { max-width: 1370px; margin: 0 auto; padding: 36px 38px 60px; }
.admin-footer { justify-content: flex-end; padding: 0 38px 19px; }
.admin-footer img { width: 78px; }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.admin-page-heading h1 { margin: 8px 0 5px; font: 800 28px Manrope,sans-serif; letter-spacing: -1px; }
.admin-page-heading p { margin: 0; color: #818b83; font-size: 11px; }
.admin-page-heading .button { min-height: 41px; font-size: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; }
.metric-card { min-height: 136px; padding: 15px 16px; border-radius: 13px; }
.metric-top { display: flex; justify-content: space-between; align-items: center; color: #768178; font-size: 9px; font-weight: 600; }
.metric-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 13px; }
.metric-lilac { background: #eeeafa; color: #7a66a8; }
.metric-green { background: #e8f2e9; color: #4c8c59; }
.metric-yellow { background: #f8f0dc; color: #a7822e; }
.metric-blue { background: #e8eff5; color: #5c82a3; }
.metric-card > strong { display: block; margin-top: 13px; font: 800 25px Manrope,sans-serif; letter-spacing: -.8px; }
.metric-card > small { display: block; margin-top: 2px; color: #8b948d; font-size: 8px; }
.license-metric-value { font-size: 19px !important; }
.dashboard-columns { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 17px; }
.admin-card { padding: 20px; border-radius: 14px; }
.card-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 15px; }
.card-heading h2, .inventory-table-head h2 { margin: 0; font: 700 13px Manrope,sans-serif; }
.card-heading p { margin: 5px 0 0; color: #89928b; font-size: 9px; }
.card-heading .text-link { font-size: 9px; }
.compact-list { min-height: 125px; }
.compact-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #eff1ee; }
.compact-row > img { width: 45px; height: 34px; border-radius: 6px; object-fit: cover; background: #e6ebe6; }
.compact-row > div { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.compact-row b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.compact-row small { color: #89928b; font-size: 8px; }
.compact-row > strong { white-space: nowrap; font-size: 9px; }
.lead-avatar { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border-radius: 50%; background: #e8efe8; color: var(--accent); font-size: 10px; font-weight: 700; }
.lead-compact .lead-new-badge { margin-left: auto; }
.lead-new-badge { width: max-content; padding: 4px 6px; border-radius: 5px; background: #edf2ed; color: #56765d; font-size: 7px; font-weight: 700; }
.list-empty { padding: 19px 0; color: #89928b; font-size: 9px; line-height: 1.6; }
.inventory-table-card { padding: 0; overflow: hidden; }
.inventory-table-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 19px; }
.inventory-table-head span { color: #637067; font-size: 9px; }
.inventory-plan-summary { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.plan-badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 20px; font-size: 9px; font-weight: 800; letter-spacing: .35px; white-space: nowrap; }
.plan-badge[hidden] { display: none; }
.plan-badge-starter { background: #eef2ff; color: #394b8a !important; }
.plan-badge-pro { background: #e4f5ef; color: #176b4b !important; }
.inventory-limit-notice { margin: 0 17px 14px; padding: 10px 12px; border: 1px solid #ecd9b3; border-radius: 9px; background: #fff8e9; color: #684a15; font-size: 11px; font-weight: 700; line-height: 1.5; }
.inventory-limit-notice.inventory-limit-reached { border-color: #f0c9c5; background: #fff0ee; color: #923b35; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { background: #f7f8f6; }
th { padding: 11px 14px; color: #929b94; font-size: 7px; letter-spacing: .8px; white-space: nowrap; }
td { padding: 11px 14px; border-top: 1px solid #edf0ec; color: #6e7971; font-size: 9px; white-space: nowrap; }
td:first-child, th:first-child { padding-left: 19px; }
.table-vehicle { display: flex; align-items: center; gap: 9px; }
.table-vehicle img { width: 48px; height: 34px; border-radius: 6px; object-fit: cover; background: #e6ebe6; }
.table-vehicle span { display: flex; flex-direction: column; gap: 3px; }
.table-vehicle b { color: #39463d; font-size: 9px; }
.table-vehicle small { color: #929b94; font-size: 8px; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 15px; background: #ebf3ec; color: #50805a; font-size: 8px; font-weight: 700; }
.status-pill i { width: 5px; height: 5px; border-radius: 50%; background: #65a171; }
.status-paused { background: #f3f0e9; color: #92805c; }
.status-paused i { background: #b59b5a; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 280px; }
.row-action-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 11px; border: 1px solid #dfe7df; border-radius: 9px; background: rgba(255,255,255,.92); color: #425349; font: 600 13px/1 "DM Sans",sans-serif; cursor: pointer; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.row-action-button > span:first-child { font-size: 16px; line-height: 1; }
.row-action-button:hover, .row-action-button:focus-visible { z-index: 2; border-color: #aebdaf; background: #fff; box-shadow: 0 5px 14px rgba(32,55,37,.12); outline: none; transform: translateY(-1px); }
.row-action-button:focus-visible { outline: 3px solid rgba(79,126,91,.28); outline-offset: 2px; }
.row-action-edit { color: #385c49; }
.row-action-toggle { color: #755d24; }
.row-action-delete { border-color: #efdede; color: #a44f4f; }
.row-action-delete:hover, .row-action-delete:focus-visible { border-color: #d9a6a6; background: #fffafa; }
.row-action-button[data-tooltip]::after { position: absolute; z-index: 5; bottom: calc(100% + 9px); left: 50%; width: max-content; max-width: 230px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; background: #26352b; box-shadow: 0 5px 18px rgba(0,0,0,.2); color: white; content: attr(data-tooltip); font: 500 12px/1.45 "DM Sans",sans-serif; text-align: center; white-space: normal; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .14s ease, transform .14s ease; }
.row-action-button[data-tooltip]:hover::after, .row-action-button[data-tooltip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.admin-empty { padding: 24px 19px; color: #869087; font-size: 10px; }
.lead-list { min-height: 260px; }
.lead-row { display: flex; align-items: flex-start; gap: 12px; padding: 15px 0; border-bottom: 1px solid #edf0ec; }
.lead-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.lead-main > div { display: flex; align-items: center; gap: 8px; }
.lead-main > div b { font-size: 10px; }
.lead-main > a, .lead-main > span { color: #77827a; font-size: 9px; }
.lead-main p { margin: 3px 0 0; color: #69756d; font-size: 10px; line-height: 1.6; }
.lead-row time { color: #929b94; font-size: 8px; white-space: nowrap; }
.settings-form { max-width: 660px; }
.email-settings-form { max-width: 760px; }
.settings-form h2, .license-status-card h2, .license-form h2 { margin: 0 0 17px; font: 700 15px Manrope,sans-serif; }
.settings-form > label { margin-bottom: 15px; }
.settings-form > .button { margin-top: 4px; }
.email-settings-warning { display: flex; gap: 13px; margin: 0 0 16px; padding: 15px; border: 1px solid #ecd9b3; border-radius: 11px; background: rgba(255,248,233,.8); color: #6c5734; }
.email-warning-icon { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; background: #ead7ad; color: #614b22; font-weight: 800; }
.email-settings-warning strong { display: block; font-size: 13px; }
.email-settings-warning p { margin: 5px 0 0; color: #796b52; font-size: 12px; line-height: 1.6; }
.email-unlock-button { margin: 0 0 19px; }
.email-setting-fields { display: grid; gap: 0 15px; grid-template-columns: 1fr 1fr; }
.email-setting-fields > label { min-width: 0; }
.email-setting-fields > label:first-child,
.email-setting-fields > label:nth-last-child(-n+3) { grid-column: 1 / -1; }
.email-settings-row { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 15px; }
.email-settings-form input:disabled,
.email-settings-form select:disabled { cursor: not-allowed; opacity: .7; }
.email-settings-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.email-settings-actions .button { flex: 1 1 180px; }
.email-settings-note { min-height: 18px; margin: 10px 0 0; color: #6c7b6e; font-size: 12px; line-height: 1.5; }
.color-fields { display: flex; gap: 18px; margin: 4px 0 16px; }
.color-fields label { width: 145px; }
.color-fields input[type=color] { height: 39px; padding: 4px; cursor: pointer; }
.license-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 14px; align-items: start; }
.license-status-card { min-height: 245px; }
.license-status-card h2 { margin-top: 15px; margin-bottom: 6px; }
.license-status-card > p, .license-form > p { color: #7c877f; font-size: 10px; line-height: 1.7; }
.license-details { display: flex; gap: 35px; margin-top: 22px; padding-top: 14px; border-top: 1px solid #edf0ec; }
.license-details span { display: flex; flex-direction: column; gap: 4px; }
.license-details small { color: #8b958d; font-size: 8px; }
.license-details b { font-size: 10px; }
.license-form { max-width: none; }
.license-form .eyebrow { margin-bottom: 11px; }
.license-form h2 { margin-bottom: 8px; }
.license-form > p { margin-top: 9px; margin-bottom: 15px; }
.license-form > label { margin-bottom: 13px; }
.license-form .form-note { margin-bottom: 0; font-size: 8px; }
.license-gate { max-width: 510px; margin: 11vh auto; padding: 44px; border: 1px solid rgba(255,255,255,.9); border-radius: 21px; background: rgba(255,255,255,.72); box-shadow: var(--shadow); text-align: center; }
.license-gate-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 15px; background: #e8eff5; color: #5c82a3; font-size: 23px; }
.license-gate h1 { margin: 11px auto; font: 800 25px/1.3 Manrope,sans-serif; letter-spacing: -.8px; }
.license-gate p { margin: 0 auto 21px; color: #7c877f; font-size: 11px; line-height: 1.7; }
.readonly-license-notice { max-width: none; margin: 0 0 20px; padding: 20px 24px; text-align: left; }
.readonly-license-notice .license-gate-icon { margin: 0 0 10px; }
.readonly-license-notice h1 { margin: 8px 0; }
.readonly-license-notice p { margin: 0 0 14px; }
.admin-page .admin-view button:disabled,
.admin-page .admin-view input:disabled,
.admin-page .admin-view select:disabled,
.admin-page .admin-view textarea:disabled { cursor: not-allowed; opacity: .55; }
.form-error { margin: 10px 0 0 !important; padding: 10px; border: 1px solid #f0d4d2; border-radius: 8px; background: #fff5f4; color: #a54c48 !important; font-size: 9px !important; }
.toast-region { position: fixed; z-index: 10; right: 21px; bottom: 19px; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 16px; border: 1px solid rgba(255,255,255,.7); border-radius: 10px; background: #243e2d; box-shadow: var(--shadow); color: #fff; font-size: 11px; animation: toast-in .2s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.vehicle-editor { position: relative; padding: 34px; }
.vehicle-editor .eyebrow { margin-bottom: 9px; }
.vehicle-editor h2 { margin-bottom: 20px; font: 800 22px Manrope,sans-serif; }
.editor-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.editor-grid label { min-width: 0; }
.editor-grid .editor-wide { grid-column: 1/-1; }
.field-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.field-heading select { width: auto !important; min-height: 30px !important; padding: 4px 8px !important; border-radius: 7px !important; font-size: 11px !important; }
.number-stepper { display: grid; grid-template-columns: 42px 1fr 42px; gap: 6px; }
.number-stepper button { border: 1px solid #dfe5df; border-radius: 9px; background: white; color: var(--accent); font-size: 21px; font-weight: 600; cursor: pointer; }
.make-picker { display: flex; flex-wrap: wrap; gap: 7px; max-height: 116px; margin-top: 8px; overflow: auto; }
.make-option { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; padding: 4px 8px; border: 1px solid #e1e7e1; border-radius: 8px; background: rgba(255,255,255,.8); color: #58645c; font-size: 10px; cursor: pointer; }
.make-option.is-selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.make-logo { display: grid; min-width: 25px; height: 21px; place-items: center; padding-inline: 3px; border-radius: 5px; background: #eff2ee; color: var(--accent); font: 800 8px Manrope,sans-serif; }
.make-logo img, .make-logo > span { grid-area: 1/1; }
.make-logo img { width: 25px; height: 19px; object-fit: contain; }
.make-option.is-selected .make-logo { background: white; }
.editor-grid input[type=file] { padding: 8px; }
.photo-upload-section { display: flex; flex-direction: column; gap: 9px; }
.photo-upload-title { color: #657168; font-size: 12px; font-weight: 700; }
.photo-drop-zone { position: relative; min-height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 15px; border: 1px dashed #aebcaf; border-radius: 12px; background: rgba(248,250,247,.8); color: #43594a; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.photo-drop-zone:hover, .photo-drop-zone.is-drag-over { border-color: var(--accent); background: var(--accent-soft); }
.photo-drop-zone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; }
.photo-upload-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: white; color: var(--accent); font-size: 21px; }
.photo-drop-zone > span:not(.photo-upload-icon) { font-size: 12px; font-weight: 700; }
.photo-drop-zone small { color: #77817a; font-size: 10px; }
.photo-preview-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.photo-preview-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #e1e7e1; border-radius: 9px; background: #fff; cursor: grab; }
.photo-preview-card.is-dragging { opacity: .45; }
.photo-preview-card > img { width: 100%; height: 92px; object-fit: cover; }
.photo-preview-number { position: absolute; top: 6px; left: 6px; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: rgba(27,42,32,.8); color: #fff; font-size: 10px; font-weight: 700; }
.photo-preview-name { display: block; overflow: hidden; padding: 6px 7px 3px; color: #67736a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.photo-preview-actions { display: flex; gap: 4px; padding: 4px 6px 6px; }
.photo-preview-actions button { flex: 1; min-width: 0; height: 25px; border: 1px solid #e5eae5; border-radius: 6px; background: #fff; color: #506357; cursor: pointer; }
.photo-preview-actions button:last-child { color: #a54c48; }
.photo-preview-actions button:disabled { cursor: not-allowed; opacity: .4; }
.editor-grid .checkbox-label { flex-direction: row; align-items: center; }
.checkbox-label input { width: 15px; min-height: 15px; accent-color: var(--accent); }
.editor-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 19px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at top left, #e7eee7, transparent 55%), var(--paper); }
.login-card { position: relative; width: min(440px, 100%); padding: 37px; border-radius: 20px; }
.login-brand { margin-bottom: 34px; font-size: 17px; }
.login-card h1 { margin: 12px 0 8px; font: 800 28px/1.2 Manrope,sans-serif; letter-spacing: -1px; }
.login-card > p { margin-bottom: 23px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.login-locale { position: absolute; top: 25px; right: 27px; }
.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-form label { display: flex; flex-direction: column; gap: 7px; color: #657168; font-size: 12px; font-weight: 600; }
.login-form input { min-height: 45px; padding: 10px 12px; border: 1px solid #dfe5df; border-radius: 9px; outline: none; background: rgba(255,255,255,.85); color: var(--ink); font-size: 14px; }
.login-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.login-form .button { min-height: 47px; margin-top: 4px; }
.login-error { margin: -8px 0 18px; padding: 11px 13px; border: 1px solid #f0d4d2; border-radius: 8px; background: #fff5f4; color: #a54c48; font-size: 12px; line-height: 1.5; }
.login-back { display: inline-block; margin-top: 21px; color: #738078; font-size: 12px; }
.setup-card { width: min(500px, 100%); }
.setup-card .login-brand { margin-bottom: 28px; }
.setup-progress { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #89938c; }
.setup-progress > span:not(.setup-progress-line) { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 10px; }
.setup-progress i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #dce3dc; border-radius: 50%; font-size: 10px; font-style: normal; }
.setup-progress .is-current { color: var(--accent); }
.setup-progress .is-current i, .setup-progress .is-complete i { border-color: var(--accent); background: var(--accent); color: white; }
.setup-progress .is-complete { color: var(--accent); }
.setup-progress-line { height: 1px; flex: 1; background: #dce3dc; }
.setup-progress-line.is-complete { background: var(--accent); }
.setup-note { margin: -3px 0 0; color: #78847b; font-size: 11px; line-height: 1.6; }
.logout-form button { width: 100%; display: flex; gap: 9px; padding: 12px 10px; border: 0; background: transparent; color: #77827a; font: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.topbar-logout button { width: 29px; height: 29px; border: 1px solid #e0e6e0; border-radius: 50%; background: rgba(255,255,255,.72); color: #69776d; font-size: 15px; cursor: pointer; }
@media (max-width: 760px) {
  .login-card { padding: 30px 23px; }
  .login-card h1 { font-size: 24px; }
  .topbar-logout button { width: 26px; height: 26px; }
}

@media (max-width: 1080px) {
  .hero-shell { gap: 28px; }
  .hero-copy { padding-left: 13px; }
  .hero-stats { gap: 22px; }
  .vehicle-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .section-wrap { width: min(100% - 36px, 560px); }
  .site-header { width: calc(100% - 36px); height: 67px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .header-nav { position: absolute; top: 57px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); }
  .header-nav.is-open { display: flex; }
  .header-nav a { padding: 12px; }
  .header-nav .store-address-link { max-width: none; padding: 12px; font-size: 12px; }
  .header-cta { min-height: 34px !important; height: 34px !important; padding: 0 11px !important; font-size: 11px !important; font-weight: 700 !important; white-space: nowrap !important; border-radius: 8px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; flex-shrink: 0 !important; }
  .header-actions { gap: 6px; }
  .mobile-menu { display: grid !important; width: 33px; height: 33px; place-items: center; border: 1px solid #e2e8e2; border-radius: 9px; background: #fff; font-size: 15px; }
  .hero-shell { width: calc(100% - 36px); min-height: 0; margin-top: 8px; grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { padding: 28px 0 0; }
  .hero-copy h1 { margin-top: 16px; font-size: clamp(42px, 11vw, 59px); letter-spacing: -2.7px; }
  .hero-copy > p { max-width: 500px; font-size: 13px; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { min-height: 45px; }
  .trust-note { font-size: 9px; }
  .hero-stats { margin-top: 29px; gap: clamp(19px, 7vw, 42px); }
  .hero-stats strong { font-size: 20px; }
  .hero-visual { height: clamp(255px, 69vw, 390px); border-radius: 20px 20px 20px 62px; }
  .floating-rating { top: 17px; left: 14px; padding: 9px 11px; }
  .floating-pick { right: 13px; bottom: 17px; padding: 9px 11px; }
  .image-caption { left: 16px; bottom: 20px; font-size: 7px; }
  .inventory-section { padding-bottom: 71px; }
  .inventory-toolbar { gap: 9px; margin-bottom: 10px; }
  .inventory-kicker { font-size: 9px; letter-spacing: 1.1px; }
  .inventory-toolbar-count { font-size: 10px; }
  .filter-panel { padding: 7px; border-radius: 14px; }
  .filter-search-row { gap: 5px; }
  .inventory-search { height: 37px; gap: 7px; padding-inline: 7px; }
  .inventory-search input { font-size: 12px; }
  .inventory-search kbd { display: none; }
  .advanced-filter-menu > summary { height: 34px; gap: 5px; padding-inline: 9px; font-size: 10px; }
  .advanced-filter-panel { position: fixed; top: auto; right: 18px; left: 18px; width: auto; grid-template-columns: 1fr 1fr; gap: 11px; padding: 13px; }
  .quick-filter-tags { gap: 6px; padding: 2px 7px 0; }
  .quick-filter-tag { min-height: 27px; padding-inline: 10px; font-size: 10px; }
  .quick-filter-clear { margin-left: auto; font-size: 10px; }
  .inventory-meta { margin: 15px 1px 12px; }
  .inventory-results-label { font-size: 8px; }
  .inventory-sort { gap: 5px; }
  .inventory-sort label, .inventory-sort select { font-size: 10px; }
  .filter-submit { grid-column: 1/-1; width: 100%; min-height: 42px; }
  .vehicle-grid { gap: 11px; }
  .vehicle-photo { aspect-ratio: 16 / 9; height: auto; }
  .vehicle-card-content { padding: 12px 11px; }
  .vehicle-specs { flex-wrap: wrap; gap: 6px 9px; margin: 11px 0; padding: 9px 0; font-size: 7px; }
  .vehicle-card-bottom .text-link { font-size: 8px; }
  .favorite-button { width: 27px; height: 27px; flex-basis: 27px; }
  .reviews-section { padding: 56px 0 61px; }
  .reviews-heading { align-items: center; margin-bottom: 17px; }
  .reviews-heading h2 { max-width: 245px; font-size: 23px; }
  .review-control { width: 35px; height: 35px; }
  .review-carousel, .review-card { min-height: 258px; }
  .review-card { padding: 22px 18px; border-radius: 16px; }
  .review-stars { font-size: 18px; letter-spacing: 2px; }
  .verified-buyer { gap: 4px; padding: 5px 7px; font-size: 8px; }
  .review-card blockquote { margin: 25px 0 23px; font-size: 19px; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .footer-copyright { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .footer-inner > .powered-by { grid-column: 2; grid-row: 1; }
  .whatsapp-float { right: 13px; bottom: 13px; width: 47px; height: 47px; }
  .detail-hero { height: 220px; }
  .detail-body { padding: 20px 17px 25px; }
  .detail-heading { align-items: start; }
  .detail-heading h1 { font-size: 21px; }
  .detail-heading > strong { font-size: 17px; }
  .detail-spec-grid { grid-template-columns: repeat(2,1fr); }
  .detail-actions { flex-direction: column; }
  .related-grid img { height: 70px; }
  .lead-form { padding: 34px 22px 25px; }
  .sidebar { position: fixed; inset: auto 0 0; width: 100%; height: 61px; flex-direction: row; justify-content: center; padding: 4px 5px; border-top: 1px solid #e2e8e2; border-right: 0; background: rgba(249,251,248,.95); }
  .sidebar-brand, .sidebar-label, .sidebar-bottom { display: none; }
  .sidebar-nav { width: 100%; flex-direction: row; justify-content: space-around; gap: 2px; }
  .sidebar-link { min-height: 48px; width: auto; flex: 1; flex-direction: column; justify-content: center; gap: 2px; padding: 3px 2px; font-size: 7px; }
  .sidebar-link > span:first-child { width: auto; font-size: 14px; }
  .nav-count { display: none; }
  .admin-main { margin-left: 0; padding-bottom: 60px; }
  .admin-topbar { height: 57px; padding: 0 16px; }
  .breadcrumb { gap: 6px; font-size: 7px; }
  .breadcrumb strong { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-actions { gap: 8px; }
  .admin-live { font-size: 8px; }
  .admin-avatar { width: 26px; height: 26px; }
  .admin-content { padding: 25px 16px 36px; }
  .admin-page-heading { align-items: start; }
  .admin-page-heading h1 { font-size: 23px; }
  .admin-page-heading p { max-width: 260px; font-size: 9px; line-height: 1.6; }
  .admin-page-heading .button { min-height: 36px; padding: 0 10px; gap: 5px; font-size: 8px; white-space: nowrap; }
  .metric-grid { gap: 8px; }
  .metric-card { min-height: 117px; padding: 12px; }
  .metric-top { font-size: 8px; }
  .metric-icon { width: 24px; height: 24px; }
  .metric-card > strong { font-size: 22px; }
  .metric-card > small { font-size: 7px; }
  .dashboard-columns { grid-template-columns: 1fr; gap: 10px; margin-top: 11px; }
  .admin-card { padding: 15px; }
  .card-heading h2, .inventory-table-head h2 { font-size: 12px; }
  .inventory-table-card { padding: 0; }
  .inventory-table-head { flex-wrap: wrap; }
  .settings-form { max-width: none; }
  .license-layout { grid-template-columns: 1fr; }
  .email-setting-fields { grid-template-columns: 1fr; }
  .email-setting-fields > label,
  .email-setting-fields > label:first-child,
  .email-setting-fields > label:nth-last-child(-n+3),
  .email-settings-row { grid-column: 1; }
  .email-settings-row { grid-template-columns: 1fr 1fr; }
  .license-gate { margin: 7vh auto; padding: 32px 22px; }
  .license-gate h1 { font-size: 21px; }
  .vehicle-editor { padding: 30px 18px 20px; }
  .editor-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .editor-grid .editor-wide { grid-column: 1/-1; }
  .photo-preview-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .photo-preview-card > img { height: 82px; }
}
@media (max-width: 390px) {
  .section-wrap, .site-header, .hero-shell { width: calc(100% - 28px); }
  .header-cta { font-size: 10px !important; padding: 0 8px !important; min-height: 32px !important; height: 32px !important; white-space: nowrap !important; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .vehicle-photo { aspect-ratio: 16 / 9; height: auto; }
  .vehicle-card-content { padding: 15px; }
  .vehicle-title-row h3 { font-size: 15px; }
  .vehicle-specs { font-size: 8px; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-grid .editor-wide { grid-column: auto; }
  .photo-preview-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Dedicated vehicle pages and more readable interface type */
.vehicle-page-main { min-height: 72vh; padding-top: 26px; padding-bottom: 75px; }
.vehicle-page-back { display: inline-block; margin-bottom: 19px; font-size: 13px; }
.vehicle-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 325px; align-items: start; gap: 25px; }
.vehicle-detail-main { min-width: 0; }
.vehicle-page .detail-hero { position: relative; height: clamp(330px, 42vw, 520px); overflow: hidden; border-radius: 21px; background: #d4dbd5; }
.vehicle-page .detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-page .detail-hero { cursor: zoom-in; }
.gallery-open-hint { position: absolute; right: 15px; top: 15px; z-index: 1; padding: 8px 11px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(20,30,23,.68); color: white; font-size: 11px; opacity: 0; transition: opacity .18s ease; }
.vehicle-page .detail-hero:hover .gallery-open-hint, .vehicle-page .detail-hero:focus-visible .gallery-open-hint { opacity: 1; }
.photo-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 56px 76px 84px; overflow: hidden; border: 0; background: rgba(9,13,10,.96); color: #fff; }
.photo-lightbox::backdrop { background: rgba(9,13,10,.96); }
.lightbox-image { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close, .lightbox-control { position: absolute; z-index: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.lightbox-close { top: 18px; right: 22px; width: 42px; height: 42px; font-size: 28px; }
.lightbox-control { top: 50%; width: 50px; height: 50px; transform: translateY(-50%); font-size: 34px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption { position: absolute; right: 0; bottom: 22px; left: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; color: rgba(255,255,255,.92); text-align: center; }
.lightbox-caption span:first-child { font: 700 15px Manrope,sans-serif; }
.lightbox-caption span:last-child { color: rgba(255,255,255,.7); font-size: 12px; }
.vehicle-detail-copy { padding: 25px 4px 8px; }
.vehicle-detail-copy > .vehicle-year { color: #647267; font-size: 17px; font-weight: 700; }
.vehicle-detail-copy h1 { margin: 7px 0 5px; font: 800 clamp(30px, 4vw, 43px)/1.15 Manrope,sans-serif; letter-spacing: -1.8px; }
.detail-summary { margin: 0; color: var(--muted); font-size: 13px; }
.vehicle-detail-copy .detail-description { max-width: 760px; margin-top: 20px; font-size: 14px; }
.vehicle-detail-copy .detail-subheading { margin-top: 25px; font-size: 17px; }
.vehicle-detail-copy .detail-spec-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.vehicle-detail-copy .detail-spec-grid small { font-size: 11px; }
.vehicle-detail-copy .detail-spec-grid b { font-size: 13px; }
.vehicle-purchase-panel { position: sticky; top: 22px; display: flex; flex-direction: column; gap: 12px; padding: 21px; border-radius: 16px; }
.vehicle-price { font: 800 29px Manrope,sans-serif; letter-spacing: -1px; }
.vehicle-price-caption { margin-top: -10px; color: #808a82; font-size: 11px; }
.vehicle-purchase-panel .button { min-height: 47px; font-size: 13px; }
.dealer-contact-dialog { position: fixed; inset: 0; width: min(480px, calc(100vw - 32px)); max-width: none; max-height: min(80vh, 620px); margin: auto; padding: 0; overflow: visible; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: rgba(250,252,249,.97); color: var(--ink); box-shadow: 0 28px 90px rgba(17,29,20,.28); backdrop-filter: blur(22px); }
.dealer-contact-dialog::backdrop { background: rgba(17,26,20,.52); backdrop-filter: blur(4px); }
.dealer-contact-content { padding: 32px; }
.dealer-contact-content .eyebrow { color: var(--accent); }
.dealer-contact-content h2 { margin: 10px 0 21px; font: 800 25px/1.2 Manrope,sans-serif; letter-spacing: -.7px; }
.dealer-contact-list { display: grid; gap: 10px; }
.dealer-contact-list a { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px; border: 1px solid #e4ebe4; border-radius: 11px; background: rgba(255,255,255,.75); overflow-wrap: anywhere; }
.dealer-contact-list a:hover { border-color: #c4d5c6; background: #fff; }
.dealer-contact-list small { color: #78847b; font-size: 11px; }
.dealer-contact-list b { color: var(--ink); font-size: 14px; font-weight: 600; }
.dealer-contact-empty { margin: 0; color: #78847b; font-size: 14px; line-height: 1.6; }
.gallery-control { position: absolute; z-index: 1; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 6px 20px rgba(0,0,0,.12); color: var(--ink); font-size: 26px; cursor: pointer; }
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-count { position: absolute; right: 15px; bottom: 15px; padding: 7px 10px; border-radius: 7px; background: rgba(20,30,23,.7); color: white; font-size: 11px; }
.vehicle-page .detail-hero .vehicle-tag { z-index: 1; }
.related-section { margin-top: 26px; }
.detail-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.detail-section-heading h2 { margin: 0; font: 700 18px Manrope,sans-serif; }
.related-section .related-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.related-grid a { display: block; color: var(--ink); transition: transform .18s ease; }
.related-grid a:hover { transform: translateY(-2px); }
.related-section .related-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 8px; object-fit: contain; background: #eef1ee; }
.related-section .related-grid b, .related-section .related-grid span { margin-inline: 12px; font-size: 12px; }
.related-section .related-grid span { margin-bottom: 12px; }
.vehicle-loading { padding: 50px 0; color: var(--muted); font-size: 15px; }
.vehicle-lead-section { max-width: 640px; margin: 46px auto 0; scroll-margin-top: 25px; }
.vehicle-lead-section .lead-form { padding: 27px; border-radius: 15px; }
.vehicle-lead-section .lead-form h2 { font-size: 23px; }
.vehicle-lead-section .lead-form > p { margin: 0 0 2px; }
.vehicle-purchase-panel .vehicle-lead-section { width: 100%; max-width: none; margin: 5px 0 0; padding-top: 16px; border-top: 1px solid #edf0ec; }
.vehicle-purchase-panel .vehicle-lead-section .lead-form { gap: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.vehicle-purchase-panel .vehicle-lead-section .lead-form h2 { margin: 0; font-size: 21px; }
.vehicle-purchase-panel .vehicle-lead-section .lead-form > p { margin: 0; }
.vehicle-purchase-panel .vehicle-lead-section .lead-form .form-note { font-size: 10px; line-height: 1.5; }
.vehicle-not-found { max-width: 560px; margin: 9vh auto; padding: 45px 25px; border: 1px solid white; border-radius: 20px; background: rgba(255,255,255,.75); text-align: center; }
.vehicle-not-found h1 { margin: 12px 0 20px; font: 800 29px Manrope,sans-serif; }

body { font-size: 16px; }
.header-nav { font-size: 14px; }
.eyebrow { font-size: 10px; }
.button { font-size: 13px; }
.hero-copy > p { font-size: 15px; }
.hero-stats small { font-size: 10px; }
.section-heading p { font-size: 13px; }
.filter-panel label { font-size: 11px; }
.filter-panel select { font-size: 13px; }
.inventory-meta, .inventory-sort select { font-size: 12px; }
.vehicle-year { font-size: 11px; }
.vehicle-card .vehicle-year { color: #69776d; font-size: 13px; font-weight: 700; }
.vehicle-card .vehicle-title-row h3 { margin: 7px 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -.6px; }
.vehicle-card .vehicle-title-row p { color: #748077; font-size: 13px; line-height: 1.45; }
.vehicle-card .vehicle-specs { gap: 11px; font-size: 12px; }
.vehicle-card .vehicle-card-bottom strong { font-size: 22px; }
.vehicle-card-bottom .text-link { font-size: 11px; }
.footer-inner { font-size: 10px; }
.admin-page-heading p, .license-status-card > p, .license-form > p { font-size: 12px; }
.admin-page-heading h1 { font-size: 31px; }
.card-heading h2, .inventory-table-head h2, .settings-form h2, .license-status-card h2, .license-form h2 { font-size: 16px; }
.admin-live, .breadcrumb strong, .metric-top, .card-heading p, .compact-row b, .compact-row > strong, td, .lead-main > a, .lead-main > span { font-size: 12px; }
.metric-card > small, .compact-row small, .list-empty, .lead-row time, .settings-form label, .vehicle-editor label, .settings-form input, .vehicle-editor input, .vehicle-editor select, .vehicle-editor textarea { font-size: 12px; }
.table-vehicle b, .status-pill, .row-actions button, .license-details b { font-size: 11px; }
.sidebar-link { font-size: 12px; }
.admin-live, .breadcrumb strong, .metric-top, .card-heading p, .compact-row b, .compact-row > strong, td, .lead-main > a, .lead-main > span { font-size: 11px; }
.metric-card > small, .compact-row small, .list-empty, .lead-row time, .settings-form label, .vehicle-editor label, .settings-form input, .vehicle-editor input, .vehicle-editor select, .vehicle-editor textarea { font-size: 11px; }
.table-vehicle b, .status-pill, .row-actions button, .license-details b { font-size: 10px; }

@media (max-width: 760px) {
  .vehicle-card .vehicle-year { font-size: 12px; }
  .vehicle-card .vehicle-title-row h3 { font-size: 18px; }
  .vehicle-card .vehicle-title-row p { font-size: 12px; }
  .vehicle-card .vehicle-specs { gap: 7px 10px; font-size: 11px; }
  .vehicle-card .vehicle-card-bottom strong { font-size: 20px; }
  .vehicle-detail-layout { grid-template-columns: 1fr; gap: 17px; }
  .vehicle-detail-main { display: contents; }
  .vehicle-page .detail-hero { height: clamp(245px, 70vw, 390px); }
  .vehicle-page .detail-hero { grid-row: 1; }
  .vehicle-purchase-panel { position: static; grid-row: 2; }
  .vehicle-detail-copy { grid-row: 3; }
  .related-section { grid-row: 4; }
  .vehicle-page .detail-spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .related-section { margin-top: 21px; }
  .related-section .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vehicle-lead-section { margin-top: 27px; }
  .photo-lightbox { padding: 58px 10px 88px; }
  .lightbox-control { width: 40px; height: 40px; }
  .lightbox-prev { left: 9px; }
  .lightbox-next { right: 9px; }
  .lightbox-caption span:first-child { font-size: 13px; }
  .hero-copy > p { font-size: 14px; }
  .section-heading p { font-size: 12px; }
  .vehicle-specs { font-size: 9px; }
  .admin-page-heading h1 { font-size: 25px; }
  .admin-live, .breadcrumb strong, .metric-top, .card-heading p, .compact-row b, .compact-row > strong, td, .lead-main > a, .lead-main > span { font-size: 11px; }
  .metric-card > small, .compact-row small, .list-empty, .lead-row time, .settings-form label, .vehicle-editor label, .settings-form input, .vehicle-editor input, .vehicle-editor select, .vehicle-editor textarea { font-size: 11px; }
}
@media (max-width: 390px) {
  .vehicle-page .detail-spec-grid { grid-template-columns: 1fr 1fr; }
  .vehicle-page .vehicle-price { font-size: 25px; }
}

/* Admin readability */
.admin-page { font-size: 16px; }
.admin-page .sidebar-brand { font-size: 16px; }
.admin-page .sidebar-brand-copy > small { font-size: 12px; }
.admin-page .sidebar-label,
.admin-page .breadcrumb { font-size: 11px; }
.admin-page .sidebar-link,
.admin-page .back-to-store,
.admin-page .logout-form button,
.admin-page .admin-live,
.admin-page .breadcrumb strong,
.admin-page .language-toggle { font-size: 14px; }
.admin-page .nav-count,
.admin-page .sidebar-help small,
.admin-page .admin-page-heading p,
.admin-page .card-heading p,
.admin-page .compact-row small,
.admin-page .list-empty,
.admin-page .inventory-table-head span,
.admin-page .table-vehicle small,
.admin-page .lead-main > a,
.admin-page .lead-main > span,
.admin-page .lead-row time,
.admin-page .license-details small,
.admin-page .license-status-card > p,
.admin-page .license-form > p,
.admin-page .license-form .form-note,
.admin-page .form-error,
.admin-page .toast { font-size: 13px !important; }
.admin-page .sidebar-help b,
.admin-page .metric-top,
.admin-page .card-heading h2,
.admin-page .inventory-table-head h2,
.admin-page .compact-row b,
.admin-page .compact-row > strong,
.admin-page td,
.admin-page .table-vehicle b,
.admin-page .status-pill,
.admin-page .lead-main > div b,
.admin-page .lead-details b,
.admin-page .license-details b,
.admin-page .settings-form label,
.admin-page .vehicle-editor label,
.admin-page .settings-form input,
.admin-page .settings-form select,
.admin-page .vehicle-editor input,
.admin-page .vehicle-editor select,
.admin-page .vehicle-editor textarea { font-size: 14px !important; }
.admin-page .admin-page-heading h1 { font-size: 34px; }
.admin-page .admin-page-heading .button,
.admin-page .button { font-size: 14px; }
.admin-page .metric-card > strong { font-size: 30px; }
.admin-page .lead-new-badge,
.admin-page .lead-avatar { font-size: 12px; }
.admin-page .metric-card > small,
.admin-page .lead-main p,
.admin-page .license-gate p { font-size: 14px; }
.admin-page th { font-size: 11px; }
.admin-page .license-gate h1 { font-size: 29px; }
.admin-page .login-card > p,
.admin-page .login-form label,
.admin-page .login-form input,
.admin-page .login-error,
.admin-page .login-back,
.admin-page .setup-note,
.admin-page .setup-progress > span:not(.setup-progress-line) { font-size: 14px; }
.admin-page .login-card h1 { font-size: 32px; }
.admin-page .setup-card .eyebrow { font-size: 12px; }

@media (max-width: 760px) {
  .admin-page .sidebar-link { font-size: 10px; }
  .admin-page .admin-topbar { padding-inline: 13px; }
  .admin-page .breadcrumb { font-size: 9px; }
  .admin-page .breadcrumb strong { font-size: 12px; }
  .admin-page .admin-live { font-size: 11px; }
  .admin-page .admin-content { padding: 22px 14px 35px; }
  .admin-page .admin-page-heading { gap: 10px; }
  .admin-page .admin-page-heading h1 { font-size: 28px; }
  .admin-page .admin-page-heading p { font-size: 13px !important; }
  .admin-page .admin-page-heading .button { min-height: 42px; padding-inline: 11px; font-size: 12px; }
  .admin-page .metric-card { min-height: 125px; padding: 13px; }
  .admin-page .metric-top { font-size: 12px !important; }
  .admin-page .metric-card > strong { font-size: 27px; }
  .admin-page .metric-card > small { font-size: 12px; }
  .admin-page .card-heading h2,
  .admin-page .inventory-table-head h2 { font-size: 15px; }
  .admin-page .card-heading p { font-size: 12px !important; }
  .admin-page .compact-row b,
  .admin-page .compact-row > strong,
  .admin-page td,
  .admin-page .table-vehicle b,
  .admin-page .lead-main > div b { font-size: 13px !important; }
  .admin-page .compact-row small,
  .admin-page .table-vehicle small,
  .admin-page .lead-main > a,
  .admin-page .lead-main > span { font-size: 12px !important; }
  .admin-page .settings-form label,
  .admin-page .vehicle-editor label,
  .admin-page .settings-form input,
  .admin-page .settings-form select,
  .admin-page .vehicle-editor input,
  .admin-page .vehicle-editor select,
  .admin-page .vehicle-editor textarea { font-size: 14px !important; }
}


.subscription-plans-card { grid-column: span 2; margin-top: 6px; }
.subscription-plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.plan-card { padding: 22px; border: 1px solid #edf0ec; border-radius: 14px; background: rgba(255, 255, 255, 0.7); display: flex; flex-direction: column; justify-content: space-between; transition: all .2s ease; }
.plan-card:hover { border-color: #385c49; box-shadow: 0 4px 12px rgba(56, 92, 73, 0.08); }
.plan-card.plan-featured { border-color: #385c49; background: rgba(56, 92, 73, 0.04); }
.plan-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.plan-card-top h3 { font: 800 16px Manrope, sans-serif; color: #1e2d24; margin: 0; }
.plan-badge { padding: 3px 9px; border-radius: 999px; background: #e8eff5; color: #3b5f7e; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.plan-badge-pro { background: #dce9df; color: #2c4d3b; }
.plan-card-desc { color: #7c877f; font-size: 11px; line-height: 1.6; margin-bottom: 18px; }
@media (max-width: 800px) {
  .subscription-plans-card { grid-column: span 1; }
  .subscription-plans-grid { grid-template-columns: 1fr; }
}


/* Transparent Checkout Overlay Modal */
.checkout-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 1; transition: opacity .2s ease; }
.checkout-modal.hidden { display: none !important; opacity: 0; }
.checkout-modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.checkout-modal-container { position: relative; z-index: 10000; width: 100%; max-width: 580px; max-height: 92vh; background: #ffffff; border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(226, 232, 240, 0.8); animation: modalIn .25s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalIn { from { transform: scale(0.96) translateY(12px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.checkout-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #f1f5f9; background: #f8fafc; }
.checkout-modal-title h2 { margin: 0; font: 800 18px Manrope, sans-serif; color: #0f172a; }
.checkout-modal-close { background: transparent; border: none; font-size: 18px; color: #64748b; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .15s ease; }
.checkout-modal-close:hover { background: #e2e8f0; color: #0f172a; }
.checkout-modal-body { position: relative; flex: 1; min-height: 580px; display: flex; flex-direction: column; background: #ffffff; }
.checkout-iframe { width: 100%; height: 580px; border: none; flex: 1; }
.checkout-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: #ffffff; z-index: 5; color: #475569; font-size: 13px; font-weight: 500; }
.checkout-spinner { width: 32px; height: 32px; border: 3px solid #e2e8f0; border-top-color: #385c49; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Topbar Support Button */
.topbar-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid #dce4dc;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}
.topbar-support-btn:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}
.topbar-support-btn:active {
  transform: translateY(0);
}
.topbar-support-btn svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Mobile Support Floating Action Button & Card */
.mobile-chat-fab {
  display: none;
}
.mobile-support-card {
  display: none;
}

@media (max-width: 760px) {
  /* Sticky topbar on mobile so navigation & support are always reachable */
  .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(250, 251, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .topbar-support-btn {
    height: 28px;
    padding: 0 9px;
    font-size: 10px;
    gap: 5px;
  }

  /* Mobile Floating Action Button - Positioned on the left side so it doesn't cover Powered by Destra */
  .mobile-chat-fab {
    display: inline-flex;
    position: fixed;
    left: 14px;
    right: auto;
    bottom: 73px;
    z-index: 99;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(46, 125, 50, 0.3);
    background: #182c1d;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-chat-fab:active {
    transform: scale(0.95);
  }
  .mobile-chat-fab svg {
    color: #8be09b;
    flex-shrink: 0;
  }
  .mobile-chat-fab .fab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
  }

  /* Mobile Support Card at bottom of content */
  .mobile-support-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 20px;
    padding: 14px;
    border: 1px solid #e2e8e2;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
  }
  .mobile-support-card:active {
    background: #ffffff;
    border-color: var(--accent);
  }
  .mobile-support-card-main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
  }
  .mobile-support-card-main div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mobile-support-card-main b {
    font-size: 13px;
    color: #1a241c;
  }
  .mobile-support-card-main small {
    color: #79877d;
    font-size: 11px;
  }
  .mobile-support-card-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 11px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
  }
}



/* ============================================================ */
/* Facebook Marketplace Assistant Modal & Row Action            */
/* ============================================================ */
.row-action-marketplace {
  color: #1877f2 !important;
  border-color: #d6e4fc !important;
}
.row-action-marketplace:hover,
.row-action-marketplace:focus-visible {
  border-color: #1877f2 !important;
  background: #f0f6ff !important;
  color: #0b5ac7 !important;
}
.row-action-marketplace svg {
  display: inline-block;
  vertical-align: middle;
}

.marketplace-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: min(92vh, 880px);
  padding: 0;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  background: #f8fafc;
  box-shadow: 0 25px 90px rgba(15, 23, 42, 0.28);
}
.marketplace-dialog::backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
}
.marketplace-dialog-content {
  position: relative;
  padding: 28px 30px;
}
.marketplace-dialog-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
}
.marketplace-dialog-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.marketplace-dialog-header h2 {
  margin: 0 0 6px;
  font: 800 22px/1.25 "Manrope", sans-serif;
  color: #0f172a;
}
.marketplace-dialog-header p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.marketplace-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.marketplace-section {
  padding: 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.marketplace-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.marketplace-step-num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1877f2;
  color: #ffffff;
  font: 700 12px/1 sans-serif;
}
.marketplace-section-head h3 {
  margin: 0;
  font: 700 14px/1.2 "Manrope", sans-serif;
  color: #1e293b;
}
.marketplace-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.marketplace-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .marketplace-field-row {
    grid-template-columns: 1fr;
  }
}
.marketplace-field-group label,
.marketplace-desc-wrap label {
  display: block;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.marketplace-copy-input-wrap {
  display: flex;
  gap: 6px;
}
.marketplace-copy-input-wrap input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  outline: none;
}
.marketplace-copy-btn {
  padding: 0 12px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  border-radius: 8px;
}
.marketplace-copy-btn.copied,
.marketplace-copy-all-btn.copied {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}
.marketplace-desc-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.55;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 10px;
}
.marketplace-copy-all-btn {
  width: 100%;
  justify-content: center;
  min-height: 40px;
  font-weight: 700;
  font-size: 13px;
}
.marketplace-photos-preview {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.marketplace-photo-thumb {
  width: 76px;
  height: 56px;
  flex: 0 0 76px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #e2e8f0;
}
.marketplace-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marketplace-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button-facebook-primary {
  flex: 1;
  min-width: 220px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  background: #1877f2;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
  transition: all 0.2s ease;
}
.button-facebook-primary:hover {
  background: #0d6efd;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
  transform: translateY(-1px);
}
.marketplace-zip-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}


/* Individual photo card & download styles */
.marketplace-photos-preview {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-bottom: 14px;
}
.marketplace-photo-card {
  position: relative;
  width: 105px;
  flex: 0 0 105px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.marketplace-photo-thumb-wrap {
  position: relative;
  width: 100%;
  height: 68px;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f0;
}
.marketplace-photo-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marketplace-photo-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font: 700 9.5px/1 sans-serif;
  letter-spacing: 0.02em;
}
.marketplace-photo-badge.cover {
  background: #1877f2;
}
.marketplace-photo-dl-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font: 600 11px/1 sans-serif;
  cursor: pointer;
  transition: all 0.15s ease;
}
.marketplace-photo-dl-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #0f172a;
}
.marketplace-download-all-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.marketplace-download-all-btn.downloading {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}
.marketplace-download-all-btn.done {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}


/* ==========================================================================
   LEGAL COMPLIANCE (TCPA, CCPA, CASL, PIPEDA)
   ========================================================================== */
.lead-consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 8px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #475569;
  cursor: pointer;
  user-select: none;
}
.lead-consent-checkbox input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.lead-legal-notice {
  font-size: 10.5px;
  line-height: 1.5;
  color: #64748b;
  margin-top: 10px;
  text-align: left;
}
.lead-legal-notice a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.lead-legal-notice a:hover {
  color: var(--accent);
}
.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.footer-legal-links a {
  color: #7f8981;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}
.footer-legal-links a:hover {
  color: var(--accent);
}
.legal-page-main {
  padding: 32px 20px 80px;
  max-width: 860px;
  margin: 0 auto;
}
.legal-back-link {
  display: inline-flex;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
}
.legal-card {
  padding: 36px 40px;
  border-radius: 18px;
}
.legal-card h1 {
  font-size: 1.85rem;
  margin: 4px 0 6px;
  color: var(--ink);
}
.legal-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 12px;
  line-height: 1.5;
}
.legal-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-card h2 {
  font-size: 1.18rem;
  margin: 28px 0 10px;
  color: var(--ink);
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}
.legal-card p, .legal-card ul {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #334155;
  margin: 10px 0;
}
.legal-card ul {
  padding-left: 22px;
}
.legal-card li {
  margin-bottom: 6px;
}
.legal-card a {
  color: var(--accent);
  text-decoration: underline;
}
@media (max-width: 640px) {
  .legal-card {
    padding: 24px 18px;
  }
  .legal-card h1 {
    font-size: 1.5rem;
  }
  .legal-card h2 {
    font-size: 1.05rem;
  }
}


.lead-consent-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  margin: 10px 0 8px !important;
  cursor: pointer !important;
  user-select: none !important;
}
.lead-consent-checkbox input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  margin: 1px 0 0 0 !important;
  flex-shrink: 0 !important;
  accent-color: var(--accent) !important;
  cursor: pointer !important;
}
.lead-consent-checkbox span {
  flex: 1 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: #64748b !important;
}
.lead-success-card {
  padding: 30px 22px;
  text-align: center;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dce9df;
  box-shadow: 0 10px 30px rgba(39, 141, 97, 0.08);
  animation: fadeInSuccess 0.3s ease-out;
}
@keyframes fadeInSuccess {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.lead-success-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(39, 141, 97, 0.12);
  color: #1f6443;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.lead-success-card h3 {
  font-size: 1.15rem;
  color: #1a241c;
  margin: 0 0 8px;
  font-weight: 700;
}
.lead-success-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Skeleton & Layout Shift (CLS) Protection */
.vehicle-skeleton-card { pointer-events: none; user-select: none; }
.skeleton-photo { width: 100%; aspect-ratio: 16 / 9; background-color: #e5e7eb; display: block; }
.skeleton-bar { background-color: #e5e7eb; border-radius: 6px; display: block; }
.skeleton-shimmer { position: relative; overflow: hidden; }
.skeleton-shimmer::after {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: skeleton-shimmer 1.6s infinite ease-in-out;
  content: '';
}
@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}


/* Desktop defaults for photo drop text */
.photo-drop-text-mobile {
  display: none;
}

/* Vehicle Dialog Mobile Optimization (Strictly scoped to open dialog) */
@media (max-width: 768px) {
  dialog.admin-vehicle-dialog[open] {
    width: calc(100% - 20px) !important;
    max-width: 520px !important;
    max-height: 92vh !important;
    border-radius: 16px !important;
    border: 1px solid #d8dfd8 !important;
    background: #f7f9f7 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    margin: auto !important;
  }

  .admin-vehicle-dialog .vehicle-editor {
    padding: 22px 16px 20px !important;
  }

  .admin-vehicle-dialog .dialog-close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 22px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #d5ded5 !important;
    display: grid !important;
    place-items: center !important;
    color: #27382c !important;
  }

  .admin-vehicle-dialog .editor-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .admin-vehicle-dialog .editor-grid .editor-wide {
    grid-column: 1 / -1 !important;
  }

  .admin-page .admin-vehicle-dialog .vehicle-editor label {
    font-size: 12px !important;
    gap: 5px !important;
    color: #435447 !important;
  }

  .admin-page .admin-vehicle-dialog .vehicle-editor input:not([type="checkbox"]):not([type="file"]),
  .admin-page .admin-vehicle-dialog .vehicle-editor select,
  .admin-page .admin-vehicle-dialog .vehicle-editor textarea {
    font-size: 16px !important;
    min-height: 46px !important;
    padding: 10px 12px !important;
    border-radius: 9px !important;
    border: 1.5px solid #d2ded2 !important;
    background: #ffffff !important;
    color: #17261c !important;
    box-sizing: border-box !important;
  }

  .admin-page .admin-vehicle-dialog .vehicle-editor input:focus,
  .admin-page .admin-vehicle-dialog .vehicle-editor select:focus,
  .admin-page .admin-vehicle-dialog .vehicle-editor textarea:focus {
    border-color: #385c49 !important;
    box-shadow: 0 0 0 3px rgba(56, 92, 73, 0.15) !important;
  }

  .admin-vehicle-dialog #vehicle-make-picker {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 7px !important;
    padding: 4px 1px 8px !important;
    scrollbar-width: none !important;
    margin-top: 4px !important;
  }

  .admin-vehicle-dialog #vehicle-make-picker::-webkit-scrollbar {
    display: none !important;
  }

  .admin-vehicle-dialog #vehicle-make-picker .make-option {
    flex-shrink: 0 !important;
    min-height: 36px !important;
    padding: 4px 10px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid #d0dbd0 !important;
    font-size: 12px !important;
  }

  .admin-vehicle-dialog .number-stepper {
    display: grid !important;
    grid-template-columns: 46px 1fr 46px !important;
    gap: 6px !important;
  }

  .admin-vehicle-dialog .number-stepper button {
    height: 46px !important;
    width: 46px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
    border: 1.5px solid #d2ded2 !important;
    background: #ffffff !important;
    cursor: pointer !important;
  }

  .admin-vehicle-dialog .number-stepper input {
    text-align: center !important;
    font-weight: 700 !important;
  }

  .admin-vehicle-dialog .photo-upload-section {
    gap: 8px !important;
  }

  .admin-vehicle-dialog .photo-drop-zone {
    min-height: 56px !important;
    padding: 12px 14px !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 10px !important;
    border-radius: 11px !important;
    background: #ffffff !important;
    border: 1.5px dashed #385c49 !important;
    cursor: pointer !important;
  }

  .admin-vehicle-dialog .photo-drop-zone .photo-upload-icon {
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .admin-vehicle-dialog .photo-drop-zone small {
    display: none !important;
  }

  .admin-vehicle-dialog .photo-drop-text-desktop {
    display: none !important;
  }

  .admin-vehicle-dialog .photo-drop-text-mobile {
    display: inline !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #243e30 !important;
  }

  .admin-vehicle-dialog .photo-preview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 6px !important;
  }

  .admin-vehicle-dialog .photo-preview-card {
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #d8dfd8 !important;
    background: #ffffff !important;
  }

  .admin-vehicle-dialog .photo-preview-card > img {
    height: 95px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .admin-vehicle-dialog .photo-preview-actions button {
    height: 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  .admin-vehicle-dialog .editor-actions {
    display: grid !important;
    grid-template-columns: 1fr 1.5fr !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }

  .admin-vehicle-dialog .editor-actions button {
    height: 46px !important;
    min-height: 46px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 9px !important;
  }
}


/* Table Swipe Hint for Mobile */
.table-swipe-hint {
  display: none;
}

@media (max-width: 768px) {
  .table-swipe-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin: 0 16px 12px;
    background: #eef4f0;
    border: 1px solid #d2ded5;
    border-radius: 20px;
    color: #2b4937;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }

  .swipe-hint-icon {
    font-size: 14px;
    display: inline-block;
    animation: swipeHintNudge 1.6s ease-in-out infinite;
  }

  @keyframes swipeHintNudge {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(5px);
    }
  }
}
