/*
 * FILE: style.css
 * CSS global cua app shell va toan bo report pages.
 *
 * Ghi chu sua nhanh:
 * - Doi font family chung: xem `--app-font`
 * - Doi scale heading lon: tim khu `text-5xl/text-4xl/text-3xl`
 * - Doi label uppercase, table header: tim rule `table thead th`
 * - Doi body text nho: tim rule `text-[9px]`, `text-[10px]`, `text-[11px]`, `text-xs`, `text-sm`
 *
 * Luu y:
 * JS co the render class text size, nhung file nay dang override lai rat nhieu.
 * Neu sua size trong JS ma khong thay doi nhu mong muon, kiem tra file nay truoc.
 */
:root {
  /* Bien typography/chrome chung cua app. */
  /* Muon doi scale chu toan app thi uu tien sua bo --report-type-* o day.
     Day la lop goc, sau do cac selector ben duoi map text size render tu JS
     ve 5 nhom typography de giao dien dong deu hon. */
  --app-font: "Be Vietnam Pro", "Segoe UI", "Noto Sans", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --report-type-1-size: 24px;
  --report-type-1-weight: 700;
  --report-type-1-line-height: 1.22;
  --report-type-2-size: 12px;
  --report-type-2-weight: 600;
  --report-type-2-line-height: 1.4;
  --report-type-2-letter-spacing: 0.12em;
  --report-type-3-size: 14px;
  --report-type-3-weight: 700;
  --report-type-3-line-height: 1.55;
  --report-type-4-size: 14px;
  --report-type-4-weight: 600;
  --report-type-4-line-height: 1.42;
  --report-type-5-size: 14px;
  --report-type-5-weight: 600;
  --report-type-5-line-height: 1.5;
  --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 {
  /* Nut menu trai cua app shell.
     Muon doi chieu cao nut, bo goc, nen, border, khoang cach icon/chu
     thi chinh o cum .menu-item / .menu-item-label / .menu-item-dot nay. */
  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 {
  /* Font chu menu trai.
     Canh user hay hoi "ten menu ben trai nho/to o dau" thi sua o day. */
  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: var(--report-type-1-size) !important;
  font-weight: var(--report-type-1-weight) !important;
  line-height: var(--report-type-1-line-height);
  letter-spacing: -0.02em;
}

.report-section-title {
  font-size: var(--report-type-1-size) !important;
  font-weight: var(--report-type-1-weight) !important;
  line-height: var(--report-type-1-line-height);
  letter-spacing: -0.015em;
}

/* Heading lon trong report pages. */
#main-content :is(h1, h2, h3, h4, .report-page-title, .report-section-title)[class~="text-5xl"][class~="font-black"] {
  font-size: clamp(2.05rem, 2.75vw, 2.75rem);
  line-height: 1.08;
}

#main-content :is(h1, h2, h3, h4, .report-page-title, .report-section-title)[class~="text-4xl"][class~="font-black"] {
  font-size: var(--report-type-1-size);
  font-weight: var(--report-type-1-weight);
  line-height: var(--report-type-1-line-height);
}

#main-content :is(h1, h2, h3, h4, .report-page-title, .report-section-title)[class~="text-3xl"][class~="font-black"] {
  font-size: var(--report-type-1-size);
  font-weight: var(--report-type-1-weight);
  line-height: var(--report-type-1-line-height);
}

.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: var(--report-type-2-size) !important;
  font-weight: var(--report-type-2-weight) !important;
  line-height: var(--report-type-2-line-height);
  letter-spacing: var(--report-type-2-letter-spacing);
}

.report-kpi-value {
  font-size: var(--report-type-4-size) !important;
  font-weight: var(--report-type-4-weight) !important;
  line-height: var(--report-type-4-line-height);
  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: var(--report-type-5-size) !important;
  font-weight: var(--report-type-5-weight) !important;
  line-height: var(--report-type-5-line-height);
}

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

.report-kpi-card--metric > .report-kpi-value {
  display: block;
  width: 100%;
  font-size: var(--report-type-4-size) !important;
  font-weight: var(--report-type-4-weight) !important;
  line-height: var(--report-type-4-line-height);
  letter-spacing: -0.01em;
  overflow: hidden;
}

.report-kpi-card--metric > .report-kpi-note {
  font-size: var(--report-type-5-size) !important;
  font-weight: var(--report-type-5-weight) !important;
  line-height: var(--report-type-5-line-height) !important;
}

.report-kpi-card--summary > .report-kpi-value {
  font-size: var(--report-type-4-size) !important;
  font-weight: var(--report-type-4-weight) !important;
  line-height: var(--report-type-4-line-height);
  white-space: normal;
  text-wrap: balance;
}

