/* Stay date picker v2 (docs/reviews/datepicker-v2-2026-11-13/SPEC.md section 8).
   One accent for state (the site blue), a pale band for the range, logical
   properties throughout so right-to-left mirrors by itself. */
.obo-sp, .obo-sp * { box-sizing: border-box; }
.obo-sp {
    --sp-blue: #3554D1; --sp-pale: #E5F0FD; --sp-ink: #051036; --sp-mute: #697488; --sp-line: #E1E5EC; --sp-soft: #F5F7FA;
    --sp-sel: #EEF4FF; --sp-cap: #EEF2FB; --sp-bar: #051036; --sp-barline: #13357B; --sp-bar2: #A9B4D0; --sp-pill: #3554D1; --sp-pillink: #FFFFFF;
    font-size: 16px; line-height: 24px; color: var(--sp-ink); font-variant-numeric: tabular-nums;
}
.obo-sp[hidden] { display: none; }
.obo-sp__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.obo-sp__backdrop { display: none; }
/* Above the page's own layers that can hold the field (the phone filter panel is 1100), under the map view.
   The numbers are the picker's rows of the layer scale at the end of main.css. */
.obo-sp__dialog { background: #fff; display: flex; flex-direction: column; overflow: hidden; z-index: var(--obo-layer-picker, 1201); }

/* Narrow (T241): the picker's own brand strip at the top (the site's dark blue header look and the OBO logo, 80 px like
   the site header on a phone, not interactive, hidden from assistive technology), then the sheet with rounded top
   corners; the page behind stays covered and inert. fitViewport() sets the sheet's top and height against the visible
   viewport (the keyboard); these are the values before it runs. Under about 420 px of visible height (obo-sp--short)
   the strip goes and the sheet fills the window, scrolling as one piece. */
.obo-sp__brand { display: none; }
.obo-sp--sheet .obo-sp__brand { display: flex; align-items: center; position: fixed; inset-inline: 0; inset-block-start: 0; block-size: 80px; padding-inline: 16px; background: #051036; z-index: var(--obo-layer-picker, 1201); }
.obo-sp__logo { display: block; inline-size: 108px; block-size: 38px; background: url("../images/general/logo-obo-light-v4.svg") no-repeat center / contain; }
.obo-sp--sheet .obo-sp__dialog { position: fixed; inset-inline: 0; inset-block-start: 80px; height: calc(100vh - 80px); height: calc(100dvh - 80px); border-start-start-radius: 20px; border-start-end-radius: 20px; box-shadow: 0 -6px 20px rgba(5, 16, 54, .18); }
.obo-sp--sheet.obo-sp--short .obo-sp__brand { display: none; }
.obo-sp--sheet.obo-sp--short .obo-sp__dialog { inset-block-start: 0; height: 100vh; height: 100dvh; border-radius: 0; }
/* Wide: a popover under the field. */
.obo-sp--popover .obo-sp__dialog { position: absolute; border: 1px solid var(--sp-line); border-radius: 16px; box-shadow: 0 16px 48px rgba(5, 16, 54, .18); }
/* No room around the field: a centred dialog over a backdrop. */
.obo-sp--centred .obo-sp__backdrop, .obo-sp--sheet .obo-sp__backdrop { display: block; position: fixed; inset: 0; background: rgba(5, 16, 54, .45); z-index: var(--obo-layer-picker-backdrop, 1200); }
.obo-sp--centred .obo-sp__dialog { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 16px; }
/* The desktop dialog (T233 B, P5): at most 720 px wide and the window's height less 32 px, 16 px from each edge;
   past that it scrolls inside (place() writes the same limits for the browsers without dvh). */
.obo-sp--centred .obo-sp__dialog, .obo-sp--popover .obo-sp__dialog { max-inline-size: min(720px, calc(100vw - 32px)); }
.obo-sp--centred .obo-sp__dialog { max-block-size: calc(100vh - 32px); max-block-size: calc(100dvh - 32px); }
html.obo-sp-lock, html.obo-sp-lock body { overflow: hidden; }
/* For 300 ms after Done, Close or the backdrop: takes the second tap of a double tap, so it never reaches the page. */
.obo-sp-guard { position: fixed; inset: 0; z-index: var(--obo-layer-picker-guard, 1202); background: transparent; }

.obo-sp__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-block-size: 56px; padding: 6px 8px 0 16px; padding-inline: 16px 8px; border-bottom: 1px solid var(--sp-line); }
/* One header row (T233 B, P1): the tabs fill it, the close button keeps its 44 px target at the end; long labels wrap and the row grows. */
.obo-sp__head > .obo-sp__title:not(.obo-sp__sr) { flex: 1 1 auto; padding-block-end: 6px; }
.obo-sp__head > .obo-sp__close { flex: 0 0 auto; align-self: center; margin-block-end: 6px; }
.obo-sp__title { font-size: 20px; line-height: 28px; font-weight: 600; margin: 0; }
.obo-sp__close { inline-size: 44px; block-size: 44px; border: 0; border-radius: 50%; background: var(--sp-soft); color: var(--sp-ink); font-size: 22px; line-height: 1; cursor: pointer; }
/* Side by side while each has room for its label; one under the other in a very narrow window (300 percent zoom). */
/* The two ends (T233 B, P2): the same radio buttons, no longer drawn as input fields. A soft fill; the chosen end
   is a pale blue fill with a 2 px line at its bottom, which is not the focus ring (that keeps its own outline).
   Side by side while each has room for its label; one under the other in a very narrow window (300 percent zoom). */
.obo-sp__ends { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px 0; }
.obo-sp__end { flex: 1 1 96px; min-inline-size: 0; min-block-size: 48px; text-align: start; background: var(--sp-soft); border: 0; border-block-end: 2px solid transparent; border-radius: 6px; padding: 6px 10px; cursor: pointer; font: inherit; color: var(--sp-ink); }
.obo-sp__end:disabled { opacity: .55; cursor: default; }
.obo-sp__endlabel { display: block; font-size: 13px; line-height: 16px; color: var(--sp-mute); overflow-wrap: anywhere; }
.obo-sp__endvalue { display: block; font-size: 15px; line-height: 20px; font-weight: 500; overflow-wrap: anywhere; }
.obo-sp__end.is-active { background: var(--sp-pale); border-block-end-color: var(--sp-blue); }
.obo-sp__end.is-active .obo-sp__endlabel { color: var(--sp-blue); }

/* THE MONTH CAPSULE (T241, after the owner's page): a soft tinted capsule set apart from the days, a round white
   previous button, the month's name in bold with a small chevron (the native month list lies over it, transparent),
   a round white next button. Centred above the two months on a desktop; across the sheet under the date boxes on a
   phone (it stays pinned there: the months scroll below it). */
.obo-sp__nav { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 16px 4px; padding: 4px; background: var(--sp-cap); border-radius: 999px; }
.obo-sp--popover .obo-sp__nav, .obo-sp--centred .obo-sp__nav { inline-size: min(330px, calc(100% - 32px)); margin-inline: auto; margin-block: 12px 2px; }
.obo-sp__arrow { flex: 0 0 40px; inline-size: 40px; block-size: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--sp-ink); cursor: pointer;
    box-shadow: 0 1px 2px rgba(5, 16, 54, .12), 0 0 0 1px rgba(5, 16, 54, .05); }
