/* Theme Ocean overrides split from legacy style.css on 20260519_145707 */ 
body.theme-ocean .message-hub-summary-card,
body.theme-ocean .message-template-card,
body.theme-ocean .message-mini-panel,
body.theme-ocean .message-template-preview {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(177, 146, 122, 0.22);
  color: #4e3427;
}

body.theme-ocean .message-hub-contact {
  background: rgba(255, 56, 92, 0.12);
  color: #9f1239;
}

body.theme-ocean .message-dashboard-table tr.is-selected {
  background: rgba(255, 56, 92, 0.08);
}

body.theme-ocean .message-state-chip,
body.theme-ocean .message-flag {
  background: rgba(255, 250, 247, 0.92);
  color: #6d4b3b;
  border-color: rgba(177, 146, 122, 0.26);
}

body.theme-ocean .calendar-rateplan-row-ota.has-ota-accent .rateplan-cell {
  background:
    linear-gradient(90deg, var(--calendar-ota-accent-soft, rgba(37, 99, 235, 0.14)) 0%, rgba(9, 16, 32, 0.82) 72%);
  border-left-color: var(--calendar-ota-accent, rgba(125, 211, 252, 0.85));
}

body.theme-ocean .calendar-rateplan-row-ota.has-ota-accent .calendar-cell.rateplan-price,
body.theme-ocean .calendar-rateplan-row-ota.has-ota-accent .calendar-cell.rateplan-price:hover {
  background: linear-gradient(180deg, var(--calendar-ota-accent-soft, rgba(37, 99, 235, 0.08)) 0%, rgba(16, 24, 40, 0.56) 100%);
}

body.theme-ocean .calendar-table.calendar-category-availability tr.calendar-category-availability-row td,
body.theme-ocean .calendar-table.calendar-category-availability tr.calendar-category-availability-row th {
  border-top-color: rgba(191, 144, 86, 0.72);
}

body.theme-ocean .calendar-table.calendar-category-availability tr.calendar-category-availability-row .category-cell {
  box-shadow:
    inset 0 3px 0 rgba(191, 144, 86, 0.78),
    2px 0 6px rgba(52, 39, 29, 0.08);
}

body.theme-ocean .calendar-table.calendar-category-availability tr.calendar-category-availability-row .calendar-cell.availability {
  box-shadow: inset 0 3px 0 rgba(191, 144, 86, 0.32);
}

body.theme-ocean {
  background: linear-gradient(180deg, #f4f8fc 0%, #edf4fb 32%, #e6eff9 100%);
  color: #132235;
}

body.theme-ocean a {
  color: #0f6c9d;
}

body.theme-ocean .app-header,
body.theme-ocean .app-footer {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(128, 154, 180, 0.32);
  color: #132235;
}

body.theme-ocean .brand-link,
body.theme-ocean .sidebar-title,
body.theme-ocean .user-meta,
body.theme-ocean .property-group-title,
body.theme-ocean .panel h1,
body.theme-ocean .panel h2,
body.theme-ocean .panel h3,
body.theme-ocean .panel h4,
body.theme-ocean .panel h5,
body.theme-ocean .panel h6,
body.theme-ocean .form-section h1,
body.theme-ocean .form-section h2,
body.theme-ocean .form-section h3,
body.theme-ocean .form-section h4,
body.theme-ocean .form-section h5,
body.theme-ocean .form-section h6 {
  color: #132235;
}

body.theme-ocean .brand-icon {
  background: rgba(14, 116, 144, 0.12);
  border-color: rgba(14, 116, 144, 0.28);
}

body.theme-ocean .brand-icon svg,
body.theme-ocean .icon-button svg {
  fill: #0f4f73;
}

body.theme-ocean .icon-button {
  background: rgba(244, 250, 255, 0.98);
  border-color: rgba(123, 160, 187, 0.45);
  color: #14324d;
}

body.theme-ocean .user-meta a {
  color: #c2410c;
}

body.theme-ocean .sidebar-backdrop {
  background: rgba(138, 161, 186, 0.24);
}

body.theme-ocean .app-sidebar {
  background: #f6fbff;
  border-right-color: rgba(128, 154, 180, 0.35);
  color: #18314c;
}

body.theme-ocean .sidebar-close {
  color: #18314c;
}

body.theme-ocean .sidebar-settings-link {
  background: rgba(26, 120, 152, 0.1);
  border-color: rgba(130, 160, 188, 0.32);
  color: #1f4f6c;
}

body.theme-ocean .sidebar-settings-link:hover,
body.theme-ocean .sidebar-settings-link:focus-visible {
  background: rgba(26, 120, 152, 0.18);
  border-color: rgba(26, 120, 152, 0.34);
}

body.theme-ocean .sidebar-section {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(130, 160, 188, 0.28);
}

body.theme-ocean .sidebar-section-toggle .chevron {
  border-right-color: rgba(56, 94, 125, 0.9);
  border-bottom-color: rgba(56, 94, 125, 0.9);
}

body.theme-ocean .sidebar-links a {
  background: rgba(26, 120, 152, 0.1);
  color: #12324e;
}

body.theme-ocean .sidebar-links a:hover {
  background: rgba(26, 120, 152, 0.18);
}

body.theme-ocean .panel,
body.theme-ocean .form-section,
body.theme-ocean .payment-section-card,
body.theme-ocean .card,
body.theme-ocean .reservation-panel,
body.theme-ocean .settings-tab-panel,
body.theme-ocean .folio-tab-panel,
body.theme-ocean .reservation-create-form .form-section {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(128, 154, 180, 0.28);
  box-shadow: 0 18px 40px rgba(122, 146, 172, 0.14);
  color: #132235;
}

body.theme-ocean label,
body.theme-ocean legend,
body.theme-ocean strong,
body.theme-ocean .reservation-title,
body.theme-ocean .folio-pane-title,
body.theme-ocean .reservation-summary,
body.theme-ocean .dashboard-kpi-label,
body.theme-ocean .dashboard-kpi-value {
  color: #17314b;
}

body.theme-ocean .muted,
body.theme-ocean .tax-item-row td,
body.theme-ocean .reservation-meta,
body.theme-ocean .reservation-source,
body.theme-ocean .calendar-empty-label {
  color: #5f7892;
}

body.theme-ocean input,
body.theme-ocean select,
body.theme-ocean textarea,
body.theme-ocean button {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(128, 154, 180, 0.42);
  color: #132235;
}

body.theme-ocean input::placeholder,
body.theme-ocean textarea::placeholder {
  color: #7b8fa4;
}

body.theme-ocean input[type="date"],
body.theme-ocean input[type="datetime-local"],
body.theme-ocean input[type="time"],
body.theme-ocean input[type="month"],
body.theme-ocean input[type="week"] {
  color-scheme: light;
}

body.theme-ocean input[type="date"]::-webkit-calendar-picker-indicator,
body.theme-ocean input[type="datetime-local"]::-webkit-calendar-picker-indicator,
body.theme-ocean input[type="time"]::-webkit-calendar-picker-indicator,
body.theme-ocean input[type="month"]::-webkit-calendar-picker-indicator,
body.theme-ocean input[type="week"]::-webkit-calendar-picker-indicator {
  filter: none;
}

body.theme-ocean button,
body.theme-ocean .button-primary,
body.theme-ocean .button-secondary,
body.theme-ocean .link-button,
body.theme-ocean .settings-tab-trigger.is-active,
body.theme-ocean .payment-tab.is-active {
  background: linear-gradient(135deg, #3cc7e8, #1696c3);
  border-color: rgba(20, 117, 153, 0.65);
  color: #ffffff;
}

body.theme-ocean button:hover,
body.theme-ocean .button-primary:hover,
body.theme-ocean .button-secondary:hover,
body.theme-ocean .link-button:hover {
  background: linear-gradient(135deg, #28b5d8, #0f83af);
}

body.theme-ocean .settings-tab-trigger,
body.theme-ocean .payment-tab,
body.theme-ocean .subtab-button,
body.theme-ocean .folio-pill,
body.theme-ocean .reservation-balance-pill,
body.theme-ocean .calendar-balance-pill {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(123, 160, 187, 0.45);
  color: #12324d;
}

body.theme-ocean .settings-tab-trigger:hover,
body.theme-ocean .payment-tab:hover,
body.theme-ocean .subtab-button:hover {
  background: rgba(58, 176, 208, 0.12);
}

body.theme-ocean .reservation-create-form .wizard-field.is-filled input,
body.theme-ocean .reservation-create-form .wizard-field.is-filled select,
body.theme-ocean .reservation-create-form .wizard-field.is-filled textarea {
  background-color: rgba(242, 249, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(35, 135, 170, 0.16);
}

body.theme-ocean .reservation-create-form .wizard-field.is-empty input,
body.theme-ocean .reservation-create-form .wizard-field.is-empty select,
body.theme-ocean .reservation-create-form .wizard-field.is-empty textarea {
  background-color: rgba(255, 248, 248, 0.96);
}

body.theme-ocean .reservation-create-form .wizard-field.is-locked input,
body.theme-ocean .reservation-create-form .wizard-field.is-locked select,
body.theme-ocean .reservation-create-form .wizard-field.is-locked textarea {
  background-color: rgba(238, 244, 250, 0.95);
  color: #7b8fa4;
  border-color: rgba(160, 180, 198, 0.32);
}

body.theme-ocean table,
body.theme-ocean .compact-table,
body.theme-ocean .calendar-table {
  color: #132235;
}

body.theme-ocean th {
  background: rgba(226, 237, 248, 0.92);
  color: #17314b;
  border-color: rgba(128, 154, 180, 0.3);
}

body.theme-ocean td,
body.theme-ocean .tax-item-row td {
  border-color: rgba(128, 154, 180, 0.22);
  background: rgba(255, 255, 255, 0.7);
}

body.theme-ocean .tax-item-row td {
  background: rgba(244, 249, 255, 0.9);
}

body.theme-ocean .calendar-table {
  scrollbar-color: rgba(104, 142, 171, 0.65) rgba(224, 234, 244, 0.86);
}

body.theme-ocean .calendar-table thead th,
body.theme-ocean .calendar-table .calendar-day-header {
  background: linear-gradient(180deg, #e5f0fa 0%, #d9e9f7 100%);
  color: #18314c;
}

body.theme-ocean .calendar-cell {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(127, 154, 180, 0.22);
}

body.theme-ocean .calendar-cell.is-empty {
  background: rgba(250, 252, 255, 0.92);
}

body.theme-ocean .calendar-table .calendar-cell.is-today:not(.reservation) {
  background: rgba(186, 230, 253, 0.28);
}

body.theme-ocean .calendar-cell.reservation {
  border-color: rgba(46, 112, 151, 0.35);
}

body.theme-ocean .calendar-cell.reservation .reservation-chip {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38), 0 10px 22px rgba(72, 102, 130, 0.16);
}

body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-body,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-summary,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-guest,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-total,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-hold,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-paid,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-pending,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-meta {
  color: #ffffff;
}

body.theme-ocean .error {
  color: #c2410c;
}

body.theme-ocean .success {
  color: #047857;
}

body.theme-ocean .analytics-card,
body.theme-ocean .daily-property,
body.theme-ocean .availability-property,
body.theme-ocean .daily-row,
body.theme-ocean .dashboard-placeholder,
body.theme-ocean .status-summary,
body.theme-ocean .hold-confirmation,
body.theme-ocean .note-item,
body.theme-ocean .note-editor,
body.theme-ocean .arrivals-chart,
body.theme-ocean .subtab-panel,
body.theme-ocean .subtab-info,
body.theme-ocean .reservation-summary,
body.theme-ocean .reservation-card,
body.theme-ocean .reservation-dock,
body.theme-ocean .folio-section {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(128, 154, 180, 0.28);
  color: #132235;
}

body.theme-ocean .analytics-card small,
body.theme-ocean .daily-field .label,
body.theme-ocean .daily-balance .label,
body.theme-ocean .reservation-card dt,
body.theme-ocean .reservation-title-sub,
body.theme-ocean .reservation-detail-top-right .label,
body.theme-ocean .reservation-detail-balance .label,
body.theme-ocean .note-meta,
body.theme-ocean .note-date,
body.theme-ocean .arrivals-bar-label,
body.theme-ocean .pill,
body.theme-ocean .status-pill,
body.theme-ocean .dashboard-obligation-type-label {
  color: #617b95;
}

body.theme-ocean .analytics-card strong,
body.theme-ocean .analytics-card span,
body.theme-ocean .daily-field span,
body.theme-ocean .daily-status,
body.theme-ocean .daily-balance strong,
body.theme-ocean .reservation-card dd,
body.theme-ocean .reservation-title-main,
body.theme-ocean .reservation-detail-top-right .value,
body.theme-ocean .reservation-detail-balance .value,
body.theme-ocean .note-text,
body.theme-ocean .arrivals-bar-value,
body.theme-ocean .daily-column h4,
body.theme-ocean .dashboard-property-summary h2,
body.theme-ocean .dashboard-availability-header h4,
body.theme-ocean .dashboard-arrivals-list h3 {
  color: #132235;
}

body.theme-ocean .analytics-card {
  box-shadow: 0 14px 26px rgba(127, 149, 173, 0.12);
}

body.theme-ocean .dashboard-activities-tabs .reservation-tab-nav,
body.theme-ocean .dashboard-obligations-tabs .reservation-tab-nav,
body.theme-ocean .activities-tabs .reservation-tab-nav,
body.theme-ocean .dashboard-availability-inline {
  border-color: rgba(128, 154, 180, 0.24);
}

body.theme-ocean .dashboard-activities-tabs .reservation-tab-trigger,
body.theme-ocean .dashboard-obligations-tabs .reservation-tab-trigger,
body.theme-ocean .activities-tabs .reservation-tab-trigger {
  color: #5d7690;
}

body.theme-ocean .dashboard-activities-tabs .reservation-tab-trigger:hover,
body.theme-ocean .dashboard-obligations-tabs .reservation-tab-trigger:hover,
body.theme-ocean .activities-tabs .reservation-tab-trigger:hover {
  background: rgba(45, 163, 197, 0.1);
}

body.theme-ocean .dashboard-activities-tabs .reservation-tab-trigger.is-active,
body.theme-ocean .dashboard-obligations-tabs .reservation-tab-trigger.is-active,
body.theme-ocean .activities-tabs .reservation-tab-trigger.is-active {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(72, 144, 176, 0.38);
  color: #132235;
}

body.theme-ocean .dashboard-obligation-type-nav {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(128, 154, 180, 0.3);
}

body.theme-ocean .dashboard-obligation-type-option + .dashboard-obligation-type-option {
  border-left-color: rgba(128, 154, 180, 0.24);
}

body.theme-ocean .dashboard-obligation-type-option:hover .dashboard-obligation-type-label {
  background: rgba(45, 163, 197, 0.08);
}

body.theme-ocean .dashboard-obligation-type-option.is-active .dashboard-obligation-type-label {
  background: rgba(45, 163, 197, 0.14);
  box-shadow: inset 0 -2px 0 rgba(17, 118, 152, 0.45);
  color: #132235;
}

body.theme-ocean .pill,
body.theme-ocean .status-pill {
  background: rgba(240, 247, 253, 0.96);
  border-color: rgba(128, 154, 180, 0.34);
}

body.theme-ocean .status-pill.is-inhouse {
  background: rgba(220, 252, 231, 0.92);
  color: #166534;
  border-color: rgba(74, 222, 128, 0.45);
}

body.theme-ocean .arrivals-chart {
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.96), rgba(236, 244, 252, 0.96));
}

body.theme-ocean .arrivals-bar-fill {
  box-shadow: 0 8px 16px rgba(81, 125, 161, 0.18);
}

body.theme-ocean .note-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 253, 0.98));
  box-shadow: 0 12px 24px rgba(122, 146, 172, 0.12);
}

