:root {
  --bg: #f6f8fb;
  --ink: #102027;
  --muted: #5e6b74;
  --line: #dfe7ef;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --ok: #16a34a;
  --fail: #dc2626;
  --card: #ffffff;
}

.content-module-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.content-module-tabs a {
  display: grid;
  gap: 6px;
  min-height: 82px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  padding: 14px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.content-module-tabs a:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.content-module-tabs strong {
  font-size: 15px;
}

.content-module-tabs span {
  color: var(--muted);
  font-size: 12px;
}

.content-module-section {
  scroll-margin-top: 92px;
}

.content-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.content-block-editor {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
}

.content-block-editor.is-new {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.content-editor-card {
  display: grid;
  gap: 8px;
}

.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.toggle-line input {
  width: 16px;
  height: 16px;
}

.delete-row {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1120px) {
  .content-module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-editor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .content-module-tabs {
    grid-template-columns: 1fr;
  }

  .editor-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
}

.shell {
  width: min(1040px, calc(100% - 32px));
  margin: 32px auto;
}

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 8px;
  background: #073b3a;
  color: #fff;
}

.hero.compact {
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: #9ee7dc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 18px;
}

.lead {
  max-width: 680px;
  margin: 12px 0 0;
  color: #d8fffa;
  line-height: 1.7;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #d8fffa;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.status {
  width: 12px;
  height: 42px;
  border-radius: 8px;
}

.status.ok {
  background: var(--ok);
}

.status.fail {
  background: var(--fail);
}

.panel {
  margin-top: 18px;
  padding: 22px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button.danger {
  background: #dc2626;
}

.button.danger:hover {
  background: #b91c1c;
}

table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  min-width: 76px;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pill.ok,
.notice.ok {
  background: #dcfce7;
  color: #166534;
}

.pill.warn {
  background: #fef3c7;
  color: #92400e;
}

.pill.neutral {
  background: #e5edf4;
  color: #334155;
}

.pill.fail,
.notice.fail {
  background: #fee2e2;
  color: #991b1b;
}

.notice {
  margin: 14px 0;
  padding: 14px;
  border-radius: 8px;
  line-height: 1.6;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .16), rgba(255, 255, 255, 0)),
    var(--bg);
}

.auth-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .1);
}

.auth-note {
  margin: 10px 0 20px;
  color: var(--muted);
}

.form-stack {
  display: grid;
  gap: 14px;
}

.form-stack label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.form-stack input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.form-stack input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .14);
  outline: none;
}

.form-stack .button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.small-link {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.small-link a {
  color: var(--primary);
  font-weight: 700;
}

.app-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg);
}

.app-sidebar {
  background: #0f2f2d;
  color: #d8fffa;
  padding: 22px;
}

.brand-block {
  display: grid;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.brand-block strong {
  color: #fff;
  font-size: 20px;
}

.brand-block span {
  color: #9ee7dc;
  font-size: 13px;
}

.app-menu {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.app-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: #d8fffa;
  font-weight: 700;
  text-decoration: none;
}

.app-menu a.active,
.app-menu a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.app-main {
  min-width: 0;
  padding: 24px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.muted {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  width: 100%;
  padding: 10px 12px;
  resize: vertical;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 32px;
}

.metric.metric-warn {
  border-color: #f7d78a;
  background: #fffbeb;
}

.metric.metric-warn strong {
  color: #92400e;
}

.booking-metrics {
  margin-bottom: 18px;
}

.launch-summary-panel,
.launch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.launch-summary-copy .eyebrow,
.launch-hero .eyebrow {
  color: var(--primary);
}

.launch-summary-side {
  display: grid;
  gap: 12px;
}

.launch-progress {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #e5edf4;
}

.launch-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #22c55e);
}

.launch-score {
  display: grid;
  gap: 4px;
}

.launch-score strong {
  color: var(--primary);
  font-size: 44px;
  line-height: 1;
}

.launch-score span {
  color: var(--muted);
  font-weight: 700;
}

.launch-check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.launch-check-card {
  display: grid;
  gap: 18px;
  margin-top: 0;
  border-left: 5px solid #f59e0b;
}

.launch-check-card.done {
  border-left-color: #16a34a;
}

.launch-check-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.launch-status-dot {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
}

.launch-check-card.done .launch-status-dot {
  background: #dcfce7;
  color: #166534;
}

.launch-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  gap: 18px;
  margin-bottom: 18px;
}

.no-margin {
  margin-top: 0;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.form-grid input,
.inline-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.form-grid .check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-grid .check-row input {
  width: auto;
  min-height: auto;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.span-2 {
  grid-column: span 2;
}

.help-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.help-list p {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.help-list strong {
  color: var(--ink);
}

.room-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.room-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.room-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.room-main h3 {
  margin: 0;
  font-size: 18px;
}

.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.unit-tags span,
.unit-tags small {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  background: #eef6f5;
  padding: 0 10px;
  color: #115e59;
  font-size: 13px;
  font-weight: 700;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.room-media-section {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid #d8ebe8;
  border-radius: 8px;
  background: #f8fbfb;
  padding: 14px;
}

.room-media-head {
  display: grid;
  gap: 3px;
}

.room-media-head strong {
  color: var(--ink);
}

.room-media-head span {
  color: var(--muted);
  font-size: 13px;
}

.room-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.room-media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.room-media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f7;
}

.room-media-card > div {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.room-media-card span {
  color: var(--muted);
  font-size: 12px;
}

.room-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 10px 10px;
}

.room-media-actions .button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.room-image-form {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 170px minmax(190px, 1fr) 90px auto;
  align-items: end;
  gap: 10px;
}

.room-image-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.room-image-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.compact-form {
  grid-template-columns: 180px 180px minmax(260px, 1fr) auto;
  align-items: end;
}

.compact-form .span-2 {
  grid-column: span 1;
}

.availability-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  border: 1px solid #b8ebe2;
  border-radius: 8px;
  background: #eefdfb;
  padding: 14px;
  color: #115e59;
}

.availability-box strong {
  color: #0f2f2d;
}

.price-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 16px;
}

.price-summary span {
  color: var(--muted);
}

.price-summary strong {
  color: var(--ink);
  text-align: right;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.table-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.table-action {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}

.status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.status-tabs a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.status-tabs a.active {
  border-color: #99d6cf;
  background: #e6fffb;
  color: var(--primary-dark);
}

.payment-toolbar {
  display: grid;
  grid-template-columns: 180px minmax(260px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.payment-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.payment-toolbar input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.slip-thumb {
  display: block;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.payment-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-review-actions.stacked {
  align-items: stretch;
  flex-direction: column;
}

.payment-review-actions form {
  margin: 0;
}

.payment-review-actions .button {
  min-height: 32px;
  border: 0;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.payment-review-actions .button.danger {
  background: #dc2626;
}

.payment-review-actions .button.danger:hover {
  background: #b91c1c;
}

.receipt-body {
  background: #e9eef5;
}

.receipt-shell {
  width: min(1040px, calc(100% - 28px));
  margin: 22px auto;
}

.receipt-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.receipt-paper {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 34px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .12);
}

.receipt-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr);
  gap: 24px;
  align-items: start;
  border-bottom: 2px solid #102027;
  padding-bottom: 18px;
}

.receipt-header .eyebrow {
  color: var(--primary);
}

.receipt-resort {
  display: grid;
  gap: 6px;
  color: var(--muted);
  text-align: right;
}

.receipt-resort strong {
  color: var(--ink);
  font-size: 20px;
}

.receipt-summary-grid,
.receipt-two-col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.receipt-summary-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
  padding: 14px;
}

.receipt-summary-grid span,
.receipt-list span,
.receipt-total-list span {
  color: var(--muted);
  font-size: 13px;
}

.receipt-summary-grid strong,
.receipt-list strong,
.receipt-total-list strong {
  color: var(--ink);
}

.receipt-two-col {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.receipt-section {
  margin-top: 22px;
}

.receipt-list,
.receipt-total-list {
  display: grid;
  grid-template-columns: minmax(130px, .45fr) minmax(0, 1fr);
  gap: 10px 14px;
  margin-top: 12px;
}

.receipt-total-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
  padding: 14px;
}

.receipt-total-list strong {
  text-align: right;
}

.receipt-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.receipt-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.receipt-signature {
  display: flex;
  min-height: 92px;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid #102027;
  color: var(--muted);
}

.operations-toolbar {
  display: grid;
  grid-template-columns: 220px auto auto;
  gap: 10px;
  align-items: end;
}

.operations-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.operations-toolbar input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.operation-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.operation-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.operation-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.operation-card h3 {
  margin: 6px 0;
  color: var(--ink);
  font-size: 17px;
}

.operation-card p {
  margin: 4px 0;
  color: var(--muted);
}

.operation-card-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  text-align: right;
}

.operation-card-side strong {
  color: var(--ink);
  font-size: 18px;
}

.operation-meta,
.operation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.operation-meta {
  color: var(--muted);
  font-size: 13px;
}

.operation-actions form {
  margin: 0;
}

.operation-actions .button {
  min-height: 34px;
  padding: 0 11px;
  font-size: 13px;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  margin: 16px 0;
}

.search-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.report-filter {
  display: grid;
  grid-template-columns: 180px 180px auto auto auto;
  align-items: end;
  gap: 10px;
}

.report-filter label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.report-filter input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.bar-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.bar-list.compact-bars {
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bar-label strong {
  color: var(--ink);
}

.bar-label span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
}

.detail-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.detail-grid span {
  color: var(--muted);
}

.detail-grid strong {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f7;
}

.media-card-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.media-card-body span {
  color: var(--muted);
  font-size: 13px;
}

.media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.media-actions .button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.map-position-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.map-form-actions,
.map-point-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-editor-stage {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f2f2d;
  cursor: crosshair;
}

.map-editor-stage img {
  display: block;
  width: 100%;
  height: auto;
}

.map-editor-pin {
  position: absolute;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: 800 13px/1 Arial, Tahoma, sans-serif;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .35);
  cursor: pointer;
}

.map-editor-pin.active {
  outline: 4px solid rgba(245, 158, 11, .42);
  transform: translate(-50%, -50%) scale(1.12);
}

.map-point-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.map-point-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.map-point-item div {
  display: grid;
  gap: 4px;
}

.map-point-item span {
  color: var(--muted);
  font-size: 13px;
}

.map-point-actions .active {
  border-color: var(--primary);
  background: #eefdfb;
  color: var(--primary);
}

.theme-preset-list {
  display: grid;
  gap: 8px;
}

.theme-preset-list div {
  display: grid;
  grid-template-columns: 18px 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
  padding: 9px;
  color: var(--ink);
  font-weight: 700;
}

.theme-preset-list i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .12);
}