.report-kpi-card--summary > .report-kpi-note {
  font-size: var(--report-type-5-size) !important;
  font-weight: var(--report-type-5-weight) !important;
  line-height: var(--report-type-5-line-height) !important;
}

#main-content :is(
  h1[class~="text-4xl"][class~="font-black"],
  h1[class~="text-3xl"][class~="font-black"],
  h2[class~="text-4xl"][class~="font-black"],
  h2[class~="text-3xl"][class~="font-black"],
  h2[class~="text-2xl"][class~="font-black"],
  h3[class~="text-2xl"][class~="font-black"],
  h3[class~="text-xl"][class~="font-black"]
) {
  font-size: var(--report-type-1-size) !important;
  font-weight: var(--report-type-1-weight) !important;
  line-height: var(--report-type-1-line-height) !important;
}

#main-content :is(div, p, span)[class~="text-3xl"][class~="font-black"][class*="tracking-tight"],
#main-content :is(div, p, span)[class~="text-2xl"][class~="font-black"][class*="tracking-tight"] {
  font-size: var(--report-type-1-size) !important;
  font-weight: var(--report-type-1-weight) !important;
  line-height: var(--report-type-1-line-height) !important;
}

/* Label uppercase nho, section label, table header. */
/* Neu tieu de cot trong bang, section tag, label uppercase dong loat bi qua to/nho
   thi day la mot trong nhung rule anh huong manh nhat. */
#main-content :is(div, p, span, label, button, th)[class*="text-[9px]"][class*="uppercase"],
#main-content :is(div, p, span, label, button, th)[class*="text-[10px]"][class*="uppercase"],
#main-content :is(div, p, span, label, button, th)[class*="text-[11px]"][class*="uppercase"],
#main-content :is(div, p, span, label, button, th)[class~="text-xs"][class~="uppercase"],
#main-content .dash-section-label,
#main-content .outlet-section-label,
#main-content .outlet-filter-label,
#main-content .outlet-kpi-label,
#main-content table thead th {
  font-size: var(--report-type-2-size) !important;
  font-weight: var(--report-type-2-weight) !important;
  line-height: var(--report-type-2-line-height) !important;
  letter-spacing: var(--report-type-2-letter-spacing) !important;
}

/* Body text / note text / subtitle. */
/* Cac dong note, subtitle, meta text trong report thuong bi CSS nay keo ve cung scale.
   Neu sua text-sm/text-xs trong JS ma van khong thay doi, kiem tra rule nay. */
#main-content :is(p, div, span, label)[class*="text-[10px]"]:not([class*="uppercase"]),
#main-content :is(p, div, span, label)[class*="text-[11px]"]:not([class*="uppercase"]),
#main-content :is(p, div, span, label)[class~="text-sm"],
#main-content :is(p, div, span, label)[class~="text-xs"],
#main-content .outlet-hero-copy,
#main-content .outlet-note-copy,
#main-content .outlet-filter-meta,
#main-content .outlet-kpi-note,
#main-content .dash-plan-task,
#main-content .dash-arrival-name,
#main-content .dash-plan-deadline,
#main-content .dash-arrival-meta,
#main-content .dash-plan-empty,
#main-content .dash-arrival-empty {
  font-size: var(--report-type-3-size) !important;
  font-weight: var(--report-type-3-weight) !important;
  line-height: var(--report-type-3-line-height) !important;
}

#main-content .report-kpi-card :is(div, p, span)[class~="text-lg"][class~="font-black"],
#main-content .report-kpi-card :is(div, p, span)[class~="text-xl"][class~="font-black"],
#main-content .report-kpi-card :is(div, p, span)[class~="text-2xl"][class~="font-black"],
#main-content .report-fit-card :is(div, p, span)[class~="text-lg"][class~="font-black"],
#main-content .report-fit-card :is(div, p, span)[class~="text-xl"][class~="font-black"],
#main-content .report-fit-card :is(div, p, span)[class~="text-2xl"][class~="font-black"],
#main-content :is(div, p, span)[class~="mt-1"]:is([class~="text-lg"], [class~="text-xl"], [class~="text-2xl"], [class~="text-3xl"], [class~="text-4xl"])[class~="font-black"],
#main-content :is(div, p, span)[class~="mt-2"]:is([class~="text-lg"], [class~="text-xl"], [class~="text-2xl"], [class~="text-3xl"], [class~="text-4xl"])[class~="font-black"],
#main-content :is(div, p, span)[class*="mt-2.5"]:is([class~="text-lg"], [class~="text-xl"], [class~="text-2xl"], [class~="text-3xl"], [class~="text-4xl"])[class~="font-black"],
#main-content :is(div, p, span)[class~="mt-4"]:is([class~="text-lg"], [class~="text-xl"], [class~="text-2xl"], [class~="text-3xl"], [class~="text-4xl"])[class~="font-black"],
#dashboard-root :is(div, p, span)[class~="text-xl"][class~="font-black"],
#dashboard-root :is(div, p, span)[class~="text-2xl"][class~="font-black"],
#main-content :is(div, p, span):not(h1):not(h2):not(h3):not(h4)[class*="text-[1.55rem]"][class~="font-black"],
#main-content :is(div, p, span):not(h1):not(h2):not(h3):not(h4)[class*="text-[1.72rem]"][class~="font-black"],
#main-content :is(div, p, span):not(h1):not(h2):not(h3):not(h4)[class*="text-[2rem]"][class~="font-black"],
#main-content .report-fit-value,
#main-content .report-kpi-value,
#dashboard-root .dash-fit-value {
  font-size: var(--report-type-4-size) !important;
  font-weight: var(--report-type-4-weight) !important;
  line-height: var(--report-type-4-line-height) !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;
}

