/* Shared treatment for action and status controls. */
html body :is(button.pbb-optical,a.pbb-optical[role=button],a.primary.pbb-optical,a.outline.pbb-optical,#pbb-optical-priority #pbb-optical-priority):is(.primary,.pill,.active,.selected,.chosen,[aria-selected=true],[aria-pressed=true],[aria-checked=true],:active):not(:disabled){
 --glass-fill:linear-gradient(155deg,#ff9b59e8,#e85414f2 42%,#ba3b0ff0 75%,#f68a4de8)!important;
 --glass-edge:#b94813!important;
 --soft-ink:#fffaf4!important;
 --glass-shadow:inset 0 1px 2px #fff0d7d9,inset 0 -3px 4px #ffbf8080,0 2px 2px #61220e55,0 6px 11px #51200e38!important;
 text-shadow:0 1px 2px #65200aaa!important;
}
html body :is(button,a[role=button]):not(.pbb-optical):not([data-no-skin]):not(.logo,.menu,.video-control,.studio-video-toggle,.lucky-key-submit,.rental-hotspot,.company-carousel-arrow,.logo-menu-arrow):not(nav *):not(:disabled):is(:active,.active,.selected,.chosen,[aria-selected=true],[aria-pressed=true],[aria-checked=true]){
 background-color:#d94c13!important;border-color:#b83e0c!important;color:#fffaf4!important;
}
/* Align compact button rows; leave navigation, forms and specialized controls intact. */
html body :is(.crm-finance-stages,.crm-filter-shortcuts,.crm-stock-statuses,.service-tabs,.customer-content-tabs,.ops-tabs,.modal-tabs,.service-category-tabs){justify-content:flex-end}
html body .crm-team-toolbar{justify-content:flex-end}
@media(max-width:720px){
 html body :is(.crm-finance-stages,.crm-filter-shortcuts,.crm-stock-statuses,.service-tabs,.ops-tabs){justify-content:flex-end;flex-wrap:wrap;overflow-x:visible}
}

/* Glass volume comes from a soft edge, inner light and a cast shadow, without an outlined ring. */
html body :is(button.pbb-optical,a.pbb-optical[role=button],a.primary.pbb-optical,a.outline.pbb-optical,#pbb-optical-priority #pbb-optical-priority){
 border-color:transparent!important;
 --glass-shadow:inset 0 2px 3px #ffffffcc,inset 2px 0 4px #51596132,inset 0 -3px 5px #68727b44,2px 4px 5px #26313a40,7px 13px 19px #1a232c4d!important;
}
html body :is(button.pbb-optical,a.pbb-optical[role=button],a.primary.pbb-optical,a.outline.pbb-optical,#pbb-optical-priority #pbb-optical-priority):is(.primary,.pill,.active,.selected,.chosen,[aria-selected=true],[aria-pressed=true],[aria-checked=true],:active):not(:disabled){
 --glass-shadow:inset 0 2px 3px #fff0d7cf,inset 2px 0 4px #74301635,inset 0 -3px 5px #74301660,2px 4px 5px #61220e55,7px 13px 19px #51200e49!important;
}
html body :is(button.pbb-optical,a.pbb-optical[role=button],a.primary.pbb-optical,a.outline.pbb-optical)>.pbb-glass-optics::before{
 border:0!important;box-shadow:none!important;
}
/* All skinned button-shaped links share the same glass edge as buttons. */
html body :is(button.pbb-optical,a.pbb-optical,#pbb-optical-priority #pbb-optical-priority){
 border-color:transparent!important;
 --glass-shadow:inset 0 2px 3px #ffffffcc,inset 2px 0 4px #51596132,inset 0 -3px 5px #68727b44,2px 4px 5px #26313a40,7px 13px 19px #1a232c4d!important;
}
html body :is(button.pbb-optical,a.pbb-optical)>.pbb-glass-optics::before{border:0!important;box-shadow:none!important}
/* The centre uses the logo's orange (#e85018), while retaining glass reflections. */
html body :is(button.pbb-optical,a.pbb-optical,#pbb-optical-priority #pbb-optical-priority):is(.primary,.pill,.active,.selected,.chosen,[aria-selected=true],[aria-pressed=true],[aria-checked=true],:active):not(:disabled){
 --glass-fill:linear-gradient(150deg,#fc8a43f7 0%,#e85018fa 42%,#c43b0df7 100%)!important;
 --soft-ink:#fffaf4!important;
 --glass-shadow:inset 0 2px 3px #fff0d7cf,inset 2px 0 4px #74301635,inset 0 -3px 5px #74301660,2px 4px 5px #61220e55,7px 13px 19px #51200e49!important;
}
html body :is(button,a[role=button]):not(.pbb-optical):not([data-no-skin]):not(.logo,.menu,.video-control,.studio-video-toggle,.lucky-key-submit,.rental-hotspot,.company-carousel-arrow,.logo-menu-arrow):not(nav *):not(:disabled):is(:active,.active,.selected,.chosen,[aria-selected=true],[aria-pressed=true],[aria-checked=true]){background-color:#e85018!important;border-color:transparent!important;color:#fffaf4!important}
@media (hover:hover){
 html body :is(button.pbb-optical,a.pbb-optical,#pbb-optical-priority #pbb-optical-priority):hover:not(:disabled){
  --glass-fill:linear-gradient(150deg,#ff9948ff 0%,#e85018ff 42%,#c63e0eff 100%)!important;
  --soft-ink:#fffaf4!important;
  --glass-shadow:inset 0 2px 3px #fff0d7df,inset 2px 0 4px #74301635,inset 0 -3px 5px #74301660,2px 4px 5px #61220e55,7px 13px 19px #51200e49!important;
 }
 html body :is(button,a[role=button]):not(.pbb-optical):not([data-no-skin]):not(.logo,.menu,.video-control,.studio-video-toggle,.lucky-key-submit,.rental-hotspot,.company-carousel-arrow,.logo-menu-arrow):not(nav *):not(:disabled):hover{background-color:#e85018!important;color:#fffaf4!important}
}
/* Price-change cards keep the image as the detail link and badges at its lower corners. */
html body .price-history-card .price-photo{grid-column:1/-1;position:relative;min-width:0;overflow:hidden;border-radius:12px}
html body .price-history-card .price-photo>a{display:block}
html body .price-history-card .price-photo img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}
html body .price-history-card .price-photo :is(.price-market-note,.price-drop-overlay){top:auto!important;bottom:10px!important}
html body .price-history-card .price-photo .price-market-note{left:10px!important}
html body .price-history-card .price-photo .price-drop-overlay{right:10px!important}
html body .price-history-card>del{font-size:15px!important;line-height:1.3}
html body .price-history-card .price-card-actions :is([data-company-compare],[data-save],[data-share-car]){font-size:25px!important;font-weight:700!important;min-width:38px;min-height:44px;color:#f2f3f1!important;-webkit-text-fill-color:currentColor!important;background:none!important;box-shadow:none!important;border:0!important}
html body .price-history-card .price-card-actions [data-share-car] svg{width:21px;height:21px;stroke-width:2.3}
html body .price-history-card .price-card-actions :is([data-company-compare],[data-save],[data-share-car]):is([aria-pressed=true],.active,:active){color:#e85018!important;-webkit-text-fill-color:#e85018!important}
/* Quick-contact uses its own orbit and bypasses the automatic control skin. */
html body .pbb-quick-contact :is(.pbb-contact-toggle,.pbb-contact-actions>a,.pbb-contact-actions>button){
 border:0!important;
 --glass-fill:linear-gradient(155deg,#eef7fa50,#b8c9cf27 48%,#eef7fa30)!important;
 --glass-shadow:inset 0 2px 3px #ffffffcc,inset 2px 0 4px #51596132,inset 0 -3px 5px #68727b44,2px 4px 5px #26313a40,7px 13px 19px #1a232c4d!important;
}
html body .pbb-quick-contact :is(.pbb-contact-toggle,.pbb-contact-actions>a,.pbb-contact-actions>button)>.pbb-glass-optics::before{border:0!important;box-shadow:none!important}
html body .pbb-quick-contact.is-open .pbb-contact-toggle{--glass-fill:linear-gradient(150deg,#ff9948ff,#e85018ff 42%,#c63e0eff)!important}
@media (hover:hover){html body .pbb-quick-contact :is(.pbb-contact-toggle,.pbb-contact-actions>a,.pbb-contact-actions>button):hover{--glass-fill:linear-gradient(150deg,#ff9948ff,#e85018ff 42%,#c63e0eff)!important;--soft-ink:#fffaf4!important}}
/* Search fields and disclosure controls use the same edge-free glass and reflected light. */
html body :is(.pbb-search-row.pbb-optical,summary.pbb-optical,input.pbb-optical,select.pbb-optical,textarea.pbb-optical,#pbb-optical-priority #pbb-optical-priority){
 border-color:transparent!important;
 --glass-shadow:inset 0 2px 3px #ffffffc9,inset 2px 0 4px #51596130,inset 0 -3px 5px #68727b40,2px 4px 5px #26313a40,7px 13px 19px #1a232c50,9px 11px 16px #ffc78930!important;
}
html body :is(.pbb-search-row.pbb-optical,summary.pbb-optical,input.pbb-optical,select.pbb-optical,textarea.pbb-optical)>.pbb-glass-optics::before{border:0!important;box-shadow:none!important}
html body :is(button.pbb-optical,a.pbb-optical,#pbb-optical-priority #pbb-optical-priority){box-shadow:var(--glass-shadow)!important}
@media (hover:hover){
 html body :is(summary.pbb-optical,select.pbb-optical,#pbb-optical-priority #pbb-optical-priority):hover:not(:disabled){
  --glass-fill:linear-gradient(150deg,#ff9948ff,#e85018ff 42%,#c63e0eff)!important;
  --soft-ink:#fffaf4!important;
  --glass-shadow:inset 0 2px 3px #fff0d7df,inset 0 -3px 5px #74301660,2px 4px 5px #61220e55,7px 13px 19px #51200e49,9px 11px 16px #ff9a3b55!important;
 }
}
/* Inventory ratings and vehicle actions share one compact row. */
html body #inventory #cars .pbb-art-card{grid-template-rows:auto 1fr auto!important}
html body #inventory #cars .pbb-art-info{min-height:0!important;padding-bottom:48px!important}
html body #inventory #cars .pbb-art-info>small{position:absolute;bottom:13px;left:15px;right:150px;display:block!important;white-space:nowrap;font-size:12px!important;overflow:hidden;text-overflow:ellipsis}
html body #inventory #cars .pbb-art-social{grid-row:2!important;align-self:end!important;justify-self:end!important;position:relative!important;inset:auto!important;width:auto!important;margin:0 12px 4px 0!important;gap:0!important;z-index:6}
html body #inventory #cars .pbb-art-social>button{appearance:none!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#eee!important;-webkit-text-fill-color:#eee!important;font:700 25px/1 Arial,sans-serif!important;cursor:pointer}
html body #inventory #cars .pbb-art-social>button .pbb-glass-optics{display:none!important}
html body #inventory #cars .pbb-art-social>button[data-share-car] svg{width:21px;height:21px;stroke-width:2.3}
html body #inventory #cars .pbb-art-social>button:is([aria-pressed=true],:active){color:#e85018!important;-webkit-text-fill-color:#e85018!important}
html body #inventory #cars .pbb-art-actions{grid-row:3!important}
html body #inventory #cars .pbb-art-info h3{font-size:18px!important}
html body #inventory #cars .pbb-art-info>p{font-size:13px!important}
html body #inventory #cars .vehicle-highlight-tags span{font-size:12px!important}
@media(max-width:700px){
 html body #inventory #cars .pbb-art-info{padding-bottom:44px!important}
 html body #inventory #cars .pbb-art-info h3{font-size:14px!important}
 html body #inventory #cars .pbb-art-info>p{font-size:12px!important}
 html body #inventory #cars .vehicle-highlight-tags span{font-size:10px!important}
 html body #inventory #cars .pbb-art-info>small{left:8px;right:81px;bottom:14px;font-size:8px!important}
 html body #inventory #cars .pbb-art-social{margin:0 3px 2px 0!important}
 html body #inventory #cars .pbb-art-social>button{width:26px!important;min-width:26px!important;height:44px!important;font-size:20px!important}
}
/* Keep every layer of an inventory card in its single full-width column. */
html body #inventory #cars .pbb-art-card{grid-template-columns:minmax(0,1fr)!important}
html body #inventory #cars .pbb-art-card>:is(.pbb-art-visual,.pbb-art-info,.pbb-art-social,.pbb-art-actions){grid-column:1!important}
html body #inventory #cars .pbb-art-visual{width:100%!important}
/* Search is an input, so hover or focus must not paint it orange. */
html body :is(.pbb-search-row.pbb-optical,#pbb-optical-priority #pbb-optical-priority){
 --glass-fill:linear-gradient(155deg,#e6eff43b,#aab9c523 48%,#eff8fa24)!important;
 --glass-shadow:inset 0 2px 3px #ffffffa0,inset 2px 0 4px #51596138,inset 0 -3px 5px #68727b42,2px 4px 5px #26313a45,7px 13px 19px #1a232c55,9px 11px 16px #ffc78927!important;
}
html body .pbb-search-row:focus-within{outline:2px solid #d8e4e880!important;outline-offset:2px}
html body .pbb-search-row input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
/* Buttons and the filter disclosure receive a solid logo-orange hover on mouse devices. */
@media (hover:hover){
 html body :is(button.pbb-optical,a.pbb-optical,summary.pbb-optical,#pbb-optical-priority #pbb-optical-priority):hover:not(:disabled):not(.pbb-search-row){
  --glass-fill:linear-gradient(150deg,#ff9948ff,#e85018ff 42%,#c63e0eff)!important;
  background:var(--glass-fill)!important;
  --soft-ink:#fffaf4!important;
 }
}
/* Consistent vehicle-card surfaces and compact copy in inventory and discovery. */
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-card{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr auto!important;background:#172025!important;border-color:#344149!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-card>:is(.pbb-art-visual,.pbb-art-info,.pbb-art-social,.pbb-art-actions){grid-column:1!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-visual{width:100%!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info{grid-row:2!important;position:relative!important;min-height:0!important;padding:0 15px 48px!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info h3{font-size:19px!important;line-height:1.2!important;min-height:0!important;margin:0 0 5px!important;color:#f5f5f3!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .vehicle-highlight-tags{margin:0 0 5px!important;gap:3px 7px!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .vehicle-highlight-tags span{font-size:12px!important;line-height:1.25!important;color:#e0c1a6!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info>strong{margin:0 0 3px!important;color:#f6f5f1!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info>p{font-size:13px!important;line-height:1.25!important;margin:0 0 5px!important;color:#ccd2d2!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info>small{position:absolute;bottom:13px;left:15px;right:150px;display:block!important;white-space:nowrap;font-size:12px!important;overflow:hidden;text-overflow:ellipsis}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social{grid-row:2!important;align-self:end!important;justify-self:end!important;position:relative!important;inset:auto!important;width:auto!important;margin:0 12px 4px 0!important;gap:0!important;z-index:6}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social>button{appearance:none!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center;justify-content:center;position:static!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#eee!important;-webkit-text-fill-color:#eee!important;font:700 25px/1 Arial,sans-serif!important;cursor:pointer}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social>button:is([aria-pressed=true],:active){color:#e85018!important;-webkit-text-fill-color:#e85018!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social>button svg{width:21px;height:21px;stroke-width:2.3}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-actions{grid-row:3!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-status{font-size:12px!important;line-height:1.3!important;padding:7px 10px!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-market-badge{font-size:12px!important;padding:11px 14px!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-market-badge strong{font-size:27px!important}
@media(max-width:700px){
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info{padding:2px 8px 44px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info h3{font-size:15px!important;line-height:1.23!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .vehicle-highlight-tags span{font-size:10px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info>p{font-size:12px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info>small{left:8px;right:81px;bottom:14px;font-size:8px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social{margin:0 3px 2px 0!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social>button{width:26px!important;min-width:26px!important;height:44px!important;font-size:20px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-status{font-size:10px!important;padding:5px 7px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-market-badge{font-size:10px!important;padding:7px 9px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-market-badge strong{font-size:21px!important}
}
/* Keep long vehicle names readable without wrapping when the available width permits. */
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info h3[data-title-length=medium]{font-size:17px!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info h3[data-title-length=long]{font-size:16px!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-status{background:#c94512ed!important;color:#fff!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .vehicle-highlight-tags span{color:#f28c4d!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-market-badge{background:linear-gradient(145deg,#ef6725e8,#b63b10ee)!important;color:#fff!important}
html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social>button[data-save] svg{width:27px!important;height:27px!important;fill:currentColor;stroke:none}
@media(max-width:700px){
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-info h3:is([data-title-length=medium],[data-title-length=long]){font-size:14px!important}
 html body :is(#inventory #cars,#discovery #play-result .match-results) .pbb-art-social>button[data-save] svg{width:23px!important;height:23px!important}
}

/* Keep illustrated controls transparent; their graphics provide their own shape. */
html body #discovery .real-pump .pump-nozzle,
html body #discovery .real-pump .pump-nozzle:is(:hover,:focus,:active){background:transparent!important;border:0!important;box-shadow:none!important;outline-offset:3px}
html body #discovery .track-pedal,
html body #discovery .track-pedal:is(:hover,:focus,:active){background:transparent url('/track-pedal.png') center/contain no-repeat!important;border:0!important;box-shadow:none!important}
html body #discovery .real-pump .machine-window{padding-right:5px!important}
html body #discovery .real-pump .machine-window strong{font-size:clamp(9px,.72vw,11px)!important;letter-spacing:-.25px!important}
html body #discovery .real-pump .machine-window .reel-step{opacity:0!important;pointer-events:none!important}
html body #discovery .real-pump .machine-window select{width:100%!important}
html body .price-history-card .price-photo :is(.price-market-note,.price-drop-overlay){bottom:2px!important}
html body #discovery .price-history-card{align-content:start!important;row-gap:5px!important}
html body #discovery .price-history-card>h3{margin:6px 0 0!important;line-height:1.3!important}
html body #discovery .price-history-card>.vehicle-highlight-tags{margin:1px 0!important;line-height:1.25!important}
html body #discovery .price-history-card>del{margin:2px 0 0!important}
@media(min-width:701px){html body #discovery .track-housing{aspect-ratio:2.25!important}html body #discovery .track-readout strong{font-size:clamp(60px,8vw,145px)!important}}

/* Every contact action is orange as soon as its orbit opens. */
html body :is(.pbb-quick-contact.is-open,#pbb-optical-priority #pbb-optical-priority) .pbb-contact-actions>:is(a,button){--glass-fill:linear-gradient(150deg,#ff9948ff,#e85018ff 42%,#c63e0eff)!important;--soft-ink:#fffaf4!important;background:var(--glass-fill)!important;color:#fffaf4!important}
html body :is(.pbb-quick-contact.is-open,#pbb-optical-priority #pbb-optical-priority) .pbb-contact-actions>:is(a,button) svg{color:#fffaf4!important}

/* Softer public-site glass: restrained reflections and a compact neutral shadow. */
html body:has(.cinema-header) :is(button.pbb-optical,a.pbb-optical,summary.pbb-optical,#pbb-optical-priority #pbb-optical-priority){
 --glass-shadow:inset 0 1px 2px #ffffff66,inset 1px 0 2px #51596120,inset 0 -1px 2px #68727b26,0 2px 3px #26313a24,0 5px 9px #1a232c26!important;
}
html body:has(.cinema-header) :is(button.pbb-optical,a.pbb-optical,summary.pbb-optical,#pbb-optical-priority #pbb-optical-priority):is(.primary,.pill,.active,.selected,.chosen,[aria-selected=true],[aria-pressed=true],[aria-checked=true],:active):not(:disabled){
 --glass-shadow:inset 0 1px 2px #fff0d766,inset 1px 0 2px #74301620,inset 0 -1px 2px #74301630,0 2px 3px #61220e30,0 5px 9px #51200e26!important;
}
html body:has(.cinema-header) :is(button.pbb-optical,a.pbb-optical,summary.pbb-optical)>.pbb-glass-optics::after{opacity:.30!important}
@media(hover:hover){html body:has(.cinema-header) :is(button.pbb-optical,a.pbb-optical,summary.pbb-optical,#pbb-optical-priority #pbb-optical-priority):hover:not(:disabled){--glass-shadow:inset 0 1px 2px #fff0d778,inset 1px 0 2px #74301620,inset 0 -1px 2px #74301630,0 2px 3px #61220e30,0 5px 9px #51200e26!important}}
