/* Client cabinet: a clear "all photos" button, the carousel inside the full-information sheet, a short service history. */
.auto-photo .photo-expand{display:flex;align-items:center;gap:7px;padding:8px 14px 8px 12px}
.auto-photo .photo-expand span{display:inline}
.auto-photo .photo-expand svg{flex:none}
.vehicle-sheet-carousel{position:relative;aspect-ratio:4/3;overflow:hidden;background:#17191f}
.vehicle-sheet-carousel .pcar{position:absolute;inset:0}
.vehicle-sheet-carousel .pcar-count{top:auto;right:auto;bottom:30px;left:14px}
.sheet-expand{position:absolute;z-index:3;right:14px;bottom:30px;display:flex;align-items:center;gap:7px;min-height:40px;border:1px solid #ffffff55;border-radius:999px;padding:7px 14px;background:#111318b8;color:#fff;font-size:.8125rem;font-weight:600;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.sheet-expand:hover{background:#303741}
.sheet-expand:focus-visible{outline:3px solid #e30613;outline-offset:3px}
.service-history-more{margin-top:12px}
.service-history-more>summary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:var(--soft);color:var(--ink);font-weight:700;cursor:pointer;list-style:none}
.service-history-more>summary::-webkit-details-marker{display:none}
.service-history-more>summary:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.service-history-more .service-more-open,.service-history-more[open] .service-more-closed{display:none}
.service-history-more[open] .service-more-open{display:inline}
.service-history-more[open]>summary{margin-bottom:12px}
html[data-theme=dark] .service-history-more>summary{background:#1c1f26;border-color:#323843}
@media(max-width:700px){.sheet-expand{right:10px;bottom:26px}}
/* Booking form: what is missing is marked in the form and listed above the button. */
.request-form .has-error input,.request-form .has-error select,.request-form .has-error textarea{border-color:var(--red);box-shadow:0 0 0 3px rgba(227,6,19,.14)}
.request-form .booking-date-field.has-error #bookingDatePicker{border-radius:12px;outline:2px solid var(--red);outline-offset:4px}
.request-form .consent.has-error .check-box{border-color:var(--red);box-shadow:0 0 0 3px rgba(227,6,19,.14)}
.field-error{display:block;margin-top:6px;color:#c0152a;font-size:.8125rem;font-weight:600;line-height:1.35}
.consent + .field-error{margin:-6px 0 12px}
.request-problems{margin:8px 0 14px;padding:14px 16px;border:1px solid var(--red);border-radius:14px;background:rgba(227,6,19,.07)}
.request-problems strong{display:block;margin-bottom:8px;font-size:.875rem}
.request-problems ul{display:flex;flex-wrap:wrap;gap:6px 8px;margin:0;padding:0;list-style:none}
.request-problems button{min-height:36px;padding:5px 12px;border:1px solid var(--red);border-radius:999px;background:transparent;color:var(--red);font-size:.875rem;font-weight:700}
html[data-theme=dark] .field-error{color:#ff8a92}
html[data-theme=dark] .request-problems button{border-color:#ff8a92;color:#ff8a92}
/* Car to order: the offer shown when there are no orders yet, and the small one below existing orders. */
.order-promo{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;align-items:center;padding:clamp(24px,4vw,44px)}
.order-promo h2{margin-bottom:12px}
.order-promo-copy>p:not(.eyebrow){max-width:520px;color:var(--muted)}
.order-promo-points{display:grid;gap:10px;margin:20px 0 26px;padding:0;list-style:none}
.order-promo-points li{position:relative;padding-left:28px;font-weight:600}
.order-promo-points li::before{content:"";position:absolute;left:0;top:.35em;width:14px;height:8px;border-left:2.5px solid var(--red);border-bottom:2.5px solid var(--red);transform:rotate(-45deg)}
.order-promo-steps{display:grid;gap:0;margin:0;padding:0;list-style:none;counter-reset:none}
.order-promo-steps li{position:relative;display:flex;align-items:center;gap:14px;min-height:52px;padding:6px 0 6px 0;font-weight:650}
.order-promo-steps li:not(:last-child)::after{content:"";position:absolute;left:15px;top:44px;bottom:-8px;width:2px;background:var(--line)}
.order-promo-steps span{display:grid;place-items:center;flex:none;width:32px;height:32px;border:2px solid var(--red);border-radius:50%;color:var(--red);font-size:.875rem;font-weight:800;background:var(--white)}
.order-promo--compact{grid-template-columns:minmax(0,1fr) auto;gap:20px;margin-top:20px;padding:clamp(20px,3vw,28px)}
.order-promo--compact h3{margin:0 0 6px}
.order-promo--compact p:not(.eyebrow){margin:0;color:var(--muted)}
.order-promo--compact .eyebrow{margin-bottom:6px}
@media(max-width:700px){.order-promo,.order-promo--compact{grid-template-columns:1fr;gap:22px}.order-promo .button{width:100%}}
/* Logo: its artwork touches the left edge of the picture, so on the narrow header (and on the sign-in screen) it looked cut off.
   A few pixels of air on the left; the logo keeps its size. On wide screens the header already has its own padding. */
@media(max-width:860px){.logo-frame{box-sizing:content-box;padding-left:6px}}
.logo-frame--login{box-sizing:content-box;padding-left:8px}