.dashboard-outlet-matrix-table {
  min-width: 1680px !important;
  table-layout: fixed !important;
}

.dashboard-outlet-matrix-table thead th {
  white-space: normal !important;
  vertical-align: top;
}

.dashboard-outlet-matrix-table tbody td {
  white-space: nowrap;
}

.dashboard-outlet-matrix-table tbody td:nth-child(2) {
  white-space: normal;
}

#statistic_forecast_report_root .statistic-forecast-table-card {
  border-color: #dbeafe !important;
  background: #ffffff;
}

#statistic_forecast_report_root .statistic-forecast-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.2rem;
  scrollbar-gutter: stable;
  border-radius: 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

#statistic_forecast_report_root .statistic-forecast-table {
  width: 100% !important;
  min-width: 1360px !important;
  max-width: none !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff;
}

#statistic_forecast_report_root .statistic-forecast-table thead th,
#statistic_forecast_report_root .statistic-forecast-table tbody td {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  font-variant-numeric: tabular-nums;
}

#statistic_forecast_report_root .statistic-forecast-table thead th {
  padding-left: 0.24rem !important;
  padding-right: 0.24rem !important;
  font-size: 0.56rem !important;
  letter-spacing: 0.045em !important;
  background: #eef6ff !important;
  border-top: 1px solid #cfdceb !important;
  border-bottom: 1px solid #cfdceb !important;
}

#statistic_forecast_report_root .statistic-forecast-table tbody td {
  padding-left: 0.24rem !important;
  padding-right: 0.24rem !important;
  font-size: 0.71rem !important;
  line-height: 1.32 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #ffffff;
}

#statistic_forecast_report_root .statistic-forecast-table thead th,
#statistic_forecast_report_root .statistic-forecast-table tbody td {
  border-right: 1px solid #e2e8f0 !important;
}

#statistic_forecast_report_root .statistic-forecast-table thead th:first-child,
#statistic_forecast_report_root .statistic-forecast-table tbody td:first-child {
  border-left: 1px solid #e2e8f0 !important;
}

#statistic_forecast_report_root .statistic-forecast-table tbody tr:nth-child(even):not(.bg-slate-900) td {
  background: #f9fbff;
}

#statistic_forecast_report_root .statistic-forecast-table tbody tr:not(.bg-slate-900):hover td {
  background: #f1f7ff !important;
}

#statistic_forecast_report_root .statistic-forecast-table thead th:nth-child(2),
#statistic_forecast_report_root .statistic-forecast-table tbody td:nth-child(2),
#statistic_forecast_report_root .statistic-forecast-table thead th:nth-child(6),
#statistic_forecast_report_root .statistic-forecast-table tbody td:nth-child(6),
#statistic_forecast_report_root .statistic-forecast-table thead th:nth-child(10),
#statistic_forecast_report_root .statistic-forecast-table tbody td:nth-child(10),
#statistic_forecast_report_root .statistic-forecast-table thead th:nth-child(15),
#statistic_forecast_report_root .statistic-forecast-table tbody td:nth-child(15) {
  border-right: 2px solid #cbd5e1 !important;
}

#statistic_forecast_report_root .statistic-forecast-table tbody tr.bg-slate-900 td {
  border-color: #0f172a !important;
  background: #18233b !important;
  color: #ffffff !important;
}

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(1),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(1) { width: 7.4rem; }

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(2),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(2) { width: 3.4rem; }

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(3),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(3),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(4),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(4) { width: 3.95rem; }

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(5),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(5) { width: 3.2rem; }

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(6),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(6),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(7),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(7),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(8),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(8),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(9),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(9) { width: 2.7rem; }

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(10),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(10) { width: 3.6rem; }

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(11),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(11),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(12),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(12),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(13),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(13),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(14),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(14),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(15),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(15) { width: 5.95rem; }

