:root {
  --app-font: "Segoe UI", "Noto Sans", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --app-content-gutter: clamp(10px, 0.9vw, 16px);
  --app-content-gutter-y: clamp(14px, 1.2vw, 20px);
  --app-content-gutter-left-desktop: 0px;
  --app-content-gutter-right-desktop: clamp(6px, 0.4vw, 10px);
  --report-row-hover-bg: #eef4ff;
  --report-row-hover-muted: #475569;
  --report-tone-today: #1e40af;
  --report-tone-range: #9a3412;
  --report-tone-mtd: #065f46;
  --report-tone-ytd: #3730a3;
  --report-tone-gross: #4c1d95;
  --report-tone-service: #075985;
  --report-tone-tax: #92400e;
  --report-tone-comm: #9d174d;
  --report-tone-pickup: #312e81;
  --report-tone-arr: #047857;
  --report-tone-dep: #c2410c;
  --report-tone-occupied: #1e293b;
  --report-tone-available: #115e59;
  --report-tone-occ: #5b21b6;
  --report-tone-guests: #334155;
  --report-tone-count: #1f2937;
  --report-tone-amount: #1e40af;
  --report-tone-adr: #475569;
  --report-tone-revpar: #115e59;
  --report-tone-ratio: #5b21b6;
  --report-tone-debit: #1e40af;
  --report-tone-credit: #b91c1c;
  --report-radius-lg: 24px;
  --report-radius-md: 20px;
  --report-radius-sm: 16px;
  --report-border: #dbe4ef;
  --report-panel: #ffffff;
  --report-panel-soft: #f8fbff;
  --report-text: #1e293b;
  --report-muted: #64748b;
  --report-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

html,
body,
#root {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body,
button,
input,
select,
textarea {
  font-family: var(--app-font);
}

body {
  background: #f8fafc;
  color: var(--report-text);
}

html[data-ui-lang="vi"] {
  font-kerning: normal;
}

html[data-ui-lang="vi"] .uppercase {
  letter-spacing: 0.08em !important;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: #1e293b;
}

.nav-link.active {
  color: #fff;
  background: #2563eb;
  font-weight: 700;
  border-left: 4px solid #93c5fd;
}

th {
  font-weight: 700;
  color: #475569;
}

.app-main-content {
  padding: var(--app-content-gutter-y) var(--app-content-gutter);
  overflow-x: clip;
}

.app-shell {
  position: relative;
}

.app-shell-main {
  min-width: 0;
}

.app-shell-sidebar {
  flex-shrink: 0;
}

.app-sidebar-nav {
  padding-inline: 0.95rem !important;
}

.menu-item {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.88rem 1rem;
  border: 1px solid rgba(51, 65, 85, 0.72);
  border-radius: 1.15rem;
  background: rgba(15, 23, 42, 0.22);
  color: #94a3b8;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.menu-item:hover {
  transform: translateX(2px);
  border-color: rgba(96, 165, 250, 0.36);
  background: rgba(30, 41, 59, 0.96);
  color: #f8fafc;
  box-shadow: 0 12px 26px rgba(2, 6, 23, 0.24);
}

.menu-item:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.8);
  outline-offset: 2px;
}

.menu-item.active {
  border-color: rgba(96, 165, 250, 0.9);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.menu-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
  background: #64748b;
  box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.14);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.menu-item:hover .menu-item-dot {
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.menu-item.active .menu-item-dot {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.16);
}

.menu-item-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.menu-item-label {
  display: block;
  font-size: 0.68rem;
  line-height: 1.34;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: inherit;
  white-space: normal;
}

html[data-ui-lang="vi"] .menu-item-label {
  letter-spacing: 0.12em;
}

html[data-ui-lang="ko"] .menu-item-label {
  letter-spacing: 0.08em;
}

.app-shell-backdrop,
.app-mobile-bar {
  display: none;
}

body.app-mobile-nav-open {
  overflow: hidden;
}

.app-main-content > * {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

@media (min-width: 1025px) {
  .app-main-content {
    padding-left: var(--app-content-gutter-left-desktop);
    padding-right: var(--app-content-gutter-right-desktop);
  }

  .app-main-content > * {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  #main-content > [id$="_root"],
  #main-content > [id$="-root"],
  #main-content > #room_sales_report_pro,
  #main-content > #roomReportRoot {
    padding-inline: 0 !important;
  }
}

.app-toolbar-card {
  border-radius: var(--report-radius-lg);
  box-shadow: var(--report-shadow);
}

.report-page-shell {
  width: 100%;
}

.report-hero-card,
.report-sidebar-card,
.report-body-card,
.report-section-card,
.report-table-card,
.report-empty-state,
.report-filter-bar,
.report-filter-field,
.report-kpi-card,
#main-content [class~="rounded-3xl"][class*="border"],
#main-content [class~="rounded-[2rem]"][class*="border"],
#main-content [class~="rounded-[2.6rem]"][class*="border"] {
  border-radius: var(--report-radius-lg);
}

