/* Guest and staff previews, scoped to preserve the existing retreat design. */
.booking-preview{background:#e8dfd0;max-width:none}.booking-heading{display:flex;justify-content:space-between;align-items:end;gap:48px;margin-bottom:36px}.booking-heading>p{max-width:390px;color:#62685c}.booking-heading h2{font-size:clamp(48px,5.4vw,76px)}.preview-ribbon{display:flex;gap:18px;align-items:center;border:1px solid #cdc3af;padding:14px 18px;margin-bottom:26px;font-size:12px;line-height:1.65;background:#f4efe580}.preview-ribbon a{text-decoration:underline;text-underline-offset:3px}.preview-tag{flex-shrink:0;font-size:10px;font-weight:600;letter-spacing:.1em;color:var(--clay)}.booking-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr);gap:24px;align-items:start}.booking-calendar-card,.request-card{background:var(--paper);min-width:0}.booking-calendar-card{padding:30px}.booking-calendar-card>label{font-size:10px;letter-spacing:.16em}.booking-calendar-card>select{font-size:22px;font-family:'Cormorant Garamond',Georgia,serif;margin:0 0 22px;padding-left:0}.booking-calendar-top{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:24px}.booking-calendar-top>p{font-size:12px;color:#62685c}.booking-calendar-top>div{display:flex;gap:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;border:1px solid var(--line);background:transparent;color:var(--ink);font-size:18px;padding:0;border-radius:50%}.icon-button:hover{background:#e8dfd0}.icon-button:disabled{opacity:.3;cursor:default}.booking-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.booking-month h4{margin:0 0 17px;text-align:center;font-size:14px;font-weight:500}.booking-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.booking-days .weekday{font-size:10px;color:#747668;margin-bottom:7px}.booking-day{aspect-ratio:1;border:0;background:#e4e9dc;color:#384532;padding:0;font-size:12px;min-height:26px;border-radius:2px}.booking-day:hover{outline:1px solid var(--clay)}.booking-day.is-busy{background:repeating-linear-gradient(135deg,#e8e3d9,#e8e3d9 3px,#dfd9ce 3px,#dfd9ce 4px);color:#6e6e62;text-decoration:line-through}.booking-day:disabled{background:transparent;color:#b4afa4;cursor:default;outline:none}.booking-day.is-range{background:#ccd4bb}.booking-day.is-selected{background:var(--ink);color:white;text-decoration:none}.booking-day.is-today{box-shadow:inset 0 0 0 1px var(--ink)}.booking-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:10px;line-height:1.8;margin-top:26px}.booking-legend span{display:flex;align-items:center;gap:7px}.booking-legend i{display:inline-block;width:10px;height:10px;border-radius:2px}.legend-open{background:#e4e9dc;border:1px solid #b6c0a4}.legend-busy,.legend-linked{background:repeating-linear-gradient(135deg,#e8e3d9,#e8e3d9 2px,#aaa292 2px,#aaa292 3px)}.legend-picked{background:var(--ink)}.legend-airbnb{background:#ba785c}.legend-pending{background:#ead9ac}.booking-caption{font-size:12px;color:#62685c;line-height:1.6;margin-top:16px}.booking-form{padding:28px}.booking-form h3{font-size:36px;margin:0 0 24px}.booking-form .eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:12px}.booking-form label{font-size:12px;letter-spacing:0}.booking-form input,.booking-form select,.booking-form textarea{min-width:0;width:100%;font:inherit;font-size:14px;margin-bottom:18px;padding:10px 0;min-height:44px;border:0;border-bottom:1px solid #b8af9e;border-radius:0;background:transparent;color:var(--ink);color-scheme:light}.booking-form input[type=date]{font-size:13px}.booking-form textarea{resize:vertical;margin-bottom:0}.booking-form textarea:focus-visible{outline:3px solid #b77945;outline-offset:3px}.booking-date-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.booking-date-row>label{min-width:0}.stay-summary{font-size:12px;color:#4e5a42;background:#e4e9dc;padding:10px 12px;margin:0 0 18px}.optional{font-size:10px;color:#62685c;margin-left:5px}.booking-form-note{font-size:11px;color:#62685c;line-height:1.6;margin:12px 0}.booking-error{color:#973e2a;font-size:12px;line-height:1.6;margin:8px 0}.booking-error:empty{display:none}.booking-form .button{font-size:13px;margin-top:8px;min-height:48px}.booking-how{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding:32px 0;border-bottom:1px solid #cdc3af}.booking-how>div{display:flex;gap:15px;font-size:12px;color:#62685c}.booking-how span{font-family:'Cormorant Garamond',Georgia,serif;font-size:27px;color:var(--clay)}.booking-how strong{color:var(--ink);font-weight:500}.real-booking{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-top:30px;font-size:12px}.real-booking strong{font-weight:500}.real-booking-links{display:flex;flex-wrap:wrap;gap:10px 18px;max-width:470px}.real-booking-links a{border-bottom:1px solid #a59e8e}.booking-success{padding:38px 30px}.success-mark{display:inline-flex;align-items:center;justify-content:center;border:1px solid #98a17f;width:50px;height:50px;border-radius:50%;font-size:23px;margin-bottom:24px}.booking-success .eyebrow{font-size:10px;margin-bottom:15px}.booking-success h3{font-size:46px;margin-bottom:24px}.booking-success>p:not(.eyebrow){font-size:13px;margin-bottom:20px}.booking-success .button{width:100%;font-size:13px}.booking-success .text-link{display:block;font-size:12px}
/* Staff workspace */
.staff-page{background:#f4f0e7}.staff-header{height:88px;padding:0 4%;box-shadow:0 1px 0 #d5cebf}.staff-header .brand{padding-left:0;font-size:18px}.staff-header .pill{font-size:12px;white-space:nowrap}.staff-shell{display:grid;grid-template-columns:235px minmax(0,1fr);max-width:1600px;margin:auto}.staff-sidebar{padding:44px 28px;border-right:1px solid var(--line)}.staff-sidebar>.eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:24px}.staff-sidebar>a:not(.text-link){display:flex;justify-content:space-between;font-size:12px;padding:13px 0;border-bottom:1px solid var(--line)}.staff-sidebar .sidebar-active{color:var(--clay)}.staff-sidebar>a span{font-size:11px}.sidebar-note{background:#e7e5d7;padding:20px 17px;margin-top:45px;font-size:12px;line-height:1.6}.sidebar-note strong{display:block;font-weight:500;margin:10px 0}.sidebar-note p{font-size:11px;color:#62685c}.status-dot{display:block;width:7px;height:7px;border-radius:50%;background:#93976a}.staff-sidebar>.text-link{font-size:11px}.staff-main{padding:44px 4.5%;min-width:0}.staff-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.staff-heading .eyebrow{font-size:10px;margin-bottom:16px}.staff-heading h1{font-size:clamp(45px,4.2vw,64px);letter-spacing:-.035em;margin-bottom:15px}.staff-heading>div>p:last-child{font-size:13px;color:#62685c}.staff-heading .button{font-size:12px;white-space:nowrap;gap:16px;padding:12px 17px}.staff-stats{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:18px;margin:28px 0}.staff-stats article{background:#e9e3d7;padding:22px}.staff-stats span{font-size:9px;letter-spacing:.13em;display:block}.staff-stats strong{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;font-size:48px;line-height:1.4;display:block}.staff-stats .connection-status{font-size:29px;line-height:2.3}.staff-stats p{font-size:11px;color:#62685c}.staff-card{border:1px solid var(--line);padding:25px;background:#faf7f0;margin-bottom:25px;scroll-margin-top:108px}.staff-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.staff-section-heading .eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:.13em}.staff-section-heading h2{font-size:35px}.staff-filter{display:flex;align-items:center;gap:12px;font-size:11px}.staff-filter select{font-size:12px;padding:8px 2px;margin:0;min-height:40px}.request-list{display:grid}.request-row{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;align-items:center;gap:18px;border-top:1px solid var(--line);padding:20px 0;font-size:12px}.request-row h3{font-family:inherit;font-size:13px;line-height:1.6;font-weight:500}.request-row p{font-size:11px;color:#62685c}.request-row .plain-button{font-size:12px;border-bottom:1px solid var(--ink);padding:4px 0;white-space:nowrap}.status-badge{display:inline-block;padding:4px 8px;background:#eadfbe;color:#6a5526;font-size:10px;border-radius:3px;margin-top:6px}.status-badge.confirmed{background:#dce4d2;color:#43543c}.status-badge.declined{background:#ece0d9;color:#83533e}.empty-requests{padding:28px 0;text-align:center;font-size:13px;color:#62685c}.staff-calendar-nav{display:flex;align-items:center;gap:9px}.plain-button{border:0;background:transparent;color:var(--ink);font:inherit;font-size:12px;padding:9px;cursor:pointer}.calendar-range{font-size:12px;margin:-8px 0 20px;color:#62685c}.staff-calendar-scroll{overflow-x:auto;scrollbar-width:thin}.staff-calendar-scroll:focus-visible{outline:2px solid var(--clay);outline-offset:3px}#staff-calendar{width:100%;border-collapse:separate;border-spacing:3px;font-size:10px;min-width:720px;text-align:center}#staff-calendar th{font-weight:400;padding:6px}#staff-calendar th:first-child{position:sticky;left:0;z-index:1;background:#faf7f0;text-align:left;min-width:112px;font-size:12px}#staff-calendar th span{display:block;font-size:9px;color:#73766a}#staff-calendar td{height:34px;min-width:32px;border-radius:2px;background:#eeeee4;color:#535d49;font-size:10px}#staff-calendar td.occupied-airbnb{background:#ba785c;color:#fff}#staff-calendar td.occupied-direct{background:#4f5d43;color:#fff}#staff-calendar td.occupied-linked{background:repeating-linear-gradient(135deg,#ddd9cc,#ddd9cc 4px,#cbc5b3 4px,#cbc5b3 5px);color:#5d5e50}#staff-calendar td.request-pending{background:#ead9ac;color:#725925}.staff-workflow{display:grid;grid-template-columns:1fr 1.25fr;gap:45px;padding:24px 0 28px}.staff-workflow .eyebrow{font-size:10px;margin-bottom:15px}.staff-workflow h2{font-size:38px}.staff-workflow ol{list-style:none;counter-reset:workflow;padding:0;margin:0}.staff-workflow li{position:relative;padding-left:37px;margin-bottom:18px;font-size:12px;counter-increment:workflow}.staff-workflow li:before{content:'0' counter(workflow);position:absolute;left:0;top:-4px;font-family:'Cormorant Garamond',Georgia,serif;font-size:25px;color:var(--clay)}.staff-workflow strong{font-weight:500}.staff-workflow p{font-size:11px;color:#62685c;margin-top:4px}.staff-bottom{border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#62685c}.staff-bottom p{max-width:430px}.staff-bottom .text-link{margin:0;font-size:11px;white-space:nowrap}.staff-notice{font-size:12px;color:#4f5d43;margin-top:15px}
/* Review sheets are real dialogs with keyboard focus containment. */
.booking-dialog{width:min(600px,94vw);padding:30px;max-height:90dvh;border:1px solid var(--line)}.booking-dialog>div{display:block}.booking-dialog .booking-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px}.booking-dialog h2{font-size:36px}.booking-dialog .eyebrow{font-size:10px;margin-bottom:10px}.booking-dialog .icon-button{font-size:23px;flex-shrink:0;border:1px solid var(--line);padding:0}.booking-dialog>p{font-size:13px;text-align:left}.booking-dialog .booking-form{padding:0}.booking-dialog .button{font-size:13px;padding:13px 18px;border:1px solid var(--ink);background:var(--ink);color:white}.booking-dialog .button:disabled{opacity:.4;cursor:not-allowed}.booking-dialog .plain-button{font-size:12px;padding:10px}.review-facts{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-block:1px solid var(--line);padding:18px 0;margin:0 0 20px}.review-facts dt{font-size:10px;color:#62685c}.review-facts dd{margin:3px 0 0;font-size:13px;overflow-wrap:anywhere}.review-message{font-size:13px;margin-bottom:20px;white-space:pre-wrap;overflow-wrap:anywhere}.review-checklist{background:#e8e5d7;padding:18px;margin-top:22px}.review-checklist>p{font-size:12px;margin-bottom:14px}.review-checklist label{display:flex;align-items:flex-start;gap:10px;font-size:12px;margin:12px 0;letter-spacing:0}.review-checklist input{width:18px;min-width:18px;height:18px;min-height:18px;margin:3px 0 0;padding:0;accent-color:var(--ink)}.review-note{width:100%;font:inherit;font-size:13px;background:transparent;border:1px solid var(--line);padding:10px;margin-top:8px;color:var(--ink);resize:vertical}.review-note:focus-visible{outline:3px solid var(--clay)}.review-note-label{font-size:12px}.review-actions{display:flex!important;flex-wrap:wrap;gap:12px!important;justify-content:flex-start!important;margin-top:22px}.review-listing-link{font-size:12px;text-decoration:underline;text-underline-offset:3px}.review-listing-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:15px}
@media(min-width:761px) and (max-width:1100px){.booking-layout{grid-template-columns:1fr 1fr}.booking-months{grid-template-columns:1fr}.booking-month:nth-child(2){display:none}.booking-day{min-height:35px}.staff-shell{grid-template-columns:190px minmax(0,1fr)}.staff-sidebar{padding:35px 20px}.staff-heading{align-items:start;flex-direction:column}.request-row{grid-template-columns:1fr 1fr auto}.request-row .request-source{display:none}}
@media(max-width:760px){.booking-heading{display:block;margin-bottom:26px}.booking-heading>p{font-size:14px;margin-top:24px}.booking-heading h2{font-size:52px}.preview-ribbon{display:block;padding:14px 16px;font-size:11px}.preview-tag{display:block;margin-bottom:5px}.booking-layout{grid-template-columns:1fr;gap:18px}.booking-calendar-card{padding:22px}.booking-months{grid-template-columns:1fr}.booking-month:nth-child(2){display:none}.booking-days{gap:5px}.booking-day{font-size:14px;min-height:34px}.booking-calendar-top{margin-bottom:20px}.booking-legend{gap:7px 13px;margin-top:20px;font-size:10px}.booking-form{padding:24px}.booking-form input,.booking-form select,.booking-form textarea{font-size:16px}.booking-form input[type=date]{font-size:14px;max-width:100%}.booking-form .button{font-size:14px}.booking-date-row{gap:12px}.booking-how{grid-template-columns:1fr;gap:19px;padding:26px 0}.booking-how>div{font-size:13px}.real-booking{display:block}.real-booking-links{margin-top:20px;gap:12px 18px}.booking-success{padding:30px 24px}.staff-header{height:74px;padding:0 5%;gap:15px}.staff-header .brand{padding-left:0;font-size:14px}.staff-header .brand small{font-size:7px}.staff-header .pill{font-size:11px;padding:8px 12px;min-height:40px}.staff-shell{display:block}.staff-sidebar{display:none}.staff-main{padding:30px 5%}.staff-heading{display:block}.staff-heading h1{font-size:48px}.staff-heading .button{margin-top:22px;font-size:13px}.staff-stats{grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.staff-stats article{padding:18px}.staff-stats article:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3px 12px}.staff-stats article:last-child p{grid-column:1/-1}.staff-stats .connection-status{font-size:25px;line-height:1.4;text-align:right}.staff-card{padding:20px 17px}.staff-section-heading{align-items:start;gap:16px;flex-wrap:wrap}.staff-section-heading h2{font-size:32px}.staff-filter{width:100%;justify-content:space-between}.staff-filter select{max-width:155px}.request-row{grid-template-columns:1fr auto;gap:12px;padding:18px 0}.request-row .request-dates{grid-column:1}.request-row .request-source{display:none}.request-row .plain-button{grid-column:2;grid-row:1/3}.request-row h3{font-size:14px}.request-row p{font-size:12px}.staff-calendar-nav{width:100%;justify-content:space-between}.staff-calendar-nav .icon-button{width:36px;height:36px;min-width:36px}.staff-workflow{grid-template-columns:1fr;gap:28px}.staff-workflow h2{font-size:38px}.staff-workflow li{font-size:13px}.staff-workflow p{font-size:12px}.staff-bottom{align-items:start;flex-direction:column;gap:12px}.booking-dialog{padding:23px}.booking-dialog h2{font-size:32px}.booking-dialog .review-actions .button{width:100%;justify-content:center}.review-facts{gap:16px}.review-checklist{padding:15px}}
@media(max-width:380px){.booking-calendar-card{padding:17px}.booking-form{padding:20px}.booking-date-row{grid-template-columns:1fr}.booking-day{min-height:30px}.booking-heading h2{font-size:47px}.staff-header .brand{font-size:12px}.staff-header .pill{font-size:10px}}
/* Keep accessible table descriptions inside the horizontally scrolling region. */
.staff-calendar-scroll{position:relative}
.booking-day.is-busy:disabled{background:repeating-linear-gradient(135deg,#e8e3d9,#e8e3d9 3px,#dfd9ce 3px,#dfd9ce 4px);color:#858074}

.airbnb-status{display:block;font-size:10px;line-height:1.5;margin-top:7px}.airbnb-needed{color:#8b5428;font-weight:600}.airbnb-done{color:#4f5d43}#staff-calendar td.occupied-awaiting,.legend-awaiting{background:#a77e34;color:white}

.demo-sync-status{font-size:12px;line-height:1.7;color:#4f5d43;background:#e4e9dc;padding:12px 16px;margin:-10px 0 24px;border-left:2px solid #7b8967}.review-sync-message{background:#e4e9dc;padding:16px;margin:0 0 22px;font-size:12px;line-height:1.7}.review-sync-message p{margin-top:6px;color:#62685c}

/* Keep focused fields clear of adjacent labels, including Android selects. */
#booking-unit{margin-top:8px;padding-inline:8px}
.booking-preview :is(input,select,textarea):focus-visible,
.booking-dialog :is(input,select,textarea):focus-visible,
.staff-filter select:focus-visible{
  outline:2px solid var(--clay);
  outline-offset:-2px;
}