#statistic_forecast_report_root .statistic-forecast-table th:nth-child(16),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(16),
#statistic_forecast_report_root .statistic-forecast-table th:nth-child(17),
#statistic_forecast_report_root .statistic-forecast-table td:nth-child(17) { width: 8.35rem; }

#smile_report_groups_root .statistic-forecast-table-card {
  border-color: #dbeafe !important;
  background: #ffffff;
}

#smile_report_groups_root .statistic-forecast-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden;
  padding-bottom: 0.35rem;
  scrollbar-gutter: stable;
  border-radius: 1rem;
}

#smile_report_groups_root .statistic-forecast-table {
  width: 100% !important;
  min-width: 1500px !important;
  max-width: none !important;
  table-layout: fixed !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

#smile_report_groups_root .statistic-forecast-table thead th {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.18 !important;
  vertical-align: middle;
  background: #eef6ff !important;
}

#smile_report_groups_root .statistic-forecast-table tbody td {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

#smile_report_groups_root .statistic-forecast-table th:nth-child(1),
#smile_report_groups_root .statistic-forecast-table td:nth-child(1) { width: 7.4rem; }

#smile_report_groups_root .statistic-forecast-table th:nth-child(2),
#smile_report_groups_root .statistic-forecast-table td:nth-child(2) { width: 3.4rem; }

#smile_report_groups_root .statistic-forecast-table th:nth-child(3),
#smile_report_groups_root .statistic-forecast-table td:nth-child(3),
#smile_report_groups_root .statistic-forecast-table th:nth-child(4),
#smile_report_groups_root .statistic-forecast-table td:nth-child(4) { width: 4rem; }

#smile_report_groups_root .statistic-forecast-table th:nth-child(5),
#smile_report_groups_root .statistic-forecast-table td:nth-child(5) { width: 3.4rem; }

#smile_report_groups_root .statistic-forecast-table th:nth-child(6),
#smile_report_groups_root .statistic-forecast-table td:nth-child(6),
#smile_report_groups_root .statistic-forecast-table th:nth-child(7),
#smile_report_groups_root .statistic-forecast-table td:nth-child(7),
#smile_report_groups_root .statistic-forecast-table th:nth-child(8),
#smile_report_groups_root .statistic-forecast-table td:nth-child(8) { width: 3rem; }

#smile_report_groups_root .statistic-forecast-table th:nth-child(9),
#smile_report_groups_root .statistic-forecast-table td:nth-child(9) {
  width: 4.25rem;
  min-width: 4.25rem;
}

#smile_report_groups_root .statistic-forecast-table th:nth-child(10),
#smile_report_groups_root .statistic-forecast-table td:nth-child(10) { width: 3.8rem; }

#smile_report_groups_root .statistic-forecast-table th:nth-child(11),
#smile_report_groups_root .statistic-forecast-table td:nth-child(11),
#smile_report_groups_root .statistic-forecast-table th:nth-child(12),
#smile_report_groups_root .statistic-forecast-table td:nth-child(12),
#smile_report_groups_root .statistic-forecast-table th:nth-child(13),
#smile_report_groups_root .statistic-forecast-table td:nth-child(13),
#smile_report_groups_root .statistic-forecast-table th:nth-child(14),
#smile_report_groups_root .statistic-forecast-table td:nth-child(14),
#smile_report_groups_root .statistic-forecast-table th:nth-child(15),
#smile_report_groups_root .statistic-forecast-table td:nth-child(15) { width: 6.1rem; }

#smile_report_groups_root .statistic-forecast-table th:nth-child(16),
#smile_report_groups_root .statistic-forecast-table td:nth-child(16),
#smile_report_groups_root .statistic-forecast-table th:nth-child(17),
#smile_report_groups_root .statistic-forecast-table td:nth-child(17) { width: 8.8rem; }

.report-table.ota-source-summary-table {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  table-layout: auto !important;
  display: table;
}

.report-table-card .overflow-x-auto.ota-source-summary-wrap {
  width: 100%;
  overflow-x: auto;
}

.report-table.ota-source-summary-table thead th,
.report-table.ota-source-summary-table tbody td {
  padding-left: 0.38rem !important;
  padding-right: 0.38rem !important;
}

.report-table.ota-source-summary-table tbody td:first-child,
.report-table.ota-source-summary-table thead th:first-child {
  padding-left: 0.45rem !important;
  padding-right: 0.18rem !important;
}

.report-table.ota-source-summary-table tbody td:first-child {
  white-space: normal !important;
}

.report-table.ota-source-summary-table thead th:not(:first-child),
.report-table.ota-source-summary-table tbody td:not(:first-child) {
  width: 1%;
  white-space: nowrap !important;
}