.report-hero-card,
.report-sidebar-card,
.report-body-card,
.report-section-card,
.report-table-card,
.report-kpi-card,
.report-filter-bar,
.app-toolbar-card {
  box-shadow: var(--report-shadow);
}

.report-hero-card,
.report-sidebar-card,
.report-body-card,
.report-section-card,
.report-kpi-card,
.report-filter-bar,
.report-filter-field,
#main-content [class~="rounded-3xl"][class~="p-6"],
#main-content [class~="rounded-[2rem]"][class~="p-6"] {
  padding: 1rem;
}

.report-body-card {
  background: var(--report-panel-soft);
}

.report-page-title {
  font-size: clamp(1.62rem, 1.95vw, 2.12rem) !important;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.report-section-title {
  font-size: clamp(1.32rem, 1.58vw, 1.78rem) !important;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

#main-content [class~="text-5xl"][class~="font-black"] {
  font-size: clamp(2.05rem, 2.75vw, 2.75rem);
  line-height: 1.08;
}

#main-content [class~="text-4xl"][class~="font-black"] {
  font-size: clamp(1.8rem, 2.3vw, 2.35rem);
  line-height: 1.11;
}

#main-content [class~="text-3xl"][class~="font-black"] {
  font-size: clamp(1.62rem, 1.95vw, 2.08rem);
  line-height: 1.13;
}

.report-kpi-grid {
  display: grid;
  gap: 0.9rem !important;
  margin-bottom: 1.1rem !important;
  align-items: stretch;
}

.report-kpi-grid--strip {
  width: 100%;
  margin-inline: 0;
}

.report-kpi-card {
  min-height: 110px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.report-kpi-label {
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
}

.report-kpi-value {
  font-size: clamp(1.08rem, 1.28vw, 1.6rem);
  line-height: 1.12;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: nowrap;
  font-variant-numeric: tabular-nums lining-nums;
}

.report-kpi-note {
  margin-top: 0.45rem !important;
  font-size: 0.84rem !important;
  line-height: 1.5;
}

.report-kpi-card--metric,
.report-kpi-card--summary {
  overflow: hidden;
}

.report-kpi-card--metric > .report-kpi-value {
  display: block;
  width: 100%;
  font-size: clamp(1.02rem, 1.18vw, 1.48rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.report-kpi-card--metric > .report-kpi-note {
  font-size: 0.8rem !important;
  line-height: 1.42 !important;
}

.report-kpi-card--summary > .report-kpi-value {
  font-size: clamp(0.96rem, 1.02vw, 1.18rem);
  line-height: 1.3;
  white-space: normal;
  text-wrap: balance;
}

.report-kpi-card--summary > .report-kpi-note {
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
}

#revenue-report-root .report-kpi-grid > div,
#review-report-root .report-kpi-grid > div {
  text-align: center;
}

#revenue-report-root [class~="text-2xl"][class~="font-black"],
#revenue-report-root [class~="text-3xl"][class~="font-black"],
#revenue-report-root [class~="text-lg"][class~="font-black"] {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all;
}

.report-callout {
  border-radius: 16px;
  padding: 0.8rem 0.9rem !important;
}

.report-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.report-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.report-action-button {
  min-height: 48px;
  min-width: 176px;
}

.report-action-status {
  flex: 1 1 320px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.report-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.report-filter-field {
  min-height: 72px;
}

#main-content [class~="rounded-3xl"][class~="px-6"][class~="py-4"],
#main-content [class~="rounded-[2rem]"][class~="px-6"][class~="py-4"] {
  padding: 1rem 1.1rem;
}

.report-table-card {
  overflow: hidden;
}

.report-table,
#main-content table {
  border-collapse: separate;
  border-spacing: 0;
}

.report-table-card .overflow-x-auto,
#main-content .overflow-x-auto {
  width: 100%;
  max-width: 100%;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #94a3b8 #e2e8f0;
  overflow-y: hidden;
}

.report-table {
  width: 100% !important;
  min-width: 100%;
  max-width: none;
  table-layout: auto;
}

.report-compact-table-card {
  overflow: hidden !important;
}

.report-compact-table-wrap {
  overflow-x: hidden !important;
  scrollbar-width: none !important;
}

.report-compact-table-wrap::-webkit-scrollbar {
  display: none !important;
}

.report-compact-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

#main-content table.w-full:not(.report-table) {
  width: 100%;
  table-layout: auto;
}

.report-table-card thead th,
.report-table thead th,
#main-content table thead th {
  padding: 0.5rem 0.56rem !important;
  font-size: 0.69rem !important;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.report-table-card tbody td,
