.rbm-owner-root{--rbm-navy:#10243c;--rbm-navy2:#172f4d;--rbm-blue:#31598c;--rbm-ink:#14273e;--rbm-muted:#788599;--rbm-bg:#f4f7fb;--rbm-stroke:#e5eaf1;color:var(--rbm-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-sizing:border-box;line-height:1.5;font-size:15px}.rbm-owner-root *{box-sizing:border-box}.rbm-owner-root a{text-decoration:none}.rbm-owner-root button,.rbm-owner-root input,.rbm-owner-root select{font:inherit}.rbm-owner-root h1,.rbm-owner-root h2,.rbm-owner-root p{margin-top:0}.rbm-login{min-height:75vh;padding:56px 16px;background:linear-gradient(140deg,#edf3fb,#fff);display:flex;align-items:center;justify-content:center}.rbm-auth-card{width:min(100%,460px);background:#fff;border:1px solid var(--rbm-stroke);padding:42px;border-radius:18px;box-shadow:0 20px 60px rgba(16,36,60,.09)}.rbm-brand{font-size:28px;font-weight:800;letter-spacing:-1.4px;color:var(--rbm-navy)}.rbm-brand-dot{color:#dbac55}.rbm-auth-kicker{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--rbm-blue);margin:32px 0 10px}.rbm-auth-card h1{font-size:27px;color:var(--rbm-navy);margin-bottom:7px}.rbm-auth-card p{color:var(--rbm-muted)}.rbm-auth-card label{display:block;font-size:13px;font-weight:700;margin:20px 0 8px}.rbm-auth-card input{display:block;width:100%;padding:13px;border:1px solid #cfd9e6;border-radius:9px;background:#fff;color:var(--rbm-ink)}.rbm-primary,.rbm-primary-link{display:inline-block;text-align:center;background:var(--rbm-navy)!important;border:0!important;color:#fff!important;border-radius:9px;padding:13px 16px;cursor:pointer;font-weight:700}.rbm-auth-card .rbm-primary{margin-top:24px;width:100%}.rbm-footnote{font-size:12px;margin-top:22px;text-align:center}.rbm-alert{background:#fff1ef;border:1px solid #ffd2cc;color:#922b20;padding:12px;border-radius:8px}.rbm-dashboard{background:var(--rbm-bg);padding:0;min-height:750px}.rbm-app{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.rbm-sidebar{background:var(--rbm-navy);color:#e6eff8;display:flex;flex-direction:column;padding:32px 15px}.rbm-logo{font-size:27px;font-weight:800;letter-spacing:-1px;color:#fff;padding:0 18px 35px}.rbm-logo span{color:#e6b766}.rbm-logo small{display:block;font-size:10px;letter-spacing:2px;font-weight:600;color:#91a4ba;margin-top:-2px}.rbm-sidebar nav{display:grid;gap:5px}.rbm-nav-item{display:flex;align-items:center;gap:12px;border-radius:9px;padding:12px 13px;font-weight:600;font-size:13px;color:#c7d3e2}.rbm-nav-active{background:#294563;color:#fff;border-left:3px solid #edc275}.rbm-nav-disabled{opacity:.58;cursor:not-allowed}.rbm-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:21px;font-size:18px}.rbm-soon{margin-left:auto;font-size:9px;white-space:nowrap;font-weight:500;color:#c5cfdd}.rbm-sidebar-bottom{margin-top:auto;padding:35px 10px 0}.rbm-logout-form{margin:0}.rbm-logout{border:1px solid #96a6b6;background:transparent;color:inherit;border-radius:8px;padding:9px 16px;cursor:pointer}.rbm-main{min-width:0;padding:35px clamp(16px,3.2vw,55px)}.rbm-topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.rbm-eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#7d8b9f}.rbm-topbar h1{font-size:29px;margin:0;color:var(--rbm-ink);font-weight:800}.rbm-profile{display:flex;align-items:center;gap:9px;color:var(--rbm-ink);font-size:13px;font-weight:700}.rbm-avatar{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#d7e3ef;color:#264e79}.rbm-welcome{background:linear-gradient(112deg,#17365b,#244b79);color:#fff;padding:27px 32px;border-radius:15px;display:flex;justify-content:space-between;overflow:hidden}.rbm-welcome-eyebrow{font-size:10px;letter-spacing:2px;color:#bad0e5;font-weight:700}.rbm-welcome h2{color:#fff;font-size:25px;margin:6px 0}.rbm-welcome p{margin:0;color:#d4e2ef}.rbm-welcome-mark{font-size:105px;font-weight:900;opacity:.12;line-height:.8}.rbm-business-label{font-size:13px;color:#6c7a8b;margin:20px 0 15px}.rbm-business-label strong{color:#1d334e}.rbm-business-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:22px 0}.rbm-business-form label{font-size:13px;font-weight:700}.rbm-business-form select,.rbm-business-form button{padding:10px;border:1px solid #d0dce9;border-radius:8px;background:#fff;color:#19324d}.rbm-business-form button{background:#193a60;color:#fff;cursor:pointer}.rbm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.rbm-metric,.rbm-panel{background:#fff;border:1px solid var(--rbm-stroke);border-radius:13px;box-shadow:0 4px 12px rgba(25,44,71,.025)}.rbm-metric{padding:20px}.rbm-metric-name{display:block;font-size:12px;color:#6e8095;font-weight:700}.rbm-metric strong{display:block;font-size:34px;color:#192f4d;line-height:1.2;margin:13px 0}.rbm-metric-detail{font-size:11px;color:#8a96a6}.rbm-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:17px;margin-top:20px}.rbm-panel{padding:22px}.rbm-section-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.rbm-section-head h2,.rbm-panel h2{font-size:18px;margin-bottom:16px;color:#1a304a}.rbm-section-head span{font-size:11px;color:#8d9cad}.rbm-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rbm-shortcut{display:flex;align-items:center;gap:12px;padding:14px;background:#f7f9fc;border:1px solid #e8edf4;border-radius:9px;font-weight:700;font-size:13px;color:#38516d;opacity:.78}.rbm-shortcut-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:8px;background:#e5eef8;color:#2c527c;font-size:23px}.rbm-shortcut small{display:block;font-size:11px;color:#8a97a8;font-weight:400;margin-top:2px}.rbm-panel-info p{font-size:13px;color:#687a8c}.rbm-panel-info strong{color:#233f5b}.rbm-ready{color:#1e7758!important}.rbm-ready span{display:inline-block;background:#33a97c;border-radius:50%;width:7px;height:7px;margin-right:5px}.rbm-small{font-size:12px!important;margin-top:25px}.rbm-footer{color:#9aa7b7;font-size:11px;margin:25px 0}.rbm-dashboard>.rbm-auth-card{margin:60px auto}.rbm-dashboard .rbm-auth-card{color:#233f5b}.rbm-dashboard .rbm-auth-card .rbm-logout{color:#233f5b}
@media(max-width:1050px){.rbm-app{grid-template-columns:210px minmax(0,1fr)}.rbm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rbm-columns{grid-template-columns:1fr}.rbm-sidebar{padding:25px 10px}.rbm-soon{display:none}}@media(max-width:700px){.rbm-app{display:block}.rbm-sidebar{padding:16px 15px}.rbm-logo{padding:0 2px 15px;font-size:22px}.rbm-sidebar nav{display:flex;overflow-x:auto;gap:5px;scrollbar-width:thin}.rbm-nav-item{white-space:nowrap;padding:9px 12px;flex-shrink:0;font-size:12px}.rbm-nav-disabled{display:none}.rbm-sidebar-bottom{position:absolute;right:14px;top:12px;padding:0}.rbm-logout{color:#fff;padding:5px 12px;font-size:12px}.rbm-main{padding:24px 16px}.rbm-profile span:last-child{display:none}.rbm-topbar h1{font-size:24px}.rbm-welcome{padding:23px}.rbm-welcome h2{font-size:22px}.rbm-welcome-mark{font-size:70px}.rbm-metrics{gap:10px}.rbm-metric{padding:15px}.rbm-metric strong{font-size:27px}.rbm-metric-name{font-size:11px}.rbm-shortcuts{grid-template-columns:1fr}.rbm-auth-card{padding:29px 23px}.rbm-business-form{align-items:stretch;flex-direction:column}}
/* Standalone rendering: avoids inheriting theme headers, navigation and footers. */
body.rbm-owner-standalone{padding:0!important;margin:0!important;max-width:none!important;background:#f4f7fb}body.rbm-owner-standalone .rbm-owner-root{width:100%;max-width:none;min-height:100vh}body.rbm-owner-standalone .rbm-login{min-height:100vh}body.rbm-owner-standalone .rbm-dashboard{min-height:100vh}
/* v0.2.0: read-only operational navigation and responsive controls */
.rbm-sidebar .rbm-nav-item[href]{cursor:pointer;color:#dbe6f4}.rbm-sidebar .rbm-nav-item[href]:hover,.rbm-sidebar .rbm-nav-item[href]:focus-visible{background:#284563;color:#fff;outline:2px solid #d6ae66;outline-offset:2px}
.rbm-sidebar .rbm-logout{background:#fff;color:#142a44!important;border:1px solid #fff;font-weight:700}.rbm-sidebar .rbm-logout:hover{background:#dce8f5}
.rbm-read-panel{margin-top:20px;min-width:0}.rbm-read-panel h2{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.rbm-muted{font-size:12px;color:#7a8799;font-weight:500}.rbm-empty{padding:24px;border-radius:12px;background:#f5f8fc;color:#60758d}.rbm-record{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid #e5eaf1;flex-wrap:wrap}.rbm-record:last-child{border-bottom:0}.rbm-record span{color:#677b94;font-size:13px}.rbm-vehicle-image{width:64px;height:64px;object-fit:cover;border-radius:8px}.rbm-list{width:100%;min-width:0}.rbm-order{border-bottom:1px solid #e3eaf1}.rbm-order summary{padding:15px 0;display:grid;grid-template-columns:90px 1fr auto auto;align-items:center;gap:12px;cursor:pointer;list-style:none}.rbm-order summary::-webkit-details-marker{display:none}.rbm-order summary::before{content:'+';font-size:18px;font-weight:800;color:#44617f;grid-column:1;grid-row:1;justify-self:start}.rbm-order summary>strong:first-child{margin-left:24px;grid-column:1;grid-row:1}.rbm-order summary span{color:#657a90;font-size:13px}.rbm-status{background:#e9f0f8;border-radius:8px;padding:5px 8px;color:#274a70!important}.rbm-order-body{border-radius:10px;background:#f6f9fc;padding:14px;margin-bottom:15px;overflow-wrap:anywhere}.rbm-order-body p{margin:6px 0;color:#4c627b}.rbm-shortcut-live{opacity:1;text-decoration:none!important;cursor:pointer}.rbm-shortcut-live:hover{border-color:#8aa9ce;background:#eef5ff}.rbm-metric strong{overflow-wrap:anywhere;font-size:clamp(20px,2vw,31px)}.rbm-mobile-nav{display:none}.rbm-topbar h1{overflow-wrap:anywhere}
@media(max-width:700px){
 .rbm-owner-root .rbm-sidebar{display:none}.rbm-owner-root .rbm-app{display:block}.rbm-owner-root .rbm-main{padding:20px 16px 35px}.rbm-profile-name{display:inline!important;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rbm-avatar{width:31px;height:31px}.rbm-topbar{margin-bottom:12px;gap:8px}.rbm-topbar h1{font-size:24px}.rbm-mobile-nav{display:block;margin:8px 0 20px;border:1px solid #cedceb;background:#fff;border-radius:11px;color:#142b45}.rbm-mobile-nav>summary{display:block;padding:13px 15px;font-weight:700;cursor:pointer}.rbm-mobile-nav>nav{padding:0 12px 12px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.rbm-mobile-nav nav a,.rbm-mobile-nav nav span{display:block;padding:10px;border-radius:8px;font-size:12px;background:#f3f7fb;color:#173d66}.rbm-mobile-nav nav span{opacity:.55}.rbm-mobile-nav nav a[aria-current="page"]{background:#26486d;color:#fff}.rbm-mobile-nav .rbm-logout-form{padding:0 12px 13px}.rbm-mobile-nav .rbm-logout{width:100%;background:#122c48;color:#fff!important;border:1px solid #122c48;padding:10px}.rbm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.rbm-order summary{grid-template-columns:1fr 1fr;gap:8px}.rbm-order summary::before{display:none}.rbm-order summary>strong:first-child{margin:0;grid-column:auto;grid-row:auto}.rbm-order summary span{font-size:11px}.rbm-order summary strong:last-child{text-align:right;font-size:13px}.rbm-welcome{margin-top:0}.rbm-metric strong{font-size:22px}.rbm-auth-card{padding:26px 22px}
}
/* v0.2.1 language preferences */
.rbm-read-panel form:has(#rbm-language){display:flex;flex-wrap:wrap;gap:12px;align-items:center}.rbm-read-panel #rbm-language{min-width:210px;border:1px solid #cdd9e8;border-radius:8px;padding:11px 12px;background:#fff;color:#183650}.rbm-read-panel form:has(#rbm-language) .rbm-primary{padding:11px 18px}.rbm-read-panel .rbm-empty{line-height:1.55}

/* v0.2.2: vehicle cards and clean reservation count */
.rbm-owner-root .rbm-order-count{margin:-5px 0 12px!important}.rbm-owner-root .rbm-vehicle-record{gap:14px;align-items:center}.rbm-owner-root .rbm-vehicle-record strong{min-width:0;overflow-wrap:anywhere}.rbm-owner-root .rbm-vehicle-status{background:#ecf3fa;color:#315474;padding:4px 10px;border-radius:999px;font-weight:600;font-size:12px;white-space:nowrap}@media(max-width:600px){.rbm-owner-root .rbm-vehicle-record{gap:10px}.rbm-owner-root .rbm-vehicle-image{width:64px;height:64px;flex:0 0 64px}.rbm-owner-root .rbm-vehicle-status{margin-left:74px}}

/* v0.3.0 — owner's scoped vehicle editor */
.rbm-owner-root .rbm-vehicle-editor{border:1px solid #e1e9f3;border-radius:12px;margin:12px 0;padding:13px;background:#fff}
.rbm-owner-root .rbm-vehicle-editor>summary{cursor:pointer;list-style:none;color:#1a3654;font-weight:700;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rbm-owner-root .rbm-vehicle-editor>summary::-webkit-details-marker{display:none}
.rbm-owner-root .rbm-vehicle-editor>summary:focus-visible{outline:2px solid #497fb4;outline-offset:4px}
.rbm-owner-root .rbm-edit-hint{margin-left:auto;font-size:12px;color:#396896}
.rbm-owner-root .rbm-vehicle-form{padding-top:18px;border-top:1px solid #e7edf4;margin-top:14px}
.rbm-owner-root .rbm-vehicle-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}
.rbm-owner-root .rbm-vehicle-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#385470;font-size:12px;font-weight:700}
.rbm-owner-root .rbm-vehicle-fields input,.rbm-owner-root .rbm-vehicle-fields textarea{width:100%;border:1px solid #cbd8e7;border-radius:8px;padding:10px;background:#fff;color:#152b45;font-size:14px}
.rbm-owner-root .rbm-vehicle-fields label:has(textarea),.rbm-owner-root .rbm-vehicle-file{grid-column:1/-1}
.rbm-owner-root .rbm-vehicle-feedback,.rbm-owner-root .rbm-vehicle-success{color:#24684f;font-weight:600;margin:12px 0 0}
.rbm-owner-root .rbm-vehicle-form button:disabled{opacity:.5;cursor:wait}
.rbm-owner-root .rbm-new-vehicle>summary{padding:10px 3px;color:#214c75}
@media(max-width:640px){.rbm-owner-root .rbm-vehicle-fields{grid-template-columns:1fr}.rbm-owner-root .rbm-edit-hint{margin-left:0}.rbm-owner-root .rbm-vehicle-summary strong{flex:1 1 130px}}

.rbm-assignment-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:16px 0;padding:16px;background:#f5f8fc;border-radius:10px}.rbm-assignment-form label{display:grid;gap:6px;flex:1 1 220px}.rbm-assignment-form select{width:100%;min-height:44px;padding:8px;border:1px solid #cbd5e1;border-radius:6px;background:white;color:#11263c}.rbm-assignment-feedback{flex-basis:100%;margin:0}

.rbm-registry-form{padding:18px}.rbm-registry-form select{min-height:44px;width:100%;padding:9px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#11263c}.rbm-registry-form input[readonly]{background:#f1f5f9}.rbm-credentials label{display:block;margin:12px 0}.rbm-credentials input{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:6px;color:#11263c;background:#fff}.rbm-vehicle-link-form{margin:0 18px 18px;background:#f5f8fc;border-radius:10px}

/* Phase 1 desktop Vehicles & Pricing editor */
.rbm-pricing-identity{display:grid;grid-template-columns:180px minmax(180px,1fr) minmax(230px,1fr);gap:22px;align-items:start;border:1px solid #e3ebf3;border-radius:13px;padding:20px;margin:16px 0;background:#f9fbfe}
.rbm-pricing-identity h2{margin:0 0 12px}.rbm-pricing-identity p{margin:5px 0;font-size:13px}.rbm-pricing-photo{display:block;width:100%;max-height:160px;object-fit:cover;border-radius:12px;background:#e6edf5}.rbm-pricing-placeholder{display:grid;place-items:center;height:135px;color:#6e8094}
.rbm-pricing-identity .rbm-registry-form{padding:0;margin:10px 0;background:none}.rbm-pricing-identity .rbm-registry-form label{display:block}.rbm-pricing-identity .rbm-registry-form select{margin:6px 0 10px}
.rbm-pricing-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.rbm-pricing-tabs{display:grid;gap:7px;background:#f2f6fb;padding:10px;border-radius:10px}.rbm-pricing-tab{border:0;background:transparent;padding:13px 12px;text-align:left;color:#284865;font-weight:700;border-radius:8px;cursor:pointer}.rbm-pricing-tab.active{background:#183b62;color:#fff}.rbm-pricing-tab:focus-visible{outline:2px solid #3b82f6}.rbm-pricing-content{min-width:0}.rbm-pricing-section{border:1px solid #e4ebf3;padding:22px;border-radius:12px}.rbm-pricing-section[hidden]{display:none!important}.rbm-pricing-section h3{margin-top:0}.rbm-pricing-toggle{display:block;margin:12px 0;font-weight:700}.rbm-pricing-form input[type=number]{max-width:100%}.rbm-pricing-feedback{font-size:13px;color:#25644a;margin:12px 0}.rbm-default-form{margin:16px 0;grid-column:2}.rbm-pricing-layout>.rbm-default-form{grid-column:2}
@media(max-width:900px){.rbm-pricing-identity{grid-template-columns:130px 1fr}.rbm-pricing-identity>div:last-child{grid-column:1/-1}.rbm-pricing-layout{grid-template-columns:1fr}.rbm-pricing-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.rbm-default-form{grid-column:1}}

/* v0.6.8 — iPhone Vehicles & Pricing horizontal scroll navigation. */
@media (max-width:700px) {
  .rbm-owner-root .rbm-pricing-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;width:100%;}
  .rbm-owner-root .rbm-pricing-tabs {display:flex;flex-wrap:nowrap;align-items:stretch;gap:8px;min-width:0;max-width:100%;width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding-inline:10px;padding:8px;border-radius:10px;box-sizing:border-box;touch-action:pan-x pan-y;}
  .rbm-owner-root .rbm-pricing-tab {display:block;flex:0 0 auto;min-width:max-content;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-align:center;padding:12px 15px;font-size:14px;line-height:1.3;min-height:44px;}
  .rbm-owner-root .rbm-pricing-content,.rbm-owner-root .rbm-pricing-section,.rbm-owner-root .rbm-starting-default,.rbm-owner-root .rbm-default-form {min-width:0;max-width:100%;width:100%;box-sizing:border-box;}
  .rbm-owner-root .rbm-pricing-section {padding:16px 14px;}
  .rbm-owner-root .rbm-pricing-identity {display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:15px;min-width:0;}
  .rbm-owner-root .rbm-pricing-identity>div:last-child {grid-column:auto;}
  .rbm-owner-root .rbm-pricing-photo {max-width:220px;}
  .rbm-owner-root .rbm-pricing-section .rbm-vehicle-fields {grid-template-columns:minmax(0,1fr);}
  .rbm-owner-root .rbm-pricing-section input,.rbm-owner-root .rbm-pricing-section select,.rbm-owner-root .rbm-pricing-section textarea,
  .rbm-owner-root .rbm-starting-default input,.rbm-owner-root .rbm-starting-default select {max-width:100%;min-width:0;box-sizing:border-box;}
  .rbm-owner-root .rbm-starting-default label {display:block;min-width:0;}
  .rbm-owner-root .rbm-starting-default input[type=text] {display:block;width:100%;}
  .rbm-owner-root .rbm-starting-default .rbm-primary,.rbm-owner-root .rbm-default-form .rbm-primary {max-width:100%;white-space:normal;overflow-wrap:break-word;}
  .rbm-owner-root .rbm-pricing-layout>.rbm-default-form {grid-column:1;}
}

/* v0.6.8 — Vehicle editor lives inside Vehicle details tab on all screen sizes. */
.rbm-owner-root .rbm-vehicle-edit-in-tab {min-width:0;max-width:100%;}
.rbm-owner-root .rbm-vehicle-edit-in-tab .rbm-vehicle-form {min-width:0;max-width:100%;margin-top:12px;}
@media(max-width:700px){
  .rbm-owner-root .rbm-vehicle-edit-in-tab input,.rbm-owner-root .rbm-vehicle-edit-in-tab select,.rbm-owner-root .rbm-vehicle-edit-in-tab textarea {box-sizing:border-box;max-width:100%;min-width:0;}
}

/* v0.6.9 — existing Settings organized as Language and Locations; no schema changes */
.rbm-business-settings .rbm-settings-tabs{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding:7px;background:#f2f6fb;border-radius:10px;margin-bottom:18px}
.rbm-business-settings .rbm-settings-tab{border:0;border-radius:8px;background:transparent;padding:12px 18px;white-space:nowrap;font-weight:700;color:#254667;cursor:pointer;min-height:44px}
.rbm-business-settings .rbm-settings-tab.active{background:#183b62;color:#fff}
.rbm-business-settings .rbm-settings-tab:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}
.rbm-business-settings .rbm-settings-section[hidden]{display:none!important}
.rbm-business-settings .rbm-location-settings{max-width:760px}
.rbm-business-settings .rbm-location-form{display:grid;gap:12px}
.rbm-business-settings .rbm-location-form label{display:grid;gap:7px;font-weight:600;color:#244666}
.rbm-business-settings .rbm-location-form input[type=text]{width:100%;box-sizing:border-box;border:1px solid #cbd8e7;border-radius:8px;padding:12px;color:#152b45;background:#fff;font-size:16px}
.rbm-business-settings .rbm-location-form .rbm-primary{justify-self:start;max-width:100%;white-space:normal}
@media(max-width:700px){.rbm-business-settings .rbm-settings-tabs{width:100%;box-sizing:border-box}.rbm-business-settings .rbm-location-form .rbm-primary{width:100%;justify-self:stretch}}
/* v0.6.10 vehicle image integrity, business media picker and uniform cards */
.rbm-vehicle-card{border-bottom:1px solid #e3eaf2;padding:16px 0;display:grid;gap:10px;min-width:0}
.rbm-vehicle-card:last-child{border-bottom:0}
.rbm-vehicle-card-top{display:flex;align-items:center;gap:12px;min-width:0}
.rbm-vehicle-card-top strong{min-width:0;overflow-wrap:anywhere;flex:1}
.rbm-vehicle-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}
.rbm-vehicle-card-bottom .rbm-primary-link{white-space:nowrap;text-align:center}
.rbm-owner-root .rbm-vehicle-image{width:110px;height:auto;aspect-ratio:562/311;object-fit:contain;flex:0 0 110px;border-radius:8px;background:#edf3f8}
.rbm-vehicle-placeholder{display:grid;place-items:center;font-size:12px;color:#708197}
.rbm-pricing-identity .rbm-pricing-photo{max-height:none;aspect-ratio:562/311;object-fit:contain;background:#eef3f7}
.rbm-image-preview{width:min(100%,440px);aspect-ratio:562/311;display:grid;place-items:center;background:#eef3f7;border-radius:10px;overflow:hidden;margin:12px 0}
.rbm-image-preview img{width:100%;height:100%;object-fit:contain}
.rbm-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:12px 0;max-height:380px;overflow-y:auto}
.rbm-library-grid[hidden]{display:none}
.rbm-library-item{padding:4px;background:#f6f9fd;border:2px solid #dae4f1;border-radius:8px;cursor:pointer}
.rbm-library-item:focus{outline:3px solid #2464b5}
.rbm-library-item img{width:100%;aspect-ratio:562/311;object-fit:contain}
.rbm-driver-photo-preview{width:104px;height:104px;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:#eef3f7;margin:9px 0}
.rbm-driver-photo-preview img{width:100%;height:100%;object-fit:cover}
.rbm-action-success{color:#15603c;background:#e6f6ee;padding:10px 14px;border-radius:9px;margin:12px 0}
.rbm-settings-default{border-top:1px solid #dce5f0;margin-top:24px;padding-top:16px}
@media(max-width:600px){.rbm-owner-root .rbm-vehicle-image{width:82px;flex-basis:82px}.rbm-vehicle-card-bottom .rbm-primary-link{padding:10px 12px;font-size:14px}}

.rbm-vehicle-feedback[data-state='error'],.rbm-registry-feedback[data-state='error']{color:#9a2020;background:#fff0f0;padding:9px;border-radius:7px}
.rbm-vehicle-feedback[data-state='success'],.rbm-registry-feedback[data-state='success']{color:#15603c;background:#e6f6ee;padding:9px;border-radius:7px}


/* v0.6.11 — compact header and accessible drawer. */
.rbm-owner-root .rbm-main{min-width:0;padding-top:10px}
.rbm-owner-root .rbm-sticky-head{position:sticky;top:0;z-index:80;display:flex;align-items:center;gap:12px;padding:10px 14px;margin:0 0 12px;background:rgba(246,249,253,.98);border-bottom:1px solid #d6e1ed;box-shadow:0 3px 14px rgba(20,48,80,.06);backdrop-filter:blur(9px)}
.rbm-owner-root .rbm-head-business{display:flex;flex-direction:column;min-width:0;flex:1}
.rbm-owner-root .rbm-head-business-name{font-weight:800;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rbm-owner-root .rbm-head-view{font-size:12px;color:#536c87}
.rbm-owner-root .rbm-profile-link{text-decoration:none;color:#1d3454;border-radius:24px;max-width:45%;min-width:0}
.rbm-owner-root .rbm-profile-link:focus-visible{outline:3px solid #a57719;outline-offset:3px}
.rbm-owner-root .rbm-menu-trigger{display:none;border:1px solid #bdcede;border-radius:9px;background:#fff;color:#173a5a;font-size:24px;line-height:1;min-width:44px;min-height:44px;cursor:pointer}
.rbm-owner-root .rbm-drawer-backdrop{position:fixed;inset:0;z-index:150;background:rgba(7,19,36,.5)}
.rbm-owner-root .rbm-drawer-backdrop[hidden]{display:none}
.rbm-owner-root .rbm-mobile-drawer{position:fixed;top:0;left:0;bottom:0;z-index:151;width:min(320px,86vw);overflow-y:auto;box-sizing:border-box;padding:18px 14px;background:#142c46;color:#fff;box-shadow:4px 0 30px rgba(0,0,0,.2);transform:translateX(-110%);visibility:hidden;transition:transform .2s ease,visibility .2s}
.rbm-owner-root .rbm-mobile-drawer.is-open{transform:translateX(0);visibility:visible}
.rbm-owner-root .rbm-drawer-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 6px 16px}
.rbm-owner-root .rbm-drawer-close{font-size:25px;min-width:44px;min-height:44px;color:#fff;background:transparent;border:1px solid #7c92a7;border-radius:8px;cursor:pointer}
.rbm-owner-root .rbm-mobile-drawer nav{display:grid;grid-template-columns:1fr;gap:6px}
.rbm-owner-root .rbm-drawer-link{display:flex;gap:12px;align-items:center;padding:13px 14px;min-height:46px;box-sizing:border-box;border-radius:10px;color:#e8f1fc!important;text-decoration:none!important;font-size:15px;font-weight:600}
.rbm-owner-root .rbm-drawer-link span{min-width:24px;font-size:18px;text-align:center}
.rbm-owner-root .rbm-drawer-link:hover,.rbm-owner-root .rbm-drawer-link:focus-visible,.rbm-owner-root .rbm-drawer-current{background:#29587e;color:#fff!important}
.rbm-owner-root .rbm-drawer-logout{border-top:1px solid #56728c;margin-top:16px;padding:16px 4px}
.rbm-drawer-lock{overflow:hidden}
.rbm-owner-root .rbm-business-form{max-width:640px;margin:10px 0 16px;padding:12px;background:#f0f5fa;border:1px solid #d9e4ef;border-radius:12px}
.rbm-owner-root .rbm-read-panel{margin-top:10px}
.rbm-owner-root .rbm-pricing-section .rbm-small{margin-top:8px}
.rbm-owner-root .rbm-field-unit{align-self:flex-start;display:inline-flex;padding:2px 8px;margin-top:2px;color:#36516e;background:#eaf2fa;border-radius:6px;font-size:12px;font-weight:700}
.rbm-owner-root .rbm-help-label{position:relative;scroll-margin-top:85px}
.rbm-owner-root .rbm-help-button{display:inline-grid;place-items:center;vertical-align:middle;margin-left:7px;min-width:26px;min-height:26px;padding:0;border:1px solid #91adcb;border-radius:50%;color:#234c78;background:#f0f7ff;font-size:15px;font-weight:800;cursor:pointer}
.rbm-owner-root .rbm-help-button:focus-visible{outline:3px solid #e0b24a;outline-offset:2px}
.rbm-owner-root .rbm-help-target{background:#f1f7ff;border-radius:8px;outline:2px solid #aecbec;outline-offset:5px}
.rbm-owner-root .rbm-help-pop{display:block;max-width:100%;box-sizing:border-box;padding:14px 16px;margin:10px 0 4px;background:#dceefa;border:1px solid #b6d7ef;border-radius:12px;color:#16334d;box-shadow:0 5px 14px rgba(13,51,81,.1);font-size:14px;line-height:1.5;font-weight:400;white-space:normal}
.rbm-owner-root .rbm-help-pop p{margin:0 0 8px;color:#16334d}
.rbm-owner-root .rbm-help-pop small{font-size:11px;color:#315974}
@media(max-width:700px){
 .rbm-owner-root .rbm-sidebar,.rbm-owner-root .rbm-mobile-nav{display:none!important}
 .rbm-owner-root .rbm-app{display:block;min-width:0}
 .rbm-owner-root .rbm-main{padding:0 12px 24px}
 .rbm-owner-root .rbm-menu-trigger{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px}
 .rbm-owner-root .rbm-sticky-head{margin:0 -12px 12px;padding:10px 12px;top:0;min-height:56px}
 .rbm-owner-root .rbm-head-business-name{font-size:14px}
 .rbm-owner-root .rbm-profile-name{display:none!important}
 .rbm-owner-root .rbm-profile-link{max-width:none}
 .rbm-owner-root .rbm-profile .rbm-avatar{width:35px;height:35px}
 .rbm-owner-root .rbm-read-panel{margin-top:8px}
 .rbm-owner-root .rbm-panel{padding:16px}
}
@media(min-width:701px){.rbm-owner-root .rbm-mobile-drawer,.rbm-owner-root .rbm-drawer-backdrop{display:none!important}}
@media(prefers-reduced-motion:reduce){.rbm-owner-root .rbm-mobile-drawer{transition:none}}

/* v0.6.17: simple-return UI retained from the validated pricing integration.
   Scoped below the previously-approved owner navigation/help CSS. */
.rbm-owner-root .rbm-fare-warning{padding:10px 12px;border-left:3px solid #c17c18;background:#fff5e5;border-radius:5px}
.rbm-owner-root .rbm-pricing-section h4{margin:1.25rem 0 .65rem}
.rbm-owner-root .rbm-pricing-section .rbm-basic-field{min-width:0}
.rbm-owner-root .rbm-pricing-section .rbm-basic-label{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-height:24px;margin-bottom:5px;color:#385470;font-size:12px;font-weight:700}
.rbm-owner-root .rbm-pricing-section .rbm-basic-label label{display:inline;margin:0;min-width:0;flex:0 1 auto}
.rbm-owner-root .rbm-pricing-section .rbm-basic-field > input{display:block;width:100%}
/* Explicit help controls for the newer simplified pricing fields. One popup open at a time. */
.rbm-owner-root button.rbm-fare-help{appearance:none;-webkit-appearance:none;box-sizing:border-box;display:inline-grid;place-items:center;vertical-align:middle;flex:0 0 23px;width:23px;min-width:23px;max-width:23px;height:23px;min-height:23px;max-height:23px;margin:0 0 0 6px;padding:0;border-radius:50%;border:1px solid #a8cbe9;background:#e4f1fd;color:#175a96;font-size:14px;font-weight:800;line-height:1;cursor:pointer;box-shadow:none}
.rbm-owner-root button.rbm-fare-help:focus-visible{outline:2px solid #2275bf;outline-offset:2px}
.rbm-owner-root .rbm-fare-help-pop{box-sizing:border-box;display:block;position:static;width:100%;max-width:100%;margin:8px 0 12px;padding:12px;border:1px solid #bddcf6;border-radius:10px;background:#eaf5ff;color:#173b5b;text-align:left;font-size:13px;font-weight:400;line-height:1.45;white-space:normal;overflow-wrap:anywhere;box-shadow:0 4px 16px rgba(16,40,62,.12)}
.rbm-owner-root .rbm-fare-help-pop[hidden]{display:none!important}
.rbm-owner-root .rbm-basic-field > .rbm-fare-help-pop{grid-column:1/-1}
/* Prevent sticky header from hiding focused content after help interactions. */
.rbm-owner-root .rbm-pricing-section input,.rbm-owner-root .rbm-pricing-section button{scroll-margin-top:90px}

/* v0.6.18 — only the approved five UI adjustments; preserve drawer/help behaviors. */
.rbm-owner-root .rbm-outline-icon{display:block;width:20px;height:20px;flex:none;stroke:currentColor;fill:none;pointer-events:none}
.rbm-owner-root .rbm-nav-icon{width:24px;flex:0 0 24px}
.rbm-owner-root .rbm-drawer-link>span:first-child{display:inline-flex;align-items:center;justify-content:center;width:24px;min-width:24px}
.rbm-owner-root .rbm-drawer-link .rbm-outline-icon,.rbm-owner-root .rbm-nav-item .rbm-outline-icon{stroke:#fff}
.rbm-owner-root button.rbm-help-button{box-sizing:border-box;width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px;line-height:1;padding:0;border-radius:50%}
.rbm-owner-root button.rbm-fare-help{width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;max-height:20px;font-size:12px}
@media(max-width:700px){
  .rbm-owner-root button.rbm-menu-trigger{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;min-width:38px;max-width:38px;height:38px;min-height:38px;max-height:38px;padding:0;margin:0;border-radius:8px;font-size:21px;line-height:1;vertical-align:middle;align-self:center;box-sizing:border-box}
}

/* v0.6.19 — three narrowly scoped visual adjustments only. */
/* Center three bars independently of the font baseline; keep the existing button and click handler. */
@media(max-width:700px){
 .rbm-owner-root button.rbm-menu-trigger{font-size:0!important;line-height:0!important;text-align:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 .rbm-owner-root button.rbm-menu-trigger::before{content:"";display:block;flex:none;width:17px;height:14px;background:linear-gradient(to bottom,currentColor 0 2px,transparent 2px 6px,currentColor 6px 8px,transparent 8px 12px,currentColor 12px 14px);pointer-events:none}
}
/* A 14px visible help circle inside a larger, accessible touch target. */
.rbm-owner-root button.rbm-help-button,.rbm-owner-root button.rbm-fare-help{box-sizing:border-box;position:relative;display:inline-grid;place-items:center;vertical-align:middle;flex:0 0 30px;width:30px;min-width:30px;max-width:30px;height:30px;min-height:30px;max-height:30px;margin-left:4px;padding:0;border:0;background:transparent;box-shadow:none;color:transparent;font-size:0;line-height:0;cursor:pointer}
.rbm-owner-root button.rbm-help-button::before,.rbm-owner-root button.rbm-fare-help::before{content:"?";box-sizing:border-box;display:grid;place-items:center;width:14px;height:14px;border-radius:50%;border:1px solid #a8cbe9;background:#e4f1fd;color:#175a96;font:800 10px/1 Arial,sans-serif;pointer-events:none}
.rbm-owner-root button.rbm-help-button:focus-visible,.rbm-owner-root button.rbm-fare-help:focus-visible{outline:2px solid #2275bf;outline-offset:1px;border-radius:5px}


/* v0.6.20 — help control visual/hit-area correction only.
   A 14px visible circle within an 18px hit box, not a 30px invisible target. */
.rbm-owner-root button.rbm-help-button,
.rbm-owner-root button.rbm-fare-help{
  box-sizing:border-box;
  display:inline-grid;
  place-items:center;
  align-self:center;
  vertical-align:middle;
  flex:0 0 18px;
  width:18px;min-width:18px;max-width:18px;
  height:18px;min-height:18px;max-height:18px;
  margin:0 0 0 4px;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
/* The existing JS marks the wrapping label, which can include the whole field.
   Do not outline or recolor the field when a help is opened. */
.rbm-owner-root .rbm-help-target{
  background:transparent;
  outline:none;
  outline-offset:0;
  box-shadow:none;
}

/* v0.6.21 — vehicle editor only: compact image/information row and driver tab. */
.rbm-owner-root .rbm-pricing-identity{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:center}
.rbm-owner-root .rbm-pricing-identity .rbm-identity-photo,.rbm-owner-root .rbm-pricing-identity .rbm-identity-info{min-width:0;grid-column:auto}
.rbm-owner-root .rbm-pricing-identity .rbm-pricing-photo{width:100%;max-width:100%;height:auto}
.rbm-owner-root .rbm-pricing-section[data-section="driver"] .rbm-vehicle-link-form{margin:0;padding:0;background:transparent}
@media(max-width:700px){
 .rbm-owner-root .rbm-pricing-identity{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 .rbm-owner-root .rbm-pricing-identity .rbm-identity-info h2{font-size:clamp(15px,4vw,20px);line-height:1.25;overflow-wrap:anywhere}
 .rbm-owner-root .rbm-pricing-identity .rbm-identity-info p{font-size:12px;overflow-wrap:anywhere}
}

/* v0.6.22 — compact save controls only. No form markup or event changes. */
.rbm-owner-root .rbm-main form.rbm-vehicle-form > button.rbm-primary[type="submit"],
.rbm-owner-root .rbm-main form.rbm-registry-form > button.rbm-primary[type="submit"],
.rbm-owner-root .rbm-main form.rbm-pricing-form > button.rbm-primary[type="submit"],
.rbm-owner-root .rbm-main .rbm-settings-section form > button.rbm-primary[type="submit"],
.rbm-owner-root .rbm-main .rbm-settings-default form > button.rbm-primary[type="submit"],
.rbm-owner-root .rbm-main form.rbm-pickup-default-form > button.rbm-primary[type="submit"] {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  max-width:100%;
  min-height:36px;
  padding:8px 12px;
  font-size:13px;
  line-height:1.3;
  font-weight:600;
  text-align:center;
  white-space:normal;
}

/* v0.6.23 — single compact visual standard for action buttons in Owner Dashboard.
   Includes type=button (business library) as well as submit buttons;
   excludes navigation links, tabs, drawer/menu and help controls. */
.rbm-owner-root .rbm-main button.rbm-primary {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  max-width:100%;
  min-height:36px;
  padding:8px 12px;
  font-size:13px;
  line-height:1.3;
  font-weight:600;
  text-align:center;
  white-space:normal;
  border-radius:9px;
  vertical-align:middle;
}
/* Existing mobile rule can make the address-save button full-width. Keep it compact. */
@media (max-width:700px) {
  .rbm-owner-root .rbm-main .rbm-business-settings .rbm-location-form button.rbm-primary {
    width:auto;
    justify-self:start;
  }
}

/* v0.6.24 — vehicle photo picker: match compact action height and separate library button.
   Visual only. Native file selection and upload behaviour unchanged. */
.rbm-owner-root .rbm-vehicle-form .rbm-vehicle-file {
  margin-bottom:12px;
}
.rbm-owner-root .rbm-vehicle-form .rbm-vehicle-file input[type="file"] {
  box-sizing:border-box;
  display:block;
  width:max-content;
  max-width:100%;
  min-height:36px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  font-size:13px;
  line-height:1.3;
}
.rbm-owner-root .rbm-vehicle-form .rbm-vehicle-file input[type="file"]::file-selector-button {
  box-sizing:border-box;
  min-height:36px;
  padding:8px 12px;
  border:1px solid #cbd8e7;
  border-radius:9px;
  background:#f3f6fa;
  color:#152b45;
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  font-family:inherit;
  cursor:pointer;
}

/* v0.6.25 — display-only units for vehicle details and Basic Fare. */
.rbm-owner-root .rbm-vehicle-form label:has(>input[name="passengers"]),
.rbm-owner-root .rbm-vehicle-form label:has(>input[name="hand_luggage"]) {position:relative;}
.rbm-owner-root .rbm-vehicle-form label:has(>input[name="passengers"]) > .rbm-field-unit,
.rbm-owner-root .rbm-vehicle-form label:has(>input[name="hand_luggage"]) > .rbm-field-unit {
  position:absolute;right:12px;bottom:11px;z-index:1;
  width:auto;margin:0;padding:3px 7px;pointer-events:none;
  font-size:12px;line-height:1.4;
}
.rbm-owner-root .rbm-vehicle-form label >input[name="passengers"],
.rbm-owner-root .rbm-vehicle-form label >input[name="hand_luggage"] {padding-right:105px;}
.rbm-owner-root .rbm-vehicle-form label:has(>input[name="bags"]) > .rbm-field-unit,
.rbm-owner-root .rbm-vehicle-form label:has(>input[name="year"]) > .rbm-field-unit {display:none!important;}
.rbm-owner-root .rbm-basic-input-unit{position:relative;min-width:0;}
.rbm-owner-root .rbm-basic-input-unit > input {width:100%;padding-right:115px!important;}
.rbm-owner-root .rbm-basic-input-unit > .rbm-basic-unit{
 position:absolute;right:12px;top:50%;transform:translateY(-50%);
 padding:3px 6px;border-radius:5px;background:#eef4fa;color:#355371;
 font-size:12px;line-height:1.3;pointer-events:none;white-space:nowrap;
}
/* Astra's independent scroll-to-top control sits at the page footer, not over editing fields. */
@media(max-width:700px){
 body:has(.rbm-owner-root){position:relative;}
 body:has(.rbm-owner-root) #ast-scroll-top {position:absolute!important;right:6px!important;bottom:6px!important;}
}

/* v0.6.26 — Additive preview; existing owner layout and controls remain unchanged. */
.rbm-owner-root .rbm-long-preview{margin-top:22px;padding-top:14px;border-top:1px solid #e4ebf3;min-width:0}
.rbm-owner-root .rbm-long-preview-calculator{margin-top:14px;min-width:0}
.rbm-owner-root .rbm-long-preview-calculator>label{display:block;font-weight:700;color:#385470;font-size:13px}
.rbm-owner-root .rbm-long-preview-calculator>label>input{display:block;width:100%;max-width:100%;margin-top:7px;box-sizing:border-box}
.rbm-owner-root .rbm-long-preview-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.rbm-owner-root .rbm-long-preview-results>div{min-width:0;background:#f2f6fb;border-radius:8px;padding:10px}
.rbm-owner-root .rbm-long-preview-results span{display:block;font-size:12px;color:#385470}
.rbm-owner-root .rbm-long-preview-results strong{display:block;font-size:clamp(12px,2.5vw,17px);overflow-wrap:anywhere;color:#173653}
.rbm-owner-root .rbm-long-curve{display:block;max-width:100%;width:100%;height:auto;background:#f9fbfe;border:1px solid #e4ebf3;border-radius:8px}
.rbm-owner-root .rbm-long-disclaimer{font-size:12px}
@media(max-width:480px){.rbm-owner-root .rbm-long-preview-results{grid-template-columns:1fr 1fr}.rbm-owner-root .rbm-long-preview-results>div:last-child{grid-column:1/-1}}

/* v0.6.27 — Scoped simulator enhancement; no existing owner layouts changed. */
.rbm-owner-root .rbm-sim-head h4{margin:0 0 6px;font-size:20px}
.rbm-owner-root .rbm-sim-source-label{display:block;font-weight:700;color:#385470;font-size:13px}
.rbm-owner-root .rbm-sim-source-label select{display:block;width:100%;margin-top:7px;max-width:100%}
.rbm-owner-root .rbm-sim-rate-note{margin:8px 0 16px;font-size:12px;color:#4c6177}
.rbm-owner-root .rbm-sim-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;margin-bottom:16px}
.rbm-owner-root .rbm-sim-controls>label{font-size:13px;color:#385470;font-weight:700}
.rbm-owner-root .rbm-sim-controls>label>input{display:block;width:100%;box-sizing:border-box;margin-top:7px}
.rbm-owner-root .rbm-sim-step>span{display:block;font-size:13px;font-weight:700;color:#385470;min-height:2em}
.rbm-owner-root .rbm-sim-step>div{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:7px}
.rbm-owner-root .rbm-sim-step button{background:#fff;color:#1a3d63;border:1px solid #c8d6e6;border-radius:8px;min-width:36px;min-height:36px;cursor:pointer;font-size:20px}
.rbm-owner-root .rbm-sim-step output{font-size:21px;font-weight:700;color:#152d46}
.rbm-owner-root .rbm-sim-warning{padding:12px;margin:10px 0;color:#923a26;background:#fff4ec;border-radius:8px;font-size:13px}
.rbm-owner-root .rbm-sim-distance-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:10px 0 3px;color:#273f5b;font-weight:700}
.rbm-owner-root .rbm-sim-distance-output{font-size:20px}
.rbm-owner-root .rbm-long-distance{display:block;width:100%;accent-color:#2869d5;margin:8px 0 16px;cursor:pointer}
.rbm-owner-root .rbm-sim-difference{display:flex;justify-content:space-between;align-items:center;background:#f2f6fb;padding:12px 14px;border-radius:8px;color:#385470;margin:0 0 14px}
.rbm-owner-root .rbm-sim-difference strong{font-size:18px;color:#173653}
.rbm-owner-root .rbm-long-preview-results{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:8px}
.rbm-owner-root .rbm-sim-plot{margin-bottom:12px}
.rbm-owner-root .rbm-sim-legend{display:flex;justify-content:center;gap:24px;color:#385470;font-size:13px;padding:5px 0}
.rbm-owner-root .rbm-sim-legend span{display:flex;align-items:center;gap:7px}
.rbm-owner-root .rbm-sim-legend i{display:inline-block;width:21px;height:3px}
.rbm-owner-root .rbm-legend-ow{background:#3178db}.rbm-owner-root .rbm-legend-rt{background:#35a855}
.rbm-owner-root button.rbm-sim-reset{border:1px solid #c8d6e6;border-radius:8px;background:#fff;color:#1a3d63;padding:10px 14px;cursor:pointer;margin:0 0 14px}
@media(max-width:480px){.rbm-owner-root .rbm-sim-step>div{gap:3px}.rbm-owner-root .rbm-sim-step button{min-width:32px;min-height:34px}.rbm-owner-root .rbm-sim-step output{font-size:18px}.rbm-owner-root .rbm-long-preview-results>div:last-child{grid-column:auto}}

/* v0.6.28 — Scoped temporary basic-rate inputs; approved dashboard layout unchanged. */
.rbm-owner-root .rbm-sim-basics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 16px}
.rbm-owner-root .rbm-sim-basics>label{font-size:13px;color:#385470;font-weight:700;min-width:0}
.rbm-owner-root .rbm-sim-basics input{display:block;box-sizing:border-box;width:100%;margin-top:7px}
.rbm-owner-root .rbm-sim-step button{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:none;font-size:20px}
@media(max-width:480px){.rbm-owner-root .rbm-sim-step button{width:32px;height:32px;min-width:32px;min-height:32px;padding:0}.rbm-owner-root .rbm-sim-step>div{gap:3px}}

/* v0.6.31 — Simulator-only restoration of direct numeric inputs; mobile-only alignment. */
.rbm-owner-root .rbm-sim-step input[type="number"]{min-width:0;width:68px;max-width:68px;text-align:center;font-size:18px;font-weight:700;color:#152d46;background:#fff;border:1px solid #d2deec;border-radius:7px;padding:5px 3px;box-sizing:border-box;appearance:textfield;-moz-appearance:textfield}
.rbm-owner-root .rbm-sim-step input[type="number"]::-webkit-inner-spin-button,.rbm-owner-root .rbm-sim-step input[type="number"]::-webkit-outer-spin-button,.rbm-owner-root .rbm-sim-distance-input::-webkit-inner-spin-button,.rbm-owner-root .rbm-sim-distance-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.rbm-owner-root .rbm-sim-distance-entry{display:flex;align-items:center;gap:5px;white-space:nowrap}
.rbm-owner-root .rbm-sim-distance-entry input{width:84px;max-width:84px;text-align:right;font-size:19px;font-weight:700;color:#173653;padding:5px 7px;border:1px solid #cad9e9;border-radius:7px;background:#fff;box-sizing:border-box;appearance:textfield;-moz-appearance:textfield}
.rbm-owner-root .rbm-sim-distance-entry span{font-size:17px;font-weight:700}
@media(max-width:480px){
 .rbm-owner-root .rbm-sim-step input[type="number"]{width:58px;max-width:58px;font-size:16px;padding:4px 1px}
 .rbm-owner-root .rbm-sim-step>div{gap:3px}
 .rbm-owner-root .rbm-sim-distance-entry input{width:69px;font-size:17px}
 .rbm-owner-root .rbm-sim-controls>label{display:flex;flex-direction:column;min-width:0}
 .rbm-owner-root .rbm-sim-controls>label>span{display:block;min-height:3em;line-height:1.4}
 .rbm-owner-root .rbm-sim-controls>label>input{margin-top:auto}
}
/* v0.6.32: isolated Reservations-only view. Existing dashboard and pricing styles unchanged. */
/* v0.6.33: Reservation-only presentation; no global shell or pricing overrides. */
.rbm-reservations-v2{--rv-ink:#142c48;--rv-accent:#2373b8;--rv-border:#dce6f1;--rv-soft:#f4f8fc;color:var(--rv-ink)}
.rbm-reservations-v2 .rbm-rv-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.rbm-reservations-v2 .rbm-rv-head h2{margin:0;font-size:25px;letter-spacing:-.02em}
.rbm-reservations-v2 .rbm-rv-head small{color:#64748b;font-size:12px;max-width:270px;text-align:right}
.rbm-reservations-v2 .rbm-rv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.rbm-reservations-v2 .rbm-rv-kpi{min-width:0;background:#f3f8fe;border:1px solid #d6e5f5;border-top:4px solid #467cbe;border-radius:14px;padding:15px 16px;box-shadow:0 2px 5px rgba(20,44,72,.04)}
.rbm-reservations-v2 .rbm-rv-kpi:nth-child(2){background:#fff8ec;border-color:#f4dfbe;border-top-color:#d99437}
.rbm-reservations-v2 .rbm-rv-kpi:nth-child(3){background:#effaf4;border-color:#cfe9d9;border-top-color:#329867}
.rbm-reservations-v2 .rbm-rv-kpi:nth-child(4){background:#faf5fe;border-color:#e5d8f3;border-top-color:#8b67b2}
.rbm-reservations-v2 .rbm-rv-kpi span{display:block;color:#53667d;font-size:13px;margin-bottom:9px;line-height:1.4}
.rbm-reservations-v2 .rbm-rv-kpi strong{display:block;font-size:23px;font-weight:750;color:#152f4a;overflow-wrap:anywhere;line-height:1.2}
.rbm-reservations-v2 .rbm-rv-search{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;align-items:end;gap:12px;margin:22px 0 14px}
.rbm-reservations-v2 .rbm-rv-search label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:650;color:#35516d}
.rbm-reservations-v2 .rbm-rv-search input,.rbm-reservations-v2 .rbm-rv-search select{width:100%;min-height:44px;box-sizing:border-box;border:1px solid #cbd9e8;border-radius:9px;background:white;font-size:15px}
.rbm-reservations-v2 .rbm-rv-search button{min-height:44px;border-radius:9px}
.rbm-reservations-v2 .rbm-rv-list{display:grid;gap:10px;margin-top:12px}
.rbm-reservations-v2 .rbm-rv-entry{border:1px solid var(--rv-border);border-radius:15px;background:#fff;box-shadow:0 2px 9px rgba(20,44,72,.045);min-width:0}
.rbm-reservations-v2 .rbm-rv-entry summary{position:relative;cursor:pointer;list-style:none;padding:16px 19px;display:grid;gap:10px;min-width:0}
.rbm-reservations-v2 .rbm-rv-entry summary::-webkit-details-marker{display:none}
.rbm-reservations-v2 .rbm-rv-entry summary:hover,.rbm-reservations-v2 .rbm-rv-entry summary:focus-visible{background:#f7faff;outline-offset:2px;border-radius:15px}
.rbm-reservations-v2 .rbm-rv-primary,.rbm-reservations-v2 .rbm-rv-secondary,.rbm-reservations-v2 .rbm-rv-tertiary{display:flex;gap:12px;align-items:center;justify-content:space-between;min-width:0}
.rbm-reservations-v2 .rbm-rv-primary>strong{font-size:18px;color:#153b66}
.rbm-reservations-v2 .rbm-rv-date{color:#586b80;font-size:13px;margin-right:auto}
.rbm-reservations-v2 .rbm-rv-status{border-radius:999px;padding:5px 11px;font-size:12px;font-weight:750;white-space:nowrap;background:#eaf0f9;color:#355b82}
.rbm-reservations-v2 .rbm-rv-status-cancelled{color:#a9444c;background:#fff0f1}
.rbm-reservations-v2 .rbm-rv-status-completed{color:#21764d;background:#e8f7ee}
.rbm-reservations-v2 .rbm-rv-status-progress{color:#17639a;background:#e6f4ff}
.rbm-reservations-v2 .rbm-rv-status-scheduled{color:#986116;background:#fff3dc}
.rbm-reservations-v2 .rbm-rv-secondary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr) auto;align-items:start}
.rbm-reservations-v2 .rbm-rv-customer{font-weight:650;overflow-wrap:anywhere}
.rbm-reservations-v2 .rbm-rv-route{color:#4e6279;line-height:1.45;overflow-wrap:anywhere;font-size:13px}
.rbm-reservations-v2 .rbm-rv-price{white-space:nowrap;color:#153b66;font-size:16px}
.rbm-reservations-v2 .rbm-rv-tertiary{justify-content:flex-start;flex-wrap:wrap;color:#66788f;font-size:12px;gap:9px 20px}
.rbm-reservations-v2 .rbm-rv-open-hint{position:absolute;right:18px;bottom:13px;color:#296da4;font-size:12px;font-weight:650}
.rbm-reservations-v2 .rbm-rv-tertiary{padding-right:125px}
.rbm-reservations-v2 .rbm-rv-backdrop{position:fixed;inset:0;background:rgba(9,26,48,.48);z-index:99998}
.rbm-reservations-v2 .rbm-rv-details{position:fixed;top:0;right:0;bottom:0;width:min(520px,100vw);z-index:99999;background:#fff;box-shadow:-13px 0 35px rgba(7,29,55,.2);display:flex;flex-direction:column;overflow:hidden;overflow-wrap:anywhere}
.rbm-reservations-v2 .rbm-rv-detail-header{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eff6fc;border-bottom:1px solid var(--rv-border);flex:none}
.rbm-reservations-v2 .rbm-rv-detail-header small{color:#56728e;font-size:12px;text-transform:uppercase;font-weight:750;letter-spacing:.06em}
.rbm-reservations-v2 .rbm-rv-detail-header h3{font-size:26px;margin:4px 0 0;color:#153957}
.rbm-reservations-v2 .rbm-rv-close{border:1px solid #cedeea;border-radius:50%;background:#fff;color:#1c466d;font-size:28px;line-height:1;width:42px;height:42px;cursor:pointer;flex:none}
.rbm-reservations-v2 .rbm-rv-detail-content{padding:20px 22px 28px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}
.rbm-reservations-v2 .rbm-rv-detail-section{background:#fff;border:1px solid #e0e9f1;border-radius:13px;padding:15px 16px;margin-bottom:13px}
.rbm-reservations-v2 .rbm-rv-detail-section h4{font-size:16px;color:#19436c;margin:0 0 12px}
.rbm-reservations-v2 .rbm-rv-detail-section p{display:grid;grid-template-columns:minmax(100px,35%) minmax(0,1fr);gap:12px;margin:9px 0;font-size:13px;line-height:1.5}
.rbm-reservations-v2 .rbm-rv-detail-section p strong{color:#66788c;font-weight:600}
.rbm-reservations-v2 .rbm-rv-detail-section p span{color:#203952;overflow-wrap:anywhere}
.rbm-reservations-v2 .rbm-rv-trip+.rbm-rv-trip{border-top:1px solid #e3eaf1;margin-top:14px;padding-top:14px}
.rbm-reservations-v2 .rbm-rv-trip>strong{display:block;color:#1d3f64;margin:0 0 9px}
.rbm-reservations-v2 .rbm-rv-payment-section{background:#f2f8fe}
.rbm-reservations-v2 .rbm-rv-payment-section .rbm-rv-total{font-weight:800;font-size:18px}
.rbm-reservations-v2 .rbm-rv-pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:20px 0}
.rbm-reservations-v2 .rbm-rv-pagination button{border:1px solid #cbd5e1;border-radius:8px;background:white;padding:10px 14px;cursor:pointer}
.rbm-reservations-v2 .rbm-rv-warning{border-left:3px solid #ad761b;padding:9px 12px;background:#fff8e8}
@media(max-width:700px){
 .rbm-reservations-v2 .rbm-rv-head small{text-align:left}
 .rbm-reservations-v2 .rbm-rv-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .rbm-reservations-v2 .rbm-rv-kpi{padding:13px 12px}
 .rbm-reservations-v2 .rbm-rv-kpi strong{font-size:20px}
 .rbm-reservations-v2 .rbm-rv-search{grid-template-columns:minmax(0,1fr)}
 .rbm-reservations-v2 .rbm-rv-search label,.rbm-reservations-v2 .rbm-rv-search button{width:100%}
 .rbm-reservations-v2 .rbm-rv-entry summary{padding:13px 14px;gap:9px}
 .rbm-reservations-v2 .rbm-rv-primary{flex-wrap:wrap;gap:6px 10px}
 .rbm-reservations-v2 .rbm-rv-date{margin-right:0}
 .rbm-reservations-v2 .rbm-rv-status{margin-left:auto}
 .rbm-reservations-v2 .rbm-rv-secondary{grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .rbm-reservations-v2 .rbm-rv-route{grid-column:1 / -1;grid-row:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .rbm-reservations-v2 .rbm-rv-price{grid-column:2;grid-row:1}
 .rbm-reservations-v2 .rbm-rv-tertiary{padding-right:0;display:grid;gap:5px}
 .rbm-reservations-v2 .rbm-rv-open-hint{position:static;justify-self:end}
 .rbm-reservations-v2 .rbm-rv-details{top:auto;left:0;right:0;bottom:0;width:100%;height:min(82dvh,760px);border-radius:20px 20px 0 0;box-shadow:0 -14px 35px rgba(7,29,55,.24)}
 .rbm-reservations-v2 .rbm-rv-detail-header{padding:14px 17px}
 .rbm-reservations-v2 .rbm-rv-detail-content{padding:13px 14px max(24px,env(safe-area-inset-bottom))}
 .rbm-reservations-v2 .rbm-rv-detail-section{padding:13px}
}
@media(max-width:360px){.rbm-reservations-v2 .rbm-rv-kpis{grid-template-columns:minmax(0,1fr)}.rbm-reservations-v2 .rbm-rv-detail-section p{grid-template-columns:minmax(0,1fr);gap:2px}}

/* v0.6.34: reservations details finishing touches only. */
.rbm-reservations-v2 .rbm-rv-detail-header button.rbm-rv-close{
  appearance:none;-webkit-appearance:none;box-sizing:border-box;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0!important;margin:0;min-width:44px;max-width:44px;
  width:44px;height:44px;min-height:44px;max-height:44px;
  flex:0 0 44px;aspect-ratio:1 / 1;line-height:1;
  font-size:25px;font-weight:500;border-radius:50%;
  border:1px solid #cbdbe9;background:#fff;color:#244762;
  box-shadow:0 1px 4px rgba(14,47,78,.09);cursor:pointer;
}
.rbm-reservations-v2 .rbm-rv-detail-header button.rbm-rv-close:focus-visible{outline:3px solid #2977b6;outline-offset:2px}
.rbm-reservations-v2 .rbm-rv-detail-section p span.rbm-rv-status{display:inline-block;justify-self:start;width:auto;max-width:100%;font-size:12px;line-height:1.4}

/* v0.6.36: reservation actions and confirmed status only. */
.rbm-reservations-v2 .rbm-rv-status-confirmed{color:#21764d;background:#e8f7ee}
.rbm-reservations-v2 .rbm-rv-action-buttons{display:flex;flex-wrap:wrap;gap:9px}
.rbm-reservations-v2 .rbm-rv-action-button{appearance:none;min-height:42px;padding:9px 16px;border:1px solid #c3d5e8;border-radius:9px;background:#fff;color:#183e63;font:inherit;font-size:14px;font-weight:650;cursor:pointer}
.rbm-reservations-v2 .rbm-rv-action-confirm{background:#e8f7ee;color:#206343;border-color:#b8e0c7}
.rbm-reservations-v2 .rbm-rv-action-hold{background:#fff6e7;color:#8c5c10;border-color:#eed29c}
.rbm-reservations-v2 .rbm-rv-action-cancel{background:#fff0f1;color:#9e3039;border-color:#efc0c4}
.rbm-reservations-v2 .rbm-rv-action-button:disabled{opacity:.55;cursor:wait}
.rbm-reservations-v2 .rbm-rv-action-feedback{color:#a12a31;font-size:13px}
@media(max-width:520px){.rbm-reservations-v2 .rbm-rv-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.6.37: additional on-hold amount inside existing KPI dimensions. */
.rbm-reservations-v2 .rbm-rv-kpi-extra{display:block;font-size:13px;font-weight:700;color:#7f5719;margin-top:3px;line-height:1.2}

/* v0.6.38: read-only administrative history; existing drawer dimensions retained. */
.rbm-reservations-v2 .rbm-rv-history-list{list-style:none;padding:0;margin:0}
.rbm-reservations-v2 .rbm-rv-history-list li{border-left:3px solid #c8d8e8;padding:4px 0 9px 12px;margin:0 0 8px}
.rbm-reservations-v2 .rbm-rv-history-list li strong{display:block;color:#19436c;font-size:13px;overflow-wrap:anywhere}
.rbm-reservations-v2 .rbm-rv-history-list li small{display:block;color:#66788c;font-size:12px;margin-top:3px;overflow-wrap:anywhere}
.rbm-reservations-v2 .rbm-rv-history-section .rbm-rv-history-empty{display:block;font-size:13px;color:#66788c;margin:0}

/* RideByMe Calendar v0.6.39 — read-only, separate from booking/availability rules. */
.rbm-cal{--rbm-cal-hour:64px;min-width:0}
.rbm-cal-header,.rbm-cal-tools,.rbm-cal-nav,.rbm-cal-modes{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.rbm-cal-header{justify-content:space-between;margin-bottom:15px}
.rbm-cal-header h2{margin:0}
.rbm-cal-tools{justify-content:space-between;margin-bottom:15px}
.rbm-cal button{font:inherit;cursor:pointer}
.rbm-cal-modes{gap:4px;background:#edf2f7;border-radius:12px;padding:4px}
.rbm-cal-modes button{border:0;background:transparent;border-radius:9px;padding:8px 13px;color:#334155}
.rbm-cal-modes button[aria-pressed=true]{background:white;box-shadow:0 1px 5px #0002;font-weight:750}
.rbm-cal-nav button{padding:7px 13px;background:white;border:1px solid #cbd5e1;border-radius:8px}
.rbm-cal-nav strong{font-size:15px}
.rbm-cal-tools label{display:flex;align-items:center;gap:8px;font-size:13px}
.rbm-cal-tools select{max-width:220px;padding:8px;border:1px solid #cbd5e1;border-radius:8px}
.rbm-cal-warning:empty{display:none}
.rbm-cal-warning:not(:empty){font-size:13px;margin:8px 0;color:#895b14}
.rbm-cal-grid{min-width:0}
.rbm-cal-week-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding-left:48px;background:#f1f5f9;border:1px solid #dbe3eb;border-bottom:0;border-radius:9px 9px 0 0}
.rbm-cal-week-head>div{text-align:center;padding:10px 2px;font-size:12px;font-weight:750;border-right:1px solid #dbe3eb}
.rbm-cal-week-body{display:flex;height:710px;overflow:auto;border:1px solid #dbe3eb;border-radius:0 0 9px 9px;position:relative}
.rbm-cal-hours{width:48px;min-width:48px;height:1536px;position:relative;color:#64748b;font-size:11px;background:#f8fafc}
.rbm-cal-hours span{position:absolute;left:5px;transform:translateY(-40%)}
.rbm-cal-columns{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));flex:1;min-width:0;height:1536px}
.rbm-cal-column{position:relative;min-width:0;border-left:1px solid #dde5ed;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 63px,#e2e8f0 63px,#e2e8f0 64px)}
.rbm-cal-position{position:absolute;left:2px;right:2px;z-index:1;min-height:25px}
.rbm-cal-event{width:100%;height:100%;min-height:24px;border:0;border-left:4px solid #b98420;border-radius:5px;padding:4px 5px;text-align:left;background:#fff3dc;color:#855714;display:block;overflow:hidden;line-height:1.25;font-size:11px}
.rbm-cal-event strong,.rbm-cal-event span,.rbm-cal-event small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rbm-cal-event small{font-size:10px;opacity:.9}
.rbm-cal-event:focus-visible,.rbm-cal button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.rbm-cal-event.rbm-cal-confirmed,.rbm-cal-event.rbm-cal-completed{background:#e8f7ee;color:#21764d;border-color:#21764d}
.rbm-cal-event.rbm-cal-progress{background:#e6f4ff;color:#17639a;border-color:#17639a}
.rbm-cal-event.rbm-cal-cancelled{background:#fff0f1;color:#a9444c;border-color:#a9444c}
.rbm-cal-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#dce5ed;border:1px solid #dce5ed;border-radius:10px;overflow:hidden}
.rbm-cal-day{min-width:0;min-height:122px;padding:6px;background:#fff}
.rbm-cal-day.rbm-cal-outside{background:#f7f9fc}
.rbm-cal-day h3{font-size:13px;margin:0 0 7px}
.rbm-cal-day h3 small{display:block;font-size:10px;color:#64748b;font-weight:400}
.rbm-cal-day-events{display:flex;flex-direction:column;gap:3px;max-height:160px;overflow-y:auto}
.rbm-cal-month .rbm-cal-event{height:auto;min-height:28px}
.rbm-cal-mobile-days{display:none}
.rbm-cal-dialog[hidden]{display:none!important}
.rbm-cal-dialog{position:fixed;inset:0;background:#0f172a99;z-index:99999;display:flex;justify-content:center;align-items:center;padding:18px}
.rbm-cal-dialog-inner{background:#fff;border-radius:14px;width:min(680px,100%);max-height:90vh;overflow:auto;padding:18px;box-shadow:0 12px 48px #0003}
.rbm-cal-dialog-close{display:block;margin-left:auto;margin-bottom:10px;padding:8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}
.rbm-cal-dialog-content .rbm-rv-detail-content{display:block;position:static;width:auto;max-height:none;overflow:visible}
@media(max-width:750px){
 .rbm-cal-header,.rbm-cal-tools{align-items:stretch;gap:10px}
 .rbm-cal-header{flex-direction:column}
 .rbm-cal-tools{flex-direction:column}
 .rbm-cal-week-head,.rbm-cal-week-body{display:none}
 .rbm-cal-mobile-days{display:block}
 .rbm-cal-mobile-day{border:1px solid #e2e8f0;border-radius:10px;margin-bottom:10px;padding:10px}
 .rbm-cal-mobile-day h3{font-size:14px;margin:0 0 8px}
 .rbm-cal-mobile-day h3 small{float:right;color:#64748b}
 .rbm-cal-mobile-day .rbm-cal-event{margin-bottom:5px;padding:9px;min-height:46px;font-size:13px}
 .rbm-cal-month{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rbm-cal-day{min-height:95px}
 .rbm-cal-day-events{max-height:130px}
 .rbm-cal-dialog{padding:8px}
 .rbm-cal-dialog-inner{max-height:95vh;padding:12px}
}

/* Owner Agenda v0.6.41: iPhone-safe dialog, fixed close control and internal scroll. */
.rbm-cal-dialog{box-sizing:border-box;padding:18px;overscroll-behavior:contain}
.rbm-cal-dialog-inner{box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);min-height:0}
.rbm-cal-dialog-close{flex:0 0 auto;align-self:flex-end;position:relative;z-index:1}
.rbm-cal-dialog-content{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
@media(max-width:750px){
 .rbm-cal-dialog{padding:calc(8px + env(safe-area-inset-top,0px)) 8px calc(8px + env(safe-area-inset-bottom,0px))}
 .rbm-cal-dialog-inner{max-height:calc(100vh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
}

/* v0.6.42: responsive calendar refinements; desktop monthly layout untouched. */
.rbm-cal-week-head .rbm-cal-today{background:#eaf3ff;box-shadow:inset 0 0 0 2px #86b4eb}
@media(max-width:767px){
 .rbm-cal-header,.rbm-cal-tools{gap:8px}
 .rbm-cal-nav{gap:6px}
 .rbm-cal-nav button{padding:6px 10px}
 .rbm-cal-nav strong{line-height:1.3}
 .rbm-cal-tools label:has(select){min-width:0;max-width:100%}
 .rbm-cal-tools select{min-width:0;max-width:min(100%,280px);text-overflow:ellipsis}
 .rbm-cal-mobile-day{margin-bottom:7px;padding:8px 10px}
 .rbm-cal-mobile-day h3{margin-bottom:5px}
 .rbm-cal-mobile-day.rbm-cal-today{border-color:#8bb9e9;box-shadow:inset 3px 0 #2676bf}
 .rbm-cal-day{min-height:95px}
 .rbm-cal-day.rbm-cal-empty-pair{min-height:0;padding:6px}
 .rbm-cal-day.rbm-cal-empty-pair h3{margin-bottom:0}
 .rbm-cal-day.rbm-cal-today{box-shadow:inset 0 0 0 2px #8bb9e9;position:relative;z-index:1}
 .rbm-cal-month .rbm-cal-day-events{max-height:none;overflow:visible}
 .rbm-cal-month .rbm-cal-event span,.rbm-cal-month .rbm-cal-event small{white-space:normal;overflow-wrap:anywhere}
}

/* v0.6.43: reference visual treatment, scoped to Agenda only.
   Keep 64px/hour and the existing 24-hour grid, filters and dialog behavior. */
.rbm-cal{padding:22px;background:#fff;border-color:#e0e7f0;border-radius:12px;color:#172b43}
.rbm-cal-header{gap:16px;margin-bottom:16px;align-items:flex-start}
.rbm-cal-heading h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;color:#14273e}
.rbm-cal-heading p{font-size:13px;color:#617087;margin:5px 0 0}
.rbm-cal-modes{background:#fff;border:1px solid #d9e1eb;padding:3px;border-radius:7px;gap:4px;flex-wrap:nowrap}
.rbm-cal-modes button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 15px;border-radius:5px;font-size:13px;min-height:38px}
.rbm-cal-modes button::before{content:'';display:inline-block;width:13px;height:13px;border:1.5px solid currentColor;border-radius:2px;background:linear-gradient(currentColor,currentColor) center 3px / 100% 1px no-repeat;flex-shrink:0}
.rbm-cal-modes button[aria-pressed=true]{background:#0966ce;color:#fff;box-shadow:0 2px 4px #0966ce20;font-weight:650}
.rbm-cal-tools{gap:14px;padding-bottom:15px;margin-bottom:0;border-bottom:1px solid #edf1f6}
.rbm-cal-tools label{font-size:12px;color:#334155;min-width:0}
.rbm-cal-tools select{padding:8px 28px 8px 10px;border-color:#d8e0ea;border-radius:5px;background-color:#fff;font-size:12px;color:#27384f;min-height:38px}
.rbm-cal-nav{gap:8px;flex-wrap:nowrap}
.rbm-cal-nav [data-prev],.rbm-cal-nav [data-next]{width:34px;height:34px;padding:0;border-radius:50%;font-size:23px;line-height:1;background:#fafcff;border-color:#e1e7ef;color:#41546c;flex-shrink:0}
.rbm-cal-nav [data-prev]{order:0}
.rbm-cal-nav .rbm-cal-period{order:1;text-align:center;font-size:14px;line-height:1.35}
.rbm-cal-nav [data-next]{order:2}
.rbm-cal-nav [data-today]{order:3;margin-left:8px;min-height:34px;padding:5px 12px;border-radius:5px;font-size:12px;color:#334155}
.rbm-cal-cancelled input{appearance:none;-webkit-appearance:none;width:32px;height:19px;flex:0 0 32px;border:0;border-radius:20px;background:#cbd1da;position:relative;margin:0;cursor:pointer}
.rbm-cal-cancelled input::before{content:'';position:absolute;left:2px;top:2px;width:15px;height:15px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002}
.rbm-cal-cancelled input:checked{background:#0966ce}
.rbm-cal-cancelled input:checked::before{left:15px}
.rbm-cal-cancelled input:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.rbm-cal-grid{margin-top:16px}
.rbm-cal-week-head{background:#f8faff;border-color:#dce4ef;border-radius:7px 7px 0 0}
.rbm-cal-week-head>div{padding:10px 4px;font-size:12px;color:#334155;border-color:#e2e8f1}
.rbm-cal-week-head .rbm-cal-today{background:#dfedff;color:#1359a3;box-shadow:none}
.rbm-cal-week-body{border-color:#dce4ef;border-radius:0 0 7px 7px}
.rbm-cal-hours{background:#fafcff;color:#56657b}
.rbm-cal-column{border-color:#e2e8f1;background-color:#fff;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,#f0f3f8 31px,#f0f3f8 32px,transparent 32px,transparent 63px,#e1e7ef 63px,#e1e7ef 64px)}
.rbm-cal-event{position:relative;background:#fff1bf;color:#4c3a09;border-left:3px solid #e8b126;border-radius:5px;padding:5px 6px;font-size:11px;line-height:1.35;box-shadow:0 1px 2px #172b4306}
.rbm-cal-event strong{font-size:10px;font-weight:750}
.rbm-cal-event small{font-size:10px;opacity:1}
.rbm-cal-event .rbm-cal-event-arrow{display:none}
.rbm-cal-event.rbm-cal-confirmed{background:#def6df;color:#214f31;border-color:#44b65b}
.rbm-cal-event.rbm-cal-progress{background:#e0efff;color:#224c79;border-color:#3986da}
.rbm-cal-event.rbm-cal-completed{background:#eee8fb;color:#594576;border-color:#a68acb}
.rbm-cal-event.rbm-cal-cancelled{background:#ffe7e9;color:#833d46;border-color:#da6471}
.rbm-cal-event:hover{filter:brightness(.975)}
.rbm-cal-event-driver{opacity:.8!important}
.rbm-cal-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;border-top:1px solid #edf1f6;padding-top:15px;margin-top:18px;font-size:11px;color:#526176}
.rbm-cal-legend>span{display:inline-flex;align-items:center;gap:6px}
.rbm-cal-dot{width:8px;height:8px;border-radius:50%;background:#e8b126;display:inline-block;flex-shrink:0}
.rbm-cal-dot-confirmed{background:#44b65b}.rbm-cal-dot-progress{background:#3986da}.rbm-cal-dot-completed{background:#a68acb}.rbm-cal-dot-cancelled{background:#da6471}
@media(max-width:750px){
 .rbm-cal{padding:14px 12px;border-radius:9px}
 .rbm-cal-heading h2{font-size:20px}
 .rbm-cal-heading p{font-size:12px}
 .rbm-cal-header{gap:13px;margin-bottom:10px}
 .rbm-cal-modes{width:100%;display:grid;grid-template-columns:1fr 1fr}
 .rbm-cal-modes button{width:100%;min-height:40px}
 .rbm-cal-tools{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding-bottom:12px}
 .rbm-cal-tools label:has(select){order:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;font-size:11px}
 .rbm-cal-tools select{width:100%;max-width:100%;font-size:13px;min-height:40px}
 .rbm-cal-cancelled{order:1;min-height:30px}
 .rbm-cal-nav{order:2;justify-content:space-between;gap:6px;width:100%}
 .rbm-cal-nav .rbm-cal-period{font-size:12px;flex:1;min-width:0}
 .rbm-cal-nav [data-today]{margin-left:2px}
 .rbm-cal-grid{margin-top:12px}
 .rbm-cal-mobile-day,.rbm-cal-mobile-day.rbm-cal-today{padding:0;border:1px solid #e0e7f0;box-shadow:none;border-radius:6px;overflow:hidden;margin-bottom:10px}
 .rbm-cal-mobile-day h3{background:#f2f5fa;padding:9px 10px;margin:0;font-size:12px;font-weight:700;color:#283950}
 .rbm-cal-mobile-day.rbm-cal-today h3{background:#dfedff;color:#184d84}
 .rbm-cal-mobile-day h3 small{font-size:11px;font-weight:500;color:#617087}
 .rbm-cal-mobile-day .rbm-cal-event{margin:6px;width:calc(100% - 12px);padding:9px 27px 9px 10px;min-height:78px;font-size:12px;border-left-width:3px}
 .rbm-cal-mobile-day .rbm-cal-event strong{font-size:12px}
 .rbm-cal-mobile-day .rbm-cal-event small{font-size:11px;white-space:normal;overflow-wrap:anywhere}
 .rbm-cal-mobile-day .rbm-cal-event .rbm-cal-event-arrow{display:block;position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:23px;font-weight:400}
 .rbm-cal-legend{gap:10px 14px;font-size:10px;margin-top:14px;padding-top:12px}
 .rbm-cal-month .rbm-cal-event strong{white-space:normal;overflow-wrap:anywhere}
}

/* v0.6.44: keep midnight label inside the weekly scroll viewport. */
.rbm-cal .rbm-cal-hours span:first-child{transform:none;}
