/* ── Reset & base ──────────────────────────────────────────── */
:root {
  --ap-base-font-size: 14px;
  --ap-icon-scale: 0.8;
}

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

html {
  font-size: var(--ap-base-font-size);
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #f0f2f5;
  color: #1a1a2e;
  min-height: 100vh;
  overflow-x: hidden;
}

.logged-page .sticky-page-chrome {
  position: sticky;
  top: 0;
  z-index: 1200;
  padding: 0.35rem 1rem 0;
  background: linear-gradient(180deg, rgba(240, 242, 245, 0.98) 0%, rgba(240, 242, 245, 0.9) 100%);
  backdrop-filter: blur(2px);
}

.logged-page .sticky-page-inner {
  max-width: 560px;
  margin: 0 auto;
}

.sticky-message-bar {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid #d5dcef;
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #eef2fb;
  color: #33456f;
  font-size: 0.86rem;
  min-height: 2.05rem;
  display: flex;
  align-items: center;
}

.sticky-message-bar.info {
  background: #eef2fb;
  color: #33456f;
}

.sticky-message-bar.success {
  background: #e5f5e9;
  color: #1f7a37;
  border-color: #cde9d4;
}

.sticky-message-bar.error {
  background: #fbe8ea;
  color: #9d1f2a;
  border-color: #f1c7ce;
}

.logged-page main .message,
.logged-page main .schedule-email-message {
  display: none !important;
}

/* ── Layout ───────────────────────────────────────────────── */
.card-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  margin: 5vh auto 0;
}

.card-container.wide {
  max-width: 560px;
}

.logged-page .card-container {
  margin: 1vh auto 0;
}

.logged-page main.dashboard {
  padding-top: 0.08rem !important;
}

.logged-page main.dashboard .card-container {
  margin-top: 0 !important;
}

.logged-page .dashboard-tab-panel > .listing-form-section:first-child {
  margin-top: 0.12rem !important;
}

/* ── Site title ────────────────────────────────────────────── */
.site-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.site-title-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #133070;
  text-align: center;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.site-intro {
  color: #3b3b4f;
  font-size: 0.93rem;
  line-height: 1.5;
  margin: -0.5rem 0 1.4rem;
}

.site-warning {
  color: #7a2e2e;
  font-size: 0.84rem;
  line-height: 1.4;
  margin-top: 1.2rem;
  text-align: center;
}

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1.75rem;
}

.tab {
  flex: 1;
  background: none;
  border: none;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: #666;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.tab.active {
  color: #133070;
  border-bottom-color: #133070;
}

.tab:focus-visible {
  outline: 2px solid #133070;
  outline-offset: 2px;
}

/* ── Forms ────────────────────────────────────────────────── */
.tab-panel.hidden { display: none; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #444;
}

.hint {
  font-weight: 400;
  color: #888;
}

.hint.error {
  color: #7a2e2e;
}

.scope-hint {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: #4b5e84;
}

.scope-badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid #c6d2f5;
  border-radius: 999px;
  background: #eef2ff;
  color: #3650a8;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="date"],
