/* ═══════════════════════════════════════════════════════════
   DELIVERY DISPATCH SLIP — the courier's two toasts
   ("PICKUP FOOD" after taking an order, "DELIVER FOOD" after
   collecting it) as a strip of dispatch paper pinned under the
   HUD, in the game's own Courier-on-paper register. The base
   .delivery-notification rules live in fbi-document-style.css;
   the .dispatch modifier restyles that box without touching them.
   ═══════════════════════════════════════════════════════════ */

.delivery-notification.dispatch {
  top: 88px;                     /* under the top panel, not on the clock */
  right: 68px;                   /* clear of the SAVE / CONFIG tabs */
  min-width: 320px;
  max-width: 380px;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 18%),
    #EBE6D8;
  border: 1px solid #8E7F7F;
  border-top: 3px solid #8B0000;
  border-radius: 1px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255,255,255,0.25);
  transform: translateX(420px) rotate(0.6deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s ease;
}
.delivery-notification.dispatch.active {
  transform: translateX(0) rotate(-0.4deg);
}

/* the pin */
.delivery-notification.dispatch::before {
  content: '';
  position: absolute; top: -7px; left: 50%;
  width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #d9c9a0, #6b5a3a 70%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.dispatch-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 0.55rem 0.9rem 0.35rem;
  border-bottom: 1px dashed #8E7F7F;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem; font-weight: bold; letter-spacing: 3px;
  color: #8B0000;
}
.dispatch-head .dispatch-no {
  color: #8E7F7F; font-weight: normal; letter-spacing: 1px; font-size: 0.68rem;
}

