/* Endurance Lodge — redesign: an elegant, modern interior-design aesthetic
   with warm neutrals, generous whitespace, subtle shadows, and premium micro-animations.
   The palette draws from muted earthy tones with a sophisticated dark header. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  /* the palette */
  --ink: #141414; --ink-2: #3A3A3A; --muted: #767676;
  --page: #F4F4F4; --paper: #FFFFFF; --soft: #EFEFEF;
  --line: #DDDDDD; --line-2: #ECECEC;
  /* Dark header — sophisticated charcoal */
  --bar: #141414; --bar-2: #262626; --bar-line: #3A3A3A;
  /* Accent — warm terracotta / earth tone (inspired by the reference) */
  --red: #D7261E; --red-dk: #A81B14; --red-bg: #FDECEA;
  --accent: #D7261E; --accent-dk: #141414; --accent-bg: #FDECEA;
  /* Status feedback */
  --bad: #B42318; --bad-bg: #FDECEA; --bad-line: #F3C4BE;
  --warn: #7A5000; --warn-bg: #FFF4D6; --warn-line: #EFDDA6;
  --good: #2E6B48; --good-bg: #E7F5EC;
  /* Room status colours */
  --st-available: #2E6B48; --st-occupied: #C9614A; --st-reserved: #C2860C;
  --st-dirty: #6B6560; --st-outoforder: #A16A00; --st-management: #4A6FA5;
  /* Legacy aliases */
  --teal: var(--red); --teal-dk: var(--red-dk); --mint: var(--soft); --mint2: var(--soft); --navy: var(--ink);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --r: 16px; --r-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --shadow-xl: 0 24px 60px rgba(0,0,0,.12);
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.sl {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 15px/1.6 var(--font); font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

a { color: var(--red-dk); text-decoration: none; text-underline-offset: 3px; transition: color var(--transition); }
a:hover { color: var(--accent-dk); }

h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font); letter-spacing: -.02em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .dt td, .folio, .kpi b, .fig b, .total b { font-variant-numeric: tabular-nums; }

/* ===== THE HEADER BAR (clean white) ===== */
.tb {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  min-height: 80px; padding: 0 clamp(24px, 4vw, 64px);
  background: #FFFFFF;
  color: var(--ink);
  border-bottom: 1px solid #ECEEF1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.tb__brand {
  display: flex; align-items: center; gap: 12px; padding-right: 32px;
  color: var(--ink); text-decoration: none;
}
.tb__brand img {
  width: 36px; height: 36px; background: #F4F6F8; border-radius: 8px; padding: 4px;
  transition: transform var(--transition);
}
.tb__brand:hover img { transform: scale(1.05); }
.tb__brand b { display: block; font: 700 20px/1.1 var(--font); letter-spacing: -.02em; color: #141414; }
.tb__brand small {
  display: block; max-width: 190px; font-size: 11px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
}
.tb__brand:hover { color: var(--ink); }

/* Main navigation menus */
.mb { display: flex; align-items: center; gap: 8px; flex: 1; }
.mb__m { position: relative; display: flex; }
.mb__top {
  display: flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 8px; background: none;
  color: #556270; font: 500 14.5px var(--font); cursor: pointer;
  transition: all var(--transition);
}
.mb__top::after {
  content: ""; width: 5px; height: 5px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6;
  transition: transform var(--transition);
}
.mb__top:hover, .mb__m.open .mb__top { background: #F0F3F6; color: #141414; }
.mb__m.is-here .mb__top { background: #E9ECEF; color: #141414; font-weight: 600; }
.mb__m.open .mb__top::after { transform: rotate(-135deg) translateY(-2px); }

.mb__dd {
  display: none; position: absolute; top: calc(100% + 12px); left: 0;
  min-width: 270px; padding: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-xl);
  animation: menuFadeIn .2s ease-out;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mb__m.open .mb__dd { display: block; }

.mb__dd a, .mb__subhead {
  display: flex; align-items: center; min-height: 42px; padding: 8px 14px;
  border-radius: 10px; color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: 14.5px; white-space: nowrap;
  transition: all var(--transition);
}
.mb__dd a:hover, .mb__dd a:focus-visible { background: var(--soft); color: var(--ink); outline: none; }
.mb__dd a[aria-current] { background: var(--ink); color: #fff; }
.mb__dd hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 10px; }

.mb__sub { position: relative; }
.mb__subhead { cursor: default; justify-content: space-between; }
.mb__subhead::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); }
.mb__fly {
  display: none; position: absolute; left: calc(100% + 6px); top: -8px;
  min-width: 270px; padding: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-xl);
}
.mb__sub:hover .mb__fly, .mb__sub:focus-within .mb__fly { display: block; }
.mb__sub:hover .mb__subhead { background: var(--soft); }

/* User area */
.tb__me { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.tb__set {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 38px; padding: 0 14px;
  border: 1px solid #DFE3E8; border-radius: 999px;
  color: #4A5562; font-weight: 500; font-size: 13.5px;
  text-decoration: none; transition: all var(--transition);
}
.tb__set:hover, .tb__set[aria-current] {
  border-color: #141414; background: #F0F3F6; color: #141414;
}

.me { position: relative; }
.me__btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid #DFE3E8; background: #141414;
  color: #fff; font: 600 14px var(--font); cursor: pointer;
  transition: all var(--transition);
}
.me__btn:hover, .me__btn[aria-expanded="true"] {
  background: #2A2A2A; border-color: #2A2A2A;
  box-shadow: 0 0 0 3px rgba(69,85,98,.15);
}
.me__dd {
  position: absolute; right: 0; top: calc(100% + 14px); z-index: 60;
  min-width: 240px; padding: 8px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-xl);
}
.me__dd p { margin: 0 0 6px; padding: 12px 14px 14px; border-bottom: 1px solid var(--line-2); }
.me__dd p b { display: block; color: var(--ink); font-weight: 600; }
.me__dd p small { color: var(--muted); }
.me__dd a {
  display: flex; align-items: center; min-height: 42px; padding: 0 14px;
  border-radius: 10px; color: var(--ink); font-weight: 500; text-decoration: none;
  transition: background var(--transition);
}
.me__dd a:hover { background: var(--soft); color: var(--ink); }
.me__dd .tb__out { color: var(--bad); }
.tb__burger { display: none; }

