/* cyrillic-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ubuntu/4iCs6KVjbNBYlgoKcg72j00.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ubuntu/4iCs6KVjbNBYlgoKew72j00.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ubuntu/4iCs6KVjbNBYlgoKcw72j00.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ubuntu/4iCs6KVjbNBYlgoKfA72j00.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ubuntu/4iCs6KVjbNBYlgoKcQ72j00.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/ubuntu/4iCs6KVjbNBYlgoKfw72.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCjC3jvWyNL4U.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCjC3jtGyNL4U.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCjC3jvGyNL4U.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCjC3js2yNL4U.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCjC3jvmyNL4U.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCjC3jsGyN.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCxCvjvWyNL4U.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCxCvjtGyNL4U.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCxCvjvGyNL4U.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCxCvjs2yNL4U.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCxCvjvmyNL4U.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/ubuntu/4iCv6KVjbNBYlgoCxCvjsGyN.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Interface typography inspired by the supplied references. */
.tuning-extras { padding-bottom: 48px; }
.detail-layout > article { min-width: 0; width: 100%; }
.extras-table { width: 100%; border-collapse: collapse; border: 1px solid #dde3ec; font-size: 15px; line-height: 1.6; }
.extras-table th, .extras-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid #dde3ec; }
.extras-table thead { background: #f2f5f9; }
.extras-table th { font-weight: 500; }
.extras-table tbody th { width: 35%; }
.extras-table td:nth-child(2) { color: #657080; }
.extras-table td:last-child { width: 66px; text-align: center; }
.extras-table input[type=checkbox] { width: 22px; height: 22px; cursor: pointer; vertical-align: middle; }
.extras-table label { cursor: pointer; }
.extras-table tr:has(input:checked) { background: #f0f6ff; }
.extras-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 24px; }
.extras-footer p { font-size: 14px; color: #657080; max-width: 760px; }
.extras-footer .button { flex-shrink: 0; }
.request-details { white-space: pre-line; font-size: 14px; color: #657080; }
.admin-table td { white-space: pre-line; }
@media(max-width:720px) {
 .extras-table thead { display: none; }
 .extras-table, .extras-table tbody { display: block; }
 .extras-table tr { display: grid; grid-template-columns: minmax(0,1fr) 48px; padding: 16px; gap: 6px 10px; border-bottom: 1px solid #dde3ec; }
 .extras-table th, .extras-table td { padding: 0; border: 0; }
 .extras-table tbody th { width: auto; }
 .extras-table td:nth-child(2) { grid-column: 1; font-size: 14px; }
 .extras-table td:last-child { grid-column: 2; grid-row: 1 / 3; width: auto; align-self: center; }
 .extras-footer { align-items: stretch; flex-direction: column; gap: 12px; }
}
.online-request { border: 1px solid #dde3ec; border-radius: 12px; padding: 28px; margin-bottom: 40px; background: #fff; }
.online-request h2 { margin: 10px 0 14px; }
.field-help, .card-body .field-help { display: block; font-size: 14px; line-height: 1.65; color: #657080; font-weight: 400; margin: 8px 0 0; }
.field-optional { color: #657080; font-weight: 400; }
.request-source { min-width: 0; padding: 18px; border: 1px solid #dde3ec; border-radius: 8px; margin: 24px 0; }
.request-source legend { padding: 0 8px; font-size: 16px; font-weight: 500; }
.form-source-switch { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.form-source-switch label { margin: 0; }
.form-source-switch input[type=radio] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: #1665e8; }
.form-notice, .form-scope { padding: 16px 18px; background: #f1f6fd; border-left: 3px solid #1665e8; border-radius: 4px; font-size: 14px; line-height: 1.6; }
.file-summary, .card-body .file-summary { font-size: 13px; overflow-wrap: anywhere; color: #315783; margin: 12px 0; }
.online-request input[type=file] { width: 100%; min-width: 0; }
@media(max-width:720px) {
  .online-request { padding: 20px; margin-left: -20px; margin-right: -20px; }
  .request-source { padding: 14px; }
  .online-request .form-grid { display: block; }
}
:root {
  --font-ui: "Ubuntu", "Segoe UI", Arial, sans-serif;
  --font-data: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --muted: #657080;
}
body {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font-family: var(--font-ui); }
h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.18; }
h2, .workshop-content h2 { font-size: clamp(26px, 2.4vw, 30px); line-height: 1.3; }
h3 { font-size: 20px; line-height: 1.35; }
b, strong { font-weight: 500; }
.brand { font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.topbar { font-size: 12px; letter-spacing: .015em; }
.nav nav { font-size: 14px; font-weight: 400; gap: 20px; align-items: center; }
.nav { gap: 20px; }
.nav .brand-logo { display: block; width: clamp(132px, 14vw, 186px); height: auto; }
.nav-account-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-account-actions #account-logout {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border-radius: 8px; color: #475569; cursor: pointer;
}
#account-logout svg { pointer-events: none; }
.nav-account-actions #account-logout:hover { background: #eef4ff; color: var(--blue); }
.nav-account-actions #account-logout:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nav #primary-nav > a, .nav-group > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.4;
  white-space: nowrap;
}
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 44px;
  padding: 0;
  font-size: 0;
}
.submenu-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.submenu { min-width: 290px; padding: 10px; }
.submenu a { font-size: 14px; line-height: 1.45; padding: 11px 12px; }
.admin-shortcut { font-size: 13px; }
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .09em;
}
.hero h1 { font-size: clamp(36px, 4.2vw, 50px); line-height: 1.16; letter-spacing: -.025em; }
.hero p { font-size: 18px; line-height: 1.65; max-width: 560px; }
.hero-link { font-size: 15px; font-weight: 500; }
.hero-note { font-size: 13px; line-height: 1.5; }
.hero-caption { font-size: 10px; letter-spacing: .1em; }
.button, .outline, .text-button {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 7px;
}
.button { min-height: 48px; padding: 13px 22px; gap: 18px; }
.outline { min-height: 44px; padding: 10px 16px; }
.nav .outline { font-size: 14px; padding: 10px 16px; }
.benefits b { font-size: 15px; font-weight: 500; line-height: 1.4; }
.benefits small { font-size: 13px; line-height: 1.5; margin-top: 4px; }
.section-heading p { font-size: 15px; line-height: 1.6; max-width: 420px; }
.filters { gap: 6px; }
.filters button { font-size: 14px; font-weight: 500; line-height: 1.4; padding: 10px 14px; border-radius: 7px; }
.filters sup { font-size: 11px; }
.search { max-width: 205px; }
.search input { font-size: 15px; line-height: 1.5; }
.service-card { display: flex; flex-direction: column; border-radius: 9px; }
.service-card .card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-body h3 { font-size: 21px; font-weight: 500; letter-spacing: -.015em; line-height: 1.35; margin-bottom: 12px; }
.card-body p { font-size: 15px; line-height: 1.65; min-height: 0; }
.service-card .card-body p { flex: 1; }
.card-bottom { margin-top: auto; align-items: center; }
.price { font-size: 14px; font-weight: 500; line-height: 1.45; }
.card-button { width: 38px; height: 38px; flex-shrink: 0; }
.card-number { font-family: var(--font-data); font-size: 12px; }
.image-tag { font-size: 11px; font-weight: 500; letter-spacing: .025em; }
.workshop-content > p, details p, .steps p { font-size: 15px; line-height: 1.7; }
summary { font-size: 16px; font-weight: 500; line-height: 1.45; gap: 18px; }
.text-link { font-size: 14px; font-weight: 500; line-height: 1.5; }
.steps h3 { font-size: 21px; font-weight: 500; }
.steps article > span { font-family: var(--font-data); font-size: 13px; }
.contact-strip h2 { font-size: 28px; }
.contact-strip p { font-size: 15px; line-height: 1.6; }
.site-footer-background { background: #f2f5f9; }
footer p, footer small, .footer-links { font-size: 13px; line-height: 1.65; }
.footer-links { gap: 10px; }
.seo-breadcrumbs, .breadcrumb { font-size: 13px; line-height: 1.5; font-weight: 400; }
.seo-breadcrumbs { padding-top: 18px; padding-bottom: 18px; }
.detail-hero { height: auto; min-height: 420px; }
.detail-hero .wrap { padding-top: 54px; padding-bottom: 58px; }
@media (min-width: 1001px) {
  .detail-hero { display: grid; align-items: center; min-height: min(420px, var(--detail-hero-height, 600px)); }
  .detail-hero > img { inset: 0; }
  .detail-hero > .wrap { width: 100%; margin-block: 0; padding-block: 18px; }
  .detail-hero .breadcrumb { margin-bottom: 12px; }
  .detail-hero h1 { margin-block: 12px; }
  .detail-hero p { margin-bottom: 16px; }
  .detail-hero .wrap > :last-child { margin-bottom: 0; }
}
.detail-hero h1, .tuning-detail h1 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.2; letter-spacing: -.025em; max-width: 800px; }
.detail-hero p { font-size: 17px; line-height: 1.65; max-width: 720px; }
.lead { font-size: 17px; line-height: 1.75; }
.service-chapter h2, .service-chapter h3 { font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; }
.service-chapter p { font-size: 15px; line-height: 1.75; }
.service-chapter > span { font-family: var(--font-data); font-size: 13px; }
.result-callout h3 { font-size: 20px; }
.result-callout p { font-size: 16px; line-height: 1.65; }
.price-aside { border-radius: 9px; }
.price-aside h2 { font-size: 28px; line-height: 1.3; font-weight: 500; }
.price-aside p { font-size: 14px; line-height: 1.65; }
.price-aside small, .source-note { font-size: 13px; line-height: 1.6; }
.request-box { border-radius: 9px; }
.request-box > p { font-size: 15px; line-height: 1.65; }
.tuning-heading h1, .gearbox-empty h1, .admin-title { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.2; letter-spacing: -.025em; }
.tuning-heading > p { font-size: 16px; }
.vin-section h2 { font-size: 26px; line-height: 1.3; }
.vin-section p { font-size: 14px; line-height: 1.65; }
.vin-input-row input, input[name=vin], #vin-input, #login-code {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.brand-choice h2 { font-size: 38px; font-weight: 500; }
.brand-choice p { font-size: 15px; }
.model-chips { gap: 8px; }
.model-chips a { font-size: 14px; line-height: 1.4; padding: 8px 14px; border-radius: 6px; }
.tuning-filters select { font-size: 16px; height: 48px; }
.tuning-card { border-radius: 9px; }
.tuning-card-top { font-size: 12px; line-height: 1.4; letter-spacing: .025em; gap: 10px; }
.tuning-card h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.tuning-card > p { font-size: 15px; line-height: 1.5; min-height: 45px; }
.power-change span, .power-change strong { font-size: 32px; letter-spacing: -.035em; font-weight: 500; }
.power-change small { font-size: 12px; line-height: 1.4; }
.tuning-card-bottom > span { font-size: 18px; font-weight: 500; line-height: 1.4; }
.tuning-card-bottom small { font-size: 12px; line-height: 1.5; }
.tuning-card-bottom a { font-size: 14px; white-space: nowrap; }
.pagination { font-size: 14px; line-height: 1.4; }
.stage-badge { font-size: 12px; font-weight: 500; letter-spacing: .065em; padding: 6px 10px; }
.stage-switch a { font-size: 14px; font-weight: 500; border-radius: 6px; }
.spec-table { font-size: 15px; line-height: 1.5; }
.spec-table thead { font-size: 13px; }
.spec-table th { font-weight: 500; }
.spec-table tbody td:nth-child(3) { font-size: 18px; font-weight: 500; }
.vin-match h3 { font-size: 18px; font-weight: 500; }
.vin-match small { font-size: 13px; line-height: 1.6; }
.muted { font-size: 14px; line-height: 1.6; }
.order { border-radius: 9px; }
.order h3 { font-size: 20px; line-height: 1.35; font-weight: 500; }
.order small { font-size: 13px; line-height: 1.6; }
.order-actions button, .order-actions a { font-size: 14px; min-height: 44px; }
.status { font-size: 13px; font-weight: 500; }
dialog { max-width: 600px; padding: 36px; border: 1px solid #dde3ec; border-radius: 12px; }
dialog h2 { font-size: 28px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; margin: 12px 0; }
dialog > p { font-size: 15px; line-height: 1.65; }
.close { width: 40px; height: 40px; font-size: 27px; line-height: 1; }
form label { font-size: 14px; line-height: 1.5; font-weight: 500; }
form input:not([type=checkbox]), form select, form textarea {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  border-radius: 7px;
  padding: 11px 13px;
  min-height: 48px;
}
form textarea { line-height: 1.65; }
form input[name=vin], #vin-input, #login-code { font-family: var(--font-data); }
form textarea[name=request_json] { font-family: var(--font-data); font-size: 14px; }
form input[type=file] { font-size: 14px; padding: 14px; }
input::file-selector-button { font-family: var(--font-ui); font-size: 14px; font-weight: 500; padding: 9px 12px; border-radius: 5px; }
input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; }
.form-message { font-size: 14px; line-height: 1.6; }
.form-message:empty { display: none; }
#service-submit { margin-top: 20px; }
.service-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.service-form-actions #service-submit { margin-top: 0; }
.service-form-actions > a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
.related-online-services > h2 { margin-bottom: 24px; }
#vin-choice-dialog { width: calc(90% - 36px); max-width: 1180px; max-height: 90dvh; padding: 0; overflow: auto; border-radius: 14px; box-shadow: 0 24px 80px #09182d33; }
.vin-choice-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-bottom: 1px solid #dde3ec; }
.vin-choice-eyebrow { color: #697486; font-size: 11px; font-weight: 500; letter-spacing: .11em; }
#vin-choice-dialog h2 { margin: 8px 0 0; padding: 0; font-size: 28px; line-height: 1.25; }
#vin-choice-dialog .close { position: static; flex-shrink: 0; width: 40px; height: 40px; border-radius: 8px; color: #697486; }
#vin-choice-dialog .close:hover { background: #edf2f8; }
.vin-choice-content { padding: 24px 32px 30px; }
#vin-choice-help { margin: 0 0 20px; color: #697486; font-size: 14px; line-height: 1.6; }
.vin-choice-list { border: 1px solid #dce3ec; border-radius: 10px; overflow: hidden; }
.vin-choice-table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.45; }
.vin-choice-table [hidden] { display: none !important; }
.vin-choice-table th { padding: 18px 12px; text-align: left; background: #596473; color: #fff; font-size: 12px; font-weight: 500; border: 0; }
.vin-choice-table th:first-child { width: 150px; text-align: center; }
.vin-choice-sort { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; }
.vin-choice-sort > [aria-hidden] { opacity: .65; font-size: 16px; }
.vin-choice-table th[aria-sort="ascending"], .vin-choice-table th[aria-sort="descending"] { background: #455469; }
.vin-choice-table td { padding: 24px 12px; border: 0; border-bottom: 1px solid #dde3ec; vertical-align: middle; text-align: left; }
.vin-choice-table tbody tr:last-child td { border-bottom: 0; }
.vin-choice-table tbody tr { cursor: pointer; background: #fff; }
.vin-choice-table tbody tr:nth-child(even) { background: #f4f7fb; }
.vin-choice-table tbody tr:hover, .vin-choice-table tbody tr:focus-within { background: #eaf2ff; }
.vin-choice-photo img { display: block; width: 140px; height: 80px; margin: 0 auto; object-fit: contain; border-radius: 12px; }
/* COSY Motorrad's 960x640 source occupies x=50..590 in the 640x360
   preview. Round that visible rectangle, not the transparent side padding. */
#vehicle-profile .ap-card-heading img[src*="vin=WB1"],
#vehicle-profile .ap-photo[src*="vin=WB1"] { clip-path: inset(0 7.8125% round 16px); }
#history-list .history-preview[src*="vin=WB1"],
.vin-choice-photo img[src*="vin=WB1"] { clip-path: inset(0 7.8125% round 12px); }
.vin-choice-photo small { display: block; margin-top: 6px; color: #8a96a6; font-size: 10px; text-align: center; }
.vin-choice-model { min-width: 130px; max-width: 190px; font-weight: 500; }
.vin-choice-model small { display: block; margin-top: 5px; color: #697486; font-size: 11px; font-weight: 400; }
.vin-choice-vin { white-space: nowrap; font-family: var(--font-data); font-size: 14px; letter-spacing: -.035em; }
.vin-choice-production_date, .vin-choice-delivery_date, .vin-choice-warranty_start { font-variant-numeric: tabular-nums; white-space: nowrap; }
.vin-choice-missing { color: #a0a9b5; }
.vin-choice-select { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #b8c7db; border-radius: 50%; color: #1665e8; background: #fff; font-size: 22px; }
.vin-choice-select:hover { background: #1665e8; color: #fff; border-color: #1665e8; }
.vin-choice-select-text { display: none; }
.vin-choice-action-heading .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vin-choice-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px; border-top: 1px solid #dde3ec; background: #fafbfd; }
#vin-choice-count { font-size: 12px; color: #697486; }
.vin-choice-footer .text-button { min-height: 40px; margin: 0; }
@media (max-width: 1050px) {
  #vin-choice-dialog { max-width: 640px; width: calc(100% - 24px); }
  .vin-choice-header { padding: 22px 20px; gap: 12px; align-items: flex-start; }
  #vin-choice-dialog h2 { font-size: 23px; }
  .vin-choice-content { padding: 20px; }
  .vin-choice-list { border: 0; overflow: visible; }
  .vin-choice-table, .vin-choice-table tbody { display: block; }
  .vin-choice-table thead { display: none; }
  .vin-choice-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 18px; border: 1px solid #dce3ec; border-radius: 10px; margin-bottom: 16px; }
  .vin-choice-table tbody tr:last-child { margin-bottom: 0; }
  .vin-choice-table td { display: block; padding: 0; border: 0; min-width: 0; max-width: none; font-size: 14px; }
  .vin-choice-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #697486; font: 11px/1.5 var(--font-ui); letter-spacing: 0; }
  .vin-choice-photo { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .vin-choice-series { grid-column: 2; grid-row: 1; }
  .vin-choice-model { grid-column: 2; grid-row: 1; }
  .vin-choice-delivery_date { grid-column: 2; grid-row: 2; }
  .vin-choice-no-photos .vin-choice-series { grid-column: 1; grid-row: 1; }
  .vin-choice-no-photos .vin-choice-model { grid-column: 1 / -1; grid-row: 1; }
  .vin-choice-vin, .vin-choice-action { grid-column: 1 / -1; }
  .vin-choice-vin { white-space: normal; overflow-wrap: anywhere; }
  .vin-choice-select { width: 100%; height: 42px; border-radius: 7px; gap: 14px; font-size: 18px; }
  .vin-choice-select-text { display: inline; font-size: 14px; font-weight: 500; }
  .vin-choice-footer { padding: 14px 20px; }
}
.form-message:not(:empty) {
  display: block;
  margin: 16px 0;
  padding: 14px 18px;
  border: 1px solid #f6d69a;
  border-left: 5px solid #e8890a;
  border-radius: 6px;
  background: #fff7df;
  color: #734609;
  overflow-wrap: anywhere;
}
.form-message[data-tone="error"] {
  border-color: #f1bbc4;
  border-left-color: #d52d48;
  background: #fff0f3;
  color: #922037;
}
.form-message[data-tone="success"], .form-message[data-tone="info"] {
  border-color: #c5d9f4;
  border-left-color: #2469d7;
  background: #edf5ff;
  color: #204b81;
}
.checkout-price { font-size: 30px; font-weight: 500; }
#toast { font-size: 15px; line-height: 1.5; }
.admin-table { font-size: 14px; line-height: 1.5; }
.admin-table th { font-size: 13px; font-weight: 500; }
.admin-table td, .admin-table th { padding: 14px 12px; }
.admin-inline-form { width: 210px; }
.admin-inline-form input:not([type=checkbox]), .admin-inline-form select { font-size: 14px; line-height: 1.4; min-height: 40px; padding: 9px; }
.admin-inline-form label, .admin-inline-form button { font-size: 13px; }
.admin-inline-form button { min-height: 40px; }
.spec-table, .admin-table, .power-change, .price, .price-aside h2,
.checkout-price, .tuning-card-bottom > span, .pagination { font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav nav { gap: 14px; font-size: 13px; }
  .nav .outline { font-size: 13px; padding: 10px 12px; }
  .catalog-toolbar { flex-wrap: wrap; }
  .service-card .card-body { padding: 20px; }
}
.nav #primary-nav > .mobile-home { display: none; }
@media (max-width: 1000px) {
  .nav > .brand { display: none; }
  .nav .mobile-nav-toggle {
    display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px;
    flex: none; min-height: 48px; min-width: 48px; margin: 0 auto 0 0; padding: 2px;
    color: inherit; background: transparent; border: 0; border-radius: 8px; cursor: pointer;
  }
  .mobile-nav-toggle img { display: block; }
  .mobile-nav-toggle::after {
    content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
    transform: translateY(-2px) rotate(45deg);
  }
  .mobile-nav-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .mobile-nav-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
  .nav #primary-nav > .mobile-home { display: inline-flex; }
  .nav #primary-nav { font-size: 15px; line-height: 1.5; }
  .submenu a { font-size: 14px; }
  .nav-group > a, .nav #primary-nav > a { padding: 11px 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar { font-size: 11px; letter-spacing: 0; }
  .topbar .wrap { gap: 12px; }
  .nav { gap: 8px; }
  .nav .brand { font-size: 13px; }
  .nav .outline { font-size: 12px; min-height: 42px; padding: 9px; white-space: nowrap; }
  .brand-mark { margin-right: 8px; }
  .mobile-nav-toggle { font-size: 12px !important; }
  .hero { min-height: 570px; }
  .hero h1 { font-size: 38px; letter-spacing: -.025em; }
  .hero p { font-size: 17px; line-height: 1.6; }
  .hero-note { font-size: 13px; }
  .eyebrow { font-size: 11px; letter-spacing: .075em; }
  h2, .workshop-content h2 { font-size: 27px; }
  .benefits { gap: 12px; }
  .benefits b { font-size: 13px; line-height: 1.4; }
  .benefits small { font-size: 12px; line-height: 1.45; }
  .section-heading p { font-size: 15px; }
  .filters { gap: 5px; }
  .filters button { font-size: 13px; padding: 10px 12px; }
  .search { max-width: none; }
  .search input { font-size: 16px; }
  .service-grid { gap: 16px; }
  .service-card .card-body { padding: 20px; }
  .card-body h3 { font-size: 20px; }
  .card-body p { font-size: 15px; min-height: 0; }
  .price { font-size: 14px; max-width: none; }
  .image-tag { font-size: 11px; padding: 4px 8px; }
  .contact-strip h2 { font-size: 26px; }
  .detail-hero { min-height: 360px; }
  .detail-hero .wrap { padding-top: 38px; padding-bottom: 42px; }
  .detail-hero h1, .tuning-detail h1 { font-size: 32px; line-height: 1.2; letter-spacing: -.025em; }
  .detail-hero p { font-size: 16px; line-height: 1.6; }
  .tuning-heading h1, .gearbox-empty h1, .admin-title { font-size: 32px; letter-spacing: -.025em; }
  .lead { font-size: 16px; }
  .service-chapter h2, .service-chapter h3 { font-size: 21px; }
  .service-chapter p { font-size: 15px; }
  .tuning-filters { gap: 14px; }
  .tuning-filters .button { font-size: 15px; }
  .tuning-card { padding: 20px; }
  .tuning-card h3 { font-size: 22px; }
  .tuning-card > p { font-size: 15px; }
  .tuning-card-top { font-size: 12px; gap: 10px; }
  .tuning-card-bottom > span { font-size: 18px; }
  .power-change span, .power-change strong { font-size: 32px; }
  .model-chips a { font-size: 13px; padding: 8px 12px; }
  dialog { padding: 30px 24px; max-height: 90dvh; }
  dialog h2 { font-size: 26px; padding-right: 12px; }
  .close { right: 10px; top: 8px; }
}
@media (max-width: 560px) {
  .service-grid, .tuning-grid { grid-template-columns: minmax(0, 1fr); }
  .service-image { height: 190px; }
  .tuning-card-bottom { flex-direction: row; align-items: center; }
  .tuning-card > p { min-height: 0; }
  .tuning-filters { grid-template-columns: minmax(0, 1fr); }
  .tuning-filters .button { width: 100%; }
  .seo-breadcrumbs { font-size: 12px; gap: 6px; }
  .pagination { gap: 14px; }
  .topbar .wrap { min-height: 34px; height: auto; padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 380px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .nav { gap: 6px; }
  .nav .brand { font-size: 11px; letter-spacing: -.6px; }
  .brand-mark { font-size: 20px; margin-right: 6px; }
  .nav .outline { font-size: 11px; padding: 9px 6px; }
  .mobile-nav-toggle { font-size: 11px !important; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
}

/* Keep login and resend actions separated, including narrow screens. */
#login-form .login-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin-top:16px}
#login-form .login-actions #resend{margin-left:auto;padding:10px 0;min-height:44px;text-align:right;max-width:100%}

/* Main chip-tuning page: shared internal-page hero styling. */
.detail-hero.tuning-catalog-hero { display: flex; align-items: center; height: 600px; min-height: 0; margin-bottom: 48px; }
.tuning-catalog-hero > img { object-position: center; }
.tuning-catalog-hero:after { background: linear-gradient(90deg,rgba(6,17,32,.88),rgba(6,17,32,.64) 45%,rgba(6,17,32,.16)); }
.detail-hero.tuning-catalog-hero > .wrap { width: 100%; padding-block: 48px; }
.tuning-catalog-hero .eyebrow { color: #b5d1ff; }
.detail-hero.tuning-catalog-hero h1 { font-size: clamp(40px,5vw,68px); line-height: 1.06; letter-spacing: -.035em; max-width: 850px; margin: 23px 0; }
.detail-hero.tuning-catalog-hero p { font-size: clamp(20px,2vw,26px); line-height: 1.4; max-width: 660px; margin: 0; color: #e1eaf6; }
@media (max-width: 720px) {
 .detail-hero.tuning-catalog-hero { height: auto; min-height: 420px; margin-bottom: 28px; }
 .tuning-catalog-hero > img { object-position: 58% center; }
 .tuning-catalog-hero:after { background: linear-gradient(90deg,rgba(6,17,32,.88),rgba(6,17,32,.5)); }
 .detail-hero.tuning-catalog-hero h1 { font-size: 38px; }
}
#service-availability { margin-top: 20px; }
