/* The bookings view shares one set of actions at phone and workstation widths. */
#bookingsPanel .stay-summary-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1.15rem 0 1.4rem}
.stay-summary-filters button {display:flex;align-items:center;justify-content:space-between;gap:.45rem;min-height:44px;padding:.65rem .82rem;text-align:left;background:#f5f8f3;border:1px solid #d5e0d7;border-radius:9px;color:#23483e;font:inherit;font-size:.86rem;line-height:1.22;cursor:pointer}
.stay-summary-filters button[aria-pressed=true] {border-color:#20604d;box-shadow:inset 0 0 0 1px #20604d;background:#edf6ed}
.stay-summary-filters strong {font-variant-numeric:tabular-nums;font-size:1.16rem}
.stay-book-link {color:#185440;font-weight:650;text-underline-offset:.2em}
#bookingsPanel .stay-filters {display:grid;grid-template-columns:minmax(205px,2fr) repeat(3,minmax(122px,1fr));gap:.75rem;align-items:end}
#bookingsPanel .stay-filters label,.row-approval label {display:grid;gap:.25rem;font-size:.8rem;font-weight:650;color:#385246;min-width:0}
#bookingsPanel .stay-filters :is(input,select),.row-approval input {box-sizing:border-box;width:100%;height:44px;min-width:0;padding:.48rem .6rem;border:1px solid #aebfb4;border-radius:7px;background:#fff;color:#203b30;font:inherit;font-size:.92rem}
#bookingsPanel .stay-list-totals {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem .6rem;padding:1.05rem 0 .45rem;color:#486153;font-size:.84rem}
#bookingsPanel .stay-list-totals strong {font-size:.92rem;color:#244638}
#bookingsPanel .stay-list-table,#bookingsPanel .stay-list-table :is(tbody,tr,td) {display:block;width:100%;max-width:100%;min-width:0;padding:0;margin:0;border:0;background:transparent;box-sizing:border-box}
#bookingsPanel #recordsBody {display:grid;gap:.7rem}
#bookingsPanel .stay-card {box-sizing:border-box;min-width:0;border:1px solid #cddbd1;border-radius:12px;padding:1rem 1.15rem;background:#fff;color:#203b30;overflow-wrap:anywhere;box-shadow:0 2px 6px #193b2b06}
#bookingsPanel .stay-card[data-state=requested] {border-left:4px solid #b17a2e}
#bookingsPanel .stay-card-head {display:flex;gap:.5rem .85rem;justify-content:space-between;align-items:flex-start}
#bookingsPanel .stay-title {margin:0;color:#1b3d30;font-size:1.16rem;line-height:1.3;font-family:inherit;font-weight:720}
#bookingsPanel .stay-status {flex:none;display:inline-flex;align-items:center;min-height:24px;padding:.15rem .65rem;background:#edf3ee;border:1px solid #d4dfd5;color:#345543;border-radius:14px;font-size:.77rem;line-height:1.35;font-weight:680}
#bookingsPanel [data-state=requested] .stay-status {background:#fff3dd;border-color:#ecd6a7;color:#764b11}
#bookingsPanel [data-state=confirmed] .stay-status {background:#e8f4eb;color:#24513a}
#bookingsPanel :is([data-state=cancelled],[data-state=trash]) .stay-status {background:#f3f2f1;color:#575550}
#bookingsPanel .stay-date-range {display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .5rem;margin:.25rem 0 .7rem;font-size:.92rem;line-height:1.45;color:#294a3a}
#bookingsPanel .stay-arrow {color:#668375}
#bookingsPanel .stay-facts,#bookingsPanel .stay-detail-facts {margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:.6rem 1rem}
#bookingsPanel .stay-fact {min-width:0}
#bookingsPanel .stay-fact dt {color:#536b5e;font-weight:550;font-size:.77rem;line-height:1.45}
#bookingsPanel .stay-fact dd {margin:0;color:#254338;font-size:.95rem;font-weight:650;line-height:1.45}
#bookingsPanel .stay-fact .stay-payment-state {display:block;color:#486153;font-size:.82rem;line-height:1.45;font-weight:500}
#bookingsPanel .stay-docs {margin-top:.65rem}
#bookingsPanel .stay-pdf {display:inline-flex;align-items:center;min-height:36px;font-weight:650;text-decoration:underline;text-underline-offset:.18em;color:#205943}
#bookingsPanel .stay-primary {margin-top:.75rem;display:flex;align-items:center;flex-wrap:wrap;gap:.65rem}
.row-approval {display:flex;align-items:end;flex-wrap:wrap;gap:.55rem;margin:0}
.row-approval input {max-width:11rem}
.row-approve-btn {min-height:44px;padding:.55rem 1rem;border:1px solid #184b3a;border-radius:8px;background:#18543d;color:#fff;font:inherit;font-weight:680;cursor:pointer}
.row-approve-btn:hover {background:#123d2e}.row-approve-btn:disabled {opacity:.7;cursor:progress}
#bookingsPanel .stay-detail {margin-top:.65rem;border-top:1px solid #e0e7e1}
#bookingsPanel .stay-detail summary {display:list-item;cursor:pointer;width:fit-content;padding:.6rem 0 .05rem;color:#38604d;font-size:.87rem;font-weight:650}
#bookingsPanel .stay-detail[open] summary {padding-bottom:.65rem}
#bookingsPanel .stay-detail-facts {padding-bottom:.75rem;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))}
#bookingsPanel .stay-detail-facts dd {font-size:.87rem;font-weight:500;white-space:pre-line}
#bookingsPanel .stay-options,#bookingsPanel .stay-manage {display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}
#bookingsPanel .stay-options :is(a,button),#bookingsPanel .stay-primary>.cal-secondary {box-sizing:border-box;display:inline-flex;align-items:center;min-height:40px;padding:.45rem .7rem;border:1px solid #c9d8ce;border-radius:6px;background:#f6faf6;color:#244c38;font:inherit;font-size:.85rem;font-weight:600;line-height:1.25;text-decoration:none;cursor:pointer}
#bookingsPanel .stay-manage {margin-top:.4rem;gap:.45rem 1rem}
#bookingsPanel .stay-manage button {min-height:40px;padding:.3rem 0;border:0;background:transparent;color:#82483d;font:inherit;font-weight:550;font-size:.81rem;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}
#bookingsPanel .stay-action-status,#bookingsPanel .stay-attention {padding:.6rem .8rem;border:1px solid #c7dece;border-radius:7px;background:#edf6ed;color:#264c36;font-size:.9rem}
#bookingsPanel .stay-action-status.is-error,#bookingsPanel .stay-attention {border-color:#ebce9d;background:#fff4df;color:#714c19}
#bookingsPanel :is(button,input,select,a,summary):focus-visible,.row-approve-btn:focus-visible {outline:3px solid #ad7a2c;outline-offset:3px}
@media (max-width:1050px){#bookingsPanel .stay-filters {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){
 #bookingsPanel .stay-summary-filters {gap:.4rem;margin:.85rem 0 1rem}
 .stay-summary-filters button {display:grid;grid-template-rows:1fr auto;align-content:space-between;min-width:0;padding:.5rem;font-size:.76rem}
 #bookingsPanel .stay-filters {gap:.55rem}
 #bookingsPanel .stay-card {padding:.85rem}
 #bookingsPanel .stay-facts {grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
 #bookingsPanel .stay-title {font-size:1.04rem}
 #bookingsPanel .stay-status {white-space:normal;max-width:45%;text-align:center}
 #bookingsPanel .stay-options :is(a,button),#bookingsPanel .stay-detail summary {min-height:44px;box-sizing:border-box}
 #bookingsPanel .stay-detail summary {padding:.7rem 0 0}
 .row-approval label, .row-approval input {max-width:100%;min-width:0}
}
