/* BIMMERGATE WEB-01. Light, precise, photographic. The one bold element is the "find your car" dock over the
   homepage media, with chassis codes set large. Everything around it stays quiet. WEB-02 keeps the EXE identity. */

@font-face {
  font-family: "Plex";
  src: url("/static/fonts/ibm-plex-sans-latin-wdth-normal.woff2?v=plex1") format("woff2");
  font-weight: 100 700; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex";
  src: url("/static/fonts/ibm-plex-sans-cyrillic-wdth-normal.woff2?v=plex1") format("woff2");
  font-weight: 100 700; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* STAGE 2.B4 (OWNER D2): Armenian letters only - Noto Sans Armenian (SIL OFL 1.1); loaded only when a page contains Armenian text */
@font-face {
  font-family: "Plex";
  src: url("/static/fonts/noto-sans-armenian.woff2?v=hy1") format("woff2");
  font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap;
  size-adjust: 96.5%;   /* LIVE ACCEPTANCE FIX 12 (02.12): Noto Sans Armenian letters are about 3.5 % taller than Plex - the same visual size in EN / RU / HY */
  unicode-range: U+0530-058F, U+FB13-FB17;
}

:root {
  --paper: #FBFBFD;
  --mist: #F0F2F5;
  --white: #FFFFFF;
  --line: #DDE1E7;
  --ink: #15171C;
  --steel: #4C5361;            /* STAGE 4.0: a little more contrast for secondary text (was #545C69) */
  --night: #0D1621;
  --accent: #0A5FD6;
  --fault: #B3261E;
  --fault-tint: #FBECEA;
  --verified: #17684B;

  --font: "Plex", "Segoe UI", system-ui, sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --step-3: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-0); font-weight: 420; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent); text-underline-offset: .18em; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-stretch: 88%; font-weight: 640; line-height: 1.06; letter-spacing: -.018em; text-wrap: balance; }   /* STAGE 4.0: 600 -> 640 */

.shell { width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: calc(68ch + 2 * var(--gutter)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 40; padding: 10px 14px; background: var(--ink); color: var(--white); border-radius: 8px; }
.skip:focus { top: 10px; color: var(--white); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 24px; background: var(--accent); border: 1px solid var(--accent); border-radius: 980px; color: var(--white); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; transition: filter .2s, background-color .2s; }
.button:hover { filter: brightness(1.12); color: var(--white); }
.button--quiet { background: transparent; border-color: var(--ink); color: var(--ink); }
.button--quiet:hover { background: var(--ink); color: var(--white); filter: none; }
.button--glass { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .55); color: var(--white); backdrop-filter: blur(14px) saturate(1.5); }
.button--small { min-height: 40px; padding: 7px 18px; font-size: var(--step--1); }
.button--wide { width: 100%; }
.button[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(251, 251, 253, .78); backdrop-filter: blur(20px) saturate(1.8); border-bottom: 1px solid rgba(21, 23, 28, .08); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-stretch: 88%; font-size: 1.125rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; min-height: 44px; padding: 6px 14px; background: none; border: 1px solid var(--line); border-radius: 980px; color: var(--ink); font: inherit; font-size: var(--step--1); cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav a, .site-nav summary { display: block; padding: 8px 10px; color: var(--ink); font-size: .9375rem; text-decoration: none; border-radius: 8px; cursor: pointer; }
.site-nav a:hover, .site-nav summary:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 500; }
.nav-group { position: relative; }
.nav-group summary { list-style: none; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-group ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(13, 22, 33, .14); }
.lang { display: inline-flex; gap: 2px; padding-left: 10px; border-left: 1px solid var(--line); }
.lang a { padding: 6px 8px; font-size: var(--step--1); color: var(--steel); }
.lang a[aria-current] { color: var(--ink); font-weight: 600; }

/* Homepage media */
.stage { position: relative; background: var(--night); }
.stage__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: clamp(520px, calc(100svh - 58px), 900px); }
.stage__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; display: flex; align-items: flex-end; }
.slide__media, .slide__media picture, .slide__media img, .slide__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.slide--dark .slide__media::after { background: linear-gradient(to right, rgba(8, 12, 18, .72) 0%, rgba(8, 12, 18, .5) 38%, rgba(8, 12, 18, 0) 68%), linear-gradient(to top, rgba(8, 12, 18, .7) 0%, rgba(8, 12, 18, .2) 45%, rgba(8, 12, 18, 0) 70%); }
.slide--light .slide__media::after { background: linear-gradient(to right, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .6) 38%, rgba(255, 255, 255, 0) 68%); }
.slide__media video { opacity: 0; transition: opacity .8s var(--ease); }
.slide__media video.is-live { opacity: 1; }
.slide__text { position: relative; width: min(100%, 1280px); padding-bottom: clamp(170px, 24vh, 230px); }
.slide--dark .slide__text { color: var(--white); }
.slide__text h1, .slide__text h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4.25rem); max-width: 16ch; }
.slide__subtitle { margin-top: 12px; font-size: var(--step-1); max-width: 34ch; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stage__controls { position: absolute; z-index: 3; right: var(--gutter); top: 18px; display: flex; align-items: center; gap: 4px; padding: 5px 8px; background: rgba(13, 22, 33, .55); backdrop-filter: blur(16px) saturate(1.6); border-radius: 980px; }
.stage__controls[hidden] { display: none; }
.stage__controls button { background: none; border: 0; color: var(--white); cursor: pointer; font: inherit; font-size: var(--step--1); }
.stage__controls [data-prev], .stage__controls [data-next] { position: relative; width: 36px; height: 36px; }
.stage__controls [data-prev]::before, .stage__controls [data-next]::before { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateX(2px) rotate(45deg); }
.stage__controls [data-next]::before { transform: translateX(-2px) rotate(225deg); }
.stage__dots { display: flex; }
.stage__dots button { position: relative; width: 24px; height: 36px; }
.stage__dots button::before { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: transform .3s var(--ease), background-color .3s; }
.stage__dots button[aria-current="true"]::before { background: var(--white); transform: scale(1.35); }
.stage__toggle { min-width: 62px; min-height: 36px; padding: 0 10px; }
.stage :focus-visible { outline-color: var(--white); }

/* Find your car: the bold element */
.finder { position: relative; z-index: 4; padding-block: clamp(24px, 4vw, 48px); }
.finder--dock { margin-top: -148px; padding-top: 0; }
.finder__panel { padding: clamp(20px, 3vw, 34px); background: rgba(255, 255, 255, .92); backdrop-filter: blur(30px) saturate(1.7); border: 1px solid rgba(255, 255, 255, .7); border-radius: 28px; box-shadow: 0 30px 80px rgba(13, 22, 33, .18); }
.finder__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; align-items: end; }
.finder__intro h1, .finder__intro h2 { font-size: var(--step-2); }
.finder__intro p { color: var(--steel); max-width: 52ch; }
.codes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; margin: 22px 0 18px; }
.codes a { display: block; padding: 8px 6px; border-radius: 16px; color: var(--ink); text-decoration: none; font-size: clamp(2rem, 1.1rem + 3vw, 4rem); font-stretch: 75%; font-weight: 600; line-height: 1; letter-spacing: -.02em; transition: color .2s, background-color .2s; }
.codes a:hover { color: var(--accent); background: rgba(10, 95, 214, .07); }
.codes small { display: block; margin-top: 6px; color: var(--steel); font-size: .8125rem; font-stretch: 100%; font-weight: 400; letter-spacing: 0; }
.finder__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid rgba(21, 23, 28, .1); }
.makes { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.makes a { color: var(--ink); font-size: .9375rem; text-decoration: none; padding: 6px 0; }
.makes a:hover { color: var(--accent); }
.makes small { color: var(--steel); }
.makes__all { color: var(--accent) !important; }
.search { display: flex; gap: 8px; flex: 1 1 300px; max-width: 460px; }
.search input { flex: 1; min-width: 0; }

/* Sections */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(24px, 4vw, 44px); }
.section--mist { background: var(--mist); }
.section__head { max-width: 62ch; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head h2 { font-size: var(--step-2); }
.section__head p { margin-top: 10px; color: var(--steel); font-size: var(--step-1); line-height: 1.35; }

.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.mosaic li { grid-column: span 2; }
.mosaic li:nth-child(1), .mosaic li:nth-child(2) { grid-column: span 3; }
.mosaic li:nth-child(3n):nth-last-child(2), .mosaic li:nth-child(3n):nth-last-child(2) + li { grid-column: span 3; }
.mosaic li:nth-child(3n):last-child { grid-column: span 6; }
.mosaic a { position: relative; display: block; height: 100%; min-height: 240px; overflow: hidden; border-radius: 24px; background: var(--night); color: var(--white); text-decoration: none; }
.mosaic li:nth-child(1) a, .mosaic li:nth-child(2) a { min-height: 380px; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic a:hover img { transform: scale(1.035); }
.mosaic a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 18, .82) 0%, rgba(8, 12, 18, .2) 55%, rgba(8, 12, 18, 0) 100%); }
.mosaic__text { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; display: grid; gap: 2px; }
.mosaic strong { font-size: var(--step-1); font-stretch: 88%; font-weight: 600; line-height: 1.12; }
.mosaic small { font-size: var(--step--1); opacity: .86; }

.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; counter-reset: none; }
.process span { display: block; margin-bottom: 8px; font-size: 2.5rem; font-stretch: 75%; font-weight: 600; line-height: 1; color: var(--accent); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.features li { min-width: 0; }
.features li > a, .features:not(.features--plain) li { display: block; height: 100%; }
.features:not(.features--plain) li { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.features strong { display: block; font-size: var(--step-1); font-stretch: 88%; font-weight: 600; line-height: 1.2; color: var(--ink); }
.features span { display: block; margin-top: 6px; color: var(--steel); }
.features a { text-decoration: none; }
.features a:hover strong { color: var(--accent); }
.features--plain { gap: 8px 32px; }
.features--plain strong { font-size: var(--step-0); font-weight: 500; font-stretch: 100%; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split--right .split__media { order: 2; }
.split__media img { width: 100%; border-radius: 24px; }
.split__text h2 { font-size: var(--step-2); margin-bottom: 12px; }
.split__text .button { margin-top: 18px; }

.banner { position: relative; min-height: clamp(380px, 56vw, 620px); display: flex; align-items: flex-end; background: var(--night); color: var(--white); overflow: hidden; }
.banner__media, .banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 12, 18, .8), rgba(8, 12, 18, .05) 70%); }
.banner__text { position: relative; padding-block: clamp(32px, 5vw, 64px); }
.banner__text h2 { font-size: var(--step-3); max-width: 15ch; }
.inline-video { width: 100%; border-radius: 24px; background: var(--night); }

