.space-switcher{margin:0 18px 17px;padding:10px 12px;border:1px solid #517067;border-radius:8px;color:#e9f2ec}
.space-switcher label{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:5px;color:#adc2b8}
.space-switcher select{width:100%;background:#103e35;color:white;border:0;min-height:32px;padding:4px;font-size:13px}
.space-switcher select option{color:#103e35;background:white}
.workspace-context-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.workspace-context-links button{padding:8px 13px;border:1px solid #d8e1db;background:white;border-radius:6px;color:#173e35;font-size:13px}
.workspace-context-links button.active{background:#103e35;color:white;border-color:#103e35}
.duration-field{border:0;margin:0;padding:0;min-width:0}.duration-field legend{font:inherit;margin-bottom:8px;color:inherit;font-weight:600;font-size:13px}
.duration-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.duration-inputs label{display:flex;gap:8px;align-items:center;margin:0;font-weight:400}.duration-inputs input{min-width:0;width:100%}.duration-inputs span{font-size:12px;color:#607970}
.v07-summary{display:flex;gap:16px;flex-wrap:wrap;padding:14px 16px;background:#f1f5f1;border-radius:8px;margin:12px 0 18px}.v07-summary span{font-size:13px;color:#536b63}.v07-summary strong{font-size:19px;color:#103e35;display:block}
.v07-list{display:grid;gap:12px}.v07-card{padding:18px;border:1px solid #dfe7e1;border-radius:8px;background:white}.v07-card h3{margin:0 0 8px}.v07-card p{margin:6px 0;line-height:1.5}.v07-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap}.v07-card .button-wrap{margin-top:12px}
.v07-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin-top:15px}.v07-slot{border:1px solid #dce6df;border-radius:6px;padding:14px;background:#f8faf7}.v07-slot h4{margin:0 0 7px}.v07-slot ul{margin:8px 0;padding-left:18px;font-size:13px}
.v07-filter{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.v07-filter input[type=search]{flex:1 1 220px;min-width:0;max-width:100%}.v07-filter select{max-width:260px}.v07-filter label{margin:0}
.v07-catalog-row td:first-child{width:35px}.v07-catalog-row input[type=checkbox]{width:18px;height:18px;accent-color:#103e35}.v07-empty{max-width:700px;line-height:1.7;color:#536b63}.v07-form-note{grid-column:1/-1;font-size:13px;line-height:1.6;color:#536b63;margin:0}
.v07-alert{border-left:3px solid #b18744;padding:12px 16px;background:#fbf8f0;margin-bottom:16px;border-radius:4px}.v07-alert p{margin:0;font-size:13px;line-height:1.6}.v07-status-inline{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#567166}.v07-status-inline:before{content:'';width:7px;height:7px;border-radius:50%;background:#5b8a69}
.v07-address-results{display:grid;gap:8px;margin-top:14px}.v07-address-results button{padding:12px;border:1px solid #d9e2dc;background:white;text-align:left;border-radius:6px;color:#103e35}.v07-map{height:280px;min-height:200px;border-radius:8px;border:1px solid #dfe7e1;margin-top:18px}.v07-code{overflow-wrap:anywhere;font-size:12px;color:#50695f}
.v07-submenu{margin-top:24px}.v07-submenu summary{cursor:pointer;font-weight:600;padding:12px 0}.v07-submenu[open]{border-top:1px solid #dfe7e1;padding-top:5px}
@media(max-width:700px){.v07-summary{gap:13px}.v07-filter input[type=search],.v07-filter select{max-width:none;width:100%}.v07-slots{grid-template-columns:1fr}.duration-inputs{gap:8px}.v07-card{padding:14px}.space-switcher{margin:0 12px 12px}}

.v07-business-filters{align-items:flex-end}.v07-business-filters .field{margin:0;flex:0 1 220px;min-width:0;max-width:100%}.v07-business-filters .field:first-child{flex:1}.v07-business-filters .field label{display:block;margin-bottom:7px;font-size:12px}.v07-business-filters input,.v07-business-filters select{width:100%;min-height:42px}.v07-business-filters input[type=search]{min-width:0}.v07-business-table{min-width:950px}.v07-business-table td{vertical-align:top}.v07-business-table th:nth-child(1){width:26%}.v07-business-table th:nth-child(3){width:29%}.v07-business-table .v07-service-title{padding:0;text-align:left;font-size:14px;font-weight:600;line-height:1.5}.v07-catalog-sale{display:grid;gap:9px;justify-items:start}.v07-inventory-counts{display:flex;gap:14px;margin:0;flex-wrap:wrap}.v07-inventory-counts dt{color:#61766e;font-size:11px;max-width:93px;line-height:1.4}.v07-inventory-counts dd{margin:5px 0 0;font-size:18px;color:#103e35;font-weight:600}.v07-over-plan{color:#91662c;font-size:12px;font-weight:600;margin:8px 0 0}.v07-small-label{font-size:13px}.v07-catalog-footnote{margin:12px 0 0;line-height:1.7}.v07-catalog-shortcut{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:20px 24px}.v07-catalog-shortcut h2{font-size:21px;margin:0 0 6px}.v07-catalog-shortcut p{font-size:13px;line-height:1.5;color:#61766e;margin:0}.v07-catalog-shortcut button{flex-shrink:0}
@media(max-width:700px){.v07-business-filters .field{width:100%}.v07-business-filters select{max-width:none}.v07-catalog-shortcut{padding:18px;align-items:flex-start;flex-direction:column}.v07-inventory-counts{gap:10px}}

/* Driver registration keeps the form readable and its actions in view. */
.modal-backdrop.v07-fleet-backdrop{align-items:center;justify-content:center;padding:20px}
.drawer.v07-fleet-modal{width:min(960px,100%);max-width:960px;height:calc(100vh - 40px);height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);min-height:0;min-width:0;overflow:hidden;border-radius:14px}
.v07-fleet-modal .drawer-header,.v07-fleet-modal .drawer-footer{flex-shrink:0}
.v07-fleet-modal .drawer-header h2{overflow-wrap:anywhere}
.v07-fleet-modal .drawer-content{min-height:0;min-width:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.v07-fleet-modal .drawer-footer{flex-wrap:wrap;gap:12px}
.v07-fleet-modal .drawer-footer .btn{flex:0 1 auto;min-height:44px}
.v07-fleet-modal .drawer-footer .btn:first-child{margin-right:auto}
.v07-fleet-modal .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
.v07-fleet-modal .work-form-grid>.field{grid-column:auto}
.v07-fleet-modal .form-grid>.wide{grid-column:1/-1}
.v07-fleet-modal input,.v07-fleet-modal select,.v07-fleet-modal textarea{max-width:100%;min-width:0}
.v07-driver-access{padding:18px;border:1px solid #dce6df;border-radius:8px;background:#f5f8f3}
.v07-driver-access .field{margin-bottom:12px}
.v07-driver-access .field-hint{margin:10px 0 0;line-height:1.6}
.v07-driver-access-actions{gap:10px;flex-wrap:wrap}

.v07-list,.v07-card,.v07-slots,.v07-slot,.v07-filter,.v07-business-filters,.v07-summary,.v07-submenu,.workspace-context-links{min-width:0;max-width:100%}
.v07-card-head>*,.duration-inputs>*,.v07-summary>*,.v07-filter>*{min-width:0;max-width:100%}
.v07-address-results,.v07-address-results button,.v07-submenu summary{min-width:0;overflow-wrap:anywhere}
.workspace-context-links button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.duration-inputs label{min-width:0;flex-wrap:wrap}
.duration-inputs label input{flex:1 1 70px}
@media(max-width:700px){.modal-backdrop.v07-fleet-backdrop{padding:0}.drawer.v07-fleet-modal{width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100dvh;border-radius:0}.v07-fleet-modal .drawer-content{padding:18px 16px;scrollbar-gutter:auto}.v07-fleet-modal .form-grid{grid-template-columns:minmax(0,1fr)}.v07-fleet-modal .work-form-grid>.field{grid-column:1/-1}.v07-fleet-modal .drawer-header{padding-top:max(18px,env(safe-area-inset-top));padding-inline:18px}.v07-fleet-modal .drawer-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.v07-fleet-modal .drawer-footer .btn{flex:1 1 0;min-width:0;margin:0}.v07-fleet-modal .drawer-footer .btn:first-child{margin-right:0}.v07-driver-access{padding:14px}.v07-fleet-modal input,.v07-fleet-modal select,.v07-fleet-modal textarea{font-size:16px}}
