@charset "UTF-8";

/* Flat B2B ticket workspace. */
:root {
  --green: #263746;
  --green-dark: #172532;
  --acid: #e96843;
  --paper: #f4f6f8;
  --soft: #f6f8fa;
  --muted: #71808c;
  --line: #dce2e7;
  --ui-bg: #f4f6f8;
  --ui-surface: #ffffff;
  --ui-ink: #172532;
  --ui-text: #3f4d59;
  --ui-muted: #71808c;
  --ui-line: #dce2e7;
  --ui-line-strong: #c7d0d7;
  --ui-primary: #263746;
  --ui-primary-hover: #172532;
  --ui-accent: #e96843;
  --ui-accent-hover: #d75835;
  --ui-accent-soft: #fff0eb;
  --ui-blue: #3976a8;
  --ui-blue-soft: #edf5fb;
  --ui-success: #238462;
  --ui-success-soft: #eaf7f1;
  --ui-warning: #ad6b18;
  --ui-warning-soft: #fff5df;
  --ui-danger: #c24c4c;
  --ui-danger-soft: #fff0ef;
  --ui-radius: 10px;
  --ui-radius-lg: 14px;
  --ui-shadow: 0 5px 18px rgba(25, 43, 56, 0.055);
  --ui-font-sans: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --ui-font-number: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

html {
  min-width: 320px;
  background: var(--ui-bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
.admin-page {
  min-height: 100vh;
  margin: 0;
  color: var(--ui-text);
  background: var(--ui-bg);
  font-family: var(--ui-font-sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none !important;
}

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

.hidden {
  display: none !important;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 66px;
  margin: 0;
  padding: 9px max(20px, calc((100vw - 1580px) / 2));
  border: 0;
  border-bottom: 1px solid var(--ui-line);
  border-radius: 0;
  color: var(--ui-ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ui-ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--ui-accent);
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ui-ink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand small {
  margin-top: 1px;
  color: var(--ui-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.account-label {
  max-width: 200px;
  overflow: hidden;
  color: var(--ui-muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credit-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  color: var(--ui-muted);
  background: #f8fafb;
}

.credit-pill span {
  font-size: 0.7rem;
}

.credit-pill strong {
  color: var(--ui-ink);
  font-family: var(--ui-font-number);
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Buttons */
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover:not(:disabled) {
  transform: none;
}

.button.primary {
  color: #fff;
  background: var(--ui-accent);
  box-shadow: none;
}

.button.primary:hover:not(:disabled) {
  background: var(--ui-accent-hover);
  box-shadow: none;
}

.button.secondary {
  border-color: var(--ui-primary);
  color: var(--ui-primary);
  background: #fff;
  box-shadow: none;
}

.button.secondary:hover:not(:disabled) {
  border-color: var(--ui-primary-hover);
  color: #fff;
  background: var(--ui-primary-hover);
}

.button.ghost,
.text-button {
  border-color: var(--ui-line);
  color: var(--ui-text);
  background: #fff;
  box-shadow: none;
}

.button.ghost:hover:not(:disabled),
.text-button:hover:not(:disabled) {
  border-color: var(--ui-line-strong);
  color: var(--ui-ink);
  background: #f7f9fa;
}

.button.small {
  min-height: 32px;
  padding: 6px 11px;
  font-size: 0.78rem;
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.button:focus-visible,
.icon-button:focus-visible,
.feature-item:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[contenteditable="true"]:focus-visible {
  outline: 3px solid rgba(233, 104, 67, 0.22);
  outline-offset: 2px;
}

.danger-button,
.order-refund-button {
  border-color: #efc4c1 !important;
  color: var(--ui-danger) !important;
  background: #fff !important;
}

/* Workspace */
.page-shell,
.admin-shell {
  width: min(1580px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 22px 0 54px;
}

.hero {
  min-height: auto;
  margin: 0;
  padding: 0 0 17px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero h1 {
  margin: 0;
  color: var(--ui-ink);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.disclaimer {
  margin: 5px 0 0;
  color: var(--ui-muted);
  font-size: 0.78rem;
}

.feature-layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.feature-sidebar {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  color: var(--ui-text);
  background: #fff;
  box-shadow: none;
}

.sidebar-title {
  margin: 2px 9px 8px;
  color: #929da6;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.feature-item {
  position: relative;
  min-height: 40px;
  padding: 8px 10px 8px 14px;
  border: 0;
  border-radius: 6px;
  color: #5c6a75;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.feature-item::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: transparent;
  content: "";
}

.feature-item:hover {
  color: var(--ui-ink);
  background: #f6f8fa;
}

.feature-item.active {
  color: var(--ui-ink);
  background: var(--ui-accent-soft);
  box-shadow: none;
}

.feature-item.active::before {
  background: var(--ui-accent);
}

.feature-content {
  min-width: 0;
}

.tool-panel,
.feature-panel,
.admin-card,
.ticket-results-panel {
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-lg);
  color: var(--ui-text);
  background: #fff;
  box-shadow: none;
}

.tool-panel,
.admin-card,
.ticket-results-panel {
  padding: clamp(18px, 2vw, 26px);
}

.feature-panel:not(.hidden) {
  animation: none;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.panel-heading h2 {
  margin: 0;
  color: var(--ui-ink);
  font-size: clamp(1.18rem, 1.5vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.panel-heading p {
  max-width: 430px;
  margin: 3px 0 0;
  color: var(--ui-muted);
  font-size: 0.76rem;
  text-align: right;
}

.step-number {
  display: none;
}

/* Forms */
.field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ui-text);
  font-size: 0.78rem;
  font-weight: 700;
}

input,
select,
textarea,
.rich-editor {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--ui-line-strong);
  border-radius: 7px;
  color: var(--ui-ink);
  background: #fff;
  box-shadow: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input,
select {
  min-height: 42px;
  padding: 8px 11px;
}

textarea {
  min-height: 128px;
  padding: 11px 12px;
  line-height: 1.65;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #aeb9c1;
}

input:focus,
select:focus,
textarea:focus,
.rich-editor:focus {
  border-color: var(--ui-accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(233, 104, 67, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #9ca6ad;
  font-weight: 400;
}

.input-grid,
.default-date-row,
.admin-inline-fields {
  gap: 12px;
}

/* Ticket type judgement */
.hero-note.age-rules,
#ticket-feature > #age-rules {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  min-height: 48px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  color: var(--ui-muted);
  background: #f8fafb;
  box-shadow: none;
  gap: 7px;
}

.age-rules strong {
  margin-right: 14px !important;
  color: var(--ui-ink);
  font-size: 0.78rem;
  white-space: nowrap;
}

.age-rules span {
  width: auto !important;
  margin: 0 !important;
  padding: 3px 8px;
  border: 1px solid #e2e7eb;
  border-radius: 5px;
  color: #586671;
  background: #fff;
  font-size: 0.7rem;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  #ticket-feature {
    display: grid;
    grid-template-areas:
      "rules rules"
      "parser manual"
      "results results";
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 14px;
    align-items: stretch;
  }

  #ticket-feature > #age-rules { grid-area: rules; }
  #ticket-feature > #ticket-panel { grid-area: parser; }
  #ticket-feature > #manual-ticket-panel { grid-area: manual; }
  #ticket-feature > #ticket-empty,
  #ticket-feature > #ticket-results { grid-area: results; }

  #ticket-feature > #ticket-panel,
  #ticket-feature > #manual-ticket-panel {
    width: 100%;
    height: 100%;
    min-height: 292px;
    margin: 0;
  }
}

.manual-ticket-result {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #b9ddcf;
  border-radius: 7px;
  color: var(--ui-success);
  background: var(--ui-success-soft);
}

.empty-state,
.permission-card {
  min-height: 92px;
  border: 1px dashed #bbc5cc;
  border-radius: 8px;
  color: var(--ui-muted);
  background: #fafbfc;
}

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

.lock-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--ui-blue);
  background: var(--ui-blue-soft);
}

.result-toolbar {
  padding-bottom: 10px;
  color: var(--ui-ink);
}

.clear-strip {
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid #efc8c5;
  border-radius: 7px;
  color: var(--ui-danger);
  background: #fff;
  font-weight: 700;
}

/* Tables */
.table-wrap {
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ui-text);
  background: #fff;
  font-size: 0.8rem;
}

th {
  padding: 10px 11px;
  border-bottom: 1px solid var(--ui-line);
  color: #56636e;
  background: #f5f7f8;
  font-size: 0.72rem;
  font-weight: 750;
  text-align: left;
}

td {
  padding: 11px;
  border-bottom: 1px solid #e8ecef;
  color: var(--ui-text);
  vertical-align: middle;
}

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

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

.order-number-cell,
.order-created-cell,
.order-payment-cell strong,
.amount-plus,
.amount-minus {
  font-family: var(--ui-font-number);
  font-variant-numeric: tabular-nums;
}

.order-number-cell,
.order-payment-cell strong {
  color: var(--ui-ink);
  font-weight: 800;
}

.order-payment-cell span,
.order-content-cell span {
  color: var(--ui-muted);
  font-size: 0.7rem;
}

.order-status-cell {
  color: var(--ui-primary);
  font-weight: 800;
  white-space: nowrap;
}

.amount-plus { color: var(--ui-success) !important; font-weight: 800; }
.amount-minus { color: var(--ui-danger) !important; font-weight: 800; }

.order-table-wrap {
  overflow-x: hidden;
}

.order-table {
  table-layout: fixed;
}

.order-table th:nth-child(1) { width: 16%; }
.order-table th:nth-child(2) { width: 13%; }
.order-table th:nth-child(3) { width: 30%; }
.order-table th:nth-child(4) { width: 11%; }
.order-table th:nth-child(5) { width: 16%; }
.order-table th:nth-child(6) { width: 14%; }

.order-actions-cell,
.admin-order-actions {
  white-space: nowrap;
}

.order-pagination,
.user-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  color: var(--ui-muted);
  font-size: 0.76rem;
}

/* Product cards */
.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.booking-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.booking-card:hover {
  border-color: #aebac2;
  transform: none;
  box-shadow: var(--ui-shadow);
}

.booking-image {
  position: relative;
  overflow: hidden;
  background: #e9edf0;
  aspect-ratio: 16 / 9;
}

.booking-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.booking-card:hover .booking-photo {
  transform: scale(1.02);
}

.booking-image::after {
  display: none;
}

.booking-title {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  color: var(--ui-ink);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 2px 8px rgba(20, 35, 46, 0.12);
  font-size: 0.69rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.booking-detail {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.booking-detail h3 {
  margin: 0;
  color: var(--ui-ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.booking-detail > p {
  display: none;
}

.booking-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 23px;
}

.booking-rules span {
  padding: 3px 7px;
  border-radius: 4px;
  color: #5f6c76;
  background: #f1f4f6;
  font-size: 0.66rem;
  font-weight: 650;
}

.booking-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #eaedef;
}

.booking-card-footer > strong {
  color: var(--ui-accent-hover);
  font-family: var(--ui-font-number);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.booking-actions {
  display: flex;
  gap: 6px;
}

.booking-mini {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 0.72rem;
}

.prototype-note,
.calendar-footnote {
  margin-top: 14px;
  padding: 9px 11px;
  border: 0;
  border-radius: 6px;
  color: var(--ui-muted);
  background: #f5f7f8;
  font-size: 0.7rem;
}

/* Calendar, booking and details */
.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 20px;
  background: rgba(20, 32, 42, 0.52);
  backdrop-filter: blur(5px);
}

.modal-card {
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(19, 33, 44, 0.22);
}

.modal-close,
.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-width: 38px;
  place-items: center;
  border: 1px solid var(--ui-line);
  border-radius: 7px;
  color: var(--ui-text);
  background: #fff;
  cursor: pointer;
}

.auth-card {
  width: min(440px, calc(100vw - 32px));
  padding: 24px;
}

.auth-tabs {
  padding: 3px;
  border-radius: 8px;
  background: #f1f4f6;
}

.auth-tabs button.active {
  color: #fff;
  background: var(--ui-primary);
  box-shadow: none;
}

.price-calendar-card {
  width: min(880px, calc(100vw - 32px));
}

.calendar-weekdays {
  color: var(--ui-muted);
  background: #f5f7f8;
}

.price-day {
  min-height: 78px;
  border-color: #e1e6e9;
  border-radius: 6px;
  background: #fff;
}

.price-day.available:hover,
.price-day.is-selected {
  border-color: var(--ui-accent);
  background: var(--ui-accent-soft);
  box-shadow: inset 0 0 0 1px var(--ui-accent);
}

.price-day.lowest-price {
  border-color: #8ac6b0;
  background: var(--ui-success-soft);
}

.price-day.highest-price {
  border-color: #e8b079;
  background: var(--ui-warning-soft);
}

.date-number,
.price-day strong {
  color: var(--ui-ink);
  font-family: var(--ui-font-number);
  font-variant-numeric: tabular-nums;
}

/* Compact reservation workspace: traveler count comes from the traveler rows. */
#reservation-feature.reservation-page {
  padding: 24px;
}

#reservation-feature .booking-reservation {
  display: grid;
  gap: 10px;
}

#reservation-feature .reservation-back-button {
  justify-self: start;
  min-height: 40px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  color: #287554;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-weight: 750;
}

#reservation-feature .reservation-back-button:hover:not(:disabled) {
  border: 0;
  color: #0f563b;
  background: transparent;
  box-shadow: none;
}

#reservation-feature .reservation-top-grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

#reservation-feature .reservation-primary-column {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(83, 126, 103, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 28px rgba(42, 89, 63, 0.07);
}

#reservation-feature .reservation-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(83, 126, 103, 0.14);
  background: rgba(255, 255, 255, 0.44);
}

.reservation-heading-row .panel-heading {
  flex: 1;
  margin: 0;
}

#reservation-feature .reservation-heading-row .reservation-date-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 300px;
  padding: 0;
}

#reservation-feature .reservation-heading-row .reservation-date-field > span {
  margin: 0;
  color: #587064;
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

#reservation-feature .reservation-date-value {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

#reservation-feature .reservation-date-value input {
  width: 180px;
  min-height: 44px;
  border-color: rgba(23, 107, 72, 0.34);
  color: #123426;
  background: #f0f8f3;
  font-family: var(--ui-font-number);
  font-size: 0.96rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#reservation-feature .reservation-weekday {
  color: #176b48;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

#reservation-feature .reservation-basic-info {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 0.36fr);
  align-items: stretch;
  gap: 0;
  min-height: 148px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#reservation-feature .reservation-summary {
  display: grid;
  align-content: center;
  padding: 18px 20px;
  border: 0;
  border-right: 1px solid rgba(83, 126, 103, 0.14);
  background: transparent;
  box-shadow: none;
}

#reservation-feature .reservation-summary h3 {
  margin: 5px 0 3px;
}