/* Back / Home nav */
.pagenav { display: flex; gap: 8px; margin: -8px 0 18px; }
.pagenav a {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-2);
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.pagenav a:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-md); }

/* ===== PAGE LAYOUT ===== */
.lg .wrap {
  margin: 0 auto; max-width: 1520px;
  padding: 36px clamp(20px, 3vw, 48px) 80px;
}
.lux-container .wrap {
  margin: 0; max-width: 100%; padding: 0;
}

.head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 16px 28px; margin-bottom: 32px;
}
.head h1 {
  font: 700 clamp(30px, 3.2vw, 40px)/1.1 var(--font-display);
  letter-spacing: -.03em; color: var(--ink);
}
.head p { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }
.head .head__date {
  margin: 0 0 6px; color: var(--accent-dk); font-size: 14px;
  font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.head__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* Cards */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px 26px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card > h2, .card__head h2 { font-size: 18px; font-weight: 700; font-family: var(--font-display); }
.card > h2 { margin-bottom: 18px; }
.card__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 6px 18px; margin-bottom: 10px;
}
.card__head a { font-size: 14px; font-weight: 600; color: var(--accent-dk); }
.card__head a:hover { color: var(--accent); }

.step {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 10px;
  border-radius: 50%; background: var(--accent); color: #fff;
  font: 700 14px/1 var(--font); font-style: normal; vertical-align: 2px;
}

.notice {
  padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px;
  font-weight: 500; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}
.notice.bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); border-left-color: var(--bad); }
.notice.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); border-left-color: #C98A00; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 20px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.layout > * { min-width: 0; }
.section-h { font-size: 13px; color: var(--muted); font-weight: 600; margin: 20px 0 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ===== BUTTONS & CONTROLS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  border: 1.5px solid var(--ink); background: var(--paper);
  color: var(--ink); font: 600 15px var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--soft); color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--teal { background: var(--red); border-color: var(--red); color: #fff; }
.btn--teal:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--bar-2); border-color: var(--bar-2); color: #fff; }
.btn--big { min-height: 56px; font-size: 16.5px; padding: 0 28px; border-radius: var(--r); }
.btn--sm { min-height: 42px; font-size: 14px; padding: 0 16px; }
.btn--bad { color: var(--bad); border-color: var(--bad-line); }
.btn--bad:hover { border-color: var(--bad); color: var(--bad); background: var(--bad-bg); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; pointer-events: none; }

.fld { display: flex; flex-direction: column; gap: 7px; }
.fld > span { font-weight: 500; font-size: 14px; color: var(--ink-2); }
.fld .req { color: var(--accent-dk); font-style: normal; }
.fld small { color: var(--muted); font-size: 13px; }

.ctl {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font: 400 15px var(--font); color: var(--ink);
  transition: all var(--transition);
}
.ctl:hover { border-color: var(--accent); }
.ctl:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201,149,107,.12); }
input[type=file].ctl { padding: 10px 12px; }
textarea.ctl { min-height: 80px; resize: vertical; }
.ctl--big { min-height: 56px; font-size: 16.5px; }

.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.filters .fld { min-width: 160px; }

.find-room { position: relative; display: block; flex: 0 1 320px; min-width: 200px; }
@media (min-width: 861px) { .head__act:has(.find-room) { flex-wrap: nowrap; } }
.find-room .ctl {
  padding-left: 46px; min-height: 48px; border-radius: 999px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%238C8680' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px 50% no-repeat;
  box-shadow: var(--shadow-sm);
}
.find-room .ctl:focus { box-shadow: 0 0 0 4px rgba(201,149,107,.12); }

/* Radio chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 48px; padding: 8px 18px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font-weight: 500; cursor: pointer;
  transition: all var(--transition);
}
.chip span small { font-weight: 400; color: var(--muted); font-size: 13px; }
.chip span:hover { border-color: var(--accent); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.chip input:checked + span small { color: rgba(255,255,255,.6); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; cursor: default; }

/* ===== TABLES ===== */
.dt-wrap { overflow-x: auto; }
.dt { width: 100%; border-collapse: collapse; }
.dt th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 12px 14px; border-bottom: 2px solid var(--line);
  white-space: nowrap; letter-spacing: .05em; text-transform: uppercase;
}
.dt td { padding: 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.dt tbody tr:last-child td { border-bottom: 0; }
.dt tbody tr:hover td { background: rgba(201,149,107,.04); }
.dt .r { text-align: right; }
.dt tr.is-off td { color: var(--muted); }
.dt tr.is-void td { text-decoration: line-through; color: var(--muted); }
.dt tfoot td { font-weight: 700; border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 14px; }
.empty { padding: 28px 14px; text-align: center; color: var(--muted); }

.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--soft);
  color: var(--ink); white-space: nowrap;
}
.tag.off { color: var(--muted); }
.tag.bad { background: var(--bad-bg); color: var(--bad); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-2); font-weight: 500; text-decoration: none;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.tabs a:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-md); }
.tabs a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-md); }

/* ===== KPI TILES (Home — Today's Figures) ===== */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 32px; }

.kpi {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 156px; padding: 22px 24px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-sm);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.kpi::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--red));
  opacity: 0; transition: opacity var(--transition);
}
.kpi:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kpi:hover::before { opacity: 1; }
.kpi > span { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.kpi b {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  font-family: var(--font-display);
}
.kpi b small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; font-family: var(--font); }
.kpi em { font-style: normal; font-size: 14px; color: var(--ink-2); }
.kpi em.is-due { color: var(--accent-dk); font-weight: 600; }

.kpi__bar { display: block; height: 5px; margin-top: auto; border-radius: 99px; background: var(--soft); overflow: hidden; }
.kpi__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--red)); border-radius: 99px; transition: width .6s ease-out; }