.report-table.ota-source-summary-table tbody td:first-child > div:last-child {
  display: block;
  width: 100%;
  max-width: none;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: normal;
  text-align: left;
}

.report-table.ota-source-summary-table .ota-source-ta-codes {
  display: block;
  width: 100%;
  max-width: none;
  font-size: 0.67rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.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;
}

.pdf-forecast-occ-table {
  min-width: 1432px;
  table-layout: fixed !important;
}

.pdf-forecast-occ-table thead th {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.18 !important;
  vertical-align: middle;
}

.pdf-forecast-occ-table th:nth-child(1),
.pdf-forecast-occ-table td:nth-child(1) {
  width: 17rem;
}

.pdf-forecast-occ-table th:nth-child(2),
.pdf-forecast-occ-table td:nth-child(2) {
  width: 5.5rem;
}

.pdf-forecast-occ-table th:nth-child(3),
.pdf-forecast-occ-table td:nth-child(3) {
  width: 17rem;
}

.pdf-forecast-occ-table th:nth-child(4),
.pdf-forecast-occ-table td:nth-child(4) {
  width: 16rem;
}

.pdf-forecast-occ-table th:nth-child(5),
.pdf-forecast-occ-table td:nth-child(5) {
  width: 15rem;
}

.pdf-forecast-occ-table th:nth-child(6),
.pdf-forecast-occ-table td:nth-child(6) {
  width: 19rem;
  min-width: 19rem;
}

.report-table-card thead th,
.report-table thead th,
#main-content table thead th {
  padding: 0.5rem 0.56rem !important;
  font-size: var(--report-type-2-size) !important;
  font-weight: var(--report-type-2-weight) !important;
  line-height: var(--report-type-2-line-height) !important;
  letter-spacing: var(--report-type-2-letter-spacing);
  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;
}

/* Override lai class font nho render tu JS. */
/* Day la lop override manh nhat cho text nho trong main-content.
   Vi du:
   - JS render `text-[9px]` thi thuc te se ra size o rule 0.74rem ben duoi
   - JS render `text-[10px]` thi se ra 0.79rem
   - JS render `text-[11px]` thi se ra 0.86rem
   Nho do muon tang/giam font nho toan bo app thi sua tai day nhanh nhat. */
#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: var(--report-type-4-size);
  font-weight: var(--report-type-4-weight);
  line-height: var(--report-type-4-line-height);
}

#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;
}

/* Local dashboard font/layout pass: keeps translated labels readable without
   letting table columns collapse around long Korean/Vietnamese copy. */
#main-content .report-page-shell {
  font-size: 0.92rem;
}

#main-content .report-page-shell h1,
#main-content .report-page-shell h2,
#main-content .report-page-shell h3,
#main-content .report-page-shell h4 {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

#main-content .report-page-shell :is(.uppercase, [class*="uppercase"], table thead th) {
  letter-spacing: 0.055em !important;
}

html[data-ui-lang="ko"] #main-content .report-page-shell,
html[data-ui-lang="ko"] #main-content .report-page-shell button,
html[data-ui-lang="ko"] #main-content .report-page-shell input,
html[data-ui-lang="ko"] #main-content .report-page-shell select {
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
}

html[data-ui-lang="ko"] #main-content .report-page-shell :is(.uppercase, [class*="uppercase"], table thead th) {
  letter-spacing: 0.015em !important;
}

#main-content .report-page-shell .report-kpi-label,
#main-content .report-page-shell table thead th {
  font-size: 0.72rem !important;
  line-height: 1.24 !important;
}

#main-content .report-page-shell table tbody td {
  font-size: 0.82rem !important;
  line-height: 1.32 !important;
}

#main-content .sales-room-revenue-section-tag > div {
  min-width: 9.4rem !important;
  max-width: 100%;
  padding: 0.38rem 0.9rem !important;
  font-size: 0.72rem !important;
  line-height: 1.1 !important;
  letter-spacing: 0.055em !important;
  white-space: nowrap;
}

#main-content .sales-room-revenue-heading {
  min-width: 18rem;
  max-width: 48rem;
}

#main-content .sales-room-revenue-title {
  font-size: clamp(1.2rem, 1.18vw, 1.45rem) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

#main-content .sales-room-revenue-note {
  max-width: 46rem;
  font-size: 0.74rem !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

#main-content .sales-room-revenue-kpis {
  min-width: min(32rem, 100%) !important;
}

#main-content .sales-room-revenue-kpis > div {
  min-width: 0;
  overflow: hidden;
}

#main-content .sales-room-revenue-kpi-label {
  font-size: 0.66rem !important;
  line-height: 1.12 !important;
  letter-spacing: 0.055em !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

#main-content .sales-room-revenue-table {
  width: 100% !important;
  min-width: 1320px !important;
  table-layout: fixed !important;
}

