:root {
  --bg: #f4f8f5;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #263238;
  --muted: #667085;
  --line: #d8e0ea;
  --line-soft: #edf1f6;
  --primary: #2e7d32;
  --primary-dark: #0e3b2e;
  --primary-soft: #eaf6e8;
  --gold: #d4a017;
  --danger: #b42318;
  --success: #067647;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.app-shell { min-height: 100vh; display: flex; background: linear-gradient(180deg, #f8fbf8 0%, #edf4ef 100%); }
.sidebar {
  width: 282px;
  background: linear-gradient(180deg, #0e3b2e 0%, #09251e 100%);
  color: #dce7ef;
  padding: 22px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 12px 0 34px rgba(15, 23, 42, .12);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 8px 22px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2e7d32, #7bc043);
  color: white;
  font-weight: 800;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .35);
}
.brand-logo-wrap {
  width: 88px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  background: #050505;
  border: 1px solid rgba(184, 135, 43, .55);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  padding: 4px;
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand strong { color: #fff; display: block; line-height: 1.15; }
.brand strong span,
.stayflow-login-logo strong span,
.stayflow-login-hero h1 span { color: #7bc043; }
.brand small { display: block; color: #9eb0bf; font-size: 12px; margin-top: 3px; }
.sidebar-nav { display: grid; gap: 14px; }
.nav-section {
  display: grid;
  gap: 4px;
}
.nav-section > span {
  padding: 0 12px 3px;
  color: #7f95a7;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.nav-link {
  color: #cbd7e1;
  border-radius: 8px;
  padding: 11px 12px;
  margin-bottom: 2px;
  font-weight: 600;
  font-size: 14px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-link:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(2px); }
.nav-link.active {
  background: #ffffff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}
.main { flex: 1; padding: 26px; min-width: 0; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}
.topbar h1 { margin: 0; font-size: 25px; font-weight: 800; color: #111827; }
.topbar small { color: var(--muted); font-weight: 500; }
.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px 8px 14px;
  color: #334155;
  font-weight: 600;
}
.user-chip a {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
.user-chip a:hover { background: var(--primary-dark); color: #fff; }

.metric {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 18px;
  min-height: 118px;
  box-shadow: var(--shadow-sm);
}
.metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--gold));
}
.metric small { color: var(--muted); display: block; font-weight: 700; text-transform: uppercase; font-size: 11px; }
.metric strong { font-size: 28px; display: block; margin-top: 10px; color: #101828; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.panel h2, .panel .h5 { font-weight: 800; color: #111827; }
.alert { border-radius: 10px; border: 0; box-shadow: var(--shadow-sm); }

.dashboard-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14,36,51,.98) 0%, rgba(15,118,110,.96) 72%, rgba(184,135,43,.82) 142%),
    #0e2433;
  box-shadow: 0 24px 60px rgba(14, 36, 51, .20);
}
.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: auto 24px -42px auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: -80px auto auto 42%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.dashboard-hero > * { position: relative; z-index: 1; }
.dashboard-kicker {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: #dff8f3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.dashboard-hero h2 { margin: 9px 0 5px; font-size: 34px; font-weight: 850; }
.dashboard-hero p { margin: 0; color: #d7e7e8; }
.dashboard-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dashboard-hero-actions .btn {
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: none;
}
.dashboard-hero-actions .btn-light { color: #0e2433; }
.dashboard-focus-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 16px;
}
.focus-card {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 18px;
  border: 1px solid rgba(216,224,234,.82);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  transition: transform .16s ease, box-shadow .16s ease;
}
.focus-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -52px auto;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(15, 118, 110, .08);
}
.focus-card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(15, 23, 42, .10); }
.focus-card > * { position: relative; z-index: 1; }
.focus-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.focus-card.primary {
  color: #fff;
  background:
    linear-gradient(135deg, #0e2433 0%, #123047 58%, #0f766e 130%);
  border-color: #0e2433;
}
.focus-card.primary::after { background: rgba(184, 135, 43, .22); }
.dashboard-card-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}
.dashboard-card-icon.rooms { background: #e0f2fe; color: #026aa2; }
.dashboard-card-icon.balance { background: #fff3cd; color: #8a5a00; }
.dashboard-card-icon.alerts { background: #fee4e2; color: var(--danger); }
.focus-card.primary .dashboard-card-icon { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.focus-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.focus-card.primary small, .focus-card.primary span { color: #cbd7e1; }
.focus-card strong {
  display: block;
  margin-top: 14px;
  font-size: 31px;
  line-height: 1.1;
  color: #101828;
}
.focus-card.primary strong { color: #fff; }
.focus-card span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.dashboard-progress { height: 8px; margin-top: 12px; border-radius: 999px; background: #e9eef5; }
.dashboard-progress .progress-bar { background: linear-gradient(90deg, var(--primary), var(--gold)); }
.dashboard-panel {
  min-height: 100%;
  border-radius: 16px;
  border-color: rgba(216,224,234,.82);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .065);
}
.panel-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.panel-title-row a { font-weight: 800; font-size: 13px; }
.panel-title-row h2 { letter-spacing: 0; }
.dashboard-panel .table thead th { background: #f7f9fc; }
.dashboard-panel .table { margin-bottom: 0; }
.snapshot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.snapshot-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216,224,234,.85);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.snapshot-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.snapshot-card span i {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}
.snapshot-card strong { display: block; margin-top: 8px; font-size: 22px; color: #101828; }
.snapshot-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-weight: 600; }
.snapshot-card li + li { margin-top: 4px; }
.attention-list { display: grid; gap: 10px; }
.attention-list a {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #f9fbfd 100%);
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
  transition: transform .16s ease, border-color .16s ease;
}
.attention-list a:hover { transform: translateX(2px); border-color: rgba(184, 135, 43, .35); }
.attention-list strong { display: block; color: #101828; }
.attention-list span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 600; }
.activity-mini-list { display: grid; gap: 10px; }
.activity-mini-list div {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.activity-mini-list div:last-child { border-bottom: 0; }
.activity-mini-list strong { display: block; color: #101828; }
.activity-mini-list span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }

.form-label { color: #344054; font-weight: 700; font-size: 13px; }
.form-control, .form-select {
  border-color: #cfd8e3;
  border-radius: 8px;
  min-height: 42px;
  color: #111827;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .14);
}
.btn { border-radius: 8px; font-weight: 700; }
.btn-success {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(15, 118, 110, .16);
}
.btn-success:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-success { color: var(--primary); border-color: var(--primary); }
.btn-outline-success:hover { background: var(--primary); border-color: var(--primary); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }
.table { color: #1f2937; }
.table thead th {
  background: #f4f7fb;
  color: #475467;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}
.table tbody td { vertical-align: middle; border-color: #eef2f6; }
.table tbody tr:hover { background: #fbfdff; }
.status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #eef2f7;
  color: #475467;
}
.status.Available, .status.Ready, .status.Served, .status.Paid { background: #dcfae6; color: var(--success); }
.status.Occupied, .status.Checked-In, .status.Preparing { background: #fef0c7; color: #93370d; }
.status.Reserved, .status.Pending { background: #dbeafe; color: #175cd3; }
.status.Cleaning { background: #e0f2fe; color: #026aa2; }
.status.Maintenance, .status.Cancelled, .status.Unpaid { background: #fee4e2; color: var(--danger); }

.activity-panel { overflow: hidden; }
.activity-filter-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 14px;
  margin-bottom: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.activity-filter-actions { align-self: end; }
.activity-log-wrap {
  max-height: 520px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}
.activity-log-table { margin-bottom: 0; }
.activity-log-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
.activity-log-table td { white-space: normal; }
.activity-log-table td:first-child { min-width: 150px; color: var(--muted); font-size: 13px; }
.activity-log-table td:nth-child(2) { min-width: 150px; }
.activity-log-table td:nth-child(5) { min-width: 220px; color: #475467; }

.role-permission-accordion .accordion-item {
  border-color: var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.role-permission-accordion .accordion-button {
  font-weight: 850;
  color: #101828;
  background: #fff;
  box-shadow: none;
}
.role-permission-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-dark);
  background: var(--primary-soft);
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.permission-group {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}
.permission-group > strong {
  display: block;
  margin-bottom: 10px;
  color: #101828;
  font-size: 14px;
}
.permission-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  cursor: pointer;
}
.permission-check:first-of-type { border-top: 0; }
.permission-check span {
  display: grid;
  gap: 2px;
  color: #1f2937;
  font-weight: 700;
  line-height: 1.25;
}
.permission-check small {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
}

.settings-company-panel {
  overflow: hidden;
}
.settings-section {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  padding: 16px;
}
.settings-section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.settings-section-title strong {
  display: block;
  color: #101828;
  font-size: 16px;
  font-weight: 850;
}
.settings-section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-align: right;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.settings-grid-wide {
  grid-column: 1 / -1;
}
.tax-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.settings-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(15,118,110,.18);
  border-radius: 12px;
  background: var(--primary-soft);
  cursor: pointer;
}
.settings-toggle span {
  display: grid;
  gap: 3px;
  color: #101828;
  font-weight: 800;
}
.settings-toggle small {
  color: var(--muted);
  font-weight: 600;
}
.settings-logo-upload {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
}
.settings-logo-upload img,
.settings-logo-placeholder {
  width: 120px;
  height: 82px;
  border-radius: 10px;
  border: 1px solid rgba(184,135,43,.35);
  background: #050505;
}
.settings-logo-upload img {
  object-fit: contain;
  padding: 6px;
}
.settings-logo-placeholder {
  display: grid;
  place-items: center;
  color: #f7e3a4;
  font-weight: 850;
}
.settings-hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0e2433 0%, #0f766e 78%, #b8872b 145%);
  box-shadow: 0 22px 50px rgba(14, 36, 51, .18);
}
.settings-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #dff8f3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.settings-hero h2 {
  max-width: 760px;
  margin: 10px 0 6px;
  font-size: 29px;
  font-weight: 850;
}
.settings-hero p {
  max-width: 720px;
  margin: 0;
  color: #d7e7e8;
}
.settings-hero-card {
  min-width: 190px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(255,255,255,.12);
}
.settings-hero-card small {
  display: block;
  color: #c9dcdf;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.settings-hero-card strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 25px;
}
.settings-hero-card span {
  display: block;
  margin-top: 5px;
  color: #d7e7e8;
  font-size: 13px;
}
.settings-tabs-shell {
  padding: 0;
  overflow: hidden;
}
.settings-tabs {
  gap: 6px;
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #f8fafc;
}
.settings-tabs .nav-link {
  color: #344054;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  margin: 0;
  padding: 9px 13px;
}
.settings-tabs .nav-link:hover {
  transform: none;
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--line-soft);
}
.settings-tabs .nav-link.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(15,118,110,.16);
}
.settings-tab-content {
  padding: 20px;
}
.settings-tab-content .tab-pane {
  min-height: 360px;
}
.settings-pane-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.settings-restore-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 760px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #f8fafc;
}
@media (max-width: 1200px) {
  .tax-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .settings-hero {
    flex-direction: column;
    padding: 18px;
  }
  .settings-hero h2 { font-size: 23px; }
  .settings-hero-card { min-width: 0; }
  .settings-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .settings-tabs .nav-link {
    white-space: nowrap;
  }
  .settings-tab-content { padding: 14px; }
  .settings-pane-head {
    display: block;
  }
  .settings-pane-head .btn {
    width: 100%;
    margin-top: 12px;
  }
  .settings-restore-box {
    grid-template-columns: 1fr;
  }
  .settings-grid,
  .tax-grid { grid-template-columns: 1fr; }
  .settings-section-title {
    display: block;
  }
  .settings-section-title span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}

.booking-list-panel { overflow: hidden; }
.booking-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 12px;
  align-items: end;
  padding: 14px;
  margin-bottom: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.booking-filter-actions { align-self: end; }
.booking-table-wrap {
  max-height: 560px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
}
.booking-table { margin-bottom: 0; min-width: 980px; }
.booking-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
.booking-table td { white-space: normal; }
.booking-table td:first-child { min-width: 115px; font-weight: 800; }
.booking-table td:nth-child(3) { min-width: 150px; }
.booking-table td:nth-child(5) { min-width: 210px; color: #475467; }
.booking-actions {
  min-width: 270px;
  white-space: nowrap;
}
.booking-actions .btn,
.booking-actions form { margin-bottom: 4px; }

.reservation-hero {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0e2433 0%, #0f766e 76%, #b8872b 145%);
  box-shadow: 0 22px 50px rgba(14, 36, 51, .18);
}
.reservation-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #dff8f3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.reservation-hero h2 {
  max-width: 760px;
  margin: 10px 0 6px;
  font-size: 30px;
  font-weight: 850;
}
.reservation-hero p {
  max-width: 720px;
  margin: 0;
  color: #d7e7e8;
}
.reservation-hero-actions {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 300px;
}
.reservation-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.reservation-summary-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(216,224,234,.84);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
}
.reservation-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--gold));
}
.reservation-summary-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.reservation-summary-card strong {
  display: block;
  margin-top: 8px;
  color: #101828;
  font-size: 26px;
  line-height: 1.1;
}
.reservation-summary-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.reservation-workspace {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.reservation-create-panel {
  position: sticky;
  top: 18px;
}
.reservation-create-panel .panel-title-row p { font-size: 13px; }
.reservation-date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.reservation-list-panel {
  min-width: 0;
}
.reservation-table {
  min-width: 1120px;
}
.reservation-table th:nth-child(1) { width: 135px; }
.reservation-table th:nth-child(4) { width: 190px; }
.reservation-table th:nth-child(5) { width: 120px; }
.reservation-table th:nth-child(6) { width: 310px; }
.reservation-ref,
.reservation-room {
  display: block;
  color: #101828;
  font-weight: 850;
}
.reservation-source {
  display: inline-flex;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 850;
}
.reservation-note,
.reservation-table td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.reservation-money-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.reservation-money-row strong {
  color: #101828;
  font-size: 12px;
}
.reservation-money-row.balance strong {
  color: var(--primary-dark);
}
.reservation-lock {
  display: block;
  width: fit-content;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}
.reservation-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
}
.reservation-action-row form,
.reservation-action-row .btn {
  margin-bottom: 0;
}
.booking-lock-form {
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #f8fafc;
}
.inventory-import-panel {
  border-left: 4px solid var(--primary);
}
.inventory-import-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  min-width: min(520px, 100%);
}
.inventory-import-example {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
}
.inventory-import-example strong {
  display: block;
  margin-bottom: 6px;
  color: #101828;
  font-size: 13px;
}
.inventory-import-example pre {
  margin: 0;
  white-space: pre-wrap;
  color: #344054;
  font-size: 12px;
}
@media (max-width: 767px) {
  .inventory-import-form {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(14,59,46,.96), rgba(46,125,50,.86)),
    #0e3b2e;
}
.login-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}
.login-hero {
  min-height: 560px;
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(14,59,46,.20), rgba(8,22,18,.90)),
    linear-gradient(135deg, #0e3b2e, #2e7d32);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stayflow-login-hero {
  background:
    linear-gradient(180deg, rgba(4,10,8,.12), rgba(4,10,8,.88)),
    url("../img/stayflow-login-hero.png") center / cover no-repeat,
    #0e3b2e;
}
.login-hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #dff8f3;
  font-weight: 700;
  font-size: 13px;
}
.login-hero h1 { font-size: 44px; line-height: 1.05; font-weight: 850; margin: 20px 0 14px; }
.login-hero p { color: #d6e4ea; max-width: 440px; margin: 0; font-size: 16px; }
.login-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.login-stat {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,.09);
}
.login-stat strong { display: block; font-size: 20px; }
.login-stat span { color: #c7d6df; font-size: 12px; }
.login-card { padding: 52px 46px; display: flex; flex-direction: column; justify-content: center; }
.login-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 34px; }
.login-logo-compact { align-items: center; margin-bottom: 26px; }
.login-brand-logo {
  width: 120px;
  max-width: 120px;
  height: 88px;
  object-fit: contain;
  display: block;
  flex: 0 0 120px;
  border-radius: 10px;
  background: #050505;
  border: 1px solid rgba(184, 135, 43, .45);
  padding: 5px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
}
.login-logo .brand-mark { box-shadow: none; }
.login-logo-wrap {
  width: 138px;
  height: 86px;
  flex-basis: 138px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  padding: 6px;
}
.login-logo strong { display: block; font-size: 18px; }
.login-logo small { color: var(--muted); font-size: 12px; }
.login-card h2 { font-weight: 850; margin-bottom: 6px; color: #111827; }
.login-card .subtext { color: var(--muted); margin-bottom: 26px; }
.login-card .form-control { min-height: 48px; }
.login-card .btn { min-height: 48px; }
.login-note { border-top: 1px solid var(--line-soft); margin-top: 22px; padding-top: 16px; color: var(--muted); font-size: 13px; }

.receipt { width: 80mm; max-width: 100%; background: #fff; padding: 12px; font-family: "Courier New", monospace; color: #000; box-shadow: none; }
.receipt-logo {
  display: block;
  width: 34mm;
  max-height: 22mm;
  object-fit: contain;
  margin: 0 auto 6px;
}
.reservation-logo {
  width: min(150px, 42vw);
  height: auto;
  display: block;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(184, 135, 43, .45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}
.receipt h2 { font-size: 18px; text-align: center; margin: 0 0 6px; }
.receipt .line { border-top: 1px dashed #000; margin: 8px 0; }
.receipt table { width: 100%; font-size: 12px; }
.a4-invoice { background: #fff; padding: 32px; max-width: 900px; margin: auto; box-shadow: var(--shadow-sm); border-radius: 12px; }
.invoice-brand-block {
  max-width: 430px;
}
.invoice-logo {
  display: block;
  width: 150px;
  max-height: 86px;
  object-fit: contain;
  margin-bottom: 12px;
}

@media print {
  .sidebar, .topbar, .no-print, .alert { display: none !important; }
  .main { padding: 0; }
  body { background: #fff; }
  .panel, .metric, .a4-invoice { box-shadow: none; border: 0; }
}
@media (max-width: 991px) {
  .sidebar { position: fixed; z-index: 20; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .main { padding: 14px; }
  .topbar { align-items: flex-start; flex-wrap: wrap; border-radius: 10px; }
  .user-chip { width: 100%; justify-content: space-between; }
  .dashboard-hero { align-items: flex-start; flex-direction: column; }
  .dashboard-focus-grid { grid-template-columns: repeat(2, 1fr); }
  .snapshot-grid { grid-template-columns: 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-hero { min-height: auto; padding: 30px; }
  .login-hero h1 { font-size: 32px; }
  .login-stats { grid-template-columns: 1fr; }
  .login-card { padding: 32px 24px; }
}
@media (max-width: 575px) {
  .main { padding: 10px; }
  .metric strong { font-size: 23px; }
  .panel { padding: 16px; }
  .topbar h1 { font-size: 21px; }
  .dashboard-hero { padding: 18px; }
  .dashboard-hero h2 { font-size: 24px; }
  .dashboard-focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: auto; }
  .focus-card strong { font-size: 25px; }
  .activity-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-body { padding: 14px; }
  .login-hero { display: none; }
}

.pos-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0e2433 0%, #0f766e 70%, #b8872b 140%);
  box-shadow: var(--shadow);
}
.pos-hero h2 { margin: 6px 0 6px; font-weight: 850; font-size: 28px; }
.pos-hero p { margin: 0; color: #d7e7e8; }
.pos-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #dff8f3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.pos-summary { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 10px; min-width: 420px; }
.pos-summary div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.1);
}
.pos-summary small { display: block; color: #c9dcdf; font-weight: 700; font-size: 11px; text-transform: uppercase; }
.pos-summary strong { display: block; color: #fff; font-size: 20px; margin-top: 6px; }
.pos-shell { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 18px; align-items: start; }
.pos-products, .pos-cart { min-height: 620px; }
.pos-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.pos-search { max-width: 290px; }
.pos-categories { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 12px; }
.pos-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #344054;
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 800;
  white-space: nowrap;
}
.pos-chip.active, .pos-chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.product-tile {
  text-align: left;
  min-height: 148px;
  border: 1px solid #dbe3ed;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.product-tile:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: rgba(15,118,110,.45); }
.product-tile:disabled { opacity: .5; cursor: not-allowed; }
.product-category { color: var(--primary); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.product-tile strong { color: #101828; font-size: 16px; line-height: 1.2; min-height: 38px; }
.product-price { color: #0e2433; font-size: 18px; font-weight: 850; }
.product-stock { margin-top: auto; color: #667085; font-size: 12px; font-weight: 700; }
.product-stock.low { color: var(--danger); }
.pos-cart { position: sticky; top: 18px; }
.pos-cart-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.cart-lines { min-height: 230px; max-height: 360px; overflow-y: auto; padding: 12px 0; }
.empty-cart, .empty-state {
  border: 1px dashed var(--line);
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}
.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-line strong { font-size: 14px; }
.cart-line small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.qty-stepper { display: inline-grid; grid-template-columns: 28px 34px 28px; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { border: 0; background: #f4f7fb; height: 28px; font-weight: 900; color: var(--primary-dark); }
.qty-stepper span { text-align: center; font-weight: 850; font-size: 13px; }
.cart-remove { border: 0; background: #fee4e2; color: var(--danger); width: 28px; height: 28px; border-radius: 50%; font-weight: 850; }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-top: 2px solid #101828;
  border-bottom: 1px solid var(--line-soft);
}
.cart-total-row span { color: var(--muted); font-weight: 850; text-transform: uppercase; }
.cart-total-row strong { color: #101828; font-size: 26px; }
@media (max-width: 1200px) {
  .pos-shell { grid-template-columns: 1fr; }
  .pos-cart { position: static; min-height: auto; }
  .pos-summary { min-width: 0; }
  .reservation-workspace { grid-template-columns: 1fr; }
  .reservation-create-panel { position: static; }
  .reservation-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .pos-hero { flex-direction: column; padding: 18px; }
  .pos-hero h2 { font-size: 23px; }
  .pos-summary { grid-template-columns: 1fr; }
  .pos-toolbar { align-items: stretch; flex-direction: column; }
  .pos-search { max-width: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-tile { min-height: 138px; padding: 12px; }
  .cart-line { grid-template-columns: 1fr auto; }
  .cart-line > strong { text-align: right; }
  .cart-remove { grid-column: 2; justify-self: end; }
  .reservation-hero {
    flex-direction: column;
    padding: 18px;
  }
  .reservation-hero h2 { font-size: 23px; }
  .reservation-hero-actions {
    justify-content: flex-start;
    min-width: 0;
  }
  .reservation-summary-grid { grid-template-columns: 1fr; }
  .reservation-date-grid { grid-template-columns: 1fr; }
}

.shift-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #123047 0%, #0f766e 100%);
  box-shadow: var(--shadow);
}
.shift-hero h2 { margin: 6px 0; font-size: 28px; font-weight: 850; }
.shift-hero p { margin: 0; color: #d7e7e8; }
.shift-state {
  min-width: 260px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255,255,255,.1);
}
.shift-state small { display: block; color: #c9dcdf; font-weight: 800; text-transform: uppercase; font-size: 11px; }
.shift-state strong { display: block; color: #fff; font-size: 24px; margin-top: 5px; }
.shift-state span { display: block; color: #d7e7e8; margin-top: 4px; font-size: 13px; }
.shift-state.open { background: rgba(6, 118, 71, .28); }
.shift-total-box {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px;
  background: var(--primary-soft);
}
.shift-total-box small { display: block; color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 11px; }
.shift-total-box strong { display: block; color: var(--primary-dark); font-size: 26px; margin-top: 6px; }
@media (max-width: 767px) {
  .shift-hero { flex-direction: column; padding: 18px; }
  .shift-hero h2 { font-size: 23px; }
  .shift-state { min-width: 0; }
}

.tabs-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0e2433 0%, #0f766e 85%);
  box-shadow: var(--shadow);
}
.tabs-hero h2 { margin: 6px 0; font-size: 28px; font-weight: 850; }
.tabs-hero p { margin: 0; color: #d7e7e8; }
.tab-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.tab-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  box-shadow: 0 8px 18px rgba(15,23,42,.04);
}
.tab-card h3 { margin: 12px 0 4px; font-size: 22px; font-weight: 850; color: #101828; }
.tab-card p { margin: 0 0 8px; color: var(--muted); }
.tab-card > strong { font-size: 24px; color: var(--primary-dark); }
@media (max-width: 767px) {
  .tabs-hero { flex-direction: column; padding: 18px; }
  .tabs-hero h2 { font-size: 23px; }
}

.shift-summary-grid {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.shift-action-card, .shift-reconcile { min-height: 100%; }
.shift-card-title { margin-bottom: 18px; }
.shift-card-title span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.shift-card-title h2 { margin: 10px 0 4px; font-size: 24px; font-weight: 850; }
.shift-card-title p { margin: 0; color: var(--muted); }
.shift-totals-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.shift-totals-strip div {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
}
.shift-totals-strip small, .shift-pay-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.shift-totals-strip strong { display: block; margin-top: 8px; font-size: 24px; color: #101828; }
.shift-payment-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.shift-pay-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  min-height: 110px;
}
.shift-pay-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--primary);
}
.shift-pay-card strong { display: block; margin-top: 12px; font-size: 21px; color: #101828; }
.shift-pay-card.cash::before { background: #0f766e; }
.shift-pay-card.mobile::before { background: #175cd3; }
.shift-pay-card.card::before { background: #7a5af8; }
.shift-pay-card.bank::before { background: #b8872b; }
.shift-pay-card.room::before { background: #b42318; }
.variance-badge {
  display: inline-flex;
  min-width: 96px;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 12px;
}
.variance-badge.positive { color: #067647; background: #dcfae6; }
.variance-badge.negative { color: #b42318; background: #fee4e2; }
.variance-badge.neutral { color: #475467; background: #eef2f7; }
@media (max-width: 1200px) {
  .shift-summary-grid { grid-template-columns: 1fr; }
  .shift-payment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .shift-totals-strip { grid-template-columns: 1fr; }
  .shift-payment-grid { grid-template-columns: 1fr; }
}

.shift-print-report { display: none; }
.print-report-header, .print-meta-grid, .print-summary-row, .print-two-col, .print-notes, .print-history-block, .print-signatures { break-inside: avoid; }
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; color: #111827 !important; font-family: Arial, Helvetica, sans-serif; }
  .screen-only, .sidebar, .topbar, .no-print, .alert { display: none !important; }
  .app-shell, .main { display: block !important; min-height: auto !important; padding: 0 !important; background: #fff !important; }
  .shift-print-report { display: block !important; width: 100%; }
  .print-report-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #111827;
  }
  .print-report-header h1 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: #111827; }
  .print-report-header p { margin: 0; font-size: 10.5px; color: #475467; }
  .print-report-title { text-align: right; }
  .print-report-title span { display: block; text-transform: uppercase; font-size: 10px; font-weight: 800; color: #667085; }
  .print-report-title strong { display: block; font-size: 20px; color: #0f766e; margin-top: 4px; }
  .print-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
  }
  .print-meta-grid div, .print-summary-row div, .print-notes-grid div {
    border: 1px solid #d0d5dd;
    padding: 8px 9px;
    border-radius: 4px;
    background: #fff;
  }
  .print-meta-grid small, .print-summary-row small, .print-notes-grid small {
    display: block;
    text-transform: uppercase;
    font-size: 8.5px;
    color: #667085;
    font-weight: 800;
    margin-bottom: 3px;
  }
  .print-meta-grid strong { display: block; font-size: 11px; color: #111827; }
  .print-summary-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 12px 0;
  }
  .print-summary-row strong { display: block; font-size: 13px; color: #111827; }
  .print-summary-row .print-negative strong { color: #b42318; }
  .print-summary-row .print-positive strong { color: #067647; }
  .print-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
  .shift-print-report h2 { margin: 0 0 7px; font-size: 13px; font-weight: 800; color: #111827; }
  .print-table { width: 100%; border-collapse: collapse; font-size: 10.5px; margin-bottom: 10px; }
  .print-table th, .print-table td { border: 1px solid #d0d5dd; padding: 6px 7px; vertical-align: top; }
  .print-table th { background: #f2f4f7; color: #344054; font-weight: 800; text-align: left; }
  .print-table td { text-align: right; color: #111827; }
  .print-table.compact { font-size: 9px; }
  .print-table.compact td:nth-child(1), .print-table.compact td:nth-child(2), .print-table.compact td:nth-child(3), .print-table.compact td:nth-child(4), .print-table.compact td:nth-child(5) { text-align: left; }
  .print-notes { margin-top: 4px; }
  .print-notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .print-notes-grid p { min-height: 34px; margin: 0; font-size: 10px; color: #111827; }
  .print-history-block { margin-top: 10px; }
  .print-signatures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
  }
  .print-signatures div { border-top: 1px solid #111827; padding-top: 6px; min-height: 28px; }
  .print-signatures span { font-size: 10px; color: #475467; font-weight: 800; text-transform: uppercase; }
}

.report-preview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.shift-print-report.report-preview {
  display: block;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
  max-width: 1120px;
  margin: 0 auto 18px;
}
.shift-print-report.report-preview .print-report-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 2px solid #111827;
}
.shift-print-report.report-preview .print-report-header h1 { margin: 0 0 4px; font-size: 26px; font-weight: 850; color: #111827; }
.shift-print-report.report-preview .print-report-header p { margin: 0; color: var(--muted); }
.shift-print-report.report-preview .print-report-title { text-align: right; }
.shift-print-report.report-preview .print-report-title span { display: block; text-transform: uppercase; font-size: 12px; font-weight: 850; color: var(--muted); }
.shift-print-report.report-preview .print-report-title strong { display: block; font-size: 28px; color: var(--primary); margin-top: 4px; }
.shift-print-report.report-preview .print-meta-grid,
.shift-print-report.report-preview .print-summary-row { display: grid; gap: 10px; }
.shift-print-report.report-preview .print-meta-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 12px; }
.shift-print-report.report-preview .print-summary-row { grid-template-columns: repeat(5, 1fr); margin: 14px 0; }
.shift-print-report.report-preview .print-meta-grid div,
.shift-print-report.report-preview .print-summary-row div,
.shift-print-report.report-preview .print-notes-grid div { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff; }
.shift-print-report.report-preview small { display: block; color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; margin-bottom: 4px; }
.shift-print-report.report-preview strong { color: #111827; }
.shift-print-report.report-preview .print-summary-row strong { font-size: 18px; }
.shift-print-report.report-preview .print-negative strong { color: var(--danger); }
.shift-print-report.report-preview .print-positive strong { color: var(--success); }
.shift-print-report.report-preview .print-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.shift-print-report.report-preview h2 { font-size: 18px; margin: 0 0 10px; font-weight: 850; }
.shift-print-report.report-preview .print-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.shift-print-report.report-preview .print-table th,
.shift-print-report.report-preview .print-table td { border: 1px solid var(--line); padding: 9px 10px; }
.shift-print-report.report-preview .print-table th { background: #f4f7fb; color: #344054; text-align: left; }
.shift-print-report.report-preview .print-table td { text-align: right; }
.shift-print-report.report-preview .print-notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shift-print-report.report-preview .print-signatures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.shift-print-report.report-preview .print-signatures div { border-top: 1px solid #111827; padding-top: 8px; }
@media (max-width: 991px) {
  .shift-print-report.report-preview { padding: 18px; }
  .shift-print-report.report-preview .print-meta-grid,
  .shift-print-report.report-preview .print-summary-row,
  .shift-print-report.report-preview .print-two-col,
  .shift-print-report.report-preview .print-notes-grid,
  .shift-print-report.report-preview .print-signatures { grid-template-columns: 1fr; }
  .shift-print-report.report-preview .print-report-header { flex-direction: column; }
  .shift-print-report.report-preview .print-report-title { text-align: left; }
  .guest-hero { align-items: flex-start; flex-direction: column; }
  .guest-hero-stats { width: 100%; min-width: 0; }
  .guest-workspace { grid-template-columns: 1fr; }
  .guest-form-panel { position: static; }
  .module-hero { align-items: flex-start; flex-direction: column; }
  .module-stat-grid { width: 100%; min-width: 0; }
  .module-workspace,
  .module-workspace.wide-form { grid-template-columns: 1fr; }
  .module-form-panel { position: static; }
}

.tab-context-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 118, 110, .25);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  background: #eefaf7;
  box-shadow: var(--shadow-sm);
}
.tab-context-banner small {
  display: block;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.tab-context-banner strong { display: block; color: #101828; font-size: 16px; }

.bounded-list {
  position: relative;
  max-height: 330px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 -18px 20px -24px rgba(15, 23, 42, .35);
}
.bounded-list table { margin-bottom: 0; }
.bounded-list .table > :not(caption) > * > * {
  padding-top: 11px;
  padding-bottom: 11px;
}
.table-sticky-head thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f4f7fb;
  box-shadow: 0 1px 0 var(--line);
}
.bounded-list-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.bounded-list-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
}

.guest-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14, 59, 46, .98), rgba(46, 125, 50, .92)),
    #0e3b2e;
  box-shadow: var(--shadow-md);
}
.guest-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: #e7f7e8;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.guest-hero h2 {
  margin: 10px 0 6px;
  max-width: 760px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}
.guest-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
}
.guest-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 10px;
  min-width: 360px;
}
.guest-hero-stats div {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.11);
}
.guest-hero-stats small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.guest-hero-stats strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 24px;
}
.guest-workspace {
  display: grid;
  grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.guest-form-panel {
  position: sticky;
  top: 18px;
}
.guest-profile-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.guest-form-section {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fbfcfd;
}
.guest-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.guest-section-title span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
  font-size: 13px;
}
.guest-section-title strong {
  display: block;
  color: #101828;
  font-size: 14px;
}
.guest-section-title small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.guest-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.guest-field-wide { grid-column: 1 / -1; }
.guest-upload-box {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 18px;
  border: 1px dashed rgba(15,118,110,.45);
  border-radius: 14px;
  background: #f2fbf8;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.guest-upload-box:hover {
  border-color: var(--primary);
  background: #eaf8f3;
}
.guest-upload-box input { max-width: 100%; }
.guest-upload-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--primary-dark);
  font-weight: 900;
}
.guest-upload-box strong { color: #101828; }
.guest-upload-box small { color: var(--muted); }
.guest-current-file {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.guest-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.guest-form-actions .btn-success { min-width: 180px; }
.guest-list-panel { min-width: 0; }
.guest-table { min-width: 980px; }
.guest-table th:nth-child(1) { width: 220px; }
.guest-table th:nth-child(3) { width: 120px; }
.guest-table th:nth-child(6) { width: 92px; }
.guest-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.guest-name {
  display: block;
  color: #101828;
}
.guest-doc-badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #e9f8f2;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}
.guest-doc-badge.muted {
  color: #667085;
  background: #f2f4f7;
}

.module-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(14, 59, 46, .98), rgba(46, 125, 50, .92)),
    #0e3b2e;
  box-shadow: var(--shadow-md);
}
.module-hero.compact { padding: 18px 20px; }
.module-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  color: #e7f7e8;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.module-hero h2 {
  margin: 10px 0 6px;
  max-width: 760px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}
.module-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
}
.module-hero-actions,
.module-stat-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.module-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  min-width: 360px;
}
.module-stat-grid div {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.11);
}
.module-stat-grid small {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.module-stat-grid strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 24px;
}
.module-workspace {
  display: grid;
  grid-template-columns: minmax(390px, 470px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.module-workspace.wide-form { grid-template-columns: minmax(440px, 560px) minmax(0, 1fr); }
.module-form-panel {
  position: sticky;
  top: 18px;
}
.module-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.module-form-section {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fbfcfd;
}
.module-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.module-section-title span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
  font-size: 13px;
}
.module-section-title strong {
  display: block;
  color: #101828;
  font-size: 14px;
}
.module-section-title small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.module-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.module-field-wide { grid-column: 1 / -1; }
.module-list-panel { min-width: 0; }
.module-list-panel .panel-title-row p,
.module-form-panel .panel-title-row p { font-size: 13px; }
.module-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.module-primary-text {
  display: block;
  color: #101828;
  font-weight: 850;
}
.module-badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #e9f8f2;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}
.module-badge.muted {
  color: #667085;
  background: #f2f4f7;
}
.module-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.module-card {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
}
.module-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.module-card strong {
  display: block;
  margin-top: 7px;
  color: #101828;
  font-size: 22px;
}

.floor-board-panel {
  margin-bottom: 18px;
}
.floor-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 12px;
}
.floor-table-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .05);
}
.floor-table-card.occupied {
  border-color: rgba(15, 118, 110, .28);
  background: linear-gradient(180deg, #f1fbf8 0%, #ffffff 100%);
}
.floor-table-card.available {
  background: #fbfcfd;
}
.floor-table-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.floor-table-top strong {
  color: #101828;
  font-size: 18px;
  font-weight: 850;
}
.floor-table-top span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #344054;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.floor-table-card.occupied .floor-table-top span {
  background: #dff7ec;
  color: #05603a;
}
.floor-table-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.floor-table-card em {
  color: var(--primary-dark);
  font-size: 21px;
  font-style: normal;
  font-weight: 850;
}
.floor-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.kitchen-order-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: start;
}
.kitchen-menu-panel,
.kitchen-cart-panel {
  min-height: 620px;
}
.kitchen-cart-panel {
  position: sticky;
  top: 18px;
}
.kitchen-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}
.kitchen-menu-tile {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
  color: #101828;
  text-align: left;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.kitchen-menu-tile:hover {
  border-color: rgba(15, 118, 110, .38);
  box-shadow: 0 14px 30px rgba(15, 118, 110, .12);
  transform: translateY(-1px);
}
.kitchen-menu-tile span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eff8f6;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.kitchen-menu-tile strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 850;
}
.kitchen-menu-tile em {
  color: var(--primary-dark);
  font-style: normal;
  font-weight: 850;
}

@media (max-width: 1200px) {
  .kitchen-order-shell { grid-template-columns: 1fr; }
  .kitchen-cart-panel { position: static; min-height: auto; }
}
@media (max-width: 767px) {
  .floor-board-grid,
  .kitchen-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor-table-card,
  .kitchen-menu-tile { min-height: 132px; padding: 12px; }
  .floor-table-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 767px) {
  .tab-context-banner { align-items: flex-start; flex-direction: column; }
  .activity-filter-grid { grid-template-columns: 1fr; }
  .booking-filter-grid { grid-template-columns: 1fr; }
  .guest-hero { padding: 18px; }
  .guest-hero h2 { font-size: 23px; }
  .guest-hero-stats { grid-template-columns: 1fr; }
  .guest-form-grid { grid-template-columns: 1fr; }
  .guest-current-file { align-items: flex-start; flex-direction: column; }
  .module-hero { padding: 18px; }
  .module-hero h2 { font-size: 23px; }
  .module-stat-grid,
  .module-card-grid { grid-template-columns: 1fr; }
  .module-form-grid { grid-template-columns: 1fr; }
  .brand-logo-wrap { width: 72px; height: 46px; flex-basis: 72px; }
  .login-logo { align-items: flex-start; }
  .login-brand-logo { width: 96px; max-width: 96px; height: 70px; flex-basis: 96px; }
  .login-logo-wrap { width: 112px; height: 70px; flex-basis: 112px; }
  .reservation-logo { width: min(120px, 46vw); }
}

/* Shift report is formatted as a document on screen and on A4 paper. */
.shift-print-report.report-preview {
  width: min(100%, 900px);
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 38px 42px;
  border: 1px solid #d9e1e7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(15, 32, 40, .08);
  color: #1b2930;
  font-variant-numeric: tabular-nums;
}
.sreport-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 22px; border-bottom: 3px solid #174d43; }
.sreport-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sreport-logo { width: 72px; height: 72px; object-fit: contain; flex: none; }
.sreport-brand strong { display: block; font-size: 19px; color: #143d36; line-height: 1.2; }
.sreport-brand span { display: block; font-size: 12px; color: #566771; margin-top: 3px; overflow-wrap: anywhere; }
.sreport-reference { text-align: right; flex: none; }
.sreport-reference span { display: block; font-size: 10px; color: #5e6e74; text-transform: uppercase; font-weight: 700; }
.shift-print-report.report-preview .sreport-reference h1 { font-size: 25px; margin: 2px 0; line-height: 1.2; color: #182b32; }
.sreport-reference strong { display: block; font-size: 13px; color: #176454; }
.sreport-meta { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid #dbe3e7; }
.sreport-meta span, .sreport-results span, .sreport-cash-grid span { display: block; color: #617178; font-size: 11px; font-weight: 700; }
.sreport-meta strong { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.sreport-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #ecf4f1; border-top: 1px solid #d5e5de; border-bottom: 1px solid #d5e5de; margin: 22px 0 24px; }
.sreport-results > div { min-width: 0; padding: 16px 18px; border-right: 1px solid #cbded5; }
.sreport-results > div:last-child { border-right: 0; }
.shift-print-report.report-preview .sreport-results strong { display: block; margin: 5px 0 2px; font-size: 21px; line-height: 1.2; color: #143d36; overflow-wrap: anywhere; }
.sreport-results small { display: block; color: #5b7068; font-size: 10px; line-height: 1.3; }
.sreport-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.shift-print-report.report-preview .sreport-section h2 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: #1d3037; }
.sreport-section { min-width: 0; }
.sreport-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.sreport-table th, .sreport-table td { padding: 7px 0; border-bottom: 1px solid #e3eaed; }
.sreport-table th { text-align: left; font-weight: 500; color: #43535b; }
.sreport-table td { text-align: right; font-weight: 700; white-space: nowrap; }
.sreport-table thead th { color: #65727a; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.sreport-table thead th:nth-child(2), .sreport-table tbody td:nth-child(2) { text-align: right; }
.sreport-columns .sreport-section:last-child .sreport-table th:nth-child(2),
.sreport-columns .sreport-section:last-child .sreport-table td:nth-child(2) { width: 52px; text-align: center; }
.sreport-columns .sreport-section:last-child .sreport-table th:last-child,
.sreport-columns .sreport-section:last-child .sreport-table td:last-child { width: 112px; text-align: right; }
.sreport-subtotal th, .sreport-subtotal td { font-weight: 800; color: #174d43; border-top: 2px solid #a8c6b8; }
.sreport-caption { margin: 9px 0 0; color: #64737a; font-size: 10px; line-height: 1.4; }
.sreport-reconcile { margin-top: 24px; padding-top: 18px; border-top: 2px solid #d9e5df; }
.sreport-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sreport-section-heading span { color: #64737a; font-size: 10px; }
.sreport-cash-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid #d8e3de; }
.sreport-cash-grid > div { min-width: 0; padding: 11px 12px; border-right: 1px solid #d8e3de; }
.sreport-cash-grid > div:last-child { border-right: 0; }
.sreport-cash-grid strong { display: block; margin-top: 5px; font-size: 13px; color: #1d3037; overflow-wrap: anywhere; }
.sreport-emphasis { background: #ecf4f1; }
.shift-print-report.report-preview .sreport-variance.is-negative strong { color: #b42318; }
.shift-print-report.report-preview .sreport-variance.is-positive strong { color: #176454; }
.shift-print-report.report-preview .sreport-variance.is-balanced strong { color: #176454; }
.sreport-outcome { margin: 8px 0 0; color: #50636a; font-size: 11px; }
.sreport-notes { margin-top: 20px; padding-top: 15px; border-top: 1px solid #dbe3e7; }
.sreport-notes p { margin: 5px 0; color: #43535b; font-size: 11px; overflow-wrap: anywhere; }
.sreport-footer { margin-top: 34px; }
.sreport-signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.sreport-signatures > div { padding-top: 7px; border-top: 1px solid #7e8f96; }
.sreport-signatures span { color: #596971; font-size: 10px; text-transform: uppercase; font-weight: 700; }
.sreport-footer p { margin: 18px 0 0; color: #6d7b82; font-size: 10px; border-top: 1px solid #e3eaed; padding-top: 9px; }
.shift-history-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 18px; color: #667085; font-size: 13px; }
.shift-history-pagination > div { display: flex; gap: 8px; }
@media (max-width: 767px) {
  .shift-print-report.report-preview { padding: 20px 16px; }
  .sreport-header, .sreport-section-heading { flex-direction: column; align-items: flex-start; }
  .sreport-reference { text-align: left; }
  .sreport-meta, .sreport-results, .sreport-columns { grid-template-columns: 1fr; }
  .sreport-results > div { border-right: 0; border-bottom: 1px solid #cbded5; }
  .sreport-results > div:last-child { border-bottom: 0; }
  .sreport-cash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sreport-cash-grid > div { border-bottom: 1px solid #d8e3de; }
  .sreport-signatures { gap: 16px; }
}
@media print {
  @page { size: A4 portrait; margin: 13mm; }
  .app-shell, .main { display: block !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
  .shift-print-report.report-preview { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .sreport-header { flex-direction: row !important; align-items: flex-start !important; padding-bottom: 12px; }
  .sreport-reference { text-align: right !important; }
  .sreport-logo { width: 55px; height: 55px; }
  .sreport-meta { grid-template-columns: 1fr 1.5fr 1fr !important; padding: 11px 0; }
  .sreport-results { margin: 14px 0 16px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sreport-results { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sreport-results > div { padding: 11px 12px; border-bottom: 0 !important; border-right: 1px solid #cbded5; }
  .sreport-results > div:last-child { border-right: 0; }
  .shift-print-report.report-preview .sreport-results strong { font-size: 17px; }
  .sreport-columns { grid-template-columns: 1fr 1fr !important; gap: 22px; }
  .sreport-section-heading { flex-direction: row !important; align-items: baseline !important; }
  .sreport-reconcile { margin-top: 17px; padding-top: 12px; }
  .sreport-cash-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .sreport-cash-grid > div { padding: 8px; }
  .sreport-cash-grid > div { border-bottom: 0 !important; }
  .sreport-signatures { grid-template-columns: 1fr 1fr !important; }
  .sreport-cash-grid strong { font-size: 11px; }
  .sreport-footer { margin-top: 25px; }
.sreport-results, .sreport-columns, .sreport-reconcile, .sreport-notes, .sreport-footer { break-inside: avoid; }
}

.room-types-layout { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.room-type-form { padding: 20px; background: #f7faf9; border: 1px solid var(--line-soft); border-radius: 8px; }
.room-types-table td { vertical-align: top; }
.room-types-table td small { max-width: 56ch; line-height: 1.45; overflow-wrap: anywhere; }
.room-types-table td:last-child { white-space: nowrap; }
.module-table td small { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .room-types-layout { grid-template-columns: 1fr; }
}

.booking-confirm-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; max-width: 900px; margin: 0 auto 16px; }
.booking-confirmation {
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 36px 42px 30px;
  background: #fff;
  border: 1px solid #dce5e1;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(18, 44, 40, .08);
  color: #1d3033;
  font-variant-numeric: tabular-nums;
}
.booking-confirm-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 22px; border-bottom: 3px solid #185a48; }
.booking-confirm-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.booking-confirm-brand img { width: 68px; height: 68px; object-fit: contain; flex: none; }
.booking-confirm-brand strong { display: block; font-size: 20px; line-height: 1.2; color: #143d32; }
.booking-confirm-brand span { display: block; margin-top: 3px; font-size: 11px; color: #566b69; overflow-wrap: anywhere; }
.booking-confirm-document { text-align: right; flex: none; }
.booking-confirm-document > span { display: block; color: #62736e; font-size: 10px; text-transform: uppercase; font-weight: 800; }
.booking-confirm-document h1 { margin: 4px 0; font-size: 25px; line-height: 1.15; font-weight: 800; color: #1c3032; }
.booking-confirm-document strong { display: block; color: #1b6d4d; font-size: 13px; }
.booking-confirm-status { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 20px; padding: 14px 17px; background: #eaf5ef; border-left: 4px solid #20805b; }
.booking-confirm-status.is-cancelled { background: #fff0ed; border-left-color: #b42318; }
.booking-confirm-status span { display: block; font-size: 10px; color: #61736a; font-weight: 800; text-transform: uppercase; }
.booking-confirm-status strong { display: block; font-size: 16px; color: #185a48; }
.booking-confirm-status.is-cancelled strong { color: #b42318; }
.booking-confirm-status p { margin: 0; max-width: 56ch; font-size: 11px; line-height: 1.45; color: #415950; }
.booking-confirm-intro { margin: 24px 0 18px; }
.booking-confirm-intro span { display: block; color: #67786f; text-transform: uppercase; font-size: 10px; font-weight: 800; }
.booking-confirm-intro h2 { margin: 4px 0; font-size: 22px; color: #1b3030; font-weight: 800; }
.booking-confirm-intro p { margin: 0; color: #536762; font-size: 12px; }
.booking-confirm-stay { display: grid; grid-template-columns: 1fr .8fr 1fr; border-top: 1px solid #c9ddd3; border-bottom: 1px solid #c9ddd3; background: #f4f8f5; }
.booking-confirm-stay > div { padding: 17px 18px; border-right: 1px solid #d7e5dc; min-width: 0; }
.booking-confirm-stay > div:last-child { border-right: 0; }
.booking-confirm-stay span { display: block; color: #60766a; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.booking-confirm-stay strong { display: block; margin-top: 6px; color: #174c3b; font-size: 17px; line-height: 1.2; }
.booking-confirm-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; margin: 27px 0 22px; }
.booking-confirm-section { min-width: 0; }
.booking-confirm-section h3 { margin: 0 0 13px; color: #233a37; font-size: 15px; font-weight: 800; }
.booking-confirm-room { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #dce8e1; }
.booking-confirm-room strong { color: #185a48; font-size: 16px; }
.booking-confirm-room span { color: #5a6c66; font-size: 11px; white-space: nowrap; }
.booking-confirm-description { margin: 11px 0 8px; color: #4f655e; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.booking-confirm-details { margin: 0; }
.booking-confirm-details > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e5ece8; }
.booking-confirm-details dt { color: #596f66; font-size: 11px; font-weight: 500; }
.booking-confirm-details dd { margin: 0; color: #1d3033; font-size: 11px; font-weight: 700; text-align: right; white-space: nowrap; }
.booking-confirm-financials .booking-confirm-total { padding-top: 10px; border-top: 2px solid #a9c8b8; }
.booking-confirm-financials .booking-confirm-total dt, .booking-confirm-financials .booking-confirm-total dd { color: #174c3b; font-weight: 800; }
.booking-confirm-financials .booking-confirm-balance { margin-top: 6px; padding: 11px 12px; border: 0; background: #eaf5ef; }
.booking-confirm-financials .booking-confirm-balance dt, .booking-confirm-financials .booking-confirm-balance dd { color: #185a48; font-size: 13px; font-weight: 800; }
.booking-confirm-fineprint { margin: 8px 0 0; color: #66756d; font-size: 10px; }
.booking-confirm-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid #dce8e1; border-bottom: 1px solid #dce8e1; }
.booking-confirm-contact span { display: block; color: #677a6f; font-size: 10px; text-transform: uppercase; font-weight: 800; }
.booking-confirm-contact strong { display: block; margin-top: 4px; font-size: 12px; color: #1d3033; }
.booking-confirm-contact small { display: block; margin-top: 2px; color: #5c6f67; font-size: 10px; overflow-wrap: anywhere; }
.booking-confirm-note { margin-top: 18px; padding: 13px 16px; background: #f7f9f6; border-left: 3px solid #c49a3a; }
.booking-confirm-note strong { font-size: 11px; color: #273d37; }
.booking-confirm-note p { margin: 3px 0 0; color: #52655c; font-size: 11px; line-height: 1.5; }
.booking-confirm-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 30px; padding-top: 11px; border-top: 1px solid #dce8e1; }
.booking-confirm-footer span { color: #697b72; font-size: 10px; }
.booking-confirm-footer strong { color: #185a48; font-size: 11px; text-align: right; }
@media (max-width: 767px) {
  .booking-confirmation { padding: 20px 16px; }
  .booking-confirm-header, .booking-confirm-status, .booking-confirm-footer { flex-direction: column; align-items: flex-start; }
  .booking-confirm-document { text-align: left; }
  .booking-confirm-stay, .booking-confirm-columns, .booking-confirm-contact { grid-template-columns: 1fr; }
  .booking-confirm-stay > div { border-right: 0; border-bottom: 1px solid #d7e5dc; }
  .booking-confirm-stay > div:last-child { border-bottom: 0; }
  .booking-confirm-actions { justify-content: flex-start; }
}
@media print {
  @page { size: A4 portrait; margin: 13mm; }
  .booking-confirmation { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .booking-confirm-header, .booking-confirm-status, .booking-confirm-footer { flex-direction: row !important; align-items: flex-start !important; }
  .booking-confirm-document { text-align: right !important; }
  .booking-confirm-stay { grid-template-columns: 1fr .8fr 1fr !important; }
  .booking-confirm-stay > div { border-bottom: 0 !important; border-right: 1px solid #d7e5dc; }
  .booking-confirm-stay > div:last-child { border-right: 0; }
  .booking-confirm-columns, .booking-confirm-contact { grid-template-columns: 1fr 1fr !important; }
  .booking-confirm-header { padding-bottom: 13px; }
  .booking-confirm-brand img { width: 55px; height: 55px; }
  .booking-confirm-status { margin-top: 14px; padding: 9px 12px; }
  .booking-confirm-intro { margin: 16px 0 13px; }
  .booking-confirm-stay > div { padding: 12px 14px; }
  .booking-confirm-columns { margin: 19px 0 15px; gap: 30px; }
  .booking-confirm-note { margin-top: 13px; padding: 10px 13px; }
  .booking-confirm-footer { margin-top: 22px; }
  .booking-confirm-stay, .booking-confirm-columns, .booking-confirm-contact, .booking-confirm-note, .booking-confirm-footer { break-inside: avoid; }
  .booking-confirm-status, .booking-confirm-stay, .booking-confirm-financials .booking-confirm-balance, .booking-confirm-note { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.tab-bill-modal-content { border: 0; border-radius: 6px; overflow: hidden; }
.tab-bill-modal-content .modal-header { background: #f1f7f3; border-bottom: 1px solid #d6e7dd; }
.tab-bill-modal-content .modal-body { padding: 0; background: #fff; }
.tab-bill-modal-content iframe { display: block; width: 100%; height: min(64vh, 700px); min-height: 340px; border: 0; }
.tab-bill-modal-content .modal-footer { gap: 8px; border-top: 1px solid #d6e7dd; }
@media (max-width: 575px) {
  .tab-bill-modal-content iframe { height: 60vh; }
  .tab-bill-modal-content .modal-footer { justify-content: stretch; }
  .tab-bill-modal-content .modal-footer .btn { flex: 1 1 40%; }
}

.stock-issue-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 28px; background: #123d31; color: #fff; border-radius: 5px; }
.stock-issue-header h2 { margin: 4px 0 7px; font-size: 23px; font-weight: 800; }
.stock-issue-header p { margin: 0; color: #d5e4d9; }
.stock-issue-header .module-kicker { color: #bfe4c2; }
.stock-issue-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); gap: 18px; margin-top: 18px; align-items: start; }
.stock-issue-lines-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid #dfe9e1; }
.stock-issue-lines-head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.stock-issue-line { display: grid; grid-template-columns: minmax(0, 1fr) 120px 40px; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid #e3ebe5; }
.stock-issue-line .issue-remove { margin-top: 32px; padding: 5px 10px; font-size: 20px; line-height: 1; }
.stock-issue-line small { display: block; margin-top: 5px; }
.stock-issue-history > div { padding: 12px 0; border-bottom: 1px solid #e3ebe5; }
.stock-issue-history > div > div { display: flex; justify-content: space-between; gap: 8px; }
.stock-issue-history strong { color: #185a48; }
.stock-issue-history small { color: #65746a; }
.stock-issue-history p { margin: 5px 0 9px; }
@media (max-width: 900px) { .stock-issue-layout { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .stock-issue-header { align-items: flex-start; flex-direction: column; padding: 20px; } .stock-issue-line { grid-template-columns: minmax(0, 1fr) 95px 36px; gap: 7px; } }
