/* Fleet controls keep usable widths instead of squeezing into the viewport. */
.fleet-editor #fleetEdit table{table-layout:auto;width:max-content;min-width:100%}
.fleet-editor #fleetEdit th,.fleet-editor #fleetEdit td{min-width:200px;width:220px;max-width:300px;padding:12px;vertical-align:top;box-sizing:border-box}
.fleet-editor #fleetEdit th:last-child,.fleet-editor #fleetEdit td:last-child{min-width:160px;width:160px}
.fleet-editor #fleetEdit td input,.fleet-editor #fleetEdit td select,.fleet-editor .fleet-choice .choice-toggle{min-height:46px;padding:11px 12px;font-size:15px;line-height:1.4;border-radius:8px;box-sizing:border-box}
.fleet-editor #fleetEdit td select{padding-right:30px;cursor:pointer}
.fleet-editor .choice-toggle span{white-space:normal;overflow-wrap:break-word;text-overflow:clip;line-height:1.45}
.fleet-editor .choice-toggle b{flex:none;margin-left:6px}
.fleet-editor #fleetEdit td:last-child .actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0}
.fleet-editor #fleetEdit td:last-child button{min-height:44px;padding:10px 12px;font-size:14px;width:100%;white-space:normal;margin:0}
.fleet-editor .choice-panel{box-sizing:border-box;width:100%;padding:12px;max-height:360px;border-radius:8px}
.fleet-editor .choice-panel label{min-height:44px;box-sizing:border-box;align-items:center;gap:12px;padding:10px 8px;font-size:14px;line-height:1.5}
.fleet-editor .choice-panel label span{min-width:0;overflow-wrap:break-word}
.fleet-editor .choice-panel input[type=checkbox]{width:20px;min-width:20px;max-width:20px;height:20px;margin:0;min-height:20px;padding:0;flex:none}
.fleet-editor .choice-panel button{min-height:44px;padding:10px;font-size:14px;line-height:1.4}
.fleet-editor .choice-panel .choice-search{min-height:44px;font-size:14px!important}
.fleet-editor .choice-tools{top:-12px;padding:8px 0}
.fleet-editor-toolbar .actions,.fleet-publish-bar .actions{gap:10px}
.fleet-editor-toolbar button,.fleet-publish-bar button,.fleet-editor #fleetAddNew{min-height:46px;padding:11px 16px;font-size:14px;line-height:1.4}
.fleet-viewer .filters{gap:14px}
.fleet-viewer .filters select,.fleet-viewer .filters input{min-height:46px;padding:10px 12px;font-size:15px;box-sizing:border-box}
.fleet-viewer #fleetTable td:last-child button{min-height:44px;padding:10px 12px;margin:4px;font-size:14px}
@media(max-width:700px){.fleet-editor #fleetEdit th,.fleet-editor #fleetEdit td{min-width:210px;width:230px;padding:10px}.fleet-editor-toolbar .actions button{flex:1 1 180px}.fleet-modal .filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fleet-modal .filters select,.fleet-modal .filters input{font-size:16px}.fleet-editor #fleetEdit td input,.fleet-editor #fleetEdit td select{font-size:16px}}

.fleet-viewer .vehicle-manage-menu{position:relative;margin:6px 0 0;border:0;padding:0}.fleet-viewer .vehicle-manage-menu>summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;padding:7px 10px;min-height:36px;box-sizing:border-box;border:1px solid var(--site-line);border-radius:6px;font-size:12px;white-space:nowrap;list-style:none;background:var(--site-soft);color:var(--site-fg)}.vehicle-manage-menu>summary::-webkit-details-marker{display:none}.vehicle-manage-menu>summary:after{content:'▾'}.vehicle-manage-menu[open]>summary:after{content:'▴'}.fleet-viewer .vehicle-manage-actions{display:flex;flex-direction:column;gap:6px;padding:8px;margin-top:5px;border:1px solid var(--site-line);border-radius:8px;background:var(--site-surface)}.fleet-viewer #fleetTable .vehicle-manage-actions button{margin:0;width:100%;font-size:13px;min-height:40px;padding:8px 10px;white-space:normal}.fleet-viewer #fleetTable td:last-child{vertical-align:middle}.fleet-viewer #fleetTable button[data-vehicle-history]{min-height:34px;font-size:12px;padding:7px 10px;margin:0}.vehicle-manage-menu>summary:focus-visible{outline:2px solid var(--site-brand);outline-offset:2px}