.report-table tbody td,
#main-content table tbody td {
  padding: 0.5rem 0.56rem !important;
  vertical-align: middle;
  line-height: 1.45;
  font-size: 0.82rem;
  overflow-wrap: normal;
  word-break: normal;
}

.report-compact-table thead th {
  padding: 0.42rem 0.34rem !important;
  font-size: 0.64rem !important;
  line-height: 1.18 !important;
  letter-spacing: 0.075em !important;
}

.report-compact-table tbody td {
  padding: 0.44rem 0.34rem !important;
  font-size: 0.79rem !important;
  line-height: 1.34 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-compact-table thead th:first-child,
.report-compact-table tbody td:first-child {
  padding-left: 0.5rem !important;
}

.report-compact-table thead th:last-child,
.report-compact-table tbody td:last-child {
  padding-right: 0.5rem !important;
}

.report-compact-table .report-cell-ellipsis {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-compact-table .report-cell-ellipsis-host {
  min-width: 0;
}

.report-compact-table .report-cell-ellipsis-host > * {
  min-width: 0;
  max-width: 100%;
}

.report-compact-table .report-cell-ellipsis-host > *:not(.inline-flex) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#manager_reports_root .manager-report-table-card {
  overflow-x: hidden !important;
}

#manager_reports_root .manager-report-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: auto !important;
}

#manager_reports_root .manager-report-table thead th {
  padding: 0.4rem 0.32rem !important;
  font-size: 0.62rem !important;
  line-height: 1.18 !important;
  white-space: normal !important;
  vertical-align: bottom;
}

#manager_reports_root .manager-report-table thead th br + span {
  display: block;
  margin-top: 0.12rem;
  white-space: normal !important;
  line-height: 1.14 !important;
  font-size: 0.6rem !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
}

#manager_reports_root .manager-report-table tbody td {
  padding: 0.44rem 0.32rem !important;
  font-size: 0.78rem !important;
  line-height: 1.34 !important;
}

#manager_reports_root .manager-report-table .report-col-kind--date,
#manager_reports_root .manager-report-table .report-col-kind--id,
#manager_reports_root .manager-report-table .report-col-kind--count,
#manager_reports_root .manager-report-table .report-col-kind--amount,
#manager_reports_root .manager-report-table .report-col-kind--ratio {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

#manager_reports_root .manager-report-table .report-cell-ellipsis,
#manager_reports_root .manager-report-table .report-cell-ellipsis-host > * {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#manager_reports_root .manager-report-table tbody td[class*="text-right"],
#manager_reports_root .manager-report-table thead th[class*="text-right"] {
  text-align: right;
}

#manager_reports_root .manager-report-table tbody td[class*="text-center"],
#manager_reports_root .manager-report-table thead th[class*="text-center"] {
  text-align: center;
}

#main-content [class*="text-[9px]"] {
  font-size: 0.74rem !important;
  line-height: 1.4 !important;
}

#main-content [class*="text-[10px]"] {
  font-size: 0.79rem !important;
  line-height: 1.42 !important;
}

#main-content [class*="text-[11px]"] {
  font-size: 0.86rem !important;
  line-height: 1.46 !important;
}

#main-content [class~="text-xs"] {
  font-size: 0.92rem !important;
  line-height: 1.52 !important;
}

#main-content [class~="text-sm"] {
  font-size: 0.99rem !important;
  line-height: 1.54 !important;
}

#main-content input[type="date"],
#main-content input[type="number"],
#main-content select {
  font-size: 0.98rem;
  line-height: 1.4;
}

#main-content [class*="uppercase"][class*="text-[9px]"],
#main-content [class*="uppercase"][class*="text-[10px]"],
#main-content [class*="uppercase"][class*="text-[11px]"],
#main-content [class~="uppercase"][class~="text-xs"],
#main-content .report-kpi-label,
#main-content table thead th {
  letter-spacing: 0.08em !important;
}

.report-table tbody td[class*="text-right"],
.report-table thead th[class*="text-right"],
#main-content table tbody td[class*="text-right"],
#main-content table thead th[class*="text-right"] {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.report-compact-table .report-col-kind--date,
.report-compact-table .report-col-kind--id,
.report-compact-table .report-col-kind--count,
.report-compact-table .report-col-kind--amount,
.report-compact-table .report-col-kind--ratio {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.report-compact-table .report-col-kind--date { width: 7rem; }
.report-compact-table .report-col-kind--id { width: 5.5rem; }
.report-compact-table .report-col-kind--count { width: 4.8rem; }
.report-compact-table .report-col-kind--amount { width: 7.4rem; }
.report-compact-table .report-col-kind--ratio { width: 5.3rem; }
.report-compact-table .report-col-kind--medium { width: 8rem; }
.report-compact-table .report-col-kind--wide { width: 10.8rem; }
.report-compact-table .report-col-kind--note { width: 12.5rem; }

.report-compact-table td[class*="report-col-kind--wide"],
.report-compact-table td[class*="report-col-kind--medium"],
.report-compact-table td[class*="report-col-kind--note"] {
  text-align: left;
}

.report-table td .inline-flex.rounded-full.border,
#main-content table td .inline-flex.rounded-full.border {
  max-width: 100%;
  padding: 0.28rem 0.68rem !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.07em !important;
  line-height: 1.1 !important;
  justify-content: center;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
}