.dispatch-rows { padding: 0.55rem 0.9rem 0.2rem; }
.dispatch-row {
  display: grid; grid-template-columns: 6.2rem 1fr;
  gap: 0.6rem; align-items: baseline;
  padding: 0.22rem 0;
  font-family: 'Courier New', Courier, monospace;
}
.dispatch-row + .dispatch-row { border-top: 1px dotted rgba(142,127,127,0.5); }
.dispatch-label {
  font-size: 0.66rem; letter-spacing: 2px; color: #8E7F7F;
}
.dispatch-value {
  font-size: 0.88rem; font-weight: bold; color: #3A3238;
  overflow-wrap: anywhere;
}
.dispatch-value .dim { font-weight: normal; color: #5F5449; font-size: 0.78rem; }

.dispatch-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem;
  padding: 0.5rem 0.9rem 0.7rem;
}
.dispatch-note {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.66rem; font-style: italic; color: #8E7F7F;
}
.dispatch-btn {
  background: #3A3238;
  color: #EBE6D8;
  border: 1.5px solid #8E7F7F;
  border-radius: 2px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.7rem; font-weight: bold;
  letter-spacing: 2px;
  padding: 0.42rem 0.9rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.dispatch-btn:hover { background: #5F5449; }

/* ═══════════════════════════════════════════════════════════
   ORDER TAG ON THE MAP — the order hangs off the district pin
   instead of sitting on it. The base .delivery-order-marker box
   (fbi-document-style.css) stays centred on the pin, invisible but
   for a small dot; the tag is a paper ticket up and to the right
   with a stem back to the dot, so the district's own icon and name
   plate stay readable underneath.
   ═══════════════════════════════════════════════════════════ */

.delivery-order-marker.tagged { z-index: 30; }
.delivery-order-marker.tagged:hover { z-index: 31; }
.delivery-order-marker.tagged .order-pulse {
  inset: 14px;                    /* a small breathing dot at the pin */
  box-shadow: 0 0 6px 1px rgba(255, 245, 220, 0.6);
}
.delivery-order-marker.tagged .order-marker-icon,
.delivery-order-marker.tagged .order-marker-info,
.delivery-order-marker.tagged .order-difficulty { display: none; }

.delivery-order-marker.tagged .order-stem {
  position: absolute; left: 50%; top: 50%;
  width: calc(34px + var(--tag-stack, 0) * 20px); height: 2px;
  background: linear-gradient(90deg, rgba(58,50,40,0.9), rgba(58,50,40,0.35));
  transform-origin: 0 50%;
  transform: rotate(calc(-38deg - var(--tag-stack, 0) * 12deg));
  pointer-events: none;
  z-index: 2;
}
.delivery-order-marker.tagged .order-tag {
  position: absolute;
  left: 26px; top: calc(-46px - var(--tag-stack, 0) * 26px);
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px 4px 6px;
  background: #EBE6D8;
  border: 1px solid #8E7F7F;
  border-left: 3px solid #8B0000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  transform: rotate(-3deg);
  font-family: 'Courier New', Courier, monospace;
  white-space: nowrap;
  z-index: 5;
  cursor: pointer;
}
.delivery-order-marker.tagged:hover .order-tag { background: #F4EFE2; }
.delivery-order-marker.tagged .order-tag svg {
  width: 14px; height: 14px; fill: #3a3228; opacity: 0.85; flex: none;
}
.delivery-order-marker.tagged .order-tag .order-payment {
  color: #3A3238; font-weight: bold; font-size: 0.78rem; letter-spacing: 0.5px;
}
.delivery-order-marker.tagged .order-tag .order-timer {
  color: #8E7F7F; font-size: 0.64rem; letter-spacing: 0.5px;
}
.delivery-order-marker.tagged .order-tag .order-stars {
  color: #8B0000; font-size: 0.6rem; letter-spacing: -1px;
}

/* pins near the top edge: the tag hangs below; near the right: to the left */
.delivery-order-marker.tagged.flip-y .order-tag { left: 78px; top: calc(24px + var(--tag-stack, 0) * 26px); transform: rotate(3deg); }
.delivery-order-marker.tagged.flip-y .order-stem { width: calc(72px + var(--tag-stack, 0) * 14px); transform: rotate(calc(24deg + var(--tag-stack, 0) * 10deg)); }
.delivery-order-marker.tagged.flip-x .order-tag { left: auto; right: 26px; transform: rotate(3deg); }
.delivery-order-marker.tagged.flip-x .order-stem { transform: rotate(calc(-142deg + var(--tag-stack, 0) * 12deg)); }
.delivery-order-marker.tagged.flip-x.flip-y .order-tag { left: auto; right: 78px; }
.delivery-order-marker.tagged.flip-x.flip-y .order-tag { transform: rotate(-3deg); }
.delivery-order-marker.tagged.flip-x.flip-y .order-stem { transform: rotate(calc(142deg - var(--tag-stack, 0) * 12deg)); }

/* ═══════════════════════════════════════════════════════════
   TAG TYPE + TRAIT, FOCUS, ROUTE, PERSISTENT SLIP, HUD LABELS
   (js/delivery-dispatch-ui.js)
   ═══════════════════════════════════════════════════════════ */
.delivery-order-marker.tagged .order-tag .order-trait {
  font-size: 0.6rem; letter-spacing: 1.5px; color: #8B0000; font-weight: bold;
  padding-left: 4px; border-left: 1px solid rgba(142,127,127,0.5);
}
.delivery-order-marker.tagged.is-dim { opacity: 0.45; }
.delivery-order-marker.tagged.is-open .order-tag {
  background: #F4EFE2;
  box-shadow: 0 0 0 2px #8B0000, 0 4px 12px rgba(0, 0, 0, 0.5);
}
.delivery-order-marker.tagged.is-open .order-pulse {
  box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.55), 0 0 8px 2px rgba(255, 245, 220, 0.6);
}

/* A → B on the pickup and drop-off pins */
#deliveryPickup .destination-icon::after,
#deliveryDestination .destination-icon::after {
  content: 'A';
  position: absolute; right: -8px; top: -8px;
  width: 16px; height: 16px; line-height: 16px;
  border-radius: 50%;
  background: #EBE6D8; color: #3A3238;
  border: 1.5px solid #3A3238;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.62rem; font-weight: bold; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
#deliveryDestination .destination-icon::after { content: 'B'; background: #8B0000; color: #EBE6D8; border-color: #EBE6D8; }

/* the route as a street: warm road, soft glow, a dash that runs */
.delivery-route.street line { display: none; }
.delivery-route.street .road-glow {
  stroke: rgba(255, 170, 80, 0.45); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; fill: none;
  filter: blur(2px);
}
.delivery-route.street .road {
  stroke: rgba(240, 196, 120, 0.96); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; fill: none;
}
.delivery-route.street .road-dash {
  stroke: rgba(90, 45, 15, 0.9); stroke-width: 2; stroke-dasharray: 7 9; stroke-linecap: round; fill: none;
  animation: delivery-route-flow 1.4s linear infinite;
}

/* the slip that stays: same paper, no auto-hide, a little lower */
.delivery-notification.dispatch.persist { top: 96px; }

/* the bottom bar's two numbers say what they are */
#bottomPanel .panel-left .status-bar-container::before,
#bottomPanel .panel-right .status-bar-container::before {
  content: 'STAMINA';
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.56rem; letter-spacing: 2px; color: #8E7F7F;
  margin-right: 0.45rem; align-self: center;
}
#bottomPanel .panel-right .status-bar-container::before { content: 'STRESS'; }

/* On shift the districts used to vanish (opacity 0) "to focus on the
   order markers" - which left the tags hanging off pins nobody could
   see and the city with no geography. They stay, softened; the shift's
   own pins (A, B, the tags) carry the focus. Still not clickable: travel
   during a delivery goes through the order. */
#mapSection.delivery-mode .dm {
  opacity: 0.62;
  pointer-events: none;
  filter: saturate(0.85);
}

