/* wo-map-1 (R-1019-10) the work orders map. Laid on storm-look.css (the
   fleet map's look, own class: body.fleet would boot the fleet page).
   390 px first; two columns (map | list) from 900 px; tap floor 48 px;
   no horizontal page scroll. */
body.wom { margin: 0; }
body.wom .wom-main { padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px)); max-width: 1280px; margin: 0 auto;
  box-sizing: border-box; }
body.wom .wom-status { margin: 8px 0; font-weight: 700; }
body.wom .wom-muted { color: #A3ACB9; font-size: 14px; margin: 4px 0; }
body.wom .wom-map { position: relative; height: 56vh; min-height: 300px; overflow: hidden;
  border: 2px solid #007CFD; border-radius: 12px; background: #0B0F14; touch-action: none; user-select: none; margin: 8px 0; }
body.wom .wom-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
body.wom .wom-fit { position: absolute; right: 8px; top: 8px; z-index: 5; appearance: none; min-width: 48px; min-height: 48px;
  margin: 0; padding: 0 10px; border-radius: 10px; background: #000; color: #FFF; border: 1px solid #C7C7C7;
  font-size: 13px; font-weight: 700; }
body.wom h2 { font-size: 16px; margin: 14px 0 6px; }
body.wom .wom-row { background: #000; color: #FFF; border: 1px solid #1C2634; border-left: 4px solid #57A9FE;
  border-radius: 10px; padding: 10px 12px; margin: 0 0 8px; }
body.wom .wom-row p { margin: 4px 0; overflow-wrap: anywhere; }
body.wom .wom-row-head { appearance: none; display: block; width: 100%; text-align: left; background: none; color: #FFF;
  border: 0; padding: 0; min-height: 44px; font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
body.wom .wom-drive { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 8px 0 0;
  border-radius: 12px; background: #57A9FE; color: #000; font-weight: 800; text-decoration: none; }
body.wom .wom-card { position: fixed; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; z-index: 1000;
  background: #000; color: #FFF; border-top: 3px solid #007CFD; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 430px; margin: 0 auto; box-sizing: border-box; }
body.wom .wom-card[hidden] { display: none; }
/* wo-map-4: the card ends above the bottom bar (the fleet sheet's rule, storm-look.css:400) */
html.bb-on body.wom .wom-card { bottom: var(--bb-h); max-height: calc(82vh - var(--bb-h)); }
body.wom .wom-card p { overflow-wrap: anywhere; }
body.wom .wom-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.wom .wom-card-head b { font-size: 20px; overflow-wrap: anywhere; }
body.wom .wom-card-head button { appearance: none; min-width: 48px; min-height: 48px; margin: 0; padding: 0 12px;
  border-radius: 10px; background: #000; color: #FFF; border: 1px solid #C7C7C7; font-weight: 700; }
/* wo-map-2: the low-bridge lines above Drive there (card and row) */
body.wom .p5-warn { margin: 6px 0; padding: 6px 8px; border-left: 4px solid #FFB020; background: #1A1405;
  color: #FFD27A; font-weight: 700; overflow-wrap: anywhere; }
/* wo-map-3: the list's roads line under the bridge lines (card and row) */
body.wom .p5-muted { color: #A3ACB9; font-size: 14px; margin: 4px 0; overflow-wrap: anywhere; }
body.wom [hidden] { display: none !important; }
@media (min-width: 900px) {
  body.wom .wom-main { display: grid; grid-template-columns: 2fr 1fr; column-gap: 24px; align-items: start; }
  body.wom .wom-main > .wom-status, body.wom .wom-main > .wom-muted { grid-column: 1 / -1; }
  body.wom .wom-map { height: 70vh; }
  body.wom .wom-list-col { max-height: 74vh; overflow-y: auto; }
}