.subhead {
  margin-top: 24px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.timeline-item {
  border-left: 3px solid var(--primary);
  background: #f8fbfb;
  padding: 10px 12px;
}

.timeline-item strong,
.timeline-item span {
  display: block;
}

.timeline-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.timeline-item p {
  margin: 8px 0 0;
  color: var(--ink);
  line-height: 1.5;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: auto 180px 140px auto auto;
  align-items: end;
  gap: 12px;
}

.calendar-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.calendar-toolbar input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.calendar-scroll {
  width: 100%;
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.calendar-table {
  min-width: 980px;
  margin: 0;
  table-layout: fixed;
}

.calendar-table th,
.calendar-table td {
  min-width: 108px;
  padding: 8px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.calendar-table th {
  background: #f8fbfb;
}

.calendar-table th span,
.calendar-table th small,
.resource-col span,
.resource-col strong {
  display: block;
}

.resource-col {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 180px;
  min-width: 180px;
  background: #fff;
  text-align: left !important;
}

th.resource-col {
  z-index: 3;
  background: #f8fbfb;
}

.today-col {
  background: #f0fdfa !important;
}

.cal-free {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
  background: #f4f7f7;
  color: #64748b;
  font-size: 13px;
}

.cal-slot,
.cal-capacity {
  display: grid;
  gap: 4px;
  min-height: 44px;
  align-content: center;
  border-radius: 8px;
  padding: 6px;
  color: #fff;
  text-decoration: none;
}

.cal-slot strong,
.cal-slot small,
.cal-capacity strong,
.cal-capacity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-slot.pending_payment {
  background: #d97706;
}

.cal-slot.payment_review {
  background: #7c3aed;
}

.cal-slot.confirmed,
.cal-capacity.busy {
  background: #0f766e;
}

.cal-slot.checked_in {
  background: #2563eb;
}

.cal-slot.blocked,
.cal-capacity.blocked {
  background: #475569;
}

.cal-capacity.full {
  background: #dc2626;
}

small {
  color: var(--muted);
}

.cal-slot small,
.cal-capacity small {
  color: rgba(255, 255, 255, .88);
}

@media (max-width: 820px) {
  .hero {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-wrap {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    position: static;
  }

  .app-menu {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: auto;
  }

  .app-menu a {
    justify-content: center;
    white-space: nowrap;
  }

  .app-topbar,
  .panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .metric-grid,
  .two-col,
  .media-grid,
  .room-media-grid,
  .launch-check-grid {
    grid-template-columns: 1fr 1fr;
  }

  .operations-grid {
    grid-template-columns: 1fr;
  }

  .launch-summary-panel,
  .launch-hero {
    grid-template-columns: 1fr;
  }

  .room-image-form {
    grid-template-columns: 1fr 1fr;
  }

  .compact-form {
    grid-template-columns: 1fr 1fr;
  }

  .compact-form .span-2 {
    grid-column: span 2;
  }

  .payment-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .operations-toolbar {
    grid-template-columns: 1fr auto auto;
  }

  .calendar-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 20px, 1040px);
    margin: 10px auto;
  }

  .hero,
  .panel {
    padding: 18px;
  }

  h1 {
    font-size: 28px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .app-main,
  .app-sidebar {
    padding: 14px;
  }

  .metric-grid,
  .two-col,
  .form-grid,
  .media-grid,
  .room-media-grid,
  .launch-check-grid,
  .room-image-form,
  .map-position-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }

  .topbar-actions,
  .inline-form {
    grid-template-columns: 1fr;
    display: grid;
  }

  .compact-form {
    grid-template-columns: 1fr;
  }

  .calendar-toolbar {
    grid-template-columns: 1fr;
  }

  .compact-form .span-2 {
    grid-column: span 1;
  }

  .availability-box,
  .price-summary {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .availability-box {
    flex-direction: column;
  }

  .map-point-item {
    align-items: stretch;
    flex-direction: column;
  }

  .price-summary strong {
    text-align: left;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .report-filter {
    grid-template-columns: 1fr;
  }

  .payment-toolbar {
    grid-template-columns: 1fr;
  }

  .operations-toolbar,
  .operation-card-main {
    grid-template-columns: 1fr;
  }

  .operation-card-side {
    justify-items: start;
    text-align: left;
  }

  .receipt-shell {
    width: min(100% - 20px, 1040px);
    margin: 10px auto;
  }

  .receipt-paper {
    padding: 18px;
  }

  .receipt-header,
  .receipt-two-col,
  .receipt-footer {
    grid-template-columns: 1fr;
  }

  .receipt-resort {
    text-align: left;
  }

  .receipt-summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bar-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .bar-label span {
    text-align: left;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  body,
  .receipt-body {
    background: #fff;
  }

  .no-print {
    display: none !important;
  }

  .receipt-shell {
    width: 100%;
    margin: 0;
  }

  .receipt-paper {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }

  .receipt-section,
  .receipt-two-col,
  .receipt-footer {
    break-inside: avoid;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}

/* Step 51: clearer SaaS back-office theme */
:root {
  --bg: #f5f7fa;
  --ink: #13212b;
  --muted: #64727d;
  --line: #dce5ec;
  --line-strong: #c8d5df;
  --primary: #0f766e;
  --primary-dark: #0b5f59;
  --primary-soft: #e7f5f2;
  --accent: #d97706;
  --accent-soft: #fff4df;
  --ok: #15803d;
  --fail: #b91c1c;
  --card: #ffffff;
  --surface-soft: #f9fbfc;
  --shadow-soft: 0 8px 20px rgba(19, 33, 43, .06);
  --shadow-panel: 0 12px 30px rgba(19, 33, 43, .08);
}

body {
  background: var(--bg);
  font-size: 15px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1080px, calc(100% - 32px));
}

.hero {
  background: #143733;
  box-shadow: var(--shadow-panel);
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.hero .eyebrow {
  color: #9ee7dc;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

.app-wrap {
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--bg);
}

.app-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  border-right: 1px solid rgba(255, 255, 255, .1);
  background: #143733;
  padding: 20px 16px;
}

.brand-block {
  padding: 4px 8px 18px;
}

.brand-block strong {
  font-size: 21px;
  line-height: 1.15;
}

.brand-block span {
  color: #9fe4dc;
  font-weight: 800;
}

.app-menu {
  gap: 5px;
  margin-top: 18px;
}

.app-menu a {
  min-height: 40px;
  border-radius: 8px;
  color: #ddfbf6;
  font-weight: 900;
  padding: 0 12px;
}

.app-menu a.active {
  background: #fff;
  color: #0f3f3b;
}

.app-menu a:hover {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.app-main {
  padding: 26px;
}

.app-topbar {
  align-items: flex-start;
  margin-bottom: 18px;
}

.topbar-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.panel,
.card,
.metric,
.auth-card,
.room-item,
.operation-card,
.receipt-paper {
  border-color: var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 20px;
}

.panel-head {
  margin-bottom: 16px;
}

.metric-grid {
  gap: 14px;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 18px;
}

.metric::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--primary);
  content: "";
}

.metric.metric-warn::before {
  background: var(--accent);
}

.metric span {
  font-size: 13px;
  font-weight: 900;
}

.metric strong {
  margin-top: 10px;
  color: #081921;
  font-size: 30px;
  line-height: 1.1;
}

.metric.metric-warn {
  border-color: #f4d391;
  background: #fffaf0;
}

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: background .14s ease, border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.button:hover {
  box-shadow: 0 8px 18px rgba(15, 118, 110, .18);
}

.button:active {
  transform: translateY(1px);
}

.button.secondary {
  border-color: var(--line-strong);
  background: #fff;
}

.button.secondary:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-dark);
  box-shadow: none;
}

.button.danger {
  background: var(--fail);
}

.button.danger:hover {
  background: #991b1b;
}

.notice {
  border: 1px solid transparent;
  font-weight: 800;
}

.notice.ok {
  border-color: #bbf7d0;
}

.notice.fail {
  border-color: #fecaca;
}

.notice.warn {
  border-color: #fde68a;
}

.pill {
  min-width: auto;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
}

table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.table-scroll table,
.calendar-table {
  border-collapse: separate;
}

th {
  background: var(--surface-soft);
  color: #52616b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

tbody tr:hover td {
  background: #fbfdfd;
}

tr:last-child td {
  border-bottom: 0;
}

.table-link {
  color: var(--primary);
  font-weight: 900;
}

.form-grid label,
.form-stack label,
.inline-form label,
.payment-toolbar label,
.report-filter label,
.calendar-toolbar label,
.operations-toolbar label {
  font-weight: 900;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.form-stack input,
.inline-form input,
.payment-toolbar input,
.payment-toolbar select,
.report-filter input,
.calendar-toolbar input,
.calendar-toolbar select,
.operations-toolbar input,
select,
textarea {
  border-color: var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.form-stack input:focus,
.inline-form input:focus,
.payment-toolbar input:focus,
.payment-toolbar select:focus,
.report-filter input:focus,
.calendar-toolbar input:focus,
.calendar-toolbar select:focus,
.operations-toolbar input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
.app-menu a:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .16);
  outline: none;
}

.availability-box,
.price-summary {
  border-color: var(--line);
  background: var(--surface-soft);
}

.room-item,
.operation-card {
  padding: 16px;
}

.room-item:hover,
.operation-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-panel);
}

.unit-tags span,
.unit-tags small {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.status-tabs {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.status-tabs a {
  border-radius: 7px;
  font-weight: 900;
}

.status-tabs a.active {
  background: var(--primary);
  color: #fff;
}

.calendar-scroll {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-table {
  margin-top: 0;
  border: 0;
}

.calendar-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.calendar-table .resource-col {
  background: #f3f7f8;
  font-weight: 900;
}

.calendar-table th.today-col,
.calendar-table td.today-col {
  background: #fff7ed;
}

.cal-slot,
.cal-capacity {
  border-radius: 8px;
  font-weight: 900;
}

.cal-slot.pending_payment {
  background: var(--accent);
}

.cal-slot.payment_review {
  background: #7c3aed;
}

.cal-slot.confirmed,
.cal-capacity.busy {
  background: var(--primary);
}

.operation-card-main {
  align-items: flex-start;
}

.operation-meta {
  color: var(--muted);
}

.launch-summary-panel,
.launch-hero {
  border-color: var(--line);
}

.launch-progress {
  background: #e6edf3;
}

.launch-progress span {
  background: var(--primary);
}

.launch-status-dot {
  font-weight: 900;
}

.bar-track,
.bar-fill {
  border-radius: 999px;
}

.bar-fill {
  background: var(--primary);
}

.receipt-paper {
  box-shadow: var(--shadow-panel);
}

.auth-shell {
  background: var(--bg);
}

@media (max-width: 1040px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .app-sidebar {
    min-height: auto;
    padding: 14px;
  }

  .brand-block {
    padding: 0 4px 12px;
  }

  .app-menu {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    grid-template-columns: none;
    padding-bottom: 4px;
  }

  .app-topbar {
    align-items: stretch;
  }

  .topbar-actions {
    justify-content: flex-start;
  }
}

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

  .panel,
  .metric,
  .card,
  .auth-card,
  .room-item,
  .operation-card {
    padding: 16px;
  }

  .topbar-actions .button,
  .actions .button,
  .form-grid .button,
  .payment-toolbar .button,
  .report-filter .button,
  .calendar-toolbar .button,
  .operations-toolbar .button {
    width: 100%;
  }

  .metric strong {
    font-size: 26px;
  }

  th,
  td {
    padding: 10px;
  }
}

/* Step 52/53: app top Thai navigation */
.dashboard-top-wrap {
  display: block;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(20, 184, 166, .12), rgba(245, 247, 250, 0) 280px),
    var(--bg);
}

.dashboard-top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: auto;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background:
    linear-gradient(135deg, #0f3f3b 0%, #0f766e 58%, #d97706 100%);
  padding: 10px 20px;
  box-shadow: 0 12px 30px rgba(19, 33, 43, .18);
}

.dashboard-top-nav .brand-block {
  padding: 0;
  border-bottom: 0;
}

.dashboard-top-nav .brand-block strong {
  font-size: 20px;
  letter-spacing: 0;
}

.dashboard-top-nav .brand-block span {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.dashboard-top-nav .app-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dashboard-top-nav .app-menu a {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  flex: 0 0 auto;
  padding: 0 10px;
  color: #effdfa;
  font-size: 13px;
  white-space: nowrap;
}

.dashboard-top-nav .app-menu a:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.dashboard-top-nav .app-menu a.active {
  background: #fff;
  color: #0f3f3b;
  box-shadow: 0 8px 18px rgba(19, 33, 43, .16);
}

.dashboard-top-wrap .app-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 30px;
}

.dashboard-hero-topbar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff 0%, #eef9f6 56%, #fff7ed 100%);
  box-shadow: var(--shadow-panel);
  padding: 20px;
}

.dashboard-top-wrap .booking-metrics .metric {
  position: relative;
  overflow: hidden;
}

.dashboard-top-wrap .booking-metrics .metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--primary);
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(1) {
  background: #fff7ed;
  border-color: #fed7aa;
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(1)::before {
  background: #d97706;
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(2) {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(2)::before {
  background: #2563eb;
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(3) {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(3)::before {
  background: #0f766e;
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(4) {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.dashboard-top-wrap .booking-metrics .metric:nth-child(4)::before {
  background: #7c3aed;
}

.dashboard-top-wrap .booking-queue-panel {
  border-top: 4px solid var(--primary);
}

.dashboard-top-wrap .launch-summary-panel {
  background:
    linear-gradient(135deg, #fff 0%, #f0fdfa 62%, #fff7ed 100%);
}

@media (max-width: 980px) {
  .dashboard-top-nav {
    grid-template-columns: 1fr;
  }

  .dashboard-top-nav .app-menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 540px) {
  .dashboard-top-nav {
    padding: 12px 14px;
  }

  .dashboard-top-wrap .app-main {
    width: min(100% - 20px, 1280px);
    padding-top: 14px;
  }

  .dashboard-hero-topbar {
    padding: 16px;
  }

  .dashboard-top-nav .app-menu a {
    min-height: 34px;
    padding: 0 10px;
  }
}

/* Step 54: Agoda-style top menu for app dashboard */
.agoda-admin-wrap {
  display: block;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #eaf3ff 0, rgba(246, 248, 251, 0) 220px),
    var(--bg);
}

.agoda-admin-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: auto;
  border-right: 0;
  border-bottom: 1px solid #d8e4f2;
  background: #fff;
  color: #0b1f3a;
  padding: 10px 24px;
  box-shadow: 0 8px 22px rgba(15, 35, 66, .10);
}

.agoda-admin-nav .brand-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 210px;
  border-bottom: 0;
  padding: 0;
}

.agoda-admin-nav .brand-block strong {
  color: #0a57d0;
  font-size: 22px;
  font-weight: 900;
}

.agoda-admin-nav .brand-block span {
  color: #5e6b74;
  font-size: 12px;
  font-weight: 900;
}

.agoda-admin-nav .app-menu {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  overflow-x: auto;
  padding: 2px 0 3px;
  scrollbar-width: thin;
}

.agoda-admin-nav .app-menu a {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
  color: #22324d;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.agoda-admin-nav .app-menu a:hover {
  border-color: #b9d4ff;
  background: #edf5ff;
  color: #0a57d0;
}

.agoda-admin-nav .app-menu a.active {
  border-color: #0a57d0;
  background: #0a57d0;
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 87, 208, .22);
}

.agoda-admin-nav .app-submenu {
  position: relative;
  flex: 0 0 auto;
}

.agoda-admin-nav .app-submenu summary {
  display: flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 32px 0 14px;
  color: #22324d;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.agoda-admin-nav .app-submenu summary::-webkit-details-marker {
  display: none;
}

.agoda-admin-nav .app-submenu summary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
}

.agoda-admin-nav .app-submenu summary:hover {
  border-color: #b9d4ff;
  background: #edf5ff;
  color: #0a57d0;
}

.agoda-admin-nav .app-submenu[open] summary,
.agoda-admin-nav .app-submenu.active summary {
  border-color: #0a57d0;
  background: #0a57d0;
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 87, 208, .22);
}

.agoda-admin-nav .submenu-panel {
  position: fixed;
  top: 58px;
  right: 24px;
  z-index: 80;
  display: grid;
  min-width: 190px;
  gap: 4px;
  border: 1px solid #d8e4f2;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 18px 42px rgba(15, 35, 66, .18);
}

.agoda-admin-nav .submenu-panel a {
  min-height: 36px;
  justify-content: flex-start;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #22324d;
  box-shadow: none;
}

.agoda-admin-nav .submenu-panel a:hover,
.agoda-admin-nav .submenu-panel a.active {
  background: #edf5ff;
  color: #0a57d0;
  box-shadow: none;
}

.agoda-admin-wrap .app-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 30px;
}

.agoda-dashboard-head {
  border: 1px solid #d8e4f2;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #fff 0%, #f1f7ff 68%, #fff8ed 100%);
  box-shadow: var(--shadow-panel);
  padding: 20px;
}

.agoda-admin-wrap .booking-metrics .metric {
  position: relative;
  overflow: hidden;
}

.agoda-admin-wrap .booking-metrics .metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #0a57d0;
}

.agoda-admin-wrap .booking-metrics .metric:nth-child(1)::before {
  background: #f59e0b;
}

.agoda-admin-wrap .booking-metrics .metric:nth-child(2)::before {
  background: #2563eb;
}

.agoda-admin-wrap .booking-metrics .metric:nth-child(3)::before {
  background: #0f766e;
}

.agoda-admin-wrap .booking-metrics .metric:nth-child(4)::before {
  background: #7c3aed;
}

.agoda-admin-wrap .dashboard-split-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.agoda-admin-wrap .dashboard-split-panels > .panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.agoda-admin-wrap .dashboard-split-panels .panel-head {
  min-height: 72px;
}

.agoda-admin-wrap .dashboard-split-panels .panel-head > div {
  min-width: 0;
}

.agoda-admin-wrap .dashboard-split-panels table {
  width: 100%;
  table-layout: fixed;
}

.agoda-admin-wrap .dashboard-split-panels td,
.agoda-admin-wrap .dashboard-split-panels th {
  overflow-wrap: anywhere;
}

.agoda-admin-wrap .dashboard-page .table-link {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
}

.agoda-admin-wrap .dashboard-page table {
  max-width: 100%;
}

.agoda-admin-wrap .dashboard-page td,
.agoda-admin-wrap .dashboard-page th {
  min-width: 0;
}

@media (max-width: 900px) {
  .agoda-admin-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 14px;
  }

  .agoda-admin-nav .brand-block {
    min-width: 0;
  }

  .agoda-admin-wrap .dashboard-split-panels {
    grid-template-columns: 1fr;
  }

  .agoda-admin-wrap .dashboard-split-panels > .panel {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .agoda-admin-wrap .app-main {
    width: min(100% - 20px, 1280px);
    padding-top: 14px;
  }

  .agoda-dashboard-head {
    padding: 16px;
  }

  .agoda-admin-nav .brand-block {
    display: grid;
    gap: 2px;
  }

  .agoda-admin-nav .app-menu a {
    min-height: 34px;
    padding: 0 12px;
  }

  .agoda-admin-nav .app-submenu summary {
    min-height: 34px;
    padding-left: 12px;
  }

  .agoda-admin-nav .submenu-panel {
    top: 88px;
    right: 12px;
    left: 12px;
    min-width: 0;
  }

  .agoda-admin-wrap .dashboard-page .panel-head {
    gap: 10px;
  }

  .agoda-admin-wrap .dashboard-page .dashboard-split-panels table {
    font-size: 12px;
  }

  .agoda-admin-wrap .dashboard-page .dashboard-split-panels th,
  .agoda-admin-wrap .dashboard-page .dashboard-split-panels td {
    padding: 8px 7px;
  }

  .agoda-admin-wrap .dashboard-page .dashboard-split-panels .pill {
    min-width: 0;
    padding: 5px 8px;
    font-size: 11px;
  }
}

/* Step 55: balanced reports layout */
.agoda-admin-wrap .report-page .report-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.agoda-admin-wrap .report-page .report-two-col > .panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.agoda-admin-wrap .report-page .panel-head {
  min-height: 66px;
  align-items: flex-start;
}

.agoda-admin-wrap .report-page .panel-head > div,
.agoda-admin-wrap .report-page .bar-label,
.agoda-admin-wrap .report-page .table-scroll {
  min-width: 0;
}

.agoda-admin-wrap .report-page .panel-head h2 {
  font-size: 19px;
  line-height: 1.25;
  white-space: normal;
}

.agoda-admin-wrap .report-page .panel-head .muted {
  max-width: 100%;
}

.agoda-admin-wrap .report-page .table-scroll {
  flex: 1;
}

.agoda-admin-wrap .report-page .table-scroll table {
  width: 100%;
  min-width: 520px;
}

.agoda-admin-wrap .report-page .report-two-col:last-of-type .panel {
  min-height: 280px;
}

.agoda-admin-wrap .report-page .report-two-col:last-of-type .panel:last-child h2 {
  color: #0a57d0;
}

@media (max-width: 900px) {
  .agoda-admin-wrap .report-page .report-two-col {
    grid-template-columns: 1fr;
  }

  .agoda-admin-wrap .report-page .report-two-col:last-of-type .panel {
    min-height: 0;
  }
}

@media (max-width: 540px) {
  .agoda-admin-wrap .report-page .table-scroll table {
    min-width: 480px;
  }
}

/* Step 56: clearer app calendar display */
.agoda-admin-wrap .calendar-page .panel-head {
  gap: 16px;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 520px;
}

.calendar-legend span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  border: 1px solid #d8e4f2;
  border-radius: 999px;
  background: #fff;
  padding: 0 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.calendar-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.calendar-legend .dot.free {
  background: #e2e8f0;
}

.calendar-legend .dot.pending {
  background: #f59e0b;
}

.calendar-legend .dot.confirmed {
  background: #047857;
}

.calendar-legend .dot.inhouse {
  background: #2563eb;
}

.calendar-legend .dot.blocked {
  background: #475569;
}

.calendar-legend .dot.full {
  background: #dc2626;
}

.agoda-admin-wrap .calendar-page .calendar-scroll {
  border-color: #cbdced;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.agoda-admin-wrap .calendar-page .calendar-table {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.agoda-admin-wrap .calendar-page .calendar-table th,
.agoda-admin-wrap .calendar-page .calendar-table td {
  width: 104px;
  min-width: 104px;
  max-width: 104px;
  height: 78px;
  padding: 10px 8px;
  border-right: 1px solid #d8e4f2;
  border-bottom: 1px solid #d8e4f2;
  background: #fff;
  vertical-align: middle;
}

.agoda-admin-wrap .calendar-page .calendar-table th {
  height: 64px;
  background: #f8fbff;
  color: #334155;
}

.agoda-admin-wrap .calendar-page .calendar-table th span {
  color: #1f2937;
  font-size: 16px;
  font-weight: 900;
}

.agoda-admin-wrap .calendar-page .calendar-table th small {
  color: #64748b;
  font-size: 11px;
}

.agoda-admin-wrap .calendar-page .resource-col {
  width: 230px;
  min-width: 230px;
  max-width: 230px;
  background: #f8fafc;
}

.agoda-admin-wrap .calendar-page td.resource-col {
  padding: 14px 12px;
}

.agoda-admin-wrap .calendar-page .resource-col strong {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.2;
}

.agoda-admin-wrap .calendar-page .resource-col span {
  margin-top: 3px;
  color: #334155;
  font-size: 12px;
  line-height: 1.35;
}

.agoda-admin-wrap .calendar-page .calendar-table th.today-col,
.agoda-admin-wrap .calendar-page .calendar-table td.today-col {
  background: #ecfdf5 !important;
  box-shadow: inset 3px 0 0 #10b981;
}

.agoda-admin-wrap .calendar-page .cal-free {
  min-height: 48px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.agoda-admin-wrap .calendar-page .cal-slot,
.agoda-admin-wrap .calendar-page .cal-capacity {
  min-height: 56px;
  gap: 3px;
  border: 1px solid transparent;
  padding: 8px 7px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, .10);
}

.agoda-admin-wrap .calendar-page .cal-slot strong,
.agoda-admin-wrap .calendar-page .cal-capacity strong {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

.agoda-admin-wrap .calendar-page .cal-slot small,
.agoda-admin-wrap .calendar-page .cal-capacity small {
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  line-height: 1.25;
}

.agoda-admin-wrap .calendar-page .cal-slot.pending_payment {
  background: #f59e0b;
}

.agoda-admin-wrap .calendar-page .cal-slot.confirmed,
.agoda-admin-wrap .calendar-page .cal-capacity.busy {
  background: #047857;
}

.agoda-admin-wrap .calendar-page .cal-slot.checked_in {
  background: #2563eb;
}

.agoda-admin-wrap .calendar-page .cal-slot.blocked,
.agoda-admin-wrap .calendar-page .cal-capacity.blocked {
  background: #475569;
}

.agoda-admin-wrap .calendar-page .cal-capacity.full {
  background: #dc2626;
}

@media (max-width: 900px) {
  .calendar-legend {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 540px) {
  .agoda-admin-wrap .calendar-page .calendar-table th,
  .agoda-admin-wrap .calendar-page .calendar-table td {
    width: 92px;
    min-width: 92px;
    max-width: 92px;
    height: 70px;
    padding: 8px 6px;
  }

  .agoda-admin-wrap .calendar-page .resource-col {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
  }

  .agoda-admin-wrap .calendar-page .resource-col strong {
    font-size: 15px;
  }
}

/* Step 57: compact no-scroll calendar redesign */
.agoda-admin-wrap .calendar-page {
  overflow-x: hidden;
}

.agoda-admin-wrap .calendar-page .calendar-scroll {
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(10, 87, 208, .08), rgba(16, 185, 129, .08)),
    #fff;
  padding: 1px;
  box-shadow: 0 16px 34px rgba(15, 35, 66, .08);
}

.agoda-admin-wrap .calendar-page .calendar-scroll::-webkit-scrollbar {
  display: none;
}

.agoda-admin-wrap .calendar-page .calendar-table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 0;
  border-radius: 15px;
  overflow: hidden;
  table-layout: fixed;
}

.agoda-admin-wrap .calendar-page .calendar-table th,
.agoda-admin-wrap .calendar-page .calendar-table td {
  width: auto;
  min-width: 0;
  max-width: none;
  height: 62px;
  padding: 6px 4px;
  border-color: #e3edf7;
}

.agoda-admin-wrap .calendar-page .calendar-table th {
  height: 54px;
  background: #f7fbff;
}

.agoda-admin-wrap .calendar-page .calendar-table th span {
  font-size: 14px;
}

.agoda-admin-wrap .calendar-page .calendar-table th small {
  font-size: 10px;
}

.agoda-admin-wrap .calendar-page .resource-col {
  width: 15%;
  min-width: 112px;
  max-width: 15%;
}

.agoda-admin-wrap .calendar-page td.resource-col {
  padding: 10px 8px;
}

.agoda-admin-wrap .calendar-page .resource-col strong {
  font-size: 15px;
}

.agoda-admin-wrap .calendar-page .resource-col span {
  font-size: 11px;
}

.agoda-admin-wrap .calendar-page .cal-free,
.agoda-admin-wrap .calendar-page .cal-slot,
.agoda-admin-wrap .calendar-page .cal-capacity {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  border-radius: 999px;
  padding: 0 6px;
  box-shadow: none;
}

.agoda-admin-wrap .calendar-page .cal-slot,
.agoda-admin-wrap .calendar-page .cal-capacity {
  border-width: 1px;
  background: #eef2ff;
  color: #1e3a8a;
}

.agoda-admin-wrap .calendar-page .cal-free {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
}

.agoda-admin-wrap .calendar-page .cal-status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.agoda-admin-wrap .calendar-page .cal-status-text {
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  color: currentColor;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}

.agoda-admin-wrap .calendar-page .cal-capacity-count {
  color: currentColor;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  opacity: .72;
}

.agoda-admin-wrap .calendar-page .cal-slot.pending_payment,
.agoda-admin-wrap .calendar-page .cal-capacity.pending_payment {
  border-color: #fbbf24;
  background: #fff7ed;
  color: #b45309;
}

.agoda-admin-wrap .calendar-page .cal-slot.payment_review,
.agoda-admin-wrap .calendar-page .cal-capacity.payment_review {
  border-color: #c4b5fd;
  background: #f5f3ff;
  color: #6d28d9;
}

.agoda-admin-wrap .calendar-page .cal-slot.confirmed,
.agoda-admin-wrap .calendar-page .cal-capacity.confirmed,
.agoda-admin-wrap .calendar-page .cal-capacity.busy {
  border-color: #34d399;
  background: #ecfdf5;
  color: #047857;
}

.agoda-admin-wrap .calendar-page .cal-slot.checked_in,
.agoda-admin-wrap .calendar-page .cal-capacity.checked_in {
  border-color: #60a5fa;
  background: #eff6ff;
  color: #1d4ed8;
}

.agoda-admin-wrap .calendar-page .cal-slot.blocked,
.agoda-admin-wrap .calendar-page .cal-capacity.blocked {
  border-color: #94a3b8;
  background: #f1f5f9;
  color: #475569;
}

.agoda-admin-wrap .calendar-page .cal-capacity.full {
  border-color: #f87171;
  background: #fef2f2;
  color: #dc2626;
}

.agoda-admin-wrap .calendar-page .calendar-legend {
  gap: 6px;
}

.agoda-admin-wrap .calendar-page .calendar-legend span {
  min-height: 24px;
  border-color: #e3edf7;
  background: rgba(255, 255, 255, .82);
  padding: 0 8px;
  font-size: 11px;
}

@media (max-width: 760px) {
  .agoda-admin-wrap .calendar-page .calendar-table th,
  .agoda-admin-wrap .calendar-page .calendar-table td {
    height: 54px;
    padding: 4px 2px;
  }

  .agoda-admin-wrap .calendar-page .resource-col {
    width: 18%;
    min-width: 82px;
    max-width: 18%;
  }

  .agoda-admin-wrap .calendar-page .resource-col strong {
    font-size: 12px;
  }

  .agoda-admin-wrap .calendar-page .resource-col span {
    font-size: 9px;
  }

  .agoda-admin-wrap .calendar-page .cal-free,
  .agoda-admin-wrap .calendar-page .cal-slot,
  .agoda-admin-wrap .calendar-page .cal-capacity {
    min-height: 28px;
    gap: 2px;
    padding: 0 3px;
  }

  .agoda-admin-wrap .calendar-page .cal-status-dot {
    width: 5px;
    height: 5px;
  }

  .agoda-admin-wrap .calendar-page .cal-status-text {
    font-size: 8px;
  }

  .agoda-admin-wrap .calendar-page .cal-capacity-count {
    display: none;
  }
}

/* Step 59: bookings page design from preview */
.agoda-admin-wrap .booking-page .booking-metrics {
  gap: 12px;
}

.agoda-admin-wrap .booking-page .booking-metrics .metric {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .booking-page .booking-toolbar-card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.booking-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto auto auto;
  align-items: end;
  gap: 10px;
}

.booking-toolbar input,
.booking-toolbar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.booking-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.booking-legend span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  border: 1px solid #e3edf7;
  border-radius: 999px;
  background: #fff;
  padding: 0 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.booking-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.booking-legend .dot-wait {
  background: #facc15;
}

.booking-legend .dot-deposit {
  background: #38bdf8;
}

.booking-legend .dot-confirm {
  background: #0f766e;
}

.booking-legend .dot-checkin {
  background: #8b5cf6;
}

.booking-legend .dot-close {
  background: #ef4444;
}

.agoda-admin-wrap .booking-page .booking-check-card,
.agoda-admin-wrap .booking-page .booking-action-grid > .panel,
.agoda-admin-wrap .booking-page .booking-list-card {
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .booking-page .booking-check-card > h2,
.agoda-admin-wrap .booking-page .booking-action-grid .panel-head,
.agoda-admin-wrap .booking-page .booking-list-card .panel-head {
  margin: -20px -20px 16px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  padding: 16px 18px;
}

.agoda-admin-wrap .booking-page .booking-check-card > h2 {
  font-size: 20px;
}

.agoda-admin-wrap .booking-page .booking-action-grid .panel-head h2,
.agoda-admin-wrap .booking-page .booking-list-card .panel-head h2 {
  color: #fff;
}

.agoda-admin-wrap .booking-page .booking-action-grid .panel-head .muted,
.agoda-admin-wrap .booking-page .booking-list-card .panel-head .muted {
  color: rgba(255, 255, 255, .86);
}

.agoda-admin-wrap .booking-page .booking-action-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
}

.agoda-admin-wrap .booking-page .booking-list-card .status-tabs {
  margin: 0 0 14px;
}

.agoda-admin-wrap .booking-page .booking-list-card .status-tabs a {
  border: 1px solid #dbe3ef;
  background: #fff;
  color: #334155;
}

.agoda-admin-wrap .booking-page .booking-list-card .status-tabs a.active {
  border-color: #0f766e;
  background: #e6fffb;
  color: #0f766e;
}

.agoda-admin-wrap .booking-page .booking-list-card .table-scroll {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

.agoda-admin-wrap .booking-page .booking-list-card table {
  margin-top: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.agoda-admin-wrap .booking-page .booking-list-card th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
}

.agoda-admin-wrap .booking-page .booking-list-card td {
  background: #fff;
}

.agoda-admin-wrap .booking-page .booking-list-card tbody tr:hover td {
  background: #f8fbff;
}

.agoda-admin-wrap .booking-page .booking-list-card .table-link {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
  line-height: 1.25;
}

@media (max-width: 980px) {
  .booking-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .booking-toolbar input {
    grid-column: span 2;
  }

  .agoda-admin-wrap .booking-page .booking-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .booking-toolbar {
    grid-template-columns: 1fr;
  }

  .booking-toolbar input,
  .booking-toolbar .button {
    grid-column: span 1;
    width: 100%;
  }

  .booking-legend {
    gap: 7px;
  }

  .booking-legend span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }

  .agoda-admin-wrap .booking-page .booking-check-card > h2,
  .agoda-admin-wrap .booking-page .booking-action-grid .panel-head,
  .agoda-admin-wrap .booking-page .booking-list-card .panel-head {
    margin: -16px -16px 14px;
    padding: 14px 16px;
  }
}

/* Step 60: calendar page design from preview */
.agoda-admin-wrap .calendar-page .calendar-summary-row {
  gap: 12px;
}

.agoda-admin-wrap .calendar-page .calendar-summary-row .metric {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .calendar-page .calendar-toolbar-card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .calendar-page .calendar-toolbar {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr) 150px auto auto;
  align-items: end;
  gap: 10px;
  margin: 0;
}

.agoda-admin-wrap .calendar-page .calendar-toolbar label span {
  display: block;
  margin: 0 0 5px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.agoda-admin-wrap .calendar-page .calendar-toolbar input,
.agoda-admin-wrap .calendar-page .calendar-toolbar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.agoda-admin-wrap .calendar-page .calendar-global-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.agoda-admin-wrap .calendar-page .calendar-global-legend span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  border: 1px solid #e3edf7;
  border-radius: 999px;
  background: #fff;
  padding: 0 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05);
}

.agoda-admin-wrap .calendar-page .calendar-global-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.agoda-admin-wrap .calendar-page .calendar-global-legend .dot.free {
  background: #e5e7eb;
}

.agoda-admin-wrap .calendar-page .calendar-global-legend .dot.pending {
  background: #facc15;
}

.agoda-admin-wrap .calendar-page .calendar-global-legend .dot.confirmed {
  background: #0f766e;
}

.agoda-admin-wrap .calendar-page .calendar-global-legend .dot.inhouse {
  background: #8b5cf6;
}

.agoda-admin-wrap .calendar-page .calendar-global-legend .dot.blocked {
  background: #ef4444;
}

.agoda-admin-wrap .calendar-page .calendar-section-card {
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #fff;
  padding: 0;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .calendar-page .calendar-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  padding: 16px 18px;
}

.agoda-admin-wrap .calendar-page .calendar-section-head h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 20px;
}

