/* V191: legacy menu stays absent; unselected subsection controls stay white. */
html:root body #adminPage .admin-tabs.av190-legacy-tabs{display:none!important;visibility:hidden!important}
html:root body #av190-navigation .av190-sub-tabs .av191-sub-button,
html:root body #cabinet #subtabs174 .av191-sub-button{background:#fff!important;background-image:none!important;color:#111!important;-webkit-text-fill-color:#111!important;text-shadow:none!important;box-shadow:none!important;filter:none!important}
html:root body #av190-navigation .av190-sub-tabs .av191-sub-button[aria-pressed=true],
html:root body #cabinet #subtabs174 .av191-sub-button[aria-pressed=true]{background:linear-gradient(#64d3fb,#0083df)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#008bcc!important}
html:root body #av190-navigation .av191-sub-button::before,html:root body #av190-navigation .av191-sub-button::after,html:root body #cabinet #subtabs174 .av191-sub-button::before,html:root body #cabinet #subtabs174 .av191-sub-button::after{display:none!important}
/* Half of the card, filled right-to-left and bottom-to-top. */
html:root body #ownerCars>.vehicle .av185-actions.av191-card-actions,
html:root body #clientContent .trip-card>.av185-actions.av191-card-actions,
html:root body #adminPage .av65-car .av65-actions.av191-card-actions{display:flex!important;flex-flow:row-reverse wrap-reverse!important;justify-content:flex-start!important;align-content:flex-end!important;align-items:flex-end!important;grid-column:1/-1!important;width:50%!important;max-width:50%!important;min-width:0!important;margin:10px 0 0 auto!important;gap:6px!important;overflow:visible!important;box-sizing:border-box!important;align-self:end!important}
html:root body #adminPage .bookingrow.av65-car.av191-admin-card{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;align-items:start!important}
html:root body #adminPage .av191-admin-card>.av59-photo{grid-column:1!important;grid-row:1/3!important}
html:root body #adminPage .av191-admin-card>.av65-info{grid-column:2!important;grid-row:1!important}
html:root body #adminPage .av191-admin-card>.status{grid-column:2!important;grid-row:2!important;justify-self:start}
html:root body #adminPage .av191-admin-card>.av191-card-actions{grid-row:3!important}
html:root body .av191-card-actions>.av189-car-refunds{display:contents!important}
html:root body #ownerCars .av191-card-actions>.av185-dropdown,
html:root body #clientContent .av191-card-actions>.av185-dropdown{display:block!important;position:relative!important;flex:0 1 auto!important;max-width:100%!important;min-width:0!important;width:auto!important;order:0!important}
html:root body #ownerCars .av191-card-actions>.av185-dropdown>.av185-menu,
html:root body #clientContent .av191-card-actions>.av185-dropdown>.av185-menu{position:absolute!important;top:calc(100% + 6px)!important;right:0!important;left:auto!important;display:flex!important;flex-direction:column!important;width:280px!important;max-width:calc(100vw - 28px)!important;max-height:min(310px,60dvh)!important;overflow:auto!important;background:#fff!important;border:1px solid #cedbea!important;border-radius:10px!important;padding:8px!important;box-shadow:0 8px 24px #10294424!important;z-index:100!important}
html:root body #ownerCars .av191-card-actions .av185-menu[hidden],html:root body #clientContent .av191-card-actions .av185-menu[hidden]{display:none!important}
html:root body .av191-card-actions .av185-menu>button{width:100%!important}
/* Keep the empty option in the native picker, but omit its caption when closed. */
html:root body .av170-age{position:relative}
html:root body .av170-age select.av191-age-empty{color:inherit!important;-webkit-text-fill-color:currentColor!important}
html:root body .av170-age select option{color:#173857!important;-webkit-text-fill-color:#173857!important;background:#fff!important}
html:root body .av170-age select{appearance:none!important;-webkit-appearance:none!important;padding-right:16px!important}
html:root body .av170-age:after{content:'⌄';position:absolute;right:3px;bottom:8px;pointer-events:none;color:#168be1;font-size:14px;line-height:14px}
.av191-home-bar{display:none!important}
html:root body .av191-filter-dialog{width:calc(100vw - 16px)!important;max-width:540px!important;max-height:85dvh!important;margin:auto!important;padding:16px!important;box-sizing:border-box!important}
.av191-filter-dialog::backdrop{background:#0d294d66}.av191-filter-dialog h2{margin:0 0 14px;font-size:20px}.av191-filter-fields{display:grid;gap:12px;margin-bottom:14px}.av191-filter-fields label{display:grid;gap:4px}.av191-filter-fields input,.av191-filter-fields select{width:100%;min-height:40px;font-size:16px;box-sizing:border-box}.av191-filter-dialog>button{width:100%}
@media(max-width:850px){
 html:root body .hero.av93-home .search.av94-fixed{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;padding:8px!important;height:auto!important}
 html:root body .hero .search.av94-fixed .av100-search-scroll{overflow:visible!important;width:100%!important;padding:0!important}
 html:root body .hero .search.av94-fixed .av100-search-row{display:grid!important;grid-template-columns:minmax(0,4fr) minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:5px 8px!important;width:100%!important;min-width:0!important}
 html:root body .hero .search.av94-fixed .av100-search-row>:not(.av104-range):not(.av170-age):not(.av191-home-bar){display:none!important}
 html:root body .hero .search.av94-fixed .av100-search-row>.av104-range{display:flex!important;flex-direction:column!important;grid-area:1/1/2/2!important;width:100%!important;min-width:0!important;padding:0!important;border:0!important;gap:2px!important}
 html:root body .hero .search.av94-fixed .av100-search-row>.av170-age{display:flex!important;grid-area:1/2/2/3!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:0!important;gap:2px!important;align-self:stretch!important}
 html:root body .hero .search.av94-fixed .av100-search-row>.av170-age>span,html:root body .hero .search.av94-fixed .av104-range>small{font-size:12px!important;line-height:16px!important;font-weight:700!important;margin:0!important}
 html:root body .hero .search.av94-fixed .av104-range-button{width:100%!important;min-width:0!important;max-width:100%!important;justify-content:space-between!important;white-space:nowrap!important;gap:3px!important;font-size:12px!important;padding:3px 0!important}
 html:root body .hero .search.av94-fixed .av170-age>select{min-height:31px!important;height:31px!important;padding-top:3px!important;padding-bottom:3px!important;box-sizing:border-box!important}
 html:root body .hero .search.av94-fixed .av191-home-bar{display:flex!important;grid-area:2/1/3/3!important;flex-flow:row nowrap!important;width:100%!important;max-width:100%!important;min-width:0!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:3px 0!important;overscroll-behavior-x:contain;scrollbar-width:none}
 html:root body .av191-home-bar::-webkit-scrollbar{display:none}
 html:root body .av191-home-bar>button,html:root body .av191-home-bar>.av170-dropdown{flex:0 0 auto!important;width:auto!important;max-width:none!important;margin:0!important}
 html:root body .av191-home-bar>button,html:root body .av191-home-bar>.av170-dropdown>summary{height:31px!important;min-height:31px!important;box-sizing:border-box!important;padding:4px 10px!important;font:600 12px/21px Arial,sans-serif!important;white-space:nowrap!important;border:1px solid #bfd4ea!important;border-radius:8px!important;background:#fff!important;color:#173857!important;-webkit-text-fill-color:#173857!important;text-shadow:none!important;box-shadow:none!important;filter:none!important}
 html:root body .av191-home-bar>button::before{display:none!important}
 html:root body .av191-home-bar>.av191-filter-icon{width:42px!important;display:flex!important;justify-content:center;align-items:center;padding:3px!important}
 html:root body .av191-home-bar>button.btn{background:linear-gradient(#64d3fb,#0083df)!important;color:white!important;-webkit-text-fill-color:white!important}
 html:root body .hero .search.av94-fixed .av104-range-button>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
}
