.hp-page > [data-hotel-operations-legacy] {
  display: none !important;
}

.hotel-operations-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #fff;
  color: #273240;
}

.hotel-operations-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hotel-operations-panel__title {
  margin: 0;
  color: #1e2935;
  font-size: 16px;
  letter-spacing: 0;
}

.hotel-operations-panel__subtitle {
  margin: 5px 0 0;
  color: #687482;
  font-size: 12px;
  letter-spacing: 0;
}

.hotel-operations-period {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
}

.hotel-operations-period button {
  min-width: 76px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid #cfd8e3;
  background: #fff;
  color: #465363;
  font: inherit;
  cursor: pointer;
}

.hotel-operations-period button:last-child { border-right: 0; }
.hotel-operations-period button.active { background: #235c47; color: #fff; }

.hotel-operations-table-wrap { overflow-x: auto; }

.hotel-operations-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
}

.hotel-operations-table th,
.hotel-operations-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e8edf2;
  font-size: 13px;
  text-align: right;
}

.hotel-operations-table th {
  color: #596777;
  font-size: 12px;
  font-weight: 600;
}

.hotel-operations-table th:first-child,
.hotel-operations-table td:first-child {
  width: 280px;
  text-align: left;
}

.hotel-operations-product { vertical-align: middle; }

.hotel-operations-product__content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hotel-operations-product__media {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 60px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #e1e7ec;
  border-radius: 4px;
  background: #f7f9fa;
}

.hotel-operations-product__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.hotel-operations-product__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: #596777;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.hotel-operations-product__image[hidden],
.hotel-operations-product__placeholder[hidden] { display: none; }

.hotel-operations-product__name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.hotel-operations-empty { padding: 28px !important; color: #687482; text-align: center !important; }

.hotel-operations-balances {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #e3e8ee;
  border-radius: 8px;
}

.hotel-operations-balance {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid #e8edf2;
}

.hotel-operations-balance:last-child { border-right: 0; }
.hotel-operations-balance span { display: block; color: #687482; font-size: 12px; }
.hotel-operations-balance strong { display: block; margin-top: 7px; color: #1e2935; font-size: 20px; }

.hotel-operations-panel--error {
  flex-direction: row;
  color: #a33a3a;
}

.hotel-operations-panel--error span { color: #687482; }

@media (max-width: 900px) {
  .hotel-operations-balances { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotel-operations-balance { border-bottom: 1px solid #e8edf2; }
  .hotel-operations-panel__header { align-items: stretch; flex-direction: column; }
  .hotel-operations-period { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hotel-operations-panel { padding: 14px; }
  .hotel-operations-balances { grid-template-columns: 1fr; }
  .hotel-operations-balance { border-right: 0; }
}

.hotel-shell {
  --hotel-surface: #fff;
  --hotel-page: #eef1ef;
  --hotel-line: #d8dfdb;
  --hotel-text: #2b3530;
  --hotel-muted: #68736e;
  --hotel-accent: #9a741e;
  background: var(--hotel-page) !important;
  color: var(--hotel-text);
}

.hotel-shell .sidebar { background: #151a18 !important; }
.hotel-shell .brand-card,
.hotel-shell .nav-item,
.hotel-shell .logout-button { border-radius: 8px !important; }
.hotel-shell .top-header { background: #fff !important; border-bottom-color: var(--hotel-line) !important; }
.hotel-shell .hotel-content { padding: 18px 22px 28px; }
.hotel-shell .hp-card,
.hotel-shell .section-card,
.hotel-shell .task-card { border-radius: 8px !important; box-shadow: none !important; }
.hotel-shell .hp-empty { min-height: 96px; padding: 20px; }
.hotel-operations-empty { padding: 18px !important; }

@media (max-width: 560px) {
  .hotel-shell .hotel-content { padding: 12px; }
  .hotel-shell .task-card { padding: 14px !important; }
}

/* Hotel supply layout inherits the current palette. */
.hotel-shell .hotel-supply-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hotel-shell .hotel-supply-page .card-list,
.hotel-shell .hotel-supply-page .product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}

.hotel-shell .hotel-supply-page .card,
.hotel-shell .hotel-supply-page .product-card {
  padding: 16px;
  border: 1px solid var(--hotel-line);
  border-radius: 8px;
  background: var(--hotel-surface);
}

.hotel-shell .hotel-supply-page .card-top,
.hotel-shell .hotel-supply-page .product-card,
.hotel-shell .hotel-supply-page .submit-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hotel-shell .hotel-supply-page .card-title { font-size: 15px; font-weight: 700; }
.hotel-shell .hotel-supply-page .card-sub,
.hotel-shell .hotel-supply-page .card-meta { margin-top: 6px; color: var(--hotel-muted); font-size: 13px; }
.hotel-shell .hotel-supply-page .submit-bar {
  position: sticky;
  bottom: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--hotel-line);
  border-radius: 8px;
  background: var(--hotel-surface);
}

@media (max-width: 560px) {
  .hotel-shell .hotel-supply-page .product-card,
  .hotel-shell .hotel-supply-page .submit-bar { align-items: stretch; flex-direction: column; }
}

.hotel-shell .payout-account-card,
.hotel-shell .payout-account-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.hotel-shell .payout-account-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.hotel-shell .payout-account-bank { color: var(--hotel-text); font-size: 15px; }
.hotel-shell .payout-account-meta,
.hotel-shell .payout-account-empty > span { color: var(--hotel-muted); font-size: 13px; }

.hotel-shell .payout-account-dialog-backdrop {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 20, 0.52);
}

.hotel-shell .payout-account-dialog {
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 20, 0.22);
}

.hotel-shell .payout-account-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--hotel-line);
}

.hotel-shell .payout-account-dialog__header h3 { margin: 0; font-size: 18px; letter-spacing: 0; }
.hotel-shell .payout-account-dialog__header p { margin: 6px 0 0; color: var(--hotel-muted); font-size: 13px; }
.hotel-shell .payout-account-dialog__close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hotel-muted);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.hotel-shell .payout-account-dialog__body { padding: 8px 20px 4px; }
.hotel-shell .payout-account-dialog__hint { margin: 10px 0 4px; color: var(--hotel-muted); font-size: 12px; }
.hotel-shell .payout-account-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px 20px;
}

@media (max-width: 560px) {
  .hotel-shell .payout-account-card,
  .hotel-shell .payout-account-empty { align-items: stretch; flex-direction: column; }
  .hotel-shell .payout-account-card .van-button,
  .hotel-shell .payout-account-empty .van-button { width: 100%; }
  .hotel-shell .payout-account-dialog-backdrop { align-items: end; padding: 0; }
  .hotel-shell .payout-account-dialog { width: 100%; max-height: 88vh; border-radius: 8px 8px 0 0; }
  .hotel-shell .payout-account-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; }
}