.agoda-admin-wrap .calendar-page .calendar-section-head .muted {
  margin: 0;
  color: rgba(255, 255, 255, .88);
}

.agoda-admin-wrap .calendar-page .calendar-section-head .calendar-legend {
  display: none;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-scroll {
  overflow-x: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 0;
  box-shadow: none;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th,
.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table td {
  min-width: 0;
  height: 70px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 5px;
  text-align: center;
  vertical-align: middle;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th span {
  display: block;
  font-size: 15px;
  font-weight: 900;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th small {
  color: #64748b;
  font-size: 11px;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table .resource-col {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  background: #f8fafc;
  text-align: left;
}

.agoda-admin-wrap .calendar-page .calendar-section-card td.resource-col {
  padding: 12px;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .resource-col strong {
  display: block;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.15;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .resource-col span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.25;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th.today-col,
.agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table td.today-col {
  background: #ecfeff !important;
  box-shadow: inset 0 3px 0 #06b6d4;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-status-dot {
  display: none;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-free,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 6px 7px;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-free:hover,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot:hover,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-status-text {
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: currentColor;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: clip;
  white-space: nowrap;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity-count {
  display: block;
  margin-top: 2px;
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  opacity: .85;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-free {
  background: #f1f5f9;
  color: #475569;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot.pending_payment,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity.pending_payment {
  background: #fef3c7;
  color: #92400e;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot.payment_review,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity.payment_review {
  background: #ede9fe;
  color: #5b21b6;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot.confirmed,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity.confirmed,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity.busy {
  background: #0f766e;
  color: #fff;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot.checked_in,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity.checked_in {
  background: #ede9fe;
  color: #5b21b6;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot.blocked,
.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity.blocked {
  background: #fee2e2;
  color: #991b1b;
}

.agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity.full {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 980px) {
  .agoda-admin-wrap .calendar-page .calendar-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .agoda-admin-wrap .calendar-page .calendar-toolbar .button {
    width: 100%;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table .resource-col {
    width: 130px;
    min-width: 130px;
    max-width: 130px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .resource-col strong {
    font-size: 14px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .resource-col span {
    font-size: 11px;
  }
}

@media (max-width: 620px) {
  .agoda-admin-wrap .calendar-page .calendar-summary-row {
    grid-template-columns: 1fr 1fr;
  }

  .agoda-admin-wrap .calendar-page .calendar-toolbar {
    grid-template-columns: 1fr;
  }

  .agoda-admin-wrap .calendar-page .calendar-toolbar .button,
  .agoda-admin-wrap .calendar-page .calendar-toolbar button {
    width: 100%;
  }

  .agoda-admin-wrap .calendar-page .calendar-global-legend {
    gap: 7px;
  }

  .agoda-admin-wrap .calendar-page .calendar-global-legend span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-head {
    padding: 14px 16px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-head h2 {
    font-size: 18px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th,
  .agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table td {
    height: 58px;
    padding: 4px 2px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table .resource-col {
    width: 82px;
    min-width: 82px;
    max-width: 82px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card td.resource-col {
    padding: 7px 5px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .resource-col strong {
    font-size: 12px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .resource-col span {
    font-size: 9px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th span {
    font-size: 12px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .calendar-table th small {
    font-size: 9px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .cal-free,
  .agoda-admin-wrap .calendar-page .calendar-section-card .cal-slot,
  .agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity {
    min-height: 34px;
    border-radius: 10px;
    padding: 4px 2px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .cal-status-text {
    font-size: 8px;
  }

  .agoda-admin-wrap .calendar-page .calendar-section-card .cal-capacity-count {
    display: none;
  }
}

/* Step 61: dashboard redesign from topbar preview */
.dashboard-preview-wrap.agoda-admin-wrap {
  display: block;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .12), rgba(8, 145, 178, .10) 34%, rgba(244, 248, 251, 0) 64%),
    #f4f8fb;
  color: #0f172a;
  font-family: Tahoma, Arial, sans-serif;
}

.dashboard-preview-wrap .agoda-admin-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 0;
  border-bottom: 1px solid rgba(226, 232, 240, .95);
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 26px rgba(15, 23, 42, .06);
  padding: 12px 22px;
}

.dashboard-preview-wrap .agoda-admin-nav .brand-block {
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 11px;
  border-bottom: 0;
  padding: 0;
}

.dashboard-preview-wrap .agoda-admin-nav .brand-block::before {
  content: "R108";
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 118, 110, .26);
}

.dashboard-preview-wrap .agoda-admin-nav .brand-block strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.1;
}

.dashboard-preview-wrap .agoda-admin-nav .brand-block span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-preview-wrap .agoda-admin-nav .app-menu {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.dashboard-preview-wrap .agoda-admin-nav .app-menu::-webkit-scrollbar {
  display: none;
}

.dashboard-preview-wrap .agoda-admin-nav .app-menu a,
.dashboard-preview-wrap .agoda-admin-nav .app-submenu summary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 13px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.dashboard-preview-wrap .agoda-admin-nav .app-menu a:hover,
.dashboard-preview-wrap .agoda-admin-nav .app-submenu summary:hover {
  background: #f1f5f9;
  color: #0f766e;
}

.dashboard-preview-wrap .agoda-admin-nav .app-menu a.active,
.dashboard-preview-wrap .agoda-admin-nav .app-submenu[open] summary {
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .22);
}

.dashboard-preview-wrap .agoda-admin-nav .app-submenu summary {
  padding-right: 32px;
}

.dashboard-preview-wrap .agoda-admin-nav .submenu-panel {
  top: 68px;
  right: 22px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.dashboard-preview-wrap .app-main.dashboard-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 26px 22px 46px;
}

.dashboard-preview-wrap .dashboard-account-bar {
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
  padding: 18px 20px;
}

.dashboard-preview-wrap .dashboard-account-bar .eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  padding: 6px 10px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.dashboard-preview-wrap .dashboard-account-bar h1 {
  margin: 0 0 4px;
  font-size: 25px;
  line-height: 1.2;
}

.dashboard-preview-wrap .dashboard-account-bar .topbar-actions {
  gap: 10px;
}

.dashboard-preview-wrap .dashboard-account-bar select {
  max-width: 220px;
  border-radius: 999px;
  font-weight: 700;
}

.dashboard-preview-wrap .dashboard-primary-action {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 118, 110, .22);
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-welcome-card,
.dashboard-today-card {
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.dashboard-welcome-card {
  min-height: 205px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .20);
  background: linear-gradient(135deg, #063f3b, #0f766e 62%, #0891b2);
  color: #fff;
  padding: 24px;
}

.dashboard-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 7px 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.dashboard-welcome-card h2 {
  max-width: 820px;
  margin: 0 0 9px;
  color: #fff;
  font-size: 31px;
  line-height: 1.22;
}

.dashboard-welcome-card p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.7;
}

.dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dashboard-white-btn,
.dashboard-light-btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 14px;
  padding: 0 14px;
  font-weight: 900;
}

.dashboard-white-btn {
  background: #fff;
  color: #0f766e;
}

.dashboard-light-btn {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.dashboard-today-card {
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 20px;
}

.dashboard-today-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.dashboard-date-box {
  margin-bottom: 14px;
  border: 1px solid #cffafe;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfeff, #f8fafc);
  padding: 16px;
}

.dashboard-date-box strong {
  display: block;
  font-size: 26px;
  line-height: 1.2;
}

.dashboard-date-box span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.dashboard-today-list {
  display: grid;
  gap: 10px;
}

.dashboard-today-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: #f8fafc;
  padding: 11px 12px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-today-item b {
  color: #0f766e;
  font-size: 18px;
}

.dashboard-preview-wrap .dashboard-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-preview-wrap .dashboard-stats-grid .metric {
  position: relative;
  display: flex;
  min-height: 128px;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 18px;
}

.dashboard-preview-wrap .dashboard-stats-grid .metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #0f766e;
}

.dashboard-preview-wrap .dashboard-stats-grid .metric:nth-child(2)::before {
  background: #2563eb;
}

.dashboard-preview-wrap .dashboard-stats-grid .metric:nth-child(3)::before {
  background: #f59e0b;
}

.dashboard-preview-wrap .dashboard-stats-grid .metric:nth-child(4)::before {
  background: #7c3aed;
}

.dashboard-preview-wrap .dashboard-stats-grid .metric span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-preview-wrap .dashboard-stats-grid .metric strong {
  color: #0f172a;
  font-size: 30px;
  line-height: 1.15;
}

.dashboard-preview-wrap .dashboard-main-card,
.dashboard-preview-wrap .launch-summary-panel {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.dashboard-preview-wrap .dashboard-main-card .panel-head,
.dashboard-preview-wrap .booking-queue-panel .panel-head,
.dashboard-preview-wrap .launch-summary-panel {
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-preview-wrap .dashboard-main-card .panel-head,
.dashboard-preview-wrap .booking-queue-panel .panel-head {
  align-items: flex-start;
  padding: 18px 20px;
}

.dashboard-preview-wrap .dashboard-main-card .panel-head h2,
.dashboard-preview-wrap .booking-queue-panel .panel-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
}

.dashboard-preview-wrap .dashboard-main-card .panel-head .muted,
.dashboard-preview-wrap .booking-queue-panel .panel-head .muted {
  margin-top: 3px;
  color: #64748b;
}

.dashboard-preview-wrap .booking-queue-panel .table-scroll {
  border: 0;
  border-radius: 0;
}

.dashboard-preview-wrap table {
  border-collapse: collapse;
}

.dashboard-preview-wrap th,
.dashboard-preview-wrap td {
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 14px;
  vertical-align: middle;
}

.dashboard-preview-wrap th {
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
}

.dashboard-preview-wrap tr:hover td {
  background: #fbfdff;
}

.dashboard-preview-wrap .table-link {
  color: #0f766e;
  font-weight: 900;
}

.dashboard-preview-wrap .table-action,
.dashboard-preview-wrap .panel-head .button,
.dashboard-preview-wrap .topbar-actions .button {
  border-radius: 999px;
}

.dashboard-preview-wrap .dashboard-card-grid {
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-preview-wrap .dashboard-card-grid table {
  margin-top: 0;
}

.dashboard-float-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(15, 118, 110, .28);
}

@media (max-width: 1180px) {
  .dashboard-preview-wrap .agoda-admin-nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dashboard-preview-wrap .agoda-admin-nav .brand-block {
    min-width: 0;
  }

  .dashboard-preview-wrap .agoda-admin-nav .app-menu {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .dashboard-hero-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-preview-wrap .dashboard-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .dashboard-preview-wrap .agoda-admin-nav {
    padding: 10px 14px;
  }

  .dashboard-preview-wrap .agoda-admin-nav .brand-block span {
    display: none;
  }

  .dashboard-preview-wrap .agoda-admin-nav .brand-block::before {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 15px;
  }

  .dashboard-preview-wrap .agoda-admin-nav .app-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 230px;
    overflow-y: auto;
  }

  .dashboard-preview-wrap .agoda-admin-nav .app-menu a,
  .dashboard-preview-wrap .agoda-admin-nav .app-submenu summary {
    justify-content: flex-start;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 0 12px;
  }

  .dashboard-preview-wrap .agoda-admin-nav .app-submenu {
    min-width: 0;
  }

  .dashboard-preview-wrap .app-main.dashboard-page {
    padding: 18px 12px 34px;
  }

  .dashboard-preview-wrap .dashboard-account-bar {
    align-items: flex-start;
    border-radius: 18px;
    padding: 16px;
  }

  .dashboard-preview-wrap .dashboard-account-bar .topbar-actions,
  .dashboard-preview-wrap .dashboard-hero-actions {
    width: 100%;
  }

  .dashboard-preview-wrap .dashboard-account-bar select,
  .dashboard-preview-wrap .dashboard-account-bar .button,
  .dashboard-white-btn,
  .dashboard-light-btn {
    width: 100%;
    justify-content: center;
  }

  .dashboard-welcome-card h2 {
    font-size: 25px;
  }

  .dashboard-preview-wrap .dashboard-stats-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-preview-wrap .dashboard-main-card .panel-head,
  .dashboard-preview-wrap .booking-queue-panel .panel-head {
    gap: 10px;
  }

  .dashboard-float-btn {
    right: 12px;
    bottom: 12px;
  }
}

/* Step 62: categorized menu and shared page polish */
.agoda-admin-wrap {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .12), rgba(8, 145, 178, .10) 34%, rgba(244, 248, 251, 0) 64%),
    #f4f8fb;
  color: #0f172a;
  font-family: Tahoma, Arial, sans-serif;
}

.agoda-admin-wrap .agoda-admin-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  border-right: 0;
  border-bottom: 1px solid rgba(226, 232, 240, .95);
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 26px rgba(15, 23, 42, .06);
  padding: 12px 22px;
}

.agoda-admin-wrap .agoda-admin-nav .brand-block {
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 11px;
  border-bottom: 0;
  padding: 0;
}

.agoda-admin-wrap .agoda-admin-nav .brand-block::before {
  content: "R108";
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 118, 110, .26);
}

.agoda-admin-wrap .agoda-admin-nav .brand-block strong {
  display: block;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.1;
}

.agoda-admin-wrap .agoda-admin-nav .brand-block span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.agoda-admin-wrap .app-menu-categorized {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.agoda-admin-wrap .app-menu-categorized::-webkit-scrollbar {
  display: none;
}

.agoda-admin-wrap .app-menu-categorized > a,
.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0 13px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.agoda-admin-wrap .app-menu-categorized > a:hover,
.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary:hover {
  background: #f1f5f9;
  color: #0f766e;
}

.agoda-admin-wrap .app-menu-categorized > a.active,
.agoda-admin-wrap .app-menu-categorized > .app-submenu[open] > summary,
.agoda-admin-wrap .app-menu-categorized > .app-submenu.active > summary {
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, .22);
}

.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
  padding-right: 32px;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel {
  top: 68px;
  right: 22px;
  min-width: 220px;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
  padding: 8px;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a {
  min-height: 38px;
  justify-content: flex-start;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a:hover,
.agoda-admin-wrap .app-menu-categorized .submenu-panel a.active {
  background: #ecfeff;
  color: #0f766e;
}

.agoda-admin-wrap .app-main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 26px 22px 46px;
}

.agoda-admin-wrap .app-main > .app-topbar {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .07);
  padding: 18px 20px;
}

.agoda-admin-wrap .app-main > .app-topbar .eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  padding: 6px 10px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.agoda-admin-wrap .app-main > .app-topbar h1 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.2;
}

.agoda-admin-wrap .panel,
.agoda-admin-wrap .metric,
.agoda-admin-wrap .notice {
  border-radius: 22px;
}

.agoda-admin-wrap .panel {
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.agoda-admin-wrap .panel-head {
  border-bottom: 1px solid #e2e8f0;
}

.agoda-admin-wrap .metric {
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .button,
.agoda-admin-wrap button,
.agoda-admin-wrap input,
.agoda-admin-wrap select,
.agoda-admin-wrap textarea {
  font-family: Tahoma, Arial, sans-serif;
}

.agoda-admin-wrap .button {
  border-radius: 999px;
}

.agoda-admin-wrap table {
  border-collapse: collapse;
}

.agoda-admin-wrap th {
  background: #f8fafc;
  color: #475569;
}

.agoda-admin-wrap tr:hover td {
  background: #fbfdff;
}

@media (max-width: 1180px) {
  .agoda-admin-wrap .agoda-admin-nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block {
    min-width: 0;
  }

  .agoda-admin-wrap .app-menu-categorized {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .agoda-admin-wrap .agoda-admin-nav {
    padding: 10px 14px;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block span {
    display: none;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block::before {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 15px;
  }

  .agoda-admin-wrap .app-menu-categorized {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 230px;
    overflow-y: auto;
  }

  .agoda-admin-wrap .app-menu-categorized > a,
  .agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
    justify-content: flex-start;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 0 12px;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu {
    min-width: 0;
  }

  .agoda-admin-wrap .app-menu-categorized .submenu-panel {
    top: 120px;
    right: 12px;
    left: 12px;
    min-width: 0;
  }

  .agoda-admin-wrap .app-main {
    width: 100%;
    padding: 18px 12px 34px;
  }

  .agoda-admin-wrap .app-main > .app-topbar {
    align-items: flex-start;
    border-radius: 18px;
    padding: 16px;
  }

  .agoda-admin-wrap .app-main > .app-topbar .topbar-actions {
    width: 100%;
  }

  .agoda-admin-wrap .app-main > .app-topbar select,
  .agoda-admin-wrap .app-main > .app-topbar .button {
    width: 100%;
    justify-content: center;
  }
}

/* Step 63: owner workflow page */
.workflow-page {
  scroll-behavior: smooth;
}

.workflow-anchor-nav {
  position: sticky;
  top: 82px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  padding: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
  backdrop-filter: blur(12px);
}

.workflow-anchor-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.workflow-anchor-nav a:hover {
  background: #ecfeff;
  color: #0f766e;
}

.workflow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 24px;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(11, 37, 48, .96), rgba(15, 118, 110, .92));
  color: #fff;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.workflow-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.workflow-hero h2 {
  max-width: 840px;
  margin: 0 0 10px;
  color: #fff;
  font-size: 38px;
  line-height: 1.25;
}

.workflow-hero p {
  max-width: 820px;
  margin: 0;
  color: #d9f6f2;
  font-size: 17px;
  line-height: 1.8;
}

.workflow-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.workflow-hero-tags span {
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
}

.workflow-quick-card {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 26px;
  background: rgba(255, 255, 255, .12);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.workflow-quick-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
}

.workflow-quick-list {
  display: grid;
  gap: 10px;
}

.workflow-quick-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .11);
  padding: 11px 12px;
  color: #fff;
  line-height: 1.45;
}

.workflow-quick-list b {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: #fff;
  color: #0f766e;
  font-weight: 900;
}

.workflow-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.workflow-kpi {
  border: 1px solid #dbe7ef;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.workflow-kpi span,
.workflow-kpi small {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.workflow-kpi strong {
  display: block;
  margin: 6px 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.15;
}

.workflow-kpi small {
  color: #0f766e;
  font-weight: 800;
}

.workflow-section {
  margin-top: 24px;
  scroll-margin-top: 150px;
}

.workflow-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.workflow-section-title h2 {
  margin: 0;
  color: #0f172a;
  font-size: 26px;
}

.workflow-section-title p {
  margin: 6px 0 0;
  color: #64748b;
  line-height: 1.6;
}

.workflow-setup-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.workflow-step-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid #dbe7ef;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.workflow-step-card::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: #cbd5e1;
}

.workflow-step-card:last-child::after {
  display: none;
}

.workflow-step-no {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 16px;
  background: #dcfce7;
  color: #166534;
  font-size: 18px;
  font-weight: 900;
}

.workflow-step-card:nth-child(2) .workflow-step-no,
.workflow-step-card:nth-child(6) .workflow-step-no {
  background: #dbeafe;
  color: #1d4ed8;
}

.workflow-step-card:nth-child(3) .workflow-step-no {
  background: #ede9fe;
  color: #5b21b6;
}

.workflow-step-card:nth-child(4) .workflow-step-no {
  background: #fef3c7;
  color: #92400e;
}

.workflow-step-card:nth-child(5) .workflow-step-no {
  background: #fee2e2;
  color: #991b1b;
}

.workflow-step-card b {
  display: block;
  margin: 12px 0 8px;
  color: #0f172a;
  font-size: 17px;
}

.workflow-step-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid #dbe7ef;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.workflow-lane {
  overflow: hidden;
  border: 1px solid #dbe7ef;
  border-radius: 20px;
  background: #f8fafc;
}

.workflow-lane h3 {
  margin: 0;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  padding: 13px 14px;
  font-size: 16px;
}

.workflow-lane:nth-child(2) h3 {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.workflow-lane:nth-child(3) h3 {
  background: linear-gradient(135deg, #0f766e, #16a34a);
}

.workflow-lane:nth-child(4) h3 {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.workflow-lane:nth-child(5) h3 {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.workflow-lane div {
  margin: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.workflow-lane b,
.workflow-lane span {
  display: block;
}

.workflow-lane b {
  margin-bottom: 5px;
  color: #0f172a;
  font-size: 14px;
}

.workflow-lane span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.workflow-timeline {
  position: relative;
  border: 1px solid #dbe7ef;
  border-radius: 22px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.workflow-timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 43px;
  width: 3px;
  border-radius: 999px;
  background: #dbeafe;
}

.workflow-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.workflow-timeline article:last-child {
  margin-bottom: 0;
}

.workflow-timeline article > b {
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 16px;
  background: #0f766e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

.workflow-timeline article:nth-child(2) > b {
  background: #f59e0b;
}

.workflow-timeline article:nth-child(3) > b {
  background: #2563eb;
}

.workflow-timeline article:nth-child(4) > b {
  background: #7c3aed;
}

.workflow-timeline article:nth-child(5) > b {
  background: #16a34a;
}

.workflow-timeline article:nth-child(6) > b {
  background: #dc2626;
}

.workflow-timeline article:nth-child(7) > b {
  background: #334155;
}

.workflow-timeline article > div {
  border: 1px solid #dbe7ef;
  border-radius: 18px;
  background: #fff;
  padding: 16px;
}

.workflow-timeline h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 18px;
}

.workflow-timeline p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.workflow-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow-role-grid article,
.workflow-check-grid article {
  border: 1px solid #dbe7ef;
  border-radius: 22px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.workflow-role-grid h3,
.workflow-check-grid h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 20px;
}

.workflow-role-grid p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.workflow-role-grid article div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.workflow-role-grid span {
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.workflow-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.workflow-check-grid p {
  display: flex;
  gap: 10px;
  margin: 10px 0 0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 11px;
  color: #334155;
  line-height: 1.55;
}

.workflow-check-grid p b {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #dcfce7;
  color: #166534;
}

@media (max-width: 1180px) {
  .workflow-hero {
    grid-template-columns: 1fr;
  }

  .workflow-setup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workflow-step-card::after {
    display: none;
  }

  .workflow-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .workflow-anchor-nav {
    position: static;
    margin: 12px 0;
  }

  .workflow-hero {
    border-radius: 24px;
    padding: 24px;
  }

  .workflow-hero h2 {
    font-size: 28px;
  }

  .workflow-hero p {
    font-size: 15px;
  }

  .workflow-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-setup-grid,
  .workflow-board,
  .workflow-role-grid,
  .workflow-check-grid {
    grid-template-columns: 1fr;
  }

  .workflow-section-title {
    display: block;
  }

  .workflow-section-title .button {
    width: 100%;
    margin-top: 12px;
    justify-content: center;
  }

  .workflow-timeline {
    padding: 18px 14px;
  }

  .workflow-timeline::before {
    left: 33px;
  }

  .workflow-timeline article {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .workflow-timeline article > b {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
}

/* Step 64: operations page flow header */
.operations-page {
  scroll-behavior: smooth;
}

.operations-flow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .7fr);
  gap: 18px;
  margin: 16px 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, .24), transparent 34%),
    linear-gradient(135deg, #063f3b, #0f766e 58%, #0891b2);
  color: #fff;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
}

.operations-flow-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1.25;
}

.operations-flow-copy p:not(.workflow-kicker) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.75;
}

.operations-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  grid-column: 1 / -1;
}

.operations-flow-steps a {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 18px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  padding: 13px;
  backdrop-filter: blur(10px);
  transition: transform .16s ease, background .16s ease;
}

.operations-flow-steps a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .20);
}

.operations-flow-steps b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: #0f766e;
  font-weight: 900;
}

.operations-flow-steps span,
.operations-flow-steps small {
  display: block;
}

.operations-flow-steps span {
  margin-top: 11px;
  font-size: 16px;
  font-weight: 900;
}

.operations-flow-steps small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.45;
}

.operations-flow-checklist {
  align-self: stretch;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  background: rgba(255, 255, 255, .12);
  padding: 18px;
  backdrop-filter: blur(10px);
}

.operations-flow-checklist h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
}

.operations-flow-checklist p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .11);
  padding: 11px 12px;
  color: #fff;
}

.operations-flow-checklist p b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: #0f766e;
  font-size: 17px;
}

.operations-flow-checklist p span {
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 1.45;
}

.operations-flow-checklist div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.operations-flow-checklist .button {
  border-color: rgba(255, 255, 255, .30);
  background: #fff;
  color: #0f766e;
}

.operations-flow-checklist .button.secondary {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.agoda-admin-wrap .operations-toolbar-panel {
  border: 0;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .operations-page .operations-toolbar {
  align-items: end;
  gap: 10px;
}

.agoda-admin-wrap .operations-page .operations-toolbar label span {
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.agoda-admin-wrap .operations-page .operations-metrics {
  gap: 14px;
}

.agoda-admin-wrap .operations-page .operations-metrics .metric {
  min-height: 112px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.agoda-admin-wrap .operations-page .operations-board-grid {
  gap: 18px;
  margin-top: 18px;
}

.agoda-admin-wrap .operations-page .operation-section-panel {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.agoda-admin-wrap .operations-page .operation-section-panel .panel-head {
  align-items: flex-start;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  padding: 18px 20px;
}

.agoda-admin-wrap .operations-page .operation-section-panel .panel-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
}

.agoda-admin-wrap .operations-page .operation-section-panel .panel-head .muted {
  margin-top: 4px;
  color: #64748b;
}

.agoda-admin-wrap .operations-page .operation-list {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.agoda-admin-wrap .operations-page .operation-list > .muted {
  margin: 0;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  padding: 18px;
  text-align: center;
}

.agoda-admin-wrap .operations-page .operation-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

@media (max-width: 1180px) {
  .operations-flow-panel {
    grid-template-columns: 1fr;
  }

  .operations-flow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .operations-flow-panel {
    border-radius: 22px;
    padding: 18px;
  }

  .operations-flow-copy h2 {
    font-size: 25px;
  }

  .operations-flow-steps {
    grid-template-columns: 1fr;
  }

  .operations-flow-steps a {
    min-height: auto;
  }

  .operations-flow-checklist div,
  .operations-flow-checklist .button {
    width: 100%;
    justify-content: center;
  }
}

/* Step 65: booking page component plan, first template pass */
.agoda-admin-wrap .booking-page > .booking-template-head + .app-topbar.agoda-dashboard-head {
  display: none;
}

.booking-template-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.booking-title-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #063f3b, #0f766e 62%, #0891b2);
  color: #fff;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.booking-title-card::before {
  content: "";
  position: absolute;
  top: -95px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.booking-title-content {
  position: relative;
  z-index: 2;
}

.booking-title-card .eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 7px 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.booking-title-card h1 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1.25;
}

.booking-title-card p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.75;
}

.booking-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.booking-title-actions .button {
  min-height: 42px;
  border-radius: 14px;
}

.booking-title-actions .button.secondary {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .13);
  color: #fff;
}

.booking-side-summary {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.booking-side-summary h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 20px;
}

.booking-summary-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.booking-summary-mini span {
  display: grid;
  gap: 5px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.booking-summary-mini b {
  color: #0f766e;
  font-size: 24px;
  line-height: 1;
}

.booking-side-summary .button {
  margin-top: auto;
  justify-content: center;
}

.agoda-admin-wrap .booking-page .booking-template-stats,
.agoda-admin-wrap .booking-page .booking-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.agoda-admin-wrap .booking-page .booking-metrics .metric {
  min-height: 118px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  padding: 18px;
}

.agoda-admin-wrap .booking-page .booking-metrics .metric span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.agoda-admin-wrap .booking-page .booking-metrics .metric strong {
  color: #0f172a;
  font-size: 30px;
  line-height: 1.15;
}

.agoda-admin-wrap .booking-page .booking-toolbar-card {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.booking-template-toolbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.booking-template-toolbar-head strong,
.booking-template-toolbar-head span {
  display: block;
}

.booking-template-toolbar-head strong {
  color: #0f172a;
  font-size: 18px;
}

.booking-template-toolbar-head span {
  margin-top: 3px;
  color: #64748b;
  font-size: 13px;
}

.agoda-admin-wrap .booking-page .booking-toolbar {
  grid-template-columns: minmax(260px, 1.35fr) minmax(160px, .8fr) auto auto auto;
}

.agoda-admin-wrap .booking-page .booking-list-card,
.agoda-admin-wrap .booking-page .booking-check-card,
.agoda-admin-wrap .booking-page .booking-action-grid > .panel {
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.agoda-admin-wrap .booking-page .booking-list-card table {
  min-width: 1060px;
}

@media (max-width: 1180px) {
  .booking-template-head {
    grid-template-columns: 1fr;
  }

  .agoda-admin-wrap .booking-page .booking-template-stats,
  .agoda-admin-wrap .booking-page .booking-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agoda-admin-wrap .booking-page .booking-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .booking-title-card {
    border-radius: 20px;
    padding: 20px;
  }

  .booking-title-card h1 {
    font-size: 24px;
  }

  .booking-summary-mini,
  .agoda-admin-wrap .booking-page .booking-template-stats,
  .agoda-admin-wrap .booking-page .booking-metrics,
  .agoda-admin-wrap .booking-page .booking-toolbar {
    grid-template-columns: 1fr;
  }

  .booking-template-toolbar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-template-toolbar-head .button,
  .booking-title-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Step 66: rooms page component template pass */
.agoda-admin-wrap .rooms-page > .rooms-template-head + .app-topbar.agoda-dashboard-head {
  display: none;
}

.rooms-template-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.rooms-title-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #064e3b, #0f766e 62%, #0891b2);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 24px;
}

.rooms-title-card::before {
  content: "";
  position: absolute;
  top: -94px;
  right: -64px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.rooms-title-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.rooms-eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 7px 11px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 900;
}

.rooms-title-card h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.rooms-title-card p:not(.rooms-eyebrow) {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  line-height: 1.7;
}

.rooms-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.rooms-title-actions .button.secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.rooms-setup-card {
  display: grid;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 18px;
}

.rooms-setup-card h2 {
  margin: 0;
  font-size: 19px;
  color: #0f172a;
}

.rooms-setup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
}

.rooms-setup-row span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.rooms-setup-row strong {
  color: #0f766e;
  font-size: 18px;
  white-space: nowrap;
}

.rooms-setup-progress {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #ecfeff;
}

.rooms-setup-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #0891b2);
}

.rooms-template-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.rooms-stat-card {
  display: grid;
  min-height: 124px;
  gap: 8px;
  align-content: start;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  padding: 18px;
}

.rooms-stat-card span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.rooms-stat-card strong {
  color: #0f172a;
  font-size: 31px;
  line-height: 1.05;
}

.rooms-stat-card small {
  color: #64748b;
  line-height: 1.45;
}

.rooms-template-toolbar {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 16px;
  align-items: end;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 16px;
  margin-bottom: 16px;
}

.rooms-toolbar-title strong,
.rooms-toolbar-title span {
  display: block;
}

.rooms-toolbar-title strong {
  color: #0f172a;
  font-size: 18px;
}

.rooms-toolbar-title span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.rooms-toolbar-controls {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(190px, .7fr) auto;
  gap: 12px;
  align-items: end;
}

.rooms-toolbar-controls label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.rooms-toolbar-controls input,
.rooms-toolbar-controls select {
  min-height: 44px;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
}

.rooms-editor-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  align-items: start;
}

.rooms-page .rooms-create-card,
.rooms-page .rooms-guide-card,
.rooms-page .rooms-catalog-card {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.rooms-page .rooms-create-card h2,
.rooms-page .rooms-guide-card h2,
.rooms-page .rooms-catalog-card h2 {
  color: #0f172a;
}

.rooms-page .form-grid input,
.rooms-page .form-grid select,
.rooms-page .form-grid textarea {
  border-radius: 14px;
}

.rooms-page .room-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rooms-page .room-item {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  padding: 16px;
}

.rooms-page .room-item[hidden] {
  display: none;
}

.rooms-page .room-main {
  gap: 14px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 14px;
}

.rooms-page .room-main h3 {
  color: #0f172a;
  font-size: 20px;
}

.rooms-page .room-edit-panel {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #f8fbff;
}

.rooms-page .room-edit-panel summary {
  cursor: pointer;
  list-style: none;
  color: #1e40af;
  font-weight: 900;
  padding: 14px 16px;
}

.rooms-page .room-edit-panel summary::-webkit-details-marker {
  display: none;
}

.rooms-page .room-edit-panel summary::after {
  content: "+";
  float: right;
  color: #2563eb;
  font-size: 20px;
  line-height: 1;
}

.rooms-page .room-edit-panel[open] summary::after {
  content: "-";
}

.rooms-page .room-edit-form {
  border-top: 1px solid #dbeafe;
  padding: 16px;
}

.rooms-page .room-edit-form input[disabled],
.rooms-page .room-edit-form input[readonly] {
  background: #eef2f7;
  color: #64748b;
  cursor: not-allowed;
}

.rooms-page .room-edit-note {
  margin: 0;
  border: 1px dashed #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 12px;
}

.rooms-page .room-media-section {
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: #fbfdff;
  padding: 14px;
}

.rooms-page .room-media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rooms-page .room-media-card {
  border-radius: 16px;
  background: #fff;
}

.rooms-page .room-media-card img {
  border-bottom: 1px solid #eef2f7;
}

.rooms-page .room-image-form {
  grid-template-columns: minmax(180px, 1fr) minmax(150px, .7fr) minmax(180px, 1fr) 90px auto;
}

.rooms-page .unit-tags {
  margin-top: 14px;
}

.rooms-page .unit-tags span {
  border-color: #ccfbf1;
  background: #ecfeff;
  color: #0f766e;
  font-weight: 900;
}

.rooms-page .inline-form {
  margin-top: 12px;
}

@media (max-width: 1180px) {
  .rooms-template-head,
  .rooms-template-toolbar,
  .rooms-editor-grid {
    grid-template-columns: 1fr;
  }

  .rooms-template-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rooms-page .room-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rooms-title-card {
    border-radius: 20px;
    padding: 20px;
  }

  .rooms-title-card h1 {
    font-size: 24px;
  }

  .rooms-title-actions .button,
  .rooms-toolbar-controls .button {
    width: 100%;
    justify-content: center;
  }

  .rooms-template-stats,
  .rooms-toolbar-controls,
  .rooms-page .room-media-grid,
  .rooms-page .room-image-form {
    grid-template-columns: 1fr;
  }

  .rooms-page .room-main {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Step 67: customers and CRM component template pass */
.agoda-admin-wrap .customers-page > .customers-template-head + .app-topbar.agoda-dashboard-head,
.agoda-admin-wrap .customer-detail-page > .customer-detail-hero + .app-topbar.agoda-dashboard-head,
.agoda-admin-wrap .leads-page > .leads-template-head + .app-topbar.agoda-dashboard-head {
  display: none;
}

.customers-template-head,
.leads-template-head,
.customer-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.customers-title-card,
.customer-profile-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #063f3b, #0f766e 62%, #0891b2);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 24px;
}

.customers-title-card::before,
.customer-profile-hero::before {
  content: "";
  position: absolute;
  top: -94px;
  right: -64px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.customers-title-content,
.customer-profile-hero > * {
  position: relative;
  z-index: 1;
}

.customers-title-content {
  display: grid;
  gap: 10px;
}

.customers-eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 7px 11px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 900;
}

.customers-title-card h1,
.customer-profile-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}

.customers-title-card p:not(.customers-eyebrow),
.customer-profile-hero p:not(.customers-eyebrow) {
  max-width: 860px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  line-height: 1.7;
}

.customers-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.customers-title-actions .button.secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.customers-highlight-card,
.customer-profile-summary {
  display: grid;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 18px;
}

.customers-highlight-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
}

.customers-vip-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #fde68a;
  border-radius: 18px;
  background: linear-gradient(135deg, #fffbeb, #fff);
  padding: 13px;
}

.customers-vip-avatar,
.customers-avatar,
.customer-profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  font-weight: 900;
}

.customer-profile-avatar {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .16);
  font-size: 26px;
}

.customer-profile-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}

.customers-vip-card strong,
.customers-vip-card span {
  display: block;
}

.customers-vip-card strong {
  color: #92400e;
  font-size: 17px;
}

.customers-vip-card span {
  margin-top: 3px;
  color: #92400e;
  font-size: 13px;
}

.customers-highlight-metrics,
.customer-profile-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leads-highlight-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customers-highlight-metrics span,
.customer-profile-summary span {
  display: grid;
  gap: 5px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.customers-highlight-metrics b,
.customer-profile-summary b {
  color: #0f766e;
  font-size: 22px;
  line-height: 1.1;
}

.customer-profile-summary .button {
  grid-column: 1 / -1;
  justify-content: center;
}

.customers-template-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.customers-stat-card {
  display: grid;
  min-height: 124px;
  gap: 8px;
  align-content: start;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  padding: 18px;
}

.customers-stat-card span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.customers-stat-card strong {
  color: #0f172a;
  font-size: 31px;
  line-height: 1.05;
}

.customers-stat-card small {
  color: #64748b;
  line-height: 1.45;
}

.customers-page > .metric-grid {
  display: none;
}

.customers-template-toolbar {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr);
  gap: 16px;
  align-items: end;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 16px;
  margin-bottom: 16px;
}

.customers-toolbar-title strong,
.customers-toolbar-title span {
  display: block;
}

.customers-toolbar-title strong {
  color: #0f172a;
  font-size: 18px;
}

.customers-toolbar-title span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.customers-toolbar-controls {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(170px, .7fr) auto auto;
  gap: 12px;
  align-items: end;
}

.customers-toolbar-controls label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.customers-toolbar-controls input,
.customers-toolbar-controls select {
  min-height: 44px;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
}

.customers-content-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .65fr);
  align-items: start;
}

.customers-page .customers-list-card,
.customers-page .customers-create-card,
.customer-detail-page .panel,
.leads-page .panel {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.customers-page .customers-legacy-search {
  display: none;
}

.customers-table-wrap table.customers-table {
  min-width: 940px;
}

.customers-person-cell {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 240px;
}

.customers-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.customers-table tbody tr[hidden] {
  display: none;
}

.customers-table td {
  vertical-align: top;
}

.customer-detail-page .metric-grid,
.leads-page .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.customer-detail-page .metric,
.leads-page .metric {
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.leads-page .panel.no-margin {
  padding: 16px;
}

.leads-page .search-row {
  margin-bottom: 14px;
}

.leads-page .table-scroll table {
  min-width: 980px;
}

@media (max-width: 1180px) {
  .customers-template-head,
  .leads-template-head,
  .customer-detail-hero,
  .customers-template-toolbar,
  .customers-content-grid {
    grid-template-columns: 1fr;
  }

  .customers-template-stats,
  .customer-detail-page .metric-grid,
  .leads-page .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customers-title-card,
  .customer-profile-hero {
    border-radius: 20px;
    padding: 20px;
  }

  .customers-title-card h1,
  .customer-profile-hero h1 {
    font-size: 24px;
  }

  .customer-profile-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .customers-title-actions .button,
  .customers-toolbar-controls .button,
  .customers-toolbar-controls a.button {
    width: 100%;
    justify-content: center;
  }

  .customers-template-stats,
  .customers-toolbar-controls,
  .customers-highlight-metrics,
  .customer-profile-summary,
  .customer-detail-page .metric-grid,
  .leads-page .metric-grid {
    grid-template-columns: 1fr;
  }
}

/* Step 68: payment center component template pass */
.agoda-admin-wrap .payments-page > .payments-template-head + .app-topbar.agoda-dashboard-head,
.agoda-admin-wrap .booking-payment-page > .booking-payment-hero + .app-topbar.agoda-dashboard-head {
  display: none;
}

.payments-template-head,
.booking-payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.payments-title-card,
.booking-payment-title {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #063f3b, #0f766e 62%, #0891b2);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 24px;
}

.payments-title-card::before,
.booking-payment-title::before {
  content: "";
  position: absolute;
  top: -94px;
  right: -64px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.payments-title-content,
.booking-payment-title > * {
  position: relative;
  z-index: 1;
}

.payments-title-content {
  display: grid;
  gap: 10px;
}

.payments-eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 7px 11px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 900;
}

.payments-title-card h1,
.booking-payment-title h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}

.payments-title-card p:not(.payments-eyebrow),
.booking-payment-title p:not(.payments-eyebrow) {
  max-width: 880px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  line-height: 1.7;
}

.payments-title-actions,
.booking-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.payments-title-actions .button.secondary,
.booking-payment-actions .button.secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.payments-highlight-card,
.booking-payment-summary {
  display: grid;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 18px;
}

.payments-highlight-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
}

.payments-slip-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ccfbf1;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfeff, #fff);
  padding: 13px;
}

.payments-slip-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.payments-slip-card strong,
.payments-slip-card span {
  display: block;
}

.payments-slip-card strong {
  color: #0f172a;
  font-size: 16px;
}

.payments-slip-card span {
  margin-top: 3px;
  color: #64748b;
  font-size: 13px;
}

.payments-highlight-metrics,
.booking-payment-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-payment-summary {
  grid-template-columns: 1fr;
}

.payments-highlight-metrics span,
.booking-payment-summary span {
  display: grid;
  gap: 5px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.payments-highlight-metrics b,
.booking-payment-summary b {
  color: #0f766e;
  font-size: 22px;
  line-height: 1.1;
}

.payments-template-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.payments-stat-card {
  display: grid;
  min-height: 124px;
  gap: 8px;
  align-content: start;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  padding: 18px;
}

.payments-stat-card span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.payments-stat-card strong {
  color: #0f172a;
  font-size: 27px;
  line-height: 1.1;
}

.payments-stat-card small {
  color: #64748b;
  line-height: 1.45;
}

.payments-page > .metric-grid.booking-metrics,
.payments-page > .payments-filter-card {
  display: none;
}

.payments-template-toolbar {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr);
  gap: 16px;
  align-items: end;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 16px;
  margin-bottom: 16px;
}

.payments-toolbar-title strong,
.payments-toolbar-title span {
  display: block;
}

.payments-toolbar-title strong {
  color: #0f172a;
  font-size: 18px;
}

.payments-toolbar-title span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.payments-toolbar-controls {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(230px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
}

.payments-toolbar-controls label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.payments-toolbar-controls input,
.payments-toolbar-controls select {
  min-height: 44px;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
}

.payments-flow-card,
.payments-list-card,
.booking-payment-page .panel {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.payments-flow-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.payments-flow-head strong,
.payments-flow-head span {
  display: block;
}

.payments-flow-head strong {
  color: #0f172a;
  font-size: 18px;
}

.payments-flow-head span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.payments-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.payments-flow-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: #fbfdff;
  padding: 14px;
}

.payments-flow-grid b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: #0f766e;
  color: #fff;
  font-size: 14px;
}

.payments-flow-grid strong,
.payments-flow-grid span {
  display: block;
}

.payments-flow-grid strong {
  margin-top: 10px;
  color: #0f172a;
  font-size: 15px;
}

.payments-flow-grid span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.payments-list-card {
  overflow: hidden;
}

.payments-table-wrap table.payments-table {
  min-width: 1120px;
}

.payments-page .slip-thumb {
  border-radius: 14px;
}

.payments-page .payment-review-actions .button {
  border-radius: 999px;
}

.booking-payment-title {
  display: grid;
  gap: 14px;
}

.booking-payment-page > .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.booking-payment-page > .metric-grid .metric {
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

@media (max-width: 1180px) {
  .payments-template-head,
  .booking-payment-hero,
  .payments-template-toolbar {
    grid-template-columns: 1fr;
  }

  .payments-template-stats,
  .payments-flow-grid,
  .booking-payment-page > .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .payments-title-card,
  .booking-payment-title {
    border-radius: 20px;
    padding: 20px;
  }

  .payments-title-card h1,
  .booking-payment-title h1 {
    font-size: 24px;
  }

  .payments-title-actions .button,
  .payments-toolbar-controls .button,
  .payments-toolbar-controls a.button,
  .booking-payment-actions .button {
    width: 100%;
    justify-content: center;
  }

  .payments-template-stats,
  .payments-toolbar-controls,
  .payments-flow-grid,
  .payments-highlight-metrics,
  .booking-payment-page > .metric-grid {
    grid-template-columns: 1fr;
  }
}

/* Step 69: report center component template pass */
.agoda-admin-wrap .report-page > .reports-template-head + .app-topbar.agoda-dashboard-head {
  display: none;
}

.reports-template-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.reports-title-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a, #0f766e 58%, #f59e0b);
  color: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 24px;
}

.reports-title-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.reports-eyebrow {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  padding: 7px 11px;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 900;
}

.reports-title-card h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.2;
}

.reports-title-card p:not(.reports-eyebrow) {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  line-height: 1.7;
}

.reports-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.reports-title-actions .button.secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.reports-summary-card {
  display: grid;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
  padding: 18px;
}

.reports-summary-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 19px;
}

.reports-score-box {
  display: grid;
  gap: 5px;
  border: 1px solid #ccfbf1;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfeff, #fff);
  padding: 14px;
}

.reports-score-box strong {
  color: #0f766e;
  font-size: 28px;
  line-height: 1.1;
}

.reports-score-box span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.reports-summary-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reports-summary-mini span {
  display: grid;
  gap: 5px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.reports-summary-mini b {
  color: #0f766e;
  font-size: 18px;
  line-height: 1.15;
}

.reports-template-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.reports-stat-card {
  display: grid;
  min-height: 124px;
  gap: 8px;
  align-content: start;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  padding: 18px;
}

.reports-stat-card span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.reports-stat-card strong {
  color: #0f172a;
  font-size: 27px;
  line-height: 1.1;
}

.reports-stat-card small {
  color: #64748b;
  line-height: 1.45;
}

.report-page > .report-filter-card,
.report-page > .metric-grid {
  display: none;
}

.reports-template-toolbar,
.reports-chart-card,
.reports-insight-card,
.report-page .report-two-col > .panel {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.reports-template-toolbar {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.45fr);
  gap: 16px;
  align-items: end;
  padding: 16px;
  margin-bottom: 16px;
}

.reports-toolbar-title strong,
.reports-toolbar-title span {
  display: block;
}

.reports-toolbar-title strong {
  color: #0f172a;
  font-size: 18px;
}

.reports-toolbar-title span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.reports-toolbar-controls {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
}

.reports-toolbar-controls label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.reports-toolbar-controls input {
  min-height: 44px;
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  padding: 0 12px;
}

.reports-chart-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

.reports-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.reports-chart-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
}

.reports-chart-head span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.reports-chart-head strong {
  color: #0f766e;
  font-size: 24px;
  white-space: nowrap;
}

.reports-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  padding: 16px;
}

.reports-bar-col {
  display: grid;
  grid-template-rows: minmax(160px, 1fr) auto;
  align-items: end;
  justify-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 8px;
}

.reports-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 18px;
  border-radius: 16px 16px 7px 7px;
  background: linear-gradient(180deg, #0891b2, #0f766e);
  color: #fff;
  padding-top: 8px;
  box-shadow: 0 12px 20px rgba(15, 118, 110, .18);
}

.reports-bar b {
  font-size: 11px;
  line-height: 1;
}

.reports-bar-col span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.reports-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.reports-insight-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.reports-insight-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.reports-insight-card h3,
.reports-insight-card p,
.reports-insight-card strong {
  position: relative;
  z-index: 1;
}

.reports-insight-card h3 {
  margin: 14px 0 6px;
  color: #0f172a;
  font-size: 17px;
}

.reports-insight-card p {
  min-height: 38px;
  margin: 0;
  color: #64748b;
  line-height: 1.45;
}

.reports-insight-card strong {
  display: block;
  margin-top: 12px;
  color: #0f766e;
  font-size: 22px;
}

.report-page .report-two-col {
  gap: 16px;
}

.report-page .bar-track i {
  background: linear-gradient(90deg, #0f766e, #0891b2);
}

@media (max-width: 1180px) {
  .reports-template-head,
  .reports-template-toolbar {
    grid-template-columns: 1fr;
  }

  .reports-template-stats,
  .reports-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .reports-title-card {
    border-radius: 20px;
    padding: 20px;
  }

  .reports-title-card h1 {
    font-size: 24px;
  }

  .reports-title-actions .button,
  .reports-toolbar-controls .button,
  .reports-toolbar-controls a.button {
    width: 100%;
    justify-content: center;
  }

  .reports-template-stats,
  .reports-toolbar-controls,
  .reports-summary-mini,
  .reports-insight-grid {
    grid-template-columns: 1fr;
  }

  .reports-chart-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Step 77: mobile top menu and rooms layout hardening */
.agoda-admin-wrap {
  overflow-x: clip;
}

.agoda-admin-wrap .admin-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
}

.agoda-admin-wrap .admin-nav-toggle-bars,
.agoda-admin-wrap .admin-nav-toggle-bars::before,
.agoda-admin-wrap .admin-nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.agoda-admin-wrap .admin-nav-toggle-bars {
  position: relative;
}

.agoda-admin-wrap .admin-nav-toggle-bars::before,
.agoda-admin-wrap .admin-nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.agoda-admin-wrap .admin-nav-toggle-bars::before {
  top: -5px;
}

.agoda-admin-wrap .admin-nav-toggle-bars::after {
  top: 5px;
}

.agoda-admin-wrap .panel,
.agoda-admin-wrap .metric,
.agoda-admin-wrap .app-main,
.agoda-admin-wrap .room-item,
.agoda-admin-wrap .room-media-card,
.agoda-admin-wrap .rooms-template-toolbar,
.agoda-admin-wrap .rooms-setup-card {
  min-width: 0;
}

.agoda-admin-wrap .button,
.agoda-admin-wrap button,
.agoda-admin-wrap .pill,
.agoda-admin-wrap .table-link {
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}

.agoda-admin-wrap .table-scroll {
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.rooms-page .room-list {
  grid-template-columns: 1fr !important;
}

.rooms-page .room-item {
  overflow: visible;
}

.rooms-page .room-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.rooms-page .room-main > div,
.rooms-page .room-main h3,
.rooms-page .room-main p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.rooms-page .room-media-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.rooms-page .room-image-form {
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, .7fr) minmax(220px, 1fr) minmax(92px, .45fr) auto;
}

.rooms-page .room-image-form .button {
  min-width: 118px;
}

.rooms-page .room-media-actions {
  align-items: center;
}

.rooms-page .unit-tags {
  max-width: 100%;
}

.rooms-page .unit-tags span,
.rooms-page .unit-tags small {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .rooms-page .room-image-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rooms-page .room-image-form .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .agoda-admin-wrap .agoda-admin-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block {
    min-width: 0;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block strong {
    font-size: 18px;
  }

  .agoda-admin-wrap .admin-nav-toggle {
    display: inline-flex;
  }

  .agoda-admin-wrap .app-menu-categorized {
    display: none !important;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    border-top: 1px solid #e2e8f0;
    padding: 10px 0 4px;
  }

  .agoda-admin-wrap .agoda-admin-nav.nav-open .app-menu-categorized {
    display: grid !important;
  }

  .agoda-admin-wrap .app-menu-categorized > a,
  .agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 0 12px;
    white-space: normal;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu {
    min-width: 0;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu[open] {
    grid-column: 1 / -1;
  }

  .agoda-admin-wrap .app-menu-categorized .submenu-panel {
    position: static;
    display: grid;
    min-width: 0;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    padding: 8px;
  }

  .agoda-admin-wrap .app-main {
    padding: 14px 10px 30px;
  }

  .agoda-admin-wrap .app-main > .app-topbar,
  .agoda-admin-wrap .panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .agoda-admin-wrap .topbar-actions,
  .agoda-admin-wrap .rooms-title-actions,
  .agoda-admin-wrap .room-media-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .agoda-admin-wrap .topbar-actions .button,
  .agoda-admin-wrap .rooms-title-actions .button,
  .agoda-admin-wrap .room-media-actions .button {
    width: 100%;
  }

  .rooms-template-head,
  .rooms-template-toolbar,
  .rooms-editor-grid,
  .rooms-template-stats,
  .rooms-toolbar-controls,
  .rooms-page .room-media-grid,
  .rooms-page .room-image-form,
  .rooms-page .inline-form {
    grid-template-columns: 1fr !important;
  }

  .rooms-title-card,
  .rooms-setup-card,
  .rooms-page .rooms-create-card,
  .rooms-page .rooms-guide-card,
  .rooms-page .rooms-catalog-card {
    border-radius: 18px;
  }

  .rooms-title-card {
    padding: 18px;
  }

  .rooms-title-card h1 {
    font-size: 22px;
  }

  .rooms-page .room-main {
    grid-template-columns: 1fr;
  }

  .rooms-page .room-main .pill {
    justify-self: start;
  }

  .rooms-page .room-image-form .button {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .agoda-admin-wrap .app-menu-categorized {
    grid-template-columns: 1fr;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block::before {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 13px;
  }
}

/* Step 78: meaningful icons and click-held submenu behavior */
.agoda-admin-wrap .nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.agoda-admin-wrap .app-menu-categorized > a,
.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary,
.agoda-admin-wrap .app-menu-categorized .submenu-panel a {
  gap: 8px;
}

.agoda-admin-wrap .app-menu-categorized > a > span,
.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary > span,
.agoda-admin-wrap .app-menu-categorized .submenu-panel a > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agoda-admin-wrap .app-menu-categorized > .app-submenu {
  position: relative;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: auto !important;
  z-index: 1200;
  min-width: 238px;
}

.agoda-admin-wrap .app-menu-categorized > .app-submenu:last-child .submenu-panel {
  left: auto !important;
  right: 0 !important;
}

.agoda-admin-wrap .app-menu-categorized > a.active,
.agoda-admin-wrap .app-menu-categorized > .app-submenu[open] > summary,
.agoda-admin-wrap .app-menu-categorized > .app-submenu.active > summary,
.agoda-admin-wrap .app-menu-categorized > .app-submenu.is-held > summary {
  border-color: #0a57d0 !important;
  background: linear-gradient(135deg, #0a57d0, #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .24) !important;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a.active {
  border-color: #0a57d0 !important;
  background: #0a57d0 !important;
  color: #fff !important;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a:hover {
  background: #eff6ff !important;
  color: #0a57d0 !important;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a.active:hover {
  background: #0a57d0 !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  .agoda-admin-wrap .app-menu-categorized .submenu-panel {
    position: static !important;
    min-width: 0;
    width: 100%;
  }

  .agoda-admin-wrap .app-menu-categorized > a > span,
  .agoda-admin-wrap .app-menu-categorized > .app-submenu > summary > span,
  .agoda-admin-wrap .app-menu-categorized .submenu-panel a > span {
    white-space: normal;
  }
}

/* Step 79: rebuilt submenu visibility */
@media (min-width: 721px) {
  .agoda-admin-wrap .agoda-admin-nav {
    overflow: visible !important;
  }

  .agoda-admin-wrap .app-menu-categorized {
    overflow: visible !important;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu {
    position: relative !important;
  }

  .agoda-admin-wrap .app-menu-categorized .submenu-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: auto !important;
    z-index: 5000 !important;
    display: grid !important;
    min-width: 245px;
    max-width: min(320px, calc(100vw - 24px));
    border: 1px solid #bfdbfe !important;
    background: #fff !important;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .18) !important;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu:not([open]) .submenu-panel {
    display: none !important;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu:last-child .submenu-panel {
    left: auto !important;
    right: 0 !important;
  }
}

.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
  user-select: none;
}

.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary:focus-visible,
.agoda-admin-wrap .app-menu-categorized .submenu-panel a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .25);
  outline-offset: 2px;
}

/* Step 88: dashboard menu matches the clean homepage navigation */
.agoda-admin-wrap .agoda-admin-nav {
  gap: 18px !important;
  padding: 12px 22px !important;
}

.agoda-admin-wrap .agoda-admin-nav .brand-block {
  min-width: 250px !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.agoda-admin-wrap .agoda-admin-nav .brand-block::before,
.agoda-admin-wrap .nav-icon,
.agoda-admin-wrap .admin-nav-toggle-bars {
  content: none !important;
  display: none !important;
}

.agoda-admin-wrap .agoda-admin-nav .brand-block strong {
  color: #0f172a !important;
  font-size: 19px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.agoda-admin-wrap .agoda-admin-nav .brand-block span {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.agoda-admin-wrap .admin-nav-toggle {
  border-radius: 999px !important;
  background: #0a57d0 !important;
  color: #fff !important;
  padding: 0 18px !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .20) !important;
}

.agoda-admin-wrap .app-menu-categorized {
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  padding: 4px !important;
}

.agoda-admin-wrap .app-menu-categorized > a,
.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
  justify-content: center !important;
  gap: 0 !important;
  min-height: 42px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: transparent !important;
  padding: 0 15px !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
  padding-right: 15px !important;
}

.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary::after {
  display: none !important;
}

.agoda-admin-wrap .app-menu-categorized > a:hover,
.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary:hover {
  border-color: #dbeafe !important;
  background: #eff6ff !important;
  color: #0a57d0 !important;
}

.agoda-admin-wrap .app-menu-categorized > a.active,
.agoda-admin-wrap .app-menu-categorized > .app-submenu[open] > summary,
.agoda-admin-wrap .app-menu-categorized > .app-submenu.active > summary,
.agoda-admin-wrap .app-menu-categorized > .app-submenu.is-held > summary {
  border-color: #0a57d0 !important;
  background: linear-gradient(135deg, #0a57d0, #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .24) !important;
}

.agoda-admin-wrap .app-menu-categorized > a > span,
.agoda-admin-wrap .app-menu-categorized > .app-submenu > summary > span,
.agoda-admin-wrap .app-menu-categorized .submenu-panel a > span {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel {
  gap: 6px !important;
  min-width: 250px !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 18px !important;
  background: #fff !important;
  padding: 8px !important;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .16) !important;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a {
  min-height: 40px !important;
  border-radius: 12px !important;
  padding: 0 12px !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a:hover {
  background: #eff6ff !important;
  color: #0a57d0 !important;
}

.agoda-admin-wrap .app-menu-categorized .submenu-panel a.active,
.agoda-admin-wrap .app-menu-categorized .submenu-panel a.active:hover {
  background: #0a57d0 !important;
  color: #fff !important;
}

@media (max-width: 1180px) {
  .agoda-admin-wrap .agoda-admin-nav {
    align-items: center !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block {
    min-width: 220px !important;
  }

  .agoda-admin-wrap .app-menu-categorized {
    justify-content: flex-start !important;
  }
}

@media (max-width: 720px) {
  .agoda-admin-wrap .agoda-admin-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block strong {
    font-size: 17px !important;
    white-space: normal !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block span {
    display: none !important;
  }

  .agoda-admin-wrap .admin-nav-toggle {
    display: inline-flex !important;
    min-width: 72px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
  }

  .agoda-admin-wrap .app-menu-categorized {
    display: none !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-height: calc(100vh - 82px) !important;
    overflow-y: auto !important;
    border: 1px solid #dbeafe !important;
    border-radius: 18px !important;
    background: #fff !important;
    padding: 10px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14) !important;
  }

  .agoda-admin-wrap .agoda-admin-nav.nav-open .app-menu-categorized {
    display: grid !important;
  }

  .agoda-admin-wrap .app-menu-categorized > a,
  .agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    padding: 0 14px !important;
    white-space: normal !important;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu,
  .agoda-admin-wrap .app-menu-categorized > .app-submenu[open] {
    grid-column: auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .agoda-admin-wrap .app-menu-categorized .submenu-panel {
    position: static !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    padding: 8px !important;
    box-shadow: none !important;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu:not([open]) .submenu-panel {
    display: none !important;
  }

  .agoda-admin-wrap .app-menu-categorized .submenu-panel a {
    min-height: 42px !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    white-space: normal !important;
  }
}

/* Step 89: prevent dashboard menu overlap on mobile/tablet */
.agoda-admin-wrap .agoda-admin-nav .brand-block::before,
.dashboard-preview-wrap .agoda-admin-nav .brand-block::before,
.agoda-admin-wrap .nav-icon,
.agoda-admin-wrap .admin-nav-toggle-bars {
  content: none !important;
  display: none !important;
}

@media (min-width: 981px) {
  .agoda-admin-wrap .admin-nav-toggle {
    display: none !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .app-menu-categorized {
    display: flex !important;
  }
}

@media (max-width: 980px) {
  .agoda-admin-wrap .agoda-admin-nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 10px 12px !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block strong {
    font-size: 17px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .agoda-admin-wrap .agoda-admin-nav .brand-block span {
    display: none !important;
  }

  .agoda-admin-wrap .admin-nav-toggle {
    display: inline-flex !important;
    min-width: 72px !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #0a57d0 !important;
    color: #fff !important;
    padding: 0 14px !important;
  }

  .agoda-admin-wrap .agoda-admin-nav:not(.nav-open) .app-menu-categorized {
    display: none !important;
  }

  .agoda-admin-wrap .agoda-admin-nav.nav-open .app-menu-categorized {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    max-height: calc(100vh - 84px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 1px solid #dbeafe !important;
    border-radius: 18px !important;
    background: #fff !important;
    padding: 10px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14) !important;
  }

  .agoda-admin-wrap .app-menu-categorized > a,
  .agoda-admin-wrap .app-menu-categorized > .app-submenu > summary {
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    padding: 0 14px !important;
    white-space: normal !important;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu,
  .agoda-admin-wrap .app-menu-categorized > .app-submenu[open] {
    grid-column: auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .agoda-admin-wrap .app-menu-categorized .submenu-panel {
    position: static !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    padding: 8px !important;
    box-shadow: none !important;
  }

  .agoda-admin-wrap .app-menu-categorized > .app-submenu:not([open]) .submenu-panel {
    display: none !important;
  }
}

/* Step 91: room management and resort map live on one page */
.rooms-page .rooms-map-card {
  scroll-margin-top: 96px;
}

.rooms-page .rooms-map-card > .two-col {
  margin-top: 16px;
}

.rooms-page .rooms-map-tool {
  display: grid;
  gap: 12px;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
  padding: 18px;
}

.rooms-page .rooms-map-tool h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.rooms-page .rooms-map-card .map-editor-stage {
  margin-top: 18px;
  border-radius: 18px;
}

.rooms-page .rooms-map-card .map-point-item {
  border-radius: 14px;
}

@media (max-width: 720px) {
  .rooms-page .rooms-map-tool {
    padding: 14px;
  }

  .rooms-page .map-position-grid,
  .rooms-page .map-point-item {
    grid-template-columns: 1fr;
  }

  .rooms-page .map-point-item {
    display: grid;
  }
}

/* Step 92: merged customer directory and new leads */
.customers-merged-page .customer-merged-jumpbar {
  align-items: center;
}

.customers-merged-page .customer-quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customers-merged-page .customer-leads-panel {
  margin-bottom: 18px;
  scroll-margin-top: 96px;
}

.customers-merged-page .customer-lead-filter,
.customers-merged-page .customer-directory-filter {
  margin: 14px 0 16px;
}

.customers-merged-page .customer-leads-table table {
  min-width: 980px;
}

.customers-merged-page .customer-leads-table td,
.customers-merged-page .customers-table td {
  line-height: 1.55;
}

.customers-merged-page .customer-directory-grid {
  scroll-margin-top: 96px;
}

.customers-merged-page .customers-create-card {
  position: sticky;
  top: 92px;
}

.customers-merged-page .customers-create-card > p {
  margin-top: -4px;
}

.customers-merged-page .pill.neutral {
  background: #f1f5f9;
  color: #475569;
}

.customers-merged-page .pill.warn {
  background: #fff7ed;
  color: #c2410c;
}

.customers-merged-page .pill.fail {
  background: #fef2f2;
  color: #b91c1c;
}

@media (max-width: 1180px) {
  .customers-merged-page .customer-quick-links {
    justify-content: flex-start;
  }

  .customers-merged-page .customers-create-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .customers-merged-page .customer-quick-links,
  .customers-merged-page .customer-quick-links .button {
    width: 100%;
  }

  .customers-merged-page .customer-lead-filter,
  .customers-merged-page .customer-directory-filter {
    grid-template-columns: 1fr;
  }
}

/* Step 93: clearer customer page layout */
.customers-merged-page .customer-layout-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.customers-merged-page .customer-layout-tabs a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  padding: 14px;
  color: #0f172a;
  text-decoration: none;
}

.customers-merged-page .customer-layout-tabs a:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.customers-merged-page .customer-layout-tabs span {
  display: grid;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: #0a57d0;
  color: #fff;
  font-weight: 900;
}

.customers-merged-page .customer-layout-tabs strong,
.customers-merged-page .customer-layout-tabs small {
  display: block;
  min-width: 0;
}

.customers-merged-page .customer-layout-tabs strong {
  font-size: 15px;
}

.customers-merged-page .customer-layout-tabs small {
  color: #64748b;
  line-height: 1.35;
}

.customers-merged-page .customer-workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, .72fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.customers-merged-page .customer-workbench-grid .customer-leads-panel {
  min-width: 0;
  margin-bottom: 0;
}

.customers-merged-page .customer-workbench-grid .customers-create-card {
  min-width: 0;
}

.customers-merged-page .customer-lead-filter {
  grid-template-columns: minmax(220px, 1fr) minmax(145px, .55fr) auto auto;
}

.customers-merged-page .customer-directory-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 0;
}

.customers-merged-page .customer-directory-grid .customers-list-card {
  min-width: 0;
}

.customers-merged-page .customer-directory-filter {
  grid-template-columns: minmax(280px, 1fr) minmax(170px, .45fr) auto auto;
}

.customers-merged-page .customer-directory-grid .customers-table-wrap table.customers-table {
  min-width: 980px;
}

@media (max-width: 1180px) {
  .customers-merged-page .customer-workbench-grid {
    grid-template-columns: 1fr;
  }

  .customers-merged-page .customer-layout-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customers-merged-page .customer-layout-tabs,
  .customers-merged-page .customer-lead-filter,
  .customers-merged-page .customer-directory-filter {
    grid-template-columns: 1fr !important;
  }

  .customers-merged-page .customer-layout-tabs a {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }

  .customers-merged-page .customer-layout-tabs span {
    width: 34px;
    height: 34px;
  }
}

/* Step 94: complete Customer Center UI components */
.customers-merged-page .customer-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, .95fr);
  gap: 14px;
  margin-bottom: 18px;
}

.customers-merged-page .customer-command-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
  padding: 16px;
}

.customers-merged-page .customer-command-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.customers-merged-page .customer-command-head span,
.customers-merged-page .customer-command-head strong {
  display: block;
}

.customers-merged-page .customer-command-head span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.customers-merged-page .customer-command-head strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
  text-align: right;
}

.customers-merged-page .customer-task-list,
.customers-merged-page .customer-pipeline-list,
.customers-merged-page .customer-status-chips {
  display: grid;
  gap: 8px;
}

.customers-merged-page .customer-task-list a,
.customers-merged-page .customer-pipeline-list a,
.customers-merged-page .customer-status-chips a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px 12px;
  color: #0f172a;
  text-decoration: none;
}

.customers-merged-page .customer-task-list a:hover,
.customers-merged-page .customer-pipeline-list a:hover,
.customers-merged-page .customer-status-chips a:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.customers-merged-page .customer-task-list span,
.customers-merged-page .customer-pipeline-list span,
.customers-merged-page .customer-status-chips span {
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.customers-merged-page .customer-task-list b,
.customers-merged-page .customer-pipeline-list b,
.customers-merged-page .customer-status-chips b {
  color: #0a57d0;
  font-size: 17px;
  line-height: 1;
}

.customers-merged-page .customer-pipeline-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customers-merged-page .customer-pipeline-list a,
.customers-merged-page .customer-status-chips a {
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
}

.customers-merged-page .customer-pipeline-list a.active,
.customers-merged-page .customer-status-chips a.active {
  border-color: #0a57d0;
  background: #eff6ff;
  box-shadow: inset 0 0 0 1px rgba(10, 87, 208, .16);
}

.customers-merged-page .customer-pipeline-list a.warn b,
.customers-merged-page .customer-status-chips a.warn b {
  color: #c2410c;
}

.customers-merged-page .customer-pipeline-list a.fail b,
.customers-merged-page .customer-status-chips a.fail b {
  color: #b91c1c;
}

.customers-merged-page .customer-quality-meter {
  display: grid;
  gap: 11px;
}

.customers-merged-page .customer-quality-meter div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  align-items: center;
}

.customers-merged-page .customer-quality-meter span {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.customers-merged-page .customer-quality-meter b {
  color: #0f172a;
  font-size: 15px;
}

.customers-merged-page .customer-quality-meter i {
  display: block;
  grid-column: 1 / -1;
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e2e8f0;
}

.customers-merged-page .customer-quality-meter em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a57d0, #14b8a6);
}

.customers-merged-page .customer-status-chips {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 14px 0 2px;
}

.customers-merged-page .customer-status-chips a {
  min-height: 66px;
}

.customers-merged-page .customer-create-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.customers-merged-page .customer-create-head h2 {
  margin: 0 0 4px;
}

.customers-merged-page .customer-create-head > span {
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.customers-merged-page .customer-directory-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 2px;
}

.customers-merged-page .customer-directory-summary span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  padding: 10px 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.customers-merged-page .customer-directory-summary b {
  color: #0a57d0;
  font-size: 17px;
}

@media (max-width: 1180px) {
  .customers-merged-page .customer-command-grid {
    grid-template-columns: 1fr;
  }

  .customers-merged-page .customer-pipeline-list,
  .customers-merged-page .customer-status-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .customers-merged-page .customer-command-head {
    display: grid;
  }

  .customers-merged-page .customer-command-head strong {
    text-align: left;
  }

  .customers-merged-page .customer-pipeline-list,
  .customers-merged-page .customer-status-chips,
  .customers-merged-page .customer-directory-summary {
    grid-template-columns: 1fr;
  }

  .customers-merged-page .customer-status-chips a {
    min-height: 0;
  }

  .customers-merged-page .customer-create-head {
    display: grid;
  }
}

/* Step 95: flat customer CRM layout */
.customers-flat-page {
  --crm-border: #d9e4ef;
  --crm-soft: #f6fafc;
  --crm-ink: #0f172a;
  --crm-muted: #64748b;
  --crm-blue: #155eef;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.customers-flat-page .crm-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--crm-border);
  background: transparent;
}

.customers-flat-page .crm-head-main {
  min-width: 0;
}

.customers-flat-page .crm-kicker {
  margin: 0 0 6px;
  color: var(--crm-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.customers-flat-page h1,
.customers-flat-page h2,
.customers-flat-page p {
  overflow-wrap: anywhere;
}

.customers-flat-page .crm-page-head h1 {
  margin: 0;
  color: var(--crm-ink);
  font-size: 32px;
  line-height: 1.16;
}

.customers-flat-page .crm-page-head p:not(.crm-kicker) {
  margin: 8px 0 0;
  color: var(--crm-muted);
  font-size: 15px;
}

.customers-flat-page .crm-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.customers-flat-page .crm-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--crm-border);
  background: #fff;
}

.customers-flat-page .crm-kpi-strip > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--crm-border);
}

.customers-flat-page .crm-kpi-strip > div:last-child {
  border-right: 0;
}

.customers-flat-page .crm-kpi-strip span,
.customers-flat-page .crm-kpi-strip small {
  color: var(--crm-muted);
  font-size: 13px;
  font-weight: 800;
}

.customers-flat-page .crm-kpi-strip strong {
  color: var(--crm-ink);
  font-size: 30px;
  line-height: 1;
}

.customers-flat-page .crm-status-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--crm-border);
  background: #fff;
}

.customers-flat-page .crm-status-bar a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  border-right: 1px solid var(--crm-border);
  color: #334155;
  text-decoration: none;
}

.customers-flat-page .crm-status-bar a:last-child {
  border-right: 0;
}

.customers-flat-page .crm-status-bar a.active {
  background: #eaf1ff;
  color: #123c9c;
  box-shadow: inset 0 -3px 0 var(--crm-blue);
}

.customers-flat-page .crm-status-bar span {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
}

.customers-flat-page .crm-status-bar b {
  color: var(--crm-blue);
  font-size: 18px;
}

.customers-flat-page .crm-status-bar .warn b {
  color: #c2410c;
}

.customers-flat-page .crm-status-bar .fail b {
  color: #b91c1c;
}

.customers-flat-page .crm-board {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(310px, .62fr);
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.customers-flat-page .crm-section {
  min-width: 0;
  border: 1px solid var(--crm-border);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.customers-flat-page .crm-section-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--crm-border);
  background: var(--crm-soft);
}

.customers-flat-page .crm-section-head h2 {
  margin: 0;
  color: var(--crm-ink);
  font-size: 22px;
  line-height: 1.22;
}

.customers-flat-page .crm-section-head p {
  margin: 5px 0 0;
  color: var(--crm-muted);
  font-size: 14px;
}

.customers-flat-page .crm-count {
  flex: 0 0 auto;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 900;
}

.customers-flat-page .crm-section-body {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 14px 16px 16px;
}

.customers-flat-page .crm-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, .42fr) auto auto;
  gap: 10px;
  align-items: end;
  min-width: 0;
}

.customers-flat-page .crm-toolbar label,
.customers-flat-page .crm-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.customers-flat-page .crm-toolbar input,
.customers-flat-page .crm-toolbar select,
.customers-flat-page .crm-form input,
.customers-flat-page .crm-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--crm-ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
  padding: 10px 12px;
}

.customers-flat-page .crm-form {
  display: grid;
  gap: 12px;
}

.customers-flat-page .crm-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.customers-flat-page .crm-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--crm-border);
  background: #fff;
}

