/* Compact two-line ledger: desktop and mobile use the same five visible facts. */
#workspace .bml-fleet-manager{padding:4px 14px;margin-bottom:12px}
#workspace .bml-fleet-manager>summary{display:list-item;min-height:44px;padding:12px 0;cursor:pointer;font-weight:750;color:#045956}
#workspace .bml-fleet-editor-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:8px 0}
#workspace .bml-fleet-editor-tools input{flex:1;min-width:140px;padding:8px 10px}
#workspace .bml-fleet-form{border:1px solid #8fb9b7;border-radius:10px;padding:12px;margin:12px 0;background:#f2f9f8;color:#20272e}
#workspace .bml-fleet-form fieldset{padding:0;margin:0;border:0;min-width:0}
#workspace .bml-fleet-form h3{font-size:16px;margin:0 0 8px}
#workspace .bml-fleet-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:8px;margin-bottom:8px}
#workspace .bml-fleet-fields label{display:grid;gap:4px;font-size:13px}
#workspace .bml-fleet-fields input{width:100%;padding:8px 10px;font-size:16px}
#workspace .bml-fleet-form button[type=submit]{background:#045956;color:#fff;border-color:#045956}
#workspace .bml-fleet-form [role=alert]{color:#882c29}
#workspace .bml-fleet-editor-list{max-height:24rem;overflow:auto;margin:8px 0}
#workspace .bml-fleet-editor-row{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-top:1px solid #e0e6e7;padding:6px 2px}
#workspace .bml-fleet-editor-row>div:first-child{min-width:0;overflow-wrap:anywhere}
#workspace .bml-fleet-editor-row small{display:block;color:#54666c}
#workspace .bml-fleet-editor-row .bml-fleet-editor-tools{margin:0}
#workspace .bml-fleet-manager [hidden],#workspace .bml-fleet-select [hidden]{display:none}
#workspace .bml-workspace{background:#fff;color:#20272e;border:1px solid #dce2e5;border-radius:14px;padding:16px;margin:12px 0 24px;min-width:0}
#workspace .bml-workspace button,#workspace .bml-workspace input{font:inherit;box-sizing:border-box;border:1px solid #c8d3d6;background:#fff;color:#24363b;border-radius:8px;min-height:44px;box-shadow:none}
#workspace .bml-workspace button{cursor:pointer;padding:8px 12px;white-space:nowrap}
#workspace .bml-workspace button:focus-visible,#workspace .bml-workspace input:focus-visible{outline:3px solid #087c7a;outline-offset:2px}
#workspace .bml-workspace button[aria-pressed=true]{background:#d8eeeb;color:#045956;border-color:#4b9993}
#workspace .bml-workspace button:disabled{opacity:.4;cursor:default}
#workspace .bml-controls{position:sticky;top:0;z-index:5;background:#fff;padding:4px 0 12px;border-bottom:1px solid #e0e6e7}
#workspace .bml-vessel-row{display:flex;align-items:center;gap:12px;min-width:0}
#workspace .bml-picker{font-weight:800;min-width:150px;max-width:100%;text-align:left;background:#d8eeeb!important;color:#045956!important}
#workspace .bml-quick{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 1px;scrollbar-width:thin;min-width:0}
#workspace .bml-quick button{flex-shrink:0;font-size:13px;min-height:40px}
#workspace .bml-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
#workspace .bml-period{display:flex;align-items:center;gap:4px}
#workspace .bml-range{font-size:13px;padding:8px 6px;border-color:transparent}
#workspace .bml-icon{font-size:24px;padding:0;width:38px}
#workspace .bml-presets{display:flex;gap:4px}
#workspace .bml-presets button{font-size:13px;padding:7px 10px}
#workspace .bml-tools input{flex:1;min-width:200px;width:100%;padding:8px 12px;font-size:14px}
#workspace .bml-custom{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:12px 0}
#workspace .bml-custom[hidden]{display:none}
#workspace .bml-custom label{font-size:12px;display:flex;flex-direction:column;gap:4px}
#workspace .bml-custom input{padding:8px;min-width:125px}
#workspace .bml-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 0}
#workspace .bml-status{font-size:12px;color:#54666c;margin:0;line-height:1.6}
#workspace .bml-candidates{font-size:12px;display:flex;align-items:center;gap:6px;white-space:nowrap;min-height:32px}
#workspace .bml-candidates input{width:18px;height:18px;min-height:18px;accent-color:#087c7a}
#workspace .bml-body{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px;align-items:start}
#workspace .bml-list{min-width:0}
#workspace .bml-columns,#workspace .bml-row{display:grid;grid-template-columns:75px 105px minmax(0,1fr);gap:10px}
#workspace .bml-columns{padding:8px 4px;color:#617079;font-size:12px;border-bottom:1px solid #dce3e6}
#workspace .bml-month{font-size:14px;background:#f1f4f5;color:#435058;padding:8px;margin:0;scroll-margin-top:175px;border-radius:0}
#workspace .bml-row{padding:12px 4px;border-bottom:1px solid #e1e7e9;align-items:start;font-size:14px}
#workspace .bml-date,#workspace .bml-duration{font-size:14px;font-variant-numeric:tabular-nums;padding-top:1px;white-space:nowrap}
#workspace .bml-recipient{min-width:0;display:flex;flex-direction:column;gap:4px;line-height:1.45}
#workspace .bml-recipient>strong{font-size:15px;color:#202b31;font-weight:750;overflow-wrap:anywhere}
#workspace .bml-place{font-size:13px;color:#54666c;overflow-wrap:anywhere}
#workspace .bml-evidence{font-size:11px;color:#66767b;min-width:0}
#workspace .bml-evidence summary{cursor:pointer;min-height:22px;line-height:22px}
#workspace .bml-evidence p{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin:4px 0}
#workspace .bml-rail{position:sticky;top:160px;display:flex;flex-direction:column;gap:4px}
#workspace .bml-rail button{font-size:11px;padding:4px 0;min-height:38px;border-color:transparent;border-radius:4px;color:#08746d}
#workspace .bml-more{display:block;width:100%;margin-top:12px}
#workspace .bml-more[hidden]{display:none}
#workspace .bml-note{font-size:11px;color:#657279;line-height:1.6;margin:14px 0 0}
#workspace .bml-empty{padding:24px 4px;font-size:13px;color:#617079}
#workspace .bml-dialog{color:#24363b;background:#fff;border:1px solid #b7c9c9;border-radius:16px;padding:18px;width:min(460px,calc(100vw - 28px));max-height:80dvh;box-sizing:border-box;overflow:hidden}
#workspace .bml-dialog::backdrop{background:#10292e80}
#workspace .bml-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#workspace .bml-dialog-head h2{font-size:18px;margin:0;color:#24363b}
#workspace .bml-dialog>input{padding:10px 12px;width:100%;font-size:16px}
#workspace .bml-fleet{max-height:55dvh;overflow-y:auto;margin-top:12px;overscroll-behavior:contain}
#workspace .bml-fleet-option{display:flex;flex-direction:column;gap:4px;width:100%;text-align:left;margin:4px 0;white-space:normal!important}
#workspace .bml-fleet-option strong{font-size:15px;color:inherit;overflow-wrap:anywhere}
#workspace .bml-fleet-option small{font-size:12px;color:#5a7177;line-height:1.5}
#workspace .monitor-advanced>summary{cursor:pointer;padding:14px 4px;font-weight:650;font-size:14px;min-height:44px;box-sizing:border-box}
#workspace .monitor-advanced .monitor-body{margin-bottom:18px}
#workspace #ships-panel{position:relative}
#workspace #ships-panel>.fold-toolbar{position:absolute;right:0;top:0;margin:0;z-index:1;padding:0}
#workspace #ships-panel>.fold-toolbar .button{font-size:12px;min-height:40px;padding:8px 12px}
#workspace #ships-panel .mobile-heading{margin:0 0 8px;padding:0;min-height:44px}
#workspace #ships-panel .mobile-heading h1{font-size:23px;margin:0;padding:6px 140px 6px 0}
#workspace #ships-panel .mobile-heading>p{display:none}
@media(max-width:600px){
 #workspace .bml-workspace{padding:10px 8px;border-radius:10px;margin-top:8px}
 #workspace .bml-vessel-row{display:block}
 #workspace .bml-picker{width:100%;min-height:48px;font-size:17px}
 #workspace .bml-quick{margin-top:6px}
 #workspace .bml-quick button{font-size:12px}
 #workspace .bml-tools{gap:6px;margin-top:6px}
 #workspace .bml-tools input{min-width:100%;font-size:14px}
 #workspace .bml-range{font-size:12px}
 #workspace .bml-icon{width:30px}
 #workspace .bml-presets{margin-left:auto}
 #workspace .bml-presets button{font-size:12px;padding:5px 8px}
 #workspace .bml-body{grid-template-columns:minmax(0,1fr) 28px;gap:3px}
 #workspace .bml-columns,#workspace .bml-row{grid-template-columns:43px 62px minmax(0,1fr);gap:5px}
 #workspace .bml-columns{font-size:10px;padding:8px 1px}
 #workspace .bml-date,#workspace .bml-duration{font-size:12px;padding-top:2px}
 #workspace .bml-row{padding:10px 1px}
 #workspace .bml-recipient>strong{font-size:14px}
 #workspace .bml-place{font-size:12px}
 #workspace .bml-evidence{font-size:10px}
 #workspace .bml-controls{top:0}
 #workspace .bml-rail{top:205px}
 #workspace .bml-month{scroll-margin-top:215px}
}

