/* Клиентская сервисная книжка. Оформление паспорта изолировано от дашборда. */
.pp-page {
  --accent: #e02932; --accent-ink: #b82027; --accent-soft: #fff0f0; --accent-line: #eac1c4;
  --bg: #f5f5f7; --surface: #fff; --surface-2: #f5f5f7; --line: #e8e8ed; --line-strong: #d2d2d7;
  --ink: #1d1d1f; --ink-2: #515154; --ink-3: #6e6e73; --ink-on-accent: #fff;
  --font: -apple-system, BlinkMacSystemFont, Manrope, 'Segoe UI', Arial, sans-serif;
  --pp-shadow: 0 2px 12px rgba(0,0,0,.025);
  min-height: 100vh; display: flex; flex-direction: column;
}
:root[data-theme="dark"] .pp-page {
  --bg: #080809; --surface: #1c1c1e; --surface-2: #242426; --line: #353537; --line-strong: #56565a;
  --ink: #f5f5f7; --ink-2: #c4c4c8; --ink-3: #a1a1a6; --ink-on-accent: #fff;
  --accent: #e02932; --accent-ink: #ff8e95; --accent-soft: rgba(224,41,50,.12); --accent-line: #734247;
  --pp-shadow: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pp-page {
    --bg: #080809; --surface: #1c1c1e; --surface-2: #242426; --line: #353537; --line-strong: #56565a;
    --ink: #f5f5f7; --ink-2: #c4c4c8; --ink-3: #a1a1a6; --ink-on-accent: #fff;
    --accent: #e02932; --accent-ink: #ff8e95; --accent-soft: rgba(224,41,50,.12); --accent-line: #734247;
    --pp-shadow: none;
  }
}
.pp-header, .pp-main, .pp-footer { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
/* Шапка - графитовая полоса во всю ширину, как на сайте сервиса; логотип белый в одну строку
   (просьба владельца 12.11.2026). Содержимое шапки выровнено по колонке страницы. */
.pp-header { max-width: none; height: calc(64px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #2b2d31;
  padding-left: max(24px, calc((100% - 1072px) / 2), env(safe-area-inset-left, 0px));
  padding-right: max(24px, calc((100% - 1072px) / 2), env(safe-area-inset-right, 0px)); }
.pp-header__label { color: rgba(255,255,255,.72); font-size: 12px; text-decoration: none; }
.pp-header__label:hover { color: #fff; }
.pp-brand__logo { display: block; width: auto; height: 24px; }
.pp-main { flex: 1; padding-top: 28px; padding-bottom: 40px; }
.pp-footer { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-3); font-size: 11.5px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line); }
.pp-page .btn { min-height: 44px; padding: 12px 20px; border-radius: 12px; box-shadow: none; font-size: 14px; font-weight: 600; transition: opacity .16s, transform .16s; }
.pp-page .btn:hover { opacity: .88; }
.pp-page .btn:active { transform: scale(.98); }
.pp-page :is(a, button, input, summary):focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 4px; }
.pp-entry { animation: pp-appear .24s ease-out; }
.pp-passport { animation: pp-fade .24s ease-out; }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pp-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pp-page .btn:disabled { cursor: default; }
.pp-eyebrow { color: var(--ink-3); font-size: 12px; font-weight: 500; letter-spacing: .01em; }
.pp-help, .pp-empty { color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.pp-panel, .pp-identity, .pp-search-card { background: var(--surface); border: 1px solid transparent; border-radius: 24px; box-shadow: var(--pp-shadow); }
.pp-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pp-section-title { font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.pp-section-meta { color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.pp-panel { padding: 28px; min-width: 0; }

/* Вход по общему QR: одна форма, один основной шаг. */
.pp-entry { max-width: 550px; margin: 40px auto 48px; }
.pp-search-card { padding: 40px; }
.pp-search-symbol { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); border-radius: 14px; margin-bottom: 28px; }
.pp-search-title { font-size: 40px; line-height: 1.1; letter-spacing: -.045em; font-weight: 600; margin-top: 12px; }
.pp-search-intro { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: 16px; }
.pp-search { display: grid; gap: 14px; margin-top: 30px; }
.pp-field { display: grid; gap: 8px; min-width: 0; }
.pp-label { font-size: 12px; font-weight: 600; }
.pp-input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); font: inherit; font-size: 16px; }
.pp-input--plate { min-height: 60px; font-size: 25px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.pp-input::placeholder { color: var(--ink-3); opacity: .65; }
.pp-input[aria-invalid="true"] { border-color: var(--bad); }
.pp-search .btn { min-height: 48px; font-size: 14px; }
.pp-search-card > .pp-help { margin-top: 14px; font-size: 12px; }
.pp-entry-note { display: flex; align-items: start; gap: 9px; font-size: 12px; line-height: 1.6; color: var(--ink-3); margin: 20px 24px 0; }
.pp-entry-note svg { flex: none; margin-top: 2px; }
.pp-status { margin-top: 12px; }
.pp-status:empty { display: none; }

/* Обложка: машина, номер и подтверждённые сведения о посещении. */
.pp-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pp-toolbar-actions { display: flex; align-items: center; gap: 16px; }
.pp-share { position: relative; }
.pp-share > summary { list-style: none; padding-left: 0; }
.pp-share > summary::-webkit-details-marker { display: none; }
.pp-share__popover { position: absolute; z-index: 10; top: calc(100% + 8px); right: 0; width: 350px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.16); }
.pp-share__title { font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.pp-share__popover .pp-help { font-size: 12px; }
.pp-share__popover .pp-input { font-size: 12px; margin-top: 16px; }
.pp-share__buttons { display: grid; gap: 8px; margin-top: 12px; }
.pp-share__status { color: var(--ink-2); font-size: 12px; line-height: 1.5; margin-top: 10px; }
.pp-share__status:empty { display: none; }
.pp-share__preview { margin-top: 12px; }
.pp-service-buttons.pp-service-buttons--single { grid-template-columns: minmax(0, 1fr); }
.pp-change { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 0 8px 12px; border: 0; background: none; color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; }
.pp-change:hover { color: var(--accent-ink); }
.pp-identity { padding: 34px; }
/* Номер уходит под название, когда вдвоём в строку не помещаются: иначе он сжимал название
   и слово рвалось посередине («сПО-РТЕД-Ж», баг 13.11.2026). */
.pp-vehicle { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.pp-vehicle__identity { display: flex; align-items: center; gap: 22px; min-width: 0; }
.pp-car-badge { width: 68px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; }
.pp-car-mark { display: block; width: 56px; height: 44px; object-fit: contain; }
.pp-vehicle__name { min-width: 0; }
.pp-vehicle h1 { font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -.045em; overflow-wrap: break-word; }
.pp-vehicle__name p { color: var(--ink-3); font-size: 13px; margin-top: 5px; }
.pp-vehicle__plate { flex: none; }
.pp-vehicle__plate .plate { margin: 0; }
.pp-identity__footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.pp-identity__footer .pp-help { font-size: 11.5px; }

/* Достижение экономии: сумма, достигнутый рубеж и один следующий шаг. */
.pp-savings { margin-top: 24px; padding: 24px; border-radius: 18px; background: var(--surface-2); min-width: 0; scroll-margin: 20px 0; }
.pp-savings__hero { display: flex; align-items: center; gap: 20px; }
.pp-savings__main { flex: 1; min-width: 0; }
.pp-savings__badge { flex: none; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-line); box-shadow: inset 0 0 0 5px var(--surface-2), inset 0 0 0 6px var(--accent-line); }
.pp-savings__label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.pp-savings__amount { font-size: 38px; line-height: 1.1; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pp-savings__range { font-size: 12px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }
.pp-savings__milestone { font-size: 11px; font-weight: 600; color: var(--ink-3); border-radius: 100px; padding: 9px 13px; background: var(--surface); text-align: center; }
.pp-savings__milestone--earned { color: var(--accent-ink); background: var(--accent-soft); }
.pp-savings__next { margin: 22px 0 0 86px; }
.pp-savings__next > p:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; color: var(--ink-3); }
.pp-savings__next strong { font-weight: 600; color: var(--ink-2); }
.pp-savings__progress { height: 5px; border-radius: 20px; background: var(--line-strong); overflow: hidden; margin-top: 10px; }
.pp-savings__progress > span { height: 100%; display: block; background: var(--accent); border-radius: inherit; }
.pp-savings__remaining { color: var(--ink-3); font-size: 11px; margin-top: 8px; }
.pp-savings .pp-savings__details { margin: 5px 0 -8px 86px; }
.pp-savings__breakdown { display: flex; gap: 36px; margin: 12px 0; }
.pp-savings__breakdown dt { color: var(--ink-3); font-size: 11px; margin-bottom: 5px; }
.pp-savings__breakdown dd { margin: 0; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-savings__details .pp-help { font-size: 11.5px; line-height: 1.6; padding: 0; margin-top: 9px; }
.pp-savings__sources { display: flex; gap: 0 16px; flex-wrap: wrap; margin-top: 8px; }
.pp-savings__sources a { font-size: 11.5px; min-height: 36px; padding: 8px 0; overflow-wrap: anywhere; }

/* Сведения, история и запись расположены рядом на широком экране. */
.pp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 20px; align-items: start; margin-top: 20px; }
.pp-records, .pp-side { display: grid; gap: 20px; min-width: 0; }
.pp-side { position: sticky; top: 20px; }
.pp-equipment { display: grid; gap: 13px; margin: 0; }
.pp-equipment__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; font-size: 13px; }
.pp-equipment__row dt { color: var(--ink-3); }
.pp-equipment__row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.pp-message { border-radius: 10px; padding: 14px; background: var(--accent-soft); color: var(--ink); font-size: 13px; line-height: 1.55; }
.pp-message__title { color: var(--accent-ink); font-weight: 600; margin-bottom: 7px; }
.pp-recommendation { white-space: pre-line; overflow-wrap: anywhere; }
.pp-warranty-date { font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.pp-booking { scroll-margin-top: 20px; }
.pp-booking-body { display: grid; gap: 13px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* История: дата и пробег принадлежат одному посещению. */
.pp-visit { border-top: 1px solid var(--line); }
.pp-visit__summary { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; padding: 20px 0; min-height: 44px; cursor: pointer; list-style: none; }
.pp-visit__summary::-webkit-details-marker { display: none; }
.pp-visit:first-child { border-top: 0; }
.pp-visit:first-child > .pp-visit__summary { padding-top: 6px; }
.pp-visit:last-child > .pp-visit__summary { padding-bottom: 0; }
.pp-visit__date { font-size: 12px; font-variant-numeric: tabular-nums; padding-top: 3px; }
.pp-visit__latest { display: block; margin-top: 6px; color: var(--accent-ink); font-size: 10.5px; }
.pp-visit__body { border-left: 2px solid var(--line); padding-left: 20px; min-width: 0; position: relative; }
.pp-visit__body::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); position: absolute; left: -5px; top: 6px; }
.pp-visit--install .pp-visit__body::before { background: var(--accent); }
.pp-visit__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pp-visit h3 { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.pp-visit__mileage { color: var(--ink-3); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pp-visit__meta { display: flex; align-items: center; gap: 10px; }
.pp-visit__caret { display: flex; color: var(--ink-3); flex-shrink: 0; }
.pp-visit[open] .pp-visit__caret svg { transform: rotate(90deg); }
.pp-visit__summary:hover .pp-visit__caret, .pp-visit[open] .pp-visit__caret { color: var(--accent-ink); }
.pp-visit__content { margin-left: 112px; padding: 0 0 16px 20px; border-left: 2px solid var(--line); }
.pp-visit__description { white-space: pre-line; overflow-wrap: anywhere; font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.pp-visit__content > .pp-help { margin-top: 8px; }
.pp-details { margin-top: 5px; }
.pp-details summary { display: flex; align-items: center; gap: 5px; cursor: pointer; color: var(--accent-ink); font-size: 12px; font-weight: 600; min-height: 44px; width: fit-content; list-style: none; }
.pp-details summary::-webkit-details-marker { display: none; }
.pp-details[open] summary svg { transform: rotate(90deg); }
.pp-details p { white-space: pre-line; overflow-wrap: anywhere; font-size: 13px; color: var(--ink-2); line-height: 1.65; padding-bottom: 5px; }
.pp-visit__recommendation { margin-top: 12px; font-size: 12px; color: var(--ink-2); }
/* Что сделали на визите: список работ */
.pp-visit__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.pp-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--accent-soft);
  color: var(--accent-ink); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pp-works { display: grid; gap: 5px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.pp-works li { position: relative; padding-left: 16px; }
.pp-works li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* Обложка: следующее ТО и гарантия */
.pp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 22px; }
.pp-fact { padding: 16px 18px; border-radius: 16px; background: var(--surface-2); min-width: 0; }
.pp-fact .pp-small-label { font-size: 12px; font-weight: 500; margin-bottom: 6px; }
.pp-fact__value { font-size: 21px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pp-fact .pp-help { margin-top: 4px; font-size: 12px; }
.pp-fact--due { background: var(--accent-soft); }
.pp-fact--due .pp-fact__value { color: var(--accent-ink); }
.pp-small-label { font-size: 11px; font-weight: 600; color: var(--ink-3); margin-bottom: 5px; }

@media (max-width: 800px) {
  .pp-layout { display: flex; flex-direction: column; }
  .pp-savings { scroll-margin-bottom: calc(var(--pp-action-height, 96px) + 20px); }
  .pp-records, .pp-side { display: contents; }
  .pp-layout > *, .pp-panel { width: 100%; }
  .pp-history { order: 1; }
  .pp-vehicle-info { order: 2; }
  .pp-booking { order: 4; }
}
@media (max-width: 520px) {
  .pp-header, .pp-main, .pp-footer { padding-left: 16px; padding-right: 16px; }
  .pp-header { height: calc(56px + env(safe-area-inset-top, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .pp-header__label { font-size: 11px; }
  .pp-brand__logo { height: 20px; }
  .pp-main { padding-top: 18px; padding-bottom: 28px; }
  .pp-facts { grid-template-columns: minmax(0, 1fr); }
  .pp-footer { display: grid; gap: 6px; font-size: 11px; }
  .pp-entry { margin: 24px auto 36px; }
  .pp-search-card { padding: 26px 22px; }
  .pp-search-title { font-size: 34px; }
  .pp-search-symbol { margin-bottom: 22px; }
  .pp-entry-note { margin-left: 10px; margin-right: 10px; }
  .pp-toolbar .pp-eyebrow { font-size: 12px; letter-spacing: 0; }
  .pp-toolbar { display: grid; gap: 2px; }
  .pp-toolbar-actions { justify-content: space-between; gap: 10px; }
  .pp-share__popover { right: auto; left: 0; width: min(350px, calc(100vw - 48px)); padding: 18px; }
  .pp-identity { padding: 22px; }
  .pp-vehicle { flex-direction: column; align-items: start; gap: 16px; }
  .pp-vehicle__identity { gap: 14px; }
  .pp-car-badge { width: 52px; height: 48px; border-radius: 10px; }
  .pp-car-mark { width: 44px; height: 36px; }
  .pp-vehicle h1 { font-size: 30px; }
  .pp-identity__footer { flex-direction: column; align-items: stretch; gap: 6px; margin-top: 18px; }
  .pp-savings { padding: 18px; margin-left: -4px; margin-right: -4px; }
  .pp-savings__hero { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .pp-savings__badge { width: 48px; height: 48px; box-shadow: inset 0 0 0 3px var(--surface-2), inset 0 0 0 4px var(--accent-line); }
  .pp-savings__badge svg { width: 22px; height: 22px; }
  .pp-savings__label { font-size: 11px; line-height: 1.5; }
  .pp-savings__amount { font-size: clamp(26px, 7vw, 30px); }
  .pp-savings__range { font-size: 11px; }
  .pp-savings__milestone { grid-column: 2; justify-self: start; margin-top: 1px; }
  .pp-savings__next { margin: 18px 0 0; }
  .pp-savings .pp-savings__details { margin-left: 0; }
  .pp-savings__breakdown { gap: 22px; flex-wrap: wrap; }
  .pp-panel { padding: 22px; }
  .pp-section-title { font-size: 18px; }
  .pp-section-meta { font-size: 11px; }
  .pp-visit__summary { grid-template-columns: 79px minmax(0, 1fr); gap: 10px; }
  .pp-visit__body { padding-left: 15px; }
  .pp-visit__content { margin-left: 89px; padding-left: 15px; }
  .pp-visit__date { font-size: 11px; }
  .pp-visit__heading { display: grid; gap: 6px; }
  .pp-visit h3 { font-size: 14px; }
  .pp-visit__mileage { font-size: 11px; white-space: normal; }
  .pp-equipment__row { grid-template-columns: 1fr; gap: 3px; }
}
/* Последний визит — основной факт, оборудование и гарантия — компактные сведения. */
.pp-latest { display: flex; align-items: baseline; justify-content: space-between; gap: 28px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.pp-latest .pp-small-label { font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.pp-latest h2, .pp-latest__value { font-size: 29px; font-weight: 600; line-height: 1.25; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pp-latest__mileage { flex: none; text-align: right; }
.pp-identity > .pp-message { margin-top: 22px; }
.pp-known-mileage { margin-top: 14px; }
.pp-info-content { display: grid; gap: 20px; font-size: 13px; line-height: 1.55; }
.pp-info-group { display: grid; gap: 10px; }
.pp-info-group + .pp-info-group { border-top: 1px solid var(--line); padding-top: 20px; }
.pp-info-title { font-size: 13px; font-weight: 600; }
.pp-missing { margin: 0; display: grid; gap: 14px; }
.pp-missing > div { display: grid; gap: 3px; }
.pp-missing dt { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.pp-missing dd { margin: 0; color: var(--ink-3); font-size: 12px; line-height: 1.5; }
.pp-service-buttons { display: grid; gap: 10px; }
.pp-service-buttons .btn { width: 100%; min-width: 0; height: 48px; white-space: nowrap; }
.pp-actions-hint { display: none; }
.pp-book-button { position: relative; }
.pp-button-spinner { display: none; width: 13px; height: 13px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; position: absolute; left: 15px; animation: pp-spin .8s linear infinite; }
.pp-book-button[data-state="sending"] .pp-button-spinner { display: block; }
.pp-page .pp-book-button[data-state="sent"] { opacity: 1; color: var(--accent-ink); background: var(--accent-soft); }
.pp-confirmation { padding: 14px; border-radius: 10px; color: var(--ink); background: var(--accent-soft); font-size: 13px; line-height: 1.55; }
@keyframes pp-spin { to { transform: rotate(360deg); } }
@media (max-width: 800px) {
  .pp-has-passport { padding-bottom: calc(var(--pp-action-height, 96px) + 12px); }
  .pp-service-actions { display: flex; flex-direction: column; position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgba(0,0,0,.04); max-height: calc(100dvh - 40px); overflow-y: auto; }
  .pp-service-buttons { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); width: 100%; max-width: 540px; margin: 0 auto; flex: none; }
  .pp-service-actions .pp-status { order: -1; width: 100%; max-width: 540px; margin: 0 auto 10px; flex: none; }
  .pp-service-actions .pp-status:empty { margin: 0; }
  .pp-actions-hint { display: block; font-size: 11px; text-align: center; color: var(--ink-3); line-height: 1.4; margin-top: 7px; }
}
@media (max-width: 520px) {
  .pp-latest { display: grid; gap: 18px; margin-top: 22px; padding-top: 20px; }
  .pp-latest h2 { font-size: 25px; white-space: normal; }
  .pp-latest__mileage { text-align: left; }
  .pp-latest__value { font-size: 25px; }
  .pp-latest .pp-small-label { font-size: 11px; margin-bottom: 5px; }
  .pp-service-actions { padding-left: 16px; padding-right: 16px; }
  .pp-service-buttons .btn { padding-left: 10px; padding-right: 10px; font-size: 12.5px; }
  .pp-button-spinner { left: 10px; }
}
@media print {
  .pp-has-passport { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-passport, .pp-entry { animation: none; }
  .pp-button-spinner { animation: none; }
  .pp-page .btn { transition: none; }
}
@media print {
  .pp-change, .pp-share, .pp-search, .pp-service-actions, .pp-booking { display: none; }
  .pp-layout { display: block; }
  .pp-side { position: static; }
  .pp-panel { margin-bottom: 16px; }
  .pp-visit { break-inside: avoid; }
  .pp-savings__details { display: none; }
}
