/* Scoped box model: frontend Manager does not inherit WordPress admin sizing. */
.wdm-tenant-content,.wdm-tenant-content *,.wdm-tenant-shell,.wdm-tenant-shell *,.wdm-tenant-shell *::before,.wdm-tenant-shell *::after,.wdm-wrap,.wdm-wrap *,.wdm-wrap *::before,.wdm-wrap *::after{box-sizing:border-box}
.wdm-tenant-main,.wdm-tenant-content,.wdm-wrap [data-wdm-surface],[data-wdm-surface]>*,.wdm-card,.wdm-form,.wdm-form-grid>*,.wdm-grid-2>*,.wdm-list-filters>*,.wdm-advanced-filters,.wdm-advanced-filters>div>*,.wdm-booking-layout>*,.wdm-booking-primary-action>*{min-width:0}
.wdm-tenant-content,.wdm-card,.wdm-form,.wdm-table-card,.wdm-month-scroll,.wdm-fleet-board,.wdm-responsive-table{max-width:100%}
.wdm-tenant-content :where(input,select,textarea),.wdm-wrap :where(input,select,textarea){min-width:0;max-width:100%}
.wdm-tenant-content :where(h1,h2,h3,p,small,label,code),.wdm-wrap :where(h1,h2,h3,p,small,label,code){overflow-wrap:anywhere}
.wdm-tenant-content :where(img,video,iframe),.wdm-wrap :where(img,video,iframe){max-width:100%}
.wdm-tenant-content pre,.wdm-wrap pre{max-width:100%;overflow:auto}
.wdm-table-card,.wdm-month-scroll,.wdm-fleet-board,.wdm-responsive-table{min-width:0;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.wdm-responsive-table{width:100%;margin:12px 0}.wdm-responsive-table:focus-visible,.wdm-table-card:focus-visible{outline:2px solid #c82132;outline-offset:2px}
.wdm-scroll-hint{font-size:12px;color:#606572;margin:8px 0;line-height:1.5}
.wdm-tenant-content :where(.wdm-toolbar,.wdm-card-head,.wdm-form-actions,.wdm-filters,.wdm-workspace-tabs),.wdm-wrap :where(.wdm-toolbar,.wdm-card-head,.wdm-form-actions,.wdm-filters){flex-wrap:wrap;min-width:0}
.wdm-tenant-content .wdm-button,.wdm-wrap .wdm-button{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
.wdm-tenant-account,.wdm-tenant-topbar>div,.wdm-tenant-topbar a{min-width:0}
@media(max-width:782px){
 .wdm-tenant-content{padding:0 14px 28px;width:100%}.wdm-tenant-topbar{padding-inline:14px;gap:10px}.wdm-card{padding:16px}.wdm-table-card{padding:0}.wdm-tenant-content .wdm-form,.wdm-wrap .wdm-form{width:100%}
 .wdm-tenant-content :where(input,select,textarea),.wdm-wrap :where(input,select,textarea){font-size:16px}
 .wdm-tenant-content .wdm-button,.wdm-wrap .wdm-button{min-height:44px}
 .wdm-list-filters,.wdm-table-tools{width:100%}.wdm-list-filters>*,.wdm-table-tools>*{min-width:0;max-width:100%}.wdm-filter-search,.wdm-advanced-filters{flex-basis:100%}
 .wdm-tenant-content .wdm-reservation-layout,.wdm-wrap .wdm-reservation-layout{grid-template-columns:minmax(0,1fr)}
 .wdm-document-preview{max-width:calc(100% - 24px);margin:auto;padding:12px}
 .wdm-trial-form{min-width:0}
}
@media(max-width:480px){
 .wdm-tenant-content .wdm-card-head,.wdm-wrap .wdm-card-head{align-items:flex-start;gap:12px}
 .wdm-booking-aside #overview .wdm-summary-grid,.wdm-charge-totals,.wdm-mileage-summary{grid-template-columns:minmax(0,1fr)!important}
 .wdm-booking-primary-action{flex-direction:column;align-items:stretch}.wdm-booking-primary-action p{min-width:0!important}
 .wdm-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.wdm-workspace-tabs button{white-space:normal;min-width:0}
 .wdm-tenant-content .wdm-kpis,.wdm-wrap .wdm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.wdm-kpis>*,.wdm-kpi>*{min-width:0;overflow-wrap:anywhere}
 .wdm-tenant-topbar .wdm-tenant-account>span{max-width:80px}.wdm-vehicle-event{grid-template-columns:minmax(0,1fr)}
}
/* Shared public checkout/account controls, including standalone Manager pages. */
.wd-inline-checkout,.wd-inline-checkout *,.wdm-customer-shell,.wdm-customer-shell *{box-sizing:border-box}
.wd-inline-checkout :where(input,select,textarea,fieldset),.wdm-customer-shell :where(input,select,textarea,fieldset){min-width:0;max-width:100%}
.wdm-customer-shell>*{min-width:0}.wdm-customer-shell :where(p,h1,h2,a,strong,span){overflow-wrap:anywhere}
@media(max-width:600px){.wd-inline-checkout :where(input,select,textarea),.wdm-customer-shell :where(input,select,textarea){font-size:16px}.wdm-public-checkin main{padding:20px}.wdm-public-checkin :where(label,input,select,textarea){min-width:0;max-width:100%}.wdm-public-checkin :where(h1,h2,p,strong){overflow-wrap:anywhere}}