input[type="number"],
input[type="file"],
textarea,
select {
  border: 1.5px solid #d0d0d0;
  border-radius: 7px;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus {
  border-color: #133070;
  box-shadow: 0 0 0 3px rgba(19,48,112,0.15);
}

select:focus {
  border-color: #133070;
  box-shadow: 0 0 0 3px rgba(19,48,112,0.15);
}

textarea:focus {
  border-color: #133070;
  box-shadow: 0 0 0 3px rgba(19,48,112,0.15);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  border: none;
  border-radius: 7px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.btn.primary {
  background: #133070;
  color: #fff;
  width: 100%;
  margin-top: 0.5rem;
}

.btn.primary:hover { background: #0f2555; }
.btn.primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn.secondary {
  background: transparent;
  color: #133070;
  border: 1.5px solid #133070;
}

.btn.secondary:hover { background: rgba(19,48,112,0.07); }

.btn.inline-btn {
  display: inline-block;
  width: auto;
}

/* ── Messages ─────────────────────────────────────────────── */
.message {
  font-size: 0.88rem;
  min-height: 1.25rem;
  margin-bottom: 0.3rem;
  border-radius: 5px;
  padding: 0.4rem 0.6rem;
}

.message.success { background: #d4edda; color: #155724; }
.message.error   { background: #f8d7da; color: #721c24; }
.message:empty   { background: transparent; }

/* ── Top bar (protected page) ─────────────────────────────── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.top-title {
  margin-bottom: 0;
  text-align: left;
  font-size: 1.2rem;
}

.top-brand-link {
  display: inline-flex;
  align-items: center;
}

.top-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.hidden {
  display: none;
}

/* ── Dashboard tab bar ────────────────────────────────────── */
.dashboard-tab-bar {
  display: flex;
  background: #ffffff;
  border-bottom: 2px solid #e0e4f0;
  border-left: 1px solid #e4e9f7;
  border-right: 1px solid #e4e9f7;
  box-shadow: 0 2px 6px rgba(18, 33, 70, 0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dashboard-tab-bar::-webkit-scrollbar {
  display: none;
}

.dashboard-tab-btn {
  flex: 1;
  min-width: 90px;
  padding: 0.85rem 0.5rem;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  background: none;
  color: #5a6378;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
}

.dashboard-tab-btn:hover {
  color: #133070;
}

.dashboard-tab-btn.active {
  color: #133070;
  border-bottom-color: #133070;
}

.dashboard-tab-btn:focus-visible {
  outline: 2px solid #133070;
  outline-offset: -2px;
}

.dashboard-tab-link {
  flex: 1;
  min-width: 90px;
  padding: 0.85rem 0.5rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: #5a6378;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.dashboard-tab-link:hover {
  color: #133070;
  background: #f4f7ff;
}

.dashboard-tab-link.active {
  color: #133070;
  border-bottom-color: #133070;
}

.page-top-nav {
  margin-bottom: 0;
}

.dashboard-tab-panel {
  /* panels just use hidden class to toggle; no extra wrapper style needed */
}

/* ── Dashboard ────────────────────────────────────────────── */
.dashboard {
  padding: 0.5rem 1rem 2.5rem;
}

.dashboard h2 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: #1a1a2e;
}

.user-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.75rem;
}

.user-table th,
.user-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.95rem;
}

.user-table th {
  width: 38%;
  color: #666;
  font-weight: 600;
}

.user-table td { color: #1a1a2e; }

.site-users-table td,
.site-users-table th {
  vertical-align: top;
}

.site-users-memberships {
  display: grid;
  gap: 0.4rem;
  white-space: normal;
}

.site-users-membership-item {
  padding: 0.45rem 0.55rem;
  border: 1px solid #e1e6f4;
  border-radius: 8px;
  background: #f8faff;
}

.site-users-membership-title {
  font-weight: 600;
  color: #22345f;
}

.site-users-membership-meta {
  color: #5b6784;
  font-size: 0.86rem;
}

.admin-search-row {
  margin-bottom: 0.75rem;
}

.admin-search-row input[type="search"] {
  flex: 1;
  min-width: 0;
}

.api-tester-card {
  max-width: 980px;
}

.api-tester-listing {
  display: grid;
  gap: 1.2rem;
}

.api-endpoint-card {
  border: 1px solid #e4e6ef;
  border-radius: 10px;
  padding: 1rem;
}

.api-request-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem 1rem;
  margin-top: 0.75rem;
}

.api-request-form .feed-actions {
  grid-column: 1 / -1;
}

.api-response-box {
  margin-top: 0.5rem;
  padding: 0.8rem;
  border: 1px solid #d8deef;
  border-radius: 8px;
  background: #f8faff;
  color: #1a1a2e;
  font-size: 0.85rem;
  line-height: 1.4;
  overflow: auto;
  max-height: 420px;
}

.coming-soon {
  font-size: 1rem;
  color: #555;
  border-left: 3px solid #133070;
  padding: 0.75rem 1rem;
  background: #f4f6ff;
  border-radius: 0 6px 6px 0;
}

.calendar-section {
  margin-top: 1rem;
}

.calendar-section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.calendar-sources {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.calendar-source-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calendar-source-row label {
  width: 110px;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.calendar-source-row input {
  flex: 1;
  min-width: 0;
}

.calendar-source-row textarea,
.calendar-source-row select {
  flex: 1;
  min-width: 0;
}

.availability-inline-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}

.availability-inline-label .circular-icon-btn {
  margin-left: auto;
}

.availability-info-btn {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.availability-no-change-label-row {
  margin-top: 0.8rem;
}

.availability-block-advance-row .availability-info-btn {
  margin-left: auto;
}

.no-change-days-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 0.35rem 0.75rem;
  min-width: 250px;
  margin-top: 0.35rem;
}

.no-change-days-list label {
  width: auto;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.no-change-days-list .listing-no-change-day-checkbox {
  width: auto;
  flex: none;
  margin: 0;
}

.team-role-fieldset {
  margin: 0.5rem 0 0.8rem;
  border: 1px solid #d8dfef;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}

.team-role-fieldset legend {
  font-size: 0.85rem;
  color: #4a5674;
  padding: 0 0.25rem;
}

.team-role-checkboxes {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.team-role-option {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.88rem;
}

.property-textarea-row {
  align-items: flex-start;
}

.property-textarea-row textarea {
  resize: vertical;
}

.calendar-btn {
  width: auto;
  margin-top: 0;
  align-self: flex-start;
}

.calendar-fetched-at {
  font-size: 0.8rem;
  color: #888;
  margin-left: 0.75rem;
  vertical-align: middle;
}

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

.calendar-table {
  width: 100%;
  border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.92rem;
  vertical-align: top;
}

.calendar-table th {
  color: #666;
  font-weight: 600;
}

.calendar-table tr:hover td {
  background: #f4f6ff;
  cursor: default;
}

.calendar-table tr.conflict-row td {
  background: #fff1f1;
}

.calendar-table tr.conflict-row:hover td {
  background: #ffe3e3;
}

.source-airbnb {
  color: #ff5a5f;
  font-weight: 600;
}

.source-bookingcom {
  color: #003580;
  font-weight: 600;
}

.listings-block {
  margin-bottom: 1.5rem;
}

.listing-form-section {
  margin-top: 1.1rem;
}

.listing-form-section h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.config-block-section {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e7ebf5;
}

.config-block-section:last-of-type {
  border-bottom: none;
}

.config-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.config-block-header h3 {
  margin-bottom: 0;
}

.feed-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.config-icon-btn {
  width: calc(2rem * var(--ap-icon-scale));
  height: calc(2rem * var(--ap-icon-scale));
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: calc(1.15rem * var(--ap-icon-scale));
  line-height: 1;
}

.circular-icon-btn {
  width: calc(2rem * var(--ap-icon-scale));
  height: calc(2rem * var(--ap-icon-scale));
  min-width: calc(2rem * var(--ap-icon-scale));
  min-height: calc(2rem * var(--ap-icon-scale));
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1.5px solid #133070;
  background: transparent;
  color: #133070;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.circular-icon-btn svg {
  width: calc(1.1rem * var(--ap-icon-scale));
  height: calc(1.1rem * var(--ap-icon-scale));
  display: block;
}

.circular-icon-btn:hover {
  background: rgba(19, 48, 112, 0.1);
}

.circular-icon-btn:focus-visible {
  outline: 2px solid #133070;
  outline-offset: 2px;
}

.ops-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.ops-section-header h3 {
  margin-bottom: 0;
}

.calendar-refresh-btn {
  width: calc(2rem * var(--ap-icon-scale)) !important;
  height: calc(2rem * var(--ap-icon-scale));
  min-width: calc(2rem * var(--ap-icon-scale));
  min-height: calc(2rem * var(--ap-icon-scale));
  border-radius: 999px;
  padding: 0;
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  flex-shrink: 0;
}

.calendar-refresh-btn::before {
  content: '\21BB';
  font-size: calc(1rem * var(--ap-icon-scale));
  font-weight: 700;
  line-height: 1;
}

.config-item-list {
  margin-top: 0.5rem;
  border: 1px solid #e4e9f6;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.config-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #edf1f8;
}

.config-item-row:last-child {
  border-bottom: none;
}

.config-item-name {
  color: #1f2d4f;
  font-size: 0.93rem;
}

.config-item-empty {
  padding: 0.7rem 0.75rem;
  color: #5e6a86;
  font-size: 0.9rem;
}

.config-edit-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.admin-card {
  max-width: 720px;
}

.admin-delete-row {
  align-items: center;
}

.admin-delete-row select {
  flex: 1;
  min-width: 0;
}

.cleaning-listings {
  border: 1px solid #e3e7f1;
  border-radius: 8px;
  background: #f8faff;
  padding: 0.6rem 0.7rem;
  max-height: 220px;
  overflow-y: auto;
}

.cleaning-listing-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0;
  cursor: pointer;
}

.cleaning-listing-checkbox {
  width: 15px;
  height: 15px;
}

.cleaning-listing-name {
  font-size: 0.92rem;
  color: #24304b;
}

.cleaning-empty {
  font-size: 0.9rem;
  color: #59627d;
}

.cleaning-actions-row {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.cleaning-actions-row label {
  width: auto;
}

.cleaning-actions-row input,
.cleaning-actions-row select {
  min-width: 130px;
}

#cleaningDays {
  width: 120px;
}

#preparationDays {
  width: 120px;
}

.schedule-actions-row {
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
}

.schedule-actions-panel {
  padding-bottom: 0.55rem;
}

.schedule-export-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid #133070;
  border-radius: 8px;
  flex-shrink: 0;
}

.schedule-export-group .schedule-export-label {
  margin: 0;
}

.schedule-export-group select {
  min-width: 70px;
  padding: 0.35rem 0.4rem;
  border: 1px solid #dbe1ef;
  border-radius: 4px;
  font-size: 0.85rem;
  background: #fff;
}

.schedule-export-panel {
  border-top: 1px solid #dbe1ef;
  padding-top: 0.6rem;
  margin-top: 0.55rem;
}

.schedule-export-row {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.schedule-export-label {
  font-weight: 500;
  font-size: 0.93rem;
  white-space: nowrap;
}

.schedule-export-row select {
  min-width: 110px;
  padding: 0.45rem 0.55rem;
  border: 1px solid #dbe1ef;
  border-radius: 4px;
  font-size: 0.9rem;
  background: #fff;
}

.schedule-action-icon {
  width: calc(2rem * var(--ap-icon-scale)) !important;
  height: calc(2rem * var(--ap-icon-scale));
  min-width: calc(2rem * var(--ap-icon-scale));
  min-height: calc(2rem * var(--ap-icon-scale));
  border-radius: 999px;
  padding: 0;
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  flex-shrink: 0;
}

.schedule-action-icon::before {
  font-size: calc(1rem * var(--ap-icon-scale));
  font-weight: 700;
  line-height: 1;
}

.schedule-refresh-icon::before {
  content: '\21BB';
}

.schedule-tick-icon::before {
  content: '\2713';
}

.schedule-download-icon::before {
  content: '\2193';
}

.schedule-email-icon::before {
  content: '\2709';
}

/* ── New Icons ────────────────────────────────────────────── */
.action-logout::before,
.logout-icon::before {
  content: '\27A4';
  font-size: calc(1.1rem * var(--ap-icon-scale));
}

.action-next::before,
.next-icon::before {
  content: '\25B6';
  font-size: calc(0.9rem * var(--ap-icon-scale));
}

.action-previous::before,
.previous-icon::before,
.prev-icon::before {
  content: '\25C0';
  font-size: calc(0.9rem * var(--ap-icon-scale));
}

.action-bank-transfer::before,
.bank-transfer-icon::before,
.bank-icon::before {
  content: '\1F3E6';
  font-size: calc(1rem * var(--ap-icon-scale));
}

.action-copy::before,
.copy-icon::before {
  content: '\1F5D0';
  font-size: calc(1rem * var(--ap-icon-scale));
}

.action-cash::before,
.cash-payment-icon::before,
.cash-icon::before {
  content: '\1F4B5';
  font-size: calc(1rem * var(--ap-icon-scale));
}

.schedule-email-message {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: #4b556e;
}

.schedule-email-message.success {
  color: #1f7a37;
}

.schedule-email-message.error {
  color: #b31d1d;
}

.schedule-download-btn {
  width: auto;
  margin-top: 0;
}

.schedule-email-dialog {
  width: min(520px, calc(100vw - 2rem));
}

.schedule-email-dialog-body {
  gap: 0.6rem;
}

.schedule-email-dialog-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #32415f;
}

.schedule-email-dialog-input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #dbe1ef;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
}

.schedule-email-dialog-input:focus {
  outline: none;
  border-color: #133070;
  box-shadow: 0 0 0 2px rgba(19, 48, 112, 0.1);
}

.schedule-email-dialog-actions {
  gap: 0.6rem;
}

.schedule-preview {
  margin-top: 0.75rem;
  border: 1px solid #dbe1ef;
  border-radius: 8px;
  background: #f8faff;
  padding: 0.7rem;
}

.schedule-table-footer {
  margin-top: 0.65rem;
}

.schedule-preview .calendar-table {
  margin-top: 0.25rem;
}

.schedule-change-date,
.schedule-cleaner {
  padding: 0.4rem 0.5rem;
  border: 1px solid #dbe1ef;
  border-radius: 4px;
  font-size: 0.85rem;
  width: 100%;
  background: #ffffff;
}

.schedule-change-date:focus,
.schedule-cleaner:focus {
  outline: none;
  border-color: #133070;
  box-shadow: 0 0 0 2px rgba(19, 48, 112, 0.1);
}

.schedule-main-row {
  background: #d7e3fb;
  border-bottom: 1px solid #e0e0e0;
}

.schedule-entry-divider td {
  padding: 0;
  height: 0;
  line-height: 0;
  border-bottom: 0;
  border-top: 2px solid #b7c3df;
}

.schedule-sub-row {
  background: #ffffff;
}

.schedule-main-row.schedule-row-alt {
  background: #c8d7f8;
}

.schedule-sub-row.schedule-row-alt {
  background: #ffffff;
}

.schedule-controls-cell {
  padding: 0.6rem 0.7rem !important;
}

.schedule-controls {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.schedule-control-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 1;
  min-width: 200px;
}

.schedule-control-label {
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #4a4a4a;
}

.schedule-control-group input,
.schedule-control-group select {
  flex: 1;
  min-width: 120px;
}

.notification-log {
  margin-top: 0.5rem;
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #dbe1ef;
  border-radius: 8px;
  background: #f8faff;
  padding: 0.7rem;
}

.notification-log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.notification-log-header h3 {
  margin: 0;
}

.notification-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.notification-list li {
  font-size: 0.9rem;
  color: #31415f;
}

.feed-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.back-row {
  justify-content: flex-start;
}

.back-arrow-control {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #133070;
  text-decoration: none;
  cursor: pointer;
}

.back-arrow-control::before {
  content: '\2190';
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.back-arrow-control:hover {
  color: #0f2555;
}

.back-arrow-control:focus-visible {
  outline: 2px solid #133070;
  outline-offset: 2px;
  border-radius: 999px;
}

.floating-action-bar {
  position: static;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: fit-content;
  margin-left: auto;
  margin-top: 1rem;
  padding: 0.35rem;
  border: 1px solid #dbe1ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.floating-action-bar .btn {
  margin-top: 0;
}

.reset-password-page {
  border: 1px solid rgba(19, 48, 112, 0.2);
  border-radius: 16px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 4px 18px rgba(19, 48, 112, 0.04);
}

.reset-password-page .reset-password-header {
  margin-bottom: 1.5rem;
}

.reset-password-page .page-title {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #133070;
}

.reset-password-page .reset-password-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.goto-logon-link[hidden] {
  display: none !important;
}

.goto-logon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1.5px solid #133070;
  border-radius: 999px;
  padding: 0.5rem 0.9rem 0.5rem 1rem;
  background: transparent;
  color: #133070;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
}

.goto-logon-link:hover {
  background: rgba(19, 48, 112, 0.07);
}

.goto-logon-icon {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  border: 1.5px solid #133070;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.action-icon {
  width: 2rem !important;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0;
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.action-icon::before {
  font-size: 1rem;
  font-weight: 700;
}

.btn.schedule-action-icon,
.btn.action-icon {
  background: transparent;
  color: #133070;
  border: 1.5px solid #133070;
}

.btn.schedule-action-icon:hover,
.btn.action-icon:hover {
  background: rgba(19, 48, 112, 0.07);
}

.btn.schedule-action-icon:focus-visible,
.btn.action-icon:focus-visible {
  outline: 2px solid #133070;
  outline-offset: 2px;
}

.action-delete {
  order: 1;
}

.action-cancel {
  order: 2;
}

.action-save {
  order: 3;
}

.action-delete::before {
  content: '\1F5D1';
}

.action-cancel::before {
  content: '\2715';
}

.action-save::before {
  content: '\2713';
}

.action-next::before {
  content: '\2192';
  font-size: 1.1rem;
  line-height: 1;
}

.floating-action-bar .action-save.btn.primary {
  width: 2rem !important;
  margin-top: 0;
}

.floating-action-bar .action-save.btn.primary:hover {
  background: rgba(19, 48, 112, 0.07);
}

.floating-action-bar .btn:disabled {
  opacity: 0.55;
}

.floating-standalone-action {
  position: static;
}

.source-color-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.source-color-select {
  min-width: 120px;
  padding-right: 1.9rem;
}

.source-color-preview {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.feed-actions .btn {
  width: auto;
}

.calendar-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.8rem 0;
}

.month-label {
  font-size: 1.05rem;
  margin: 0;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 0.8rem;
  color: #555;
  font-size: 0.88rem;
}

.calendar-cleaner-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  margin: -0.2rem 0 0.8rem;
}

.cleaner-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid #dfe5f4;
  border-radius: 999px;
  background: #f7f9ff;
}

.cleaner-legend-name {
  font-size: 0.77rem;
  color: #3a4561;
  white-space: nowrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.reservation-calendar-wrap {
  overflow-x: hidden;
}

.reservation-calendar {
  display: grid;
  grid-template-columns: minmax(88px, 0.95fr) repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
  min-width: 0;
  width: 100%;
}

.calendar-weekday {
  font-size: 0.8rem;
  font-weight: 700;
  color: #666;
  padding: 0.2rem 0.1rem;
}

.calendar-weekday-corner {
  color: #4f5878;
}

.calendar-channel-labels {
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  background: #f4f6fb;
  min-height: 68px;
  padding: 0.28rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.calendar-channel-labels-spacer {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 68px;
}

.calendar-channel-label-row {
  min-height: 8px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.calendar-channel-label-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.calendar-channel-label-text {
  font-size: 0.65rem;
  color: #2e3350;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-day {
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  background: #fafbfe;
  min-height: 68px;
  padding: 0.28rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.calendar-day-empty {
  background: transparent;
  border-style: dashed;
  min-height: 60px;
}

.calendar-day-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2e3350;
}

.calendar-day-cleaners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem;
}

.calendar-day-cleaner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.05rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #2d3d66;
  color: #ffffff;
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1;
}

.calendar-day-bars {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.day-bar-slot {
  min-height: 8px;
}

.day-bar {
  height: 8px;
  border-radius: 4px;
  background: #cfd5e3;
  position: relative;
  overflow: hidden;
}

.day-bar-empty {
  background: transparent;
}

.day-transition-bar {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.day-bar-unavailable {
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.day-bar-policy-block {
  border: 1px solid rgba(31, 41, 55, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.day-bar-hatch {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0,
    rgba(255, 255, 255, 0.9) 2px,
    rgba(255, 255, 255, 0) 2px,
    rgba(255, 255, 255, 0) 5px
  );
  pointer-events: none;
}

.calendar-day-conflict {
  background: #ffe9e9;
  border-color: #ef8f8f;
}

.calendar-day-policy-blocked {
  background: #eef2f7;
  border-color: #9ca3af;
}

.calendar-day-advance-blocked {
  border-color: #6b7280;
  background: #f0f0f2;
  opacity: 0.72;
}

.calendar-day-advance-blocked .calendar-day-number {
  color: #6b7280;
}

@media (max-width: 620px) {
  .calendar-source-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-source-row label {
    width: auto;
  }

  .no-change-days-list {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }

  .calendar-btn {
    width: 100%;
  }

  .feed-actions {
    flex-direction: column;
  }

  .floating-action-bar {
    flex-direction: row;
  }

  .floating-standalone-action {
    position: static;
  }

  .public-booking-action-row {
    flex-wrap: wrap;
  }

  .public-booking-action-btn {
    width: 100%;
  }

  .admin-delete-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cleaning-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .schedule-export-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .schedule-email-input {
    max-width: none;
    flex: 1 1 220px;
  }

  .schedule-email-btn {
    width: 100%;
  }

  .schedule-download-btn {
    width: 100%;
  }

  #cleaningDays {
    width: 100%;
  }

  .top-bar {
    padding: 1rem;
  }

  .calendar-month-header {
    flex-wrap: wrap;
  }

  .month-label {
    width: 100%;
  }

  .reservation-calendar {
    grid-template-columns: minmax(72px, 0.9fr) repeat(7, minmax(0, 1fr));
    gap: 0.22rem;
  }

  .calendar-channel-label-text {
    font-size: 0.6rem;
  }

  .dashboard-tab-btn {
    font-size: 0.82rem;
    padding: 0.75rem 0.4rem;
    min-width: 72px;
  }
}

.ics-export-block {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #e8ecf5;
}

.ics-export-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.4rem;
}

.ics-export-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ics-export-url {
  flex: 1;
  font-size: 0.82rem;
  color: #31415f;
  background: #f4f6fb;
  border: 1.5px solid #d0d0d0;
  border-radius: 7px;
  padding: 0.5rem 0.7rem;
}

.ics-copy-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.ics-export-help {
  margin: 0.5rem 0 0;
  font-size: 0.76rem;
  color: #5f6675;
}

.admin-calendar-lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.admin-calendar-lab-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.admin-lab-row-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2e3350;
  margin: 0.45rem 0 0.35rem;
}

.admin-lab-row {
  display: grid;
  grid-template-columns: auto minmax(130px, 1fr);
  gap: 0.35rem 0.55rem;
  justify-content: flex-end;
  align-items: center;
}

.admin-lab-row label {
  font-size: 0.8rem;
  color: #4b587a;
  white-space: nowrap;
}

.admin-lab-row .btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.2rem;
}

.admin-lab-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.3rem;
}

.admin-lab-calendar-grid .calendar-weekday {
  text-align: center;
}

.admin-lab-calendar-grid .calendar-day {
  min-height: 58px;
}

.admin-lab-bar-local {
  background: #1d4ed8;
}

.admin-lab-bar-imported {
  background: #dc2626;
}

.admin-lab-bar-mixed {
  background: linear-gradient(90deg, #1d4ed8 0 50%, #dc2626 50% 100%);
}

.admin-lab-links-row {
  margin-top: 0.65rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.admin-lab-links-row .btn.inline-btn {
  width: auto;
  margin-top: 0;
}
.resource-editor-row {
  align-items: flex-start;
}

.resource-editor-wrap {
  flex: 1;
  min-width: 0;
}

.resource-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.editor-btn {
  width: auto;
  margin-top: 0;
  padding: 0.4rem 0.6rem;
  font-size: 0.84rem;
}

.editor-underline {
  text-decoration: underline;
}

.resource-editor {
  min-height: 170px;
  border: 1.5px solid #d0d0d0;
  border-radius: 7px;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  line-height: 1.45;
  background: #ffffff;
}

.resource-editor:focus {
  outline: none;
  border-color: #133070;
  box-shadow: 0 0 0 3px rgba(19,48,112,0.15);
}

.resource-payment-row {
  align-items: flex-start;
}

.resource-payment-options {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.resource-payment-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #2d334a;
  width: auto;
  font-weight: 400;
}

.resource-payment-row .resource-payment-option {
  width: auto;
}

.resource-payment-row .resource-payment-option input[type="checkbox"] {
  flex: 0 0 auto;
  min-width: 16px;
  max-width: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  appearance: auto;
  -webkit-appearance: checkbox;
  background: transparent;
}

.resource-payment-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.resource-payment-option span {
  flex: 0 1 auto;
}

.resource-payment-messages-row {
  align-items: flex-start;
}

.resource-payment-messages-wrap {
  flex: 1;
  min-width: 0;
}

.resource-payment-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.resource-payment-tab {
  width: auto;
  margin-top: 0;
  padding: 0.4rem 0.6rem;
  font-size: 0.84rem;
}

.resource-payment-tab.is-active {
  background: #133070;
  color: #fff;
  border-color: #133070;
}

.resource-payment-tab.disabled {
  opacity: 0.55;
}

.payment-editor-btn {
  width: auto;
  margin-top: 0;
  padding: 0.4rem 0.6rem;
  font-size: 0.84rem;
}

.resource-charge-row {
  align-items: flex-start;
}

.resource-charge-config {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.resource-charge-summary {
  font-size: 0.9rem;
  color: #31415f;
  line-height: 1.45;
}

.resource-charge-page .card-container.wide {
  max-width: 560px;
}

.resource-charge-page .help-text {
  margin-top: 0.35rem;
  margin-bottom: 0.15rem;
}

.resource-charge-page .listing-form-section {
  margin-top: 1.35rem;
}

.resource-charge-page .resource-dialog-body {
  gap: 0.9rem;
}

.resource-charge-page .resource-dialog-fieldset {
  background: #fafbfd;
}

.resource-charge-page .resource-hourly-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.1rem;
}

.resource-charge-actions {
  flex-wrap: wrap;
}

.resource-charge-actions .btn.primary {
  width: auto;
  flex: 1 1 180px;
}

.resource-charge-actions .btn.secondary {
  width: auto;
  flex: 0 0 auto;
}

.floating-action-bar.resource-charge-actions .btn {
  flex: 0 0 auto;
}

@media (max-width: 700px) {
  .resource-charge-page .resource-hourly-grid {
    grid-template-columns: 1fr;
  }
}

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

  .admin-lab-row {
    grid-template-columns: 1fr;
  }
.resource-dialog {
  width: min(760px, calc(100vw - 2rem));
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.24);
}

.resource-dialog::backdrop {
  background: rgba(15, 23, 42, 0.42);
}

.resource-dialog form {
  padding: 1.2rem 1.2rem 1rem;
}

.resource-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resource-dialog-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.resource-dialog-body {
  display: grid;
  gap: 1rem;
}

.resource-dialog-fieldset {
  border: 1px solid #dbe1ef;
  border-radius: 10px;
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.resource-dialog-fieldset-disabled {
  opacity: 0.52;
  background: #f4f6fb;
}

.resource-dialog-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #32415f;
}

.resource-radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  font-weight: 400;
}

.resource-radio-option input[type="radio"] {
  margin: 0;
  flex: 0 0 auto;
}

.resource-rate-input-wrap {
  display: grid;
  gap: 0.4rem;
}

.resource-rate-input-wrap label {
  width: auto;
  font-size: 0.88rem;
}

.resource-hourly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.55rem 0.8rem;
}

.resource-hourly-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.45rem;
  align-items: center;
}

.resource-hourly-row label {
  width: auto;
  font-size: 0.84rem;
  color: #4b556e;
}

.resource-dialog-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.resource-payment-option.disabled {
  opacity: 0.55;
}

.resource-booking-url-row {
  align-items: flex-start;
}

.resource-booking-url-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.resource-booking-url-wrap input {
  flex: 1;
  min-width: 0;
  background: #f4f6fb;
}

.public-booking-card {
  max-width: 760px;
}

.public-booking-description {
  border: 1px solid #dbe1ef;
  border-radius: 8px;
  background: #f8faff;
  padding: 0.85rem 0.9rem;
  line-height: 1.5;
  color: #2b3550;
}

.public-booking-placeholder {
  color: #4f5d7a;
  font-size: 0.92rem;
}

.public-booking-divider-row {
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid #e2e8f4;
}

.public-booking-table th[scope="row"] {
  width: 170px;
  color: #2f3d5a;
}

.public-booking-table td input {
  width: 100%;
}

.public-booking-spaces-row {
  margin-top: 0.8rem;
}

.public-booking-spaces-wrap {
  flex: 1;
  min-width: 0;
}

.public-booking-spaces-wrap input {
  width: 100%;
}

.public-booking-spaces-hint {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #5a6785;
}

.public-booking-rate-line {
  margin-top: 0.9rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: #2f3d5a;
}

.public-booking-rate-debug {
  margin-top: 0.45rem;
  padding: 0.55rem 0.65rem;
  border: 1px dashed #b8c5e3;
  border-radius: 6px;
  background: #f7f9ff;
  color: #35426a;
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.public-booking-actions {
  margin-top: 1rem;
}

.public-booking-action-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.public-booking-action-btn {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.public-booking-action-row .btn.primary {
  width: auto;
  margin-top: 0;
  flex: 0 0 auto;
}

.public-booking-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.public-booking-payment-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: #2d334a;
}

.public-booking-payment-option input[type="radio"] {
  width: 16px;
  height: 16px;
}

.public-booking-payment-message {
  margin-top: 0.85rem;
  border: 1px solid #dbe1ef;
  border-radius: 8px;
  background: #f8faff;
  padding: 0.85rem 0.9rem;
  line-height: 1.5;
  color: #2b3550;
}

.public-booking-payment-select {
  flex: 1;
  min-width: 0;
}

.public-reservation-payment-message {
  margin-bottom: 1rem;
  border: 1px solid #dbe1ef;
  border-radius: 8px;
  background: #f8faff;
  padding: 0.9rem 1rem;
  line-height: 1.6;
  color: #2b3550;
}

.public-reservation-payment-message:empty {
  display: none;
}

.public-reservation-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.2rem;
  margin: 0;
}

.public-reservation-details dt {
  font-weight: 600;
  color: var(--text-secondary, #555);
}

.public-reservation-details dd {
  margin: 0;
}

.public-reservation-guest-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 0.6rem 1rem;
  align-items: center;
}

.public-reservation-guest-grid label {
  font-weight: 600;
  color: #2b3550;
}

.public-reservation-guest-grid input,
.public-reservation-guest-grid select {
  min-width: 0;
}

@media (max-width: 700px) {
  .public-reservation-guest-grid {
    grid-template-columns: 1fr;
  }
}

.public-resource-reservations-wrap {
  margin-top: 1rem;
}

.public-resource-reservations-empty {
  text-align: center;
  color: #5a6785;
}