/* Money tile — rich dark */
.kpi--money {
  background: linear-gradient(135deg, var(--bar) 0%, #2A2A2D 100%);
  border-color: transparent; color: #fff;
}
.kpi--money::before { background: linear-gradient(90deg, var(--accent), #DDB892); opacity: 1; }
.kpi--money > span { color: rgba(255,255,255,.6); }
.kpi--money b { color: #fff; }
.kpi__split { display: flex; gap: 4px; height: 5px; margin-top: 6px; }
.kpi__split i { display: block; border-radius: 99px; background: rgba(255,255,255,.9); min-width: 8px; }
.kpi__split i:nth-child(2) { background: var(--accent); }
.kpi__split i:nth-child(3) { background: rgba(255,255,255,.35); }
.kpi:not(.kpi--money) .kpi__split { display: none; }
.kpi--money em { display: flex; flex-wrap: wrap; gap: 4px 16px; color: rgba(255,255,255,.7); font-size: 13px; }

/* ===== ROOM BOARD ===== */
.s-available { --c: var(--st-available); --cb: #E7F5EC; }
.s-occupied { --c: var(--st-occupied); --cb: #FDECEA; }
.s-reserved { --c: var(--st-reserved); --cb: #FFF4D6; }
.s-dirty { --c: var(--st-dirty); --cb: #EFEEEC; }
.s-outoforder { --c: var(--st-outoforder); --cb: #FFF4D6; }
.s-management { --c: var(--st-management); --cb: #E9EEFD; }

.desk { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.desk > * { min-width: 0; }

/* Legend / filter pills */
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.legend a, .legend span {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-weight: 500; font-size: 14px; color: var(--ink);
  text-decoration: none; transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.legend a:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.legend a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--c); }
.legend b { font-weight: 700; }

/* Room floor sections */
.floor { margin-bottom: 30px; }
.floor h2 {
  margin: 0 0 14px; font-size: 13px; font-weight: 600;
  color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 14px; }

/* Individual room cards */
.room {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-height: 148px; padding: 16px 18px; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.room::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--c); opacity: 0; transition: opacity var(--transition);
}
.room:hover, .room:focus-visible {
  border-color: transparent; color: var(--ink);
  box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
.room:hover::after { opacity: 1; }
.room__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%; }
.room .no { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-family: var(--font-display); }
.room .ty { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; letter-spacing: .02em; text-transform: uppercase; }
.room .st {
  margin-top: 4px; font-size: 14px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.room .st:empty { display: none; }
.room .sub { margin-top: auto; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.room.late .sub { color: var(--accent-dk); font-weight: 600; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 8px;
  background: var(--cb); color: var(--c);
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Sidebar: today's arrivals & departures */
.rail { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.rail .card { margin: 0; padding: 20px 22px 10px; }
.rail .rows > li { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 0; }
.rail .empty { padding: 14px 0 20px; text-align: left; }
.done { font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.done.is-good { color: var(--good); }

/* Figure tiles (other pages) */
.today { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.fig {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.fig:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.fig span { display: block; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.fig b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; font-family: var(--font-display); }
.fig small { color: var(--muted); }
.fig--main { background: linear-gradient(135deg, var(--bar) 0%, #2A2A2D 100%); border-color: transparent; color: #fff; }
.fig--main span, .fig--main small { color: rgba(255,255,255,.6); }
.fig--main b { color: #fff; font-size: 34px; }

/* List rows */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 8px 16px; align-items: center; padding: 16px 4px;
  border-bottom: 1px solid var(--line-2);
  transition: background var(--transition);
}
.rows > li:hover { background: rgba(201,149,107,.03); }
.rows > li:last-child { border-bottom: 0; }
.rows .when { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rows .when small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.rows .who { min-width: 0; }
.rows .who b { display: block; font-size: 15px; font-weight: 600; }
.rows .who small { color: var(--muted); display: block; font-size: 13px; }
.rows .act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.rows > li.is-done, .rows > li.is-gone { opacity: .55; }
.rows .act details { position: relative; }

/* Room's own page & big action buttons */
.state {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 10px;
  font-weight: 600; color: var(--c); background: var(--cb);
}
.acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.acts a, .acts button {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px;
  min-height: 90px; border-radius: var(--r); background: var(--paper);
  border: 1px solid var(--line); text-decoration: none;
  color: var(--ink); font: inherit; text-align: left; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.acts a:hover, .acts button:hover {
  border-color: transparent; color: var(--ink);
  box-shadow: var(--shadow-lg); transform: translateY(-2px);
}
.acts b { font-size: 16px; font-weight: 600; }
.acts span { color: var(--muted); font-size: 14px; }
.acts .is-main { background: var(--red); border-color: var(--red); color: #fff; }
.acts .is-main span { color: rgba(255,255,255,.7); }
.acts .is-main:hover { background: var(--red-dk); color: #fff; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.kv dt { color: var(--muted); font-size: 14px; }
.kv dd { margin: 0; font-weight: 500; }

.report-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.report-hub a {
  display: block; padding: 20px; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.report-hub a:hover {
  border-color: transparent; color: var(--ink);
  box-shadow: var(--shadow-lg); transform: translateY(-2px);
}
.report-hub b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.report-hub span { color: var(--muted); font-size: 14px; }

/* Mini room picker grid */
.legend--sm { gap: 6px; margin-bottom: 12px; }
.legend--sm span { min-height: 0; padding: 4px 10px; font-size: 12.5px; gap: 6px; }
.legend--sm i { width: 8px; height: 8px; }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 6px; max-height: 330px; overflow-y: auto; }
.mini button {
  min-height: 44px; border-radius: 10px; border: 1px solid transparent;
  background: var(--cb); color: var(--c);
  font: 700 14.5px var(--font); cursor: pointer;
  font-variant-numeric: tabular-nums; transition: all var(--transition);
}
.mini button.s-available { background: var(--st-available); color: #fff; }
.mini button:hover { transform: scale(1.05); }
.mini button:disabled { cursor: not-allowed; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); opacity: .5; }
.mini button.is-pick { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ===== BILLING / FOLIO ===== */
.folio { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; }
.folio span { color: var(--ink-2); }
.folio b { text-align: right; font-weight: 500; }
.folio .sub { padding-left: 16px; color: var(--muted); font-size: 14px; }
.folio .sub + b { color: var(--muted); font-size: 14px; font-weight: 400; }
.folio .rule { grid-column: 1 / -1; border-top: 1px dashed var(--line); margin: 6px 0; }
.folio .big { font-weight: 600; color: var(--ink); }
.folio .big + b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.folio .due { font-weight: 600; color: var(--ink); align-self: center; }
.folio .due + b { color: var(--accent-dk); font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.pays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.calc { padding: 14px 16px; border-radius: var(--r-sm); background: var(--soft); font-variant-numeric: tabular-nums; }
.who-box {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--soft); border: 1px solid var(--line);
}
.who-box b { display: block; font-weight: 600; }
.who-box small { color: var(--muted); }
.who-box .btn { margin-left: auto; }

.bill {
  position: sticky; top: 96px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 24px 26px; box-shadow: var(--shadow-sm);
}
.bill h2 { font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--font-display); }
.bill h2 small { font-weight: 400; font-family: var(--font); }
.bill__lines { list-style: none; margin: 16px 0; padding: 0; border-top: 1px solid var(--line-2); }
.bill__lines li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 4px 12px; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.bill__lines li b { font-weight: 600; }
.bill__lines li small { color: var(--muted); }
.bill__lines .amt { font-variant-numeric: tabular-nums; font-weight: 600; }
.bill__lines .x { border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; padding: 0 4px; line-height: 1; transition: color var(--transition); }
.bill__lines .x:hover { color: var(--bad); }
.bill__lines .qty {
  width: 60px; min-height: 38px; padding: 4px 6px; text-align: center;
  border: 1px solid var(--line); border-radius: 10px;
  font: 500 15px var(--font);
}
.bill__empty { color: var(--muted); padding: 18px 0; text-align: center; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; margin-top: 14px; border-top: 2px solid var(--ink); }
.total span { font-weight: 600; font-size: 16px; }
.total b { font-size: 38px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-family: var(--font-display); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 12px; }
.modes .chip { display: block; }
.modes .chip span { width: 100%; min-height: 52px; justify-content: center; text-align: center; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(186px, 1fr)); gap: 12px; }
.items button {
  text-align: left; min-height: 80px; padding: 14px 16px;
  border-radius: var(--r); border: 1px solid var(--line);
  background: var(--paper); cursor: pointer; font: inherit;
  color: var(--ink); display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.items button:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.items button:active { background: var(--soft); transform: translateY(0); }
.items button b { font-weight: 600; }
.items button span { color: var(--accent-dk); font-weight: 700; font-variant-numeric: tabular-nums; }
.items button small { color: var(--muted); font-size: 12.5px; }
.mtotal { display: none; }

/* Guest drop-down picker */
.pick { position: relative; }
.pick__list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  max-height: 340px; overflow-y: auto; margin: 0; padding: 8px;
  list-style: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-xl);
}
.pick__list li[data-id] {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  transition: background var(--transition);
}
.pick__list li[data-id]:hover, .pick__list li.is-act { background: var(--soft); }
.pick__av {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 600 14px var(--font);
}
.pick__txt { flex: 1; min-width: 0; }
.pick__txt b { display: block; font-weight: 600; }
.pick__txt small { color: var(--muted); }
.pick__due { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-dk); font-size: 12px; font-weight: 600; }
.pick__none { padding: 14px; color: var(--muted); }
.pick__caret { position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
.pick .ctl { padding-right: 42px; }

/* ===== SIGN IN ===== */
.gate { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.gate__art {
  display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
  padding: clamp(32px, 5vw, 72px);
  background: linear-gradient(165deg, #1C1C1E 0%, #2A2A2D 40%, #D7261E 100%);
  color: #fff; border-right: none;
}
.gate__art header { display: flex; align-items: center; gap: 14px; }
.gate__art header img { width: 44px; height: 44px; background: #fff; border-radius: 12px; padding: 3px; }
.gate__art header b { font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.gate__art h1 {
  color: #fff; font: 700 clamp(36px, 4.5vw, 58px)/1.05 var(--font-display);
  letter-spacing: -.03em; max-width: 14ch;
}
.gate__art p { color: rgba(255,255,255,.65); max-width: 44ch; font-size: 17px; margin: 16px 0 0; }

.gate__keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 660px; }
.gate__keys span {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px 16px; border-radius: var(--r);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  color: #fff; font-size: 22px; font-weight: 700; font-family: var(--font-display);
  backdrop-filter: blur(10px);
}
.gate__keys span::after { content: ""; width: 36px; height: 5px; border-radius: 3px; background: var(--c); }

.gate__form { display: flex; align-items: center; justify-content: center; padding: 36px 24px; background: var(--page); }
.gate__form form {
  width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 20px;
  padding: 36px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.gate__form h2 { font: 700 28px/1.1 var(--font-display); letter-spacing: -.025em; }
.gate__form h2 + p { margin: -10px 0 6px; color: var(--muted); }

/* ===== PRINTOUTS ===== */
.receipt {
  max-width: 440px; margin: 0 auto; background: #fff;
  padding: 30px; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.receipt h2 { text-align: center; font-size: 22px; font-weight: 700; font-family: var(--font-display); }
.receipt .shop { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.receipt table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.receipt td { padding: 6px 0; vertical-align: top; }
.receipt td.r { text-align: right; white-space: nowrap; }
.receipt .rule td { border-top: 1px dashed var(--ink-2); padding: 0; height: 8px; }

@media print {
  body.sl { background: #fff; } .tb, .noprint { display: none !important; }
  .lg .wrap { padding: 0; } .receipt { border: 0; padding: 0; max-width: none !important; box-shadow: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1240px) {
  .desk { grid-template-columns: minmax(0, 1fr) 310px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .layout, .desk { grid-template-columns: 1fr; }
  .bill, .rail { position: static; }
  .rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
  .today { grid-template-columns: 1fr 1fr; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mtotal:not([hidden]) {
    display: flex; position: sticky; bottom: 16px; z-index: 20;
    align-items: center; gap: 14px; padding: 14px 18px; margin-top: 14px;
    border-radius: var(--r); background: var(--bar); color: #fff;
    text-decoration: none; font-weight: 500;
    box-shadow: var(--shadow-xl);
  }
  .mtotal b { font-size: 20px; font-weight: 700; margin-right: auto; }
  .mtotal span:last-child { color: var(--accent); }
}
@media (max-width: 1240px) {
  .mb__top { padding: 0 12px; font-size: 14px; }
  .tb__brand small { display: none; }
}
@media (max-width: 960px) {
  .tb { flex-wrap: wrap; padding: 0 16px; }
  .tb__brand { min-height: 68px; }
  .tb__burger {
    display: inline-flex; align-items: center; margin: 10px 0 10px auto;
    padding: 0 20px; min-height: 44px;
    border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
    background: none; color: #fff; font: 500 15px var(--font); cursor: pointer;
    transition: all var(--transition);
  }
  .tb__burger:hover { background: rgba(255,255,255,.08); }
  .tb__burger[aria-expanded="true"] { background: var(--red); border-color: var(--red); }
  .tb__me { order: 2; margin: 10px 0 10px auto; }
  .tb__set span { display: none; } .tb__set { padding: 0 12px; }
  .tb__burger { order: 3; margin-left: 8px !important; }
  .mb { order: 4; }
  .mb { display: none; flex-direction: column; align-items: stretch; flex-basis: 100%; padding-bottom: 14px; }
  .tb.nav-open .mb { display: flex; }
  .mb__m { flex-direction: column; }
  .mb__top { min-height: 50px; justify-content: space-between; }
  .mb__dd { position: static; box-shadow: none; border: 0; border-radius: 12px; margin: 6px 0 12px; min-width: 0; animation: none; }
  .mb__dd a, .mb__subhead { white-space: normal; padding: 12px 14px; }
  .mb__fly { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .mb__subhead::after { display: none; }
}
@media (max-width: 860px) {
  .lg .wrap { padding: 22px 16px 80px; }
  .card { padding: 20px 18px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .gate { grid-template-columns: 1fr; } .gate__art { border-right: 0; } .gate__keys { display: none; }
  .head__act { width: 100%; } .find-room { width: 100%; }
  .kpi { min-height: 0; } .kpi b { font-size: 28px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .room { min-height: 132px; padding: 14px; }
  .legend a { min-height: 42px; padding: 0 14px; font-size: 14px; }
  .rows > li { grid-template-columns: 60px minmax(0, 1fr); }
  .rows .act { grid-column: 1 / -1; justify-content: flex-start; }
  .rail .rows > li { grid-template-columns: minmax(0, 1fr) auto; }
  .rail .rows .act { grid-column: auto; }
  .dt.cards thead { display: none; }
  .dt.cards tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .dt.cards td { display: flex; justify-content: space-between; gap: 14px; border: 0; padding: 6px 2px; text-align: right; }
  .dt.cards td::before { content: attr(data-label); color: var(--muted); font-weight: 500; text-align: left; }
  .dt.cards tbody tr:hover td { background: none; }
  .pays { grid-template-columns: 1fr 1fr; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items button { min-height: 72px; padding: 12px 14px; }
}
@media (max-width: 520px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 16px; }
  .kpi b { font-size: 24px; flex-wrap: wrap; gap: 0 8px; }
  .kpi--money { grid-column: 1 / -1; }
  .today, .grid4 { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr 1fr; }
  .total b { font-size: 32px; }
  .head h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
/* ==========================================================================
   LUXTERIOR EXACT ARCHITECTURAL DESIGN SYSTEM
   ========================================================================== */

.lux-outer-canvas {
  background: #E9ECEF;
  min-height: 100vh;
  padding: 24px clamp(16px, 2.5vw, 40px) 48px;
}

.lux-frame-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1480px;
  margin: 0 auto 16px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #7A8794;
  letter-spacing: .03em;
}

.lux-container {
  max-width: 1480px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 40px 0 0 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  overflow: hidden;
}

.lux-content {
  padding: 40px clamp(24px, 4vw, 64px) 60px;
}

/* --- Hero Section --- */
.lux-hero {
  position: relative;
  margin-bottom: 90px;
}
.lux-hero__img-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 8px;
  overflow: hidden;
}
.lux-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lux-hero__wireframe {
  position: absolute;
  left: -20px;
  bottom: -24px;
  width: 100px;
  height: 110px;
  border: 1.5px solid #141414;
  pointer-events: none;
  z-index: 1;
}
.lux-hero__card {
  position: absolute;
  left: 0;
  top: 70px;
  width: min(460px, 90%);
  background: #141414;
  color: #FFFFFF;
  padding: 48px 40px;
  border-radius: 4px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
  z-index: 5;
}
.lux-hero__card h1 {
  font: 700 clamp(28px, 3vw, 36px)/1.2 var(--font) !important;
  color: #FFFFFF !important;
  margin: 0 0 16px !important;
  letter-spacing: -.02em !important;
}
.lux-hero__card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
}
.lux-hero__card .btn {
  background: #FFFFFF;
  color: #141414;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  transition: all .2s;
}
.lux-hero__card .btn:hover {
  background: #EAEBED;
  color: #141414;
}
.lux-hero__arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72px;
  height: 72px;
  background: #141414;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  border-radius: 4px 0 8px 0;
  font-size: 26px;
  text-decoration: none;
  transition: background .2s;
  z-index: 5;
}
.lux-hero__arrow:hover {
  background: #2A2A2A;
  color: #FFFFFF;
}
.lux-hero__nav {
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #8C96A0;
  font-weight: 600;
  letter-spacing: .08em;
}

/* --- Common Architectural Accents --- */
.lux-accent-line {
  width: 54px;
  height: 3px;
  background: #141414;
  margin-bottom: 24px;
}
.lux-section-title {
  font: 700 clamp(26px, 2.8vw, 34px)/1.2 var(--font) !important;
  color: #141414 !important;
  letter-spacing: -.02em !important;
  margin: 0 0 16px !important;
}

/* --- Benefits Section --- */
.lux-benefits {
  margin: 80px 0 100px;
}
.lux-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  margin-top: 48px;
}
.lux-benefit-item h3 {
  font: 700 18px var(--font) !important;
  color: #141414 !important;
  margin: 16px 0 10px !important;
}
.lux-benefit-item p {
  color: #6B7785;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.lux-benefit-icon {
  width: 32px;
  height: 32px;
  color: #141414;
  stroke-width: 1.6;
}

/* --- Experience Split Section --- */
.lux-experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 100px 0;
}
.lux-exp-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 8px;
}
.lux-exp-content h2 {
  font: 700 clamp(28px, 3vw, 36px)/1.2 var(--font) !important;
  color: #141414 !important;
  margin: 0 0 18px !important;
  letter-spacing: -.02em;
}
.lux-exp-content p {
  color: #6B7785;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 36px;
}
.lux-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 36px;
}
.lux-stat-num {
  font: 700 clamp(36px, 4vw, 44px)/1 var(--font);
  color: #141414;
  margin-bottom: 6px;
}
.lux-stat-lbl {
  font-size: 13px;
  color: #6B7785;
  line-height: 1.3;
}
.lux-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1.5px solid #141414;
  border-radius: 4px;
  color: #141414;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: all .2s;
}
.lux-link-btn:hover {
  background: #141414;
  color: #FFFFFF;
}

/* --- Process Section --- */
.lux-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin: 100px 0;
}
.lux-proc-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 36px;
}
.lux-step {
  display: flex;
  gap: 20px;
}
.lux-step-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  font: 700 13px var(--font);
  display: grid;
  place-items: center;
}
.lux-step-body h4 {
  font: 700 17px var(--font) !important;
  color: #141414 !important;
  margin: 0 0 6px !important;
}
.lux-step-body p {
  font-size: 14px;
  color: #6B7785;
  line-height: 1.6;
  margin: 0;
}
.lux-proc-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

/* --- Testimonials Section --- */
.lux-testimonials {
  margin: 100px 0;
}
.lux-test-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.lux-test-arrows {
  display: flex;
  gap: 12px;
}
.lux-test-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #DFE3E8;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #141414;
  font-size: 15px;
  background: #FFFFFF;
  transition: all .2s;
}
.lux-test-arrow:hover {
  background: #141414;
  color: #FFFFFF;
  border-color: #141414;
}
.lux-test-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.lux-test-card {
  background: #141414;
  color: #FFFFFF;
  padding: 44px 40px;
  border-radius: 6px;
  position: relative;
}
.lux-test-quote {
  font-size: 44px;
  line-height: 1;
  color: rgba(255,255,255,0.45);
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.lux-test-card h4 {
  font: 600 19px var(--font) !important;
  color: #FFFFFF !important;
  margin: 0 0 12px !important;
}
.lux-test-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
}
.lux-test-user {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lux-test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #617482;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.lux-test-meta b {
  display: block;
  font-size: 14.5px;
  color: #FFFFFF;
}
.lux-test-meta small {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
}

/* --- Subscribe Section --- */
.lux-subscribe {
  text-align: center;
  max-width: 580px;
  margin: 100px auto 80px;
  padding: 0 20px;
}
.lux-subscribe h3 {
  font: 700 28px var(--font) !important;
  color: #141414 !important;
  margin: 0 0 12px !important;
  letter-spacing: -.02em;
}
.lux-subscribe p {
  color: #6B7785;
  font-size: 14px;
  margin: 0 0 28px;
}
.lux-sub-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  border: 1px solid #D8DFE4;
  border-radius: 4px;
  overflow: hidden;
  background: #FFFFFF;
}
.lux-sub-form input {
  flex: 1;
  border: 0;
  padding: 14px 18px;
  font-size: 14px;
  outline: none;
}
.lux-sub-form button {
  background: #141414;
  color: #FFFFFF;
  border: 0;
  padding: 0 26px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s;
}
.lux-sub-form button:hover {
  background: #2A2A2A;
}

/* --- Footer --- */
.lux-footer {
  background: #141414;
  color: rgba(255,255,255,0.8);
  padding: 64px clamp(24px, 4vw, 64px) 48px;
  margin-top: 60px;
}
.lux-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  max-width: 1480px;
  margin: 0 auto;
}
.lux-footer h4 {
  color: #FFFFFF;
  font: 700 15px var(--font);
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.lux-footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 13.5px;
  transition: color .2s;
}
.lux-footer a:hover {
  color: #FFFFFF;
}
.lux-footer p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0 0 16px;
}

@media (max-width: 960px) {
  .lux-benefits__grid, .lux-experience, .lux-process, .lux-test-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lux-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .lux-hero__card {
    position: static;
    width: 100%;
    margin-top: -60px;
  }
  .lux-hero__nav {
    display: none;
  }
}

/* ==========================================================================
   THE BOARD'S OPENING: the photo screen first (html.intro, 3 seconds), then the board slides up over it
   and the same photo stays behind the page as a soft wallpaper. Without .intro (later visits, no script,
   less motion asked for) the page is simply in its final state.
   ========================================================================== */
.lux-wall { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: 1; transition: opacity 1.4s ease; }
.lux-wall img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: grayscale(.7); transition: transform 2.4s ease; }
.lux-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.18) 0%, rgba(20,20,20,.05) 40%, rgba(255,255,255,.12) 100%); }
.lux-outer-canvas { position: relative; z-index: 1; background: transparent; transition: background-color 1.2s ease; }
.lux-container { background: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px); transition: background-color 1.2s ease; }
.lux-hero { max-height: 760px; transition: max-height 1.1s cubic-bezier(.6,0,.2,1), margin 1.1s cubic-bezier(.6,0,.2,1), opacity .7s ease, transform 1.1s cubic-bezier(.6,0,.2,1); }
#room-board { transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .9s ease .15s; }

/* the final state: no hero, the board in its place, the photo behind */
html:not(.intro) .lux-hero { max-height: 0; margin: 0; opacity: 0; transform: translateY(-70px); overflow: hidden; pointer-events: none; }
html:not(.intro) .lux-hero .lux-hero__nav { display: none; }
html:not(.intro) #room-board { margin-top: 0 !important; padding-top: 8px !important; }
html:not(.intro) .lux-wall img { transform: scale(1); }

/* during the opening: the photo screen as you made it, the board waiting just below */
html.intro .lux-wall { opacity: 0; }
html.intro .lux-outer-canvas { background: #E9ECEF; }
html.intro .lux-container { background: #FFFFFF; }
html.intro #room-board { transform: translateY(90px); opacity: 0; }
html.intro, html.intro body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) { .lux-hero, #room-board, .lux-wall, .lux-wall img { transition: none !important; } }

/* ==========================================================================
   RED, WHITE AND BLACK on top of the framed look: the hero panel and money box black, actions and accents red.
   Text that sits straight on the photo gets a white backing so it stays readable over a clear picture.
   ========================================================================== */
/* the hero keeps the reference's slate: panel, its button and the arrow box (no red here) */
.lux-hero__card { background: #455562; border-top: 0; }
.lux-hero__card .btn { background: #FFFFFF !important; color: #455562 !important; border: 0 !important; }
.lux-hero__card .btn:hover { background: #EAEBED !important; color: #36444F !important; }
.lux-hero__arrow { background: #455562; } .lux-hero__arrow:hover { background: #36444F; }
.lux-accent-line { background: var(--red); }
.btn--teal { background: var(--red); border-color: var(--red); color: #FFFFFF; }
.btn--teal:hover { background: var(--red-dk); border-color: var(--red-dk); color: #FFFFFF; }
.head__date { color: var(--red) !important; }
.kpi__bar i { background: var(--red) !important; }
.kpi--money, .fig--main { background: #141414 !important; border-top: 3px solid var(--red) !important; }
.kpi__split i:nth-child(2) { background: var(--red) !important; }
.legend a.is-on, .tabs a.is-on, .chip input:checked + span { background: #141414; border-color: #141414; color: #FFFFFF; }
.card__head a, .rail a:not(.btn) { color: var(--red); }
/* over a clear photo: headings and chips get a solid backing */
.lux-frame-meta span, html:not(.intro) #room-board > .head, .wrap > .head, .wrap > .pagenav, .floor > h2, .floor > h3 {
  background: rgba(255,255,255,.92); border-radius: 12px; }
.lux-frame-meta span { padding: 4px 12px; color: #141414; }
html:not(.intro) #room-board > .head, .wrap > .head { padding: 16px 20px; }
.wrap > .pagenav { display: inline-flex; padding: 6px; }
.floor > h2, .floor > h3 { display: inline-block; padding: 6px 12px; }
html:not(.intro) .lux-accent-line { display: none; }

/* every page sits in the same framed window over the photo */
.lux-container > .wrap { padding-top: 28px; }
.lux-container > .wrap:not(:has(.lux-content)) { padding: 28px clamp(20px, 4vw, 64px) 60px; }

/* ==========================================================================
   PAGE CHANGES, like closing and opening a window on a Mac: the page shrinks into the point that was clicked
   and fades, the next one opens out of that point. The browser's own cross-page view transition; browsers
   without it just change the page.
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .5s; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; transform-origin: var(--vt-x, 50%) var(--vt-y, 50%); }
::view-transition-old(root) { z-index: 2; animation: lodge-close .42s cubic-bezier(.55, 0, .75, .3) both; }
::view-transition-new(root) { z-index: 1; animation: lodge-open .48s cubic-bezier(.2, .8, .25, 1) .08s both; }
@keyframes lodge-close { 0% { transform: scale(1); opacity: 1; } 70% { opacity: .9; } 100% { transform: scale(.06, .1); opacity: 0; filter: blur(2px); } }
@keyframes lodge-open { 0% { transform: scale(.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* the frame must not clip the menus on short pages; it keeps its rounded corner on the header instead */
.lux-container { overflow: visible; min-height: calc(100vh - 110px); }
.lux-container > .tb { border-radius: 40px 0 0 0; }
@media print {
  .lux-wall, .lux-frame-meta { display: none !important; }
  .lux-outer-canvas { padding: 0 !important; background: #FFFFFF !important; }
  .lux-container { background: #FFFFFF !important; box-shadow: none !important; border-radius: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; min-height: 0; }
}

/* check-in: the room's single-night and full-day rates as one-tap buttons under the rate box */
.rate-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rate-btn { padding: 5px 11px; border: 1px solid #C9CDD3; border-radius: 99px; background: #FFFFFF; color: #3A3F47; font: 600 13px/1.3 Inter, system-ui, sans-serif; cursor: pointer; }
.rate-btn:hover { border-color: #141414; }
.rate-btn.is-on { background: #141414; border-color: #141414; color: #FFFFFF; }

/* Rooms list: view and floor sit under the type, the two buttons stay in a narrow column that is always in view,
   and the whole row opens the room for editing (2026-11-06: on a 1366 px screen the buttons were cut off) */
.rooms-dt td { padding: 12px 10px; }
.rooms-dt .sub { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.rooms-dt td.row-btns { width: 1%; white-space: nowrap; text-align: right; }
.rooms-dt td.row-btns form { display: inline; margin: 0; }
.rooms-dt td.row-btns .btn { margin: 0 0 0 4px; }
.rooms-dt tbody tr[data-edit] { cursor: pointer; }
.rooms-dt tbody tr.is-pick td { background: #F3F4F6; }
.rooms-dt tbody tr.is-pick td:first-child { box-shadow: inset 4px 0 0 var(--red); }
@media (max-width: 1400px) { .rooms-dt td.row-btns .btn { display: flex; width: 100%; margin: 0 0 6px; justify-content: center; } .rooms-dt td.row-btns form { display: block; } }
@media (min-width: 1201px) and (max-width: 1366px) { .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; } }
@media (max-width: 1200px) { .layout { grid-template-columns: minmax(0, 1fr); } .layout > aside.card { position: static !important; } }

/* ==========================================================================
   PHONES (up to 720 px): their own frame, like Endurance Masters (2026-11-06).
   A white top bar with the page name, five tabs at the bottom within thumb reach (Board, Check in, and sheets for
   Desk / Reports / More), plain light pages without the photo frame, lists as compact white cards.
   ========================================================================== */
.ptop, .ptab, .psheet:not([open]) { display: none; }
@media (max-width: 720px) {
  :root { --tabh: 66px; --safe: env(safe-area-inset-bottom, 0px); }
  body.sl { background: #F2F2F5; }
  .lux-wall, .lux-frame-meta, .lux-container > .tb, .wrap > .pagenav, .lux-hero { display: none !important; }
  .lux-outer-canvas { padding: 0; min-height: 100dvh; background: #F2F2F5 !important; }
  .lux-container { border-radius: 0; box-shadow: none; background: #F2F2F5 !important; -webkit-backdrop-filter: none; backdrop-filter: none; min-height: 0; }
  .lux-container > .wrap, .lux-container > .wrap:not(:has(.lux-content)), .lg .wrap { padding: 14px 12px calc(var(--tabh) + 28px + var(--safe)) !important; }
  .lux-content { padding: 0; }
  #room-board { padding-top: 0 !important; margin-top: 0 !important; transform: none !important; opacity: 1 !important; }
  .lux-accent-line { display: none; }

  /* top bar */
  .ptop { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 40; padding: 8px 10px 8px 8px;
          background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #E3E4E8; }
  .ptop__back, .ptop__brand { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #141414; flex: none; }
  .ptop__back:active { background: #F2F2F5; }
  .ptop__brand img { width: 30px; height: 30px; }
  .ptop__t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .ptop__t b { font-size: 18px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ptop__t small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ptop__me { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #141414; color: #fff; font: 700 15px var(--font); flex: none; cursor: pointer; }

  /* bottom tabs */
  .ptab { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
          padding: 6px 2px calc(6px + var(--safe)); background: #fff; border-top: 1px solid #E3E4E8; }
  .ptab a, .ptab button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 2px 0; border: 0; background: none;
          font: 600 11.5px/1.3 var(--font); color: #6B7079; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
  .ptab .pill { display: grid; place-items: center; width: 54px; height: 30px; border-radius: 99px; }
  .ptab .on { color: #141414; font-weight: 800; }
  .ptab .on .pill { background: #FDE8EA; color: var(--red); }

  /* sheets rising from the bottom */
  .psheet[open] { display: block; width: 100vw; max-width: 100vw; max-height: 82dvh; margin: auto 0 0; padding: 6px 12px calc(16px + var(--safe));
          border: 0; border-radius: 20px 20px 0 0; background: #fff; color: #141414; overflow: auto; animation: psheet-rise .2s ease-out; }
  .psheet::backdrop { background: rgba(18,20,24,.5); }
  @keyframes psheet-rise { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
  .psheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px 6px 8px; font-size: 18px; position: sticky; top: -6px; background: #fff; }
  .psheet__head small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
  .psheet__x { width: 42px; height: 42px; border: 0; border-radius: 12px; background: none; font-size: 28px; line-height: 1; color: #6B7079; cursor: pointer; }
  .psheet__group { margin: 12px 8px 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .psheet a { display: block; padding: 13px 12px; border-radius: 12px; font-size: 16px; font-weight: 500; color: #141414; text-decoration: none; }
  .psheet a:active, .psheet a.on { background: #F2F2F5; }
  .psheet a.on { font-weight: 700; box-shadow: inset 3px 0 0 var(--red); }
  .psheet a.bad { color: var(--red); }

  /* page heading: compact; the top bar already names the page */
  .wrap > .head, html:not(.intro) #room-board > .head { padding: 12px 14px !important; margin-bottom: 12px; border-radius: 14px; }
  .head h1, .head .lux-section-title { font-size: 21px !important; }
  .head p { font-size: 14px; margin-top: 2px; }
  .head__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .head .btn { min-height: 42px; padding: 0 14px; font-size: 14.5px; }
  .card { padding: 16px 14px; border-radius: 16px; }
  .notice { margin: 0 0 12px; }

  /* lists: each row a small white card, the first value as its title, the rest as short label + value pairs */
  .dt.cards thead { display: none; }
  .dt.cards, .dt.cards tbody { display: block; }
  .card:has(> .dt.cards), .card:has(> .dt-wrap > .dt.cards) { padding: 0; background: none; border: 0; box-shadow: none; }
  .dt-wrap:has(> .dt.cards) { overflow: visible; }
  .dt.cards tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 14px; margin-bottom: 8px;
                 background: #fff; border: 1px solid #E3E4E8; border-radius: 14px; }
  .dt.cards td { display: block; padding: 0; border: 0; text-align: left; font-size: 14px; min-width: 0; }
  .dt.cards td::before { content: attr(data-label) "  "; white-space: pre; color: var(--muted); font-size: 12.5px; font-weight: 500; }
  .dt.cards td[data-label=""]::before, .dt.cards td:not([data-label])::before { content: none; }
  .dt.cards td:first-child { flex: 1 1 100%; font-size: 16px; }
  .dt.cards td:first-child::before { display: none; }
  .dt.cards td:empty { display: none; }
  .dt.cards td.row-btns, .dt.cards td:last-child:has(.btn) { flex: 1 1 100%; display: flex; gap: 8px; padding-top: 6px; }
  .dt.cards td.row-btns .btn, .dt.cards td:last-child:has(.btn) .btn { flex: 1; width: auto; margin: 0; display: inline-flex; }
  .dt.cards td.row-btns form, .dt.cards td:last-child:has(.btn) form { flex: 1; display: flex; margin: 0; }
  .dt.cards td.row-btns form .btn, .dt.cards td:last-child:has(.btn) form .btn { width: 100%; }
  .dt.cards tbody tr:hover td { background: none; }
  .dt.cards tr.is-pick { border-color: var(--red); box-shadow: inset 4px 0 0 var(--red); }
  .dt.cards tr.is-pick td { background: none; }

  /* forms: one column, big boxes, the main button full width */
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr !important; }
  form.grid2 > *, form.grid3 > * { grid-column: auto !important; }
  .ctl { font-size: 16px; }

  /* the board: two rooms a row */
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; border-radius: 16px; }
  .legend { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px 10px; padding: 0 12px 4px; scrollbar-width: none; }
  .legend::-webkit-scrollbar { display: none; }
  .legend a { flex: none; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .room { min-height: 112px; padding: 12px; border-radius: 14px; }
}
@media (max-width: 720px) { .head h1.same-as-top { display: none; } .head h1.same-as-top + p { margin-top: 0; } }

/* sign in: the way back to the Endurance apps page */
.gate__back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 4px; color: var(--muted); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.gate__back:hover { color: var(--ink); }