.customers-flat-page .crm-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-size: 14px;
}

.customers-flat-page .crm-table th,
.customers-flat-page .crm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5eef7;
  text-align: left;
  vertical-align: top;
}

.customers-flat-page .crm-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.customers-flat-page .crm-table tr:last-child td {
  border-bottom: 0;
}

.customers-flat-page .crm-table td > small,
.customers-flat-page .crm-person-cell small {
  display: block;
  margin-top: 4px;
  color: var(--crm-muted);
  font-size: 12px;
  line-height: 1.35;
}

.customers-flat-page .crm-person-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.customers-flat-page .crm-person-cell > div {
  min-width: 0;
}

.customers-flat-page .crm-person-cell strong {
  display: block;
  color: var(--crm-ink);
  font-size: 14px;
  line-height: 1.3;
}

.customers-flat-page .crm-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #e0f2fe;
  color: #075985;
  font-size: 15px;
  font-weight: 900;
}

.customers-flat-page .crm-directory-section {
  overflow: hidden;
}

.customers-flat-page .crm-directory-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.customers-flat-page .crm-directory-summary span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--crm-border);
  background: #fff;
  color: #475569;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

.customers-flat-page .crm-directory-summary b {
  color: var(--crm-blue);
  font-size: 15px;
}

.customers-flat-page .customers-title-card,
.customers-flat-page .customers-highlight-card,
.customers-flat-page .customers-stat-card,
.customers-flat-page .customer-command-card,
.customers-flat-page .panel {
  border-radius: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 1180px) {
  .customers-flat-page .crm-kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customers-flat-page .crm-kpi-strip > div {
    border-bottom: 1px solid var(--crm-border);
  }

  .customers-flat-page .crm-kpi-strip > div:nth-child(3n) {
    border-right: 0;
  }

  .customers-flat-page .crm-board {
    grid-template-columns: 1fr;
  }

  .customers-flat-page .crm-add-section {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .customers-flat-page .crm-page-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .customers-flat-page .crm-head-actions {
    justify-content: stretch;
  }

  .customers-flat-page .crm-head-actions .button {
    flex: 1 1 130px;
    justify-content: center;
  }

  .customers-flat-page .crm-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customers-flat-page .crm-kpi-strip > div {
    border-right: 1px solid var(--crm-border);
  }

  .customers-flat-page .crm-kpi-strip > div:nth-child(2n) {
    border-right: 0;
  }

  .customers-flat-page .crm-status-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customers-flat-page .crm-status-bar a {
    border-right: 1px solid var(--crm-border);
    border-bottom: 1px solid var(--crm-border);
  }

  .customers-flat-page .crm-status-bar a:nth-child(2n) {
    border-right: 0;
  }

  .customers-flat-page .crm-section-head {
    display: grid;
  }

  .customers-flat-page .crm-directory-summary {
    justify-content: flex-start;
  }

  .customers-flat-page .crm-toolbar,
  .customers-flat-page .crm-form-row {
    grid-template-columns: 1fr;
  }

  .customers-flat-page .crm-page-head h1 {
    font-size: 26px;
  }
}

@media (max-width: 520px) {
  .customers-flat-page {
    gap: 12px;
  }

  .customers-flat-page .crm-kpi-strip,
  .customers-flat-page .crm-status-bar {
    grid-template-columns: 1fr;
  }

  .customers-flat-page .crm-kpi-strip > div,
  .customers-flat-page .crm-status-bar a {
    border-right: 0;
  }

  .customers-flat-page .crm-section-head,
  .customers-flat-page .crm-section-body {
    padding-left: 12px;
    padding-right: 12px;
  }

  .customers-flat-page .crm-table {
    min-width: 720px;
  }
}

/* Step 96: customer detail uses the same flat CRM theme */
.customer-detail-flat-page .customer-detail-kpis strong {
  overflow-wrap: anywhere;
  font-size: 24px;
}

.customer-detail-flat-page .customer-detail-board {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
}

.customer-detail-flat-page .customer-detail-form {
  max-width: none;
}

.customer-detail-flat-page .customer-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-detail-flat-page .customer-contact-list {
  display: grid;
  border: 1px solid var(--crm-border);
  background: #fff;
}

.customer-detail-flat-page .customer-contact-list > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  border-bottom: 1px solid #e5eef7;
}