#main-content .sales-room-revenue-table .sales-room-revenue-col-name { width: 18rem !important; }
#main-content .sales-room-revenue-table .sales-room-revenue-col-room { width: 8.4rem !important; }
#main-content .sales-room-revenue-table .sales-room-revenue-col-occ { width: 7.2rem !important; }
#main-content .sales-room-revenue-table .sales-room-revenue-col-rrev { width: 18rem !important; }
#main-content .sales-room-revenue-table .sales-room-revenue-col-adr { width: 15rem !important; }
#main-content .sales-room-revenue-table .sales-room-revenue-col-guest { width: 8.8rem !important; }

#main-content .sales-room-revenue-table th:nth-child(1),
#main-content .sales-room-revenue-table td:nth-child(1) {
  width: 18rem !important;
  min-width: 18rem !important;
}

#main-content .sales-room-revenue-table th:nth-child(2),
#main-content .sales-room-revenue-table td:nth-child(2) {
  width: 8.4rem !important;
}

#main-content .sales-room-revenue-table th:nth-child(3),
#main-content .sales-room-revenue-table td:nth-child(3) {
  width: 7.2rem !important;
}

#main-content .sales-room-revenue-table th:nth-child(4),
#main-content .sales-room-revenue-table td:nth-child(4) {
  width: 18rem !important;
}

#main-content .sales-room-revenue-table th:nth-child(5),
#main-content .sales-room-revenue-table td:nth-child(5) {
  width: 15rem !important;
}

#main-content .sales-room-revenue-table th:nth-child(6),
#main-content .sales-room-revenue-table td:nth-child(6) {
  width: 8.8rem !important;
}

#main-content .sales-room-revenue-table thead th {
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  vertical-align: middle !important;
}

#main-content .sales-room-revenue-table tbody td {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#main-content .sales-room-revenue-table .sales-room-revenue-name {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  overflow-wrap: normal;
  word-break: keep-all;
}

#main-content .localized-month-field {
  position: relative;
  min-width: 0;
  height: 1.55rem;
}

#main-content .localized-month-field .localized-month-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: transparent !important;
  caret-color: transparent;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

#main-content .localized-month-field .localized-month-input::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
}

#main-content .localized-month-field .localized-month-display {
  position: absolute;
  left: 0;
  right: 1.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

html[data-ui-lang="ko"] #main-content .localized-month-field .localized-month-display {
  letter-spacing: 0 !important;
}

.weekly-room-status-table {
  min-width: 1260px !important;
  table-layout: fixed !important;
}

.weekly-room-status-table thead th,
.weekly-room-status-table thead th[class*="text-right"] {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  vertical-align: middle !important;
}

.weekly-room-status-table thead th:nth-child(1) {
  width: 9.5rem;
}

.weekly-room-status-table thead th:nth-child(2),
.weekly-room-status-table thead th:nth-child(3),
.weekly-room-status-table thead th:nth-child(6),
.weekly-room-status-table thead th:nth-child(7) {
  width: 7.5rem;
}

.weekly-room-status-table thead th:nth-child(4) {
  width: 9rem;
}

.weekly-room-status-table thead th:nth-child(5) {
  width: 9.5rem;
}

.weekly-room-status-table thead th:nth-child(8),
.weekly-room-status-table thead th:nth-child(9) {
  width: 12rem;
}

#sales_target_report_root .sales-target-board-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

#sales_target_report_root .sales-target-board-table thead th {
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 0.36rem 0.28rem !important;
  font-size: 0.58rem !important;
  line-height: 1.16 !important;
  letter-spacing: 0.08em !important;
}

#sales_target_report_root .sales-target-board-table thead th *,
#sales_target_report_root .sales-target-board-table thead th span,
#sales_target_report_root .sales-target-board-table thead th div {
  color: #ffffff !important;
  opacity: 1 !important;
}

#sales_target_report_root .sales-target-board-table tbody td {
  padding: 0.36rem 0.28rem !important;
  font-size: 0.72rem !important;
  line-height: 1.24 !important;
}

#sales_target_report_root .sales-target-board-table .sales-target-num-cell,
#sales_target_report_root .sales-target-board-table .sales-target-total-cell,
#sales_target_report_root .sales-target-board-table .sales-target-total-head,
#sales_target_report_root .sales-target-board-table .sales-target-month-head {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

#sales_target_report_root .sales-target-board-table tbody td:first-child {
  white-space: normal !important;
}

#target_report_root {
  width: 100%;
  max-width: 100%;
}

.target-report-page {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 0;
}

.target-report-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 2.35rem;
}

.target-report-title-wrap {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.target-report-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.25rem;
  min-height: 1.9rem;
  padding: 0.25rem 1.25rem;
  border: 2px solid #1d4ed8;
  background: #fb923c;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.target-report-actions {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  min-width: 0;
}