#reservation-feature .reservation-summary p {
  display: none;
}

.reservation-display-field,
#reservation-feature .reservation-date-field {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 18px 20px;
}

.reservation-display-field {
  border-right: 1px solid rgba(83, 126, 103, 0.14);
}

#reservation-feature .reservation-price-field {
  border-right: 0;
}

#reservation-feature .reservation-traveler input.is-invalid {
  border-color: #d34d4d;
  background: #fff4f3;
  box-shadow: 0 0 0 3px rgba(211, 77, 77, 0.1);
}

.reservation-display-field > span {
  color: #6b7c73;
  font-size: 0.8rem;
  font-weight: 800;
}

.reservation-display-field > strong {
  color: #176b48;
  font-size: 1.22rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

#reservation-feature .reservation-date-field input {
  font-weight: 800;
}

#reservation-feature .reservation-paste-field {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px;
}

#reservation-feature .reservation-paste-field textarea {
  flex: 1;
  min-height: 142px;
  resize: none;
}

.reservation-travelers-heading {
  margin: 0;
  color: #6c7d74;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

#reservation-feature #reservation-availability {
  margin: 0;
}

#reservation-feature #reservation-availability:empty {
  display: none;
}

.reservation-travelers-heading strong {
  margin-left: 3px;
  color: #176b48;
  font-size: 0.86rem;
}

.reservation-bundle-quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.reservation-bundle-quantity-control select {
  min-width: 150px;
  height: 40px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(27, 112, 78, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #174b38;
  font: inherit;
  font-weight: 700;
}

#reservation-feature .reservation-travelers {
  gap: 8px;
}

#reservation-feature .reservation-traveler {
  padding: 14px 16px;
}

#reservation-feature .reservation-traveler.ticket-type-mismatch {
  border-color: rgba(205, 55, 55, .58);
  background: linear-gradient(135deg, rgba(255, 235, 235, .94), rgba(255, 247, 247, .88));
  box-shadow: inset 4px 0 0 rgba(205, 55, 55, .78);
}

#reservation-feature .reservation-traveler.ticket-type-mismatch .traveler-ticket-type {
  border-color: rgba(205, 55, 55, .38);
  color: #b52f2f;
  background: rgba(255, 225, 225, .9);
}

#reservation-feature .reservation-traveler-fields {
  display: grid;
  grid-template-columns: minmax(150px, 1.05fr) minmax(230px, 1.45fr) minmax(105px, 0.48fr) minmax(110px, 0.52fr) auto;
  align-items: end;
  gap: 12px;
}

.reservation-remove-traveler {
  min-width: 58px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(194, 66, 66, .28);
  border-radius: 11px;
  color: #a93434;
  background: rgba(255, 245, 245, .84);
  font-weight: 800;
  cursor: pointer;
}

.reservation-remove-traveler:hover {
  border-color: rgba(194, 66, 66, .55);
  background: rgba(255, 232, 232, .92);
}

.traveler-age[readonly] {
  color: #1e6146;
  background: rgba(232, 247, 238, 0.84);
}

.traveler-ticket-type {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(52, 132, 91, 0.2);
  border-radius: 11px;
  color: #166341;
  background: rgba(236, 248, 240, 0.78);
  font-weight: 800;
  white-space: nowrap;
}

.reservation-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 2px;
}

#reservation-feature .reservation-submit-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

#reservation-feature .reservation-submit-group .reservation-total {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#reservation-feature .reservation-submit-group .reservation-total span {
  color: #68796f;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

#reservation-feature #reservation-total {
  color: #176b48;
  font-size: 1.38rem;
  line-height: 1;
  white-space: nowrap;
}

.reservation-add-traveler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 180px;
  min-height: 42px;
  border: 1px dashed rgba(35, 124, 79, 0.48);
  border-radius: 12px;
  color: #176b48;
  background: rgba(239, 250, 243, 0.6);
  font-weight: 800;
  cursor: pointer;
}

.reservation-add-traveler:hover {
  border-style: solid;
  background: rgba(225, 246, 233, 0.9);
}

@media (max-width: 1050px) {
  #reservation-feature .reservation-top-grid {
    grid-template-columns: 1fr;
  }

  #reservation-feature .reservation-traveler-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #reservation-feature.reservation-page {
    padding: 16px;
  }

  .reservation-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .reservation-heading-actions {
    justify-content: space-between;
  }

  #reservation-feature .reservation-heading-row .reservation-date-field {
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
  }

  .reservation-heading-row .reservation-total {
    justify-content: space-between;
  }

  #reservation-feature .reservation-basic-info,
  #reservation-feature .reservation-traveler-fields {
    grid-template-columns: 1fr;
  }

  .reservation-add-traveler {
    width: 100%;
  }

  .reservation-footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  #reservation-feature .reservation-submit-group {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  #reservation-feature .reservation-submit-group .reservation-total {
    justify-content: center;
  }

  .reservation-footer-actions .button {
    width: 100%;
  }
}

.reservation-page {
  display: grid;
  gap: 14px;
}

.reservation-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  gap: 14px;
  align-items: stretch;
}

.reservation-basic-info,
.reservation-paste-field,
.reservation-summary,
.reservation-traveler {
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.reservation-basic-info,
.reservation-paste-field {
  padding: 18px;
}

.reservation-ticket-name,
#reservation-ticket-name {
  color: var(--ui-ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.reservation-paste-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.reservation-paste-field textarea {
  min-height: 170px;
  white-space: pre;
}

.reservation-price-row,
.reservation-summary {
  border-color: #d8e3eb;
  background: #f7fafc;
}

.reservation-total,
#reservation-total {
  color: var(--ui-accent-hover);
  font-family: var(--ui-font-number);
  font-variant-numeric: tabular-nums;
}

.reservation-travelers {
  display: grid;
  gap: 10px;
}

.reservation-traveler {
  padding: 15px;
}

.reservation-traveler-fields {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 0.75fr) minmax(230px, 1.25fr) minmax(150px, 0.8fr);
  gap: 10px;
  align-items: end;
}

.reservation-actions,
.order-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.order-filters,
.statement-filters,
.admin-order-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: #f8fafb;
}

.order-filter-actions,
.statement-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.statement-summary,
.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.statement-summary article,
.admin-dashboard article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.statement-summary article::before,
.admin-dashboard article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--ui-accent);
  content: "";
}

.order-confirm-card,
.order-detail-card {
  width: min(880px, calc(100vw - 32px));
}

.order-confirm-product {
  padding: 10px 12px;
  border: 0;
  border-left: 3px solid var(--ui-accent);
  border-radius: 4px;
  color: var(--ui-ink);
  background: #f7f9fa;
  font-weight: 800;
}

.order-confirm-summary,
.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.order-confirm-summary > *,
.order-detail-grid > *,
.order-confirm-traveler,
.order-detail-section {
  border: 1px solid var(--ui-line);
  border-radius: 8px;
  background: #fff;
}

.order-detail-statusbar {
  border: 0;
  border-left: 4px solid var(--ui-accent);
  border-radius: 8px;
  color: #fff;
  background: var(--ui-primary);
}

.order-detail-section-heading {
  border-bottom: 1px solid var(--ui-line);
}

.order-detail-refund {
  color: var(--ui-warning);
  background: var(--ui-warning-soft);
}

/* Toast */
.toast {
  position: fixed !important;
  z-index: 200 !important;
  top: 78px !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  min-width: min(320px, calc(100vw - 28px));
  max-width: min(580px, calc(100vw - 28px));
  padding: 11px 15px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ui-primary);
  box-shadow: 0 12px 38px rgba(20, 33, 43, 0.22);
  text-align: center;
  transform: translateX(-50%) !important;
}

.toast.success { background: var(--ui-success); }
.toast.warning { background: var(--ui-warning); }
.toast.error { background: var(--ui-danger); }
.toast.info { background: var(--ui-blue); }

/* Admin */
.admin-shell {
  display: grid;
  gap: 14px;
}

.admin-page .site-header .account-actions a[href="/"] {
  display: none;
}

.admin-dashboard {
  margin: 0;
}

.admin-dashboard article {
  min-height: 98px;
  padding: 16px 18px;
}