.customer-detail-flat-page .customer-contact-list > div:last-child {
  border-bottom: 0;
}

.customer-detail-flat-page .customer-contact-list span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.customer-detail-flat-page .customer-contact-list strong {
  min-width: 0;
  color: #0f172a;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.customer-detail-flat-page .customer-note-box {
  display: grid;
  gap: 6px;
  border: 1px solid var(--crm-border);
  background: #f8fafc;
  padding: 12px;
}

.customer-detail-flat-page .customer-note-box span {
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.customer-detail-flat-page .customer-note-box p {
  margin: 0;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.55;
}

.customer-detail-flat-page .customer-history-section {
  overflow: hidden;
}

.customer-detail-flat-page .customer-history-table {
  min-width: 860px;
}

@media (max-width: 1180px) {
  .customer-detail-flat-page .customer-detail-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .customer-detail-flat-page .customer-contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .customer-detail-flat-page .customer-form-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* Step 97: rooms page flat layout to match Customer / CRM */
.rooms-flat-page {
  --crm-border: #d9e4ef;
  --crm-soft: #f6fafc;
  --crm-ink: #0f172a;
  --crm-muted: #64748b;
  --crm-blue: #155eef;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.rooms-flat-page > .rooms-template-head + .app-topbar.agoda-dashboard-head {
  display: none !important;
}

.rooms-flat-page .rooms-template-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 16px;
  align-items: end;
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--crm-border);
  background: transparent;
}

