/* Room > Bookings: the Sales/Purchases table layout (storefront-data-table.js) on the Calendar page. */
#roomView .wm-pur-page{--wm-ink:#1d2b3d;--wm-muted:#677587;--wm-teal:#0f766d;--wm-teal-dark:#0b5850;--font-ui:'Cabinet Grotesk',sans-serif;font-family:var(--font-ui);color:var(--wm-ink);}
#roomView .wm-page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 20px;}
#roomView .wm-page-title h1{margin:0;font-size:27px;line-height:1.15;}
#roomView .wm-page-title p{margin:6px 0 0;color:var(--wm-muted);font-size:13px;}
#roomView .wm-pur-page .wm-input{border:1px solid #e4e7ec;padding:0 14px;font:14px var(--font-ui);color:var(--wm-ink);outline:0;}
#roomView .wm-pur-page .wm-input:focus{border-color:var(--wm-teal);}
#roomView .wm-status{display:inline-block;padding:4px 10px;border-radius:999px;font:600 12px var(--font-ui);background:#e3f5ee;color:#0b7a5a;}
#roomView .wm-status.is-completed{background:#e2ecf8;color:#2a5a99;}
#roomView .wm-status.is-cancelled,#roomView .wm-status.is-no_show{background:#f0f1f2;color:#727c86;}
#roomView .wm-pur-join{color:var(--wm-teal-dark);font-weight:600;text-decoration:none;}
#roomView .wm-pur-join:hover{text-decoration:underline;}
#wmToast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#111;color:#fff;padding:10px 16px;border-radius:10px;font:500 14px 'Cabinet Grotesk',sans-serif;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100000;}
#wmToast.is-visible{opacity:1;transform:translate(-50%,0);}
#roomView .wm-pur-card{background:#fff;border:1px solid #e4e7ec;border-radius:14px;margin:0 0 20px}
#roomView .wm-pur-search{display:flex;gap:16px;align-items:center;padding:18px 22px}
#roomView .wm-pur-search .wm-input{flex:1;min-width:0;height:44px;border-radius:9px;background:#fff}
#roomView .wm-pur-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:16px 20px;border-radius:22px}
#roomView .wm-pur-btn{display:inline-flex;align-items:center;gap:9px;height:44px;padding:0 18px;border:1px solid #e4e7ec;border-radius:9px;background:#fff;color:var(--wm-ink);font:600 14px var(--font-ui);cursor:pointer;white-space:nowrap}
#roomView .wm-pur-btn:hover{background:#f8fafc}
#roomView .wm-pur-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
#roomView .wm-pur-export{font-weight:500;color:#475467;border-radius:12px;background:#fbfcfd}
#roomView .wm-pur-menu-wrap{position:relative;flex:none}
#roomView .wm-pur-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:220px;background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 12px 30px rgba(16,24,40,.12);padding:6px;z-index:20}
#roomView .wm-pur-menu[hidden]{display:none}
#roomView .wm-pur-menu button{display:block;width:100%;text-align:left;border:0;background:none;padding:9px 12px;border-radius:8px;font:500 14px var(--font-ui);color:var(--wm-ink);cursor:pointer}
#roomView .wm-pur-menu button:hover{background:#f4f6f8}
#roomView .wm-pur-menu button.is-active{background:#eef6f5;color:var(--wm-teal-dark);font-weight:600}
#roomView .wm-pur-date{display:flex;align-items:stretch;height:48px;border:1px solid #e4e7ec;border-radius:12px;background:#fbfcfd;overflow:hidden}
#roomView .wm-pur-date span{display:flex;align-items:center;padding:0 18px;color:#475467;font-size:13px;border-right:1px solid #e4e7ec;white-space:nowrap}
#roomView .wm-pur-date input{border:0;background:#fff;padding:0 14px;font:14px var(--font-ui);color:var(--wm-ink);min-width:150px}
#roomView .wm-pur-table-card{overflow:hidden}
#roomView .wm-pur-scroll{overflow-x:auto}
#roomView .wm-pur-table{width:100%;border-collapse:collapse;min-width:680px}
#roomView .wm-pur-table th{background:#f8fafc;border-bottom:1px solid #e4e7ec;text-align:left;font:600 14px var(--font-ui);color:#344054;padding:0 20px;height:68px;white-space:nowrap}
#roomView .wm-pur-table th button{all:unset;display:inline-flex;align-items:center;gap:8px;cursor:pointer;font:inherit;color:inherit}
#roomView .wm-pur-table td{padding:16px 20px;border-bottom:1px solid #eef0f3;vertical-align:middle}
#roomView .wm-pur-table tbody tr:last-child td{border-bottom:0}
#roomView .wm-pur-table td small{display:block;color:var(--wm-muted);font-size:11px;margin-top:2px}
#roomView .wm-pur-table .wm-pur-num{width:56px;color:#475467}
#roomView .wm-pur-table td.wm-pur-empty{text-align:center;color:var(--wm-muted);padding:34px 20px;height:96px}
#roomView .wm-pur-arrows{display:inline-flex;flex-direction:column;gap:3px}
#roomView .wm-pur-arrows i{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:6px solid #d0d5dd}
#roomView .wm-pur-arrows i.down{border-bottom:0;border-top:6px solid #d0d5dd}
#roomView .wm-pur-arrows i.is-on{border-bottom-color:var(--wm-teal);border-top-color:var(--wm-teal)}
#roomView .wm-pur-arrows i.down.is-on{border-bottom-color:transparent}
#roomView .wm-pur-table th.wm-pur-r,#roomView .wm-pur-table td.wm-pur-r{text-align:right}
#roomView .wm-pur-table th.wm-pur-r button{justify-content:flex-end}
#roomView .wm-pur-actions{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center}
#roomView .wm-pur-stats{margin:0 0 20px}
#roomView .wm-pur-table td b{font-weight:600}
@media(max-width:760px){
  #roomView .wm-pur-search{padding:12px;gap:10px;border-radius:12px;}
  #roomView .wm-pur-search .wm-input{height:42px;}
  #roomView .wm-pur-btn{padding:0 12px;height:42px;}
  #roomView .wm-pur-tools{padding:12px;gap:10px;border-radius:16px;}
  #roomView .wm-pur-table th{height:52px;padding:0 14px;}
  #roomView .wm-pur-table td{padding:12px 14px;}
  #roomView .wm-page-title h1{font-size:23px;}
}
