.stay-page {
  --stay-paper: #f6f0e4;
  --stay-ink: #302b25;
  --stay-rust: #773f30;
  --stay-border: #b9a58b;
  margin: 0;
  background: var(--stay-paper);
  color: var(--stay-ink);
  font: 1.0625rem/1.55 Georgia, 'Times New Roman', serif;
}
.stay-page *, .stay-page *::before, .stay-page *::after { box-sizing: border-box; }
.stay-page [hidden] { display: none !important; }
.stay-page :focus-visible { outline: 2px solid var(--stay-rust); outline-offset: 4px; }
.stay-page a { color: inherit; text-underline-offset: .22em; }
.stay-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 5%;
  border-bottom: 1px solid var(--stay-border);
}
.stay-brand { font-size: 1.5rem; text-decoration: none; }
.stay-brand small { font-size: .875rem; margin-inline-start: .3rem; }
.stay-header label { font: .9375rem/1.4 Arial, sans-serif; }
.stay-header label span { margin-inline-end: .4rem; }
.stay-main { max-width: 54rem; margin: auto; padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem); }
.stay-main h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); line-height: 1.08; font-weight: 400; margin: 0 0 .7rem; }
@media (orientation: portrait) {
  .stay-title-tail { display: block; }
}
.stay-main h2 { font-size: 1.375rem; margin: 0 0 .35rem; font-weight: 400; }
.stay-main p { margin: 0 0 1rem; }
.stay-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 1rem;
  margin: 1rem 0;
}
.stay-fields label { display: grid; gap: .25rem; min-width: 0; font: .9375rem/1.35 Arial, sans-serif; }
.stay-fields .stay-home-field { grid-column: 1 / -1; }
.stay-page select, .stay-page input {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  border: 1px solid var(--stay-border);
  border-radius: .25rem;
  background: #fffbf4;
  color: var(--stay-ink);
  padding: .45rem .55rem;
  font: 1rem/1.25 Arial, sans-serif;
}
.stay-header select { width: auto; }
.stay-page input[type="date"] { display: block; inline-size: 100%; }
.stay-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.stay-page .stay-action {
  border: 1px solid var(--stay-rust);
  border-radius: .25rem;
  background: var(--stay-rust);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .5rem .85rem;
  font: 1rem/1.35 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.stay-page .stay-secondary { background: transparent; color: var(--stay-rust); }
.stay-result { margin-top: 1.2rem; padding: 1rem; background: #fffaf0; border-left: 3px solid var(--stay-rust); }
.stay-channels { margin-top: 1.25rem; }
.stay-channels h2 { margin-bottom: .65rem; }
.stay-channel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: .65rem;
}
.stay-page .stay-channel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3.5rem;
  padding: .5rem .65rem;
  border-radius: .25rem;
  text-align: center;
  text-decoration: none;
}
.stay-page button.stay-channel {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.stay-channel:hover { box-shadow: 0 2px 5px #302b2522; }
.stay-platform { border: 1px solid var(--stay-border); background: #fffbf4; }
.stay-platform[data-channel="booking"] { background: #003b95; border-color: #003b95; color: white; }
.stay-platform img { display: block; width: min(100%, 7rem); height: auto; }
.stay-platform[data-channel="vrbo"] img { width: min(100%, 5.2rem); }
.stay-platform[data-channel="booking"] img { width: min(100%, 7.4rem); }
.stay-main .stay-channel-help { margin: .65rem 0 0; font: .9375rem/1.4 Arial, sans-serif; }
#stay-contacts { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--stay-border); }
@media (max-width: 600px) {
  .stay-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#stay-contacts p { margin: .6rem 0 0; overflow-wrap: anywhere; }
@media (max-width: 360px) { .stay-fields { gap: .65rem .45rem; } }
