/* Bid Tool – additions on top of the Swaps styles (loaded last, so these win). */

/* Bids: show the whole line (fallback times, home time) instead of cutting it off */
#view-bids .t b,
#view-bids .t span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
#view-bids .row { align-items: start; }
#view-bids .row .d, #view-bids .row .amt { align-self: center; }

/* Bids on wide screens: plan and bids on the left, day by day and work days on the right */
@media (min-width: 820px) {
  .app:has(#view-bids:not([hidden])) { max-width: 1120px; }
  #bd-body.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  #bd-body.two > .bd-b > .sec:first-child { margin-top: 4px; }
}

/* Connection line: shown only when offline, waiting to send, or showing saved data */
#bt-net { margin: 0 2px 10px; padding: 8px 12px; border-radius: 12px; background: var(--card); color: var(--fg); font-size: 14px; line-height: 1.35; }
#bt-net[hidden] { display: none; }
#bt-net b { font-weight: 600; }

/* Duo side menu – strip on the left */
html.side-l .tabbar { right: auto; left: max(3px, calc((env(safe-area-inset-left, 0px) - 60px) / 2)); }
/* Duo side menu – wide strip: room for labels */
html.side-wide .tabbar { width: 72px; right: max(3px, calc((env(safe-area-inset-right, 0px) - 72px) / 2)); }
html.side-wide.side-l .tabbar { right: auto; left: max(3px, calc((env(safe-area-inset-left, 0px) - 72px) / 2)); }
html.side-wide .tabbar button { width: 60px; height: 58px; border-radius: 18px; font-size: 10px; gap: 3px; flex-direction: column; }
html.side-wide .tabbar button svg { width: 22px; height: 22px; }

/* Settings inputs: comfortable touch size */
#bd-settings input, #bd-settings select { min-height: 44px; }