.report-table td > div.break-words,
#main-content table td > div.break-words {
  overflow-wrap: break-word;
  word-break: normal;
}

.report-compact-table td > div.break-words {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.report-table tbody tr,
.report-table-card table tbody tr,
.ota-fill-table tbody tr {
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.report-table tbody tr:hover td,
.report-table-card table tbody tr:hover td,
.ota-fill-table tbody tr:hover td {
  background: var(--report-row-hover-bg) !important;
}

.report-table tbody tr:hover td:first-child,
.report-table-card table tbody tr:hover td:first-child,
.ota-fill-table tbody tr:hover td:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.report-table tbody tr:hover td:last-child,
.report-table-card table tbody tr:hover td:last-child,
.ota-fill-table tbody tr:hover td:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.report-table tbody tr:hover [class*="text-slate-400"],
.report-table tbody tr:hover [class*="text-slate-500"],
.report-table tbody tr:hover [class*="text-slate-600"],
.report-table-card table tbody tr:hover [class*="text-slate-400"],
.report-table-card table tbody tr:hover [class*="text-slate-500"],
.report-table-card table tbody tr:hover [class*="text-slate-600"],
.ota-fill-table tbody tr:hover [class*="text-slate-400"],
.ota-fill-table tbody tr:hover [class*="text-slate-500"],
.ota-fill-table tbody tr:hover [class*="text-slate-600"] {
  color: var(--report-row-hover-muted) !important;
}

.report-table tbody tr[class*="bg-slate-900"]:hover td,
.report-table-card table tbody tr[class*="bg-slate-900"]:hover td,
.ota-fill-table tbody tr[class*="bg-slate-900"]:hover td {
  background: #0f172a !important;
  color: #ffffff !important;
}

#smile_report_groups_root .srg-booking-table-card {
  overflow: hidden !important;
}

#smile_report_groups_root .srg-booking-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

#smile_report_groups_root .srg-booking-table thead th {
  padding: 0.42rem 0.34rem !important;
  font-size: 0.63rem !important;
  line-height: 1.18 !important;
  letter-spacing: 0.075em !important;
}

#smile_report_groups_root .srg-booking-table tbody td {
  padding: 0.44rem 0.34rem !important;
  font-size: 0.78rem !important;
  line-height: 1.34 !important;
  white-space: nowrap;
  overflow: hidden;
}

#smile_report_groups_root .srg-booking-table thead th:first-child,
#smile_report_groups_root .srg-booking-table tbody td:first-child {
  padding-left: 0.5rem !important;
}

#smile_report_groups_root .srg-booking-table thead th:last-child,
#smile_report_groups_root .srg-booking-table tbody td:last-child {
  padding-right: 0.5rem !important;
}

#smile_report_groups_root .srg-booking-table .srg-booking-text {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#smile_report_groups_root .srg-booking-table--summary th:nth-child(1) { width: 15%; }
#smile_report_groups_root .srg-booking-table--summary th:nth-child(2) { width: 8%; }
#smile_report_groups_root .srg-booking-table--summary th:nth-child(3) { width: 29%; }
#smile_report_groups_root .srg-booking-table--summary th:nth-child(4) { width: 9%; }
#smile_report_groups_root .srg-booking-table--summary th:nth-child(5) { width: 8%; }
#smile_report_groups_root .srg-booking-table--summary th:nth-child(6) { width: 8%; }
#smile_report_groups_root .srg-booking-table--summary th:nth-child(7) { width: 15%; }
#smile_report_groups_root .srg-booking-table--summary th:nth-child(8) { width: 8%; }

#smile_report_groups_root .srg-booking-table--detail th:nth-child(1) { width: 7%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(2) { width: 6%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(3) { width: 18.5%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(4) { width: 9%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(5) { width: 7.5%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(6) { width: 7.5%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(7) { width: 13.5%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(8) { width: 14.5%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(9) { width: 3.5%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(10) { width: 6%; }
#smile_report_groups_root .srg-booking-table--detail th:nth-child(11) { width: 7%; }

#smile_report_groups_root .srg-availability-table-card {
  overflow: hidden !important;
}

#smile_report_groups_root .srg-availability-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

#smile_report_groups_root .srg-availability-table thead th {
  padding: 0.38rem 0.24rem !important;
  font-size: 0.62rem !important;
  line-height: 1.16 !important;
  letter-spacing: 0.075em !important;
  white-space: nowrap;
}

