/* Layout adapter only: VehicleUI retains every command and availability guard. */
.rts-vehicle-slot:not(.rts-vehicle-active){display:none}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel{position:relative;display:grid;grid-template-columns:minmax(210px,1.05fr) minmax(210px,1fr) minmax(285px,1.15fr);gap:16px;width:100%;min-height:154px;max-height:200px;margin:0;padding:10px 16px;border:0;border-radius:0;background:transparent;overflow:visible}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel[hidden]{display:none!important}
.rts-vehicle-panel .rts-vehicle-summary,.rts-vehicle-panel .rts-vehicle-status{min-width:0;min-height:0;overflow:auto;scrollbar-width:thin}
.rts-vehicle-panel .rts-vehicle-status,.rts-vehicle-panel .rts-vehicle-commands{border-left:1px solid #647c6b;padding-left:16px}
.rts-vehicle-panel .rts-vehicle-commands{min-width:0;position:relative;display:flex;flex-direction:column;gap:6px}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel h2{font-size:14px;line-height:1.25;overflow-wrap:anywhere}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel p{font-size:12px;line-height:1.35;margin:5px 0;overflow-wrap:anywhere}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-heading{gap:10px;min-height:44px}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel button{font-size:12px;line-height:1.2;min-height:44px;padding:7px 9px;margin:0;white-space:normal}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-heading #vehicleClose{flex:0 0 44px;min-width:44px;font-size:20px}
.rts-vehicle-panel .rts-vehicle-commands>.row{display:flex;flex-wrap:nowrap;gap:6px;align-items:stretch}
.rts-vehicle-panel .rts-vehicle-commands>.row>button{flex:1;min-width:0}
.rts-vehicle-panel .rts-vehicle-more{position:static;flex:0 0 64px;min-width:64px;margin:0;border:0;padding:0}
.rts-vehicle-panel .rts-vehicle-more>summary{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:64px;padding:7px 9px;border:1px solid #56736a;border-radius:5px;background:#1d3b38;color:inherit;font:12px/1.2 'Segoe UI',sans-serif;cursor:pointer;list-style:none}
.rts-vehicle-panel .rts-vehicle-more>summary::-webkit-details-marker{display:none}
.rts-vehicle-panel .rts-vehicle-more>summary:focus-visible{outline:2px solid #e5cb85;outline-offset:2px}
.rts-vehicle-panel .rts-vehicle-more[open]>summary{border-color:#dfc582;background:#3d4935}
.rts-vehicle-panel .rts-vehicle-secondary{position:absolute;z-index:30;right:0;bottom:calc(100% + 12px);width:min(350px,calc(100vw - 32px));max-height:min(380px,calc(100vh - 220px));overflow:auto;padding:12px;border:1px solid #81917b;border-radius:6px;background:#142f2efc;box-shadow:0 5px 18px #0005}
.rts-vehicle-panel .rts-vehicle-secondary>*+*{margin-top:8px!important}
.rts-vehicle-panel .rts-vehicle-secondary>button{width:100%}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-restock-service{border:0;padding:0;margin:0}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-restock-service p,.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-restock-progress p{font-size:12px!important}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-restock-progress{padding:7px 9px;margin:6px 0}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-restock-progress progress{height:9px;margin:6px 0}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel #vehicleCargoActions{gap:6px;margin:0}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .vehicle-multi-summary{padding:6px 8px}
.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel .rts-vehicle-secondary #forwardBaseDelivery{margin-top:10px}
@media(max-width:1000px){.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel{grid-template-columns:minmax(200px,1fr) minmax(180px,.95fr) minmax(280px,1.1fr);gap:12px;padding:9px 14px}.rts-vehicle-panel .rts-vehicle-status,.rts-vehicle-panel .rts-vehicle-commands{padding-left:12px}}
@media(max-width:760px){.rts-vehicle-slot #vehiclePanel.rts-vehicle-panel{grid-template-columns:minmax(160px,1fr) minmax(260px,1.25fr);max-height:220px}.rts-vehicle-panel .rts-vehicle-status{grid-column:1;grid-row:2;border:0;padding:0}.rts-vehicle-panel .rts-vehicle-commands{grid-column:2;grid-row:1 / span 2}}
