/* Open requests page. Flat colour, hairlines, square corners. Builds on pr.css tokens. */

.ro { padding-top: clamp(32px, 4vw, 56px); }

/* Filter bar */
.ro-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px 20px; align-items: end; background: var(--s1); border: 1px solid var(--line); padding: 20px; }
.ro-f { display: grid; gap: 8px; min-width: 0; }
.ro-f[hidden] { display: none; }
.ro-f label { display: block; }
.ro-sel { position: relative; }
.ro-sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); pointer-events: none; }
.ro-filters select, .ro-filters input { width: 100%; height: 48px; padding: 0 14px; background: var(--black); color: var(--text); border: 1px solid #3a3a40; border-radius: 0; font: 500 1rem/1 var(--sans); -webkit-appearance: none; appearance: none; }
.ro-filters select { padding-right: 40px; text-overflow: ellipsis; cursor: pointer; }
.ro-filters select:disabled { color: var(--mute); border-color: var(--line); cursor: not-allowed; }
.ro-filters select:hover:not(:disabled), .ro-filters input:hover { border-color: #fff; }
.ro-filters select option, .ro-filters select optgroup { background: var(--black); color: var(--text); }
.ro-filters input::placeholder { color: var(--mute); opacity: 1; }
.ro-filters input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.ro-filters select:focus-visible, .ro-filters input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-color: #fff; }
.ro-f--q { grid-column: span 2; }
.ro-f--x .btn { height: 48px; width: 100%; justify-content: center; }

/* Results */
.ro-results { margin-top: 28px; min-height: 8rem; }
.ro-count { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ro-count b { color: #fff; font-weight: 500; }
.ro-list { list-style: none; margin: 0; padding: 0; }
.ro-row { position: relative; display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ro-row.urgent::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 3px; background: var(--red); }
.ro-bt { font-stretch: 62%; font-weight: 800; font-size: clamp(3.2rem, 7vw, 4.6rem); line-height: 0.9; color: #fff; }
.ro-info { min-width: 0; display: grid; gap: 6px; }
.ro-info h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.ro-where { color: var(--mute); font-size: 0.94rem; overflow-wrap: anywhere; }
.ro-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; }
.ro-meta .k { letter-spacing: 0.1em; font-size: 0.7rem; }
.ro-meta .ro-need { color: #fff; }
.ro-urgent { color: var(--red); }
.ro-act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ro-act .btn { height: 46px; padding: 0 20px; gap: 12px; }

/* States */
.ro-state { padding: 36px 0; color: var(--mute); max-width: 40em; }
.ro-state a { color: #fff; border-bottom: 1px solid var(--red); }
.ro-state h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 0.95; color: #fff; margin-bottom: 12px; }
.ro-state .cta { margin-top: 24px; }
.ro-state .cta .btn { height: 48px; }
.ro-load { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.ro-load::before { content: ""; width: 8px; height: 8px; background: var(--red); animation: blink 1.2s steps(2, jump-none) infinite; }
.ro-load::after { content: "..."; }
.ro-note { padding-top: 14px; }
.ro-safe { margin-top: 36px; }

/* Booking section (light) */
.ro-book .steps { max-width: 60rem; }
.ro-book .cta { margin-top: 40px; }
.ro-book :focus-visible { outline-color: var(--ink); }
.ro-lang { margin-top: 28px; }

@media (max-width: 980px) {
  .ro-row { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .ro-act { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 560px) {
  .ro-filters { padding: 16px; gap: 14px; }
  .ro-f--q { grid-column: auto; }
  .ro-row { grid-template-columns: 3.8rem minmax(0, 1fr); gap: 10px 16px; }
  .ro-act .btn { flex: 1 1 100%; justify-content: space-between; }
}
@media (forced-colors: active) {
  .ro-row.urgent::before { background: Highlight; }
}

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