#smile_report_groups_root .srg-availability-table tbody td {
  padding: 0.38rem 0.24rem !important;
  font-size: 0.76rem !important;
  line-height: 1.26 !important;
  white-space: nowrap;
  overflow: hidden;
}

#smile_report_groups_root .srg-availability-table--matrix th:first-child,
#smile_report_groups_root .srg-availability-table--matrix td:first-child {
  width: 7.4rem;
  padding-left: 0.65rem !important;
  text-align: left;
}

#smile_report_groups_root .srg-availability-table--matrix .srg-avail-col-day,
#smile_report_groups_root .srg-availability-table--matrix .srg-avail-cell {
  width: 4.4rem;
}

#smile_report_groups_root .srg-availability-table--matrix .srg-avail-col-total,
#smile_report_groups_root .srg-availability-table--matrix .srg-avail-total {
  width: 4.8rem;
}

#smile_report_groups_root .srg-availability-table .srg-avail-room {
  min-width: 0;
  max-width: 7.4rem;
}

#smile_report_groups_root .srg-availability-table .srg-avail-sub {
  margin-top: 0.12rem;
  font-size: 0.66rem;
  line-height: 1.1;
  color: #94a3b8;
}

#smile_report_groups_root .srg-availability-table .srg-avail-weekday {
  margin-top: 0.12rem;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

#main-content table thead th[class*="report-col-tone--"] {
  color: var(--report-col-tone-color) !important;
}

#main-content table tbody td[class*="report-col-tone--"] {
  color: var(--report-col-tone-color) !important;
}

#main-content table tbody td[class*="report-col-tone--"] > *,
#main-content table tbody td[class*="report-col-tone--"] [class*="text-slate-"],
#main-content table tbody td[class*="report-col-tone--"] [class*="text-gray-"] {
  color: inherit !important;
}

.report-col-tone--today { --report-col-tone-color: var(--report-tone-today); }
.report-col-tone--range { --report-col-tone-color: var(--report-tone-range); }
.report-col-tone--mtd { --report-col-tone-color: var(--report-tone-mtd); }
.report-col-tone--ytd { --report-col-tone-color: var(--report-tone-ytd); }
.report-col-tone--gross { --report-col-tone-color: var(--report-tone-gross); }
.report-col-tone--service { --report-col-tone-color: var(--report-tone-service); }
.report-col-tone--tax { --report-col-tone-color: var(--report-tone-tax); }
.report-col-tone--comm { --report-col-tone-color: var(--report-tone-comm); }
.report-col-tone--pickup { --report-col-tone-color: var(--report-tone-pickup); }
.report-col-tone--arr { --report-col-tone-color: var(--report-tone-arr); }
.report-col-tone--dep { --report-col-tone-color: var(--report-tone-dep); }
.report-col-tone--occupied { --report-col-tone-color: var(--report-tone-occupied); }
.report-col-tone--available { --report-col-tone-color: var(--report-tone-available); }
.report-col-tone--occ { --report-col-tone-color: var(--report-tone-occ); }
.report-col-tone--guests { --report-col-tone-color: var(--report-tone-guests); }
.report-col-tone--count { --report-col-tone-color: var(--report-tone-count); }
.report-col-tone--amount { --report-col-tone-color: var(--report-tone-amount); }
.report-col-tone--adr { --report-col-tone-color: var(--report-tone-adr); }
.report-col-tone--revpar { --report-col-tone-color: var(--report-tone-revpar); }
.report-col-tone--ratio { --report-col-tone-color: var(--report-tone-ratio); }
.report-col-tone--debit { --report-col-tone-color: var(--report-tone-debit); }
.report-col-tone--credit { --report-col-tone-color: var(--report-tone-credit); }

#main-content [class*="text-slate-400"],
#main-content [class*="text-slate-500"] {
  line-height: 1.55;
}

#outlet-report-root .report-page-title {
  font-size: clamp(1.65rem, 1.95vw, 2.15rem) !important;
  line-height: 1.12;
}

#outlet-report-root .outlet-section-label {
  font-size: 0.75rem !important;
  letter-spacing: 0.13em !important;
}

#outlet-report-root .outlet-hero-copy {
  max-width: 72rem;
  font-size: 0.94rem !important;
  line-height: 1.65 !important;
  color: #64748b !important;
}

#outlet-report-root .outlet-hero-range,
#outlet-report-root .outlet-note-copy,
#outlet-report-root .outlet-filter-meta,
#outlet-report-root .outlet-kpi-note {
  font-size: 0.84rem !important;
  line-height: 1.5 !important;
}

#outlet-report-root .outlet-kpi-label,
#outlet-report-root .outlet-filter-label,
#outlet-report-root .report-kpi-label {
  font-size: 0.74rem !important;
  letter-spacing: 0.11em !important;
}

#outlet-report-root .report-kpi-value {
  font-size: clamp(1.3rem, 1.65vw, 2.05rem) !important;
  line-height: 1.08 !important;
}