.hotel-shell .order-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 12px;
  color: var(--hotel-muted);
  font-size: 13px;
}

.hotel-shell .order-body-details { margin-top: 12px; }
.hotel-shell .order-card-actions { margin-top: 14px; }
.hotel-shell .order-sensitive-backdrop {
  position: fixed;
  z-index: 2300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 20, 0.56);
}
.hotel-shell .order-sensitive-dialog {
  width: min(500px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 20, 0.24);
}
.hotel-shell .order-sensitive-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.hotel-shell .order-sensitive-dialog__header h2 { margin: 0; font-size: 18px; letter-spacing: 0; }
.hotel-shell .order-sensitive-dialog__header p { margin: 6px 0 0; color: var(--hotel-muted); font-size: 13px; }
.hotel-shell .order-sensitive-dialog__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hotel-line);
  border-radius: 6px;
  background: #fff;
  color: var(--hotel-text);
  font-size: 24px;
  cursor: pointer;
}
.hotel-shell .order-sensitive-field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--hotel-text);
  font-size: 13px;
}
.hotel-shell .order-sensitive-field input,
.hotel-shell .order-sensitive-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--hotel-line);
  border-radius: 6px;
  background: #fff;
  color: var(--hotel-text);
  font: inherit;
  letter-spacing: 0;
}
.hotel-shell .order-sensitive-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.hotel-shell .hp-scroll-hint {
  display: none;
  margin: 0 0 8px;
  color: var(--hotel-muted);
  font-size: 12px;
}
.hotel-shell .trend-data-details { margin-top: 10px; font-size: 12px; }
.hotel-shell .trend-data-details summary { color: var(--hotel-primary); cursor: pointer; }
.hotel-shell .trend-data-table {
  max-height: 180px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--hotel-line);
  border-radius: 6px;
  background: var(--hotel-bg-soft);
  color: var(--hotel-text);
  font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
}
.hotel-shell .analytics-compare { margin-top: 16px; }
.hotel-shell .analytics-compare h2 { margin: 0 0 6px; font-size: 16px; letter-spacing: 0; }
.hotel-shell .analytics-compare > p { margin: 0; color: var(--hotel-muted); font-size: 12px; }
.hotel-shell .analytics-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.hotel-shell .analytics-compare-grid article {
  padding: 14px;
  border: 1px solid var(--hotel-line);
  border-radius: 6px;
  background: var(--hotel-bg-soft);
}
.hotel-shell .analytics-compare-grid h3 { margin: 0 0 6px; font-size: 14px; letter-spacing: 0; }
.hotel-shell .analytics-compare-grid p { margin: 0; color: var(--hotel-muted); font-size: 12px; line-height: 1.6; }
.hotel-shell .hp-field-error { color: #b42318; font-size: 12px; }

@media (max-width: 767px) {
  .hotel-shell .order-summary,
  .hotel-shell .order-body-details,
  .hotel-shell .analytics-compare-grid { grid-template-columns: 1fr; }
  .hotel-shell .order-sensitive-backdrop { padding: 12px; }
  .hotel-shell .order-sensitive-dialog { max-height: calc(100vh - 24px); padding: 16px; }
  .hotel-shell .hp-scroll-hint { display: block; }
}


.hotel-shell .password-visibility-toggle {
  min-width: 44px;
  min-height: 44px;
  margin: -10px -8px -10px 0;
  padding: 0 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--hotel-primary);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0;
  cursor: pointer;
}
.hotel-shell .password-visibility-toggle:hover { background: var(--hotel-bg-soft); }
.hotel-shell .password-visibility-toggle:focus-visible {
  outline: 2px solid var(--hotel-primary);
  outline-offset: 2px;
}