.target-report-year-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.target-report-year-label input {
  width: 5.8rem;
  height: 2rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
}

.target-report-button,
.target-report-icon-button {
  height: 2rem;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.target-report-button {
  padding: 0 0.9rem;
}

.target-report-icon-button {
  width: 2rem;
  padding: 0;
}

.target-report-button-primary {
  border-color: #1d4ed8;
  background: #2563eb;
  color: #ffffff;
}

.target-report-file-input {
  display: none;
}

.target-report-button:disabled,
.target-report-icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.target-report-table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.target-report-table {
  width: 100%;
  min-width: 1460px;
  border-collapse: collapse;
  table-layout: fixed;
}

.target-report-table thead th {
  height: 2.75rem;
  border: 1px solid #cbd5e1;
  background: #cfe7f8;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0 !important;
  line-height: 1.18;
  padding: 0.35rem 0.45rem;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.target-report-table tbody td {
  height: 3.1rem;
  border: 1px solid #d6dee9;
  background: #ffffff;
  padding: 0.4rem 0.55rem;
  vertical-align: middle;
}

.target-report-table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.target-report-month-col {
  width: 11.5rem;
}

.target-report-definition-col {
  width: 12.5rem;
}

.target-report-table thead th:nth-child(3) {
  width: 12.5rem;
}

.target-report-table thead th:nth-child(4) {
  width: 15rem;
}

.target-report-table thead th:nth-child(5),
.target-report-table thead th:nth-child(6) {
  width: 16.25rem;
}

.target-report-table thead th:nth-child(7) {
  width: 10rem;
}

.target-report-month-cell,
.target-report-definition-cell {
  color: #047857;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
}

.target-report-definition-cell {
  color: #334155;
}

.target-report-input {
  width: 100%;
  height: 2.1rem;
  border: 1px solid transparent;
  background: transparent;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: right;
}

.target-report-input:focus {
  border-color: #2563eb;
  background: #eff6ff;
  outline: 2px solid rgba(37, 99, 235, 0.16);
}

.target-report-footer {
  min-height: 1.35rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: right;
}

.target-report-footer [data-tone="ok"] {
  color: #047857;
}

.target-report-footer [data-tone="error"] {
  color: #dc2626;
}

@media (max-width: 900px) {
  .target-report-toolbar {
    flex-direction: column;
    align-items: center;
  }

  .target-report-actions {
    position: static;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.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;
}

.report-table tbody tr[class*="bg-slate-900"] td,
.report-table-card table tbody tr[class*="bg-slate-900"] td,
.ota-fill-table tbody tr[class*="bg-slate-900"] td,
.report-table tbody tr[class*="bg-slate-900"] td *,
.report-table-card table tbody tr[class*="bg-slate-900"] td *,
.ota-fill-table tbody tr[class*="bg-slate-900"] td * {
  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%; }

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

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

.arrival-compact-table thead th {
  padding: 0.42rem 0.32rem !important;
  font-size: 0.62rem !important;
  line-height: 1.16 !important;
  letter-spacing: 0.078em !important;
}

.arrival-compact-table tbody td {
  padding: 0.44rem 0.32rem !important;
  font-size: 0.78rem !important;
  line-height: 1.32 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

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

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

.arrival-compact-text {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arrival-compact-text--wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.28;
  max-height: calc(1.28em * 3);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.arrival-compact-text--wrap .arrival-compact-text-line {
  display: block;
}

.arrival-compact-text--wrap .arrival-compact-text-line + .arrival-compact-text-line {
  margin-top: 0.08rem;
}

.arrival-group-table {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.arrival-group-table th:nth-child(1) { width: 29%; }
.arrival-group-table th:nth-child(2) { width: 10%; }
.arrival-group-table th:nth-child(3) { width: 16%; }
.arrival-group-table th:nth-child(4) { width: 7%; }
.arrival-group-table th:nth-child(5) { width: 8%; }
.arrival-group-table th:nth-child(6) { width: 30%; }

.arrival-group-table th:nth-child(5),
.arrival-group-table th:nth-child(6) {
  white-space: normal !important;
  line-height: 1.08 !important;
}

.arrival-group-table td:nth-child(2),
.arrival-group-table td:nth-child(4),
.arrival-group-table td:nth-child(5) {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.arrival-group-table td:nth-child(6) {
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

.arrival-detail-table {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.arrival-detail-table th:nth-child(1) { width: 5.5%; }
.arrival-detail-table th:nth-child(2) { width: 5.5%; }
.arrival-detail-table th:nth-child(3) { width: 4.5%; }
.arrival-detail-table th:nth-child(4) { width: 4.5%; }
.arrival-detail-table th:nth-child(5) { width: 3.5%; }
.arrival-detail-table th:nth-child(6) { width: 13%; }
.arrival-detail-table th:nth-child(7) { width: 8%; }
.arrival-detail-table th:nth-child(8) { width: 4%; }
.arrival-detail-table th:nth-child(9) { width: 5.5%; }
.arrival-detail-table th:nth-child(10) { width: 6%; }
.arrival-detail-table th:nth-child(11) { width: 7%; }
.arrival-detail-table th:nth-child(12) { width: 7%; }
.arrival-detail-table th:nth-child(13) { width: 4.5%; }
.arrival-detail-table th:nth-child(14) { width: 20%; }

.arrival-detail-table td:nth-child(1),
.arrival-detail-table td:nth-child(2),
.arrival-detail-table td:nth-child(3),
.arrival-detail-table td:nth-child(4),
.arrival-detail-table td:nth-child(5),
.arrival-detail-table td:nth-child(8),
.arrival-detail-table td:nth-child(9),
.arrival-detail-table td:nth-child(10) {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.arrival-detail-table td:nth-child(6),
.arrival-detail-table td:nth-child(7),
.arrival-detail-table td:nth-child(11),
.arrival-detail-table td:nth-child(12),
.arrival-detail-table td:nth-child(14) {
  text-align: left;
}

.arrival-detail-table td:nth-child(14) {
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

.arrival-group-table td:nth-child(6) .arrival-compact-text--wrap,
.arrival-detail-table td:nth-child(14) .arrival-compact-text--wrap {
  font-size: 0.72rem;
  line-height: 1.26;
  color: #64748b;
}

.arrival-detail-table td:nth-child(12) .report-cell-ellipsis-host {
  text-align: right;
}

#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: var(--report-type-1-size) !important;
  font-weight: var(--report-type-1-weight) !important;
  line-height: var(--report-type-1-line-height);
}

#outlet-report-root .outlet-section-label {
  font-size: var(--report-type-2-size) !important;
  font-weight: var(--report-type-2-weight) !important;
  letter-spacing: var(--report-type-2-letter-spacing) !important;
}

#outlet-report-root .outlet-hero-copy {
  max-width: 72rem;
  font-size: var(--report-type-3-size) !important;
  font-weight: var(--report-type-3-weight) !important;
  line-height: var(--report-type-3-line-height) !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: var(--report-type-5-size) !important;
  font-weight: var(--report-type-5-weight) !important;
  line-height: var(--report-type-5-line-height) !important;
}

#outlet-report-root .outlet-kpi-label,
#outlet-report-root .outlet-filter-label,
#outlet-report-root .report-kpi-label {
  font-size: var(--report-type-2-size) !important;
  font-weight: var(--report-type-2-weight) !important;
  letter-spacing: var(--report-type-2-letter-spacing) !important;
}

#outlet-report-root .report-kpi-value {
  font-size: var(--report-type-4-size) !important;
  font-weight: var(--report-type-4-weight) !important;
  line-height: var(--report-type-4-line-height) !important;
}

#outlet-report-root .outlet-filter-bar input {
  font-size: var(--report-type-4-size) !important;
  font-weight: var(--report-type-4-weight) !important;
}

#outlet-report-root .outlet-apply-button,
#outlet-report-root #outlet_apply {
  font-size: var(--report-type-4-size) !important;
  font-weight: var(--report-type-4-weight) !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 {
  table-layout: auto !important;
}

#outlet-report-root .outlet-board-table {
  width: 1780px !important;
  min-width: 1780px !important;
}

#outlet-report-root .outlet-detail-table {
  width: 2300px !important;
  min-width: 2300px !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 {
  white-space: normal;
}

#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: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

#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: var(--report-type-2-size) !important;
  font-weight: var(--report-type-2-weight) !important;
  letter-spacing: var(--report-type-2-letter-spacing) !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: var(--report-type-2-size) !important;
  font-weight: var(--report-type-2-weight) !important;
  letter-spacing: var(--report-type-2-letter-spacing) !important;
}

#dashboard-root .dash-plan-task,
#dashboard-root .dash-arrival-name {
  font-size: var(--report-type-3-size) !important;
  font-weight: var(--report-type-3-weight) !important;
  line-height: var(--report-type-3-line-height) !important;
}

#dashboard-root .dash-plan-deadline,
#dashboard-root .dash-arrival-meta,
#dashboard-root .dash-plan-empty,
#dashboard-root .dash-arrival-empty {
  font-size: var(--report-type-5-size) !important;
  font-weight: var(--report-type-5-weight) !important;
  line-height: var(--report-type-5-line-height) !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.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: 20px !important;
  }

  .report-section-title {
    font-size: 20px !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;
}