#outlet-report-root .outlet-filter-bar input {
  font-size: 1.02rem !important;
}

#outlet-report-root .outlet-apply-button,
#outlet-report-root #outlet_apply {
  font-size: 0.9rem !important;
  letter-spacing: 0.08em !important;
}

#outlet-report-root .report-table thead th,
#outlet-report-root table thead th {
  font-size: 0.7rem !important;
  letter-spacing: 0.085em !important;
}

#outlet-report-root .report-table tbody td,
#outlet-report-root table tbody td {
  font-size: 0.84rem !important;
  line-height: 1.48 !important;
}

#outlet-report-root .outlet-table-wrap {
  width: 100%;
  max-width: 100%;
}

#outlet-report-root .outlet-board-table,
#outlet-report-root .outlet-detail-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

#outlet-report-root .outlet-board-table th,
#outlet-report-root .outlet-detail-table th {
  white-space: nowrap;
}

#outlet-report-root .outlet-detail-table th {
  font-size: 0.67rem !important;
  letter-spacing: 0.1em !important;
}

#outlet-report-root .outlet-board-cell,
#outlet-report-root .outlet-detail-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#outlet-report-root .outlet-board-cell--num,
#outlet-report-root .outlet-detail-table td:nth-child(5),
#outlet-report-root .outlet-detail-table td:nth-child(6),
#outlet-report-root .outlet-detail-table td:nth-child(7),
#outlet-report-root .outlet-detail-table td:nth-child(8),
#outlet-report-root .outlet-detail-table td:nth-child(9),
#outlet-report-root .outlet-detail-table td:nth-child(10),
#outlet-report-root .outlet-detail-table td:nth-child(11),
#outlet-report-root .outlet-detail-table td:nth-child(12),
#outlet-report-root .outlet-detail-table td:nth-child(13) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

#outlet-report-root .outlet-board-cell--outlet,
#outlet-report-root .outlet-board-cell--mix,
#outlet-report-root .outlet-board-cell--driver,
#outlet-report-root .outlet-detail-table td:nth-child(1),
#outlet-report-root .outlet-detail-table td:nth-child(2),
#outlet-report-root .outlet-detail-table td:nth-child(3),
#outlet-report-root .outlet-detail-table td:nth-child(4) {
  white-space: normal;
}

#outlet-report-root .outlet-detail-table td:nth-child(3),
#outlet-report-root .outlet-detail-table td:nth-child(4) {
  font-size: 0.8rem !important;
  line-height: 1.42 !important;
}

#outlet-report-root .outlet-detail-table th:nth-child(9),
#outlet-report-root .outlet-detail-table th:nth-child(10),
#outlet-report-root .outlet-detail-table th:nth-child(11),
#outlet-report-root .outlet-detail-table th:nth-child(12),
#outlet-report-root .outlet-detail-table th:nth-child(13),
#outlet-report-root .outlet-detail-table td:nth-child(9),
#outlet-report-root .outlet-detail-table td:nth-child(10),
#outlet-report-root .outlet-detail-table td:nth-child(11),
#outlet-report-root .outlet-detail-table td:nth-child(12),
#outlet-report-root .outlet-detail-table td:nth-child(13) {
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
}

#outlet-report-root .outlet-board-cell--outlet .inline-flex.rounded-full.border,
#outlet-report-root .outlet-detail-table td:first-child .inline-flex.rounded-full.border {
  padding-inline: 0.78rem !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.065em !important;
}

#dashboard-root .dash-section-label {
  font-size: 0.75rem !important;
  letter-spacing: 0.13em !important;
}

#dashboard-root .dash-section-label--light {
  color: rgba(224, 231, 255, 0.9) !important;
}

#dashboard-root .dash-section-label--orange {
  color: #f97316 !important;
}

#dashboard-root .dash-plan-dept,
#dashboard-root .dash-arrival-chip {
  font-size: 0.73rem !important;
  letter-spacing: 0.1em !important;
}

#dashboard-root .dash-plan-task,
#dashboard-root .dash-arrival-name {
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
}

#dashboard-root .dash-plan-deadline,
#dashboard-root .dash-arrival-meta,
#dashboard-root .dash-plan-empty,
#dashboard-root .dash-arrival-empty {
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

#dashboard-root .dash-fit-card {
  min-width: 0;
  overflow: hidden;
}

#main-content .report-fit-card,
#dashboard-root .dash-fit-card {
  min-width: 0;
  overflow: hidden;
}

#main-content .report-kpi-card:not(.report-kpi-card--summary) .report-kpi-value,
#main-content .report-fit-value,
#dashboard-root .dash-fit-value {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  text-wrap: nowrap;
  overflow: hidden;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
}

.ota-compact-table {
  table-layout: fixed;
  width: max-content !important;
  min-width: 0 !important;
  max-width: none !important;
}

