@charset "UTF-8";

/* Adria workspace: one shared visual system for desk, calendar and guest flows. */
:root {
  color-scheme: light;
  --ink: #152f35;
  --muted: #596b69;
  --line: #dce3df;
  --paper: #ffffff;
  --canvas: #f6f7f4;
  --navy: #152f35;
  --navy-hover: #244147;
  --teal: #235c50;
  --teal-light: #eaf2ed;
  --gold: #855e24;
  --gold-light: #f7f0e2;
  --blue: #315e85;
  --blue-light: #eaf0f7;
  --red: #9d4035;
  --red-light: #faece8;
  --shadow: 0 2px 6px #152f3505;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #538d7d; outline-offset: 3px; }
input, select, textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #c7d2cb; border-radius: 10px; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.4; }
input::placeholder, textarea::placeholder { color: #72817c; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
textarea { min-height: 106px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--teal); }
input[readonly] { background: #f1f4f0; color: #53665f; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; }
h1 { font-size: 36px; line-height: 1.2; letter-spacing: -1.2px; }
h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.5px; }
h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.25px; }
svg { display: block; flex-shrink: 0; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[hidden], .hidden { display: none !important; }
body.overlay-open { overflow: hidden; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 300; padding: 12px 18px; border: 2px solid var(--teal); border-radius: 10px; color: var(--teal); background: white; font-weight: 600; }
.skip-link:focus { top: 12px; }
#main:focus { outline: none; }

/* Navigation and page frame. */
.app-shell { min-height: 100dvh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; flex-direction: column; width: 236px; padding: 30px 16px 18px; overflow-y: auto; background: var(--navy); color: #c5d2cf; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 12px 32px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 38px; height: 38px; color: #c1ddcb; }
.brand-name { display: block; color: #fff; font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -1.2px; }
.brand-period { color: #b3d1bf; }
.brand-sub { display: block; margin-top: 8px; color: #b5cac5; font-size: 12px; line-height: 1.25; letter-spacing: .35px; }
.nav-label { padding: 20px 14px 10px; color: #a2bab4; font-size: 12px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.nav-group { margin-top: 22px; }
.nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 4px 0; padding: 12px 14px; border: 0; border-radius: 10px; background: transparent; color: #c7d5d1; font-size: 15px; font-weight: 550; text-align: left; text-decoration: none; transition: background .15s, color .15s; }
.nav-item:hover { background: var(--navy-hover); color: #fff; text-decoration: none; }
.nav-item.active { background: #34594f; color: #fff; }
.nav-item.active .icon { color: #d4e9db; }
.nav-item .icon { width: 20px; height: 20px; }
.nav-count { margin-left: auto; padding: 2px 7px; border-radius: 6px; background: #ffffff17; color: #e4eee9; font-size: 12px; }
.sidebar-footer { margin-top: auto; padding: 28px 8px 0; }
.sidebar-footer .user { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid #ffffff22; }
.sidebar-demo { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; padding: 14px 12px; border: 1px solid #42605b; border-radius: 10px; background: #203d41; }
.sidebar-demo .icon { margin-top: 2px; color: #b3d1bf; }
.sidebar-demo strong { display: block; color: #e9f1ec; font-size: 14px; font-weight: 600; }
.sidebar-demo span { display: block; margin-top: 3px; color: #b7cdc4; font-size: 12px; }
.hotel-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #527269; border-radius: 10px; background: #2b4c46; color: #e0ece6; font-size: 14px; font-weight: 650; }
.hotel-meta { min-width: 0; line-height: 1.45; }
.hotel-meta strong { display: block; color: #edf3ef; font-size: 14px; font-weight: 600; }
.hotel-meta span, .hotel-meta small { display: block; color: #b1c7bd; font-size: 12px; }
.hotel-switch { display: flex; align-items: center; gap: 10px; width: 100%; padding: 18px 0; border: 0; border-top: 1px solid #ffffff22; background: transparent; text-align: left; }
.hotel-switch > .icon { width: 16px; height: 16px; margin-left: auto; color: #b6cdc2; }
.sidebar-version { display: flex; align-items: center; gap: 7px; padding-top: 4px; color: #b0c5bc; font-size: 12px; }
.sidebar-version > span:last-child { margin-left: auto; }
.workspace { min-width: 0; margin-left: 236px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; padding: 0 32px; border-bottom: 1px solid var(--line); background: var(--paper); }
.breadcrumb { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.breadcrumb strong, .breadcrumb .current { color: var(--ink); font-weight: 600; }
.breadcrumb .icon { width: 15px; height: 15px; color: #6b7b75; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.property-label { color: #476055; font-size: 14px; }
.demo-chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 12px; border: 1px solid #d8e2d1; border-radius: 8px; background: #eff5e9; color: #466b36; font-size: 12px; font-weight: 550; white-space: nowrap; }
.demo-chip:hover { border-color: #b2c6a4; background: #e8f1e0; }
.date-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 11px; border: 1px solid #d7e1ce; border-radius: 7px; background: #f4f8ef; color: #4f6c3e; font-size: 12px; font-weight: 600; white-space: nowrap; }
.topbar-divider { width: 1px; height: 26px; background: var(--line); }
.search-trigger { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; }
.search-trigger .icon { width: 19px; height: 19px; }
.shortcut-hint, kbd { display: inline-grid; place-items: center; min-width: 22px; height: 25px; padding: 0 6px; border: 1px solid var(--line); border-radius: 5px; background: #f6f8f4; color: #52655b; font-family: inherit; font-size: 12px; }
.icon-button { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #476257; }
.icon-button:hover { background: #edf2ec; color: var(--ink); }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: 11px; right: 11px; width: 6px; height: 6px; border-radius: 50%; background: #aa7b35; box-shadow: 0 0 0 3px #fff; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid white; border-radius: 50%; background: #e8e3d5; color: #695b3d; font-size: 13px; font-weight: 700; }
.mobile-menu, .mobile-overlay { display: none; }
.demo-banner { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 24px; border-bottom: 1px solid #e0e7dc; background: #edf2e8; color: #4e6552; font-size: 12px; text-align: center; }
.demo-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #75916b; }
.demo-banner button { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; }
.demo-banner .icon { width: 15px; height: 15px; }
#main { max-width: 1600px; margin: 0 auto; padding: 32px; }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1600px; margin: 0 auto; padding: 0 32px 26px; color: var(--muted); font-size: 12px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow, .card-eyebrow { display: block; margin-bottom: 8px; color: #52695b; font-size: 12px; font-weight: 650; line-height: 1.4; letter-spacing: 1.2px; text-transform: uppercase; }
.page-heading p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.page-intro { max-width: 740px; }
.heading-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Shared controls and surfaces. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 17px; border: 1px solid #cbd6ce; border-radius: 10px; background: #fff; color: #274e41; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none; transition: background .15s, border-color .15s; }
.btn:hover { border-color: #99b1a0; background: #f4f7f1; text-decoration: none; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { border-color: var(--teal); background: var(--teal); color: white; }
.btn-primary:hover { border-color: #19493e; background: #19493e; }
.btn-secondary { background: #fff; color: #294f43; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--teal); }
.btn-ghost:hover { border-color: transparent; background: #eaf1e9; }
.btn-danger { border-color: #dfb9b1; background: #fff; color: var(--red); }
.btn-danger:hover { border-color: #c9968a; background: var(--red-light); }
.btn-small { min-height: 46px; padding: 10px 13px; font-size: 14px; }
.btn-icon { width: 46px; padding: 10px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.inline-link { padding: 0; border: 0; background: transparent; color: var(--teal); font-size: inherit; font-weight: 550; text-align: left; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.panel, .calendar-panel, .table-panel, .desk-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.panel-header, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; }
.panel-header h2 { font-size: 22px; }
.panel-header p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.section-heading p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.section-heading .btn { flex-shrink: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-bottom: 28px; }
.stat { min-width: 0; padding: 23px 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; }
button.stat:hover { border-color: #8cae9b; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 550; }
.stat-icon { color: #56796a; }
.stat-icon .icon { width: 20px; height: 20px; }
.stat-number { display: block; margin: 15px 0 9px; font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.stat-number small, .stat-number > span { color: #5d7566; font-size: 18px; font-weight: 450; letter-spacing: 0; }
.stat-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; }
.stat-foot .icon { width: 15px; height: 15px; color: #637f6b; }
.stat-trend { color: #357343; font-size: 12px; font-weight: 550; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 28px; padding: 4px 9px; border-radius: 6px; background: #eef2eb; color: #4f654f; font-size: 12px; font-weight: 550; line-height: 1.4; white-space: nowrap; }
.badge-green { color: #2b663e; background: #e7f1e5; }
.badge-amber { color: #805a1b; background: #f6edda; }
.badge-blue { color: #315d87; background: #e9f0f8; }
.badge-muted { color: #56664e; background: #eef2e9; }
.badge-red { color: #963d30; background: #faeae4; }
.badge .icon { width: 14px; height: 14px; }
.notice { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 24px; padding: 18px 20px; border: 1px solid #d4e1cb; border-radius: 10px; background: #eef4e9; color: #425f35; font-size: 14px; line-height: 1.65; }
.notice > .icon { margin-top: 2px; }
.notice-amber { border-color: #e9dcb7; background: #faf4e7; color: #765d25; }
.review-callout { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid #d2e0d2; border-radius: 10px; background: #edf4ec; }
.review-callout p { margin-top: 5px; color: #49654b; font-size: 14px; line-height: 1.65; }
.note-box { padding: 16px 18px; border: 1px solid #e4dfc5; border-radius: 10px; background: #faf7eb; color: #71622e; font-size: 14px; line-height: 1.65; }
.demo-stamp { padding: 14px 16px; border: 1px dashed #a9beb0; border-radius: 10px; color: #4f6959; font-size: 12px; line-height: 1.65; }

/* Today: a focused reception desk with one clear next action per guest. */
.today-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: start; gap: 24px; }
.welcome-strip { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; padding: 20px 24px; border-radius: 12px; background: #eaf2e9; }
.welcome-strip > .icon, .welcome-strip > .welcome-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; color: var(--teal); }
.welcome-copy { flex: 1; min-width: 0; }
.welcome-copy strong { display: block; color: var(--ink); font-size: 16px; font-weight: 650; }
.welcome-copy p { margin-top: 4px; color: #4c6754; font-size: 14px; }
.guide-dismiss { display: inline-grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #42674e; }
.guide-dismiss:hover { background: #dbe9dc; }
.desk-tabs, .day-tabs { display: flex; align-items: center; gap: 28px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.desk-tabs button, .day-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 0; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 550; white-space: nowrap; }
.desk-tabs button.active, .day-tabs button.active { border-bottom-color: var(--teal); color: var(--teal); }
.desk-tabs button span, .day-tabs button span { padding: 2px 7px; border-radius: 5px; background: #eef3e9; color: #506b46; font-size: 12px; }
.desk-list { padding: 0; }
.desk-row { display: grid; grid-template-columns: minmax(170px,1fr) 100px 150px auto; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.desk-row:last-child { border-bottom: 0; }
.desk-row:hover { background: #fbfcf9; }
.desk-guest { min-width: 0; }
.desk-stay { font-size: 14px; }
.desk-stay strong { display: block; font-weight: 650; }
.desk-stay small, .desk-stay span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.desk-status { color: var(--muted); font-size: 14px; }
.desk-status > span:not(.badge) { display: block; margin-top: 5px; font-size: 12px; }
.desk-status small { display: block; margin-top: 5px; font-size: 12px; }
.desk-action { display: flex; justify-content: flex-end; }
.desk-footer { padding: 20px 24px; border-top: 1px solid var(--line); background: #fafcf6; }
.desk-footer .inline-link { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; font-size: 14px; }
.today-side { display: flex; flex-direction: column; gap: 22px; }
.quiet-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.quiet-card h2, .quiet-card h3 { margin-bottom: 16px; font-size: 18px; }
.quiet-card .section-heading { padding: 0; margin-bottom: 16px; }
.quiet-card .section-heading h2 { margin: 0; }
.quiet-card > p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.quiet-card .occupancy-track { margin-top: 20px; }
.quiet-card.followup-card .btn { margin-top: 20px; }
.quick-links { display: flex; flex-direction: column; gap: 6px; }
.quick-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 70px; padding: 13px 0; border: 0; border-bottom: 1px solid #e8ede4; background: transparent; text-align: left; }
.quick-link:last-child { border-bottom: 0; }
.quick-link:hover { color: var(--teal); }
.quick-link > .icon { width: 24px; height: 24px; color: #507a57; }
.quick-link > .icon:last-child { width: 18px; height: 18px; margin-left: auto; }
.quick-link > span { min-width: 0; }
.quick-link strong { display: block; font-size: 14px; font-weight: 650; }
.quick-link small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.guide-list { margin: -10px 0 24px; }
.guide-list .quick-link { padding: 20px 0; }
.guide-list .quick-link strong { font-size: 16px; }
.guide-list .quick-link small { font-size: 14px; line-height: 1.65; }
.occupancy-display { margin: 14px 0 18px; color: var(--ink); font-size: 46px; font-weight: 700; line-height: 1.15; letter-spacing: -1.6px; }
.occupancy-display span, .occupancy-display small { margin-left: 5px; color: #61795f; font-size: 20px; font-weight: 450; letter-spacing: -.2px; }
.occupancy-display strong { font-weight: 700; }
.occupancy-track { height: 8px; overflow: hidden; border-radius: 5px; background: #e7eee0; }
.occupancy-track > span, .occupancy-track > div { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.occupancy-key { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; color: var(--muted); font-size: 12px; }
.checklist { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: checklist; }
.checklist-step, .checklist > li { display: flex; align-items: flex-start; gap: 12px; counter-increment: checklist; color: var(--muted); font-size: 14px; }
.checklist-step > .icon, .checklist > li > .icon { margin-top: 2px; color: var(--teal); }
.checklist-step strong, .checklist > li strong { display: block; color: var(--ink); font-size: 14px; font-weight: 650; }
.checklist-step p, .checklist-step small, .checklist > li small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.checklist-number { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: #edf3e6; color: #3e6431; font-size: 12px; font-weight: 650; }

/* Reservation calendar: seven readable days, never compressed into tiny cells. */
.overview-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.toolbar h2 { font-size: 22px; }
.date-navigation { display: flex; align-items: center; gap: 6px; }
.date-navigation h2, .date-navigation strong { margin-right: 14px; font-size: 20px; font-weight: 650; white-space: nowrap; }
.date-navigation .icon-button { width: 42px; height: 46px; }
.date-navigation .icon { width: 18px; height: 18px; }
.date-range { color: var(--muted); font-size: 14px; }
.calendar-tools { display: flex; align-items: center; gap: 12px; }
.segmented { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #f3f6ef; }
.segmented button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 13px; border: 0; border-radius: 7px; background: transparent; color: #5c7153; font-size: 14px; font-weight: 550; }
.segmented button.active { background: #fff; color: var(--teal); box-shadow: 0 1px 4px #152f3510; }
.segmented .icon { width: 17px; height: 17px; }
.select-control { max-width: 200px; min-height: 46px; padding: 10px 30px 10px 12px; border-color: #cad6c8; border-radius: 10px; background-color: #fff; font-size: 14px; }
label.select-control { display: inline-flex; align-items: center; gap: 8px; max-width: none; padding: 0 10px 0 13px; border: 1px solid #cad6c8; }
label.select-control > .icon { width: 18px; height: 18px; color: #4b6c41; }
label.select-control select { min-height: 44px; padding: 9px 24px 9px 0; border: 0; border-radius: 7px; background: transparent; color: #3e5b35; font-size: 14px; }
.toolbar-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 24px; }
.calendar-filters { display: flex; align-items: center; gap: 10px; }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.legend-item { display: inline-flex; align-items: center; gap: 7px; color: #50674a; font-size: 12px; white-space: nowrap; }
.legend-dot { width: 9px; height: 9px; border-radius: 3px; background: #6c9c7a; }
.legend-dot.direct { background: #ac8944; }
.legend-dot.booking { background: #508b7c; }
.legend-dot.expedia { background: #8880ab; }
.calendar-scroll { max-height: 690px; overflow: auto; border-top: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #aabdad transparent; overscroll-behavior: contain; }
.calendar-grid { position: relative; display: grid; grid-template-columns: 164px repeat(7,minmax(112px,1fr)); min-width: 948px; isolation: isolate; }
.calendar-corner, .day-header { position: sticky; top: 0; z-index: 8; min-height: 80px; border-bottom: 1px solid var(--line); background: #f9fbf5; }
.calendar-corner { left: 0; z-index: 10; display: flex; align-items: center; padding-left: 22px; border-right: 1px solid var(--line); color: #4c6444; font-size: 12px; font-weight: 650; }
.day-header { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-right: 1px solid #e4eade; }
.day-name { color: #536c48; font-size: 12px; letter-spacing: .55px; text-transform: uppercase; }
.day-number { color: #263f21; font-size: 20px; font-weight: 650; line-height: 1.35; }
.day-header.today { background: #e6efdc; }
.day-header.today .day-name, .day-header.today .day-number { color: #305e27; }
.today-marker { color: #3d7235; font-size: 12px; font-weight: 650; line-height: 1.2; }
.floor-label { grid-column: 1/-1; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding: 10px 22px; border-top: 1px solid #dde6d4; border-bottom: 1px solid #dde6d4; background: #f1f5e9; color: #526f43; font-size: 12px; font-weight: 650; letter-spacing: .65px; text-transform: uppercase; }
.floor-label > span:last-child { font-size: 12px; font-weight: 450; letter-spacing: 0; text-transform: none; }
.room-label { position: sticky; left: 0; z-index: 5; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-start; column-gap: 8px; min-height: 70px; padding: 14px 18px 14px 22px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid #e4ebdc; background: #fff; text-align: left; }
button.room-label:hover { background: #f1f6e8; }
.room-number { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; line-height: 1.3; }
.room-type { display: block; width: 100%; margin-top: 2px; color: #5c7350; font-size: 12px; line-height: 1.35; }
.room-dot { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #659866; }
.room-dot.cleaning { background: #b89035; }
.room-dot.inspect { background: #8176a8; }
.room-dot.maintenance { background: #ab6555; }
.calendar-cell { min-width: 0; min-height: 70px; padding: 0; border: 0; border-right: 1px solid #e4ebdc; border-bottom: 1px solid #e4ebdc; border-radius: 0; background: #fff; text-align: left; }
.calendar-cell.today { background: #f5f9ed; }
.calendar-cell:hover { background: #e9f2db; }
.calendar-cell.drag-over { background: #d9e9ce; box-shadow: inset 0 0 0 2px #53864d; }
.calendar-day-cell { position: relative; }
.booking-bar { z-index: 3; display: flex; flex-direction: column; align-self: center; justify-content: center; gap: 3px; min-width: 0; min-height: 52px; margin: 8px 4px; padding: 8px 11px; overflow: hidden; border: 1px solid #b9d3c0; border-left: 3px solid #588b66; border-radius: 7px; background: #e8f1e6; color: #315e36; text-align: left; cursor: grab; transition: filter .15s, box-shadow .15s; }
.booking-bar:hover { filter: brightness(.975); box-shadow: 0 2px 6px #183d2012; }
.booking-bar:active { cursor: grabbing; }
.booking-bar.direct { border-color: #e5d2aa; border-left-color: #ac8944; background: #f7efdc; color: #74541d; }
.booking-bar.booking { border-color: #bed9cd; border-left-color: #4f8a74; background: #e7f2e9; color: #27583d; }
.booking-bar.expedia { border-color: #d1c9e1; border-left-color: #8a78ab; background: #f0eafa; color: #5c427d; }
.booking-bar.checked-out, .booking-bar.past-booking { opacity: .65; }
.booking-title { display: block; overflow: hidden; color: inherit; font-size: 14px; font-weight: 650; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.booking-meta { display: block; overflow: hidden; color: inherit; font-size: 12px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.booking-status-dot { display: inline-block; width: 5px; height: 5px; margin: 0 5px 2px 0; border-radius: 50%; background: currentColor; vertical-align: middle; }
.calendar-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 24px; border-top: 1px solid var(--line); color: #526d43; font-size: 12px; }
.calendar-foot > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.calendar-foot .icon { width: 15px; height: 15px; }
.occupancy-mini { display: flex; align-items: center; gap: 7px; }
.occupancy-mini strong { color: #3b682a; font-weight: 650; }
.booked-period-note { color: var(--muted); font-size: 14px; }

/* Guest lists, tables and housekeeping. */
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.table-toolbar input { max-width: 330px; }
.search-field { position: relative; display: flex; align-items: center; width: 320px; min-width: 0; color: #557443; }
.search-field > .icon { position: absolute; left: 14px; width: 20px; height: 20px; pointer-events: none; }
.search-field input { width: 100%; padding-left: 44px; background: #fbfcf8; }
.search-modal-input { width: 100%; margin-bottom: 18px; }
.search-modal-input input { min-height: 56px; font-size: 18px; }
.table-scroll { overflow: auto; scrollbar-width: thin; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.data-table th { padding: 16px 22px; border-bottom: 1px solid var(--line); background: #f8faf3; color: #4d6a3e; font-size: 12px; font-weight: 650; letter-spacing: .2px; white-space: nowrap; }
.data-table td { height: 72px; padding: 18px 22px; border-bottom: 1px solid #e5ebdc; color: #415b31; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fcfdf8; }
.data-table strong { color: #213e1b; font-weight: 650; }
.data-table small { display: block; margin-top: 4px; color: #5c774c; font-size: 12px; }
.table-row-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; }
.table-row-button:hover .guest-name { text-decoration: underline; }
.guest-cell { display: flex; align-items: center; gap: 13px; min-width: 0; }
.guest-initials { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: #eee9d8; color: #77602c; font-size: 13px; font-weight: 650; }
.guest-info { flex: 1; min-width: 0; }
.guest-name { display: block; overflow: hidden; color: var(--ink); font-size: 15px; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }
.guest-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.guest-count, .reservation-source { color: var(--muted); font-size: 14px; }
.source-indicator { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.empty-state { padding: 58px 28px; color: var(--muted); text-align: center; }
.empty-state > .icon { width: 38px; height: 38px; margin: 0 auto 18px; color: #638b4b; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { max-width: 390px; margin: 0 auto 20px; font-size: 14px; }
.room-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.room-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.room-card-top, .room-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.room-card-top strong { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.room-card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #eef4e4; color: #567a3d; }
.room-card-icon .icon { width: 23px; height: 23px; }
.room-card-meta { display: block; margin-top: 18px; }
.room-card-meta h2 { color: var(--ink); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.6px; }
.room-card-meta p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.room-card-guest { display: flex; align-items: center; gap: 8px; min-height: 22px; margin-top: 18px; color: #536e3d; font-size: 14px; }
.room-card-guest .icon { width: 17px; height: 17px; }
.room-card-bottom { flex-wrap: wrap; margin-top: 20px; padding-top: 17px; border-top: 1px solid #e4ebd9; color: var(--muted); font-size: 12px; }
.room-card select { width: auto; max-width: 100%; font-size: 14px; }
.room-card .btn { justify-content: center; }

/* Integration and implementation workspaces. */
.connection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.connection-card { display: flex; flex-direction: column; min-height: 264px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.connection-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.connection-logo { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 20px; border: 1px solid #d5e1c8; border-radius: 12px; background: #eef5e5; color: #416d26; font-size: 22px; font-weight: 700; }
.connection-logo .icon { width: 25px; height: 25px; }
.connection-logo.blue { border-color: #d5e1ec; background: #ebf1f8; color: #365f88; }
.connection-logo.sage { background: #edf5e5; color: #426d2d; }
.connection-logo.amber { border-color: #e8d8b7; background: #f9f0de; color: #8c6422; }
.connection-logo.rose { border-color: #e7cbc2; background: #f9eae4; color: #9a5b48; }
.connection-logo.navy { border-color: #cadbdc; background: #e9f0f0; color: #3a636c; }
.connection-card h2 { font-size: 22px; }
.connection-card h3 { font-size: 19px; }
.connection-tag { margin-top: 5px; color: var(--muted); font-size: 12px; }
.connection-description { margin: 14px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.connection-status { display: flex; align-items: center; gap: 8px; margin-top: auto; color: #5f6c46; font-size: 12px; }
.connection-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #e3ebd8; color: var(--muted); font-size: 12px; }
.connection-foot .btn { padding-left: 0; padding-right: 0; }
.integration-steps { counter-reset: steps; }
.integration-step { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #e1ead5; }
.integration-step::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #edf4e3; color: #3f672a; font-size: 13px; font-weight: 600; }
.integration-step p { margin: 2px 0; color: var(--muted); font-size: 14px; }
.channel-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 26px 0; }
.channel-summary .inline-link { display: flex; align-items: center; gap: 8px; }
.channel-logo { padding: 12px 0 25px; color: #153841; font-size: 30px; font-weight: 750; letter-spacing: -1px; }
.booking-word { color: #225885; font-size: 28px; }
.booking-word span { font-weight: 450; }
.expedia-word { color: #273b51; font-size: 30px; }
.expedia-word span { margin-left: 8px; color: #9c7e3b; }
.inventory-number { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 7px; border-radius: 8px; background: #eaf3e5; color: #3f692b; font-size: 14px; font-weight: 650; }
.inventory-number.sold-out { background: #f8eae3; color: #935039; font-size: 12px; }
.channel-distribution { display: flex; gap: 3px; height: 8px; overflow: hidden; margin: 18px 0; border-radius: 5px; }
.channel-distribution span:nth-child(1) { background: #658f6b; }
.channel-distribution span:nth-child(2) { background: #799db8; }
.channel-distribution span:nth-child(3) { background: #c0a05e; }
.availability-strip { display: flex; align-items: flex-end; gap: 5px; height: 36px; }
.availability-strip span { flex: 1; min-height: 5px; border-radius: 3px 3px 0 0; background: #a7c395; }
.availability-strip span.current { background: #50763a; }
.plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-bottom: 28px; }
.plan-card { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.plan-card h3 { margin-top: 10px; font-size: 18px; }
.plan-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.plan-number { margin-top: 16px; color: #355d22; font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -1px; }
.plan-number small, .plan-number > span { color: #52763b; font-size: 15px; font-weight: 450; letter-spacing: 0; }
.plan-details { margin-top: 28px; }
.plan-content { padding: 0 24px 26px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.plan-content p + p { margin-top: 16px; }
.plan-content > .btn { margin-top: 20px; }
.plan-content.detail-grid { padding-top: 6px; }
.plan-table td { line-height: 1.7; white-space: normal; }
.plan-table td:nth-child(2), .plan-table th { white-space: nowrap; }
.phase-bar { margin: 16px 0; padding: 18px 20px; border-left: 3px solid #658c48; border-radius: 0 10px 10px 0; background: #eef5e4; font-size: 14px; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.settings-note { max-width: 760px; }
.source-link { color: var(--teal); text-underline-offset: 3px; }
.finance-summary { display: flex; flex-wrap: wrap; gap: 22px; padding: 22px 24px; border-top: 1px solid var(--line); background: #f8fbf2; }
.finance-summary.stats-grid { display: grid; padding: 0; border: 0; background: transparent; }
.page-tabs { display: flex; align-items: center; gap: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.page-tabs button { min-height: 48px; padding: 12px 0; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-size: 14px; font-weight: 550; }
.page-tabs button.active { border-bottom-color: var(--teal); color: var(--teal); }
.page-tabs button > span { margin-left: 5px; color: #567540; font-size: 12px; }
.table-toolbar > .page-tabs { margin: 0; border: 0; }
.activity-list { padding: 6px 26px; }
.activity-item { display: flex; align-items: flex-start; gap: 16px; padding: 23px 0; border-bottom: 1px solid #e2ead4; }
.activity-item:last-child { border-bottom: 0; }
.activity-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: #edf5e3; color: #5a823b; }
.activity-icon .icon { width: 20px; height: 20px; }
.activity-copy { flex: 1; min-width: 0; font-size: 14px; }
.activity-copy strong { display: block; color: var(--ink); font-weight: 650; }
.activity-copy p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.activity-time { padding-top: 3px; color: var(--muted); font-size: 12px; white-space: nowrap; }

/* Drawers and forms. Footer actions stay visible while the content scrolls. */
.modal-backdrop, .drawer-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 26px; background: #102d3566; backdrop-filter: blur(2px); animation: fade-in .15s ease; }
.modal { display: flex; flex-direction: column; width: 660px; max-width: 100%; max-height: 92dvh; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 22px 80px #102f3530; animation: rise-in .18s ease; }
.modal.wide { width: 720px; }
.modal-header, .drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 26px 28px 24px; border-bottom: 1px solid var(--line); }
.modal-header #dialog-title, .modal-title { font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.5px; }
.modal-description { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.modal-body { min-height: 0; overflow-y: auto; padding: 28px; }
.modal-footer, .drawer-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-shrink: 0; padding: 20px 28px; border-top: 1px solid var(--line); background: #f9fbf5; }
.drawer-backdrop { align-items: stretch; justify-content: flex-end; padding: 0; }
.drawer { display: flex; flex-direction: column; width: 540px; max-width: 100%; min-height: 0; background: #fff; box-shadow: -10px 0 70px #16382c20; animation: slide-in .18s ease; }
.drawer-header { align-items: center; padding: 24px 28px; }
.drawer-header h2 { font-size: 22px; }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; padding: 28px; }
.drawer-footer { flex-wrap: wrap; justify-content: space-between; }
.drawer-footer .btn { max-width: 100%; white-space: normal; text-align: center; }
.drawer-footer .btn-primary { order: 2; margin-left: auto; }
.drawer-footer .btn-secondary, .drawer-footer .btn-ghost { order: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { min-width: 0; }
.field.full { grid-column: 1/-1; }
.field label, .drawer .field label { display: block; margin-bottom: 9px; color: #344f2f; font-size: 14px; font-weight: 650; }
.field input, .field select, .field textarea { max-width: 100%; font-size: 16px; }
.field-hint { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.field-error { display: block; margin-top: 7px; color: var(--red); font-size: 14px; }
.form-summary, .booking-review { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; padding: 20px; border-radius: 10px; background: #eef4e5; color: #466b30; font-size: 14px; }
.price-total { color: #2d5319; font-size: 27px; font-weight: 700; letter-spacing: -.6px; }
.form-error { margin: 20px 0 0; padding: 15px 17px; border: 1px solid #e4bdac; border-radius: 10px; background: #fcf0e8; color: #8d4027; font-size: 14px; }
.form-error:empty, .form-error[hidden] { display: none; }
.booking-steps { display: flex; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: booking; }
.booking-steps > * { display: flex; align-items: center; gap: 9px; flex: 1; min-height: 44px; padding: 10px 14px; border-radius: 9px; background: #f0f4ea; color: #597443; font-size: 14px; font-weight: 550; }
.booking-steps .current { background: #e4efdb; color: #315c20; font-weight: 650; }
.booking-steps span { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: white; font-size: 12px; }
.booking-stage { min-width: 0; margin: 0; padding: 0; border: 0; }
.booking-stage legend { padding: 0; margin: 0 0 8px; color: var(--ink); font-size: 20px; font-weight: 700; }
.step-help { margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.step-help p { font-size: 14px; }
.booking-review strong { color: var(--ink); font-weight: 650; }
.booking-review p, .booking-review small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.modal-body > form > .field + .field { margin-top: 22px; }
.modal-body > form > .demo-stamp { margin-top: 24px; }
.modal-body > .room-preview + form { margin-top: 26px; }
.modal-body > .detail-grid + .field-hint { margin-top: 24px; }
.booking-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.large-avatar { display: grid; place-items: center; width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: #e9f0df; color: #527734; font-size: 20px; font-weight: 650; }
.detail-heading h2 { font-size: 25px; letter-spacing: -.55px; }
.detail-heading p { margin: 5px 0 9px; color: var(--muted); font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.detail-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.detail-value { color: var(--ink); font-size: 15px; font-weight: 600; }
.drawer-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.drawer-section .section-heading { padding: 0; margin-bottom: 18px; }
.drawer-section .note-box { margin-top: 20px; }
.stay-overview { padding: 20px; border: 1px solid #dbe5d2; border-radius: 10px; background: #f7faf2; }
.stay-overview > strong { display: block; color: var(--ink); font-size: 16px; font-weight: 650; }
.stay-overview > strong > span { font-size: 14px; font-weight: 450; color: var(--muted); }
.stay-overview p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.stay-total { color: var(--ink); font-size: 23px; font-weight: 700; letter-spacing: -.4px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; color: var(--ink); font-size: 16px; font-weight: 650; }
.room-preview { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 10px; background: #f1f6e8; }
.room-preview > .icon { width: 36px; height: 36px; color: #547c39; }
.drawer-body > .drawer-section > .room-preview { margin-bottom: 24px; }
.drawer-body > .demo-stamp { margin-top: 28px; }
.drawer-section .full-width { margin-top: 18px; }
.drawer-section > .text-small { margin-top: 12px; }
.next-action { margin: 24px 0; padding: 22px; border-radius: 12px; background: #eaf3e7; }
.next-action-label { display: block; margin-bottom: 7px; color: #426b32; font-size: 12px; font-weight: 650; letter-spacing: .8px; text-transform: uppercase; }
.next-action h3 { color: #244b1c; font-size: 19px; }
.next-action p { margin-top: 7px; color: #4c6c3d; font-size: 14px; line-height: 1.65; }
.next-action .btn { margin-top: 14px; }
.stay-progress { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.stay-progress li { position: relative; flex: 1; padding: 12px 0 0; border-top: 3px solid #dce5d2; color: #657b51; font-size: 12px; line-height: 1.4; }
.stay-progress li.done { border-top-color: #8bac77; color: #41692a; }
.stay-progress li.current { border-top-color: var(--teal); color: var(--teal); font-weight: 700; }
.stay-progress li > span:not(.sr-only) { display: flex; align-items: center; min-height: 20px; margin-bottom: 6px; font-size: 12px; font-weight: 650; }
.stay-progress .icon { width: 16px; height: 16px; margin-bottom: 6px; }
.stay-progress li > span > .icon { margin: 0; }
.detail-disclosure { margin-top: 24px; border-top: 1px solid var(--line); }
.detail-disclosure summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 13px 0; color: var(--ink); font-size: 15px; font-weight: 650; cursor: pointer; }
.detail-disclosure summary::after { content: '+'; margin-left: 12px; color: #4f7340; font-size: 22px; font-weight: 450; }
.detail-disclosure[open] summary::after { content: '−'; }
.detail-disclosure summary > .icon { display: none; }
.detail-disclosure summary::-webkit-details-marker { display: none; }
.detail-disclosure > :not(summary) { margin-bottom: 20px; }
.progress-list { display: flex; flex-direction: column; }
.progress-step { display: flex; align-items: flex-start; gap: 14px; padding: 20px 0; border-bottom: 1px solid #e2ebd5; }
.progress-step:last-child { border-bottom: 0; }
.step-number { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid #cfdcbe; border-radius: 50%; background: #edf4e3; color: #507631; font-size: 13px; }
.step-body { flex: 1; min-width: 0; }
.step-body strong { display: block; color: var(--ink); font-size: 14px; font-weight: 650; }
.step-body p, .step-body > span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.step-state { margin-left: auto; }
.scan-preview { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; height: 160px; margin-bottom: 28px; border: 1px dashed #aec79c; border-radius: 12px; background: #f2f8e9; color: #608444; }
.scan-preview .icon { width: 48px; height: 48px; stroke-width: 1.3; }
.scan-preview > span { font-size: 12px; font-weight: 550; letter-spacing: .6px; }
.company-fields { margin-top: 22px; }
.company-fields .notice { margin-bottom: 10px; }

/* Issued document preview is rendered exclusively from its stored snapshot. */
.invoice-preview { position: relative; overflow: hidden; padding: 27px; border: 1px solid #d5e0ca; border-radius: 12px; background: #fff; }
.invoice-brand { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #dde7d1; }
.invoice-brand h3, .invoice-brand > strong { font-size: 18px; }
.invoice-brand p, .invoice-brand > span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.invoice-document-title { margin: 26px 0; }
.invoice-document-title h2 { font-size: 22px; }
.invoice-document-title .eyebrow { font-size: 12px; }
.invoice-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; font-size: 14px; }
.invoice-line { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid #dfe7d2; font-size: 14px; }
.invoice-line > strong { white-space: nowrap; }
.invoice-totals { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #dce6cc; font-size: 14px; }
.invoice-totals strong { font-size: 28px; letter-spacing: -.7px; }
.invoice-watermark { margin-top: 26px; padding-top: 14px; border-top: 1px dashed #ccdcb8; color: #617b49; font-size: 12px; letter-spacing: .8px; text-align: center; text-transform: uppercase; }
.invoice-preview > .invoice-watermark { position: absolute; top: 92px; right: 25px; margin: 0; padding: 4px 8px; border: 1px solid #cbdcb6; border-radius: 5px; font-size: 12px; }
.invoice-preview .demo-stamp { margin-top: 26px; }
.invoice-preview .note-box { margin-top: 22px; }
.status-list { display: flex; flex-direction: column; }
.status-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 0; border-bottom: 1px solid #e1ead3; color: #496438; font-size: 14px; }
.status-list > div:last-child { border-bottom: 0; }
.status-note { margin-top: 10px; color: var(--muted); font-size: 12px; }
.toggle { display: inline-flex; width: 40px; height: 24px; padding: 4px; border: 0; border-radius: 20px; background: #638a42; }
.toggle::after { content: ''; width: 16px; height: 16px; margin-left: auto; border-radius: 50%; background: #fff; }

/* Supporting summaries retained for overview and search flows. */
.day-panel { min-width: 0; background: transparent; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #698e46; box-shadow: 0 0 0 4px #eef5e5; }
.arrivals-list { padding: 0; }
.arrival-card { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 20px 24px; border: 0; border-bottom: 1px solid #e3ead7; border-radius: 0; background: #fff; text-align: left; }
.arrival-card:hover { background: #f8fbf2; }
.arrival-card:last-child { border-bottom: 0; }
.arrival-card:nth-child(3n) .guest-initials { background: #e9f1e1; color: #557f35; }
.arrival-card:nth-child(3n+1) .guest-initials { background: #f0eaf7; color: #755695; }
.arrival-status { display: block; margin-top: 5px; color: #8c6b27; font-size: 12px; }
.arrival-status.positive { color: #3e742d; }
.arrival-action { color: #5e7f47; }
.today-summary { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 20px 24px; background: #f5f9ed; color: #526e3c; font-size: 14px; }
.today-summary strong { display: block; color: #335725; font-weight: 650; }
.today-summary > div > span { display: block; margin-top: 4px; font-size: 12px; }
.today-summary > .icon { margin-top: 4px; }
.mini-progress { height: 6px; overflow: hidden; margin-top: 10px; border-radius: 4px; background: #dee9cd; }
.mini-progress > span, .mini-progress > div { display: block; height: 100%; border-radius: inherit; background: #7b9f58; }
.today-summary .mini-progress { grid-column: 1/-1; width: 100%; }
.attention-card { margin-top: 22px; padding: 24px; border: 1px solid #e4d9b8; border-radius: 12px; background: #f9f5e8; color: #7b642c; }
.attention-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 16px; border-radius: 10px; background: #eee5c9; color: #866b28; }
.attention-card h3 { margin-bottom: 8px; color: #70541b; font-size: 17px; }
.attention-card p { color: #7e6c40; font-size: 14px; line-height: 1.65; }
.attention-card .btn { justify-content: center; width: 100%; margin-top: 18px; border-color: #d9cda5; background: #fcf9ef; color: #785b1e; }
.attention-card .card-eyebrow { color: #876a2b; }
.attention-card .status-note { display: block; color: #7e6c40; text-align: center; }
.side-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.side-note .icon { width: 15px; height: 15px; }
.subline { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.week-chart { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; padding: 22px 30px 28px; }
.week-column { display: flex; flex: 1; flex-direction: column; align-items: center; min-width: 0; }
.week-column > strong { margin-bottom: 14px; color: #486b30; font-size: 14px; font-weight: 650; }
.week-bar-track { display: flex; align-items: flex-end; width: 100%; max-width: 64px; height: 180px; overflow: hidden; border-radius: 6px 6px 0 0; background: #f0f5e6; }
.week-bar { display: block; width: 100%; min-height: 1px; border-radius: 6px 6px 0 0; background: #a4bf7e; }
.week-bar.selected { background: #668b3f; }
.week-column > span { margin-top: 13px; color: #56763c; font-size: 14px; }
.week-column > small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.search-results { padding: 0; }
.search-result { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.search-result:hover { background: #f4f9ed; }
.search-result .icon:last-child { margin-left: auto; }
.toast-stack { position: fixed; right: 26px; bottom: 26px; z-index: 150; display: flex; flex-direction: column; gap: 12px; width: min(440px,calc(100vw - 36px)); }
.toast { display: flex; align-items: center; gap: 13px; padding: 18px 20px; border: 1px solid #42634c; border-radius: 12px; background: #24472f; color: #f4f9eb; font-size: 14px; box-shadow: 0 10px 35px #152c2528; animation: rise-in .2s ease; }
.toast-icon { color: #c8dda5; }
.toast-action { margin-left: auto; padding: 8px; border: 0; border-radius: 6px; background: #ffffff17; color: #e2efc7; font-size: 14px; font-weight: 600; }

/* Small layout utilities. */
.text-muted { color: var(--muted); }
.text-right { text-align: right; }
.text-small, .subtle-text { font-size: 14px; }
.subtle-text { color: var(--muted); }
.mono { font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: .95em; }
.positive { color: #3b722d; }
.negative { color: #9d4035; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0,0,0,0); white-space: nowrap; }
.full-width { width: 100%; }
.divider { margin: 26px 0; border: 0; border-top: 1px solid var(--line); }
.actions-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.flex-spacer { flex: 1; }
.bulk-toolbar { display: flex; align-items: center; gap: 10px; }
.desktop-only { display: inline-flex; }
.span-2 { grid-column: span 2; }
.column-label { color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .7px; text-transform: uppercase; }
.list-chip { padding: 7px 10px; border-radius: 6px; background: #edf4e3; color: #496e31; font-size: 12px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-in { from { opacity: .65; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width: 1320px) {
  .room-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .connection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stat { padding: 20px; }
  .stat-number { font-size: 31px; }
  .desk-row { grid-template-columns: minmax(160px,1fr) 90px 128px auto; gap: 12px; padding: 20px; }
}
@media (max-width: 1200px) {
  .today-layout { grid-template-columns: minmax(0,1fr); }
  .today-side { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .desk-row { grid-template-columns: minmax(180px,1fr) 120px 170px auto; gap: 18px; padding: 20px 24px; }
  .stats-grid { gap: 14px; }
  .stat-foot { flex-wrap: wrap; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .plan-card p { grid-column: 1/-1; }
}
@media (max-width: 1000px) {
  #main { padding: 28px 24px; }
  .topbar { padding: 0 24px; }
  .page-heading { align-items: flex-start; }
  .heading-actions { flex-wrap: wrap; justify-content: flex-end; }
  .desk-row { grid-template-columns: minmax(170px,1fr) 100px auto; gap: 14px; }
  .desk-status { grid-column: 1/3; grid-row: 2; }
  .desk-action { grid-column: 3; grid-row: 1/3; }
  .room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .data-table { min-width: 740px; }
  .table-toolbar { flex-wrap: wrap; }
  .toolbar-bottom { align-items: flex-start; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .connection-grid { grid-template-columns: 1fr; }
  .search-trigger > span:not(.shortcut-hint) { display: none; }
  .settings-grid { grid-template-columns: 1fr; }
  .calendar-tools { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .sidebar { width: 264px; transform: translateX(-100%); transition: transform .18s ease; }
  body.nav-open .sidebar { transform: translateX(0); }
  .workspace { margin-left: 0; }
  .mobile-menu { display: inline-grid; }
  .mobile-overlay { position: fixed; inset: 0; z-index: 35; border: 0; background: #132f3566; }
  body.nav-open .mobile-overlay { display: block; }
  .topbar { gap: 8px; min-height: 72px; padding: 0 14px; }
  .breadcrumb { gap: 8px; margin-right: auto; font-size: 14px; }
  .breadcrumb > span:first-child { display: none; }
  .breadcrumb .property-label { display: none; }
  .breadcrumb > .icon { display: none; }
  .topbar-actions { gap: 2px; }
  .topbar-divider, .shortcut-hint, .desktop-only { display: none; }
  .search-trigger { padding: 10px; }
  .demo-banner { gap: 7px; padding: 9px 18px; font-size: 12px; }
  .demo-banner button .icon { display: none; }
  #main { padding: 26px 18px; }
  h1 { font-size: 28px; letter-spacing: -.7px; }
  h2 { font-size: 22px; }
  .page-heading { flex-direction: column; gap: 18px; margin-bottom: 24px; }
  .page-heading p { margin-top: 8px; font-size: 14px; }
  .heading-actions { justify-content: flex-start; width: 100%; }
  .heading-actions .btn-primary { margin-left: auto; }
  .welcome-strip { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: flex-start; gap: 12px; margin-bottom: 24px; padding: 18px; }
  .welcome-strip > .icon, .welcome-strip > .welcome-icon { display: none; }
  .welcome-strip > .btn { grid-column: 1/-1; align-self: center; justify-self: start; }
  .welcome-copy strong { font-size: 15px; }
  .guide-dismiss { grid-column: 2; grid-row: 1; width: 36px; height: 40px; margin: -6px -7px 0 0; }
  .today-layout { gap: 22px; }
  .today-side { display: flex; }
  .desk-tabs, .day-tabs { gap: 22px; overflow-x: auto; padding: 0 18px; }
  .desk-tabs button, .day-tabs button { flex-shrink: 0; }
  .desk-row { grid-template-columns: minmax(0,1fr) auto; gap: 14px; padding: 20px 18px; }
  .desk-guest { grid-column: 1; grid-row: 1; }
  .desk-action { grid-column: 2; grid-row: 1; }
  .desk-stay { grid-column: 1; grid-row: 2; padding-left: 55px; }
  .desk-status { grid-column: 2; grid-row: 2; justify-self: end; font-size: 12px; text-align: right; }
  .desk-action .btn { min-height: 46px; padding: 10px 12px; }
  .desk-footer { padding: 20px 18px; }
  .quiet-card { padding: 22px; }
  .section-heading, .panel-header { gap: 14px; padding: 22px 18px; }
  .section-heading { flex-wrap: wrap; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 24px; }
  .stat { padding: 18px; }
  .stat-number { margin: 12px 0 8px; font-size: 30px; }
  .stat-top { font-size: 14px; }
  .stat-icon { display: none; }
  .toolbar { gap: 14px; padding: 18px; }
  .date-navigation { flex-wrap: wrap; gap: 4px; }
  .date-navigation h2, .date-navigation strong { margin-right: 8px; font-size: 20px; }
  .calendar-tools { width: 100%; gap: 10px; }
  .toolbar-bottom { flex-direction: column; gap: 16px; padding: 16px 18px; }
  .calendar-filters { flex-wrap: wrap; gap: 10px; }
  .legend { gap: 15px; }
  .calendar-scroll { max-height: 620px; }
  .calendar-foot { flex-wrap: wrap; align-items: flex-start; gap: 12px; padding: 16px 18px; }
  .room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .room-card { padding: 18px; }
  .room-card-top { flex-wrap: wrap; }
  .room-card-meta h2 { font-size: 26px; }
  .room-card-meta p { font-size: 14px; }
  .room-card-guest { flex-wrap: wrap; font-size: 12px; }
  .room-card-bottom { gap: 10px; }
  .connection-grid, .plan-grid, .settings-grid { grid-template-columns: 1fr; gap: 18px; }
  .connection-card { padding: 24px; }
  .plan-card { display: block; padding: 24px; }
  .plan-content { padding: 0 20px 24px; }
  .table-toolbar { align-items: stretch; flex-direction: column; padding: 18px; }
  .table-toolbar input { max-width: none; }
  .table-toolbar .select-control, .search-field { width: 100%; max-width: 100%; }
  .data-table th, .data-table td { padding-left: 18px; padding-right: 18px; }
  .page-tabs { gap: 22px; overflow-x: auto; }
  .page-tabs button { flex-shrink: 0; font-size: 14px; white-space: nowrap; }
  .activity-list { padding: 4px 18px; }
  .activity-item { flex-wrap: wrap; gap: 13px; }
  .activity-time { width: 100%; margin: -7px 0 0 53px; }
  .notice { padding: 18px; }
  .channel-summary { align-items: flex-start; flex-direction: column; }
  .modal-backdrop { padding: 12px; }
  .modal { max-height: 94dvh; border-radius: 14px; }
  .modal-header, .drawer-header { padding: 22px 20px; }
  .modal-header #dialog-title { font-size: 22px; }
  .modal-body, .drawer-body { padding: 24px 20px; }
  .modal-footer, .drawer-footer { flex-wrap: wrap; gap: 10px; padding: 18px 20px; }
  .modal-footer .btn { flex-shrink: 0; }
  .drawer-footer .btn-primary { min-width: 0; flex: 1 1 200px; }
  .drawer-footer .btn-secondary, .drawer-footer .btn-ghost { flex: 0 1 auto; }
  .drawer { width: 100%; }
  .form-grid { grid-template-columns: 1fr; gap: 22px; }
  .field.full, .span-2 { grid-column: 1; }
  .form-summary, .booking-review { gap: 14px; padding: 18px; }
  .booking-steps { gap: 8px; }
  .booking-steps > * { padding: 10px; font-size: 14px; }
  .detail-grid { gap: 24px 18px; }
  .next-action { padding: 20px; }
  .invoice-preview { padding: 22px 18px; }
  .invoice-preview > .invoice-watermark { right: 17px; top: 87px; }
  .invoice-columns { grid-template-columns: 1fr; gap: 20px; }
  .invoice-brand { gap: 12px; }
  .invoice-brand > strong { font-size: 16px; }
  .progress-step { flex-wrap: wrap; }
  .step-body { flex-basis: calc(100% - 44px); }
  .progress-step > .btn { margin-left: 44px; }
  .week-chart { gap: 12px; padding: 20px; }
  .week-bar-track { height: 145px; }
  .toast-stack { right: 18px; bottom: 18px; }
  .toast { padding: 17px 18px; }
  .workspace-footer { flex-wrap: wrap; gap: 8px; padding: 0 18px 24px; font-size: 12px; }
}
@media (max-width: 400px) {
  .topbar .avatar { display: none; }
  .breadcrumb { font-size: 12px; }
  .topbar-actions { gap: 0; }
  .welcome-strip > .icon, .welcome-strip > .welcome-icon { display: none; }
  .desk-row { column-gap: 10px; }
  .desk-guest .guest-initials { width: 34px; height: 34px; }
  .desk-guest .guest-cell { gap: 9px; }
  .desk-guest .guest-name { font-size: 14px; }
  .desk-stay { padding-left: 43px; }
  .desk-action .btn { padding: 10px; font-size: 14px; }
  .room-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .form-summary { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: #fff; color: #111; }
  body > * { display: none !important; }
  #overlay-root { display: block !important; }
  .drawer-backdrop, .modal-backdrop { position: static; display: block; padding: 0; background: #fff; backdrop-filter: none; }
  .drawer, .modal { position: static; width: 100%; max-width: none; max-height: none; border-radius: 0; box-shadow: none; }
  .drawer-header, .drawer-footer, .modal-header, .modal-footer, .btn, .icon-button { display: none !important; }
  .drawer-body, .modal-body { overflow: visible; padding: 0; }
  .drawer-section:not(.printable) { display: none !important; }
  .invoice-preview { padding: 20px; border: 0; }
  .invoice-watermark { color: #666; }
}

/* Payments use the same task and form hierarchy as reservations. */
.payment-summary { display:grid; grid-template-columns:1fr 1fr 1.5fr; gap:20px; margin-bottom:28px; }
.payment-setup { display:flex; align-items:center; gap:18px; padding:24px; background:#eef3ee; border-radius:12px; }
.payment-setup .connection-logo { flex-shrink:0; margin:0; }
.payment-setup p { margin:8px 0; color:var(--muted); font-size:14px; }
.payment-setup .inline-link { display:inline-flex; align-items:center; gap:8px; min-height:36px; font-weight:600; }
.payment-balance { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:20px 0; padding:18px; border:1px solid var(--line); border-radius:10px; background:#f7f9f5; }
.payment-balance strong { font-size:22px; letter-spacing:-.6px; }
#payment-form .demo-stamp { margin-top:20px; }
.checkout-preview,.payment-receipt { display:flex; align-items:center; flex-direction:column; gap:12px; text-align:center; padding:12px 12px 30px; }
.checkout-icon { width:64px; height:64px; display:grid; place-items:center; color:var(--teal); background:var(--teal-light); border-radius:18px; margin-bottom:8px; }
.checkout-icon .icon { width:30px; height:30px; }
.checkout-preview h2,.payment-receipt h2 { font-size:42px; letter-spacing:-1.4px; }
.payment-receipt + .detail-grid { margin-bottom:24px; }
.payment-empty { padding:64px 24px; }
.payment-empty > .icon { width:42px; height:42px; margin-bottom:22px; }
.payment-empty .btn { margin-top:16px; }
.drawer-section .payment-balance { margin:12px 0; }
.drawer-section > .inline-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:8px; }
.language-control { display:flex; align-items:center; gap:6px; color:var(--muted); }
.language-control select { min-height:44px; padding:8px 6px; border:0; font-size:14px; background:transparent; width:105px; }
.language-control .icon { width:18px; height:18px; }
.topbar-actions { gap:16px; }
@media(max-width:1100px){.payment-summary{grid-template-columns:1fr 1fr}.payment-setup{grid-column:1/-1}.search-trigger span,.search-trigger kbd{display:none}.property-label{display:none}}
@media(max-width:760px){.payment-summary{gap:12px}.payment-setup{padding:20px}.topbar-actions{gap:8px}.topbar .search-trigger{display:none}.topbar .avatar{display:none}.topbar{padding:12px 18px;gap:10px}.language-control .icon{display:none}.language-control select{width:92px;font-size:14px}.demo-chip{min-height:40px;padding:8px}.breadcrumb{gap:6px}.breadcrumb>.icon{display:none}.checkout-preview h2,.payment-receipt h2{font-size:36px}.payment-balance{padding:14px}.payment-balance strong{font-size:20px}.desk-action{white-space:normal;text-align:center;max-width:140px;gap:6px}.desk-action .icon{width:16px;height:16px}.welcome-strip .btn{white-space:normal}.btn{line-height:1.35}.booking-steps>li{flex-wrap:wrap}.nav-item{line-height:1.3}}

.mobile-nav-close { display:none; }
.booking-steps > li { display:grid; grid-template-columns:26px 1fr; align-items:center; gap:10px; }
.booking-steps > li > span { margin:0; }
@media(max-width:760px){
 .sidebar{visibility:hidden;transition:transform .18s ease,visibility .18s}
 .nav-open .sidebar{visibility:visible}
 .mobile-nav-close{display:grid;position:absolute;right:12px;top:24px;color:#d8e8e0}
 .breadcrumb .mobile-menu .icon{width:22px;height:22px;color:var(--ink)}
 .heading-actions{justify-content:flex-start}
}