#workspace .bml-date{display:flex;flex-direction:column;gap:3px}
#workspace .bml-clock{font-size:11px;color:#617079;font-weight:400}

#workspace .bml-clear[hidden]{display:none}
#workspace .bml-picker-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0 0}
#workspace .bml-picker-tools button{font-size:12px;white-space:normal}
#workspace .bml-picker-count{font-size:12px;color:#54666c;white-space:nowrap}
#workspace .bml-empty button{margin:12px 0;display:block}
#workspace .bml-empty small{display:block;margin-top:12px}

#workspace .bml-quick{scrollbar-width:none}
#workspace .bml-quick::-webkit-scrollbar{display:none}
@media(max-width:600px){#workspace .bml-icon{width:44px}#workspace .bml-quick button{min-height:44px}}

#workspace .bml-vessel-row{display:flex;flex-direction:column;align-items:stretch;gap:10px}
#workspace .bml-fleet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#workspace .bml-fleet-heading>strong{font-size:18px;line-height:1.4;color:#143e43;overflow-wrap:anywhere}
#workspace .bml-fleet-arrows{display:flex;gap:6px;flex-shrink:0}
#workspace .bml-fleet-arrows button{width:44px;height:44px;padding:0;font-size:26px}
#workspace .bml-inline-fleet-tools{display:flex;gap:8px;align-items:center;min-width:0}
#workspace .bml-inline-fleet-tools input{min-width:0;flex:1;width:100%;height:46px;padding:8px 12px;font-size:16px}
#workspace .bml-inline-fleet-tools button{flex-shrink:0;font-size:12px;white-space:normal;max-width:110px;line-height:1.4}
#workspace .bml-fleet-strip{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;padding:3px 1px 8px;position:relative;min-width:0}
#workspace .bml-fleet-strip .bml-fleet-card{flex:0 0 164px;min-height:86px;padding:14px;text-align:left;white-space:normal;scroll-snap-align:center;display:flex;flex-direction:column;justify-content:center;gap:6px;border-radius:12px}
#workspace .bml-fleet-card strong{font-size:19px;font-weight:750;line-height:1.35;color:inherit;overflow-wrap:anywhere}
#workspace .bml-fleet-card small{font-size:12px;font-weight:400;color:#536b70;line-height:1.4}
#workspace .bml-fleet-card[aria-pressed=true]{border:2px solid #087c7a!important;padding:13px;background:#d8eeeb;color:#045956}
#workspace .bml-fleet-help{display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:1.4;color:#617079}
#workspace .bml-fleet-help>span:last-child{white-space:nowrap}
@media(max-width:600px){#workspace .bml-fleet-strip .bml-fleet-card{flex-basis:152px;min-height:82px}#workspace .bml-fleet-heading>strong{font-size:17px}#workspace .bml-fleet-card strong{font-size:18px}}

#workspace .bml-inline-fleet-tools[hidden]{display:none}
#workspace .bml-fleet-arrows button:first-child{font-size:12px;width:50px}

/* Keep long history readable on touch screens; only the month shortcuts remain sticky. */
@media(max-width:600px){
 #workspace .bml-controls{position:static}
 #workspace .bml-body{grid-template-columns:minmax(0,1fr) 44px}
 #workspace .bml-rail{top:12px}
 #workspace .bml-rail button{min-height:44px;width:44px}
 #workspace .bml-month{scroll-margin-top:12px}
}

/* In-page dropdown: normal document flow, vertical choices, no modal/overlay. */
#workspace .bml-fleet-select{width:100%;min-width:0;border:0;margin:0;padding:0}
#workspace .bml-fleet-select>summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;list-style:none;min-height:56px;border:1px solid #4b9993;border-radius:10px;padding:10px 12px;background:#d8eeeb;color:#045956;font-size:18px;font-weight:750;cursor:pointer;overflow-wrap:anywhere}
#workspace .bml-fleet-action{font-size:12px;white-space:nowrap}
#workspace .bml-fleet-select>summary::-webkit-details-marker{display:none}
#workspace .bml-fleet-select>summary::after{content:'▾';font-size:22px;flex-shrink:0}
#workspace .bml-fleet-select[open]>summary::after{content:'▴'}
#workspace .bml-fleet-select[open]>summary{margin-bottom:10px}
#workspace .bml-fleet-select .bml-inline-fleet-tools{margin-bottom:8px}
#workspace .bml-fleet-options{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;position:relative;max-height:min(46dvh,420px);overflow-y:auto;overflow-x:hidden;touch-action:pan-y pinch-zoom;padding:3px}
#workspace .bml-fleet-options .bml-fleet-option{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%;min-height:66px;padding:12px 14px;text-align:left;white-space:normal;border-radius:9px}
#workspace .bml-fleet-option strong{font-size:18px;line-height:1.4;color:inherit;overflow-wrap:anywhere}
#workspace .bml-fleet-option small{font-size:12px;color:#536b70;line-height:1.4}
#workspace .bml-fleet-option[aria-pressed=true]{border:2px solid #087c7a;background:#d8eeeb;color:#045956}
#workspace .bml-fleet-select .bml-fleet-help{margin-top:8px}
#workspace .bml-fleet-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
#workspace .bml-fleet-filters button{font-size:12px;white-space:normal}
#workspace .bml-fleet-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#workspace .bml-fleet-shortcuts button{display:grid;gap:1px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:6px 10px;line-height:1.3}
#workspace .bml-fleet-shortcuts button:only-child{grid-column:1/-1}
#workspace .bml-fleet-shortcuts small{font-size:11px;color:#54666c}
#workspace .bml-fleet-shortcuts strong{font-size:13px;color:inherit}
@media(min-width:520px){
 #workspace .bml-fleet-options{grid-template-columns:repeat(2,minmax(0,1fr))}
}
#workspace .bml-controls:has(.bml-fleet-select[open]){position:static}
@media(max-width:900px){
 #workspace #ships-panel{margin-inline:clamp(10px,3vw,20px)}
}

/* Durable owner review; in-flow controls, generous touch targets and gutters. */
#workspace .bmr-review{background:#172f37;color:#eef8f7;border:1px solid #37616a;border-radius:16px;padding:18px;margin:12px 0 24px;min-width:0}
#workspace .bmr-review [hidden]{display:none!important}
#workspace .bmr-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#workspace .bmr-heading h2,#workspace .bmr-heading h3{margin:0;color:inherit}
#workspace .bmr-help,#workspace .bmr-meta,#workspace .bmr-status{color:#c0d8dc;line-height:1.6;font-size:14px}
#workspace .bmr-review button,#workspace .bmr-review select,#workspace .bmr-review input[type=search],#workspace .bmr-actions a{font:inherit;min-height:46px;border:1px solid #5c8189;border-radius:9px;padding:10px 12px;background:#233f48;color:#f5fbfb;box-sizing:border-box}
#workspace .bmr-review button{cursor:pointer}
#workspace .bmr-review button:disabled{opacity:.5;cursor:default}
#workspace .bmr-review :focus-visible{outline:3px solid #ffd174;outline-offset:3px}
#workspace .bmr-controls{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
#workspace .bmr-controls input{flex:1;min-width:170px}
#workspace .bmr-card{border:1px solid #52717a;background:#203941;border-radius:12px;padding:16px;margin:12px 0;scroll-margin-top:90px;overflow-wrap:anywhere}
#workspace .bmr-badge{font-size:13px;background:#395860;border-radius:20px;padding:5px 10px}
#workspace .bmr-badge.confirmed{background:#125f55;color:#d5fff5}
#workspace .bmr-warning{color:#ffe0a6;background:#51452e;border-radius:8px;padding:10px;font-size:14px}
#workspace .bmr-options{border:0;margin:12px 0;padding:0;min-width:0}
#workspace .bmr-options legend{font-size:14px;font-weight:700;padding:0;margin-bottom:8px}
#workspace .bmr-option{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid #52717a;border-radius:8px;margin:8px 0;cursor:pointer}
#workspace .bmr-option:has(input:checked){background:#2c555b;border-color:#7be0d1}
#workspace .bmr-option input{min-width:22px;width:22px;height:22px;accent-color:#57d6c6}
#workspace .bmr-option small,#workspace .bmr-option strong{display:block;color:inherit;line-height:1.55}
#workspace .bmr-evidence summary{cursor:pointer;min-height:44px;padding:12px 0}
#workspace .bmr-evidence p{font-size:14px;line-height:1.65}
#workspace .bmr-map{height:250px;width:100%;border-radius:10px;background:#152a32}
#workspace .bmr-map .leaflet-tooltip{color:#102c33}
#workspace .bmr-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
#workspace .bmr-actions .bmr-primary{background:#83e1cf;border-color:#83e1cf;color:#123c37;font-weight:750}
#workspace .bmr-result{color:#ffda99}
@media(max-width:600px){#workspace .bmr-review{padding:12px}#workspace .bmr-card{padding:12px}#workspace .bmr-actions button{flex:1 1 42%}#workspace .bmr-controls>*{width:100%}}

/* Fleet editing stays beside the chosen vessel; page owns vertical scrolling. */
#workspace .bml-fleet-editor-list{max-height:none;overflow:visible}
#workspace .bml-fleet-editor-row{padding:14px 4px;gap:12px}
#workspace .bml-fleet-editor-row.is-editing{background:#eaf5f3;border-radius:10px;padding:12px}
#workspace .bml-fleet-editor-row>.bml-fleet-form{flex:0 0 100%;box-sizing:border-box;margin:0}
#workspace .bml-fleet-optional{grid-column:1/-1;order:2}
#workspace .bml-fleet-optional>summary{cursor:pointer;padding:12px 0;min-height:44px;box-sizing:border-box}
#workspace .bml-fleet-editor-tools>input{min-height:48px;font-size:16px}
@media(max-width:600px){#workspace .bml-fleet-editor-row>div:first-child{flex-basis:100%}#workspace .bml-fleet-editor-row .bml-fleet-editor-tools{width:100%}#workspace .bml-fleet-editor-row .bml-fleet-editor-tools button{flex:1;min-height:48px}}

/* Fleet and history share one workspace; controls use existing roster API. */
#workspace .bml-split{display:grid;grid-template-columns:minmax(240px,29%) minmax(0,1fr);gap:16px;align-items:start}
#workspace .bml-split-fleet,#workspace .bml-split-history{min-width:0}
#workspace .bml-split [hidden]{display:none!important}
#workspace .bml-split .bml-workspace{margin:8px 0;padding:14px}
#workspace .bml-split .bml-history-title{font-size:20px;color:#20363c;margin:0 0 14px;overflow-wrap:anywhere}
#workspace .bml-split .bml-controls{position:static}
#workspace .bml-fleet-sidebar .bml-fleet-editor-list{max-height:65dvh;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin}
#workspace .bml-fleet-sidebar .bml-fleet-editor-row{padding:8px;border:1px solid #dce6e8;border-radius:10px;margin:8px 0;display:block}
#workspace .bml-fleet-sidebar .bml-fleet-editor-row[data-selected=true]{border-color:#167f79;background:#e5f4f1;box-shadow:inset 3px 0 #167f79}
#workspace .bml-fleet-sidebar .bml-vessel-identity{display:block;width:100%;text-align:left;white-space:normal;border:0;background:transparent;min-height:48px;padding:6px;color:#24363b}
#workspace .bml-fleet-sidebar .bml-vessel-identity strong{font-size:16px;overflow-wrap:anywhere}
#workspace .bml-fleet-sidebar .bml-fleet-editor-row .bml-fleet-editor-tools{display:flex;justify-content:flex-end;margin-top:6px}
#workspace .bml-fleet-sidebar .bml-fleet-editor-tools button{font-size:13px;white-space:normal}
#workspace .bml-fleet-sidebar .bml-fleet-editor-tools input{min-width:0;width:100%;flex-basis:100%}
#workspace .bml-fleet-sidebar .bml-own-vessel{width:100%;text-align:left;margin-top:8px}
#workspace .bml-fleet-sidebar .bml-fleet-form{padding:10px;min-width:0}
#workspace .bml-fleet-sidebar .bml-fleet-form h3{overflow-wrap:anywhere}
#workspace .bml-split-history .bml-columns,#workspace .bml-split-history .bml-row{grid-template-columns:70px 80px minmax(0,1fr);gap:8px}
@media(max-width:700px){
 #workspace .bml-split{grid-template-columns:minmax(0,1fr);gap:4px}
 #workspace .bml-fleet-sidebar .bml-fleet-editor-list{max-height:38dvh}
 #workspace .bml-split-history .bml-body{grid-template-columns:minmax(0,1fr) 30px}
 #workspace .bml-split-history .bml-columns,#workspace .bml-split-history .bml-row{grid-template-columns:60px minmax(0,1fr)}
 #workspace .bml-split-history .bml-duration{grid-column:1;font-size:12px;white-space:normal}
 #workspace .bml-split-history .bml-recipient{grid-column:2;grid-row:1 / span 2}
 #workspace .bml-split-history .bml-columns span:nth-child(2){display:none}
}

/* Quiet fleet navigation: actions and identifiers unfold only on demand. */
#workspace .bml-fleet-sidebar>summary{font-size:16px;padding:6px 0}
#workspace .bml-fleet-sidebar>.bml-status:empty{display:none}
#workspace .bml-fleet-sidebar .bml-fleet-editor-row{border:0;border-bottom:1px solid #e5ebed;border-radius:5px;margin:0;padding:4px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px}
#workspace .bml-fleet-sidebar .bml-fleet-editor-row[data-selected=true]{background:#e8f3f1;box-shadow:inset 3px 0 #167f79}
#workspace .bml-fleet-sidebar .bml-vessel-identity{font-weight:600;padding:10px 8px;min-height:44px}
#workspace .bml-fleet-sidebar .bml-vessel-identity strong{font-size:15px}
#workspace .bml-fleet-sidebar .bml-row-manage>summary{cursor:pointer;list-style:none;padding:12px 8px;min-height:44px;color:#56706f;font-size:12px}
#workspace .bml-fleet-sidebar .bml-row-manage>summary::-webkit-details-marker{display:none}
#workspace .bml-fleet-sidebar .bml-row-manage[open]{grid-column:1/-1;border-top:1px solid #dce7e6;padding:4px}
#workspace .bml-fleet-sidebar .bml-row-manage small{overflow-wrap:anywhere;font-size:12px}
#workspace .bml-fleet-sidebar .bml-row-manage .bml-fleet-editor-tools{justify-content:flex-start}
#workspace .bml-fleet-sidebar .bml-fleet-form{grid-column:1/-1;width:100%}
#workspace .bml-fleet-sidebar .bml-own-vessel{border:0;border-bottom:1px solid #e5ebed;border-radius:5px;padding:12px;font-weight:600}
#workspace .bml-fleet-sidebar .bml-fleet-editor-list{margin-top:2px}
#workspace .bml-split .bml-workspace{border-radius:10px;box-shadow:none}
#workspace .bml-split .bml-history-title{font-size:18px}
#workspace .bml-split .bml-coverage{font-size:11px;color:#657678;line-height:1.5}

/* Inline monitoring frequency, no modal and no horizontal gesture trap. */
.bml-frequency-tabs,.bml-frequency-choice{display:flex;gap:6px;flex-wrap:wrap}
.bml-frequency-tabs{margin:12px 0}
.bml-frequency-choice{grid-column:1/-1;margin:8px 0}
.bml-frequency-choice button,.bml-frequency-tabs button{min-width:44px;min-height:44px;border:1px solid #718096;border-radius:12px;padding:8px 14px;background:transparent;color:inherit;touch-action:pan-y}
.bml-frequency-choice button[aria-pressed="true"],.bml-frequency-tabs button[aria-pressed="true"]{background:#136d69;color:#fff;border-color:#136d69;font-weight:700}
.bml-frequency-badge{display:inline-block;margin-inline-start:8px;font-size:.8rem;color:inherit;border:1px solid currentColor;border-radius:6px;padding:2px 6px}