.rooms-flat-page .rooms-title-card,
.rooms-flat-page .rooms-setup-card,
.rooms-flat-page .rooms-stat-card,
.rooms-flat-page .rooms-template-toolbar,
.rooms-flat-page .panel,
.rooms-flat-page .room-item,
.rooms-flat-page .room-media-card {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.rooms-flat-page .rooms-title-card {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--crm-ink);
  padding: 0;
}

.rooms-flat-page .rooms-title-card::before {
  display: none;
}

.rooms-flat-page .rooms-title-content {
  max-width: none;
}

.rooms-flat-page .rooms-eyebrow {
  margin: 0 0 6px;
  color: var(--crm-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.rooms-flat-page .rooms-title-card h1 {
  margin: 0;
  color: var(--crm-ink);
  font-size: 32px;
  line-height: 1.16;
}

.rooms-flat-page .rooms-title-card p:not(.rooms-eyebrow) {
  margin: 8px 0 0;
  color: var(--crm-muted);
  font-size: 15px;
  line-height: 1.55;
}

.rooms-flat-page .rooms-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.rooms-flat-page .rooms-setup-card {
  display: grid;
  gap: 10px;
  align-self: stretch;
  border: 1px solid var(--crm-border);
  background: #fff;
  padding: 14px;
}

.rooms-flat-page .rooms-setup-card h2 {
  margin: 0 0 2px;
  color: var(--crm-ink);
  font-size: 18px;
}

.rooms-flat-page .rooms-setup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e5eef7;
  padding-top: 9px;
}

.rooms-flat-page .rooms-setup-row span {
  color: var(--crm-muted);
  font-size: 13px;
  font-weight: 900;
}

.rooms-flat-page .rooms-setup-row strong {
  color: var(--crm-ink);
  font-size: 15px;
  text-align: right;
}

.rooms-flat-page .rooms-setup-progress {
  overflow: hidden;
  height: 8px;
  background: #e2e8f0;
}

.rooms-flat-page .rooms-setup-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #155eef, #0f9f8d);
}