body.theme-ocean .note-date {
  background: rgba(240, 247, 253, 0.96);
  border-color: rgba(128, 154, 180, 0.24);
}

body.theme-ocean .note-actions-buttons button {
  background: rgba(45, 163, 197, 0.12);
  border-color: rgba(45, 163, 197, 0.34);
  color: #134467;
}

body.theme-ocean .note-actions-buttons button:hover {
  background: rgba(45, 163, 197, 0.18);
}

body.theme-ocean .subtab-trigger,
body.theme-ocean .subtab-dynamic-item,
body.theme-ocean .reservation-tab-trigger,
body.theme-ocean .dashboard-payments-form input,
body.theme-ocean .dashboard-payments-form select,
body.theme-ocean .dashboard-date-form input,
body.theme-ocean .dashboard-date-form select,
body.theme-ocean .dashboard-arrivals-filter select,
body.theme-ocean .dashboard-arrivals-filter input,
body.theme-ocean .tab-actions select,
body.theme-ocean .tab-actions input {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(128, 154, 180, 0.36);
  color: #132235;
}

body.theme-ocean .subtab-trigger.is-active,
body.theme-ocean .reservation-tab-trigger.is-active {
  background: rgba(46, 175, 210, 0.14);
  border-color: rgba(46, 175, 210, 0.42);
  color: #132235;
}

body.theme-ocean .subtab-dynamic-item {
  padding-left: 2px;
}

body.theme-ocean .subtab-close {
  color: #c2410c;
}

body.theme-ocean .calendar-card,
body.theme-ocean .detail-card,
body.theme-ocean .calendar-controls,
body.theme-ocean .calendar-filters,
body.theme-ocean .calendar-mobile-controls-row,
body.theme-ocean .calendar-occupancy,
body.theme-ocean .calendar-rateplan-row .rateplan-cell,
body.theme-ocean .calendar-quickres-window,
body.theme-ocean .activity-calendar-card,
body.theme-ocean .activity-calendar-panel,
body.theme-ocean .message-send-card,
body.theme-ocean .category-calendar-display-panel {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(128, 154, 180, 0.28);
  color: #132235;
}

body.theme-ocean .calendar-quickres-window {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 247, 253, 0.99));
  box-shadow: 0 24px 50px rgba(120, 146, 176, 0.22);
}

body.theme-ocean .calendar-quickres-lightbox {
  background: rgba(122, 146, 172, 0.24);
}

body.theme-ocean .calendar-quickres-context,
body.theme-ocean .room-subtitle,
body.theme-ocean .reservation-dates,
body.theme-ocean .calendar-category-cell .calendar-category-prefix,
body.theme-ocean .calendar-category-cell .calendar-category-separator,
body.theme-ocean .calendar-mobile-hint,
body.theme-ocean .activity-calendar-panel label,
body.theme-ocean .activity-calendar-card .muted {
  color: #5f7892;
}

body.theme-ocean .calendar-table .room-header,
body.theme-ocean .calendar-table .room-cell,
body.theme-ocean .calendar-category-availability-row .category-cell,
body.theme-ocean .calendar-category-row .calendar-category-cell,
body.theme-ocean .calendar-category-row .calendar-category-fill-cell,
body.theme-ocean .calendar-table .day-header,
body.theme-ocean .calendar-rateplan-row .rateplan-cell {
  background: rgba(239, 246, 253, 0.98);
  border-color: rgba(128, 154, 180, 0.22);
  color: #17314b;
  box-shadow: 2px 0 4px rgba(120, 146, 176, 0.12);
}

body.theme-ocean .calendar-table .day-header.is-weekend {
  background: rgba(251, 207, 232, 0.55);
}

body.theme-ocean .calendar-table .day-header.is-today {
  background: rgba(187, 247, 208, 0.72);
}

body.theme-ocean .calendar-rateplan-row .rateplan-name,
body.theme-ocean .calendar-table .room-cell .room-code,
body.theme-ocean .calendar-category-cell .calendar-category-name,
body.theme-ocean .calendar-category-cell .calendar-category-rooms,
body.theme-ocean .calendar-table .day-header .day-name,
body.theme-ocean .calendar-table .day-header .day-date {
  color: #17314b;
}

body.theme-ocean .calendar-cell,
body.theme-ocean .calendar-cell.is-empty,
body.theme-ocean .calendar-cell.rateplan-price,
body.theme-ocean .calendar-cell.availability,
body.theme-ocean .calendar-category-row .calendar-category-fill-cell {
  background: rgba(251, 253, 255, 0.96);
  border-color: rgba(128, 154, 180, 0.16);
  color: #17314b;
}

body.theme-ocean .calendar-cell.availability {
  background: rgba(219, 234, 254, 0.78);
}

body.theme-ocean .calendar-cell.availability.is-soldout {
  background: rgba(254, 226, 226, 0.92);
  color: #991b1b;
}

body.theme-ocean .calendar-cell.rateplan-price:hover {
  background: rgba(186, 230, 253, 0.4);
}

body.theme-ocean .calendar-cell.rateplan-price.is-empty,
body.theme-ocean body.calendar-move-mode .calendar-cell.is-empty {
  background: rgba(244, 248, 252, 0.94);
}

body.theme-ocean .calendar-cell.is-empty.is-range-selected,
body.theme-ocean .calendar-table .calendar-cell.is-empty.is-range-selected,
body.theme-ocean .calendar-table .calendar-cell.is-empty.is-range-selected.is-today {
  background: rgba(186, 230, 253, 0.46);
}

body.theme-ocean .calendar-table .calendar-cell.is-empty.is-selection-price-block {
  background: rgba(186, 230, 253, 0.52) !important;
  border-top-color: rgba(59, 130, 246, 0.22);
  border-bottom-color: rgba(59, 130, 246, 0.22);
  border-right-color: transparent;
}

body.theme-ocean .calendar-empty-selection-label {
  background: linear-gradient(180deg, rgba(8, 47, 73, 0.9) 0%, rgba(12, 74, 110, 0.92) 100%);
  color: #f8fafc;
  border-color: rgba(103, 232, 249, 0.32);
  box-shadow: 0 8px 18px rgba(8, 47, 73, 0.2);
}

body.theme-ocean .calendar-table .calendar-cell.is-empty.is-selection-price-start,
body.theme-ocean .calendar-table .calendar-cell.is-empty.is-selection-price-solo {
  border-left-color: rgba(14, 165, 233, 0.7);
}

body.theme-ocean .calendar-table .calendar-cell.is-empty.is-selection-price-end,
body.theme-ocean .calendar-table .calendar-cell.is-empty.is-selection-price-solo {
  border-right-color: rgba(14, 165, 233, 0.7);
}

