/* Flight finder (owner, 17 Nov 2026): the "Flight" row in the booking and edit forms, and its sheet.
   Neutral tokens that read on the light and the noir pages; a bottom sheet on phones, a centred card on wider screens. */
.bw-ff,.bw-ff-extra{--ff-line:rgba(127,127,127,.28);--ff-soft:rgba(127,127,127,.08);--ff-muted:rgba(127,127,127,.95);grid-column:1/-1}
html:not(#bw-ff-a):not(#bw-ff-b) :is(.bw-ff,.bw-ff-extra)[hidden]{display:none!important}
.bw-ff-extra:has(.bw-ff-actions[hidden]):has(.bw-ff-note:empty){display:none}
/* The plain field it replaces (the site styles labels as grids, which would show a [hidden] one). */
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-hidden-field{display:none!important}
.bw-ff-row{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 14px;border-radius:14px;border:1px solid var(--ff-line);background:var(--ff-soft);color:inherit;font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
.bw-ff-row:focus-visible,.bw-ff-sheet button:focus-visible,.bw-ff-sheet input:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.bw-ff-row-text{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.bw-ff-line{font-size:15.5px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.bw-ff-row[data-filled=false] .bw-ff-line{font-weight:500;opacity:.85}
/* Matched to the form's time field (flight-finder.js): its type and box; the words as a placeholder until a flight is set. */
.bw-ff-row.bw-ff-matched{padding-top:8px;padding-bottom:8px;padding-right:14px;box-shadow:none}
.bw-ff-row.bw-ff-matched .bw-ff-line{font:inherit;line-height:1.3}
.bw-ff-row.bw-ff-matched[data-filled=false] .bw-ff-line{opacity:.55}
.bw-ff-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);opacity:.55;flex:none;margin-right:4px}
.bw-ff-actions{display:flex;gap:18px;margin:-4px 2px 0}
.bw-ff-actions[hidden]{display:none}
.bw-ff-link{background:none;border:0;padding:6px 0;min-height:32px;color:inherit;font:inherit;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.bw-ff-note:empty{display:none}
.bw-ff-note{margin-top:8px;padding:10px 12px;border-radius:12px;background:var(--ff-soft);font-size:14px;line-height:1.4}
.bw-ff-note p{margin:0}
.bw-ff-note-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.bw-ff-pill{min-height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--ff-line);background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.bw-ff-pill.primary{background:#111;color:#fff;border-color:#111}
.bw-ff-pill.wide{width:100%;min-height:48px;font-size:15.5px}

/* The sheet. Locked to the screen (owner, 18 Nov 2026): it spans the screen on phones, nothing scrolls sideways, and
   only vertical scrolling inside it (no pan, no pinch zoom; flight-finder.js also resets and locks the page zoom while
   it is open). */
html.bw-ff-open{overflow:hidden}
.bw-ff-sheet{--ff-line:rgba(127,127,127,.26);--ff-soft:rgba(127,127,127,.08);--ff-bg:#fff;--ff-fg:#111;padding:0;border:0;background:var(--ff-bg);color:var(--ff-fg);
 position:fixed;inset:auto 0 0 0;width:min(560px,100%);max-width:100%;min-width:0;box-sizing:border-box;max-height:min(88dvh,760px);border-radius:22px 22px 0 0;margin:auto auto 0;box-shadow:0 -10px 40px rgba(0,0,0,.25);overflow:hidden;touch-action:pan-y}
.bw-ff-sheet::backdrop{background:rgba(0,0,0,.45);touch-action:none}
.bw-ff-box{display:flex;flex-direction:column;max-height:inherit;padding:18px 18px calc(18px + env(safe-area-inset-bottom));box-sizing:border-box;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;font-family:inherit;min-width:0}
.bw-ff-box *{min-width:0;max-width:100%}
.bw-ff-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.bw-ff-head h2{margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em;line-height:1.25;outline:none}
.bw-ff-x{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:999px;border:0;background:var(--ff-soft);color:inherit;cursor:pointer}
.bw-ff-x svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
.bw-ff-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:999px;background:var(--ff-soft);margin-bottom:14px}
.bw-ff-tab{min-height:40px;border:0;border-radius:999px;background:transparent;color:inherit;font:inherit;font-size:14.5px;font-weight:600;opacity:.7;cursor:pointer}
.bw-ff-tab[aria-selected=true]{background:var(--ff-bg);opacity:1;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.bw-ff-tab[hidden]{display:none}
.bw-ff-tabs:has(.bw-ff-tab[hidden]){display:none}
.bw-ff-panel{display:flex;flex-direction:column;gap:12px}
.bw-ff-panel[hidden]{display:none}
.bw-ff-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}
.bw-ff-field>span{opacity:.72}
.bw-ff-field input[type=text]{text-transform:uppercase}
.bw-ff-field input[type=text]::placeholder{text-transform:none}
.bw-ff-field input{min-height:48px;padding:0 14px;border-radius:12px;border:1px solid var(--ff-line);background:transparent;color:inherit;font:inherit;font-size:16px;font-weight:500;box-sizing:border-box;width:100%}
.bw-ff-field[hidden],.bw-ff-chosen[hidden],.bw-ff-airports[hidden]{display:none}
.bw-ff-chosen{display:flex;align-items:center;gap:10px;min-height:52px;padding:0 14px;border-radius:12px;border:1px solid var(--ff-line);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.bw-ff-chosen b{flex:1;font-size:16px;font-weight:600}
.bw-ff-chosen-k{font-size:13px;font-weight:600;opacity:.72}
.bw-ff-chosen .bw-ff-link{font-size:13.5px}
.bw-ff-caption{margin:2px 0 0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.6}
.bw-ff-airports{display:flex;flex-direction:column}
.bw-ff-airport{display:flex;align-items:baseline;gap:12px;min-height:46px;padding:8px 2px;border:0;border-bottom:1px solid var(--ff-line);background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.bw-ff-airport b{width:42px;flex:none;font-size:15px;font-weight:700;letter-spacing:.03em}
.bw-ff-airport span{flex:1;min-width:0;font-size:15px;opacity:.85;overflow-wrap:anywhere}
.bw-ff-status{margin:14px 0 4px;font-size:14px;line-height:1.4}
.bw-ff-status:empty{display:none}
.bw-ff-status[data-tone=busy]{opacity:.7}
.bw-ff-status[data-tone=warn]{font-weight:600}
.bw-ff-results{display:flex;flex-direction:column;gap:8px}
.bw-ff-results>.bw-ff-pill{align-self:flex-start}
.bw-ff-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.bw-ff-flight{display:flex;flex-direction:column;gap:4px;width:100%;padding:12px 14px;border-radius:14px;border:1px solid var(--ff-line);background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.bw-ff-flight:disabled{opacity:.55;cursor:default}
.bw-ff-f-top{display:flex;align-items:baseline;gap:10px}
.bw-ff-f-top b{font-size:16px;font-weight:700}
.bw-ff-f-airline{font-size:14px;opacity:.75}
.bw-ff-f-times{display:flex;align-items:baseline;gap:8px;font-size:15.5px;font-weight:600;font-variant-numeric:tabular-nums}
.bw-ff-arrow{opacity:.55}
.bw-ff-f-extra{font-size:13px;opacity:.72}
.bw-ff-f-cancelled{font-size:13px;font-weight:700;color:#c0392b}
@media(min-width:640px){.bw-ff-sheet{inset:0;border-radius:22px;margin:auto;max-height:min(80dvh,720px);box-shadow:0 20px 60px rgba(0,0,0,.3)}}
@media(prefers-reduced-motion:no-preference){.bw-ff-sheet[open]{animation:bw-ff-up .22s ease-out}@keyframes bw-ff-up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}}

/* Dark pages (the booking page, the app): the sheet follows the page */
.bw-ff-sheet.bw-ff-dark,html[data-blackwater-noir] .bw-ff-sheet{--ff-bg:#121214;--ff-fg:#f2f2f4;--ff-line:rgba(255,255,255,.14);--ff-soft:rgba(255,255,255,.06)}
html[data-blackwater-noir] .bw-ff{--ff-line:rgba(255,255,255,.16);--ff-soft:rgba(255,255,255,.05)}
html[data-blackwater-noir] .bw-ff-pill.primary,.bw-ff-dark .bw-ff-pill.primary{background:#fff;color:#0b0b0d;border-color:#fff}
html[data-blackwater-noir] .bw-ff-tab[aria-selected=true],.bw-ff-dark .bw-ff-tab[aria-selected=true]{background:rgba(255,255,255,.14);box-shadow:none}
html[data-blackwater-noir] .bw-ff-f-cancelled,.bw-ff-dark .bw-ff-f-cancelled{color:#ff8a80}
html[data-blackwater-noir] .bw-ff-field input,.bw-ff-dark .bw-ff-field input{color-scheme:dark}
.bw-ff-dark{box-shadow:0 -10px 40px rgba(0,0,0,.6)}
/* The app's dark theme gives every dialog a see-through background (#0b0b0de8) and a light backdrop; this sheet is solid,
   so the booking sheet never shows through it. */
html:not(#bw-ff-a):not(#bw-ff-b) dialog.bw-ff-sheet{background:var(--ff-bg)!important;color:var(--ff-fg)!important;padding:0!important;border:0!important;max-width:100%!important}
html:not(#bw-ff-a):not(#bw-ff-b) dialog.bw-ff-sheet::backdrop{background:rgba(0,0,0,.6)!important}

/* The app's route rail (its customer.css draws a dot and a rail on each label of .bw-route-entry): Flight is the last dot,
   so no rail runs on below it, and with no Flight row the rail ends at Pickup time's dot. */
html[data-blackwater-noir]:not(#bw-ff-a) .bw-route-entry>label.bw-ff::after{display:none}
html[data-blackwater-noir]:not(#bw-ff-a) .bw-route-entry>label:has([name="Time"]):not(:has(~ label.bw-ff:not([hidden])))::after{display:none}
html[data-blackwater-noir]:not(#bw-ff-a) .bw-route-entry>.bw-ff-extra{padding-left:26px}

/* The site's shared button look (glass, shadows; language.css, raised with :not(#a)) is not for these plain rows and pills. */
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet :is(.bw-ff-airport,.bw-ff-flight,.bw-ff-chosen,.bw-ff-tab,.bw-ff-x,.bw-ff-pill,.bw-ff-link),html:not(#bw-ff-a):not(#bw-ff-b) :is(.bw-ff,.bw-ff-extra) :is(.bw-ff-link,.bw-ff-pill){box-shadow:none!important;text-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet .bw-ff-airport{background:none!important;border-radius:0!important;border:0!important;border-bottom:1px solid var(--ff-line)!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet :is(.bw-ff-flight,.bw-ff-chosen){background:transparent!important;border:1px solid var(--ff-line)!important;border-radius:14px!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet .bw-ff-chosen{border-radius:12px!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet .bw-ff-tab{background:transparent!important;border:0!important;border-radius:999px!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet .bw-ff-tab[aria-selected=true]{background:var(--ff-bg)!important;box-shadow:0 1px 4px rgba(0,0,0,.12)!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet.bw-ff-dark .bw-ff-tab[aria-selected=true],html[data-blackwater-noir]:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet .bw-ff-tab[aria-selected=true]{background:rgba(255,255,255,.14)!important;box-shadow:none!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet .bw-ff-x{background:var(--ff-soft)!important;border:0!important;border-radius:999px!important}
/* Change and Remove sit in .bw-ff-extra since the Flight row became a label (18 Nov 2026): the reset covers them there too. */
html:not(#bw-ff-a):not(#bw-ff-b) :is(.bw-ff,.bw-ff-extra,.bw-ff-sheet) .bw-ff-link{background:none!important;border:0!important;border-radius:0!important}
html:not(#bw-ff-a):not(#bw-ff-b) :is(.bw-ff,.bw-ff-sheet) .bw-ff-pill:not(.primary){background:transparent!important;border:1px solid var(--ff-line)!important;border-radius:999px!important}
html:not(#bw-ff-a):not(#bw-ff-b) :is(.bw-ff,.bw-ff-sheet) .bw-ff-pill.primary{background:#111!important;color:#fff!important;border:1px solid #111!important;border-radius:999px!important}
html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-sheet.bw-ff-dark .bw-ff-pill.primary,html[data-blackwater-noir]:not(#bw-ff-a):not(#bw-ff-b) :is(.bw-ff,.bw-ff-sheet) .bw-ff-pill.primary,html:not(#bw-ff-a):not(#bw-ff-b) .bw-ff-dark-host .bw-ff-pill.primary{background:#fff!important;color:#0b0b0d!important;border-color:#fff!important}
