@font-face {
  font-family: "Noto Sans Lao Local";
  src: local("Noto Sans Lao"), url("../fonts/NotoSansLao.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #102b3b;
  --navy-2: #183c4a;
  --navy-3: #234957;
  --ink: #183c4a;
  --muted: #61767e;
  --teal: #007f7a;
  --teal-dark: #006a66;
  --mint: #def3ec;
  --mint-2: #eef9f5;
  --paper: #f5f8f7;
  --white: #ffffff;
  --line: #dce6e5;
  --line-dark: #cbd9d7;
  --gold: #c99039;
  --gold-light: #fff0d6;
  --blue: #38658d;
  --blue-light: #e7eff7;
  --red: #a74e46;
  --red-light: #f8e9e7;
  --purple: #76658b;
  --purple-light: #eeeaf3;
  --shadow-sm: 0 1px 2px rgba(16, 43, 59, .04), 0 5px 16px rgba(16, 43, 59, .05);
  --shadow-md: 0 16px 40px rgba(16, 43, 59, .12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font: "Noto Sans Lao Local", "Noto Sans Lao", "Phetsarath OT", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; color-scheme: light; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid rgba(201, 144, 57, .55); outline-offset: 2px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.brand strong { font-size: 15px; line-height: 1.35; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: 11px; }
.brand--light { color: var(--white); }
.brand--light small { color: #b9d1d6; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #10a09a, var(--teal)); color: white; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-weight: 800; font-size: 20px; }
.sample-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border: 1px solid #cae5dc; border-radius: 999px; background: var(--mint-2); color: var(--teal-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.sample-badge--dark { color: #c8f1e5; border-color: #315565; background: #234957; }
.eyebrow { margin: 0 0 4px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow--mint { color: #83dbc8; }

/* Launcher */
.launch-page { min-height: 100vh; background: var(--navy); color: var(--white); overflow-x: hidden; }
.launch-page::before, .launch-page::after { content: ""; position: fixed; pointer-events: none; border-radius: 50%; filter: blur(2px); }
.launch-page::before { width: 520px; height: 520px; top: -270px; right: -120px; background: radial-gradient(circle, rgba(0,127,122,.4), rgba(0,127,122,0) 70%); }
.launch-page::after { width: 480px; height: 480px; bottom: -280px; left: -130px; background: radial-gradient(circle, rgba(201,144,57,.14), rgba(201,144,57,0) 70%); }
.launch-shell { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); min-height: 100vh; margin: 0 auto; padding: 28px 0 22px; display: flex; flex-direction: column; }
.launch-header { display: flex; align-items: center; justify-content: space-between; }
.launch-intro { max-width: 790px; margin: 8vh 0 42px; }
.launch-intro h1 { margin: 10px 0 18px; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.14; letter-spacing: -.045em; }
.launch-intro h1 span { color: #80d5c2; }
.launch-intro > p:last-child { max-width: 650px; margin: 0; color: #c4d9df; font-size: 18px; }
.launch-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; }
.launch-card { position: relative; min-height: 300px; padding: 28px; display: grid; grid-template-columns: 1fr 1.05fr; grid-template-rows: 1fr auto; gap: 18px 25px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; overflow: hidden; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.launch-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); box-shadow: 0 24px 54px rgba(0,0,0,.2); }
.launch-card--pos { background: linear-gradient(145deg, #1c4656, #153746); }
.launch-card--owner { grid-template-columns: .85fr 1.15fr; background: linear-gradient(145deg, #f8fbfa, #e7f4f0); color: var(--ink); border-color: rgba(255,255,255,.35); }
.launch-card__number { position: absolute; top: 20px; right: 24px; color: rgba(255,255,255,.18); font-size: 46px; font-weight: 800; line-height: 1; }
.launch-card--owner .launch-card__number { color: rgba(0,127,122,.13); }
.launch-card__visual { align-self: center; justify-self: center; }
.launch-card__copy { align-self: center; display: flex; flex-direction: column; }
.launch-card__copy small { margin-bottom: 8px; color: #80d5c2; font-size: 12px; font-weight: 800; }
.launch-card--owner .launch-card__copy small { color: var(--teal); }
.launch-card__copy strong { margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; }
.launch-card__copy > span { color: #bed0d6; font-size: 13px; }
.launch-card--owner .launch-card__copy > span { color: var(--muted); }
.launch-card__action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #d8eee8; font-size: 14px; font-weight: 700; }
.launch-card__action b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: white; font-size: 20px; }
.launch-card--owner .launch-card__action { border-color: var(--line); color: var(--teal-dark); }
.desktop-visual { width: min(250px, 100%); aspect-ratio: 1.45; position: relative; display: grid; grid-template-columns: 20% 1fr; grid-template-rows: 18% 1fr; border: 5px solid #0d2735; border-radius: 12px; background: var(--paper); box-shadow: 0 15px 28px rgba(0,0,0,.22); overflow: hidden; }
.desktop-visual__bar { grid-column: 1 / -1; background: white; border-bottom: 1px solid var(--line); }
.desktop-visual__nav { background: var(--navy); }
.desktop-visual__content { padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 8px; }
.desktop-visual__content i { display: block; aspect-ratio: 1.2; border-radius: 5px; background: var(--mint); border-left: 3px solid var(--teal); }
.desktop-visual__content i:nth-child(-n+3) { background: var(--blue-light); border-color: var(--blue); }
.phone-visual { width: 108px; height: 205px; padding: 9px 7px 8px; position: relative; display: block; border: 5px solid var(--navy); border-radius: 22px; background: var(--navy); box-shadow: 0 15px 28px rgba(16,43,59,.22); }
.phone-visual__speaker { position: absolute; z-index: 2; top: 5px; left: 50%; width: 34px; height: 5px; border-radius: 5px; transform: translateX(-50%); background: var(--navy); }
.phone-visual__screen { height: 100%; padding: 15px 7px 8px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 48px 38px 38px; gap: 5px; align-content: start; border-radius: 13px; background: white; overflow: hidden; }
.phone-visual__screen i { border-radius: 5px; background: var(--paper); border: 1px solid var(--line); }
.phone-visual__screen .phone-visual__hero { grid-column: 1 / -1; background: linear-gradient(120deg, var(--navy-2), var(--teal)); border: 0; }
.launch-footer { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 12px; color: #8eabb3; font-size: 12px; }
.launch-footer i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

/* Common controls */
.icon-button { width: 38px; height: 38px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.primary-button, .secondary-button { min-height: 42px; padding: 9px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .15s ease, transform .15s ease, opacity .15s ease; }
.primary-button { border: 1px solid var(--teal); background: var(--teal); color: white; box-shadow: 0 6px 14px rgba(0,127,122,.15); }
.primary-button:hover { background: var(--teal-dark); }
.primary-button:active, .secondary-button:active { transform: translateY(1px); }
.primary-button:disabled { cursor: not-allowed; opacity: .48; }
.primary-button svg, .secondary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.primary-button--full { width: 100%; }
.secondary-button { border: 1px solid var(--line-dark); background: white; color: var(--ink); }
.content-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.card-heading { min-height: 72px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.card-heading h2 { margin: 0; font-size: 16px; line-height: 1.4; }
.section-heading { margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.35; }
.section-heading > div > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }

/* POS shell */
.pos-page { min-height: 100vh; background: var(--paper); }
.pos-sidebar { position: fixed; z-index: 40; inset: 0 auto 0 0; width: 246px; padding: 24px 17px 18px; display: flex; flex-direction: column; background: var(--navy); color: white; }
.pos-brand { padding: 0 8px 26px; border-bottom: 1px solid rgba(255,255,255,.09); }
.pos-nav { margin-top: 20px; display: grid; gap: 6px; }
.pos-nav__item { width: 100%; min-height: 48px; padding: 10px 12px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px; border: 0; border-radius: 11px; background: transparent; color: #b8cdd3; text-align: left; cursor: pointer; }
.pos-nav__item svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pos-nav__item[data-view="rooms"] svg { fill: currentColor; stroke: none; }
.pos-nav__item:hover { background: rgba(255,255,255,.06); color: white; }
.pos-nav__item.is-active { background: var(--teal); color: white; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.pos-nav__item b { min-width: 22px; height: 22px; padding: 2px 6px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.13); font-size: 10px; }
.sidebar-note { margin-top: auto; padding: 15px 10px; display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.09); }
.sidebar-note > div { display: flex; flex-direction: column; }
.sidebar-note strong { font-size: 12px; }
.sidebar-note small { color: #92adb4; font-size: 10px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; }
.status-dot--online { background: #54d7a9; box-shadow: 0 0 0 4px rgba(84,215,169,.12); }
.sidebar-back { padding: 10px; color: #8faab2; font-size: 11px; }
.sidebar-back:hover { color: white; }
.pos-main { min-height: 100vh; margin-left: 246px; }
.pos-topbar { height: 82px; padding: 13px 28px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.sidebar-toggle { display: none; }
.pos-title { margin-right: auto; }
.pos-title p { margin: 0; color: var(--muted); font-size: 10px; }
.pos-title h1 { margin: 1px 0 0; font-size: 21px; line-height: 1.35; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.staff-chip { padding: 0; display: flex; align-items: center; gap: 9px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.staff-chip > span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 11px; font-weight: 800; }
.staff-chip > span:last-child { display: flex; flex-direction: column; }
.staff-chip strong { font-size: 11px; }
.staff-chip small { color: var(--muted); font-size: 9px; }
.demo-guide { min-height: 68px; padding: 10px 28px; display: grid; grid-template-columns: minmax(150px, .8fr) minmax(480px, 2fr) auto; align-items: center; gap: 22px; background: var(--navy-2); color: white; }
.demo-guide__intro { display: flex; flex-direction: column; }
.demo-guide__intro span { color: #83d4c3; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.demo-guide__intro strong { font-size: 11px; }
.demo-steps { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; }
.demo-steps li { position: relative; }
.demo-steps li:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 1px; background: #456471; }
.demo-steps li.is-complete:not(:last-child)::after { background: #63cbb5; }
.demo-steps button { position: relative; z-index: 1; width: 100%; padding: 0 3px; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: transparent; color: #8faab2; cursor: pointer; }
.demo-steps b { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #496875; border-radius: 50%; background: var(--navy-2); font-size: 10px; }
.demo-steps span { font-size: 9px; white-space: nowrap; }
.demo-steps li.is-current button, .demo-steps li.is-complete button { color: white; }
.demo-steps li.is-current b { border-color: var(--gold); background: var(--gold); color: white; box-shadow: 0 0 0 4px rgba(201,144,57,.13); }
.demo-steps li.is-complete b { border-color: var(--teal); background: var(--teal); }
.reset-button { min-height: 36px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #42616d; border-radius: 9px; background: transparent; color: #b8cdd3; font-size: 10px; cursor: pointer; }
.reset-button:hover { color: white; border-color: #6b8a95; }
.reset-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.view-container { padding: 24px 28px 38px; }
.pos-view { display: none; }
.pos-view.is-active { display: block; animation: view-in .2s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } }
.metric-grid { display: grid; gap: 12px; }
.metric-grid--pos { grid-template-columns: repeat(6, 1fr); margin-bottom: 16px; }
.metric-card { min-height: 85px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-sm); }
.metric-card__icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; }
.metric-card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.metric-card__icon--all { background: var(--navy); color: white; }
.metric-card__icon--occupied { background: var(--blue-light); color: var(--blue); }
.metric-card__icon--ready { background: var(--mint); color: var(--teal); }
.metric-card__icon--reserved { background: #edf0f8; color: #5f70a2; }
.metric-card__icon--cleaning { background: var(--gold-light); color: #9a691f; }
.metric-card__icon--maintenance { background: var(--purple-light); color: var(--purple); }
.metric-card span { display: flex; flex-direction: column; }
.metric-card small { color: var(--muted); font-size: 10px; }
.metric-card strong { font-size: 23px; line-height: 1.2; }
.pos-workspace { display: grid; grid-template-columns: minmax(600px, 2.3fr) minmax(270px, 1fr); gap: 16px; align-items: start; }
.room-board-card { min-width: 0; }
.room-toolbar { min-height: 58px; padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
.filter-pills { display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pills button { min-height: 32px; padding: 6px 9px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font-size: 10px; white-space: nowrap; cursor: pointer; }
.filter-pills button b { min-width: 19px; height: 19px; padding: 1px 5px; display: grid; place-items: center; border-radius: 999px; background: var(--paper); color: inherit; font-size: 9px; }
.filter-pills button.is-active { border-color: #b9dfd5; background: var(--mint-2); color: var(--teal); font-weight: 700; }
.filter-pills button.is-active b { background: white; }
.search-field { width: 185px; flex: 0 0 auto; position: relative; }
.search-field svg { position: absolute; top: 50%; left: 10px; width: 15px; height: 15px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; }
.search-field input { width: 100%; height: 34px; padding: 6px 9px 6px 32px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); font-size: 10px; }
.floor-legend { padding: 12px 18px 5px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; color: var(--muted); font-size: 9px; font-weight: 700; text-align: center; }
.room-grid { padding: 8px 18px 16px; display: grid; grid-template-columns: repeat(6, minmax(78px, 1fr)); gap: 9px; }
.room-grid-empty { grid-column: 1 / -1; padding: 30px; color: var(--muted); font-size: 11px; text-align: center; }
.room-card { min-height: 76px; padding: 9px; position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; border: 1px solid transparent; border-left-width: 4px; border-radius: 10px; background: var(--paper); text-align: left; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.room-card:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16,43,59,.09); }
.room-card.is-selected { box-shadow: 0 0 0 2px var(--teal), 0 8px 18px rgba(16,43,59,.09); }
.room-card strong { font-size: 16px; line-height: 1; }
.room-card span { max-width: 100%; color: var(--muted); font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-card small { font-size: 8px; font-weight: 700; }
.room-card--occupied { background: var(--blue-light); border-color: #b8d0e2; border-left-color: var(--blue); }
.room-card--occupied small { color: var(--blue); }
.room-card--ready { background: var(--mint-2); border-color: #c9e7dd; border-left-color: var(--teal); }
.room-card--ready small { color: var(--teal); }
.room-card--reserved { background: #edf0f8; border-color: #d0d6e8; border-left-color: #5f70a2; }
.room-card--reserved small { color: #5f70a2; }
.room-card--cleaning { background: #fff8eb; border-color: #efd9b8; border-left-color: var(--gold); }
.room-card--cleaning small { color: #93621c; }
.room-card--maintenance { background: #f3f0f5; border-color: #ddd5e5; border-left-color: var(--purple); }
.room-card--maintenance small { color: var(--purple); }
.room-legend { padding: 10px 18px 15px; display: flex; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.room-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.status-swatch { width: 8px; height: 8px; border-radius: 3px; }
.status-occupied { background: var(--blue); }
.status-ready { background: var(--teal); }
.status-reserved { background: #5f70a2; }
.status-cleaning { background: var(--gold); }
.status-maintenance { background: var(--purple); }
.detail-card { min-height: 480px; overflow: hidden; }
.empty-detail { min-height: 480px; padding: 30px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-detail__icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-2); color: var(--teal); }
.empty-detail__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.empty-detail h2 { margin: 15px 0 4px; font-size: 18px; }
.empty-detail p { max-width: 230px; margin: 0; color: var(--muted); font-size: 11px; }
.room-detail__head { padding: 22px; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.room-detail__head p { margin: 0 0 5px; color: #b9d4da; font-size: 10px; }
.room-detail__head h2 { margin: 0; font-size: 30px; line-height: 1.2; }
.room-detail__head > span { margin-top: 10px; display: inline-flex; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 9px; font-weight: 700; }
.room-detail__body { padding: 18px 20px; }
.detail-list { margin: 0; }
.detail-list > div { padding: 10px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); font-size: 10px; }
.detail-list dd { margin: 0; font-size: 11px; font-weight: 700; text-align: right; }
.detail-actions { padding-top: 16px; display: grid; gap: 8px; }
.detail-actions .secondary-button { width: 100%; }
.calendar-card, .table-card { margin-bottom: 16px; }
.calendar-head { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.calendar-head strong { font-size: 14px; }
.calendar-grid { padding: 16px; display: grid; grid-template-columns: 115px repeat(6, minmax(90px, 1fr)); grid-auto-rows: 46px; overflow-x: auto; }
.calendar-grid > * { min-width: 0; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.calendar-grid > b { color: var(--muted); background: var(--paper); font-size: 10px; }
.calendar-grid > strong { justify-items: start; padding-left: 12px; color: var(--ink); background: var(--paper); font-size: 10px; }
.calendar-grid > em { min-width: 90px; }
.calendar-grid .booking-bar { align-self: center; justify-self: stretch; z-index: 1; height: 32px; margin: 0 5px; padding: 6px 10px; display: block; border: 0; border-radius: 7px; color: white; font-size: 9px; font-style: normal; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-bar--teal { background: var(--teal); }
.booking-bar--blue { background: var(--blue); }
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; min-width: 790px; border-collapse: collapse; }
.data-table th { padding: 11px 16px; background: var(--paper); color: var(--muted); font-size: 9px; font-weight: 700; text-align: left; }
.data-table td { padding: 13px 16px; border-top: 1px solid var(--line); font-size: 10px; }
.data-table td strong { display: block; font-size: 11px; }
.data-table td small { color: var(--muted); }
.data-table button { border: 0; background: transparent; color: var(--teal); font-size: 10px; font-weight: 700; cursor: pointer; }
.status-chip { min-height: 23px; padding: 3px 8px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 8px; font-weight: 750; white-space: nowrap; }
.status-chip--occupied { color: var(--blue); background: var(--blue-light); }
.status-chip--reserved { color: #5f70a2; background: #edf0f8; }
.status-chip--ready { color: var(--teal); background: var(--mint); }
.status-chip--cleaning { color: #93621c; background: var(--gold-light); }
.status-chip--maintenance { color: var(--purple); background: var(--purple-light); }
.operation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.operation-card { overflow: hidden; }
.operation-card > header { padding: 18px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.operation-card > header p, .operation-card > header h2 { margin: 0; }
.operation-card > header p { color: var(--muted); font-size: 10px; }
.operation-card > header h2 { font-size: 18px; }
.operation-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; font-size: 20px; font-weight: 800; }
.operation-icon--in { color: var(--teal); background: var(--mint); }
.operation-icon--out { color: var(--gold); background: var(--gold-light); }
.operation-row { padding: 15px 20px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.operation-row:last-child { border-bottom: 0; }
.operation-row__time { color: var(--muted); font-size: 9px; }
.operation-row > div { min-width: 0; display: flex; flex-direction: column; }
.operation-row strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.operation-row small { color: var(--muted); font-size: 9px; }
.operation-row button { min-height: 32px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--teal); font-size: 9px; font-weight: 700; cursor: pointer; }
.housekeeping-summary { margin-bottom: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.housekeeping-summary article { min-height: 74px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 13px; background: white; }
.housekeeping-summary span { display: flex; flex-direction: column; }
.housekeeping-summary small { color: var(--muted); font-size: 9px; }
.housekeeping-summary strong { font-size: 12px; }
.housekeeping-summary b { font-size: 25px; }
.housekeeping-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.housekeeping-lane { min-height: 350px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #edf2f1; }
.housekeeping-lane > header { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.housekeeping-lane h2 { margin: 0; font-size: 13px; }
.housekeeping-lane header span { min-width: 24px; height: 24px; padding: 2px 7px; display: grid; place-items: center; border-radius: 999px; background: white; font-size: 10px; font-weight: 800; }
.task-card { margin-bottom: 9px; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 11px; background: white; box-shadow: var(--shadow-sm); }
.task-card--working { border-left-color: var(--blue); }
.task-card--ready { border-left-color: var(--teal); }
.task-card__top { display: flex; justify-content: space-between; }
.task-card__top strong { font-size: 18px; }
.task-card__top span { color: var(--muted); font-size: 9px; }
.task-card p { margin: 7px 0 12px; color: var(--muted); font-size: 9px; }
.task-card button { width: 100%; min-height: 32px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--teal); font-size: 9px; font-weight: 750; cursor: pointer; }
.task-card button:hover { background: var(--mint-2); }
.lane-empty { padding: 35px 8px; color: var(--muted); font-size: 9px; text-align: center; }

/* Dialogs */
.app-dialog, .owner-dialog { width: min(720px, calc(100% - 30px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 19px; background: white; color: var(--ink); box-shadow: 0 24px 80px rgba(5,25,35,.28); overflow: auto; }
.app-dialog::backdrop, .owner-dialog::backdrop { background: rgba(8, 29, 39, .62); backdrop-filter: blur(3px); }
.compact-dialog { width: min(520px, calc(100% - 30px)); }
.folio-dialog { width: min(820px, calc(100% - 30px)); }
.receipt-dialog { width: min(500px, calc(100% - 30px)); }
.dialog-header { min-height: 76px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-size: 21px; }
.dialog-body { padding: 20px; }
.dialog-footer { min-height: 68px; padding: 12px 20px; display: flex; justify-content: flex-end; align-items: center; gap: 9px; border-top: 1px solid var(--line); background: #fbfdfc; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field--wide { grid-column: 1 / -1; }
.field > span, .room-picker legend, .payment-methods legend { font-size: 10px; font-weight: 700; }
.field input { width: 100%; height: 42px; padding: 8px 11px; border: 1px solid var(--line-dark); border-radius: 9px; background: white; color: var(--ink); font-size: 11px; }
.field input:focus { border-color: var(--teal); outline: 3px solid rgba(0,127,122,.1); }
.room-picker, .payment-methods { margin: 18px 0 0; padding: 0; border: 0; }
.room-picker > p { margin: 2px 0 10px; color: var(--muted); font-size: 9px; }
.room-picker > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.room-option input, .payment-methods input { position: absolute; opacity: 0; pointer-events: none; }
.room-option span { min-height: 52px; padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); cursor: pointer; }
.room-option strong { font-size: 13px; }
.room-option small { color: var(--muted); font-size: 8px; }
.room-option input:checked + span { border-color: var(--teal); background: var(--mint); color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.room-option input:focus-visible + span, .payment-methods input:focus-visible + span { outline: 3px solid rgba(201,144,57,.55); outline-offset: 2px; }
.bill-preview { margin-top: 18px; padding: 13px 15px; border-radius: 11px; background: var(--paper); }
.bill-preview > div { padding: 4px 0; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 9px; }
.bill-preview strong { color: var(--ink); font-size: 10px; }
.bill-preview__total { margin-top: 6px; padding-top: 10px !important; border-top: 1px solid var(--line); color: var(--ink) !important; font-weight: 700; }
.bill-preview__total strong { color: var(--teal); font-size: 13px; }
.form-error { min-height: 17px; margin: 8px 0 0; color: var(--red); font-size: 9px; font-weight: 650; }
.guest-summary { padding: 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 10px; font-weight: 800; }
.guest-summary > div { min-width: 0; display: flex; flex-direction: column; }
.guest-summary strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guest-summary small { color: var(--muted); font-size: 9px; }
.check-list { margin: 16px 0; display: grid; gap: 8px; }
.check-list p { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 10px; }
.check-list svg { width: 19px; height: 19px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--teal); fill: none; stroke: currentColor; stroke-width: 2; }
.deposit-card { padding: 14px; border: 1px solid #ead4b3; border-radius: 11px; background: var(--gold-light); }
.deposit-card > div { display: flex; justify-content: space-between; gap: 10px; }
.deposit-card span { font-size: 10px; }
.deposit-card strong { font-size: 16px; }
.deposit-card p { margin: 5px 0 0; color: #855d22; font-size: 9px; }
.folio-layout { margin-top: 15px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 15px; }
.folio-lines { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.folio-line { padding: 12px 14px; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.folio-line:last-child { border-bottom: 0; }
.folio-line > span { display: flex; flex-direction: column; }
.folio-line span strong { font-size: 10px; }
.folio-line span small { color: var(--muted); font-size: 8px; }
.folio-line > strong { font-size: 10px; white-space: nowrap; }
.folio-line--negative > strong { color: var(--red); }
.folio-line--total { background: var(--mint-2); }
.folio-line--total span strong, .folio-line--total > strong { color: var(--teal); font-size: 13px; }
.charge-panel { padding: 14px; border-radius: 11px; background: var(--paper); }
.product-card { margin: 9px 0 12px; padding: 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.product-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-light); color: var(--blue); }
.product-card > div { display: flex; flex-direction: column; }
.product-card strong { font-size: 9px; }
.product-card small, .product-card > span:last-child { color: var(--muted); font-size: 8px; }
.microcopy { margin: 10px 0 0; color: var(--muted); font-size: 8px; }
.payment-total { padding: 18px; border-radius: 13px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; text-align: center; }
.payment-total > span { color: #b9d4da; font-size: 10px; }
.payment-total strong { margin: 3px 0; display: block; font-size: 28px; }
.payment-total strong small { font-size: 11px; }
.payment-total p { margin: 0; color: #9fbbc2; font-size: 8px; }
.payment-methods { margin-bottom: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.payment-methods legend { grid-column: 1 / -1; margin-bottom: 6px; }
.payment-methods label span { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 9px; cursor: pointer; }
.payment-methods input:checked + span { border-color: var(--teal); background: var(--mint); color: var(--teal); font-weight: 750; }
.checkout-note { margin-top: 15px; padding: 12px; display: flex; gap: 10px; border-radius: 10px; background: var(--gold-light); }
.checkout-note svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: #93621c; stroke-width: 1.7; }
.checkout-note p { margin: 0; display: flex; flex-direction: column; }
.checkout-note strong { color: #825a20; font-size: 9px; }
.checkout-note span { color: #825a20; font-size: 8px; }
.receipt-sheet { width: 100%; max-width: 360px; margin: 0 auto; padding: 24px; border: 1px solid var(--line); background: white; color: #233b45; }
.receipt-sheet > header { text-align: center; }
.receipt-sheet .brand-mark { margin: 0 auto 8px; }
.receipt-sheet h2, .receipt-sheet p { margin: 0; }
.receipt-sheet > header p { color: var(--muted); font-size: 9px; }
.receipt-sheet dl { margin: 20px 0; padding: 10px 0; border-top: 1px dashed #b9c9c8; border-bottom: 1px dashed #b9c9c8; }
.receipt-sheet dl > div { padding: 3px 0; display: flex; justify-content: space-between; gap: 16px; }
.receipt-sheet dt { color: var(--muted); font-size: 8px; }
.receipt-sheet dd { margin: 0; font-size: 8px; font-weight: 700; text-align: right; }
.receipt-lines p { padding: 5px 0; display: flex; justify-content: space-between; gap: 12px; font-size: 9px; }
.receipt-total { margin-top: 8px !important; padding-top: 12px !important; border-top: 1px solid #233b45; font-size: 12px !important; }
.receipt-sheet > footer { margin-top: 22px; text-align: center; font-size: 10px; }
.receipt-sheet > footer small { color: var(--muted); font-size: 7px; }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(390px, calc(100% - 30px)); min-height: 48px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; border-radius: 12px; background: var(--navy); color: white; box-shadow: var(--shadow-md); font-size: 11px; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); fill: none; stroke: white; stroke-width: 2; }
.sidebar-scrim { display: none; }

/* Owner mobile app */
.owner-page { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 1fr) 460px minmax(40px, 10vw); align-items: start; background: radial-gradient(circle at 20% 20%, #1c4c5b, var(--navy) 42%, #0b2330 100%); }
.owner-stage-copy { position: sticky; top: 0; min-height: 100vh; padding: clamp(40px, 7vw, 92px); display: flex; flex-direction: column; align-items: flex-start; color: white; }
.owner-stage-copy .eyebrow { margin-top: auto; }
.owner-stage-copy h1 { margin: 8px 0 18px; font-size: clamp(36px, 4vw, 56px); line-height: 1.25; letter-spacing: -.04em; }
.owner-stage-copy > p:not(.eyebrow) { max-width: 570px; margin: 0 0 auto; color: #b9d1d6; font-size: 16px; }
.stage-back { margin-top: 50px; color: #8fc7bc; font-size: 12px; }
.owner-shell { width: 100%; min-height: 100vh; position: relative; padding-bottom: calc(82px + env(safe-area-inset-bottom)); background: #f4f7f6; box-shadow: 0 0 70px rgba(0,0,0,.28); overflow: hidden; }
.owner-header { height: 73px; padding: calc(12px + env(safe-area-inset-top)) 20px 12px; display: flex; align-items: center; justify-content: space-between; background: white; border-bottom: 1px solid var(--line); }
.owner-brand { display: flex; align-items: center; gap: 10px; }
.owner-brand .brand-mark { width: 36px; height: 36px; border-radius: 12px; font-size: 17px; }
.owner-brand > span:last-child { display: flex; flex-direction: column; }
.owner-brand strong { font-size: 12px; }
.owner-brand small { color: var(--muted); font-size: 8px; }
.owner-avatar { width: 37px; height: 37px; position: relative; border: 0; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 9px; font-weight: 800; cursor: pointer; }
.owner-avatar span { position: absolute; right: 0; bottom: 1px; width: 9px; height: 9px; border: 2px solid white; border-radius: 50%; background: #39b983; }
.owner-view { display: none; padding: 20px 17px 26px; }
.owner-view.is-active { display: block; animation: view-in .2s ease both; }
.owner-greeting { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.owner-greeting p { margin: 0; color: var(--muted); font-size: 9px; }
.owner-greeting h1 { margin: 2px 0 0; font-size: 21px; line-height: 1.4; }
.owner-greeting .sample-badge { margin-top: 3px; padding: 4px 8px; font-size: 8px; }
.period-switcher { margin: 14px 0; padding: 4px; display: grid; grid-template-columns: .8fr 1fr 1.25fr; gap: 3px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.period-switcher button { min-height: 35px; padding: 6px 8px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 9px; cursor: pointer; }
.period-switcher button.is-active { background: var(--navy); color: white; font-weight: 700; box-shadow: 0 4px 10px rgba(16,43,59,.14); }
.period-switcher svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.occupancy-hero { min-height: 162px; padding: 19px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #1b5360); color: white; box-shadow: 0 15px 32px rgba(16,43,59,.2); overflow: hidden; }
.occupancy-hero > div:first-child { display: flex; flex-direction: column; }
.occupancy-hero p { margin: 0; color: #b8d2d7; font-size: 9px; }
.occupancy-hero strong { margin: 3px 0; font-size: 42px; line-height: 1.1; }
.occupancy-hero strong small { color: #80d5c2; font-size: 16px; }
.occupancy-hero > div:first-child > span { color: #a9c4ca; font-size: 9px; }
.occupancy-ring { --percent: 60; width: 108px; height: 108px; flex: 0 0 auto; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#5dd2b8 calc(var(--percent) * 1%), rgba(255,255,255,.13) 0); }
.occupancy-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--navy-2); }
.occupancy-ring > span { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.occupancy-ring b { font-size: 24px; line-height: 1.2; }
.occupancy-ring small { color: #abd0d2; font-size: 8px; }
.owner-metrics { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.owner-metric { min-height: 88px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; text-align: left; box-shadow: var(--shadow-sm); cursor: pointer; }
.owner-metric--wide { grid-column: 1 / -1; }
.owner-metric__icon { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; }
.owner-metric__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.owner-metric__icon--green { color: var(--teal); background: var(--mint); }
.owner-metric__icon--amber { color: #9a691f; background: var(--gold-light); }
.owner-metric__icon--blue { color: var(--blue); background: var(--blue-light); }
.owner-metric > span:not(.owner-metric__icon) { min-width: 0; display: flex; flex-direction: column; }
.owner-metric small { color: var(--muted); font-size: 8px; }
.owner-metric strong { font-size: 15px; line-height: 1.5; white-space: nowrap; }
.owner-metric em { color: var(--teal); font-size: 7px; font-style: normal; font-weight: 700; }
.owner-metric em svg { width: 9px; height: 9px; display: inline; fill: none; stroke: currentColor; stroke-width: 2; }
.owner-metric em.neutral { color: var(--muted); }
.owner-metric .chevron { width: 17px; height: 17px; margin-left: auto; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.mobile-card { margin-top: 12px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: var(--shadow-sm); }
.mobile-card > header { min-height: 63px; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mobile-card > header > div { display: flex; flex-direction: column; }
.mobile-card header p { margin: 0; color: var(--muted); font-size: 8px; }
.mobile-card header strong { font-size: 11px; }
.mobile-card header > span { padding: 3px 7px; border-radius: 999px; background: var(--paper); color: var(--muted); font-size: 7px; }
.mini-chart { height: 104px; padding: 20px 18px 0; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 10px; background: linear-gradient(to top, rgba(220,230,229,.55) 1px, transparent 1px) 0 0 / 100% 33.33%; }
.mini-chart i { min-height: 8px; position: relative; display: block; border-radius: 4px 4px 1px 1px; background: linear-gradient(to top, var(--teal), #55c4ae); animation: bar-grow .45s ease both; transform-origin: bottom; }
.mini-chart i:last-child { background: linear-gradient(to top, var(--gold), #e0b36e); }
@keyframes bar-grow { from { transform: scaleY(.05); } }
.chart-labels { padding: 4px 16px 12px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; color: var(--muted); font-size: 7px; text-align: center; }
.today-card header button { border: 0; background: transparent; color: var(--teal); font-size: 8px; font-weight: 700; cursor: pointer; }
.today-row { min-height: 66px; padding: 11px 15px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.today-row:last-child { border-bottom: 0; }
.movement-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 17px; font-weight: 800; }
.movement-icon--in { color: var(--teal); background: var(--mint); }
.movement-icon--out { color: var(--gold); background: var(--gold-light); }
.today-row > div { display: flex; flex-direction: column; }
.today-row strong { font-size: 10px; }
.today-row small { color: var(--muted); font-size: 8px; }
.today-row > b { font-size: 17px; }
.owner-disclaimer { margin: 15px 8px 0; color: #829399; font-size: 7px; text-align: center; }
.owner-bottom-nav { position: fixed; z-index: 10; right: 10vw; bottom: 0; width: 460px; height: calc(68px + env(safe-area-inset-bottom)); padding: 7px 26px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.owner-bottom-nav button { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: #899b9f; font-size: 7px; cursor: pointer; }
.owner-bottom-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.owner-bottom-nav button:first-child svg { fill: currentColor; stroke: none; }
.owner-bottom-nav button.is-active { color: var(--teal); font-weight: 750; }
.owner-page-title { min-height: 52px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.owner-page-title p, .owner-page-title h1 { margin: 0; }
.owner-page-title p { color: var(--muted); font-size: 8px; }
.owner-page-title h1 { font-size: 20px; line-height: 1.4; }
.owner-back { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); cursor: pointer; }
.room-report-hero { min-height: 125px; padding: 15px 20px; display: flex; align-items: center; gap: 20px; }
.occupancy-ring--small { width: 86px; height: 86px; background: conic-gradient(var(--teal) calc(var(--percent) * 1%), var(--line) 0); }
.occupancy-ring--small::before { inset: 8px; background: white; }
.occupancy-ring--small b { color: var(--teal); font-size: 17px; }
.occupancy-ring--small small { color: var(--muted); }
.room-report-hero > div:last-child { display: flex; flex-direction: column; }
.room-report-hero p { margin: 0; color: var(--muted); font-size: 8px; }
.room-report-hero strong { font-size: 15px; }
.room-report-hero > div:last-child small { color: var(--muted); font-size: 9px; }
.room-report-grid { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.room-report-grid article { min-height: 64px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.room-report-grid i { width: 9px; height: 30px; border-radius: 5px; }
.room-report-grid span { display: flex; flex-direction: column; }
.room-report-grid small { color: var(--muted); font-size: 8px; }
.room-report-grid strong { font-size: 16px; }
.owner-room-list { padding: 4px 15px; }
.owner-room-row { min-height: 58px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.owner-room-row:last-child { border-bottom: 0; }
.owner-room-row > strong { font-size: 12px; }
.owner-room-row > div { min-width: 0; display: flex; flex-direction: column; }
.owner-room-row div strong { font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-room-row div small { color: var(--muted); font-size: 7px; }
.finance-hero { min-height: 135px; padding: 20px; display: flex; flex-direction: column; justify-content: center; border-radius: 17px; background: linear-gradient(135deg, var(--teal), #006864); color: white; box-shadow: 0 14px 28px rgba(0,127,122,.2); }
.finance-hero > small { color: #c8eee5; font-size: 8px; }
.finance-hero > strong { margin: 4px 0; font-size: 28px; }
.finance-hero > strong span { font-size: 9px; }
.finance-hero p { margin: 0; color: #d8f2ec; font-size: 8px; }
.finance-hero p svg { width: 10px; height: 10px; display: inline; fill: none; stroke: currentColor; stroke-width: 2; }
.finance-section { padding-bottom: 12px; }
.breakdown-row { padding: 11px 15px 0; }
.breakdown-row > div { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; }
.breakdown-row > div b { font-size: 9px; }
.breakdown-row > i { height: 6px; margin-top: 7px; display: block; border-radius: 5px; background: var(--paper); overflow: hidden; }
.breakdown-row > i span { height: 100%; display: block; border-radius: inherit; background: var(--teal); }
.breakdown-row > i span.gold { background: var(--gold); }
.payment-row { padding: 10px 15px 2px; }
.payment-row > div { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; }
.payment-row > i { height: 5px; margin-top: 6px; display: block; border-radius: 5px; background: var(--paper); }
.payment-row > i span { height: 100%; display: block; border-radius: 5px; background: var(--blue); }
.expense-list { padding: 2px 15px; }
.expense-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); font-size: 8px; }
.expense-row:last-child { border-bottom: 0; }
.expense-row span { display: flex; align-items: center; gap: 8px; }
.expense-row i { width: 8px; height: 8px; border-radius: 3px; background: var(--gold); }
.expense-row:nth-child(2) i { background: var(--blue); }
.expense-row:nth-child(3) i { background: var(--purple); }
.outstanding-card { padding: 14px; display: flex; align-items: center; gap: 12px; }
.outstanding-card > div { display: flex; flex-direction: column; }
.outstanding-card small { color: var(--muted); font-size: 8px; }
.outstanding-card strong { font-size: 14px; }
.outstanding-card p { margin: 0; color: var(--blue); font-size: 8px; }
.owner-dialog { width: min(410px, calc(100% - 28px)); }
.owner-dialog form { padding: 18px; }
.owner-dialog header { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; }
.owner-dialog header p, .owner-dialog header strong { margin: 0; display: block; }
.owner-dialog header p { color: var(--muted); font-size: 8px; }
.owner-dialog header strong { font-size: 17px; }
.owner-dialog header button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; }
.owner-dialog header svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.owner-dialog label { margin-bottom: 11px; display: flex; flex-direction: column; gap: 4px; }
.owner-dialog label span { font-size: 9px; font-weight: 700; }
.owner-dialog input { height: 42px; padding: 8px 10px; border: 1px solid var(--line-dark); border-radius: 9px; color: var(--ink); }
.owner-dialog footer { margin: 10px -18px -18px; padding: 12px 18px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: var(--paper); }
.owner-dialog footer button { min-height: 39px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 9px; font-weight: 700; }
.owner-dialog footer button[type="submit"] { border-color: var(--teal); background: var(--teal); color: white; }

@media (max-width: 1199px) {
  .pos-sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: 12px 0 35px rgba(0,0,0,.22); }
  .pos-sidebar.is-open { transform: translateX(0); }
  .pos-main { margin-left: 0; }
  .sidebar-toggle { display: inline-grid; }
  .sidebar-scrim { position: fixed; z-index: 35; inset: 0; background: rgba(6,25,35,.45); }
  .sidebar-scrim.is-visible { display: block; }
  .pos-workspace { grid-template-columns: 1fr; }
  .detail-card { min-height: 0; }
  .empty-detail { min-height: 220px; }
  .metric-grid--pos { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 900px) {
  .demo-guide { grid-template-columns: 1fr auto; }
  .demo-guide__intro { display: none; }
  .demo-steps { min-width: 510px; overflow: hidden; }
  .room-grid { grid-template-columns: repeat(5, minmax(78px, 1fr)); }
  .metric-grid--pos { grid-template-columns: repeat(3, 1fr); }
  .metric-card:nth-child(n+4) { display: none; }
}

@media (max-width: 760px) {
  .launch-shell { width: min(100% - 28px, 620px); }
  .launch-intro { margin: 70px 0 30px; }
  .launch-intro h1 { font-size: 39px; }
  .launch-intro > p:last-child { font-size: 14px; }
  .launch-grid { grid-template-columns: 1fr; }
  .launch-card { min-height: 260px; padding: 22px; }
  .launch-card__copy strong { font-size: 23px; }
  .launch-footer { flex-wrap: wrap; }
  .pos-topbar { padding-inline: 16px; }
  .view-container { padding-inline: 16px; }
  .demo-guide { padding-inline: 16px; overflow-x: auto; }
  .topbar-actions .sample-badge { display: none; }
  .staff-chip > span:last-child { display: none; }
  .room-toolbar { align-items: stretch; flex-direction: column; }
  .search-field { width: 100%; }
  .room-grid { grid-template-columns: repeat(3, 1fr); }
  .operation-grid, .housekeeping-board { grid-template-columns: 1fr; }
  .housekeeping-summary { grid-template-columns: 1fr; }
  .form-grid, .folio-layout { grid-template-columns: 1fr; }
  .room-picker > div { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1050px) {
  .owner-page { display: block; background: #f4f7f6; }
  .owner-stage-copy { display: none; }
  .owner-shell { width: min(460px, 100%); margin: 0 auto; box-shadow: none; }
  .owner-bottom-nav { right: calc(50% - 230px); }
}

@media (max-width: 480px) {
  .owner-shell { width: 100%; }
  .owner-view { padding-inline: 14px; }
  .owner-header { padding-inline: 16px; }
  .owner-bottom-nav { right: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  body * { visibility: hidden !important; }
  .receipt-sheet, .receipt-sheet * { visibility: visible !important; }
  .receipt-sheet { position: fixed; inset: 0; width: 80mm; max-width: none; margin: 0; border: 0; }
  .no-print { display: none !important; }
}
