/* Accommodation UI: scoped to the existing host, directory, profile and admin surfaces. */
:is(.accommodation-page,.stay-admin-dashboard){
 --stay-surface:#fff;--stay-wash:#edf5ef;--stay-border:#d2e1d8;--stay-text:#20382f;--stay-muted:#49645a;--stay-deep:#124c41;--stay-accent:#176b60;
 --stay-radius:18px;--stay-shadow:0 12px 30px rgba(34,71,55,.07);
}
.accommodation-page :is(.stay-find,.stay-map-shell,.profile-panel,#stay-editor,.stay-booking),.stay-admin-dashboard .stay-admin-card{
 border:1px solid var(--stay-border);border-radius:var(--stay-radius);box-shadow:var(--stay-shadow);background:var(--stay-surface);
}
:where(.accommodation-page,.stay-admin-dashboard) :where(a,button,input,select,textarea,summary):focus-visible{
 outline:3px solid #197d6e;outline-offset:3px;
}
.accommodation-page :is(.stay-advanced,.stay-assignment,.profile-location,#profile-location-heading){scroll-margin-block-start:18px}
.accommodation-page [hidden],.stay-admin-dashboard [hidden]{display:none!important}
.stay-kicker{display:block;color:var(--stay-accent,#176b60);font-size:.77rem;font-weight:700;line-height:1.75;letter-spacing:0;margin-block-end:.18rem}
.stay-surface-heading,.stay-editor-heading,.stay-results-bar,.stay-map-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.stay-surface-heading h2,.stay-map-top h2,.stay-editor-heading h2{margin:0;line-height:1.48}
.accommodation-page a.stay-subtle-link,.stay-admin-dashboard a.stay-subtle-link{
 display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.38em .8em;border:1px solid var(--stay-border);border-radius:10px;text-decoration:none;background:#fff;color:var(--stay-deep);font-weight:600;line-height:1.55
}
.accommodation-page a.stay-subtle-link:hover,.stay-admin-dashboard a.stay-subtle-link:hover{border-color:var(--stay-accent);background:var(--stay-wash)}
.accommodation-page :is(.stay-find,.stay-map-shell){padding:clamp(14px,2.7vw,23px)}
.accommodation-page .stay-find{margin-block:0 16px}
.stay-find .stay-surface-heading{margin-bottom:14px}
.accommodation-page .stay-find .stay-search{display:block!important;background:transparent!important;margin:0!important;padding:0!important;box-shadow:none!important;border:none!important}
.stay-search-primary,.stay-search-advanced{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.15fr) minmax(0,.8fr);gap:12px;align-items:end}
.stay-search-advanced{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:9px}
.accommodation-page .stay-search :is(input:not([type=checkbox]),select),.accommodation-page .stay-assignment input{
 box-sizing:border-box;width:100%;min-width:0;min-height:46px;font-size:16px;border:1px solid #aebfb5!important;border-radius:10px!important;padding:.47rem .6rem!important;background:#fff!important
}
.stay-search-actions,.stay-view-switch,.stay-editor-tools,.stay-admin-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.stay-search-actions{margin-top:12px}
.accommodation-page .stay-search-actions .stay-check{margin:0;padding:7px 10px;display:inline-flex!important;gap:.45rem;min-height:44px;align-items:center;border:1px solid var(--stay-border);border-radius:10px}
.accommodation-page .stay-search-actions .stay-check input{flex:none;width:1.05rem!important;height:1.05rem;margin:0!important}
.accommodation-page .stay-advanced{margin-block-start:12px;background:#f6faf7;border:1px solid var(--stay-border);border-radius:12px;padding:8px 11px}
.stay-advanced summary{cursor:pointer;line-height:1.65;font-weight:650;min-height:32px}
#stay-filter-count{margin-inline-start:.5rem;padding:2px 6px;border-radius:20px;background:#e0efe8;color:var(--stay-deep);font-size:.76rem;font-weight:500}
#stay-search-dates{margin:.65rem 0 0;color:var(--stay-muted);line-height:1.65;font-size:.81rem}
.stay-results-bar{margin:0 0 14px;padding:12px 14px;background:#f2f7f3;border:1px solid var(--stay-border);border-radius:14px}
#stay-directory-status,#stay-map-status-line{color:var(--stay-muted);margin:0;line-height:1.6}
.stay-view-switch{flex:none;background:#fff;border:1px solid var(--stay-border);border-radius:11px;padding:3px;gap:3px}
.accommodation-page .stay-view-switch button{min-width:68px;min-height:42px;border-radius:8px!important;margin:0!important;padding:.35rem .65rem!important;border:1px solid transparent!important;background:#fff!important;color:var(--stay-deep)!important}
.accommodation-page .stay-view-switch button[aria-pressed=true]{background:var(--stay-deep)!important;color:#fff!important}
.stay-map-top{margin-bottom:10px}
.stay-map-shell #stay-directory-map{width:100%;height:clamp(270px,52vh,520px);border:1px solid var(--stay-border);border-radius:13px;background:#e7efe8;isolation:isolate}
.stay-map-legend{display:flex;flex-wrap:wrap;gap:.45rem 1rem;margin:11px 0 0;color:var(--stay-muted);font-size:.8rem}
.stay-map-legend span:before{content:'';display:inline-block;width:.64rem;height:.64rem;vertical-align:middle;border-radius:50%;background:#32a67f;border:1px solid #146347;margin-inline-end:.4rem}
.stay-map-legend span+span:before{background:#d8a76a;border-color:#825425}
.stay-directory-page #stay-directory{grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));gap:13px}
.stay-directory-page .stay-card{overflow:hidden;min-width:0;background:#fff;border-color:var(--stay-border);border-radius:14px;box-shadow:0 5px 17px rgba(36,67,54,.05);transition:border-color .15s,box-shadow .15s}
.stay-directory-page .stay-card:hover{border-color:#85b2a1;box-shadow:var(--stay-shadow)}
.stay-directory-page .stay-card>a{display:flex;flex-direction:column;height:100%;text-decoration:none}
.stay-card-visual{display:block;position:relative;background:#eaf3ed;overflow:hidden}
.stay-directory-page .stay-card-visual{height:clamp(140px,18vw,208px)}
.stay-directory-page .stay-card-visual img{display:block;width:100%;height:100%;object-fit:cover}
.stay-card-visual-empty{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 75% 15%,#f8fbf8 0,#eaf3ed 55%,#e0eee6 100%)}
.stay-card-no-photo{display:inline-flex;align-items:center;gap:.4rem;color:#436258;font-size:.83rem;padding:.24rem .55rem;border:1px solid #cfe0d5;border-radius:20px;background:#f9fcfa}
.stay-card-no-photo:before{content:'';height:.68rem;width:.84rem;border:1.5px solid currentColor;border-radius:2px;background:linear-gradient(145deg,transparent 58%,currentColor 59% 68%,transparent 69%)}
.stay-directory-page .stay-card-body{display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px;flex:1;padding:13px}
.stay-directory-page .stay-card-body :is(h3,.stay-eyebrow,p,.stay-card-link-label){width:100%;margin:0;overflow-wrap:anywhere}
.stay-directory-page .stay-card-body h3{line-height:1.58;font-size:1.05rem}
.stay-card-body>p{color:var(--stay-muted,#49645a);font-size:.86rem}
.stay-card-link-label{color:var(--stay-deep,#124c41);font-weight:650;font-size:.86rem;padding-top:4px}
.stay-card-location{display:inline-block;border:1px solid var(--stay-border,#d2e1d8);border-radius:20px;padding:2px .5rem;line-height:1.6;color:var(--stay-muted,#49645a);font-size:.76rem}
.stay-empty{grid-column:1/-1;padding:20px 14px;background:#f4f8f5;border:1px dashed #b5cbbd;border-radius:13px;color:var(--stay-muted)}
.stay-empty p{margin:.35rem 0 0}
#stay-load-more,.stay-admin-dashboard>button:last-child{margin:14px auto;display:block}
.stay-editor-page #stay-editor{padding:clamp(13px,3vw,23px)}
.stay-editor-heading{padding:3px 0 10px}
.stay-editor-page .stay-step-progress{display:flex;align-items:center;gap:12px;margin:6px 0 12px;color:var(--stay-muted);font-size:.84rem}
.stay-editor-page .stay-step-progress span{white-space:nowrap}
.stay-editor-page progress{width:min(190px,42%);height:8px;border:0;border-radius:99px;background:#e8f1eb;accent-color:var(--stay-accent)}
.stay-editor-page progress::-webkit-progress-bar{background:#e8f1eb;border-radius:99px}.stay-editor-page progress::-webkit-progress-value{background:var(--stay-accent);border-radius:99px}
body.stay-editor-page .stay-step-nav{display:flex;gap:7px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:4px 4px 8px;max-width:100%;margin-block:0 12px}
body.stay-editor-page .stay-step-nav button{flex:0 0 auto;min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:11px!important;white-space:nowrap;border:1px solid #d5e5db!important;background:#f5faf7!important;color:var(--stay-deep)!important}
body.stay-editor-page .stay-step-nav button[aria-current=step]{background:var(--stay-deep)!important;color:#fff!important;border-color:var(--stay-deep)!important}
.stay-step-number{display:inline-grid;place-items:center;border-radius:50%;width:1.45rem;height:1.45rem;font-size:.82rem;background:#dcece3;color:#214a3b}
[aria-current=step] .stay-step-number{background:#ffffff30;color:#fff}
.stay-editor-page .stay-step{padding:13px 0 10px;border-top:1px solid var(--stay-border);min-width:0}
.stay-editor-page .stay-step h2{font-size:clamp(1.05rem,2.3vw,1.35rem);margin:.12rem 0 .45rem}
.stay-editor-page .stay-step .stay-fields>*{min-width:0}
.stay-editor-page .stay-step :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:44px;font-size:16px}
.stay-editor-page .stay-editor-actionbar{position:sticky;bottom:0;z-index:5;margin-top:10px;padding:9px 0 calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--stay-border)}
.stay-editor-actionbar .stay-actions{gap:7px;justify-content:flex-end;margin:0}
.stay-editor-actionbar #stay-draft-status{margin:0 0 5px;line-height:1.45}
.stay-editor-page .stay-assignment{box-shadow:none;background:#f5faf7;padding:15px;margin-block:16px 0}
.stay-assignment h2{margin:0 0 4px}.stay-assignment>p{margin:.28rem 0 .5rem}
.stay-assignment-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:11px}
.stay-assignment [role=status]:empty{display:none}.stay-assignment [role=status]:not(:empty){border-radius:8px;background:#e8f5ee;padding:.45rem .6rem;overflow-wrap:anywhere}
.stay-assignment [role=status][data-state=error]{background:#fff1e9;color:#86402f}
.stay-assignment [role=status][data-state=pending]{background:#f3f5f4;color:var(--stay-muted)}
.stay-admin-dashboard{margin:0 auto;max-width:1170px}
.stay-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:13px;border:1px solid var(--stay-border);border-radius:18px;padding:clamp(15px,3vw,24px);background:linear-gradient(125deg,#dcefe5,#f7fbf8)}
.stay-admin-hero h2,.stay-admin-hero p{margin:0}.stay-admin-hero p{color:var(--stay-muted);margin-top:.34rem}
.stay-admin-hero-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.stay-admin-search{display:flex;align-items:flex-end;gap:8px;margin-block:14px 10px;padding:12px;background:#fff;border:1px solid var(--stay-border);border-radius:13px}
.stay-admin-search label{flex:1;min-width:0;display:grid;gap:3px}
.stay-admin-search input{width:100%;min-height:44px;min-width:0;font-size:16px;border:1px solid #abbeb2;border-radius:9px;padding:.4rem .65rem}
.stay-admin-dashboard :is(button,a.stay-admin-edit){min-height:44px}
.stay-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:12px;margin:9px 0}
.stay-admin-card{padding:14px;min-width:0;display:flex;flex-direction:column;align-items:stretch}
.stay-admin-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;flex-wrap:wrap}
.stay-admin-card-header h3{margin:0;font-size:1.06rem;line-height:1.6;overflow-wrap:anywhere}
.stay-admin-card-header .stay-badge{align-self:start;border-radius:16px;background:#e6f0ea;color:#245044;padding:.18em .55em;font-size:.75rem;line-height:1.7;white-space:nowrap}
.stay-admin-card-header .stay-badge[data-tone=warning]{background:#fff0e8;color:#8a422b}
.stay-admin-card-header .stay-badge[data-tone=active]{background:#d9f0e2;color:#19543d}
.stay-admin-card :is(.stay-admin-location,.stay-admin-host),.stay-admin-results{font-size:.87rem;color:var(--stay-muted);margin:.4rem 0;overflow-wrap:anywhere}
.stay-admin-card-actions{padding-top:.55rem;margin-top:auto}
.stay-admin-dashboard a.stay-admin-edit{display:inline-flex;align-items:center;justify-content:center;padding:.3rem .6rem;border-radius:10px;background:var(--stay-deep);color:#fff!important;text-decoration:none;line-height:1.45;margin:0}
.stay-admin-dashboard a.stay-admin-edit:hover{background:#176b60}
.accommodation-profile-mode .workspace-section-cover{display:none!important}
.stay-breadcrumb a{color:var(--stay-deep);font-size:.9rem}
.accommodation-profile-mode .profile-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;background:linear-gradient(130deg,#e1f1e7,#f8fbf8);border:1px solid var(--stay-border);border-radius:17px;padding:clamp(12px,3vw,23px)}
.accommodation-profile-mode .profile-heading h1{font-size:clamp(1.45rem,4vw,2rem)}
.profile-quick-actions{display:flex;flex-wrap:wrap;gap:7px}
.accommodation-profile-mode a.stay-quick-primary{background:var(--stay-deep);color:#fff;border-color:var(--stay-deep)}
.accommodation-profile-mode .profile-panel{padding:clamp(13px,2.5vw,19px)}
.accommodation-profile-mode .profile-note{padding:.55rem .65rem;background:#eef5ef;border-radius:9px;line-height:1.6}
.accommodation-profile-mode .profile-facts{line-height:1.7}
.accommodation-profile-mode .profile-links a,.accommodation-profile-mode #profile-links a{display:inline-flex;align-items:center;min-height:44px;padding:.3rem .55rem;border:1px solid var(--stay-border);border-radius:9px;text-decoration:none}
@media(max-width:720px){
 .stay-search-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stay-search-primary label:first-child{grid-column:1/-1}
 .stay-search-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}
 .stay-directory-page #stay-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .stay-directory-page .stay-card-visual{height:clamp(104px,27vw,160px)}
 .stay-directory-page .stay-card-body{padding:9px;gap:5px}
 .stay-directory-page .stay-card-body h3{font-size:.92rem}
 .stay-surface-heading,.stay-editor-heading,.stay-admin-hero{align-items:flex-start;flex-wrap:wrap}
 .stay-advanced summary,.stay-search-actions,.stay-view-switch{font-size:.89rem}
 .stay-assignment-fields{grid-template-columns:1fr}
 .stay-admin-search{display:grid;grid-template-columns:1fr 1fr}.stay-admin-search label{grid-column:1/-1}
 .stay-results-bar{padding:9px;gap:7px}
 #stay-directory-status{font-size:.82rem}
 .accommodation-page .stay-view-switch button{min-width:54px}
 .stay-editor-actionbar .stay-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .stay-editor-actionbar .stay-actions button{margin:0!important;justify-content:center;min-height:43px;white-space:normal;line-height:1.5}
 .stay-editor-page #stay-host-status,.stay-editor-page .stay-step-progress{font-size:.82rem}
 .stay-map-shell #stay-directory-map{height:clamp(240px,49vh,430px)}
}
@media(max-width:355px){.stay-directory-page #stay-directory{grid-template-columns:1fr}.stay-directory-page .stay-card-visual{height:146px}.stay-results-bar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.stay-directory-page .stay-card{transition:none}}
/* A missing photo must not consume the same space as a real gallery. */
.stay-directory-page .stay-card-visual-empty{height:auto;min-height:44px;justify-content:flex-start;padding:7px 12px;border-bottom:1px solid #e1ebe4}
.stay-directory-page .stay-card-visual-empty .stay-card-no-photo{background:transparent;border:0;padding:0}

.stay-admin-dashboard .stay-admin-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end}
.stay-admin-filters :is(.stay-admin-filter-query,.stay-admin-filter-actions){grid-column:1/-1}
.stay-admin-filters label{align-self:end;color:#2c5042}
.stay-admin-filters select{min-width:0;max-width:100%;width:100%;min-height:44px;font:inherit;font-size:16px;border:1px solid #b6c8bd;border-radius:8px;padding:.42rem .5rem;background:#fff;color:#254437}
.stay-admin-filter-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
@media(max-width:800px){.stay-admin-dashboard .stay-admin-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.stay-admin-filter-actions button{flex:1 1 7rem}.stay-admin-dashboard .stay-admin-filters{padding:10px;gap:8px}}
