.stay-bar, .stay-results, #stay-dialog {
    --ink: #431d0b;
    --line: #e8ddcb;
    --accent: #9d390d;
    color: var(--ink);
}
.stay-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
    padding: 0 0 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line);
    scroll-margin-top: 6rem;
}
.stay-bar h2, .stay-results h2, #stay-dialog h2 {
    font: 650 clamp(1.25rem, 2vw, 1.65rem)/1.2 'Fira Sans', sans-serif;
    letter-spacing: -.025em;
}
.stay-trigger, .stay-fallback input {
    background: white; border: 1px solid #b49d87; border-radius: .65rem;
}
.stay-trigger {
    display: inline-flex; align-items: center; gap: .85rem; padding: .8rem 1rem;
    min-height: 48px; min-width: 15rem; font-size: 1rem; text-align: left;
}
.stay-trigger:hover { border-color: var(--accent); }
.stay-trigger[hidden], .stay-fallback[hidden] { display: none; }
.stay-icon { position: relative; width: 18px; height: 17px; border: 1.5px solid currentColor; border-radius: 3px; flex: none; }
.stay-icon::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; border-top: 1.5px solid currentColor; }
.stay-icon::after { content: ''; position:absolute; top:-3px; left:3px; right:3px; height:5px; border-inline:2px solid currentColor; }
.stay-chevron { height: 8px; width: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin-left:auto; flex: none; }
.stay-reset, .stay-clear { text-decoration:underline; text-underline-offset:3px; font-size:.95rem; }
.stay-reset { margin-left:auto; padding-block:.65rem; }
.stay-error { flex-basis:100%; }
.stay-fallback { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.stay-fallback input { padding:.6rem; }
.stay-fallback button, .stay-apply { background:var(--ink); color:white; border-radius:999px; padding:.75rem 1.5rem; font-weight:600; }
#stay-dialog { margin:auto; background:white; border:0; border-radius:18px; width:min(710px, calc(100% - 24px)); max-height:92dvh; overflow:auto; padding:24px; box-shadow:0 16px 70px #311b112e; }
#stay-dialog::backdrop { background:#26170d75; }
.stay-head, #stay-dialog footer, .stay-summary, .stay-results header, .stay-event { display:flex; align-items:center; }
.stay-head, #stay-dialog footer, .stay-results header { justify-content:space-between; gap:12px; }
.stay-head button { font:400 1.65rem/1 sans-serif; width:44px; height:44px; border-radius:50%; background:#f8f4ee; }
.stay-summary { gap:1.2rem; margin:16px 0; padding:12px 16px; border:1px solid var(--line); border-radius:10px; }
.stay-summary div { flex:1; }
.stay-summary div span, .stay-summary strong { display:block; }
.stay-summary div span { color:#775e4d; font-size:.85rem; }
.stay-summary strong { font-size:1rem; font-weight:550; }
.stay-calendar { width:max-content; max-width:100%; margin:auto; }
.stay-calendar .flatpickr-input { display:none; }
.stay-calendar .flatpickr-calendar { top:0; background:white; box-shadow:none; max-width:100%; font-family:inherit; }
.stay-calendar .flatpickr-calendar::before,.stay-calendar .flatpickr-calendar::after { display:none; }
.stay-calendar .flatpickr-days,.stay-calendar .dayContainer { max-width:100%; }
.stay-calendar .flatpickr-current-month { font-size:1.05rem; }
.stay-calendar .flatpickr-current-month span.cur-month { font-weight:600; }
.stay-calendar .flatpickr-day { color:var(--ink); width:14.2857%; max-width:none; }
.stay-calendar .flatpickr-day.inRange,.stay-calendar .flatpickr-day.startRange + .endRange { background:#fce9db; border-color:#fce9db; box-shadow:none; }
.stay-calendar .flatpickr-day.selected, .stay-calendar .flatpickr-day.endRange, .stay-calendar .flatpickr-day.startRange { background:var(--accent); border-color:var(--accent); color:white; }
.stay-calendar .flatpickr-day.flatpickr-disabled { color:#bbb4ad; cursor:default; }
.stay-calendar .flatpickr-day.prevMonthDay:not(.selected),.stay-calendar .flatpickr-day.nextMonthDay:not(.selected) { color:#827469; }
#stay-dialog footer { border-top:1px solid var(--line); margin-top:18px; padding-top:16px; background:white; }
.stay-apply:disabled,.stay-clear:disabled { opacity:.45; cursor:default; }
#stay-dialog :focus-visible,.stay-bar :focus-visible,.stay-results a:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.stay-results header { margin-bottom:.8rem; }
.stay-results header p { font-size:.95rem; color:#705843; }
.stay-day { display:grid; grid-template-columns:8.5rem minmax(0, 1fr); align-items:center; column-gap:.8rem; padding:.8rem 0; border-top:1px solid var(--line); }
.stay-day h3 { font-size:1.05rem; font-weight:600; }
.stay-event { grid-column:2; padding:.4rem .7rem .4rem 0; gap:.9rem; font-size:1.07rem; font-weight:550; border-radius:6px; }
.stay-event:hover { background:#f6efdf; }
.stay-event img { width:64px; height:52px; object-fit:cover; border-radius:6px; }
.stay-event .stay-chevron { transform:rotate(-45deg); }
.stay-event small { display:block; color:var(--accent); }
.stay-empty { padding:1rem 0; border-top:1px solid var(--line); }
@media(max-width:740px) {
    #stay-dialog { width:min(370px,calc(100% - 12px)); padding:16px 10px; }
    .stay-head,#stay-dialog footer { padding-inline:5px; }
    .stay-calendar, .stay-calendar .flatpickr-calendar, .stay-calendar .flatpickr-rContainer, .stay-calendar .flatpickr-days, .stay-calendar .dayContainer { width:100%; max-width:100%; min-width:0; }
    .stay-calendar .dayContainer { flex-basis:100%; }
    .stay-calendar .flatpickr-day { max-width:none; height:42px; line-height:40px; }
    .stay-bar { gap:.6rem 1rem; }
    .stay-bar h2 { width:100%; }
    .stay-trigger { min-width:0; flex:1 1 13rem; }
    .stay-reset { margin-left:0; }
    .stay-day { grid-template-columns:minmax(0, 1fr); gap:.2rem; }
    .stay-event { grid-column:1; }
}

.stay-enquiry { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; margin:1rem 0 1.4rem; }
.stay-book { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:46px; padding:.65rem 1.35rem; border-radius:999px; background:var(--ink); color:white; font-weight:600; }
.stay-book:hover { background:var(--accent); }
.stay-enquiry p { font-size:.95rem; color:#705843; }