.ota-compact-table thead th {
  padding: 0.46rem 0.42rem !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.08em !important;
}

.ota-compact-table tbody td {
  padding: 0.48rem 0.42rem !important;
  font-size: 0.79rem !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.ota-recon-table {
  width: 100% !important;
  min-width: 1120px !important;
  table-layout: auto !important;
}

.ota-recon-table thead th:nth-child(n+3):nth-child(-n+12),
.ota-recon-table tbody td:nth-child(n+3):nth-child(-n+12) {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.ota-recon-table tbody td:last-child div {
  max-width: none !important;
}

.ota-section-badge {
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}

.ota-recon-cell--section {
  text-align: center;
}

.ota-recon-cell--channel .ota-recon-channel-label,
.ota-recon-cell--channel .ota-recon-channel-meta {
  white-space: nowrap;
}

.ota-recon-cell--source .ota-recon-source {
  max-width: none !important;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  line-height: 1.35;
}

.ota-recon-table tbody tr,
.ota-folio-table tbody tr {
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.ota-recon-table tbody tr:hover td,
.ota-folio-table tbody tr:hover td {
  background: #eef4ff !important;
  color: #0f172a !important;
}

.ota-recon-table tbody tr:hover td:first-child,
.ota-folio-table tbody tr:hover td:first-child {
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}

.ota-recon-table tbody tr:hover td:last-child,
.ota-folio-table tbody tr:hover td:last-child {
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.ota-recon-table tbody tr:hover .ota-recon-channel-meta,
.ota-recon-table tbody tr:hover .ota-recon-source,
.ota-folio-table tbody tr:hover .ota-folio-state,
.ota-folio-table tbody tr:hover .ota-folio-room,
.ota-folio-table tbody tr:hover .ota-folio-channel-meta,
.ota-folio-table tbody tr:hover .ota-folio-source {
  color: #475569 !important;
}

.ota-folio-table {
  min-width: 1248px !important;
}

.ota-folio-table thead th:nth-child(n+6):nth-child(-n+12),
.ota-folio-table tbody td:nth-child(n+6):nth-child(-n+12) {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.ota-folio-folio,
.ota-folio-state,
.ota-folio-guest,
.ota-folio-room,
.ota-folio-channel-label,
.ota-folio-channel-meta,
.ota-folio-source {
  max-width: none !important;
}

.ota-folio-source {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  line-height: 1.35;
}

.ota-compact-table tbody td > div.break-words {
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

.ota-fill-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  table-layout: auto !important;
}

.ota-fill-table thead th,
.ota-fill-table tbody td {
  white-space: nowrap;
}

.ota-fill-table thead th:first-child,
.ota-fill-table tbody td:first-child {
  white-space: normal;
}

.report-compact-table col {
  width: auto !important;
}

.report-compact-table.ota-recon-table,
.report-compact-table.ota-folio-table,
.report-compact-table.ota-fill-table,
.report-compact-table.outlet-board-table,
.report-compact-table.outlet-detail-table,
.report-compact-table.srg-booking-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

.report-compact-table td[class*="report-col-kind--medium"],
.report-compact-table td[class*="report-col-kind--wide"],
.report-compact-table td[class*="report-col-kind--note"],
.report-compact-table th[class*="report-col-kind--medium"],
.report-compact-table th[class*="report-col-kind--wide"],
.report-compact-table th[class*="report-col-kind--note"] {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.report-compact-table .report-cell-ellipsis,
.report-compact-table .report-cell-ellipsis-host > * {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.report-compact-table.ota-recon-table tbody td:last-child div,
.report-compact-table .ota-recon-source,
.report-compact-table .ota-recon-channel-label,
.report-compact-table .ota-recon-channel-meta,
.report-compact-table .ota-folio-folio,
.report-compact-table .ota-folio-state,
.report-compact-table .ota-folio-guest,
.report-compact-table .ota-folio-room,
.report-compact-table .ota-folio-channel-label,
.report-compact-table .ota-folio-channel-meta,
.report-compact-table .ota-folio-source,
.report-compact-table .outlet-board-cell,
.report-compact-table .outlet-board-cell--outlet,
.report-compact-table .outlet-board-cell--mix,
.report-compact-table .outlet-board-cell--driver {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#main-content table tbody td.text-right,
#main-content table thead th.text-right {
  text-align: right;
}

#main-content table tbody td.text-center,
#main-content table thead th.text-center {
  text-align: center;
}

#smile_report_groups_root > .grid,
#bo_report_groups_root > .grid,
#manager_reports_root > .grid,
#group_reports_root > .grid {
  gap: 1rem;
  align-items: start;
}

@media (min-width: 1280px) {
  #smile_report_groups_root > .grid,
  #bo_report_groups_root > .grid,
  #manager_reports_root > .grid,
  #group_reports_root > .grid {
    grid-template-columns: minmax(236px, 258px) minmax(0, 1fr);
  }

  #smile_report_groups_root > .grid > :first-child,
  #bo_report_groups_root > .grid > :first-child,
  #manager_reports_root > .grid > :first-child,
  #group_reports_root > .grid > :first-child {
    grid-column: 1;
  }

  #smile_report_groups_root > .grid > :last-child,
  #bo_report_groups_root > .grid > :last-child,
  #manager_reports_root > .grid > :last-child,
  #group_reports_root > .grid > :last-child {
    grid-column: 2;
  }
}

#srg_report_list button,
#bo_rg_report_list button,
#mgr_report_list button,
#grp_report_list button {
  padding: 0.72rem 0.8rem !important;
  border-radius: 15px !important;
}

#srg_report_list button > div:last-child,
#bo_rg_report_list button > div:last-child,
#mgr_report_list button > div:last-child,
#grp_report_list button > div:last-child {
  margin-top: 0.15rem !important;
  font-size: 0.69rem !important;
  line-height: 1.3;
}