.rooms-flat-page .rooms-template-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--crm-border);
  background: #fff;
  margin: 0;
}

.rooms-flat-page .rooms-stat-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--crm-border);
  background: #fff;
  padding: 14px 16px;
}

.rooms-flat-page .rooms-stat-card:last-child {
  border-right: 0;
}

.rooms-flat-page .rooms-stat-card span,
.rooms-flat-page .rooms-stat-card small {
  color: var(--crm-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.rooms-flat-page .rooms-stat-card strong {
  color: var(--crm-ink);
  font-size: 30px;
  line-height: 1;
}

.rooms-flat-page .rooms-template-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .95fr);
  gap: 14px;
  align-items: end;
  border: 1px solid var(--crm-border);
  background: var(--crm-soft);
  margin: 0;
  padding: 14px 16px;
}

.rooms-flat-page .rooms-toolbar-title strong,
.rooms-flat-page .rooms-toolbar-title span {
  display: block;
  min-width: 0;
}

.rooms-flat-page .rooms-toolbar-title strong {
  color: var(--crm-ink);
  font-size: 18px;
}

.rooms-flat-page .rooms-toolbar-title span {
  margin-top: 4px;
  color: var(--crm-muted);
  font-size: 14px;
}

.rooms-flat-page .rooms-toolbar-controls {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(150px, .55fr) auto;
  gap: 10px;
  align-items: end;
}

.rooms-flat-page .rooms-toolbar-controls label,
.rooms-flat-page .form-grid label,
.rooms-flat-page .room-image-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.rooms-flat-page .rooms-toolbar-controls input,
.rooms-flat-page .rooms-toolbar-controls select,
.rooms-flat-page .form-grid input,
.rooms-flat-page .form-grid select,
.rooms-flat-page .form-grid textarea,
.rooms-flat-page .room-image-form input,
.rooms-flat-page .map-position-grid input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--crm-ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
  padding: 10px 12px;
}

.rooms-flat-page .rooms-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 16px;
  margin: 0;
}

.rooms-flat-page .panel {
  min-width: 0;
  border: 1px solid var(--crm-border);
  background: #fff;
  padding: 0;
}

.rooms-flat-page .rooms-create-card,
.rooms-flat-page .rooms-guide-card {
  padding: 14px 16px 16px;
}

.rooms-flat-page .rooms-create-card h2,
.rooms-flat-page .rooms-guide-card h2,
.rooms-flat-page .rooms-map-tool h2 {
  margin: 0 0 12px;
  color: var(--crm-ink);
  font-size: 22px;
  line-height: 1.22;
}

.rooms-flat-page .form-grid {
  gap: 12px;
}

.rooms-flat-page .help-list {
  display: grid;
  gap: 10px;
}

.rooms-flat-page .help-list p {
  margin: 0;
  border: 1px solid #e5eef7;
  background: #f8fafc;
  padding: 11px 12px;
  color: #475569;
  line-height: 1.55;
}

.rooms-flat-page .rooms-map-card,
.rooms-flat-page .rooms-catalog-card {
  overflow: hidden;
}

.rooms-flat-page .panel-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--crm-border);
  background: var(--crm-soft);
  padding: 14px 16px;
}

.rooms-flat-page .panel-head h2 {
  margin: 0;
  color: var(--crm-ink);
  font-size: 22px;
  line-height: 1.22;
}

.rooms-flat-page .panel-head .muted {
  margin: 5px 0 0;
  color: var(--crm-muted);
  font-size: 14px;
}

.rooms-flat-page .rooms-map-card > .two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
}

.rooms-flat-page .rooms-map-tool {
  border: 1px solid var(--crm-border);
  background: #fff;
  padding: 14px;
}

.rooms-flat-page .map-editor-stage {
  margin: 0 16px 14px;
  border-radius: 0;
  border: 1px solid var(--crm-border);
  box-shadow: none;
  max-height: 560px;
}

.rooms-flat-page .map-editor-stage img {
  object-fit: contain;
}

.rooms-flat-page .map-point-list {
  display: grid;
  gap: 0;
  margin: 0 16px 16px;
  border: 1px solid var(--crm-border);
  background: #fff;
}

.rooms-flat-page .map-point-item {
  border: 0;
  border-bottom: 1px solid #e5eef7;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.rooms-flat-page .map-point-item:last-child {
  border-bottom: 0;
}

.rooms-flat-page .rooms-catalog-card > .room-list {
  display: grid;
  gap: 0;
  padding: 0;
}

.rooms-flat-page .room-item {
  border: 0;
  border-bottom: 1px solid var(--crm-border);
  background: #fff;
  padding: 16px;
}

.rooms-flat-page .room-item:last-child {
  border-bottom: 0;
}

.rooms-flat-page .room-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.rooms-flat-page .room-main h3 {
  margin: 0;
  color: var(--crm-ink);
  font-size: 22px;
  line-height: 1.22;
}

.rooms-flat-page .room-main .muted {
  margin: 5px 0 0;
  color: var(--crm-muted);
}

.rooms-flat-page .room-edit-panel {
  margin-top: 14px;
  border: 1px solid #e5eef7;
  background: #f8fafc;
}

.rooms-flat-page .room-edit-panel summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #0f172a;
  font-weight: 900;
}

.rooms-flat-page .room-edit-form {
  border-top: 1px solid #e5eef7;
  padding: 14px;
}

.rooms-flat-page .room-media-section {
  margin-top: 14px;
  border: 1px solid var(--crm-border);
  background: #fff;
}

.rooms-flat-page .room-media-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--crm-border);
  background: #f8fafc;
  padding: 11px 12px;
}

.rooms-flat-page .room-media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

.rooms-flat-page .room-media-card {
  border: 1px solid #e5eef7;
  background: #fff;
}

.rooms-flat-page .room-media-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.rooms-flat-page .room-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rooms-flat-page .room-image-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, .55fr) auto;
  gap: 10px;
  align-items: end;
  border-top: 1px solid var(--crm-border);
  background: #f8fafc;
  padding: 12px;
}

@media (max-width: 1180px) {
  .rooms-flat-page .rooms-template-head,
  .rooms-flat-page .rooms-template-toolbar,
  .rooms-flat-page .rooms-editor-grid,
  .rooms-flat-page .rooms-map-card > .two-col {
    grid-template-columns: 1fr;
  }

  .rooms-flat-page .rooms-template-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rooms-flat-page .rooms-stat-card {
    border-bottom: 1px solid var(--crm-border);
  }

  .rooms-flat-page .room-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .rooms-flat-page .rooms-title-card h1 {
    font-size: 26px;
  }

  .rooms-flat-page .rooms-title-actions .button {
    flex: 1 1 150px;
    justify-content: center;
  }

  .rooms-flat-page .rooms-template-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rooms-flat-page .rooms-toolbar-controls,
  .rooms-flat-page .room-image-form {
    grid-template-columns: 1fr;
  }

  .rooms-flat-page .room-main,
  .rooms-flat-page .room-media-head,
  .rooms-flat-page .panel-head {
    display: grid;
  }

  .rooms-flat-page .room-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .rooms-flat-page {
    gap: 12px;
  }

  .rooms-flat-page .rooms-template-stats {
    grid-template-columns: 1fr;
  }

  .rooms-flat-page .rooms-stat-card {
    border-right: 0;
  }

  .rooms-flat-page .rooms-setup-card,
  .rooms-flat-page .rooms-template-toolbar,
  .rooms-flat-page .rooms-create-card,
  .rooms-flat-page .rooms-guide-card,
  .rooms-flat-page .room-item,
  .rooms-flat-page .room-edit-form,
  .rooms-flat-page .rooms-map-card > .two-col {
    padding-left: 12px;
    padding-right: 12px;
  }

  .rooms-flat-page .map-editor-stage,
  .rooms-flat-page .map-point-list {
    margin-left: 12px;
    margin-right: 12px;
  }

  .rooms-flat-page .room-media-grid {
    grid-template-columns: 1fr;
  }
}

/* Step 98: cleaner rooms page, remove repeated information and improve contrast */
.rooms-clean-page {
  background:
    linear-gradient(180deg, rgba(232, 246, 248, .75), rgba(248, 251, 253, 0) 240px),
    #f7fbfc;
  color: #0f172a;
}

.rooms-clean-page .rooms-template-head {
  display: block;
  border: 1px solid #d6e3ee;
  background: #fff;
  padding: 18px;
}

.rooms-clean-page .rooms-title-card {
  background: transparent !important;
}

.rooms-clean-page .rooms-title-content {
  display: grid;
  gap: 12px;
}

.rooms-clean-page .rooms-eyebrow {
  margin: 0;
  color: #0f766e;
  letter-spacing: 0;
}

.rooms-clean-page .rooms-title-card h1 {
  max-width: 980px;
  color: #0b1220;
  font-size: 30px;
}

.rooms-clean-page .rooms-title-card p:not(.rooms-eyebrow) {
  display: none;
}

.rooms-clean-page .rooms-title-actions {
  margin-top: 2px;
}

.rooms-clean-page .rooms-title-actions .button {
  min-height: 42px;
}

.rooms-clean-page .rooms-setup-card,
.rooms-clean-page .rooms-guide-card {
  display: none !important;
}

.rooms-clean-page .rooms-template-stats {
  border-color: #d6e3ee;
  background: #fff;
}

.rooms-clean-page .rooms-stat-card {
  min-height: 98px;
  background: #fff;
}

.rooms-clean-page .rooms-stat-card span {
  color: #475569;
}

.rooms-clean-page .rooms-stat-card strong {
  color: #0b1220;
  font-size: 28px;
}

.rooms-clean-page .rooms-stat-card small {
  color: #64748b;
  font-size: 12px;
}

.rooms-clean-page .rooms-template-toolbar {
  grid-template-columns: minmax(0, .72fr) minmax(420px, 1fr);
  border-color: #d6e3ee;
  background: #eef8f7;
}

.rooms-clean-page .rooms-toolbar-title strong {
  color: #0b1220;
}

.rooms-clean-page .rooms-toolbar-title span {
  display: none;
}

.rooms-clean-page .rooms-editor-grid {
  grid-template-columns: 1fr;
}

.rooms-clean-page .rooms-create-card {
  background: #fff;
}

.rooms-clean-page .rooms-create-card h2,
.rooms-clean-page .panel-head h2,
.rooms-clean-page .room-main h3 {
  color: #0b1220;
}

.rooms-clean-page .panel,
.rooms-clean-page .room-item,
.rooms-clean-page .rooms-map-tool,
.rooms-clean-page .room-media-section,
.rooms-clean-page .room-edit-panel,
.rooms-clean-page .room-media-card,
.rooms-clean-page .map-point-list,
.rooms-clean-page .map-editor-stage {
  border-color: #d6e3ee;
  background-color: #fff;
}

.rooms-clean-page .panel-head,
.rooms-clean-page .room-media-head {
  background: #f2f8fa;
  border-color: #d6e3ee;
}

.rooms-clean-page .panel-head .muted,
.rooms-clean-page .room-main .muted,
.rooms-clean-page .rooms-map-tool .muted {
  color: #526173;
}

.rooms-clean-page .help-list p,
.rooms-clean-page .room-edit-panel,
.rooms-clean-page .room-edit-form,
.rooms-clean-page .room-image-form {
  background: #f8fbfc;
}

.rooms-clean-page .room-main .pill,
.rooms-clean-page .pill.ok {
  background: #e8f7f2;
  color: #047857;
}

.rooms-clean-page .form-grid input,
.rooms-clean-page .form-grid select,
.rooms-clean-page .form-grid textarea,
.rooms-clean-page .rooms-toolbar-controls input,
.rooms-clean-page .rooms-toolbar-controls select,
.rooms-clean-page .room-image-form input {
  border-color: #b9c9d6;
  background: #fff;
  color: #0b1220;
}

.rooms-clean-page .form-grid input:focus,
.rooms-clean-page .form-grid select:focus,
.rooms-clean-page .form-grid textarea:focus,
.rooms-clean-page .rooms-toolbar-controls input:focus,
.rooms-clean-page .rooms-toolbar-controls select:focus {
  border-color: #155eef;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .14);
  outline: 0;
}

.rooms-clean-page .rooms-map-card > .two-col {
  grid-template-columns: minmax(0, .82fr) minmax(320px, .72fr);
}

.rooms-clean-page .rooms-map-tool h2 {
  color: #0b1220;
  font-size: 19px;
}

.rooms-clean-page .room-media-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rooms-clean-page .room-media-card span {
  color: #334155;
}

@media (max-width: 1180px) {
  .rooms-clean-page .rooms-template-toolbar,
  .rooms-clean-page .rooms-map-card > .two-col {
    grid-template-columns: 1fr;
  }

  .rooms-clean-page .room-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .rooms-clean-page .rooms-template-head {
    padding: 14px;
  }

  .rooms-clean-page .rooms-title-card h1 {
    font-size: 25px;
  }

  .rooms-clean-page .rooms-title-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rooms-clean-page .room-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .rooms-clean-page .rooms-title-actions {
    grid-template-columns: 1fr;
  }

  .rooms-clean-page .rooms-stat-card {
    min-height: 0;
  }

  .rooms-clean-page .room-media-grid {
    grid-template-columns: 1fr;
  }
}

/* Step 99: unified booking center */
.booking-unified-page {
  --booking-border: #d9e4ef;
  --booking-soft: #f6fafc;
  --booking-ink: #0f172a;
  --booking-muted: #64748b;
  --booking-blue: #155eef;
  display: grid;
  gap: 16px;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(232, 246, 248, .78), rgba(248, 251, 253, 0) 260px),
    #f7fbfc;
}

.booking-unified-page .booking-unified-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid var(--booking-border);
  background: #fff;
  padding: 18px;
}

.booking-unified-page .booking-unified-kicker {
  margin: 0 0 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.booking-unified-page .booking-unified-head h1 {
  margin: 0;
  color: var(--booking-ink);
  font-size: 32px;
  line-height: 1.16;
}

.booking-unified-page .booking-unified-head p:not(.booking-unified-kicker) {
  margin: 8px 0 0;
  color: var(--booking-muted);
  font-size: 15px;
}

.booking-unified-page .booking-unified-head nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.booking-unified-page .booking-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--booking-border);
  background: #fff;
}

.booking-unified-page .booking-kpi-strip > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-right: 1px solid var(--booking-border);
  padding: 14px 16px;
}

.booking-unified-page .booking-kpi-strip > div:last-child {
  border-right: 0;
}

.booking-unified-page .booking-kpi-strip span,
.booking-unified-page .booking-kpi-strip small {
  color: var(--booking-muted);
  font-size: 13px;
  font-weight: 800;
}

.booking-unified-page .booking-kpi-strip strong {
  color: var(--booking-ink);
  font-size: 30px;
  line-height: 1;
}

.booking-unified-page .booking-flow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--booking-border);
  background: #eef8f7;
}

.booking-unified-page .booking-flow-strip a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-right: 1px solid var(--booking-border);
  color: #0f172a;
  padding: 12px 14px;
  text-decoration: none;
}

.booking-unified-page .booking-flow-strip a:last-child {
  border-right: 0;
}

.booking-unified-page .booking-flow-strip b {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  background: #155eef;
  color: #fff;
  font-size: 13px;
}

.booking-unified-page .booking-flow-strip span {
  min-width: 0;
  font-size: 14px;
  font-weight: 900;
}

.booking-unified-page .booking-section {
  min-width: 0;
  border: 1px solid var(--booking-border);
  background: #fff;
}

.booking-unified-page .booking-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--booking-border);
  background: var(--booking-soft);
  padding: 14px 16px;
}

.booking-unified-page .booking-section-head h2 {
  margin: 0;
  color: var(--booking-ink);
  font-size: 22px;
  line-height: 1.22;
}

.booking-unified-page .booking-section-head p {
  margin: 5px 0 0;
  color: var(--booking-muted);
  font-size: 14px;
}

.booking-unified-page .booking-date-toolbar,
.booking-unified-page .booking-list-filter,
.booking-unified-page .booking-calendar-toolbar,
.booking-unified-page .booking-check-form {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.booking-unified-page .booking-list-filter {
  grid-template-columns: minmax(180px, 1fr) minmax(140px, .5fr) auto;
  min-width: min(100%, 520px);
}

.booking-unified-page .booking-calendar-toolbar {
  grid-template-columns: auto minmax(150px, 1fr) minmax(100px, .42fr) auto auto;
}

.booking-unified-page input,
.booking-unified-page select,
.booking-unified-page textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9c9d6;
  border-radius: 8px;
  background: #fff;
  color: var(--booking-ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
  padding: 10px 12px;
}

.booking-unified-page label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.booking-unified-page .booking-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.booking-unified-page .booking-work-grid > article {
  min-width: 0;
  border: 1px solid var(--booking-border);
  background: #fff;
}

.booking-unified-page .booking-work-grid h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  border-bottom: 1px solid var(--booking-border);
  background: #f8fbfc;
  color: var(--booking-ink);
  padding: 12px 14px;
  font-size: 18px;
}

.booking-unified-page .booking-work-grid h3 b {
  color: var(--booking-blue);
}

.booking-unified-page .unified-operation-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.booking-unified-page .unified-operation-card {
  display: grid;
  gap: 10px;
  border: 1px solid #e5eef7;
  background: #fff;
  padding: 12px;
}

.booking-unified-page .unified-operation-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.booking-unified-page .unified-operation-main h3 {
  display: block;
  margin: 4px 0;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 17px;
}

.booking-unified-page .unified-operation-main p,
.booking-unified-page .unified-operation-main small {
  display: block;
  margin: 0;
  color: var(--booking-muted);
}

.booking-unified-page .unified-operation-side {
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.booking-unified-page .unified-operation-side strong {
  color: var(--booking-ink);
  font-size: 18px;
}

.booking-unified-page .unified-operation-meta,
.booking-unified-page .unified-operation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-unified-page .unified-operation-meta {
  color: var(--booking-muted);
  font-size: 13px;
}

.booking-unified-page .booking-create-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  gap: 16px;
  padding: 16px;
}

.booking-unified-page .booking-create-grid > article,
.booking-unified-page .booking-create-grid > aside {
  min-width: 0;
}

.booking-unified-page .booking-check-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  margin-bottom: 12px;
}

.booking-unified-page .booking-create-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.booking-unified-page .span-2 {
  grid-column: 1 / -1;
}

.booking-unified-page .booking-availability-summary,
.booking-unified-page .booking-price-box,
.booking-unified-page .booking-calendar-summary {
  display: grid;
  gap: 8px;
  border: 1px solid var(--booking-border);
  background: #f8fbfc;
  padding: 12px;
}

.booking-unified-page .booking-price-box {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
}

.booking-unified-page .booking-price-box span {
  color: var(--booking-muted);
  font-size: 13px;
  font-weight: 900;
}

.booking-unified-page .booking-price-box strong {
  color: var(--booking-ink);
  overflow-wrap: anywhere;
}

.booking-unified-page .booking-status-tabs,
.booking-unified-page .booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--booking-border);
}

.booking-unified-page .booking-status-tabs a {
  border: 1px solid #d6e3ee;
  background: #fff;
  color: #334155;
  padding: 8px 11px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.booking-unified-page .booking-status-tabs a.active {
  border-color: #155eef;
  background: #eaf1ff;
  color: #123c9c;
}

.booking-unified-page .booking-table-wrap,
.booking-unified-page .booking-calendar-scroll {
  max-width: 100%;
  overflow-x: auto;
}

.booking-unified-page .booking-table-wrap table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}

.booking-unified-page .booking-table-wrap th,
.booking-unified-page .booking-table-wrap td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5eef7;
  text-align: left;
  vertical-align: top;
}

.booking-unified-page .booking-table-wrap th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.booking-unified-page .booking-table-wrap small {
  display: block;
  margin-top: 4px;
  color: var(--booking-muted);
}

.booking-unified-page .booking-calendar-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px;
}

.booking-unified-page .booking-calendar-summary span,
.booking-unified-page .booking-calendar-legend span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.booking-unified-page .booking-calendar-summary b {
  color: var(--booking-blue);
  font-size: 18px;
}

.booking-unified-page .booking-calendar-block {
  margin: 16px;
  border: 1px solid var(--booking-border);
  background: #fff;
}

.booking-unified-page .booking-calendar-block h3 {
  margin: 0;
  border-bottom: 1px solid var(--booking-border);
  background: #f8fbfc;
  color: var(--booking-ink);
  padding: 12px 14px;
  font-size: 18px;
}

.booking-unified-page .calendar-table {
  min-width: 1100px;
}

@media (max-width: 1180px) {
  .booking-unified-page .booking-unified-head,
  .booking-unified-page .booking-create-grid {
    grid-template-columns: 1fr;
  }

  .booking-unified-page .booking-kpi-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-unified-page .booking-flow-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-unified-page .booking-check-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .booking-unified-page .booking-unified-head h1 {
    font-size: 26px;
  }

  .booking-unified-page .booking-unified-head nav,
  .booking-unified-page .booking-section-head,
  .booking-unified-page .unified-operation-main {
    display: grid;
  }

  .booking-unified-page .booking-kpi-strip,
  .booking-unified-page .booking-flow-strip,
  .booking-unified-page .booking-work-grid,
  .booking-unified-page .booking-calendar-summary {
    grid-template-columns: 1fr;
  }

  .booking-unified-page .booking-date-toolbar,
  .booking-unified-page .booking-list-filter,
  .booking-unified-page .booking-calendar-toolbar,
  .booking-unified-page .booking-check-form,
  .booking-unified-page .booking-create-form,
  .booking-unified-page .booking-price-box {
    grid-template-columns: 1fr;
  }

  .booking-unified-page .unified-operation-side {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .booking-unified-page {
    gap: 12px;
  }

  .booking-unified-page .booking-unified-head,
  .booking-unified-page .booking-section-head,
  .booking-unified-page .booking-work-grid,
  .booking-unified-page .booking-create-grid,
  .booking-unified-page .booking-calendar-summary {
    padding-left: 12px;
    padding-right: 12px;
  }

  .booking-unified-page .booking-calendar-block {
    margin-left: 12px;
    margin-right: 12px;
  }
}

/* Step 100: booking workflow page and modal */
.booking-workflow-page {
  display: grid;
  gap: 16px;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(232, 246, 248, .8), rgba(247, 251, 252, 0) 280px),
    #f7fbfc;
}