/* the job's length on the tag; the countdown shows as a blink */
.delivery-order-marker.tagged .order-tag .order-minutes {
  color: #5F5449; font-size: 0.66rem; letter-spacing: 0.5px;
}
.delivery-order-marker.tagged.is-leaving .order-tag {
  animation: dispatchLeaving 0.9s ease-in-out infinite;
}
@keyframes dispatchLeaving {
  0%, 100% { border-left-color: #8B0000; box-shadow: 0 3px 8px rgba(0,0,0,0.45); }
  50%      { border-left-color: #EBE6D8; box-shadow: 0 3px 8px rgba(0,0,0,0.45), 0 0 0 2px rgba(139,0,0,0.55); }
}

/* the slip's time budget, draining */
.dispatch-bar {
  height: 4px; margin: 0.45rem 0 0.15rem;
  background: rgba(142, 127, 127, 0.28);
  border-radius: 1px; overflow: hidden;
}
.dispatch-bar-fill {
  height: 100%; background: #3A3238;
  transition: width 1.2s linear;
}
.dispatch-bar-fill.low { background: #8B0000; }

/* ═══════════════════════════════════════════════════════════
   CARDS THAT FIT THE SCREEN. The page runs under an html zoom
   (1.25 at 1600px wide), so a card capped at 90vh is 90% of the
   UNZOOMED viewport - taller than the screen - and its bottom
   button lives below the fold. --vh100 is the zoomed viewport
   height (see the adaptive zoom in game-application.js).
   ═══════════════════════════════════════════════════════════ */
/* The top and bottom HUD strips (z 9999) sit ABOVE the overlay (z 5000),
   so the card is kept between them: room for both, and no overlap. */
.order-details-overlay { padding: 84px 20px 64px !important; }
.order-details-overlay .order-details-container {
  max-height: calc(var(--vh100, 100vh) - 148px) !important;
  display: flex; flex-direction: column;
}
.order-details-overlay .order-details-content { overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.order-details-overlay .order-details-header,
.order-details-overlay .order-details-buttons { flex: 0 0 auto; }

/* The delivery report, condensed: one column of lines instead of a
   box per number - it reads at a glance and fits without scrolling. */
#deliveryResultPopup .order-details-header { padding: 8px 20px 6px !important; overflow: visible; }
#deliveryResultPopup .order-details-header .order-details-title { font-size: 1.35em !important; }
#deliveryResultPopup .order-details-header .order-classification { margin-bottom: 2px !important; font-size: 0.72em !important; }
#deliveryResultPopup .order-details-content { padding: 8px 22px 2px !important; }
#deliveryResultPopup .order-details-content > div { margin-bottom: 6px !important; padding: 6px 12px !important; }
#deliveryResultPopup .order-details-content > div > div:first-child { margin-bottom: 2px !important; font-size: 0.72em !important; }
#deliveryResultPopup .order-details-content > div > div:nth-child(2) { font-size: 1.05em !important; }
#deliveryResultPopup .order-details-content [style*="display: grid"] { gap: 4px !important; }
#deliveryResultPopup .order-details-content [style*="display: grid"] > div { padding: 3px 10px !important; }
#deliveryResultPopup .order-details-content [style*="display: grid"] > div > div { font-size: 0.86em !important; }
#deliveryResultPopup .order-details-content [style*="display: grid"] > div > div:last-child { font-size: 0.98em !important; }
#deliveryResultPopup .order-details-content [style*="border-top: 2px solid"] { padding: 5px 10px !important; margin-top: 2px !important; }
#deliveryResultPopup .order-details-content > div > div:first-child[style*="font-weight: bold"] { margin-bottom: 6px !important; }
#deliveryResultPopup .order-details-content [style*="border-top: 2px dashed"] > div { padding: 6px 12px !important; margin-bottom: 0 !important; }
#deliveryResultPopup .order-details-content [style*="border-top: 2px dashed"] { padding-top: 10px !important; margin-bottom: 6px !important; border-top-width: 1px !important; }
#deliveryResultPopup .order-details-buttons { padding: 6px 22px 12px !important; }
#deliveryResultPopup .order-accept-btn { padding: 8px !important; }

/* END SHIFT lives in the top nav row, which stays in tour-mode all
   game: every .panel-nav-btn there is display:none + pointer-events:
   none unless named. The button is shown by inline style (delivery
   turns it on), so it was visible and unclickable. Name it. */
.player-panel.tour-mode .panel-center #endShiftButton {
  pointer-events: auto;
}

/* Two legs, two inks: the way to the pickup is the courier's own
   ride (cool, dashed, "you → A"); the way to the door is the job
   (amber, solid, "A → B"). */
.delivery-route.street.leg-pickup .road-glow { stroke: rgba(120, 130, 150, 0.28); }
.delivery-route.street.leg-pickup .road      { stroke: rgba(200, 205, 215, 0.92); stroke-dasharray: 14 8; }
.delivery-route.street.leg-pickup .road-dash { stroke: rgba(40, 45, 60, 0.8); stroke-dasharray: 4 18; }
.delivery-route.street .road-preview {
  stroke: rgba(200, 120, 40, 0.75); stroke-width: 5; stroke-dasharray: 4 9; stroke-linecap: round; fill: none;
}
/* B before the food is in the bag: a faint marker where the door will be */
.delivery-door-ghost {
  position: absolute; z-index: 8; pointer-events: none;
  transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px dashed rgba(139, 0, 0, 0.7);
  background: rgba(235, 230, 216, 0.55);
  display: flex; align-items: center; justify-content: center;
}
.delivery-door-ghost span {
  font-family: 'Courier New', Courier, monospace; font-size: 0.66rem; font-weight: bold; color: rgba(139, 0, 0, 0.8);
}

/* the shift slip between deliveries (js/delivery-break.js) */
.delivery-notification.dispatch.shift-slip { border-top-color: #3A3238; }
.delivery-notification.dispatch.shift-slip .dispatch-head { color: #3A3238; }

/* ═══════════════════════════════════════════════════════════
   THE RIDE, SEEN FROM THE CAR (js/delivery-ride.js)
   ═══════════════════════════════════════════════════════════ */
.travel-animation-overlay.ride { background: #241a20; overflow: hidden; }
.travel-animation-overlay.ride.ride-jolt { animation: rideJolt 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) 1; }
@keyframes rideJolt {
  0%   { transform: translate3d(0, 0, 0); }
  18%  { transform: translate3d(-6px, 5px, 0) rotate(0.2deg); }
  45%  { transform: translate3d(4px, -3px, 0); }
  70%  { transform: translate3d(-1px, 1.5px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.ride-window { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ride-world { position: absolute; inset: 0; }
.ride-strip {
  position: absolute; left: 0; top: 0; height: 100%;
  display: flex; flex-wrap: nowrap; will-change: transform; backface-visibility: hidden;
}
.ride-strip img { display: block; height: 100%; width: auto; flex: none; user-select: none; }
.ride-strip img.flip { transform: scaleX(-1); }
.ride-strip-sky { top: -22%; }
.ride-strip-facades, .ride-strip-near { filter: brightness(0.9); }
/* lamp light and the gaps between buildings sweep the cabin */
.ride-sweep {
  position: absolute; left: 0; top: -10%; height: 120%; width: 300%; pointer-events: none;
  background: repeating-linear-gradient(100deg,
    transparent 0px, transparent 380px,
    rgba(8, 4, 8, 0.18) 470px, rgba(8, 4, 8, 0.18) 600px,
    transparent 690px, transparent 1000px,
    rgba(245, 205, 160, 0.05) 1050px, rgba(245, 205, 160, 0.05) 1120px,
    transparent 1170px, transparent 1400px);
  will-change: transform;
}
.ride-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 105% 92% at 50% 42%, transparent 40%, rgba(12, 8, 11, 0.55) 74%, rgba(8, 5, 8, 0.96) 100%),
    linear-gradient(180deg, rgba(10, 6, 9, 0.55) 0%, transparent 14%),
    linear-gradient(0deg, rgba(10, 6, 9, 0.8) 0%, transparent 22%);
}
.travel-animation-overlay.ride.ride-paused .ride-window { filter: brightness(0.7); transition: filter 0.6s ease; }

/* the card, as a slip on the dash */
.travel-animation-container.ride-card {
  background: #EBE6D8;
  border: 1px solid #8E7F7F; border-top: 3px solid #8B0000;
  padding: 1.4rem 1.8rem 1.2rem;
  max-width: 520px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transform: rotate(-0.4deg);
}
.travel-animation-container.ride-card::before { display: none; }
.ride-card .travel-title {
  font-family: 'Courier New', Courier, monospace; font-size: 0.74rem; letter-spacing: 3px; color: #8B0000; margin-bottom: 0.6rem;
}
.ride-card .travel-route { margin-bottom: 1rem; font-size: 0.95rem; }
.ride-card .travel-arrow { animation: none; font-size: 1rem; }
/* the route line with the tag riding it */
.ride-card .travel-route-visual { height: 64px; margin: 1.4rem 0 1rem; display: block; position: relative; }
.ride-line {
  position: absolute; left: 6%; right: 6%; top: 50%; height: 4px; margin-top: -2px;
  background: rgba(142, 127, 127, 0.35); border-radius: 2px; overflow: hidden;
}
.ride-line-done { height: 100%; width: 0; background: #3A3238; }
.ride-end {
  position: absolute; top: 50%; transform: translateY(14px);
  font-family: 'Courier New', Courier, monospace; font-size: 0.62rem; letter-spacing: 1.5px; color: #5F5449;
  white-space: nowrap; max-width: 44%; overflow: hidden; text-overflow: ellipsis;
}
.ride-end-a { left: 6%; }
.ride-end-b { right: 6%; text-align: right; }
.ride-tag {
  position: absolute; left: 0; top: 50%; transform: translate(-50%, -100%) translateY(-6px) rotate(-3deg);
  display: flex; align-items: center; gap: 5px;
  padding: 3px 7px 3px 5px;
  background: #F4EFE2; border: 1px solid #8E7F7F; border-left: 3px solid #8B0000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  font-family: 'Courier New', Courier, monospace; white-space: nowrap;
  transition: left 0.1s linear;
}
.ride-tag svg.dg { width: 14px; height: 14px; }
.ride-face { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; border: 1px solid #3A3238; background: #8E7F7F; flex: none; }
.ride-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ride-trait { font-size: 0.56rem; letter-spacing: 1.5px; color: #8B0000; font-weight: bold; }
.ride-card .travel-info, .ride-card .travel-stats { font-family: 'Courier New', Courier, monospace; }
.ride-card .travel-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin-top: 0.6rem; }
.ride-card .travel-stat-label { font-size: 0.58rem; letter-spacing: 2px; color: #8E7F7F; }
.ride-card .travel-stat-value { font-size: 0.95rem; font-weight: bold; color: #3A3238; }
.ride-card .travel-status { font-size: 0.66rem; font-style: italic; color: #8E7F7F; margin-top: 0.6rem; }
.ride-card .travel-time, .ride-card .travel-deadline { font-size: 0.78rem; color: #3A3238; }
/* map-style paints .travel-location cream (its own dark travel screen);
   on the slip it is ink */
.ride-card .travel-location { color: #3A3238 !important; font-family: 'Courier New', Courier, monospace; font-size: 0.82rem; letter-spacing: 1px; }
.ride-card .travel-arrow { color: #8B0000 !important; }
.ride-end { max-width: 46%; }
/* weather on the window */
.travel-animation-overlay.ride-day .ride-strip-facades,
.travel-animation-overlay.ride-day .ride-strip-near { filter: brightness(1.05) saturate(0.95); }
.travel-animation-overlay.ride-night .ride-strip-near { filter: brightness(0.55); }
.travel-animation-overlay.ride-rain .ride-strip-near { filter: brightness(0.7) saturate(0.7); }
/* the rain layer. NOT .ride-rain — the overlay itself wears that class as its weather, and this rule
   (absolute, lifted 20%, animated) used to move the whole ride window on a rainy shift */
.ride-rainfall {
  position: absolute; inset: -20% 0 0 0; pointer-events: none;
  background: repeating-linear-gradient(100deg,
    transparent 0px, transparent 5px,
    rgba(210, 220, 235, 0.12) 5px, rgba(210, 220, 235, 0.12) 6px,
    transparent 6px, transparent 14px);
  animation: rideRain 0.5s linear infinite;
}
@keyframes rideRain { from { transform: translate3d(0, -60px, 0); } to { transform: translate3d(-12px, 0, 0); } }
/* an event on the road: the window stays, the city crawls, the card sits on the dash */
.travel-animation-overlay.ride.ride-held .ride-window { filter: brightness(0.7); transition: filter 0.6s ease; }
.travel-animation-overlay.ride.ride-held .travel-animation-container { opacity: 0.55; transition: opacity 0.4s ease; }
/* the street furniture stands on the kerb: near.webp puts its feet at
   69.5% of its height, the facade rows put the kerb at ~79% - so the
   near strip rides 10% lower, on both windows */
.ride-strip-near { top: 10%; }
#d13RideField .rf-strip-near { top: 10%; }

/* the time budget, folded under the number (order card) */
.budget-fold { margin-top: 4px; font-family: 'Courier New', Courier, monospace; text-align: left; }
.budget-fold summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.66rem; letter-spacing: 1.5px; color: #8B0000; text-transform: uppercase;
}
.budget-fold summary::-webkit-details-marker { display: none; }
.budget-fold summary::before { content: '▸'; font-size: 0.7rem; transition: transform 0.15s ease; }
.budget-fold[open] summary::before { transform: rotate(90deg); }
.bf-rows { margin: 6px 0 4px; border-top: 1px dashed rgba(142,127,127,0.6); }
.bf-row { display: flex; justify-content: space-between; gap: 1rem; padding: 3px 0; font-size: 0.72rem; color: #3A3238; border-bottom: 1px dotted rgba(142,127,127,0.4); }
.bf-row span:first-child { color: #5F5449; letter-spacing: 0.5px; }
.bf-row.bf-total { border-bottom: none; border-top: 1px solid #3A3238; margin-top: 2px; font-weight: bold; }
.bf-note { color: #8E7F7F; font-size: 0.62rem; letter-spacing: 0.5px; }
.bf-why { font-size: 0.62rem; font-style: italic; color: #8E7F7F; line-height: 1.4; }
.ride-brand { font-size: 0.56rem; font-weight: bold; letter-spacing: 1px; color: #8B0000; border: 1px solid #8B0000; border-radius: 2px; padding: 0 3px; line-height: 1.3; }

/* 4. the map's own bottom line (district · date · time) - the HUD says
   all of it already */
#mapSection .ol-bar { display: none !important; }

/* 2. the cabin sweep read as stripes crawling over the top of the
   window: keep it to the lower two thirds, softer */
.ride-sweep { top: 30%; height: 90%; opacity: 0.55; }
#d13RideField .rf-sweep { top: 30%; height: 90%; opacity: 0.6; }