.obo-sp__arrow:disabled { opacity: .35; cursor: default; }
[dir="rtl"] .obo-sp__arrow svg { transform: scaleX(-1); }
.obo-sp__mon { position: relative; flex: 1 1 auto; min-inline-size: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-block-size: 40px; padding: 0 6px; border-radius: 999px; font-weight: 600; font-size: 16px; color: var(--sp-ink); }
.obo-sp__monname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obo-sp__monchev { flex: 0 0 auto; color: var(--sp-blue); }
/* The native list over the drawn name: the whole middle is its target; its focus shows on the capsule's middle. */
.obo-sp__mon .obo-sp__jump { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; cursor: pointer; border: 0; margin: 0; font: inherit; font-size: 16px; }
.obo-sp__mon:has(.obo-sp__jump:focus-visible) { outline: 2px solid var(--sp-blue); outline-offset: 2px; }
/* Touch screens: 44 px targets in the capsule. */
@media (pointer: coarse) {
    .obo-sp__arrow { flex-basis: 44px; inline-size: 44px; block-size: 44px; }
    .obo-sp__mon { min-block-size: 44px; }
}

.obo-sp__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 4px 12px; scroll-padding-block: 16px; }
.obo-sp--popover .obo-sp__body, .obo-sp--centred .obo-sp__body { padding: 0 16px 12px; }
.obo-sp__months { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; }
.obo-sp--two .obo-sp__months { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.obo-sp__month[hidden] { display: none; }
/* Only the months in view are laid out and painted (T241: the first opening of fourteen months broke the 200 ms budget
   on a slow phone; the paged layouts hide the other months anyway); a month's size is remembered once seen. */
.obo-sp:not(.obo-sp--popover):not(.obo-sp--centred) .obo-sp__month { content-visibility: auto; contain-intrinsic-size: auto 360px; }
/* One title and one weekday row per month, scrolling with it (T233 B, P3: no sticky rows, which showed a second
   month's weekday names above its title on the phone). */
.obo-sp__mtitle { font-size: 18px; line-height: 24px; font-weight: 600; margin: 0; padding: 8px 12px 0; min-block-size: 32px; }
.obo-sp__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
/* 14 px from a 320 px window up; smaller only in a narrower one (a zoomed page), so seven names still fit side by side. */
.obo-sp__wd { text-align: center; color: var(--sp-mute); font-size: clamp(9px, 4.4vw, 14px); line-height: 20px; padding: 4px 0; overflow: hidden; }
/* Days are 44 px targets on every size (T233 B, P3); a row is the target's height. */
.obo-sp__cell { block-size: 44px; display: flex; align-items: center; justify-content: center; }
/* The range: one continuous pale band; only the true ends are round. */
.obo-sp__cell.is-between, .obo-sp__cell.is-preview { background: var(--sp-pale); }
.obo-sp__cell.is-start { background: linear-gradient(to right, transparent 50%, var(--sp-pale) 50%); }
.obo-sp__cell.is-end { background: linear-gradient(to left, transparent 50%, var(--sp-pale) 50%); }
[dir="rtl"] .obo-sp__cell.is-start { background: linear-gradient(to left, transparent 50%, var(--sp-pale) 50%); }
[dir="rtl"] .obo-sp__cell.is-end { background: linear-gradient(to right, transparent 50%, var(--sp-pale) 50%); }
.obo-sp__row > .obo-sp__cell.is-between:first-child { border-start-start-radius: 4px; border-end-start-radius: 4px; }
.obo-sp__row > .obo-sp__cell.is-between:last-child { border-start-end-radius: 4px; border-end-end-radius: 4px; }
/* A day never grows past its size and never pushes its column wider than a seventh (a page zoomed to 300 percent). */
.obo-sp__day { inline-size: 100%; max-inline-size: 44px; block-size: auto; max-block-size: 44px; aspect-ratio: 1 / 1; border: 0; border-radius: 50%; background: none; color: var(--sp-ink); font: inherit; font-size: clamp(11px, 5vw, 16px); cursor: pointer; position: relative; padding: 0; }
.obo-sp__day:hover:not(:disabled) { background: var(--sp-soft); }
.obo-sp__day:disabled { color: #B7BECB; cursor: default; }
/* BOTH RINGS (T241, the owner's "use both rings"): check-in and check-out are a filled blue circle with a thin white
   ring inside a blue edge; a one-night stay shows two ringed neighbours. */
.obo-sp__day.is-in, .obo-sp__day.is-out, .obo-sp__day.is-in:hover, .obo-sp__day.is-out:hover { background: var(--sp-blue); color: #fff; font-weight: 600; box-shadow: inset 0 0 0 2px var(--sp-blue), inset 0 0 0 4px #fff; }
.obo-sp__day.is-today::after { content: ""; position: absolute; inset-block-end: 5px; inset-inline-start: 50%; inline-size: 5px; block-size: 5px; margin-inline-start: -2.5px; border-radius: 50%; background: var(--sp-blue); }
.obo-sp__day.is-today.is-in::after, .obo-sp__day.is-today.is-out::after { background: #fff; }
/* Focus keeps its own indicator, never the selection ring: a dark outline outside the day (the selection ring is inside
   it), on every background. */
.obo-sp__day:focus-visible { outline: 3px solid var(--sp-ink); outline-offset: 2px; }
.obo-sp__end:focus-visible, .obo-sp__arrow:focus-visible, .obo-sp__close:focus-visible,
.obo-sp__jump:focus-visible, .obo-sp__typebtn:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
/* TYPED DATES (T241): the button at the top of the calendar tab is visually hidden until it has the focus (any focus),
   then shown in place with its words; the two native date fields open under it. */
.obo-sp__type { flex: 0 0 auto; }
.obo-sp__type[hidden] { display: none; }
.obo-sp__typebtn { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: 0; }
.obo-sp__typebtn:focus, .obo-sp__type.is-open .obo-sp__typebtn { position: static; inline-size: auto; block-size: auto; min-block-size: 44px; overflow: visible; clip: auto; white-space: normal;
    margin: 8px 16px 0; padding: 0 16px; border: 1px solid var(--sp-blue); border-radius: 10px; background: #fff; color: var(--sp-blue); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

/* The two tabs and the I'm flexible pane. */
.obo-sp__tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; flex: 1 1 auto; min-inline-size: 0; align-self: flex-end; }
.obo-sp__tab { min-block-size: 50px; padding: 4px clamp(6px, 4vw, 16px) 0; overflow-wrap: anywhere; text-align: center; border: 0; border-block-end: 3px solid transparent; background: none; color: var(--sp-mute); font: inherit; font-weight: 600; cursor: pointer; }
.obo-sp__tab[aria-selected="true"] { color: var(--sp-blue); border-block-end-color: var(--sp-blue); }
.obo-sp__tab:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: -2px; }
.obo-sp__flex { flex: 1 1 auto; overflow-y: auto; padding: 16px 16px 12px; display: grid; align-content: start; }
.obo-sp__flex[hidden], .obo-sp__ends[hidden], .obo-sp__nav[hidden], .obo-sp__body[hidden] { display: none; }
/* THE I'M FLEXIBLE PANE (T241, after the owner's page). */
.obo-sp__q { font-size: 19px; line-height: 26px; font-weight: 600; margin: 0; color: var(--sp-ink); }
.obo-sp__qsub { font-size: 14px; line-height: 20px; color: var(--sp-mute); margin: 2px 0 12px; }
.obo-sp__flex > .obo-sp__qsub { margin-block-end: 0; }
.obo-sp__flex { gap: 10px; }
/* Four cards, one radio group: two by two on a phone (icon beside the title), four in a row wider (icon above). */
.obo-sp__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.obo-sp__card { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; align-items: center; text-align: start; min-block-size: 60px; padding: 9px 10px 9px 12px; padding-inline: 12px 10px;
    border: 1px solid var(--sp-line); border-radius: 12px; background: #fff; color: var(--sp-ink); font: inherit; cursor: pointer; }
.obo-sp__card .obo-sp__ic { grid-row: 1 / span 2; color: var(--sp-ink); }
.obo-sp__ct { font-weight: 600; font-size: 15px; line-height: 20px; overflow-wrap: anywhere; }
.obo-sp__cs { font-size: 12.5px; line-height: 17px; color: var(--sp-mute); overflow-wrap: anywhere; }
.obo-sp__card.is-on { border-color: var(--sp-blue); box-shadow: 0 0 0 1px var(--sp-blue); background: var(--sp-sel); }
.obo-sp__card.is-on .obo-sp__ct, .obo-sp__card.is-on .obo-sp__ic { color: var(--sp-blue); }
.obo-sp--two .obo-sp__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.obo-sp--two .obo-sp__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 16px 10px 14px; }
.obo-sp--two .obo-sp__card .obo-sp__ic { margin-block-end: 6px; }
.obo-sp--two .obo-sp__ct { font-size: 16px; }
.obo-sp--two .obo-sp__cs { font-size: 13.5px; }
/* Stay duration (Custom stay) and Check-in day, side by side where both show. */
.obo-sp__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; margin-block-start: 4px; }
.obo-sp__opts[hidden], .obo-sp__opt[hidden] { display: none; }
.obo-sp__ol { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: #4A5568; margin-block-end: 6px; }
.obo-sp__stepper { display: flex; align-items: center; justify-content: space-between; block-size: 48px; padding: 4px; border: 1px solid var(--sp-line); border-radius: 12px; background: #fff; }
.obo-sp__stepbtn { inline-size: 38px; block-size: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; background: var(--sp-soft); color: var(--sp-ink); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.obo-sp__stepbtn:disabled { opacity: .35; cursor: default; }
.obo-sp__stepval { font-weight: 600; font-size: 15px; text-align: center; }
.obo-sp .obo-sp__sel { inline-size: 100%; block-size: 48px; border: 1px solid var(--sp-line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 15px; background: #fff; color: var(--sp-ink); }
@media (pointer: coarse) {
    .obo-sp__stepper { block-size: 52px; }
    .obo-sp__stepbtn { inline-size: 44px; block-size: 44px; }
}
.obo-sp__hr { block-size: 1px; background: var(--sp-line); margin: 8px 0 4px; }
.obo-sp__mh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.obo-sp__cnt { color: var(--sp-blue); font-weight: 600; font-size: 14px; white-space: nowrap; }
.obo-sp__mh + .obo-sp__qsub { margin-block: 0 4px; }
/* The months: three per row on a phone, five wider; each a calendar icon, the short month and the year. */
.obo-sp__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.obo-sp--two .obo-sp__tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.obo-sp__tile { position: relative; display: flex; align-items: center; gap: 9px; min-block-size: 52px; padding: 8px 10px; border: 1px solid var(--sp-line); border-radius: 12px; background: #fff; color: var(--sp-ink); font: inherit; text-align: start; cursor: pointer; }
.obo-sp__tile .obo-sp__ic { color: #8B94A7; }
.obo-sp__tt { display: flex; flex-direction: column; min-inline-size: 0; }
.obo-sp__tm { font-weight: 600; font-size: 15px; line-height: 18px; overflow-wrap: anywhere; }
.obo-sp__ty { font-size: 12px; line-height: 16px; color: var(--sp-mute); }
.obo-sp__tk { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; inline-size: 16px; block-size: 16px; border-radius: 50%; background: var(--sp-blue); color: #fff; display: none; place-items: center; }
.obo-sp__tile.is-on { border-color: var(--sp-blue); box-shadow: 0 0 0 1px var(--sp-blue); background: var(--sp-sel); }
.obo-sp__tile.is-on .obo-sp__tm, .obo-sp__tile.is-on .obo-sp__ic { color: var(--sp-blue); }
.obo-sp__tile.is-on .obo-sp__tk { display: grid; }
/* Three chosen: the others are dimmed but stay readable (their text keeps its contrast) and pressable. */
.obo-sp__tile.is-dim { background: var(--sp-soft); border-color: #EEF0F4; }
.obo-sp__tile.is-dim .obo-sp__ic { opacity: .5; }
.obo-sp--two .obo-sp__tile { flex-direction: column; justify-content: center; gap: 4px; padding: 12px 6px 10px; text-align: center; }
.obo-sp--two .obo-sp__tt { align-items: center; }
.obo-sp__refuse { display: flex; gap: 8px; margin: 4px 0 0; padding: 9px 12px; border-radius: 10px; background: #FFF4E3; color: #6E4700; font-size: 13.5px; line-height: 19px; }
.obo-sp__refuse[hidden] { display: none; }
.obo-sp__info { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; font-size: 13.5px; line-height: 19px; color: var(--sp-mute); }
.obo-sp__info .obo-sp__ic { flex: 0 0 auto; color: var(--sp-blue); }
.obo-sp__card:focus-visible, .obo-sp__tile:focus-visible, .obo-sp__stepbtn:focus-visible, .obo-sp .obo-sp__sel:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.obo-sp__card.is-on:focus-visible, .obo-sp__tile.is-on:focus-visible { box-shadow: 0 0 0 1px var(--sp-blue), 0 0 0 2px #fff; }
@media (forced-colors: active) {
    .obo-sp__card.is-on, .obo-sp__tile.is-on { border: 3px solid Highlight; }
}
/* The tools under the calendar (T233 B, P4): "Compare nearby dates" and the typed fields, outside the months' scroller. */
.obo-sp__tools { flex: 0 0 auto; border-top: 1px solid var(--sp-line); background: #fff; }
.obo-sp__tools[hidden] { display: none; }
.obo-sp__tools:empty { display: none; }
/* Nothing shown in it (a host without nearby dates, the typed fields closed): no box, so no second hairline over the bottom row's. */
.obo-sp__tools:not(:has(> :not([hidden]))) { display: none; }
/* COMPARE NEARBY DATES (T241, the approved look): the label, then three choices in one row, the third holding minus,
   the number and plus, as "± [-] 3 [+] days". Where the row does not fit (320 px, a long language) the choices wrap to
   a second line; the label goes above them on a phone. Logical properties only, so right to left mirrors. */
.obo-sp__near { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 16px 6px; }
.obo-sp__nearlabel { flex: 1 0 100%; font-size: 14px; line-height: 20px; color: var(--sp-mute); }
.obo-sp--two .obo-sp__nearlabel { flex: 0 1 auto; }
.obo-sp__nearopts { flex: 1 1 auto; min-inline-size: 0; }
.obo-sp__nearradios { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.obo-sp__nearopt { min-block-size: 44px; min-inline-size: 0; overflow-wrap: anywhere; padding: 0 14px; border: 1px solid var(--sp-line); border-radius: 22px; background: #fff; color: var(--sp-ink); font: inherit; font-size: 14px; cursor: pointer; }
.obo-sp__nearopt.is-on { border-color: var(--sp-blue); box-shadow: 0 0 0 1px var(--sp-blue); color: var(--sp-blue); font-weight: 600; }
/* The third choice: one chip that holds the radio (±) and, beside it, the separate stepper controls. */
.obo-sp__nearown { display: inline-flex; flex-wrap: wrap; max-inline-size: 100%; align-items: center; gap: 4px; min-block-size: 44px; padding: 0 10px 0 2px; padding-inline: 2px 10px; border: 1px solid var(--sp-line); border-radius: 22px; background: #fff; color: var(--sp-ink); font-size: 14px; }
.obo-sp__nearown.is-on { border-color: var(--sp-blue); box-shadow: 0 0 0 1px var(--sp-blue); color: var(--sp-blue); }
.obo-sp__nearown .obo-sp__nearopt { border: 0; box-shadow: none; padding: 0 8px; min-inline-size: 40px; font-size: 15px; background: none; }
.obo-sp__nearstep { flex: 0 0 auto; inline-size: 28px; block-size: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--sp-soft); color: var(--sp-ink); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.obo-sp__nearown.is-on .obo-sp__nearstep { background: var(--sp-pale); color: var(--sp-blue); }
.obo-sp__nearstep:disabled { opacity: .35; cursor: default; }
.obo-sp .obo-sp__nearnum { flex: 0 0 auto; inline-size: 3ch; min-inline-size: 32px; block-size: 32px; text-align: center; font: inherit; font-size: 15px; font-weight: 600; border: 1px solid transparent; border-radius: 6px; padding: 0 2px; background: transparent; color: inherit; }
.obo-sp__nearnum:hover { background: var(--sp-soft); }
.obo-sp__nearnum[aria-invalid="true"] { border-color: #C2410C; background: #FFF4E3; }
.obo-sp__neardays { padding-inline-start: 2px; white-space: nowrap; }
.obo-sp__nearmsg { flex: 1 0 100%; margin: 2px 0 0; font-size: 13.5px; line-height: 19px; color: #9A3412; }
.obo-sp__nearmsg[hidden] { display: none; }
.obo-sp__nearopt:focus-visible, .obo-sp__nearstep:focus-visible, .obo-sp__nearnum:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
/* Touch screens: the stepper's targets are 44 px. */
@media (pointer: coarse) {
    .obo-sp__nearstep { inline-size: 44px; block-size: 44px; }
    .obo-sp .obo-sp__nearnum { block-size: 44px; }
}
.obo-sp__manual { display: flex; gap: 12px; flex-wrap: wrap; padding: 6px 16px 8px; }
.obo-sp__manual[hidden] { display: none; }
.obo-sp__field { display: flex; flex-direction: column; font-size: 14px; line-height: 20px; color: var(--sp-mute); flex: 1 1 140px; min-inline-size: 0; }
/* The native date field keeps to its half: its own minimum width put Check-out past the edge of a 390 px screen. */
.obo-sp__field input { inline-size: 100%; min-inline-size: 0; max-inline-size: 100%; font: inherit; font-size: 16px; color: var(--sp-ink); border: 1px solid var(--sp-line); border-radius: 8px; padding: 8px 10px; min-block-size: 44px; background: #fff; }
.obo-sp__field input:focus-visible { outline: 2px solid var(--sp-blue); outline-offset: 2px; }

/* THE DARK SUMMARY BAR (T241, after the owner's page), on both tabs: a near-black rounded bar, the white first line, the
   grey second line, a text button Clear and a light pill Done with an arrow. Text and buttons share a row while both
   fit and wrap to two rows otherwise (a long language, 320 px). */
.obo-sp__foot { flex: 0 0 auto; margin: 8px 10px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--sp-bar); border: 1px solid var(--sp-barline); border-radius: 18px;
    padding: 10px 12px 10px 18px; padding-inline: 18px 12px; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.obo-sp__sumwrap { flex: 1 1 220px; min-inline-size: 0; }
.obo-sp__sum { font-size: 15.5px; line-height: 22px; font-weight: 500; color: #fff; overflow-wrap: anywhere; }
.obo-sp__sum2 { font-size: 14px; line-height: 20px; color: var(--sp-bar2); }
.obo-sp__sum2[hidden], .obo-sp__why:empty { display: none; }
.obo-sp__why { font-size: 14px; line-height: 20px; color: #FFD48A; }
.obo-sp__acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px; margin-inline-start: auto; flex: 0 1 auto; min-inline-size: 0; max-inline-size: 100%; }
/* A very narrow window (a phone zoomed to 300 percent): the capsule keeps its name, the arrows step aside (the month
   list and the scrolling still move the months). */
@media (max-width: 200px) {
    .obo-sp__arrow { display: none; }
    .obo-sp__head { padding-inline: 8px 4px; gap: 4px; }
    .obo-sp__title { font-size: 15px; line-height: 20px; overflow-wrap: anywhere; min-inline-size: 0; }
    .obo-sp__nav { margin-inline: 8px; }
    .obo-sp__foot { margin-inline: 4px; padding-inline: 10px 6px; }
    .obo-sp__done { padding-inline: 12px 10px; }
}
.obo-sp__clear { min-block-size: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: #D6D8DC; font: inherit; font-size: 15px; cursor: pointer; }
.obo-sp__clear:hover { color: #fff; }
.obo-sp__clear[hidden] { display: none; }
.obo-sp__done { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding: 0 16px 0 20px; padding-inline: 20px 16px; border: 0; border-radius: 999px; background: var(--sp-pill); color: var(--sp-pillink); font: inherit; font-size: 15.5px; font-weight: 500; cursor: pointer; }
.obo-sp__done:disabled { background: var(--sp-barline); color: var(--sp-bar2); cursor: default; }
.obo-sp__arrowicon { flex: 0 0 auto; }
[dir="rtl"] .obo-sp__arrowicon { transform: scaleX(-1); }
.obo-sp__foot :focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: none; }
@media (orientation: landscape) and (max-height: 480px) {
    .obo-sp--sheet .obo-sp__title { font-size: 18px; }
}
/* Fewer than three rows of days would stay in view (a phone on its side, a page zoomed to 200 or 300 percent, a long
   translation, the typed fields open: obo-sp--tight, set by fitTools()): the dialog scrolls as one piece, the tools and
   the summary bar stays on its edge. */
.obo-sp--tight.obo-sp--sheet .obo-sp__dialog, .obo-sp--tight.obo-sp--centred .obo-sp__dialog { overflow-x: hidden; overflow-y: auto; }
.obo-sp--tight.obo-sp--sheet .obo-sp__dialog > *, .obo-sp--tight.obo-sp--centred .obo-sp__dialog > * { flex-shrink: 0; }
.obo-sp--tight .obo-sp__body, .obo-sp--tight .obo-sp__flex { overflow: visible; }
/* T241: in the one-piece scroll the month capsule stays pinned at the top of the sheet, and a month brought into view
   starts under it. */
.obo-sp--tight.obo-sp--sheet .obo-sp__nav { position: sticky; inset-block-start: 0; z-index: 2; margin-block: 0; padding-block: 4px; box-shadow: 0 0 0 6px #fff, 0 6px 0 6px #fff; }
.obo-sp--tight.obo-sp--sheet .obo-sp__dialog { scroll-padding-block-start: 72px; }
.obo-sp--tight.obo-sp--sheet .obo-sp__foot, .obo-sp--tight.obo-sp--centred .obo-sp__foot { position: sticky; inset-block-end: 6px; z-index: 2; gap: 4px 12px; padding-block: 6px; max-block-size: 50vh; overflow-y: auto; }
/* A window under 300 px high (a small phone zoomed to 300 percent), flexible tab: the footer is the Done button alone,
   so it and a row of choices are both in view. */
@media (max-height: 300px) {
    .obo-sp__sum2 { display: none; }
    .obo-sp__foot { margin-block: 2px; padding-block: 2px; border-radius: 14px; }
    .obo-sp__sum { font-size: 14px; line-height: 19px; }
}
/* The narrowest windows (a 320 px phone zoomed to 300 percent): Done keeps its word, the arrow and Clear's padding go. */
@media (max-width: 140px) {
    .obo-sp__arrowicon { display: none; }
    .obo-sp__acts { flex-wrap: nowrap; gap: 0; }
    .obo-sp__clear { padding-inline: 4px; font-size: 13px; min-inline-size: 0; }
    .obo-sp__done { padding-inline: 8px; font-size: 14px; }
    .obo-sp__foot { padding-inline: 8px 4px; gap: 2px; }
    .obo-sp__sum { font-size: 13px; line-height: 17px; }
}
/* ... and when that window is also short, the bar's first line stays one line (cut with an ellipsis; Done is still
   described by the whole text) so a few rows of days keep their room. */
@media (max-width: 140px) and (max-height: 300px) {
    .obo-sp__sum { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* Forced colours (Windows contrast themes): the system drops the shadows, so the two ends are drawn with system colours,
   the days between carry a thin frame, and the focus is an outline in the text colour. */
@media (forced-colors: active) {
    .obo-sp__day.is-in, .obo-sp__day.is-out { forced-color-adjust: none; background: Highlight; color: HighlightText; box-shadow: inset 0 0 0 2px Highlight, inset 0 0 0 4px Canvas; }
    .obo-sp__cell.is-between .obo-sp__day { border: 1px solid Highlight; }
    .obo-sp__day:focus-visible { outline: 3px solid CanvasText; }
    .obo-sp__done:disabled { color: GrayText; }
}
@media (prefers-reduced-motion: no-preference) {
    .obo-sp--sheet .obo-sp__dialog { animation: obo-sp-up .16s ease-out; }
    .obo-sp--popover .obo-sp__dialog, .obo-sp--centred .obo-sp__dialog { animation: obo-sp-in .12s ease-out; }
}
@keyframes obo-sp-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes obo-sp-in { from { opacity: 0; } to { opacity: 1; } }

/* The host: a real button as the field, and the native inputs that work before (or without) the script. */
.obo-sp__trigger { display: block; inline-size: 100%; text-align: start; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.obo-sp__trigger:focus-visible { outline: 2px solid #3554D1; outline-offset: 6px; border-radius: 6px; }
[data-stay-picker] .obo-sp__native { display: flex; gap: 8px; flex-wrap: wrap; margin-block-start: 4px; }
[data-stay-picker] .obo-sp__native label { font-size: 13px; color: #697488; display: flex; flex-direction: column; }
[data-stay-picker].is-ready .obo-sp__native { display: none; }
[data-stay-picker]:not(.is-ready) .obo-sp__trigger { display: none; }

/* The search bar's date column fits the stay summary on one line (owner, 2026-11-16: "Mon, Nov 16 to Sat, Nov 21,
   5 nights" broke after the second date in the template's fixed 250 px). Desktop only, and only the bar that hosts
   this picker: the column is as wide as its text, never under the old 250 px and never over a cap, and what it gains
   comes from the destination column (the guests column and the button keep their widths). From 1400 px the bar is
   1070 px wide and the cap takes the longest English summary and the longer German one at the bar's own 15 px; from
   1200 px the bar is 920 px, so there the summary is one step smaller (13 px) and the column's side padding is 20 px,
   which leaves the destination about what it had. Past the cap the text wraps (never cut, no ellipsis). Under
   1200 px the template's columns stand, and under 992 px the bar stacks, as before. */
@media (min-width: 1200px) {
    .mainSearch:not([class*="-col-"]) > .button-grid:has(> [data-stay-picker]) { grid-template-columns: minmax(150px, 1fr) fit-content(300px) 290px auto; }
    .mainSearch:not([class*="-col-"]) > .button-grid > [data-stay-picker] { min-inline-size: 250px; padding-inline: 20px !important; }
    .mainSearch:not([class*="-col-"]) > .button-grid > [data-stay-picker] .obo-sp__value { font-size: 13px !important; }
}
@media (min-width: 1400px) {
    .mainSearch:not([class*="-col-"]) > .button-grid:has(> [data-stay-picker]) { grid-template-columns: minmax(150px, 1fr) fit-content(350px) 290px auto; }
    .mainSearch:not([class*="-col-"]) > .button-grid > [data-stay-picker] { padding-inline: 30px !important; }
    .mainSearch:not([class*="-col-"]) > .button-grid > [data-stay-picker] .obo-sp__value { font-size: 15px !important; }
}

/* The search results page's date field (the filter column, 268 px wide on a desktop window) shows the same summary:
   one step smaller there (13 px), so "Mon, Nov 16 to Sat, Nov 21, 5 nights" and the longest English summary stay on
   one line (owner, 2026-11-16). From 1200 to 1399 px the filter column is narrower (223 px): there the summary is
   12 px and the field's side padding 10 px, which is what one line takes. Desktop only; a longer one wraps, never cut. */
@media (min-width: 992px) {
    [data-stay-picker][data-context="results"] .obo-sp__value { font-size: 13px !important; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .sidebar [data-stay-picker][data-context="results"] { padding-inline: 10px !important; }
    .sidebar [data-stay-picker][data-context="results"] .obo-sp__value { font-size: 12px !important; }
}
