/* Keep dealer controls in the same silver icon language as the home page.
   The first declared layer wins over older important theme overrides. */
@layer dealer-compact {
html body.dealer-account-home #vehicle-search .dealer-controls-row{gap:16px!important;margin-top:14px!important;min-height:40px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row :is(.dealer-map-wrap,.dealer-explore-wrap,.location-toggle-row,.dealer-private-control){min-height:40px!important;gap:8px!important;flex-direction:row!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row :is(.dealer-map-wrap>span,#allow-location-label,#dealer-private-label,.dealer-explore-wrap>button){font:600 12px/1.2 Arial,sans-serif!important;letter-spacing:0!important;white-space:nowrap!important;color:#242930!important;-webkit-text-fill-color:#242930!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row :is(.dealer-map-icon,.dealer-explore-wrap>button){background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:0!important;min-height:40px!important;height:40px!important;display:inline-flex!important;align-items:center!important;gap:8px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row .dealer-map-icon{width:30px!important;min-width:30px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row .dealer-map-icon svg{width:30px!important;height:30px!important;stroke:#8a949e!important;filter:drop-shadow(0 1px 0 #fff)}
html body.dealer-account-home #vehicle-search .dealer-controls-row .dealer-explore-wrap>button::before{content:'';display:block;width:30px;height:30px;flex:none;background:linear-gradient(#c8ced4,#737e8a);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='black' fill-rule='evenodd' d='M16 2C9.9 2 5 6.9 5 13c0 8 11 17 11 17s11-9 11-17C27 6.9 22.1 2 16 2Zm0 7a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z'/%3E%3C/svg%3E") center/contain no-repeat}
html body.dealer-account-home #vehicle-search .dealer-controls-row :is(.location-toggle-row,.dealer-private-control){padding-left:16px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row .ev-metal-switch{order:-1!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:20px!important;min-height:20px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row .ev-switch-knob{width:24px!important;height:24px!important;top:-4px!important;left:-2px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row .ev-switch-word{font:600 7px/1 Arial,sans-serif!important;right:4px!important;letter-spacing:.5px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row [aria-checked=true] .ev-switch-knob{left:20px!important}
html body.dealer-account-home #vehicle-search .dealer-controls-row [aria-checked=true] .ev-switch-word{left:4px!important;right:auto!important}
/* Bound gauges and charts; descriptions remain available in a disclosure. */
html body.dealer-account-home :is(.inventory-shell,.dealer-instruments){padding:14px!important;margin-top:14px!important}
html body.dealer-account-home .instrument-heading{margin-bottom:12px!important;gap:12px!important}
html body.dealer-account-home :is(.instrument-heading h2,.inventory-heading h2){font-size:20px!important;line-height:1.3!important}
html body.dealer-account-home .instrument-heading p{font-size:13px!important}
html body.dealer-account-home .instrument-grid{gap:12px!important}
html body.dealer-account-home .instrument-gauge{padding:12px 10px 8px!important;min-height:0!important}
html body.dealer-account-home .instrument-gauge h3{font-size:14px!important;min-height:34px!important;margin:0 0 4px!important;line-height:1.3!important}
html body.dealer-account-home .instrument-dial{max-width:160px!important}
html body.dealer-account-home .instrument-value{font-size:20px!important;min-width:42px!important;padding:3px 8px!important}
html body.dealer-account-home .instrument-dial small{font-size:11px!important;margin:2px 0 0!important}
html body.dealer-account-home .instrument-status{font-size:12px!important;margin:10px 0!important}
html body.dealer-account-home .instrument-help{margin:10px 0!important;font-size:13px!important;line-height:1.5!important}
html body.dealer-account-home .instrument-help summary{cursor:pointer;font-weight:600}
html body.dealer-account-home .instrument-help dl{display:grid;grid-template-columns:minmax(140px,1fr) 3fr;gap:6px 14px;margin:10px 0}
html body.dealer-account-home .instrument-help dt{font-weight:600}
html body.dealer-account-home .instrument-help dd{margin:0}
html body.dealer-account-home .inventory-metrics{gap:12px!important;margin:12px 0!important}
html body.dealer-account-home .inventory-metrics article{padding:12px!important}
html body.dealer-account-home .inventory-metrics strong{font-size:24px!important;margin-top:6px!important}
html body.dealer-account-home .inventory-charts{margin:12px 0!important;gap:14px!important;grid-template-columns:minmax(0,7fr) minmax(0,3fr)!important}
html body.dealer-account-home .inventory-charts article{padding:14px!important}
html body.dealer-account-home .inventory-charts h3{font-size:16px!important;margin:0 0 10px!important}
html body.dealer-account-home .inventory-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:start!important}
html body.dealer-account-home .inventory-chart-grid.has-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.dealer-account-home .inventory-chart-grid h4{font-size:13px!important;min-height:32px!important;line-height:1.3!important;margin:0 0 6px!important}
html body.dealer-account-home .inventory-chart-grid .inventory-donut{width:100%!important;max-width:170px!important}
html body.dealer-account-home .inventory-donut-section{padding-bottom:10px!important}
html body.dealer-account-home .inventory-legend{margin-top:6px!important;gap:4px!important}
html body.dealer-account-home .inventory-legend>*{font-size:12px!important;padding:4px 6px!important}
html body.dealer-account-home .inventory-chart-placeholder{display:block!important;min-height:0!important;padding:8px 0 0!important;border:0!important;text-align:left!important;font-size:12px!important}
html body.dealer-account-home .inventory-rankings{gap:12px!important}
html body.dealer-account-home .inventory-rankings :is(p,small){font-size:13px!important;line-height:1.45!important;margin:8px 0!important}
html body.dealer-account-home .inventory-note{font-size:12px!important;line-height:1.5!important}
@media(max-width:1000px){html body.dealer-account-home .inventory-charts{grid-template-columns:1fr!important}html body.dealer-account-home .inventory-rankings{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){html body.dealer-account-home #vehicle-search .dealer-controls-row{gap:8px 12px!important}html body.dealer-account-home #vehicle-search .dealer-controls-row .dealer-explore-wrap{flex-basis:auto!important}html body.dealer-account-home .instrument-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.dealer-account-home .inventory-chart-grid,html body.dealer-account-home .inventory-chart-grid.has-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body.dealer-account-home .instrument-help dl{grid-template-columns:1fr!important}html body.dealer-account-home .instrument-help dd{margin-bottom:8px!important}}
@media(max-width:440px){html body.dealer-account-home .inventory-chart-grid,html body.dealer-account-home .inventory-chart-grid.has-breakdown,html body.dealer-account-home .inventory-rankings{grid-template-columns:1fr!important}}
}