.booking-workflow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid #d9e4ef;
  background: #fff;
  padding: 18px;
}

.booking-workflow-kicker {
  margin: 0 0 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.booking-workflow-hero h1,
.booking-workflow-guide h2 {
  margin: 0;
  color: #0f172a;
  line-height: 1.18;
}

.booking-workflow-hero h1 {
  font-size: 34px;
}

.booking-workflow-hero p:not(.booking-workflow-kicker),
.booking-workflow-guide p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 15px;
}

.booking-workflow-hero nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.booking-workflow-map {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #d9e4ef;
  background: #fff;
  overflow: hidden;
}

.booking-workflow-step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 210px;
  border-right: 1px solid #d9e4ef;
  color: #0f172a;
  padding: 14px;
  text-decoration: none;
}

.booking-workflow-step:last-child {
  border-right: 0;
}

.booking-workflow-step:hover {
  background: #f8fbff;
}

.booking-workflow-step-no {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.booking-workflow-step-icon,
.workflow-icon-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #bfdbfe;
  background: #eaf1ff;
  color: #155eef;
  font-size: 13px;
  font-weight: 900;
}

.booking-workflow-step:nth-child(4) .booking-workflow-step-icon,
.booking-workflow-step:nth-child(4) em,
.booking-workflow-icon-card.status-pending_payment .workflow-icon-mark {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.booking-workflow-step:nth-child(5) .booking-workflow-step-icon,
.booking-workflow-step:nth-child(5) em,
.booking-workflow-icon-card.status-payment_review .workflow-icon-mark {
  border-color: #ddd6fe;
  background: #f5f3ff;
  color: #6d28d9;
}

.booking-workflow-step:nth-child(6) .booking-workflow-step-icon,
.booking-workflow-step:nth-child(6) em,
.booking-workflow-icon-card.status-confirmed .workflow-icon-mark {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #047857;
}

.booking-workflow-step:nth-child(7) .booking-workflow-step-icon,
.booking-workflow-step:nth-child(7) em,
.booking-workflow-icon-card.status-checked_in .workflow-icon-mark {
  border-color: #99f6e4;
  background: #e6fffb;
  color: #0f766e;
}

.booking-workflow-step:nth-child(8) .booking-workflow-step-icon,
.booking-workflow-step:nth-child(8) em,
.booking-workflow-icon-card.status-completed .workflow-icon-mark {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
}

.booking-workflow-step strong,
.booking-workflow-icon-card b {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.25;
}

.booking-workflow-step small,
.booking-workflow-icon-card small {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.booking-workflow-step em,
.booking-workflow-icon-card em {
  align-self: end;
  width: fit-content;
  margin-top: auto;
  border: 1px solid #d6e3ee;
  background: #f8fafc;
  color: #334155;
  padding: 6px 9px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.booking-workflow-guide {
  border: 1px solid #d9e4ef;
  background: #fff;
}

.booking-workflow-guide-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #d9e4ef;
  background: #f6fafc;
  padding: 16px;
}

.booking-workflow-table {
  display: grid;
}

.booking-workflow-table > div {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) minmax(260px, 1.5fr) minmax(130px, .7fr) minmax(150px, .7fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #e5eef7;
  padding: 12px 16px;
}

.booking-workflow-table > div:first-child {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.booking-workflow-table > div:last-child {
  border-bottom: 0;
}

.booking-workflow-table span {
  color: #334155;
  font-size: 14px;
}

.booking-unified-page .booking-workflow-console {
  overflow: hidden;
}

.booking-unified-page .booking-workflow-icon-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}

.booking-workflow-icon-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 188px;
  border: 0;
  border-right: 1px solid var(--booking-border);
  background: #fff;
  color: #0f172a;
  padding: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.booking-workflow-icon-card:last-child {
  border-right: 0;
}

.booking-workflow-icon-card:hover,
.booking-workflow-icon-card:focus-visible {
  background: #f8fbff;
  outline: 2px solid #93c5fd;
  outline-offset: -2px;
}

.workflow-icon-step {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.booking-workflow-icon-card.is-link .workflow-icon-mark {
  border-color: #bfdbfe;
  background: #eaf1ff;
  color: #155eef;
}

.booking-workflow-icon-card.status-inquiry .workflow-icon-mark {
  border-color: #bfdbfe;
  background: #eaf1ff;
  color: #155eef;
}

.booking-modal-open {
  overflow: hidden;
}

.booking-workflow-modal[hidden] {
  display: none;
}

.booking-workflow-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.booking-workflow-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
}

.booking-workflow-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(720px, calc(100vh - 36px));
  overflow-y: auto;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}

.booking-workflow-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.booking-workflow-dialog-head {
  border-bottom: 1px solid #d9e4ef;
  background: #f6fafc;
  padding: 18px 56px 18px 18px;
}

.booking-workflow-dialog-head span {
  display: inline-flex;
  margin-bottom: 8px;
  border: 1px solid #bfdbfe;
  background: #eaf1ff;
  color: #155eef;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
}

.booking-workflow-dialog-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.2;
}

.booking-workflow-dialog-head p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.booking-workflow-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.booking-workflow-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 1240px) {
  .booking-workflow-map,
  .booking-unified-page .booking-workflow-icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .booking-workflow-step,
  .booking-workflow-icon-card {
    border-bottom: 1px solid #d9e4ef;
  }
}

@media (max-width: 900px) {
  .booking-workflow-hero,
  .booking-workflow-guide-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .booking-workflow-hero nav {
    justify-content: flex-start;
  }

  .booking-workflow-map,
  .booking-unified-page .booking-workflow-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-workflow-table > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 560px) {
  .booking-workflow-hero h1 {
    font-size: 27px;
  }

  .booking-workflow-map,
  .booking-unified-page .booking-workflow-icon-grid {
    grid-template-columns: 1fr;
  }

  .booking-workflow-step,
  .booking-workflow-icon-card {
    min-height: 0;
    border-right: 0;
  }

  .booking-workflow-modal {
    padding: 10px;
  }

  .booking-workflow-dialog {
    max-height: calc(100vh - 20px);
  }

  .booking-workflow-modal-actions {
    display: grid;
  }
}

/* Step 101: compact booking detail */
.booking-detail-compact-page {
  --detail-border: #d9e4ef;
  --detail-soft: #f6fafc;
  --detail-ink: #0f172a;
  --detail-muted: #64748b;
  --detail-blue: #155eef;
  display: grid;
  gap: 14px;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(232, 246, 248, .78), rgba(248, 251, 253, 0) 260px),
    #f7fbfc;
}

.booking-detail-compact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  border: 1px solid var(--detail-border);
  background: #fff;
  padding: 18px;
}

.booking-detail-kicker {
  margin: 0 0 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.booking-detail-compact-head h1 {
  margin: 0;
  color: var(--detail-ink);
  font-size: 34px;
  line-height: 1.12;
}

.booking-detail-compact-head p:not(.booking-detail-kicker) {
  margin: 8px 0 0;
  color: var(--detail-muted);
  font-size: 15px;
}

.booking-detail-compact-head nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.booking-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--detail-border);
  background: #fff;
  overflow: hidden;
}

.booking-detail-summary article {
  display: grid;
  gap: 5px;
  min-width: 0;
  border-right: 1px solid var(--detail-border);
  padding: 14px 16px;
}

.booking-detail-summary article:last-child {
  border-right: 0;
}

.booking-detail-summary span,
.booking-detail-panel-head p,
.booking-detail-main > .booking-detail-panel-head p,
.booking-detail-timeline span,
.booking-detail-note span {
  color: var(--detail-muted);
  font-size: 13px;
  font-weight: 800;
}

.booking-detail-summary strong {
  color: var(--detail-ink);
  font-size: 26px;
  line-height: 1.1;
}

.booking-detail-summary strong .pill {
  font-size: 14px;
  vertical-align: middle;
}

.booking-detail-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
  gap: 14px;
  min-width: 0;
}

.booking-detail-side {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.booking-detail-panel,
.booking-detail-fold {
  min-width: 0;
  border: 1px solid var(--detail-border);
  background: #fff;
}

.booking-detail-panel {
  padding: 16px;
}

.booking-detail-panel h2,
.booking-detail-items h3 {
  margin: 0;
  color: var(--detail-ink);
  font-size: 20px;
  line-height: 1.25;
}

.booking-detail-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.booking-detail-panel-head p {
  margin: 5px 0 0;
}

.booking-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--detail-border);
  background: var(--detail-soft);
}

.booking-detail-facts > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border-right: 1px solid var(--detail-border);
  border-bottom: 1px solid var(--detail-border);
  padding: 10px 12px;
}

.booking-detail-facts > div:nth-child(2n) {
  border-right: 0;
}

.booking-detail-facts > div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.booking-detail-facts span {
  color: var(--detail-muted);
  font-size: 12px;
  font-weight: 900;
}

.booking-detail-facts strong {
  color: var(--detail-ink);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.booking-detail-note {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  padding: 10px 12px;
}

.booking-detail-note p {
  margin: 0;
  color: #1e3a8a;
  font-size: 14px;
}

.booking-detail-items {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.booking-detail-items table,
.booking-detail-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.booking-detail-items th,
.booking-detail-items td,
.booking-detail-table-wrap th,
.booking-detail-table-wrap td {
  border-bottom: 1px solid #e5eef7;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.booking-detail-items th,
.booking-detail-table-wrap th {
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.booking-detail-form,
.booking-detail-check-form,
.booking-detail-edit-form {
  display: grid;
  gap: 10px;
}

.booking-detail-form label,
.booking-detail-check-form label,
.booking-detail-edit-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.booking-detail-form input,
.booking-detail-form select,
.booking-detail-form textarea,
.booking-detail-check-form input,
.booking-detail-check-form select,
.booking-detail-edit-form input,
.booking-detail-edit-form select,
.booking-detail-edit-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9c9d6;
  border-radius: 8px;
  background: #fff;
  color: var(--detail-ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 15px;
  padding: 10px 12px;
}

.booking-detail-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  background: var(--detail-soft);
  color: var(--detail-ink);
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 900;
}

.booking-detail-fold summary::-webkit-details-marker {
  display: none;
}

.booking-detail-fold summary b {
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #3730a3;
  padding: 6px 10px;
  font-size: 12px;
}

.booking-detail-fold[open] summary {
  border-bottom: 1px solid var(--detail-border);
}

.booking-detail-check-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  padding: 16px;
}

.booking-detail-edit-result {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0 16px 14px;
  border: 1px solid #bbf7d0;
  background: #ecfdf3;
  color: #065f46;
  padding: 10px 12px;
}

.booking-detail-edit-result span {
  color: #047857;
  font-size: 13px;
  font-weight: 800;
}

.booking-detail-edit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 16px 16px;
}

.booking-detail-edit-form .span-2 {
  grid-column: 1 / -1;
}

.booking-detail-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .38fr);
  gap: 14px;
  min-width: 0;
}

.booking-detail-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.booking-detail-table-wrap table {
  min-width: 760px;
}

.booking-detail-table-wrap small {
  display: block;
  margin-top: 4px;
}

.payment-review-actions.compact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-review-actions.compact .button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.booking-detail-timeline {
  display: grid;
  gap: 10px;
}

.booking-detail-timeline > div {
  display: grid;
  gap: 4px;
  border-left: 3px solid #155eef;
  background: #f8fbfc;
  padding: 10px 12px;
}

.booking-detail-timeline strong {
  color: var(--detail-ink);
}

.booking-detail-timeline p {
  margin: 0;
  color: #334155;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .booking-detail-compact-head,
  .booking-detail-board,
  .booking-detail-lower {
    grid-template-columns: 1fr;
  }

  .booking-detail-compact-head nav {
    justify-content: flex-start;
  }

  .booking-detail-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .booking-detail-compact-head h1 {
    font-size: 27px;
  }

  .booking-detail-summary,
  .booking-detail-facts,
  .booking-detail-check-form,
  .booking-detail-edit-form {
    grid-template-columns: 1fr;
  }

  .booking-detail-summary article,
  .booking-detail-facts > div {
    border-right: 0;
  }

  .booking-detail-summary article:not(:last-child),
  .booking-detail-facts > div {
    border-bottom: 1px solid var(--detail-border);
  }

  .booking-detail-fold summary {
    display: grid;
  }
}

/* Resort108 unified dashboard theme v124 */
:root {
  --r108-bg: #f8fafc;
  --r108-panel: #ffffff;
  --r108-ink: #0f172a;
  --r108-muted: #64748b;
  --r108-line: #e2e8f0;
  --r108-teal: #0f766e;
  --r108-dark: #063f3a;
  --r108-darker: #032f2b;
  --r108-green: #16a34a;
  --r108-amber: #f59e0b;
  --r108-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 16px 34px rgba(15, 23, 42, .07);
  --r108-head-shadow: 0 18px 42px rgba(3, 47, 43, .22);
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(34,197,94,.12), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(14,165,233,.10), transparent 32%),
    var(--r108-bg) !important;
  color: var(--r108-ink) !important;
  font-family: Tahoma, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.agoda-admin-wrap,
.app-wrap.agoda-admin-wrap {
  min-height: 100vh !important;
  background:
    radial-gradient(circle at 14% 8%, rgba(34,197,94,.12), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(14,165,233,.10), transparent 32%),
    var(--r108-bg) !important;
  color: var(--r108-ink) !important;
}

.agoda-admin-wrap .app-main {
  width: min(1500px, 100%) !important;
  margin: 0 auto !important;
  padding: 22px !important;
}

.agoda-admin-wrap .app-main > header:not(.booking-unified-head),
.agoda-admin-wrap .page-head,
.agoda-admin-wrap .section-head,
.agoda-admin-wrap .dashboard-hero,
.agoda-admin-wrap .crm-hero,
.agoda-admin-wrap .customer-hero,
.agoda-admin-wrap .rooms-hero,
.agoda-admin-wrap .settings-hero,
.agoda-admin-wrap .booking-unified-head {
  border: 1px solid rgba(16,185,129,.26) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 15% 20%, rgba(34,197,94,.22), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(14,165,233,.16), transparent 32%),
    linear-gradient(135deg, #064e3b 0%, #0f766e 58%, #22c55e 100%) !important;
  color: #fff !important;
  box-shadow: 0 18px 45px rgba(15,118,110,.18) !important;
}

.agoda-admin-wrap .app-main > header:not(.booking-unified-head) h1,
.agoda-admin-wrap .page-head h1,
.agoda-admin-wrap .section-head h1,
.agoda-admin-wrap .dashboard-hero h1,
.agoda-admin-wrap .crm-hero h1,
.agoda-admin-wrap .customer-hero h1,
.agoda-admin-wrap .rooms-hero h1,
.agoda-admin-wrap .settings-hero h1,
.agoda-admin-wrap .booking-unified-head h1,
.agoda-admin-wrap .app-main > header:not(.booking-unified-head) h2,
.agoda-admin-wrap .page-head h2,
.agoda-admin-wrap .section-head h2,
.agoda-admin-wrap .dashboard-hero h2,
.agoda-admin-wrap .crm-hero h2,
.agoda-admin-wrap .customer-hero h2,
.agoda-admin-wrap .rooms-hero h2,
.agoda-admin-wrap .settings-hero h2,
.agoda-admin-wrap .booking-unified-head h2 {
  color: #fff !important;
}

.agoda-admin-wrap .app-main > header:not(.booking-unified-head) p,
.agoda-admin-wrap .page-head p,
.agoda-admin-wrap .section-head p,
.agoda-admin-wrap .dashboard-hero p,
.agoda-admin-wrap .crm-hero p,
.agoda-admin-wrap .customer-hero p,
.agoda-admin-wrap .rooms-hero p,
.agoda-admin-wrap .settings-hero p,
.agoda-admin-wrap .booking-unified-head p {
  color: rgba(255,255,255,.84) !important;
}

.agoda-admin-wrap .booking-section-head,
.agoda-admin-wrap .app-card > header,
.agoda-admin-wrap .card-head,
.agoda-admin-wrap .panel-head,
.agoda-admin-wrap .form-head,
.agoda-admin-wrap .module-head,
.agoda-admin-wrap .content-module-section > h2,
.agoda-admin-wrap .content-block-editor > h3,
.agoda-admin-wrap .booking-calendar-block > h3,
.agoda-admin-wrap .room-panel > h2,
.agoda-admin-wrap .settings-card > h2 {
  border: 1px solid rgba(16,185,129,.30) !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 96% 12%, rgba(34,197,94,.24), transparent 28%),
    linear-gradient(135deg, var(--r108-darker) 0%, var(--r108-dark) 58%, #0f766e 100%) !important;
  color: #fff !important;
  box-shadow: var(--r108-head-shadow) !important;
}

.agoda-admin-wrap .booking-section-head h2,
.agoda-admin-wrap .booking-section-head h3,
.agoda-admin-wrap .app-card > header h2,
.agoda-admin-wrap .app-card > header h3,
.agoda-admin-wrap .card-head h2,
.agoda-admin-wrap .panel-head h2,
.agoda-admin-wrap .form-head h2,
.agoda-admin-wrap .module-head h2,
.agoda-admin-wrap .content-module-section > h2,
.agoda-admin-wrap .content-block-editor > h3,
.agoda-admin-wrap .booking-calendar-block > h3,
.agoda-admin-wrap .room-panel > h2,
.agoda-admin-wrap .settings-card > h2 {
  color: #fff !important;
}

.agoda-admin-wrap .booking-section-head p,
.agoda-admin-wrap .app-card > header p,
.agoda-admin-wrap .card-head p,
.agoda-admin-wrap .panel-head p,
.agoda-admin-wrap .form-head p,
.agoda-admin-wrap .module-head p {
  color: rgba(255,255,255,.82) !important;
}

.agoda-admin-wrap .booking-section,
.agoda-admin-wrap .app-card,
.agoda-admin-wrap .content-block-editor,
.agoda-admin-wrap .content-editor-card,
.agoda-admin-wrap .booking-calendar-block,
.agoda-admin-wrap .table-scroll,
.agoda-admin-wrap .metric-card,
.agoda-admin-wrap .stat-card,
.agoda-admin-wrap .report-card,
.agoda-admin-wrap .payment-card,
.agoda-admin-wrap .customer-card,
.agoda-admin-wrap .room-card,
.agoda-admin-wrap .settings-card {
  border-color: var(--r108-line) !important;
  background: var(--r108-panel) !important;
  box-shadow: var(--r108-shadow) !important;
}

.agoda-admin-wrap table th {
  background: #f1f5f9 !important;
  color: #334155 !important;
}

.agoda-admin-wrap input,
.agoda-admin-wrap select,
.agoda-admin-wrap textarea {
  border-color: #cbd5e1 !important;
  border-radius: 12px !important;
  color: var(--r108-ink) !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.03) !important;
}

.agoda-admin-wrap input:focus,
.agoda-admin-wrap select:focus,
.agoda-admin-wrap textarea:focus {
  border-color: var(--r108-teal) !important;
  box-shadow: 0 0 0 4px rgba(15,118,110,.14) !important;
  outline: none !important;
}

.agoda-admin-wrap .booking-section-head input,
.agoda-admin-wrap .booking-section-head select,
.agoda-admin-wrap .app-card > header input,
.agoda-admin-wrap .app-card > header select,
.agoda-admin-wrap .card-head input,
.agoda-admin-wrap .panel-head input,
.agoda-admin-wrap .form-head input {
  background: rgba(255,255,255,.96) !important;
  color: var(--r108-ink) !important;
  border-color: rgba(255,255,255,.38) !important;
}

.agoda-admin-wrap .button {
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0f766e, #16a34a) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(15,118,110,.18) !important;
}

.agoda-admin-wrap .button.secondary {
  border-color: #ccfbf1 !important;
  background: #ffffff !important;
  color: var(--r108-teal) !important;
  box-shadow: 0 8px 20px rgba(15,23,42,.06) !important;
}

.agoda-admin-wrap .booking-section-head .button,
.agoda-admin-wrap .app-card > header .button,
.agoda-admin-wrap .card-head .button,
.agoda-admin-wrap .panel-head .button,
.agoda-admin-wrap .form-head .button {
  background: #f59e0b !important;
  color: #111827 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.18) !important;
}

.agoda-admin-wrap .booking-section-head .button.secondary,
.agoda-admin-wrap .app-card > header .button.secondary,
.agoda-admin-wrap .card-head .button.secondary,
.agoda-admin-wrap .panel-head .button.secondary,
.agoda-admin-wrap .form-head .button.secondary {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.34) !important;
  box-shadow: none !important;
}