body.theme-ocean .calendar-cell.is-reservation-selected {
  background: rgba(186, 230, 253, 0.18);
}

body.theme-ocean .calendar-reservation-button:focus-visible {
  outline-color: #0ea5e9;
}

body.theme-ocean .reservation-state-icon {
  background: rgba(240, 247, 253, 0.95);
  border-color: rgba(128, 154, 180, 0.34);
  color: #3b5b78;
}

body.theme-ocean .reservation-state-icon.is-active {
  background: rgba(186, 230, 253, 0.52);
  color: #0f4f73;
}

body.theme-ocean .calendar-cell.is-no-folio .reservation-no-folio,
body.theme-ocean .calendar-cell.is-warning .reservation-warning,
body.theme-ocean .calendar-cell .reservation-no-folio,
body.theme-ocean .calendar-cell .reservation-warning {
  color: #9a3412;
}

body.theme-ocean .room-tag,
body.theme-ocean .button-link {
  background: rgba(186, 230, 253, 0.3);
  border-color: rgba(56, 189, 248, 0.34);
  color: #0f6c9d;
}

body.theme-ocean .calendar-action-btn,
body.theme-ocean .daily-row-actions .button-secondary,
body.theme-ocean .subtab-actions .button-secondary {
  background: rgba(45, 163, 197, 0.12);
  border-color: rgba(45, 163, 197, 0.34);
  color: #134467;
}

body.theme-ocean .calendar-action-btn:hover,
body.theme-ocean .daily-row-actions .button-secondary:hover,
body.theme-ocean .subtab-actions .button-secondary:hover {
  background: rgba(45, 163, 197, 0.2);
}

body.theme-ocean .activity-calendar-panel input,
body.theme-ocean .activity-calendar-panel select,
body.theme-ocean .activity-calendar-panel textarea,
body.theme-ocean .calendar-quickres-form input,
body.theme-ocean .calendar-quickres-form select,
body.theme-ocean .calendar-quickres-form textarea {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(128, 154, 180, 0.34);
  color: #132235;
}

.form-grid.grid-1 {
  grid-template-columns: 1fr;
}

/* Calendar horizontal scroll stays inside the calendar container. */
html,
body {
  overflow-x: hidden;
}

.calendar-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 10px;
  scrollbar-gutter: stable both-edges;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 134, 164, 0.7) rgba(9, 16, 32, 0.6);
  -webkit-overflow-scrolling: touch;
}

.calendar-table {
  display: inline-table;
  width: calc(var(--calendar-room-width, 156px) + (var(--calendar-day-count, 0) * var(--calendar-day-width, 120px)));
  min-width: calc(var(--calendar-room-width, 156px) + (var(--calendar-day-count, 0) * var(--calendar-day-width, 120px)));
  --calendar-cell-height: 76px;
  --calendar-header-height: 24px;
  table-layout: auto;
}

.calendar-table .day-header,
.calendar-cell {
  width: var(--calendar-day-width, 120px);
  min-width: var(--calendar-day-width, 120px);
  max-width: var(--calendar-day-width, 120px);
}

.calendar-table th,
.calendar-table td {
  height: var(--calendar-cell-height);
  overflow: hidden;
}

.calendar-cell {
  height: var(--calendar-cell-height);
  max-height: var(--calendar-cell-height);
  overflow: hidden;
}

.calendar-table tr {
  height: var(--calendar-cell-height);
}

.calendar-table tr.calendar-month-row,
.calendar-table tr.calendar-day-row {
  height: var(--calendar-header-height);
}

.calendar-table thead th {
  height: var(--calendar-header-height);
  padding: 2px 6px;
}

.calendar-month-row .month-header {
  height: var(--calendar-header-height);
  padding: 2px 6px;
}

.calendar-day-row th {
  height: var(--calendar-header-height);
  padding: 2px 6px;
}

.calendar-property-header {
  height: calc(var(--calendar-header-height) * 2);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.05;
  padding: 2px 4px;
}

.calendar-property-header .calendar-property-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.calendar-month-row .month-header {
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 2px solid rgba(148, 163, 184, 0.3);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  padding: 2px 6px;
  position: relative;
  overflow: hidden;
}

.calendar-month-row .month-header .month-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  max-width: 42%;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.calendar-month-row .month-header .month-label-start {
  left: 6px;
  text-align: left;
  font-size: 0.56rem;
  opacity: 0.92;
}

.calendar-month-row .month-header .month-label-center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.98;
}

.calendar-month-row .month-header .month-label-end {
  right: 6px;
  text-align: right;
  font-size: 0.56rem;
  opacity: 0.92;
}

.calendar-month-row .room-header {
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 2px solid rgba(148, 163, 184, 0.3);
  text-transform: none;
  letter-spacing: 0.01em;
}

.calendar-table .day-header .day-name,
.calendar-table .day-header .day-date {
  display: block;
  line-height: 1.05;
}