#globalLanguageSelector {
  top: 10px !important;
  right: 10px !important;
  gap: 6px !important;
  padding: 6px 10px !important;
  min-width: 126px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12) !important;
}

#globalLanguageSelector #i18nLanguageLabel {
  font-size: 9px !important;
  letter-spacing: 0.1em !important;
}

#globalLanguageSelector #i18nLanguageSelect {
  min-width: 66px !important;
  font-size: 10px !important;
}

#main-content .overflow-x-auto::-webkit-scrollbar,
.report-table-card::-webkit-scrollbar,
.report-table-card .overflow-x-auto::-webkit-scrollbar {
  height: 8px;
}

#main-content .overflow-x-auto::-webkit-scrollbar-track,
.report-table-card::-webkit-scrollbar-track,
.report-table-card .overflow-x-auto::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 999px;
}

#main-content .overflow-x-auto::-webkit-scrollbar-thumb,
.report-table-card::-webkit-scrollbar-thumb,
.report-table-card .overflow-x-auto::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .app-main-content {
    padding: 14px;
  }

  .report-compact-table-wrap {
    overflow-x: auto !important;
    scrollbar-width: thin !important;
  }

  .report-compact-table-wrap::-webkit-scrollbar {
    display: block !important;
  }

  .report-compact-table {
    min-width: 920px !important;
    table-layout: auto !important;
  }

  .app-shell {
    display: block !important;
  }

  .app-shell-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    border: 0;
    padding: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
  }

  .app-shell.sidebar-open .app-shell-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .app-shell-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(82vw, 18rem);
    max-width: 18rem;
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    overflow-y: auto;
  }

  .app-shell.sidebar-open .app-shell-sidebar {
    transform: translateX(0);
  }

  .app-mobile-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 30;
    margin-bottom: 0.35rem;
    padding: 0.85rem 0 0.95rem;
    background: linear-gradient(180deg, #f8fafc 72%, rgba(248, 250, 252, 0.94) 100%);
    backdrop-filter: blur(10px);
  }

  .report-page-title {
    font-size: clamp(1.65rem, 7vw, 2.2rem) !important;
  }

  .report-section-title {
    font-size: clamp(1.35rem, 5.4vw, 1.8rem) !important;
  }

  .report-kpi-card {
    min-height: 102px;
  }

  .report-kpi-grid--strip {
    width: 100%;
  }

  .report-kpi-grid--strip.report-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .app-toolbar-card {
    align-items: flex-start !important;
  }

  .app-toolbar-card > div:last-child {
    width: 100%;
    justify-content: space-between;
  }

  .report-filter-bar {
    align-items: stretch;
  }

  .report-filter-field {
    width: 100%;
    min-width: 0;
  }

  .report-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .report-action-buttons {
    width: 100%;
  }

  .report-action-button {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .report-action-status {
    width: 100%;
    min-height: 0;
  }

  .report-kpi-grid--strip.report-kpi-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.dashboard {
  padding: 20px;
  font-family: var(--app-font);
}

.summary {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.summary-item {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
}

.green {
  background: #dcfce7;
  color: #166534;
}

.yellow {
  background: #fef9c3;
  color: #854d0e;
}

.red {
  background: #fee2e2;
  color: #991b1b;
}

.gray {
  background: #f3f4f6;
  color: #374151;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.room-card {
  border-radius: 12px;
  padding: 12px;
  color: white;
  position: relative;
  min-height: 110px;
}

.room-card.clean {
  background: #34d399;
}

.room-card.dirty {
  background: #059669;
}

.room-number {
  font-size: 20px;
  font-weight: bold;
}

.hk-status {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-weight: bold;
}

.guest-badge {
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.green {
  background: #22c55e;
}

.dot.yellow {
  background: #facc15;
}

.dot.red {
  background: #ef4444;
}

.dot.gray {
  background: #9ca3af;
}