.admin-dashboard article span {
  color: var(--ui-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-dashboard article strong {
  display: block;
  margin-top: 6px;
  color: var(--ui-ink);
  font-family: var(--ui-font-number);
  font-size: 1.65rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.admin-card {
  margin: 0;
}

.admin-grid,
.admin-settings-grid,
.staff-management-grid,
.admin-product-layout {
  gap: 14px;
}

.admin-product-list-heading,
.admin-product-editor-heading,
.admin-calendar-heading,
.admin-list-toolbar {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ui-line);
}

.admin-product-list-heading > .admin-product-list-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-price-calendar-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 12px;
  color: var(--ui-muted);
  text-align: center;
}

.admin-product-list-heading strong,
.admin-product-editor-heading strong,
.admin-calendar-heading strong,
.staff-panel-title strong,
.admin-product-record-info > strong {
  color: var(--ui-ink);
}

.admin-product-list-heading b,
.admin-product-status.is-on,
.staff-password-state {
  color: var(--ui-success);
  background: var(--ui-success-soft);
}

.admin-category-manager {
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: rgba(244, 250, 246, .82);
}

.admin-category-manager-heading,
.admin-category-name-row,
.admin-category-inline,
.admin-category-actions {
  display: flex;
  align-items: center;
}

.admin-category-manager-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.admin-category-manager-heading > div {
  display: grid;
  gap: 3px;
}

.admin-category-manager-heading span {
  color: var(--ui-muted);
  font-size: .78rem;
}

.admin-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-category-record {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid rgba(52, 116, 78, .16);
  border-radius: 11px;
  background: rgba(255, 255, 255, .86);
}

.admin-category-record.is-draft {
  border-style: dashed;
  border-color: var(--ui-accent);
}

.admin-category-image {
  width: 188px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.admin-category-fields {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-category-name-row,
.admin-category-inline {
  display: grid;
  align-items: end;
  gap: 10px;
}

.admin-category-name-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-category-inline {
  grid-template-columns: 92px minmax(0, 1fr) auto;
}

.admin-category-inline .field {
  width: 92px;
}

.admin-category-inline .switch-row.compact {
  min-height: 44px;
  padding: 7px 9px;
}

.category-image-picker,
.admin-category-inline [data-category-save] {
  min-width: 88px;
  min-height: 44px;
}

.category-image-picker {
  cursor: pointer;
  text-align: center;
}

.admin-product-category-label {
  color: var(--ui-success);
  font-weight: 700;
}

.admin-product-list {
  gap: 14px;
}

.admin-product-group {
  padding: 12px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: rgba(244, 250, 246, .72);
}

.admin-product-group-heading,
.admin-product-group-title,
.admin-product-group-actions {
  display: flex;
  align-items: center;
}

.admin-product-group-heading {
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px 11px;
  border-bottom: 1px solid var(--ui-line);
}

.admin-product-group-title {
  min-width: 0;
  gap: 11px;
}

.admin-product-group-title > img {
  width: 58px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

.admin-product-group-title > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-product-group-title strong {
  color: var(--ui-ink);
  font-size: .94rem;
}

.admin-product-group-title span {
  color: var(--ui-muted);
  font-size: .73rem;
}

.admin-product-group-actions {
  flex: 0 0 auto;
  gap: 12px;
}

.admin-product-group-count {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ui-success);
  background: var(--ui-success-soft);
  font-size: .74rem;
}

.admin-product-group-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  border: 0;
  color: var(--ui-success);
  background: transparent;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-product-group-toggle i {
  width: 12px;
  font-style: normal;
  font-size: .9rem;
  line-height: 1;
}

.admin-product-group-toggle:hover,
.admin-product-group-toggle:focus-visible {
  color: var(--ui-ink);
}

.admin-product-group-toggle:focus-visible {
  border-radius: 7px;
  outline: 2px solid var(--ui-accent);
  outline-offset: 2px;
}

.admin-product-group-items {
  display: grid;
  gap: 8px;
  padding-top: 11px;
}

.admin-product-group.is-collapsed .admin-product-group-heading {
  padding-bottom: 0;
  border-bottom: 0;
}

.admin-product-group.is-collapsed .admin-product-group-items {
  display: none;
}

.admin-product-group-empty {
  padding: 22px 14px;
  border: 1px dashed var(--ui-line-strong);
  border-radius: 9px;
  color: var(--ui-muted);
  background: rgba(255, 255, 255, .58);
  text-align: center;
}

.admin-product-status.is-off {
  color: var(--ui-warning);
  background: var(--ui-warning-soft);
}

.admin-product-record {
  grid-template-columns: 38px 128px minmax(230px, 1fr) auto auto auto;
  gap: 14px;
  padding: 11px 13px;
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.admin-product-list-toggle {
  min-height: 42px;
  padding: 6px 9px 6px 11px;
  gap: 10px;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
}

.admin-product-list-toggle span {
  min-width: 42px;
  color: var(--ui-muted);
  font-size: .76rem;
  font-weight: 850;
  text-align: center;
}

.admin-product-list-toggle.is-on {
  border-color: rgba(35, 132, 98, .22);
  background: var(--ui-success-soft);
}

.admin-product-list-toggle.is-on span {
  color: var(--ui-success);
}

.admin-product-list-toggle.is-off {
  border-color: rgba(173, 107, 24, .2);
  background: var(--ui-warning-soft);
}

.admin-product-list-toggle.is-off span {
  color: var(--ui-warning);
}

.admin-product-list-toggle > input[type="checkbox"]:disabled {
  cursor: progress;
  opacity: .6;
}

.admin-product-delete-slot {
  display: flex;
  justify-content: flex-end;
  min-width: 68px;
}

.admin-product-delete {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(190, 52, 52, 0.24);
  border-radius: 14px;
  background: rgba(255, 246, 246, 0.88);
  color: #b42318;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-product-delete:hover,
.admin-product-delete.is-armed {
  border-color: #c9362b;
  background: #c9362b;
  color: #fff;
}

.admin-product-delete:disabled {
  cursor: wait;
  opacity: 0.62;
}

.admin-product-record:hover {
  border-color: #b4bec5;
  transform: none;
  box-shadow: var(--ui-shadow);
}

.admin-product-record > img {
  width: 128px;
  border-radius: 7px;
}

.admin-product-index {
  color: #9ba5ac;
  font-family: var(--ui-font-number);
}

.admin-editor-panel,
.admin-setting-card,
.admin-ad-card,
.admin-contact-card,
.staff-create-panel,
.staff-list-panel,
.staff-record,
.credit-record-section {
  border: 1px solid var(--ui-line);
  border-radius: 9px;
  background: #f8fafb;
  box-shadow: none;
}

.upload-box {
  border: 1px dashed #adb8c0;
  border-radius: 8px;
  background: #fff;
}

.upload-box:hover {
  border-color: var(--ui-accent);
  background: #fffaf8;
}

.upload-preview {
  border-radius: 7px;
}

.switch-row {
  min-height: 50px;
  padding: 9px 11px;
  border: 1px solid var(--ui-line);
  border-radius: 7px;
  background: #fff;
}

.switch-row > input[type="checkbox"] {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  appearance: none;
  border: 1px solid #adb8c0;
  border-radius: 999px;
  background: #d9dfe3;
  box-shadow: none;
  cursor: pointer;
}

.switch-row > input[type="checkbox"]::before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 33, 43, 0.22);
  content: "";
  transition: transform 140ms ease;
}

.switch-row > input[type="checkbox"]:checked {
  border-color: var(--ui-accent);
  background: var(--ui-accent);
}

.switch-row > input[type="checkbox"]:checked::before {
  transform: translateX(18px);
}

.admin-price-day {
  min-height: 72px;
  border-color: var(--ui-line);
  border-radius: 6px;
  background: #fff;
}

.admin-price-day.has-price {
  border-color: #b9d8cd;
  background: var(--ui-success-soft);
}

.admin-price-day.is-sold-out {
  border-color: #efc8bd;
  background: #fff2ed;
}

.admin-price-day.is-selected {
  outline: 2px solid var(--ui-accent);
  outline-offset: 1px;
}

.selected-price-editor {
  border-color: var(--ui-line);
  background: #f6f8fa;
}

.product-price-batch-details summary {
  color: var(--ui-primary);
}

.admin-order-filters,
.statement-filters {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) minmax(250px, auto);
}

.admin-page .table-wrap {
  overflow-x: auto;
}

.admin-credit-cell {
  min-width: 0;
  text-align: center;
}

.admin-credit-cell .admin-credit-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.admin-credit-cell .admin-credit-content > strong {
  min-width: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.admin-credit-cell .credit-list-actions {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  gap: 6px;
  margin-left: 0;
  white-space: nowrap;
}

.admin-credit-cell .credit-list-actions .button {
  min-width: 48px;
  padding-inline: 9px;
}

.user-remaining-credit {
  min-width: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}

.admin-accounts-card .users-table {
  width: 100%;
  min-width: 1180px;
  table-layout: fixed;
}

.admin-accounts-card .users-table th,
.admin-accounts-card .users-table td {
  box-sizing: border-box;
  vertical-align: middle;
}

.admin-accounts-card .users-table th:nth-child(1) { width: 11%; }
.admin-accounts-card .users-table th:nth-child(2) { width: 20%; }
.admin-accounts-card .users-table th:nth-child(3) { width: 11%; }
.admin-accounts-card .users-table th:nth-child(4) { width: 11%; }
.admin-accounts-card .users-table th:nth-child(5) { width: 15%; text-align: center; }
.admin-accounts-card .users-table th:nth-child(6) { width: 13%; text-align: center; }
.admin-accounts-card .users-table th:nth-child(7) { width: 10%; text-align: center; }
.admin-accounts-card .users-table th:nth-child(8) { width: 9%; }

.admin-accounts-card .user-nickname-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.admin-accounts-card .user-nickname-editor:not(.is-editing) {
  display: inline-flex;
  width: auto;
  max-width: 100%;
}

.admin-accounts-card .user-nickname-value {
  min-width: 0;
  overflow: hidden;
  color: var(--ui-ink);
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-accounts-card .admin-credit-input {
  width: 100%;
  min-width: 0;
}

.credit-list-actions .credit-add-button,
.credit-list-actions .credit-reduce-button {
  min-width: 36px;
  padding-inline: 0;
}

.credit-account-summary {
  border-left: 3px solid var(--ui-accent);
  background: #f7f9fa;
}

.rich-toolbar {
  border-color: var(--ui-line);
  background: #f4f6f8;
}

.staff-permission-grid label {
  min-height: 42px;
  border-color: var(--ui-line);
  border-radius: 7px;
  background: #fff;
}

.staff-record-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ui-line);
}

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

  .reservation-top-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  }

  .reservation-traveler-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-filters,
  .statement-filters,
  .admin-order-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-filter-actions,
  .statement-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .page-shell,
  .admin-shell {
    width: calc(100% - 22px);
    padding-top: 16px;
  }

  .feature-layout {
    display: block;
  }

  .feature-sidebar {
    position: sticky;
    top: 68px;
    z-index: 45;
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
    padding: 5px;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(25, 43, 56, 0.06);
    scrollbar-width: none;
  }

  .feature-sidebar::-webkit-scrollbar { display: none; }
  .sidebar-title { display: none; }

  .feature-item {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 11px;
    white-space: nowrap;
  }

  .feature-item::before { display: none; }
  .feature-item.active { color: #fff; background: var(--ui-primary); }

  .admin-dashboard,
  .statement-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-product-layout,
  .admin-settings-grid,
  .staff-management-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
    padding: 8px 11px;
  }

  .brand-mark {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
  }

  .brand small,
  .account-label {
    display: none;
  }

  .credit-pill {
    min-height: 35px;
    padding: 5px 8px;
  }

  .credit-pill span { display: none; }

  .site-header .button {
    min-height: 35px;
    padding: 6px 9px;
  }

  .panel-heading {
    display: grid;
    gap: 5px;
  }

  .panel-heading p {
    text-align: left;
  }

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

  .booking-card {
    display: grid;
    grid-template-columns: minmax(170px, 40%) minmax(0, 1fr);
  }

  .booking-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .reservation-top-grid,
  .order-confirm-summary,
  .order-detail-grid {
    grid-template-columns: 1fr;
  }

  .order-filters,
  .statement-filters,
  .admin-order-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-product-record {
    grid-template-columns: 32px 90px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .admin-product-record > img { width: 90px; }
  .admin-product-status,
  .admin-product-list-toggle { grid-column: 3; grid-row: 2; justify-self: start; }
  .admin-product-delete-slot { grid-column: 3; grid-row: 3; justify-self: start; }
  .admin-product-record > .button { grid-column: 4; grid-row: 1 / span 2; }
}

@media (max-width: 540px) {
  body {
    font-size: 13px;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 7px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .account-actions {
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .account-actions .credit-pill,
  .account-actions .button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .page-shell,
  .admin-shell {
    width: calc(100% - 12px);
    padding-top: 11px;
  }

  .feature-sidebar {
    top: 105px;
  }

  .tool-panel,
  .admin-card,
  .ticket-results-panel {
    padding: 14px;
    border-radius: 10px;
  }

  .age-rules strong {
    flex: 1 1 100%;
  }

  .booking-card {
    display: block;
  }

  .booking-image {
    aspect-ratio: 16 / 9;
  }

  .reservation-basic-info,
  .reservation-paste-field,
  .reservation-traveler {
    padding: 13px;
  }

  .reservation-traveler-fields,
  .order-filters,
  .statement-filters,
  .admin-order-filters,
  .admin-dashboard,
  .statement-summary {
    grid-template-columns: 1fr;
  }

  .order-filter-actions,
  .statement-actions,
  .reservation-actions,
  .order-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .modal {
    align-items: flex-end;
    padding: 6px;
  }

  .modal-card,
  .auth-card,
  .price-calendar-card,
  .order-confirm-card,
  .order-detail-card {
    width: 100%;
    max-height: calc(100dvh - 12px);
    border-radius: 11px;
  }

  .admin-product-record {
    grid-template-columns: 74px minmax(0, 1fr) auto;
  }

  .admin-product-index { display: none; }
  .admin-product-record > img { width: 74px; }
  .admin-product-status,
  .admin-product-list-toggle { grid-column: 2; grid-row: 2; }
  .admin-product-delete-slot { grid-column: 2; grid-row: 3; }
  .admin-product-record > .button { grid-column: 3; grid-row: 1 / span 2; }

  .toast {
    top: 112px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Liquid glass refinement: restrained, light and content-first. */
:root {
  --green: #283542;
  --green-dark: #15202b;
  --acid: #0a7aff;
  --paper: #eef3f8;
  --soft: rgba(255, 255, 255, 0.52);
  --line: rgba(111, 132, 151, 0.2);
  --ui-bg: #eef3f8;
  --ui-surface: rgba(255, 255, 255, 0.68);
  --ui-ink: #17212b;
  --ui-text: #40505f;
  --ui-muted: #778694;
  --ui-line: rgba(111, 132, 151, 0.2);
  --ui-line-strong: rgba(91, 115, 136, 0.3);
  --ui-primary: #243240;
  --ui-primary-hover: #15212c;
  --ui-accent: #0a7aff;
  --ui-accent-hover: #0068dc;
  --ui-accent-soft: rgba(10, 122, 255, 0.1);
  --ui-blue: #0a7aff;
  --ui-blue-soft: rgba(10, 122, 255, 0.1);
  --ui-shadow: 0 18px 45px rgba(58, 76, 92, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

body,
.admin-page {
  position: relative;
  background:
    radial-gradient(circle at 8% 4%, rgba(156, 208, 255, 0.52), transparent 27rem),
    radial-gradient(circle at 92% 14%, rgba(195, 177, 255, 0.34), transparent 31rem),
    radial-gradient(circle at 64% 92%, rgba(153, 230, 218, 0.28), transparent 28rem),
    linear-gradient(145deg, #f8fafc 0%, #edf3f8 48%, #f5f7fa 100%);
  background-attachment: fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block !important;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.28), transparent 40%, rgba(255, 255, 255, 0.18));
  content: "";
  pointer-events: none;
}

.site-header {
  min-height: 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(248, 251, 254, 0.66);
  box-shadow: 0 8px 28px rgba(56, 75, 91, 0.07), inset 0 -1px 0 rgba(108, 132, 151, 0.12);
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
}

.brand-mark {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 11px;
  background: linear-gradient(145deg, #2d3c4b, #17232e);
  box-shadow: 0 7px 18px rgba(28, 43, 55, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.credit-pill {
  border-color: rgba(255, 255, 255, 0.82);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 6px 18px rgba(53, 73, 90, 0.07);
  backdrop-filter: blur(18px) saturate(130%);
}

.button,
button.button {
  min-height: 40px;
  border-radius: 10px;
}

.button.primary {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, #1687ff, #0873ec);
  box-shadow: 0 7px 18px rgba(10, 122, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #0878ed, #0068dc);
  box-shadow: 0 8px 22px rgba(10, 122, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button.secondary,
.button.ghost,
.text-button {
  border-color: rgba(255, 255, 255, 0.8);
  color: #2c4051;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 5px 15px rgba(55, 75, 92, 0.06);
  backdrop-filter: blur(14px) saturate(125%);
}

.button.secondary:hover:not(:disabled),
.button.ghost:hover:not(:disabled),
.text-button:hover:not(:disabled) {
  border-color: rgba(125, 150, 171, 0.26);
  color: var(--ui-ink);
  background: rgba(255, 255, 255, 0.78);
}

.page-shell,
.admin-shell {
  padding-top: 24px;
}

.hero {
  padding: 3px 4px 19px;
}

.hero h1 {
  color: #15212c;
  font-size: clamp(1.65rem, 2vw, 2.05rem);
  letter-spacing: -0.045em;
}

.feature-sidebar,
.tool-panel,
.feature-panel,
.admin-card,
.ticket-results-panel,
.statement-summary article,
.admin-dashboard article,
.booking-card,
.reservation-basic-info,
.reservation-paste-field,
.reservation-summary,
.reservation-traveler,
.order-confirm-summary > *,
.order-detail-grid > *,
.order-confirm-traveler,
.order-detail-section,
.admin-product-record,
.admin-editor-panel,
.admin-setting-card,
.admin-ad-card,
.admin-contact-card,
.staff-create-panel,
.staff-list-panel,
.staff-record,
.credit-record-section {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.61);
  box-shadow: var(--ui-shadow);
  backdrop-filter: blur(24px) saturate(138%);
  -webkit-backdrop-filter: blur(24px) saturate(138%);
}

.feature-sidebar {
  padding: 8px;
  border-radius: 14px;
}

.feature-item {
  border-radius: 9px;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.54);
}

.feature-item.active {
  color: #075ebd;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 7px 18px rgba(61, 82, 99, 0.08), inset 0 1px 0 #fff;
}

.feature-item.active::before {
  background: var(--ui-accent);
}

.tool-panel,
.feature-panel,
.admin-card,
.ticket-results-panel {
  border-radius: 16px;
}

.panel-heading {
  margin-bottom: 22px;
}

.panel-heading h2 {
  color: #15212c;
  letter-spacing: -0.035em;
}

.hero-note.age-rules,
#ticket-feature > #age-rules,
.empty-state,
.permission-card,
.order-filters,
.statement-filters,
.admin-order-filters,
.prototype-note,
.calendar-footnote {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.43);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(15px) saturate(125%);
  -webkit-backdrop-filter: blur(15px) saturate(125%);
}

.age-rules span,
.booking-rules span {
  border-color: rgba(255, 255, 255, 0.8);
  color: #516575;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

input,
select,
textarea,
.rich-editor {
  border-color: rgba(112, 134, 153, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

input:focus,
select:focus,
textarea:focus,
.rich-editor:focus {
  border-color: rgba(10, 122, 255, 0.62);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(10, 122, 255, 0.11), inset 0 1px 0 #fff;
}

.table-wrap {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(125%);
}

table,
td {
  background: transparent;
}

th {
  border-bottom-color: rgba(107, 128, 146, 0.16);
  color: #536676;
  background: rgba(239, 245, 249, 0.68);
}

td {
  border-bottom-color: rgba(116, 137, 154, 0.13);
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.43);
}

.booking-card {
  overflow: hidden;
  border-radius: 14px;
}

.booking-card:hover {
  border-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 50px rgba(52, 72, 89, 0.14), inset 0 1px 0 #fff;
}

.booking-title {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 8px 22px rgba(30, 48, 63, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(140%);
}

.booking-detail {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(248, 251, 253, 0.32));
}

.booking-card-footer > strong,
.reservation-total,
#reservation-total {
  color: #086ed7;
}

.modal {
  background: rgba(71, 84, 95, 0.28);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.modal-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(248, 251, 253, 0.8);
  box-shadow: 0 34px 90px rgba(35, 50, 63, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(34px) saturate(145%);
  -webkit-backdrop-filter: blur(34px) saturate(145%);
}

.modal-close,
.icon-button {
  border-color: rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 #fff;
  backdrop-filter: blur(12px);
}

.price-day,
.admin-price-day,
.switch-row,
.upload-box,
.selected-price-editor,
.staff-permission-grid label {
  border-color: rgba(111, 132, 151, 0.2);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.price-day.available:hover,
.price-day.is-selected,
.admin-price-day.is-selected {
  border-color: rgba(10, 122, 255, 0.55);
  background: rgba(229, 241, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(10, 122, 255, 0.35), inset 0 1px 0 #fff;
}

.switch-row > input[type="checkbox"]:checked {
  border-color: var(--ui-accent);
  background: var(--ui-accent);
}

.admin-dashboard article::before,
.statement-summary article::before {
  display: none;
}

.admin-dashboard article strong,
.statement-summary strong {
  color: #172532;
}

.admin-product-record:hover {
  border-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(52, 72, 89, 0.11), inset 0 1px 0 #fff;
}

.toast {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 13px;
  background: rgba(36, 50, 64, 0.88);
  box-shadow: 0 18px 50px rgba(34, 49, 62, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header,
  .feature-sidebar,
  .tool-panel,
  .feature-panel,
  .admin-card,
  .ticket-results-panel,
  .modal-card {
    background: rgba(255, 255, 255, 0.94);
  }
}

/* Colorful glass atmosphere. Color comes through the material, not from flat blocks. */
:root {
  --ui-ink: #153052;
  --ui-text: #3e5872;
  --ui-muted: #71869a;
  --ui-primary: #245fa6;
  --ui-primary-hover: #194d8a;
  --ui-accent: #147df5;
  --ui-accent-hover: #0869d6;
  --ui-accent-soft: rgba(20, 125, 245, 0.13);
}

body,
.admin-page {
  background:
    radial-gradient(circle at -3% 2%, rgba(61, 168, 255, 0.58), transparent 29rem),
    radial-gradient(circle at 103% 10%, rgba(160, 120, 255, 0.5), transparent 34rem),
    radial-gradient(circle at 46% 112%, rgba(49, 214, 174, 0.42), transparent 35rem),
    radial-gradient(circle at 76% 72%, rgba(255, 155, 119, 0.26), transparent 28rem),
    linear-gradient(140deg, #e7f5ff 0%, #f3efff 48%, #e8fbf6 100%);
  background-attachment: fixed;
}

body::before {
  opacity: 1;
  background:
    radial-gradient(ellipse at 22% 34%, rgba(255, 255, 255, 0.52), transparent 25%),
    radial-gradient(ellipse at 72% 20%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 44%, rgba(255, 255, 255, 0.12));
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.62);
  background: linear-gradient(110deg, rgba(225, 245, 255, 0.66), rgba(245, 237, 255, 0.58));
  box-shadow: 0 8px 28px rgba(48, 83, 117, 0.09), inset 0 -1px 0 rgba(82, 122, 158, 0.13);
}

.brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #208cff 0%, #5b6ef5 58%, #8f64e8 100%);
  box-shadow: 0 8px 20px rgba(56, 104, 210, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand strong,
.hero h1,
.panel-heading h2 {
  color: #153052;
}

.credit-pill {
  border-color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.68), rgba(223, 241, 255, 0.48));
}

.credit-pill strong {
  color: #1764b5;
}

.feature-sidebar {
  border-color: rgba(255, 255, 255, 0.74);
  background: linear-gradient(155deg, rgba(232, 247, 255, 0.66), rgba(245, 239, 255, 0.52));
}

.feature-item {
  color: #58728b;
}

.feature-item:hover {
  color: #1b568f;
  background: rgba(229, 243, 255, 0.68);
}

.feature-item.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(21, 127, 246, 0.92), rgba(89, 104, 238, 0.88));
  box-shadow: 0 9px 22px rgba(49, 102, 201, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.tool-panel,
.feature-panel,
.admin-card,
.ticket-results-panel,
.statement-summary article,
.admin-dashboard article,
.booking-card,
.reservation-basic-info,
.reservation-paste-field,
.reservation-summary,
.reservation-traveler,
.order-confirm-summary > *,
.order-detail-grid > *,
.order-confirm-traveler,
.order-detail-section,
.admin-product-record,
.admin-editor-panel,
.admin-setting-card,
.admin-ad-card,
.admin-contact-card,
.staff-create-panel,
.staff-list-panel,
.staff-record,
.credit-record-section {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: 0 20px 48px rgba(60, 92, 119, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

#ticket-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.53), rgba(215, 241, 255, 0.36));
}

#manual-ticket-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(236, 222, 255, 0.34));
}

#ticket-feature > #ticket-empty,
#ticket-feature > #ticket-results {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.5), rgba(218, 249, 240, 0.34));
}

.hero-note.age-rules,
#ticket-feature > #age-rules {
  background: linear-gradient(110deg, rgba(226, 245, 255, 0.52), rgba(245, 235, 255, 0.42), rgba(229, 250, 244, 0.44));
}

.age-rules span {
  color: #3d6485;
  background: rgba(229, 244, 255, 0.68);
}

.age-rules span:nth-of-type(2) {
  color: #62539a;
  background: rgba(238, 229, 255, 0.7);
}

.age-rules span:nth-of-type(3) {
  color: #267864;
  background: rgba(223, 250, 242, 0.72);
}

.age-rules span:nth-of-type(4) {
  color: #9a5b3c;
  background: rgba(255, 235, 224, 0.7);
}

.age-rules span:nth-of-type(5) {
  color: #9a7130;
  background: rgba(255, 244, 214, 0.72);
}

input,
select,
textarea,
.rich-editor {
  color: #183652;
  background: rgba(255, 255, 255, 0.52);
}

.button.primary {
  background: linear-gradient(135deg, #1689ff, #536df2);
}

.button.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #0878ed, #435ddf);
}

.button.secondary {
  color: #1d68ac;
  background: linear-gradient(135deg, rgba(232, 246, 255, 0.68), rgba(241, 235, 255, 0.56));
}

.button.ghost,
.text-button {
  color: #526c82;
  background: rgba(255, 255, 255, 0.5);
}

.table-wrap {
  background: rgba(255, 255, 255, 0.4);
}

th {
  color: #466c8e;
  background: linear-gradient(100deg, rgba(222, 242, 255, 0.66), rgba(237, 232, 255, 0.52));
}

.booking-detail {
  background: linear-gradient(145deg, rgba(236, 248, 255, 0.52), rgba(245, 238, 255, 0.42));
}

.booking-rules span {
  color: #3d6c91;
  background: rgba(221, 242, 255, 0.68);
}

.statement-summary article:nth-child(3n + 1),
.admin-dashboard article:nth-child(4n + 1) {
  background: linear-gradient(145deg, rgba(225, 244, 255, 0.58), rgba(255, 255, 255, 0.38));
}

.statement-summary article:nth-child(3n + 2),
.admin-dashboard article:nth-child(4n + 2) {
  background: linear-gradient(145deg, rgba(239, 229, 255, 0.58), rgba(255, 255, 255, 0.38));
}

.statement-summary article:nth-child(3n),
.admin-dashboard article:nth-child(4n + 3) {
  background: linear-gradient(145deg, rgba(221, 250, 241, 0.6), rgba(255, 255, 255, 0.38));
}

.admin-dashboard article:nth-child(4n) {
  background: linear-gradient(145deg, rgba(255, 235, 224, 0.58), rgba(255, 255, 255, 0.38));
}

.order-detail-statusbar {
  background: linear-gradient(120deg, #176fcb, #5e67df);
}

.price-day.available:hover,
.price-day.is-selected,
.admin-price-day.is-selected {
  border-color: rgba(20, 125, 245, 0.58);
  background: linear-gradient(145deg, rgba(218, 240, 255, 0.76), rgba(235, 229, 255, 0.64));
}

.modal-card {
  background: linear-gradient(145deg, rgba(239, 249, 255, 0.82), rgba(246, 239, 255, 0.76));
}

@media (max-width: 980px) {
  .feature-item.active {
    background: linear-gradient(120deg, #1685f7, #596cea);
  }
}

/* Traveler-level refund flow */
.refund-modal-card { width: min(680px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; }
.refund-picker-heading { display: grid; gap: 4px; margin: 22px 0 10px; padding: 13px 15px; border: 1px solid rgba(54, 116, 255, .16); border-radius: 16px; background: rgba(222, 240, 255, .42); }
.refund-picker-heading strong { color: #1b4f86; font-size: 15px; }
.refund-picker-heading span, .refund-estimate small { color: #687483; font-size: 12px; }
.refund-traveler-list { display: grid; gap: 8px; max-height: 264px; padding: 2px; overflow: auto; }
.refund-traveler-option { display: grid; grid-template-columns: 22px minmax(108px, .8fr) minmax(180px, 1.4fr) auto; align-items: center; gap: 12px; min-height: 56px; padding: 11px 14px; border: 1px solid rgba(96, 118, 139, .18); border-radius: 14px; background: rgba(255, 255, 255, .68); cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.refund-traveler-option:hover:not(.is-disabled) { border-color: rgba(44, 122, 236, .48); background: rgba(232, 244, 255, .84); transform: translateY(-1px); }
.refund-traveler-option:has(input:checked) { border-color: #3b82f6; background: linear-gradient(135deg, rgba(220, 239, 255, .88), rgba(238, 245, 255, .76)); box-shadow: 0 8px 18px rgba(60, 125, 225, .12); }
.refund-traveler-option input { width: 18px; height: 18px; accent-color: #2e7be8; }
.refund-traveler-option.is-disabled { opacity: .52; cursor: not-allowed; }
.refund-traveler-option small { color: #687483; }
.refund-estimate { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 12px 0 18px; padding: 14px 16px; border: 1px solid rgba(54, 116, 255, .18); border-radius: 16px; background: linear-gradient(135deg, rgba(75, 137, 255, .11), rgba(71, 208, 190, .08)); }
.refund-estimate strong { color: #1765d1; font-size: 20px; }
.refund-estimate small { grid-column: 1 / -1; }
.traveler-refund-status { display: inline-flex; padding: 4px 9px; border-radius: 999px; color: #334155; background: #eef2f6; font-size: 12px; }
.traveler-refund-status.is-退款中 { color: #9a5a00; background: #fff1cc; }
.traveler-refund-status.is-已退款 { color: #8b2d4f; background: #ffe5ee; }
.traveler-refund-time-trigger { border: 0; font: inherit; cursor: pointer; }
.traveler-refund-time { display: grid; gap: 1px; margin-top: 5px; color: #8b2d4f; font-size: 11px; line-height: 1.35; }
.traveler-refund-time time { font: inherit; font-variant-numeric: tabular-nums; white-space: nowrap; }
.traveler-refund-time[hidden] { display: none; }
@media (hover: hover) {
  .order-detail-refund-cell:hover .traveler-refund-time[hidden] { display: grid !important; }
}

/* Ticket cards always use the full card width for the product artwork. */
#booking-feature .booking-card { display: flex; flex-direction: column; align-self: start; }
#booking-feature .booking-image { inline-size: 100%; block-size: auto; min-block-size: 0; aspect-ratio: 16 / 9; grid-column: 1 / -1; }
#booking-feature .booking-photo { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; }
#booking-feature .booking-detail { inline-size: 100%; }

.admin-refund-review { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border: 1px solid rgba(96, 118, 139, .18); border-radius: 18px; background: linear-gradient(135deg, rgba(255, 184, 77, .12), rgba(255, 255, 255, .55)); grid-column: 1 / -1; }
.admin-refund-review-actions { display: grid; grid-template-columns: minmax(160px, 1fr) auto auto; gap: 10px; align-items: end; }

/* Compact order detail: keep all travelers visible without losing status. */
#order-detail-modal .order-detail-card { max-height: min(820px, calc(100dvh - 28px)); overflow: auto; }
#order-detail-modal .order-detail-content { gap: 12px; margin-top: 12px; }
#order-detail-modal .order-detail-statusbar { padding: 13px 16px; }
#order-detail-modal .order-detail-section { padding: 14px; }
#order-detail-modal .order-detail-section-heading { margin-bottom: 10px; }
#order-detail-modal .order-detail-traveler-heading-actions { display: flex; align-items: center; gap: 10px; }
#order-detail-modal .order-detail-batch-copy { min-height: 32px; padding: 5px 11px; border: 1px solid rgba(37, 111, 202, .34); border-radius: 9px; color: #176fcb; background: rgba(237, 247, 255, .72); font-size: 12px; font-weight: 800; cursor: pointer; }
#order-detail-modal .order-detail-batch-copy:hover:not(:disabled) { border-color: #176fcb; background: rgba(219, 239, 255, .9); }
#order-detail-modal .order-detail-batch-copy:disabled { cursor: not-allowed; opacity: .48; }
#remaining-credit.is-clickable { cursor: pointer; text-decoration: underline dotted rgba(29, 95, 180, .5); text-underline-offset: 3px; }
#remaining-credit.is-clickable:focus-visible { outline: 2px solid #4b93ff; outline-offset: 4px; border-radius: 4px; }
.pending-refund-modal-card { width: min(720px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 32px)); overflow-y: auto; }
.pending-refund-modal-card h2 { margin-bottom: 4px; }
.pending-refund-modal-summary { margin: 0 0 18px; color: #64748b; font-size: 14px; }
.pending-refund-table-wrap { overflow-x: auto; border: 1px solid rgba(96, 118, 139, .16); border-radius: 14px; background: rgba(255, 255, 255, .68); }
.pending-refund-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.pending-refund-table th { padding: 10px 12px; color: #466c8e; background: linear-gradient(100deg, rgba(222, 242, 255, .66), rgba(237, 232, 255, .52)); font-size: 12px; font-weight: 800; white-space: nowrap; }
.pending-refund-table td { padding: 12px; color: #273b4e; border-top: 1px solid rgba(96, 118, 139, .12); font-size: 13px; vertical-align: middle; white-space: nowrap; }
.pending-refund-table td:nth-child(2), .pending-refund-table td:nth-child(5) { white-space: normal; }
.pending-refund-order-link { padding: 0; border: 0; color: #176fcb; background: transparent; font: inherit; font-weight: 800; text-decoration: underline dotted rgba(23, 111, 203, .55); text-underline-offset: 3px; cursor: pointer; }
.pending-refund-order-link:hover { color: #075ebd; text-decoration-style: solid; }
.pending-refund-order-link:focus-visible { outline: 2px solid #4b93ff; outline-offset: 3px; border-radius: 3px; }
.pending-refund-amount { color: #a36300 !important; font-weight: 800; }
#order-detail-modal .order-detail-brief-grid { display: grid; grid-template-columns: minmax(200px, 1.65fr) minmax(110px, .8fr) minmax(160px, 1.2fr) minmax(160px, 1.25fr); gap: 8px; }
#order-detail-modal .order-detail-brief-grid article { display: grid; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid rgba(96, 118, 139, .14); border-radius: 11px; background: rgba(255, 255, 255, .68); }
#order-detail-modal .order-detail-brief-grid span { color: #718096; font-size: 12px; }
#order-detail-modal .order-detail-brief-grid strong { color: #1f3447; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; white-space: normal; }
#order-detail-modal .order-detail-traveler-table th,
#order-detail-modal .order-detail-traveler-table td { padding: 10px 12px; }
#order-detail-modal .order-detail-traveler-table th:nth-child(1) { width: 16%; }
#order-detail-modal .order-detail-traveler-table th:nth-child(2) { width: 29%; }
#order-detail-modal .order-detail-traveler-table th:nth-child(3) { width: 21%; }
#order-detail-modal .order-detail-traveler-table th:nth-child(4) { width: 19%; }
#order-detail-modal .order-detail-traveler-table th:nth-child(5) { width: 15%; }
#order-detail-modal .order-detail-traveler-table th { white-space: nowrap; }
#order-detail-modal .order-detail-traveler-table td:nth-child(n + 2) { overflow-wrap: normal; white-space: nowrap; }
#order-detail-modal .order-detail-refund-cell { text-align: left; }
#order-detail-modal .order-detail-traveler-table td.order-detail-refund-cell { white-space: normal; }
#order-detail-modal .order-detail-copy { display: inline; max-width: 100%; padding: 0; border: 0; color: inherit; background: transparent; font: inherit; text-align: inherit; text-decoration: underline dotted rgba(52, 111, 165, .55); text-underline-offset: 3px; cursor: copy; }
#order-detail-modal .order-detail-copy:hover { color: #176fcb; text-decoration-style: solid; }
#order-detail-modal .order-detail-statusbar .order-detail-copy { color: #fff; font-size: .9rem; font-weight: 800; text-decoration-color: rgba(255, 255, 255, .65); }
#order-detail-modal .order-detail-placeholder { color: #718096; font-weight: 600; }

@media (max-width: 720px) {
  .refund-traveler-option { grid-template-columns: 22px 1fr; }
  .refund-traveler-option small, .refund-traveler-option > span { grid-column: 2; }
  .admin-refund-review-actions { grid-template-columns: 1fr 1fr; }
  .admin-refund-review-actions .field { grid-column: 1 / -1; }
  #order-detail-modal .order-detail-traveler-heading-actions { gap: 7px; }
  #order-detail-modal .order-detail-brief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #order-detail-modal .order-detail-brief-grid .order-detail-product { grid-column: 1 / -1; }
}


/* Pending refund modal: keep all columns visible without horizontal scrolling. */
#pending-refund-modal .pending-refund-modal-card {
  width: min(1280px, calc(100vw - 48px));
  max-width: calc(100vw - 48px);
}

#pending-refund-modal .pending-refund-table-wrap {
  overflow: visible;
}

#pending-refund-modal .pending-refund-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

#pending-refund-modal .pending-refund-table th,
#pending-refund-modal .pending-refund-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#pending-refund-modal .pending-refund-table th:nth-child(1),
#pending-refund-modal .pending-refund-table td:nth-child(1) {
  width: 11%;
}

#pending-refund-modal .pending-refund-table th:nth-child(2),
#pending-refund-modal .pending-refund-table td:nth-child(2) {
  width: 17%;
}

#pending-refund-modal .pending-refund-table th:nth-child(3),
#pending-refund-modal .pending-refund-table td:nth-child(3) {
  width: 11%;
}

#pending-refund-modal .pending-refund-table th:nth-child(4),
#pending-refund-modal .pending-refund-table td:nth-child(4) {
  width: 10%;
}

#pending-refund-modal .pending-refund-table th:nth-child(5),
#pending-refund-modal .pending-refund-table td:nth-child(5) {
  width: 18%;
}

#pending-refund-modal .pending-refund-table th:nth-child(6),
#pending-refund-modal .pending-refund-table td:nth-child(6) {
  width: 19%;
}

#pending-refund-modal .pending-refund-table th:nth-child(7),
#pending-refund-modal .pending-refund-table td:nth-child(7) {
  width: 14%;
}

@media (max-width: 760px) {
  #pending-refund-modal .pending-refund-modal-card {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  #pending-refund-modal .pending-refund-table th,
  #pending-refund-modal .pending-refund-table td {
    padding: 8px 5px;
    font-size: 12px;
  }
}



/* Rejected refund requests are history records, not current order statuses. */
#order-detail-modal .order-detail-refund-history-list {
  display: grid;
  gap: 9px;
}

#order-detail-modal .order-detail-refund-history-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(198, 104, 126, .24);
  border-radius: 12px;
  background: linear-gradient(115deg, rgba(255, 244, 247, .9), rgba(255, 255, 255, .66));
}

#order-detail-modal .order-detail-refund-history-top,
#order-detail-modal .order-detail-refund-history-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px 16px;
}

#order-detail-modal .order-detail-refund-history-top strong {
  color: #b33a5a;
  font-size: 14px;
}

#order-detail-modal .order-detail-refund-history-top span,
#order-detail-modal .order-detail-refund-history-meta,
#order-detail-modal .order-detail-refund-history-item small {
  color: #66788a;
  font-size: 12px;
  line-height: 1.55;
}

#order-detail-modal .order-detail-refund-history-item small {
  color: #8b5263;
}



/* A rejected request remains visible while the traveler can still reapply. */
#order-detail-modal .traveler-refund-status.is-rejected {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ad4a64;
  background: rgba(255, 226, 235, .9);
}

#order-detail-modal .traveler-refund-status.is-rejected small {
  color: #b86a7d;
  font-size: 11px;
  font-weight: 700;
}



#order-detail-modal .traveler-refund-status.is-rejected {
  display: inline-flex;
  inline-size: max-content;
  max-inline-size: 100%;
  box-sizing: border-box;
  padding: 6px 9px;
  border: 1px solid rgba(190, 79, 108, .16);
  border-radius: 999px;
  color: #ad4a64;
  background: linear-gradient(135deg, rgba(255, 233, 240, .98), rgba(255, 245, 248, .92));
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}



#order-detail-modal .order-detail-refund-history-item.is-approved {
  border-color: rgba(45, 148, 101, .24);
  background: linear-gradient(115deg, rgba(238, 250, 243, .96), rgba(255, 255, 255, .7));
}

#order-detail-modal .order-detail-refund-history-item.is-approved .order-detail-refund-history-top strong {
  color: #247852;
}

#order-detail-modal .order-detail-refund-history-item.is-approved small {
  color: #4d7f64;
}

#order-detail-modal .traveler-refund-time-trigger {
  display: inline-flex;
  inline-size: max-content;
  max-inline-size: none;
  align-items: center;
  white-space: nowrap;
}

/* Green glass theme shared by user and admin pages. */
:root {
  --green: #176b4d;
  --green-dark: #0e4a35;
  --acid: #2b8a62;
  --paper: #edf6f0;
  --line: rgba(73, 122, 94, .2);
  --ui-bg: #e8f3eb;
  --ui-surface: rgba(255, 255, 255, .72);
  --ui-ink: #163629;
  --ui-text: #365848;
  --ui-muted: #6b8175;
  --ui-line: rgba(73, 122, 94, .2);
  --ui-line-strong: rgba(46, 103, 71, .3);
  --ui-primary: #176b4d;
  --ui-primary-hover: #0e4a35;
  --ui-accent: #21865e;
  --ui-accent-hover: #176b4d;
  --ui-accent-soft: rgba(33, 134, 94, .13);
  --ui-blue: #21865e;
  --ui-blue-soft: rgba(33, 134, 94, .12);
  --ui-success: #1f7a56;
  --ui-success-soft: #e5f4eb;
}

html { background: #e8f3eb; }

body,
.admin-page {
  background:
    radial-gradient(circle at -3% 2%, rgba(88, 185, 126, .48), transparent 29rem),
    radial-gradient(circle at 103% 10%, rgba(158, 210, 166, .42), transparent 34rem),
    radial-gradient(circle at 46% 112%, rgba(46, 169, 119, .34), transparent 35rem),
    radial-gradient(circle at 76% 72%, rgba(211, 235, 171, .28), transparent 28rem),
    linear-gradient(140deg, #e3f3e8 0%, #f1f7ef 48%, #dff0e4 100%);
}

.site-header {
  background: linear-gradient(110deg, rgba(229, 246, 235, .78), rgba(239, 248, 233, .7));
  box-shadow: 0 1px 0 rgba(43, 112, 76, .18), 0 18px 42px rgba(38, 104, 72, .1);
}

.brand-mark {
  background: linear-gradient(145deg, #38a875, #176b4d 58%, #0e4a35);
  box-shadow: 0 8px 20px rgba(23, 107, 77, .28);
}

.brand strong,
.hero h1,
.panel-heading h2 { color: #163629; }

.credit-pill strong,
.pending-refund-order-link,
.order-detail-batch-copy { color: #176b4d; }

.feature-sidebar {
  background: linear-gradient(155deg, rgba(232, 248, 238, .76), rgba(243, 249, 235, .62));
  border-color: rgba(50, 117, 79, .18);
}

.feature-item { color: #587365; }
.feature-item:hover { color: #176b4d; background: rgba(226, 243, 233, .74); }
.feature-item.active,
.auth-tab.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(33, 139, 94, .96), rgba(20, 105, 72, .92));
  box-shadow: 0 12px 24px rgba(23, 107, 77, .2);
}

.button.primary {
  background: linear-gradient(180deg, #2c9a6a, #1b7954);
  box-shadow: 0 10px 22px rgba(23, 107, 77, .2);
}
.button.primary:hover { background: linear-gradient(180deg, #23845b, #146544); }

input:focus,
textarea:focus,
select:focus {
  border-color: #2b8a62;
  box-shadow: 0 0 0 3px rgba(43, 138, 98, .14);
}

.admin-order-detail-statusbar,
#order-detail-modal .order-detail-statusbar {
  background: linear-gradient(120deg, #218b5e, #176b4d) !important;
}

#admin-order-detail-modal .admin-order-detail-number {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  text-align: right;
}

#admin-order-detail-modal .admin-order-detail-number span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
}

#admin-order-detail-modal .admin-order-detail-number b {
  color: #fff;
  font-family: var(--ui-font-number);
  font-size: 1.28rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.admin-account-identity-cell {
  white-space: normal;
}

.admin-account-identity-cell strong,
.admin-account-identity-cell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-account-identity-cell strong {
  color: var(--ui-ink);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-account-identity-cell span {
  margin-top: 3px;
  color: var(--ui-muted);
  font-family: var(--ui-font-number);
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  white-space: nowrap;
}

.toast.info { background: #176b4d; }
.step-number { background: #d9f08a; color: #174f38; }

.order-query-hint {
  margin: -6px 0 14px;
  color: var(--ui-muted);
  font-size: .8rem;
}

@media (min-width: 901px) {
  #order-feature .order-filters {
    grid-template-columns: minmax(180px, .8fr) minmax(300px, 1.6fr) minmax(180px, .8fr) auto;
    align-items: end;
  }

  #order-feature .order-filter-actions {
    grid-column: auto;
    justify-content: flex-end;
  }
}

/* Category-first booking catalog. */
#booking-feature .booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.booking-category-card {
  width: min(100%, 1180px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(48, 111, 77, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 44px rgba(38, 94, 65, .1);
  backdrop-filter: blur(18px) saturate(125%);
}

.booking-category-header {
  --booking-header-toggle-width: 112px;
  --booking-header-price-width: 230px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) var(--booking-header-toggle-width) var(--booking-header-price-width);
  align-items: center;
  gap: 22px;
  padding: 18px;
  background:
    linear-gradient(110deg, rgba(226, 245, 233, .94), rgba(247, 251, 242, .8)),
    rgba(255, 255, 255, .72);
}

.booking-category-card.has-quick-parser .booking-category-header,
.booking-category-card.is-direct-category .booking-category-header {
  --booking-header-toggle-width: 92px;
  --booking-header-price-width: 188px;
  grid-template-columns: 164px minmax(160px, .52fr) minmax(420px, 1.7fr) var(--booking-header-toggle-width) var(--booking-header-price-width);
  gap: 14px;
  padding: 16px;
}

.booking-category-card.has-quick-parser .booking-category-media,
.booking-category-card.is-direct-category .booking-category-media {
  height: 108px;
}

.booking-category-card.has-quick-parser .booking-category-copy h3,
.booking-category-card.is-direct-category .booking-category-copy h3 {
  font-size: 1.18rem;
}

.booking-quick-entry {
  min-width: 0;
  height: 142px;
  padding: 14px 16px;
  border: 1px solid rgba(38, 55, 70, .13);
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
}

.booking-quick-entry-disabled {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-color: transparent;
  color: var(--ui-muted);
  background: transparent;
}

.booking-quick-entry-disabled strong {
  color: var(--ui-text);
  font-size: .86rem;
}

.booking-quick-entry-disabled span {
  font-size: .74rem;
}

.booking-quick-entry-heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.booking-quick-entry-heading strong {
  color: var(--ui-ink);
  font-size: .9rem;
}

.booking-quick-entry-heading span {
  color: var(--ui-muted);
  font-size: .7rem;
  white-space: nowrap;
}

.booking-quick-entry-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.booking-quick-input {
  width: 100%;
  min-height: 82px;
  max-height: 136px;
  resize: vertical;
  padding: 11px 13px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 10px;
  color: var(--ui-ink);
  background: rgba(255, 255, 255, .86);
  font-size: .9rem;
  line-height: 1.55;
}

.booking-quick-input:focus {
  outline: 0;
  border-color: var(--ui-accent);
  box-shadow: 0 0 0 3px rgba(233, 104, 67, .13);
}

.booking-quick-parse {
  min-width: 66px;
  min-height: 44px;
  padding-inline: 14px;
}

.booking-quick-results {
  border-top: 1px solid var(--ui-line);
  background: rgba(255, 255, 255, .9);
}

.booking-quick-error,
.booking-quick-inline-error {
  color: var(--ui-danger);
  font-weight: 700;
}

.booking-quick-error {
  padding: 16px 20px;
  background: var(--ui-danger-soft);
}

.booking-quick-date-alert,
.booking-quick-date-confirmed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ui-line);
}

.booking-quick-date-alert {
  background: var(--ui-warning-soft);
}

.booking-quick-date-alert > div:first-child {
  display: grid;
  flex: 1;
  gap: 2px;
}

.booking-quick-date-alert strong,
.booking-quick-date-confirmed strong {
  color: var(--ui-ink);
}

.booking-quick-date-alert span,
.booking-quick-date-confirmed span {
  color: var(--ui-muted);
  font-size: .76rem;
}

.booking-quick-date-select {
  width: min(230px, 100%);
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 10px;
  color: var(--ui-ink);
  background: var(--ui-surface);
}

.booking-quick-date-confirmed {
  justify-content: flex-end;
  background: var(--ui-success-soft);
}

.booking-quick-date-confirmed strong {
  margin-right: auto;
  font-family: var(--ui-font-number);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.booking-quick-manifest {
  padding: 18px;
}

.booking-quick-manifest-heading,
.booking-bundle-heading {
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.booking-quick-manifest-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.booking-bundle-heading {
  display: flex;
}

.booking-quick-manifest-heading > div:first-child {
  display: grid;
  gap: 2px;
}

.booking-quick-manifest-heading strong,
.booking-bundle-heading strong {
  color: var(--ui-ink);
  font-size: .95rem;
}

.booking-quick-manifest-heading span,
.booking-bundle-heading span {
  color: var(--ui-muted);
  font-size: .75rem;
}

.booking-quick-manifest-date {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-self: center;
  gap: 10px;
  padding: 11px 14px 11px 18px;
  border: 1px solid rgba(35, 132, 98, .36);
  border-left: 5px solid var(--ui-success);
  border-radius: 12px;
  background: var(--ui-success-soft);
  box-shadow: 0 6px 16px rgba(35, 132, 98, .08);
}

.booking-quick-manifest-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-quick-change-date-input {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.booking-quick-manifest-date span {
  color: var(--ui-success);
  font-size: .8rem;
  font-weight: 800;
}

.booking-quick-manifest-date strong {
  color: var(--ui-ink);
  font-family: var(--ui-font-number);
  font-size: 1.24rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.booking-quick-manifest-date button {
  min-width: 72px;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  color: var(--ui-blue);
  background: rgba(255, 255, 255, .72);
  font-weight: 750;
  cursor: pointer;
}

.booking-quick-manifest-date .booking-quick-back {
  color: var(--ui-muted);
  background: rgba(255, 255, 255, .56);
}

.booking-quick-manifest-heading > span:last-child {
  grid-column: 3;
  justify-self: end;
}

.booking-quick-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
}

.booking-quick-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.booking-quick-table th,
.booking-quick-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--ui-line);
  text-align: center;
  vertical-align: middle;
}

.booking-quick-table th {
  color: var(--ui-text);
  background: var(--ui-blue-soft);
  font-size: .75rem;
}

.booking-quick-table tbody tr:last-child td {
  border-bottom: 0;
}

.booking-quick-table td {
  color: var(--ui-text);
  font-size: .8rem;
}

.booking-quick-table td.booking-quick-merged-cell {
  border-left: 1px solid var(--ui-line);
  background: var(--ui-success-soft);
  font-weight: 750;
  vertical-align: middle;
}

.booking-quick-table th:nth-child(1) { width: 14%; }
.booking-quick-table th:nth-child(2) { width: 25%; }
.booking-quick-table th:nth-child(3) { width: 15%; }
.booking-quick-table th:nth-child(4) { width: 31%; }
.booking-quick-table th:nth-child(5) { width: 15%; }

.booking-quick-document,
.booking-quick-row-price {
  font-family: var(--ui-font-number);
  font-variant-numeric: tabular-nums;
}

.booking-quick-row-price {
  color: var(--ui-success);
}

.booking-quick-birth {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--ui-danger);
  border-radius: 8px;
}

.booking-bundle-options {
  padding: 0 18px 18px;
}

.booking-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.booking-bundle-option {
  display: grid;
  gap: 3px;
  min-height: 84px;
  padding: 12px 14px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 12px;
  color: var(--ui-text);
  background: var(--ui-surface);
  text-align: left;
  cursor: pointer;
}

.booking-bundle-option:hover {
  border-color: var(--ui-accent);
}

.booking-bundle-option.selected {
  border-color: var(--ui-success);
  background: var(--ui-success-soft);
  box-shadow: 0 0 0 2px rgba(35, 132, 98, .08);
}

.booking-bundle-option span {
  color: var(--ui-accent);
  font-size: .7rem;
  font-weight: 800;
}

.booking-bundle-option.selected span {
  color: var(--ui-success);
}

.booking-bundle-option strong {
  color: var(--ui-ink);
  font-size: .84rem;
}

.booking-bundle-option small {
  color: var(--ui-muted);
  font-family: var(--ui-font-number);
}

.booking-quick-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--ui-line);
  background: var(--ui-bg);
}

.booking-quick-footer > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.booking-quick-footer span {
  color: var(--ui-muted);
  font-size: .76rem;
}

.booking-quick-footer strong {
  color: var(--ui-ink);
  font-family: var(--ui-font-number);
  font-size: 1.18rem;
  font-variant-numeric: tabular-nums;
}

.order-confirm-traveler strong small {
  display: block;
  margin-top: 2px;
  color: var(--ui-muted);
  font-size: .68rem;
  font-weight: 600;
}

.order-confirm-summary.is-quick {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-confirm-card.is-quick {
  width: min(980px, 100%);
}

#order-confirm-total {
  color: var(--ui-danger);
  font-family: var(--ui-font-number);
  font-size: 1.42rem;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

#order-confirm-travelers.is-quick-table {
  display: block;
}

.order-confirm-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ui-line);
  border-radius: 11px;
  background: var(--ui-surface);
}

.order-confirm-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.order-confirm-table th,
.order-confirm-table td {
  padding: 11px 12px;
  border-right: 1px solid var(--ui-line);
  border-bottom: 1px solid var(--ui-line);
  text-align: center;
  vertical-align: middle;
}

.order-confirm-table th:last-child,
.order-confirm-table td:last-child {
  border-right: 0;
}

.order-confirm-table tbody tr:last-child td {
  border-bottom: 0;
}

.order-confirm-table th {
  color: var(--ui-text);
  background: var(--ui-blue-soft);
  font-size: .75rem;
}

.order-confirm-table td {
  color: var(--ui-text);
  font-size: .8rem;
}

.order-confirm-table th:nth-child(1) { width: 13%; }
.order-confirm-table th:nth-child(2) { width: 17%; }
.order-confirm-table th:nth-child(3) { width: 27%; }
.order-confirm-table th:nth-child(4) { width: 30%; }
.order-confirm-table th:nth-child(5) { width: 13%; }

.order-confirm-table select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 8px;
  color: var(--ui-ink);
  background: var(--ui-surface);
}

.order-confirm-name-cell strong {
  color: var(--ui-ink);
}

.order-confirm-document-cell,
.order-confirm-ticket-price {
  font-family: var(--ui-font-number);
  font-variant-numeric: tabular-nums;
}

.order-confirm-ticket-cell,
.order-confirm-ticket-price {
  background: var(--ui-success-soft);
  font-weight: 800;
}

.order-confirm-ticket-price {
  color: var(--ui-success) !important;
  font-size: .9rem !important;
}

.booking-category-media {
  height: 132px;
  overflow: hidden;
  border-radius: 13px;
  background: #dfece3;
  box-shadow: 0 10px 25px rgba(28, 91, 59, .13);
}

.booking-category-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.booking-category-copy {
  min-width: 0;
}

.booking-category-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #176b4d;
  background: rgba(33, 134, 94, .12);
  font-size: .72rem;
  font-weight: 800;
}

.booking-category-copy h3 {
  margin: 0;
  color: #163629;
  font-size: 1.42rem;
  line-height: 1.3;
}

.booking-category-copy p {
  margin: 9px 0 0;
  color: var(--ui-muted);
  font-size: .82rem;
}

.booking-category-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 15px 20px;
  border: 0;
  border-radius: 999px 18px 18px 999px;
  color: #fff;
  background: linear-gradient(110deg, #ff6500, #ff8a00);
  box-shadow: 0 12px 24px rgba(223, 91, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.booking-category-side {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.booking-category-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 7px 4px;
  border: 0;
  border-radius: 0;
  color: #176b4d;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.booking-category-toggle:hover {
  color: #0d563c;
  background: transparent;
}

.booking-category-toggle b {
  font-size: 1rem;
  transition: transform .18s ease;
}

.booking-category-card.is-collapsed .booking-category-toggle b {
  transform: rotate(180deg);
}

.booking-category-card.is-collapsed .booking-category-products {
  display: none;
}

.booking-category-price span {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}

.booking-category-price strong {
  color: #fff;
  font-family: var(--ui-font-number);
  font-size: 1.28rem;
  font-variant-numeric: proportional-nums lining-nums;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.booking-category-products {
  display: grid;
}

.price-day.outside-month .date-number {
  color: #287554;
  font-weight: 800;
}

#booking-feature .booking-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  align-items: center;
  gap: 0;
  min-height: 43px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid rgba(65, 113, 87, .14);
  border-radius: 0;
  background: rgba(255, 255, 255, .48);
  box-shadow: none;
}

#booking-feature .booking-product-row:hover {
  border-color: rgba(65, 113, 87, .18);
  background: rgba(229, 245, 235, .64);
  box-shadow: none;
}

.booking-product-copy {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 200px;
  min-width: 0;
  padding: 7px 18px;
  text-align: left;
}

.booking-product-copy h3 {
  min-width: 0;
  margin: 0;
  color: #123426;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.4;
}

.booking-product-copy span {
  display: inline-flex;
  flex: 0 0 auto;
  max-width: 200px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #547164;
  background: rgba(68, 133, 94, .09);
  font-size: .7rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-price-link {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid rgba(65, 113, 87, .14);
  border-right: 1px solid rgba(65, 113, 87, .14);
  border-radius: 0;
  color: #2879d8;
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.booking-price-link:hover {
  color: #0d5bb7;
  background: rgba(40, 121, 216, .05);
}

.booking-price-link b {
  font-size: .82rem;
}

.booking-product-actions {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.booking-product-actions .booking-mini {
  min-width: 92px;
  min-height: 34px;
  padding-block: 6px;
}

@media (max-width: 760px) {
  .admin-category-list {
    grid-template-columns: 1fr;
  }

  .admin-category-record {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .admin-category-image {
    width: 86px;
    height: 70px;
  }

  .admin-category-name-row,
  .admin-category-inline {
    gap: 8px;
  }

  .booking-category-card {
    border-radius: 16px;
  }

  .booking-category-header {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .booking-category-card.has-quick-parser .booking-category-header,
  .booking-category-card.is-direct-category .booking-category-header {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .booking-quick-entry {
    grid-column: 1 / -1;
    height: auto;
  }

  .booking-quick-entry-heading,
  .booking-bundle-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .booking-quick-manifest-heading {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .booking-quick-manifest-date,
  .booking-quick-manifest-heading > span:last-child {
    grid-column: 1;
    justify-self: stretch;
  }

  .booking-quick-manifest-date {
    flex-wrap: wrap;
    justify-content: center;
  }

  .booking-quick-manifest-actions {
    justify-content: center;
    width: 100%;
  }

  .booking-quick-entry-control,
  .booking-bundle-grid {
    grid-template-columns: 1fr;
  }

  .booking-quick-date-alert,
  .booking-quick-date-confirmed,
  .booking-quick-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-quick-date-select {
    width: 100%;
  }

  .booking-quick-footer .button {
    width: 100%;
  }

  .booking-category-media {
    height: 92px;
  }

  .booking-category-copy h3 {
    font-size: 1.05rem;
  }

  .booking-category-kicker {
    margin-bottom: 6px;
  }

  .booking-category-price {
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding: 11px 14px;
    text-align: left;
  }

  .booking-category-toggle {
    width: 100%;
    min-width: 0;
  }

  .booking-category-price span {
    margin: 0;
  }

  #booking-feature .booking-product-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
  }

  .booking-product-copy {
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
  }

  .booking-price-link {
    min-height: 46px;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(65, 113, 87, .14);
    border-bottom: 1px solid rgba(65, 113, 87, .14);
  }

  .booking-product-actions {
    display: block;
    padding: 12px 14px;
  }

  .booking-product-actions .booking-mini {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 1100px) {
  #ticket-panel .input-grid {
    padding-top: 21px;
  }

  #ticket-panel #source-text {
    height: 126px;
    min-height: 126px;
  }
}

#booking-feature.booking-permission-locked > :not(.panel-heading):not(#booking-locked) {
  display: none !important;
}

#price-modal .price-calendar-card { width: min(800px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; background: #fff; }
#price-modal .price-calendar-grid { gap: 4px; border: 0; background: #fff; }
#price-modal .calendar-weekdays { border: 0; background: #fff; color: var(--muted); }
#price-modal .price-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  min-height: 92px;
  padding: 10px 4px;
  border: 1px solid #edf0ea;
  border-radius: 6px;
  color: var(--green-dark);
  background: #fff;
  box-shadow: none;
  text-align: center;
  transform: none;
}
#price-modal .price-day .date-number { font-size: .8rem; font-weight: 600; }
#price-modal .price-day.available { border-color: #e3e9e5; color: var(--green-dark); background: #fff; box-shadow: none; }
#price-modal .price-day strong,
#price-modal .price-day.available strong { color: var(--green-dark); font-size: 1.05rem; line-height: 1.3; }
#price-modal .price-day .price-day-tags { display: flex; justify-content: center; gap: 3px; padding: 0; }
#price-modal .price-day .stock-state,
#price-modal .price-day.available .stock-state { padding: 1px 2px; color: #64736c; background: none; font-weight: 400; }
#price-modal .early-bird-tag { padding: 1px 4px; border-radius: 3px; color: #176b4d; background: #edf6ef; font-weight: 500; }
#price-modal .price-extreme-tag { padding: 1px 3px; border-radius: 3px; color: #176b4d; background: #edf6ef; font-size: .68rem; font-weight: 500; white-space: nowrap; }
#price-modal .price-extreme-tag.is-highest { color: #a34d31; background: #fff1e9; }
#price-modal .price-day.available.is-price-lowest { border-color: #acd2b9; background: #eef8f0; }
#price-modal .price-day.available.is-price-highest { border-color: #edc8b1; background: #fff4ed; }
#price-modal .price-day.is-price-highest strong { color: #9d4c2b; }
#price-modal .price-day.available:hover,
#price-modal .price-day.available:focus-visible,
#price-modal .price-day.is-selected { border-color: var(--green); background: #f2f8f4; box-shadow: inset 0 0 0 1px var(--green); }
#price-modal .price-day.sold-out,
#price-modal .price-day.unavailable { color: #929b95; background: #fafbf9; }
#price-modal .price-day.sold-out strong,
#price-modal .price-day.sold-out .stock-state { color: #929b95; background: none; }
#price-modal .price-day.outside { border-color: transparent; background: transparent; }
#price-modal .calendar-footnote { padding: 12px 0 0; border: 0; background: none; box-shadow: none; font-size: .75rem; }
@media (max-width: 600px) {
  #price-modal .price-calendar-card { padding: 12px; }
  #price-modal .price-calendar-grid { gap: 2px; }
  #price-modal .price-day { min-height: 96px; padding: 8px 1px; gap: 6px; }
  #price-modal .price-day strong,
  #price-modal .price-day.available strong { font-size: .76rem; letter-spacing: -.3px; }
  #price-modal .price-day .date-number { font-size: .72rem; }
  #price-modal .price-day-tags { flex-direction: column; }
  #price-modal .price-day .stock-state,
  #price-modal .price-day.available .stock-state,
  #price-modal .price-extreme-tag,
  #price-modal .early-bird-tag { padding: 1px; font-size: .58rem; }
}
@media (max-width: 360px) {
  #price-modal .early-bird-tag { padding: 1px 0; font-size: 9px; letter-spacing: -.3px; }
}

/* Refund identity images: shared upload and backoffice review surfaces. */
.refund-id-upload-section {
  display: grid;
  gap: 12px;
  margin: 14px 0 18px;
  padding: 15px;
  border: 1px solid rgba(34, 124, 86, .2);
  border-radius: var(--ui-radius-lg);
  background: rgba(241, 249, 244, .86);
}

.refund-id-upload-heading,
.refund-id-upload-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.refund-id-upload-heading strong,
.refund-id-upload-card > div:first-child strong {
  color: var(--ui-ink);
}

.refund-id-upload-heading span,
.refund-id-upload-card > div:first-child span {
  color: var(--ui-muted);
  font-size: .76rem;
}

.refund-id-upload-list,
.refund-id-upload-card {
  display: grid;
  gap: 10px;
}

.refund-id-upload-card {
  padding-top: 12px;
  border-top: 1px solid rgba(34, 124, 86, .14);
}

.refund-id-upload-fields,
.admin-refund-document-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.refund-id-file-field {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius);
  background: rgba(255, 255, 255, .88);
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.refund-id-file-field:hover,
.refund-id-file-field:focus-within,
.refund-id-file-field.has-file {
  border-color: #2b8a62;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 138, 98, .1);
}

.refund-id-file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.refund-id-file-field img {
  width: 100%;
  height: 128px;
  border-radius: 8px;
  object-fit: contain;
  background: #eef3ef;
}

.refund-id-file-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  color: #176b4d;
  font-weight: 800;
  text-align: center;
}

.refund-id-file-field.has-file .refund-id-file-placeholder {
  min-height: 0;
}

.refund-id-file-field small {
  overflow: hidden;
  color: var(--ui-muted);
  font-size: .72rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-refund-document-gallery {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}

.admin-refund-document {
  flex: 0 0 156px;
  width: 156px;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: #fff;
}

.admin-refund-document > a:first-child {
  display: block;
  padding: 8px;
  background: #eef3ef;
}

.admin-refund-document img {
  display: block;
  width: 100%;
  height: 132px;
  border-radius: 7px;
  object-fit: contain;
}

.admin-refund-document figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
}

.admin-refund-document figcaption span {
  color: var(--ui-ink);
  font-size: .78rem;
  font-weight: 800;
}

.admin-refund-document-download {
  min-height: 36px;
}

@media (max-width: 640px) {
  .refund-id-upload-heading,
  .refund-id-upload-card > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .refund-id-upload-fields,
  .admin-refund-document-gallery {
    grid-template-columns: 1fr;
  }
}

/* Shared data-table alignment: center headers and row values on the same column axis. */
table thead th,
table tbody td {
  text-align: center !important;
}

table tbody td input:not([type="checkbox"]):not([type="radio"]),
table tbody td select,
table tbody td textarea {
  text-align: center;
}

table tbody td .admin-order-action-group,
table tbody td .user-nickname-editor,
table tbody td .user-credit-editor,
table tbody td .operation-log-operator {
  justify-content: center;
}

@media (max-width: 760px) {
  table tbody td::before {
    text-align: left;
  }
}

/* Final credit action variants must stay after the global button theme. */
.admin-accounts-card .credit-list-actions .credit-add-button.button {
  display: inline-grid;
  width: 36px;
  height: 34px;
  padding: 0;
  place-items: center;
  border-color: #b8ddca;
  border-radius: 10px;
  color: #147a51;
  background: #edf8f2;
  box-shadow: none;
}

.admin-accounts-card .credit-list-actions .credit-add-button.button:hover:not(:disabled) {
  border-color: #88c7a7;
  color: #0d6843;
  background: #dff2e8;
}

.admin-accounts-card .credit-list-actions .credit-reduce-button.button {
  display: inline-grid;
  width: 36px;
  height: 34px;
  padding: 0;
  place-items: center;
  border-color: #e7bdc3;
  border-radius: 10px;
  color: #b93643;
  background: #fff1f2;
  box-shadow: none;
}

.admin-accounts-card .credit-list-actions .credit-reduce-button.button:hover:not(:disabled) {
  border-color: #da9099;
  color: #9e2632;
  background: #ffe2e5;
}

.admin-accounts-card .credit-list-actions .credit-add-button.button::before,
.admin-accounts-card .credit-list-actions .credit-reduce-button.button::before {
  width: 12px;
  height: 9px;
  background: currentColor;
  clip-path: polygon(0 70%, 50% 12%, 100% 70%, 82% 88%, 50% 51%, 18% 88%);
  content: "";
}

.admin-accounts-card .credit-list-actions .credit-reduce-button.button::before {
  transform: rotate(180deg);
}

/* Dashboard refund alert stays visually urgent regardless of dashboard card order. */
.admin-dashboard .dashboard-refund-card {
  padding-right: 138px !important;
  border-color: #ef9a9a;
  background: linear-gradient(145deg, #fff0f0, #ffdada);
  box-shadow: 0 10px 24px rgba(190, 45, 45, .12);
}

.admin-dashboard .dashboard-refund-card .dashboard-refund-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a92727;
}

.dashboard-refund-label i {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #cf3434;
  font-family: var(--ui-font-number);
  font-size: .82rem;
  font-style: normal;
  font-weight: 900;
}

.admin-dashboard .dashboard-refund-card #dashboard-pending {
  color: #a92727;
}

.admin-dashboard .dashboard-refund-card .dashboard-card-link {
  min-width: 94px;
  min-height: 46px;
  padding: 0 22px;
  border-color: #bd2929;
  border-radius: 11px;
  color: #fff;
  background: #cf3434;
  box-shadow: 0 8px 18px rgba(183, 39, 39, .2);
  font-size: .88rem;
}

.admin-dashboard .dashboard-refund-card .dashboard-card-link:hover {
  border-color: #9f2020;
  color: #fff;
  background: #b62525;
}
