.ui-icon{display:inline-block;width:20px;height:20px;flex:0 0 auto;vertical-align:middle}
#app h1[tabindex="-1"]:focus,#calc-result[tabindex="-1"]:focus{outline:none}
.channel-link{gap:10px}.channel-link .ui-icon{width:20px;height:20px}
.back,.vehicle-back{display:inline-flex;align-items:center;gap:8px}
.modal-close{position:absolute;top:18px;right:18px;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #ffffff26;border-radius:50%;background:#252528;color:#f2f2f4;cursor:pointer;transition:background .18s,border-color .18s}
.modal-close .ui-icon{width:21px;height:21px}.modal-close:hover{background:#37373b;border-color:#ffffff50}.modal-close:focus-visible{outline:2px solid #ff8d96;outline-offset:3px}
.story-toolbar .modal-close{position:relative;top:auto;right:auto;margin-left:4px}
.contact-dialog{padding:34px;width:min(640px,calc(100% - 32px));max-height:calc(var(--ruby-visible-height,100dvh) - 32px);border-color:#3d3d42}
.contact-dialog-logo{width:182px;height:60px;object-fit:cover;object-position:center;margin:0 0 28px}
.contact-dialog h2{font-size:32px;max-width:510px;line-height:1.18}
.contact-dialog>.modal-close{top:24px;right:24px}
.contact-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:26px 0}
.contact-choices .btn{gap:10px;padding:14px 10px;min-height:52px}.contact-choices .ui-icon{width:21px;height:21px}
.contact-dialog input,.contact-dialog select{font-size:16px}
.photo-compare-dialog>.row:first-child{padding-right:56px;margin-bottom:24px}.photo-compare-dialog h3{line-height:1.25}
.calculator-labels span{display:inline-flex;align-items:center;gap:6px}
@media(max-width:760px){
 .contact-open.mobile-app #site-scroll{overflow:hidden}
 .contact-dialog{padding:26px 24px;width:calc(100% - 24px);max-height:calc(var(--ruby-visible-height,100dvh) - 24px)}
 .contact-dialog-logo{width:168px;height:55px;margin-bottom:28px}
 .contact-dialog>.modal-close{top:24px;right:20px}
 .contact-dialog h2{font-size:28px;line-height:1.18}
 .contact-dialog>p{font-size:13px;line-height:1.6;margin-top:14px}
 .contact-choices{grid-template-columns:1fr;gap:10px;margin:24px 0}
 .contact-choices .btn{justify-content:flex-start;padding:13px 17px;min-height:50px;gap:14px}
 .contact-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .contact-channels .btn{justify-content:flex-start;font-size:11px;min-height:46px;padding:10px 12px;gap:8px}
 .contact-channels .ui-icon{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){.modal-close{transition:none}}

.callback-details summary{list-style:none;display:flex;align-items:center;gap:12px}.callback-details summary::-webkit-details-marker{display:none}.callback-details summary>.ui-icon{width:18px;height:18px;transition:transform .2s}.callback-details[open] summary>.ui-icon{transform:rotate(180deg)}
@media(prefers-reduced-motion:reduce){.callback-details summary>.ui-icon{transition:none}}

/* Feedback stays inside the viewport and disappears through opacity, not distance. */
#toast{display:flex;align-items:center;gap:12px;min-height:48px;padding:13px 18px;background:#242427;color:#f5f4f5;border:1px solid #ffffff26;border-radius:14px;box-shadow:0 10px 30px #0005;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateY(10px);transition:opacity .22s ease,transform .3s cubic-bezier(.22,1,.36,1),visibility .22s;line-height:1.5;width:max-content;max-width:min(430px,calc(100vw - 32px))}
#toast:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:#f36b77}
#toast.visible{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.favorites-heading{padding-bottom:26px}.favorites-heading h1{font-size:46px}.favorites-heading p{margin-top:14px}
.favorites-actions{display:flex;align-items:center;justify-content:flex-start;gap:20px;flex-wrap:wrap;margin:0 0 24px}.favorites-actions>span:first-child{margin-right:auto}.favorites-actions .btn{display:inline-flex;align-items:center;gap:10px;min-height:44px}.favorites-copy-fallback{flex-basis:100%}
.favorites-empty {
 padding: clamp(24px,4vw,52px) 0;
 text-align: left;
 border-block: 1px solid #343437;
}
.favorites-empty p { max-width: 43ch; }
@media(min-width:961px){
 .favorites-empty {
  background: linear-gradient(90deg,#111112 40%,transparent 76%), url("/assets/hero-porsche-lights-off.webp") right center / auto 100% no-repeat;
 }
}.favorites-empty-icon{width:64px;height:64px;display:grid;place-items:center;margin:0 0 20px;background:#261c21;border-radius:50%;color:#f17581}.favorites-empty-icon svg{width:28px;height:28px}.favorites-empty h2{font-size:28px;line-height:1.2;margin-bottom:16px}.favorites-empty p{font-size:15px;line-height:1.7;color:#bebec7;margin-bottom:28px}.favorites-empty .btn{display:inline-flex;gap:16px}
@media(max-width:760px){
 .mobile-app #toast{top:calc(var(--ruby-visible-top,0px) + var(--ruby-visible-height,100dvh) - var(--mobile-dock-height) - 16px);bottom:auto;transform:translate(-50%,-90%);font-size:12px;z-index:90}
 .mobile-app #toast.visible{transform:translate(-50%,-100%)}
 .mobile-app .favorites-heading h1{font-size:34px}.mobile-app .favorites-heading p{font-size:13px}
 .favorites-actions{gap:14px;margin-bottom:20px}.favorites-actions .btn{font-size:12px;width:100%;justify-content:center}
 .favorites-empty{padding:24px 0 32px}.favorites-empty h2{font-size:25px}.favorites-empty p{font-size:14px}
}
/* Catalogue: one control group, followed directly by the cars. */
.catalog-heading{padding-top:46px;padding-bottom:24px}.catalog-heading h1{font-size:44px;line-height:1.12}.catalog-heading p{font-size:15px;margin-top:12px}
.catalog-section{padding-top:0}.catalog-controls{margin-bottom:24px}.catalog-search{display:flex;gap:12px;align-items:center;margin:0}.catalog-search .field{margin:0;flex:1}.catalog-search input{min-height:50px;font-size:15px;background:#202023;border-color:#3c3c42;border-radius:10px}.catalog-search .filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;font-size:13px;border-radius:10px;background:#202023;border-color:#3c3c42;padding:12px 18px}
.catalog-section .filters{display:none;margin:14px 0 0}.catalog-section .filters.is-open{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;background:#1b1b1e;border:1px solid #3c3c42;border-radius:12px;padding:18px}.catalog-section .filters .field{flex:1;min-width:140px}.catalog-section .filters .btn{min-height:45px}
.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:16px 0 0;padding:0}.catalog-toolbar .field{flex:none;min-width:0;margin:0}.catalog-toolbar select{width:auto;min-width:200px;min-height:44px;font-size:13px;background:#202023;border-color:#3c3c42;border-radius:9px}.catalog-toolbar #count{font-size:12px;white-space:nowrap}
.catalog-footnote{font-size:12px;line-height:1.65;color:#b8b8c0;margin-top:26px;max-width:65ch}.catalog-empty{grid-column:1/-1;padding:38px 0 60px}.catalog-empty h2{font-size:26px;margin-bottom:14px}.catalog-empty p{font-size:14px;color:#bdbdc6}.catalog-empty .btn{margin-right:10px}
/* Vehicle: photograph and offer first; facts, description and history follow. */
.vehicle-detail-heading{padding-top:36px;padding-bottom:24px}.vehicle-detail-heading .back{display:inline-flex;align-items:center;gap:8px;margin-bottom:20px;min-height:32px}.vehicle-detail-heading h1{font-size:clamp(32px,3.4vw,46px);line-height:1.1;letter-spacing:-.03em}.vehicle-detail-heading p{font-size:14px;margin-top:12px}
.vehicle-detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:36px 38px;padding-bottom:0;align-items:start}.vehicle-detail-gallery{grid-column:1;grid-row:1;min-width:0}.vehicle-detail-gallery .detail-gallery>img{aspect-ratio:3/2;object-fit:cover;border-radius:16px}.vehicle-detail-gallery .thumbs{gap:8px}.vehicle-detail-gallery .thumbs:empty{display:none}.vehicle-detail-gallery .thumbs button{flex-basis:74px;min-height:44px}.vehicle-detail-gallery .thumbs img{height:50px}
.vehicle-photo-note{font-size:11px;color:#aeb0b9;line-height:1.65;margin-top:12px}.vehicle-photo-note:empty{display:none}.vehicle-photo-note a{color:#ddd;text-decoration:underline;text-underline-offset:3px}
.vehicle-offer{grid-column:2;grid-row:1 / span 2;position:sticky;top:110px;padding:30px;background:#1a1a1d;border:1px solid #38383e;border-radius:16px;min-width:0}.vehicle-price-label{font-size:12px;line-height:1.6;color:#c5c4cc}.vehicle-price{font-size:clamp(29px,2.6vw,39px);font-weight:700;line-height:1.25;letter-spacing:-.03em;margin:10px 0 15px;white-space:nowrap;font-variant-numeric:tabular-nums}.vehicle-price-note{font-size:12px;line-height:1.7;color:#b9b8c0;margin-bottom:24px;max-width:40ch}.vehicle-interest{display:flex;justify-content:space-between;width:100%;font-size:13px;min-height:52px;gap:12px}.vehicle-secondary-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.vehicle-secondary-actions .btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;font-size:11px;padding:10px;background:#222225;border-color:#47474e}.vehicle-secondary-actions svg{width:18px;height:18px;flex:none}.vehicle-secondary-actions .active{color:#fb949c;border-color:#b85362}.vehicle-offer-caption{font-size:11px;line-height:1.7;color:#b9b8c0;padding-top:20px;margin-top:22px;border-top:1px solid #36363b}
.vehicle-information{grid-column:1;min-width:0}.vehicle-information h2,.vehicle-history h2{font-size:27px;line-height:1.2;letter-spacing:-.025em;margin:0 0 22px}.vehicle-facts dl{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.vehicle-facts dl>div{display:flex;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #303036;align-items:baseline}.vehicle-facts dt{font-size:12px;color:#b8b8c0}.vehicle-facts dd{margin:0;font-size:13px;text-align:right;line-height:1.5}.vehicle-description{margin-top:36px}.vehicle-description h2{margin-bottom:16px}.vehicle-description p{white-space:pre-wrap;font-size:14px;line-height:1.85;max-width:65ch;color:#c6c5cc;overflow-wrap:anywhere}
.vehicle-history{padding-top:48px;padding-bottom:64px}.vehicle-history .section-title{margin-bottom:24px}.vehicle-history h2{margin-bottom:12px}.vehicle-history .history-status{font-size:13px;line-height:1.7;color:#b8b8c0}.vehicle-history .history-summary{gap:0 28px}.vehicle-history .history-summary>div{padding:18px 0}.vehicle-history .history-summary dt{font-size:11px;line-height:1.6;margin-bottom:8px}.vehicle-history .history-summary dd{font-size:17px;line-height:1.5}.vehicle-history>.more{margin-top:20px}
@media(max-width:760px){
 .mobile-app .catalog-heading{padding-top:24px;padding-bottom:22px}.mobile-app .catalog-heading h1{font-size:32px}.mobile-app .catalog-heading p{font-size:13px;margin-top:10px}.mobile-app .catalog-section{padding-top:0;padding-bottom:36px}.catalog-search{gap:10px}.catalog-search input{font-size:16px}.catalog-search .filter-toggle{padding:12px;font-size:12px;gap:7px}.catalog-search .filter-toggle svg{width:18px;height:18px}.catalog-toolbar{margin-top:12px;gap:12px}.catalog-toolbar .field{min-width:0}.catalog-toolbar select{min-width:0;width:180px;font-size:12px}.catalog-toolbar #count{font-size:11px}.catalog-section .filters.is-open{padding:16px;gap:14px}.catalog-section .filters .field{min-width:110px}.catalog-controls{margin-bottom:20px}
 .mobile-app .vehicle-detail-heading{padding-top:16px;padding-bottom:22px}.vehicle-detail-heading .back{margin-bottom:14px}.vehicle-detail-heading h1{font-size:32px}.vehicle-detail-heading p{font-size:13px;margin-top:10px}.vehicle-detail-layout{grid-template-columns:minmax(0,1fr);gap:24px}.vehicle-detail-gallery{grid-column:1;grid-row:auto}.vehicle-offer{grid-column:1;grid-row:auto;position:static;padding:22px}.vehicle-price{font-size:32px;margin-top:8px}.vehicle-price-note{margin-bottom:20px}.vehicle-offer-caption{margin-top:18px;padding-top:16px}.vehicle-information{grid-column:1}.vehicle-information h2,.mobile-app .vehicle-history h2{font-size:24px;margin-bottom:18px}.vehicle-facts dl{gap:0 20px}.vehicle-facts dl>div{display:block;padding:12px 0}.vehicle-facts dt{font-size:11px;margin-bottom:6px}.vehicle-facts dd{font-size:13px;text-align:left}.vehicle-description{margin-top:30px}.vehicle-description p{font-size:13px;line-height:1.8}.mobile-app .vehicle-history{padding-top:34px;padding-bottom:42px}.vehicle-history .history-summary{gap:0 20px}.vehicle-history .history-summary dd{font-size:16px}.vehicle-history .history-status{font-size:12px}
}
@media(max-width:370px){.catalog-search .filter-toggle{font-size:11px;padding-inline:10px}.catalog-toolbar select{width:164px}.vehicle-price{font-size:28px}.vehicle-offer{padding:20px}.vehicle-secondary-actions{gap:8px}.vehicle-secondary-actions .btn{font-size:10px}}

.vehicle-history .section-title{align-items:flex-start}.vehicle-history .section-title>div{width:100%;text-align:left}
/* Icon buttons have their own line box, independent of the page font metrics. */
.modal-close{box-sizing:border-box;flex-shrink:0;line-height:1;align-content:center;justify-content:center;overflow:hidden}
.modal-close>.ui-icon{display:block;margin:0;position:static;transform:none;flex:none}
.fleet-review-dialog .row>.modal-close,.photo-compare-dialog .row>.modal-close{position:static;inset:auto;margin-left:auto}
