
/* avto-v153.css */
/* AVTOTRIP V153 */
.av153-role-hidden{display:none!important}

.av153-form-layout{display:grid;gap:18px;width:100%;margin:16px 0}
.av153-owner-row{display:grid;gap:12px;align-items:stretch;width:100%}
.av153-row-1{grid-template-columns:repeat(8,minmax(105px,1fr))}
.av153-row-2{grid-template-columns:1.05fr 1fr 1fr 1.15fr .85fr 1.15fr}
.av153-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.av153-row-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.av153-owner-row>label,.av153-owner-row>fieldset,.av153-owner-row>.av76-location{min-width:0;margin:0;height:100%}
.av153-row-3>label,.av153-row-3>fieldset,.av153-row-3>.av76-location{display:flex;flex-direction:column;min-height:210px}
.av153-row-3 textarea{flex:1;min-height:145px;resize:vertical}
.av153-row-3 .av76-map-picker,.av153-row-3 details{flex:1}
.av153-tech-field input{text-transform:uppercase}

.av153-handover{display:contents}
.av153-handover-field{min-width:0;border:1px solid var(--line,#cbd8e5);border-radius:14px;padding:12px;background:var(--panel,#fff)}
.av153-handover-field legend{padding:0 6px;font-weight:800}
.av153-handover-dropdown{position:relative}
.av153-handover-dropdown>summary{list-style:none;cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;border:1px solid var(--line,#cbd8e5);border-radius:12px;font-weight:700}
.av153-handover-dropdown>summary::-webkit-details-marker{display:none}
.av153-handover-dropdown>summary:after{content:'⌄';font-size:20px}
.av153-handover-options{display:grid;gap:8px;margin-top:8px;padding:8px;border:1px solid var(--line,#cbd8e5);border-radius:12px;background:var(--panel,#fff);max-height:310px;overflow:auto}
.av153-handover-option{display:grid!important;grid-template-columns:auto minmax(120px,1fr) minmax(125px,.7fr);gap:10px;align-items:center;padding:8px;border-radius:10px}
.av153-handover-option:hover{background:rgba(43,143,223,.08)}
.av153-handover-option>input{width:20px!important;height:20px!important;margin:0}
.av153-service-price{display:grid;grid-template-columns:auto minmax(70px,1fr);gap:7px;align-items:center}
.av153-service-price small{white-space:nowrap}
.av153-service-price input{min-width:0!important;width:100%!important}

.av153-monthly-editor{margin:18px 0;padding:18px;border:1px solid var(--line,#cbd8e5);border-radius:16px}
.av153-monthly-editor .av51-rate-grid{grid-template-columns:minmax(220px,420px)!important}

.av153-renter{display:grid;gap:12px;margin:12px 0 16px}
.av153-renter-location{display:grid;gap:6px;font-weight:700}
.av153-renter-location select{width:100%;min-height:48px}
.av153-duration{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px;border:1px solid var(--line,#cbd8e5);border-radius:14px;font-weight:800}
.av153-duration-controls{display:grid;grid-template-columns:42px minmax(120px,auto) 42px;align-items:center;text-align:center;border:1px solid var(--line,#cbd8e5);border-radius:12px;overflow:hidden}
.av153-duration-controls button{min-height:42px;border:0;background:transparent;font-size:24px;cursor:pointer;color:inherit}
.av153-duration-controls button:disabled{opacity:.35;cursor:not-allowed}
.av153-booking-sticky{position:sticky;bottom:16px;z-index:30;display:grid;gap:10px;margin-top:16px;padding:14px;border:1px solid var(--line,#cad7e4);border-radius:18px;background:var(--panel,#fff);box-shadow:0 14px 36px rgba(15,42,67,.18)}
.av153-booking-total{text-align:center;font-size:18px;font-weight:900;line-height:1.3}
.av153-booking-sticky #bookBtn{width:100%;min-height:54px;margin:0}
.av153-monthly-page .av76-car-price span{font-weight:700}

html[data-theme="dark"] .av153-handover-field,
html[data-theme="dark"] .av153-handover-options,
html[data-theme="dark"] .av153-booking-sticky,
body.dark .av153-handover-field,
body.dark .av153-handover-options,
body.dark .av153-booking-sticky{background:#10283a;color:#f5f9ff;border-color:#4e7189}
html[data-theme="dark"] .av153-handover-dropdown>summary,
html[data-theme="dark"] .av153-duration,
html[data-theme="dark"] .av153-duration-controls,
body.dark .av153-handover-dropdown>summary,
body.dark .av153-duration,
body.dark .av153-duration-controls{color:#fff;border-color:#5f8199}

@media(max-width:1450px){.av153-row-1{grid-template-columns:repeat(4,minmax(140px,1fr))}.av153-row-2{grid-template-columns:repeat(3,minmax(150px,1fr))}}
@media(max-width:850px){
 .av153-owner-row,.av153-row-1,.av153-row-2,.av153-row-3,.av153-row-4{grid-template-columns:1fr}
 .av153-row-3>label,.av153-row-3>fieldset,.av153-row-3>.av76-location{min-height:0}
 .av153-handover{display:contents}
 .av153-handover-option{grid-template-columns:auto 1fr}.av153-service-price{grid-column:2}
 .av153-booking-sticky{position:sticky;bottom:8px;border-radius:14px}
 .av153-booking-total{font-size:16px}
}


/* avto-v154.css */
/* AVTOTRIP V154 — booking/header, monthly entry and owner form corrections. */

/* The legacy handover pair is replaced by the compact V154 selectors. */
#hostForm .av49-handover,
#ownerQuickForm .av49-handover{display:none!important}

/* Car page: a 20% wider booking column and a calendar that fills it exactly. */
@media(min-width:1000px){
 html body #carPage.av102-car-page{grid-template-columns:minmax(0,1fr) 456px!important;max-width:1360px!important}
 html body #carPage.av102-car-page>.booking{width:456px!important;max-width:456px!important}
}
html body #carPage .booking .av102-inline-calendar,
html body #carPage .booking .av102-inline-calendar .ds-picker,
html body #carPage .booking .ds-picker-backdrop,
html body #carPage .booking .ds-picker{inline-size:100%!important;width:100%!important;max-inline-size:none!important;max-width:none!important;min-inline-size:0!important;box-sizing:border-box!important}
html body #carPage .av153-booking-sticky{display:contents!important;position:static!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}

/* Keep the title bar visible. The cloned CTA appears there only after the
   permanent button has been passed while scrolling. */
body:has(#carPage) header.top{position:sticky!important;top:0!important;z-index:1200!important}
body:has(#carPage){padding-bottom:0!important}
body:has(#carPage) #av109-book-dock{position:absolute!important;inset:auto 118px auto auto!important;top:50%!important;transform:translateY(-50%)!important;width:250px!important;max-width:28vw!important;padding:5px!important;border-radius:13px!important;z-index:5!important;box-sizing:border-box!important}
body:has(#carPage) #av109-book-dock .btn{min-height:42px!important;padding:8px 13px!important;margin:0!important;font-size:14px!important}
html:not(.av154-book-dock-visible) body:has(#carPage) #av109-book-dock{display:none!important}
html.av154-book-dock-visible body:has(#carPage) #av109-book-dock[hidden]{display:block!important}

/* Owner form: controls have equal columns, equal heights and aligned bottoms. */
.av154-aligned-form .av153-owner-row{align-items:end!important;gap:10px!important}
.av154-aligned-form .av153-row-1{grid-template-columns:repeat(8,minmax(0,1fr))!important}
.av154-aligned-form .av153-row-2{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.av154-aligned-form .av153-row-1>label,
.av154-aligned-form .av153-row-2>label{display:grid!important;grid-template-rows:minmax(34px,auto) 42px;align-content:end;min-width:0!important;height:auto!important}
.av154-aligned-form .av153-row-1>label>.av102-field-title,
.av154-aligned-form .av153-row-2>label>.av102-field-title,
.av154-aligned-form .av153-row-1>label>span:first-child,
.av154-aligned-form .av153-row-2>label>span:first-child{align-self:end;line-height:1.2;margin:0 0 5px!important;font-size:13px!important}
.av154-aligned-form .av153-row-1 input,
.av154-aligned-form .av153-row-1 select,
.av154-aligned-form .av153-row-1 button,
.av154-aligned-form .av153-row-2 input,
.av154-aligned-form .av153-row-2 select,
.av154-aligned-form .av153-row-2 button{width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;min-height:42px!important;padding:0 11px!important;box-sizing:border-box!important;font-size:14px!important}
.av154-aligned-form .av153-row-1 .av100-native-select,
.av154-aligned-form .av153-row-2 .av100-native-select{width:100%!important;min-width:0!important;height:42px!important}

/* Deposit explanation is available only from the help icon. */
.av154-deposit{position:relative!important}
.av154-deposit .av102-deposit-hint{display:none!important}
.av154-deposit-help{position:absolute!important;top:0!important;right:2px!important;display:grid!important;place-items:center!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;border:1px solid #2489d7!important;border-radius:50%!important;background:#fff!important;color:#1476bd!important;font-size:12px!important;font-weight:900!important;line-height:1!important;cursor:help!important;overflow:visible!important;z-index:8}
.av154-deposit-tip{position:absolute;right:-4px;top:27px;width:250px;padding:9px 11px;border:1px solid #c8d9e7;border-radius:10px;background:#fff;color:#17324d;font-size:12px;font-weight:600;line-height:1.4;box-shadow:0 10px 28px #10283a2b;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-3px);transition:.14s ease;white-space:normal;text-align:left}
.av154-deposit-help:hover .av154-deposit-tip,
.av154-deposit-help:focus-visible .av154-deposit-tip{opacity:1;visibility:visible;transform:none}

/* Pickup/return lists: garage first and mutually exclusive with paid places. */
.av153-row-4{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important}
.av154-handover-field{min-width:0;margin:0!important;border:1px solid var(--line,#cbd8e5);border-radius:14px;padding:12px;background:var(--panel,#fff)}
.av154-handover-field legend{padding:0 6px;font-weight:800}
.av154-handover-dropdown{position:relative}
.av154-handover-dropdown>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:1px solid var(--line,#cbd8e5);border-radius:11px;font-weight:700}
.av154-handover-dropdown>summary::-webkit-details-marker{display:none}
.av154-handover-dropdown>summary:after{content:'⌄';font-size:18px}
.av154-handover-options{display:grid;gap:7px;margin-top:8px;padding:8px;border:1px solid var(--line,#cbd8e5);border-radius:11px;background:var(--panel,#fff);max-height:310px;overflow:auto}
.av154-handover-option{display:grid!important;grid-template-columns:auto minmax(120px,1fr) minmax(128px,.7fr);gap:9px;align-items:center;padding:7px;border-radius:9px;margin:0!important}
.av154-handover-option:hover{background:rgba(43,143,223,.08)}
.av154-handover-option>input[type=checkbox]{width:19px!important;height:19px!important;margin:0!important}
.av154-service-price{display:grid;grid-template-columns:auto minmax(70px,1fr);gap:6px;align-items:center}
.av154-service-price small{white-space:nowrap;font-size:11px}
.av154-service-price input{min-width:0!important;width:100%!important;height:40px!important;box-sizing:border-box!important}
.av154-service-price input:disabled{opacity:.55}

/* Long-term price occupies one quarter; both upload boxes share the row. */
.av154-assets-row{display:grid!important;grid-template-columns:minmax(190px,1fr) repeat(2,minmax(0,1.5fr));gap:14px;align-items:stretch;width:100%;margin:16px 0}
.av154-assets-row>.quick-wide{grid-column:auto!important}
.av154-assets-row>.av51-monthly,
.av154-assets-row>.upload,
.av154-assets-row>.file-upload,
.av154-assets-row>.avto-upload{width:auto!important;min-width:0!important;min-height:190px!important;height:100%!important;margin:0!important;box-sizing:border-box!important}
.av154-assets-row>.upload,
.av154-assets-row>.file-upload,
.av154-assets-row>.avto-upload{display:flex!important;flex-direction:column!important;justify-content:flex-start!important}
.av154-assets-row .file-ui{margin-top:auto}
.av154-monthly-quarter.av153-monthly-editor{padding:14px!important}
.av154-monthly-quarter h3{font-size:17px!important;line-height:1.25;margin:0 0 8px!important}
.av154-monthly-quarter p{font-size:12px!important;line-height:1.4;margin:0 0 12px!important}
.av154-monthly-quarter .av51-rate-grid{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
.av154-monthly-quarter input{width:100%!important;box-sizing:border-box!important}

/* Premium/dark-theme readability. */
html[data-theme="premium"] .av154-handover-field,
html[data-theme="premium"] .av154-handover-options,
html[data-theme="dark"] .av154-handover-field,
html[data-theme="dark"] .av154-handover-options,
body.dark .av154-handover-field,
body.dark .av154-handover-options{background:#10283a!important;color:#f5f9ff!important;border-color:#4e7189!important}
html[data-theme="premium"] .av154-handover-dropdown>summary,
html[data-theme="dark"] .av154-handover-dropdown>summary,
body.dark .av154-handover-dropdown>summary{color:#fff!important;border-color:#5f8199!important;background:#17364b!important}
html[data-theme="premium"] .av154-deposit-help,
html[data-theme="dark"] .av154-deposit-help,
body.dark .av154-deposit-help{background:#1e425a!important;color:#fff!important;border-color:#70bdf4!important}
html[data-theme="premium"] .av154-deposit-tip,
html[data-theme="dark"] .av154-deposit-tip,
body.dark .av154-deposit-tip{background:#17364b!important;color:#fff!important;border-color:#5f8199!important}

@media(max-width:1100px) and (min-width:851px){
 .av154-aligned-form .av153-row-1{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .av154-aligned-form .av153-row-2{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:999px){
 body:has(#carPage) #av109-book-dock{right:92px!important;width:190px!important;max-width:35vw!important}
}
@media(max-width:850px){
 .av153-row-4{grid-template-columns:1fr!important}
 .av154-assets-row{grid-template-columns:1fr!important}
 .av154-assets-row>.av51-monthly,.av154-assets-row>.upload,.av154-assets-row>.file-upload,.av154-assets-row>.avto-upload{min-height:0!important}
 .av154-handover-option{grid-template-columns:auto 1fr}.av154-service-price{grid-column:2}
}
@media(max-width:620px){
 body:has(#carPage) #av109-book-dock{right:76px!important;width:140px!important;max-width:42vw!important;padding:3px!important;border-radius:10px!important}
 body:has(#carPage) #av109-book-dock .btn{min-height:36px!important;padding:6px 8px!important;font-size:12px!important}
}


/* avto-v155.css */

/* V155: explicit control rows, independent of legacy label margins. */
html body .av154-aligned-form .av153-owner-row{align-items:start!important}
html body .av154-aligned-form :is(.av153-row-1,.av153-row-2)>label{position:relative!important;display:grid!important;grid-template-rows:34px 42px!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin:0!important;padding:0!important;align-content:start!important;align-items:stretch!important;min-width:0!important}
html body .av154-aligned-form :is(.av153-row-1,.av153-row-2)>label>:is(span,.av102-field-title):not(.av154-deposit-tip){grid-row:1!important;grid-column:1!important;align-self:center!important;margin:0!important;padding:0!important;line-height:16px!important;font-size:12px!important}
html body .av154-aligned-form :is(.av153-row-1,.av153-row-2)>label>:is(input,select,button.av100-select-button){grid-row:2!important;grid-column:1!important;align-self:stretch!important;box-sizing:border-box!important;margin:0!important;transform:none!important;height:42px!important;min-height:42px!important;max-height:42px!important;width:100%!important;min-width:0!important}
html body .av154-aligned-form :is(.av153-row-1,.av153-row-2)>label>select.av100-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;min-width:0!important;margin:-1px!important;padding:0!important;clip-path:inset(50%)!important;opacity:0!important;pointer-events:none!important}
html body .av154-aligned-form .av153-row-2 .av154-deposit-help{position:absolute!important;top:9px!important;right:0!important;left:auto!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;padding:0!important;margin:0!important;border-radius:50%!important;font-size:11px!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-shadow:none!important}
html body .av154-deposit>.av102-field-title{padding-right:21px!important}
@media(min-width:1000px){html body #carPage.av102-car-page{grid-template-columns:minmax(0,1fr) 501.6px!important}html body #carPage.av102-car-page>.booking{width:501.6px!important;max-width:501.6px!important;min-width:0!important}}
html body #carPage .booking :is(.av102-inline-calendar,.ds-picker,.ds-picker-backdrop){width:100%!important;inline-size:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html body #carPage .booking{overflow-x:hidden!important}


/* avto-v156.css */
#av150AccountSecurity[hidden],#av145-password-button{display:none!important}
#ownerProfile85 #av150AccountSecurity,#clientContent #av150AccountSecurity{width:100%;max-width:none;margin:24px 0 0;box-sizing:border-box}
.av79-calendar .av79-owner-nav{border:1px solid #cfdeea;border-radius:18px;padding:22px;align-self:start;position:sticky;top:90px;max-height:calc(100vh - 110px);overflow:auto}
.av79-calendar .av79-owner-nav>a,.av79-calendar .av79-owner-nav>button{display:block;box-sizing:border-box;width:100%;text-align:left;background:#edf5fb;border:1px solid #c8ddef;border-radius:12px;padding:15px;margin:8px 0;color:#172b4d}
.av79-calendar .av79-owner-nav>a.sel{background:#d7ebfc;border-left:3px solid #e8a000;color:#136da8}
html body :is(#ownerPage,.av79-calendar,.client-layout) .av86-verify-button.av156-unverified{border:1px solid #dc3545!important;background:#fff0f1!important;color:#a91425!important;box-shadow:0 0 8px #dc354530!important}
html body :is(#ownerPage,.av79-calendar,.client-layout) .av86-verify-button.av156-verified{border:1px solid #20a65a!important;background:#ecfff3!important;color:#126738!important;box-shadow:0 0 8px #20a65a30!important}
html body dialog.av156-editor{width:min(1500px,96vw)!important;max-width:96vw!important;box-sizing:border-box;overflow-x:hidden}
html body .av156-editor .av62-grid{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important}
.av156-editor .av62-grid>[data-field80=currency]{width:220px;max-width:100%}
html body .av156-form-row{display:grid!important;gap:12px!important;align-items:start!important;width:100%;min-width:0}
.av156-row1{grid-template-columns:repeat(8,minmax(0,1fr))}.av156-row2{grid-template-columns:repeat(6,minmax(0,1fr))}.av156-row3{grid-template-columns:repeat(3,minmax(0,1fr))}.av156-row4{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .av156-form-row>label,html body .av156-form-row>fieldset{grid-column:auto!important;width:auto!important;min-width:0!important;margin:0!important;box-sizing:border-box}
html body :is(.av156-row1,.av156-row2)>label{display:grid!important;grid-template-rows:34px 42px;position:relative;gap:0!important;padding:0!important}
html body .av156-title{grid-row:1;align-self:center;font-size:12px;line-height:16px;margin:0!important;padding:0!important}
html body :is(.av156-row1,.av156-row2)>label>:is(input,select,.av100-select-button){grid-row:2;grid-column:1;min-width:0!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;box-sizing:border-box}
html body .av156-editor select.av100-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;opacity:0!important;clip-path:inset(50%)!important}
html body .av156-help{position:absolute;right:0;top:8px;width:17px!important;min-width:17px!important;height:17px!important;min-height:17px!important;padding:0!important;border-radius:50%;font-size:11px;line-height:1;cursor:help}
.av156-row3>fieldset{height:240px!important;overflow:auto}.av156-row3 textarea{height:185px!important;width:100%;box-sizing:border-box}
.av156-monthly{grid-template-columns:repeat(4,minmax(0,1fr))}.av156-monthly h3{grid-column:1/-1}
.av156-review-dialog{width:min(520px,90vw);border:1px solid #b8cde0;border-radius:20px;padding:24px;box-sizing:border-box;color:#172b4d;background:white}.av156-review-dialog::backdrop{background:#102b4d99}
.av156-review-dialog fieldset{margin:12px 0;border:0;padding:0}.av156-review-dialog textarea{width:100%;box-sizing:border-box;margin:10px 0}.av156-review-dialog button{margin:6px}
.av156-stars{display:flex;gap:10px}.av156-stars label{position:relative;cursor:pointer;font-size:34px;color:#748598}.av156-stars input{position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;cursor:pointer}.av156-stars .selected{color:#1677e8}.av156-stars label:focus-within{outline:2px solid #1677e8;outline-offset:3px}.av156-error{color:#b01c2e}
.av156-reviews{margin:30px 0;padding:24px 0;border-top:1px solid #cfdeea}.av156-score{font-size:38px}.av156-rating-row{display:grid;grid-template-columns:170px minmax(50px,1fr) 55px;gap:15px;align-items:center;margin:18px 0}.av156-rating-row progress{width:100%;height:12px;accent-color:#1677e8}.av156-review{border-top:1px solid #cfdeea;padding:20px 0;margin-top:20px;overflow-wrap:anywhere}
html body #av109-book-dock{display:none!important}
body:has(#carPage) header.top{position:sticky!important;top:0!important;z-index:1200!important}
#av156-book-dock{display:flex;align-items:center;gap:12px;margin-left:auto;padding:6px 12px;background:var(--panel,#fff);border-radius:12px;z-index:10}#av156-book-dock[hidden]{display:none!important}#av156-book-dock strong{max-width:200px;font-size:16px}#av156-book-dock .btn{white-space:nowrap}
header.top:has(#av156-book-dock:not([hidden])) nav{display:none!important}
html[data-theme=premium] :is(.av156-review-dialog,#av156-book-dock){background:#132b3f;color:#f4f8ff}
html[data-theme=premium] .av79-calendar .av79-owner-nav>:is(a,button){background:#163448;color:#f4f8ff;border-color:#476a83}
@media(max-width:1100px){.av156-row1{grid-template-columns:repeat(4,minmax(0,1fr))}.av156-row2{grid-template-columns:repeat(3,minmax(0,1fr))}.av156-row3{grid-template-columns:1fr}.av156-row3>fieldset{height:auto!important}}
@media(max-width:650px){.av156-row1,.av156-row2,.av156-row4,.av156-monthly{grid-template-columns:repeat(2,minmax(0,1fr))}.av156-rating-row{grid-template-columns:110px 1fr 42px;gap:8px;font-size:13px}#av156-book-dock{gap:5px;padding:4px}#av156-book-dock strong{font-size:12px;max-width:100px}#av156-book-dock .btn{font-size:12px;padding:9px}.av79-calendar .av79-owner-nav{position:static;max-height:none}}

/* V157 host-form layout, scoped to the vehicle editor. */
html body dialog.av157-editor{width:min(1320px,96vw)!important;padding:24px!important}
html body .av157-editor .av62-grid{gap:12px!important}
.av157-heading{display:flex;align-items:flex-start;gap:10px}.av157-heading>b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#2588d9;color:#fff}.av157-heading strong,.av157-heading small{display:block}.av157-heading small{margin-top:4px;color:#6b7a90}
html body .av157-editor .av156-row3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body .av157-editor .av156-row3>.av80-address{grid-column:1/-1!important;width:100%!important;height:190px!important;min-height:190px!important}
html body .av157-editor .av156-row3>.av86-insurance{grid-column:1!important;height:205px!important;min-height:205px!important}
html body .av157-editor .av156-row3>.av81-description{grid-column:2!important;height:205px!important;min-height:205px!important}
html body .av157-editor .av156-row3 textarea{height:155px!important;font-family:inherit!important;font-size:14px!important}
html body .av157-editor .av156-row4>fieldset{padding:12px!important;border:1px solid #577386!important;border-radius:14px!important}
html body .av157-editor .av156-row4 summary{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 12px;border:1px solid #91acc0;border-radius:10px;list-style:none;cursor:pointer}
.av157-editor .av156-row4 summary:after{content:'⌄'}.av157-editor .av156-row4 summary::-webkit-details-marker{display:none}
html body .av157-assets{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1.5fr)!important;gap:14px!important;align-items:stretch!important;min-width:0}
html body .av157-assets>.av156-monthly{display:flex!important;flex-direction:column!important;width:auto!important;gap:8px!important;padding:14px!important;border:1px solid #577386;border-radius:14px;box-sizing:border-box}
html body .av157-assets>.av156-monthly h3{font-size:16px!important;line-height:1.3!important;margin:0!important}
html body .av157-month-hint{font-size:12px!important;line-height:1.4;margin:0!important;color:#6b7a90}
html body .av157-assets .av156-monthly>label{display:grid;gap:6px;min-width:0;margin-top:auto}
html body .av157-assets .av156-monthly input{min-width:0!important;width:100%!important;box-sizing:border-box;height:42px}
html body .av157-editor .av157-legacy-rate{display:none!important}
html body .av157-assets>fieldset{min-width:0!important;width:auto!important;margin:0!important;border:1px dashed #b9cddd;border-radius:14px;padding:14px!important;box-sizing:border-box;background:var(--panel,#f7fafc)}
html body .av157-assets>fieldset legend{font-size:15px;font-weight:700}
html body .av157-assets .av69-files{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;max-height:300px;overflow:auto;margin:12px 0}
html body .av157-assets .av70-file{min-width:0!important;overflow-wrap:anywhere}
html body .av157-assets .av70-file img{width:100%!important;height:90px!important;object-fit:contain!important}
html body .av157-assets .av77-file-actions{display:flex;flex-wrap:wrap;gap:4px}
html body .av157-assets input[type=file]{max-width:100%;min-width:0;font-size:12px}
html body .av157-assets button{font-size:12px!important;padding:6px 8px!important;min-width:0!important}
@media(max-width:800px){html body .av157-editor .av156-row3{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .av157-assets{grid-template-columns:1fr!important}}
@media(max-width:520px){html body .av157-editor .av156-row3{grid-template-columns:1fr!important}html body .av157-editor .av156-row3>.av81-description,html body .av157-editor .av156-row3>.av86-insurance{grid-column:1!important}html body dialog.av157-editor{padding:14px!important}}

/* Header owns a stacking context above content tabs; home stays unchanged. */
html.av158-inner body header.top{position:sticky!important;top:0!important;z-index:2200!important;overflow:visible!important}
html.av158-inner body header.top #av89-menu{z-index:10!important}
html.av158-inner body header.top #av89-panel{z-index:11!important;max-height:calc(100dvh - 100px)!important}
html body .ds-picker-backdrop.av158-booking-calendar{position:fixed!important;inset:auto!important;right:auto!important;bottom:auto!important;margin:0!important;padding:0!important;height:auto!important;min-width:0!important;max-width:calc(100vw - 16px)!important;background:transparent!important;box-sizing:border-box!important;overflow:auto!important;z-index:2300!important;border-radius:14px;box-shadow:0 12px 42px #152c4940}
html body .ds-picker-backdrop.av158-booking-calendar:not(.open){display:none!important}
html body .ds-picker-backdrop.av158-booking-calendar.open{display:block!important}
html body .av158-booking-calendar .ds-picker{position:static!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;max-width:100%!important;max-height:none!important;margin:0!important;padding:12px!important;box-sizing:border-box!important;border:1px solid var(--line,#d5e2ec);border-radius:14px!important}
html body .av158-booking-calendar .ds-picker-body{max-height:none!important;overflow:visible!important;padding:0!important}
html body .av158-booking-calendar .ds-months-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
html body .av158-booking-calendar .ds-month:nth-child(2){display:none!important}
html body .av158-booking-calendar .ds-days button{min-width:0!important;padding:6px!important}
html body .av158-booking-calendar .ds-picker-head{gap:6px!important;margin:8px 0!important}
html body .av158-booking-calendar .ds-picker-foot{padding:8px 0 0!important}
html body .av158-booking-calendar .ds-time{display:flex!important;justify-content:space-between!important;gap:8px!important;margin:8px 0!important}
html body .av158-booking-calendar .ds-time input{min-width:0!important;width:125px!important;box-sizing:border-box!important}

/* V159 shared grid: layout proportions include gaps, without fixed field widths. */
html body .av159-editor{width:min(1400px,96vw)!important;max-width:96vw!important;padding:22px!important;box-sizing:border-box!important}
html body form.av159-form{min-width:0!important;max-width:100%!important}
html body form.av159-form>[data-av159-field=currency]{width:min(240px,100%)!important}
html body form.av159-form .av159-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:20px!important;width:100%!important;min-width:0!important;margin:16px 0!important;padding:0!important}
html body form.av159-form .av159-grid>div{min-width:0!important;grid-column:1/-1!important}
html body form.av159-form .av159-r1{display:grid!important;grid-template-columns:1.26fr 1.26fr .7fr 1.26fr 1.26fr 1.26fr .5fr .5fr!important;gap:12px!important;align-items:start!important}
html body form.av159-form .av159-r2{display:grid!important;grid-template-columns:2fr 2fr 1fr 2fr!important;gap:12px!important}
html body form.av159-form .av159-r3{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
html body form.av159-form .av159-r4{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
html body form.av159-form .av159-field{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;min-width:0!important;width:auto!important;max-width:100%!important;grid-column:auto!important;position:relative!important;box-sizing:border-box!important}
html body form.av159-form .av159-label{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;min-height:36px!important;height:auto!important;margin:0!important;padding:0!important;line-height:18px!important;font-size:13px!important;white-space:normal!important;overflow-wrap:anywhere}
html body form.av159-form .av159-field>input:not([type=checkbox]),html body form.av159-form .av159-field>select,html body form.av159-form .av159-field>.av100-select-button{width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;margin:0!important;padding:8px 10px!important;font-size:14px!important;border-radius:10px!important}
html body form.av159-form [data-av159-field=long_term_enabled]>input{width:22px!important;height:22px!important;min-height:22px!important;margin:11px 0!important;align-self:flex-start!important}
html body form.av159-form .av159-r4>.av159-field{height:230px!important;padding:12px!important;border:1px solid var(--line,#cbd9e7);border-radius:12px;background:var(--card,#fff)}
html body form.av159-form .av159-r4>.av159-field>.av159-label{min-height:22px!important;height:auto!important;flex:none}
html body form.av159-form .av159-r4 textarea{width:100%!important;min-width:0!important;flex:1!important;min-height:130px!important;box-sizing:border-box!important;font:inherit!important;resize:vertical}
html body form.av159-form .av159-r4 .av76-location-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important}
html body form.av159-form .av159-r4 button{font-size:12px!important;max-width:100%!important}
html body form.av159-form .av159-handover,html body form.av159-form .av159-assets{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
html body form.av159-form .av159-assets>*{min-width:0!important;max-width:100%!important;width:auto!important;grid-column:auto!important;box-sizing:border-box!important}
html body form.av159-form .av159-assets input[type=file]{max-width:100%!important;width:100%!important;box-sizing:border-box!important}
html body form.av159-form .av69-files{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;max-height:300px;overflow:auto}
html body form.av159-form .av69-files img{width:100%!important;max-height:100px!important;object-fit:contain!important}
html body form.av159-form .av77-file-actions{display:flex;flex-wrap:wrap;gap:5px}
html body form.av159-form .av159-help{position:static!important;flex:0 0 17px!important;display:inline-grid!important;place-items:center!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;padding:0!important;margin:0 0 0 5px!important;border:1px solid #2586d9!important;border-radius:50%!important;background:transparent!important;color:#2586d9!important;font-size:11px!important;line-height:1!important;box-shadow:none!important;cursor:help}
html body .av159-heading{display:flex;flex-direction:column;gap:5px;margin:16px 0}
html body .av159-driver-extras{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
html body .av159-profile{border:1px solid var(--line,#cadbe9);border-radius:16px;padding:20px;margin-top:20px}
html body .av159-profile.av357-profile-fields{border:0!important;border-radius:0!important;padding:0!important;margin:16px 0 0!important;box-shadow:none!important}
html body .av159-questionnaire{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body .av159-questionnaire label{display:grid;gap:7px;min-width:0}
html body .av159-questionnaire input{width:100%;box-sizing:border-box;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #bdd3e7;border-radius:9px;font:inherit;background:#fff;color:#172b4d}
html body .av159-questionnaire label:has([name=license]),html body .av159-questionnaire small,html body .av159-questionnaire p{grid-column:1/-1}
html body .av159-notice{width:min(520px,calc(100vw - 24px));box-sizing:border-box;padding:24px;border:1px solid #cbd9e7;border-radius:18px;background:var(--card,#fff);color:var(--text,#172b4d)}
html body .av159-notice::backdrop{background:#07172599}
html body .av159-notice a{display:block;margin:16px 0}
/* Removed tariff editors cannot flash while old page scripts initialize. */
html body .av51-monthly,html body .av156-monthly,html body .av153-duration{display:none!important}
@media(max-width:1100px) and (min-width:701px){html body form.av159-form .av159-r1{grid-template-columns:repeat(4,minmax(0,1fr))!important}html body form.av159-form .av159-r3{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){
 html body main.host{padding-left:12px!important;padding-right:12px!important;width:100%!important;box-sizing:border-box!important}
 html body main.host>#hostForm{width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
 html body .av159-editor{padding:12px!important;width:98vw!important;max-width:98vw!important}
 html body #hostForm.av159-form,html body #driverForm120.av159-form{padding:14px!important}
 html body form.av159-form .av159-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:12px 8px!important}
 html body form.av159-form .av159-grid>.av159-r1,html body form.av159-form .av159-grid>.av159-r2,html body form.av159-form .av159-grid>.av159-r3,html body form.av159-form .av159-grid>.av159-r4,html body form.av159-form .av159-grid>.av159-handover,html body form.av159-form .av159-grid>.av159-assets{display:contents!important}
 html body form.av159-form [data-av159-field=brand]{grid-area:1/1/2/5!important}html body form.av159-form [data-av159-field=model]{grid-area:1/5/2/9!important}html body form.av159-form [data-av159-field=year]{grid-area:1/9/2/11!important}
 html body form.av159-form [data-av159-field=body_type]{grid-area:2/1/3/4!important}html body form.av159-form [data-av159-field=transmission]{grid-area:2/4/3/8!important}html body form.av159-form [data-av159-field=fuel]{grid-area:2/8/3/11!important}
 html body form.av159-form [data-av159-field=fuel_consumption]{grid-area:3/1/4/5!important}html body form.av159-form [data-av159-field=seats]{grid-area:3/5/4/7!important}html body form.av159-form [data-av159-field=city]{grid-area:3/7/4/11!important}
 html body form.av159-form [data-av159-field=price_day]{grid-area:4/1/5/6!important}html body form.av159-form [data-av159-field=deposit]{grid-area:4/6/5/11!important}
 html body form.av159-form [data-av159-field=long_term_enabled]{grid-area:5/1/6/5!important}html body form.av159-form [data-av159-field=weekly_discount]{grid-area:5/5/6/8!important}html body form.av159-form [data-av159-field=monthly_discount]{grid-area:5/8/6/11!important}
 html body form.av159-form [data-av159-field=license_plate]{grid-area:6/1/7/5!important}html body form.av159-form [data-av159-field=tech_passport_series]{grid-area:6/5/7/7!important}html body form.av159-form [data-av159-field=tech_passport_number]{grid-area:6/7/7/11!important}
 html body form.av159-form [data-av159-field=garage]{grid-area:7/1/8/11!important}html body form.av159-form [data-av159-field=insurance]{grid-area:8/1/9/11!important}html body form.av159-form [data-av159-field=description]{grid-area:9/1/10/11!important}
 html body form.av159-form .av159-handover>fieldset:nth-child(1){grid-area:10/1/11/11!important}html body form.av159-form .av159-handover>fieldset:nth-child(2){grid-area:11/1/12/11!important}
 html body form.av159-form [data-av159-asset=photos]{grid-area:12/1/13/11!important}html body form.av159-form [data-av159-asset=documents]{grid-area:13/1/14/11!important}
 html body form.av159-form .av159-driver-extras{grid-row:14!important;grid-template-columns:1fr!important}
 html body form.av159-form .av159-label{height:48px!important;min-height:48px!important;line-height:16px!important;font-size:12px!important;align-items:flex-end!important}
 html body form.av159-form .av159-field>input:not([type=checkbox]),html body form.av159-form .av159-field>.av100-select-button{padding:8px 5px!important;font-size:14px!important}
 html body form.av159-form [name=year]{appearance:textfield!important;-moz-appearance:textfield!important;font-size:12px!important;padding:8px 3px!important}
 html body form.av159-form [name=year]::-webkit-inner-spin-button{appearance:none!important;margin:0!important}
 html body form.av159-form [data-av159-field=year] .av159-label,html body form.av159-form [data-av159-field=tech_passport_series] .av159-label{font-size:10px!important;line-height:14px!important}
 html body form.av159-form .av159-r4>.av159-field{height:auto!important;min-height:180px!important}
 html body .av159-questionnaire{grid-template-columns:1fr}
}

/* Same shell and field styling for self-drive and chauffeur listing. */
html body main#driverHost120.av160-driver-host{max-width:1260px!important;width:calc(100% - 40px)!important;margin:0 auto!important;padding:70px 30px!important;box-sizing:border-box!important}
html body #driverHost120>h1,html body #driverHost120>p{text-align:center!important}
html body #driverForm120.av159-form{padding:30px!important;border:1px solid #d5e2ec!important;border-radius:18px!important;box-shadow:0 12px 35px #0000000b!important;background:#fff!important}
html body #driverForm120 .av159-field{color:#6b7a90!important}
html body #driverForm120 .av159-field input,html body #driverForm120 .av159-field select,html body #driverForm120 .av159-field textarea{color:#172b4d!important}
html body .av160-step h2{font-size:18px!important;margin:0!important}html body .av160-step p{font-size:13px!important;margin:5px 0!important}
html body .av160-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none;font-size:19px;font-weight:700;padding:8px 0;color:#172b4d}
html body .av160-disclosure>summary::-webkit-details-marker{display:none}html body .av160-disclosure>summary:after{content:'＋';font-size:20px}html body .av160-disclosure[open]>summary:after{content:'−'}
html body .av160-disclosure>form{margin-top:20px}html body .av160-disclosure:not([open])>:not(summary){display:none!important}
html body .av160-disclosure>summary:focus-visible{outline:2px solid #1677e8;outline-offset:4px;border-radius:4px}
html body .av79-owner-nav,html body .client-side{gap:6px!important}
html body .av79-owner-nav>a,html body .av79-owner-nav>button,html body .client-side>a,html body .client-side>button{box-sizing:border-box!important;min-height:0!important;padding:9px 12px!important;margin:0!important;line-height:1.35!important;font-size:14px!important;width:100%!important;border-radius:10px!important}
html body a.av160-earn,html body button.av160-earn{background:linear-gradient(180deg,#ff747b 0%,#f04450 46%,#dd142b 51%,#cf1027 100%)!important;color:#fff!important;border:1px solid #ce1d32!important;border-radius:10px!important;box-shadow:inset 0 1px 0 #ffffff99,0 4px 12px #dc17352b!important;padding:10px 15px!important;text-shadow:0 1px 1px #9d001e66!important;text-decoration:none!important}
html body .av160-earn:hover{filter:brightness(1.08)}html body .av160-earn:focus-visible{outline:3px solid #ff9ba5;outline-offset:3px}
html body header.top a.av160-earn{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1.25!important;height:auto!important;min-height:38px!important;padding:8px 12px!important;box-sizing:border-box!important}
html body .av79-owner-nav>a.av160-earn,html body .client-side>a.av160-earn{padding:9px 12px!important}
@media(max-width:700px){
 html body main.host h1{font-size:32px!important;letter-spacing:-.5px!important;overflow-wrap:anywhere!important}
 html body main#driverHost120.av160-driver-host{width:100%!important;padding:30px 12px!important}
 html body #driverForm120.av159-form{padding:14px!important}
 html body form.av159-form .av159-grid{row-gap:6px!important}
 html body form.av159-form .av159-field{gap:4px!important}
 html body form.av159-form .av159-label{height:auto!important;min-height:24px!important;flex:1!important}
 html body form.av159-form .av159-field>input,html body form.av159-form .av159-field>select{flex-shrink:0!important}
}

/* V164: shared compact handover controls. */
body .av154-handover-field{padding:6px!important}
body .av154-handover-dropdown>summary{min-height:38px;padding:0 10px}
body .av154-handover-options{gap:4px;margin-top:5px;padding:4px}
body .av154-handover-option{padding:4px;gap:6px}
body .av154-service-price[hidden]{display:none!important}
body .av154-handover-option[data-location=garage]{grid-template-columns:auto 1fr}
body #hostForm>button[type=submit],body #hostForm>button.btn{width:100%!important;max-width:none!important;display:block;grid-column:1/-1}

/* V166: glossy blue actions. Red earning and destructive actions retain their colors. */
html body :is(.btn,.filter-apply,.auth-submit,.ds-save,.home-go-btn,.av123-button,.home-quick-filter.active,.admin-tabs .tab.active,.av76-view-switch button[aria-pressed=true],.av102-roles button[aria-pressed=true]):not(.av160-earn):not(.danger):not(.btn-danger):not(.av71-delete):not(.av70-remove):not(.av156-unverified):not(.av156-verified):not(.secondary):not(.ghost):not(.outline){
 background-color:#009eeb!important;
 background-image:linear-gradient(180deg,#ffffffcc 0%,#d9f6ff99 12%,#78d5ff66 40%,#2bbaff00 49%,#2bbaff00 100%),linear-gradient(180deg,#0963d3 0%,#008eeb 48%,#00b8ec 75%,#00ccee 100%)!important;
 border-color:#75c8e0!important;
 box-shadow:inset 0 2px 1px #ffffffb3,inset 0 -1px 1px #008cac66,0 0 0 2px #e7eeef,0 2px 5px #0067ac26!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;text-shadow:0 1px 2px #034e7a,0 0 3px #034e7a!important;
}
html body :is(.btn,.filter-apply,.auth-submit,.ds-save,.home-go-btn,.av123-button):not(.av160-earn):not(.danger):not(.btn-danger):not(.av71-delete):not(.av70-remove):not(.secondary):not(.ghost):not(.outline):hover{filter:brightness(1.06)}
html body :is(.btn,.filter-apply,.auth-submit,.ds-save,.home-go-btn):disabled{filter:saturate(.45);opacity:.6;cursor:not-allowed}

/* V224: insurance occupies the former long-term slot. */
@media(min-width:1101px){html body form.av159-form .av159-r3{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
html body form.av159-form [name=rental_insurance_required]{width:100%;min-width:0;max-width:100%}
.av224-insurance-note{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere;white-space:normal}
.av224-insurance-note[hidden]{display:none!important}
#rentalInsurance224{padding:12px;border:1px solid currentColor;border-radius:10px;overflow-wrap:anywhere}

/* AVTOTRIP V357 */