/* Page heads and catalog */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: var(--step-3); }
.page-head p { margin-top: 10px; max-width: 60ch; color: var(--steel); font-size: var(--step-1); line-height: 1.35; }
.page-head--compact { padding-block: clamp(28px, 4vw, 48px) 12px; }
.page-head--compact h1 { font-size: var(--step-2); }
.rail { position: sticky; top: 58px; z-index: 20; background: rgba(251, 251, 253, .82); backdrop-filter: blur(20px) saturate(1.8); border-block: 1px solid rgba(21, 23, 28, .07); }
.rail ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.rail a { display: block; padding: 11px 12px; color: var(--steel); font-size: var(--step--1); text-decoration: none; white-space: nowrap; }
.rail a:hover { color: var(--accent); }
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; padding-block: 24px 72px; align-items: start; }
.filters { position: sticky; top: 112px; max-height: calc(100vh - 124px); overflow-y: auto; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.filters summary { font-weight: 600; cursor: pointer; }
.filters form { display: grid; gap: 10px; margin-top: 12px; }
.filters .field { margin: 0; }
.filters__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; margin-bottom: 4px; font-size: var(--step--1); font-weight: 560; }
input:not([type=checkbox]), select, textarea { width: 100%; min-height: 44px; padding: 9px 13px; background: var(--white); border: 1px solid #A2A9B5; border-radius: 12px; color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
input:not([type=checkbox]):focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(10, 95, 214, .22); }
textarea { resize: vertical; }
.field__hint, .form__note { margin-top: 4px; color: var(--steel); font-size: var(--step--1); }
.field__error { margin-top: 4px; color: var(--fault); font-size: var(--step--1); font-weight: 500; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--fault); }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: var(--step-0); }
.field--check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.results__count { color: var(--steel); margin-bottom: 14px; }
.results__note { color: var(--steel); font-size: var(--step--1); margin-bottom: 14px; }
.results__status { color: var(--steel); }
.group { padding-bottom: 48px; scroll-margin-top: 120px; }
.group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.group__head h2 { font-size: var(--step-2); }
.group__head span { color: var(--steel); font-size: var(--step--1); white-space: nowrap; }
.group__empty { color: var(--steel); }
.state { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.state h2 { font-size: var(--step-1); margin-bottom: 6px; }
.state--error { border-color: var(--fault); background: var(--fault-tint); }
.state__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: 22px; border: 1px solid rgba(21, 23, 28, .07); min-width: 0; transition: box-shadow .3s var(--ease); }
.card:hover { box-shadow: 0 18px 44px rgba(13, 22, 33, .1); }
.card__media { display: block; aspect-ratio: 3 / 2; background: var(--mist); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media { text-decoration: none; }
.card__mat { display: grid; place-items: center; height: 100%; padding: 16px; background: linear-gradient(160deg, var(--white), var(--mist)); color: var(--steel); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 75%; font-weight: 600; letter-spacing: -.01em; text-align: center; }
.card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.card h3 { font-size: 1.125rem; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card__summary { color: var(--steel); font-size: var(--step--1); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.card__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 10px; }
.card__actions { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 10px 12px; font-size: var(--step--1); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips li { padding: 2px 9px; background: var(--mist); border-radius: 980px; font-size: .8125rem; color: var(--ink); }
.chips__format { background: #E4EDFB !important; color: #073E8E !important; }
.chips--large li { padding: 5px 12px; font-size: var(--step--1); }
.price { font-weight: 600; font-size: var(--step-0); }
.price--request { color: var(--steel); font-weight: 500; font-size: var(--step--1); }
.price--large { font-size: var(--step-2); font-stretch: 88%; letter-spacing: -.015em; }
.price--large.price--request { font-size: var(--step-1); color: var(--ink); }

/* Details */
.detail { padding-block: 24px 80px; }
.back { display: inline-block; margin-bottom: 18px; font-size: var(--step--1); text-decoration: none; }
.detail__category a { color: var(--steel); font-size: var(--step--1); text-decoration: none; }
.detail__head h1 { margin-top: 6px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); max-width: 24ch; overflow-wrap: anywhere; }
.detail__summary { margin-top: 10px; max-width: 62ch; color: var(--steel); font-size: var(--step-1); line-height: 1.35; white-space: pre-line; }
.detail__layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 52px); margin-top: 28px; align-items: start; }
.detail__main { display: grid; gap: 32px; min-width: 0; }
.detail__main h2 { font-size: var(--step-1); margin-bottom: 10px; letter-spacing: -.01em; }
.detail__cover img { width: 100%; border-radius: 24px; }
.detail__limited { color: var(--steel); }
.prose { white-space: pre-line; overflow-wrap: anywhere; max-width: 68ch; }
.ticks li, .plain li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.ticks li:last-child, .plain li:last-child { border-bottom: 0; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 13px; height: 7px; border-left: 2px solid var(--verified); border-bottom: 2px solid var(--verified); transform: rotate(-45deg); }
.fold { border-bottom: 1px solid var(--line); padding: 12px 0; }
.fold summary { cursor: pointer; font-weight: 500; }
.fold .prose { padding-top: 8px; color: var(--steel); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.gallery a { display: block; overflow: hidden; border-radius: 14px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.buybox { position: sticky; top: 80px; display: grid; gap: 10px; padding: 20px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(20px); border: 1px solid var(--line); border-radius: 22px; }
.buybox__note { color: var(--steel); font-size: var(--step--1); }
.buybox__fact { display: flex; justify-content: space-between; gap: 12px; color: var(--steel); font-size: var(--step--1); }
.related { margin-top: 56px; }
.related h2 { font-size: var(--step-2); margin-bottom: 16px; }
.lightbox { width: min(96vw, 1200px); max-height: 94vh; padding: 0; background: #000; color: var(--white); border: 0; border-radius: 16px; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox__close { position: absolute; right: 10px; top: 10px; z-index: 2; min-height: 40px; padding: 4px 14px; background: rgba(255, 255, 255, .16); color: var(--white); border: 0; border-radius: 980px; font: inherit; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; background: rgba(255, 255, 255, .16); border: 0; border-radius: 50%; cursor: pointer; }
.lightbox__nav::before { content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translateX(2px) rotate(45deg); }
.lightbox__nav--next::before { transform: translateX(-2px) rotate(225deg); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__counter { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: var(--step--1); }

/* Forms and messages */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 52px); padding-block: 12px 72px; align-items: start; }
.form__pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 14px; }
.hp { position: absolute; left: -9999px; }
.notice { margin-bottom: 16px; padding: 12px 16px; background: var(--fault-tint); color: var(--fault); border-radius: 12px; font-weight: 500; }
.form-aside { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; display: grid; gap: 10px; min-width: 0; }
.form-aside img { border-radius: 14px; }
.form-aside h2 { font-size: var(--step-1); }
.form-aside h2 a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contacts { display: grid; gap: 8px; }
.contacts dt { color: var(--steel); font-size: var(--step--1); }
.contacts dd { overflow-wrap: anywhere; }
.message { padding-block: clamp(48px, 8vw, 96px); display: grid; gap: 16px; justify-items: start; max-width: calc(62ch + 2 * var(--gutter)); }
.message h1 { font-size: var(--step-2); }
.message__reference span { display: block; color: var(--steel); font-size: var(--step--1); }
.unavailable { padding: 18px; background: var(--mist); border-radius: 16px; }
.unavailable h2 { font-size: var(--step-1); margin-bottom: 6px; }
.vehicles { display: grid; gap: 36px; padding-block: 12px 72px; }
.vehicles h2 { font-size: var(--step-1); margin-bottom: 10px; }
.vehicles .codes { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); margin: 0; }
.vehicles .codes a { font-size: 2.25rem; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 2px; }
.wall__code { display: block; padding: 8px 6px; border-radius: 14px; color: var(--ink); text-decoration: none; font-size: 2.25rem; font-stretch: 75%; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.wall__code:hover { color: var(--accent); background: rgba(10, 95, 214, .07); }
.wall__mask { display: block; }
.wall__code small { display: block; margin-top: 6px; color: var(--steel); font-size: .8125rem; font-stretch: 100%; font-weight: 400; letter-spacing: 0; }

/* Vehicle selector */
.selector { padding-block: 0 72px; }
.selector__bar { position: sticky; top: 58px; z-index: 15; display: grid; gap: 12px; padding: 14px 0 12px; margin-bottom: 8px; background: rgba(251, 251, 253, .9); backdrop-filter: blur(18px) saturate(1.6); }
.selector__makes { display: flex; flex-wrap: wrap; gap: 6px; }
.selector__makes a { padding: 8px 16px; border-radius: 980px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: var(--step--1); }
.selector__makes a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.selector__fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.selector__fields .field { margin: 0; flex: 1 1 220px; max-width: 360px; }
.selector__make { padding-top: 28px; }
.selector__make > h2 { font-size: var(--step-2); margin-bottom: 8px; }
.selector__family { padding: 14px 0 6px; border-top: 1px solid var(--line); }
.selector__family h3 { font-size: var(--step-0); color: var(--steel); font-weight: 500; font-stretch: 100%; margin-bottom: 10px; }
.selector__empty { padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.chassis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chassis a { display: grid; gap: 2px; height: 100%; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.chassis a:hover { border-color: var(--accent); box-shadow: 0 10px 26px rgba(13, 22, 33, .08); }
.chassis strong { font-size: 1.75rem; font-stretch: 75%; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.chassis span { font-size: var(--step--1); color: var(--steel); }
.chassis small { font-size: .8125rem; color: var(--accent); }
.chassis--none { background: transparent !important; border-style: dashed !important; }
.chassis--none small { color: var(--steel); }
.detail__part .prose { color: var(--ink); }

/* Head unit tools */
.hu { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 52px); padding-block: 12px 72px; align-items: start; }
.hu__jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.hu__jobs legend { font-size: var(--step--1); font-weight: 500; margin-bottom: 6px; }
.hu__job { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.hu__job input { width: 20px; height: 20px; margin: 0; flex: none; }
.hu__job[hidden] { display: none; }
.hu__job:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.hu__aside { display: grid; gap: 12px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.hu__notice { padding: 14px 16px; background: #E8EEF9; color: #1D3F73; border-radius: 14px; }
.hwel-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; padding: 18px; margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.hwel-result dt { color: var(--steel); font-size: var(--step--1); }
.hwel-result dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.hwel-yes { color: var(--verified); }
.hwel-no { color: var(--fault); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.products li { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.products strong { display: block; font-size: var(--step-1); font-stretch: 88%; }
.products span { color: var(--steel); font-size: var(--step--1); }
@media (max-width: 1100px) { .hu { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .selector__bar { position: static; }
  .chassis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chassis strong { font-size: 1.5rem; }
}

/* Footer */
.site-footer { background: var(--mist); color: var(--steel); font-size: var(--step--1); padding-block: 44px 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 28px; }
.site-footer__brand { color: var(--ink); font-size: var(--step-1); font-weight: 600; font-stretch: 88%; margin-bottom: 6px; }
.site-footer h2 { color: var(--ink); font-size: var(--step--1); font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: inherit; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); }
/* Ardshinbank (OWNER 2026-11-25): payment-system logos ArCa / Visa / Mastercard - one compact row, images only (no links), equal visual height */
.site-footer__pay { align-items: center; gap: 12px 20px; }
.site-footer__pay img { width: auto; height: 18px; }
.site-footer__pay .pay-mc { height: 24px; }

/* One orchestrated moment: the first media settles slowly as the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .slide:first-child .slide__media picture { animation: settle 2.4s var(--ease) both; }
  .slide:first-child .slide__text { animation: rise .9s .25s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.05); } to { transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* B1 FINAL (OWNER 2026-11-11): the header uses the existing mobile menu up to 1199 px (the RU menu with 'Документы' needs about 1190 px
   on one line); the other layouts keep their 1100 px switch. */
@media (max-width: 1199.98px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px var(--gutter) 18px; background: rgba(251, 251, 253, .96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); max-height: calc(100vh - 58px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a, .site-nav summary { padding: 11px 6px; font-size: var(--step-0); }
  .nav-group ul { position: static; background: none; border: 0; box-shadow: none; backdrop-filter: none; padding: 0 0 0 12px; }
  .lang { border: 0; padding: 0; }
}
@media (max-width: 1100px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; max-height: none; }
  .detail__layout, .form-layout { grid-template-columns: minmax(0, 1fr); }
  .buybox { position: static; order: -1; }
  .codes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .finder__intro { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic li, .mosaic li:nth-child(1), .mosaic li:nth-child(2), .mosaic li:nth-child(3n):nth-last-child(2), .mosaic li:nth-child(3n):nth-last-child(2) + li { grid-column: span 1; }
  .mosaic li:nth-child(1), .mosaic li:nth-child(2n):last-child { grid-column: span 2; }
  .mosaic li:nth-child(3n):last-child:nth-child(odd) { grid-column: span 1; }
  .mosaic a, .mosaic li:nth-child(2) a { min-height: 200px; }
  .mosaic li:nth-child(1) a { min-height: 300px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--right .split__media { order: 0; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .stage__track { height: clamp(500px, 78svh, 720px); }
  .slide__text { padding-bottom: 120px; }
  .stage__controls { top: 10px; right: 10px; }
  .stage__dots { display: none; }
  .finder--dock { margin-top: -84px; }
  .finder__panel { border-radius: 22px; }
  .codes a { padding: 6px 2px; }
  .codes small { display: none; }
  .search { max-width: none; flex-basis: 100%; }
  .button { min-height: 44px; }
}

/* Search in the header of every page (owner, 2026-11-04). Uses the existing field and button styles. */
.header-search { display: flex; gap: 6px; flex: 0 1 300px; margin-inline: auto 8px; }
.header-search input { flex: 1; min-width: 0; min-height: 38px; padding: 6px 14px; border-radius: 980px; font-size: var(--step--1); }
.header-search .button { min-height: 38px; padding: 6px 14px; }
.results__more { margin-top: 36px; }
.results__more h2 { font-size: var(--step-1); margin-bottom: 4px; }
@media (max-width: 1199.98px) {
  .site-header__row { flex-wrap: wrap; row-gap: 6px; padding-top: 4px; }
  .header-search { order: 3; flex: 1 1 100%; max-width: none; margin: 0 0 10px; }
}

/* Client account pages (local module, 2026-11-04). Built from the existing tokens and components. */
.acc-test { color: var(--steel); font-size: var(--step--1); }
.acc-body { display: grid; gap: 28px; padding-block: 8px 72px; }
/* ACC-MOBILE (OWNER 2026-11-12): on a phone the grid column of the Personal Account must not grow to the order table (1fr = min-content wide):
   the column may shrink, the sections too; the table keeps its own horizontal scroll inside .acc-table. Desktop unchanged. */
@media (max-width: 820px) {
  .acc-body { grid-template-columns: minmax(0, 1fr); }
  .acc-body > * { min-width: 0; }
}
.acc-body h2 { font-size: var(--step-1); margin-bottom: 10px; }
.acc-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.acc-nav a { color: var(--ink); text-decoration: none; padding: 6px 2px; }
.acc-nav a[aria-current="page"] { color: var(--accent); font-weight: 500; box-shadow: inset 0 -2px 0 var(--accent); }
.acc-nav form { margin-inline-start: auto; }
.link-button { background: none; border: 0; padding: 6px 2px; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
.acc-note { padding: 12px 16px; background: rgba(10, 95, 214, .07); border-radius: 12px; }
.acc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
.acc-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.acc-table { overflow-x: auto; }
.acc-table table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.acc-table th, .acc-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.acc-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.acc-list span { color: var(--steel); font-size: var(--step--1); margin-inline-end: 6px; }
.acc-tag { display: inline-block; padding: 2px 10px; border-radius: 980px; font-size: var(--step--1); background: rgba(21, 23, 28, .07); }
.acc-tag--completed, .acc-tag--paid { background: rgba(31, 138, 76, .14); }
.acc-tag--awaiting_payment, .acc-tag--payment_review, .acc-tag--quote { background: rgba(214, 139, 10, .16); }
.acc-tag--cancelled, .acc-tag--refunded { background: rgba(21, 23, 28, .07); color: var(--steel); }
.acc-tag--in_progress { background: rgba(10, 95, 214, .12); }
.acc-dot { color: var(--accent); }
.acc-dl { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 6px 16px; margin-bottom: 14px; }
.acc-dl dt { color: var(--steel); max-width: 14em; overflow-wrap: anywhere; }
.acc-dl dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .acc-dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .acc-dl dd { margin-bottom: 8px; } }
.acc-pre { white-space: pre-line; overflow-wrap: anywhere; }
.shell.fx-note { font-size: .85rem; opacity: .8; margin: 1rem auto; }   /* E5: was an inline style (CSP style-src 'self') */
.acc-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.acc-inline input { width: auto; flex: 1 1 120px; }
.acc-methods { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.acc-method { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.acc-method input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.acc-thread { display: grid; gap: 10px; padding: 0; list-style: none; margin-bottom: 14px; }
.acc-msg { padding: 10px 14px; border-radius: 14px; background: rgba(21, 23, 28, .04); }
.acc-msg--client { background: rgba(10, 95, 214, .07); }
.acc-msg--system { background: transparent; border: 1px dashed var(--line); }
.acc-msg span { color: var(--steel); font-size: var(--step--1); }
.acc-links { margin-top: 14px; }

/* Catalogue without a filter panel: the only search is in the header (owner, 2026-11-04). */
.catalog--single { grid-template-columns: minmax(0, 1fr); }

/* Header layout (DEV completion stage, 2026-11-05): one search field, no overlap with the logo, no menu overflow.
   Desktop: row 1 = logo + search, row 2 = the menu (single line, scrolls sideways only if a very long menu is configured).
   Up to 1100px: logo + compact menu button, then the search on its own row; the menu opens as a panel. */
.brand { flex: 0 0 auto; }
.results__sections { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.results__sections .chip { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 980px; color: var(--ink); text-decoration: none; font-size: var(--step--1); }
.results__sections .chip:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 1200px) {
  .site-header__row { flex-wrap: wrap; row-gap: 0; column-gap: 24px; min-height: 0; padding-top: 8px; }
  .header-search { flex: 0 1 460px; margin: 0 0 0 auto; }
  .site-nav { order: 4; flex: 1 1 100%; min-width: 0; justify-content: space-between; margin-top: 6px; border-top: 1px solid rgba(21, 23, 28, .06); }
  /* No overflow clipping here: it hid the Services dropdown (2026-11-05). The 8 items (RU and EN) fit from 1200 px; wrap instead of scrolling if a long
     label ever needs more room. */
  .site-nav > ul { flex-wrap: wrap; min-width: 0; }
  .site-nav > ul::-webkit-scrollbar { display: none; }
  .site-nav > ul > li { flex: 0 0 auto; }
  .site-nav a, .site-nav summary { white-space: nowrap; padding: 10px 10px; }
  .nav-group ul { left: 0; right: auto; }
  .nav-group { position: static; }
  .nav-group details { position: relative; }
}
@media (max-width: 1199.98px) {
  .site-header__row { column-gap: 12px; }
  .menu-toggle { margin-left: auto; }
  .site-nav { background: #fbfbfd; backdrop-filter: none; box-shadow: 0 18px 40px rgba(13, 22, 33, .12); }
  .header-search { order: 3; }
}
@media (max-width: 380px) {
  .brand span { font-size: 1rem; }
  .header-search .button { padding: 6px 10px; }
}
/* Navigation Downloads, cabinet overview, 0005 and top-up (light design tokens only) */
.nav-dl__filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin: 0 0 16px; }
.acc-overview { margin-bottom: 24px; }
.acc-code { white-space: pre-wrap; word-break: break-all; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .03); font-family: ui-monospace, Consolas, monospace; }

/* Wallet (DEV platform final stage) */
.wallet-methods, .dt-method { border: 0; padding: 0; margin: 8px 0; }
.wallet-methods label, .dt-method > label, .acc-card label:has(> input[type="checkbox"]) { display: inline-flex; align-items: center; gap: 8px; margin: 4px 16px 4px 0; }
.wallet-methods input[type="radio"], .dt-method input[type="radio"], .acc-card input[type="checkbox"] { width: auto; min-height: 0; height: auto; margin: 0; flex: 0 0 auto; }
.wallet-amount { font-size: 2rem; margin: 4px 0; }
.wallet-test { padding: 8px 12px; border: 1px solid #e0b252; border-radius: 10px; background: rgba(224, 178, 82, .1); }
.wallet-plus { color: #1a7f37; font-weight: 600; }
.wallet-minus { color: #b42318; font-weight: 600; }
.wallet-pay { margin: 0 0 14px; }
.wallet-checkout { max-width: 520px; }
.dt-head--hu { margin-top: 34px; }

/* Floating services panel (DEV 2026-11-05): light, semi-transparent, on the right of the homepage slideshow; below it on phones.
   It sits outside the slides (stays in place while they change), below the slide controls, and covers only its own box. */
.fpanel { position: relative; z-index: 2; background: var(--paper); padding: 16px var(--gutter) 8px; }
.fpanel__card { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 10px; list-style: none; background: rgba(255, 255, 255, .8); border: 1px solid rgba(221, 225, 231, .9); border-radius: 16px; box-shadow: 0 12px 32px rgba(13, 22, 33, .12); }
.fpanel__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 72px; padding: 0 12px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.fpanel__row:hover { border-color: var(--accent); background: var(--white); box-shadow: 0 4px 14px rgba(13, 22, 33, .1); }
.fpanel__row:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fpanel__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mist); color: var(--accent); overflow: hidden; }
.fpanel__icon img { width: 40px; height: 40px; object-fit: cover; }
.fpanel__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fpanel__title { font-size: .9375rem; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fpanel__desc { font-size: .8125rem; line-height: 1.3; color: var(--steel); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fpanel__go { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.fpanel__label { display: none; max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }  /* link text: wide screens only, the arrow is always there */
@media (min-width: 760px) {
  /* Tablet and desktop: floating over the slideshow, top right, below the slide controls. On tablets the panel is narrow (260 px), so it
     stays to the right of the slide headings (max 16 characters wide); below 760 px it sits under the slideshow. */
  .fpanel { position: absolute; top: 76px; right: var(--gutter); width: 260px; max-height: min(46%, calc(100% - 96px)); padding: 0; background: none; display: flex; }
  .fpanel__card { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .6); box-shadow: 0 18px 44px rgba(8, 12, 18, .28); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
  .fpanel__row { height: 64px; gap: 10px; padding: 0 10px; }
  .fpanel__desc { -webkit-line-clamp: 1; }
}
@media (min-width: 1100px) {
  .fpanel { width: 372px; max-height: calc(100% - 116px); }
  .fpanel__row { height: 72px; gap: 12px; padding: 0 12px; }
  .fpanel__desc { -webkit-line-clamp: 2; }
  .fpanel__label { display: inline; }
}
@media (min-width: 1280px) { .fpanel { width: 396px; } }
@media (min-width: 760px) and (max-width: 1279px) {
  /* Narrower panel: the title may wrap to two lines (never cut), the description keeps one line; all rows keep one height. */
  .fpanel__row { height: 76px; }
  .fpanel__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .fpanel__desc { -webkit-line-clamp: 1; }
}   /* 2026-11-05: room for long RU titles (e.g. Коды головных устройств) next to the link text */
@media (prefers-reduced-motion: reduce) { .fpanel__row { transition: none; } }

/* Services dropdown (2026-11-05): above the slideshow and the floating panel; scrolls inside when the category list is long. */
@media (min-width: 1200px) {
  .nav-group ul { z-index: 40; width: 360px; max-height: min(76vh, 640px); overflow-y: auto; overscroll-behavior: contain; background: var(--white); backdrop-filter: none; }
  .nav-group ul a { white-space: normal; line-height: 1.3; padding: 8px 12px; font-size: .9375rem; }
  .nav-group ul li:first-child a { font-weight: 600; }
}

/* ==== 2026-11-05 final homepage design: service cards after the original BIMMERGATE.COM cards, Popular services, bottom service bar ==== */
/* Service cards: large 16:10 photo, label on the photo, group eyebrow, title, short text, compatibility, divider, price and ORDER →. */
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.card { border-radius: 20px; border: 1px solid rgba(10, 95, 214, .16); box-shadow: 0 1px 2px rgba(13, 22, 33, .04); }
.card:hover { border-color: rgba(10, 95, 214, .34); box-shadow: 0 16px 40px rgba(13, 22, 33, .12); }
.card__media { position: relative; aspect-ratio: 16 / 10; }
.card__mat { background: linear-gradient(160deg, #F6F8FB, #E8EDF3); }
.card__mat span { font-size: 1.125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8A93A0; }
.card__badge { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: #D3172A; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.card__body { gap: 8px; padding: 18px 20px 20px; }
.card__eyebrow { font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); overflow-wrap: anywhere; }
.card h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; overflow-wrap: anywhere; }
.card__summary { font-size: .9375rem; line-height: 1.5; -webkit-line-clamp: 3; line-clamp: 3; white-space: normal; }
.card__compat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: .8125rem; line-height: 1.4; color: var(--steel); overflow-wrap: anywhere; }
.card__format { padding: 1px 8px; border-radius: 6px; background: var(--mist); color: var(--ink); font-size: 12px; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: nowrap; }
.card .price { font-size: 1.0625rem; font-weight: 700; color: #C8102E; white-space: nowrap; }
.card .price--request { font-size: .9375rem; font-weight: 600; color: var(--steel); }
.card__actions { flex-wrap: nowrap; gap: 12px; }
.card__details { font-size: .875rem; color: var(--ink); white-space: nowrap; }
.card__share { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--steel); cursor: pointer; font: inherit; font-size: 12px; }
.card__share:hover { border-color: var(--accent); color: var(--accent); }
.card__order { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.card__order:hover { color: var(--accent); }
@media (max-width: 400px) { .card__foot { flex-wrap: wrap; row-gap: 10px; } .card__actions { width: 100%; justify-content: space-between; } }

/* Popular services: an ordinary section right below the slideshow. */
.popular { padding-block: clamp(28px, 4vw, 48px); }
.popular__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.popular__all { font-weight: 600; text-decoration: none; white-space: nowrap; }
.cards--popular { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cards--popular .card h3 { font-size: 1.0625rem; }

/* Bottom service bar: fixed on every public page; the page keeps room for it, so the footer and forms stay reachable. */
body.has-sbar { padding-bottom: 76px; }
.has-sbar .stage__track { height: clamp(520px, calc(100svh - 58px - 72px), 900px); }
.sbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: rgba(251, 251, 253, .94); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
        border-top: 1px solid var(--line); box-shadow: 0 -8px 28px rgba(13, 22, 33, .10); }
.sbar__inner { display: flex; align-items: center; gap: 10px; width: min(100%, 1280px); margin-inline: auto; padding: 8px var(--gutter); }
.sbar__list { flex: 1; min-width: 0; display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.sbar__list::-webkit-scrollbar { display: none; }
.sbar__list li { flex: 1 0 168px; min-width: 0; scroll-snap-align: start; }
.sbar__item { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none;
              transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.sbar__item:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(13, 22, 33, .08); }
.sbar__item:focus-visible, .sbar__more summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sbar__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--mist); color: var(--accent); overflow: hidden; }
.sbar__icon svg { width: 20px; height: 20px; }
.sbar__icon img { width: 34px; height: 34px; object-fit: cover; }
.sbar__text { display: flex; flex-direction: column; min-width: 0; }
.sbar__title { font-size: .875rem; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sbar__item .sbar__desc { display: none; }
.sbar__more { position: relative; flex: none; }
.sbar__more summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 64px; height: 56px; background: var(--white); border: 1px solid var(--line);
                      border-radius: 12px; list-style: none; cursor: pointer; font-size: .75rem; font-weight: 600; color: var(--ink); }
.sbar__more summary::-webkit-details-marker { display: none; }
.sbar__more[open] summary { border-color: var(--accent); color: var(--accent); }
.sbar__dots { letter-spacing: .1em; line-height: 1; }
.sbar__sheet { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(380px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto; padding: 8px;
               background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(13, 22, 33, .18); }
.sbar__sheet ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sbar__row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.sbar__row:hover { background: var(--mist); }
.sbar__row .sbar__title { display: block; }
.sbar__row .sbar__desc { font-size: .8125rem; line-height: 1.35; color: var(--steel); }
@media (min-width: 761px) and (max-width: 1099px) { .sbar__list li { flex: 0 0 156px; } }
@media (max-width: 760px) {
  body.has-sbar { padding-bottom: 72px; }
  .sbar__inner { gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .sbar__list { gap: 4px; }
  .sbar__list li { flex: 0 0 76px; }
  .sbar__item { flex-direction: column; justify-content: center; gap: 3px; height: 58px; padding: 4px; text-align: center; }
  .sbar__icon { width: 28px; height: 28px; }
  .sbar__icon svg { width: 18px; height: 18px; }
  .sbar__title { font-size: 11px; font-weight: 600; line-height: 1.15; }
  .sbar__more summary { width: 56px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) { .sbar__item { transition: none; } }
/* Share over the photo (same place on every card); price, Details and ORDER → stay on one line even in narrow cards. */
.card { position: relative; }
.card__share { position: absolute; z-index: 2; top: 12px; right: 12px; background: rgba(255, 255, 255, .92); border-color: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: 0 2px 8px rgba(13, 22, 33, .18); }
.card__share:hover { background: var(--white); }
.card__foot { gap: 10px; }
.card__actions { gap: 14px; }
.popular__head { max-width: none; }
/* Narrow cards: the price stays left, Details and ORDER → move to the next line on the right instead of running past the edge. */
.card__foot { flex-wrap: wrap; row-gap: 8px; }
.card__actions { margin-left: auto; }
/* Service bar: room for two-line Russian titles on tablets and phones (no cut titles). */
@media (min-width: 761px) and (max-width: 1099px) { .sbar__list li { flex: 0 0 176px; } .sbar__title { font-size: .8125rem; } }
@media (max-width: 760px) {
  body.has-sbar { padding-bottom: 80px; }
  .sbar__list li { flex: 0 0 96px; }
  .sbar__item { height: 64px; padding: 4px 6px; }
  .sbar__title { font-size: 11px; line-height: 1.2; }
  .sbar__more summary { height: 64px; }
}
@media (max-width: 760px) {
  body.has-sbar { padding-bottom: 86px; }
  .sbar__item { height: 70px; gap: 2px; }
  .sbar__icon { width: 24px; height: 24px; }
  .sbar__icon svg { width: 16px; height: 16px; }
  .sbar__item .sbar__title { -webkit-line-clamp: 3; }
  .sbar__more summary { height: 70px; }
}
/* Service bar titles break only between words ("Навигационные данные" was split inside the word by overflow-wrap:anywhere);
   a tile is never narrower than its longest word, and on desktop the other tiles give up the few pixels so the row still fits. */
.sbar__item .sbar__title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.sbar__list li { min-width: min-content; flex-shrink: 1; }
@media (max-width: 1099px) { .sbar__list li { flex-shrink: 0; } }


/* ==== 2026-11-05 card style = original bimmergate.com/services, LIGHT theme (owner's reference). Measured on the live page at 1536 px:
   white card, 0.8px rgba(0,0,0,.14) border, radius 24, soft shadow, 16:10 photo on #EDF0F2, 20px body padding, 9px blue eyebrow,
   22px/760 title, 17px grey description (full text), 11px compatibility, 11px DETAILS / INFORMATION →, divider, 17px red price, 11px ORDER →. */
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.cards--popular { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { --card-font: "Segoe UI Variable Text", "Segoe UI", Inter, Arial, sans-serif;
        background: #fff; color: #0D1114; border: .8px solid rgba(0, 0, 0, .14); border-radius: 24px; box-shadow: 0 18px 45px rgba(0, 0, 0, .07);
        font-family: var(--card-font); font-size: 15px; font-weight: 450; line-height: 1.6; letter-spacing: .03px; }
.card:hover { border-color: rgba(0, 0, 0, .14); box-shadow: 0 18px 45px rgba(0, 0, 0, .07); }
.card__media { aspect-ratio: 16 / 10; background: #EDF0F2; border-radius: 23px 23px 0 0; }
.card__mat { background: #EDF0F2; }
.card__mat span { font-family: var(--card-font); font-size: 1rem; font-weight: 700; letter-spacing: .12em; color: #8A959C; }
.card__badge { padding: 7px 12px; background: #E5202C; font-family: var(--card-font); font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1.2; }
.card__body { gap: 0; padding: 20px; }
.card__eyebrow { margin: 0 0 7px; font-size: 9px; font-weight: 800; line-height: 1.6; letter-spacing: 1.26px; text-transform: uppercase; color: var(--steel); }   /* A1 (OWNER 2026-11-18): was #6FD0FF (1.72:1) */
.card h3, .cards--popular .card h3 { margin: 0 0 8px; font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif; font-size: 22px; font-weight: 760; line-height: 1.25; letter-spacing: -.33px; }
.card h3 a { color: #0D1114; }
.card h3 a:hover { color: #18A8ED; }
.card__summary { margin: 0 0 8px; font-size: 17px; font-weight: 470; line-height: 1.48; letter-spacing: normal; color: #6C7880; display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; white-space: normal; }
.card__compat { display: block; margin: 0; font-size: 11px; line-height: 1.6; color: #414B52; }
.card__format { display: inline; margin-left: 0; padding: 0; background: none; border-radius: 0; color: #414B52; font-size: 11px; font-weight: 700; }
.card__details { display: flex; align-items: center; gap: 4px; margin: 10px 0 12px; font-size: 11px; font-weight: 850; line-height: 1.6; letter-spacing: .88px; text-transform: uppercase; color: var(--accent); text-decoration: none; white-space: normal; }
.card__details:hover { color: #0D1114; }
.card__foot { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: nowrap; gap: 10px; margin-top: auto; padding-top: 18px; border-top: .8px solid rgba(42, 134, 183, .24); }
.card .price { font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.6; color: #E5202C; }
.card .price--request { font-family: var(--card-font); font-size: 15px; font-weight: 600; color: #6C7880; }
.card__actions { margin-left: auto; gap: 0; }
.card__order { font-size: 11px; font-weight: 900; line-height: 1.6; letter-spacing: .03px; text-transform: uppercase; color: #111518; }
.card__order:hover { color: #18A8ED; }
@media (max-width: 720px) { .cards, .cards--popular { grid-template-columns: 1fr; } }
.card__format::before { content: " · "; font-weight: 450; }
@media (max-width: 400px) { .card__foot { flex-wrap: nowrap; } .card__actions { width: auto; justify-content: flex-end; } }
/* tablet: two columns like the original (324 px cards at 768 px); desktop stays at three */
.cards, .cards--popular { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 600px) { .cards, .cards--popular { grid-template-columns: 1fr; } }

/* photo credit (author / licence) under the DETAILS cover - 2026-11-08 */
.detail__credit { font-size: .75rem; line-height: 1.4; opacity: .72; margin-top: .4rem; }
.detail__credit a { color: inherit; }

/* STEP 03.5C.4: existing WEB Wallet / Add Funds content inside the WHITE Personal Account (/account/wallet, /account/add-funds).
   Scoped to .acc-ws only; the Professional Workspace keeps ws.css. Secondary text uses --steel (no transparency) for a readable contrast. */
.acc-ws { display: grid; gap: 18px; min-width: 0; color: var(--ink); }
.acc-ws h1 { font-size: var(--step-1); }
.acc-ws h2 { font-size: var(--step-0); margin-bottom: 8px; }
.acc-ws .ws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.acc-ws .ws-kpi, .acc-ws .ws-panel { padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; min-width: 0; }
.acc-ws .ws-kpi span { display: block; color: var(--steel); font-size: var(--step--1); }
.acc-ws .ws-kpi strong { display: block; margin: 4px 0; font-size: var(--step-1); }
.acc-ws .ws-table-wrap { overflow-x: auto; }
.acc-ws table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.acc-ws th, .acc-ws td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.acc-ws .num { text-align: right; white-space: nowrap; }
.acc-ws .muted, .acc-ws .ws-sub, .acc-ws .ws-fx-note, .acc-ws .small { color: var(--steel); font-size: var(--step--1); }
.acc-ws .mono { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.acc-ws .ws-pre { white-space: pre-wrap; padding: 12px; background: var(--mist); border-radius: 12px; }
.acc-ws .tag { display: inline-block; padding: 2px 10px; border-radius: 980px; font-size: var(--step--1); background: rgba(21, 23, 28, .07); }
.acc-ws .tag.ok { background: rgba(31, 138, 76, .14); }
.acc-ws .tag.wait { background: rgba(214, 139, 10, .16); }
.acc-ws .tag.bad { background: var(--fault-tint); color: var(--fault); }
.acc-ws .ws-note, .acc-ws .ws-warn, .acc-ws .ws-err { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--mist); }
.acc-ws .ws-err { background: var(--fault-tint); border-color: var(--fault); color: var(--fault); }
.acc-ws .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 18px; background: var(--accent);
  border: 1px solid var(--accent); border-radius: 980px; color: var(--white); font: inherit; font-size: var(--step--1); cursor: pointer; text-decoration: none; }
.acc-ws .btn:hover { filter: brightness(1.12); color: var(--white); }
.acc-ws .btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.acc-ws form { display: grid; gap: 10px; }
.acc-ws .ws-vin { font-family: ui-monospace, Consolas, monospace; }
/* CLIENT UI FIX 02 (OWNER 2026-11-18): Balance -> Service payments in four columns (Order | Amount | Status | Date); amount and date never break, a
   long status wraps inside its tag, the order column takes the free width (same rule in ws.css for the Professional Workspace layout). */
.acc-ws .nowrap { white-space: nowrap; }
.acc-ws .ws-services .tag { line-height: 1.35; }
.acc-ws .ws-services th:nth-child(2), .acc-ws .ws-services td:nth-child(2), .acc-ws .ws-services th:nth-child(4), .acc-ws .ws-services td:nth-child(4) { width: 1%; }
.acc-ws .ws-services td:nth-child(3) { min-width: 12rem; }
@media (max-width: 560px) {                     /* phones: one compact block per order (order | status + amount | date), no sideways scroll */
  .acc-ws .ws-services, .acc-ws .ws-services tbody { display: block; width: 100%; }
  .acc-ws .ws-services thead { display: none; }
  .acc-ws .ws-services tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .acc-ws .ws-services td { display: block; padding: 0; border: 0; min-width: 0; width: auto !important; }
  .acc-ws .ws-services td:nth-child(1) { grid-column: 1 / -1; overflow-wrap: anywhere; }
  .acc-ws .ws-services td:nth-child(2) { grid-column: 2; grid-row: 2; text-align: right; }
  .acc-ws .ws-services td:nth-child(3) { grid-column: 1; grid-row: 2; min-width: 0; }
  .acc-ws .ws-services td:nth-child(4) { grid-column: 1 / -1; color: var(--steel); }
  .acc-ws .ws-services td[colspan] { grid-column: 1 / -1; }
}

/* HEAD UNIT CODES configurator (/account/head-unit-order) and public Head Unit cards. ONE consolidated block (2026-11-10, OWNER):
   replaces 9 appended blocks; same computed styles (checked element by element before / after). Edit here only. */
/* -- page / panels -- */
.hu2 [data-hu2-group] .hu__job { padding: 10px 12px; }
.hu2 [data-hu2-generate][disabled] { opacity: .45; cursor: not-allowed; }
.hu2 [hidden] { display: none !important; }
.hu2 .is-stale { opacity: .4; }
.hu3 [hidden] { display: none !important; }
.hu3-title span { color: var(--accent); }
.hu3-box.is-off { opacity: .45; }
.hu3 .is-stale { opacity: .4; }
.hu3-box.hu3-fns { padding-bottom: 8px; }
.hu3-top p { margin: 2px 0 0; color: var(--steel); font-size: .88rem; }
/* HU-R5 R5-3: the step numbers are counted over the VISIBLE steps (a hidden step, e.g. CarPlay, takes no number) */
form.hu3 { counter-reset: hu3-step; }
.hu3-step::before { counter-increment: hu3-step; content: counter(hu3-step) ". "; }
.hu3-h { font-weight: 700; margin: 0 0 10px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; font-size: .98rem; line-height: 1.25; }
.hu3-h small { font-weight: 400; font-size: .85rem; color: var(--steel); margin-left: 2px; }
.hu3-ico { width: 18px; height: 18px; flex: none; color: var(--accent); }
.hu3-box { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.hu3-h--sum { font-size: 1.05rem; margin-bottom: 4px; }   /* HU-FIX2 2026-11-12: right column -4 px */
.hu3 { display: grid; align-items: start; gap: 14px; grid-template-columns: minmax(0, .58fr) minmax(0, 1.78fr) minmax(0, 1fr); }
.hu3-grid { display: grid; gap: 10px; align-items: start; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); row-gap: 8px; }
.hu3-h--map { margin-top: 4px; display: block; }
.hu3-h--map .hu3-ico { display: inline-block; vertical-align: -4px; margin-right: 6px; }
.hu3-carplay .hu3-h .hu3-ico { display: inline-block; vertical-align: -4px; margin-right: 6px; }
.hu3-units-panel .hu3-h .hu3-ico { display: none; }
.hu3-units-panel .hu3-h { font-size: .95rem; white-space: nowrap; }
.hu3-config .hu3-title { margin-bottom: 8px; }
.hu3-fns .hu3-h { margin-bottom: 4px; }
.hu3-top h1 { line-height: 1.15; margin: 0; font-size: 1.3rem; }
.hu3-panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 32, 64, .05), 0 8px 24px rgba(16, 32, 64, .05); padding: 10px; }
.hu3-vin label.hu3-h { margin-bottom: 2px; }
.hu3-title { font-weight: 700; margin: 0 0 4px; font-size: 1.12rem; }
.hu3-carplay .hu3-h { display: block; margin-bottom: 6px; font-size: .88rem; }
.hu3-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.hu3-back { margin-left: auto; font-size: .9rem; display: none; }
.hu3-page + * { margin-top: 0; }
.hu3-page { width: min(100%, 1280px); padding-block: 6px 8px; padding-bottom: 0; padding-top: 4px; }
/* -- head units -- */
.hu3-unit input { width: 20px; height: 20px; margin: 0; flex: none; }
.hu3-units { display: grid; gap: 8px; }
.hu3-unit span { font-weight: 700; font-size: 1.05rem; }
.hu3-unit:has(input:checked) { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(31, 92, 224, .28); }
.hu3-unit:has(input:checked) input { accent-color: #fff; }
.hu3-unit:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.hu3-unit { display: flex; align-items: center; border: 1px solid var(--line); cursor: pointer; background: var(--white); gap: 10px; border-radius: 12px; min-height: 48px; padding: 8px 12px; }
/* -- region / map -- */
.hu3-seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.hu3-maps { width: 100%; border: 1.5px solid var(--accent); border-radius: 10px; padding: 4px; font-size: 1rem; background: var(--white); overflow-y: auto; }
.hu3-maps option:checked { background: #e8f0ff; color: var(--ink); }
.hu3-seg label { cursor: pointer; position: relative; }
.hu3-seg input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; left: 0; top: 0; }
.hu3-maps option { border-radius: 6px; padding: 4px 10px; }
.hu3-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 10px; gap: 6px; }
.hu3-combo { position: relative; }
.hu3-combo__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; font: inherit; font-size: .95rem; padding: 8px 12px; border: 1.5px solid var(--accent); border-radius: 10px; background: var(--white); color: var(--ink); cursor: pointer; }
.hu3-combo__btn::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); flex: none; }
.hu3-combo.is-empty .hu3-combo__btn span { color: var(--steel); }
.hu3-combo__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 220px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(20, 40, 80, .18); }
.hu3-combo__list li { padding: 7px 10px; border-radius: 6px; cursor: pointer; font-size: .95rem; }
.hu3-combo__list li:hover { background: #eef3ff; outline: none; }
.hu3-combo__list li:focus { background: #e3ecff; outline: 2px solid var(--accent); outline-offset: -2px; }   /* task 3: visible keyboard focus */
.hu3-combo__list li[aria-selected="true"] { background: #e3ecff; font-weight: 600; }
.hu3-combo__list li[aria-disabled="true"] { color: #8a8f99; cursor: not-allowed; background: none; }   /* HU UI FIX: not offered for this head unit */
.hu3-combo__list li[aria-disabled="true"] small { font-size: .8rem; }
.hu3-seg span { display: block; text-align: center; font-weight: 700; border: 1px solid var(--line); background: var(--white); padding: 8px 4px; border-radius: 10px; }
.hu3-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hu3-combo__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* -- packages / CarPlay -- */
.hu3-pkg input { width: 20px; height: 20px; margin: 0; flex: none; }
.hu3-pkg span { display: flex; flex-direction: column; line-height: 1.25; }
.hu3-pkg:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.hu3-pkg em { margin-left: auto; font-style: normal; font-weight: 700; white-space: nowrap; font-size: .95rem; }
.hu3-pkg small { color: var(--steel); font-size: .76rem; }
.hu3-pkg:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.hu3-carplay { border-top: 1px solid var(--line); margin-top: 2px; padding-top: 6px; }
.hu3-cp { display: grid; gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hu3-pkgs { display: grid; margin-bottom: 4px; gap: 4px; }
.hu3-pkg { display: flex; align-items: center; border: 1px solid var(--line); cursor: pointer; gap: 8px; border-radius: 12px; min-height: 0; padding: 5px 10px; }
.hu3-pkg b { font-size: .9rem; }
.hu3-cp label { display: flex; align-items: center; cursor: pointer; font-weight: 600; border-radius: 10px; min-height: 0; font-size: .84rem; position: relative; padding: 0; border: 0; gap: 0; }
.hu3-cp input { margin: 0; position: absolute; opacity: 0; width: 1px; height: 1px; left: 0; top: 0; }
.hu3-cp span { display: block; width: 100%; text-align: center; white-space: nowrap; font-weight: 700; font-size: .84rem; padding: 7px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.hu3-cp input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.hu3-cp input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hu3-cp label:has(input:checked) { border-color: var(--accent); box-shadow: none; }
/* -- functions -- */
.hu3-fns { grid-column: 1 / -1; }
.hu3-fn:has(input:checked) { border-color: var(--accent); }
.hu3-fn:has(input:checked) em { color: var(--ink); }
.hu3-fnlist { display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hu3-fn span { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
.hu3-fns .hu3-fnlist { gap: 5px 8px; }
.hu3-fn input { margin: 0; flex: none; width: 16px; height: 16px; }
.hu3-fn { display: flex; align-items: center; border: 1px solid var(--line); cursor: pointer; gap: 8px; border-radius: 10px; min-height: 0; padding: 3px 9px; font-size: .84rem; }
.hu3-fn.is-blocked { cursor: not-allowed; opacity: .6; border-style: dashed; }   /* HU-COMBINATIONS-01: excluded by the ticked function */
.hu3-cp label.is-blocked { cursor: not-allowed; opacity: .6; }   /* V2: a CarPlay variant excluded by a ticked function */
.hu3-fn.is-needs { border-color: var(--fault); }   /* V2: ticked, its required function is not chosen yet */
.hu3-why > span { display: block; }   /* V2: one reason per line */
.hu3-fn em { margin-left: auto; font-style: normal; font-weight: 600; white-space: nowrap; color: var(--steel); font-size: .76rem; }
/* -- VIN / summary / price -- */
.hu3-vin label { font-weight: 700; }
.hu3-vin__box { position: relative; }
.hu3-vin__ok { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #16a34a; font-weight: 700; font-size: 1.2rem; display: none; }
.hu3-vin.is-ok .hu3-vin__ok { display: block; }
.hu3-result .notice { margin: 0 0 6px; padding: 6px 10px; font-size: .88rem; }
.hu3-sum dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.hu3-sum .hu3-sum__wide { grid-column: 1 / -1; }
.hu3-total span { font-weight: 700; font-size: 1rem; }
.hu3-vin { margin: 0; display: block; }
.hu3-vin .field__error { margin: 2px 0 0; font-size: .78rem; line-height: 1.25; }
.hu3-vin__box input { width: 100%; padding-right: 40px; letter-spacing: .03em; font-size: .98rem; padding-block: 8px; border-radius: 10px; }
.hu3-side { display: flex; flex-direction: column; gap: 2px; }   /* HU-FIX2: was 4 px */
.hu3-result { border-top: 1px solid var(--line); padding-top: 4px; }
.hu3-sum { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0 0 2px; gap: 1px 10px; font-size: .84rem; }
.hu3-total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); margin: 0; margin-top: 2px; padding-top: 2px; }   /* HU-FIX2: padding-top was 4 px */
.hu3-total strong { color: var(--accent); letter-spacing: -.01em; font-size: 1.45rem; }
.hu3-fx { margin: 0; font-size: .7rem; }
.hu3-sum dt { color: var(--steel); white-space: nowrap; }
.hu3-sum dd.hu3-sum__wide { text-align: left; font-size: .82rem; font-weight: 500; line-height: 1.3; }   /* HU-FIX 2026-11-12: full list, no inner scroll */
/* -- warning / consent / Generate Code -- */
.hu3-consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; }
.hu3-generate svg { width: 22px; height: 22px; }
.hu3-generate[disabled] { opacity: .5; cursor: not-allowed; }
.hu3-generate:not([disabled]) { background: linear-gradient(180deg, #2f6fe8, #1d55cc); box-shadow: 0 8px 20px rgba(31, 92, 224, .3); }
.hu3-warn__card { background: #fff3e6; border: 1px solid #f6c99b; margin-bottom: 2px; border-radius: 12px; padding: 4px 10px; }   /* HU-FIX2: was margin 4, padding 6 */
.hu3-warn__card h3 { color: #c2410c; font-size: 1rem; margin: 0 0 6px; margin-bottom: 2px; }   /* HU-FIX2: was 4 px */
.hu3-consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .9rem; }
.hu3-generate { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; font-size: 1.1rem; min-height: 44px; }
.hu3-genoff { margin: 0; line-height: 1.3; font-size: .74rem; }
.hu3-warn__card p { margin: 0; white-space: pre-line; font-size: .82rem; line-height: 1.32; border-radius: 4px; }   /* HU-FIX 2026-11-12: whole text readable, no inner scroll */
.hu3-warn__card p:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }   /* task 3: the text scrolls with the keyboard */
/* -- public cards (MAINTENANCE page) -- */
.hu2-pub { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hu2-pub__card h2 { font-size: 1.2rem; margin: 0; }
.hu2-pub__card ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.hu2-pub__card .state__actions { margin-top: auto; }
.hu[data-hu-public="NEW"] { display: block; }
.hu2-pub__card { display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
@media (max-width: 1200px) {
  .hu3 { grid-template-columns: minmax(0, 1fr); }
  .hu3-units { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hu3-sum dd.hu3-sum__wide, .hu3-warn__card p { max-height: none; }
}
@media (max-width: 700px) {
  .hu3-units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hu3-grid, .hu3-fnlist { grid-template-columns: minmax(0, 1fr); }
  .hu3-cp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hu3-cp span { white-space: normal; }
  .hu3-pkg em { white-space: nowrap; text-align: right; }   /* HU-R5 R5-4 */
  .hu3-pkg span { min-width: 0; }
}
@media (max-width: 300px) {   /* HU-R5 R5-4: on a very narrow window the price may wrap again rather than overflow */
  .hu3-pkg em { white-space: normal; }
}

/* PA-UI (OWNER 2026-11-10): ONE Personal Account navigation, the profile sub-menu, the phone menu button, the overview balance card.
   Existing tokens and components only; on a phone the links fold under one button (site.js adds .is-ready; without JS all links stay visible). */
.acc-navbar { display: grid; gap: 10px; min-width: 0; }
.acc-menu-btn { display: none; justify-self: start; min-height: 44px; padding: 6px 16px; background: none; border: 1px solid var(--line); border-radius: 980px; color: var(--ink); font: inherit; cursor: pointer; }
.acc-subnav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: -14px; font-size: var(--step--1); }
.acc-subnav a { color: var(--steel); text-decoration: none; padding: 4px 2px; }
.acc-subnav a[aria-current="page"] { color: var(--accent); font-weight: 500; }
.acc-balance-card { display: grid; gap: 10px; }
.acc-balance-card h2 { margin-bottom: 0; }
.acc-balance-card__sum strong { font-size: var(--step-2); margin-inline-start: 6px; }
.acc-balance-card__sum span { display: block; color: var(--steel); font-size: var(--step--1); }
.acc-balance-card__plan { color: var(--steel); }
.acc-balance-card__plan strong { color: var(--ink); }
.acc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) {
  .acc-navbar.is-ready .acc-menu-btn { display: inline-flex; align-items: center; }
  .acc-navbar.is-ready .acc-nav:not(.is-open) { display: none; }
  .acc-navbar.is-ready .acc-nav.is-open { flex-direction: column; align-items: stretch; gap: 0; }
  .acc-navbar.is-ready .acc-nav.is-open a { padding: 10px 2px; border-bottom: 1px solid var(--line); }
  .acc-navbar.is-ready .acc-nav.is-open a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-inline-start: 10px; }
  .acc-navbar.is-ready .acc-nav.is-open form { margin-inline-start: 0; padding-top: 6px; }
}

/* CSP fix 2026-11-11: multi-line texts (payment instructions, support thread) keep their line breaks - a class, never an inline style */
.pre-line { white-space: pre-line; }

/* HU-CODE (OWNER 2026-11-12): issued activation code - large readable field (XXXX-XXXX), Copy / Share / Telegram, status line */
.hu-code { margin-top: 8px; }
.hu-code__value { margin: 6px 0 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .03);
  font-family: ui-monospace, Consolas, "Cascadia Mono", monospace; font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 700; letter-spacing: .12em;
  text-align: center; line-height: 1.2; overflow-wrap: anywhere; user-select: all; }
.hu-code__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hu-code__actions .button { flex: 0 1 auto; }
.hu-code__status { min-height: 1.4em; margin: 8px 0 0; font-weight: 600; }
@media (max-width: 480px) { .hu-code__actions .button { flex: 1 1 100%; text-align: center; } }

/* MY CODES ROWS (OWNER 2026-11-18): Head Unit Codes -> My codes - ONE compact row per order in the existing account table (.acc-table):
   order + date | VIN + copy | head unit, region, map, functions | code + Copy (completed only) | status. Full width, small row height.
   Phones (<= 700px): every row becomes one compact block with the column labels (data-label), the same pattern as /downloads. */
[data-hu-codes] table { table-layout: auto; }
[data-hu-codes] td { padding: 8px; vertical-align: middle; }
[data-hu-codes] th { padding: 6px 8px; white-space: nowrap; }
.hu-codes__order { display: block; font-weight: 700; white-space: nowrap; }
.hu-codes__date { display: block; color: var(--steel); white-space: nowrap; }
.hu-codes__vin { font-family: ui-monospace, Consolas, "Cascadia Mono", monospace; white-space: nowrap; margin-inline-end: 6px; }
.hu-codes__cell--vin { white-space: nowrap; }
[data-hu-codes] .button { padding: 3px 12px; min-height: 0; font-size: var(--step--1, .875rem); line-height: 1.5; white-space: nowrap; }
.hu-codes__jobs { display: block; color: var(--steel); }
.hu-codes__cell--code { min-width: 19rem; }
.hu-code--row .hu-code__value { white-space: nowrap; overflow-wrap: normal; }
.hu-codes__cell--status { white-space: nowrap; }
.hu-code--row { margin: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 8px; }
.hu-code--row .hu-code__value { margin: 0; padding: 4px 10px; font-size: 1.05rem; letter-spacing: .06em; border-radius: 8px; text-align: left; }
.hu-code--row .acc-code { margin: 0; max-height: 6em; overflow: auto; }
.hu-code--row .hu-code__actions { gap: 4px; }
.hu-code--row .hu-code__status { flex-basis: 100%; min-height: 0; margin: 0; font-size: var(--step--1); }
.hu-code--row .hu-code__status:empty { display: none; }
@media (max-width: 700px) {
  [data-hu-codes].acc-table { overflow: visible; }
  [data-hu-codes] table, [data-hu-codes] tbody { display: block; width: 100%; }
  [data-hu-codes] thead { display: none; }
  [data-hu-codes] tr.hu-codes__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; margin: 0 0 10px; padding: 12px 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
  [data-hu-codes] td.hu-codes__cell { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  [data-hu-codes] td.hu-codes__cell--order { grid-column: 1; }
  [data-hu-codes] td.hu-codes__cell--status { grid-column: 2; grid-row: 1; text-align: right; }
  [data-hu-codes] td.hu-codes__cell--vin, [data-hu-codes] td.hu-codes__cell--what, [data-hu-codes] td.hu-codes__cell--code { grid-column: 1 / -1; }
  [data-hu-codes] td[data-label]:not(.hu-codes__cell--order):not(.hu-codes__cell--status)::before { content: attr(data-label); display: block;
    font-size: .75rem; font-weight: 600; color: var(--steel, #5F6B7A); margin-bottom: 2px; }
  .hu-codes__cell--code { min-width: 0; }
  .hu-codes__cell--vin { white-space: normal; }
  .hu-code--row .hu-code__value { white-space: normal; overflow-wrap: anywhere; }
  .hu-code--row { flex-wrap: wrap; }
}

/* TARIFF TEXT FINAL (OWNER 2026-11-12): on very narrow phones the plan description goes under the plan name, so the long Russian words
   of the approved texts never make the "Plans and benefits" table scroll sideways (wider screens unchanged). */
@media (max-width: 360px) {
  [data-plans] tr[data-plan] > td { display: block; }
  [data-plans] tr[data-plan] > td:first-child { padding-bottom: 0; }
}

/* OWNER 2026-11-12: "temporarily unavailable" on a service card. The order link next to the price stays one line (nowrap); this status is a
   long sentence, so only it may take the free width of the card foot and wrap to two lines in a compact size (card size and design unchanged). */
.card__actions:has(.card__order--off) { flex: 1 1 auto; min-width: 0; }
.card__order.card__order--off { white-space: normal; overflow-wrap: break-word; text-align: right; font-size: 10px; line-height: 1.35; letter-spacing: 0; color: var(--steel, #5F6B7A); cursor: default; }
.card__foot:has(.card__order--off) .price { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 360px) { .card__foot:has(.card__order--off) { flex-wrap: wrap; row-gap: 6px; } .card__actions:has(.card__order--off) { flex-basis: 100%; justify-content: flex-start; } .card__order.card__order--off { text-align: left; } }

/* DOWNLOADS MOBILE (OWNER 2026-11-12): on phones the /downloads table becomes one compact card per file (title, version, size and a
   full-width Download button); desktop / tablet keep the table. FIX1-VC (OWNER 24.11): /maps-navigation ([data-nav-packages]) uses the same
   cards (unit | region, version | file size, compatibility, full-width Download button); its desktop table is unchanged. */
@media (max-width: 700px) {
  :is([data-downloads], [data-nav-packages]) .acc-table { overflow: visible; }
  :is([data-downloads], [data-nav-packages]) .acc-table table, :is([data-downloads], [data-nav-packages]) .acc-table tbody { display: block; width: 100%; }
  :is([data-downloads], [data-nav-packages]) .acc-table thead { display: none; }
  :is([data-downloads], [data-nav-packages]) .acc-table tr:is([data-dl-item], [data-nav-item]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; margin: 0 0 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
  :is([data-downloads], [data-nav-packages]) .acc-table td.dl-cell { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  :is([data-downloads], [data-nav-packages]) .acc-table td.dl-cell--title { grid-column: 1 / -1; }
  :is([data-downloads], [data-nav-packages]) .acc-table td.dl-cell--unit { grid-column: 1 / -1; }
  [data-nav-packages] .acc-table td.dl-cell--compat { grid-column: 1 / -1; order: 1; }
  :is([data-downloads], [data-nav-packages]) .acc-table td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--steel, #5F6B7A); margin-bottom: 2px; }
  :is([data-downloads], [data-nav-packages]) .acc-table td.dl-cell--action { grid-column: 1 / -1; margin-top: 4px; }
  [data-nav-packages] .acc-table td.dl-cell--action { order: 2; }
  :is([data-downloads], [data-nav-packages]) .acc-table td.dl-cell--action .button { display: flex; width: 100%; box-sizing: border-box; justify-content: center; text-align: center; white-space: normal; }
}
/* STAGE 1.5 (OWNER 2026-11-13): one Legal Information page - contents, section anchors below the sticky header, readable on phones */
.legal-toc { margin-block: 8px 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.legal-toc h2 { margin: 0 0 8px; font-size: var(--step-1, 1.2rem); }
.legal-toc ol { margin: 0; padding-left: 1.2em; }
.legal-toc > ol { columns: 2 280px; column-gap: 32px; }
.legal-toc > ol > li { break-inside: avoid; margin-bottom: 8px; font-weight: 600; }
.legal-toc ol ol { font-weight: 400; font-size: var(--step--1, .92rem); list-style: none; padding-left: .6em; }
.legal-toc a { display: inline-block; padding: 3px 0; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.legal-toc a:hover, .legal-toc a:focus-visible { text-decoration: underline; }
#contents, .legal-sec { scroll-margin-top: 84px; }
.legal-sec--2 h2 { margin-top: 8px; }
.legal-sec--3 { padding-top: 4px; }
.legal-sec--3 h3 { margin: 0 0 6px; font-size: var(--step-0, 1.05rem); }
.legal-top { margin: 4px 0 0; font-size: var(--step--1, .92rem); }
.legal-top a { color: var(--steel); }
@media (max-width: 700px) {
  .legal-toc { padding: 12px 14px; border-radius: 12px; }
  .legal-toc > ol { columns: 1; }
  .legal-toc ol ol { display: none; }          /* phones: the six sections only; every subsection is still reachable by its own link */
  #contents, .legal-sec { scroll-margin-top: 72px; }
}
/* FRONTEND STAGE 2 F-8: legal effective date in one line (class, the CSP allows no inline style) */
.legal-date { white-space: nowrap; }
/* FRONTEND STAGE 2 F-3: phones - larger touch area for 'Details' and 'Order' on the service cards; the extra padding is compensated by the
   margins, so the card looks and sits exactly as before */
@media (max-width: 820px) {
  .card__details { padding-block: 7px; margin-block: 3px 5px; }
  .card__order { display: inline-block; padding-block: 9px; margin-block: -9px; }
}
/* FRONTEND STAGE 2 F-B: service bar - whole tiles only (no tile cut at the screen edge): 3 per row on phones, 4 on tablets; every tile stays,
   the row still scrolls sideways and stops on a whole tile; 'All' unchanged */
@media (min-width: 761px) and (max-width: 1099px) { .sbar__list { scroll-snap-type: x mandatory; } .sbar__list li { flex: 0 0 calc((100% - 24px) / 4); min-width: 0; } .sbar__item { min-width: 0; overflow: hidden; } }
@media (max-width: 760px) { .sbar__list { scroll-snap-type: x mandatory; } .sbar__list li { flex: 0 0 calc((100% - 8px) / 3); min-width: 0; } .sbar__item { min-width: 0; overflow: hidden; } }
/* FRONTEND STAGE 2 F-C: long RU category names (e.g. "ТЮНИНГ ECU И ПРОИЗВОДИТЕЛЬНОСТЬ") - the count wraps under the heading instead of widening the page */
.group__head { flex-wrap: wrap; row-gap: 4px; }
.group__head h2 { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 420px) { .group__head h2 { font-size: 1.5rem; } }
/* STAGE 3.2 (OWNER 2026-11-13): public mobile-app block of the Download page (QR code + store link per platform) */
.dl-app { margin: 0 0 32px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.dl-app h2 { font-size: var(--step-1); }
.dl-app__list { display: flex; flex-wrap: wrap; gap: 24px; margin: 14px 0 0; padding: 0; list-style: none; }
.dl-app__item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dl-app__qr { margin: 0; }
.dl-app__qr svg { display: block; width: 148px; height: 148px; }

/* STAGE 4.1 (OWNER 2026-11-14): touch targets on phones (WCAG 2.5.8: >= 24 px). Vertical padding of an INLINE link enlarges the tap area
   without moving the text; block links get a few pixels taller. Desktop unchanged; links styled by their own class keep their padding. */
@media (max-width: 760px) {
  .site-footer li { padding: 0; }
  .site-footer a { display: inline-block; padding-block: 5px; }
  main a:not([class]), main a.back { padding-block: 4px; }
}
/* STAGE 4.1 (OWNER 2026-11-14): main labels slightly more expressive - buttons 500 -> 560, menu items 420 -> 500, current item 500 -> 600 */
.button { font-weight: 560; }
.site-nav a, .site-nav summary { font-weight: 500; }
.site-nav a[aria-current="page"] { font-weight: 600; }
/* FIX 006.3: the logo keeps its own proportions (34 px high; a wide logo is never stretched, cropped or wider than the header allows) */
.brand img { height: 46px; width: auto; max-width: min(220px, 46vw); object-fit: contain; flex: 0 0 auto; margin-block: -4px; }   /* OWNER 22.11: 46 px desktop; -4 px keeps the header height (38 px box) */
@media (max-width: 700px) { .brand img { height: 38px; margin-block: 0; } }   /* OWNER 22.11: 38 px on phones */

/* PERSONAL ACCOUNT UI/UX 1.0 (OWNER 2026-11-18, approved prototype docs/PERSONAL_ACCOUNT_UI_1_0_PROTOTYPE.html): graphite menu rail on the left
   (balance + plan cluster), a wider light-grey work area, white panels. Scoped to .acc-layout (Personal Account pages only); the site header,
   footer and the Professional Workspace (ws.css) are unchanged. The page content and every function stay as before. */
main:has(.acc-layout) { background: #EEF0F3; }
.acc-layout { --g: #262B33; --g2: #333943; --gl: #3E4550; --on-g: #E6E9EE; --on-g-dim: #A3AAB6; --canvas: #EEF0F3;
  display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 24px 64px; }   /* 1A.3: width = the global .shell (1280 px + --gutter), like the site */
.acc-main { min-width: 0; display: grid; gap: 20px; align-content: start; }
.acc-main > .page-head { padding: 0; }
.acc-main > .page-head .shell { width: auto; margin: 0; padding: 0; }
.acc-main > .page-head h1 { font-size: 28px; line-height: 1.2; font-weight: 600; }
.acc-main > .page-head p { margin-top: 4px; font-size: var(--step-0); }
.acc-main > .acc-body { padding: 0; gap: 20px; }
.acc-main.acc > h1 { font-size: 28px; line-height: 1.2; font-weight: 600; }
.acc-layout .acc-card { border-radius: 10px; padding: 18px; }

/* the rail */
.acc-rail { background: var(--g); color: var(--on-g); border-radius: 12px; padding: 14px 12px 12px; position: sticky; top: 76px; max-height: calc(100vh - 92px);
  overflow-y: auto; display: grid; gap: 14px; align-content: start; }
.acc-rail.acc-navbar { gap: 14px; }
.acc-cluster { margin: 0; background: var(--g2); border: 1px solid var(--gl); border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; }
.acc-cluster p { margin: 0; }
.acc-cluster__label { font-size: 12.5px; color: var(--on-g-dim); }
.acc-cluster__value { font-size: 30px; line-height: 1.05; font-weight: 500; color: #FFFFFF; font-stretch: 82%; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.acc-cluster__bar { display: block; width: 100%; height: 4px; }
.acc-cluster__bar rect { fill: var(--gl); }
.acc-cluster__bar rect.acc-cluster__share { fill: #6FA3F0; }
.acc-cluster__row { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--on-g-dim); }
.acc-cluster__row b { color: var(--on-g); font-weight: 500; font-stretch: 82%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acc-cluster__plan { display: flex; justify-content: space-between; align-items: end; gap: 8px; border-top: 1px solid var(--gl); padding-top: 8px; font-size: 12.5px; color: var(--on-g-dim); }
.acc-cluster__plan span { display: grid; }
.acc-cluster__plan b { color: var(--on-g); font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.acc-cluster__actions { margin: 4px 0 0; }
.acc-cluster__fund { display: block; padding: 8px 10px; border-radius: 7px; background: var(--accent); color: #FFFFFF; text-align: center; text-decoration: none; font-weight: 500; }
.acc-cluster__fund:hover, .acc-cluster__fund[aria-current="page"] { background: #0952BA; color: #FFFFFF; }
.acc-rail .acc-nav { display: grid; gap: 2px; padding: 0; border: 0; }
.acc-rail .acc-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: var(--on-g); text-decoration: none; font-size: 14.5px; box-shadow: none; }
.acc-rail .acc-nav a:hover { background: var(--g2); }
.acc-rail .acc-nav a[aria-current="page"] { background: #3B4350; color: #FFFFFF; font-weight: 500; box-shadow: inset 3px 0 0 #6FA3F0; }
.acc-rail .acc-nav a:focus-visible, .acc-cluster__fund:focus-visible, .acc-rail .link-button:focus-visible { outline: 2px solid #6FA3F0; outline-offset: 2px; }
.acc-ico { width: 18px; height: 18px; flex: 0 0 18px; stroke: currentColor; fill: none; stroke-width: 1.6; opacity: .85; }
.acc-nav__group { margin: 10px 10px 2px; font-size: 12px; color: var(--on-g-dim); }
.acc-badge { margin-inline-start: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #6FA3F0; color: var(--g); font-size: 12px; font-weight: 600; text-align: center; }
.acc-rail .acc-subnav { display: grid; gap: 0; margin: 0 0 4px 38px; font-size: 13.5px; }
.acc-rail .acc-subnav a { padding: 5px 8px; font-size: 13.5px; color: var(--on-g-dim); }
.acc-rail .acc-subnav a[aria-current="page"] { color: #FFFFFF; background: none; box-shadow: none; font-weight: 500; }
.acc-nav__out { margin: 8px 0 0; padding: 10px 10px 2px; border-top: 1px solid var(--gl); }
.acc-rail .link-button { color: var(--on-g-dim); }
.acc-rail .link-button:hover { color: #FFFFFF; }
.acc-rail .acc-menu-btn { border-color: var(--gl); color: var(--on-g); background: var(--g2); }

/* work area panels and order table (look only) */
.acc-layout .acc-table { background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.acc-layout .acc-table th { font-weight: 500; color: var(--steel); font-size: 12.5px; white-space: nowrap; }
.acc-layout .acc-table td, .acc-layout .acc-table th { padding: 10px 12px; vertical-align: middle; }
.acc-layout .acc-table tr:last-child td { border-bottom: 0; }

@media (max-width: 1100px) { .acc-layout { grid-template-columns: 236px minmax(0, 1fr); gap: 20px; } }
@media (max-width: 900px) {
  .acc-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 12px 48px; }
  .acc-rail { position: static; max-height: none; overflow: visible; }
  .acc-cluster { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  .acc-cluster__label, .acc-cluster__value, .acc-cluster__bar, .acc-cluster__row { grid-column: 1; }
  .acc-cluster__plan { grid-column: 1 / -1; }
  .acc-cluster__actions { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
  .acc-cluster__value { font-size: 26px; }
  .acc-rail.is-ready .acc-menu-btn { display: inline-flex; align-items: center; justify-self: stretch; justify-content: center; min-height: 44px; border-radius: 7px; }
  .acc-rail.is-ready .acc-nav:not(.is-open) { display: none; }
  .acc-rail.is-ready .acc-nav.is-open a { padding: 11px 10px; border-bottom: 0; }
  .acc-rail.is-ready .acc-nav.is-open a[aria-current="page"] { padding-inline-start: 10px; box-shadow: inset 3px 0 0 #6FA3F0; }
  .acc-main > .page-head h1, .acc-main.acc > h1 { font-size: 24px; }
}
/* PL-67 (02.12): the phone menu is folded from the FIRST frame when scripts are on (site.js is a deferred module: WebKit painted the open
   566 px list, then folded it = a jump on every account page). Same look as .is-ready; without scripts all links stay visible. */
@media (scripting: enabled) and (max-width: 900px) {
  .acc-rail .acc-menu-btn { display: inline-flex; align-items: center; justify-self: stretch; justify-content: center; min-height: 44px; border-radius: 7px; }
  .acc-rail .acc-nav:not(.is-open) { display: none; }
}
@media (min-width: 901px) { .acc-rail .acc-menu-btn { display: none !important; } .acc-rail .acc-nav { display: grid !important; } }

/* PERSONAL ACCOUNT UI/UX 1.0 - Overview and the order list (approved prototype) */
.acc-head .shell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.acc-head__text { min-width: 0; }
.acc-head .acc-head__plan { font-size: 14px; margin-top: 6px; }
.acc-head__id { margin: 0; font-size: 13.5px; color: var(--steel); background: var(--white); border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; white-space: nowrap; }
.acc-head__id strong { color: var(--ink); font-weight: 500; }
.acc-svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.acc-layout .acc-svc { display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; align-content: start; }
.acc-svc__icon { width: 40px; height: 40px; border-radius: 9px; background: #EEF0F3; display: grid; place-items: center; }
.acc-svc__icon .acc-ico { width: 22px; height: 22px; color: #262B33; opacity: 1; }
.acc-layout .acc-svc h2 { font-size: 18px; font-weight: 600; margin: 6px 0 0; }
.acc-svc > p { margin: 0; color: var(--steel); font-size: 14px; }
.acc-svc .acc-svc__codes { color: var(--ink); }
.acc-svc .acc-svc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 13.5px; color: var(--steel); }
.acc-lower { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.acc-lower__main, .acc-side { display: grid; gap: 16px; min-width: 0; }
.acc-panel { background: var(--white); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.acc-panel > h2, .acc-panel__head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.acc-panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.acc-panel__body { padding: 14px 18px 16px; }
.acc-panel__empty, .acc-panel__foot { margin: 0; padding: 12px 18px; font-size: 14px; }
.acc-panel .acc-filter { margin: 0; padding: 10px 18px 0; }
.acc-panel__list { padding: 12px 18px; margin: 0; }
.acc-layout .acc-panel .acc-table { border: 0; border-radius: 0; }
.acc-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.acc-tabs[hidden] { display: none; }
.acc-tabs button { border: 1px solid transparent; background: none; padding: 5px 10px; border-radius: 6px; cursor: pointer; color: var(--steel); font: inherit; font-size: 13.5px; }
.acc-tabs button[aria-pressed="true"] { background: #EEF0F3; border-color: var(--line); color: var(--ink); font-weight: 500; }
.acc-orow > td:first-child a { font-weight: 600; white-space: nowrap; }
.acc-orow__date, .acc-orow__price { white-space: nowrap; }
.acc-orow__more { width: 1%; text-align: right; }
.acc-more { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 6px; background: none; cursor: pointer; color: var(--steel); }
.acc-more:hover { border-color: var(--line); }
.acc-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .2s; }
.acc-more[aria-expanded="true"] svg { transform: rotate(90deg); }
.acc-layout .acc-table tr.acc-odetail td { background: #F7F8FA; padding: 0; }
.acc-odetail__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; padding: 14px 18px 16px; }
.acc-odetail__in > div { min-width: 0; }
.acc-odetail__in h3 { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.acc-odetail__go { display: grid; gap: 8px; align-content: start; justify-items: start; }
.acc-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.acc-files li { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; font-size: 13.5px; }
.acc-files li > span { min-width: 0; overflow-wrap: anywhere; display: grid; }
.acc-files small { color: var(--steel); font-size: 12px; }
.acc-files .button { flex: 0 0 auto; }
.acc-notes { list-style: none; margin: 0; padding: 6px 0; }
.acc-notes li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; padding: 10px 18px; font-size: 14px; overflow-wrap: anywhere; }
.acc-notes li + li { border-top: 1px solid var(--line); }
.acc-notes li > span:last-child { display: grid; }
.acc-notes small { color: var(--steel); font-size: 12.5px; }
.acc-notes__dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: var(--line); }
.acc-notes__dot.is-new { background: var(--accent); }
.acc-community { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acc-community .button { justify-content: center; text-align: center; }
@media (max-width: 1180px) { .acc-lower { grid-template-columns: minmax(0, 1fr); } .acc-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); } }
@media (max-width: 700px) {
  .acc-head .shell { align-items: flex-start; }
  /* the order list: one compact block per order, no sideways scroll */
  .acc-orders__table thead { display: none; }
  .acc-orders__table table, .acc-orders__table tbody { display: block; width: 100%; }
  .acc-orders__table tr.acc-orow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .acc-orders__table tr.acc-orow[hidden], .acc-orders__table tr.acc-odetail[hidden] { display: none; }
  .acc-layout .acc-orders__table tr.acc-orow td { display: block; padding: 0; border: 0; min-width: 0; }
  .acc-orow > td:first-child { grid-column: 1; grid-row: 1; }
  .acc-orow__sec { grid-column: 1; grid-row: 2; color: var(--steel); font-size: 13.5px; }
  .acc-orow__title { grid-column: 1; grid-row: 3; overflow-wrap: anywhere; }
  .acc-orow__date { grid-column: 1; grid-row: 4; color: var(--steel); font-size: 13px; }
  .acc-orow__price { grid-column: 2; grid-row: 1; text-align: right; }
  .acc-orow__status { grid-column: 2; grid-row: 2 / span 2; text-align: right; }
  .acc-orow__more { grid-column: 2; grid-row: 4; }
  .acc-orders__table tr.acc-odetail { display: block; }
  .acc-orders__table tr.acc-odetail td { display: block; }
}
/* PA UI 1.0: the fixed service bar of the site stays visible - the sticky rail ends above it; a status tag stays on one line */
.has-sbar .acc-rail { max-height: calc(100vh - 168px); }
.acc-orow__status .acc-tag { white-space: nowrap; }
/* PA UI 1.0: the three service cards stay three equal columns down to the phone width; space after the "available when completed" note */
@media (min-width: 701px) { .acc-svcs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .acc-svcs { grid-template-columns: minmax(0, 1fr); } }
.acc-layout [data-files-after] { margin-bottom: 14px; }

/* PERSONAL ACCOUNT UI/UX 1.1 - ALIGNMENT (OWNER 2026-11-18, master plan 1A.3; BIMMERGATE DESIGN SYSTEM): the container is the global .shell
   (same width as the site at every zoom), a narrower rail with its own quiet scroll, a compact balance cluster, denser tables, small Copy VIN
   buttons, spacing / type on the system scale. Approved concept and every function unchanged. */
.acc-layout { grid-template-columns: 232px minmax(0, 1fr); gap: 24px; padding-block: 20px 48px; }
.acc-rail { top: 72px; padding: 12px 10px 10px; gap: 12px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--gl) transparent; }
.acc-rail.acc-navbar { gap: 12px; }
.has-sbar .acc-rail { max-height: calc(100vh - 200px); }   /* the rail never reaches under the fixed service bar (76 px), also in its first position below the header; the rest scrolls inside it */
.acc-cluster { padding: 10px 12px; gap: 4px; }
.acc-cluster__value { font-size: 24px; }
.acc-cluster__plan { padding-top: 6px; }
.acc-cluster__actions { margin-top: 2px; }
.acc-cluster__fund { padding: 6px 10px; font-size: 14px; }
.acc-rail .acc-nav a { gap: 9px; padding: 6px 10px; font-size: 14px; }
.acc-nav__group { margin: 6px 10px 2px; }
.acc-main, .acc-main > .acc-body { gap: 16px; }
.acc-main > .page-head h1, .acc-main.acc > h1 { font-size: 26px; }
.acc-layout .acc-card { padding: 16px; }
.acc-layout .acc-svc h2 { font-size: 17px; }
.acc-panel__head { padding: 12px 16px; }
.acc-panel__empty, .acc-panel__foot, .acc-panel__list { padding-inline: 16px; }
.acc-notes li { padding: 9px 16px; }
.acc-layout .acc-table table { font-size: 14px; }
.acc-layout .acc-table td, .acc-layout .acc-table th { padding: 8px 10px; }
.acc-layout [data-copy-vin] { min-height: 28px; padding: 2px 10px; font-size: 12.5px; }
@media (max-width: 1100px) { .acc-layout { grid-template-columns: 216px minmax(0, 1fr); gap: 20px; } }
@media (max-width: 900px) { .acc-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; } .acc-cluster__value { font-size: 22px; } }
@media (max-width: 700px) { .acc-layout [data-copy-vin] { min-height: 32px; } }
.acc-nav__out { margin-top: 6px; padding-top: 8px; }
.acc-cluster__label, .acc-cluster__row, .acc-cluster__plan { font-size: 12px; }
/* 1A.3: at the site width the orders panel takes the whole work area (no squeezed columns, no inner scroll); Notifications and Community sit
   below it side by side (stacked on phones) */
.acc-lower { grid-template-columns: minmax(0, 1fr); }
.acc-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.acc-orow__title { min-width: 160px; }
@media (max-width: 1100px) { .acc-orow__title { min-width: 110px; } .acc-layout .acc-orders__table td, .acc-layout .acc-orders__table th { padding: 8px 7px; } }

/* A3: the Workspace wallet tables are also shown inside the Personal Account - the same screen-reader-only label */
.ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.acc-ws .ws-table-wrap { position: relative; }   /* A3: same anchor inside the Personal Account */
.acc-table { position: relative; }   /* PL-14 (OWNER 2026-11-18): hidden column labels stay inside the table scroll area (no page-wide sideways scroll on phones) */

/* PL-17 (OWNER 2026-11-18, mobile performance): the browser lays out a service card / a home section below the hero only when it comes
   near the screen (content-visibility: auto). Nothing changes visually; the estimated height keeps the scrollbar stable until then. */
.card { content-visibility: auto; contain-intrinsic-size: auto 560px; }
.stage ~ section { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* PL-17: a visit or in-page jump to an anchor (#category, #service-N) lays everything out at once, so the target lands exactly where it
   did before (an estimated height above it would move it). */
html:has(:target) .card, html:has(:target) .stage ~ section { content-visibility: visible; }

/* ==== PREMIUM VISUAL DESIGN 1.0 (OWNER 2026-11-18) - PROPOSALS P1-P8, isolated stand only. Existing tokens / fonts / photos, no new colour,
   no library; each block can be accepted or dropped on its own. Hover motion only on devices with a real hover and without reduced motion. */

/* P1 Service cards - refine the approved bimmergate.com card (same structure, red price, DETAILS / ORDER kept): readable eyebrow,
   calmer title rhythm, AA grey text, a real ORDER button, tabular price, a quiet lift on hover. */
.card__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .09em; margin-bottom: 8px; }
.card h3, .cards--popular .card h3 { font-size: 20px; font-weight: 700; line-height: 1.22; letter-spacing: -.2px; }
.card__summary { font-size: 15px; line-height: 1.5; color: var(--steel); }
.card__compat { font-size: 12px; color: var(--steel); }
.card__format { font-size: 12px; color: var(--ink); }
.card__details { font-size: 11.5px; letter-spacing: .7px; margin: 12px 0 14px; }
.card__foot { align-items: center; padding-top: 16px; border-top-color: var(--line); }
.card .price { font-family: var(--card-font); font-size: 19px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.card__order { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 1px solid var(--ink); border-radius: 980px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; }
.card__order:hover { background: var(--ink); color: var(--white); }
.card__order.card__order--off { min-height: 0; padding: 0; border: 0; }
.card__badge { letter-spacing: .06em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
  .card__order { transition: background-color .2s var(--ease), color .2s var(--ease); }
  .card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(13, 22, 33, .1); }
  .card__media img { transition: transform .6s var(--ease); }
  .card:hover .card__media img { transform: scale(1.025); }
}

/* P2 Catalogue - group titles no longer louder than the services: smaller, tighter, a hairline opens each group, the count as a quiet tag. */
.group { padding-bottom: 56px; }
.group__head { align-items: center; margin-bottom: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.group__head h2 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-stretch: 88%; letter-spacing: .005em; }
.group__head span { padding: 3px 10px; border-radius: 980px; background: var(--mist); color: var(--steel); font-size: 12.5px; font-weight: 500; }

/* P3 Home - the three promises (Fast service ...) become one finished band with check marks instead of loose text. */
.features--plain { gap: 0; padding: 18px 0; border-block: 1px solid var(--line); }
.features--plain li { position: relative; padding: 6px 0 6px 30px; }
.features--plain li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 6px; margin-top: -5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.features--plain strong { font-weight: 560; }

/* P4 Home - "How it works": numbered steps on one line with a hairline between them (desktop), quiet circles instead of loose blue digits. */
.process { gap: 28px 20px; }
.process li { position: relative; font-weight: 560; color: var(--ink); }
.process span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); font-size: 1.125rem; font-stretch: 100%; font-weight: 640; color: var(--accent); }
@media (min-width: 900px) { .process li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -8px; height: 1px; background: var(--line); } }

/* P5 Home - client portal cards show they are links (arrow, accent on hover, quiet lift). */
.features:not(.features--plain) li { transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.features:not(.features--plain) li:has(> a) { padding: 0; }
.features li > a { position: relative; padding: 22px 52px 22px 22px; }
.features li > a::after { content: "\2192"; position: absolute; right: 22px; top: 22px; color: var(--accent); font-size: 1.125rem; transition: transform .2s var(--ease); }
.features:not(.features--plain) li:has(> a:hover) { border-color: rgba(10, 95, 214, .34); box-shadow: 0 16px 40px rgba(13, 22, 33, .08); }
@media (prefers-reduced-motion: no-preference) { .features li > a:hover::after { transform: translateX(4px); } }

/* P6 Home - steadier rhythm: the same vertical step between sections, section titles with one clear size. */
.popular { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.section--tight { padding-block: clamp(20px, 3vw, 36px); }
.section__head h2, .popular__head h2 { letter-spacing: -.02em; }

/* P7 DETAILS - calmer purchase panel: larger tabular price, secondary buttons with a hairline instead of a black frame, photo framed
   like the cards, section titles with a little more air. */
.detail__category { letter-spacing: .08em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.detail__cover img { border: 1px solid var(--line); background: var(--white); }
.buybox { gap: 12px; padding: 24px; border-radius: 24px; box-shadow: 0 18px 45px rgba(0, 0, 0, .06); }
.buybox .price--large { font-variant-numeric: tabular-nums; }
.buybox .button--quiet { border-color: var(--line); background: var(--white); }
.buybox .button--quiet:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }
.detail__main { gap: 36px; }
.detail__main h2 { margin-bottom: 12px; }

/* P8 Phone - more generous card padding rhythm and a full-width ORDER tap target on very small screens. */
@media (max-width: 700px) {
  .card__body { padding: 18px 18px 20px; }
  .card h3, .cards--popular .card h3 { font-size: 19px; }
  .group__head { padding-top: 18px; }
}
/* RU95 (OWNER 2026-11-18): hero slides 2..n are laid out only when they come near the screen, so a font arriving after the first paint
   re-lays out ONE slide instead of all (two font files on RU pages = two such passes). The slide size comes from the track (flex 100%, fixed height). */
.slide + .slide { content-visibility: auto; contain-intrinsic-size: auto 100vw auto 600px; }
/* Stage 2.VA (OWNER 2026-11-19, VA-F1 / VA-F2): header sign-in group as on bimmergate.com - LOGIN = outlined pill, REGISTER = filled pill,
   after sign-in one MY ACCOUNT pill with a user icon. Existing .button / .button--quiet / .button--small only (no new colour). Desktop: right of
   the search on the first header row; up to 1199 px: between the logo and the menu button; phones: REGISTER moves out (the sign-in page links
   to it) and MY ACCOUNT shows the icon only (the label stays for screen readers). */
.hdr-auth { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hdr-auth .button { min-height: 38px; padding: 6px 16px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hdr-auth__account { gap: 8px; }
.hdr-auth__icon { flex: 0 0 auto; }
@media (max-width: 1199.98px) {
  .hdr-auth { margin-left: auto; }
  .site-header__row > .menu-toggle { margin-left: 0; }
}
@media (max-width: 600px) {
  .hdr-auth__register { display: none; }
  .hdr-auth .button { padding: 6px 12px; }
  .hdr-auth__account { width: 44px; min-height: 44px; padding: 0; }
  .hdr-auth__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 420px) {   /* 2.VA: logo + LOGIN + menu button stay on one row on small phones (also with the longer Armenian labels) */
  .site-header__row { column-gap: 8px; }
  .hdr-auth .button { padding: 6px 10px; letter-spacing: 0; }
  .site-header__row > .menu-toggle { padding: 6px 10px; }
}
/* STAGE 2.B8 B8-01 (OWNER 19.11): service bar titles never cut - also for longer RU / HY names and names changed later in Website Admin.
   Tablets (761-1099 px, 4 whole tiles per row as F-B): icon above the title like on phones, so the title gets the whole tile width;
   a word longer than the tile breaks only when it cannot fit (break-word, never 'anywhere'); 'All' sheet unchanged. */
@media (min-width: 761px) and (max-width: 1099px) {
  body.has-sbar { padding-bottom: 86px; }
  .sbar__item { flex-direction: column; justify-content: center; gap: 3px; height: 70px; padding: 4px 6px; text-align: center; }
  .sbar__icon { width: 28px; height: 28px; }
  .sbar__icon svg { width: 18px; height: 18px; }
  .sbar__more summary { height: 70px; }
}
.sbar__item .sbar__title { overflow-wrap: break-word; max-width: 100%; }
@media (max-width: 1099px) { .sbar__item .sbar__text { align-self: stretch; min-width: 0; } }   /* stacked tiles: the title takes the tile width (break-word can act) */
@media (max-width: 760px) { .sbar__item { padding-inline: 2px; } }   /* phones: the longest RU word ("Навигационные", 83.6 px) fits whole at 360 px */
@media (max-width: 400px) { .sbar__item .sbar__title { letter-spacing: -.01em; } }
/* STAGE 2.B8 (OWNER 19.11, Armenian text length): long Armenian words (e.g. "համապատասխանության", 18-21 letters) were split inside the word in
   service titles. Armenian pages only (EN / RU unchanged): card titles 19 px (the size the design already uses on smaller screens), service
   page title on phones 1.625rem - the longest word fits whole; overflow-wrap stays as the last safety for codes / VINs. */
:lang(hy) .card h3, :lang(hy) .cards--popular .card h3 { font-size: 19px; }
@media (max-width: 480px) { :lang(hy) .detail__head h1 { font-size: 1.625rem; } }

/* OWNER 22.11 PHOTO PROTECTION: public photos / videos in the page content (cards, DETAILS, galleries, lightbox, banners, home videos) cannot be
   dragged out and get no long-press save menu on iOS. Logo / navigation (header, bottom bar) and the File Services work tools (.ws) are excluded.
   Ordinary saving only - not an absolute protection (developer tools, direct file address, screenshots stay possible). */
main :is(img, video):not(.ws *) { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* FIX1 010 (OWNER 24.11, Head Unit Codes in Armenian): (1) the Armenian menu (7 items, 1033 px) was 1 px wider than its row from 1200 px, so
   'Downloads' wrapped to a second line and the sticky header grew from 97 to 143 px. Armenian pages only: the same 10 px -> 7 px item padding and
   the existing small UI size (--step--1) keep it on one line (EN / RU unchanged). (2) In-page jumps / focus never land under the sticky header
   (97-103 px; the old 76 px was shorter than the header) or the fixed service bar (.sbar, up to 86 px). */
html { scroll-padding-top: 112px; scroll-padding-bottom: 96px; }
@media (min-width: 1200px) {
  :lang(hy) .site-nav > ul > li > a, :lang(hy) .site-nav > ul summary { padding-inline: 7px; font-size: var(--step--1); }
}
/* FIX1-V (visual audit 24.11, no redesign): (1) a long word in a hero slide title (Armenian 'համապատասխանում', 709 px at 1440 / 380 px at
   390 px) ran out of the 16ch text column and was cut at the right screen edge on phones - it now breaks inside the column (EN / RU titles fit
   and are unchanged). (2) Home / About category tiles on phones (2 columns, ~129 px text width): long upper-case words ('МУЛЬТИМЕДИА',
   'ИММОБИЛАЙЗЕР', 'ԾԱՌԱՅՈՒԹՅՈՒՆՆԵՐ', 'PROGRAMMING') were clipped by the tile - slightly smaller title + inset on narrow phones and a break
   inside the tile as the last resort. (3) Service cards in 3 columns around 1024 px: 'Price on request' (RU / HY) + ORDER did not fit, the
   ORDER button was pushed 16 px past the card padding - the request label may now wrap to two lines. */
.slide__text h1, .slide__text h2 { overflow-wrap: break-word; }
.mosaic__text { grid-template-columns: minmax(0, 1fr); }
.mosaic strong { min-width: 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 520px) {
  .mosaic__text { left: 14px; right: 14px; bottom: 14px; }
  .mosaic strong { font-size: var(--step-0); line-height: 1.15; }
}
.card .card__foot .price--request { flex: 0 1 auto; min-width: 0; white-space: normal; }

/* FINAL FIXES (OWNER 26.11, CONS-02 findings): layout only, no content / function change.
   1) Personal Account main column: its blocks may shrink, so a wide table (My codes, orders) scrolls inside its own .acc-table box instead of
      widening the page (1440 +3 px, landscape phones). 2) PL-58: long file names without spaces wrap in the order file lists. */
.acc-main > * { min-width: 0; }
.acc-body { grid-template-columns: minmax(0, 1fr); } .acc-body > * { min-width: 0; }   /* ACC-MOBILE rule at every width (landscape phones 932 px) */
.acc-list li { min-width: 0; overflow-wrap: anywhere; }

/* R5 (OWNER 30.11): Downloads catalog - one compact line per file, subsections, search, pages, details, share. Site tokens only. */
.nav-dl__subs { margin-top: -6px; }
.dl-find { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.dl-find .dl-find__q { flex: 1 1 280px; width: auto; min-width: 0; }
.dl-find select { flex: 0 1 220px; width: auto; min-width: 0; }
.dl-found { color: var(--steel); margin: 0 0 12px; }
.dl-list { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.dl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 16px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.dl-row:first-child { border-top: 0; }
.dl-row__main { min-width: 0; }
.dl-row__title { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.dl-row__title:hover, .dl-row__title:focus-visible { color: var(--accent); text-decoration: underline; }
.dl-row__facts { margin: 2px 0 0; color: var(--steel); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dl-row__more { margin-top: 2px; }
.dl-row__more > summary { display: inline-block; cursor: pointer; color: var(--accent); font-size: var(--step--1); padding: 2px 0; }
.dl-row__text { margin-top: 8px; padding: 12px 14px; border-radius: 10px; background: var(--mist); font-size: var(--step--1); }
.dl-row__text p { margin: 0 0 8px; }
.dl-row__price { white-space: nowrap; text-align: right; }
.dl-row__price .price, .dl-item__buy .price { font-size: 1.0625rem; font-weight: 700; color: #C8102E; font-stretch: 82%; font-variant-numeric: tabular-nums; }
.dl-row__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.dl-row__actions form { margin: 0; }
.dl-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0; }
.dl-facts dt { color: var(--steel); }
.dl-facts dd { margin: 0; overflow-wrap: anywhere; }
.dl-share { position: relative; }
.dl-share > summary { list-style: none; }
.dl-share > summary::-webkit-details-marker { display: none; }
.dl-share__panel { position: absolute; z-index: 5; right: 0; top: calc(100% + 6px); width: min(320px, 86vw); padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 18px 45px rgba(0, 0, 0, .07); }
.dl-share .dl-share__url { min-height: 40px; margin: 4px 0 8px; font-size: var(--step--1); }
.dl-share__acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.dl-pager { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin: 8px 0 24px; }
.dl-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 28px; align-items: start; margin-bottom: 24px; }
.dl-item__buy { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.dl-item__buy .dl-share__panel { position: static; width: auto; margin-top: 8px; box-shadow: none; }
.dl-crumbs { margin: 0 0 8px; color: var(--steel); }
@media (max-width: 700px) {
  .dl-find select { flex: 1 1 140px; }
  .dl-row { grid-template-columns: minmax(0, 1fr) auto; padding: 12px; }
  .dl-row__actions { grid-column: 1 / -1; justify-content: flex-start; }
  .dl-row__actions .button { min-height: 44px; }
  .dl-share__panel { position: fixed; left: 12px; right: 12px; top: auto; bottom: 88px; width: auto; }
  .dl-item { grid-template-columns: 1fr; gap: 16px; }
}
/* LIVE ACCEPTANCE FIX 11 (OWNER 02.12): payment method cards of Add Funds - equal columns, aligned content, long e-mails / account numbers /
   wallet addresses / links wrap inside the card (no sideways scroll), the top-up form sits at the bottom of every card */
.acc-ws .ws-grid > * { min-width: 0; }
.acc-ws .ws-paycard { display: flex; flex-direction: column; gap: 8px; }
.acc-ws .ws-paycard > p, .acc-ws .ws-paycard > dl { margin: 0; }
.acc-ws .ws-paycard > form { margin-top: auto; }
.acc-ws .ws-paycard .pre-line, .acc-ws .ws-paycard a, .acc-ws .ws-paycard code { overflow-wrap: anywhere; }
.acc-ws .ws-paycard input { max-width: 100%; }
.acc-ws .ws-dl { display: grid; gap: 6px; }
.acc-ws .ws-dl dt { color: var(--steel); font-size: var(--step--1); }
.acc-ws .ws-dl dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.acc-ws .ws-dl code { min-width: 0; word-break: break-all; }
.acc-ws .ws-paylink { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-ws .btn.ws-copy { min-height: 32px; padding: 4px 12px; }
/* LIVE ACCEPTANCE FIX 12 (OWNER 02.12): Personal Account menu + notification indicators.
   (1) The menu was sticky with max-height: 100vh - 92px and its own hidden scroll: on a 768 / 800 px high screen the lower items (Support,
   Profile, Sign out) were cut and the bottom service bar covered them. It now scrolls with the page; it stays sticky only where it fits.
   (2) Header MY ACCOUNT indicator = the number of unread notifications (hidden at 0, never for visitors). */
.acc-rail, .has-sbar .acc-rail { position: static; max-height: none; overflow: visible; }
@media (min-width: 901px) and (min-height: 960px) { .acc-rail, .has-sbar .acc-rail { position: sticky; top: 76px; } }
/* FINAL ACCOUNT (OWNER 02.12): a sticky menu taller than the screen (long RU / HY labels, Profile sub-menu open) keeps every item reachable -
   it scrolls inside itself only then (no hidden cut, never under the bottom service bar); shorter menus are unchanged */
@media (min-width: 901px) and (min-height: 960px) { .acc-rail { max-height: calc(100vh - 92px); overflow-y: auto; } .has-sbar .acc-rail { max-height: calc(100vh - 168px); } }
.acc-rail .acc-nav a > span:not(.acc-badge) { min-width: 0; overflow-wrap: anywhere; }
.acc-rail .acc-badge { flex: none; }
.hdr-auth__account { position: relative; }
.hdr-auth__count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 980px;
  background: var(--accent); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: 0; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .hdr-auth__count { position: absolute; top: -4px; right: -4px; } }
.acc-notes__all { margin: 0; }
.acc-notes__all .link-button { font-size: var(--step--1); }
/* FIX 12 (5): order numbers / request ids, amounts and column titles of the account tables stay on one line (the table region scrolls on
   narrow screens as before); long texts in the other cells keep wrapping */
.acc-ws td.mono, .acc-ws td.num, .acc-ws th { white-space: nowrap; overflow-wrap: normal; }
/* OWNER 02.12.2026 approved micro-interactions (5): button press, Copy -> Copied, unread count appearing, menu opening, the indicator of a form
   that is REALLY being sent. Short, transform / opacity only, nothing faked; all off for prefers-reduced-motion. */
.button, .acc-ws .btn { transition: background-color .2s, border-color .2s, color .2s, filter .2s, transform .12s var(--ease); }
.button:active:not(:disabled), .acc-ws .btn:active:not(:disabled) { transform: scale(.97); }
[data-copy-link].is-copied { background: var(--verified); border-color: var(--verified); color: var(--white); animation: bg-pop .18s var(--ease); }
/* PL-67 (02.12): the count animates only when it CHANGES in place (site.js .is-bumped), never on page load / navigation / language switch */
.acc-badge.is-bumped, .hdr-auth__count.is-bumped { animation: bg-pop .18s var(--ease); }
.acc-navbar.is-ready .acc-nav.is-open { animation: bg-menu .16s var(--ease); }
.button.is-busy, .acc-ws .btn.is-busy { cursor: progress; }
.button.is-busy::after, .acc-ws .btn.is-busy::after { content: ""; width: 12px; height: 12px; margin-inline-start: 8px; border: 2px solid currentColor;
  border-right-color: transparent; border-radius: 50%; animation: bg-spin .7s linear infinite; }
@keyframes bg-pop { from { opacity: .4; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes bg-menu { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes bg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .button, .acc-ws .btn { transition: background-color .2s, border-color .2s, color .2s, filter .2s; }
  .button:active:not(:disabled), .acc-ws .btn:active:not(:disabled) { transform: none; }
  [data-copy-link].is-copied, .acc-badge.is-bumped, .hdr-auth__count.is-bumped, .acc-navbar.is-ready .acc-nav.is-open { animation: none; }
  .button.is-busy::after, .acc-ws .btn.is-busy::after { animation: none; border-right-color: currentColor; opacity: .6; }
}
/* FIX 13 (OWNER 02.12, AGENT 04): the ONE Feature Installer Download button under the head-unit cards of /account/head-unit-order (in the flow of
   the head-unit panel only - the other blocks keep their sizes and places; the hu3 grid aligns its panels to the start). */
.hu3-fi { margin: 10px 0 0; }
.hu3-fi__btn { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.hu3-fi__btn svg { width: 16px; height: 16px; flex: none; }