.calendar-table .day-header .day-name {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calendar-table .day-header .day-date {
  font-size: 0.7rem;
  font-weight: 700;
}

.calendar-table .day-header.is-month-divider,
.calendar-table .calendar-cell.is-month-divider {
  border-left: 6px solid rgba(148, 163, 184, 0.75);
  box-shadow: -4px 0 0 rgba(15, 23, 42, 0.85);
}

.calendar-table .calendar-cell.is-today:not(.reservation) {
  background: rgba(34, 197, 94, 0.08);
}

.calendar-table .calendar-cell.is-empty.is-range-selected,
.calendar-table .calendar-cell.is-empty.is-range-selected.is-today {
  background: rgba(56, 189, 248, 0.18) !important;
}

.calendar-table .calendar-cell.is-empty.is-selection-price-block {
  background: rgba(56, 189, 248, 0.22) !important;
  border-top-color: rgba(125, 211, 252, 0.42);
  border-bottom-color: rgba(125, 211, 252, 0.42);
  border-right-color: transparent;
}

.calendar-table .calendar-cell.is-empty.is-selection-price-start,
.calendar-table .calendar-cell.is-empty.is-selection-price-middle,
.calendar-table .calendar-cell.is-empty.is-selection-price-end,
.calendar-table .calendar-cell.is-empty.is-selection-price-solo {
  box-shadow: none;
}

.calendar-table .calendar-cell.is-empty.is-selection-price-start:not(.is-selection-price-solo),
.calendar-table .calendar-cell.is-empty.is-selection-price-middle,
.calendar-table .calendar-cell.is-empty.is-selection-price-end {
  border-left-color: transparent;
}

.calendar-table .calendar-cell.is-empty.is-selection-price-start,
.calendar-table .calendar-cell.is-empty.is-selection-price-solo {
  border-left-color: rgba(125, 211, 252, 0.78);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.calendar-table .calendar-cell.is-empty.is-selection-price-end,
.calendar-table .calendar-cell.is-empty.is-selection-price-solo {
  border-right-color: rgba(125, 211, 252, 0.78);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.calendar-table .calendar-cell.is-empty.is-selection-price-middle {
  border-radius: 0;
}

.calendar-table .calendar-cell.is-empty.is-selection-price-label-host .calendar-empty-selection-label,
.calendar-table .calendar-cell.is-empty.is-selection-price-solo .calendar-empty-selection-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-table .calendar-cell.reservation.is-today {
  background: transparent;
}

.calendar-cell.reservation {
  position: relative;
  padding: 0;
  overflow: hidden;
  container-type: size;
}

.calendar-cell.reservation .reservation-chip {
  position: absolute;
  inset: 4px;
  height: auto;
}

body:not(.theme-ocean) .calendar-cell.reservation:not(.is-block) {
  background: linear-gradient(180deg, var(--reservation-accent-bg, rgba(56, 189, 248, 0.18)), rgba(8, 15, 31, 0.02));
  border: 1px solid var(--reservation-accent-border, rgba(56, 189, 248, 0.7));
  box-shadow:
    inset 0 0 0 1px var(--reservation-accent-glow, rgba(56, 189, 248, 0.08)),
    0 1px 0 rgba(7, 17, 38, 0.24);
}

body:not(.theme-ocean) .calendar-cell.reservation:not(.is-block) .reservation-chip {
  background: rgba(7, 17, 38, 0.18);
  border-color: var(--reservation-accent-border, rgba(56, 189, 248, 0.7));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 0 1px var(--reservation-accent-glow, rgba(56, 189, 248, 0.08));
}

body:not(.theme-ocean) .calendar-cell.reservation:not(.is-block) .reservation-source {
  background: var(--reservation-accent-bg, rgba(56, 189, 248, 0.18));
  border: 1px solid var(--reservation-accent-border, rgba(56, 189, 248, 0.7));
  color: #f8fbff;
}

body:not(.theme-ocean) .calendar-cell.reservation:hover:not(.is-block) .reservation-chip {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px var(--reservation-accent-border, rgba(56, 189, 248, 0.7)),
    0 0 0 3px var(--reservation-accent-glow, rgba(56, 189, 248, 0.08));
}

@container (max-height: 64px) {
  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-chip {
    inset: 2px;
    padding: 2px 3px;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-summary {
    gap: 0;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-meta {
    gap: 1px;
    line-height: 1.05;
  }
}

@container (max-height: 56px) {
  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-chip {
    inset: 2px;
    padding: 2px 3px;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-body {
    gap: 1px;
    font-size: 0.62rem;
    line-height: 1.03;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-summary {
    gap: 1px;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-state-icons {
    gap: 2px;
    min-height: 10px;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-state-icon {
    width: 11px;
    height: 11px;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-state-icon svg {
    width: 7px;
    height: 7px;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-total,
  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-hold {
    font-size: 0.48rem;
    line-height: 1;
    padding: 1px 4px;
  }

  body.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-guest {
    width: 100%;
    text-align: center;
    line-height: 1.02;
    margin: 0 auto;
  }
}

@container (max-width: 72px), (max-height: 38px) {
  .calendar-cell.is-block .reservation-chip::before {
    font-size: 0.42rem;
    letter-spacing: 0.04em;
  }

  .calendar-cell.is-block .reservation-guest {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

.calendar-cell.is-no-folio .reservation-no-folio {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.9);
  color: #0b1020;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 0 2px rgba(11, 16, 32, 0.6);
}

.calendar-cell.is-warning .reservation-warning {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(251, 146, 60, 0.9);
  color: #0b1020;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 0 2px rgba(11, 16, 32, 0.6);
}

.calendar-cell .reservation-no-folio,
.calendar-cell .reservation-warning {
  display: none;
}

.calendar-cell.is-start::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 12px solid rgba(59, 130, 246, 0.85);
  border-top: 12px solid transparent;
  z-index: 1;
  pointer-events: none;
}

.calendar-cell.is-end::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-right: 12px solid rgba(56, 189, 248, 0.85);
  border-bottom: 12px solid transparent;
  z-index: 1;
  pointer-events: none;
}

.calendar-cell.is-block .reservation-chip {
  background: repeating-linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.7),
    rgba(15, 23, 42, 0.7) 8px,
    rgba(250, 204, 21, 0.18) 8px,
    rgba(250, 204, 21, 0.18) 16px
  );
  border: 1px dashed rgba(250, 204, 21, 0.85);
  color: #fde68a;
}

.calendar-cell.is-block .reservation-chip::before {
  content: "BLOQUEO";
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a;
  opacity: 0.9;
}

.calendar-cell.is-block .reservation-source,
.calendar-cell.is-block .reservation-total,
.calendar-cell.is-block .reservation-paid,
.calendar-cell.is-block .reservation-pending,
.calendar-cell.is-block .reservation-hold {
  display: none;
}

.calendar-cell.is-block .reservation-body {
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.calendar-cell.is-block .reservation-summary {
  width: 100%;
  align-items: center;
}

.calendar-cell.is-block .reservation-guest {
  text-align: center;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-cell.is-quick .reservation-source,
.calendar-cell.is-quick .reservation-total,
.calendar-cell.is-quick .reservation-meta {
  display: none;
}

.calendar-cell.is-quick .reservation-guest {
  -webkit-line-clamp: 2;
  white-space: normal;
}

.calendar-cell.is-quick .reservation-summary {
  gap: 2px;
}

.reservation-chip {
  padding: 2px 3px;
  height: 100%;
}

.calendar-cell.reservation {
  height: var(--calendar-cell-height);
  max-height: var(--calendar-cell-height);
}

.calendar-reservation-button {
  height: 100%;
}

.reservation-body {
  gap: 1px;
  font-size: 0.68rem;
}

.reservation-guest {
  -webkit-line-clamp: 1;
}

.reservation-meta {
  font-size: 0.62rem;
  gap: 1px;
}

.calendar-scroll::-webkit-scrollbar {
  height: 8px;
}

.calendar-scroll::-webkit-scrollbar-track {
  background: rgba(9, 16, 32, 0.6);
  border-radius: 999px;
}

.calendar-scroll::-webkit-scrollbar-thumb {
  background: rgba(94, 134, 164, 0.7);
  border-radius: 999px;
  border: 2px solid rgba(9, 16, 32, 0.6);
}

.calendar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 166, 196, 0.85);
}

.calendar-table .room-header,
.calendar-table .room-cell,
.calendar-category-availability-row .category-cell {
  position: sticky;
  left: 0;
}

.calendar-controls,
.calendar-selection-actions {
  transform: none;
}

.calendar-table .room-header,
.calendar-table .room-cell,
.calendar-category-availability-row .category-cell {
  width: var(--calendar-room-width, 156px);
  min-width: var(--calendar-room-width, 156px);
  max-width: var(--calendar-room-width, 156px);
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .calendar-mobile-selection-clear {
    display: none;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-mobile-selection-clear {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: 10px;
    z-index: 61;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.65);
    background: rgba(71, 13, 16, 0.95);
    color: #ffd4d4;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-mobile-selection-clear[hidden] {
    display: none !important;
  }

  body.is-calendar-view.is-calendar-mobile .app-header,
  body.is-calendar-view.is-calendar-mobile .app-footer {
    display: none;
  }

  body.is-calendar-view.is-calendar-mobile .app-main {
    margin: calc(env(safe-area-inset-top, 0px) + 76px) 0 8px;
    padding: 0 2px;
    gap: 6px;
  }

  body.is-calendar-view.is-calendar-mobile .subtabs {
    border: 0;
    background: transparent;
    padding: 0;
  }

  body.is-calendar-view.is-calendar-mobile .subtabs-nav,
  body.is-calendar-view.is-calendar-mobile .subtab-panel .subtab-actions,
  body.is-calendar-view.is-calendar-mobile .subtab-panel h2,
  body.is-calendar-view.is-calendar-mobile .calendar-controls,
  body.is-calendar-view.is-calendar-mobile .calendar-summary,
  body.is-calendar-view.is-calendar-mobile .calendar-range,
  body.is-calendar-view.is-calendar-mobile .calendar-legend,
  body.is-calendar-view.is-calendar-mobile .calendar-occupancy {
    display: none !important;
  }

  body.is-calendar-view.is-calendar-mobile .subtabs-panels {
    padding: 0;
  }

  body.is-calendar-view.is-calendar-mobile .subtabs-panels > .subtab-panel:not(:first-child) {
    display: none !important;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-card {
    gap: 4px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-title-tools {
    display: none !important;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-scroll {
    margin-top: calc(env(safe-area-inset-top, 0px) + 6px);
    padding-bottom: 4px;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-table {
    --calendar-mobile-zoom: 1;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-table .room-header,
  body.is-calendar-view.is-calendar-mobile .calendar-table .room-cell,
  body.is-calendar-view.is-calendar-mobile .calendar-category-availability-row .category-cell {
    width: var(--calendar-room-width, min(20vw, 80px));
    min-width: var(--calendar-room-width, min(20vw, 80px));
    max-width: var(--calendar-room-width, min(20vw, 80px));
    font-size: max(0.5rem, calc(0.72rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.05;
    padding: max(1px, calc(2px * var(--calendar-mobile-zoom, 1))) max(2px, calc(3px * var(--calendar-mobile-zoom, 1)));
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-category-cell .calendar-category-badge {
    left: 4px;
    max-width: min(88vw, 420px);
  }

  body.is-calendar-view.is-calendar-mobile .calendar-table th,
  body.is-calendar-view.is-calendar-mobile .calendar-table td {
    font-size: max(0.52rem, calc(0.72rem * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .calendar-table .day-header.is-month-divider,
  body.is-calendar-view.is-calendar-mobile .calendar-table .calendar-cell.is-month-divider {
    border-left-width: max(1px, calc(6px * var(--calendar-mobile-zoom, 1)));
    box-shadow: calc(-1 * max(1px, calc(4px * var(--calendar-mobile-zoom, 1)))) 0 0 rgba(15, 23, 42, 0.85);
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation .reservation-chip {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: max(4px, calc(8px * var(--calendar-mobile-zoom, 1)));
    padding: 0 max(0px, calc(1px * var(--calendar-mobile-zoom, 1)));
    width: auto;
    height: auto;
    box-sizing: border-box;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-chip {
    display: flex;
    align-items: stretch;
    justify-content: center;
    text-align: center;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-start::before {
    border-left-width: max(3px, calc(9px * var(--calendar-mobile-zoom, 1)));
    border-top-width: max(3px, calc(9px * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-end::after {
    border-right-width: max(3px, calc(9px * var(--calendar-mobile-zoom, 1)));
    border-bottom-width: max(3px, calc(9px * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .reservation-body {
    gap: max(1px, calc(2px * var(--calendar-mobile-zoom, 1)));
    font-size: max(0.42rem, calc(0.68rem * var(--calendar-mobile-zoom, 1)));
    width: 100%;
    height: 100%;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    padding-inline: 0;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary {
    gap: max(1px, calc(2px * var(--calendar-mobile-zoom, 1)));
    width: 100%;
    align-items: center;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    row-gap: max(0px, calc(1px * var(--calendar-mobile-zoom, 1)));
    padding-inline: 0;
  }

  body.is-calendar-view.is-calendar-mobile .reservation-state-icons {
    gap: max(1px, calc(2px * var(--calendar-mobile-zoom, 1)));
    min-height: max(7px, calc(10px * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .reservation-state-icon {
    width: max(7px, calc(11px * var(--calendar-mobile-zoom, 1)));
    height: max(7px, calc(11px * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .reservation-state-icon svg {
    width: max(4px, calc(7px * var(--calendar-mobile-zoom, 1)));
    height: max(4px, calc(7px * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-state-icons {
    order: 1;
  }

  body.is-calendar-view.is-calendar-mobile .reservation-total,
  body.is-calendar-view.is-calendar-mobile .reservation-hold {
    font-size: max(0.3rem, calc(0.52rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.05;
    padding: 0 max(1px, calc(4px * var(--calendar-mobile-zoom, 1)));
    align-self: center;
    flex: 0 1 auto;
    max-width: 100%;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-total,
  body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-hold {
    order: 3;
  }

  body.is-calendar-view.is-calendar-mobile .reservation-guest {
    font-size: max(0.32rem, calc(0.58rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.05;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    width: 100%;
    margin: 0;
    overflow-wrap: normal;
    word-break: normal;
    text-align: center;
  }

  body.is-calendar-view.is-calendar-mobile .reservation-summary .reservation-guest {
    display: block;
    white-space: normal;
    text-overflow: clip;
    font-size: max(0.34rem, calc(0.54rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.06;
    letter-spacing: 0;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    align-self: center;
    order: 2;
    padding-inline: 0;
    overflow: hidden;
    text-align: center;
    max-height: calc(2 * 1.06em);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.is-calendar-view.is-calendar-mobile .reservation-meta {
    font-size: max(0.28rem, calc(0.5rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.05;
    gap: max(1px, calc(2px * var(--calendar-mobile-zoom, 1)));
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  body.is-calendar-view.is-calendar-mobile .reservation-meta .reservation-price,
  body.is-calendar-view.is-calendar-mobile .reservation-meta .reservation-paid {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-no-folio .reservation-no-folio,
  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-warning .reservation-warning {
    width: max(8px, calc(14px * var(--calendar-mobile-zoom, 1)));
    height: max(8px, calc(14px * var(--calendar-mobile-zoom, 1)));
    font-size: max(0.3rem, calc(0.56rem * var(--calendar-mobile-zoom, 1)));
    box-shadow: 0 0 0 max(1px, calc(2px * var(--calendar-mobile-zoom, 1))) rgba(11, 16, 32, 0.6);
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-no-folio .reservation-no-folio {
    top: max(1px, calc(3px * var(--calendar-mobile-zoom, 1)));
    right: max(1px, calc(3px * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-warning .reservation-warning {
    right: max(1px, calc(3px * var(--calendar-mobile-zoom, 1)));
    bottom: max(1px, calc(3px * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-block .reservation-chip::before {
    top: max(2px, calc(6px * var(--calendar-mobile-zoom, 1)));
    right: max(3px, calc(8px * var(--calendar-mobile-zoom, 1)));
    font-size: max(0.34rem, calc(0.55rem * var(--calendar-mobile-zoom, 1)));
    letter-spacing: max(0.01em, calc(0.08em * var(--calendar-mobile-zoom, 1)));
    opacity: 0.88;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-cell.is-block .reservation-guest {
    font-size: max(0.38rem, calc(0.62rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.04;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-table .room-cell .room-code {
    font-size: max(0.42rem, calc(0.64rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.05;
    letter-spacing: 0.01em;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-table .room-cell .room-tag {
    margin-top: max(2px, calc(4px * var(--calendar-mobile-zoom, 1)));
    padding: max(1px, calc(2px * var(--calendar-mobile-zoom, 1))) max(4px, calc(5px * var(--calendar-mobile-zoom, 1)));
    font-size: max(0.36rem, calc(0.56rem * var(--calendar-mobile-zoom, 1)));
    line-height: 1.05;
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.is-calendar-view.is-calendar-mobile .calendar-category-cell .calendar-category-prefix {
    font-size: max(0.42rem, calc(0.6rem * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile .calendar-category-cell .calendar-category-name {
    font-size: max(0.48rem, calc(0.7rem * var(--calendar-mobile-zoom, 1)));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
  }

  body.is-calendar-view.is-calendar-mobile.calendar-mobile-zoom-compact .reservation-meta {
    font-size: max(0.25rem, calc(0.45rem * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile.calendar-mobile-zoom-compact .calendar-cell.is-block .reservation-chip::before {
    font-size: max(0.3rem, calc(0.48rem * var(--calendar-mobile-zoom, 1)));
  }

  body.is-calendar-view.is-calendar-mobile.calendar-mobile-zoom-micro .reservation-state-icon,
  body.is-calendar-view.is-calendar-mobile.calendar-mobile-zoom-micro .reservation-total,
  body.is-calendar-view.is-calendar-mobile.calendar-mobile-zoom-micro .reservation-hold {
    opacity: 0.88;
  }

  @container (max-width: 56px), (max-height: 30px) {
    body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary {
      row-gap: 0;
    }

    body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-state-icons {
      min-height: max(6px, calc(8px * var(--calendar-mobile-zoom, 1)));
      gap: max(1px, calc(1px * var(--calendar-mobile-zoom, 1)));
    }

    body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-state-icon {
      width: max(6px, calc(9px * var(--calendar-mobile-zoom, 1)));
      height: max(6px, calc(9px * var(--calendar-mobile-zoom, 1)));
    }

    body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-total,
    body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-hold {
      font-size: max(0.2rem, calc(0.34rem * var(--calendar-mobile-zoom, 1)));
      padding: 0 max(1px, calc(1px * var(--calendar-mobile-zoom, 1)));
    }

    body.is-calendar-view.is-calendar-mobile .calendar-cell.reservation:not(.is-block) .reservation-summary .reservation-guest {
      white-space: normal;
      max-height: calc(2 * 1.06em);
      font-size: max(0.34rem, calc(0.56rem * var(--calendar-mobile-zoom, 1)));
      text-align: center;
      text-overflow: clip;
      overflow-wrap: anywhere;
      word-break: break-word;
    }
  }

  body.is-calendar-view.is-calendar-mobile.calendar-mobile-zoom-micro .calendar-cell.is-block .reservation-guest {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .calendar-mobile-topshell {
    position: fixed;
    top: env(safe-area-inset-top, 0px);
    left: 0;
    right: 0;
    z-index: 60;
    pointer-events: none;
    background: rgba(7, 15, 29, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.32);
  }

  .calendar-mobile-top-toggle {
    pointer-events: auto;
    display: block;
    margin: 0 auto;
    width: 42px;
    height: 18px;
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-top: none;
    background: rgba(8, 16, 31, 0.88);
    color: #9cc8ea;
    font-size: 0.72rem;
    line-height: 1;
  }

  .calendar-mobile-topshell.is-open {
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.42);
  }

  .calendar-mobile-topshell.is-open .calendar-mobile-top-toggle span {
    transform: none;
    display: inline-block;
  }

  .calendar-mobile-topshell.is-open .calendar-mobile-top-toggle {
    width: 42px;
    height: 28px;
    border-radius: 10px;
    border-top: 1px solid rgba(248, 113, 113, 0.6);
    border-color: rgba(248, 113, 113, 0.6);
    background: rgba(71, 13, 16, 0.94);
    color: #f87171;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
  }

  .calendar-mobile-topbar {
    display: flex;
    pointer-events: auto;
    width: 100vw;
    min-height: 44px;
    padding: calc(env(safe-area-inset-top, 0px) + 6px) 10px 6px;
    background: transparent;
    align-items: center;
    justify-content: space-between;
  }

  .calendar-mobile-topshell.is-open .calendar-mobile-topbar {
    display: flex;
  }

  .calendar-mobile-top-left,
  .calendar-mobile-top-center,
  .calendar-mobile-top-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .calendar-mobile-top-left,
  .calendar-mobile-top-center,
  .calendar-mobile-top-right {
    flex: 1 1 0;
  }
  .calendar-mobile-top-center {
    justify-content: center;
  }
  .calendar-mobile-top-right {
    justify-content: flex-end;
  }

  .calendar-mobile-iconbtn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(15, 31, 52, 0.9);
    color: #b6ecff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  .calendar-mobile-user-menu {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 42px);
    right: 8px;
    min-width: 176px;
    display: grid;
    gap: 4px;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(7, 15, 29, 0.98);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.45);
  }
  .calendar-mobile-user-menu[hidden] {
    display: none !important;
  }

  .calendar-mobile-user-menu button,
  .calendar-mobile-user-menu a {
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #d7ebff;
    background: rgba(15, 31, 52, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    text-align: left;
    text-decoration: none;
  }

  .calendar-selection-actions-slot {
    width: auto;
    height: auto;
    position: static;
    overflow: visible;
    pointer-events: auto;
  }

  .calendar-selection-actions {
    position: fixed;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 58;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
  }
  .calendar-selection-actions.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .calendar-selection-actions .calendar-action-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    pointer-events: auto;
  }

  .calendar-selection-actions .calendar-action-fab {
    width: clamp(38px, 10vw, 44px);
    height: clamp(38px, 10vw, 44px);
    min-width: 0;
    min-height: 0;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(8, 19, 36, 0.9);
  }

  .calendar-action-fab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(16px, 4.2vw, 19px);
    height: clamp(16px, 4.2vw, 19px);
    color: #b6ecff;
  }

  .calendar-action-fab-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .calendar-mobile-controls-row {
    display: none;
    pointer-events: auto;
    width: 100vw;
    padding: 4px 6px 6px;
    background: rgba(7, 15, 29, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .calendar-mobile-topshell.is-open .calendar-mobile-controls-row {
    display: block;
  }

  .calendar-mobile-controls-row .calendar-action-bar {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 10px;
    padding: 4px 6px;
    display: grid;
    grid-template-columns: 0.56fr 1.18fr 1fr 0.96fr;
    align-items: center;
    gap: clamp(4px, 1.2vw, 8px);
  }

  .calendar-mobile-controls-row .calendar-action-right {
    display: none !important;
  }

  .calendar-mobile-controls-row .calendar-action-left {
    display: contents;
  }

  .calendar-mobile-controls-row .calendar-filters {
    min-width: 0;
    display: contents;
  }

  .calendar-mobile-controls-row .calendar-filters label {
    min-width: 0 !important;
    display: block;
    font-size: 0;
    margin: 0;
  }

  .calendar-mobile-controls-row .calendar-filters select,
  .calendar-mobile-controls-row .calendar-filters input[type="date"],
  .calendar-mobile-controls-row .calendar-today-btn {
    width: 100%;
    height: clamp(24px, 4.2vh, 30px);
    min-height: clamp(24px, 4.2vh, 30px);
    padding: 0 clamp(5px, 1.4vw, 9px);
    font-size: clamp(0.64rem, 2.2vw, 0.78rem);
    border-radius: 9px;
  }

  .calendar-mobile-controls-row .calendar-today-btn {
    justify-self: stretch;
  }

  .calendar-mobile-controls-row .calendar-filters select,
  .calendar-mobile-controls-row .calendar-filters input[type="date"] {
    text-overflow: ellipsis;
  }

  .calendar-mobile-daywidth-controls,
  .calendar-mobile-rowheight-controls {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 4px 6px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(8, 18, 34, 0.78);
  }

  .calendar-mobile-daywidth-controls[hidden],
  .calendar-mobile-rowheight-controls[hidden] {
    display: none !important;
  }

  .calendar-mobile-daywidth-controls .calendar-daywidth-label,
  .calendar-mobile-rowheight-controls .calendar-rowheight-label {
    font-size: 0.66rem;
    color: #9cc8ea;
    white-space: nowrap;
  }

  .calendar-mobile-daywidth-controls .calendar-daywidth-slider,
  .calendar-mobile-rowheight-controls .calendar-rowheight-slider {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .calendar-mobile-daywidth-controls .calendar-daywidth-value,
  .calendar-mobile-rowheight-controls .calendar-rowheight-value {
    min-width: 44px;
    font-size: 0.68rem;
    text-align: right;
  }

  .calendar-selection-actions .calendar-action-btn[hidden] {
    display: none !important;
  }

  .calendar-mobile-zoom-controls {
    position: fixed;
    left: 8px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 59;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.35);
    background: rgba(8, 18, 34, 0.92);
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.45);
  }

  .calendar-mobile-zoom-controls[hidden] {
    display: none !important;
  }

  .calendar-mobile-zoom-btn {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 31, 52, 0.92);
    color: #d6f5ff;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0 8px;
  }

  .calendar-mobile-zoom-btn.calendar-mobile-zoom-value {
    min-width: 56px;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }

  .calendar-mobile-zoom-btn:disabled {
    opacity: 0.45;
  }
}

/* Ocean theme late overrides for calendar/dashboard/settings components
   declared after the original theme block. */
body.theme-ocean .calendar-action-bar {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(128, 154, 180, 0.3);
  box-shadow: 0 14px 28px rgba(120, 146, 176, 0.14);
}

body.theme-ocean .calendar-scroll {
  scrollbar-color: rgba(128, 154, 180, 0.7) rgba(224, 234, 244, 0.88);
}

body.theme-ocean .calendar-scroll::-webkit-scrollbar-track {
  background: rgba(224, 234, 244, 0.88);
}

body.theme-ocean .calendar-scroll::-webkit-scrollbar-thumb {
  background: rgba(128, 154, 180, 0.76);
  border-color: rgba(224, 234, 244, 0.88);
}

body.theme-ocean .calendar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(104, 136, 166, 0.88);
}

body.theme-ocean .calendar-month-row .month-header,
body.theme-ocean .calendar-month-row .room-header {
  background: linear-gradient(180deg, #e5f0fa 0%, #d9e9f7 100%);
  border-bottom-color: rgba(128, 154, 180, 0.32);
  color: #17314b;
}

body.theme-ocean .calendar-table .day-header.is-month-divider,
body.theme-ocean .calendar-table .calendar-cell.is-month-divider {
  border-left-color: rgba(128, 154, 180, 0.7);
  box-shadow: -4px 0 0 rgba(222, 233, 244, 0.96);
}

body.theme-ocean .calendar-cell.is-no-folio .reservation-no-folio {
  background: rgba(251, 146, 60, 0.92);
  color: #fff7ed;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.86);
}

body.theme-ocean .calendar-cell.is-warning .reservation-warning {
  background: rgba(245, 158, 11, 0.92);
  color: #fff7ed;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.86);
}

body.theme-ocean .calendar-cell.is-start::before {
  border-left-color: rgba(14, 165, 233, 0.72);
}

body.theme-ocean .calendar-cell.is-end::after {
  border-right-color: rgba(6, 182, 212, 0.72);
}

body.theme-ocean .calendar-cell.is-block .reservation-chip {
  background: repeating-linear-gradient(
    135deg,
    rgba(225, 232, 240, 0.96),
    rgba(225, 232, 240, 0.96) 8px,
    rgba(250, 204, 21, 0.2) 8px,
    rgba(250, 204, 21, 0.2) 16px
  );
  border-color: rgba(217, 119, 6, 0.68);
  color: #92400e;
}

body.theme-ocean .calendar-cell.is-block .reservation-chip::before,
body.theme-ocean .calendar-cell.is-block .reservation-guest {
  color: #92400e;
}

body.theme-ocean .source-row-form,
body.theme-ocean .source-info-row,
body.theme-ocean .reservation-checklist,
body.theme-ocean .reservation-checkbox,
body.theme-ocean .lodging-payment-block-row {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(128, 154, 180, 0.24);
  color: #132235;
}

body.theme-ocean .source-info-row-title,
body.theme-ocean .lodging-payment-block-title {
  color: #132235;
}

@media (max-width: 900px) {
  body.theme-ocean.is-calendar-view.is-calendar-mobile .calendar-mobile-selection-clear {
    border-color: rgba(239, 68, 68, 0.38);
    background: rgba(255, 255, 255, 0.96);
    color: #b91c1c;
    box-shadow: 0 10px 24px rgba(120, 146, 176, 0.18);
  }

  body.theme-ocean .calendar-mobile-top-toggle {
    border-color: rgba(128, 154, 180, 0.34);
    background: rgba(255, 255, 255, 0.96);
    color: #38627f;
  }

  body.theme-ocean .calendar-mobile-topshell.is-open {
    background: rgba(245, 249, 253, 0.98);
    border-bottom-color: rgba(128, 154, 180, 0.26);
    box-shadow: 0 10px 24px rgba(120, 146, 176, 0.14);
  }

  body.theme-ocean .calendar-mobile-topshell.is-open .calendar-mobile-top-toggle {
    border-color: rgba(239, 68, 68, 0.34);
    background: rgba(255, 245, 245, 0.98);
    color: #b91c1c;
  }

  body.theme-ocean .calendar-mobile-topbar,
  body.theme-ocean .calendar-mobile-controls-row {
    background: rgba(245, 249, 253, 0.98);
    border-bottom-color: rgba(128, 154, 180, 0.22);
  }

  body.theme-ocean .calendar-mobile-iconbtn {
    border-color: rgba(128, 154, 180, 0.34);
    background: rgba(255, 255, 255, 0.96);
    color: #134467;
  }

  body.theme-ocean .calendar-mobile-user-menu {
    border-color: rgba(128, 154, 180, 0.24);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 34px rgba(120, 146, 176, 0.18);
  }

  body.theme-ocean .calendar-mobile-user-menu button,
  body.theme-ocean .calendar-mobile-user-menu a {
    color: #132235;
    background: rgba(244, 249, 255, 0.96);
    border-color: rgba(128, 154, 180, 0.2);
  }

  body.theme-ocean .calendar-selection-actions .calendar-action-fab {
    border-color: rgba(128, 154, 180, 0.32);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(120, 146, 176, 0.18);
  }

  body.theme-ocean .calendar-action-fab-icon {
    color: #134467;
  }

  body.theme-ocean .calendar-mobile-controls-row .calendar-action-bar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(128, 154, 180, 0.24) !important;
  }

  body.theme-ocean .calendar-mobile-daywidth-controls,
  body.theme-ocean .calendar-mobile-rowheight-controls,
  body.theme-ocean .calendar-mobile-zoom-controls {
    border-color: rgba(128, 154, 180, 0.24);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(120, 146, 176, 0.16);
  }

  body.theme-ocean .calendar-mobile-daywidth-controls .calendar-daywidth-label,
  body.theme-ocean .calendar-mobile-rowheight-controls .calendar-rowheight-label,
  body.theme-ocean .calendar-mobile-daywidth-controls .calendar-daywidth-value,
  body.theme-ocean .calendar-mobile-rowheight-controls .calendar-rowheight-value {
    color: #38627f;
  }

  body.theme-ocean .calendar-mobile-zoom-btn {
    border-color: rgba(128, 154, 180, 0.3);
    background: rgba(244, 249, 255, 0.98);
    color: #134467;
  }
}

/* Airbnb-inspired refinement for the light theme. Keeps the existing layout,
   but replaces the cold blue glass palette with warm neutrals and coral accents. */
body.theme-ocean {
  --theme-light-bg: #fbf7f3;
  --theme-light-bg-soft: #f6f0eb;
  --theme-light-surface: #ffffff;
  --theme-light-surface-soft: #f8f3ee;
  --theme-light-surface-alt: #f2ebe4;
  --theme-light-border: #e7ddd3;
  --theme-light-border-strong: #d7cbbf;
  --theme-light-text: #2f2a26;
  --theme-light-text-soft: #6e655d;
  --theme-light-accent: #ff385c;
  --theme-light-accent-strong: #e31c5f;
  --theme-light-accent-soft: #fff1f3;
  --theme-light-accent-tint: #ffd8df;
  --theme-light-success-soft: #e9f7f1;
  --theme-light-success: #266f59;
  --theme-light-warning-soft: #fff4e5;
  --theme-light-warning: #a15c00;
  background:
    radial-gradient(circle at top left, rgba(255, 56, 92, 0.1), transparent 26%),
    linear-gradient(180deg, #fffdfc 0%, var(--theme-light-bg) 52%, var(--theme-light-bg-soft) 100%);
  color: var(--theme-light-text);
}

body.theme-ocean a {
  color: var(--theme-light-accent-strong);
}

body.theme-ocean .app-header,
body.theme-ocean .app-footer {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--theme-light-border);
  color: var(--theme-light-text);
  box-shadow: 0 10px 24px rgba(52, 39, 29, 0.05);
}

body.theme-ocean .brand-link,
body.theme-ocean .sidebar-title,
body.theme-ocean .user-meta,
body.theme-ocean .property-group-title,
body.theme-ocean .panel h1,
body.theme-ocean .panel h2,
body.theme-ocean .panel h3,
body.theme-ocean .panel h4,
body.theme-ocean .panel h5,
body.theme-ocean .panel h6,
body.theme-ocean .form-section h1,
body.theme-ocean .form-section h2,
body.theme-ocean .form-section h3,
body.theme-ocean .form-section h4,
body.theme-ocean .form-section h5,
body.theme-ocean .form-section h6 {
  color: var(--theme-light-text);
}

body.theme-ocean .brand-icon {
  background: var(--theme-light-accent-soft);
  border-color: rgba(255, 56, 92, 0.24);
}

body.theme-ocean .brand-icon svg,
body.theme-ocean .icon-button svg {
  fill: var(--theme-light-accent-strong);
}

body.theme-ocean .icon-button,
body.theme-ocean .calendar-mobile-iconbtn,
body.theme-ocean .calendar-mobile-top-toggle {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--theme-light-border);
  color: var(--theme-light-text);
}

body.theme-ocean .sidebar-backdrop,
body.theme-ocean .calendar-quickres-lightbox {
  background: rgba(64, 46, 33, 0.18);
}

body.theme-ocean .app-sidebar {
  background: #fffaf7;
  border-right-color: var(--theme-light-border);
  color: var(--theme-light-text);
}

body.theme-ocean .sidebar-section,
body.theme-ocean .calendar-card,
body.theme-ocean .detail-card,
body.theme-ocean .calendar-controls,
body.theme-ocean .calendar-filters,
body.theme-ocean .calendar-mobile-controls-row,
body.theme-ocean .calendar-occupancy,
body.theme-ocean .calendar-quickres-window,
body.theme-ocean .activity-calendar-card,
body.theme-ocean .activity-calendar-panel,
body.theme-ocean .message-send-card,
body.theme-ocean .category-calendar-display-panel,
body.theme-ocean .panel,
body.theme-ocean .form-section,
body.theme-ocean .payment-section-card,
body.theme-ocean .card,
body.theme-ocean .reservation-panel,
body.theme-ocean .settings-tab-panel,
body.theme-ocean .folio-tab-panel,
body.theme-ocean .reservation-create-form .form-section,
body.theme-ocean .analytics-card,
body.theme-ocean .daily-property,
body.theme-ocean .availability-property,
body.theme-ocean .daily-row,
body.theme-ocean .dashboard-placeholder,
body.theme-ocean .status-summary,
body.theme-ocean .hold-confirmation,
body.theme-ocean .note-item,
body.theme-ocean .note-editor,
body.theme-ocean .arrivals-chart,
body.theme-ocean .subtab-panel,
body.theme-ocean .subtab-info,
body.theme-ocean .reservation-summary,
body.theme-ocean .reservation-card,
body.theme-ocean .reservation-dock,
body.theme-ocean .folio-section,
body.theme-ocean .source-row-form,
body.theme-ocean .source-info-row,
body.theme-ocean .reservation-checklist,
body.theme-ocean .reservation-checkbox,
body.theme-ocean .lodging-payment-block-row {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--theme-light-border);
  color: var(--theme-light-text);
  box-shadow: 0 14px 32px rgba(52, 39, 29, 0.07);
}

body.theme-ocean label,
body.theme-ocean legend,
body.theme-ocean strong,
body.theme-ocean .reservation-title,
body.theme-ocean .folio-pane-title,
body.theme-ocean .dashboard-kpi-label,
body.theme-ocean .dashboard-kpi-value,
body.theme-ocean .source-info-row-title,
body.theme-ocean .lodging-payment-block-title {
  color: var(--theme-light-text);
}

body.theme-ocean .muted,
body.theme-ocean .tax-item-row td,
body.theme-ocean .reservation-meta,
body.theme-ocean .reservation-source,
body.theme-ocean .calendar-empty-label,
body.theme-ocean .calendar-quickres-context,
body.theme-ocean .room-subtitle,
body.theme-ocean .reservation-dates,
body.theme-ocean .calendar-category-cell .calendar-category-prefix,
body.theme-ocean .calendar-category-cell .calendar-category-separator,
body.theme-ocean .calendar-mobile-hint,
body.theme-ocean .activity-calendar-panel label,
body.theme-ocean .activity-calendar-card .muted,
body.theme-ocean .analytics-card small,
body.theme-ocean .daily-field .label,
body.theme-ocean .daily-balance .label,
body.theme-ocean .reservation-card dt,
body.theme-ocean .reservation-title-sub,
body.theme-ocean .reservation-detail-top-right .label,
body.theme-ocean .reservation-detail-balance .label,
body.theme-ocean .note-meta,
body.theme-ocean .note-date,
body.theme-ocean .arrivals-bar-label,
body.theme-ocean .pill,
body.theme-ocean .status-pill,
body.theme-ocean .dashboard-obligation-type-label {
  color: var(--theme-light-text-soft);
}

body.theme-ocean input,
body.theme-ocean select,
body.theme-ocean textarea {
  background: #ffffff;
  border-color: var(--theme-light-border-strong);
  color: var(--theme-light-text);
  box-shadow: none;
}

body.theme-ocean input::placeholder,
body.theme-ocean textarea::placeholder {
  color: #9b8f85;
}

body.theme-ocean input:focus,
body.theme-ocean select:focus,
body.theme-ocean textarea:focus {
  border-color: rgba(255, 56, 92, 0.52);
  box-shadow: 0 0 0 4px rgba(255, 56, 92, 0.12);
}

body.theme-ocean button,
body.theme-ocean .button-primary,
body.theme-ocean .link-button {
  background: var(--theme-light-accent);
  border-color: var(--theme-light-accent);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(227, 28, 95, 0.18);
}

body.theme-ocean button:hover,
body.theme-ocean .button-primary:hover,
body.theme-ocean .link-button:hover {
  background: var(--theme-light-accent-strong);
  border-color: var(--theme-light-accent-strong);
}

body.theme-ocean .button-secondary,
body.theme-ocean .settings-tab-trigger,
body.theme-ocean .payment-tab,
body.theme-ocean .subtab-button,
body.theme-ocean .subtab-trigger,
body.theme-ocean .subtab-dynamic-item,
body.theme-ocean .reservation-tab-trigger,
body.theme-ocean .folio-pill,
body.theme-ocean .reservation-balance-pill,
body.theme-ocean .calendar-balance-pill,
body.theme-ocean .calendar-action-btn,
body.theme-ocean .daily-row-actions .button-secondary,
body.theme-ocean .subtab-actions .button-secondary,
body.theme-ocean .note-actions-buttons button,
body.theme-ocean .room-tag,
body.theme-ocean .button-link {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--theme-light-border);
  color: var(--theme-light-text);
  box-shadow: none;
}

body.theme-ocean .button-secondary:hover,
body.theme-ocean .settings-tab-trigger:hover,
body.theme-ocean .payment-tab:hover,
body.theme-ocean .subtab-button:hover,
body.theme-ocean .subtab-trigger:hover,
body.theme-ocean .subtab-dynamic-item:hover,
body.theme-ocean .reservation-tab-trigger:hover,
body.theme-ocean .calendar-action-btn:hover,
body.theme-ocean .daily-row-actions .button-secondary:hover,
body.theme-ocean .subtab-actions .button-secondary:hover,
body.theme-ocean .note-actions-buttons button:hover,
body.theme-ocean .room-tag:hover,
body.theme-ocean .button-link:hover {
  background: var(--theme-light-surface-soft);
  border-color: var(--theme-light-border-strong);
  color: var(--theme-light-text);
}

body.theme-ocean .settings-tab-trigger.is-active,
body.theme-ocean .payment-tab.is-active,
body.theme-ocean .subtab-trigger.is-active,
body.theme-ocean .subtab-button.is-active,
body.theme-ocean .reservation-tab-trigger.is-active {
  background: var(--theme-light-accent-soft);
  border-color: rgba(255, 56, 92, 0.26);
  color: var(--theme-light-accent-strong);
  box-shadow: inset 0 -2px 0 rgba(255, 56, 92, 0.22);
}

body.theme-ocean .sidebar-links a {
  background: transparent;
  color: var(--theme-light-text-soft);
  border-color: transparent;
}

body.theme-ocean .sidebar-links a:hover,
body.theme-ocean .sidebar-links a.is-active {
  background: var(--theme-light-accent-soft);
  color: var(--theme-light-accent-strong);
}

body.theme-ocean .sidebar-subgroup {
  background: transparent;
}

body.theme-ocean .sidebar-subgroup-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: var(--theme-light-text-soft);
}

body.theme-ocean .sidebar-subgroup-toggle:hover {
  background: var(--theme-light-accent-soft);
}

body.theme-ocean .sidebar-subgroup-toggle::after {
  border-color: rgba(88, 71, 52, 0.58);
}

body.theme-ocean .sidebar-subgroup-meta {
  background: var(--theme-light-accent-soft);
  color: var(--theme-light-accent-strong);
}

body.theme-ocean .sidebar-report-manage {
  border-top-color: var(--theme-light-border);
}

body.theme-ocean table,
body.theme-ocean .compact-table,
body.theme-ocean .calendar-table {
  color: var(--theme-light-text);
}

body.theme-ocean th,
body.theme-ocean .calendar-table .room-header,
body.theme-ocean .calendar-table .room-cell,
body.theme-ocean .calendar-category-availability-row .category-cell,
body.theme-ocean .calendar-category-row .calendar-category-cell,
body.theme-ocean .calendar-category-row .calendar-category-fill-cell,
body.theme-ocean .calendar-table .day-header,
body.theme-ocean .calendar-rateplan-row .rateplan-cell,
body.theme-ocean .calendar-month-row .month-header,
body.theme-ocean .calendar-month-row .room-header {
  background: var(--theme-light-surface-alt);
  color: var(--theme-light-text);
  border-color: var(--theme-light-border);
  box-shadow: 2px 0 6px rgba(52, 39, 29, 0.05);
}

body.theme-ocean td,
body.theme-ocean .tax-item-row td,
body.theme-ocean .calendar-cell,
body.theme-ocean .calendar-cell.is-empty,
body.theme-ocean .calendar-cell.rateplan-price,
body.theme-ocean .calendar-cell.availability,
body.theme-ocean .calendar-category-row .calendar-category-fill-cell {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(215, 203, 191, 0.68);
  color: var(--theme-light-text);
}

body.theme-ocean .calendar-action-bar,
body.theme-ocean .calendar-mobile-controls-row .calendar-action-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: var(--theme-light-border) !important;
  box-shadow: 0 12px 28px rgba(52, 39, 29, 0.06);
}

body.theme-ocean .calendar-scroll {
  scrollbar-color: rgba(175, 160, 147, 0.92) rgba(244, 237, 230, 0.98);
}

body.theme-ocean .calendar-scroll::-webkit-scrollbar-track {
  background: rgba(244, 237, 230, 0.96);
}

body.theme-ocean .calendar-scroll::-webkit-scrollbar-thumb {
  background: rgba(175, 160, 147, 0.92);
}

body.theme-ocean .calendar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(140, 126, 114, 0.98);
}

body.theme-ocean .calendar-global-scrollbar-track {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--theme-light-border);
  box-shadow: 0 16px 34px rgba(52, 39, 29, 0.08);
}

body.theme-ocean .calendar-global-scrollbar-inner {
  scrollbar-color: rgba(175, 160, 147, 0.94) rgba(244, 237, 230, 0.98);
}

body.theme-ocean .calendar-global-scrollbar-inner::-webkit-scrollbar-track {
  background: rgba(244, 237, 230, 0.96);
}

body.theme-ocean .calendar-global-scrollbar-inner::-webkit-scrollbar-thumb {
  background: rgba(175, 160, 147, 0.94);
  border-color: rgba(244, 237, 230, 0.96);
}

body.theme-ocean .calendar-global-scrollbar-inner::-webkit-scrollbar-thumb:hover {
  background: rgba(140, 126, 114, 0.98);
}

body.theme-ocean .calendar-table .day-header.is-weekend {
  background: #fdf1f3;
}

body.theme-ocean .calendar-table .day-header.is-today,
body.theme-ocean .calendar-table .calendar-cell.is-today:not(.reservation),
body.theme-ocean .calendar-cell.is-empty.is-range-selected,
body.theme-ocean .calendar-table .calendar-cell.is-empty.is-range-selected,
body.theme-ocean .calendar-table .calendar-cell.is-empty.is-range-selected.is-today,
body.theme-ocean .calendar-cell.is-reservation-selected {
  background: var(--theme-light-accent-soft);
}

body.theme-ocean .calendar-cell.rateplan-price:hover {
  background: rgba(255, 56, 92, 0.08);
}

body.theme-ocean .calendar-cell.availability {
  background: #f7f3ee;
}

body.theme-ocean .calendar-table .calendar-cell.is-empty {
  background: #efe8df;
}

body.theme-ocean .calendar-cell.availability.is-soldout {
  background: #fff0f1;
  color: #a61d3d;
}

body.theme-ocean .calendar-reservation-button:focus-visible {
  outline-color: var(--theme-light-accent);
}

body.theme-ocean .calendar-cell.is-start::before {
  border-left-color: rgba(255, 56, 92, 0.65);
}

body.theme-ocean .calendar-cell.is-end::after {
  border-right-color: rgba(255, 56, 92, 0.65);
}

body.theme-ocean .reservation-state-icon {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--theme-light-border);
  color: var(--theme-light-text-soft);
}

body.theme-ocean .reservation-state-icon.is-active {
  background: var(--theme-light-accent-soft);
  border-color: rgba(255, 56, 92, 0.22);
  color: var(--theme-light-accent-strong);
}

body.theme-ocean .calendar-cell.is-no-folio .reservation-no-folio,
body.theme-ocean .calendar-cell.is-warning .reservation-warning,
body.theme-ocean .calendar-cell .reservation-no-folio,
body.theme-ocean .calendar-cell .reservation-warning {
  color: var(--theme-light-warning);
}

body.theme-ocean .calendar-cell.reservation .reservation-chip {
  background: rgba(239, 233, 224, 0.96);
}

body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-body,
body.theme-ocean .calendar-cell.is-block .reservation-body {
  background: rgba(233, 226, 216, 0.92);
  border-radius: 12px;
}

body.theme-ocean .calendar-cell.is-no-folio .reservation-no-folio {
  background: rgba(255, 191, 103, 0.94);
  color: #5b3200;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

body.theme-ocean .calendar-cell.is-warning .reservation-warning {
  background: rgba(255, 216, 120, 0.96);
  color: #6e3f00;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

body.theme-ocean .calendar-cell.is-block .reservation-chip {
  background: repeating-linear-gradient(
    135deg,
    rgba(244, 237, 230, 0.98),
    rgba(244, 237, 230, 0.98) 10px,
    rgba(255, 216, 120, 0.38) 10px,
    rgba(255, 216, 120, 0.38) 20px
  );
  border-color: rgba(181, 126, 47, 0.55);
  color: #80511a;
}

body.theme-ocean .calendar-cell.is-block .reservation-chip::before,
body.theme-ocean .calendar-cell.is-block .reservation-guest {
  color: #80511a;
}

body.theme-ocean .dashboard-activities-tabs .reservation-tab-nav,
body.theme-ocean .dashboard-obligations-tabs .reservation-tab-nav,
body.theme-ocean .activities-tabs .reservation-tab-nav,
body.theme-ocean .dashboard-availability-inline,
body.theme-ocean .dashboard-obligation-type-nav {
  border-color: var(--theme-light-border);
  background: rgba(255, 255, 255, 0.9);
}

body.theme-ocean .dashboard-obligation-type-option.is-active .dashboard-obligation-type-label {
  background: var(--theme-light-accent-soft);
  box-shadow: inset 0 -2px 0 rgba(255, 56, 92, 0.24);
  color: var(--theme-light-accent-strong);
}

body.theme-ocean .pill,
body.theme-ocean .status-pill {
  background: var(--theme-light-surface-soft);
  border-color: var(--theme-light-border);
}

body.theme-ocean .status-pill.is-inhouse {
  background: var(--theme-light-success-soft);
  color: var(--theme-light-success);
}

body.theme-ocean .success {
  color: var(--theme-light-success);
}

body.theme-ocean .error {
  color: var(--theme-light-accent-strong);
}

body.theme-ocean .note-item,
body.theme-ocean .calendar-quickres-window,
body.theme-ocean .arrivals-chart {
  background: rgba(255, 255, 255, 0.96);
}

body.theme-ocean .note-date {
  background: var(--theme-light-surface-soft);
  border-color: var(--theme-light-border);
}

@media (max-width: 900px) {
  body.theme-ocean.is-calendar-view.is-calendar-mobile .calendar-mobile-selection-clear,
  body.theme-ocean .calendar-selection-actions .calendar-action-fab,
  body.theme-ocean .calendar-mobile-daywidth-controls,
  body.theme-ocean .calendar-mobile-rowheight-controls,
  body.theme-ocean .calendar-mobile-zoom-controls,
  body.theme-ocean .calendar-mobile-user-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--theme-light-border);
    box-shadow: 0 12px 30px rgba(52, 39, 29, 0.08);
  }

  body.theme-ocean .calendar-mobile-topshell.is-open,
  body.theme-ocean .calendar-mobile-topbar,
  body.theme-ocean .calendar-mobile-controls-row {
    background: rgba(255, 251, 248, 0.98);
    border-bottom-color: var(--theme-light-border);
  }

  body.theme-ocean .calendar-mobile-topshell.is-open .calendar-mobile-top-toggle {
    border-color: rgba(255, 56, 92, 0.22);
    background: var(--theme-light-accent-soft);
    color: var(--theme-light-accent-strong);
  }

  body.theme-ocean .calendar-mobile-user-menu button,
  body.theme-ocean .calendar-mobile-user-menu a,
  body.theme-ocean .calendar-mobile-zoom-btn {
    background: var(--theme-light-surface-soft);
    border-color: var(--theme-light-border);
    color: var(--theme-light-text);
  }

  body.theme-ocean .calendar-mobile-zoom-btn.calendar-mobile-zoom-value {
    background: rgba(255, 56, 92, 0.1);
    border-color: rgba(255, 56, 92, 0.18);
    color: var(--theme-light-accent-strong);
  }
}

body.theme-ocean .calendar-desktop-menu-toggle {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--theme-light-border);
  box-shadow: 0 10px 22px rgba(52, 39, 29, 0.06);
}

body.theme-ocean .calendar-desktop-menu-toggle span {
  background: var(--theme-light-accent-strong);
}

body.theme-ocean .calendar-desktop-menu-panel {
  background: rgba(255, 253, 251, 0.99);
  border-color: var(--theme-light-border);
  box-shadow: 0 18px 34px rgba(52, 39, 29, 0.1);
}

body.theme-ocean .calendar-desktop-menu-heading {
  color: var(--theme-light-text-soft);
}

body.theme-ocean .calendar-desktop-menu-action {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--theme-light-border);
  color: var(--theme-light-text);
}

body.theme-ocean .calendar-desktop-menu-action.is-active {
  background: var(--theme-light-accent-soft);
  border-color: rgba(255, 56, 92, 0.22);
  color: var(--theme-light-accent-strong);
}

/* Light theme cleanup for calendar controls and reservation chips. */
body.theme-ocean .calendar-daywidth-control,
body.theme-ocean .calendar-rowheight-control {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--theme-light-border);
  color: var(--theme-light-text);
  box-shadow: 0 8px 18px rgba(52, 39, 29, 0.06);
}

body.theme-ocean .calendar-daywidth-label,
body.theme-ocean .calendar-rowheight-label,
body.theme-ocean .calendar-daywidth-value,
body.theme-ocean .calendar-rowheight-value {
  color: var(--theme-light-text-soft);
}

body.theme-ocean .calendar-daywidth-slider,
body.theme-ocean .calendar-rowheight-slider {
  accent-color: var(--theme-light-accent);
}

body.theme-ocean .calendar-daywidth-slider::-webkit-slider-runnable-track,
body.theme-ocean .calendar-rowheight-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: #e5dbd1;
}

body.theme-ocean .calendar-daywidth-slider::-webkit-slider-thumb,
body.theme-ocean .calendar-rowheight-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: var(--theme-light-accent);
  box-shadow: 0 2px 8px rgba(227, 28, 95, 0.2);
}

body.theme-ocean .calendar-daywidth-slider::-moz-range-track,
body.theme-ocean .calendar-rowheight-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: #e5dbd1;
}

body.theme-ocean .calendar-daywidth-slider::-moz-range-thumb,
body.theme-ocean .calendar-rowheight-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: var(--theme-light-accent);
  box-shadow: 0 2px 8px rgba(227, 28, 95, 0.2);
}

body.theme-ocean .calendar-cell.reservation:hover .reservation-chip {
  box-shadow: 0 0 0 2px rgba(255, 56, 92, 0.18);
}

body.theme-ocean .calendar-cell.reservation:not(.is-block) {
  background: var(--reservation-accent-bg, rgba(255, 255, 255, 0.96));
  border: 1px solid var(--reservation-accent-border, rgba(215, 203, 191, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

body.theme-ocean .calendar-cell.reservation .reservation-chip {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.88),
    0 1px 3px rgba(52, 39, 29, 0.03),
    0 0 0 1px var(--reservation-accent-glow, rgba(255, 56, 92, 0.06));
}

body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-body,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-summary,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-guest,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-total,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-hold,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-paid,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-pending,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-meta,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-source,
body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-price {
  color: #57463c;
}

body.theme-ocean .calendar-table .reservation-total.is-paid,
body.theme-ocean .reservation-paid {
  background: #e8f7ef;
  border-color: #b7e3ca;
  color: #266f59;
}

body.theme-ocean .calendar-table .reservation-total.is-checkout-ok,
body.theme-ocean .reservation-price.is-checkout-ok {
  background: #e8f7ef;
  border-color: #b7e3ca;
  color: #266f59;
}

body.theme-ocean .calendar-table .reservation-total.is-pending,
body.theme-ocean .reservation-pending {
  background: #fff3df;
  border-color: #f4d19b;
  color: #9a5a00;
}

body.theme-ocean .calendar-table .reservation-total.is-services {
  background: #f3ebff;
  border-color: #dbc6ff;
  color: #7a4db4;
}

body.theme-ocean .calendar-table .reservation-total.is-hold,
body.theme-ocean .reservation-hold {
  background: #fff0f3;
  border-color: #ffc2cf;
  color: #c43b57;
}

body.theme-ocean .calendar-cell.status-salida .reservation-summary .reservation-guest,
body.theme-ocean .calendar-cell.status-checkedout .reservation-summary .reservation-guest,
body.theme-ocean .calendar-cell.status-checkedout .reservation-summary .reservation-guest {
  color: #9d8f84;
}

body.theme-ocean .calendar-cell.status-salida .reservation-chip,
body.theme-ocean .calendar-cell.status-checkedout .reservation-chip {
  opacity: 0.9;
  filter: saturate(0.92);
}

body.theme-ocean .calendar-cell.reservation:not(.is-block) .reservation-chip {
  inset: 8px;
  border-radius: 12px;
}

@container (max-height: 64px) {
  body.theme-ocean.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-chip {
    inset: 5px;
  }
}

@container (max-height: 56px) {
  body.theme-ocean.is-calendar-view:not(.is-calendar-mobile) .calendar-cell.reservation:not(.is-block) .reservation-chip {
    inset: 4px;
  }
}

.calendar-property-bundle.has-property-accent .calendar-summary .summary-tile,
.calendar-property-bundle.has-property-accent .calendar-legend,
.calendar-property-bundle.has-property-accent .calendar-scroll {
  border-color: var(--calendar-property-accent-border);
}

.calendar-property-bundle.has-property-accent .calendar-summary .summary-tile {
  background-image: linear-gradient(180deg, var(--calendar-property-accent-soft), transparent 78%);
}

.calendar-property-bundle.has-property-accent .calendar-table .room-header,
.calendar-property-bundle.has-property-accent .calendar-table .room-cell,
.calendar-property-bundle.has-property-accent .calendar-category-availability-row .category-cell,
.calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-cell,
.calendar-property-bundle.has-property-accent .calendar-rateplan-row .rateplan-cell,
.calendar-property-bundle.has-property-accent .calendar-month-row .month-header,
.calendar-property-bundle.has-property-accent .calendar-month-row .room-header,
.calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-fill-cell {
  background-image: linear-gradient(180deg, var(--calendar-property-accent-header), rgba(15, 23, 42, 0.98) 82%);
}

.calendar-property-bundle.has-property-accent .calendar-table .room-header,
.calendar-property-bundle.has-property-accent .calendar-table .room-cell,
.calendar-property-bundle.has-property-accent .calendar-category-availability-row .category-cell,
.calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-cell {
  box-shadow: inset 3px 0 0 var(--calendar-property-accent-border), 2px 0 4px rgba(11, 16, 32, 0.35);
}

.calendar-property-bundle.has-property-accent .calendar-table .day-header {
  background-image: linear-gradient(180deg, var(--calendar-property-accent-soft), rgba(30, 41, 59, 0.98) 76%);
}

.calendar-property-bundle.has-property-accent .calendar-table .day-header.is-weekend {
  background-image: linear-gradient(180deg, var(--calendar-property-accent-soft), rgba(190, 24, 93, 0.22) 88%);
}

.calendar-property-bundle.has-property-accent .calendar-table .day-header.is-today {
  box-shadow: inset 0 2px 0 var(--calendar-property-accent-strong);
}

.calendar-property-bundle.has-property-accent .calendar-cell.availability,
.calendar-property-bundle.has-property-accent .calendar-cell.rateplan-price:hover {
  background-image: linear-gradient(180deg, var(--calendar-property-accent-fill), rgba(15, 23, 42, 0.98) 82%);
}

body.theme-ocean .property-color-value {
  color: var(--theme-light-text-soft);
}

body.theme-ocean .property-color-swatch {
  border-color: var(--theme-light-border);
  box-shadow: inset 0 0 0 1px rgba(52, 39, 29, 0.06);
}

body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-summary .summary-tile {
  background-image: linear-gradient(180deg, var(--calendar-property-accent-soft), rgba(255, 255, 255, 0.96) 82%);
}

body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-table .room-header,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-table .room-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-category-availability-row .category-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-rateplan-row .rateplan-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-month-row .month-header,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-month-row .room-header,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-fill-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-table .day-header {
  background-image: linear-gradient(180deg, var(--calendar-property-accent-soft), rgba(255, 255, 255, 0.96) 86%);
}

body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-table .room-header,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-table .room-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-category-availability-row .category-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-cell {
  box-shadow: inset 3px 0 0 var(--calendar-property-accent-border), 2px 0 6px rgba(52, 39, 29, 0.05);
}

.calendar-property-bundle.has-property-accent .calendar-table .room-header,
.calendar-property-bundle.has-property-accent .calendar-table .room-cell,
.calendar-property-bundle.has-property-accent .calendar-category-availability-row .category-cell,
.calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-cell,
.calendar-property-bundle.has-property-accent .calendar-rateplan-row .rateplan-cell {
  background-color: rgb(15, 23, 42);
  background-image: none;
}

body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-table .room-header,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-table .room-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-category-availability-row .category-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-category-row .calendar-category-cell,
body.theme-ocean .calendar-property-bundle.has-property-accent .calendar-rateplan-row .rateplan-cell {
  background-color: var(--theme-light-surface-alt);
  background-image: none;
}

@media (min-width: 901px) {
  .calendar-scroll {
    padding-bottom: 0;
    scrollbar-gutter: auto;
    scrollbar-width: none !important;
    -ms-overflow-style: none;
  }

  .calendar-scroll::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
    background: transparent;
  }

  .calendar-scroll::-webkit-scrollbar-track,
  .calendar-scroll::-webkit-scrollbar-thumb {
    background: transparent;
    border: 0;
  }

  .calendar-card.has-global-scrollbar {
    padding-bottom: 76px;
  }

  .calendar-global-scrollbar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .calendar-global-scrollbar-track {
    width: 100%;
    max-width: none;
    padding: 8px 10px;
    border-radius: 14px;
  }
}
